:root {
    --bg: #101114;
    --panel: #191b20;
    --panel-soft: #22252c;
    --text: #f5f5f2;
    --muted: #adb0b8;
    --line: #30343d;
    --accent: #0069ff;
    --accent-dark: #004fbd;
    --accent-strong: #66a3ff;
    --danger: #ff6b6b;
    --radius: 8px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    overflow: visible;
    border-bottom: 1px solid var(--line);
    background: rgba(16, 17, 20, .96);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 68px;
    overflow: visible;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
}

.brand-mark {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: stretch;
    gap: 4px;
    position: relative;
    z-index: 210;
    overflow: visible;
}

.site-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 250px;
}

.site-search input {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    color: var(--text);
    font: inherit;
    font-size: .9rem;
    outline: none;
    padding: 0 12px;
}

.site-search input:focus {
    border-color: var(--accent);
}

.site-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: .9rem;
    font-weight: 400;
    padding: 0 13px;
    cursor: pointer;
}

.site-search button:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
}

.ui-icon {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-search button .ui-icon {
    width: 16px;
    height: 16px;
}

.main-nav > a,
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 68px;
    border: 0;
    background: transparent;
    padding: 0 14px;
    color: var(--muted);
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
}

.nav-toggle::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.nav-dropdown.is-open > .nav-toggle::after {
    transform: rotate(180deg);
}

.main-nav a:hover,
.nav-toggle:hover,
.nav-dropdown:hover > .nav-toggle,
.nav-dropdown.is-open > .nav-toggle {
    color: var(--text);
}

.nav-dropdown {
    position: relative;
    z-index: 211;
}

.nav-dropdown.is-open {
    z-index: 230;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    width: 230px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    z-index: 240;
}

.nav-dropdown.is-open .dropdown-menu {
    display: grid;
}

@media (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover .dropdown-menu {
        display: grid;
    }
}

.dropdown-menu a {
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--muted);
    font-size: .9rem;
}

.dropdown-menu a:hover {
    background: var(--panel-soft);
    color: var(--text);
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 48px;
}

.intro-band,
.list-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.intro-band h1,
.list-header h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: .96;
    letter-spacing: 0;
}

.intro-band h2,
.list-header h2 {
    margin: 0;
    color: var(--accent);
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.intro-band p:last-child {
    max-width: 380px;
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-section {
    margin-top: 42px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #1d2026;
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    background: #050608;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.45rem;
}

.see-all,
.notice-button,
.pagination a,
.back-link,
.watch-button,
.copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    color: var(--text);
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
}

.see-all:hover,
.notice-button:hover,
.notice-button:focus-visible,
.pagination a:hover,
.back-link:hover,
.copy-button:hover {
    border-color: var(--accent);
}

.intro-band .notice-button {
    flex: 0 0 auto;
    margin-left: auto;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
    gap: 22px 16px;
}

.poster-grid-home {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
}

.media-card {
    position: relative;
    min-width: 0;
}

.poster-shell {
    position: relative;
    margin: 0 0 10px;
}

.poster-link {
    display: block;
}

.poster {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 2 / 3;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease;
}

.media-card:hover .poster img {
    transform: scale(1.04);
}

.poster-copy-toggle {
    position: absolute;
    top: 1px;
    right: 1px;
    z-index: 4;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 6px;
    background: rgba(0, 0, 0, .46);
    color: rgba(255, 255, 255, .78);
    cursor: pointer;
    opacity: .76;
    transition: background .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
}

.poster-copy-toggle:hover,
.poster-copy-toggle:focus-visible,
.poster-copy-toggle[aria-expanded="true"] {
    border-color: var(--accent);
    background: rgba(0, 0, 0, .78);
    color: var(--accent-strong);
    opacity: 1;
}

.poster-copy-toggle svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.poster-copy-panel,
.poster-copy-toast {
    position: absolute;
    z-index: 5;
    display: none;
}

.poster-shell.copy-done::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .72);
    pointer-events: none;
}

.poster-copy-panel {
    inset: 0;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .72);
}

.poster-shell.copy-open .poster-copy-panel {
    display: grid;
}

