@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Oswald:wght@500;600;700&display=swap');

:root {
    --bg-dark: #07080a;
    --bg-panel: #11141a;
    --bg-elevated: #181c24;
    --rat-red: #ff2a2a;
    --rat-red-dark: #c91616;
    --rat-red-glow: rgba(255, 42, 42, 0.35);
    --recover-green: #00ff66;
    --cyan: #00e5ff;
    --text-main: #c5c6c7;
    --text-soft: #9196a3;
    --text-bright: #ffffff;
    --border: #2a2f38;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at 15% 5%, rgba(255, 42, 42, 0.08), transparent 28rem),
        var(--bg-dark);
    color: var(--text-main);
}

body.detail-page {
    padding-top: 78px;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

img {
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

.eyebrow {
    color: var(--rat-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Navegación */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    min-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 12px 5%;
    background: rgba(7, 8, 10, 0.92);
    border-bottom: 1px solid rgba(255, 42, 42, 0.2);
    backdrop-filter: blur(14px);
}

.nav-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
}

.logo-corp {
    color: var(--text-bright);
}

.logo-rat {
    color: var(--rat-red);
    text-shadow: 0 0 12px var(--rat-red-glow);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: var(--text-bright);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: var(--rat-red);
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    color: var(--rat-red) !important;
    border: 1px solid var(--rat-red);
    border-radius: 6px;
}

.btn-login:hover {
    color: #050505 !important;
    background: var(--rat-red);
    box-shadow: 0 0 18px var(--rat-red-glow);
}

/* Encabezado y buscador */
.hero-ratas {
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: 130px 5% 82px;
    text-align: center;
    background:
        linear-gradient(rgba(7, 8, 10, 0.28), rgba(7, 8, 10, 0.82)),
        radial-gradient(circle at center, #2b0808 0%, var(--bg-dark) 68%);
    border-bottom: 1px solid #281010;
}

.hero-content {
    width: min(900px, 100%);
}

.glitch-text {
    margin: 12px 0 16px;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: 0.035em;
    color: var(--rat-red);
    text-shadow: 0 0 26px var(--rat-red-glow);
}

.hero-ratas .hero-content > p:not(.eyebrow) {
    color: var(--text-soft);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.search-container {
    position: relative;
    width: min(800px, 100%);
    display: flex;
    margin: 38px auto 0;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.32));
}

.search-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #646a75;
}

#global-search {
    width: 100%;
    min-width: 0;
    padding: 18px 20px 18px 52px;
    color: var(--text-bright);
    background: var(--bg-panel);
    border: 2px solid #30343c;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#global-search:focus {
    border-color: var(--rat-red);
    box-shadow: inset 0 0 0 1px rgba(255, 42, 42, 0.12);
}

.btn-rat-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 0 34px;
    color: #050505;
    background: var(--rat-red);
    border: 1px solid var(--rat-red);
    border-radius: 0 10px 10px 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-rat-primary:hover {
    background: #ff4d4d;
    box-shadow: 0 0 22px var(--rat-red-glow);
}

.btn-rat-primary:active {
    transform: translateY(1px);
}

/* Listado */
.reports-section {
    padding: 78px 5% 96px;
}

.section-header {
    width: min(900px, 100%);
    margin: 0 auto 44px;
    text-align: center;
}

.section-header h2 {
    margin-top: 8px;
    color: var(--text-bright);
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.divider-rat {
    width: 80px;
    height: 4px;
    margin: 15px auto;
    background: var(--rat-red);
    box-shadow: 0 0 12px var(--rat-red-glow);
}

.results-summary {
    min-height: 1.25rem;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.reports-grid {
    width: min(1400px, 100%);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
    align-items: stretch;
    gap: 26px;
    margin: 0 auto;
}

.report-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, #141820 0%, var(--bg-panel) 100%);
    border: 1px solid #30343d;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.report-card.active {
    border-top: 4px solid var(--rat-red);
}

.report-card.recovered {
    border-top: 4px solid var(--recover-green);
}

.report-card:hover {
    transform: translateY(-5px);
    border-color: #4a505c;
    box-shadow: var(--shadow);
}

.report-cover-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: inherit;
    background: #090a0d;
    text-decoration: none;
}

