/* SOBER7 Library: a calm, cinematic, streaming-style home for films and audio */
.tv { --tv-bg: #0D1412; --tv-bg2: #131C19; --tv-card: #18231F; --tv-line: rgba(255,255,255,.09); --tv-text: #E9F0EC; --tv-mute: #9DB0A8; --tv-dim: #6F837B; --tv-accent: #8FD3B0; --tv-purple: #9C8CF5;
  background: var(--tv-bg); color: var(--tv-text); margin-top: -1px; }
html.tv-page body { background: #0D1412; }
html.tv-page .nav { --nav-bg: 1; }

/* billboard */
.tv-bill { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; padding: 120px 0 64px; background-image: var(--bill); background-size: cover; background-position: center 30%; isolation: isolate; }
.tv-bill::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,20,18,.96) 0%, rgba(13,20,18,.78) 38%, rgba(13,20,18,.15) 75%), linear-gradient(0deg, #0D1412 0%, rgba(13,20,18,0) 45%); }
.tv-bill__inner { max-width: 1180px; width: 100%; }
.tv-bill__kicker { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--tv-accent); }
.tv-bill__kicker span { color: #fff; }
.tv-bill__title { margin: 0 0 14px; max-width: 16ch; font-family: var(--heading); font-weight: 300; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; color: #fff; }
.tv-bill__meta, .tv-sheet__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 14px; font-size: 13.5px; color: var(--tv-mute); }
.tv-bill__why { margin: 0 0 24px; max-width: 54ch; font-size: 16.5px; line-height: 1.55; color: #D6E1DB; }
.tv-bill__why em { font-style: normal; color: #fff; }
.tv-bill__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tv-btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 8px; border: 0; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.tv-btn:hover { background: rgba(255,255,255,.26); }
.tv-btn--play { background: #fff; color: #0D1412; }
.tv-btn--play:hover { background: #E6EEE9; transform: translateY(-1px); }
.tv-btn:focus-visible, .tv-card:focus-visible { outline: 3px solid var(--tv-accent); outline-offset: 3px; }
.tv-type { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 5px; background: rgba(255,255,255,.12); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }

/* body */
.tv-body { padding: 8px 0 72px; }
.tv-tools { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.tv-intro h2 { margin: 0 0 4px; font-family: var(--heading); font-weight: 400; font-size: 1.6rem; color: #fff; }
.tv-intro p { margin: 0; color: var(--tv-mute); font-size: 14.5px; max-width: 60ch; }
.tv-search { display: flex; align-items: center; gap: 8px; width: min(100%, 320px); padding: 0 14px; border-radius: 999px; background: var(--tv-card); border: 1px solid var(--tv-line); color: var(--tv-mute); }
.tv-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 11px 0; font: inherit; font-size: 14.5px; color: #fff; outline: none; }
.tv-search input::placeholder { color: var(--tv-dim); }
.tv-search:focus-within { border-color: var(--tv-accent); }

/* rows */
.tv-row { margin-top: 30px; }
.tv-row__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.tv-row__head h2 { margin: 0; font-size: 1.12rem; font-weight: 600; color: #fff; letter-spacing: -0.005em; }
.tv-row__head p { margin: 0; font-size: 13px; color: var(--tv-dim); }
.tv-row__nav { margin-left: auto; display: flex; gap: 6px; }
.tv-row__nav button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--tv-line); background: var(--tv-card); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.tv-row__nav button:hover { border-color: var(--tv-accent); }
.tv-row__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 3 * 14px) / 4)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: none; }
.tv-row__track::-webkit-scrollbar { display: none; }

/* cards */
.tv-card { scroll-snap-align: start; display: grid; gap: 10px; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.tv-card__art { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--tv-card) center / cover no-repeat; box-shadow: 0 0 0 1px var(--tv-line); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.tv-card__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); }
.tv-card:hover .tv-card__art, .tv-card:focus-visible .tv-card__art { transform: scale(1.04); box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 2px var(--tv-accent); }
.tv-card .tv-type { position: absolute; top: 8px; left: 8px; z-index: 1; background: rgba(13,20,18,.72); }
.tv-dur { position: absolute; bottom: 8px; right: 8px; z-index: 1; padding: 2px 7px; border-radius: 5px; background: rgba(13,20,18,.78); font-size: 11.5px; font-weight: 600; color: #fff; }
.tv-card__play { position: absolute; z-index: 1; left: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0D1412; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.tv-card:hover .tv-card__play, .tv-card:focus-visible .tv-card__play { opacity: 1; transform: none; }
.tv-card__lock { position: absolute; z-index: 1; inset: auto auto 10px 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(13,20,18,.8); font-size: 12px; font-weight: 600; color: #D9CFFF; }
.tv-card.is-locked .tv-card__art { filter: grayscale(.85) brightness(.55); }
.tv-done { position: absolute; z-index: 1; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 5px; background: var(--tv-accent); color: #0D1412; font-size: 11px; font-weight: 700; }
.tv-prog { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.25); }
.tv-prog i { display: block; height: 100%; background: #E5484D; }
.tv-card__txt { display: grid; gap: 2px; padding: 0 2px; }
.tv-card__txt b { font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-card__txt small { font-size: 12.5px; color: var(--tv-accent); }
.tv-card.is-locked .tv-card__txt small { color: var(--tv-dim); }

/* results grid */
.tv-results { margin-top: 26px; }
.tv-results__h { margin: 0 0 14px; font-size: 1.05rem; font-weight: 600; color: #fff; }
.tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 22px 14px; }
.tv-empty { color: var(--tv-mute); }

/* help */
.tv-help { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--tv-line); }
.tv-help h2 { margin: 0 0 14px; font-size: 1.12rem; font-weight: 600; color: #fff; }
.tv-help__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tv-help__grid div { display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; background: var(--tv-card); border: 1px solid var(--tv-line); }
.tv-help__grid b { font-family: var(--heading); font-weight: 400; font-size: 1.6rem; color: #fff; }
.tv-help__grid span { font-size: 13.5px; color: var(--tv-mute); line-height: 1.5; }

/* detail sheet */
.tv-sheet { --tv-bg: #0D1412; --tv-bg2: #131C19; --tv-card: #18231F; --tv-line: rgba(255,255,255,.09); --tv-text: #E9F0EC; --tv-mute: #9DB0A8; --tv-dim: #6F837B; --tv-accent: #8FD3B0; --tv-purple: #9C8CF5; color: var(--tv-text); }
html.tv-lock, html.tv-lock body { overflow: hidden; }
.tv-sheet { position: fixed; inset: 0; z-index: 1100; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; }
.tv-sheet[hidden] { display: none; }
.tv-sheet__bg { position: absolute; inset: 0; background: rgba(4,8,7,.72); backdrop-filter: blur(6px); animation: tvFade .25s ease; }
.tv-sheet__panel { position: relative; width: min(900px, calc(100% - 32px)); max-height: calc(100vh - 48px); margin-top: 24px; overflow-y: auto; border-radius: 16px; background: var(--tv-bg2); color: var(--tv-text); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: tvRise .35s cubic-bezier(.2,.8,.2,1); scrollbar-width: thin; }
@keyframes tvFade { from { opacity: 0; } } @keyframes tvRise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.tv-sheet__x { position: absolute; z-index: 5; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(13,20,18,.8); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.tv-sheet__hero { position: relative; aspect-ratio: 16 / 8; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.tv-sheet__hero.is-playing { aspect-ratio: auto; display: block; background: #000; }
.tv-sheet__hero.is-playing .player { border-radius: 0; margin: 0; }
.tv-sheet__hero.is-playing + .tv-sheet__body { padding-top: 22px; }
.tv-sheet__shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--tv-bg2) 4%, rgba(19,28,25,0) 60%); }
.tv-sheet__head { position: relative; padding: 0 32px 24px; }
.tv-sheet__head h2 { margin: 0 0 14px; font-family: var(--heading); font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; color: #fff; max-width: 18ch; }
.tv-sheet__locked { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 8px; background: rgba(13,20,18,.8); color: #D9CFFF; font-weight: 600; font-size: 14px; }
.tv-sheet__body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; padding: 6px 32px 8px; }
.tv-match { color: #4ADE80; font-weight: 700; }
.tv-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--tv-accent); font-weight: 600; }
.tv-sheet__about { margin: 0 0 16px; font-size: 15.5px; line-height: 1.6; color: #D6E1DB; }
.tv-why { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: rgba(156,140,245,.12); border: 1px solid rgba(156,140,245,.28); }
.tv-why b { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: #C9BFFF; }
.tv-why ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 4px; font-size: 14.5px; color: #E8E3FF; }
.tv-sheet__main h3, .tv-sheet__more h3 { margin: 18px 0 10px; font-size: 1rem; font-weight: 600; color: #fff; }
.tv-points { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; color: #C9D6CF; }
.tv-quote { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--tv-accent); background: rgba(255,255,255,.04); border-radius: 0 10px 10px 0; font-family: var(--heading); font-weight: 300; font-size: 1.12rem; line-height: 1.5; color: #fff; }
.tv-quote cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--sans, inherit); font-size: 12.5px; color: var(--tv-dim); }
.tv-sheet__side p { margin: 0 0 12px; font-size: 13.5px; color: #D6E1DB; line-height: 1.45; }
.tv-sheet__side span { display: block; font-size: 12px; color: var(--tv-dim); }
.tv-sheet__more { padding: 8px 32px 32px; }
.tv-sheet__more .tv-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

@media (max-width: 900px) {
  .tv-row__track { grid-auto-columns: minmax(220px, 42%); }
  .tv-help__grid { grid-template-columns: 1fr; }
  .tv-sheet__body { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 600px) {
  .tv-bill { min-height: 74vh; padding: 100px 0 36px; background-position: 60% center; }
  .tv-bill::before { background: linear-gradient(0deg, #0D1412 12%, rgba(13,20,18,.55) 60%, rgba(13,20,18,.25)); }
  .tv-row__track { grid-auto-columns: 72%; }
  .tv-row__nav { display: none; }
  .tv-sheet__panel { width: 100%; max-height: 100vh; margin-top: 0; border-radius: 0; }
  .tv-sheet__head, .tv-sheet__body, .tv-sheet__more { padding-left: 18px; padding-right: 18px; }
  .tv-sheet__hero { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .tv-card__art, .tv-sheet__panel, .tv-sheet__bg { transition: none; animation: none; } }

/* ---- light theme: the library inside the standard Sober7 page style ---- */
.lib-intro { max-width: 46ch; }
.lib-access { margin: 14px 0 0; display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--sage); color: var(--ok); font-size: 13px; font-weight: 600; }
.tv--light { --tv-card: var(--surface); --tv-line: var(--line); --tv-text: var(--ink); --tv-mute: var(--text-2); --tv-dim: var(--text-3); --tv-accent: var(--ok);
  background: none; color: var(--ink); margin-top: 0; }
.tv--light .tv-bill { min-height: min(62vh, 560px); padding: 56px 0 44px; border-radius: 18px; overflow: hidden; margin-bottom: 44px; box-shadow: 0 24px 60px rgba(29,43,44,.18); }
.tv--light .tv-bill__inner { padding: 0 44px; }
.tv--light .tv-bill .tv-btn:not(.tv-btn--play) { background: rgba(255,255,255,.18); }
.tv--light .tv-tools { margin-bottom: 4px; padding: 0; }
.tv--light .tv-intro .kicker { margin: 0 0 6px; }
.tv--light .tv-intro .h2 { margin: 0; color: var(--ink); }
.tv--light .tv-search { background: var(--surface); border-color: var(--line-2); color: var(--text-3); }
.tv--light .tv-search input { color: var(--ink); }
.tv--light .tv-search input::placeholder { color: var(--text-3); }
.tv--light .tv-row__head h2, .tv--light .tv-results__h { color: var(--ink); }
.tv--light .tv-row__head p { color: var(--text-3); }
.tv--light .tv-row__nav button { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.tv--light .tv-card__art { box-shadow: 0 0 0 1px var(--line); }
.tv--light .tv-card:hover .tv-card__art, .tv--light .tv-card:focus-visible .tv-card__art { box-shadow: 0 16px 36px rgba(29,43,44,.22), 0 0 0 2px var(--ok); }
.tv--light .tv-card__txt b { color: var(--ink); }
.tv--light .tv-card__txt small { color: var(--ok); }
.tv--light .tv-card.is-locked .tv-card__txt small { color: var(--text-3); }
.tv--light .tv-done { background: var(--ok); color: #fff; }
.tv--light .tv-empty { color: var(--text-2); }

/* light detail sheet */
.tv-sheet--light { --tv-bg2: #FFFFFF; --tv-text: var(--ink); --tv-mute: var(--text-2); --tv-dim: var(--text-3); --tv-accent: var(--ok); --tv-line: var(--line); --tv-card: var(--surface); color: var(--ink); }
.tv-sheet--light .tv-sheet__bg { background: rgba(20,32,28,.55); }
.tv-sheet--light .tv-sheet__panel { background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(20,32,28,.35); }
.tv-sheet--light .tv-sheet__shade { background: linear-gradient(0deg, rgba(10,16,14,.88) 0%, rgba(10,16,14,.35) 45%, rgba(10,16,14,0) 75%); }
.tv-sheet--light .tv-sheet__meta { color: var(--text-2); }
.tv-sheet--light .tv-sheet__meta .tv-type { background: var(--sage); color: var(--ok); }
.tv-sheet--light .tv-match { color: #1E8E4E; }
.tv-sheet--light .tv-sheet__about { color: var(--text); }
.tv-sheet--light .tv-why { background: #F5F2FC; border-color: #DCD3F2; }
.tv-sheet--light .tv-why b { color: #4F3A9E; }
.tv-sheet--light .tv-why ul { color: #3E2F86; }
.tv-sheet--light .tv-sheet__main h3, .tv-sheet--light .tv-sheet__more h3 { color: var(--ink); }
.tv-sheet--light .tv-points { color: var(--text-2); }
.tv-sheet--light .tv-quote { background: #F7FAF8; color: var(--ink); border-left-color: var(--ok); }
.tv-sheet--light .tv-sheet__side p { color: var(--ink); }
.tv-sheet--light .tv-card__txt b { color: var(--ink); }
.tv-sheet--light .tv-card__txt small { color: var(--ok); }
.tv-sheet--light .tv-ok { color: var(--ok); }
@media (max-width: 600px) {
  .tv--light .tv-bill { min-height: 70vh; border-radius: 14px; }
  .tv--light .tv-bill__inner { padding: 0 20px; }
}

.tv--light .tv-bill { --tv-accent: #8FD3B0; --tv-mute: #C3D1CA; --tv-dim: #9DB0A8; color: #fff; }

.tv-alt, .tv-note { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--tv-mute); }
.tv-alt a { color: var(--tv-accent); font-weight: 600; }
.tv-sheet--light .tv-alt, .tv-sheet--light .tv-note { color: var(--text-2); }
.tv-sheet--light .tv-alt a { color: var(--ok); }
a.tv-btn { text-decoration: none; }

/* ---- watch view: plays on the page below the header (no pop-ups) ---- */
.tv-watch { scroll-margin-top: 96px; }
.tv-watch[hidden], [data-home][hidden] { display: none; }
.tv-watch__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.tv-home { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 13px; border-radius: 999px; border: 1px solid var(--line-2, rgba(0,0,0,.14)); background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.tv-home:hover { border-color: var(--ok); color: var(--ok); }
.tv-home:focus-visible { outline: 3px solid var(--ok); outline-offset: 2px; }
.tv-watch__crumb { font-size: 13.5px; color: var(--text-3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-watch__crumb i { font-style: normal; margin: 0 4px; opacity: .6; }
.tv-sheet--light .tv-watch__panel { position: relative; width: 100%; max-height: none; margin: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 20px 50px rgba(29,43,44,.14), 0 0 0 1px var(--line); animation: tvRise .35s cubic-bezier(.2,.8,.2,1); }
.tv-watch__panel .tv-sheet__hero { aspect-ratio: 16 / 7; }
.tv-watch__panel .tv-sheet__hero.is-playing { aspect-ratio: auto; }
.tv-watch__panel .tv-sheet__body { padding: 10px 32px 28px; grid-template-columns: minmax(0, 1fr) 240px; }
.tv-watch__more { margin-top: 40px; }
.tv-watch__more .tv-row__head h2 { color: var(--ink); }
.tv-watch__back { margin: 36px 0 0; text-align: center; }
.tv-new { position: absolute; z-index: 1; top: 8px; right: 8px; padding: 3px 8px; border-radius: 5px; background: #7A55C2; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.tv-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2, rgba(0,0,0,.14)); background: var(--surface, #fff); color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.tv-chip:hover { border-color: var(--ok); color: var(--ok); }
.tv-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg, #fff); }
.tv-next { display: grid; gap: 4px; margin-top: 44px; padding: 22px 26px; border-radius: 16px; border: 1px dashed var(--line-2, rgba(0,0,0,.18)); background: var(--surface, #fff); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.tv-next:hover { border-color: var(--ok); }
.tv-next__k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7A55C2; }
.tv-next b { font-family: var(--heading); font-weight: 400; font-size: 1.35rem; }
.tv-next span { font-size: 14.5px; color: var(--text-2); }
.tv-next .tv-next__go { margin-top: 6px; font-weight: 600; color: var(--ok); }
@media (max-width: 900px) { .tv-watch__panel .tv-sheet__body { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .tv-watch__panel .tv-sheet__hero { aspect-ratio: 4 / 3; }
  .tv-watch__panel .tv-sheet__body { padding: 8px 18px 22px; }
  .tv-sheet--light .tv-watch__panel { border-radius: 14px; }
  .tv-watch__crumb { flex-basis: 100%; }
}
.tv-watch .tv-sheet__hero > .player__note { display: none; }

/* shorter featured banner */
.tv--light .tv-bill { min-height: min(44vh, 400px); padding: 36px 0 34px; margin-bottom: 36px; }
.tv--light .tv-bill__title { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: 12px; }
.tv--light .tv-bill__kicker { margin-bottom: 8px; }
.tv--light .tv-bill__meta { margin-bottom: 10px; }
.tv--light .tv-bill__why { margin-bottom: 18px; }
@media (max-width: 600px) { .tv--light .tv-bill { min-height: 54vh; padding: 28px 0 26px; } }

/* type + day filters */
.tv-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 16px 0 4px; }
.tv-filters .tv-chips { margin: 0; }
.tv-filters .tv-chips + .tv-chips { padding-left: 22px; border-left: 1px solid var(--line, rgba(0,0,0,.1)); }
.tv-chip { display: inline-flex; align-items: center; gap: 7px; }
.tv-chip svg { opacity: .8; }
.tv-chip i { font-style: normal; font-size: 12px; font-weight: 600; opacity: .6; }
@media (max-width: 600px) { .tv-filters .tv-chips + .tv-chips { padding-left: 0; border-left: 0; } }

/* guided Commitment practice inside the watch view */
.tv-sheet__hero.is-guide { background: var(--surface) !important; }
.tv-guide { padding: 22px 26px 6px; }
.tv-guide .guide { border: 0; padding: 6px 0 0; margin: 0; background: none; }
.tv-guide .guide__pledge { margin: 20px 0 0; }
@media (max-width: 600px) { .tv-guide { padding: 14px 14px 4px; } }

/* details under the player: short by default, the rest behind "More details" */
.tv-more-btn { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2, rgba(0,0,0,.14)); background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.tv-more-btn:hover { border-color: var(--ok); color: var(--ok); }
.tv-details[hidden] { display: none; }
.tv-watch__panel .tv-sheet__body:first-of-type { padding-bottom: 22px; }
.tv-watch__panel .tv-details { padding-top: 0; border-top: 1px solid var(--line); margin: 0 32px; padding-left: 0; padding-right: 0; }
.tv-watch__panel .tv-details .tv-sheet__main { padding-top: 18px; }
.tv-watch__panel .tv-details .tv-sheet__side { padding-top: 18px; }
@media (max-width: 600px) { .tv-watch__panel .tv-details { margin: 0 18px; } }

/* ---------- locked Resources (before Day 1 is done) ---------- */
.rgate { position: relative; overflow: hidden; padding: clamp(120px, 15vh, 170px) 0 clamp(70px, 9vw, 110px); background: linear-gradient(180deg, #F4F8F5 0%, #FFFFFF 78%); }
.rgate__bg { position: absolute; inset: 0; pointer-events: none; }
.rgate__bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.rgate__bg i:nth-child(1) { width: 520px; height: 520px; top: -160px; right: -80px; background: radial-gradient(circle, #DCEFE3 0%, rgba(220,239,227,0) 70%); }
.rgate__bg i:nth-child(2) { width: 460px; height: 460px; top: 120px; left: -180px; background: radial-gradient(circle, #E7E2F3 0%, rgba(231,226,243,0) 70%); opacity: .45; }
.rgate__lotus { position: absolute; width: min(46vw, 560px); right: -60px; top: 70px; color: var(--accent); opacity: .07; pointer-events: none; }
.rgate__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rgate__kick { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--text-2); }
.rgate__kick span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lavender); color: var(--lav-ink); }
.rgate__kick svg { width: 12px; height: 12px; }
.rgate__h { margin: 0; font-family: var(--heading); font-weight: 300; font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; color: var(--ink); max-width: 15ch; text-wrap: balance; }
.rgate__lede { margin: 22px 0 0; max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--text-2); }
.rgate__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.rgate__more { font-size: 14.5px; font-weight: 500; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.rgate__more:hover { border-bottom-color: currentColor; }
.rgate__card { position: relative; padding: 26px 24px 20px; border-radius: 20px; background: rgba(255,255,255,.88); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(29,43,44,.04), 0 24px 60px rgba(29,43,44,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rgate__card-k { margin: 0 0 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.rgate__list { list-style: none; margin: 0; padding: 0; }
.rgate__item { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.rgate__item:first-child { border-top: 0; }
.rgate__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #EEF5F1; color: var(--accent); }
.rgate__ico svg { width: 17px; height: 17px; }
.rgate__item small { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.rgate__item b { display: block; font-weight: 500; font-size: 15px; line-height: 1.35; color: var(--ink); }
.rgate__lock { color: var(--lav-ink); opacity: .7; }
.rgate__card-f { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--ok); }
.rgate__pathwrap { position: relative; margin-top: clamp(80px, 10vw, 130px); scroll-margin-top: 90px; }
.rgate__path-k { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.rgate__path-h { margin: 0; font-family: var(--heading); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.03em; color: var(--ink); }
.rgate__path-p { margin: 12px 0 0; max-width: 60ch; color: var(--text-2); line-height: 1.6; }
.rgate__path { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.rgate__path::before { content: ""; position: absolute; top: 21px; left: 22px; right: calc(100% / 7 - 22px); height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.rgate__step { position: relative; }
.rgate__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--lav-ink); }
.rgate__step.is-next .rgate__dot { background: var(--accent); border-color: var(--accent); color: #fff; font-family: var(--heading); font-size: 18px; box-shadow: 0 0 0 6px rgba(44,110,104,.12); }
.rgate__step small { display: block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--text-3); }
.rgate__step.is-next small { color: var(--accent); }
.rgate__step b { display: block; margin-top: 4px; font-weight: 500; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.rgate__step:not(.is-next) b { color: var(--text-2); }
@media (max-width: 900px) {
  .rgate__in { grid-template-columns: 1fr; }
  .rgate__lotus { width: 70vw; opacity: .05; }
  .rgate__path { grid-template-columns: 1fr; gap: 0; }
  .rgate__path::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .rgate__step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 8px 0; align-items: center; }
  .rgate__step .rgate__dot { grid-row: span 2; }
  .rgate__step small { margin-top: 0; }
}
