/* static-videos.css: /videos/ only ("The wall, ranked", BRIEF §2.3). Loaded after css/static.css.
   Her media is crop/resize/mask only: every box is capped at 1.05x the file's px per device pixel (--pw/--ph, --dpr),
   object-fit: cover only crops, and nothing (filter, blend, gradient, scrim, text) ever sits on her footage. */

/* ------------------------------------------------------------ 01 hero: the channel total as one numeral */
.hx--videos .hx__deck { max-width: 36rem; }
.hx--videos .hx__deck > .vx-tot { margin-top: clamp(28px, 5vh, 56px); }
.vx-tot { display: grid; gap: 10px; justify-items: start; }
.vx-tot data { font-family: var(--f-display); font-size: clamp(3.25rem, 6.6vw, 7.25rem); font-weight: 900; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vx-tot small { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; color: var(--mute); }
.hx--videos .slot--oval .slot__m img, .hx--videos .slot--oval .slot__m video { object-position: 50% 30%; }

/* ------------------------------------------------------------ 02 most watched: display rows (Norris calendar L1/L2) */
.mw { position: relative; border-bottom: 1px solid var(--line); }
.mw__r {
  display: grid; align-items: center; column-gap: clamp(16px, 2.2vw, 40px);
  grid-template-columns: clamp(3.25rem, 7vw, 7.5rem) minmax(0, 1fr) 7.5rem minmax(12rem, 20rem) 7rem 14px;
  grid-template-areas: "n t d v k b";
  margin: 0 calc(-1 * var(--gut)); padding: clamp(20px, 2.3vw, 36px) var(--gut);
}
.mw__n { grid-area: n; font-family: var(--f-display); font-size: var(--t-row); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--mute); font-variant-numeric: tabular-nums; }
.mw__o { display: none; }
.mw__tt { grid-area: t; min-width: 0; }
.mw__t { font-family: var(--f-display); font-size: var(--t-row); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.mw__t a { text-decoration: none; }
.mw__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mw__uz { margin-top: 8px; font-size: .875rem; font-weight: 500; letter-spacing: .02em; color: var(--mute); }
.mw__d { grid-area: d; font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.mw__v { grid-area: v; justify-self: end; display: flex; align-items: baseline; gap: .4em; white-space: nowrap; font-family: var(--f-display); font-size: var(--t-row); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.mw__v small { font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.mw__k { grid-area: k; justify-self: end; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--mute); }
.mw__k span { font-variant-numeric: tabular-nums; }
.mw__r .bub { grid-area: b; justify-self: end; }
/* the #1 row is the page's number: its views take the display size of a section title */
.mw__r:first-child .mw__v { font-size: clamp(2.25rem, 4vw, 4.5rem); letter-spacing: -.045em; }
.mw__r:first-child .mw__n { color: inherit; }
@media (hover: hover) and (pointer: fine) { .mw__r:hover .mw__n { color: inherit; } }
@media (max-width: 1100px) and (min-width: 761px) {
  .mw__r { grid-template-columns: 3rem minmax(0, 1fr) auto; grid-template-areas: "n t v" "n t k" "n t d"; row-gap: 6px; }
  .mw__d { justify-self: end; }
  .mw__r .bub { display: none; }
}
/* phones: rank, a small oval with her still of that video, the title, the views */
@media (max-width: 760px) {
  .mw__r { grid-template-columns: 1.75rem 64px auto minmax(0, 1fr); grid-template-areas: "n o t t" "n o v v" "n o d k"; column-gap: 12px; row-gap: 8px; align-items: start; padding: 20px var(--gut); }
  .mw__n { font-size: 1.125rem; padding-top: 3px; }
  .mw__o { grid-area: o; display: block; position: relative; width: 64px; height: 84px; border-radius: 50%; overflow: hidden; isolation: isolate; background: var(--raise); }
  .mw__o img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mw__t { font-size: clamp(1.25rem, 5.8vw, 1.625rem); }
  .mw__uz { margin-top: 4px; font-size: .8125rem; }
  .mw__v { justify-self: start; font-size: clamp(1.5rem, 7vw, 2rem); }
  .mw__r:first-child .mw__v { font-size: clamp(2rem, 10vw, 2.75rem); }
  .mw__d { font-size: .8125rem; }
  .mw__k { justify-self: start; font-size: .75rem; }
  .mw__r .bub { display: none; }
}

/* ------------------------------------------------------------ 03 all uploads: the dense wall of her own posters */
.vall__head { gap: var(--s-5); }
.vf { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.vf__l { float: left; padding: 0; color: var(--mute); }
.vall:has(#vf-video:checked) .vc.is-short, .vall:has(#vf-short:checked) .vc.is-video { display: none; }
.vf input:focus-visible + .chip { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 7px var(--ground); }
/* the filter chips: the accent fill fades on the compositor (opacity of a ::before pill) instead of a background-color
   transition that repainted the whole page on each of its ~18 frames (review/freeze/FIX-PLAN.md A3) */
.vf .chip { transition: none; isolation: isolate; }
.vf .chip::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--accent); opacity: 0; transition: opacity .3s linear; pointer-events: none; }
.vf input:checked + .chip { background: transparent; transition: color 0s linear .12s; }
.vf input:checked + .chip::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .vf .chip, .vf .chip::before { transition: none !important; } }

.vg {
  --cols: 5; --g: clamp(12px, 1.7vw, 24px); --wide-ar: 2.1;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-flow: row dense;
  gap: clamp(28px, 3vw, 44px) var(--g); align-items: start;
}
/* dense screens: more, smaller columns so no poster is drawn past 1.05x its pixels */
@media (min-width: 1000px) and (min-resolution: 1.5dppx) { .vg { --cols: 6; --wide-ar: 2.5; } }
@media (max-width: 1200px) and (min-width: 761px) { .vg { --cols: 4; } }
@media (max-width: 960px) and (min-width: 761px) { .vg { --cols: 3; } }
@media (max-width: 760px) { .vg { --cols: 2; --g: 12px; } }

.vc { position: relative; display: flex; flex-direction: column; min-width: 0; }
/* touch screens: a card off screen is not laid out or painted (a tap on a filter chip re-lays the grid: FIX-PLAN A4);
   400px is the median card at 390, and `auto` keeps each card's real size once drawn. Unclipped while it has focus */
@media not all and (hover: hover) and (pointer: fine) {
  .vc { content-visibility: auto; contain-intrinsic-size: auto 400px; }
  .vc:focus-within { content-visibility: visible; }
  main > .sec.vig { contain-intrinsic-size: auto 5000px; }
}
.vc--tall, .vc--type { grid-row: span 2; align-self: stretch; }
.vc--wide { grid-column: span 2; }
.vc__m { position: relative; overflow: hidden; isolation: isolate; width: 100%; background: var(--raise); }
.vc__m img, .vc__m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc__m video { opacity: 0; transition: opacity .35s linear; }
.vc__m video.is-ready { opacity: 1; }
/* a vertical loop: a tall pill that fills its two rows (cover crops the sides), never past 1.05x the file */
.vc--tall .vc__m { flex: 1 0 auto; aspect-ratio: 480 / 854; border-radius: 999px;
  max-width: calc(var(--pw) * 1.05px / var(--dpr)); max-height: calc(var(--ph) * 1.05px / var(--dpr)); }
/* a landscape loop: a wide oval across two columns */
.vc--wide .vc__m { aspect-ratio: var(--wide-ar); border-radius: 50%;
  max-width: calc(var(--pw) * 1.05px / var(--dpr)); max-height: calc(var(--ph) * 1.05px / var(--dpr)); }
/* an upload with no loop on the site: a typographic tile (no third-party thumbnail at runtime) */
.vc__m--type { flex: 1 0 auto; aspect-ratio: 480 / 854; border-radius: 999px; display: grid; grid-template-rows: auto minmax(0, 1fr); justify-items: center; align-items: center; padding: clamp(28px, 4vw, 56px) 12px; box-shadow: inset 0 0 0 1px var(--line); }
.vc__tk { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.vc__tv { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: .5em; font-family: var(--f-display); font-size: clamp(2.75rem, 5.2vw, 5.5rem); font-weight: 900; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vc__tv small { font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.vc__t { margin-top: 14px; font-family: var(--f-display); font-size: clamp(1.0625rem, 1.25vw, 1.375rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.12; }
.vc__t a { text-decoration: none; }
.vc__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vc__o { margin-top: 5px; font-size: .8125rem; line-height: 1.35; color: var(--mute); }
.vc__i { margin-top: 6px; font-size: .8125rem; line-height: 1.4; color: var(--mute); }
.vc__i b { color: var(--fg); font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  .vc:hover .vc__t a { text-decoration: underline; text-decoration-thickness: 1.5px; }
}
@media (max-width: 760px) {
  .vc__t { margin-top: 10px; font-size: 1rem; }
  .vc__m--type { padding: 22px 8px; }
  .vc__tv { font-size: clamp(2rem, 11vw, 3rem); }
}

/* ------------------------------------------------------------ 04 Instagram + Telegram: smaller pills and circles */
.igw { columns: 6; column-gap: clamp(12px, 1.5vw, 22px); }
@media (max-width: 1100px) { .igw { columns: 4; } }
@media (max-width: 760px) { .igw { columns: 2; } }
.ig { position: relative; break-inside: avoid; display: grid; justify-items: start; padding-bottom: clamp(24px, 2.6vw, 40px); }
.ig__m { position: relative; overflow: hidden; isolation: isolate; width: 100%; aspect-ratio: var(--pw) / var(--ph); background: var(--raise);
  max-width: calc(var(--pw) * 1.05px / var(--dpr)); }
.ig--tall .ig__m { border-radius: 999px; }
.ig--circ .ig__m, .ig--wide .ig__m { border-radius: 50%; }
.ig__m img, .ig__m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ig__m video { opacity: 0; transition: opacity .35s linear; }
.ig__m video.is-ready { opacity: 1; }
.ig__t { margin-top: 12px; font-size: .9375rem; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
.ig__t a { text-decoration: none; }
.ig__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ig__i { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--mute); }
.ig__k { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .ig:hover .ig__t a { text-decoration: underline; } }


@media (prefers-reduced-motion: reduce) {
  .vc__m video, .ig__m video { transition: none !important; }
}
