/* Account chrome and identity designer. The existing game dashboard keeps its layout. */
.preview-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;z-index:55}
.account-header{position:relative;justify-self:end;--account-accent:#d5bd79;--account-light:#fff0bd;--account-deep:#53634c}
.account-header button{font:inherit}.account-steam,.account-trigger{display:flex;align-items:center;gap:10px;min-height:40px;border:1px solid #bdc49c40;border-radius:8px;background:linear-gradient(130deg,#263329,#12221a);padding:7px 12px;color:#e4ebd7;font-size:11px!important}
.account-steam>svg{width:21px;height:21px;color:#d6e7c8}.account-trigger{padding:4px 10px 4px 5px;gap:8px;border-color:color-mix(in srgb,var(--account-accent) 40%,#273526);min-width:185px;max-width:255px;text-align:left}
.account-trigger>span:not(.account-avatar){display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}.account-trigger strong{font-size:11px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px;color:var(--account-light)}.account-trigger small{font-size:8px;color:#a0b192}
.account-chevron{width:13px;height:13px;flex:none}.account-trigger[aria-expanded=true]{border-color:var(--account-light);box-shadow:0 0 15px color-mix(in srgb,var(--account-accent) 9%,transparent)}
.account-avatar{position:relative;display:inline-grid;place-items:center;flex:none;width:39px;height:39px;border:1.5px solid var(--account-accent);border-radius:10px;padding:3px;background:linear-gradient(140deg,color-mix(in srgb,var(--account-deep) 60%,#18231a),#0c1912);box-shadow:inset 0 0 0 2px #0c1712,0 0 12px color-mix(in srgb,var(--account-accent) 12%,transparent);overflow:hidden}
.account-avatar>img{width:100%;height:100%;object-fit:contain;border-radius:6px;position:relative;z-index:1}.account-avatar>img.is-upload{object-fit:cover}.account-avatar[data-frame=base]{box-shadow:inset 0 0 0 2px #0c1712}
.account-avatar:not([data-frame=base])::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 20%,#ffffd714 48%,transparent 70%);transform:translateX(-120%);animation:account-frame-shine 12s ease-in-out infinite}
.account-badge{width:22px;height:26px;object-fit:contain;flex:none;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--account-accent) 25%,transparent))}
.account-dropdown{position:absolute;top:calc(100% + 9px);right:0;width:275px;max-width:calc(100vw - 24px);padding:8px;border:1px solid color-mix(in srgb,var(--account-accent) 35%,#35422d);border-radius:12px;background:#101d16;box-shadow:0 14px 40px #000a;animation:account-pop .16s ease-out}
.account-menu-person{padding:10px 10px 13px;margin-bottom:5px;border-bottom:1px solid #b0c29321}.account-menu-person strong{display:block;font-size:15px;color:var(--account-light);overflow-wrap:anywhere}.account-menu-person span{font-size:10px;color:#a6b49b}
.account-dropdown>button{width:100%;display:flex;align-items:center;gap:11px;border:0;border-radius:6px;padding:10px;background:transparent;text-align:left;color:#d7e1c9;font-size:12px}.account-dropdown>button svg{width:21px;height:21px;flex:none;color:var(--account-light)}.account-dropdown>button small{display:block;font-size:9px;margin-top:2px;color:#8eaa88}.account-dropdown .account-signout{border-top:1px solid #acb99a20;border-radius:0;margin-top:6px;color:#adbb9e}
.account-dropdown>button:hover{background:#b9cf9910}.account-dropdown button:focus-visible,.account-header>button:focus-visible{outline:2px solid var(--account-light);outline-offset:2px}
.profile-identity>.account-avatar{width:45px;height:45px}.profile-identity h2{display:flex;gap:6px;align-items:center;overflow-wrap:anywhere}.profile-identity .account-badge{width:20px;height:23px}.profile-identity .account-mini-edit{align-self:center;padding:6px 9px;border:1px solid #a5b8912b;border-radius:6px;background:#102017;color:var(--account-light);font-size:12px}
.account-designer{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(370px,.88fr);gap:22px;align-items:start;--account-accent:#d5bd79;--account-light:#fff0bd;--account-deep:#53634c}
.account-section-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:2px 0 10px}.account-section-label>span,.account-small-label{font-size:8px;letter-spacing:.15em;color:#cfbf88}.account-section-label>small{font-size:10px;color:#8d9f85}
.account-profile-card{border:1px solid color-mix(in srgb,var(--account-accent) 45%,#293b26);border-radius:12px;overflow:hidden;background:#101c14;box-shadow:0 12px 35px #0003;isolation:isolate}
.account-cover{height:200px;position:relative;overflow:hidden;background:#13231a;border-bottom:1px solid color-mix(in srgb,var(--account-accent) 25%,transparent)}.account-cover>img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;filter:saturate(.9)}.account-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#101c14 0%,#101c1422 65%),linear-gradient(90deg,color-mix(in srgb,var(--account-deep) 30%,transparent),transparent)}
.account-cover>span{position:absolute;top:16px;left:20px;z-index:1;font-size:8px;letter-spacing:.15em;color:#edf1df;text-shadow:0 1px 8px #000}
.account-person{position:relative;display:flex;align-items:flex-end;gap:19px;padding:0 25px 19px;margin-top:-44px;z-index:2;min-height:145px}
.account-person>.account-avatar{width:112px;height:112px;border-radius:24px;padding:7px;box-shadow:0 8px 22px #0005,inset 0 0 0 3px #0f1b13,0 0 18px color-mix(in srgb,var(--account-accent) 15%,transparent);align-self:flex-start}.account-person>.account-avatar>img{border-radius:17px}
.account-person-copy{padding-top:46px;min-width:0;flex:1}.account-player-title{font-size:10px;color:var(--account-light);letter-spacing:.04em;display:block;margin-bottom:6px}.account-player-name{display:flex;align-items:center;gap:8px}.account-player-name h2{font-size:clamp(24px,2.2vw,38px)!important;line-height:1.18!important;letter-spacing:-.035em;overflow-wrap:anywhere;color:transparent;background:linear-gradient(110deg,var(--account-light),var(--account-accent) 48%,var(--account-light));background-size:200% 100%;background-clip:text;-webkit-background-clip:text;animation:account-name-shine 10s ease-in-out infinite}
.account-player-name .account-badge{width:31px;height:36px}.account-person-copy>p{font-size:11px;color:#adbea2;line-height:1.6;margin-top:8px;overflow-wrap:anywhere;white-space:pre-wrap}
.account-card-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 24px;border-top:1px solid #b9c6a01a;background:#0c1911;font-size:10px}.account-card-footer>span{color:#96a78d;display:flex;gap:7px;align-items:center}.account-card-footer i{width:5px;height:5px;border-radius:50%;background:#a0b88a}.account-card-footer>b{font-weight:450;color:var(--account-light);text-align:right}
.account-small-label{margin-top:18px;margin-bottom:9px;color:#91a385}.account-small-preview{display:flex;align-items:center;gap:11px;min-height:69px;border:1px solid #a8c39822;background:#0c1912b3;border-radius:8px;padding:12px 15px}.account-small-preview>div{min-width:0}.account-small-preview b{display:block;font-size:14px;color:var(--account-light);overflow-wrap:anywhere}.account-small-preview small{font-size:10px;color:#95ac8e}.account-small-preview .account-badge{margin-left:auto}
.account-local-note{font-size:10px;color:#8a9d82;line-height:1.5;margin-top:12px}
.account-editor{min-width:0;border:1px solid #b9c79f2b;border-radius:12px;padding:21px;background:linear-gradient(145deg,#18241bcc,#0d1913ed)}.account-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.account-editor-heading .eyebrow{font-size:8px;margin-bottom:6px;color:#b4bd98}.account-editor h2{font-size:26px;letter-spacing:-.04em}.account-editor-heading>span{font-size:9px;color:#b8c4a6;text-align:right;max-width:115px}
.account-editor-tabs{display:flex;gap:4px;border-bottom:1px solid #acbb9a25;padding-bottom:8px;margin-bottom:17px}.account-editor-tabs>button{flex:1;white-space:nowrap;border:1px solid transparent;background:none;border-radius:5px;color:#9daf94;padding:8px 6px;font-size:11px}.account-editor-tabs>button[aria-selected=true]{border-color:color-mix(in srgb,var(--mw-accent) 50%,#35432c);background:color-mix(in srgb,var(--mw-accent) 9%,#17231a);color:var(--mw-light)}
#account-editor-pane{min-height:268px}.account-form-fields label,.account-style-selects label{display:block;font-size:12px;color:#d5e0c8}.account-form-fields label>small{font-size:9px;color:#8b9f82;float:right}.account-form-fields input,.account-form-fields textarea,.account-form-fields select,.account-style-selects select{display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #b2c69730;border-radius:7px;background:#0b1711;color:#e6eddd;font-size:13px;line-height:1.5}.account-form-fields textarea{resize:vertical;max-height:150px;min-height:74px;font:inherit;font-size:12px}.account-form-fields input[aria-invalid=true]{border-color:#df7787}.account-form-fields label+label{margin-top:12px}
.account-form-fields input:focus-visible,.account-form-fields textarea:focus-visible,.account-style-selects select:focus-visible{outline:2px solid var(--mw-light);outline-offset:2px}.account-help{color:#93a68a;font-size:10px;line-height:1.6;margin:7px 0 11px}.account-field-error{font-size:10px;color:#ffa0ad;min-height:14px;line-height:1.4;margin:-5px 0 8px}
.account-editor-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:13px;border-top:1px solid #b6c6a021}.account-editor-footer button{border:1px solid #b6c6a02b;border-radius:7px;background:#0b1711;color:#b7c7ab;padding:10px 14px;font-size:11px}.account-primary,.account-editor-footer .account-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e8cd7d6b;border-radius:7px;padding:11px 18px;background:linear-gradient(110deg,#c2aa65,#f1db9b);color:#172116;font-weight:600;font-size:12px}.account-primary>svg{width:21px;height:21px}.account-editor-footer .account-primary:disabled{opacity:.4;cursor:default}.account-editor-footer button:disabled{opacity:.4;cursor:default}
.account-editor-status{font-size:10px;color:#c7d7ba;line-height:1.5;min-height:15px;margin:12px 0}.account-avatar-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.account-avatar-options button{display:grid;place-items:center;gap:5px;padding:8px;border:1px solid #b8cb9e24;border-radius:8px;background:#0d1a12;color:#afc39e;min-width:0}.account-avatar-options img{width:100%;height:57px;object-fit:contain}.account-avatar-options button>span{font-size:9px}
.account-avatar-options [aria-pressed=true],.account-banner-options [aria-pressed=true]{border-color:var(--mw-light);background:color-mix(in srgb,var(--mw-accent) 11%,#122019);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--mw-accent) 25%,transparent)}
.account-upload{display:flex;align-items:center;gap:12px;position:relative;padding:12px;border:1px dashed #b5c99b55;border-radius:7px;margin-top:14px;cursor:pointer;color:#d4e1c5;background:#b7ca9c05;overflow:hidden}.account-upload>svg{width:25px;height:25px;flex:none;color:#b8ce9e}.account-upload>span{font-size:11px}.account-upload small{display:block;font-size:9px;color:#8fa586;margin-top:2px}.account-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;font-size:1px}.account-upload:focus-within{outline:2px solid var(--mw-light);outline-offset:2px}.account-upload-use{border:0;background:none;font-size:10px;color:var(--mw-light);padding:8px 0}
.account-banner-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.account-banner-options button{position:relative;padding:0;border:1px solid #b8cb9e30;border-radius:7px;background:#102019;overflow:hidden;min-width:0;text-align:left}.account-banner-options img{width:100%;height:72px;object-fit:cover}.account-banner-options span{display:block;padding:6px;font-size:9px;line-height:1.3;color:#d5e0c8}
.account-style-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.account-style-options button{min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid color-mix(in srgb,var(--swatch) 35%,#29382a);border-radius:7px;padding:8px 4px;background:linear-gradient(140deg,color-mix(in srgb,var(--swatch) 9%,#142118),#0f1a13);font-size:9px;color:#d0ddc4}.account-style-options img{width:34px;height:39px;object-fit:contain}.account-style-options span{text-align:center;line-height:1.3}.account-style-selects{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.account-style-selects select{font-size:11px}
.account-guest{position:relative;isolation:isolate;overflow:hidden;min-height:440px;border:1px solid #cbb9763d;border-radius:13px;display:grid;place-items:center;background:#101c13}.account-guest-cover{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#09170fdd,#0c1b14b8),linear-gradient(0deg,#0c1912,transparent 75%),url('assets/worlds/standard.webp') center 40%/cover}.account-guest-content{max-width:590px;text-align:center;padding:32px}.account-guest-content>img{width:80px;height:80px;object-fit:contain;margin:0 auto 18px}.account-guest-content .eyebrow{justify-content:center;margin-bottom:12px}.account-guest h2{font-size:clamp(29px,3vw,43px);line-height:1.15;color:#f3e7bd}.account-guest-content>p:not(.eyebrow){font-size:13px;color:#b2c2a5;line-height:1.8;margin:15px 0 20px}.account-guest-content>small{display:block;color:#8eaa83;font-size:10px;line-height:1.6;margin:16px auto 0;max-width:360px}
.account-login-dialog{width:min(470px,calc(100vw - 28px));padding:32px;position:fixed;border:1px solid #bfc99460;border-radius:15px;background:linear-gradient(145deg,#233629,#0b1912);color:#edf1dc;box-shadow:0 20px 80px #000b;max-height:90svh;overflow-y:auto}.account-login-dialog::backdrop{background:#020b08c9}.account-login-dialog h2{font-size:32px}.account-login-dialog>p:not(.eyebrow){font-size:12px;color:#b0c2a2;line-height:1.7;margin:15px 0}.account-dialog-close{position:absolute;top:12px;right:12px;width:32px;height:32px;border:1px solid #9fb68e36;border-radius:6px;background:#0d1a12;color:#d5e4c9;font-size:24px}.account-login-mark{width:54px;height:54px;display:grid;place-items:center;border:1px solid #c1d59750;border-radius:12px;background:#cee6aa0a;margin-bottom:22px}.account-login-mark svg{width:29px;height:29px;color:#e3efcd}.account-login-dialog .eyebrow{margin-bottom:10px;font-size:9px}.account-login-example{padding:15px;border:1px solid #c1d59726;border-radius:8px;background:#0c19128c;margin:18px 0}.account-login-example b{font-size:12px;color:#e6e8c8}.account-login-example p{font-size:11px;line-height:1.7;color:#a2b894;margin-top:7px}.account-login-dialog>.account-primary{width:100%}
@keyframes account-frame-shine{0%,70%{transform:translateX(-120%)}90%,100%{transform:translateX(120%)}}
@keyframes account-name-shine{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes account-pop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
html[data-mw-motion=off] .account-avatar::after,html[data-mw-motion=off] .account-player-name h2,body.mw-paused .account-avatar::after,body.mw-paused .account-player-name h2{animation:none!important}
@media(prefers-reduced-motion:reduce){.account-avatar::after,.account-player-name h2,.account-dropdown{animation:none!important}}
@media(hover:hover){.account-steam:hover,.account-trigger:hover{border-color:var(--account-light)}.account-avatar-options button:hover,.account-banner-options button:hover,.account-style-options button:hover{border-color:var(--mw-light)}.account-editor-footer .account-primary:not(:disabled):hover,.account-primary:hover{background:linear-gradient(110deg,#d8bf79,#fff0bb)}}
@media(min-width:1700px){.account-designer{grid-template-columns:minmax(0,1.25fr) minmax(400px,.75fr);gap:30px}.account-cover{height:255px}.account-person>.account-avatar{width:130px;height:130px}.account-person-copy{padding-top:46px}.account-person{min-height:163px}.account-editor{padding:25px}.account-avatar-options img{height:74px}.account-banner-options img{height:91px}}
@media(max-height:850px) and (min-width:1151px){.account-cover{height:165px}.account-person{padding:0 20px 15px;gap:15px;margin-top:-38px;min-height:134px}.account-person>.account-avatar{width:98px;height:98px;border-radius:21px}.account-person-copy{padding-top:40px}.account-player-name h2{font-size:29px!important}.account-editor{padding:16px}.account-editor-heading{margin-bottom:12px}.account-editor h2{font-size:24px}.account-editor-tabs{margin-bottom:12px}.account-editor-tabs>button{padding:7px 4px;font-size:10px}#account-editor-pane{min-height:246px}.account-form-fields input,.account-form-fields select{padding:8px 10px}.account-form-fields textarea{min-height:63px;max-height:100px}.account-local-note{font-size:9px}.account-small-label{margin-top:13px}.account-editor-footer{padding-top:9px}.account-editor-status{margin:8px 0}}
@media(max-width:1150px){.preview-bar{gap:10px;padding-inline:20px}.preview-label{font-size:8px}.mode-switch button{padding:7px 9px}.account-trigger{min-width:145px;max-width:210px}.account-trigger strong{max-width:105px}.account-designer{grid-template-columns:minmax(0,1fr) minmax(330px,1fr);gap:16px}.account-person{gap:12px;padding-inline:16px}.account-person>.account-avatar{width:85px;height:85px;border-radius:18px}.account-player-name h2{font-size:25px!important}.account-editor{padding:16px}.account-editor-tabs>button{font-size:10px}.account-style-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.preview-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:10px 15px}.preview-label{font-size:7px;gap:5px;white-space:normal}.mode-switch{grid-column:1/-1;grid-row:2;width:100%;display:flex}.mode-switch button{flex:1}.account-header{grid-column:2;grid-row:1}.account-steam{min-height:35px;font-size:10px!important;padding:7px 9px;gap:6px}.account-steam>svg{width:17px;height:17px}.account-trigger{min-width:0;max-width:190px;padding:3px 7px 3px 4px;min-height:38px;gap:6px}.account-trigger>.account-avatar{width:31px;height:31px;border-radius:8px}.account-trigger strong{font-size:10px;max-width:92px}.account-trigger small{font-size:7px}.account-trigger>.account-badge{width:17px;height:21px}.account-chevron{width:10px}.account-dropdown{width:260px}.account-designer{grid-template-columns:1fr;gap:20px}.account-cover{height:165px}.account-person{margin-top:-32px;min-height:140px}.account-person-copy{padding-top:35px}.account-person>.account-avatar{width:88px;height:88px}.account-player-name h2{font-size:26px!important}.account-player-name .account-badge{width:25px;height:29px}.account-card-footer{padding:12px 16px;font-size:9px}.account-editor-tabs{gap:2px}.account-editor-tabs>button{padding:8px 3px}#account-editor-pane{min-height:0}.account-editor-footer{gap:6px}.account-editor-footer button{padding:10px 9px;font-size:11px}.account-editor-footer .account-primary{flex:1}.account-style-options{grid-template-columns:repeat(4,minmax(0,1fr))}.account-guest{min-height:390px}.account-guest-content{padding:26px 20px}.account-guest-content>img{width:65px;height:65px}.account-guest h2{font-size:30px}.account-guest-content>p:not(.eyebrow){font-size:12px}.account-local-note{font-size:9px}.profile-identity>.account-avatar{width:38px;height:38px}.profile-identity h2{font-size:16px}.profile-identity .account-badge{width:17px;height:20px}.account-login-dialog{padding:27px 21px}.account-login-dialog h2{font-size:27px}}
@media(max-width:380px){.account-trigger{max-width:170px}.account-trigger strong{max-width:76px}.account-person{gap:10px;padding-inline:13px}.account-person>.account-avatar{width:70px;height:70px;padding:5px;border-radius:16px}.account-person-copy{padding-top:35px}.account-player-name h2{font-size:23px!important}.account-player-title{font-size:9px}.account-player-name{gap:4px}.account-person-copy>p{font-size:10px}.account-style-options{grid-template-columns:repeat(3,minmax(0,1fr))}.account-style-selects{grid-template-columns:1fr}.account-banner-options{grid-template-columns:repeat(2,minmax(0,1fr))}.account-editor-tabs{flex-wrap:wrap}.account-editor-tabs>button{flex:1 1 45%}.account-card-footer>b{max-width:100px}.account-dropdown{right:0}}

.account-cover>img.is-upload{object-position:center}
@media(max-width:760px){.account-small-label,.account-small-preview{display:none}}

@media(min-width:761px){.account-editor-footer{justify-content:flex-start}}

/* Independent badge and frame choices; every frame tile previews the current avatar and name. */
.account-style-options [aria-pressed=true]{border-color:var(--swatch);box-shadow:inset 0 0 0 1px var(--swatch);background:color-mix(in srgb,var(--swatch) 14%,#112017)}
.account-no-badge{display:grid;place-items:center;width:34px;height:39px;font-size:24px!important;color:#b1bea3}
.account-frame-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.account-frame-options .account-avatar{width:42px;height:42px;border-radius:11px}
.account-frame-options .account-avatar>img{width:100%;height:100%}
.account-frame-options .account-avatar::after{animation:none}
.account-frame-options strong{font-size:12px;line-height:1.3;max-width:100%;overflow-wrap:anywhere;background:linear-gradient(110deg,var(--account-light),var(--account-accent));color:transparent;background-clip:text;-webkit-background-clip:text}
.account-editor-tabs{flex-wrap:wrap}.account-editor-tabs>button{min-width:0}
@media(max-width:760px){.account-editor-tabs>button{flex:1 1 27%}.account-frame-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Independent colors and sculpted avatar overlays. Artwork stays in front of the image. */
.account-avatar[data-frame]{padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.account-avatar[data-frame]>img{width:79%;height:79%;border-radius:19%;background:linear-gradient(135deg,#243126,#0e1913);object-fit:contain;z-index:1}
.account-avatar[data-frame]>img.is-upload{object-fit:cover}
.account-avatar[data-frame=none]>img{width:100%;height:100%;border-radius:15%}
.account-avatar[data-frame]::after{content:none;animation:none}
.account-avatar .mw-avatar-frame{position:absolute;inset:-10%;width:120%;height:120%;max-width:none;overflow:visible;pointer-events:none;z-index:3;filter:drop-shadow(0 2px 1px #000b)}
.account-cover-tint{position:absolute;inset:0;z-index:1;pointer-events:none;background:var(--account-tint);opacity:var(--account-tint-opacity,.3)}
.account-cover::after{z-index:2;background:linear-gradient(0deg,#101c14 0%,#101c1422 65%);pointer-events:none}.account-cover>span{z-index:3}
.account-player-name h2{background-image:linear-gradient(110deg,color-mix(in srgb,var(--account-name) 75%,white),var(--account-name) 48%,color-mix(in srgb,var(--account-name) 75%,white))}
.account-trigger strong,.account-menu-person strong,.account-small-preview b,.profile-identity:has(.account-avatar) h2{color:var(--account-name,var(--account-light))}
.account-color-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}
.account-color-field{min-width:0;border:1px solid #aac39826;border-radius:7px;padding:8px;background:#0b1711}
.account-color-field>span:first-child{display:block;font-size:10px;color:#c8d6bc;margin-bottom:7px}
.account-color-input{display:flex;align-items:center;gap:7px}#subscription-view .account-color-input input{padding:2px;border:1px solid #d4dfbf3b;border-radius:5px;background:#122017;width:30px;height:27px;flex:none;cursor:pointer}
.account-color-input input::-webkit-color-swatch-wrapper{padding:0}.account-color-input input::-webkit-color-swatch{border:0;border-radius:3px}
.account-color-input output{font-size:9px;color:#99ad8e;font-variant-numeric:tabular-nums}
.account-tint-range{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:10px;color:#a3b596;margin-bottom:16px}.account-tint-range>output{color:#dce8ca;min-width:29px}#subscription-view .account-tint-range input{padding:0;border:0;background:transparent;width:auto;flex:1;min-width:90px;height:18px;accent-color:var(--mw-light);cursor:pointer}
.account-frame-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:7px 0 9px}.account-frame-heading>b{font-size:12px;color:#dce6cc}.account-frame-heading>small{font-size:9px;color:#8fa580;text-align:right}
.account-frame-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:340px;overflow-y:auto;overscroll-behavior:contain;padding:4px;scrollbar-width:thin;scrollbar-color:#677557 #101b13}
.account-frame-options button{padding:8px 5px;gap:5px;justify-content:start;min-height:105px}
.account-frame-options .account-avatar{width:53px;height:53px}
.account-frame-options button>small{font-size:8px;line-height:1.3;color:#8fa183;max-width:100%;text-align:center}
.account-color-controls input:focus-visible,.account-tint-range input:focus-visible{outline:2px solid var(--mw-light);outline-offset:3px}
.mw-avatar-frame .frame-trace{stroke-dasharray:18 390;animation:avatar-edge-flow 10s linear infinite}
.mw-avatar-frame .frame-orbit{transform-box:view-box;transform-origin:50% 50%;animation:avatar-orbit 16s linear infinite}
.mw-avatar-frame .frame-orbit-god{animation-duration:22s;animation-direction:reverse}
.mw-avatar-frame .frame-foliage,.mw-avatar-frame .frame-leaf{transform-box:view-box;transform-origin:50% 50%;animation:avatar-leaves 7s ease-in-out infinite}
.mw-avatar-frame .frame-crystals{animation:avatar-crystals 6s ease-in-out infinite}
.mw-avatar-frame .frame-flame,.mw-avatar-frame .frame-eclipse{animation:avatar-ember 3.6s ease-in-out infinite}
.mw-avatar-frame .frame-spark{animation:avatar-spark 5s ease-in-out infinite}
.frame-legend .frame-trace{animation-duration:7s}.frame-lite .frame-trace{animation-duration:18s}
.account-frame-options button:not([aria-pressed=true]) .mw-avatar-frame *{animation-play-state:paused}
@keyframes avatar-edge-flow{to{stroke-dashoffset:-408}}
@keyframes avatar-orbit{to{transform:rotate(360deg)}}
@keyframes avatar-leaves{0%,100%{transform:rotate(-1deg)}50%{transform:rotate(1deg)}}
@keyframes avatar-crystals{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.5px)}}
@keyframes avatar-ember{0%,100%{opacity:.6}50%{opacity:1}}
@keyframes avatar-spark{0%,55%,100%{opacity:.35}70%{opacity:1}}
html[data-mw-motion=off] .mw-avatar-frame *,body.mw-paused .mw-avatar-frame *{animation:none!important}
@media(prefers-reduced-motion:reduce){.mw-avatar-frame *{animation:none!important}}
@media(min-width:761px) and (max-width:1150px){.account-color-controls{gap:5px}.account-color-field{padding:6px}.account-color-input{gap:3px}.account-color-input output{font-size:8px}.account-frame-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-height:850px) and (min-width:1151px){.account-frame-options{max-height:172px;grid-template-columns:repeat(5,minmax(0,1fr))}.account-frame-options button{min-height:91px;padding:4px}.account-frame-options .account-avatar{width:44px;height:44px}.account-frame-options button>small{display:none}.account-frame-options button{min-height:72px}.account-tint-range{margin-bottom:9px}}
@media(max-width:760px){.account-frame-options{grid-template-columns:repeat(3,minmax(0,1fr));max-height:360px}.account-color-controls{gap:5px}.account-color-field{padding:7px 5px}.account-color-input{gap:5px;flex-wrap:wrap}.account-color-input output{font-size:8px}.account-color-field>span:first-child{font-size:9px}.account-frame-options button>small{font-size:7px}.account-frame-options .account-avatar{width:48px;height:48px}}
@media(max-width:380px){.account-frame-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.account-color-title{display:flex!important;align-items:center;justify-content:space-between;gap:4px;min-height:16px}
.account-color-title button{font-size:8px;line-height:1.2;padding:3px 5px;border:1px solid #a7bc8a50;border-radius:4px;background:#132219;color:#a5b99a;cursor:pointer}
.account-color-title button[aria-pressed=true]{background:#c5ad6740;border-color:#dec681;color:#ffe6a6}
.account-color-title button:focus-visible{outline:2px solid var(--mw-light);outline-offset:2px}
.account-upload{min-height:64px;padding:15px 17px;border:1px solid #ebd28a90;border-radius:10px;background:linear-gradient(115deg,#b7a16a,#f2dda0);color:#142218;box-shadow:inset 0 1px #fff2c8,0 5px 16px #0003;transition:transform .18s,box-shadow .18s,background .18s}
.account-upload>span{font-size:14px;font-weight:650}.account-upload small{font-size:10px;color:#364b34;font-weight:400;margin-top:4px}.account-upload>svg{width:29px;height:29px;color:#2e452d}
.account-upload::after{content:'↑';margin-left:auto;display:grid;place-items:center;flex:none;width:30px;height:30px;border:1px solid #203c3940;border-radius:7px;font-size:21px;color:#24412d}
@media(hover:hover){.account-upload:hover{transform:translateY(-1px);background:linear-gradient(115deg,#d4bc7d,#fff0bc);box-shadow:inset 0 1px #fff9de,0 7px 20px #0004}}
.account-upload:active{transform:translateY(0)}
@media(max-width:380px){.account-color-title{flex-wrap:wrap}.account-upload{padding:13px}.account-upload>span{font-size:13px}}

/* Live Dino belongs to the common site header, outside personal navigation. */
.header-account-actions{display:flex;align-items:center;gap:12px;justify-self:end;min-width:0}
.site-live-dino{position:relative;isolation:isolate;min-height:45px;padding:7px 12px;border:1px solid #87928538;border-radius:8px;background:#101a14;color:#8e9b8c;font:inherit;cursor:pointer}
.profile-live-label{display:flex;align-items:center;gap:9px;text-align:left}.profile-live-label>svg{width:22px;height:22px;flex:none}.profile-live-label>span{display:flex;flex-direction:column;gap:3px}.profile-live-label b{font-size:11px;line-height:1.1;letter-spacing:.07em;font-weight:650}.profile-live-label small{font-size:8px;line-height:1.2;white-space:nowrap}.profile-live-label>i{width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.site-live-dino[data-connected=true]{color:var(--live-light);border-color:color-mix(in srgb,var(--live-accent) 65%,transparent);background:linear-gradient(110deg,color-mix(in srgb,var(--live-accent) 15%,#101b13),#101b13)}
.site-live-dino[data-connected=true]::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;box-shadow:0 0 13px color-mix(in srgb,var(--live-accent) 33%,transparent),inset 0 0 9px color-mix(in srgb,var(--live-accent) 12%,transparent);animation:profile-live-pulse 3s ease-in-out infinite}
.site-live-dino[aria-current=page]{box-shadow:inset 0 -2px currentColor}.site-live-dino:focus-visible{outline:2px solid #e5d18d;outline-offset:3px}
@keyframes profile-live-pulse{0%,100%{opacity:.25}50%{opacity:1}}
html[data-mw-motion=off] .site-live-dino::before,body.mw-paused .site-live-dino::before{animation:none!important;opacity:.6}
@media(prefers-reduced-motion:reduce){.site-live-dino::before{animation:none!important;opacity:.6}}
#subscription-view[data-profile-section=overview] .profile-tabs{display:none}
#subscription-view[data-profile-section=edit] .profile-identity{display:none}
.account-public-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}.account-public-tools>span{font-size:10px;letter-spacing:.08em;color:#a4b78e}
.account-public-tools>button{border:1px solid #d4bc764f;border-radius:6px;padding:10px 14px;background:linear-gradient(120deg,#c7b15e24,#132016);color:#e4d89e;font-size:11px}
.account-public-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.65fr);gap:24px;align-items:start;max-width:1600px;margin-inline:auto}
.account-public-stats{padding:23px;border:1px solid #afc5992b;border-radius:12px;background:linear-gradient(135deg,#19271c,#0d1913)}.account-public-stats>.eyebrow{font-size:8px;color:#a7b991;margin-bottom:7px}.account-public-stats>h2{font-size:26px;margin-bottom:18px}
.account-public-stats .profile-account-stats{padding:0;border:0;box-shadow:none;background:none;margin:0}.account-public-stats .profile-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 15px}.account-public-stats .profile-stat-grid strong{font-size:27px}.account-public-stats .profile-favorite{grid-column:1/-1;padding-top:15px;border-top:1px solid #aac09322}.account-public-stats .profile-favorite strong{font-size:19px}.account-public-stats .profile-favorite small{display:block}.account-public-stats .account-local-note{margin-top:20px}
.account-title-glow.account-title-glow{color:var(--title-color);text-shadow:0 0 7px color-mix(in srgb,var(--title-color) 42%,transparent),0 0 15px color-mix(in srgb,var(--title-color) 18%,transparent);font-weight:550}
.account-title-field>span{display:block;font-size:12px;color:#d5e0c8;margin-bottom:6px}.account-title-picker{position:relative}.account-title-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;padding:11px 12px;border:1px solid #b2c69730;border-radius:7px;background:#0b1711;cursor:pointer;font-size:12px}.account-title-picker>summary::-webkit-details-marker{display:none}
.account-title-picker>summary:focus-visible{outline:2px solid var(--mw-light);outline-offset:2px}
.account-title-options{position:absolute;z-index:25;left:0;right:0;bottom:calc(100% + 6px);padding:6px;border:1px solid #aebc9160;border-radius:9px;background:#101e16;box-shadow:0 12px 35px #000a;max-height:min(285px,50vh);overflow-y:auto;scrollbar-width:thin}
.account-title-options>button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px 10px;border:1px solid transparent;border-radius:5px;background:none;font-size:12px;text-align:left;cursor:pointer}.account-title-options>button[aria-pressed=true]{border-color:#c2d4a43d;background:#b5cc8f0d}.account-title-options>button:hover{background:#b5cc8f15}.account-title-options>button:focus-visible{outline:2px solid #d6e6ba;outline-offset:-2px}
.account-title-tick{color:#c5d9aa;visibility:hidden}.account-title-options>button[aria-pressed=true] .account-title-tick{visibility:visible}
@media(max-width:1050px){.preview-bar{grid-template-columns:minmax(0,1fr) auto}.preview-label{display:none}.header-account-actions{gap:8px}.account-public-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.account-public-stats{padding:16px}}
@media(max-width:760px){.preview-bar{grid-template-columns:minmax(0,1fr)}.header-account-actions{grid-column:1/-1;grid-row:1;justify-self:stretch;justify-content:space-between;gap:8px}.header-account-actions .account-header{grid-column:auto;grid-row:auto}.site-live-dino{padding:6px 8px;min-height:40px}.profile-live-label{gap:6px}.profile-live-label b{font-size:10px}.profile-live-label small{font-size:7px}.profile-live-label>svg{width:18px}.profile-live-label>i{display:none}.account-public-layout{grid-template-columns:1fr}.account-public-tools>span{font-size:9px}.account-public-tools>button{font-size:10px;padding:9px}.account-public-stats .profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-title-options>button{font-size:12px}}
