:root {
    --ink: #080a0c;
    --smoke: #11161a;
    --steel: #1d272d;
    --paper: #f5ead2;
    --paper-muted: #cdbf9d;
    --red: #c9341f;
    --red-bright: #f05b32;
    --gold: #d9b44a;
    --green: #6aa37b;
    --blue: #4d7fa6;
    --line: rgba(245, 234, 210, 0.18);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
    --radius: 8px;
    --header-height: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(180deg, #07090a 0%, #11161a 44%, #0b0d0f 100%);
    color: var(--paper);
    font-family: "Arial", "Helvetica", sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px),
        linear-gradient(135deg, rgba(201, 52, 31, 0.11), transparent 32%, rgba(106, 163, 123, 0.1) 74%, transparent);
    mix-blend-mode: screen;
    opacity: 0.42;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration-color: rgba(217, 180, 74, 0.65);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--gold);
}

button,
input,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px clamp(18px, 4vw, 46px);
    background: rgba(8, 10, 12, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.brand img {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(245, 234, 210, 0.24);
    border-radius: var(--radius);
    object-fit: cover;
}

.brand span {
    display: grid;
    min-width: 0;
}

.brand strong {
    font-size: clamp(1rem, 2.3vw, 1.2rem);
    line-height: 1.1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.brand small {
    color: var(--paper-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--paper-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--paper);
    border-color: rgba(217, 180, 74, 0.36);
    background: rgba(217, 180, 74, 0.08);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(245, 234, 210, 0.08);
    color: var(--paper);
}

.hero {
    position: relative;
    min-height: min(720px, 76svh);
    display: grid;
    align-items: end;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid rgba(217, 180, 74, 0.26);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 10, 12, 0.86) 0%, rgba(8, 10, 12, 0.42) 50%, rgba(8, 10, 12, 0.8) 100%),
        linear-gradient(0deg, #080a0c 0%, rgba(8, 10, 12, 0.22) 45%, rgba(8, 10, 12, 0.45) 100%);
}

.hero-content {
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(90px, 15vh, 160px) 0 clamp(80px, 12vh, 120px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.hero h1,
.film-hero h1,
.not-found h1 {
    max-width: 980px;
    margin: 0;
    color: var(--paper);
    font-family: Impact, "Arial Black", sans-serif;
    font-weight: 900;
    font-size: clamp(3.1rem, 9vw, 7.9rem);
    line-height: 0.88;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 5px 0 rgba(0, 0, 0, 0.35);
    overflow-wrap: anywhere;
}

.hero-copy {
    max-width: 680px;
    margin: 22px 0 0;
    color: #fff4dd;
    font-size: clamp(1.08rem, 2.4vw, 1.4rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--red);
    color: #fff8ec;
    box-shadow: 0 12px 26px rgba(201, 52, 31, 0.28);
}

.button-primary:hover {
    background: var(--red-bright);
    color: #fff8ec;
}

.button-secondary {
    color: var(--paper);
    border-color: rgba(245, 234, 210, 0.28);
    background: rgba(8, 10, 12, 0.66);
}

.button-secondary:hover {
    border-color: rgba(217, 180, 74, 0.72);
    color: var(--paper);
}

.progress-panel {
    position: absolute;
    right: clamp(18px, 4vw, 46px);
    bottom: 22px;
    display: grid;
    grid-template-columns: auto minmax(130px, 220px) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(245, 234, 210, 0.24);
    border-radius: var(--radius);
    background: rgba(8, 10, 12, 0.72);
    box-shadow: var(--shadow);
}

.progress-panel span,
.progress-panel strong {
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.progress-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(245, 234, 210, 0.18);
}

.progress-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--gold), var(--red-bright));
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
    background: #0c1114;
}

.stats-strip div {
    min-width: 0;
    padding: clamp(18px, 4vw, 34px);
    border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
    border-right: 0;
}

.stats-strip span,
.admin-stat-grid span {
    display: block;
    color: var(--gold);
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 0.95;
}

.stats-strip small,
.admin-stat-grid small {
    color: var(--paper-muted);
    font-weight: 900;
    text-transform: uppercase;
}

.section-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(52px, 7vw, 88px) 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.section-heading h2,
.panel-heading h2,
.note-panel h2 {
    margin: 0;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(2.1rem, 4.8vw, 4.6rem);
    line-height: 0.94;
    text-transform: uppercase;
}

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

.review-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 22, 26, 0.9);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.card-media {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #07090a;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.06);
    transition: transform 220ms ease;
}

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

.card-body {
    padding: 18px;
}

.card-kicker,
.film-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--paper-muted);
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.card-body h3,
.film-row h3 {
    margin: 10px 0 8px;
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    line-height: 1.15;
}

.card-body h3 a,
.film-row h3 a {
    text-decoration: none;
}

