/* KinPella — Play on TV connection sheet + its entry points.
   Loaded on every page (site shell + /play). Navy token family
   (logo navy #17244b = --navy-800 / --navy-2), gold accent, white
   sheet. Motion per the app standard: the sheet rises fast-then-slow
   and .press buttons sink-then-spring (motion.css). One Back step —
   the overlay-history registration lives in tv-sheet.js. */
[data-tv-open]{font-family:inherit}

/* ── /play header entry: a compact TV pill in the brand row ── */
.kh-tv{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 13px;border-radius:999px;border:1.5px solid var(--navy-200,#bcc7e2);background:#fff;color:var(--navy-800,#17244b);font-family:inherit;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}
.kh-tv .kh-tv-ic{font-size:16px;line-height:1}
.kh-tv .kh-tv-ic svg{width:19px;height:19px;fill:currentColor;display:block}

/* ── Site menu entry: the gold-touched top row ── */
.menu-list .menu-tv{color:#fff;font-size:16.5px;background:rgba(255,201,77,.10)}
.menu-list .menu-tv:hover{color:#ffca71}

/* ── The sheet ── */
.tvs-scrim{position:fixed;inset:0;background:rgba(5,10,30,.55);opacity:0;transition:opacity .2s ease;z-index:290}
.tvs-scrim.open{opacity:1}
.tvs-sheet{position:fixed;left:0;right:0;bottom:0;margin:0 auto;width:100%;max-width:560px;max-height:92dvh;overflow-y:auto;background:#fff;color:var(--navy-950,#0a1128);border-radius:22px 22px 0 0;box-shadow:0 -18px 55px rgba(5,10,30,.35);padding:10px 22px calc(20px + env(safe-area-inset-bottom));z-index:300;transform:translateY(106%);transition:transform .3s cubic-bezier(.55,0,.1,1);font-family:var(--font-ui)}
.tvs-sheet.open{transform:translateY(0)}
.tvs-grab{width:44px;height:5px;border-radius:99px;background:#d5dbe8;margin:2px auto 10px}
.tvs-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tvs-head h2{margin:0;font-size:21px;letter-spacing:-.02em;color:var(--navy-900,#101a38)}
.tvs-head h2 svg{width:22px;height:22px;fill:currentColor;vertical-align:-5px;margin-inline-end:6px}
.tvs-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--navy-50,#eef1f8);color:var(--navy-800,#17244b);cursor:pointer;flex:none}
.tvs-intro{margin:8px 0 14px;font-size:14.5px;line-height:1.5;color:#43536d}
.tvs-cast{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;border:0;border-radius:14px;background:var(--navy-800,#17244b);color:#fff;font-family:inherit;font-size:16.5px;font-weight:800;cursor:pointer;box-shadow:0 10px 20px -8px rgba(10,17,40,.5), inset 0 1px 0 rgba(255,255,255,.25)}
.tvs-cast svg{width:23px;height:23px;fill:#fff;flex:none}
.tvs-help{margin:12px 0 0;background:#fff7e0;border:1px solid #f0d48a;border-radius:12px;padding:11px 13px;font-size:13.5px;line-height:1.5;color:#5c4a12}
.tvs-block{margin-top:16px;padding-top:14px;border-top:1px solid #e4e8ef}
.tvs-block h3{margin:0 0 6px;font-size:15.5px;color:var(--navy-900,#101a38)}
.tvs-block p{margin:0;font-size:14px;line-height:1.5;color:#43536d}
.tvs-link{color:var(--violet-dark,#5540b7);font-weight:800;word-break:break-all}
.tvs-qr-row{display:flex;align-items:center;gap:14px;margin-top:10px}
.tvs-qr{flex:none;line-height:0}
.tvs-qr svg{width:92px;height:92px}
.tvs-qr-cap{font-size:13.5px;color:#5c6d86;margin:0}
.tvs-code{font-size:42px;font-weight:900;letter-spacing:.16em;color:var(--navy-800,#17244b);line-height:1.1;margin:2px 0 6px}
.tvs-start{display:flex;align-items:center;justify-content:center;width:100%;min-height:58px;margin-top:16px;border-radius:13px;background:var(--amber,#ffc94d);color:#231a04;font-size:16.5px;font-weight:800;text-decoration:none;box-shadow:0 10px 20px -6px rgba(217,154,38,.5), inset 0 1px 0 rgba(255,255,255,.5)}
@media (prefers-reduced-motion: reduce){
  .tvs-scrim,.tvs-sheet{transition:none}
}
.tvs-note{margin:12px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink-soft,#54628a);text-align:center}
