:root {
    --paper: #08080A;
    --lift: #121216;
    --lift-2: #1B1B21;

    --ink: #F2F1EC;
    --ink-soft: rgba(242, 241, 236, 0.62);
    --ink-faint: rgba(242, 241, 236, 0.38);
    --line: rgba(242, 241, 236, 0.13);
    --line-strong: rgba(242, 241, 236, 0.30);

    --mark: #1300F3;
    --accent: #7C6BFF;
    --accent-soft: rgba(124, 107, 255, 0.5);
    --accent-tint: rgba(124, 107, 255, 0.14);

    --hot: #FF4A45;
    --hot-tint: rgba(255, 74, 69, 0.14);
    --door-hot: #FF4A45;

    --gold: #E0B44A;
    --gold-tint: rgba(224, 180, 74, 0.16);
    --like: #FF5A63;
    --like-tint: rgba(255, 90, 99, 0.18);

    --film-base: #4E4E4D;
    --film-hole: #14130F;
    --film-gleam: rgba(255, 255, 255, 0.2);
    --film-veil: color-mix(in srgb, var(--film-base) 60%, transparent);
    --film-dim: 0.34;

    --shadow: rgba(0, 0, 0, 0.6);
    --select: rgba(124, 107, 255, 0.3);
}

.s-title { justify-content: flex-start; gap: clamp(20px, 4vh, 44px); }

.title-wrap {
    max-width: 1100px;
    width: 100%;
    margin-inline: auto;
    margin-block: auto;
    text-align: center;
}

.title-h {
    font-size: clamp(38px, 8.4vw, 118px);
    line-height: 0.98;
    text-wrap: balance;
    hyphens: manual;
    animation: rise var(--slow) var(--ease) both;
}

.title-pick {
    position: relative;
    isolation: isolate;
    font: inherit;
    color: var(--hot);
    padding: 0.02em 0.08em;
    margin: 0 -0.08em;
    border: 0;
    background: none;
    cursor: pointer;
    transition: color var(--fast) var(--ease);
}

.title-pick::before {
    content: '';
    position: absolute;
    inset: 0.1em -0.1em 0.08em -0.12em;
    z-index: -1;
    background: var(--hot);
    clip-path: polygon(0.6% 8%, 99.2% 0%, 100% 78%, 98% 98%, 2.4% 100%, 0% 62%);
    transform: rotate(-0.8deg) scaleX(0);
    transform-origin: left center;
    transition: transform var(--mid) var(--ease);
}

.title-pick:hover::before, .title-pick:focus-visible::before {
    transform: rotate(-0.8deg) scaleX(1);
}

.title-pick:hover, .title-pick:focus-visible { color: var(--ink); outline: none; }

.title-aim {
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    margin: clamp(4px, 1vh, 14px) 0 0;
    animation: rise var(--slow) var(--ease) 0.2s both;
}

.title-arrow {
    width: clamp(48px, 6vw, 74px);
    height: auto;
    flex: none;
    color: var(--hot);
}

.title-arrow .pen { stroke-width: 3.2; }

.title-hint {
    font-size: clamp(19px, 2vw, 26px);
    line-height: 1.1;
    color: var(--ink-soft);
    text-align: left;
}

.title-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(16px, 4vw, 48px);
    flex-wrap: wrap;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    animation: rise var(--slow) var(--ease) 0.3s both;
}

.title-sums {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.title-sums b { color: var(--ink); font-weight: 600; }

.title-copy {
    margin: 0 0 0 auto;
    font-size: 15px;
    line-height: 1.5;
    text-align: right;
    color: var(--ink-faint);
}

.title-copy a {
    color: inherit;
    border-bottom: 1px solid transparent;
    transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.title-copy a:hover {
    color: var(--door-hot);
    border-bottom-color: var(--door-hot);
}

@keyframes rise {
    from { opacity: 0; transform: translate3d(0, 26px, 0); }
    to { opacity: 1; transform: none; }
}

.tag { color: var(--hot); }
.tag:hover:not(:disabled), .tag[aria-expanded='true'] { filter: brightness(1.3); }

.picks-find {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-faint);
    transition: color var(--fast) var(--ease);
}

.picks-find:focus-within { color: var(--hot); }

.picks-find .ic-lens { width: 26px; height: 26px; flex: none; }

.picks-find input {
    font: inherit;
    font-size: 15px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--ink);
    outline: none;
}