.card-body p {
    margin: 10px 0 0;
    color: var(--paper-muted);
}

.card-headline {
    color: var(--paper) !important;
    font-weight: 800;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-published {
    color: #07100b;
    background: var(--green);
}

.status-draft {
    color: #161007;
    background: var(--gold);
}

.stars {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    color: var(--gold);
    font-weight: 900;
}

.stars-empty {
    color: var(--paper-muted);
}

.star-score {
    margin-left: 6px;
    color: var(--paper-muted);
    font-size: 0.85rem;
}

.empty-state {
    border: 1px dashed rgba(217, 180, 74, 0.5);
    border-radius: var(--radius);
    padding: clamp(24px, 5vw, 44px);
    background: rgba(17, 22, 26, 0.62);
}

.empty-state > i {
    color: var(--gold);
    font-size: 2.2rem;
}

.empty-state h3 {
    margin: 12px 0 8px;
    font-size: clamp(1.4rem, 4vw, 2.4rem);
    line-height: 1.1;
}

.empty-state p {
    max-width: 620px;
    color: var(--paper-muted);
}

.archive-section {
    padding-top: 18px;
}

.checklist {
    display: grid;
    gap: 10px;
}

.film-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 22, 26, 0.78);
}

.film-row.is-pending {
    background:
        repeating-linear-gradient(-45deg, rgba(245, 234, 210, 0.035) 0 10px, transparent 10px 20px),
        rgba(17, 22, 26, 0.52);
}

.film-row-year {
    color: var(--gold);
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.film-row h3 {
    margin: 0;
}

.film-row p {
    margin: 4px 0 0;
    color: var(--paper-muted);
}

.film-row-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 8px;
}

.film-detail {
    overflow: hidden;
}

.film-hero {
    position: relative;
    min-height: min(650px, 70svh);
    display: grid;
    align-items: end;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.film-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    filter: saturate(0.78) contrast(1.08);
}

.film-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 10, 12, 0.9), rgba(8, 10, 12, 0.44), rgba(8, 10, 12, 0.86)),
        linear-gradient(0deg, #080a0c, rgba(8, 10, 12, 0.16) 58%, rgba(8, 10, 12, 0.62));
}

.film-hero-content {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(70px, 12vh, 138px) 0 clamp(48px, 8vw, 88px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--paper-muted);
    font-weight: 900;
    text-decoration: none;
}

.film-meta-line {
    margin-top: 22px;
}

.film-meta-line span {
    padding: 6px 9px;
    border: 1px solid rgba(245, 234, 210, 0.2);
    border-radius: var(--radius);
    background: rgba(8, 10, 12, 0.45);
}

.detail-rating {
    margin-top: 14px;
}

.detail-layout {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(24px, 5vw, 52px);
    padding: clamp(44px, 7vw, 76px) 0;
}

.review-prose {
    min-width: 0;
    color: #f8efd9;
    font-size: clamp(1.08rem, 2vw, 1.22rem);
}

.review-prose p {
    margin: 0 0 1.3em;
}

.review-prose p:first-child::first-letter {
    float: left;
    margin: 0.08em 0.12em 0 0;
    color: var(--red-bright);
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 4.4rem;
    line-height: 0.8;
}

.review-sidebar {
    display: grid;
    align-content: start;
    gap: 16px;
}

.note-panel {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 22, 26, 0.84);
}

.note-panel h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
}

.note-panel p {
    margin: 12px 0 0;
    color: var(--paper-muted);
}

.verdict-panel {
    border-color: rgba(201, 52, 31, 0.42);
}

.gallery-section {
    padding-top: 0;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.photo-gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0b0f12;
}

.photo-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.photo-gallery figcaption {
    padding: 10px 12px;
    color: var(--paper-muted);
    font-size: 0.9rem;
}

.film-nav {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto clamp(46px, 7vw, 82px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.film-nav a {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 22, 26, 0.74);
    text-decoration: none;
}

.film-nav a:last-child {
    text-align: right;
}

.film-nav span {
    color: var(--paper-muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px clamp(18px, 4vw, 46px);
    border-top: 1px solid var(--line);
    background: #07090a;
    color: var(--paper-muted);
}

.site-footer div {
    display: grid;
    gap: 3px;
}

.site-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    text-decoration: none;
}

.auth-body {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 22px;
}

.auth-shell {
    width: min(480px, 100%);
}

.auth-mark {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.auth-mark img {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    object-fit: cover;
}

.auth-card,
.admin-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 22, 26, 0.88);
    box-shadow: var(--shadow);
}

.auth-card {
    padding: clamp(22px, 5vw, 34px);
}

.auth-card h1,
.admin-titlebar h1 {
    margin: 0;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(2.3rem, 8vw, 4.4rem);
    line-height: 0.94;
    text-transform: uppercase;
}

