@font-face{font-family:Manrope;src:url('/fonts/manrope-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
:root{--paper:#f5f2ec;--ink:#242a29;--quiet:#65716d;--coral:#d74932;--coral-dark:#a92f20}
html,body,button,input{font-family:Manrope,system-ui,sans-serif}
button,a,input{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #286d9d;outline-offset:4px}
.ui-icon{width:22px;height:22px;flex-shrink:0;display:inline-block;vertical-align:middle}
.icon-light{filter:invert(1)}
.wordmark{font-size:34px;font-weight:800;letter-spacing:-2.1px;text-decoration:none;color:inherit;line-height:1}
.wordmark span{color:var(--coral)}
html.browse-mode,body.browse-mode{background:var(--paper);color:var(--ink);--text:var(--ink);--muted:var(--quiet);--card:#fffefa;--card-border:#deded6;--green:#167356;--blue:#286d9d;--violet:#716089;--danger:#b5302c}
.browse-app{max-width:780px;padding:calc(22px + env(safe-area-inset-top)) 24px calc(108px + env(safe-area-inset-bottom));gap:0}
.brand-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:34px}
.edition{font-size:9px;font-weight:800;letter-spacing:1.5px;color:var(--quiet);margin-left:auto}
.icon-button{width:44px;height:44px;flex-shrink:0;border:1px solid #dcded5;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fffdf8;color:var(--ink);cursor:pointer;box-shadow:0 3px 0 #e4e2d9;transition:transform .15s,box-shadow .15s}
.icon-button .ui-icon{width:24px;height:24px}
.icon-button:active{transform:translateY(2px);box-shadow:0 1px 0 #e4e2d9}
.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;line-height:1.6;color:var(--quiet);margin:0 0 12px}
.welcome h1{font-size:clamp(30px,5.1vw,45px);font-weight:800;letter-spacing:-1.6px;line-height:1.17;margin-bottom:14px}
.welcome h1 span{color:#7c8780}
.welcome>p:not(.eyebrow){font-size:13px;line-height:1.65;color:var(--quiet);margin:0}
.welcome-actions{display:flex;gap:12px;margin:24px 0 38px}
.browse-mode .btn,.app-sheet .btn{min-height:52px;font-size:13px;font-weight:800;border-radius:15px;padding:14px 16px;line-height:1.4}
.welcome-actions .btn{flex:1;justify-content:space-between}
.browse-mode .btn-primary,.app-sheet .btn-primary{background:var(--coral);color:#fffdf8;border:1px solid #c6412c;box-shadow:0 5px 0 var(--coral-dark),0 8px 12px #a8432220}
.browse-mode .btn-primary:active,.app-sheet .btn-primary:active{transform:translateY(4px);box-shadow:0 1px 0 var(--coral-dark)}
.browse-mode .btn-secondary,.app-sheet .btn-secondary{background:#fffefa;color:var(--ink);border:1px solid #dedfd6;box-shadow:0 4px 0 #dedfd5}
.browse-mode .btn-secondary:active,.app-sheet .btn-secondary:active{transform:translateY(3px);box-shadow:0 1px 0 #dedfd5}
.browse-mode .btn:disabled,.app-sheet .btn:disabled{opacity:.5;transform:none;box-shadow:none}
.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 15px}
.section-heading h2{font-size:19px;letter-spacing:-.65px;font-weight:800;margin:0;scroll-margin-top:20px}
.section-heading>span{font-size:10px;color:var(--quiet);white-space:nowrap}
.filter-strip{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 9px;margin-bottom:13px;scrollbar-width:none}
.filter-strip::-webkit-scrollbar{display:none}
.filter-strip button{background:transparent;border:1px solid #d8dcd3;border-radius:30px;padding:10px 15px;min-height:40px;white-space:nowrap;color:#55635d;font-size:11px;font-weight:700;cursor:pointer}
.filter-strip button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
.tone-mint{--tile:#dfebe3;--edge:#bdcec1;background:var(--tile)}
.tone-peach{--tile:#f3e3d9;--edge:#deccc0;background:var(--tile)}
.tone-butter{--tile:#f1eccf;--edge:#dcd6b5;background:var(--tile)}
.tone-lavender{--tile:#e9e3f1;--edge:#d0c8dc;background:var(--tile)}
.tone-rose{--tile:#f2dfdd;--edge:#dcc5c1;background:var(--tile)}
.tone-sky{--tile:#dfe9ed;--edge:#c2d2d8;background:var(--tile)}
.tone-sand{--tile:#eae7dc;--edge:#d4d0bf;background:var(--tile)}
.game-tile{position:relative;border:1px solid #ffffff90;border-radius:25px;box-shadow:0 5px 0 var(--edge),0 8px 10px #292d2710;padding:13px 15px 20px;text-align:left;cursor:pointer;color:var(--ink);overflow:hidden;isolation:isolate;transition:transform .18s,box-shadow .18s;display:flex;flex-direction:column}
.game-tile .object-art{width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block;transition:transform .28s cubic-bezier(.2,.8,.2,1);margin:-8px auto -5px;max-width:250px;pointer-events:none}
.tile-copy{display:flex;flex-direction:column;padding-right:12px;margin-top:auto;position:relative;z-index:1}
.tile-category{font-size:9px;font-weight:700;letter-spacing:.1px;color:#55655c;margin-bottom:6px}
.tile-title{font-size:17px;font-weight:800;letter-spacing:-.6px;line-height:1.2}
.tile-arrow{position:absolute;right:12px;bottom:17px;display:flex;align-items:center;justify-content:center;width:23px;height:23px;opacity:.65}
.tile-arrow .ui-icon{width:18px;height:18px}
.featured-game{grid-column:1/-1;min-height:224px;display:block;padding:23px 25px;overflow:hidden}
.featured-game .object-art{position:absolute;width:260px;height:260px;right:-9px;top:-20px;max-width:none;margin:0}
.featured-game .tile-copy{max-width:52%;padding:0;margin-top:47px}
.tile-eyebrow{font-size:9px;font-weight:800;letter-spacing:1px;color:#425b4d;position:relative;z-index:1}
.featured-game .tile-category{display:none}
.featured-game .tile-title{font-size:31px;letter-spacing:-1.3px}
.tile-tagline{font-size:11px;line-height:1.6;color:#4b6558;margin-top:9px;max-width:170px}
.featured-game .tile-arrow{bottom:19px;right:20px;width:33px;height:33px;border:1px solid #9bb7a1;border-radius:50%;opacity:1;background:#e6efe7}
@media(hover:hover){.game-tile:hover .object-art{transform:translateY(-5px) rotate(-3deg)}.game-tile:hover{transform:translateY(-2px);box-shadow:0 7px 0 var(--edge),0 12px 16px #292d2714}}
.game-tile:active{transform:translateY(4px);box-shadow:0 1px 0 var(--edge)}
.game-tile:active .object-art{transform:scale(.96)}
.library-footnote{text-align:center;font-size:11px;color:var(--quiet);margin:33px 0 12px;line-height:1.6}
.app-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,780px);display:flex;justify-content:space-around;gap:8px;background:#fdfbf5f5;border-top:1px solid #e1e2d8;padding:11px 22px calc(12px + env(safe-area-inset-bottom));backdrop-filter:blur(16px)}
.app-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:5px 12px;border:0;min-width:80px;min-height:48px;background:transparent;font-size:10px;font-weight:700;color:#647269;cursor:pointer;border-radius:14px}
.app-nav button.active{color:var(--coral);background:#f4e9df}
.app-nav button.active .ui-icon{filter:invert(35%) sepia(49%) saturate(2075%) hue-rotate(340deg) brightness(86%)}
.app-nav .ui-icon{width:22px;height:22px}
.app-nav b{background:var(--ink);color:var(--paper);padding:0 5px;border-radius:9px;font-size:9px}
.lobby-welcome{margin-bottom:22px}
.room-ribbon{display:flex;align-items:center;gap:12px;background:#fffdf6;border:1px solid #dbdfd4;box-shadow:0 4px 0 #e2e4d9;border-radius:20px;padding:15px 13px;margin-bottom:32px;width:100%;text-align:left;cursor:pointer;color:var(--ink)}
.room-ribbon strong{font-size:12px;display:block;font-weight:800}
.room-ribbon small{font-size:10px;color:var(--quiet);display:block;margin-top:4px}
.room-avatar-stack{display:flex;padding-left:6px}
.room-avatar-stack>span{display:grid;place-items:center;width:33px;height:33px;margin-left:-7px;border:2px solid #fffdf6;border-radius:50%;font-size:12px;font-weight:800;background:#dcebd9}
.room-avatar-stack>span:nth-child(2){background:#f2d9cf}.room-avatar-stack>span:nth-child(3){background:#e1dcf1}
.invite-label{display:flex;gap:5px;align-items:center;margin-left:auto;font-size:10px;font-weight:800}.invite-label .ui-icon{width:17px;height:17px}
/* Native dialogs keep focus and the player's room state while browsing. */
.sheet-open{overflow:hidden}
.app-sheet{--text:var(--ink);--muted:var(--quiet);--card-border:#deded6;color:var(--ink);background:var(--paper);border:1px solid #ffffffb3;border-radius:32px;max-width:560px;width:calc(100% - 32px);max-height:92dvh;padding:0;box-shadow:0 30px 100px #111c2640;overscroll-behavior:contain;scrollbar-width:thin;animation:sheet-in .24s cubic-bezier(.15,.8,.25,1)}
.app-sheet::backdrop{background:#1c292b70;backdrop-filter:blur(7px)}
.sheet-close{position:absolute;top:18px;right:18px;z-index:5;background:#fffdf2e8}
.detail-art{position:relative;height:265px;border-radius:31px 31px 0 0;display:flex;align-items:center;justify-content:center}
.detail-kicker{position:absolute;top:32px;left:27px;font-size:10px;font-weight:800;letter-spacing:.6px;color:#516058}
.detail-object{width:300px;height:300px;object-fit:contain;margin-top:6px;filter:drop-shadow(0 9px 8px #34372c0d)}
.detail-body{position:relative;border-radius:28px 28px 0 0;margin-top:-24px;padding:28px 26px 20px;background:var(--paper)}
.detail-body h1{font-size:31px;letter-spacing:-1.4px;font-weight:800;line-height:1.16;margin-bottom:16px}
.detail-body .eyebrow{font-size:8px;margin-bottom:8px}
.detail-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:10px;font-weight:700;color:#56635b}
.detail-meta>span{display:flex;align-items:center;gap:5px}.detail-meta .ui-icon{width:16px;height:16px}
.detail-intro{font-size:14px;line-height:1.8;margin:18px 0 27px;color:#4b574f}
.preview-heading h2{font-size:16px}.preview-heading>span{font-size:9px}
.preview-reel{display:flex;overflow-x:auto;gap:12px;margin:0 -26px;padding:0 26px 13px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.preview-reel figure{margin:0;flex:0 0 68%;min-width:0;scroll-snap-align:center}
.preview-reel figure:only-child{flex-basis:75%}
.preview-reel img{display:block;width:100%;height:auto;aspect-ratio:390/620;object-fit:cover;object-position:top;border:5px solid #30362f;border-radius:20px;background:#141624;box-shadow:0 5px 0 #c8ccbe}
.preview-reel figcaption{font-size:10px;line-height:1.6;color:var(--quiet);padding:13px 3px 0}
.how-title{font-size:18px;font-weight:800;letter-spacing:-.5px;margin:24px 0 16px}
.detail-rules{list-style:none;counter-reset:step;padding:0;margin:0;display:flex;flex-direction:column;gap:18px}
.detail-rules li{counter-increment:step;display:flex;gap:14px;align-items:flex-start;font-size:12px;line-height:1.8;color:#4e5a52}
.detail-rules li:before{content:counter(step,decimal-leading-zero);font-size:10px;flex:0 0 29px;height:29px;border-radius:10px;background:#e7e9de;display:grid;place-items:center;font-weight:800;color:#52634e}
.detail-footer{position:sticky;bottom:0;padding:10px 25px calc(20px + env(safe-area-inset-bottom));background:#f5f2ecf7;border-top:1px solid #e1e1d7;backdrop-filter:blur(14px);z-index:6}
.detail-footer p{font-size:10px;line-height:1.6;text-align:center;color:#55634f;margin:0 0 10px}
.detail-footer .btn{font-size:14px}
.simple-sheet{position:relative;padding:64px 28px 28px}.simple-sheet h1{font-size:32px;font-weight:800;letter-spacing:-1.3px;line-height:1.22}
.sheet-description{font-size:13px;line-height:1.8;color:var(--quiet);margin:16px 0 26px}
.app-sheet .input{background:#fffefa;color:var(--ink);border:1px solid #d3d8cc;font-family:inherit;font-size:16px;min-height:52px}
.app-sheet .input:focus{border-color:#5e7e62;outline:2px solid #dbe8d6;outline-offset:1px}
.app-sheet .label{font-size:9px;letter-spacing:1px;font-weight:800;margin:16px 0 8px}
.app-sheet .card{background:#fffefa;border:1px solid #e0e1d7;box-shadow:none;padding:18px;backdrop-filter:none}
.app-sheet .btn-ghost{color:#64705e;border:1px solid #deded4;background:transparent;margin:8px 0}
.app-sheet details summary{font-weight:800;cursor:pointer;font-size:13px;min-height:38px;line-height:1.6}
.app-sheet details[open] summary{margin-bottom:12px}
.app-sheet .muted{font-size:12px;line-height:1.8}
.app-sheet .hint{font-size:10px;line-height:1.65}
.app-sheet form .btn{margin-top:8px}
.sheet-footnote,.profile-version{font-size:10px;text-align:center;color:var(--quiet);line-height:1.7;margin:20px 0 8px}
.text-button{display:block;border:0;background:transparent;color:#4c634d;font-family:inherit;font-size:11px;font-weight:800;text-align:center;margin:8px auto 0;padding:14px 3px;cursor:pointer;min-height:44px}
.room-code-input{letter-spacing:.25em;text-transform:uppercase;font-weight:800}
.invite-card{text-align:center;background:#fffefa;border:1px solid #dfe2d7;border-radius:24px;padding:22px;margin-bottom:28px}
.invite-code{display:block;letter-spacing:5px;font-size:28px;font-weight:800}.invite-qr{display:block;max-width:100%;height:auto;margin:12px auto 20px;mix-blend-mode:multiply}
.app-sheet .chip{background:#fffefa;border-color:#dce0d4;font-size:12px}.app-sheet .chip-kick{width:30px;height:30px;font-size:13px}.app-sheet .chip-you{color:#62705c}
.tv-link{display:flex;align-items:center;gap:9px;color:#4e634e;font-size:11px;font-weight:700;line-height:1.6;text-decoration:none;padding:25px 0 15px}.tv-link .ui-icon{width:20px;height:20px}.tv-link .ui-icon:last-child{margin-left:auto}
.danger-text{color:#a34033}
.app-sheet .row{border-bottom-color:#dedfd6;font-size:12px}
/* The game surface stays focused and dark; the library is warm and tactile. */
.round-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 2px 24px}.round-header .wordmark{font-size:26px}.round-header>span:last-child{font-size:11px;font-weight:700;color:#acb8b6}
body:not(.browse-mode){--bg:#141c24;--bg-2:#1b2730;--text:#f4f5ec;--muted:#a7b6b9;--card:rgba(255,255,255,.045);--card-border:#ffffff15;--grad:linear-gradient(120deg,#e88963,#efb879)}
body:not(.browse-mode):not(.tv-body){background:radial-gradient(ellipse at top,#21373b55,transparent 70%),#141c24}
body:not(.browse-mode) .btn-primary{background:#d94e39;box-shadow:0 4px 0 #983627;color:#fffdf8}
.game-head .game-emoji img{display:block;object-fit:contain;max-width:100%}
body:not(.browse-mode) .game-head{align-items:center}
body:not(.browse-mode) .card{backdrop-filter:none}
body:not(.browse-mode) .input{font-family:inherit}
.brand-intro{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:var(--paper);color:var(--ink);animation:intro-out .2s .85s both}
.intro-lockup{text-align:center;width:min(280px,calc(100vw - 64px));transform:translateY(-20px)}
.intro-lockup strong{display:block;font-size:clamp(46px,15vw,66px);font-weight:800;line-height:1.2;letter-spacing:-4px;animation:intro-text .35s .05s both}.intro-lockup strong span{color:var(--coral)}
.intro-lockup i{display:block;width:72px;height:2px;background:var(--coral);margin:22px auto 18px;transform-origin:center;animation:intro-line .4s .18s both}
.intro-lockup p{font-size:12px;letter-spacing:3px;font-weight:600;color:var(--quiet);animation:intro-text .35s .32s both}
.intro-skip{position:absolute;bottom:calc(28px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);border:0;background:transparent;color:var(--quiet);font-family:inherit;font-size:11px;padding:15px;cursor:pointer}
@keyframes intro-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes intro-text{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes intro-out{to{opacity:0;visibility:hidden}}
@keyframes sheet-in{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:650px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}.featured-game{grid-column:1/-1;min-height:230px}.featured-game .object-art{right:70px;top:-39px;width:330px;height:330px}.featured-game .tile-copy{margin-top:50px}.featured-game .tile-title{font-size:38px}.tile-tagline{max-width:none;font-size:13px}.brand-header{margin-bottom:40px}.welcome-actions{max-width:460px}.app-nav{width:430px;bottom:20px;border:1px solid #dedfd4;border-radius:26px;padding:10px 20px;box-shadow:0 10px 40px #26332615}.welcome h1{font-size:47px}.welcome>p:not(.eyebrow){font-size:14px}}
@media(max-width:420px){.browse-app{padding-left:19px;padding-right:19px}.edition{font-size:8px;letter-spacing:.9px}.brand-header{margin-bottom:27px}.welcome h1{font-size:30px;letter-spacing:-1.2px}.welcome-actions{gap:10px}.welcome-actions .btn{padding:13px 12px;font-size:11px}.welcome-actions .ui-icon{width:18px;height:18px}.section-heading h2{font-size:18px}.section-heading>span{font-size:9px}.featured-game{min-height:206px;padding:22px 20px}.featured-game .object-art{width:228px;height:228px;right:-26px;top:-5px}.featured-game .tile-copy{margin-top:44px;max-width:52%}.featured-game .tile-title{font-size:28px}.tile-tagline{font-size:10px}.game-tile:not(.featured-game){padding:10px 12px 18px}.tile-title{font-size:15px}.tile-category{font-size:8px}.game-tile .object-art{margin-top:-3px}.tile-arrow{right:8px;bottom:15px}.tile-arrow .ui-icon{width:15px;height:15px}.detail-body{padding-left:22px;padding-right:22px}.preview-reel{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}.detail-body h1{font-size:29px}.detail-art{height:235px}.detail-object{width:268px;height:268px}}
@media(max-width:600px){.app-sheet{position:fixed;inset:auto 0 0;margin:0;max-width:none;width:100%;max-height:94dvh;border-radius:30px 30px 0 0}.detail-art{border-radius:29px 29px 0 0}.simple-sheet{padding-bottom:calc(28px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-delay:0ms!important;transition:none!important;scroll-behavior:auto!important}.brand-intro{display:none}.game-tile:hover .object-art{transform:none}}
@media(max-width:420px){.featured-game .object-art{width:200px;height:200px;right:-14px;top:7px}.tile-tagline{max-width:125px}.featured-game .tile-copy{max-width:50%}}
.detail-actions{display:flex;gap:11px}.detail-back{flex:0 0 52px;padding:12px!important}.detail-actions .btn-block{min-width:0}@media(max-width:360px){.featured-game .object-art{width:165px;height:165px;right:-12px;top:28px}.featured-game .tile-title{font-size:25px}.tile-tagline{max-width:115px}.welcome h1{font-size:27px}.edition{display:none}.welcome-actions .btn{font-size:10px;padding:12px 10px}.welcome-actions .ui-icon{width:16px;height:16px}.detail-footer{padding-left:18px;padding-right:18px}.detail-footer .btn{font-size:12px}}
.tapzone{background:#f1cb68;color:#252c29;border:1px solid #e6b950;box-shadow:0 7px 0 #a77a2c,0 12px 22px #0003}.tapzone:active{transform:translateY(5px);box-shadow:0 2px 0 #a77a2c}

/* ─── Gemeinsames Weiter-Schalten / Vote-Kick / Turnier ─── */
.confirm-bar { margin-top: 14px; text-align: center; }
.confirm-status { margin-top: 8px; font-size: 0.85rem; }
.confirm-bar .text-button { margin-top: 6px; background: none; border: none; cursor: pointer; color: inherit; font-family: inherit; font-size: 0.85rem; text-decoration: underline; }
.chip-votekick {
  border: none; background: rgba(255, 209, 102, 0.16); color: inherit;
  width: 24px; height: 24px; border-radius: 50%; font-size: 0.8rem;
  cursor: pointer; line-height: 1; margin-left: 2px; flex-shrink: 0;
}
.chip-votes { font-size: 0.72rem; font-weight: 800; color: #d74932; flex-shrink: 0; }
.tournament-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.tournament-chip {
  border: 1px solid rgba(0, 0, 0, 0.14); background: rgba(0, 0, 0, 0.04);
  border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 0.9rem;
  cursor: pointer; color: inherit; font-family: inherit;
}
.tournament-chip.picked { background: #d74932; color: #fff; border-color: #d74932; }
#startTournament { margin-top: 4px; }
.tournament-banner {
  margin: 4px 0 12px; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #d74932, #b388ff); color: #fff;
  font-weight: 800; text-align: center; font-size: 0.95rem;
}
.tournament-done .winner-name { color: #d74932; }
.spin-range { width: 100%; accent-color: #d74932; margin: 8px 0 14px; }

/* Fallback für Spiele ohne 3D-Icon (neue Spiele bis zur Aufnahme) */
.art-fallback {
  display: grid; place-items: center;
  width: 160px; height: 160px; font-size: 84px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.25));
}
.art-fallback.big { width: 220px; height: 220px; font-size: 120px; }

.game-options { margin:24px 0 8px; padding:20px; border:1px solid #d6ddd2; border-radius:20px; background:#f6f7f0; }
.game-options legend { font-weight:800; padding:0 8px; }
.game-option-label { display:grid; gap:8px; margin-bottom:16px; font-weight:700; }
.category-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:16px 0; }
.category-options label,.adult-option { display:flex; gap:10px; align-items:flex-start; padding:12px; border-radius:12px; background:#fffefa; color:#263a35; font-size:14px; line-height:1.5; }
.category-options label:has(input:disabled) { opacity:.5; }
.category-options input,.adult-option input { flex:none; width:20px; height:20px; accent-color:#395e49; margin:0; }
.adult-option { text-align:left; margin:12px 0; }
.wop-choices { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }
.wop-card .prompt-text { font-size:clamp(22px,4vw,36px); line-height:1.4; }
.tv-options-dialog { --text:#263a35; --muted:#53675e; --card-border:#d2d8ce; color-scheme:light; width:min(600px,calc(100vw - 32px)); max-height:calc(100vh - 48px); overflow:auto; border:0; border-radius:26px; padding:28px; background:#f7f5ee; color:#263a35; }
.tv-options-dialog .input { color:#263a35; background:#fffefa; }
.tv-options-dialog .btn-secondary { color:#263a35; background:#e5ece2; }
.tv-options-dialog .btn-primary { color:#fffdfa; }
.tv-options-dialog::backdrop { background:#121d20b3; }
.tv-library-grid { grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:18px; }
.tv-library-grid .game-tile { padding:12px 16px 22px; }
.tv-library-grid .object-art { max-width:155px; margin:0 auto 6px; }
.tv-library-grid .tile-title { font-size:18px; }
.tv-library-grid .tile-category { font-size:10px; }
.tv-game-sheet { --text:#263a35; --muted:#53675e; --card-border:#d2d8ce; color-scheme:light; }
.tv-game-sheet .input { color:#263a35; background:#fffefa; }
.tv-game-sheet .btn-secondary { color:#263a35; background:#e5ece2; }
.tv-game-sheet .btn-primary { color:#fffdfa; }
.tv-game-sheet .detail-footer p { color:#53675e; }
.tv-mode #tvChangeAge { color:var(--muted); }
.tv-options-dialog h2 { margin:0 0 16px; font-size:28px; }
.tv-mode .wop-card { color:#f5f2ec; }
.tv-host-controls { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin:24px 0; }
.tv-head { display:grid; grid-template-columns:minmax(0,1fr) 148px; gap:16px; }
.tv-code { font-size:clamp(40px,6vw,94px); }
.tv-head .tv-quit { grid-column:1 / -1; justify-self:start; margin-left:0; white-space:nowrap; }
@media(max-width:420px) { .category-options { grid-template-columns:1fr; } }

/* Release: accessible help links, account controls and reliable mobile input. */
.legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;margin:20px 0 12px;font-size:12px;line-height:1.5}
.legal-links a{display:inline-flex;align-items:center;min-height:44px;color:#49534f;text-decoration:underline;text-underline-offset:3px}
.simple-sheet .legal-links{justify-content:flex-start}
.account-delete{margin-top:20px;padding-top:18px;border-top:1px solid #d9ddd6}
.account-delete summary{min-height:44px;display:list-item;cursor:pointer;color:#963522;font-weight:700}
.account-delete p{font-size:13px;line-height:1.6;margin:12px 0}
.delete-confirm{display:flex;align-items:center;gap:12px;margin:16px 0;min-height:44px;font-size:13px;line-height:1.5}
.delete-confirm input{width:20px;height:20px;accent-color:#d74932;flex-shrink:0}
.btn-danger{background:#b63828!important;color:white!important;box-shadow:0 4px 0 #84291e!important}
.chip-votekick{width:36px;height:36px}
.tournament-chip{min-height:44px}
.simple-sheet .hint a{color:#963522;text-decoration:underline}
.app-sheet input,.app-sheet textarea{font-size:16px}
.tv-mode .legal-links a{color:#c1cbc4}
.tv-hint a{color:inherit;text-underline-offset:4px}
/* Shared-room membership. Prices show the actual charge before the comparison. */
.plus-teaser { width:100%; display:grid; grid-template-columns:44px 1fr auto; align-items:center; gap:14px; text-align:left; color:#263a35; background:#e9efe7; border:1px solid #cad8c6; border-radius:22px; padding:18px 20px; margin:12px 0 24px; box-shadow:0 4px 0 #d1ddcd; cursor:pointer; font:inherit; }
.plus-teaser:active { transform:translateY(2px); box-shadow:0 2px 0 #d1ddcd; }
.plus-teaser strong,.plus-teaser small { display:block; }
.plus-teaser strong { font-size:16px; font-weight:800; }
.plus-teaser small { margin-top:4px; font-size:13px; color:#52634e; }
.plus-emblem { display:grid; place-items:center; width:44px; height:44px; border-radius:15px; background:#314a3c; color:#fff; font-size:30px; }
.game-tier { position:absolute; z-index:1; top:14px; right:14px; padding:5px 10px; border-radius:20px; background:#ffffffd9; color:#283b34; font-size:11px; font-weight:800; }
.game-tier:empty { display:none; }
.plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:24px 0 12px; padding:0; border:0; }
.plan-grid legend { font-size:15px; font-weight:800; margin-bottom:14px; }
.plan-card { position:relative; display:flex; flex-direction:column; gap:10px; padding:18px 14px; border:2px solid #deded5; background:#fffefa; border-radius:18px; cursor:pointer; color:#273a34; }
.plan-card:has(input:checked) { border-color:#396149; background:#eef3e9; box-shadow:0 3px 0 #c9d8bf; }
.plan-card input { accent-color:#396149; width:19px; height:19px; }
.plan-name { text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:800; }
.plan-card strong { font-size:20px; line-height:1.3; }
.plan-card small { font-size:12px; line-height:1.4; color:#596551; }
.weekly-comparison { font-size:14px; }
.renewal-note { font-size:14px; line-height:1.6; }
.billing-consent { display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:1.5; margin:18px 0; }
.billing-consent input { flex:none; margin-top:3px; width:18px; height:18px; accent-color:#396149; }
.billing-notice { background:#f6e7bf; color:#5a461b; padding:16px; border-radius:14px; font-size:14px; line-height:1.5; }
.billing-management { display:grid; gap:16px; margin-top:25px; padding-top:22px; border-top:1px solid #deded5; font-size:14px; }
.billing-management a,.billing-consent a { color:#345544; text-decoration:underline; text-underline-offset:3px; }
.plus-active { background:#edf2e9; border-radius:20px; padding:22px; }
.plus-active p { font-size:14px; line-height:1.6; }
.sponsor-card { display:flex; flex-direction:column; gap:8px; border:1px solid #dadacf; background:#f1f0e9; color:#34443d; border-radius:16px; padding:18px; margin:0 0 24px; }
.sponsor-label { font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
.sponsor-card p { font-size:14px; margin:0; }
.sponsor-card a { color:inherit; font-size:13px; text-decoration:underline; align-self:flex-start; }
@media(max-width:640px) {
  .plan-grid { grid-template-columns:1fr; }
  .plan-card { display:grid; grid-template-columns:24px 1fr; gap:5px 12px; padding:16px; }
  .plan-card input { grid-row:1 / 5; margin-top:6px; }
  .plan-card strong { font-size:21px; }
  .plus-teaser { padding:16px; gap:12px; }
}