.picks-find input::placeholder { color: var(--ink-faint); }
.picks-find input::-webkit-search-cancel-button { display: none; }

.picks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    padding-top: 12px;
}

.pick {
    font: inherit;
    font-family: var(--hand);
    font-synthesis-weight: none;
    font-weight: 600;
    font-size: 23px;
    line-height: 1.1;
    padding: 2px 9px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--ink-soft);
    cursor: pointer;
    transition: color var(--fast) var(--ease),
                background-color var(--fast) var(--ease);
}

.pick:hover, .pick:focus-visible {
    color: var(--hot);
    background: var(--hot-tint);
    outline: none;
}

.pick.is-on { color: var(--ink); background: var(--lift-2); }

.picks-none { margin: 12px 0 0; font-size: 14px; color: var(--ink-faint); }

.s-film { gap: 10px; }

.glow {
    position: absolute;
    inset: -18%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.55;
    filter: blur(70px) saturate(1.4);
    transform: translateZ(0);
    background:
        radial-gradient(46% 40% at 12% 30%, var(--tone-b, transparent), transparent 70%),
        radial-gradient(44% 46% at 88% 62%, var(--tone-a, transparent), transparent 72%),
        radial-gradient(60% 34% at 50% 104%, var(--tone-b, transparent), transparent 76%);
    transition: opacity var(--slow) var(--ease);
}

.s-film { isolation: isolate; }

.under {
    position: absolute;
    inset: calc(var(--head-h) + var(--safe-top)) var(--gap)
           calc(20px + var(--safe-bottom)) var(--gap);
    z-index: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
}

.reel { position: relative; z-index: 1; }

.under-card {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: min(300px, 62vw);
    will-change: transform, opacity;
    visibility: hidden;
    transform: scale(0.9);
    opacity: 0;
}

.under-card.is-shown { visibility: visible; }

.under-card.is-full {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    translate: 0;
    display: flex;
    align-items: flex-start;
}

.under-card.is-full > .card { flex: 1 1 auto; }

.under .poster {
    position: relative;
    aspect-ratio: 2 / 3;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(200deg, var(--tone-b), var(--tone-a) 70%);
    box-shadow: 0 24px 60px var(--shadow);
}

.under .card-name { font-size: clamp(19px, 2.2vw, 26px); margin-top: 12px; text-align: center; }
.under .card-sub { justify-content: center; font-size: 13px; }

.s-film.is-over .under { z-index: 3; }

.s-film.is-drag .under,
body.is-swipe .under { opacity: 1; }

.reel {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: calc(-1 * var(--gap));
    margin-right: calc(-1 * var(--gap));
    padding-left: var(--gap);
    padding-right: var(--gap);
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.reel::-webkit-scrollbar { display: none; }

.leaf { display: flex; flex-direction: column; gap: 16px; }

.film-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-bottom: 4px;
}

.card {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 268px) minmax(0, 1fr);
    grid-template-areas: 'figures poster credits';
    gap: clamp(14px, 2.2vw, 34px);
    padding: clamp(16px, 2vw, 28px);
    border-radius: var(--radius);
    align-items: start;
    border: 1px solid var(--line);
    border-bottom-color: var(--line-strong);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0) 44%),
        linear-gradient(200deg, rgba(8, 8, 10, 0.62), rgba(8, 8, 10, 0.9)),
        linear-gradient(200deg, var(--tone-b), var(--tone-a) 58%);
    touch-action: pan-y;
    transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.card.card-in { opacity: 0; transform: translate3d(0, 22px, 0); }
.card.card-in-back { opacity: 0; transform: translate3d(0, -22px, 0); }

.card.is-liked { box-shadow: inset 0 0 0 1px var(--like-tint); }

.why {
    grid-column: 1 / -1;
    margin: 0 0 -6px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    animation: why-in var(--mid) var(--ease) both;
}