.auth-copy {
    margin: 10px 0 22px;
    color: var(--paper-muted);
}

.admin-main {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(28px, 5vw, 52px) 0 86px;
}

.admin-titlebar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.admin-stat-grid div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 22, 26, 0.74);
}

.admin-panel {
    padding: clamp(16px, 4vw, 24px);
    margin-bottom: 18px;
}

.narrow-panel {
    max-width: 560px;
}

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

.panel-heading h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.panel-heading span {
    color: var(--paper-muted);
    font-weight: 900;
    text-transform: uppercase;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: var(--gold);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.admin-table td small {
    display: block;
    color: var(--paper-muted);
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.table-actions form {
    margin: 0;
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(245, 234, 210, 0.08);
    color: var(--paper);
    cursor: pointer;
    text-decoration: none;
}

.icon-button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.icon-button.danger:hover {
    border-color: var(--red-bright);
    color: var(--red-bright);
}

.alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.alert p {
    margin: 0;
}

.alert p + p {
    margin-top: 4px;
}

.alert-error {
    border: 1px solid rgba(240, 91, 50, 0.5);
    background: rgba(201, 52, 31, 0.16);
    color: #ffd9ca;
}

.alert-success {
    border: 1px solid rgba(106, 163, 123, 0.58);
    background: rgba(106, 163, 123, 0.16);
    color: #dbffdf;
}

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

.stack-form label,
.field {
    display: grid;
    gap: 7px;
}

label span,
.field label {
    color: var(--paper-muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(245, 234, 210, 0.24);
    border-radius: var(--radius);
    background: rgba(8, 10, 12, 0.75);
    color: var(--paper);
    padding: 10px 12px;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.edit-form {
    display: grid;
    gap: 18px;
}

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

.field.wide {
    grid-column: 1 / -1;
}

.photo-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.photo-admin-card {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 10, 12, 0.42);
}

.photo-admin-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.poster-admin {
    display: grid;
    grid-template-columns: minmax(180px, 250px) 1fr;
    gap: 16px;
    align-items: start;
}

.poster-preview {
    display: grid;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 10, 12, 0.5);
}

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

.poster-empty {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    min-height: 260px;
    padding: 18px;
    color: var(--paper-muted);
    text-align: center;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 900;
}

.poster-empty i {
    color: var(--gold);
    font-size: 2rem;
}

.poster-controls {
    display: grid;
    gap: 14px;
}

.photo-card-row {
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 10px;
    align-items: end;
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--paper);
    font-weight: 900;
}

.inline-check input {
    width: 18px;
    min-height: 18px;
}

.auth-check {
    justify-content: flex-start;
}

.upload-drop {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 24px;
    border: 1px dashed rgba(217, 180, 74, 0.62);
    border-radius: var(--radius);
    background: rgba(8, 10, 12, 0.38);
    text-align: center;
}

.upload-drop > i {
    color: var(--gold);
    font-size: 2.1rem;
}

.upload-drop label {
    font-size: 1.1rem;
    font-weight: 900;
}

.upload-drop small {
    color: var(--paper-muted);
}

.upload-drop-compact {
    padding: 20px;
}

.preview-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.preview-strip img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    justify-content: end;
    gap: 10px;
    padding: 14px 0;
    background: linear-gradient(180deg, transparent, rgba(8, 10, 12, 0.96) 30%);
}

.not-found {
    min-height: 58svh;
    display: grid;
    align-content: center;
}

@media (max-width: 920px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .site-nav {
        position: absolute;
        top: calc(100% - 1px);
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(8, 10, 12, 0.98);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        justify-content: center;
    }

    .review-grid,
    .photo-gallery,
    .photo-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .review-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-stat-grid,
    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-strip div:nth-child(2) {
        border-right: 0;
    }

    .stats-strip div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 700px) {
    .site-header {
        min-height: 68px;
        padding: 12px 18px;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .hero {
        min-height: 78svh;
    }

    .hero-content {
        padding-bottom: 118px;
    }

    .progress-panel {
        right: 18px;
        left: 18px;
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .admin-titlebar,
    .section-heading,
    .site-footer,
    .sticky-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .review-grid,
    .photo-gallery,
    .photo-admin-grid,
    .poster-admin,
    .review-sidebar,
    .form-grid,
    .admin-stat-grid,
    .stats-strip,
    .film-nav {
        grid-template-columns: 1fr;
    }

    .stats-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stats-strip div:last-child {
        border-bottom: 0;
    }

    .film-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .film-row-meta {
        justify-content: flex-start;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table tr {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-table td {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
        border: 0;
        padding: 7px 0;
    }

    .admin-table td::before {
        content: attr(data-label);
        color: var(--gold);
        font-size: 0.76rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .table-actions {
        justify-content: flex-start;
    }

    .photo-card-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
