/* ==========================================================================
   Manch — Watch.
   Loaded only by the Watch page. Everything is scoped under .watchpage so it
   can never reach the other surfaces, which share the same shell and the same
   token set. Anything belonging to the layout itself — the footer, for
   instance — goes in shell.css, which every page here loads.
   ========================================================================== */

.watchpage {
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
    --radius: 14px;

    /* Four across, the same as every other surface. The shell's own
       breakpoints set --cards on .appshell, which this would out-rank at
       every width, so each step down is repeated here. */
    --cards: 4;
}
@media (max-width: 1180px) { .watchpage { --cards: 3; } }
@media (max-width: 720px)  { .watchpage { --cards: 2; } }
@media (max-width: 460px)  { .watchpage { --cards: 1.4; } }

.watchpage .nums { font-variant-numeric: tabular-nums; }
.watchpage .dot { opacity: 0.45; }

.watchpage .wnotice {
    margin-bottom: 1.125rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(244, 104, 15, 0.35);
    border-radius: 10px;
    background: var(--active);
    font-size: 0.875rem;
    color: #ffd9b8;
}

/* --- stage: player beside the queue --------------------------------------- */

/*
 * Below the two-column breakpoint the queue simply follows the player. Above
 * it the queue is taken out of flow and pinned to the height of the player, so
 * the two columns end level however many entries the queue holds — the extra
 * ones scroll rather than stretching the row.
 */
.watchpage .stage { position: relative; }
.watchpage .upnext { margin-top: clamp(1.25rem, 2.4vw, 1.75rem); }

@media (min-width: 1181px) {
    .watchpage .stage { --queue: clamp(244px, 22vw, 286px); --stage-gap: clamp(1rem, 1.8vw, 1.75rem); }
    .watchpage .stage .wplayer { margin-right: calc(var(--queue) + var(--stage-gap)); }
    .watchpage .stage .upnext {
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: var(--queue);
        margin-top: 0;
        min-height: 0;
    }
    .watchpage .upnext__list {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
        padding-right: 2px;
    }
    .watchpage .upnext__list::-webkit-scrollbar { width: 6px; }
    .watchpage .upnext__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 999px; }
}

.watchpage .wplayer {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: #05080b;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.watchpage .wplayer__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Keeps the controls and the lettering legible over any frame. */
.watchpage .wplayer__vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(3, 6, 9, 0.5) 0%, rgba(3, 6, 9, 0) 26%),
        linear-gradient(0deg, rgba(3, 6, 9, 0.78) 0%, rgba(3, 6, 9, 0) 34%);
    transition: opacity 0.3s var(--ease);
}

.watchpage .wplayer__big {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    width: clamp(58px, 6vw, 76px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(8, 11, 14, 0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    transition: transform 0.24s var(--ease), background 0.24s var(--ease), opacity 0.24s var(--ease), border-color 0.24s var(--ease);
}
.watchpage .wplayer__big svg { width: 40%; height: 40%; fill: currentColor; margin-left: 8%; }
.watchpage .wplayer__big:hover { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.07); }
.watchpage .wplayer.is-playing .wplayer__big { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.8); }

/* The notice gets out of the way once playback starts. */
.watchpage .wplayer.is-playing .wplayer__missing { opacity: 0; pointer-events: none; }

.watchpage .wplayer__missing {
    transition: opacity 0.4s var(--ease);
    position: absolute;
    left: clamp(1.25rem, 3vw, 2rem);
    top: clamp(1.25rem, 3vw, 2rem);
    z-index: 3;
    max-width: 34ch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--ink-2);
}
.watchpage .wplayer__missing-badge {
    padding: 3px 9px;
    border-radius: 5px;
    background: rgba(6, 9, 12, 0.75);
    backdrop-filter: blur(5px);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffd9b8;
}

/* --- control bar ---------------------------------------------------------- */

.watchpage .wbar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 4;
    padding: 0 clamp(0.75rem, 1.6vw, 1.25rem) clamp(0.5rem, 1vw, 0.75rem);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
/* Hidden while playing until the pointer or the keyboard asks for it. */
.watchpage .wplayer.is-playing.is-idle .wbar { opacity: 0; transform: translateY(8px); pointer-events: none; }
.watchpage .wplayer.is-playing.is-idle { cursor: none; }

