@font-face
{
    font-family: Instrument;
    src: url("./assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
    font-display: swap;
}
@font-face
{
    font-family: DM;
    src: url("./assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face
{
    font-family: DM;
    src: url("./assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}
@font-face
{
    font-family: DM;
    src: url("./assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face
{
    font-family: DM;
    src: url("./assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
@font-face
{
    font-family: Plex;
    src: url("./assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
    font-display: swap;
}
@font-face
{
    font-family: Plex;
    src: url("./assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
:root
{
    --canvas: #f3f0e8;
    --paper: #fffdf7;
    --ink: #17262e;
    --muted: #59656b;
    --line: #d7d2c5;
    --coral: #b94f3b;
    --ochre: #d49a3a;
    --sage: #83927d;
    --night: #203943;
    --mist: #e8e5dc;
    --focus: #236b70;
    font-family: DM, sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-size: 15px;
    line-height: 1.65;
    font-synthesis: none;
}
*
{
    box-sizing: border-box;
}
body
{
    margin: 0;
}
button, input, select, textarea
{
    font: inherit;
}
button, a, input, textarea, select
{
    -webkit-tap-highlight-color: transparent;
}
button, select
{
    cursor: pointer;
}
button, .button
{
    min-height: 44px;
    border: 1px solid var(--line);
    padding: 9px 15px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}
button:hover, .button:hover
{
    background: var(--mist);
}
button[aria-pressed="true"], .primary, .button.primary
{
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}
.primary:hover, .button.primary:hover
{
    background: var(--night);
}
:focus-visible
{
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}
a
{
    color: inherit;
    text-underline-offset: 5px;
}
a:hover
{
    color: var(--coral);
}
h1, h2, h3, p
{
    margin-top: 0;
}
h1, h2, h3, .serif
{
    font-family: Instrument, Georgia, serif;
    font-weight: 400;
}
h1
{
    font-size: clamp(44px, 5.2vw, 72px);
    line-height: .99;
    letter-spacing: -.025em;
    margin-bottom: 24px;
}
h2
{
    font-size: 36px;
    line-height: 1.12;
    margin-bottom: 12px;
}
h3
{
    font-size: 25px;
    line-height: 1.15;
    margin-bottom: 8px;
}
p
{
    margin-bottom: 16px;
}
small, .muted, .meta
{
    color: var(--muted);
}
.meta, .mono, .eyebrow, .rank, .numbers
{
    font-family: Plex, monospace;
    font-size: 11px;
    line-height: 1.6;
}
.eyebrow
{
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 400;
    margin-bottom: 24px;
}
.eyebrow::before
{
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral);
    margin-right: 10px;
}
svg.icon
{
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.container, main
{
    width: min(1440px, calc(100% - 96px));
    margin-inline: auto;
}
header
{
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--ink);
    color: var(--paper);
}
.header-inner
{
    display: flex;
    gap: 28px;
    align-items: center;
    height: 100%;
}
.brand
{
    font-family: Instrument, Georgia, serif;
    font-size: 29px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    min-height: 44px;
}
.brand svg
{
    width: 25px;
    height: 25px;
    color: #e1aa70;
}
.desktop-nav
{
    display: flex;
    gap: 23px;
    align-items: center;
    height: 100%;
    white-space: nowrap;
}
.desktop-nav a
{
    font-size: 12px;
    text-decoration: none;
    height: 100%;
    display: grid;
    align-items: center;
    border-bottom: 3px solid transparent;
    padding-top: 3px;
    color: #c9cfcf;
}
.desktop-nav a[aria-current]
{
    color: var(--paper);
    border-color: #db846c;
}
.search-wrap
{
    position: relative;
    margin-left: auto;
    min-width: 180px;
    max-width: 260px;
    flex: 1;
}
.search-wrap input
{
    border-color: #526066;
    background: #29383f;
    color: var(--paper);
    font-size: 11px;
    padding-left: 35px;
}
.search-wrap > svg
{
    position: absolute;
    left: 10px;
    top: 14px;
    width: 15px;
}
.search-wrap input::placeholder
{
    color: #ced0cb;
}
input, select, textarea
{
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    background: var(--paper);
    color: var(--ink);
    min-width: 0;
}
textarea
{
    resize: vertical;
    min-height: 120px;
}
label
{
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}
.search-results
{
    position: absolute;
    top: 52px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    max-height: 390px;
    overflow: auto;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 10px 30px #17262e25;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.search-results:empty
{
    display: none;
}
.search-results a, .search-results p
{
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    margin: 0;
}
.search-results a:focus, .search-results a:hover
{
    background: var(--mist);
}
.avatar
{
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #d99278;
    color: var(--ink);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}
.mobile-actions
{
    display: none;
}
main
{
    padding-bottom: 72px;
    min-height: 70vh;
}
.hero
{
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 48px;
    align-items: center;
}
.hero-copy
{
    max-width: 540px;
}
.hero-copy h1
{
    max-width: 550px;
}
.hero-copy h1 em
{
    color: var(--coral);
    font-style: italic;
}
.hero-copy > p:not(.eyebrow)
{
    font-size: 16px;
    color: var(--muted);
    max-width: 450px;
}
.actions
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}
.hero-copy .actions
{
    gap: 8px;
    flex-wrap: nowrap;
}
.hero-copy .actions .button
{
    padding-inline: 12px;
    font-size: 11px;
    min-height: 48px;
}
.hero-copy .search-hint
{
    font-size: 11px !important;
    margin-top: 24px;
}
.feature
{
    color: var(--paper);
    background: var(--night);
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    position: relative;
}
.feature-label
{
    display: flex;
    justify-content: space-between;
    color: #d0d5cf;
    border-bottom: 1px solid #ffffff26;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-family: Plex, monospace;
    font-size: 9px;
    letter-spacing: .12em;
}
.feature-main
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding-bottom: 48px;
    position: relative;
}
.poster
{
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 5px;
    background: var(--night);
}
.feature .poster
{
    aspect-ratio: 2 / 3;
}
.feature h2
{
    font-size: clamp(31px, 3.2vw, 48px);
    line-height: 1.02;
    margin-block: 14px;
}
.feature .meta, .feature .muted
{
    color: #d1d8d2;
}
.feature p
{
    font-size: 12px;
    line-height: 1.75;
}
.feature .button
{
    color: var(--paper);
    border-color: #718084;
    width: 100%;
    margin-top: 12px;
}
.feature .button:hover
{
    color: var(--ink);
}
.rating-big
{
    font-size: 30px;
    font-family: Instrument, Georgia, serif;
}
.star
{
    color: var(--ochre);
}
.feature .floating-review
{
    position: absolute;
    bottom: 5px;
    left: 12%;
    right: 5%;
    background: var(--paper);
    color: var(--ink);
    border-radius: 6px;
    padding: 14px 18px;
    transform: rotate(-2deg);
    box-shadow: 0 6px 16px #0e222444;
}
.floating-review p
{
    font-family: Instrument, Georgia, serif;
    font-size: 21px;
    line-height: 1.2;
    margin-bottom: 8px;
}
.floating-review .meta
{
    font-size: 9px;
    color: var(--muted);
}
.queue-strip
{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ffffff26;
}
.queue-strip .poster
{
    width: 23px;
    height: 32px;
    border-radius: 1px;
    flex-shrink: 0;
}
.queue-strip > span
{
    font-size: 9px;
    font-family: Plex, monospace;
    color: #d1d8d2;
    white-space: nowrap;
}
.queue-strip a
{
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    line-height: 1.25;
    text-decoration: none;
}
.section
{
    padding-top: 32px;
    margin-top: 20px;
    border-top: 1px solid var(--line);
}
.section + .section
{
    margin-top: 64px;
}
.section-heading
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.section-heading h2
{
    margin-bottom: 4px;
}
.section-heading p
{
    font-size: 12px;
    margin: 0;
    color: var(--muted);
}
.text-link
{
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    flex-shrink: 0;
}
.film-grid
{
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}
.film-card
{
    min-width: 0;
    transition: transform 180ms;
}
.poster-link
{
    display: block;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 14px;
}
.film-card .poster
{
    transition: transform 180ms;
}
.film-card:hover
{
    transform: translateY(-3px);
}
.film-card:hover .poster
{
    transform: scale(1.025);
}
.film-card h3
{
    font-size: 23px;
    min-height: 53px;
    margin-bottom: 7px;
}
.film-card h3 a
{
    text-decoration: none;
}
.film-card .meta
{
    font-size: 9px;
}
.card-bottom
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.icon-button
{
    padding: 10px;
    min-width: 44px;
    border: 0;
}
.card-bottom .numbers
{
    font-size: 13px;
}
.two-col
{
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 24px;
}
.equal-col
{
    grid-template-columns: 1fr 1fr;
}
.panel, .review
{
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    min-width: 0;
}
.panel h2
{
    font-size: 31px;
}
.essay-feature
{
    border-left: 3px solid var(--coral);
}
.essay-feature h3
{
    font-size: 32px;
    margin-block: 16px;
}
.diary-panel
{
    background: var(--mist);
    border: 0;
    border-radius: 16px;
}
.metrics
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-block: 24px;
}
.metric
{
    border-left: 1px solid var(--line);
    padding-left: 14px;
}
.metric:first-child
{
    border-left: 0;
    padding-left: 0;
}
.metric strong
{
    display: block;
    font: 28px Plex, monospace;
    margin-bottom: 5px;
}
.metric span
{
    font-size: 11px;
}
.bar-row
{
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 70px;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    margin-bottom: 12px;
}
.bar-row .value
{
    font: 10px Plex, monospace;
    text-align: right;
}
.bar-track
{
    height: 10px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.bar-fill
{
    height: 100%;
    background: var(--sage);
    transition: width 240ms;
}
.mini-take
{
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.mini-take p
{
    margin-bottom: 6px;
}
.quote-strip
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    margin-top: 48px;
    padding-top: 32px;
}
.quote-strip p
{
    font: 32px Instrument, Georgia, serif;
    margin: 0;
}
footer
{
    background: var(--night);
    color: var(--paper);
    padding: 40px 0 24px;
}
.footer-top
{
    display: flex;
    justify-content: space-between;
    gap: 32px;
}
footer nav
{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
}
footer nav a, .footer-bottom > a
{
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.footer-bottom
{
    border-top: 1px solid #ffffff26;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    margin-top: 30px;
    color: #cad0cc;
    font-size: 10px;
}
.footer-bottom p
{
    max-width: 650px;
    margin: 0;
}
.skip
{
    position: fixed;
    left: 20px;
    top: -100px;
    z-index: 100;
    background: var(--paper);
    padding: 12px;
}
.skip:focus
{
    top: 10px;
}
.page-title
{
    padding: 36px 0 28px;
    max-width: 820px;
}
.page-title h1
{
    font-size: 52px;
}
.page-title p:not(.eyebrow)
{
    color: var(--muted);
    max-width: 700px;
}
.filters
{
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 10px;
    margin-bottom: 20px;
}
.filters > div
{
    flex: 1;
    min-width: 130px;
}
.filters .wide
{
    flex-basis: 100%;
}
.filters .search-field
{
    flex: 2;
}
.tabs
{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.tabs button
{
    border-color: transparent;
}
.tabs button[aria-selected="true"]
{
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}
.result-count
{
    font: 12px Plex, monospace;
    padding: 10px 0 20px;
}
.rank-head, .rank-row
{
    display: grid;
    grid-template-columns: 55px minmax(240px, 1.7fr) minmax(130px, 1fr) 120px 130px;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
}
.rank-head
{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.rank-row:hover
{
    background: var(--paper);
}
.rank
{
    color: var(--coral);
    font-size: 18px;
}
.rank-film
{
    display: flex;
    gap: 16px;
    align-items: center;
    min-width: 0;
}
.rank-film .poster
{
    width: 64px;
    height: 96px;
    flex-shrink: 0;
}
.rank-film h3
{
    font-size: 24px;
}
.rank-film a
{
    text-decoration: none;
}
.rank-row .meta
{
    font-size: 10px;
}
.state-label
{
    display: inline-block;
    font-size: 10px;
    color: #3e573a;
    padding: 2px 6px;
    border: 1px solid #83927d;
    border-radius: 2px;
    margin-top: 6px;
}
.queued
{
    border-color: var(--coral);
    color: var(--coral);
}
.center
{
    text-align: center;
    margin-top: 28px;
}
.film-overview
{
    display: grid;
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr) minmax(250px, 320px);
    gap: 28px;
    padding: 24px 0;
    align-items: start;
}
.film-overview h1
{
    font-size: 54px;
    line-height: 1;
}
.breadcrumb
{
    padding-top: 28px;
    font-size: 12px;
}
.distribution
{
    padding: 20px;
}
.distribution h2
{
    font-size: 25px;
}
.distribution .bar-row
{
    grid-template-columns: 36px minmax(0, 1fr) 90px;
    gap: 8px;
}
.distribution .bar-fill
{
    background: var(--ochre);
}
.rating-input
{
    display: flex;
    gap: 0;
    margin-block: 8px;
}
.rating-input button
{
    min-width: 44px;
    padding: 8px;
    border: 0;
    color: #8b682b;
}
.rating-input button[aria-checked="true"], .rating-input button.filled
{
    color: #8b5a09;
    background: #ebddb9;
}
.rating-input button:hover, .rating-input button:focus-visible
{
    color: var(--coral);
    background: #eddfd7;
}
.review
{
    margin-bottom: 16px;
}
.review-header
{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}
.review-header .meta
{
    font-size: 10px;
}
.review h3
{
    font-size: 31px;
}
.review > p
{
    font-size: 16px;
    line-height: 1.7;
}
.review-footer
{
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 18px;
}
.review-footer button
{
    font-size: 11px;
}
.review-film
{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
    font-family: Instrument, Georgia, serif;
    font-size: 22px;
}
.review-film .poster
{
    width: 34px;
    height: 46px;
}
.reviews-layout
{
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 24px;
}
.rail
{
    align-self: start;
    position: sticky;
    top: 96px;
}
.rail h2
{
    font-size: 28px;
}
.rail-film
{
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 14px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}
.rail-film .poster
{
    width: 42px;
    height: 60px;
}
.rail-film strong
{
    font-family: Instrument, Georgia, serif;
    font-size: 21px;
    font-weight: 400;
}
.editor
{
    max-width: 860px;
    margin-block: 24px;
}
.editor fieldset
{
    border: 0;
    padding: 0;
    margin: 0 0 18px;
}
.editor .tabs
{
    margin-block: 16px;
}
.editor label
{
    margin-top: 14px;
}
.editor .counter
{
    text-align: right;
    font: 10px Plex, monospace;
    color: var(--muted);
    margin-top: 5px;
}
.error
{
    color: #9c2c24;
    font-size: 13px;
    margin-top: 10px;
}
.shelf-header, .profile-header
{
    background: var(--night);
    color: var(--paper);
    padding: 28px;
    border-radius: 16px;
    margin-top: 32px;
}
.shelf-header
{
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    align-items: center;
}
.shelf-header h1, .profile-header h1
{
    font-size: 45px;
}
.shelf-header p, .profile-header p
{
    color: #d3dad3;
}
.shelf-header button, .shelf-header .button, .profile-header .button
{
    color: var(--paper);
    border-color: #708085;
}
.shelf-header button:hover, .shelf-header .button:hover, .profile-header .button:hover
{
    color: var(--ink);
}
.shelf-header .metric
{
    border-color: #ffffff33;
}
.shelf-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.shelf-card
{
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
}
.shelf-card .poster
{
    width: 112px;
    height: 168px;
}
.shelf-card .actions
{
    gap: 6px;
    margin-block: 12px 0;
}
.shelf-card button, .shelf-card .button
{
    font-size: 11px;
    padding: 8px 10px;
}
.shelf-card .inline-rating
{
    grid-column: 1 / -1;
}
.profile-header
{
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    align-items: center;
}
.profile-identity
{
    display: flex;
    gap: 20px;
    align-items: start;
}
.profile-identity .avatar
{
    width: 72px;
    height: 72px;
    font-size: 20px;
}
.profile-header .metrics
{
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.profile-header .metric
{
    border: 0;
    padding: 0;
}
.profile-panels
{
    margin-top: 24px;
}
.decades
{
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    height: 240px;
    align-items: end;
    padding-top: 30px;
    margin-bottom: 20px;
}
.decade
{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
    font-size: 10px;
}
.decade div
{
    background: var(--sage);
    min-height: 2px;
    margin-top: 5px;
}
.decade span
{
    margin-top: 8px;
}
.recommendation
{
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-block: 18px;
}
.recommendation .poster
{
    width: 72px;
    height: 108px;
}
.recommendation p
{
    font-size: 12px;
    margin-bottom: 5px;
}
.recent-grid
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.recent-grid .review h3
{
    font-size: 24px;
}
.recent-grid .review > p
{
    font-size: 14px;
}
.related
{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
dialog
{
    width: min(680px, calc(100% - 40px));
    max-height: 90svh;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: 14px;
    padding: 24px;
}
dialog::backdrop
{
    background: #13252dc4;
}
.dialog-top
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.dialog-top h2
{
    font-size: 32px;
}
dialog .editor
{
    border: 0;
    padding: 0;
    margin: 0;
}
#mobile-menu
{
    margin: 0 0 0 auto;
    max-height: 100svh;
    height: 100svh;
    width: min(320px, 100%);
    border-radius: 0;
}
#mobile-menu nav
{
    display: grid;
    gap: 12px;
    margin-top: 30px;
}
#mobile-menu nav a
{
    min-height: 44px;
    font: 30px Instrument, Georgia, serif;
    text-decoration: none;
}
#status
{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--paper);
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 12px;
    z-index: 50;
    max-width: calc(100% - 40px);
    box-shadow: 0 2px 15px #17262e22;
    pointer-events: none;
}
#status:empty
{
    display: none;
}
.notice, .empty
{
    padding: 24px;
    background: var(--mist);
    border-radius: 8px;
}
.empty
{
    text-align: center;
    margin-block: 20px;
}
.view
{
    animation: view-in 160ms ease-out;
}
@keyframes view-in
{
    from { opacity: .7; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 1400px)
{
    .hero
    {
        gap: 48px;
        padding-block: 32px 48px;
    }
    .feature
    {
        padding: 24px;
    }
    .feature-main
    {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 28px;
    }
    .hero-copy > p:not(.eyebrow)
    {
        font-size: 18px;
    }
    .hero-copy .actions .button
    {
        font-size: 12px;
    }
    .feature p
    {
        font-size: 14px;
    }
}
@media (max-width: 1179px)
{
    .desktop-nav
    {
        gap: 15px;
    }
    .header-inner
    {
        gap: 20px;
    }
    .film-grid
    {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
    }
    .related
    {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .film-overview
    {
        grid-template-columns: 240px minmax(0, 1fr);
    }
    .distribution
    {
        grid-column: 1 / -1;
    }
    .rank-head, .rank-row
    {
        grid-template-columns: 40px minmax(210px, 1.7fr) minmax(100px, 1fr) 95px 115px;
        gap: 12px;
    }
}
@media (max-width: 1000px)
{
    .container, main
    {
        width: calc(100% - 48px);
    }
    .desktop-nav
    {
        display: none;
    }
    .mobile-actions
    {
        display: flex;
        gap: 4px;
    }
    .mobile-actions button
    {
        color: var(--paper);
        border-color: #627176;
    }
    .hero
    {
        grid-template-columns: 1fr 1.2fr;
        gap: 24px;
    }
    .hero h1
    {
        font-size: 50px;
    }
    .hero-copy .actions
    {
        flex-wrap: wrap;
    }
    .feature
    {
        padding: 20px;
    }
    .feature-main
    {
        gap: 15px;
    }
    .feature h2
    {
        font-size: 31px;
    }
    .feature p
    {
        font-size: 11px;
    }
    .queue-strip a:last-child
    {
        display: none;
    }
    .shelf-grid
    {
        grid-template-columns: 1fr;
    }
    .shelf-header, .profile-header
    {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .reviews-layout
    {
        grid-template-columns: 1fr;
    }
    .rail
    {
        position: static;
    }
    .rank-head
    {
        display: none;
    }
    .rank-row
    {
        grid-template-columns: 35px minmax(0, 1fr) 140px;
        gap: 12px;
    }
    .rank-row .rank-details
    {
        grid-column: 2 / 3;
    }
    .rank-row .rank-community
    {
        grid-column: 3;
        grid-row: 1;
    }
    .rank-row .rank-actions
    {
        grid-column: 3;
        grid-row: 2;
    }
}
@media (max-width: 639px)
{
    :root
    {
        font-size: 14px;
    }
    .container, main
    {
        width: calc(100% - 40px);
    }
    header
    {
        height: 60px;
    }
    .header-inner
    {
        gap: 10px;
    }
    .brand
    {
        font-size: 26px;
        gap: 8px;
    }
    .header-inner > .avatar
    {
        display: none;
    }
    .header-inner > .search-wrap
    {
        position: absolute;
        top: 68px;
        left: 20px;
        right: 20px;
        max-width: none;
        display: none;
        min-width: 0;
    }
    .header-inner > .search-wrap.open
    {
        display: block;
    }
    .mobile-actions
    {
        margin-left: auto;
    }
    .mobile-actions button
    {
        padding: 8px;
        border: 0;
        font-size: 11px;
    }
    .search-results
    {
        width: 100%;
    }
    .hero
    {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 0 32px;
    }
    .hero h1
    {
        font-size: 42px;
        max-width: 330px;
        line-height: 1;
        margin-bottom: 16px;
    }
    .eyebrow
    {
        font-size: 9px;
        margin-bottom: 16px;
    }
    .hero-copy > p:not(.eyebrow)
    {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 16px;
    }
    .hero-copy .actions
    {
        flex-wrap: nowrap;
        margin-block: 20px 0;
    }
    .hero-copy .actions .button
    {
        font-size: 10px;
        padding-inline: 11px;
    }
    .hero-copy .search-hint
    {
        display: none;
    }
    .feature
    {
        padding: 16px;
        border-radius: 12px;
    }
    .feature-label
    {
        margin-bottom: 14px;
        font-size: 8px;
        padding-bottom: 10px;
    }
    .feature-main
    {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 16px;
        padding-bottom: 0;
        align-items: start;
    }
    .feature .poster
    {
        width: 112px;
        height: 168px;
    }
    .feature h2
    {
        font-size: 29px;
        margin-block: 8px;
    }
    .feature-main .meta
    {
        font-size: 8px;
    }
    .feature-main p
    {
        font-size: 10px;
        line-height: 1.55;
        margin-bottom: 8px;
    }
    .feature .button
    {
        min-height: 44px;
        margin-top: 8px;
        font-size: 11px;
    }
    .rating-big
    {
        font-size: 24px;
    }
    .feature .floating-review
    {
        position: static;
        grid-column: 1 / -1;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        padding: 12px 14px;
    }
    .floating-review p
    {
        font-size: 20px;
    }
    .queue-strip
    {
        margin-top: 14px;
        padding-top: 12px;
        gap: 10px;
    }
    .queue-strip .poster
    {
        width: 20px;
        height: 28px;
    }
    .queue-strip > span
    {
        font-size: 8px;
        max-width: 55px;
        white-space: normal;
    }
    .queue-strip a
    {
        font-size: 9px;
    }
    .queue-strip a:last-child
    {
        display: flex;
    }
    .section
    {
        margin-top: 16px;
        padding-top: 24px;
    }
    .section + .section
    {
        margin-top: 48px;
    }
    .section-heading
    {
        display: block;
        margin-bottom: 16px;
    }
    h2, .section-heading h2
    {
        font-size: 30px;
    }
    .film-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }
    .film-card h3
    {
        font-size: 22px;
    }
    .two-col, .equal-col
    {
        grid-template-columns: 1fr;
    }
    .panel, .review
    {
        padding: 20px;
    }
    .quote-strip
    {
        align-items: start;
        flex-direction: column;
        gap: 16px;
    }
    .quote-strip p
    {
        font-size: 29px;
    }
    .footer-top, .footer-bottom
    {
        flex-direction: column;
        gap: 20px;
    }
    footer nav
    {
        gap: 12px 20px;
    }
    .page-title
    {
        padding-top: 28px;
    }
    .page-title h1, .shelf-header h1, .profile-header h1
    {
        font-size: 38px;
    }
    .filters
    {
        padding: 12px;
        gap: 12px;
    }
    .filters > div
    {
        min-width: calc(50% - 6px);
    }
    .filters .search-field, .filters .tabs
    {
        flex-basis: 100%;
    }
    .filters select
    {
        font-size: 12px;
        padding-inline: 8px;
    }
    .rank-row
    {
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 16px 0;
        align-items: start;
    }
    .rank-film
    {
        gap: 12px;
    }
    .rank-film .poster
    {
        width: 60px;
        height: 90px;
    }
    .rank-film h3
    {
        font-size: 25px;
    }
    .rank-row .rank-details
    {
        grid-column: 2;
        grid-row: 2;
    }
    .rank-row .rank-community
    {
        grid-column: 1 / -1;
        grid-row: 3;
        display: flex;
        gap: 12px;
        align-items: center;
    }
    .rank-row .rank-actions
    {
        grid-column: 1 / -1;
        grid-row: 4;
    }
    .rank-actions
    {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }
    .film-overview
    {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 20px 16px;
    }
    .film-overview > .poster
    {
        width: 120px;
        height: 180px;
    }
    .film-overview h1
    {
        font-size: 36px;
    }
    .film-overview .film-main .film-actions, .film-overview .film-main .logline
    {
        margin-left: -136px;
        width: calc(100% + 136px);
    }
    .film-overview .film-main .logline
    {
        margin-top: 40px;
    }
    .film-overview .film-main .meta
    {
        font-size: 9px;
    }
    .distribution
    {
        padding: 16px;
    }
    .review h3
    {
        font-size: 27px;
    }
    .review > p
    {
        font-size: 16px;
    }
    .shelf-header, .profile-header
    {
        padding: 20px;
    }
    .shelf-header .metric strong
    {
        font-size: 25px;
    }
    .shelf-card
    {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }
    .shelf-card .poster
    {
        width: 96px;
        height: 144px;
    }
    .shelf-card h3
    {
        font-size: 25px;
    }
    .profile-identity
    {
        flex-direction: column;
        gap: 16px;
    }
    .profile-identity .avatar
    {
        width: 60px;
        height: 60px;
    }
    .bar-row
    {
        grid-template-columns: 100px minmax(0, 1fr) 60px;
        gap: 8px;
        font-size: 12px;
    }
    .recent-grid
    {
        grid-template-columns: 1fr;
    }
    .related
    {
        display: grid;
        grid-template-columns: repeat(3, 78%);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 4px 4px 16px;
    }
    .related .film-card
    {
        scroll-snap-align: start;
    }
    dialog
    {
        max-height: 92svh;
        width: 100%;
        margin: auto 0 0;
        border-radius: 14px 14px 0 0;
        padding: 20px;
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
    .dialog-top h2
    {
        font-size: 29px;
    }
    main
    {
        padding-bottom: 48px;
    }
}
@media (prefers-reduced-motion: reduce)
{
    *, *::before, *::after
    {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .film-card:hover, .film-card:hover .poster
    {
        transform: none;
    }
}