@keyframes why-in {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: none; }
}

.card-figures { grid-area: figures; min-width: 0; }

.figs { display: flex; flex-direction: column; gap: 16px; }

.lbl {
    margin: 0 0 4px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.lbl-hint { text-transform: none; letter-spacing: 0; opacity: 0.75; }

.val {
    margin: 0;
    font-family: 'Certa Sans', 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(21px, 2.4vw, 31px);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.val small { font-size: 0.45em; color: var(--ink-soft); font-family: 'Inter', sans-serif; }

.fig-foot { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); }

.fig-bar { position: relative; margin-top: 6px; }
.fig-bar > .fig-ink { display: block; width: 100%; height: 100%; }
.fig-ink { pointer-events: none; }

.fig-money .fig-bar, .fig-time .fig-bar { height: 26px; }
.fig-oscars .fig-bar { height: 22px; }

.aw-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    margin-top: 8px;
}

.aw2 {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 2px;
    color: var(--gold);
    position: relative;
    border-radius: 6px;
    padding: 2px 4px;
    margin: 0 -4px;
}

.aw2.d { cursor: pointer; }
.aw2.d:hover { background: var(--gold-tint); }
.aw2.nd { color: var(--ink-faint); }

.ic-st { width: 48px; height: 48px; margin-right: -8px; }
.ic-st:last-of-type { margin-right: 0; }

.ic-st.is-miss { color: var(--line-strong); }

.credit-aw .aw-row { gap: 6px 12px; }

.aw2[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 8px);
    z-index: 20;
    width: max-content;
    max-width: 17em;
    padding: 8px 11px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--lift-2);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0;
    transform: translate3d(0, 6px, 0);
    pointer-events: none;
    transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.aw2[data-tip]:hover::after,
.aw2[data-tip]:focus-visible::after { opacity: 1; transform: none; }

.fig-rating {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 14px;
}

.rate-one { min-width: 0; }

.rate-rt {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 4px;
}

.rate-side { display: flex; align-items: center; gap: 9px; min-width: 0; }

.ic-rt { width: 34px; height: 34px; }
.rt-ic { display: block; }
.rate-side.is-fresh .rt-ic { color: var(--hot); }
.rate-side.is-rot .rt-ic { color: var(--ink-faint); }
.rt-crowd.is-fresh .rt-ic { color: var(--gold); }

.rt-txt { display: flex; flex-direction: column; min-width: 0; }
.rt-txt .val { font-size: 22px; }
.rt-txt .val small { font-size: 0.44em; color: var(--ink-faint); }
.rate-side.is-fresh .rt-txt .val { color: var(--hot); }
.rt-crowd.is-fresh .rt-txt .val { color: var(--gold); }
.rate-side.is-rot .rt-txt .val { color: var(--ink-soft); }
.rt-txt .fig-foot { margin: 0; font-size: 12px; }

.fig-rating .fig-dial {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    position: relative;
}

.fig-rating .fig-dial > .fig-ink {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.fig-rating .fig-dial { width: 92px; height: 92px; }
.fig-rating .fig-dial .val { font-size: 26px; grid-area: 1 / 1; line-height: 1; }
.fig-rating .fig-dial .val small { font-size: 0.4em; color: var(--ink-faint); }

.card-poster { grid-area: poster; min-width: 0; position: relative; }

.poster {
    position: relative;
    aspect-ratio: 2 / 3;
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(200deg, var(--tone-b), var(--tone-a) 70%);
    box-shadow: 0 20px 46px var(--shadow);
}

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

.poster-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
}

.poster-dots i {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(242, 241, 236, 0.34);
    transition: background-color var(--fast) var(--ease);
}

.poster-dots i.is-on { background: var(--ink); }

.poster {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
}

.fav {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 8, 10, 0.62);
    backdrop-filter: blur(6px);
    color: var(--ink-soft);
    cursor: pointer;
    transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease),
                transform var(--fast) var(--ease), background-color var(--fast) var(--ease);
}

.ic-fav { width: 22px; height: 22px; }