.watchpage .wbar__track {
    position: relative;
    height: 4px;
    margin-bottom: 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: height 0.16s var(--ease);
}
.watchpage .wbar__track:hover, .watchpage .wbar__track:focus-visible { height: 6px; outline: none; }
.watchpage .wbar__buffer {
    position: absolute; inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.22);
}
.watchpage .wbar__fill {
    position: absolute; inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: var(--accent);
}
.watchpage .wbar__knob {
    position: absolute;
    right: 0; top: 50%;
    width: 13px; height: 13px;
    transform: translate(50%, -50%) scale(0.9);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(244, 104, 15, 0.2);
    transition: transform 0.16s var(--ease);
}
.watchpage .wbar__track:hover .wbar__knob { transform: translate(50%, -50%) scale(1.15); }

.watchpage .wbar__row { display: flex; align-items: center; gap: clamp(0.25rem, 0.8vw, 0.5rem); }
.watchpage .wbar__spacer { flex: 1; }

.watchpage .wctl {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    flex: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #eef0f1;
    cursor: pointer;
    transition: background 0.16s var(--ease), color 0.16s var(--ease), transform 0.16s var(--ease);
}
.watchpage .wctl svg { width: 21px; height: 21px; fill: currentColor; }
.watchpage .wctl svg[fill="none"] { fill: none; }
.watchpage .wctl:hover { background: rgba(255, 255, 255, 0.14); }
.watchpage .wctl:active { transform: scale(0.94); }
.watchpage .wctl[aria-pressed="true"] { color: var(--accent); }

.watchpage .wctl .i-pause, .watchpage .wctl .i-off { display: none; }
.watchpage .wplayer.is-playing .wctl .i-play { display: none; }
.watchpage .wplayer.is-playing .wctl .i-pause { display: block; }
.watchpage .wplayer.is-muted .wctl .i-up { display: none; }
.watchpage .wplayer.is-muted .wctl .i-off { display: block; }

.watchpage .wvol { display: flex; align-items: center; }
.watchpage .wvol__slider {
    width: 0;
    opacity: 0;
    height: 4px;
    margin-left: 0;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    cursor: pointer;
    transition: width 0.24s var(--ease), opacity 0.24s var(--ease), margin 0.24s var(--ease);
}
.watchpage .wvol:hover .wvol__slider,
.watchpage .wvol__slider:focus-visible { width: 74px; opacity: 1; margin-left: 0.35rem; }
.watchpage .wvol__slider::-webkit-slider-thumb {
    appearance: none;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #fff;
}
.watchpage .wvol__slider::-moz-range-thumb {
    width: 11px; height: 11px; border: 0; border-radius: 50%; background: #fff;
}

.watchpage .wtime {
    margin-left: 0.375rem;
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
    color: #e7e9ea;
    white-space: nowrap;
}
.watchpage .wtime__sep { opacity: 0.45; margin-inline: 0.2rem; }

.watchpage .wmenu {
    position: absolute;
    right: clamp(0.75rem, 1.6vw, 1.25rem);
    bottom: calc(100% + 0.5rem);
    min-width: 216px;
    padding: 0.5rem;
    border: 1px solid var(--line-2);
    border-radius: 11px;
    background: rgba(8, 12, 16, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    animation: wmenu-in 0.18s var(--ease);
}
@keyframes wmenu-in { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.watchpage .wmenu__head {
    padding: 0.25rem 0.5rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-4);
}
/* Speed sits as a row of pills rather than a list: six values read faster
   side by side, and the menu stays short enough to clear the control bar. */
.watchpage .wmenu__rates {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 0 0.25rem 0.25rem;
}
.watchpage .wmenu__rate {
    padding: 0.375rem 0.25rem;
    border: 1px solid transparent;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
    color: var(--ink-2);
    cursor: pointer;
    transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.watchpage .wmenu__rate:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.watchpage .wmenu__rate.is-on {
    background: var(--active);
    border-color: rgba(244, 104, 15, 0.55);
    color: #ffd9b8;
    font-weight: 600;
}

.watchpage .wmenu__rule {
    display: block;
    height: 1px;
    margin: 0.5rem 0.25rem;
    background: var(--line-2);
}

.watchpage .wmenu__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.5rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    text-align: left;
    font-size: 0.875rem;
    color: var(--ink-2);
    cursor: pointer;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.watchpage .wmenu__row:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }
.watchpage .wmenu__row[aria-checked="true"] { color: var(--ink); }

.watchpage .wmenu__tick {
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--accent);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}
.watchpage .wmenu__row[aria-checked="true"] .wmenu__tick { opacity: 1; transform: none; }