.poster-copy-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 118px);
    min-height: 34px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 6px;
    background: rgba(126, 160, 255, .94);
    color: #111;
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.1;
    padding: 6px 8px;
    text-align: center;
    cursor: pointer;
}

.poster-copy-option:hover,
.poster-copy-option:focus-visible {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
}

.poster-copy-toast {
    top: 50%;
    left: 50%;
    z-index: 6;
    transform: translate(-50%, -50%);
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(38, 174, 96, .95);
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    pointer-events: none;
}

.poster-shell.copy-done .poster-copy-toast {
    display: block;
}

.poster-fallback {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #252932, #15171c);
    color: var(--accent);
    font-size: clamp(2.8rem, 9vw, 4.5rem);
    font-weight: 900;
}

.poster-cache-placeholder span {
    opacity: .42;
}

.poster-cache-placeholder i {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, .18);
    border-top-color: var(--accent-strong);
    border-radius: 50%;
    animation: poster-cache-spin .85s linear infinite;
}

.poster-cache-placeholder.poster-cache-failed i {
    display: none;
}

.poster-cache-placeholder.poster-cache-failed::after {
    content: "Sin poster";
    position: absolute;
    right: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 7px;
    border-radius: 5px;
    background: rgba(0, 0, 0, .52);
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
}

@keyframes poster-cache-spin {
    to {
        transform: rotate(360deg);
    }
}

.poster-cache-progress {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 260;
    width: min(320px, calc(100vw - 36px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(25, 27, 32, .96);
    box-shadow: var(--shadow);
}

.poster-cache-progress[hidden] {
    display: none;
}

.poster-cache-progress-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    font-size: .78rem;
}

.poster-cache-progress-copy strong {
    color: var(--text);
}

.poster-cache-progress-copy span {
    color: var(--muted);
    white-space: nowrap;
}

.poster-cache-progress-track {
    overflow: hidden;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .11);
}

.poster-cache-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    transition: width .24s ease;
}

.media-title {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-meta {
    display: flex;
    gap: 7px;
    min-width: 0;
    margin-top: 4px;
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.count-pill {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: .88rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
    color: var(--muted);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(210px, 300px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.detail-poster {
    position: sticky;
    top: 94px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    min-width: 0;
}

.detail-info h1 {
    margin-top: 18px;
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
    color: var(--muted);
}

.detail-meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--panel);
}

.overview {
    max-width: 760px;
    color: #d7d9df;
    line-height: 1.65;
}

.variants-list,
.season-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.variant-row,
.season-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.variant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
}

.variant-row strong,
.variant-row span {
    display: block;
}

.variant-row span {
    max-width: 620px;
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: var(--muted);
    font-size: .84rem;
}

.variant-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.watch-button {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.watch-button:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
}

.copy-button.copied {
    border-color: var(--accent-strong);
    color: var(--accent-strong);
}

.season-panel {
    overflow: hidden;
}

.season-panel summary {
    cursor: pointer;
    padding: 16px;
    color: var(--accent);
    font-weight: 800;
}

.episode-block {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
}

.episode-block h3 {
    margin: 8px 0 0;
    color: var(--text);
    font-size: 1rem;
}

.empty-state {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--muted);
}

.error-state strong,
.error-state span {
    display: block;
}

.error-state strong {
    color: var(--danger);
    margin-bottom: 8px;
}

.site-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
}

.player-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    padding: 24px;
}

.player-modal.is-open {
    display: grid;
    place-items: center;
}

.player-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
}

.player-dialog {
    position: relative;
    z-index: 1;
    width: min(800px, 100%);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #07080a;
    box-shadow: var(--shadow);
}

.player-header {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}

.player-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    background: var(--panel);
}

.player-header h2 {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--text);
    font-size: .98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-close,
.player-fullscreen,
.player-report,
.report-close,
.report-cancel,
.report-submit {
    flex: 0 0 auto;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel-soft);
    color: var(--text);
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
    padding: 0 12px;
    cursor: pointer;
}

.report-submit {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.report-submit:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
}

.player-close {
    border-color: rgba(255, 107, 107, .55);
    background: rgba(255, 107, 107, .1);
    color: #ffb5b5;
}

.player-fullscreen:hover,
.player-report:hover,
.report-close:hover,
.report-cancel:hover {
    border-color: var(--accent);
}

