@font-face{font-family:'DM Sans';src:url('/assets/fonts/kits/dm-sans-normal-400-800.woff2') format('woff2');font-weight:400 800;font-display:swap}
:root{--tv-ink:#161616;--tv-grey:#5d5d66;--tv-line:#dcdce2;--tv-ground:#f7f6f4;--tv-bar:72px}
*{box-sizing:border-box}
html,body{height:100%}
body.tv{margin:0;display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden;background:#fff;color:var(--tv-ink);font:400 16px/24px 'DM Sans',Arial,sans-serif}
.tv-bar{position:relative;z-index:2;display:flex;align-items:center;gap:16px;flex:none;height:var(--tv-bar);padding:0 48px;background:#fff;box-shadow:0 2px 18px rgba(129,162,182,.2)}
.tv-back{display:inline-flex;align-items:center;gap:8px;height:40px;margin-left:-10px;padding:0 12px 0 10px;border-radius:8px;color:var(--tv-ink);font-weight:500;text-decoration:none;flex:none}
.tv-back:hover{background:#f2f3f5}
.tv-back svg{width:18px;height:18px}
.tv-name{flex:1 1 auto;min-width:0;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:600 16px/24px 'DM Sans',Arial,sans-serif}
.tv-kind{color:var(--tv-grey);font-weight:400}
.tv-devices{display:flex;flex:none;margin-right:24px;border:1px solid var(--tv-line);border-radius:999px;overflow:hidden}
.tv-device{display:grid;place-items:center;width:52px;height:38px;padding:0;border:0;background:#fff;color:var(--tv-ink);cursor:pointer}
.tv-device svg{width:32px;height:32px}
.tv-device svg path{vector-effect:non-scaling-stroke}
.tv-device+.tv-device{border-left:1px solid var(--tv-line)}
.tv-device:hover{background:#f2f3f5}
.tv-device[aria-pressed="true"]{background:var(--tv-ink);color:#fff}
.tv-use{display:inline-flex;align-items:center;gap:8px;flex:none;height:40px;padding:0 27px;border-radius:999px;background:var(--tv-ink);color:#fff;font-weight:500;text-decoration:none}
.tv-use:hover{background:#000}
.tv-use svg{width:16px;height:16px}
.tv-back:focus-visible,.tv-device:focus-visible,.tv-use:focus-visible{outline:2px solid #116dff;outline-offset:2px}
.tv-stage{position:relative;flex:1 1 auto;min-height:0;display:flex;justify-content:center;background:var(--tv-ground)}
.tv-frame{width:100%;height:100%;background:#fff}
.tv-frame iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.tv-stage[data-device="tablet"] .tv-frame,.tv-stage[data-device="phone"] .tv-frame{height:calc(100% - 48px);margin:24px 0;border-radius:16px;overflow:hidden;box-shadow:0 0 0 1px var(--tv-line),0 12px 32px rgba(22,22,26,.14)}
.tv-stage[data-device="tablet"] .tv-frame{width:768px;flex:none}
.tv-stage[data-device="phone"] .tv-frame{width:390px;flex:none}
.tv-note{position:fixed;left:50%;bottom:24px;z-index:3;width:max-content;max-width:min(560px,calc(100% - 32px));margin:0;padding:12px 18px;transform:translateX(-50%);border-radius:12px;background:var(--tv-ink);color:#fff;font-size:14px;line-height:20px;box-shadow:0 8px 24px rgba(22,22,26,.2)}
.tv-note[hidden]{display:none}
@media (max-width:1023px){
.tv-devices{display:none}
.tv-stage[data-device] .tv-frame{width:100%;height:100%;margin:0;border-radius:0;box-shadow:none}
}
@media (max-width:767px){
:root{--tv-bar:62px}
.tv-bar{gap:10px;padding:0 18px}
.tv-back{margin-left:-8px;padding:0 6px;min-width:44px;height:44px}
.tv-kind{display:none}
.tv-use{padding:0 16px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
