@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:400;src:url('/static/manrope-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:400;src:url('/static/manrope-latin-ext-400.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:400;src:url('/static/manrope-cyrillic-400.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:400;src:url('/static/manrope-cyrillic-ext-400.woff2') format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url('/static/manrope-600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url('/static/manrope-latin-ext-600.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url('/static/manrope-cyrillic-600.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:600;src:url('/static/manrope-cyrillic-ext-600.woff2') format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url('/static/manrope-700.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url('/static/manrope-latin-ext-700.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url('/static/manrope-cyrillic-700.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{ font-family:'Manrope';font-style:normal;font-display:swap;font-weight:700;src:url('/static/manrope-cyrillic-ext-700.woff2') format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}
@font-face{ font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:700;src:url('/static/unbounded-700.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{ font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:700;src:url('/static/unbounded-latin-ext-700.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{ font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:700;src:url('/static/unbounded-cyrillic-700.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{ font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:700;src:url('/static/unbounded-cyrillic-ext-700.woff2') format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}
:root{color-scheme:dark;--bg:#0A0915;--panel:#14112A;--surface:#1A1533;--text:#EEEAF8;--muted:#A49CC4;--blue:#3DD9D6;--red:#FF8FA3;--line:#2C2550;--green:#B8D435;--amber:#F2A93B;font-family:Manrope,system-ui,sans-serif;font-size:16px;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}[hidden]{display:none!important}main{max-width:1120px;margin:auto;padding:28px 28px max(40px,env(safe-area-inset-bottom))}h1,h2{font-family:Unbounded,system-ui,sans-serif;font-weight:700;line-height:1.3;text-wrap:balance}h1{font-size:28px;letter-spacing:-.7px;margin:0 0 12px}h2{font-size:18px;letter-spacing:-.3px;margin:0 0 20px}p{line-height:1.6;max-width:78ch}a{color:var(--blue)}.muted,.footnote{color:var(--muted);font-size:14px}strong{font-weight:700}button{color:var(--text)}
.brand{display:flex;align-items:center;gap:12px;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:28px}.brand>div{display:grid;gap:4px}.brand strong{font-family:Unbounded,system-ui,sans-serif;font-size:20px;line-height:1.35}.brand strong span{display:block;font-family:Manrope,system-ui,sans-serif;font-size:13px;color:var(--muted);font-weight:600}.brand .muted{font-size:12px}.brand-mark{object-fit:contain;flex-shrink:0}.connection{margin-left:auto;font-size:12px;color:var(--muted)}
.welcome{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:64px;align-items:start;margin:54px 0 48px}.auth-card{min-width:0;padding:32px;background:var(--panel);border:1px solid var(--line);border-radius:24px}.product-story{min-width:0;padding-top:8px}.game-name{color:var(--blue);font-size:14px;margin:0 0 20px}.product-lead h1{font-size:clamp(32px,3.8vw,48px);line-height:1.2;letter-spacing:-1.3px;margin:0 0 24px}.product-intro{color:var(--muted);font-size:16px;margin:0;max-width:43ch}.help-flow{display:flex;align-items:center;gap:16px;margin:32px 0;max-width:390px}.helper-orbit{position:relative;flex-shrink:0;width:148px;height:148px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%}.helper-orbit>span{position:absolute;width:12px;height:12px;border:3px solid var(--bg);border-radius:50%;background:var(--blue)}.helper-orbit>span:nth-child(1){top:12px;left:19px}.helper-orbit>span:nth-child(2){top:12px;right:19px}.helper-orbit>span:nth-child(4){bottom:12px;left:19px}.helper-orbit>span:nth-child(5){bottom:12px;right:19px}.flow-line{flex:1;min-width:24px;color:var(--line)}.flow-line svg{width:100%;display:block}.alliance-symbol{flex-shrink:0;display:grid;justify-items:center;gap:6px;color:var(--blue)}.alliance-symbol svg{width:62px;height:62px}.alliance-symbol span{color:var(--muted);font-size:12px}.product-features{margin:0}.product-features>div{border-top:1px solid var(--line);padding:15px 0}.product-features dt{font-weight:700;font-size:14px;margin-bottom:6px}.product-features dd{margin:0;color:var(--muted);font-size:13px;line-height:1.6;max-width:48ch}.site-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;border-top:1px solid var(--line);padding-top:22px;color:var(--muted);font-size:12px}.site-footer a{font-size:12px;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.auth-heading{text-align:center}.auth-heading>img{display:block;margin:-6px auto 24px}.auth-heading h2{font-size:24px;margin-bottom:14px}.auth-heading p{margin:0 0 28px;font-size:14px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--bg);padding:4px;border:1px solid var(--line);border-radius:12px;margin-bottom:24px}.auth-tabs button{border:0;background:none;border-radius:9px;padding:12px 8px;min-height:44px;font-size:14px;font-weight:600;color:var(--muted)}.auth-tabs button.selected{background:var(--surface);color:var(--text)}.auth-message{padding:12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;font-size:14px;overflow-wrap:anywhere}.auth-submit{width:100%;margin-top:8px}.text-button{display:block;border:0;background:none;color:var(--blue);min-height:44px;padding:10px 8px;font-size:14px;margin:6px auto 0}.auth-footnote{text-align:center;font-size:12px;margin:24px 0 0}.field-help{margin:-6px 0 18px;font-size:12px}.code-input{text-align:center;font-size:24px!important;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.15em}.password-field{display:flex;border:1px solid var(--line);background:var(--bg);border-radius:10px;min-width:0}.password-field input{border:0!important;background:transparent!important}.reveal{flex-shrink:0;background:none;border:0;border-radius:8px;color:var(--blue);padding:8px 12px;min-width:52px;min-height:44px;font-size:12px;font-weight:600}.password-field:focus-within{border-color:var(--blue)}
.session-bar,.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.session-bar{justify-content:space-between;margin-bottom:28px}.session-bar #bank-summary{color:var(--text);font-weight:600}#alliance-picker{padding-top:8px}.picker-intro{margin:8px 0 28px}#alliance-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.alliance-choice{display:flex;width:100%;align-items:center;gap:18px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);text-align:left;min-height:120px}.alliance-choice:hover{border-color:var(--blue)}.alliance-emblem{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;color:var(--blue);background:var(--surface);border-radius:12px;font-family:Unbounded,system-ui,sans-serif;font-size:15px}.alliance-info{display:grid;gap:10px;flex:1;min-width:0}.alliance-info strong{font-size:19px;overflow-wrap:anywhere}.chevron{font-size:24px;color:var(--blue)}.back-button{display:flex;gap:7px;align-items:center;border:0;background:none;color:var(--blue);font-size:14px;min-height:44px;padding:0 8px 0 0;margin:0 0 16px}.back-button span{font-size:24px;line-height:1}.group-heading{margin-bottom:24px}.group-heading p{margin:6px 0;font-size:14px}#summary{color:var(--blue);font-weight:600}nav{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:16px}.tab{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:14px;font-weight:600;padding:14px 0;min-height:48px}.tab.selected{border-color:var(--blue);color:var(--text)}.section-heading{display:flex;justify-content:space-between;align-items:center;padding:12px 0;gap:12px}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;padding:12px 16px;min-height:44px;font-size:14px;font-weight:700;text-decoration:none}.primary{background:var(--blue);color:#04201F}.primary:hover{background:#5BE6E3}.secondary{background:var(--surface);border-color:var(--line);color:var(--text)}.secondary:hover{border-color:var(--muted)}
#accounts{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.account{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel);min-width:0}.account-form{display:grid;gap:12px}.account-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.account-header .credential-field{flex-basis:100%;min-width:0}.account-state{font-size:12px;display:flex;align-items:center;gap:7px;color:var(--muted);margin-right:auto}.account-state:before{content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:currentColor}.account-state.online{color:var(--green)}.account-state.cooldown,.account-state.connecting,.account-state.queued{color:var(--amber)}.account-state.banned,.account-state.error{color:var(--red)}.toggle-area{display:flex;align-items:center;min-height:44px}.remove-button{display:grid;place-items:center;width:44px;min-height:44px;padding:10px;border:0;background:transparent;color:var(--muted);flex-shrink:0;border-radius:8px}.remove-button:hover{color:var(--red)}.remove-button svg{width:20px;height:20px}.credential-pair{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px}.credential-field{display:grid;gap:8px;min-width:0;margin:0;font-size:12px;color:var(--muted)}.credential-field input{min-width:0}.account-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}.account-actions .muted{margin-right:auto;font-size:12px}.account-actions .button{padding:10px 12px;font-size:12px}.account-error{font-size:13px;line-height:1.5;margin:0;color:var(--red)}.account-detail{font-size:12px;line-height:1.5;margin:0;color:var(--muted);overflow-wrap:anywhere}.footnote{font-size:12px;margin:24px 0}.empty{padding:30px 20px;text-align:center;border:1px dashed var(--line);border-radius:16px;margin:18px 0}.empty p{max-width:42ch;margin:0 auto}.empty h2{margin-bottom:12px}.search-label{max-width:460px;margin:20px 0;font-size:13px}
input[role=switch]{appearance:none;flex-shrink:0;width:44px;height:28px;border-radius:20px;background:var(--line);position:relative;margin:0;cursor:pointer;border:0;padding:0}input[role=switch]:before{content:"";position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:var(--text)}input[role=switch]:checked{background:var(--blue)}input[role=switch]:checked:before{transform:translateX(16px);background:#04201F}input[role=switch]:disabled{opacity:.4;cursor:default}.alliance-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rotation-summary{font-size:13px;line-height:1.6;margin:0 0 16px}.settings-form{max-width:640px;padding:24px 0;border-bottom:1px solid var(--line);margin-bottom:24px}label{display:grid;gap:8px;font-size:14px;margin-bottom:18px}input:not([role=switch]),textarea,select{width:100%;border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:12px;color:var(--text);min-width:0;font-size:16px;min-height:46px}input:disabled{color:var(--muted)}textarea{resize:vertical}select{max-width:100%}.setting-row{display:flex;align-items:center;gap:20px;padding:12px 0 22px}.setting-row label{flex:1;gap:8px;margin:0}.setting-row strong{font-weight:600;font-size:15px}.setting-row .muted{font-size:13px;line-height:1.5}.settings-form>.button{margin-top:10px}.settings-form>p{font-size:13px}#notice{border-left:3px solid var(--blue);background:var(--panel);padding:14px 16px;margin-bottom:20px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}#notice.error{border-color:var(--red)}.error{color:var(--red)}dialog{border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:20px;padding:28px;width:calc(100% - 24px);max-width:480px;max-height:calc(100% - 32px);overflow:auto}dialog::backdrop{background:#06050ecc}dialog .muted{font-size:13px}.dialog-actions{margin-top:24px;display:flex;justify-content:flex-end;align-items:center;gap:12px}
#subscription-panel,#settings-panel{padding:20px 0}#bank-panel h2{margin-top:32px}#star-packs,#card-packs{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.terms-check{display:flex;align-items:center;font-size:14px;min-height:44px}.terms-check input{width:22px;min-height:22px;height:22px;flex-shrink:0;accent-color:var(--blue)}#bank-history p,#grants p{font-size:14px;overflow-wrap:anywhere;padding:14px 0;margin:0;border-bottom:1px solid var(--line)}#manual-instructions{white-space:pre-wrap;overflow-wrap:anywhere}#admin-items article{padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}#admin-items input{margin:12px 0}.payment-note{border-left:3px solid var(--blue);padding:0 20px;margin:24px 0}#bank-panel form{max-width:640px}#grants{margin-top:24px}#activate-cost{font-weight:700;color:var(--blue)}#capacity-summary{padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:12px}#website-payments{margin-top:24px}.payment-pending{font-size:13px;color:var(--muted)}
@media(max-width:768px){#alliance-list,#accounts{grid-template-columns:1fr}main{padding:20px 20px max(32px,env(safe-area-inset-bottom))}h1{font-size:25px}.welcome{grid-template-columns:1fr;gap:28px;margin:30px 0}.product-story{display:contents}.product-lead{order:0}.auth-card{order:1;width:100%;max-width:456px;justify-self:center;padding:24px}.product-features{order:2}.help-flow{display:none}.product-lead h1 br{display:none}.product-lead h1{max-width:16ch;font-size:36px}.product-intro{max-width:58ch}.brand{margin-bottom:24px}.brand strong{font-size:18px}}
@media(max-width:450px){main{padding:16px 12px max(24px,env(safe-area-inset-bottom))}.brand{gap:8px}.brand strong{font-size:17px}.brand strong span{font-size:12px}.brand-mark{width:36px;height:36px}.connection{font-size:11px}.welcome{margin:24px 0;gap:24px}.auth-card{padding:22px 18px;border-radius:18px}.product-lead h1{font-size:32px;letter-spacing:-.8px}.product-intro{font-size:14px}.game-name{font-size:12px;margin-bottom:12px}.product-features>div{padding:14px 0}.auth-heading h2{font-size:21px}.account{padding:16px 12px}.credential-pair{grid-template-columns:1fr}.alliance-choice{padding:18px 16px}.alliance-fields{gap:12px}nav{gap:20px}.tab{font-size:13px}.section-heading .button{padding:12px}.password-field .reveal{padding-inline:10px}dialog{padding:22px 18px}h1{font-size:23px}h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.toggle-area{margin:0;min-width:44px;justify-content:center}a[aria-disabled=true]{opacity:.5;cursor:default}

/* A compact, always available display-language control. */
.brand{flex-wrap:wrap}.brand>div{min-width:0}.brand #language-select{width:116px;min-height:44px;margin-left:auto;font-size:13px;padding:8px}.connection{margin-left:0}#dialog-language-select{width:140px;margin:0 0 20px auto;font-size:13px}.button{white-space:normal;overflow-wrap:anywhere}nav{flex-wrap:wrap}.session-bar{flex-wrap:wrap}#account-count{min-width:0;overflow-wrap:anywhere}.group-heading h1{overflow-wrap:anywhere}
@media(max-width:450px){.brand{display:grid;grid-template-columns:36px minmax(0,1fr) 106px}.brand #language-select{width:106px}.connection{grid-column:2 / 4;font-size:12px}.section-heading{align-items:flex-start}.section-heading .button{max-width:48%;flex-shrink:0}.credential-pair{min-width:0}.dialog-actions{flex-wrap:wrap}.tab{font-size:13px}.auth-tabs button{overflow-wrap:anywhere}}

@media(max-width:768px){.welcome{grid-template-columns:minmax(0,1fr)}.product-lead,.product-features{min-width:0}.product-lead h1{overflow-wrap:anywhere}}

.connections{margin:0 0 24px;padding:16px;border:1px solid var(--line,#d9dedb);border-radius:16px;overflow-wrap:anywhere}.connections summary{cursor:pointer;font-weight:600}.connections .button{margin:4px 0;white-space:normal}

/* Existing HH surfaces; setup gives the required action priority on small screens. */
.welcome.setup-required{grid-template-columns:minmax(0,456px);justify-content:center}.setup-required .product-story{display:none}
.person-row{padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.person-row strong{display:block}.person-row p{margin:6px 0;font-size:13px}.person-row .button{margin:8px 8px 0 0}.person-row:last-child{margin-bottom:20px}
.invitation-card{padding:24px;margin-bottom:24px;border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:12px;background:var(--panel);overflow-wrap:anywhere}.invitation-card .text-button{display:inline-block;margin:0 12px}

.payment-rules{border-block:1px solid var(--line);margin:20px 0}.payment-rules summary{cursor:pointer;padding:14px 0;color:var(--blue);font-size:14px;font-weight:600}.payment-rules summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.payment-rules p{max-width:75ch}