.report-cover {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.report-card:hover .report-cover {
    transform: scale(1.035);
    filter: brightness(0.84);
}

.report-cover-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #4f5561;
    background:
        linear-gradient(135deg, rgba(255, 42, 42, 0.05), transparent 60%),
        #0b0d11;
    font-size: 3rem;
}

.status-badge,
.evidence-count {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.status-badge {
    top: 12px;
    right: 12px;
}

.evidence-count {
    bottom: 12px;
    left: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.status-active {
    color: #fff;
    background: rgba(122, 8, 8, 0.82);
    border: 1px solid var(--rat-red);
}

.status-recovered {
    color: #061109;
    background: rgba(0, 255, 102, 0.9);
    border: 1px solid var(--recover-green);
}

.report-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.report-heading-link {
    color: inherit;
    text-decoration: none;
}

.r-title {
    padding-right: 4px;
    color: var(--text-bright);
    font-family: 'Oswald', sans-serif;
    font-size: 1.45rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.report-heading-link:hover .r-title {
    color: var(--rat-red);
}

.r-contact {
    margin-top: 7px;
    color: #9298a4;
    font-family: monospace;
    font-size: 0.98rem;
    overflow-wrap: anywhere;
}

.report-meta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #20242b;
    border-radius: 8px;
}

.report-meta-label {
    display: block;
    margin-bottom: 4px;
    color: #7f8590;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.report-meta-value {
    color: var(--text-bright);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.r-amount {
    color: var(--rat-red);
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.report-card.recovered .r-amount {
    color: var(--recover-green);
}

.report-summary-wrap {
    margin-top: 17px;
}

.report-summary-title {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.report-summary {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    color: #c8cbd1;
    font-size: 0.9rem;
    line-height: 1.58;
    white-space: pre-line;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.report-actions {
    margin-top: auto;
    padding-top: 20px;
}

.btn-view-report {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    color: #fff;
    background: rgba(255, 42, 42, 0.08);
    border: 1px solid rgba(255, 42, 42, 0.55);
    border-radius: 7px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-view-report:hover {
    color: #050505;
    background: var(--rat-red);
}

.report-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: #0a0c10;
    border-top: 1px solid #242830;
    font-size: 0.78rem;
}

.hunter-tag {
    min-width: 0;
    color: #858b96;
    overflow-wrap: anywhere;
}

.hunter-tag strong {
    color: var(--text-bright);
}

.report-date {
    color: #676d78;
    font-family: monospace;
    text-align: right;
}

.recovered-footer {
    grid-template-columns: 1fr;
    color: var(--recover-green);
    background: linear-gradient(90deg, #06110a, #0a2414);
    font-weight: 700;
}

.grid-message {
    grid-column: 1 / -1;
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 45px 24px;
    color: #8a909c;
    background: rgba(17, 20, 26, 0.72);
    border: 1px dashed #343944;
    border-radius: 12px;
    text-align: center;
}

.grid-message i {
    display: block;
    margin-bottom: 15px;
    font-size: 2rem;
}

.grid-message.error {
    color: #ff6c6c;
    border-color: rgba(255, 42, 42, 0.6);
    background: rgba(255, 42, 42, 0.06);
}

.load-more-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.btn-load-more {
    min-width: 210px;
    padding: 13px 22px;
    color: #fff;
    background: #171b22;
    border: 1px solid #3a3f49;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-load-more:hover {
    color: var(--rat-red);
    border-color: var(--rat-red);
}

/* Equipo */
.hunters-section {
    padding: 96px 5%;
    background: var(--bg-panel);
    border-top: 1px solid #242830;
}

.hunters-content {
    width: min(1200px, 100%);
    margin: 0 auto;
    text-align: center;
}

.hunters-lore {
    width: min(820px, 100%);
    margin: 0 auto 52px;
    color: #a6abb4;
    font-size: 1rem;
    line-height: 1.8;
}

.founders-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 46px;
}

.hunter-card {
    width: 210px;
    padding: 28px 18px;
    background: var(--bg-dark);
    border: 1px solid #343944;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hunter-card.founder {
    border-color: #ffd700;
}

.hunter-card.leader {
    border-color: var(--rat-red);
}

.hunter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.hunter-img {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    background-position: center;
    background-size: cover;
    border: 2px solid #555;
    border-radius: 50%;
}

.founder .hunter-img {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.28);
}

.leader .hunter-img {
    border-color: var(--rat-red);
    box-shadow: 0 0 15px var(--rat-red-glow);
}

.hunter-rank {
    margin-bottom: 9px;
    color: #878d98;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.founder .hunter-rank {
    color: #ffd700;
}

.hunter-id {
    color: #fff;
    font-family: monospace;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.hunter-id:hover {
    color: var(--rat-red);
}

.recruit-action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.btn-recruit {
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 7px;
}

.btn-whiskys {
    background: #ff5500;
    border-color: #ff5500;
}

.btn-whiskys:hover {
    background: #ff7634;
}

/* Página de detalle */
.detail-main {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 80px;
}

.detail-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #b7bbc3;
    text-decoration: none;
    font-weight: 700;
}

.btn-back:hover {
    color: var(--rat-red);
}

.detail-id {
    color: #656b76;
    font-family: monospace;
    font-size: 0.82rem;
}

.detail-card {
    overflow: hidden;
    background: var(--bg-panel);
    border: 1px solid #303540;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.detail-hero {
    position: relative;
    padding: 34px;
    background:
        linear-gradient(120deg, rgba(255, 42, 42, 0.11), transparent 50%),
        #12161d;
    border-bottom: 1px solid #2a2e37;
}

.detail-status {
    position: static;
    width: fit-content;
    margin-bottom: 16px;
}

.detail-title {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.detail-contact {
    margin-top: 12px;
    color: #a9aeb8;
    font-family: monospace;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.detail-content {
    padding: 30px 34px 38px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.detail-meta-item {
    min-width: 0;
    padding: 16px;
    background: #0c0f14;
    border: 1px solid #242933;
    border-radius: 9px;
}

.detail-meta-item .label {
    display: block;
    margin-bottom: 7px;
    color: #707783;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.detail-meta-item .value {
    color: #f5f5f5;
    font-size: 0.94rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.detail-section {
    margin-top: 30px;
}

.detail-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--cyan);
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
}

.detail-modus {
    padding: 20px;
    color: #d0d3d8;
    background: #0c0f14;
    border: 1px solid #252a33;
    border-radius: 9px;
    font-size: 0.97rem;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.gallery-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #08090c;
    border: 1px solid #2d323c;
    border-radius: 9px;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
    filter: brightness(0.82);
}

.gallery-index {
    position: absolute;
    right: 9px;
    bottom: 9px;
    padding: 5px 8px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
}

.no-evidence {
    padding: 24px;
    color: #777e89;
    background: #0c0f14;
    border: 1px dashed #303641;
    border-radius: 9px;
    text-align: center;
}

.detail-message {
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 40px;
    color: #a1a6b0;
    text-align: center;
}

.detail-message i {
    display: block;
    margin-bottom: 14px;
    font-size: 2rem;
}

.lightbox {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: min(1100px, 92vw);
    max-height: 84vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(17, 20, 26, 0.88);
    border: 1px solid #424854;
    cursor: pointer;
}

.lightbox-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.15rem;
}

.lightbox-nav {
    top: 50%;
    width: 46px;
    height: 70px;
    transform: translateY(-50%);
    border-radius: 8px;
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}

.lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 999px;
    font-size: 0.8rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.report-card,
.detail-card {
    animation: fadeIn 0.4s ease both;
}

@media (max-width: 920px) {
    .detail-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 62px;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-links li:not(:last-child) {
        display: none;
    }

    .btn-login {
        padding: 8px 10px;
        font-size: 0.74rem !important;
    }

    .hero-ratas {
        min-height: 470px;
        padding-top: 112px;
    }

    .search-container {
        flex-direction: column;
    }

    #global-search {
        border-right: 2px solid #30343c;
        border-bottom: 0;
        border-radius: 9px 9px 0 0;
    }

    .btn-rat-primary {
        min-height: 52px;
        border-radius: 0 0 9px 9px;
    }

    .report-footer {
        grid-template-columns: 1fr;
    }

    .report-date {
        text-align: left;
    }

    .detail-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-hero,
    .detail-content {
        padding: 24px;
    }

    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-nav {
        width: 40px;
        height: 58px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding-inline: 16px;
    }

    .logo-corp {
        display: none;
    }

    .hero-ratas,
    .reports-section,
    .hunters-section {
        padding-inline: 16px;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .report-meta-box {
        grid-template-columns: 1fr;
    }

    .detail-main {
        width: min(100% - 20px, 1180px);
    }

    .detail-hero,
    .detail-content {
        padding: 20px;
    }
}

/* =========================================================
   Galería profesional v3: una imagen grande + miniaturas
   ========================================================= */
.detail-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 13px;
}

.detail-section-heading .detail-section-title {
    margin-bottom: 0;
}

.evidence-total {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: #aeb4bf;
    background: #0c0f14;
    border: 1px solid #2b3039;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.evidence-viewer {
    overflow: hidden;
    background: #090b0f;
    border: 1px solid #2b3039;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.evidence-stage {
    position: relative;
    height: clamp(330px, 62vh, 680px);
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.035), transparent 48%),
        #050608;
}

.evidence-main-button {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 20px 72px;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.evidence-main-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 7px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55);
}

.evidence-zoom-hint {
    position: absolute;
    right: 18px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;
    font-size: 0.75rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.evidence-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 46px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(10, 12, 16, 0.82);
    border: 1px solid #3d434e;
    border-radius: 8px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(10px);
}

.evidence-arrow:hover {
    color: #050505;
    background: var(--rat-red);
    border-color: var(--rat-red);
    transform: translateY(-50%) scale(1.04);
}

.evidence-arrow-prev { left: 15px; }
.evidence-arrow-next { right: 15px; }

.evidence-stage-counter {
    position: absolute;
    z-index: 3;
    left: 18px;
    bottom: 18px;
    padding: 7px 11px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.evidence-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 17px;
    color: #8e95a0;
    background: #0d1015;
    border-top: 1px solid #242933;
    border-bottom: 1px solid #242933;
    font-size: 0.78rem;
}

.evidence-toolbar strong {
    color: #fff;
}

.evidence-thumbnails {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 15px;
    scrollbar-width: thin;
    scrollbar-color: #444a55 #11141a;
}

.evidence-thumb {
    position: relative;
    flex: 0 0 116px;
    height: 82px;
    overflow: hidden;
    padding: 0;
    background: #06070a;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.64;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.evidence-thumb:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.evidence-thumb.active {
    opacity: 1;
    border-color: var(--rat-red);
    box-shadow: 0 0 0 2px rgba(255, 42, 42, 0.12);
}

.evidence-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.evidence-thumb span {
    position: absolute;
    right: 5px;
    bottom: 5px;
    min-width: 22px;
    padding: 3px 6px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
}

.recovery-panel {
    padding: 18px 20px;
    color: #bfffd5;
    background: linear-gradient(90deg, rgba(0, 255, 102, 0.06), rgba(0, 255, 102, 0.015));
    border: 1px solid rgba(0, 255, 102, 0.25);
    border-radius: 9px;
}

.recovery-panel .detail-section-title {
    color: var(--recover-green);
}

.detail-meta-item .amount {
    color: var(--rat-red);
}

.report-cover-link.cover-error::before {
    content: 'Sin vista previa';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #606773;
    background: #0a0c10;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .detail-section-heading,
    .evidence-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .evidence-stage {
        height: min(62vh, 480px);
    }

    .evidence-main-button {
        padding: 14px 52px;
    }

    .evidence-arrow {
        width: 38px;
        height: 50px;
    }

    .evidence-arrow-prev { left: 8px; }
    .evidence-arrow-next { right: 8px; }

    .evidence-thumb {
        flex-basis: 92px;
        height: 68px;
    }

    .evidence-zoom-hint {
        top: 10px;
        right: 10px;
    }
}