.watchpage .wmenu__rate:focus-visible,
.watchpage .wmenu__row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* --- up next -------------------------------------------------------------- */

.watchpage .upnext {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.watchpage .upnext__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.watchpage .upnext__head h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; }

.watchpage .switch { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.watchpage .switch > span:first-child { font-size: 0.75rem; color: var(--ink-3); }
.watchpage .switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.watchpage .switch__track {
    position: relative;
    width: 38px; height: 21px;
    border-radius: 999px;
    background: #2a3238;
    transition: background 0.2s var(--ease);
}
.watchpage .switch__dot {
    position: absolute;
    left: 3px; top: 3px;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.22s var(--ease);
}
.watchpage .switch input:checked + .switch__track { background: var(--accent); }
.watchpage .switch input:checked + .switch__track .switch__dot { transform: translateX(17px); }
.watchpage .switch input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 2px; }

.watchpage .upnext__list { display: flex; flex-direction: column; gap: 0.375rem; list-style: none; margin: 0; padding: 0; }

.watchpage .upitem {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.watchpage .upitem:hover { background: rgba(255, 255, 255, 0.045); }
.watchpage .upitem.is-current {
    background: var(--active);
    border-color: rgba(244, 104, 15, 0.55);
}

.watchpage .upitem__link {
    display: flex;
    align-items: center;
    gap: 0.6875rem;
    flex: 1;
    min-width: 0;
    padding: 0.4375rem;
}
.watchpage .upitem__thumb {
    position: relative;
    flex: none;
    width: 84px;
    aspect-ratio: 16 / 10;
    border-radius: 7px;
    overflow: hidden;
    background: #0a0f14;
}
.watchpage .upitem__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.watchpage .upitem__now {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(4, 7, 10, 0.35);
}
.watchpage .upitem__now svg { width: 22px; height: 22px; fill: #fff; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6)); }

.watchpage .upitem__text { min-width: 0; }
.watchpage .upitem__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}
.watchpage .upitem__meta { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--ink-3); }
.watchpage .upitem.is-current .upitem__meta { color: #d8b39a; }

.watchpage .upitem__more {
    flex: none;
    width: 28px; height: 28px;
    margin-right: 0.375rem;
    display: grid; place-items: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-3);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}
.watchpage .upitem:hover .upitem__more, .watchpage .upitem__more:focus-visible { opacity: 1; }
.watchpage .upitem__more:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.watchpage .upitem__more svg { width: 15px; height: 15px; fill: currentColor; }

/* --- detail block --------------------------------------------------------- */

.watchpage .detail { margin-top: clamp(1.5rem, 2.6vw, 2.25rem); }

.watchpage .detail__title {
    font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.1;
}

.watchpage .detail__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--ink-2);
}
.watchpage .detail__meta a { color: inherit; transition: color 0.16s var(--ease); }
.watchpage .detail__meta a:hover { color: var(--accent); }
.watchpage .detail__meta .pill {
    margin-left: 0.25rem;
    padding: 2px 8px;
    border: 1px solid var(--line-2);
    border-radius: 5px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink-2);
}

/* --- action row ----------------------------------------------------------- */

.watchpage .actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(0.375rem, 1.4vw, 1.125rem);
    margin-top: clamp(1.125rem, 2vw, 1.625rem);
}

.watchpage .act {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 42px;
    padding-inline: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-2);
    cursor: pointer;
    transition: color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
}
.watchpage .act svg { width: 20px; height: 20px; flex: none; }
.watchpage .act:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.watchpage .act:active { transform: scale(0.97); }
.watchpage .act[aria-pressed="true"] { color: var(--accent); }
.watchpage .act.is-off { opacity: 0.4; cursor: not-allowed; }
.watchpage .act .action__count { font-size: 0.8125rem; color: var(--ink-4); font-variant-numeric: tabular-nums; }

