:root{color:#081a43;background:#f7f8fb;font-family:Hiragino Sans,Yu Gothic,YuGothic,Noto Sans JP,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #081a43;--muted: #697289;--paper: #ffffff;--background: #f7f8fb;--line: #cbd2df;--line-dark: #8c97ad;--accent: #ff542b;--accent-dark: #e9441d;--mint: #08a98d;--mint-soft: #e7f8f4;--red: #ed4651;--red-soft: #fff0f1;--shadow: 0 14px 36px rgba(8, 26, 67, .08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:var(--background)}button,input,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(255,84,43,.22);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.45}.page-width{width:min(1440px,calc(100% - 64px));margin-inline:auto}.app-header{position:sticky;top:0;z-index:20;background:#f7f8fbf5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-header__inner{min-height:88px;display:grid;grid-template-columns:auto minmax(230px,1fr) auto;align-items:center;gap:42px;border-bottom:2px solid var(--ink)}.header-tools{display:flex;align-self:stretch;align-items:stretch;gap:24px}.brand{border:0;padding:0;background:none;color:var(--ink);font-size:30px;font-weight:900;letter-spacing:.06em;cursor:pointer;transform:rotate(-2deg)}.group-switcher{justify-self:start;display:flex;align-items:center;gap:8px;min-width:250px;padding:8px 8px 8px 14px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.group-switcher select{flex:1;min-width:0;padding:5px 26px 5px 2px;border:0;background:transparent;color:var(--ink);font-size:14px;font-weight:700}.main-nav{display:flex;align-self:stretch;gap:38px}.main-nav button{position:relative;border:0;padding:4px 0 0;background:none;color:var(--ink);font-size:14px;font-weight:800;cursor:pointer}.main-nav button:after{position:absolute;left:0;right:0;bottom:11px;height:3px;border-radius:3px;background:var(--accent);content:"";transform:scaleX(0) rotate(-1deg);transition:transform .18s ease}.main-nav button:hover:after,.main-nav button.is-active:after{transform:scaleX(1) rotate(-1deg)}.main-nav button.is-active{color:var(--accent-dark)}.local-mode-banner{min-height:34px;display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 18px;background:#fff4d7;color:#78550b;font-size:11px;line-height:1.5}.sync-error-banner{width:min(760px,calc(100% - 32px));display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px auto 0;padding:11px 14px;border:1px solid #f0aeb4;border-radius:10px;background:var(--red-soft);color:#9d2530;font-size:12px;font-weight:700}.sync-error-banner button{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:inherit;font-weight:850;cursor:pointer}.account-menu{position:relative;align-self:center}.account-menu__trigger{min-height:44px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:5px 9px 5px 6px;background:var(--paper);cursor:pointer}.account-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--ink);color:#fff;font-size:13px;font-weight:900}.account-menu__name{max-width:100px;overflow:hidden;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.account-menu__popover{position:absolute;top:calc(100% + 9px);right:0;z-index:30;width:260px;overflow:hidden;border:1px solid var(--line-dark);border-radius:12px;background:var(--paper);box-shadow:0 18px 40px #081a432e}.account-menu__identity{display:grid;gap:4px;padding:15px;border-bottom:1px solid var(--line)}.account-menu__identity strong{font-size:13px}.account-menu__identity span{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis}.account-security-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:10px;padding:9px;border-radius:8px;background:var(--mint-soft);color:#087c6a;font-size:10px;font-weight:800}.account-menu__popover>button{width:100%;display:flex;align-items:center;gap:8px;border:0;padding:12px 15px;background:none;color:var(--red);font-size:12px;font-weight:800;cursor:pointer}.account-menu__popover>button:hover{background:var(--red-soft)}.app-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:16px;color:var(--ink)}.app-loading p{margin:0;color:var(--muted);font-size:13px}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(330px,.85fr) minmax(440px,1.15fr);background:var(--paper)}.auth-brand-panel{min-height:100vh;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(32px,5vw,76px);background:var(--ink);color:#fff}.auth-brand{color:inherit;font-size:30px;font-weight:900;letter-spacing:.06em;transform:rotate(-2deg)}.auth-brand-panel h1{margin:10px 0 20px;font-size:clamp(42px,5vw,72px);line-height:1.18;letter-spacing:.02em}.auth-brand-panel>div>p:last-child{max-width:520px;color:#cdd5e6;font-size:14px;line-height:1.9}.eyebrow{margin:0;color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.18em}.auth-trust-list{display:grid;gap:10px}.auth-trust-list span{display:flex;align-items:center;gap:9px;color:#e0e5ef;font-size:11px;font-weight:700}.auth-trust-list svg{color:#59d9c2}.auth-card{width:min(500px,calc(100% - 48px));align-self:center;justify-self:center;padding:38px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:var(--shadow)}.auth-card__heading{display:flex;align-items:center;gap:14px;margin-bottom:25px}.auth-card__heading>svg{color:var(--mint)}.auth-card__heading h2{margin:0;font-size:27px}.auth-card__heading p{margin:5px 0 0;color:var(--muted);font-size:12px}.google-button{width:100%;border-color:var(--line-dark);background:#fff}.google-button:hover:not(:disabled){background:#f5f7fa}.google-mark{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#4285f4;font-family:Arial,sans-serif;font-size:16px;font-weight:900}.auth-divider{display:flex;align-items:center;gap:12px;margin:22px 0;color:var(--muted);font-size:10px}.auth-divider:before,.auth-divider:after{height:1px;flex:1;background:var(--line);content:""}.auth-email-form .button--wide{margin-top:14px}.auth-legal{margin:22px 0 0;color:var(--muted);font-size:9px;line-height:1.7;text-align:center}.auth-error{margin-top:15px;text-align:center}.invite-login-notice,.setup-warning,.magic-link-sent{display:flex;align-items:flex-start;gap:10px;margin-bottom:18px;padding:12px;border-radius:10px;font-size:11px;line-height:1.55}.invite-login-notice{border:1px solid #a8e2d7;background:var(--mint-soft);color:#076d5e}.invite-login-notice strong{white-space:nowrap}.setup-warning{display:grid;gap:4px;border:1px solid #edcf77;background:#fff8df;color:#78550b}.magic-link-sent{border:1px solid #a8e2d7;background:var(--mint-soft);color:#076d5e}.magic-link-sent strong{display:block}.magic-link-sent p{margin:4px 0 0;color:#327a70}.empty-groups{min-height:calc(100vh - 90px);display:grid;place-content:center;justify-items:center;padding-block:70px;text-align:center}.empty-groups__icon{width:78px;height:78px;display:grid;place-items:center;margin-bottom:22px;border-radius:24px;background:var(--mint-soft);color:var(--mint)}.empty-groups h1{margin:9px 0 13px;font-size:clamp(30px,4vw,47px)}.empty-groups>p:not(.eyebrow){max-width:520px;margin:0;color:var(--muted);font-size:13px;line-height:1.8}.empty-groups__actions{display:flex;gap:12px;margin-top:26px}.access-dialog{width:min(510px,100%)}.access-dialog__visual{height:72px;display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:20px;border-radius:12px;background:var(--mint-soft);color:var(--mint)}.access-help{margin:12px 1px 0;color:var(--muted);font-size:10px;line-height:1.7}.invite-dialog{width:min(590px,100%)}.invite-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.invite-security-note{display:flex;align-items:flex-start;gap:9px;margin-top:18px;padding:12px;border-radius:10px;background:var(--mint-soft);color:#087c6a;font-size:10px;font-weight:700;line-height:1.65}.invite-result{display:grid;justify-items:center}.invite-result__label{color:var(--muted);font-size:11px;font-weight:800}.invite-result>strong{margin:8px 0 16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(22px,5vw,31px);letter-spacing:.08em}.invite-link-field{width:100%;display:grid;gap:7px;margin-top:24px}.invite-link-field>span{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:800}.invite-link-field input{width:100%;height:43px;border:1px solid var(--line);border-radius:8px;padding:0 11px;background:var(--background);color:var(--muted);font-size:10px}.invite-expiry{margin:13px 0 0;color:var(--muted);font-size:10px}.shared-group-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin-top:25px;padding:16px;border:1px solid #a8e2d7;border-radius:12px;background:var(--mint-soft);color:#087c6a}.shared-group-card>div{display:grid;gap:4px}.shared-group-card strong{font-size:12px}.shared-group-card span{color:#327a70;font-size:10px;line-height:1.55}.shared-group-card .button{min-height:40px;background:#fff;color:var(--ink);font-size:11px}.dashboard{padding-block:48px 80px}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:40px}.dashboard-hero h1,.page-intro h1{margin:0;color:var(--ink);font-size:clamp(32px,3.15vw,50px);line-height:1.25;letter-spacing:.02em;font-weight:900}.dashboard-hero h1 span{position:relative;white-space:nowrap}.dashboard-hero h1 span:after,.section-heading h2:after{position:absolute;left:0;right:0;bottom:-8px;height:4px;border-radius:50%;background:var(--accent);content:"";transform:rotate(-1.5deg)}.summary-strip{display:flex;align-items:stretch}.summary-strip>div{min-width:118px;display:grid;grid-template-columns:auto auto;align-content:center;align-items:center;column-gap:9px;padding:4px 28px;border-left:1px solid var(--line-dark)}.summary-strip>div:first-child{border-left:0}.summary-strip svg{grid-row:1 / span 2}.summary-strip strong{font-size:27px;line-height:1}.summary-strip span{margin-top:5px;color:var(--muted);font-size:12px;font-weight:700}.steps{display:flex;align-items:center;max-width:700px;margin:48px 0 28px;gap:20px}.steps button{display:flex;align-items:center;gap:10px;border:0;padding:0;background:none;color:var(--ink);font-size:15px;font-weight:700;cursor:pointer;white-space:nowrap}.steps button span{font-family:ui-monospace,monospace;font-size:22px;font-weight:600}.steps button.is-active{color:var(--accent-dark)}.steps i{width:116px;height:1px;background:var(--line-dark)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(340px,.8fr);grid-template-areas:"form settlement" "history settlement";gap:32px 38px;align-items:start}.game-form-section{grid-area:form}.history-section{grid-area:history;min-width:0}.dashboard-grid__settlement{grid-area:settlement;position:sticky;top:118px}.game-form-section{padding:24px;border:1.5px solid var(--line-dark);border-radius:15px;background:var(--paper)}.game-form{display:grid;grid-template-columns:minmax(130px,1.05fr) minmax(120px,.8fr) minmax(130px,.9fr) 36px minmax(130px,.9fr) auto;gap:14px;align-items:end}.game-record-form{min-width:0}.game-picker input{margin-top:2px}.special-game-topline{display:grid;grid-template-columns:minmax(220px,410px) auto;align-items:end;justify-content:space-between;gap:18px}.rule-type-label{align-self:end;margin-bottom:9px;padding:7px 11px;border:1px solid #f4b4a5;border-radius:999px;background:#fff4f0;color:var(--accent-dark);font-size:11px;font-weight:850;letter-spacing:.03em;white-space:nowrap}.rule-panel{margin-top:20px;padding:20px;border:1px solid var(--line);border-radius:13px;background:#fafbfe}.rule-panel__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}.rule-panel__heading h3{margin:0;font-size:18px;letter-spacing:.02em}.rule-panel__heading p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.65}.pot-total{min-width:184px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;padding:10px 12px;border:1px solid #a8e2d7;border-radius:10px;background:var(--mint-soft)}.pot-total svg{grid-row:1 / span 2;color:var(--mint)}.pot-total span{color:var(--muted);font-size:10px;font-weight:750}.pot-total strong{font-size:17px}.poker-settings{display:grid;grid-template-columns:minmax(100px,.55fr) minmax(100px,.55fr) minmax(210px,1.5fr);align-items:end;gap:13px;margin-bottom:20px}.poker-winners{min-width:0}.stake-entry-table,.blackjack-entry-table{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--paper)}.stake-entry-table__head,.stake-entry-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(150px,.72fr);align-items:center;gap:18px;padding:9px 13px}.stake-entry-table__head,.blackjack-entry-table__head{background:#eef1f6;color:var(--muted);font-size:10px;font-weight:800}.stake-entry-row{min-height:49px;border-top:1px solid #e5e8ef;font-size:13px;font-weight:750}.compact-money-input{position:relative;display:block;min-width:0}.compact-money-input>span{position:absolute;left:11px;top:50%;z-index:1;color:var(--muted);font-size:12px;font-weight:800;transform:translateY(-50%)}.compact-money-input input{width:100%;height:36px;border:1px solid var(--line-dark);border-radius:8px;padding:0 10px 0 27px;background:var(--paper);color:var(--ink);font-size:13px;font-weight:750;text-align:right}.dealer-picker{display:grid;gap:7px;min-width:190px}.dealer-picker>span{display:flex;align-items:center;gap:6px;color:var(--ink);font-size:11px;font-weight:800}.dealer-picker select,.blackjack-entry-row>select{height:38px;border:1px solid var(--line-dark);border-radius:8px;padding:0 10px;background:var(--paper);color:var(--ink);font-size:12px;font-weight:700}.blackjack-entry-table__head,.blackjack-entry-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(120px,.75fr) minmax(180px,1.15fr);align-items:center;gap:13px;padding:9px 13px}.blackjack-entry-row{min-height:53px;border-top:1px solid #e5e8ef}.blackjack-entry-row strong{font-size:13px}.rule-note{margin:14px 2px 0;padding-left:15px;border-left:3px solid var(--accent);color:var(--muted);font-size:11px;font-weight:650;line-height:1.7}.special-game-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px}.special-game-actions>span{color:var(--muted);font-size:10px}.special-game-actions .button{min-width:170px}.form-footnote--special{margin-top:7px}.field{display:grid;gap:9px;min-width:0}.field>span,.member-fields legend{color:var(--ink);font-size:13px;font-weight:800;line-height:1.2}.field>span{display:flex;align-items:center;gap:6px}.field input,.field select,.member-field input,.editable-member input{width:100%;height:48px;border:1px solid var(--line-dark);border-radius:10px;padding:0 13px;background:var(--paper);color:var(--ink);font-size:14px;font-weight:650}.field select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.field--winner>span{color:#087c6a}.field--loser>span{color:#c92e3b}.field--full{width:100%}.money-input{position:relative}.money-input>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-weight:800}.money-input input{padding-left:31px;text-align:right}.multi-member-select{position:relative;min-width:0}.multi-member-select__trigger{width:100%;height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;border:1px solid;border-radius:10px;padding:0 11px 0 13px;color:var(--ink);text-align:left;cursor:pointer}.multi-member-select--winner .multi-member-select__trigger{border-color:var(--mint);background:var(--mint-soft)}.multi-member-select--loser .multi-member-select__trigger{border-color:var(--red);background:var(--red-soft)}.multi-member-select__trigger>span{overflow:hidden;font-size:14px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.multi-member-select__trigger>span.is-placeholder{color:var(--muted);font-size:12px;font-weight:650}.multi-member-select__trigger>small{padding:3px 5px;border-radius:5px;background:#ffffffb3;color:var(--muted);font-size:10px;font-weight:800;white-space:nowrap}.multi-member-select__menu{position:absolute;top:calc(100% + 7px);left:0;z-index:15;width:max(100%,230px);padding:7px;border:1px solid var(--line-dark);border-radius:11px;background:var(--paper);box-shadow:0 14px 30px #081a4329}.field--loser .multi-member-select__menu{right:0;left:auto}.multi-member-select__menu>p{margin:3px 7px 7px;color:var(--muted);font-size:10px;font-weight:700}.multi-member-select__menu>button{width:100%;min-height:38px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;border:0;border-radius:7px;padding:6px 8px;background:transparent;color:var(--ink);font-size:13px;font-weight:700;text-align:left;cursor:pointer}.multi-member-select__menu>button:hover:not(:disabled){background:var(--background)}.multi-member-select--winner .multi-member-select__menu>button.is-selected{background:var(--mint-soft)}.multi-member-select--loser .multi-member-select__menu>button.is-selected{background:var(--red-soft)}.multi-member-select__menu>button>small{color:var(--muted);font-size:9px;font-weight:650;white-space:nowrap}.multi-member-select__check{width:18px;height:18px;display:grid;place-items:center;border:1px solid var(--line-dark);border-radius:5px;color:#fff}.multi-member-select--winner button.is-selected .multi-member-select__check{border-color:var(--mint);background:var(--mint)}.multi-member-select--loser button.is-selected .multi-member-select__check{border-color:var(--red);background:var(--red)}.swap-button{width:36px;height:48px;display:grid;place-items:center;border:0;background:transparent;cursor:pointer}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;padding:0 20px;font-size:14px;font-weight:800;cursor:pointer;transition:transform .14s ease,background-color .14s ease,box-shadow .14s ease}.button:not(:disabled):active{transform:translateY(1px)}.button--primary{background:var(--accent);color:#fff;box-shadow:0 8px 18px #ff542b33}.button--primary:hover:not(:disabled){background:var(--accent-dark);box-shadow:0 10px 22px #ff542b45}.button--ghost{background:var(--background);border-color:var(--line)}.button--outline{background:var(--paper);border-color:var(--ink)}.button--danger{background:var(--red);color:#fff}.button--danger:hover:not(:disabled){background:#d93542}.button--wide{width:100%;margin-top:20px}.game-form__submit{white-space:nowrap}.form-footnote{display:flex;justify-content:space-between;gap:16px;margin:13px 2px 0;color:var(--muted);font-size:11px}.form-error{margin:10px 2px 0;color:#bd2533;font-size:12px;font-weight:700}.text-button{display:inline-flex;align-items:center;gap:5px;border:0;padding:0;background:none;color:var(--accent-dark);font-size:13px;font-weight:800;cursor:pointer}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-heading h2{position:relative;margin:0;font-size:23px;line-height:1.4;letter-spacing:.02em}.section-heading h2:after{bottom:-4px;height:3px;transform:scaleX(.78) rotate(-1.5deg);transform-origin:left}.section-heading>span{color:var(--muted);font-size:12px;font-weight:700}.section-heading--compact{justify-content:flex-start}.history-table-wrap{overflow-x:auto}.history-table{width:100%;min-width:820px;border-collapse:collapse;font-size:13px}.history-table th,.history-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.history-table th{color:var(--muted);font-size:11px;letter-spacing:.03em}.history-table__game{font-weight:800}.history-table__result{color:var(--muted)}.result-name{position:relative;padding-left:17px;font-weight:700}.result-name:before{position:absolute;left:0;top:50%;width:8px;height:8px;border-radius:50%;content:"";transform:translateY(-50%)}.result-name--winner:before{background:var(--mint)}.result-name--loser:before{background:var(--red)}.row-actions{display:flex;gap:2px}.icon-button{width:38px;height:38px;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid transparent;border-radius:9px;background:transparent;cursor:pointer}.icon-button:hover:not(:disabled){background:#edf0f5}.icon-button--small{width:31px;height:31px;border-radius:7px}.icon-button--danger:hover:not(:disabled){background:var(--red-soft);color:var(--red)}.settlement-panel{border:2px solid var(--ink);border-radius:16px;padding:29px 27px 25px;background:var(--paper);box-shadow:var(--shadow)}.settlement-panel__intro{margin:18px 0 20px;color:var(--muted);font-size:13px;line-height:1.7}.transfer-list{display:grid;gap:0;border-block:1px dashed var(--line-dark)}.transfer{display:grid;grid-template-columns:minmax(54px,auto) 30px minmax(54px,auto) 1fr;align-items:center;gap:9px;padding:19px 3px;border-bottom:1px solid #e7eaf0}.transfer:last-child{border-bottom:0}.transfer strong{justify-self:end;color:var(--accent-dark);font-size:22px;letter-spacing:.01em}.person{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;font-size:12px;font-weight:800}.person--payer{background:var(--red-soft)}.person--receiver{background:var(--mint-soft)}.transfer__arrow{color:var(--ink)}.all-settled{display:flex;align-items:center;justify-content:center;gap:8px;min-height:112px;color:var(--mint);font-weight:800}.balance-table{margin-top:16px}.balance-table__head,.balance-table__row{display:flex;justify-content:space-between;padding:10px 5px;border-bottom:1px solid var(--line);font-size:12px}.balance-table__head{color:var(--muted);font-size:11px;font-weight:800}.balance-table__row strong{font-size:13px}.is-positive{color:var(--mint)}.is-negative{color:var(--red)}.empty-state{padding:40px 20px;border-block:1px solid var(--line);text-align:center}.empty-state p{margin:0 0 7px;font-weight:800}.empty-state span{color:var(--muted);font-size:13px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:56px 0 38px;border-bottom:1px solid var(--line)}.page-intro p{margin:12px 0 0;color:var(--muted);font-size:14px}.page-intro svg{color:var(--accent)}.member-page,.settlement-page{padding-bottom:80px}.member-editor{width:min(760px,100%);margin:36px auto 0;padding:30px;border:1.5px solid var(--line-dark);border-radius:16px;background:var(--paper)}.member-editor__heading{display:flex;align-items:baseline;justify-content:space-between;margin:30px 0 10px}.member-editor__heading h2{margin:0;font-size:20px}.member-editor__heading span{color:var(--muted);font-size:12px}.editable-members{border-top:1px solid var(--ink)}.editable-member{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:12px 5px;border-bottom:1px solid var(--line)}.editable-member__number{color:var(--muted);font-family:ui-monospace,monospace;font-size:13px}.editable-member input{height:43px;border-color:transparent;background:var(--background)}.member-editor__actions{display:flex;justify-content:space-between;gap:16px;margin-top:24px}.member-editor__note{margin:16px 0 0;color:var(--muted);font-size:11px}.settlement-page .settlement-panel--expanded{width:min(820px,100%);margin:36px auto 0}.settlement-panel--expanded .transfer{grid-template-columns:minmax(70px,auto) 50px minmax(70px,auto) 1fr}.settlement-panel--expanded .person{width:66px;height:66px;font-size:14px}.settlement-panel--expanded .transfer strong{font-size:28px}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:#040f277a}.dialog{width:min(560px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:16px;padding:28px;background:var(--paper);box-shadow:0 28px 70px #040f2742}.dialog__header{display:flex;justify-content:space-between;gap:20px;margin-bottom:25px}.dialog__header h2{margin:0;font-size:25px}.dialog__header p{margin:8px 0 0;color:var(--muted);font-size:13px}.member-fields{display:grid;gap:10px;margin:22px 0 13px;padding:0;border:0}.member-fields legend{margin-bottom:10px}.member-field{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:9px}.member-field>span{color:var(--muted);font-family:ui-monospace,monospace;font-size:12px}.member-field input{height:44px}.dialog__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.confirm-dialog{width:min(470px,100%)}.sr-only{position:absolute;left:0;top:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}@media(max-width:1180px){.page-width{width:min(100% - 40px,1100px)}.app-header__inner{gap:24px}.main-nav{gap:25px}.dashboard-hero{align-items:flex-start}.game-form{grid-template-columns:1fr .8fr 1fr 36px 1fr}.game-form__submit{grid-column:1 / -1}.dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(310px,.75fr);gap:28px}.summary-strip>div{min-width:100px;padding-inline:18px}.rule-panel{padding:17px}.blackjack-entry-table__head,.blackjack-entry-row{grid-template-columns:minmax(85px,.7fr) minmax(105px,.7fr) minmax(165px,1.2fr)}}@media(max-width:900px){.app-header{position:static}.app-header__inner{grid-template-columns:auto 1fr;gap:14px 20px;padding-block:14px 0}.group-switcher{justify-self:end;min-width:0;width:min(330px,100%)}.header-tools{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px}.main-nav{justify-content:stretch;height:48px}.main-nav button{flex:1}.main-nav button:after{bottom:0}.dashboard{padding-top:34px}.dashboard-hero{display:grid}.summary-strip{justify-self:stretch}.summary-strip>div{flex:1}.dashboard-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"form" "settlement" "history"}.dashboard-grid__settlement{position:static}.settlement-panel{width:100%}.auth-page{grid-template-columns:minmax(280px,.75fr) minmax(400px,1.25fr)}.auth-brand-panel{padding:38px}.auth-brand-panel h1{font-size:43px}}@media(max-width:640px){.page-width{width:calc(100% - 28px)}.app-header__inner{grid-template-columns:1fr}.brand{justify-self:center;font-size:26px}.group-switcher{justify-self:stretch;width:100%}.main-nav{gap:0}.header-tools{grid-column:auto;grid-template-columns:minmax(0,1fr) auto}.account-menu__name{display:none}.account-menu__popover{right:0}.local-mode-banner{align-items:flex-start;font-size:9px}.dashboard{padding-block:28px 48px}.dashboard-hero h1,.page-intro h1{font-size:30px}.dashboard-hero h1 span{white-space:normal}.summary-strip>div{min-width:0;grid-template-columns:1fr;justify-items:center;padding-inline:8px}.summary-strip svg{display:none}.summary-strip strong{font-size:22px}.steps{margin-block:35px 22px;gap:10px}.steps i{flex:1;width:auto}.steps button{font-size:11px;gap:4px}.steps button span{font-size:16px}.game-form-section{padding:17px}.game-form{grid-template-columns:1fr 1fr}.field--player{grid-column:span 1}.swap-button{display:none}.game-form__submit,.game-picker{grid-column:1 / -1}.special-game-topline{grid-template-columns:minmax(0,1fr) auto;gap:10px}.special-game-topline .game-picker{grid-column:auto}.rule-type-label{max-width:112px;overflow:hidden;text-overflow:ellipsis}.rule-panel{margin-top:16px;padding:14px}.rule-panel__heading{display:grid;gap:12px}.pot-total,.dealer-picker{width:100%;min-width:0}.poker-settings{grid-template-columns:1fr 1fr}.poker-winners{grid-column:1 / -1}.stake-entry-table__head,.stake-entry-row{grid-template-columns:minmax(90px,1fr) minmax(120px,1fr);gap:10px;padding-inline:10px}.blackjack-entry-table__head{display:none}.blackjack-entry-row{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:8px;padding:11px 10px}.blackjack-entry-row strong{grid-column:1 / -1}.blackjack-entry-row>select{min-width:0;padding-inline:6px;font-size:11px}.special-game-actions{align-items:stretch;flex-direction:column}.special-game-actions .button{width:100%}.settlement-panel{padding:24px 18px 20px}.transfer{grid-template-columns:46px 24px 46px 1fr;gap:6px}.person{width:46px;height:46px;font-size:11px}.transfer strong{font-size:18px}.history-table th,.history-table td{padding-inline:8px}.page-intro{padding-top:36px}.page-intro>svg{display:none}.member-editor{padding:22px 17px}.member-editor__actions{flex-direction:column}.member-editor__actions .button{width:100%}.settlement-panel--expanded .person{width:50px;height:50px;font-size:11px}.settlement-panel--expanded .transfer{grid-template-columns:50px 28px 50px 1fr}.settlement-panel--expanded .transfer strong{font-size:20px}.dialog{padding:22px 18px}.dialog__actions{flex-direction:column-reverse}.dialog__actions .button{width:100%}.auth-page{display:block;min-height:100vh;padding:24px 0 42px;background:var(--background)}.auth-brand-panel{min-height:auto;display:block;margin:0 14px;padding:23px;border-radius:18px 18px 0 0}.auth-brand-panel>div:not(.auth-trust-list),.auth-trust-list{display:none}.auth-card{width:calc(100% - 28px);margin:0 auto;padding:25px 18px;border-radius:0 0 18px 18px}.auth-card__heading h2{font-size:24px}.empty-groups{min-height:65vh}.empty-groups__actions{width:100%;flex-direction:column}.empty-groups__actions .button{width:100%}.invite-options{grid-template-columns:1fr}.shared-group-card{grid-template-columns:auto 1fr}.shared-group-card .button{grid-column:1 / -1;width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
