.account-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:18px}.account-tabs button{border:0;background:none;padding:10px 12px;font:inherit;font-size:13px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent}.account-tabs button.selected{color:var(--blue);border-color:var(--blue)}
.account-form{display:flex;flex-direction:column;gap:10px}.account-form[hidden]{display:none}.account-form label{font-size:12px;font-weight:600;margin-top:4px}.account-form label small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.account-form input:not([type=checkbox]):not([type=file]){width:100%;min-height:40px}.account-form .btn{align-self:flex-start}.account-form .help{margin:0;font-size:11px;line-height:1.6}.account-form fieldset{border:0;padding:0;margin:8px 0}.account-form legend{font-size:12px;font-weight:600;margin-bottom:8px}.compact-check{display:flex;align-items:center;gap:9px;font-size:11px!important;font-weight:400!important;line-height:1.5}.compact-check input{width:16px;height:16px;flex:none}.backup-check{margin:16px 0}.entry-panel{max-width:420px}.join-lobby{overflow:visible}.recovery-link{margin-top:15px}
.library-player{display:flex;gap:10px;align-items:center;border:0;background:none;cursor:pointer;padding:5px;max-width:230px}.library-player>img{width:42px;height:42px;border-radius:14px;object-fit:cover}.library-player>span{margin:0}.library-player small{display:block;font-size:8px;color:var(--muted);letter-spacing:.1em}.library-player b{display:block;font-size:13px;margin-top:4px}
.tile-live{position:absolute;left:12px;top:41px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:4px;font-size:10px;line-height:1;background:#091925d9;color:#effffc;font-weight:600;box-shadow:0 1px 4px #0003}.tile-live:before{content:'';width:5px;height:5px;border-radius:50%;background:#6de0af}.tile-live[data-active=false]:before{background:#afbdc8}.tile-live[data-live=false]:before{background:#dcb770}
.profile-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,1fr);gap:24px;max-width:1100px}.profile-layout .paper-panel{padding:24px;border:1px solid var(--line);border-radius:8px;background:#fff}.profile-layout h2{font-size:19px;margin:0 0 5px}.profile-heading{display:flex;gap:16px;align-items:center;margin-bottom:12px}.profile-heading>img{border-radius:24px;object-fit:cover;flex:none}.profile-security{display:flex;flex-direction:column;gap:20px}.profile-divider{height:1px;background:var(--line);margin:12px 0}.avatar-options,.color-options{display:flex;gap:8px;flex-wrap:wrap}.avatar-options button{padding:3px;border:2px solid transparent;border-radius:16px;background:none;width:48px;height:48px}.avatar-options button[aria-pressed=true]{border-color:var(--ink)}.avatar-options img{width:100%;height:100%;border-radius:10px}.color-options button{width:34px;height:34px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #d9e2ec}.color-options button[aria-pressed=true]{box-shadow:0 0 0 2px var(--ink)}.photo-upload{position:relative;overflow:hidden;cursor:pointer}.photo-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.address-review{overflow-wrap:anywhere;font-size:12px;line-height:1.6;padding:12px;background:#edf5fd;border:1px solid #ccdff2;border-radius:6px}.profile-security summary{font-size:12px;font-weight:600;cursor:pointer;padding:10px 0}.profile-security details p{margin:8px 0!important}#current-password-row label{display:block;margin-bottom:8px}
@media(max-width:900px){.profile-layout{grid-template-columns:1fr}}
@media(max-width:540px){.library-player{gap:6px;max-width:140px}.library-player>img{width:32px;height:32px;border-radius:10px}.library-player b{font-size:11px}.profile-layout .paper-panel{padding:18px}.account-tabs button{padding:9px 7px}.profile-layout{gap:16px}.tile-live{left:9px;top:38px;font-size:9px}}
.library-player .profile-attention{display:grid;place-items:center;flex:none;width:19px;height:19px;border-radius:50%;background:#fff0c7;border:1px solid #bd8517;color:#765003;font-weight:800;font-size:12px}.library-player .profile-attention[hidden]{display:none}.account-id{font-size:11px;overflow-wrap:anywhere;user-select:all}.header-online b{font-size:14px;color:#238363}.header-online small{font-size:9px}.workers-panel{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}.workers-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.workers-heading h2{font-size:24px}.workers-heading .eyebrow{margin-bottom:6px}.workers-table-wrap{overflow:auto;margin-top:18px;border:1px solid var(--line);border-radius:7px;background:#fff}.workers-table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.workers-table th,.workers-table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}.workers-table th{font-size:11px;background:#eef3f9}.workers-table th small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:3px}.workers-table tbody tr:last-child td{border:0}.workers-table td:nth-child(2),.workers-table td:nth-child(3){text-align:right}.workers-table td small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.workers-table .worker-own{color:var(--blue);font-weight:600}.worker-state{color:var(--muted)}.worker-state[data-status=active]{color:#128064}.worker-state[data-status=unavailable]{color:#97721d}.workers-paging{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.workers-paging .help{margin:0}.workers-panel>.help{font-size:12px;line-height:1.6}.game-grid{row-gap:20px}@media(max-width:540px){.header-round{gap:8px}.header-round .header-online b{font-size:14px}.header-round .header-online small{font-size:8px}.workers-table th,.workers-table td{padding:12px 10px}.workers-table{font-size:11px}.workers-paging .btn{padding:8px 10px}.library-player{position:relative;padding-right:19px}.library-player .profile-attention{position:absolute;right:0;top:0;width:17px;height:17px;font-size:10px}}

@media(max-width:360px){.app .rail-main{gap:15px}.header-status small{max-width:110px}}

/* A non-blocking, one-time reminder for accounts that declined at signup. */
body .analytics-choice{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:0;padding:20px;border:2px solid var(--outline);border-radius:18px;display:grid;gap:12px;background:var(--surface);color:var(--ink);box-shadow:5px 5px 0 var(--outline);z-index:100}
body .analytics-choice h2{font-size:1.125rem;line-height:1.4;margin:0;letter-spacing:-.02em}body .analytics-choice p{font-size:.8125rem;line-height:1.6;margin:0}body .analytics-choice>div{display:flex;gap:10px;flex-wrap:wrap}body .analytics-choice .btn{font-size:.8125rem;min-height:44px;flex:1;padding:10px 12px}body .analytics-choice a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
body:not([data-page=play]) .analytics-choice{display:none!important}
@media(max-width:600px){body .analytics-choice{right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:calc(100vw - 32px);padding:18px}}
