/* Videos (2026-11-07, v2 "video focused" after user feedback: wider, no scrollbars, the video is the page).
   Desktop: theater (big player over a blurred backdrop of the same video + side panel + "Up next" rail).
   Phone: full-screen vertical swipe feed. Series tabs: poster grids. */
main.vd { --content: 1400px; padding-bottom: 40px; }
.vd .kicker { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.vd h1 { margin: 0 0 4px; }
.vd .lede { max-width: 760px; margin: 0 0 6px; }
.vd-loading, .vd-empty { color: var(--muted); }

/* no visible scrollbars anywhere on this page's own scroll areas */
.vd-feed, .vd-rail, .vd-tabs, .vd-quote { scrollbar-width: none; -ms-overflow-style: none; }
.vd-feed::-webkit-scrollbar, .vd-rail::-webkit-scrollbar, .vd-tabs::-webkit-scrollbar, .vd-quote::-webkit-scrollbar { display: none; }

/* tabs */
.vd-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 16px 0 14px; }
.vd-tabs button { flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 600 14.5px inherit; font-family: inherit; cursor: pointer; transition: background .15s, border-color .15s; }
.vd-tabs button:hover { border-color: var(--accent); }
.vd-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }

/* the 9:16 screen: thumbnail button, then the player */
.vd-screen { position: relative; aspect-ratio: 9 / 16; width: 100%; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.vd-screen iframe, .vd-thumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vd-thumb { padding: 0; background: #000; cursor: pointer; display: block; text-align: left; color: #fff; font: inherit; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, filter .4s; }
.vd-thumb:hover img { transform: scale(1.04); }
.vd-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .9); backdrop-filter: blur(4px); transition: transform .2s, background .2s; }
.vd-play::after { content: ""; position: absolute; left: 28px; top: 21px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.vd-thumb:hover .vd-play { transform: scale(1.08); background: var(--accent); border-color: var(--accent); }

/* ---- desktop theater ---- */
.vd-theater { position: relative; border-radius: 22px; overflow: hidden; background: #07080a; isolation: isolate; }
.vd-amb { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(60px) brightness(.45) saturate(1.3); z-index: -1; transform: scale(1.1); }
.vd-stage { display: grid; grid-template-columns: 56px auto 56px minmax(280px, 440px); align-items: center; justify-content: center; gap: 18px 22px; padding: 28px 32px; }
.vd-stage .vd-screen { height: min(72vh, 800px); width: auto; }
.vd-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .35); cursor: pointer; position: relative; transition: background .15s; }
.vd-arrow:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }
.vd-arrow:disabled { opacity: .25; cursor: default; }
.vd-arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; }
.vd-arrow.prev::after { transform: translate(-30%, -50%) rotate(135deg); }
.vd-arrow.next::after { transform: translate(-70%, -50%) rotate(-45deg); }
.vd-side { color: #f2f2f2; align-self: center; }
.vd-side .vd-meta { color: rgba(255, 255, 255, .7); }
.vd-title { margin: 8px 0 14px; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.2; color: #fff; }
.vd-quote { max-height: 38vh; overflow-y: auto; border-left: 3px solid var(--accent); padding-left: 16px; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.vd-quote p { margin: 0 0 8px; }
.vd-pos { margin: 16px 0 0; font: 600 11.5px var(--mono); color: rgba(255, 255, 255, .5); letter-spacing: .04em; }
.vd-side .vd-btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* "Up next" rail */
.vd-railwrap { position: relative; margin-top: 22px; }
.vd-rail-h { margin: 0 0 10px; font-size: 1.05rem; }
.vd-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 8px; }
.vd-tile { flex: none; width: 150px; aspect-ratio: 9 / 16; position: relative; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #000; cursor: pointer; scroll-snap-align: start; color: #fff; text-align: left; font: inherit; }
.vd-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.vd-tile:hover img { transform: scale(1.05); }
.vd-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .88)); }
.vd-tile.cur { border-color: var(--accent); }
.vd-tile-t { position: absolute; left: 10px; right: 10px; bottom: 26px; z-index: 1; font-weight: 700; font-size: 13px; line-height: 1.25; }
.vd-tile-s { position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 1; font-size: 11px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-rail-btn { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -4px; border-radius: 50%; border: 1px solid var(--line); background: rgba(16, 18, 22, .9); cursor: pointer; }
.vd-rail-btn.l { left: -8px; } .vd-rail-btn.r { right: -8px; }
.vd-rail-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; }
.vd-rail-btn.l::after { transform: translate(-30%, -50%) rotate(135deg); } .vd-rail-btn.r::after { transform: translate(-70%, -50%) rotate(-45deg); }
.vd-rail-btn:hover { background: var(--accent); }

@media (max-width: 1100px) and (min-width: 761px) {
  .vd-stage { grid-template-columns: 48px auto 48px; }
  .vd-side { grid-column: 1 / -1; max-width: 680px; justify-self: center; }
}

/* ---- phone: full-screen swipe feed ---- */
.vd-feed { height: calc(100svh - 120px); overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; margin: 0 -16px; background: #000; }
.vd-slide { scroll-snap-align: start; scroll-snap-stop: always; height: 100%; position: relative; }
.vd-slide .vd-screen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.vd-slide .vd-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 16px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; pointer-events: none; }
.vd-slide .vd-info > * { pointer-events: auto; }
.vd-slide .vd-info h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.vd-slide .vd-meta { color: rgba(255, 255, 255, .75); }
.vd-slide .vd-btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.vd-slide .vd-screen.on + .vd-info { display: none; }