.watchpage .act--primary {
    padding-inline: 1.125rem;
    border: 1px solid var(--line-2);
    background: var(--raised);
    color: var(--ink);
    font-weight: 600;
}
.watchpage .act--primary:hover { background: #182027; border-color: rgba(244, 104, 15, 0.45); }
.watchpage .act--primary[aria-pressed="true"] {
    background: var(--active);
    border-color: rgba(244, 104, 15, 0.6);
    color: #ffd9b8;
}
.watchpage .act .i-done, .watchpage .act--primary[aria-pressed="true"] .i-add { display: none; }
.watchpage .act--primary[aria-pressed="true"] .i-done { display: block; }

/* --- synopsis and credits ------------------------------------------------- */

.watchpage .synopsis { margin-top: clamp(1.125rem, 2vw, 1.5rem); max-width: 68ch; }
.watchpage .synopsis__body {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ink-2);
}

/* Collapsed, the synopsis keeps two lines. */
.watchpage .synopsis.is-clamped .synopsis__body {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.watchpage .synopsis__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.875rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
}
.watchpage .synopsis__toggle svg { width: 15px; height: 15px; transition: transform 0.22s var(--ease); }
.watchpage .synopsis.is-clamped .synopsis__toggle svg { transform: rotate(180deg); }

/* --- tabs ----------------------------------------------------------------- */

.watchpage .wtabs {
    position: relative;
    display: flex;
    gap: clamp(1rem, 2.4vw, 2.25rem);
    margin-top: clamp(1.75rem, 3.2vw, 2.75rem);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
}
.watchpage .wtabs::-webkit-scrollbar { display: none; }

.watchpage .wtab {
    flex: none;
    padding: 0 0 0.875rem;
    border: 0;
    background: none;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-3);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.18s var(--ease);
}
.watchpage .wtab:hover { color: var(--ink); }
.watchpage .wtab.is-on { color: var(--accent); font-weight: 600; }

.watchpage .wtabs__ink {
    position: absolute;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transition: transform 0.32s var(--ease), width 0.32s var(--ease);
    transform-origin: left;
    width: 0;
}

