*{box-sizing:border-box}body{--hub-accent:var(--blue);line-height:1.6}button,input,select{font:inherit;color:inherit}button,a,summary,select{touch-action:manipulation}button{cursor:pointer;min-height:44px;padding:9px 16px;background:var(--paper);border:1px solid var(--ink);border-radius:7px}button:hover{background:#f1ecdf}button:disabled{cursor:wait;opacity:.65}a{color:inherit}input,select{min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #858a8d;border-radius:6px;background:#fffdf8}input{width:100%}input[aria-invalid=true]{border:2px solid var(--error)}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}[hidden]{display:none!important}.primary{background:var(--peach);font-weight:600}.primary:hover{background:#e9c0ae}.quiet{border:0;text-decoration:underline;text-underline-offset:4px;background:transparent;padding:8px 2px}.danger{color:var(--error)}h1,h2,p{margin:0}h1{font-size:30px;line-height:1.35;letter-spacing:-.5px}h2{font-size:19px;line-height:1.5}p{line-height:1.65}.muted,small{color:var(--muted);font-size:14px}#hub-side{top:52px}#hub-toolbar{top:52px}#hub-shade{top:52px}#hub-home span{background:var(--blue)}#hub-side nav{flex:1}#return-tool{font-size:14px;min-height:44px;padding:10px 12px;color:var(--muted);text-decoration:none;border-radius:6px}#return-tool:hover{background:#eee9df}#hub-side nav button[aria-current]{background:var(--blue)}.side-foot{padding:12px}.account-wrap{margin-left:auto;position:relative}#account-menu{position:absolute;right:0;top:52px;min-width:180px;padding:8px;background:var(--paper);border:1px solid var(--ink);border-radius:8px;box-shadow:3px 4px var(--ink)}#account-menu a,#account-menu button{display:block;width:100%;padding:10px;border:0;text-decoration:none;text-align:left;border-radius:5px}#account-menu a:hover{background:var(--blue)}.hub-a main#settings-main{margin-top:116px!important;padding:32px!important;min-height:calc(100vh - 116px);outline:none}.page-inner{max-width:880px}.page-heading{margin-bottom:26px}.page-heading p{margin-top:8px;color:var(--muted);font-size:14px}.panel{border:1.5px solid var(--ink);border-radius:9px 13px 8px 11px;background:#fffdf7;box-shadow:3px 4px 0 #202936;margin-bottom:24px;padding:24px}.panel h2{margin-bottom:6px}.section-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.current-value{font-size:22px;font-weight:650;margin-top:8px}.section-form{max-width:560px;margin-top:20px;padding-top:20px;border-top:1px solid #20293625}.section-form>label{display:block;font-size:14px;font-weight:600;margin:0 0 6px}.section-form>input,.section-form>select{display:block;margin-bottom:6px}.field-group{margin-bottom:18px}.field-group label{display:block;margin-bottom:6px;font-size:14px;font-weight:600}.field-group small{display:block;margin-top:6px}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}.actions:first-child{margin-top:0}.feedback{font-size:14px;margin-top:12px;padding-left:10px;border-left:3px solid #44765d;color:#315e48}.feedback:empty{display:none}.feedback.error{color:var(--error);border-color:var(--error)}.field-error{font-size:14px;color:var(--error);margin-top:5px}.field-error:empty{display:none}.badge{display:inline-flex;align-items:center;gap:8px;min-height:32px;background:var(--mint);border:1px solid #567a66;border-radius:6px;padding:3px 10px;font-size:14px;font-weight:600;white-space:nowrap}.badge.neutral{background:#f2eee5;border-color:#8d8a81}.badge.error{background:#f7e5de;border-color:var(--error);color:var(--error)}.binding-head{display:flex;align-items:center;gap:16px;margin-bottom:18px}.service-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--ink);border-radius:9px;background:var(--blue);font-size:26px;flex-shrink:0}.binding-head h2{margin:0}.binding-head .badge{margin-left:auto}.binding-copy{max-width:560px}.binding-copy p+p{margin-top:8px}details{margin-top:22px;border-top:1px solid #20293625;padding-top:8px}summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:14px;font-weight:600}dl{margin:8px 0;font-size:14px}dl>div{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:8px 0}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}.secondary-actions{border-top:1px solid #20293625;margin-top:20px;padding-top:16px;display:flex;gap:24px;flex-wrap:wrap}.subtle-note{font-size:14px;color:var(--muted);margin-top:16px}.code-box{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#f3efe5;border:1px dashed #86857f;border-radius:7px;padding:16px;margin-top:16px}.code-box code{font:600 18px/1.4 ui-monospace,monospace;overflow-wrap:anywhere}.code-box button{margin-left:auto}.steps{padding-left:22px;margin:16px 0}.steps li{margin:10px 0;padding-left:5px}.connection-row{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.connection-row>div{flex:1;min-width:200px}.key-summary{display:flex;gap:32px;flex-wrap:wrap;margin-top:18px}.key-summary p{font-size:17px}.key-summary small{display:block;margin-bottom:4px}.usage-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 10px}.usage-value{font-weight:650;font-size:24px}.usage-value small{font-size:14px;font-weight:400;margin-left:5px}.usage-meter{height:8px;border:1px solid #798276;border-radius:4px;background:#f1eee5;overflow:hidden}.usage-meter span{display:block;height:100%;width:13%;background:#a9c5b2}.usage-notes{margin-top:12px}.usage-notes p{font-size:14px;color:var(--muted);margin-top:8px}.danger-zone{padding:0 2px;display:flex;justify-content:space-between;align-items:center;gap:16px}.danger-zone p{font-size:14px;color:var(--muted)}dialog{background:var(--paper);color:var(--ink);border:2px solid var(--ink);border-radius:12px;box-shadow:4px 5px var(--ink);padding:24px;max-width:min(440px,calc(100vw - 32px))}dialog::backdrop{background:#20293666}dialog p{margin-top:12px}.login-box{max-width:560px}.qr-demo{width:136px;height:136px;border:1px dashed #86857f;display:grid;place-items:center;text-align:center;font-size:14px;color:var(--muted);background:#f3efe5;margin:12px 0}.return-state{padding-top:8px}@media(min-width:761px){#hub-toggle{display:none!important}}@media(max-width:1100px) and (min-width:761px){.hub-a main#settings-main{padding:24px!important}.section-row{flex-wrap:wrap;gap:14px}}@media(max-width:760px){#hub-toolbar{padding:8px 12px}.hub-a main#settings-main{padding:24px 16px!important}h1{font-size:28px}.panel{padding:20px;margin-bottom:24px}.section-row{align-items:flex-start;flex-wrap:wrap;gap:16px}.section-row>button{align-self:flex-start}.page-heading{margin-bottom:22px}.binding-head{gap:12px;flex-wrap:wrap}.binding-head .badge{margin-left:0}.binding-head h2{font-size:18px}.key-summary{gap:16px 32px}.danger-zone{flex-wrap:wrap}.actions button{flex:0 1 auto}.section-form{max-width:100%}.connection-row>div{min-width:0}.connection-row{align-items:flex-start;flex-direction:column}.current-value{font-size:20px}dl>div{grid-template-columns:1fr;gap:2px}#hub-side{max-height:calc(100dvh - 52px)}#account-menu{max-width:calc(100vw - 24px)}}

/* The preview-only bar is absent from the integrated page. */
#hub-side,#hub-toolbar,#hub-shade{top:0}.hub-a main#settings-main{margin-top:64px!important;min-height:calc(100vh - 64px)}@media(max-width:760px){#hub-side{max-height:100dvh}}
.pending-heading{margin-top:16px}.bot-entry{margin-top:18px}.bot-entry img{display:block;margin-bottom:10px;max-width:100%;height:auto}.bot-entry p+p{margin-top:6px}

.account-wrap{min-width:0;max-width:55%}#hub-account{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#hub-account::after{content:"⌄";margin-left:6px}

/* Game data uses the existing account settings panels and action hierarchy. */
.game-data-details{margin-top:20px}.game-data-details dd{overflow-wrap:anywhere}.game-check{margin:22px 0 18px;padding-top:18px;border-top:1px solid var(--line,#ccc9c0)}.game-check h3{font-size:16px;margin:0 0 12px}.game-summary{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin-top:12px}.game-check .subtle-note{margin-top:8px}
