:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f2f7f6;font-synthesis:none;background:#102c3b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(#245a68,#102c3b 75%);height:100dvh;margin:0;overflow:hidden}button,input{font:inherit}button{min-height:44px;color:inherit;cursor:pointer;touch-action:manipulation;background:#ffffff16;border:1px solid #ffffff30;border-radius:12px;padding:10px 16px;font-weight:650}button:disabled{opacity:.4;cursor:default}button:hover:not(:disabled){background:#ffffff26}.primary{color:#172c34;background:#e8bb70;border-color:#0000}.primary:hover:not(:disabled){background:#f6ce8d}.subtle{background:0 0}button:focus-visible{outline-offset:3px;outline:3px solid #e8bb70}summary:focus-visible{outline-offset:3px;outline:3px solid #e8bb70}input:focus-visible{outline-offset:3px;outline:3px solid #e8bb70}[hidden]{display:none!important}.pair{gap:10px;display:flex}.pair>*{flex:1;min-width:0}h1{letter-spacing:-.06em;margin:14px 0 8px;font-size:clamp(2.3rem,8vw,3.3rem)}h2{letter-spacing:-.04em;font-size:1.8rem}p{line-height:1.5}.eyebrow{color:#e8bb70;text-transform:uppercase;letter-spacing:.12em;font-size:.73rem}.muted,details{color:#afc9cd;font-size:.85rem}.overlay{z-index:20;background:#102c3b66;place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.card{background:#132f3eed;border:1px solid #ffffff20;border-radius:24px;width:min(100%,430px);max-height:calc(100dvh - 40px);padding:28px;overflow:auto;box-shadow:0 24px 90px #0003}.card>button{width:100%;margin:14px 0}.card>.pair{margin:12px 0}details{margin-top:24px}summary{cursor:pointer;padding:8px 0}label{color:#bdd2d5;margin:12px 0 7px;font-size:.85rem;display:block}input{width:100%;min-height:44px;color:inherit;background:#ffffff09;border:1px solid #ffffff30;border-radius:10px;padding:12px;font-size:16px}.list-heading{justify-content:space-between;align-items:center;margin-top:22px;display:flex}.list-heading h3{font-size:.9rem}#lobby-list{gap:8px;max-height:180px;display:grid;overflow:auto}.lobby-row{background:#ffffff08;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:8px;font-size:.85rem;display:flex}.lobby-row span{overflow-wrap:anywhere}#connection{color:#bdd2d5;font-size:.8rem}#dice-box{pointer-events:none;position:fixed;top:145px;bottom:185px;left:0;right:0}#game{padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom));pointer-events:none;flex-direction:column;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}header{color:#bfd6d9;justify-content:space-between;align-items:center;gap:6px;width:min(100%,900px);margin:0 auto 8px;font-size:.8rem;display:flex}header>div{gap:6px;display:flex}header button{pointer-events:auto;padding:7px 10px;font-size:.75rem}#scoreboard{gap:8px;width:min(100%,900px);margin:0 auto;display:flex}.player{background:#071b242e;border-top:2px solid #ffffff25;border-radius:10px;flex:1;justify-content:space-between;align-items:center;gap:6px;min-width:0;padding:8px 10px;display:flex}.player.active{background:#e8bb7015;border-color:#e8bb70}.player.winner{border-color:#91e0b2}.player-name{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.player strong{font-size:1.5rem}footer{pointer-events:auto;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#061b2440;border:1px solid #ffffff14;border-radius:18px;width:min(100%,520px);margin:auto auto 0;padding:12px 14px}.turn-line{color:#c7dcdf;justify-content:space-between;align-items:center;gap:10px;font-size:.82rem;display:flex}.turn-line strong{color:#fff;font-size:1.35rem}#message{color:#d1e1e3;min-height:1.5em;margin:6px 0 10px;font-size:.82rem}footer>button{width:100%}#dice-result{color:#f9ecd4;text-shadow:0 3px 15px #0005;font-size:clamp(3rem,12vw,5rem);position:absolute;top:49%;left:50%;transform:translate(-50%,-50%)}#notice{z-index:50;bottom:max(16px,env(safe-area-inset-bottom));color:#fff;background:#713d37;border-radius:12px;width:max-content;max-width:90%;padding:12px 18px;font-size:.85rem;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 4px 24px #0005}@media (max-width:600px){.card{padding:22px}.player{flex-direction:column;gap:1px;padding:5px 3px}.player-name{max-width:100%;font-size:.7rem}.player strong{font-size:1.25rem}#scoreboard{gap:5px}#dice-box{top:125px;bottom:180px}footer{padding:9px 11px}#message{font-size:.76rem}header{font-size:.72rem}}@media (max-height:500px) and (min-width:600px){#game{padding:8px}header,#scoreboard{width:48%;margin-left:0}#scoreboard{flex-wrap:wrap}.player{flex-basis:40%}footer{width:46%;margin:auto 0 0}#dice-box{top:10px;bottom:10px;left:48%}#dice-result{left:74%}.card{padding:18px}.overlay{padding:10px}}#roll{touch-action:none;-webkit-user-select:none;user-select:none;background:linear-gradient(to right,#f7d596 var(--charge,0%),#e8bb70 var(--charge,0%));font-variant-numeric:tabular-nums}.player-name:before{content:"";background:var(--dice-color);border:1px solid #ffffff70;border-radius:3px;width:8px;height:8px;margin-right:5px;display:inline-block}footer{transform-origin:bottom;transform:scale(.95)}#lobby-header{margin-top:8px}.profile-card{width:min(100%,560px)}.collection-card{width:min(100%,800px)}#stats-scope{font:inherit;width:100%;color:inherit;background:#17333e;border:1px solid #ffffff30;border-radius:10px;padding:10px}#stats-list{margin:18px 0}#stats-list>div{border-bottom:1px solid #ffffff15;justify-content:space-between;gap:16px;padding:9px 0;font-size:.85rem;display:flex}#stats-list dd{margin:0;font-weight:700}#stats-list dt{color:#bdd2d5}#match-history{color:#bdd2d5;padding-left:18px;font-size:.8rem;line-height:1.8}#dice-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.dice-choice{background:#ffffff06;border:1px solid #ffffff20;border-radius:14px;min-width:0;padding:12px}.dice-choice h3{margin:10px 0 6px;font-size:.9rem}.dice-choice p{color:#bdd2d5;overflow-wrap:anywhere;font-size:.72rem}.dice-choice button{width:100%;font-size:.8rem}.dice-swatch{border:1px solid #ffffff40;border-radius:12px;place-items:center;width:48px;height:48px;font-size:2.4rem;display:grid}#game-menu{margin-top:7px}#account-note{font-size:.72rem}@media (max-width:600px){#dice-list{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-card{padding:16px}.dice-choice{padding:10px}}.profile-card>.list-heading,.collection-card>.list-heading{z-index:1;background:#132f3e;margin-top:0;position:sticky;top:0}#notice{pointer-events:none}img.dice-swatch{object-fit:contain;color:#bdd2d5;opacity:0;background:0 0;border:0;border-radius:0;width:96px;max-width:100%;height:96px;font-size:.7rem;display:block}img.dice-swatch.loaded{opacity:1}