.watchpage .wpanel { animation: wpanel-in 0.32s var(--ease); }
@keyframes wpanel-in { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.watchpage .wpanel[hidden] { display: none; }

/* The first section inside a panel does not need the shell's top margin. */
.watchpage .wpanel > .section:first-child { margin-top: clamp(1.5rem, 2.6vw, 2.25rem); }

/*
 * Story titles on this page are often long and the cards are a fifth of the
 * row rather than a quarter, so they get a second line — with the height
 * reserved either way, so a row of cards keeps one baseline.
 */
.watchpage .tile__title {
    -webkit-line-clamp: 2;
    min-height: 2.6em;
}

/* --- fact sheet ----------------------------------------------------------- */

.watchpage .factsheet {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 0.625rem 1.5rem;
    max-width: 62ch;
    font-size: 0.9375rem;
}
.watchpage .factsheet dt { color: var(--ink-3); }
.watchpage .factsheet dd { margin: 0; color: var(--ink); }

.watchpage .tagrow { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.watchpage .tagrow__tag {
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 0.8125rem;
    color: var(--ink-2);
    transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.watchpage .tagrow__tag:hover { border-color: rgba(244, 104, 15, 0.5); color: var(--accent); background: rgba(244, 104, 15, 0.07); }

.watchpage .wfineprint {
    margin-top: 1.75rem;
    max-width: 70ch;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--ink-4);
}
.watchpage .wfineprint a { color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.watchpage .wfineprint a:hover { color: var(--accent); }

/* --- tablet --------------------------------------------------------------- */

@media (max-width: 1180px) {
    .watchpage .upnext__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 0.875rem; }
}

/* --- phone ---------------------------------------------------------------- */

@media (max-width: 720px) {
    .watchpage .upnext__list { grid-template-columns: minmax(0, 1fr); }

    .watchpage .wplayer { border-radius: 10px; }
    /* The artwork owns a phone-sized frame, so only the badge stays over it;
       the sentence explaining the missing file would land on the lettering. */
    .watchpage .wplayer__missing span:not(.wplayer__missing-badge) { display: none; }
    .watchpage .wvol__slider { display: none; }
    .watchpage .wtime { font-size: 0.75rem; }
    .watchpage .wctl { width: 32px; height: 32px; }
    .watchpage .wctl svg { width: 19px; height: 19px; }

    /* Five actions do not fit a phone row: let them scroll rather than wrap. */
    .watchpage .actions {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: -1.125rem;
        padding-inline: 1.125rem;
    }
    .watchpage .actions::-webkit-scrollbar { display: none; }
    .watchpage .act { flex: none; }

    .watchpage .factsheet { grid-template-columns: minmax(0, 1fr); gap: 0.125rem; }
    .watchpage .factsheet dt { margin-top: 0.625rem; font-size: 0.75rem; }

}

@media (max-width: 460px) {
    .watchpage .upitem__thumb { width: 78px; }
}

@media (prefers-reduced-motion: reduce) {
    .watchpage .wpanel, .watchpage .wmenu { animation: none !important; }
    .watchpage .act:active, .watchpage .wctl:active { transform: none !important; }
    .watchpage .wtabs__ink { transition: none !important; }
}

/* --- the shared voice ---------------------------------------------------------
   Small, upper case, letter-spaced: the same credit line the story cards and the
   section labels use, so Watch reads as part of the same place. Appended last so
   it wins over the rules above without editing each in turn. */

.watchpage .detail__meta,
.watchpage .upitem__meta,
.watchpage .upnext__head h2,
.watchpage .wtabs button {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.watchpage .detail__meta { gap: 0.35em; margin-top: 0.625rem; color: var(--ink-4); }
.watchpage .detail__meta .dot { opacity: 0.5; }

.watchpage .upnext__head h2 { color: var(--ink-4); }
.watchpage .upitem__meta { margin-top: 0.375rem; color: var(--ink-4); }

.watchpage .wtabs button { font-weight: 600; }

/* The label every Story on Manch carries, above the title rather than on it. */
.watchpage .detail__tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
    border: 1px solid rgba(244, 104, 15, 0.55);
    border-radius: 3px;
    background: rgba(244, 104, 15, 0.12);
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ==========================================================================
   Focus mode.

   Pressing play lifts the player off the page. The chrome fades, a backdrop
   covers what is behind, and the player scales up to the middle of the
   screen. It is one transform on an element that never leaves the document
   flow, so nothing reflows and the way out is the same animation reversed.

   `watch-focus` sits on <body> because the top bar it hides belongs to the
   shell, not to this page. The name is long on purpose: it is the one class
   here that reaches outside .watchpage, and it only ever exists on Watch.
   ========================================================================== */

.watchpage .wfade {
    transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}

body.watch-focus .watchpage .wfade {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

/* The shell's own bar. Fading rather than hiding keeps the page from
   jumping by the height of the bar on the way in and out. */
body.watch-focus .topbar {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s var(--ease);
}

/* Above the backdrop, and above the shell bar, which sits at 70. */
body.watch-focus .watchpage .stage { z-index: 90; }

.watchpage .wplayer {
    transform-origin: top left;
    transition:
        transform 0.58s cubic-bezier(0.22, 0.9, 0.26, 1),
        border-radius 0.4s var(--ease),
        box-shadow 0.5s var(--ease);
    will-change: transform;
}

body.watch-focus .watchpage .wplayer {
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.72),
        0 0 0 1px var(--accent-soft);
}

.watchpage .wbackdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
    background:
        radial-gradient(900px 520px at 50% 46%, rgba(244, 104, 15, 0.16), transparent 68%),
        radial-gradient(1200px 700px at 50% 108%, rgba(239, 78, 19, 0.13), transparent 70%),
        linear-gradient(180deg, #04070a 0%, #05090c 48%, #04070a 100%);
}

body.watch-focus .watchpage .wbackdrop { opacity: 1; pointer-events: auto; }

.watchpage .wexit {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: rgba(5, 9, 12, 0.82);
    backdrop-filter: blur(8px);
    font: inherit;
    font-size: 0.8125rem;
    color: var(--ink);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

body.watch-focus .watchpage .wexit { opacity: 1; pointer-events: auto; }
.watchpage .wexit:hover { border-color: var(--line-hard); }

.watchpage .wexit__key {
    padding: 2px 5px;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
}

/* Nothing here is worth motion sickness: the player still moves, it just
   arrives instead of travelling. */
@media (prefers-reduced-motion: reduce) {
    .watchpage .wfade,
    .watchpage .wplayer,
    .watchpage .wbackdrop,
    .watchpage .wexit,
    body.watch-focus .topbar { transition: none; }
}
