/* TerritóriumX House Party 5.1 · TV/desktop arculat és kezelőfelület */
:root{--tx51-ink:#edf7ff;--tx51-cyan:#52e4ff;--tx51-gold:#ffd68b;--tx51-shadow:0 22px 70px #02091699}
body.tx48-home{background-color:#050b16!important;background-image:radial-gradient(ellipse at 14% 10%,#203e61 0%,transparent 37%),radial-gradient(ellipse at 88% 26%,#142c4a 0%,transparent 43%),linear-gradient(155deg,#08101c,#060b17 60%,#131320)!important;color:#f0f8ff;min-height:100dvh}
body.tx48-home:before{content:'';position:fixed;inset:0;z-index:-1;opacity:.12;background-image:linear-gradient(#8ad8ff44 1px,transparent 1px),linear-gradient(90deg,#8ad8ff44 1px,transparent 1px);background-size:54px 54px;pointer-events:none}
body.tx48-home .container{background:#0c1825e9!important;border:1px solid #2b556b!important;box-shadow:var(--tx51-shadow),0 0 110px #1476b525!important;backdrop-filter:blur(19px);border-radius:28px!important}
body.tx48-home .tab,body.tx48-home .preset-card{border-radius:15px!important;transition:transform .18s ease,border-color .18s ease,background .18s ease;box-shadow:inset 0 1px #ffffff15}
body.tx48-home .tab:hover,body.tx48-home .preset-card:hover{transform:translateY(-2px);border-color:#5ddcf3!important}
body.tx48-home .tab.active{border-color:#64e7ff!important;box-shadow:0 0 22px #20b0ff2c!important}
body.tx48-home .config-box{background:#0b1b2b!important;border:1px solid #345265!important;border-radius:20px!important}
body.tx48-home input,body.tx48-home select{border-radius:11px!important;background:#122739!important;border:1px solid #45647c!important;color:#f4fbff!important}
body.tx48-home button[type=submit],body.tx48-home .primary{border-radius:14px!important;background:linear-gradient(110deg,#16bed6,#3286e0)!important;box-shadow:0 10px 28px #126abd48}
body.tx48-home h1,body.tx48-home h2{letter-spacing:-.03em}
body.tx48-game{font-family:system-ui,-apple-system,Segoe UI,sans-serif}
body.tx48-game #hud-top,body.tx48-game #overlay{backdrop-filter:blur(16px);background:linear-gradient(#071324ec,#0713249b)!important;border-bottom:1px solid #6ddaf733!important}
body.tx48-game .player-info,body.tx48-game .game-status{border-radius:16px!important}
body.tx48-game #controls,body.tx48-game #quiz-panel{background:#0b1d30f2!important;border:1px solid #78c5e455!important;box-shadow:var(--tx51-shadow)!important}
body.tx48-game button{transition:transform .12s ease,filter .12s ease}
body.tx48-game button:hover{filter:brightness(1.1)}
body.tx48-game .tx-report-btn{border-radius:12px!important}
/* TV-társasági HUD: a Street View képet ne takarja el jelentősen */
.tx51-hud{position:fixed;right:14px;top:clamp(96px,14vh,150px);z-index:110;max-width:315px;width:min(315px,31vw);color:#e5f8ff;border:1px solid #65cde47a;background:linear-gradient(155deg,#071b2bec,#11273bee);box-shadow:0 20px 54px #000a;border-radius:18px;padding:12px 13px;pointer-events:none;backdrop-filter:blur(15px);font:650 12px/1.4 system-ui}
.tx51-hud[hidden]{display:none!important}
.tx51-hud-title{display:flex;gap:6px;align-items:center;color:#65e8fb;letter-spacing:.08em;font-weight:950;font-size:11px;padding-bottom:9px;border-bottom:1px solid #8cceee38}.tx51-hud-title span:last-child{margin-left:auto;color:#f6d690}
.tx51-live-dot{width:8px;height:8px;display:inline-block;background:#59f0bb;border-radius:50%;box-shadow:0 0 10px #59f0bb;animation:tx51breathe 1.8s infinite}
.tx51-hud-turn{font-weight:950;font-size:17px;margin-top:11px}.tx51-hud-next{color:#f4d498;font-size:13px;padding:5px 0 9px}
.tx51-hud-roster{display:flex;gap:5px;flex-wrap:wrap;max-height:126px;overflow:hidden}
.tx51-hud-roster span{padding:4px 7px;background:#233d50;border:1px solid #445f6b;border-radius:8px;font-size:11px}.tx51-hud-roster span.on{border-color:#ffcc6e;background:#594320;color:#fff2d3}.tx51-hud-roster small{font-size:10px}
.tx51-hud-scores{color:#b5d9e6;padding-top:9px;margin-top:9px;border-top:1px solid #8cceee38}
#tx51-fullscreen-action{position:fixed;left:12px;top:11px;z-index:120;border:1px solid #51c8da;background:#0b273adf;color:#dcfcff;border-radius:999px;padding:8px 12px;font:800 11px system-ui;cursor:pointer;box-shadow:0 8px 18px #0009}
#tx51-screen-lock{position:fixed;inset:0;background:radial-gradient(circle at 50% 40%,#1e5278de,#030915f0 65%);backdrop-filter:blur(20px);display:grid;place-items:center;padding:20px;z-index:999999;color:#eaffff;font-family:system-ui}
#tx51-screen-lock.tx51-hide,#tx51-screen-lock.tx51-optional{display:none!important}
.tx51-lock-card{width:min(540px,100%);background:#0b1a2af6;border:1px solid #67cfef77;border-radius:28px;box-shadow:0 25px 85px #000c;text-align:center;padding:32px}.tx51-lock-icon{font-size:43px;color:#72e8f8}.tx51-lock-kicker{font-size:12px;font-weight:950;letter-spacing:.14em;color:#81d9f5}.tx51-lock-card h2{font-size:clamp(25px,5vw,40px);font-weight:1000;margin:12px}.tx51-lock-card p{color:#c5dfed;line-height:1.6}.tx51-lock-card button{display:block;width:100%;background:linear-gradient(110deg,#45d8ee,#408df2);color:#061d27;border:0;border-radius:14px;padding:16px;font-weight:950;cursor:pointer}.tx51-lock-card small{display:block;margin-top:16px;color:#a1bbcc;line-height:1.5}
@keyframes tx51breathe{50%{opacity:.35;transform:scale(.85)}}
@media(max-width:920px){.tx51-hud{display:none}#tx51-fullscreen-action{display:none}}
@media(prefers-reduced-motion:reduce){.tx51-hud *{animation:none!important;transition:none!important}}
