/* Compact profile editor: quiet color, stepped corners, no glowing frames. */
.account-tabs .account-tab[aria-pressed=true]{background:#2D363F;color:#EAEDF0;box-shadow:inset 0 -2px 0 #899CB0}
.account-summary{border-bottom:2px solid var(--profile-accent,#899CB0)}
.account-bio{white-space:pre-wrap;overflow-wrap:anywhere}
.profile-card{overflow:hidden;background:#191E23;clip-path:var(--px-6);border-bottom:2px solid var(--profile-accent)}
.profile-cover{height:68px;background:linear-gradient(120deg,transparent 60%,#ffffff08 60%,#ffffff08 72%,transparent 72%),linear-gradient(30deg,#0008,var(--cover));padding:12px 14px;border-top:2px solid var(--profile-accent)}
.profile-cover-label{font:500 11px/1.4 var(--mono);color:#D6DBE0;letter-spacing:.06em}
.profile-card-info{display:flex;align-items:center;gap:12px;padding:14px}.profile-card-info>div{min-width:0}
.profile-card-info b{font-size:16px;display:block;overflow-wrap:anywhere}
.profile-card-info p{margin:5px 0 0;font-size:13px;line-height:1.5;color:#B6C0C9;white-space:pre-wrap;overflow-wrap:anywhere}
.profile-card .account-avatar{border-color:var(--profile-accent)}
.profile-editor{display:grid;gap:22px}.profile-editor fieldset{padding:0;margin:0;border:0;min-width:0;display:grid;gap:10px}
.profile-editor legend{float:left;width:100%;margin:0 0 10px;font-size:14px;font-weight:600;color:#E1E5E9}
.profile-editor fieldset::after{content:none}.profile-editor select{cursor:pointer;color-scheme:dark}
.profile-editor textarea{resize:vertical;min-height:82px;line-height:1.5}
.profile-label{display:flex!important;justify-content:space-between;gap:12px;align-items:center}
.profile-label small{font:400 12px var(--mono);color:#A9B4C0;flex:none}
.profile-themes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.profile-theme{border:2px solid #343E48;background:#191E23;padding:0;color:#BBC4CD;cursor:pointer;clip-path:var(--px-4);text-align:left;min-width:0}
.profile-theme i{display:block;height:26px;background:linear-gradient(135deg,#ffffff0c,transparent),var(--theme);border-bottom:2px solid #0003}
.profile-theme span{display:block;font:500 12px/1.35 var(--font);padding:7px 8px}
.profile-theme[aria-pressed=true]{border-color:#899CB0;color:#F6F8F9;box-shadow:inset 0 -2px 0 #899CB0}
.profile-colors{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}
.profile-color{height:44px;min-width:0;display:grid;place-items:center;border:2px solid #343E48;background:#181D22;cursor:pointer;clip-path:var(--px-4)}
.profile-color i{width:22px;height:22px;display:block;background:var(--swatch);clip-path:var(--px-4)}
.profile-color[aria-pressed=true]{border-color:var(--swatch)}.profile-color[aria-pressed=true] i::after{content:'✓';display:grid;place-items:center;color:#101317;font:700 14px/22px var(--font)}
.profile-favorites{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.profile-favorite{min-height:44px;display:flex;align-items:center;gap:5px;padding:8px 6px;border:1px solid #343E48;background:#1A1F24;clip-path:var(--px-4);color:#B7C0CA;font:500 11px/1.3 var(--font);cursor:pointer}
.profile-favorite span{color:#7A90A7;font-size:14px}.profile-favorite[aria-pressed=true]{border-color:#798FA6;background:#293038;color:#EAEDF0}.profile-favorite[aria-pressed=true] span{color:#B4BEC7}
.profile-save{display:grid;gap:10px;padding-top:16px;border-top:2px solid #343E48}
.profile-save .profile-save-btn{background-image:var(--bev),linear-gradient(180deg,#5D748C,#434F5C);color:#FFF1EB}
.profile-theme:hover,.profile-favorite:hover{background-color:#252C33}
.profile-theme{position:relative}.profile-theme[aria-pressed=true]::after{content:'✓';position:absolute;top:3px;right:7px;font:600 13px var(--font);color:#EAEDF0}
.profile-home-card .profile-cover{height:56px}.profile-home-card .account-summary{background:transparent;border:0;box-shadow:none;clip-path:none;padding-bottom:8px}
.profile-home-card .account-bio{padding:0 14px 14px}.profile-home-card .account-avatar{border-color:var(--profile-accent)}
/* Profile v2 — a compact character studio, not a long registration form. */
.account-dialog.is-profile{width:min(940px,calc(100vw - 32px));max-height:calc(100dvh - 32px);background:#121519;border-color:#495B6D}
.account-dialog.is-profile header{padding:16px 22px;background:linear-gradient(120deg,#22282F,#1A1F25);min-height:76px}
.account-dialog.is-profile .account-body{padding:18px 22px 22px;gap:12px}
.is-profile .account-environment{display:none}.is-profile [data-account-content]{gap:14px}
.profile-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.profile-topbar .account-tabs{width:280px;flex:none}.profile-topbar .account-tab{min-height:40px;font-size:13px}
.profile-site-label{font:10px var(--mono);letter-spacing:.1em;color:#7C91A7}
.profile-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
.profile-rail{position:sticky;top:100px;min-width:0;overflow:hidden;background:#181C21;border:1px solid #3C4752;box-shadow:inset 0 2px 0 #576C82;clip-path:var(--px-6);padding-bottom:16px}
.profile-stage{position:relative;height:302px;isolation:isolate;background:radial-gradient(ellipse at 50% 42%,#ffffff14,transparent 65%),linear-gradient(135deg,#ffffff05,transparent),var(--hero-color,#262D35);border-bottom:2px solid #2A323A;overflow:hidden}
.profile-stage::before{content:'';position:absolute;inset:0;background:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(transparent,#0006);z-index:-1}
.profile-stage-label{position:absolute;top:15px;left:16px;color:#C8CFD6;font:10px var(--mono);letter-spacing:.13em;z-index:1}
.profile-stage canvas{display:block;width:100%;height:268px;position:relative;z-index:1;cursor:grab;touch-action:none}.profile-stage canvas:active{cursor:grabbing}
.profile-stage-ground{position:absolute;width:150px;height:12px;left:50%;bottom:45px;transform:translateX(-50%);background:#0004;filter:blur(6px);z-index:0}
.profile-stage [data-viewer-note]{position:absolute;bottom:11px;left:10px;right:10px;margin:0;color:#BDC6CF;text-align:center;font-size:10px;line-height:1.4;pointer-events:none;z-index:2}
.profile-identity{display:flex;align-items:center;gap:12px;padding:16px 16px 0}.profile-identity>div{min-width:0}.profile-identity b{display:block;overflow-wrap:anywhere;font-size:18px;line-height:1.3}
.profile-identity span{display:block;color:#8FA1B4;font-size:11px;margin-top:4px}.profile-identity .account-avatar{width:40px;height:40px;border-color:var(--profile-accent);flex:none}
.profile-description{font-size:13px;line-height:1.6;color:#B8C1CA;margin:12px 16px;white-space:pre-wrap;overflow-wrap:anywhere}
.profile-rail-favorites{display:flex;gap:6px;padding:0 16px;margin:12px 0;min-height:0}.profile-rail-favorites:empty{display:none}
.profile-rail-favorites span{width:32px;height:32px;background:#111418;border:1px solid #37414B;display:grid;place-items:center;clip-path:var(--px-4)}.profile-rail-favorites svg{width:18px;height:18px}
.is-profile .profile-rail-preview{margin:0 16px;width:calc(100% - 32px);min-height:44px;display:flex;align-items:center;justify-content:space-between;font-size:12px;background-image:var(--bev-soft),linear-gradient(#272E36,#1D2228);border-bottom:2px solid var(--profile-accent)}
.profile-workspace{min-width:0;display:grid;gap:16px}.profile-page-heading{margin-bottom:2px}.profile-kicker{font:10px var(--mono);letter-spacing:.1em;color:#8A9DB1}
.profile-page-heading h3{font:650 23px/1.25 var(--font);letter-spacing:-.035em;margin:8px 0;color:#E7EBEE}.profile-page-heading p{font-size:13px;line-height:1.6;color:#A1B0C0;margin:0}
.profile-panel{padding:16px;border:1px solid #353F4A;background:#181C20;display:grid;gap:12px;clip-path:var(--px-4)}.profile-panel h3{margin:0;font-size:14px}.profile-panel-heading{display:flex;align-items:center;gap:12px}.profile-panel-heading p{margin:4px 0 0;font-size:12px;color:#A1B0C0}
.profile-mini-icon{width:34px;height:34px;display:grid;place-items:center;font-size:22px;color:#A7B2BE;background:#252C34;clip-path:var(--px-4);flex:none}
.profile-workspace .account-actions .profile-primary{background-image:var(--bev-soft),linear-gradient(#586E84,#434F5C);color:#F8F8F9}
.profile-text-button{background:none;border:0;min-height:36px;padding:6px 0;justify-self:start;text-align:left;color:#A1B0C0;font:12px var(--font);cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.profile-text-button:hover{color:#D6DBE0}
.profile-edit-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px;text-align:left;background:linear-gradient(110deg,#272E36,#1D2228);border:1px solid #566B81;clip-path:var(--px-4);color:#D6DCE1;cursor:pointer}
.profile-edit-link b{font:600 14px var(--font);display:block}.profile-edit-link small{font:11px/1.5 var(--font);display:block;margin-top:5px;color:#9EAEBF}.profile-edit-link>span:last-child{font-size:22px;color:#AAB5C1}
.profile-account-details{border-top:1px solid #353F49;padding-top:8px;display:block}.profile-account-details summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:12px;color:#9DAEBE;min-height:38px;list-style:none}.profile-account-details summary::-webkit-details-marker{display:none}.profile-account-details[open]{display:grid;gap:10px}
.profile-editor-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-bottom:1px solid #44515E;margin-bottom:0}
.profile-editor-nav button{min-height:44px;border:0;background:transparent;color:#9BACBD;font:500 13px var(--font);cursor:pointer;border-bottom:2px solid transparent}
.profile-editor-nav button[aria-pressed=true]{color:#E3E7EB;border-bottom-color:#8DA0B3;background:linear-gradient(transparent,#283038)}
.is-profile .profile-editor{gap:16px}.profile-editor-pane{display:grid;gap:20px}.is-profile [hidden]{display:none!important}
.is-profile .profile-editor legend{font-size:13px;margin-bottom:10px}.is-profile .profile-themes{gap:8px}.is-profile .profile-theme i{height:38px;background:radial-gradient(ellipse at 50% 40%,#ffffff22,transparent),linear-gradient(125deg,transparent 55%,#ffffff09 55%,#ffffff09 68%,transparent 68%),var(--theme)}
.is-profile .profile-theme span{padding:8px;font-size:12px}.is-profile .profile-colors{gap:8px}.is-profile .profile-color{height:44px}
.profile-pose-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-height:176px;overflow-y:auto;overscroll-behavior:contain;padding-right:5px;scrollbar-width:thin;scrollbar-color:#5B7289 #12161A}
.profile-pose{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;background:#191E23;border:1px solid #38434E;clip-path:var(--px-4);min-height:66px;padding:8px 4px;color:#B8C2CB;font:11px/1.3 var(--font);cursor:pointer}
.profile-pose svg{width:22px;height:22px}.profile-pose[aria-pressed=true]{border-color:#98A9BA;background:#2A323B;color:#E9ECEE;box-shadow:inset 0 -2px 0 #899CB0}.profile-pose:hover{background:#242B32}
.profile-privacy-note{font-size:12px;line-height:1.6;color:#9CACBD;padding:14px;border-left:2px solid #67809A;background:#1B2025;margin:0}
.profile-emote-title h3{margin:0;font-size:14px}.profile-emote-title{margin-bottom:-8px}
.profile-favorite-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.profile-favorite-slots button,.profile-empty-slot{position:relative;min-width:0;min-height:62px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:8px 3px;background:#242B32;border:1px solid #678099;color:#D2D8DE;font:10px var(--font);clip-path:var(--px-4);cursor:pointer}
.profile-favorite-slots svg{width:22px;height:22px}.profile-favorite-slots span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-favorite-slots i{position:absolute;top:2px;right:5px;font:12px var(--font);color:#94A6B8}.profile-empty-slot{border-style:dashed;background:#15191D;border-color:#353F49;cursor:default}.profile-empty-slot b{font:14px var(--mono);color:#54687D}
.profile-search{display:block}.profile-search .account-input{font-size:14px;min-height:44px}
.profile-emote-filter{display:flex;flex-wrap:wrap;gap:6px;margin-top:-10px}.profile-emote-filter button{min-height:36px;padding:6px 10px;background:#191E23;border:1px solid #38424D;color:#A0B0C0;font:11px var(--font);cursor:pointer;clip-path:var(--px-4)}.profile-emote-filter button[aria-pressed=true]{color:#E2E6EA;background:#283038;border-color:#6F879F}
.is-profile .profile-favorites{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-height:260px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5B7289 #12161A}
.is-profile .profile-favorite{position:relative;min-height:72px;flex-direction:column;justify-content:center;gap:7px;padding:8px 4px;font-size:10px;text-align:center}
.is-profile .profile-favorite svg{width:22px;height:22px;flex:none}.is-profile .profile-favorite span{color:inherit;font-size:10px}.is-profile .profile-favorite i{position:absolute;right:5px;top:2px;font-style:normal;color:#869AAF;font-size:12px}
.is-profile .profile-favorite[aria-pressed=true] i{color:#CDD3DA}
.is-profile .profile-save{position:sticky;bottom:0;z-index:2;border-top:1px solid #404C58;background:#121519;padding:12px 0 0;gap:8px}.is-profile .profile-save .account-note{font-size:11px}.is-profile .profile-save .account-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:8px}.is-profile .profile-save .btn{min-height:44px;font-size:13px}
.is-profile .account-feedback{font-size:12px}.profile-pose-grid::-webkit-scrollbar,.is-profile .profile-favorites::-webkit-scrollbar{width:5px}.profile-pose-grid::-webkit-scrollbar-thumb,.is-profile .profile-favorites::-webkit-scrollbar-thumb{background:#5B7289}
@media(max-width:700px){
 .account-dialog.is-profile{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.account-dialog.is-profile header{padding:12px 16px;min-height:68px}.account-dialog.is-profile .account-body{padding:12px 14px 16px}.is-profile .account-heading{gap:10px}.is-profile h2{font-size:18px}
 .profile-topbar{margin-bottom:12px}.profile-topbar .account-tabs{width:100%}.profile-site-label{display:none}.profile-layout{grid-template-columns:1fr;gap:20px}
 .profile-rail{position:static;padding-bottom:14px}.profile-stage{height:198px}.profile-stage canvas{height:174px}.profile-stage [data-viewer-note]{font-size:10px;bottom:8px}.profile-stage-label{font-size:9px;top:12px;left:12px}.profile-stage-ground{bottom:35px;width:120px}
 .profile-identity{padding:12px 14px 0;gap:10px}.profile-identity b{font-size:18px}.profile-identity .account-avatar{width:36px;height:36px}.profile-description{margin:10px 14px;font-size:12px}.profile-rail-favorites{padding:0 14px;margin:10px 0}.profile-rail-favorites span{width:28px;height:28px}
 .is-profile .profile-rail-preview{margin:0 14px;width:calc(100% - 28px);min-height:40px;font-size:11px}.profile-page-heading h3{font-size:22px}.profile-page-heading p{font-size:12px}.profile-workspace{gap:14px}.profile-panel{padding:14px}
 .is-profile .profile-favorites{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-pose-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:160px}.profile-pose{font-size:10px;min-height:65px}.profile-emote-filter{gap:5px}.profile-emote-filter button{padding:6px 8px;font-size:10px}
 .profile-editor-pane{gap:18px}.is-profile .profile-theme i{height:32px}.is-profile .profile-theme span{font-size:11px;padding:7px}.is-profile .profile-save{bottom:-16px;padding-bottom:16px}
}
/* Keep controls and the action bar in separate regions: never cover a picker. */
@media(min-width:701px){
 .is-profile.is-editing .profile-editor-pane{max-height:clamp(180px,calc(100dvh - 490px),400px);overflow:auto;overscroll-behavior:contain;padding:0 6px 3px 0;scrollbar-width:thin;scrollbar-color:#5B7289 #12161A}
 .is-profile.is-editing .profile-save{position:static}.is-profile.is-editing .profile-stage{height:clamp(190px,calc(100dvh - 530px),302px)}.is-profile.is-editing .profile-stage canvas{height:calc(100% - 34px)}
 .is-profile .profile-editor fieldset{gap:6px}.is-profile .profile-editor legend{margin-bottom:6px}
 .is-profile .profile-theme i{height:32px}.is-profile .profile-pose-grid{max-height:152px}
 .is-profile .profile-editor-pane .profile-favorites{max-height:none;overflow:visible}
}
@media(max-width:700px){
 .is-profile.is-editing .profile-rail{display:grid;grid-template-columns:108px minmax(0,1fr);column-gap:0;padding:0;min-height:144px}
 .is-profile.is-editing .profile-stage{height:100%;min-height:144px;grid-row:1/5;border:0;border-right:1px solid #39444F}
 .is-profile.is-editing .profile-stage canvas{height:142px}.is-profile.is-editing .profile-stage-label,.is-profile.is-editing .profile-stage [data-viewer-note],.is-profile.is-editing .profile-stage-ground{display:none}
 .is-profile.is-editing .profile-identity{padding:12px 10px 0;gap:8px}.is-profile.is-editing .profile-identity .account-avatar{display:none}.is-profile.is-editing .profile-identity b{font-size:15px}.is-profile.is-editing .profile-identity span{font-size:10px}
 .is-profile.is-editing .profile-description{font-size:11px;line-height:1.5;margin:6px 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .is-profile.is-editing .profile-rail-favorites{padding:0 10px;margin:2px 0 7px;gap:4px}.is-profile.is-editing .profile-rail-favorites span{width:24px;height:24px}.is-profile.is-editing .profile-rail-favorites svg{width:16px;height:16px}
 .is-profile.is-editing .profile-rail-preview{margin:0 10px 10px;min-height:32px;width:calc(100% - 20px);font-size:10px}
 .is-profile.is-editing .profile-page-heading h3{font-size:19px;margin:0}.is-profile.is-editing .profile-page-heading p,.is-profile.is-editing .profile-kicker{display:none}
 .is-profile.is-editing .profile-editor-pane{max-height:max(190px,calc(100dvh - 620px));overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5B7289 #12161A;padding-right:5px}
 .is-profile.is-editing .profile-save{position:static;padding-bottom:0}.is-profile.is-editing .profile-editor-pane .profile-favorites{max-height:none;overflow:visible}
}
.profile-editor-pane::-webkit-scrollbar{display:block;width:6px}.profile-editor-pane::-webkit-scrollbar-track{background:#191D22}.profile-editor-pane::-webkit-scrollbar-thumb{background:#54687D;border:1px solid #191D22}
@media(max-width:700px){
 .is-profile .profile-editor-pane[data-pane=emotes]{gap:12px;max-height:max(240px,calc(100dvh - 600px))}
 .is-profile [data-pane=emotes] .profile-favorite-slots,.is-profile [data-pane=emotes] .profile-emote-title+.account-note{display:none}
 .is-profile [data-pane=emotes] .profile-emote-filter{flex-wrap:nowrap;overflow:auto;margin-top:0;flex:none;scrollbar-width:thin}.is-profile [data-pane=emotes] .profile-emote-filter button{flex:none}
}
.profile-editor-pane{align-content:start;grid-auto-rows:max-content}
.profile-emote-filter{min-height:36px}
/* Card design v3: real decorative patterns, framing, portrait crop, playback. */
.profile-editor-nav{grid-template-columns:repeat(4,1fr)}
.profile-play{position:absolute;right:12px;top:12px;z-index:3;width:32px;height:32px;display:grid;place-items:center;background:#171B1FCC;border:1px solid #98AABB;color:#E5E8EB;font:12px var(--font);clip-path:var(--px-4);cursor:pointer}
.profile-play[aria-pressed=true]{background:#242A31DD}.profile-play:focus-visible{outline:2px solid #E5E8EB;outline-offset:2px}
.profile-rail[data-frame=outline]{clip-path:none;border:1px solid var(--profile-accent);box-shadow:none}
.profile-rail[data-frame=double]{border:2px solid var(--profile-accent);box-shadow:inset 0 0 0 3px #121519,inset 0 0 0 4px var(--profile-accent);padding:5px 5px 16px}
.profile-rail[data-frame=minimal]{border:0;box-shadow:none;clip-path:none;background:transparent}
.profile-rail[data-pattern] .profile-stage::before{background:none;mask-image:none;z-index:0}
.profile-rail[data-pattern=rays] .profile-stage{background:radial-gradient(ellipse at 50% 50%,#ffffff10,transparent 70%),var(--hero-color)}
.profile-rail[data-pattern=rays] .profile-stage::before{background:repeating-conic-gradient(from 8deg at 50% 53%,#ffffff0d 0deg 11deg,transparent 11deg 25.72deg)}
.profile-rail[data-pattern=checker] .profile-stage{background:repeating-conic-gradient(#282B30 0% 25%,#202327 0% 50%) 0 0/40px 40px}
.profile-rail[data-pattern=grid] .profile-stage{background:linear-gradient(#ffffff0d 1px,transparent 1px),linear-gradient(90deg,#ffffff0d 1px,transparent 1px),var(--hero-color);background-size:24px 24px}
.profile-rail[data-pattern=pixels] .profile-stage{background:var(--hero-color)}.profile-rail[data-pattern=pixels] .profile-stage::before{background:conic-gradient(#ffffff14 90deg,transparent 0) 0 0/44px 44px;mask-image:linear-gradient(120deg,#0006,transparent)}
.profile-rail[data-pattern=gradient] .profile-stage{background:radial-gradient(ellipse at 50% 38%,#ffffff20,transparent 65%),linear-gradient(155deg,var(--hero-color),#111418)}
.profile-rail[data-pattern=solid] .profile-stage{background:var(--hero-color)}
.profile-animation-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #404C59;background:#1D2228;cursor:pointer}.profile-animation-option input{accent-color:#899CB0;width:18px;height:18px;flex:none;margin:1px 0}.profile-animation-option b{font-size:13px;font-weight:550}.profile-animation-option small{display:block;color:#A1B0C0;font-size:11px;line-height:1.5;margin-top:4px}
.profile-patterns{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.profile-patterns button,.profile-frame-options button,.profile-crop-options button{padding:0;background:#1A1E23;border:1px solid #3F4B57;clip-path:var(--px-4);color:#BBC3CC;cursor:pointer;font:12px var(--font);min-height:44px}
.profile-patterns button[aria-pressed=true],.profile-frame-options button[aria-pressed=true],.profile-crop-options button[aria-pressed=true]{border-color:#AEB8C3;box-shadow:inset 0 -2px 0 #899CB0;background-color:#293038;color:#EAEDF0}
.profile-patterns span,.profile-frame-options span{display:block;padding:8px}.profile-pattern-sample{display:block;height:40px;background-color:#313A44}
.profile-pattern-sample[data-sample=rays]{background:repeating-conic-gradient(from 8deg at 50% 80%,#ffffff16 0deg 11deg,transparent 11deg 25.72deg),#4E6276}
.profile-pattern-sample[data-sample=checker]{background:repeating-conic-gradient(#282B30 0% 25%,#202327 0% 50%) 0 0/20px 20px}
.profile-pattern-sample[data-sample=grid]{background:linear-gradient(#ffffff18 1px,transparent 1px),linear-gradient(90deg,#ffffff18 1px,transparent 1px),#35434B;background-size:12px 12px}
.profile-pattern-sample[data-sample=pixels]{background:conic-gradient(#ffffff1a 90deg,transparent 0) 0 0/22px 22px,#3C4854}
.profile-pattern-sample[data-sample=gradient]{background:linear-gradient(145deg,#4E6175,#2D273B)}.profile-pattern-sample[data-sample=solid]{background:#313A44}
.profile-frame-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.profile-frame-options i{display:block;height:32px;margin:10px 16px 2px;background:#242B32;border:2px solid #98A9BB;clip-path:var(--px-4)}.profile-frame-options i[data-frame-sample=outline]{border-width:1px;clip-path:none}.profile-frame-options i[data-frame-sample=double]{clip-path:none;box-shadow:inset 0 0 0 2px #1A1E23,inset 0 0 0 3px #98A9BB}.profile-frame-options i[data-frame-sample=minimal]{border:0;clip-path:none}
.profile-crop-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-crop-options button{padding:10px}
@media(max-width:700px){.profile-editor-nav button{font-size:11px}.is-profile.is-editing .profile-play{right:7px;top:7px;width:28px;height:28px}.profile-patterns span,.profile-frame-options span{font-size:11px;padding:7px 4px}.profile-frame-options i{margin-left:10px;margin-right:10px}}
.account-load-error{position:fixed;z-index:999;bottom:20px;left:50%;transform:translateX(-50%);width:min(360px,calc(100vw - 32px));margin:0;padding:16px;background:#1F242A;border:1px solid #798FA5;color:#E3E7EB;font:14px/1.5 var(--font)}
/* Small visible playback glyph, full-sized touch target. */
.profile-play{width:44px;height:44px;right:6px;top:6px;border:0;background:transparent;clip-path:none}
.profile-play::before{content:'';position:absolute;inset:6px;z-index:-1;background:#171B1FCC;border:1px solid #98AABB;clip-path:var(--px-4)}
.profile-play[aria-pressed=true]{background:transparent}.profile-play[aria-pressed=true]::before{background:#242A31DD}
@media(max-width:700px){.is-profile.is-editing .profile-play{width:44px;height:44px;right:1px;top:1px}.is-profile.is-editing .profile-play::before{inset:8px}}
