body:not(.social-inbox){color-scheme:light;background:radial-gradient(ellipse at top,#efe4ff,transparent 55%),#faf8ff;color:#171044;--text:#171044;--muted:#655980;--card:#fff;--line:#e3d8f8}
body:not(.social-inbox) header{background:#ffffffed;color:#171044;border-color:#e9ddff}
body:not(.social-inbox){min-height:100vh}body:not(.social-inbox) .table-game details{background:#f7f1ff;border-color:#d4b9f8;color:#29144f}body:not(.social-inbox) .table-event,body:not(.social-inbox) .dice-box{color:#815500}body:not(.social-inbox) .table-seats span{border-color:#dcc9f3}body:not(.social-inbox) .bluff-felt{background:radial-gradient(ellipse,#7346bf,#442478);border-color:#d4ac56}body:not(.social-inbox) .bluff-felt .claim-rank{color:white}
body:not(.social-inbox) .brand,body:not(.social-inbox) a{color:#6424bc}body:not(.social-inbox) .hero p,body:not(.social-inbox) .muted,body:not(.social-inbox) .empty,body:not(.social-inbox) .chat small{color:#66567f}body:not(.social-inbox) .badge,body:not(.social-inbox) .chat p{background:#f0e9ff;color:#382158}body:not(.social-inbox) .result{background:#fff7dd;color:#624400}body:not(.social-inbox) .timer,body:not(.social-inbox) .me{color:#7825d2}body:not(.social-inbox) #notice{background:#fff0f3;color:#a01942}
body:not(.social-inbox) .card,body:not(.social-inbox) dialog{background:#fff;color:#171044;border:1px solid #e6dcfa;border-radius:24px;box-shadow:0 8px 28px #6024a810}
body:not(.social-inbox) input,body:not(.social-inbox) textarea,body:not(.social-inbox) select{background:#faf8ff;color:#201547;border:1px solid #d7c7ef;border-radius:14px;max-width:100%;box-sizing:border-box}
body:not(.social-inbox) button{border-radius:16px;background:#fff;color:#6921d4;border:1px solid #d8c2fc;min-height:44px}
body:not(.social-inbox) button.primary,body:not(.social-inbox) button.active{background:linear-gradient(110deg,#7617ff,#d62bbb);color:white;border:0}
.games-banner{background:linear-gradient(115deg,#4c10a2,#8c21ec,#e52bb7);color:#fff;padding:26px;border-radius:26px;margin:10px 0 20px;box-shadow:0 10px 24px #7821bc25}.games-banner h2{font-size:clamp(24px,4vw,38px);margin:0 0 10px}.games-banner p{color:#fff}
#modal{background:white;color:#211742;border:1px solid #e5dafa;border-radius:24px;padding:24px;width:min(520px,calc(100vw - 32px));box-sizing:border-box;max-height:90dvh;overflow:auto}
#modalBody{display:grid;gap:18px}#modalBody label{display:grid;gap:8px;margin:0}#modalBody input,#modalBody select,#modalBody textarea{box-sizing:border-box;width:100%;background:#faf8ff;color:#211742;border:1px solid #d9cbed;border-radius:14px;padding:14px;font:inherit}#modalBody input[type=checkbox]{width:auto}
#confirm{background:#8500ff;color:white;border:0;border-radius:22px;padding:12px 24px}#modalTitle{color:#211742;font-size:24px}
.game-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.game-tile{min-width:0;background:white;border:1px solid #e5dafa;border-radius:22px;overflow:hidden;box-shadow:0 6px 18px #4f167517;padding-bottom:14px}.game-tile img{width:100%;aspect-ratio:3/2;object-fit:cover}.game-tile h3,.game-tile p{margin:10px 12px;overflow-wrap:anywhere}.game-tile button{margin:0 12px;max-width:calc(100% - 24px)}.room-art{width:100%;max-height:190px;object-fit:cover;border-radius:16px;margin-bottom:12px}.question{color:#241049}
.chance-editor{width:min(660px,94vw);max-height:90dvh;overflow:auto;box-sizing:border-box}.chance-editor form{display:grid;gap:12px}.chance-editor label{display:grid;gap:6px}.chance-editor input[type=checkbox]{width:auto;justify-self:start}.chance-editor fieldset{border:1px solid #dcc9ff;border-radius:18px;padding:16px;margin:12px 0;display:grid;gap:10px}.chance-editor input[type=color]{height:44px}.chance-editor textarea{min-height:80px}.chance-editor [hidden]{display:none!important}.chance-editor .question-fields{display:grid;gap:8px}
.chance-play{text-align:center}.chance-wheel-wrap{position:relative;width:280px;max-width:100%;margin:25px auto}.pointer{position:absolute;z-index:2;top:-20px;left:calc(50% - 14px);font-size:32px;color:#d79500;filter:drop-shadow(0 2px 2px white)}.chance-wheel{width:270px;height:270px;max-width:100%;border-radius:50%;border:7px solid #ffd05a;box-shadow:0 8px 25px #7137bb44;position:relative;transform:rotate(var(--stop,0deg));box-sizing:border-box}.chance-wheel span{position:absolute;left:calc(50% - 12px);top:calc(50% - 10px);width:24px;color:white;font-weight:bold;text-shadow:0 1px 3px #000}.chance-wheel b{position:absolute;inset:calc(50% - 25px);width:50px;height:50px;background:#ffd05a;border-radius:50%;display:grid;place-items:center;color:#703100;font-size:30px}.chance-wheel.spinning{animation:chance-spin 1s linear infinite}.chance-boxes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.chance-boxes button{font-size:32px;padding:12px;background:#f0e7ff!important}.chance-boxes small{display:block;font-size:14px}.chance-boxes .chosen{outline:3px solid #f3b72e}.chance-result{border:3px solid #8b5cf6;border-radius:22px;background:#fbf8ff;padding:18px;margin-top:20px;overflow-wrap:anywhere}.chance-result img{width:110px;height:110px;object-fit:cover;border-radius:18px}.chance-result .options{display:grid;gap:10px}.chance-play details{text-align:left;margin-top:20px}
@keyframes chance-spin{to{transform:rotate(360deg)}}@media(max-width:600px){.game-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.game-tile h3{font-size:16px}.game-tile p{font-size:13px}.game-tile button{font-size:13px}.games-banner{padding:20px}.chance-boxes{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.chance-wheel.spinning{animation:none}}