.player-close:hover {
    border-color: rgba(255, 107, 107, .85);
    background: rgba(255, 107, 107, .2);
    color: #ffd6d6;
}

.player-report:disabled {
    border-color: var(--line);
    background: #2a2d34;
    color: var(--muted);
    cursor: not-allowed;
}

.player-frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.player-frame-wrap:fullscreen {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
    background: #000;
}

.player-frame-wrap:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
    background: #000;
}

.player-frame-wrap:-moz-full-screen {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
    background: #000;
}

.player-frame-wrap:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
    background: #000;
}

body.player-locked {
    overflow: hidden;
}

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    padding: 18px;
}

.notice-modal.is-open {
    display: grid;
    place-items: center;
}

.notice-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .64);
}

.notice-dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: min(82vh, 680px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
}

.notice-header h2 {
    margin: 0;
    font-size: 1rem;
}

.notice-content {
    max-height: calc(min(82vh, 680px) - 61px);
    overflow-y: auto;
    padding: 16px;
    color: #d7d9df;
    font-size: .95rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.notice-content strong {
    color: var(--text);
}

.notice-content u {
    text-decoration-color: var(--accent-strong);
    text-underline-offset: 3px;
}

.notice-text-small {
    font-size: .86em;
}

.notice-text-normal {
    font-size: 1em;
}

.notice-text-large {
    font-size: 1.18em;
}

.notice-text-xlarge {
    color: var(--text);
    font-size: 1.34em;
    font-weight: 800;
}

.notice-text-title {
    display: block;
    margin: 4px 0 8px;
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.25;
}

.notice-align-left {
    text-align: left;
}

.notice-align-center {
    text-align: center;
}

.notice-align-right {
    text-align: right;
}

.notice-close {
    flex: 0 0 auto;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel-soft);
    color: var(--text);
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
    padding: 0 12px;
    cursor: pointer;
}

.notice-close:hover,
.notice-close:focus-visible {
    border-color: var(--accent);
}

body.notice-locked {
    overflow: hidden;
}

.report-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    padding: 18px;
}

.report-modal.is-open {
    display: grid;
    place-items: center;
}

.report-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
}

.report-dialog {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
}

.report-header h2 {
    margin: 0;
    font-size: 1rem;
}

.report-form {
    display: grid;
    gap: 14px;
    padding: 14px;
}

.report-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
}

.report-help {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 400;
    line-height: 1.35;
}

.report-form textarea,
.report-form input,
.report-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #111318;
    color: var(--text);
    font: inherit;
    font-size: .95rem;
    outline: none;
    padding: 10px;
}

.report-form textarea:focus,
.report-form input:focus,
.report-form select:focus {
    border-color: var(--accent);
}

.report-message {
    min-height: 18px;
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
}

.report-message.is-ok {
    color: #57d98b;
}

.report-message.is-error {
    color: var(--danger);
}

.report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.report-login-page {
    display: grid;
    place-items: center;
    padding: 20px;
}

.report-login-shell {
    width: min(420px, 100%);
}

.report-login-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.report-login-title h1 {
    margin: 0;
    font-size: clamp(2rem, 10vw, 3.2rem);
}

.report-login-card .report-admin-message {
    margin: 0;
}

.report-login-card label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.report-login-card input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #111318;
    color: var(--text);
    font: inherit;
    padding: 0 10px;
}

.report-admin {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 56px;
}

.report-admin-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.report-admin-header h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.report-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.report-count-card {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.report-count-card strong {
    color: var(--accent);
    font-size: 1.5rem;
}

.report-count-card span {
    color: var(--muted);
    font-weight: 800;
}

.report-admin-button,
.report-delete,
.report-delete-all {
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel-soft);
    color: var(--text);
    font: inherit;
    font-weight: 800;
    padding: 0 12px;
    cursor: pointer;
}

.report-admin-button:hover,
.report-delete:hover,
.report-delete-all:hover {
    border-color: var(--accent);
}

.report-admin-primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.report-admin-primary:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
}

.report-delete,
.report-delete-all {
    border-color: rgba(255, 107, 107, .55);
    color: #ff9b9b;
}

.report-delete-all {
    background: rgba(255, 107, 107, .1);
}

.report-admin-message {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--muted);
}