.fav:hover { color: var(--hot); border-color: var(--hot); transform: scale(1.08); }

.fav.is-on {
    color: var(--like);
    border-color: var(--like);
    background: var(--like-tint);
}

.fav.is-on .ic-fav .pen { animation: ch-draw 0.5s var(--ease) both; }
.fav.is-on { animation: fav-pop 0.5s var(--ease); }

@keyframes fav-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.28); }
    100% { transform: scale(1); }
}

.ic-fav .daub { opacity: 0; }

.ic-fav .smear { fill: currentColor; stroke: none; }

.ic-fav .streak { stroke-width: 2.8; opacity: 0.8; }

.fav.is-on .ic-fav .daub {
    opacity: 1;
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: fav-daub 0.42s var(--ease) both;
}

@keyframes fav-daub {
    from { opacity: 0; transform: translate(-2.5px, 2px) rotate(-7deg); }
    to { opacity: 1; transform: none; }
}

.marks {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.grade { position: relative; }

.grade-sign {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 8, 10, 0.62);
    backdrop-filter: blur(6px);
    color: var(--ink-soft);
    cursor: pointer;
    transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease),
                transform var(--fast) var(--ease), background-color var(--fast) var(--ease);
}

.grade-ic { width: 29px; height: 9.5px; display: block; overflow: visible; }
.grade-ic .pen { stroke-width: 1; }

.grade-sign.is-rated .grade-num {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.grade-num { font-size: 18px; font-weight: 700; }
.grade-of { font-style: normal; font-size: 10px; font-weight: 600; color: var(--ink-faint); margin-left: 1px; }

.grade-sign:hover { color: var(--hot); border-color: var(--hot); transform: scale(1.08); }

.grade.is-seen .grade-sign {
    color: var(--like);
    border-color: var(--like);
    background: var(--like-tint);
}

.grade-pop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    padding: 9px 11px 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(8, 8, 10, 0.86);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(0.94);
    transform-origin: 100% 0;
    transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease),
                visibility var(--fast) var(--ease);
}

.grade.is-open .grade-pop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.grade-say {
    font-size: 13px;
    line-height: 1;
    color: var(--ink-faint);
    font-variant-numeric: tabular-nums;
    transition: color var(--fast) var(--ease);
}

.grade.is-seen .grade-say { color: var(--ink-soft); }
.grade.is-live .grade-say { color: var(--like); }
.grade-say:empty { display: none; }

.grade-scale { display: flex; align-items: stretch; gap: 6px; }

.grade-ticks { position: relative; width: 9px; flex: 0 0 auto; }

.grade-tick {
    position: absolute;
    left: 0;
    top: calc(var(--i) / 5 * 100%);
    transform: translateY(-50%);
    font-size: 9px;
    line-height: 1;
    color: var(--ink-faint);
    font-variant-numeric: tabular-nums;
}

.grade-row { display: flex; gap: 0; touch-action: none; }
.grade-row.is-vert { flex-direction: column; }
.grade-row.is-vert .grade-c svg { width: 23px; height: 32px; }

.grade-c {
    padding: 0;
    border: 0;
    background: none;
    line-height: 0;
    cursor: pointer;
    color: var(--ink-faint);
    transition: color var(--fast) var(--ease), opacity var(--fast) var(--ease);
}

.grade-c svg { width: 32px; height: 23px; display: block; overflow: visible; }