.vd-meta { margin: 0; font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.vd-words { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.vd-words summary { cursor: pointer; color: var(--text); font-weight: 600; font-size: 13px; }
.vd-words p { margin: 6px 0; }
.vd-acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.vd-btn { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-text); font: 600 13.5px inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.vd-btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.vd-follow { margin: 28px 0 0; } .vd-follow a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* ---- series tabs: poster grids ---- */
.vd-door { margin: 6px 0 4px; } .vd-door h2 { margin: 0 0 4px; font-size: 1.5rem; }
.vd-sub { margin: 0 0 10px; color: var(--muted); }
.vd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.vd-chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 500 14.5px inherit; font-family: inherit; cursor: pointer; }
button.vd-chip:hover { border-color: var(--accent); }
.vd-chip[aria-pressed="true"] { background: #2f4a6b; border-color: #8fb4e0; color: #fff; }
.vd-chips.soon .vd-chip { cursor: default; color: var(--muted); }
.vd-for { margin: 18px 0 4px; font-weight: 600; }
.vd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; margin-top: 16px; }
.vd-card .vd-screen { box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.vd-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); pointer-events: none; }
.vd-cap h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; color: #fff; }
.vd-tagpill { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(143, 180, 224, .25); color: #dce8f7; font-size: 11.5px; font-weight: 600; text-transform: capitalize; }
.vd-no { display: block; margin-bottom: 4px; font: 700 10.5px var(--mono); letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.vd-grid.archive .vd-thumb img { filter: grayscale(1) contrast(1.08); }
.vd-grid.archive .vd-thumb:hover img { filter: grayscale(.3); }
.vd-grid.archive .vd-cap h3 { font-family: Georgia, "Times New Roman", serif; }
.vd-door.archive h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: .03em; }
@media (max-width: 760px) { .vd-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .vd-play { transform: scale(.75); } .vd-cap h3 { font-size: .92rem; } }

/* Kind Old Frog: breathing circle */
.vd-breathe { width: fit-content; max-width: 100%; display: inline-flex; align-items: center; gap: 22px; margin: 12px 0 8px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(76, 110, 160, .22), rgba(150, 120, 190, .16)); border: 1px solid var(--line); flex-wrap: wrap; }
.vd-ring { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, rgba(170, 200, 255, .5), rgba(120, 140, 220, .18) 70%); box-shadow: 0 0 30px rgba(150, 180, 255, .25); transform: scale(.72); transition: transform 1s ease-in-out; }
.vd-ring.in { transform: scale(1); transition-duration: 4s; }
.vd-ring.hold { transform: scale(1); }
.vd-ring.out { transform: scale(.72); transition-duration: 4.5s; }
.vd-ring-word { font-weight: 600; font-size: 14px; max-width: 90px; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .vd-ring, .vd-ring.in, .vd-ring.out, .vd-thumb img, .vd-tile img { transition: none; } }

/* 11-07 (user: two scroll areas, text + share row push the videos down, "how to use" is pointless):
   no help box on this page; on phones the All feed is the whole screen under the tabs and the page itself doesn't scroll. */
main.vd .seo-help { display: none; }
@media (max-width: 760px) {
  main.vd .kicker, main.vd .lede, main.vd .nb-share { display: none; }
  main.vd h1 { font-size: 1.25rem; margin: 6px 0 0; }
  .vd-tabs { margin: 8px 0; }
  .vd-tabs button { padding: 7px 13px; font-size: 13.5px; }
  html.vd-lock, html.vd-lock body { overflow: hidden; overscroll-behavior: none; }
  html.vd-lock .vd-feed { margin-bottom: 0; }
}

/* wide (16:9) videos: shown wide everywhere except the phone feed (fills the screen there) */
.vd-screen.wide { aspect-ratio: 16 / 9; }
.vd-stage .vd-screen.wide { height: auto; width: min(58vw, 1000px); }
.vd-grid .vd-card.wide { grid-column: span 2; }
@media (max-width: 760px) { .vd-grid .vd-card.wide { grid-column: 1 / -1; } .vd-slide .vd-screen.wide { aspect-ratio: auto; } }
@media (max-width: 1100px) and (min-width: 761px) { .vd-stage .vd-screen.wide { width: min(80vw, 900px); } }
/* wide video in the theater: video across the stage, words underneath (no overflow on the right) */
.vd-stage:has(.vd-screen.wide) { grid-template-columns: 56px minmax(0, 1fr) 56px; }
.vd-stage:has(.vd-screen.wide) .vd-screen.wide { width: min(100%, calc(66vh * 16 / 9)); justify-self: center; }
.vd-stage:has(.vd-screen.wide) .vd-side { grid-column: 1 / -1; max-width: 860px; width: 100%; justify-self: center; }
.vd-stage:has(.vd-screen.wide) .vd-quote { max-height: none; }

/* Kind Old Frog: the Breathe With Me video up top (replaces the plain breathing circle) */
.vd-bw { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(220px, 1fr); gap: 24px; align-items: center; margin: 14px 0 10px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, rgba(76, 110, 160, .22), rgba(150, 120, 190, .14)); border: 1px solid var(--line); }
.vd-bw .vd-screen { aspect-ratio: 16 / 9; }
.vd-bw-k { margin: 0; font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #a9c4ea; }
.vd-bw h3 { margin: 4px 0 6px; font-size: 1.6rem; }
@media (max-width: 760px) { .vd-bw { grid-template-columns: 1fr; padding: 12px; gap: 12px; } .vd-bw h3 { font-size: 1.3rem; } }