.report-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 14px;
}

.report-card {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.report-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.report-card h2 {
    margin: 4px 0 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.report-card-id,
.report-meta-item span,
.report-field > span {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.report-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.report-meta-item,
.report-field {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #111318;
}

.report-meta-item strong,
.report-meta-item a {
    display: block;
    margin-top: 6px;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: .9rem;
}

.report-meta-item a {
    color: #57d98b;
    font-weight: 800;
}

.report-problem {
    margin: 8px 0 0;
    line-height: 1.55;
}

.report-video-link {
    display: block;
    margin-top: 8px;
    overflow-wrap: anywhere;
    color: var(--accent-strong);
    font-size: .86rem;
    font-weight: 800;
}

.report-technical {
    color: var(--muted);
    font-size: .82rem;
}

.report-technical summary {
    cursor: pointer;
    font-weight: 800;
}

.report-technical p {
    margin: 8px 0 0;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .header-inner {
        align-items: center;
        flex-direction: column;
        gap: 10px;
        padding: 14px 0;
        text-align: center;
    }

    .main-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
    }

    .brand {
        justify-content: center;
    }

    .nav-dropdown {
        position: static;
    }

    .site-search {
        width: 100%;
    }

    .main-nav > a,
    .nav-toggle {
        min-height: 42px;
        padding: 0 10px;
    }

    .dropdown-menu {
        left: 50%;
        right: auto;
        top: calc(100% + 6px);
        width: min(200px, calc(100vw - 22px));
        max-height: min(80vh, 520px);
        transform: translateX(-50%);
        z-index: 260;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: grid;
    }

    .intro-band,
    .list-header,
    .variant-row,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .intro-band,
    .site-footer {
        align-items: center;
        text-align: center;
    }

    .intro-band .notice-button {
        margin-left: 0;
    }

    .poster-grid,
    .poster-grid-home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .media-title {
        white-space: normal;
    }

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

    .detail-poster {
        position: relative;
        top: auto;
        width: min(130px, 38vw);
        margin: 0 auto;
    }

    .variant-actions {
        width: 100%;
    }

    .watch-button,
    .copy-button {
        flex: 1;
    }

    .player-modal {
        padding: 12px;
    }

    .player-header {
        align-items: flex-start;
    }

    .player-actions {
        flex-direction: column;
    }

    .player-header h2 {
        width: 100%;
        max-width: 100%;
        font-size: .92rem;
    }

    .player-report,
    .player-fullscreen,
    .player-close {
        width: 100%;
    }

    .report-actions {
        flex-direction: column;
    }

    .notice-dialog {
        max-height: 86vh;
    }

    .notice-content {
        max-height: calc(86vh - 61px);
    }

    .notice-close {
        min-width: 88px;
    }

    .report-cancel,
    .report-submit {
        width: 100%;
    }

    .report-login-page {
        align-items: start;
        padding-top: 54px;
    }

    .report-admin {
        width: min(100% - 24px, 1080px);
        padding: 24px 0 40px;
    }

    .report-admin-header,
    .report-admin-toolbar,
    .report-card-top {
        align-items: stretch;
        flex-direction: column;
    }

    .report-admin-header h1 {
        font-size: 2.3rem;
    }

    .report-admin-header form,
    .report-admin-toolbar form,
    .report-delete,
    .report-delete-all,
    .report-admin-button {
        width: 100%;
    }

    .report-count-card {
        justify-content: center;
    }

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

@media (max-width: 430px) {
    .page-shell,
    .header-inner {
        width: min(100% - 22px, 1180px);
    }

    .poster-grid,
    .poster-grid-home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .media-meta {
        gap: 4px;
        font-size: .62rem;
    }

    .poster-copy-toggle {
        top: 1px;
        right: 1px;
        width: 24px;
        height: 24px;
    }

    .poster-copy-toggle svg {
        width: 13px;
        height: 13px;
    }

    .poster-copy-panel {
        gap: 5px;
        padding: 8px 5px;
    }

    .poster-copy-option {
        width: 100%;
        min-height: 28px;
        font-size: .58rem;
        padding: 4px 5px;
    }

    .poster-copy-toast {
        font-size: .68rem;
        padding: 6px 9px;
    }
}