.grade .pen {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.grade .daub {
    opacity: 0;
    transition: opacity var(--fast) var(--ease);
}

.grade .blob { fill: var(--like); stroke: none; }

.grade .smear {
    fill: none;
    stroke: var(--like);
    stroke-width: 1.9;
    stroke-linecap: round;
    opacity: 0.85;
}

.grade-c.is-on { color: var(--like); }
.grade-c.is-on .daub,
.sign-c.is-on .daub { opacity: 1; }
.grade-c:hover { color: var(--like); }

.grade.is-live .grade-c .daub { opacity: 0; }
.grade.is-live .grade-c.is-at .daub { opacity: 0.62; }
.grade.is-live .grade-c.is-at { color: var(--like); }

.grade.is-open .grade-c { animation: cell-in 0.26s var(--ease) both; animation-delay: calc(var(--i) * 30ms - 30ms); }

@keyframes cell-in {
    from { opacity: 0; transform: translateY(4px) rotate(-2deg); }
    to { opacity: 1; transform: none; }
}

.grade-c.just .daub {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: grade-daub 0.36s var(--ease) both;
    animation-delay: var(--d, 0ms);
}

@keyframes grade-daub {
    from { opacity: 0; transform: translate(-2px, 1.6px) rotate(-8deg); }
    to { opacity: 1; transform: none; }
}

.grade.is-flat .grade-pop {
    position: static;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.grade.is-flat .grade-c svg { width: 27px; height: 20px; }

.poster-draw {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
    padding: 16px;
}

.poster-draw::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.poster-draw b {
    font-family: 'Certa Sans', 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(17px, 1.9vw, 25px);
    line-height: 1.04;
    position: relative;
}

.poster-draw span {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--ink-faint);
    position: relative;
}

.card-name {
    margin: 14px 0 0;
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.04;
    text-wrap: balance;
}

.card-sub {
    margin: 7px 0 0;
    font-size: 15px;
    color: var(--ink-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.card-sub .sep, .card-sub .plain { color: var(--ink-faint); }

.card-line { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; }

.saga-rows { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.saga-rows li { display: flex; gap: 8px; align-items: baseline; }

.saga-lbl {
    flex: 0 0 auto;
    min-width: 4.6em;
    font-size: 12px;
    color: var(--ink-faint);
}

.card-credits {
    grid-area: credits;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.credit-block { margin: 0; }

.tags {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.tags .sep { font-style: normal; color: var(--ink-faint); }
.tags .d { color: var(--ink); }

.people {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.people li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    touch-action: pan-y;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
}

.nd { color: var(--ink-faint); cursor: default; }

.star {
    border: 0;
    background: none;
    padding: 2px;
    cursor: pointer;
    line-height: 0;
    color: var(--line-strong);
    transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.star svg {
    width: 15px; height: 15px; display: block;
    fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round;
}
.star:hover { color: var(--hot); transform: scale(1.16); }

.star.is-on svg { fill: currentColor; }
.star.is-mine { color: var(--gold); }

.star.just svg { animation: star-pop 0.5s var(--ease); }

@keyframes star-pop {
    0% { transform: scale(1) rotate(0); }
    40% { transform: scale(1.5) rotate(-16deg); }
    100% { transform: scale(1) rotate(0); }
}

.credit-note { margin: 2px 0 0; font-size: 12px; color: var(--ink-faint); }

.more { padding-bottom: 6px; }

.more-in {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.8fr);
    gap: clamp(16px, 2.4vw, 34px);
    align-items: start;
}

.about {
    margin: 0;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 68ch;
}

.trailer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    color: var(--ink);
    background:
        linear-gradient(200deg, rgba(8, 8, 10, 0.5), rgba(8, 8, 10, 0.86)),
        linear-gradient(200deg, var(--tone-b), var(--tone-a) 60%);
    transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.trailer:hover { transform: translateY(-3px); border-color: var(--accent-soft); }

.ic-play { width: 40px; height: 40px; flex: 0 0 auto; }
.tr-play { color: var(--ink); display: block; }

.tr-txt b {
    display: block;
    font-family: 'Certa Sans', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.1;
}

.tr-txt span { font-size: 13px; color: var(--ink-faint); }

.strip-box { grid-column: 1 / -1; min-width: 0; }

.strip {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
    margin-left: calc(-1 * var(--gap));
    margin-right: calc(-1 * var(--gap));
}

.strip::-webkit-scrollbar { display: none; }
.strip.is-grab { cursor: grabbing; }

.strip-row {
    position: relative;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 13px 0;
    width: max-content;
    background: var(--film-veil);
}

.strip-row::before,
.strip-row::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 13px;
    background-image: repeating-linear-gradient(90deg,
        var(--film-hole) 0 9px, rgba(0, 0, 0, 0) 9px 21px);
    background-position: 6px 0;
    background-size: auto 7px;
    background-repeat: repeat-x;
    background-clip: content-box;
    padding: 3px 0;
    box-sizing: border-box;
}

.strip-row::before { top: 0; }
.strip-row::after { bottom: 0; }

.strip-cell {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    border-left: 1px solid var(--film-veil);
    transition: opacity var(--fast) var(--ease);
}

.strip-row:hover .strip-cell { opacity: var(--film-dim); }
.strip-row .strip-cell:hover { opacity: 1; }

.strip-cell:first-child { border-left: 0; }

.strip-cell img {
    display: block;
    height: clamp(118px, 17vh, 172px);
    width: auto;
    -webkit-user-drag: none;
    user-drag: none;
}

.strip-cell::after {
    content: '';
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -60%;
    width: 46%;
    background: var(--film-gleam);
    clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%);
    transform: translate3d(0, 0, 0);
    opacity: 0;
    pointer-events: none;
}

.strip-cell:hover::after {
    opacity: 1;
    animation: film-gleam 0.6s var(--ease) forwards;
}

@keyframes film-gleam {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(340%, 0, 0); }
}

.more-near {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 2.4vw, 34px);
}

.near-block { min-width: 0; }

.near-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.near {
    min-width: 132px;
    max-width: 200px;
    padding: 10px 13px;
    border-radius: 9px;
    border: 1px solid var(--line);
    cursor: pointer;
    background: linear-gradient(200deg, rgba(8, 8, 10, 0.58), rgba(8, 8, 10, 0.88)),
                linear-gradient(200deg, var(--tone-b), var(--tone-a) 58%);
    transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.near:hover { transform: translateY(-3px); border-color: var(--accent-soft); }
.near b { display: block; font-size: 15px; font-weight: 500; line-height: 1.15; }
.near span { font-size: 12px; color: var(--ink-faint); }

.s-film.is-drag .reel,
body.is-swipe .reel { overflow: hidden; }

.s-film.is-drag .leaf { transition: none; }

.mate {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 80;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--fast) var(--ease);
    will-change: transform;
}

.mate.is-on { opacity: 1; }

.mate.is-over img { width: 88px; height: 88px; }
.mate.is-over .ic-genre { width: 88px; height: 88px; }

.mate-genre .ic-genre .pen { stroke-width: 0.68; }
.mate.is-over .ic-genre .pen { stroke-width: 0.6; }

.mate img {
    display: block;
    width: 74px;
    height: 74px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid var(--line-strong);
    box-shadow: 0 12px 30px var(--shadow);
    background: var(--lift);
}

.mate-genre .ic-genre {
    width: 78px;
    height: 78px;
    color: var(--hot);
    filter: drop-shadow(0 6px 16px var(--shadow));
}

.s-frames { padding: 0; }

.empty { margin: auto; text-align: center; color: var(--ink-soft); }

.s-fav { overflow: auto; }

.fav-wrap { max-width: 900px; margin: 0 auto; width: 100%; padding-bottom: 30px; }
.fav-wrap h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1; margin-bottom: 24px; }

.fav-b { margin-bottom: 32px; min-height: 40px; }

.fav-films {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.fav-f {
    padding: 16px;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(200deg, rgba(8, 8, 10, 0.6), rgba(8, 8, 10, 0.88)),
                linear-gradient(200deg, var(--tone-b), var(--tone-a) 58%);
    transition: transform var(--fast) var(--ease);
}

.fav-f:hover { transform: translateY(-3px); }
.fav-f b { display: block; font-size: 17px; font-weight: 500; }
.fav-f span { font-size: 13px; color: var(--ink-faint); }

.fav-people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fav-people li { display: inline-flex; align-items: center; gap: 6px; }

.fav-none { color: var(--ink-faint); font-size: 15px; margin: 0; }

.fav-seen { list-style: none; margin: 0; padding: 0; }

.fav-seen li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
}

.fav-seen li > .d { font-size: 16px; }
.fav-seen li > i { font-style: normal; font-size: 13px; color: var(--ink-faint); }
.fav-seen .grade { margin: 0 0 0 auto; }

.fav-forget {
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    color: var(--ink-faint);
    cursor: pointer;
    border-bottom: 1px solid var(--line);
    transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.fav-forget:hover { color: var(--hot); border-bottom-color: var(--hot); }
.fav-forget[data-forget="sure"] { color: var(--hot); border-bottom-color: var(--hot); }

@media (max-width: 900px) {
    .card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: 'poster' 'figures' 'credits';
        gap: 20px;
        padding: 0;
        border: 0;
        background: none;
    }

    .card-poster {
        position: relative;
        height: var(--leaf-h, 70vh);
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--line);
        border-bottom-color: var(--line-strong);
        background: linear-gradient(200deg, var(--tone-b), var(--tone-a) 70%);
    }

    .poster {
        position: absolute;
        inset: 0;
        width: auto;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .card-poster::after {
        content: '';
        position: absolute;
        inset: auto 0 0 0;
        height: 62%;
        pointer-events: none;
        background: linear-gradient(rgba(8, 8, 10, 0), rgba(8, 8, 10, 0.92) 78%);
        transition: opacity var(--mid) var(--ease);
    }

    .card-name,
    .card-sub {
        position: absolute;
        left: 18px;
        right: 18px;
        z-index: 2;
        transition: opacity var(--mid) var(--ease);
    }

    .card-name {
        bottom: 52px;
        margin: 0;
        font-size: clamp(28px, 8vw, 40px);
        padding-bottom: 0;
    }
    .card-sub { bottom: 22px; margin: 0; font-size: 14px; }

    .card-line { display: none; }

    .marks {
        top: calc(var(--head-h) + var(--safe-top) + 10px);
        right: 14px;
        transition: opacity var(--mid) var(--ease);
    }

    .more-in { grid-template-columns: minmax(0, 1fr); }
    .film-box { padding-bottom: 12px; }
    .card-figures, .card-credits { padding: 0 2px; }
}

.s-film.is-bare .card-name,
.s-film.is-bare .card-sub,
.s-film.is-bare .marks,
.s-film.is-bare .card-poster::after,
.s-film.is-bare .why { opacity: 0; }

body.is-bare .top { opacity: 0; transition: opacity var(--mid) var(--ease); }

.s-film.is-bare .card-poster { user-select: none; -webkit-touch-callout: none; }

@media (max-width: 900px) {
    .under { inset: calc(var(--head-h) + var(--safe-top)) var(--gap)
                    calc(20px + var(--safe-bottom)) var(--gap); }
    .under-card { width: 100%; translate: 0; left: 0; top: 0; }
    .under .poster {
        aspect-ratio: auto;
        height: var(--leaf-h, 70vh);
        border-radius: var(--radius);
        border: 1px solid var(--line);
    }
    .under .card-name, .under .card-sub { display: none; }
}

@media (max-width: 640px) {
    .film-bar { gap: 7px; }
    .pill { padding: 10px 13px; font-size: 14px; }
    .rnd { width: 38px; height: 38px; }
    .title-hint { max-width: 8em; font-size: 18px; }

    .title-foot {
        justify-content: center;
        gap: 22px;
        text-align: center;
    }

    .title-sums { text-align: center; }

    .title-copy { margin: 0 auto; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .title-h, .title-aim, .title-foot, .why { animation: none; }
    .title-pick::before { transition: none; }
    .strip-cell:hover::after { animation: none; opacity: 0; }
    .fav.is-on { animation: none; }
    .fav.is-on .ic-fav .pen { animation: none; }
    .fav.is-on .ic-fav .daub { animation: none; transform: none; }
    .grade-c.just .daub { animation: none; transform: none; opacity: 1; }
    .grade.is-open .grade-c { animation: none; }
    .grade-pop { transition: opacity var(--fast) var(--ease), visibility var(--fast) var(--ease); }
    .grade.is-open .grade-pop, .grade-pop { transform: none; }
    .mate .ic .pen { animation: none; stroke-dashoffset: 0; }
    .card.card-in, .card.card-in-back { opacity: 1; transform: none; }
    .star.just svg { animation: none; }
    .under-card { transition: none !important; }
}
