@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(../media/fredoka-hebrew-wght-normal.3s27ur73twbyi.woff2)format("woff2-variations");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(../media/fredoka-latin-ext-wght-normal.3o5zxxthojjrv.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(../media/fredoka-latin-wght-normal.2_8zey5e0wa7e.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-ext-wght-normal.20g3-bbbhdq0_.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-wght-normal.2cxlyxah-fd35.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-ext-wght-normal.0mkxydxl0e43d.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-wght-normal.1rx9vjatjkdar.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-vietnamese-wght-normal.2kcj5i_8uff48.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-ext-wght-normal.3gdi_th3seg1n.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-wght-normal.0gsaq8ukbf34m.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--color-background:#f5f1e8;--color-surface:#fffdf8;--color-surface-raised:#fff;--color-border:#ddd6c8;--color-text:#2b3440;--color-text-muted:#5b6573;--color-primary:#ff6b4a;--color-on-primary:#1e252e;--color-primary-text:#c2401f;--color-success:#3bb273;--color-on-success:#2b3440;--color-success-text:#1f7a4c;--color-warning:#f2b134;--color-on-warning:#2b3440;--color-warning-text:#8a5a00;--color-danger:#b42318;--color-header:#2b3440;--color-on-header:#f5f1e8;--game-uno:#e5484d;--game-skyjo:#4c9eeb;--game-yams:#f2b134;--game-belote:#3bb273;--game-coinche:#2fa39b;--game-tarot:#9b7be0;--game-custom:#8a94a3;--radius-small:8px;--radius-medium:14px;--radius-large:22px;--radius-pill:999px;--touch-target:48px;--font-title:"Fredoka Variable", "Fredoka", ui-rounded, system-ui, sans-serif;--font-body:"Inter Variable", "Inter", system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--color-background:#1e252e;--color-surface:#2b3440;--color-surface-raised:#3a4553;--color-border:#4a5666;--color-text:#f5f1e8;--color-text-muted:#a7b0bd;--color-primary:#ff6b4a;--color-on-primary:#1e252e;--color-primary-text:#ff8a70;--color-success:#3bb273;--color-on-success:#1e252e;--color-success-text:#3bb273;--color-warning:#f2b134;--color-on-warning:#1e252e;--color-warning-text:#f2b134;--color-danger:#ff8a80;--color-header:#1e252e;--color-on-header:#f5f1e8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--color-background:#1e252e;--color-surface:#2b3440;--color-surface-raised:#3a4553;--color-border:#4a5666;--color-text:#f5f1e8;--color-text-muted:#a7b0bd;--color-primary:#ff6b4a;--color-on-primary:#1e252e;--color-primary-text:#ff8a70;--color-success:#3bb273;--color-on-success:#1e252e;--color-success-text:#3bb273;--color-warning:#f2b134;--color-on-warning:#1e252e;--color-warning-text:#f2b134;--color-danger:#ff8a80;--color-header:#1e252e;--color-on-header:#f5f1e8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}
*,:before,:after{box-sizing:border-box}html,body{background:var(--color-background);color:var(--color-text);font-family:var(--font-body);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;margin:0}h1,h2,h3{font-family:var(--font-title);font-weight:600}p{line-height:1.45}.digits{font-variant-numeric:tabular-nums}.muted{color:var(--color-text-muted)}.error{color:var(--color-danger);margin:8px 0;font-weight:600}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:3px solid var(--color-primary-text);outline-offset:2px}.button-primary,.button-secondary,.button-danger{min-height:var(--touch-target);min-width:var(--touch-target);border-radius:var(--radius-pill);font:600 1.125rem var(--font-title);cursor:pointer;justify-content:center;align-items:center;gap:8px;padding:0 24px;text-decoration:none;display:inline-flex}.button-primary{background:var(--color-primary);color:var(--color-on-primary);border:0}.button-primary--wide{width:100%;max-width:480px;min-height:56px}.button-secondary{border:2px solid var(--color-border);background:var(--color-surface);color:var(--color-text)}.button-secondary--danger{color:var(--color-danger)}.button-danger{background:var(--color-danger);color:var(--color-surface);border:0}.button-primary:disabled,.button-secondary:disabled,.button-danger:disabled{opacity:.45;cursor:not-allowed}.icon-button{width:var(--touch-target);height:var(--touch-target);border-radius:var(--radius-pill);color:inherit;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;display:inline-grid}.icon-button:hover{background:color-mix(in srgb, currentColor 10%, transparent)}.link-button{min-height:40px;color:var(--color-primary-text);font:600 .875rem var(--font-body);cursor:pointer;background:0 0;border:0;padding:8px 4px;text-decoration:underline}.link-button--danger{color:var(--color-danger)}a.link-button{align-items:center;display:inline-flex}.text-input{width:100%;min-height:var(--touch-target);border:2px solid var(--color-border);border-radius:var(--radius-medium);background:var(--color-surface);color:var(--color-text);font:1.0625rem var(--font-body);padding:0 14px}.text-input::placeholder{color:var(--color-text-muted)}.text-input:focus{border-color:var(--color-primary);outline:none}.top-bar{z-index:5;padding:max(8px, env(safe-area-inset-top)) 8px 8px;background:var(--color-header);color:var(--color-on-header);align-items:center;gap:8px;display:flex;position:sticky;top:0}.top-bar__titles{flex:1;min-width:0}.top-bar__title{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:1.25rem;overflow:hidden}.top-bar>.top-bar__title{flex:1}.top-bar__subtitle{opacity:.85;margin:0;font-size:.8125rem}.bottom-bar{z-index:4;padding:12px 16px max(12px, env(safe-area-inset-bottom));background:linear-gradient(to top, var(--color-background) 70%, transparent);justify-content:center;display:flex;position:sticky;bottom:0}.game-icon{border-radius:var(--radius-small);color:var(--color-on-primary);flex:none;place-items:center;display:inline-grid}.sheet-backdrop{z-index:20;background:color-mix(in srgb, var(--color-header) 55%, transparent);justify-content:center;align-items:flex-end;animation:.12s ease-out fade-in;display:flex;position:fixed;inset:0}.sheet-scrim{cursor:default;background:0 0;border:0;padding:0;position:absolute;inset:0}.sheet{background:var(--color-background);width:100%;max-width:560px;max-height:100dvh;color:var(--color-text);border-radius:var(--radius-large) var(--radius-large) 0 0;flex-direction:column;animation:.16s ease-out slide-up;display:flex;position:relative;box-shadow:0 -8px 32px #00000040}.sheet:focus{outline:none}.sheet__header{align-items:center;gap:8px;padding:12px 8px 4px 20px;display:flex}.sheet__title{flex:1;margin:0;font-size:1.25rem}.sheet__body{flex:1;padding:4px 16px 12px;overflow-y:auto}.sheet__footer{padding:12px 16px max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--color-border);justify-content:flex-end;align-items:center;gap:12px;display:flex}.sheet__footer .button-primary--wide{flex:1}@keyframes slide-up{0%{opacity:.6;transform:translateY(24px)}}@keyframes fade-in{0%{opacity:0}}.keypad{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;display:grid}.keypad__key{border-radius:var(--radius-medium);background:var(--color-surface-raised);min-height:56px;color:var(--color-text);font:600 1.5rem var(--font-title);cursor:pointer;box-shadow:inset 0 0 0 1px var(--color-border);border:0}.keypad__key:active{background:var(--color-border)}.keypad__key--next{background:var(--color-surface);grid-column:1/-1;font-size:1.125rem}.menu-list{margin:0;padding:0;list-style:none}.menu-item{border:0;border-bottom:1px solid var(--color-border);width:100%;min-height:56px;color:var(--color-text);font:500 1.0625rem var(--font-body);text-align:left;cursor:pointer;background:0 0;padding:0 8px}.menu-item:disabled{color:var(--color-text-muted);cursor:not-allowed}.menu-item--danger{color:var(--color-danger)}.toast{z-index:30;border-radius:var(--radius-pill);background:var(--color-header);color:var(--color-on-header);pointer-events:none;margin:0;padding:10px 18px;font-weight:600;animation:2.6s forwards toast;position:fixed;bottom:96px;left:50%;transform:translate(-50%)}.toast:empty{display:none}@keyframes toast{0%{opacity:0}8%,85%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation-duration:1ms!important}}.confetti{pointer-events:none;z-index:30;position:fixed;inset:0;overflow:hidden}.confetti__piece{opacity:0;border-radius:2px;width:8px;height:14px;animation:1.5s cubic-bezier(.2,.6,.4,1) forwards confetti-fall;position:absolute;top:-16px}.confetti__piece--wide{width:12px;height:8px}@keyframes confetti-fall{0%{opacity:1;transform:translate(0,0)rotate(0)}85%{opacity:1}to{opacity:0;transform:translate3d(var(--drift), 105vh, 0) rotate(var(--spin))}}@media (prefers-reduced-motion:reduce){.confetti{display:none}}
