/* Overlay Studio page, homepage look (14 Nov 2026). Hero = the overlay as a live stream with a stream chat (the homepage's
   Overlay Studio tile, bigger), scenes as a numbered list + picture, templates grid, three steps + features, then the
   shared FAQ band and dark Ready band (bands.css). */
.ovp-sub { margin: 12px 0 0; color: var(--muted); font-size: 17px; max-width: 28em; }

/* --- hero ------------------------------------------------------------------------------------------------------- */
.ovp-hero { padding: 56px 0 40px; }
.ovp-hero__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 48px; align-items: center; }
.ovp-hero h1 { margin: 0; font-size: clamp(44px, 4.8vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.98; }
.ovp-hero h1 em { display: block; white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.02em; }
.ovp-hero__lede { margin: 24px 0 32px; max-width: 30em; font-size: 18px; color: var(--muted); }
.ovp-hero__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.ovp-note { margin: 20px 0 0; max-width: 30em; font-size: 14px; color: var(--muted); }
.ovp-live { display: flex; align-items: stretch; gap: 12px; }
.ovp-player { flex: 0 0 66%; display: block; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(20, 40, 90, 0.6), inset 0 0 0 1px #ECE7DF; }
.ovp-stage { position: relative; display: block; } .ovp-stage video { display: block; width: 100%; height: auto; }
.ovp-onair { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border-radius: 8px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.ovp-onair b { padding: 2px 6px; border-radius: 5px; background: #E5212E; font-size: 10px; letter-spacing: 0.06em; }
.ovp-now { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px; background: #fff; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6); font-size: 13px; }
.ovp-now > i { width: 8px; height: 8px; border-radius: 999px; background: #E5212E; box-shadow: 0 0 0 3px rgba(229, 33, 46, 0.2); }
.ovp-now b { font-weight: 600; } .ovp-now b.is-swap { animation: ovp-up 0.45s var(--ease-out); }
.ovp-now em { font: 500 12px var(--sans); letter-spacing: 0; color: #A8A29A; }
@keyframes ovp-up { from { transform: translateY(60%); opacity: 0; } }
.ovp-player__meta { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.ovp-player__meta > i { width: 32px; height: 32px; border-radius: 999px; background: linear-gradient(135deg, #FF8A6B, #FF4D1F); flex: none; }
.ovp-player__meta span { display: grid; font-size: 12px; color: #8A857C; } .ovp-player__meta b { font-size: 14px; color: var(--ink); }
.ovp-chat { position: relative; flex: 1; min-width: 0; display: block; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(20, 40, 90, 0.45), inset 0 0 0 1px #ECE7DF; }
.ovp-chat__h { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #A8A29A; border-bottom: 1px solid #F0EBE3; }
.ovp-chat__h > span { display: flex; gap: 4px; }
.ovp-chat__list { position: absolute; left: 0; right: 0; top: 41px; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px 14px; overflow: hidden; font-size: 13px; line-height: 1.35; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px); mask-image: linear-gradient(to bottom, transparent 0, #000 40px); }
.ovp-chat__list p { margin: 0; color: #4A4640; overflow-wrap: anywhere; animation: ovp-chat 0.4s var(--ease-out) both; } .ovp-chat__list p b { font-weight: 600; margin-right: 4px; }
.ovp-chat__list p.is-event { padding: 6px 10px; border-radius: 10px; background: #FFF0EA; color: var(--accent-ink); font-weight: 600; font-size: 12px; }
.ovp-chat__list .is-emo { font-size: 16px; letter-spacing: 1px; }
@keyframes ovp-chat { from { opacity: 0; transform: translateY(8px); } }
.pf { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: 6px; flex: none; }
.ovp-chat__h .pf { margin: 0; }
.pf svg { width: 10px; height: 10px; }
.pf--twitch { background: #9146FF; color: #fff; } .pf--youtube { background: transparent; color: #FF0033; } .pf--youtube svg { width: 12px; height: 12px; } .pf--kick { background: #0B0E0F; color: #53FC18; }

/* --- scenes ----------------------------------------------------------------------------------------------------- */
.ovp-scenes { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.ovp-scenes h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.06; }
.ovp-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.ovp-list button { position: relative; width: 100%; display: flex; align-items: baseline; gap: 12px; padding: 10px 0 10px 16px; border: 0; background: none; font: inherit; color: #A8A29A; text-align: left; cursor: pointer; transition: color 0.3s; }
.ovp-list button::before { content: ''; position: absolute; left: 0; top: 14px; width: 2px; height: 0; border-radius: 2px; background: var(--accent); transition: height 0.35s var(--ease-out); }
.ovp-list em { flex: none; width: 20px; font: 600 12px var(--sans); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: #C9C2B6; transition: color 0.3s; }
.ovp-list b { display: block; font-size: 17px; font-weight: 500; }
.ovp-list small { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 14px; color: var(--muted); transition: max-height 0.4s var(--ease-out), opacity 0.3s; }
.ovp-list button[aria-pressed="true"] { color: var(--ink); } .ovp-list button[aria-pressed="true"] em { color: var(--accent); }
.ovp-list button[aria-pressed="true"]::before { height: calc(100% - 20px); }
.ovp-list button[aria-pressed="true"] small { max-height: 60px; opacity: 1; margin-top: 4px; }
.ovp-list button:hover { color: var(--ink); }
.ovp-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.ovp-scenes__view { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #1C1B19; box-shadow: 0 40px 80px -40px rgba(20, 40, 90, 0.55); }
.ovp-scenes__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.6s, transform 0.9s var(--ease-out); }
.ovp-scenes__view img.is-on { opacity: 1; transform: none; }

/* --- templates -------------------------------------------------------------------------------------------------- */
.ovp-tpls { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ovp-tpls li { display: grid; gap: 10px; padding: 8px 8px 14px; border-radius: 20px; background: #F2EEE8; transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.ovp-tpls li:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(17, 17, 16, 0.45); }
.ovp-tpls img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.ovp-tpls span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px; font-size: 15px; font-weight: 600; }
.ovp-tpls span b { padding: 2px 8px; border-radius: 999px; background: #E6F6EC; color: #1E8A4C; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* "more on the way" cards close the template grid so its last row is full */
.ovp-tpls li.is-soon { place-content: center; justify-items: center; gap: 8px; min-height: 100%; background: repeating-linear-gradient(135deg, #F2EEE8 0 12px, #EFE9E1 12px 24px); box-shadow: inset 0 0 0 1.5px rgba(17, 17, 16, 0.08); }
.ovp-tpls li.is-soon:hover { transform: none; box-shadow: inset 0 0 0 1.5px rgba(17, 17, 16, 0.08); }
.ovp-tpls li.is-soon i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; font: 600 20px var(--sans); font-style: normal; color: var(--accent); }
.ovp-tpls li.is-soon span { justify-content: center; color: var(--muted); font-weight: 500; }

/* --- how it works + features -------------------------------------------------------------------------------------- */
.ovp-steps { margin: 0 0 16px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ovp-steps li { display: grid; gap: 6px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #ECE7DF; }
.ovp-steps em { font: italic 400 28px/1 var(--serif); color: var(--accent); }
.ovp-steps b { margin-top: 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.ovp-steps span { font-size: 15px; color: var(--muted); }
.ovp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ovp-feat { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-content: start; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.55); }
.ovp-feat i { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #FFF0EA; }
.ovp-feat i svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ovp-feat b { font-size: 16px; font-weight: 600; }
/* 7 features in 3 columns: the first one is wide, so every row is full (6 when HQ has vertical off) */
.ovp-feats:has(> :nth-child(7):last-child) > :last-child { grid-column: 1 / -1; } .ovp-feat span { font-size: 14px; color: var(--muted); }

@media (max-width: 1000px) {
  .ovp-hero__grid, .ovp-scenes { grid-template-columns: 1fr; gap: 32px; }
  .ovp-tpls { grid-template-columns: repeat(3, 1fr); }
  .ovp-steps, .ovp-feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ovp-hero { padding: 32px 0 24px; }
  .ovp-live { flex-direction: column; } .ovp-player { flex: none; } .ovp-chat { flex: none; height: 200px; }
  .ovp-tpls { grid-template-columns: 1fr 1fr; gap: 10px; } .ovp-tpls span { font-size: 13px; }
  .ovp-steps, .ovp-feats { grid-template-columns: 1fr; }
  .ovp-list small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ovp-now b.is-swap, .ovp-chat__list p { animation: none; } .ovp-scenes__view img { transition: none; } }
@media (max-width: 420px) { .ovp-hero h1 em { white-space: normal; } }
.ovp-hero__acts .btn { height: 56px; padding: 0 32px; font-size: 17px; }
@media (max-width: 640px) { .ovp-hero__acts .btn { height: 52px; padding: 0 24px; font-size: 16px; } }
.ovp-scenes h2 em { white-space: nowrap; }

/* hero, tidier (owner, 14 Nov 2026: "improve this"): two-line title that never runs into the stream, a shorter line,
   ticks instead of a paragraph, a bigger stream with a warm glow behind it */
.ovp-hero { padding: 64px 0 56px; }
.ovp-hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; }
.ovp-hero h1 { font-size: clamp(40px, 4.3vw, 64px); line-height: 1.02; }
.ovp-hero h1 span { white-space: nowrap; }
.ovp-hero h1 em { display: block; white-space: nowrap; }
.ovp-hero__lede { margin: 20px 0 28px; max-width: 28em; font-size: 18px; }
.ovp-ticks { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.ovp-ticks li { display: block; }
.ovp-ticks li::before { content: '✓'; margin-right: 6px; color: #1E8A4C; font-weight: 700; }
.ovp-live { position: relative; }
.ovp-glow { position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 120, 80, 0.28), rgba(140, 70, 255, 0.12) 60%, transparent); filter: blur(20px); pointer-events: none; }
.ovp-player { flex-basis: 68%; }
@media (max-width: 1000px) { .ovp-hero__grid { grid-template-columns: 1fr; gap: 32px; } .ovp-hero h1 span, .ovp-hero h1 em { white-space: normal; } .ovp-hero__lede { max-width: none; } }
@media (max-width: 640px) { .ovp-hero { padding: 32px 0 24px; } .ovp-player { flex-basis: auto; } }

/* hero stream in a YouTube-style live page (owner, 14 Nov 2026: "make this screen inside a youtube layout and on right side chat") */
.ovp-hero__grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 48px; }
.ovp-live { display: block; }
.ovp-yt { position: relative; display: block; border-radius: 16px; background: #fff; overflow: hidden; font-family: var(--sans); box-shadow: 0 50px 90px -50px rgba(20, 40, 90, 0.55), inset 0 0 0 1px #ECE7DF; }
.ovp-yt__bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-bottom: 1px solid #F0EBE3; }
.ovp-yt__menu { width: 14px; height: 10px; border-block: 2px solid #4A4640; position: relative; } .ovp-yt__menu::after { content: ''; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: #4A4640; }
.ovp-yt__logo { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.ovp-yt__logo svg { width: 22px; height: 16px; fill: #FF0033; }
.ovp-yt__search { flex: 1; max-width: 260px; margin: 0 auto; height: 28px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px #E6E0D6; font-size: 12px; line-height: 28px; color: #A8A29A; }
.ovp-yt__me { width: 24px; height: 24px; border-radius: 999px; background: linear-gradient(135deg, #8FE3A8, #1E8A4C); }
.ovp-yt__body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 12px; padding: 12px; }
.ovp-yt__main { display: block; min-width: 0; }
.ovp-yt .ovp-stage { border-radius: 10px; overflow: hidden; }
.ovp-yt__title { display: block; margin: 10px 2px 2px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ovp-yt__meta { display: flex; align-items: center; gap: 8px; margin: 0 2px 10px; font-size: 12px; color: #8A857C; font-variant-numeric: tabular-nums; }
.ovp-yt__live { padding: 1px 6px; border-radius: 4px; background: #E5212E; color: #fff; font-size: 10px; letter-spacing: 0.06em; }
.ovp-yt__chan { display: flex; align-items: center; gap: 10px; margin: 0 2px; }
.ovp-yt__av { flex: none; width: 32px; height: 32px; border-radius: 999px; background: linear-gradient(135deg, #FF8A6B, #FF4D1F); }
.ovp-yt__chan > span:nth-child(2) { display: grid; font-size: 11px; color: #8A857C; } .ovp-yt__chan b { font-size: 13px; color: var(--ink); }
.ovp-yt__sub { margin-left: 4px; height: 28px; padding: 0 12px; border-radius: 999px; background: #111110; color: #fff; font-size: 12px; font-weight: 600; line-height: 28px; }
.ovp-yt__like { margin-left: auto; height: 28px; padding: 0 12px; border-radius: 999px; background: #F4F0EA; font-size: 12px; line-height: 28px; color: #4A4640; }
.ovp-yt__chat { position: relative; display: flex; flex-direction: column; min-height: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px #ECE7DF; overflow: hidden; }
.ovp-yt__chat-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; font-size: 12px; font-weight: 600; color: var(--ink); border-bottom: 1px solid #F0EBE3; }
.ovp-yt__chat-h > span { display: flex; gap: 4px; } .ovp-yt__chat-h .pf { margin: 0; }
.ovp-yt__chat .ovp-chat__list { position: absolute; top: 37px; bottom: 44px; left: 0; right: 0; padding: 10px 12px; font-size: 12px; gap: 7px; }
.ovp-yt__say { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: #F4F0EA; font-size: 11px; color: #A8A29A; }
.ovp-yt__say i { font-style: normal; }
@media (max-width: 1000px) { .ovp-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ovp-yt__body { grid-template-columns: 1fr; } .ovp-yt__chat { height: 220px; } .ovp-yt__search { display: block; max-width: none; margin: 0 4px; } .ovp-yt__like { display: none; }
}

/* the hero fills the first screen like the homepage's: at most 800px, content centred (owner, 14 Nov 2026) */
.ovp-hero { display: flex; align-items: center; min-height: min(calc(100svh - 64px), 800px); padding: 24px 0; }
.ovp-hero > .wrap { width: 100%; }
@media (max-width: 1000px) { .ovp-hero { min-height: 0; padding: 40px 0 32px; } }

/* YouTube-style window on the homepage hero's grid (owner, 14 Nov 2026: "improve the spacing and size as per homepage"):
   same frame as the homepage window (16px radius, hairline border, its shadow, a 36px tinted bar) and one 8/16px rhythm */
.ovp-yt { border-radius: 16px; border: 1px solid rgba(17, 17, 16, 0.1); box-shadow: 0 48px 96px -48px rgba(17, 17, 16, 0.45), 0 16px 32px -24px rgba(17, 17, 16, 0.25); }
.ovp-yt__bar { height: 36px; gap: 8px; padding: 0 16px; background: #F4F1EC; border-bottom: 1px solid rgba(17, 17, 16, 0.08); }
.ovp-yt__menu { width: 12px; height: 8px; border-width: 1.5px; } .ovp-yt__menu::after { top: 1.75px; height: 1.5px; }
.ovp-yt__logo { gap: 4px; font-size: 12px; } .ovp-yt__logo svg { width: 18px; height: 13px; }
.ovp-yt__search { max-width: 240px; height: 24px; line-height: 24px; padding: 0 12px; background: #fff; font-size: 11px; }
.ovp-yt__me { width: 20px; height: 20px; }
.ovp-yt__body { grid-template-columns: minmax(0, 1fr) 208px; gap: 16px; padding: 16px; }
.ovp-yt .ovp-stage { border-radius: 8px; }
.ovp-yt .ovp-now { left: 8px; bottom: 8px; height: 28px; padding: 0 10px 0 8px; gap: 6px; font-size: 12px; }
.ovp-yt .ovp-now em { font-size: 11px; }
.ovp-yt__title { margin: 12px 0 4px; font-size: 15px; }
.ovp-yt__meta { margin: 0 0 12px; gap: 8px; font-size: 12px; }
.ovp-yt__live { padding: 2px 6px; }
.ovp-yt__chan { gap: 8px; margin: 0; }
.ovp-yt__av { width: 32px; height: 32px; }
.ovp-yt__chan > span:nth-child(2) { font-size: 11px; } .ovp-yt__chan b { font-size: 13px; }
.ovp-yt__sub { margin-left: 8px; height: 32px; line-height: 32px; padding: 0 16px; font-size: 12px; }
.ovp-yt__like { height: 32px; line-height: 32px; padding: 0 12px; font-size: 12px; }
.ovp-yt__chat { border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(17, 17, 16, 0.08); }
.ovp-yt__chat-h { height: 36px; padding: 0 12px; font-size: 12px; }
.ovp-yt__chat .ovp-chat__list { top: 36px; bottom: 44px; padding: 8px 12px; gap: 8px; font-size: 12px; line-height: 1.4; }
.ovp-yt .pf { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; } .ovp-yt .pf svg { width: 9px; height: 9px; }
.ovp-yt .ovp-chat__list .is-emo { font-size: 13px; }
.ovp-yt .ovp-chat__list p.is-event { padding: 4px 8px; border-radius: 8px; font-size: 11px; }
.ovp-yt__say { left: 8px; right: 8px; bottom: 8px; height: 28px; padding: 0 12px; font-size: 11px; }

/* the same size as the homepage hero preview: it reaches into the right margin like .z-stage */
@media (min-width: 1001px) {
  .ovp-hero__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
  .ovp-live { margin-right: calc(-1 * min(160px, max(0px, (100vw - var(--wrap)) / 2 - 24px))); }
  .ovp-yt__body { grid-template-columns: minmax(0, 1fr) 224px; }
}

/* scene tabs under the window, the homepage hero's tabs (ring timer on the one playing); tap to jump to that scene */
.a-steps { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.a-steps button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.a-steps button.is-on { color: var(--ink); border-color: rgba(17, 17, 16, 0.2); }
.a-steps button:hover:not(.is-on) { color: var(--ink); }
.a-steps button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.a-ring { width: 16px; height: 16px; flex: none; display: none; }
.a-steps button.is-on .a-ring { display: block; }
.a-ring circle { fill: none; stroke-width: 2.2; }
.a-ring__tr { stroke: rgba(17, 17, 16, 0.12); }
.a-ring__pg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 40.84; stroke-dashoffset: calc(40.84 * (1 - var(--p, 0))); transform: rotate(-90deg); transform-origin: 8px 8px; }
@media (max-width: 640px) { .a-steps button { height: 36px; padding: 0 12px; font-size: 13px; } }

/* the homepage hero's exact spacing (owner, 14 Nov 2026: "use same spacing like homepage"): .hero--dash grid and gaps,
   title 32px → line 40px → buttons 24px → ticks; the window is the same width as the homepage preview */
.ovp-hero h1 { font-size: clamp(44px, 4.8vw, 80px); line-height: 0.98; }
.ovp-hero__lede { margin: 32px 0 40px; max-width: 30em; line-height: 1.6; }
.ovp-ticks { margin-top: 24px; }
@media (min-width: 1001px) {
  .ovp-hero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 4vw, 64px); }
  .ovp-yt__body { grid-template-columns: minmax(0, 1fr) 200px; }
}
@media (max-width: 1000px) { .ovp-hero__lede { margin: 24px 0 32px; } }

/* hero sizes now come from bands.css .tool-hero (same as the homepage) */
.ovp-hero.tool-hero h1 { font-size: clamp(44px, 4.8vw, 80px); line-height: 1.08; }
.ovp-hero.tool-hero .ovp-hero__lede { margin: 32px 0 40px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; }
@media (max-width: 1000px) { .ovp-hero.tool-hero .ovp-hero__lede { margin: 24px 0 32px; } }

/* the ticks: one generic line (owner, 14 Nov 2026: "use some generic thing here … in one line") */
.ovp-ticks { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 420px) { .ovp-ticks { flex-wrap: wrap; white-space: normal; } }

/* the window bar is the homepage preview's bar (owner, 14 Nov 2026: "use consistent header like Homepage"):
   three grey dots and a centred address pill with a green dot */
.ovp-yt__bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; background: #F4F1EC; border-bottom: 1px solid rgba(17, 17, 16, 0.08); }
.ovp-dot { width: 10px; height: 10px; border-radius: 50%; background: #DCD6CC; flex: none; }
.ovp-yt__url { flex: 1; display: flex; justify-content: center; margin-right: 46px; }
.ovp-yt__url span { display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 16px; border-radius: 999px; background: #fff; color: #6B665E; font-size: 12px; font-weight: 500; white-space: nowrap; }
.ovp-yt__url span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2E9E5B; }
@media (max-width: 640px) { .ovp-yt__url { margin-right: 0; } }

/* --- Pick your look: the template shop (14 Nov 2026) -------------------------------------------------------------- */
.ovp-shop__main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px; border-radius: 32px; background: #F2EEE8; }
.ovp-shop__stage { margin: 0; }
.ovp-shop__frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #111110; box-shadow: 0 48px 96px -48px rgba(17, 17, 16, 0.55); }
.ovp-shop__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.6s, transform 6s linear; }
.ovp-shop__frame img.is-on { opacity: 1; transform: scale(1.1); }
.ovp-shop__live { position: absolute; z-index: 2; left: 14px; top: 14px; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 8px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.ovp-shop__live b { padding: 2px 6px; border-radius: 5px; background: #E5212E; font-size: 10px; letter-spacing: 0.06em; }
.ovp-shop__count { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff; font: 600 12px var(--sans); font-variant-numeric: tabular-nums; }
.ovp-shop__buy { display: grid; gap: 4px; padding: 8px 8px 8px 0; }
.ovp-shop__k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8A857C; }
.ovp-shop__name { margin: 4px 0 8px; font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.ovp-shop__name.is-swap { animation: ovp-up 0.45s var(--ease-out); }
.ovp-shop__what { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.ovp-shop__opts { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.ovp-shop__opts li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #ECE7DF; font-size: 14px; color: var(--muted); }
.ovp-shop__opts li b { color: var(--ink); font-size: 15px; } .ovp-shop__opts li strong { color: var(--ink); }
.ovp-shop__opts li[hidden] { display: none; }
.ovp-shop__opts li[data-shop-free] { box-shadow: inset 0 0 0 1.5px #2BBF6A; } .ovp-shop__opts li[data-shop-free] b { color: #1E8A4C; }
.ovp-shop__cta { justify-self: start; height: 56px; padding: 0 28px; font-size: 17px; }
.ovp-shop__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ovp-shop__note { margin: 12px 0 0; font-size: 13px; color: #8A857C; }
.ovp-shop__rail { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.ovp-shop__rail button { width: 100%; display: grid; gap: 8px; padding: 6px 6px 10px; border: 0; border-radius: 16px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background 0.25s, transform 0.25s var(--ease-out); }
.ovp-shop__rail button:hover { background: #F2EEE8; transform: translateY(-3px); }
.ovp-shop__rail img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px rgba(17, 17, 16, 0.08); transition: box-shadow 0.25s; }
.ovp-shop__rail span { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 2px; font-size: 13px; font-weight: 600; color: #6B675F; }
.ovp-shop__rail span b { padding: 1px 6px; border-radius: 999px; background: #E6F6EC; color: #1E8A4C; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.ovp-shop__rail button[aria-pressed="true"] { background: #F2EEE8; }
.ovp-shop__rail button[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--accent); }
.ovp-shop__rail button[aria-pressed="true"] span { color: var(--ink); }
.ovp-shop__rail button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1000px) { .ovp-shop__main { grid-template-columns: 1fr; } .ovp-shop__buy { padding: 0 8px 8px; } .ovp-shop__rail { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) {
  .ovp-shop__main { padding: 12px; border-radius: 24px; gap: 20px; }
  .ovp-shop__rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ovp-shop__rail::-webkit-scrollbar { display: none; } .ovp-shop__rail li { scroll-snap-align: start; }
  .ovp-shop__opts li { grid-template-columns: 1fr; gap: 2px; } .ovp-shop__cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ovp-shop__frame img { transition: opacity 0.2s; transform: none !important; } }

/* fixes: thumbnails keep 16:9 (the height attribute was winning); LIVE + counter sit in a bar under the preview so
   they never cover a template's own title */
.ovp-shop__rail img { height: auto; }
.ovp-shop__frame img { height: 100%; }
.ovp-shop__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 0 4px; }
.ovp-shop__bar .ovp-shop__live, .ovp-shop__bar .ovp-shop__count { position: static; background: none; color: var(--muted); padding: 0; }
.ovp-shop__bar .ovp-shop__live { gap: 8px; font-size: 13px; } .ovp-shop__bar .ovp-shop__live b { color: #fff; }
.ovp-shop__bar .ovp-shop__count { font-size: 13px; }
