@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap";.brand-identity{gap:3px;min-width:0;display:grid}.brand .brand-mark{aspect-ratio:1132/170;width:clamp(172px,14vw,220px);height:auto;color:inherit;filter:none;background:0 0;display:block;position:relative;overflow:hidden}.brand .brand-logo{mix-blend-mode:screen;filter:drop-shadow(0 5px 12px #00000047)drop-shadow(0 0 12px #67f79a1f);background:0 0;width:100%;max-width:none;height:auto;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.brand-detail{color:var(--muted);padding-inline:3px;font-size:12px;font-weight:500;line-height:1.25}@media (width<=640px){.brand .brand-mark{width:156px}}:root{color:#f4f8f5;font-synthesis:none;text-rendering:optimizelegibility;--ink:#f4f8f5;--muted:#91a39c;--panel:#091412e6;--panel-soft:#0d1f1ac7;--line:#b0d3c429;--accent:#b7ef54;--gold:#ffd363;--felt:#0c5537;--felt-dark:#063824;--shadow:0 24px 70px #00000070;--page-canvas:#020806;--page-dot:#3db54e3d;--brand-green:#31f04f;--brand-cyan:#24e8c7;--brand-primary-start:#128a2d;--brand-primary-middle:#18ae3a;--brand-primary-end:#159879;--brand-title-gradient:linear-gradient(105deg, var(--brand-green) 8%, var(--brand-cyan) 92%);--brand-action-gradient:linear-gradient(112deg, var(--brand-primary-start), var(--brand-primary-middle) 70%, var(--brand-primary-end));--theme-surface:#051912e6;--theme-surface-strong:#020d09f2;--theme-surface-soft:#091f16b8;--theme-border:#42b45447;--theme-border-hover:#59d16a94;--theme-label:#79d88a;--theme-neon:#9aef65;--theme-field:#010c08b8;--theme-field-hover:#03120ce6;--theme-focus:#68df7d;--theme-primary-start:#1db530;--theme-primary-end:#0f6b1e;--theme-primary-border:#54d06575;--theme-primary-shadow:inset 0 1px #fff3, 0 14px 30px #001c078c, 0 0 20px #0f6b1e2e;--theme-primary-shadow-hover:inset 0 1px #ffffff40, 0 17px 34px #0019069e, 0 0 28px #1db5303d;--theme-card-radius:22px;--theme-item-radius:15px;--theme-control-radius:11px;--theme-control-height:48px;--theme-primary-action-height:56px;--theme-page-title-size:clamp(32px, 4.5vw, 48px);--theme-section-title-size:clamp(22px, 2.8vw, 28px);--theme-card-shadow:inset 0 1px #ffffff0b, 0 24px 64px #00000075, 0 0 36px #4dc5450d;--border-soft:var(--theme-border);--lime:var(--theme-neon);--text-muted:var(--muted);background:#07110f;font-family:DM Sans,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{background:radial-gradient(circle at 50% -10%,#30705238,#0000 42rem),linear-gradient(145deg,#091411 0%,#030806 100%);min-height:100vh;overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.36}button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,p{margin-top:0}.landing-shell{background:radial-gradient(circle at 20% 12%,#48976f2e,#0000 34rem),radial-gradient(circle at 80% 80%,#b7ef5414,#0000 32rem);min-height:100vh;padding:32px}.themed-page-shell{--page-pointer-x:50%;--page-pointer-y:50%;isolation:isolate;background-color:var(--page-canvas);background-image:radial-gradient(circle, var(--page-dot) 0 1px, transparent 1.5px), linear-gradient(145deg, #05130ef2, #010705fc);background-position:-5px -5px,0 0;background-size:22px 22px,auto;min-height:100dvh;position:relative;overflow:clip}.themed-page-shell:before,.themed-page-shell:after{z-index:-1;content:"";pointer-events:none;position:absolute;inset:0}.themed-page-shell:before{background:radial-gradient(360px circle at var(--page-pointer-x) var(--page-pointer-y), #40da5433, #1db53017 34%, transparent 72%);opacity:.24;transition:opacity .22s}.themed-page-shell:after{background:radial-gradient(circle,#0000 28%,#0005038f 100%)}.themed-page-shell:hover:before,.themed-page-shell:focus-within:before{opacity:.94}.brand{width:fit-content;color:var(--ink);box-shadow:none;background:0 0;border:0;align-items:center;gap:12px;padding:0;font-weight:700;text-decoration:none;transition:filter .18s,transform .18s;display:inline-flex}button.brand{appearance:none;font:inherit;text-align:left}a.brand{cursor:pointer}.brand-interactive:hover{background-color:#0000}.brand-interactive:focus-visible{outline-offset:4px}.brand-mark{color:#cbff5e;width:52px;height:52px;box-shadow:none;background:radial-gradient(circle at 50% 52%,#b7ef5429,#0000 68%);border:0;border-radius:0;flex:none;place-items:center;font-family:DM Serif Display,serif;font-size:23px;display:grid}.brand-mark svg,.mode-icon svg,.button-icon svg,.join-field-icon svg,.seat-inline-button svg,.title-back-button svg{width:1em;height:1em;display:block}.brand-copy{gap:2px;min-width:0;display:grid}.brand-copy strong,.brand-name{color:#fff;font-size:16px;line-height:1.1}.brand-copy span{color:var(--muted);font-size:12px;font-weight:500;line-height:1.25}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.landing-account{z-index:10;position:absolute;top:28px;right:32px}.account-controls{align-items:center;gap:10px;display:flex}.account-controls .secondary-action,.account-logout{border:1px solid var(--line);border-radius:12px;justify-content:center;align-items:center;min-height:46px;padding:0 17px;font-size:13px;line-height:1;display:inline-flex}.account-controls .secondary-action{gap:8px}.account-logout{color:var(--muted);background:#ffffff06;font-weight:700}.account-logout:hover,.account-logout:focus-visible{color:var(--ink);border-color:#b7ef5461}.account-controls.compact .account-logout{padding-inline:14px}.auth-backdrop{z-index:100;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#010705d1;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.auth-dialog{border:1px solid var(--theme-border);background:radial-gradient(circle at 85% 0, #b7ef541a, transparent 18rem), linear-gradient(150deg, var(--theme-surface), var(--theme-surface-strong));width:min(480px,100%);box-shadow:var(--theme-card-shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:24px;padding:34px;position:relative}.auth-dialog h1,.profile-page h1,.profile-history h2{font-family:DM Serif Display,serif;font-weight:400}.auth-dialog h1{margin-bottom:22px;font-size:40px}.auth-close{border:1px solid var(--line);width:38px;height:38px;color:var(--ink);background:#ffffff0a;border-radius:50%;place-items:center;padding:9px;display:grid;position:absolute;top:18px;right:18px}.auth-tabs{background:#ffffff0a;border-radius:12px;grid-template-columns:1fr 1fr;margin-bottom:22px;padding:4px;display:grid}.auth-tabs button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:10px;font-weight:700}.auth-tabs button.active{color:#fff;background:linear-gradient(135deg, var(--theme-primary-start), var(--theme-primary-end));box-shadow:inset 0 1px #ffffff2e,0 6px 14px #001c0761}.auth-form{gap:17px;display:grid}.auth-form label{color:var(--theme-label);gap:7px;font-size:13px;font-weight:700;display:grid}.auth-form input,.profile-name-form input{width:100%;color:var(--ink);background:var(--theme-field);border:1px solid #84d27942;border-radius:11px;padding:12px 14px}.auth-form input:focus-visible{border-color:var(--theme-focus);background:var(--theme-field-hover);box-shadow:0 0 0 3px #a9ed6521,0 0 24px #6bda4e17}.auth-form small{color:var(--muted);font-size:10px;font-weight:500}.auth-form .launch-button{border-color:var(--theme-primary-border);color:#fff;background:linear-gradient(135deg, var(--theme-primary-start), var(--theme-primary-end));width:100%;box-shadow:var(--theme-primary-shadow);margin-top:4px}.auth-dialog :is(button,input):disabled{opacity:.52;filter:saturate(.5)}.auth-helper-text{color:var(--muted);margin:-8px 0 20px;line-height:1.55}.auth-link-button{color:var(--accent);background:0 0;border:0;justify-self:center;padding:4px;font-size:13px;font-weight:800}.auth-link-button:hover,.auth-link-button:focus-visible{color:#e1ff9f}.auth-page-shell{align-content:start;display:grid}.auth-page-card{margin:clamp(44px,9vh,92px) auto 0}.auth-secondary-action{justify-content:center}.profile-shell{background:radial-gradient(circle at 18% 8%,#48976f2e,#0000 34rem),linear-gradient(145deg,#091411 0%,#030806 100%);min-height:100vh;padding:28px 32px 64px}.profile-header,.profile-title-row,.profile-section-heading,.history-summary{justify-content:space-between;align-items:center;gap:20px;display:flex}.profile-page{width:min(1120px,100%);margin:52px auto 0}.profile-title-row{border-bottom:1px solid var(--line);align-items:end;padding-bottom:28px}.profile-title-row h1{margin-bottom:7px;font-size:clamp(44px,7vw,72px)}.profile-title-row p:last-child,.profile-empty{color:var(--muted)}.profile-name-form{min-width:min(100%,420px);color:var(--muted);gap:8px;font-size:11px;font-weight:700;display:grid}.profile-name-form>div{gap:8px;display:flex}.profile-name-form input{min-width:0}.profile-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:28px 0 48px;display:grid}.profile-stats article{border:1px solid var(--line);background:#0c1f19b8;border-radius:16px;align-content:space-between;min-height:116px;padding:18px;display:grid}.profile-stats span,.history-summary span,.history-meta dt{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700}.profile-stats strong{color:var(--accent);font-family:DM Serif Display,serif;font-size:34px;font-weight:400}.profile-section-heading h2{margin-bottom:8px;font-size:34px}.history-list{gap:12px;margin-top:18px;display:grid}.history-card{border:1px solid var(--line);background:#091814c2;border-radius:16px;gap:15px;padding:20px;display:grid}.history-summary>div:first-child{gap:4px;display:grid}.history-summary strong{font-size:17px}.history-outcome{color:var(--muted);background:#ffffff0b;border-radius:999px;align-items:center;gap:7px;padding:7px 11px;font-size:11px;font-weight:800;display:flex}.history-outcome svg{width:16px;height:16px}.history-outcome.win{color:#182309;background:var(--accent)}.history-meta{gap:28px;margin:0;display:flex}.history-meta div{gap:3px;display:grid}.history-meta dd{margin:0;font-size:12px}.history-players{flex-wrap:wrap;gap:7px;display:flex}.history-players span{border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:7px 9px;font-size:11px}.history-players span.winner{color:var(--ink);border-color:#31f04f66}.setup-card{border:1px solid var(--line);width:min(920px,100%);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#091814e0;border-radius:30px;margin:6vh auto 0;padding:clamp(28px,5vw,56px)}.join-landing-shell{place-items:center;min-height:100dvh;padding:88px 32px 32px;display:grid;overflow:hidden}.join-brand,.join-card{z-index:1;position:relative}.join-brand{cursor:pointer;position:absolute;top:28px;left:32px}.join-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:radial-gradient(circle at 80% 0,#24e8c714,#0000 17rem),linear-gradient(150deg,#051912e6,#020d09f0);border:1px solid #89e6663d;border-radius:24px;width:min(480px,100%);margin:0;padding:36px;display:grid;box-shadow:inset 0 1px #ffffff0d,0 28px 70px #00000080,0 0 42px #4dc5450f}.join-card .setup-intro{text-align:center;justify-items:center;margin-bottom:30px;display:grid}.join-card .setup-intro h1{gap:4px;max-width:none;margin-bottom:0;font-size:clamp(32px,5vw,40px);line-height:1.05;display:grid}.join-card .setup-intro h1>span{color:#fff;display:block}.join-card .setup-intro h1 strong{color:var(--brand-green);text-shadow:0 0 24px #31f04f2e;font-weight:700;display:block}.join-card .setup-intro p{max-width:640px;margin:18px 0 0;font-size:18px;line-height:1.55}.join-divider{color:var(--accent);justify-content:center;align-items:center;gap:18px;display:flex}.join-divider:before,.join-divider:after{content:"";background:linear-gradient(90deg,#0000,#b7ef548c);width:86px;height:1px}.join-divider:after{background:linear-gradient(90deg,#b7ef548c,#0000)}.join-form-panel{gap:18px;width:100%;margin:0;display:grid}.join-field{color:var(--theme-label);gap:8px;font-size:13px;font-weight:700;display:grid}.join-field>span{align-items:center;gap:7px;display:flex}.join-field-icon{width:18px;height:18px;color:var(--brand-cyan);place-items:center;font-size:15px;display:grid}.join-field input{color:#f6fff8;background:#010c08ad;border:1px solid #84d27940;border-radius:11px;outline:none;width:100%;max-width:none;min-height:50px;padding:12px 14px;font-size:15px;font-weight:600;transition:border-color .18s,background .18s,box-shadow .18s;box-shadow:inset 0 1px 8px #0003}.join-field input::placeholder{color:#bed5c573}.join-field input:hover{border-color:var(--theme-border-hover)}.join-field input:focus-visible{border-color:var(--brand-cyan);background:#03120ce0;box-shadow:0 0 0 3px #a9ed6521,0 0 24px #6bda4e17}.join-field.code-field input{letter-spacing:.06em;text-transform:uppercase}.join-card .error-message{width:100%;margin:14px 0 0}.join-actions{align-items:stretch;gap:12px;width:100%;margin:26px 0 0;display:flex}.join-actions .join-back-button,.join-actions .join-submit-button{border-radius:11px;min-height:50px;font-size:14px;line-height:1}.join-actions .join-back-button{color:#dce9df;background:#081d15b8;border-color:#91d4853d;flex:none;justify-content:center;gap:8px;padding:0 18px;transition:border-color .18s,color .18s,background .18s,box-shadow .18s,transform .18s;box-shadow:inset 0 1px #ffffff09}.join-actions .join-back-button:hover,.join-actions .join-back-button:focus-visible{color:#f6fff5;background:#133022e6;border-color:#b8f2768c;transform:translateY(-1px);box-shadow:0 0 22px #68dd4c14}.join-actions .join-back-button:focus-visible,.join-actions .join-submit-button:focus-visible{outline-offset:3px;outline:2px solid #c0f77b}.join-actions .join-submit-button{border-color:var(--theme-primary-border);color:#fff;background:var(--brand-action-gradient);width:auto;min-width:0;box-shadow:var(--theme-primary-shadow);flex:auto;padding:0 20px;font-weight:800}.join-actions .join-submit-button:hover:not(:disabled),.join-actions .join-submit-button:focus-visible{filter:brightness(1.1)saturate(1.04);box-shadow:var(--theme-primary-shadow-hover)}.join-actions .join-submit-button:disabled{color:#ffffffb3;filter:saturate(.55);transform:none;box-shadow:0 8px 18px #0e5a2a24}.game-create-card,.lobby-card{width:min(1080px,100%)}.game-create-card{background:radial-gradient(circle at 82% 6%,#b7ef5417,#0000 20rem),linear-gradient(150deg,#091c17f0,#05100ef2);border-radius:18px;gap:30px;margin-top:32px;padding:clamp(24px,4vw,38px);display:grid}.setup-intro.compact{gap:8px;margin-bottom:0;display:grid}.setup-intro.compact h1{margin-bottom:0;font-size:clamp(32px,5vw,48px)}.setup-intro.compact p{max-width:560px;margin-bottom:0}.lobby-name-editor{align-items:center;gap:14px;width:min(100%,760px);min-width:0;display:flex}.lobby-name-value,.lobby-name-editor input{color:#f7fff7;min-width:0;font-family:DM Serif Display,serif;font-size:clamp(26px,3.5vw,36px);font-weight:400;line-height:1.08}.lobby-name-value{overflow-wrap:anywhere}.lobby-name-edit-button{width:40px;min-height:40px;color:var(--accent);white-space:nowrap;background:#0f2b21d1;border:1px solid #b7ef5447;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:8px;padding:0;font-size:13px;font-weight:800;display:inline-flex}.lobby-name-edit-button:hover,.lobby-name-edit-button:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px #b7ef541a}.top-config-row{grid-template-columns:minmax(120px,.975fr) minmax(120px,240px);align-items:start;gap:20px;display:grid}.top-config-row.count-only{grid-template-columns:minmax(220px,220px)}.online-config-row{grid-template-columns:minmax(220px,1fr) minmax(180px,240px) minmax(220px,280px)}.online-config-row.without-host{grid-template-columns:minmax(180px,240px) minmax(220px,280px);justify-content:start}.online-config-row.without-host:not(.with-code){grid-template-columns:minmax(180px,240px)}.host-name-field,.seat-name-field,.seat-select-field,.invite-code-field,.advanced-card,.advanced-field{color:var(--ink);gap:12px;font-weight:700;display:grid}.host-name-field>input{max-width:350px;height:50px}.invite-code-control{background:#051410e6;border:1px solid #b0d3c429;border-radius:11px;grid-template-columns:minmax(0,1fr) 50px;display:grid;overflow:hidden}.invite-code-control input{min-width:0;height:50px;color:var(--accent);letter-spacing:.08em;text-transform:uppercase;background:0 0;border:0;border-radius:0;font-size:18px;font-weight:900}.copy-code-button{border:0;border-left:1px solid var(--line);width:50px;min-height:50px;color:var(--ink);background:#ffffff09;place-items:center;display:grid}.copy-code-button:hover:not(:disabled),.copy-code-button:focus-visible{color:var(--accent);background:#b7ef5414}.copy-code-button svg{width:19px;height:19px}.count-control{width:100%;color:var(--ink);gap:12px;font-weight:700;display:grid}.count-control>div{background:#051410e6;border:1px solid #b0d3c429;border-radius:11px;grid-template-columns:48px minmax(62px,1fr) 48px;width:100%;display:grid;overflow:hidden}.local-count-control>div{grid-template-columns:minmax(62px,1fr) 48px}.local-count-control strong{border-left:0}.count-control button{min-height:48px;color:var(--ink);background:#ffffff09;border:0;font-size:22px;font-weight:700}.count-control button:hover:not(:disabled),.count-control button:focus-visible{color:var(--accent);background:#b7ef5414}.count-control strong{border-inline:1px solid var(--line);color:#fff;place-items:center;min-height:48px;display:grid}.count-control small,.advanced-card small,.seat-summary small{color:var(--muted);font-size:12px;font-weight:500;line-height:1.45}.seat-list{gap:0;display:grid}.seat-list h2,.advanced-options h2{color:#fff;margin:0;font-size:17px}.seat-row{background:#04100e61;border:1px solid #b0d3c414;border-bottom-width:0;grid-template-columns:48px minmax(170px,1fr) minmax(190px,.75fr) minmax(150px,.55fr);align-items:center;gap:14px;min-height:76px;padding:12px 14px;display:grid}.online-seat-row{grid-template-columns:48px minmax(650px,max-content) auto minmax(0,1fr) auto}.online-seat-row .seat-summary{grid-column:2;max-width:min(340px,34vw)}.online-seat-row .seat-choice-cell{grid-column:5;justify-self:end}.online-seat-row .seat-level-cell{grid-column:3;justify-self:start;width:170px}.online-seat-row .seat-action-cell{grid-column:5;justify-self:end}.online-seat-row.seat-ai .seat-choice-cell,.online-seat-row.seat-open .seat-level-cell,.online-seat-row.seat-open .seat-action-cell,.online-seat-row.seat-host .seat-choice-cell,.online-seat-row.seat-host .seat-level-cell,.online-seat-row.seat-host .seat-action-cell,.online-seat-row.seat-human .seat-choice-cell,.online-seat-row.seat-human .seat-level-cell,.online-seat-row.seat-human .seat-action-cell{display:none}.local-seat-row{grid-template-columns:48px minmax(220px,1fr) minmax(190px,230px) auto}.seat-row:first-of-type{border-radius:14px 14px 0 0}.seat-row:last-of-type{border-bottom-width:1px;border-radius:0 0 14px 14px}.online-seat-row.seat-open{background:linear-gradient(90deg,#b7ef5409,#0000 34%),#04100e5c}.online-seat-row.seat-open .seat-summary strong{color:#e8f7ef85}.online-seat-row.seat-open .seat-number{color:#e8f7ef7a;background:#0816139e}.online-seat-row.seat-ai{background:linear-gradient(90deg,#b7ef540e,#0000 38%),#04100e6b}.seat-number{color:#fff;background:#081613e6;border:1px solid #b0d3c421;border-radius:10px;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.seat-summary{gap:2px;display:grid}.seat-summary strong{color:var(--ink);align-items:center;gap:8px;display:flex}.host-crown-badge{width:25px;height:25px;color:var(--gold);background:#ffd3631a;border:1px solid #ffd3634d;border-radius:50%;flex:none;place-items:center;display:inline-grid;box-shadow:0 0 16px #ffd36314}.host-crown-badge svg{width:14px;height:14px}.seat-action-cell{text-align:right;min-width:0;padding-right:0}.seat-action-cell .seat-inline-button{flex-shrink:0}.local-seat-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.seat-remove-button{width:44px;height:44px;color:var(--muted);background:#081613d1;border:1px solid #b0d3c426;border-radius:10px;flex:0 0 44px;place-items:center;padding:0;display:inline-grid}.seat-remove-button:hover,.seat-remove-button:focus-visible{color:#ff9b9b;border-color:#ff7d7d8f}.seat-remove-button svg{width:18px;height:18px}.seat-inline-button{min-height:48px;color:var(--ink);background:#081613d1;border:1px solid #b0d3c41c;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:13px;font-weight:800;transition:border-color .18s,background .18s,transform .18s;display:inline-flex}.local-seat-list .seat-row:last-of-type{border-bottom-width:1px;border-radius:0 0 14px 14px}.local-seat-list .seat-row:only-of-type{border-radius:14px}.local-add-seat-button{width:48px;height:48px;color:var(--accent);background:linear-gradient(135deg,#b7ef541f,#081613b8),#04100e6b;border:1px solid #b7ef545c;border-radius:12px;justify-self:end;place-items:center;margin:12px 13px 0 0;font-size:22px;transition:border-color .18s,background .18s,transform .18s;display:grid}.local-add-seat-button:hover:not(:disabled),.local-add-seat-button:focus-visible{background:linear-gradient(135deg,#b7ef5424,#081613cc),#04100e94;border-color:#b7ef548f;transform:translateY(-1px)}.local-add-seat-button:disabled{color:#e8f7ef57;cursor:not-allowed}.local-add-seat-button svg{width:20px;height:20px}.seat-inline-button.primary{border-color:var(--theme-primary-border);color:#fff;background:linear-gradient(135deg, var(--theme-primary-start), var(--theme-primary-end));box-shadow:var(--theme-primary-shadow)}.seat-inline-button:hover,.seat-inline-button:focus-visible{border-color:#b7ef549e;transform:translateY(-1px)}.seat-select-field.compact-control,.seat-name-field.compact-control{gap:0}.local-seat-row .seat-name-field input{min-height:48px}.seat-profile-name{background:#04120f94;border:1px solid #b0d3c429;border-radius:10px;align-content:center;min-height:48px;padding:0 16px;overflow:hidden}.seat-profile-name strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.2;overflow:hidden}.advanced-options{gap:18px;display:grid}.advanced-options h2{margin-bottom:0}.advanced-options-summary{color:var(--muted);margin:-8px 0 0;font-size:13px;line-height:1.45}.advanced-validation-message{color:#ffc2b7;margin:0;font-size:12px;font-weight:700}.advanced-grid{grid-template-columns:repeat(3,minmax(230px,1fr));align-items:start;gap:22px;display:grid}.host-name-field,.advanced-card{align-content:start}.advanced-card{background:linear-gradient(#ffffff09,#ffffff03),#04100e61;border:1px solid #b0d3c421;border-radius:8px;gap:16px;min-width:0;min-height:198px;padding:22px}.advanced-card>span,.advanced-field>span,.advanced-card-heading>span{color:#fff;font-size:14px;font-weight:900}.advanced-card-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;display:grid}.option-toggle{width:48px;height:28px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800;display:block}.option-toggle-track{background:#051410e6;border:1px solid #b0d3c43d;border-radius:999px;width:46px;height:26px;transition:background .18s,border-color .18s,box-shadow .18s;display:block;position:relative;box-shadow:inset 0 1px 4px #00000061}.option-toggle-track>span{background:#ecf8f1b8;border-radius:50%;width:18px;height:18px;transition:transform .18s,background .18s;position:absolute;top:3px;left:3px;box-shadow:0 4px 10px #0000006b}.option-toggle[aria-pressed=true] .option-toggle-track{background:#87ce3a3d;border-color:#b7ef5494;box-shadow:0 0 0 3px #b7ef5414,inset 0 1px 4px #00000042}.option-toggle[aria-pressed=true] .option-toggle-track>span{background:var(--accent);transform:translate(20px)}.option-toggle:focus-visible .option-toggle-track{border-color:var(--accent);box-shadow:0 0 0 3px #b7ef5426}.option-toggle:disabled{cursor:not-allowed;opacity:.62}.countdown-duration-field{color:var(--ink);gap:8px;font-size:12px;font-weight:700;display:grid}.advanced-description,.lobby-setting-description{color:var(--muted);margin:0;font-size:13px;font-weight:500;line-height:1.55}.game-create-card .launch-button{min-height:60px;margin-top:14px;font-size:18px}.title-screen{align-items:center;width:min(520px,100%);min-height:calc(100vh - 118px);margin:0 auto;display:grid}.themed-page-shell .title-screen .title-copy{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;padding:0}.themed-page-shell .title-screen .title-copy h1{color:#f7fffb;letter-spacing:-.055em;text-shadow:0 5px 24px #00000061;text-transform:uppercase;align-items:baseline;gap:.2em;margin:0;font-family:DM Sans,sans-serif;font-size:clamp(34px,5.4vw,62px);font-style:italic;font-weight:700;line-height:.94;display:flex}.title-copy .title-accent{color:#0000;background:var(--brand-title-gradient);text-shadow:none;-webkit-background-clip:text;background-clip:text}.create-header h1{color:#fff;margin-bottom:12px;font-family:DM Serif Display,serif;font-size:clamp(48px,9vw,92px);font-weight:400;line-height:.95}.title-copy p,.create-header p{max-width:620px;color:var(--muted);font-size:18px;line-height:1.65}.create-header{gap:16px;width:min(1080px,100%);margin:38px auto 0;padding-top:20px;display:grid}.create-title-row{align-items:center;gap:20px;display:flex}.create-title-row h1{text-align:left}.title-back-button{width:50px;height:50px;color:var(--accent);background:radial-gradient(circle at 50% 35%,#b7ef5429,#0000 70%),#091c17c7;border:1px solid #b7ef5442;border-radius:50%;flex:none;place-items:center;font-size:22px;text-decoration:none;transition:border-color .18s,transform .18s,box-shadow .18s;display:grid;box-shadow:0 14px 28px #0000003d}.title-back-button:hover,.title-back-button:focus-visible{border-color:#b7ef54b8;transform:translate(-2px);box-shadow:0 0 0 4px #b7ef541a,0 18px 34px #00000047}.create-header h1{margin-bottom:0;font-size:clamp(34px,5vw,52px)}.create-mode-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;width:min(1080px,100%);margin:38px auto 0;display:grid}.mode-card{border:1px solid var(--line);min-height:108px;color:var(--ink);text-align:left;background:linear-gradient(140deg,#0d241ebd,#061411d1);border-radius:16px;grid-template-columns:70px 1fr;align-items:center;gap:20px;padding:20px 24px;text-decoration:none;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid;position:relative;box-shadow:0 12px 26px #0003}.mode-card.active{background:radial-gradient(circle at 16% 18%,#b7ef541f,#0000 12rem),linear-gradient(140deg,#123427e0,#081914eb);border-color:#b7ef54a3;transform:translateY(-1px);box-shadow:0 0 0 1px #b7ef542e,0 16px 34px #00000042}.mode-card.active:before{content:"";pointer-events:none;border:1px solid #b7ef541f;border-radius:12px;position:absolute;inset:10px}.mode-card:hover,.mode-card:focus-visible{border-color:#b7ef548f;transform:translateY(-1px)}.mode-icon{width:62px;height:62px;color:var(--accent);background:#b7ef5414;border:1px solid #b7ef5442;border-radius:50%;place-items:center;font-size:32px;line-height:1;display:grid}.mode-card.active .mode-icon{color:var(--accent);background:#b7ef5424;border-color:#b7ef54b3;box-shadow:0 0 14px #b7ef541f}.mode-copy{gap:0;display:grid}.mode-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.mode-title strong{color:#fff;font-size:18px}.create-mode-tabs+.setup-card{margin-top:32px}.home-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin:26px 0 0;display:grid}.home-action{min-height:60px;color:var(--ink);text-align:left;background:linear-gradient(135deg,#0a241de0,#030f0cf0);border:1px solid #27e0ba3d;border-radius:11px;justify-content:space-between;align-items:center;gap:16px;padding:0 18px;text-decoration:none;transition:border-color .18s,transform .18s,box-shadow .18s;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a,0 10px 24px #00000038}.themed-page-shell .title-screen .home-action.primary{background:var(--brand-action-gradient);border-color:#41eb717a;box-shadow:inset 0 1px #ffffff29,0 12px 28px #00280c6b,0 0 20px #1db5301f}.home-action:hover,.home-action:focus-visible{border-color:#30eebf94;transform:translateY(-1px);box-shadow:0 15px 32px #00000052,0 0 22px #23e0b71a}.home-action strong{color:#fff;letter-spacing:-.01em;font-size:15px;font-weight:700}.home-action-icon{color:#39e8c0;flex:none;width:20px;height:20px;transition:transform .18s}.home-action.primary .home-action-icon{color:#fff}.home-action:hover .home-action-icon,.home-action:focus-visible .home-action-icon{transform:translate(3px)}.setup-intro h1{color:#fff;max-width:680px;margin-bottom:12px;font-family:DM Serif Display,serif;font-size:clamp(38px,7vw,68px);font-weight:400;line-height:.98}.setup-intro p{max-width:660px;color:var(--muted);line-height:1.65}.eyebrow{color:var(--accent);letter-spacing:.18em;text-transform:uppercase;margin-bottom:8px;font-size:10px;font-weight:700;display:block}select,input{width:100%;min-width:0;min-height:46px;color:var(--ink);background:#04120fd6;border:1px solid #b0d3c433;border-radius:10px;outline:none;padding:12px 14px;box-shadow:inset 0 1px #ffffff06}select:focus,input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #b7ef541f}.rule-toggle{border:1px solid var(--line);cursor:pointer;background:#ffffff06;border-radius:12px;align-items:flex-start;gap:12px;max-width:620px;margin-bottom:22px;padding:12px 14px;display:flex}.rule-toggle input{width:18px;height:18px;accent-color:var(--accent);margin-top:2px}.rule-toggle-label{gap:4px;display:grid}.rule-toggle small{color:var(--muted);line-height:1.4}.launch-button{border:1px solid var(--theme-primary-border);color:#fff;background:linear-gradient(135deg, var(--theme-primary-start), var(--theme-primary-end));width:100%;box-shadow:var(--theme-primary-shadow);border-radius:14px;padding:16px 24px;font-weight:800;transition:filter .18s,transform .18s,box-shadow .18s}.launch-button:hover:not(:disabled),.launch-button:focus-visible,.invite-button:hover:not(:disabled),.invite-button:focus-visible{filter:brightness(1.1)saturate(1.04);box-shadow:var(--theme-primary-shadow-hover);transform:translateY(-1px)}.lobby-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px;margin-bottom:20px;display:flex}.lobby-heading-row{justify-content:space-between;align-items:center;gap:20px;margin-bottom:8px;display:flex}.lobby-heading-row .setup-intro{margin-bottom:0}.lobby-heading-row .setup-intro h1{font-size:clamp(38px,6vw,60px)}.invite-button{border:1px solid var(--theme-primary-border);color:#fff;background:linear-gradient(135deg, var(--theme-primary-start), var(--theme-primary-end));min-height:46px;box-shadow:var(--theme-primary-shadow);border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:11px 18px;font-weight:800;transition:filter .18s,transform .18s,box-shadow .18s;display:inline-flex}.invite-button svg,.lobby-name-edit-button svg{width:18px;height:18px}.invite-code-feedback{background:#b7ef5412;border:1px solid #b7ef5438;border-radius:10px;grid-template-columns:auto auto;align-items:baseline;gap:2px 12px;width:fit-content;margin-top:14px;padding:10px 14px;display:grid}.invite-code-feedback span,.invite-code-feedback small{color:var(--muted);font-size:11px}.invite-code-feedback strong{color:var(--accent);letter-spacing:.08em;font-size:18px}.invite-code-feedback small{grid-column:1/-1}.lobby-settings{grid-template-columns:minmax(150px,190px) minmax(180px,240px) 1fr;align-items:start;gap:14px;margin-bottom:18px;display:grid}.lobby-settings label:not(.rule-toggle-label){color:var(--ink);gap:8px;font-weight:700;display:grid}.rule-toggle.compact{max-width:none;margin:0}.human-choice-row button:not(.primary):hover:not(:disabled),.human-choice-row button:not(.primary):focus-visible,.human-target-prompt button:hover:not(:disabled),.human-target-prompt button:focus-visible{background:#23412fe0;border-color:#b7ef5480}.error-message{color:#ffc2b7;background:#7323196b;border:1px solid #ff786447;border-radius:10px;margin-bottom:16px;padding:12px 14px}.success-message{color:#ddffad;background:#325d2757;border:1px solid #b7ef5447;border-radius:10px;margin-bottom:16px;padding:12px 14px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#020a08b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.confirm-dialog{background:#071713;border:1px solid #b0d3c429;border-radius:14px;gap:18px;width:min(420px,100%);padding:24px;display:grid;box-shadow:0 24px 70px #0000006b}.confirm-dialog h2{color:#fff;margin:0;font-size:24px}.confirm-dialog p{color:var(--muted);margin:0;line-height:1.5}.confirm-dialog-actions{justify-content:flex-end;gap:12px;display:flex}.destructive-action{color:#fff5f3;background:linear-gradient(135deg,#c94b45,#9f2d2a);border:1px solid #ff7d7d80;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:11px 18px;font-weight:800;display:inline-flex}.destructive-action:hover:not(:disabled),.destructive-action:focus-visible{filter:brightness(1.06);box-shadow:0 12px 28px #c94b4538}.game-error-message{z-index:40;color:#ffc2b7;background:#4b1612f2;border:1px solid #ff78645c;border-radius:10px;max-width:min(540px,100vw - 30px);margin:0;padding:11px 14px;position:fixed;top:76px;left:50%;transform:translate(-50%)}.app-shell{--game-ui-scale:1;background:radial-gradient(circle at 50% 30%,#21684829,#0000 44%),linear-gradient(145deg,#07110f,#020706);width:100%;height:100dvh;min-height:640px;position:relative;overflow:hidden}.topbar{z-index:15;height:calc(66px * var(--game-ui-scale));justify-content:space-between;align-items:center;gap:calc(16px * var(--game-ui-scale));padding:calc(10px * var(--game-ui-scale)) calc(18px * var(--game-ui-scale));background:linear-gradient(#030a08f5,#030a0800);transition:right .24s;display:flex;position:absolute;top:0;left:0;right:0}.topbar .brand{gap:9px}.score-dialog-backdrop{z-index:80;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#010705f0;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.score-dialog{width:min(880px,100%);max-height:min(86dvh,900px);color:var(--ink);background:radial-gradient(circle at 82% 0,#b7ef541f,#0000 36%),#071713;border:1px solid #b7ef543d;border-radius:22px;gap:18px;margin:0;padding:clamp(20px,3vw,34px);display:grid;position:relative;inset:auto;overflow:auto;box-shadow:0 30px 90px #00000094}.score-dialog-heading{justify-content:space-between;align-items:start;gap:20px;display:flex}.score-dialog h2,.score-dialog h3,.score-dialog p{margin:0}.score-dialog h2{color:#fff;font-size:clamp(25px,3vw,38px)}.score-dialog-description{color:var(--muted);line-height:1.5}.scoreboard-history{gap:24px;min-height:0;display:grid;overflow:auto}.scoreboard-section{gap:10px;display:grid}.scoreboard-section h3{color:var(--accent);font-size:17px}.scoreboard-scroll{border:1px solid #b0d3c426;border-radius:15px;overflow-x:auto}.scoreboard-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.scoreboard-table th,.scoreboard-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #b0d3c41a;padding:13px 15px}.scoreboard-table thead th{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;background:#ffffff09;font-size:12px}.scoreboard-table tbody tr:last-child>*{border-bottom:0}.scoreboard-table tbody td:first-child strong{color:var(--accent);font-size:17px}.scoreboard-table td small,.score-player-notes{color:var(--muted);flex-wrap:wrap;gap:5px;margin-top:4px;font-size:11px;font-weight:600;display:flex}.score-player-notes span{border:1px solid #b7ef542e;border-radius:999px;padding:2px 6px}.score-rank-1{background:#b7ef5417}.score-rank-2,.score-rank-3{background:#ffffff06}.score-dialog-actions{justify-content:flex-end;align-items:center;gap:16px;display:flex}.score-dialog-actions p{color:var(--muted);margin-right:auto;font-size:13px}.primary-action{border:1px solid var(--theme-primary-border);color:#fff;background:linear-gradient(135deg, var(--theme-primary-start), var(--theme-primary-end));min-height:48px;box-shadow:var(--theme-primary-shadow);border-radius:12px;padding:12px 22px;font-weight:900}.primary-action:hover:not(:disabled),.primary-action:focus-visible{filter:brightness(1.1)saturate(1.04);box-shadow:var(--theme-primary-shadow-hover)}.final-leaderboard{text-align:center;justify-items:center}.final-leaderboard .scoreboard-section{text-align:left;width:100%}.leaderboard-end-reason{color:var(--muted)}.leaderboard-podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;display:grid}.podium-place{background:#ffffff09;border:1px solid #b0d3c429;border-radius:15px;align-content:center;gap:6px;min-height:118px;padding:18px;display:grid}.podium-place>span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:900}.podium-place strong{color:#fff;font-size:18px}.podium-place small{color:var(--ink);font-weight:800}.podium-place-1{background:linear-gradient(145deg,#b7ef542e,#b7ef540e);border-color:#c9fa7075;box-shadow:0 12px 32px #91d83c1a}.podium-place-2{background:linear-gradient(145deg,#c4dad31f,#ffffff06);border-color:#c4dad352}.podium-place-3{background:linear-gradient(145deg,#dc9d5c21,#ffffff06);border-color:#dc9d5c57}.leaderboard-crown{width:62px;height:62px;color:var(--accent);background:#b7ef541a;border-radius:18px;place-items:center;display:grid}.leaderboard-crown svg{width:34px;height:34px}@media (width<=640px){.score-dialog-backdrop{padding:10px}.score-dialog{border-radius:16px;max-height:94dvh;padding:18px}.score-dialog-heading,.score-dialog-actions{flex-direction:column;align-items:stretch}.scoreboard-table th,.scoreboard-table td{padding:10px 9px}.leaderboard-podium{grid-template-columns:1fr}}.topbar .brand-mark{width:calc(40px * var(--game-ui-scale));height:calc(40px * var(--game-ui-scale))}.topbar .brand-mark svg{width:calc(35px * var(--game-ui-scale));height:calc(35px * var(--game-ui-scale))}.topbar .brand-copy{gap:1px;display:grid}.topbar .brand-copy span{color:var(--muted);font-size:calc(11px * var(--game-ui-scale));font-weight:500}.topbar-actions{gap:calc(8px * var(--game-ui-scale));display:flex}.secondary-action,.game-controls button,.drawer-heading button{border:1px solid var(--line);min-height:44px;color:var(--ink);font-size:calc(12px * var(--game-ui-scale));background:#0c1a16d6;font-weight:700;box-shadow:inset 0 1px #ffffff0a}.secondary-action{gap:calc(7px * var(--game-ui-scale));padding:calc(11px * var(--game-ui-scale)) calc(18px * var(--game-ui-scale));border-radius:calc(10px * var(--game-ui-scale));align-items:center;text-decoration:none;display:flex}.secondary-action:hover,.secondary-action:focus-visible,.secondary-action[aria-pressed=true]{color:#d9ff98;background:#23412fe0;border-color:#b7ef5470}.button-icon{width:16px;height:16px;color:var(--accent);place-items:center;font-size:16px;display:grid}.table-game{z-index:1;top:calc(58px * var(--game-ui-scale));right:calc(10px * var(--game-ui-scale));bottom:calc(94px * var(--game-ui-scale));left:calc(10px * var(--game-ui-scale));border-radius:calc(30px * var(--game-ui-scale));min-height:0;box-shadow:var(--shadow);background:radial-gradient(circle at 50% 42%,#1f5b3f33,#0000 58%),#030907;border:1px solid #b7decc1a;transition:right .24s;position:absolute;overflow:hidden}.room-glow{pointer-events:none;background:radial-gradient(at 50% 46%,#0000 35%,#0006 72%),linear-gradient(125deg,#ffffff05,#0000 40%);position:absolute;inset:0}.table-surface{background:radial-gradient(ellipse at 50% 43%, #2d8b586b, transparent 54%), radial-gradient(ellipse at 50% 50%, var(--felt), var(--felt-dark) 78%);border:clamp(9px,1vw,15px) solid #3b271a;border-radius:48%;position:absolute;inset:3% 2.5%;overflow:hidden;box-shadow:inset 0 0 0 2px #eebc7424,inset 0 0 70px #0000007a,0 0 0 4px #17100b,0 24px 52px #00000094}.table-surface:before{border-radius:inherit;content:"";mix-blend-mode:screen;background:repeating-radial-gradient(circle at 30% 40%,#0000 0 2px,#ffffff03 2px 3px),linear-gradient(105deg,#0000 36%,#ffffff09 50%,#0000 64%);position:absolute;inset:0}.felt-texture{border-radius:inherit;border:1px solid #ace6c112;position:absolute;inset:3%}.table-center{z-index:7;width:min(calc(360px * var(--game-ui-scale)), 34%);gap:calc(14px * var(--game-ui-scale));color:#fff;justify-items:center;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.center-piles{width:min(calc(350px * var(--game-ui-scale)), 92vw);gap:clamp(8px, 1.3vw, calc(22px * var(--game-ui-scale)));grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.players-5 .center-piles,.players-6 .center-piles,.players-7 .center-piles,.players-8 .center-piles{width:min(calc(300px * var(--game-ui-scale)), 82vw)}.pile-zone{min-width:calc(78px * var(--game-ui-scale));gap:calc(7px * var(--game-ui-scale));color:#ecf8f1bd;min-height:44px;font:inherit;font-size:calc(9px * var(--game-ui-scale));letter-spacing:.1em;text-align:center;text-transform:uppercase;background:0 0;border:0;justify-items:center;padding:0;font-weight:700;display:grid}.pile-zone.selectable{cursor:pointer;outline-offset:6px;border-radius:10px;outline:2px solid #ffe075db;transition:filter .18s,transform .18s;animation:1.25s ease-in-out infinite selectable-pulse}.pile-zone.selectable:hover,.pile-zone.selectable:focus-visible{filter:drop-shadow(0 0 18px #ffe07580);transform:translateY(-3px)scale(1.04)}.draw-preview-zone.ready .skyjo-card{outline-offset:3px;outline:2px solid #ffe075e6;animation:.9s ease-in-out infinite alternate drawn-card-ready}.draw-preview-zone:not(.ready):not(.animating){visibility:hidden}.draw-preview-zone:not(.ready) .skyjo-card{opacity:0}.draw-preview-zone.animating .draw-preview-card{outline-offset:4px;border-radius:8px;outline:1px dashed #ffe07594}.pile-zone>span{text-shadow:0 2px 8px #000}.pile-zone>strong{color:#ecf8f194;font-size:calc(8px * var(--game-ui-scale));letter-spacing:.04em;font-weight:500}.card-stack{width:clamp(54px, 5vw, calc(72px * var(--game-ui-scale)));position:relative}.draw-preview-card{width:clamp(54px, 5vw, calc(72px * var(--game-ui-scale)))}.card-stack i{background:#102a22;border:1px solid #ffffff38;border-radius:8px;display:block;position:absolute;inset:0;box-shadow:0 5px 12px #0000004d}.card-stack i:first-child{transform:translate(7px,8px)}.card-stack i:nth-child(2){transform:translate(4px,4px)}.card-stack .skyjo-card{z-index:2;width:100%;position:relative}.pile-zone.affected .card-stack{animation:1s pile-pulse}.round-dashboard{width:min(calc(250px * var(--game-ui-scale)), 100%);gap:calc(9px * var(--game-ui-scale));padding:calc(10px * var(--game-ui-scale)) calc(15px * var(--game-ui-scale));border-radius:calc(13px * var(--game-ui-scale));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#031a11ad;border:1px solid #d5f0e11a;justify-items:center;display:grid;box-shadow:0 12px 28px #00000042}.phase-pill,.status-badge{font-size:calc(8px * var(--game-ui-scale));letter-spacing:.09em;text-transform:uppercase;border-radius:999px;font-weight:800}.phase-pill{color:#0d2b1b;background:var(--accent);padding:4px 9px}.center-stats{grid-template-columns:repeat(2,1fr);gap:8px;width:100%;display:grid}.center-stats div,.current-player-summary,.table-winner{text-align:center;gap:1px;display:grid}.center-stats div{border-right:1px solid var(--line);padding:4px 8px}.center-stats div:last-child{border-right:0}.center-stats span,.current-player-summary span,.table-winner span,.action-caption span{color:#eaf7ef8c;font-size:calc(7px * var(--game-ui-scale));letter-spacing:.11em;text-transform:uppercase;font-weight:700}.center-stats strong{font-size:calc(14px * var(--game-ui-scale))}.current-player-summary strong,.table-winner strong{color:#d7ff95;font-size:calc(12px * var(--game-ui-scale))}.action-caption{max-width:calc(330px * var(--game-ui-scale));gap:calc(3px * var(--game-ui-scale));padding:calc(7px * var(--game-ui-scale)) calc(12px * var(--game-ui-scale));text-align:center;background:#041811b3;border:1px solid #ffd3632e;border-radius:10px;animation:.5s both caption-in;display:grid}.action-caption strong{color:#f7e6b5;font-size:calc(9px * var(--game-ui-scale));font-weight:600}.table-players{z-index:5;position:absolute;inset:0}.player-position{top:var(--player-y);left:var(--player-x);width:clamp(calc(170px * var(--game-ui-scale)), 17vw, calc(235px * var(--game-ui-scale)));position:absolute;transform:translate(-50%,-50%)}.players-1 .player-position{width:clamp(calc(210px * var(--game-ui-scale)), 24vw, calc(280px * var(--game-ui-scale)))}.players-7 .player-position,.players-8 .player-position{width:clamp(calc(135px * var(--game-ui-scale)), 12.5vw, calc(178px * var(--game-ui-scale)))}.players-7 .table-center,.players-8 .table-center{transform:translate(-50%,-50%)scale(.8)}.board-panel{padding:clamp(7px, .8vw, calc(11px * var(--game-ui-scale)));border-radius:calc(14px * var(--game-ui-scale));background:linear-gradient(145deg,#0f2a21f2,#041510f5);border:2px solid #b5decc38;transition:border-color .26s,box-shadow .26s,opacity .26s;position:relative;box-shadow:inset 0 1px #ffffff0f,0 12px 26px #00000061}.board-panel.current{z-index:4;border-color:var(--gold);animation:1.8s ease-in-out infinite active-player-glow;box-shadow:inset 0 1px #ffffff14,0 0 0 3px #ffd3632e,0 0 34px #ffd36352,0 16px 32px #00000075}.board-panel.waiting{opacity:.9}.board-panel.round-ender{z-index:3;border-color:#b98cff;box-shadow:inset 0 1px #ffffff14,0 0 0 3px #b98cff29,0 0 30px #915ae442,0 16px 32px #00000075}.board-panel.winner{border-color:var(--accent);box-shadow:0 0 0 4px #b7ef542e,0 0 36px #b7ef5447}.board-header{min-height:calc(30px * var(--game-ui-scale));margin-bottom:calc(7px * var(--game-ui-scale));color:#fff;justify-content:space-between;align-items:flex-start;display:flex}.player-number,.agent-type{color:#e6f6ed80;font-size:calc(7px * var(--game-ui-scale));letter-spacing:.08em;text-transform:uppercase;font-weight:700;display:block}.board-header h2{font-size:clamp(11px, 1.2vw, calc(17px * var(--game-ui-scale)));margin:0;line-height:1.1}.board-badges{justify-items:end;gap:2px;display:grid}.board-badges strong{color:#77adff;font-size:clamp(9px, .9vw, calc(12px * var(--game-ui-scale)))}.board-grid{gap:clamp(3px, .38vw, calc(5px * var(--game-ui-scale)));grid-template-columns:repeat(4,minmax(20px,1fr));display:grid}.status-badge{white-space:nowrap;padding:4px 10px;display:none;position:absolute;bottom:-18px;left:50%;transform:translate(-50%)}.status-badge.current,.status-badge.round-ender,.status-badge.winner{color:#1b2607;background:var(--gold);display:block;box-shadow:0 5px 14px #00000057}.status-badge.round-ender{color:#f4eaff;background:#7044ad}.status-badge.winner{background:var(--accent)}.skyjo-card{aspect-ratio:.72;color:#102018;background:#f5f3dc;border:1px solid #ffffffd1;border-radius:clamp(4px,.45vw,7px);place-items:center;width:100%;padding:0;font-family:DM Serif Display,serif;transition:transform .22s,box-shadow .22s,filter .22s;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffffb8,0 3px #00000057,0 5px 10px #0003}.card-value{z-index:2;font-size:clamp(14px, 1.75vw, calc(27px * var(--game-ui-scale)));position:relative}.card-corner{font-family:DM Sans,sans-serif;font-size:clamp(5px, .5vw, calc(7px * var(--game-ui-scale)));opacity:.5;font-weight:800;position:absolute;top:2px;left:3px}.skyjo-card:after{content:"";pointer-events:none;background:linear-gradient(125deg,#ffffff6b,#0000 38%,#00000014);position:absolute;inset:0}.skyjo-card[data-highlighted=true],.skyjo-card[data-changed=true]{z-index:3;outline-offset:2px;outline:2px solid #fff2a6;animation:1.1s ease-in-out both card-highlight}.skyjo-card[data-changed=true]{animation:.62s ease-out both card-settle-highlight}.skyjo-card[data-moving=true],.source-moving .card-stack>.skyjo-card{opacity:0}button.skyjo-card.selectable,.skyjo-card.selectable{z-index:6;cursor:pointer;outline-offset:2px;outline:2px solid #fff2a6;animation:1.25s ease-in-out infinite selectable-pulse}button.skyjo-card.selectable:hover,button.skyjo-card.selectable:focus-visible,.skyjo-card.selectable:hover,.skyjo-card.selectable:focus-visible{filter:brightness(1.18)saturate(1.08);animation:.7s ease-in-out both playable-card-hover;transform:translateY(-7px)scale(1.1)rotate(-1deg);box-shadow:0 0 0 4px #ffe27c42,0 0 24px #ffe27c59,0 15px 26px #0000007a}.skyjo-card[data-selected=true]{outline-color:var(--accent);animation:none;transform:translateY(-5px)scale(1.06);box-shadow:0 0 0 4px #adff4a33,0 0 24px #adff4a4d}.human-turn-panel{z-index:18;right:50%;bottom:calc(92px * var(--game-ui-scale));width:min(calc(660px * var(--game-ui-scale)), calc(100vw - 28px));min-height:calc(78px * var(--game-ui-scale));gap:calc(12px * var(--game-ui-scale));padding:calc(14px * var(--game-ui-scale)) calc(16px * var(--game-ui-scale));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#071410f5;border:1px solid #ffdc705c;border-radius:16px;align-items:center;display:grid;position:absolute;transform:translate(50%);box-shadow:0 18px 45px #0000007a,0 0 30px #ffd3631f}.human-turn-heading{justify-content:space-between;align-items:baseline;gap:14px;display:flex}.human-turn-heading .eyebrow{color:var(--gold);margin:0}.human-choice-row{gap:calc(8px * var(--game-ui-scale));flex-wrap:wrap;display:flex}.human-countdown{gap:7px;display:grid}.human-countdown>div{justify-content:space-between;align-items:baseline;gap:14px;display:flex}.human-countdown span{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;font-size:9px;font-weight:800}.human-countdown strong{color:var(--gold);font-size:17px}.human-countdown progress{background:#ffffff14;border:0;border-radius:999px;width:100%;height:7px;overflow:hidden}.human-countdown progress::-webkit-progress-bar{background:#ffffff14}.human-countdown progress::-webkit-progress-value{border-radius:inherit;background:linear-gradient(90deg, var(--gold), var(--accent))}.human-countdown progress::-moz-progress-bar{border-radius:inherit;background:linear-gradient(90deg, var(--gold), var(--accent))}.human-choice-row button,.human-target-prompt button{min-height:44px;padding:calc(10px * var(--game-ui-scale)) calc(13px * var(--game-ui-scale));border:1px solid var(--line);color:var(--ink);background:#ffffff0b;border-radius:10px;flex:1}.human-choice-row button.primary{color:#132008;background:var(--accent)}.drawn-card-choice{align-items:center;gap:10px;display:grid}.drawn-card-choice .human-choice-row{grid-column:1/-1}.drawn-card-copy{gap:4px;display:grid}.drawn-card-choice span,.human-target-prompt span{color:var(--muted);font-size:calc(11px * var(--game-ui-scale))}.human-target-prompt{justify-content:space-between;align-items:center;gap:12px;display:flex}.human-target-prompt button{flex:none}.privacy-gate{z-index:60;background:radial-gradient(circle at 50% 40%,#1d5b3e57,#0000 32rem),#020806fb;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.privacy-gate>div{text-align:center;width:min(520px,100%);box-shadow:var(--shadow);background:#0a1c16f0;border:1px solid #b7ef543d;border-radius:24px;padding:clamp(28px,6vw,50px)}.privacy-gate h2{margin-top:15px;font-family:DM Serif Display,serif;font-size:clamp(30px,6vw,48px);font-weight:400}.privacy-gate p{color:var(--muted);line-height:1.6}.privacy-gate button{color:#102018;background:var(--accent);border:1px solid #ddffa46b;border-radius:12px;width:100%;margin-top:24px;padding:13px 18px;font-weight:800}.privacy-active .table-game,.privacy-active .game-controls,.privacy-active .topbar{filter:blur(18px)brightness(.35);pointer-events:none}.skyjo-card.hidden{color:#ffffffc2;background:radial-gradient(circle at 50% 40%,#bfeed314,#0000 34%),repeating-linear-gradient(45deg,#0000 0 6px,#ffffff13 6px 8px),#0a2920}.hidden-mark{z-index:2;color:#e8f7efd1;font-family:DM Sans,sans-serif;font-size:clamp(12px, 1.4vw, calc(21px * var(--game-ui-scale)));font-weight:500}.skyjo-card.cold{background:linear-gradient(145deg,#d8efff,#8bc7f2)}.skyjo-card.green{background:linear-gradient(145deg,#e1f5a8,#acd95f)}.skyjo-card.amber{background:linear-gradient(145deg,#ffe5a1,#f3b94f)}.skyjo-card.hot{color:#fff;background:linear-gradient(145deg,#ec6c55,#ac302a)}.skyjo-card.removed{color:#ffffff2e;box-shadow:none;background:#0000001a;border:1px dashed #ffffff21}.action-animation{z-index:9;pointer-events:none;position:absolute;inset:0}.motion-card{width:var(--motion-from-width);height:var(--motion-from-height);opacity:0;filter:drop-shadow(0 16px 13px #00000080);animation-delay:var(--motion-delay);animation-duration:var(--motion-duration);transform:translate3d(calc(var(--from-x) - 50%), calc(var(--from-y) - 50%), 0);will-change:width, height, transform;animation-timing-function:cubic-bezier(.2,.8,.24,1);animation-fill-mode:forwards;position:absolute;top:0;left:0}.motion-card.source-consumed{visibility:hidden}.motion-card-visual{animation-delay:var(--motion-delay);animation-duration:var(--motion-duration);transform-style:preserve-3d;animation-timing-function:ease-in-out;animation-fill-mode:forwards;position:absolute;inset:0}.motion-card .skyjo-card{z-index:2;aspect-ratio:auto;backface-visibility:hidden;width:100%;height:100%;transition:none;animation:none;position:relative;transform:none;box-shadow:0 0 0 2px #ffe18038,0 12px 25px #0000006b}.motion-card-back{z-index:3;opacity:0;backface-visibility:hidden;background:radial-gradient(circle at 50% 40%,#bfeed314,#0000 34%),repeating-linear-gradient(45deg,#0000 0 6px,#ffffff13 6px 8px),#0a2920;border:1px solid #ffffffc2;border-radius:clamp(4px,.45vw,7px);display:block;position:absolute;inset:0;transform:rotateY(180deg);box-shadow:0 12px 25px #0000006b}.motion-card.from-deck{animation-name:deck-card-motion}.motion-card.from-deck .motion-card-visual{animation-name:deck-card-lift}.motion-card.from-deck .skyjo-card{animation-name:deck-card-face-reveal;animation-delay:var(--motion-delay);animation-duration:var(--motion-duration);animation-fill-mode:both}.motion-card.from-deck .motion-card-back{animation-name:deck-card-back-reveal;animation-delay:var(--motion-delay);animation-duration:var(--motion-duration);animation-fill-mode:both}.motion-card.from-board,.motion-card.from-discard,.motion-card.from-draw-preview{animation-name:physical-card-motion}.motion-card.from-board .motion-card-visual,.motion-card.from-discard .motion-card-visual,.motion-card.from-draw-preview .motion-card-visual{animation-name:physical-card-lift}.motion-card.event-flip{animation-name:action-card-flip}.motion-card.event-flip .motion-card-visual{animation-name:action-card-turn}.motion-card.event-flip .motion-card-back{opacity:1;animation:none}.game-controls{z-index:14;right:calc(10px * var(--game-ui-scale));bottom:calc(9px * var(--game-ui-scale));left:calc(10px * var(--game-ui-scale));min-height:calc(74px * var(--game-ui-scale));gap:calc(14px * var(--game-ui-scale));padding:calc(9px * var(--game-ui-scale)) calc(13px * var(--game-ui-scale));border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#06110ef0;border-radius:16px;grid-template-columns:minmax(260px,.9fr) auto minmax(260px,1.2fr);align-items:center;transition:right .24s;display:grid;position:absolute;box-shadow:0 -12px 34px #0000004d}.game-controls button{padding:calc(9px * var(--game-ui-scale)) calc(12px * var(--game-ui-scale));border-radius:10px}.speed-control{gap:5px;display:grid}.speed-control>span{color:var(--muted);font-size:calc(8px * var(--game-ui-scale));letter-spacing:.14em;text-transform:uppercase;font-weight:800}.speed-options{background:#ffffff06;border-radius:9px;grid-template-columns:repeat(6,1fr);padding:3px;display:grid}.speed-options button{color:var(--muted);font-size:calc(9px * var(--game-ui-scale));background:0 0;border:0;padding:7px 4px}.speed-options button.active{color:#172407;background:var(--accent);box-shadow:0 5px 12px #649d2b33}.transport-controls{justify-content:center;align-items:center;gap:7px;display:flex}.transport-controls .icon-control{width:calc(44px * var(--game-ui-scale));height:calc(44px * var(--game-ui-scale));border-radius:50%;place-items:center;padding:0;display:grid}.transport-controls .play-control{min-width:calc(96px * var(--game-ui-scale));color:#132008;background:var(--accent);justify-content:center;align-items:center;gap:7px;display:flex}.timeline-control{gap:7px;display:grid}.step-count{color:var(--muted);font-size:calc(10px * var(--game-ui-scale));text-align:right;font-weight:700}.timeline-control input[type=range]{appearance:none;background:linear-gradient(90deg, var(--accent) var(--progress), #ffffff17 var(--progress));height:5px;box-shadow:none;cursor:pointer;border:0;border-radius:999px;padding:0}.timeline-control input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--accent);border:3px solid #d2ff883d;border-radius:50%;width:15px;height:15px;box-shadow:0 0 16px #b7ef5480}.drawer-backdrop{z-index:19;opacity:0;pointer-events:none;background:#0000008f;border:0;transition:opacity .2s;display:block;position:fixed;inset:0}.action-drawer{z-index:20;border-left:1px solid var(--line);background:linear-gradient(155deg,#0f1d19fa,#040b09fc);grid-template-rows:auto auto auto 1fr;gap:13px;width:min(390px,94vw);height:100dvh;padding:20px;transition:transform .24s;display:grid;position:fixed;top:0;right:0;transform:translate(102%);box-shadow:-18px 0 50px #00000057}.action-drawer.open{transform:translate(0)}.log-open .topbar,.log-open .table-game,.log-open .game-controls{right:400px}.drawer-heading{justify-content:space-between;align-items:flex-start;display:flex}.drawer-heading h2{color:#fff;text-transform:uppercase;margin:0;font-size:18px}.drawer-heading button{border-radius:9px;place-items:center;width:34px;height:34px;padding:0;font-size:20px;display:grid}.action-filter{color:var(--muted);grid-template-columns:1fr 140px;align-items:center;gap:8px;font-size:10px;font-weight:700;display:grid}.action-filter select{padding:9px 10px;font-size:10px}.action-count{border-bottom:1px solid var(--line);color:var(--muted);padding-bottom:9px;font-size:9px}.action-list{scrollbar-color:#b7ef5461 transparent;align-content:start;gap:4px;display:grid;overflow:auto}.action-list button{color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;border-bottom-color:#ffffff0f;border-radius:9px;gap:4px;padding:11px 43px 11px 12px;display:grid;position:relative}.action-list button:hover,.action-list button.active{background:#b7ef540e;border-color:#b7ef5438}.action-list button.active{box-shadow:inset 3px 0 var(--accent)}.action-meta{align-items:center;gap:7px;display:flex}.action-meta strong{letter-spacing:.08em;text-transform:uppercase;font-size:8px}.action-meta em{color:#d8ff9c;letter-spacing:.07em;text-transform:uppercase;background:#b7ef541f;border-radius:999px;padding:3px 6px;font-size:6px;font-style:normal;font-weight:800}.action-agent{color:#fff;font-size:10px;font-weight:700}.action-description,.action-list button>span:not([class]){color:var(--muted);font-size:9px;line-height:1.35}.action-card-preview{aspect-ratio:.72;color:#142018;background:#dff0a3;border:1px solid #ffffff94;border-radius:4px;place-items:center;width:25px;font-family:DM Serif Display,serif;font-size:12px;display:grid;position:absolute;top:50%;right:10px;transform:translateY(-50%)}@keyframes pile-pulse{0%,to{filter:none}40%{filter:drop-shadow(0 0 16px #ffde74b8)}}@keyframes card-highlight{0%,to{filter:brightness()}45%{filter:brightness(1.32)}}@keyframes card-settle-highlight{0%{filter:brightness(1.35)}65%{filter:brightness(1.12)}to{filter:brightness()}}@keyframes selectable-pulse{0%,to{filter:brightness()}50%{filter:brightness(1.25)}}@keyframes playable-card-hover{0%{transform:translateY(-4px)scale(1.06)rotate(0)}55%{transform:translateY(-9px)scale(1.12)rotate(-1.5deg)}to{transform:translateY(-7px)scale(1.1)rotate(-1deg)}}@keyframes drawn-card-ready{0%{filter:brightness();transform:translateY(0)rotate(0)}to{filter:brightness(1.14);transform:translateY(-4px)rotate(1deg)}}@keyframes active-player-glow{0%,to{box-shadow:0 0 0 3px #ffd36324,0 0 24px #ffd36338,0 16px 32px #00000075}50%{box-shadow:0 0 0 4px #ffd36340,0 0 42px #ffd3636b,0 16px 32px #00000075}}@keyframes caption-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes physical-card-motion{0%{width:var(--motion-from-width);height:var(--motion-from-height);opacity:1;transform:translate3d(calc(var(--from-x) - 50%), calc(var(--from-y) - 50%), 0)}to{width:var(--motion-to-width);height:var(--motion-to-height);opacity:1;transform:translate3d(calc(var(--to-x) - 50%), calc(var(--to-y) - 50%), 0)}}@keyframes deck-card-motion{0%{width:var(--motion-from-width);height:var(--motion-from-height);opacity:1;transform:translate3d(calc(var(--from-x) - 50%), calc(var(--from-y) - 50%), 0)}to{width:var(--motion-to-width);height:var(--motion-to-height);opacity:1;transform:translate3d(calc(var(--to-x) - 50%), calc(var(--to-y) - 50%), 0)}}@keyframes action-card-flip{0%{width:var(--motion-from-width);height:var(--motion-from-height);opacity:1;transform:translate3d(calc(var(--from-x) - 50%), calc(var(--from-y) - 50%), 0)}to{width:var(--motion-to-width);height:var(--motion-to-height);opacity:1;transform:translate3d(calc(var(--to-x) - 50%), calc(var(--to-y) - 50%), 0)}}@keyframes physical-card-lift{0%,to{transform:translate(0,0)}48%{transform:translateY(-22%)}}@keyframes deck-card-lift{0%,to{transform:translate(0,0)}34%{transform:translateY(-32%)}72%{transform:translateY(-18%)}}@keyframes deck-card-face-reveal{0%,24%{opacity:0}34%,to{opacity:1}}@keyframes deck-card-back-reveal{0%,24%{opacity:1;transform:rotateY(0)}34%,to{opacity:0;transform:rotateY(0)}}@keyframes action-card-turn{0%{filter:brightness(.9);transform:translate(0,0)perspective(360px)rotateY(180deg)}48%{filter:brightness(1.4);transform:translateY(-12%)perspective(360px)rotateY(92deg)}52%{filter:brightness(1.35);transform:translateY(-12%)perspective(360px)rotateY(88deg)}to{filter:brightness();transform:translate(0,0)perspective(360px)rotateY(0)}}@media (width>=1600px) and (height>=900px){.app-shell{--game-ui-scale:1.1}}@media (width>=2200px) and (height>=1200px){.app-shell{--game-ui-scale:1.22}}@media (width>=3000px) and (height>=1600px){.app-shell{--game-ui-scale:1.38}}@media (width<=1500px){.log-open .topbar,.log-open .table-game,.log-open .game-controls{right:10px}.drawer-backdrop.open{opacity:1;pointer-events:auto}}@media (width>=901px) and (width<=1800px){.players-5 .center-piles,.players-6 .center-piles{width:min(calc(290px * var(--game-ui-scale)), 82vw)}.players-7 .player-position,.players-8 .player-position{width:clamp(118px,9vw,158px)}.players-7 .table-center,.players-8 .table-center{transform:translate(-50%,-50%)scale(.72)}}@media (width>=1801px) and (height<=1030px){.players-7 .player-position,.players-8 .player-position{width:158px}.players-7 .table-center,.players-8 .table-center{transform:translate(-50%,-50%)scale(.72)}}@media (width<=1180px){.game-controls{grid-template-columns:1fr auto}.timeline-control{grid-column:1/-1}}@media (height<=760px) and (width>=901px){.players-5 .table-center,.players-6 .table-center{transform:translate(-50%,-50%)scale(.7)}.players-7 .player-position,.players-8 .player-position{width:clamp(98px,9.5vw,112px);transform:translate(-50%,-50%)scale(.88)}.players-7 .table-center,.players-8 .table-center{transform:translate(-50%,-50%)scale(.7)}}@media (width<=900px){.landing-account{justify-content:flex-end;margin-top:16px;display:flex;position:static}.profile-title-row{align-items:start;display:grid}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar .account-controls .account-logout{display:none}.title-screen,.create-header{grid-template-columns:1fr}.title-screen{min-height:auto;margin-top:44px}.create-header{margin-top:44px;display:grid}.count-control{justify-self:stretch;max-width:260px}.home-actions,.create-mode-tabs,.top-config-row,.advanced-grid,.lobby-settings{grid-template-columns:1fr}.online-config-row,.online-config-row.without-host,.online-config-row.without-host:not(.with-code){grid-template-columns:minmax(0,1fr)}.mode-card{grid-template-columns:58px 1fr;min-height:112px;padding:18px}.mode-icon{width:52px;height:52px;font-size:26px}.seat-row{grid-template-columns:42px minmax(0,1fr)}.seat-row .seat-name-field,.seat-row .seat-select-field,.seat-row .seat-summary,.seat-row .seat-choice-cell,.seat-row .seat-level-cell,.seat-row .seat-action-cell{grid-column:2}.seat-action-cell{text-align:right}.seat-action-cell .seat-inline-button{width:100%}.local-seat-actions{justify-content:flex-end}.home-actions{margin-top:28px}.join-card{border-radius:22px}.join-card .setup-intro h1{font-size:clamp(32px,8vw,38px)}.join-field input{min-height:50px;font-size:15px}.app-shell{height:auto;min-height:100dvh;overflow:visible}.topbar{background:#030a08f2;height:auto;min-height:60px;position:sticky}.table-game{min-height:0;margin:0 8px 12px;padding:22px 14px;position:relative;inset:auto;overflow:visible}.table-surface{border-width:5px;border-radius:26px;inset:4px}.table-center,.players-7 .table-center,.players-8 .table-center{z-index:6;width:min(420px,100%);margin:0 auto 30px;position:relative;top:auto;left:auto;transform:none}.table-players{z-index:6;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;display:grid;position:relative}.player-position,.players-7 .player-position,.players-8 .player-position{width:auto;position:static;transform:none}.board-panel.current{transform:none}.board-header h2{font-size:17px}.card-value{font-size:clamp(20px,5vw,34px)}.game-controls{grid-template-columns:1fr;margin:0 8px 8px;position:sticky;bottom:6px;left:auto;right:auto}.human-turn-panel{width:auto;position:fixed;bottom:12px;left:12px;right:12px;transform:none}.timeline-control{grid-column:auto}}@media (width<=620px){.profile-shell{padding:18px 16px 44px}.profile-header{align-items:flex-start}.profile-page{margin-top:34px}.profile-name-form>div,.history-summary,.history-meta{display:grid}.profile-stats{grid-template-columns:1fr}.profile-stats article{min-height:92px}.auth-dialog{padding:28px 20px 22px}.landing-shell{padding:16px}.join-landing-shell{padding:82px 16px 24px}.join-brand{top:16px;left:16px}.join-landing-shell .landing-account{margin-top:0;position:absolute;top:16px;right:16px}.title-copy h1,.create-header h1{font-size:36px}.create-title-row{gap:10px}.title-back-button{width:42px;height:42px;font-size:19px}.title-copy p,.create-header p{font-size:15px}.lobby-heading-row{flex-direction:column;align-items:stretch;gap:12px}.lobby-heading-row .setup-intro h1{font-size:34px}.invite-button{min-height:42px;padding:9px 12px}.lobby-name-value,.lobby-name-editor input{font-size:27px}.invite-code-feedback{width:100%}.home-action{padding:15px}.lobby-toolbar{justify-content:stretch}.lobby-toolbar .secondary-action{flex:1;justify-content:center}.setup-card{border-radius:22px;padding:24px 17px}.game-create-card{padding:18px}.join-card{padding:28px 20px 22px}.join-card .setup-intro{margin-bottom:24px}.join-card .setup-intro p{font-size:15px}.join-divider:before,.join-divider:after{width:54px}.join-actions{flex-direction:column;gap:12px;margin-top:24px}.join-actions .join-back-button,.join-actions .join-submit-button{width:100%}.join-actions .join-back-button{flex-basis:50px}.count-control{max-width:none}.seat-row{gap:10px;padding:12px}.topbar{align-items:flex-start;gap:8px;padding:9px}.topbar-actions{flex-wrap:wrap;flex:auto;justify-content:flex-end;gap:4px;min-width:0}.topbar .brand-copy span,.topbar .secondary-action .button-icon{display:none}.secondary-action{padding:8px 9px;font-size:9px}.center-piles{gap:32px}.speed-options button{font-size:8px}.transport-controls{flex-wrap:wrap}.action-drawer{width:100vw;padding:16px}}.profile-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.7rem;display:flex}.user-directory{max-width:820px}.user-search-field{gap:.45rem;margin:1.5rem 0;font-weight:700;display:grid}.user-search-field input{width:100%;min-height:48px}.user-search-results{gap:.75rem;margin:1.25rem 0;padding:0;list-style:none;display:grid}.user-search-results a{min-height:56px;color:inherit;border:1px solid var(--border-soft);background:#ffffff09;border-radius:16px;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:.8rem 1rem;text-decoration:none;display:grid}.user-search-results a:hover,.user-search-results a:focus-visible{border-color:var(--brand-cyan);background:#24e8c712}.user-search-results a>span:last-child{color:var(--text-muted);font-size:.86rem}.user-search-result-card{border:1px solid var(--border-soft);background:#ffffff06;border-radius:18px;gap:.65rem;padding:.7rem;display:grid}.user-search-result-card>a{background:0 0;border:0}.friendship-controls,.social-inline-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.friendship-controls.compact{justify-content:flex-end}.relationship-status,.invitation-status{border:1px solid var(--line);min-height:30px;color:var(--text-muted);border-radius:999px;align-items:center;padding:.3rem .65rem;font-size:.78rem;font-weight:800;display:inline-flex}.relationship-status.status-friends,.invitation-status.status-accepted{color:var(--brand-green);border-color:#31f04f6b}.relationship-status.status-pending_sent,.relationship-status.status-pending_received,.invitation-status.status-pending{color:#ffd67d;border-color:#ffd67d73}.invitation-status.status-declined,.invitation-status.status-expired,.invitation-status.status-invalid{color:#ff9f9f;border-color:#ff9f9f6b}.friends-page{max-width:960px}.social-section{margin-top:2rem}.social-section h2{margin-bottom:.8rem;font-size:clamp(1.35rem,3vw,2rem)}.social-list{gap:.75rem;padding:0;list-style:none;display:grid}.social-list-item{border:1px solid var(--border-soft);background:#ffffff09;border-radius:16px;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:.8rem;padding:.9rem 1rem;display:grid}.social-list-item>a,.game-invitation-item>div:first-child{color:inherit;gap:.2rem;text-decoration:none;display:grid}.social-list-item>a span,.game-invitation-item>div:first-child span{color:var(--text-muted);font-size:.82rem}.success-message{color:var(--brand-green);font-weight:700}.load-more-users{margin-top:.5rem}.public-profile-page>.secondary-action{margin:.75rem 0 1.25rem}.themed-page-shell{--accent:var(--brand-cyan);--lime:var(--brand-green);--theme-border:#27e0ba3d;--theme-border-hover:#30eebf94;--theme-label:#76dcc8;--theme-neon:var(--brand-green);--theme-focus:var(--brand-cyan);--theme-primary-start:var(--brand-primary-start);--theme-primary-end:var(--brand-primary-end);--theme-primary-border:#41eb717a;--theme-card-radius:18px;--theme-primary-shadow:inset 0 1px #ffffff29, 0 12px 28px #00280c6b, 0 0 20px #1db5301f;--theme-primary-shadow-hover:inset 0 1px #fff3, 0 15px 32px #001f0c80, 0 0 26px #23e0b729}.themed-page-shell .title-copy,.themed-page-shell .setup-card,.themed-page-shell .join-card,.themed-page-shell .profile-page,.themed-page-shell .auth-dialog,.themed-page-shell .confirm-dialog{border:1px solid var(--theme-border);border-radius:var(--theme-card-radius);background:radial-gradient(circle at 82% 0, #24e8c714, transparent 18rem), linear-gradient(150deg, var(--theme-surface), var(--theme-surface-strong));box-shadow:var(--theme-card-shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.themed-page-shell .title-copy{padding:clamp(28px,4vw,44px)}.themed-page-shell .profile-page{margin-top:36px;padding:clamp(24px,4vw,36px)}.themed-page-shell .game-create-card{gap:22px;padding:clamp(24px,4vw,36px)}.themed-page-shell :is(.join-card,.auth-dialog){padding:clamp(24px,4vw,36px)}.themed-page-shell .mode-card,.themed-page-shell .home-action,.themed-page-shell .profile-stats article,.themed-page-shell .history-card,.themed-page-shell .advanced-card,.themed-page-shell .social-list-item,.themed-page-shell .user-search-result-card{border-color:var(--theme-border);border-radius:var(--theme-item-radius);background:linear-gradient(145deg, var(--theme-surface-soft), #030f0ad6);box-shadow:inset 0 1px #ffffff09,0 12px 28px #00000038}.themed-page-shell .mode-card.active{background:radial-gradient(circle at 16% 18%,#24e8c71f,#0000 12rem),linear-gradient(145deg,#103626e6,#04140df0);border-color:#41eb7194;box-shadow:0 0 0 1px #31f04f24,0 16px 34px #00000047}.themed-page-shell .mode-card{grid-template-columns:54px 1fr;gap:16px;min-height:88px;padding:16px 18px}.themed-page-shell .mode-icon{border-color:var(--theme-border);width:48px;height:48px;color:var(--brand-cyan);background:#24e8c712;font-size:24px}.themed-page-shell .mode-card.active .mode-icon{color:var(--brand-green);background:#31f04f1a;border-color:#41eb7194}.themed-page-shell .advanced-card{min-height:180px;padding:18px}.themed-page-shell .profile-stats article{min-height:104px;padding:16px}.themed-page-shell .advanced-grid,.themed-page-shell .create-mode-tabs{gap:14px}.themed-page-shell .social-section{border-top:1px solid #42b45429;margin-top:1.4rem;padding-top:1.2rem}.themed-page-shell :is(h1,h2,h3){color:#fff}.themed-page-shell :is(.create-header h1,.setup-intro h1,.profile-page h1,.auth-dialog h1){font-family:DM Sans,sans-serif;font-size:var(--theme-page-title-size);letter-spacing:-.045em;margin-bottom:12px;font-weight:700;line-height:.98}.themed-page-shell :is(.join-card .setup-intro h1,.auth-dialog h1){font-size:clamp(32px,5vw,40px)}.themed-page-shell :is(.advanced-options h2,.profile-section-heading h2,.social-section h2,.confirm-dialog h2){font-family:DM Sans,sans-serif;font-size:var(--theme-section-title-size);letter-spacing:-.025em;font-weight:700;line-height:1.1}.themed-page-shell :is(.lobby-name-value,.lobby-name-editor input){letter-spacing:-.035em;font-family:DM Sans,sans-serif;font-size:clamp(26px,3.2vw,32px);font-weight:700}.themed-page-shell .title-copy h1,.themed-page-shell .eyebrow,.themed-page-shell .profile-stats strong{color:var(--theme-neon);text-shadow:0 0 24px #5cd7692e}.themed-page-shell .profile-stats strong{font-family:DM Sans,sans-serif;font-weight:700}.themed-page-shell .join-card .setup-intro h1 strong{color:#0000;background:var(--brand-title-gradient);text-shadow:none;-webkit-background-clip:text;background-clip:text;font-weight:700}.themed-page-shell :is(.auth-form label,.join-field,.profile-name-form,.user-search-field,.host-name-field,.seat-name-field,.seat-select-field,.invite-code-field,.advanced-field,.countdown-duration-field,.count-control,.lobby-name-editor){color:var(--theme-label)}.themed-page-shell :is(input:not([type=checkbox]):not([type=radio]),select){min-height:var(--theme-control-height);border:1px solid var(--theme-border);border-radius:var(--theme-control-radius);color:#f6fff8;background:var(--theme-field);outline:none;padding:11px 14px;transition:border-color .18s,background .18s,box-shadow .18s;box-shadow:inset 0 1px 8px #0000002e}.themed-page-shell :is(input,select)::placeholder{color:#bed5c573}.themed-page-shell :is(input:not([type=checkbox]):not([type=radio]),select):hover:not(:disabled){border-color:var(--theme-border-hover)}.themed-page-shell :is(input:not([type=checkbox]):not([type=radio]),select):focus,.themed-page-shell :is(input:not([type=checkbox]):not([type=radio]),select):focus-visible{border-color:var(--theme-focus);background:var(--theme-field-hover);box-shadow:0 0 0 3px #24e8c724,0 0 24px #24e8c714}.themed-page-shell .invite-code-control{border-color:var(--theme-border);background:var(--theme-field)}.themed-page-shell .invite-code-control input{color:var(--theme-neon);box-shadow:none;background:0 0;border:0;border-radius:0}.themed-page-shell :is(.launch-button,.primary-action,.invite-button,.home-action.primary,.seat-inline-button.primary){border-color:var(--theme-primary-border);color:#fff;background:var(--brand-action-gradient);box-shadow:var(--theme-primary-shadow);transition:border-color .18s,filter .18s,transform .18s,box-shadow .18s}.themed-page-shell :is(.launch-button,.primary-action,.invite-button,.seat-inline-button.primary){min-height:var(--theme-control-height);border-radius:var(--theme-control-radius)}.themed-page-shell :is(.game-create-card,.auth-form,.join-card) .launch-button{min-height:var(--theme-primary-action-height);padding-block:0}.themed-page-shell :is(.launch-button,.primary-action,.invite-button,.home-action.primary,.seat-inline-button.primary):hover:not(:disabled),.themed-page-shell :is(.launch-button,.primary-action,.invite-button,.home-action.primary,.seat-inline-button.primary):focus-visible{filter:brightness(1.1)saturate(1.04);box-shadow:var(--theme-primary-shadow-hover);transform:translateY(-1px)}.themed-page-shell .home-action.primary span{color:#f1fff4cc}.themed-page-shell :is(.launch-button,.primary-action,.invite-button,.seat-inline-button.primary):disabled{color:#f1fff4ad;background:linear-gradient(135deg,#12691fe6,#083c11f0);border-color:#45884f4d}.themed-page-shell :is(.secondary-action,.account-logout,.auth-close,.title-back-button,.copy-code-button,.seat-inline-button:not(.primary),.local-add-seat-button,.home-action:not(.primary)){border-color:var(--theme-border);color:#dce9df;background:linear-gradient(135deg,#0a241de0,#030f0cf0);transition:border-color .18s,color .18s,background .18s,box-shadow .18s,transform .18s;box-shadow:inset 0 1px #ffffff09}.themed-page-shell :is(.secondary-action,.account-logout){min-height:var(--theme-control-height);border-radius:var(--theme-control-radius);justify-content:center;align-items:center;gap:8px;padding:11px 18px;font-size:13px;line-height:1}.themed-page-shell :is(.secondary-action,.account-logout,.auth-close,.title-back-button,.copy-code-button,.seat-inline-button:not(.primary),.local-add-seat-button,.home-action:not(.primary)):hover:not(:disabled),.themed-page-shell :is(.secondary-action,.account-logout,.auth-close,.title-back-button,.copy-code-button,.seat-inline-button:not(.primary),.local-add-seat-button,.home-action:not(.primary)):focus-visible{border-color:var(--theme-border-hover);color:#f6fff5;background:#133022eb;box-shadow:0 0 22px #23e0b71a}.themed-page-shell .option-toggle[aria-pressed=true] .option-toggle-track{background:#31f04f29;border-color:#41eb7194;box-shadow:0 0 0 3px #24e8c712,inset 0 1px 4px #00000042}.themed-page-shell .option-toggle[aria-pressed=true] .option-toggle-track>span{background:var(--brand-cyan)}.themed-page-shell :is(a,button,input,select):focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}.themed-page-shell :is(button,input,select):disabled{cursor:not-allowed;opacity:.52;filter:saturate(.5);box-shadow:none;transform:none}.themed-page-shell form>.launch-button,.themed-page-shell .auth-form>.launch-button{width:100%}@media (width<=620px){.themed-page-shell.profile-shell{padding:16px 14px 36px}.themed-page-shell .profile-header,.themed-page-shell .profile-header-actions,.themed-page-shell .account-controls,.themed-page-shell .friendship-controls,.themed-page-shell .social-inline-actions,.themed-page-shell .confirm-dialog-actions,.themed-page-shell .lobby-toolbar,.themed-page-shell .profile-name-form>div{grid-template-columns:minmax(0,1fr);gap:10px;width:100%;display:grid}.themed-page-shell .profile-page{border-radius:18px;margin-top:24px;padding:20px 16px}.themed-page-shell .title-copy{border-radius:18px;padding:26px 20px}.themed-page-shell .profile-title-row h1{font-size:34px}.themed-page-shell :is(.profile-header-actions,.account-controls,.friendship-controls,.social-inline-actions,.confirm-dialog-actions,.lobby-toolbar,.profile-name-form>div)>:is(a,button,input,select,.relationship-status),.themed-page-shell .landing-account,.themed-page-shell .landing-account .account-controls,.themed-page-shell .invite-button,.themed-page-shell .home-action,.themed-page-shell .mode-card{width:100%}.themed-page-shell.join-landing-shell .landing-account,.themed-page-shell.join-landing-shell .landing-account .account-controls{width:auto;display:flex}.themed-page-shell.join-landing-shell .landing-account .account-controls>:is(a,button){width:auto}.themed-page-shell .social-list-item,.themed-page-shell .user-search-result-card{grid-template-columns:minmax(0,1fr)}.themed-page-shell .friendship-controls.compact{justify-content:stretch}}@media (hover:none){.themed-page-shell:before{opacity:.32}}@media (width<=430px){.themed-page-shell.join-landing-shell .join-brand .brand-copy{display:none}.social-list-item{grid-template-columns:1fr}.friendship-controls.compact{justify-content:flex-start}.table-players{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}.confirm-dialog-actions>button{border-radius:12px;min-width:96px;min-height:44px;padding:11px 18px;font-weight:800}.confirm-dialog-actions .secondary-action{color:var(--ink);background:linear-gradient(135deg,#1f3a31f5,#0f241efa);border:1px solid #b0d3c447;justify-content:center;align-items:center;transition:border-color .18s,filter .18s,transform .18s,box-shadow .18s;display:inline-flex;box-shadow:0 8px 20px #0003}.confirm-dialog-actions .secondary-action:hover:not(:disabled),.confirm-dialog-actions .secondary-action:focus-visible{filter:brightness(1.06);border-color:#b7ef5485;transform:translateY(-1px);box-shadow:0 12px 28px #00000047}
