/* Yahcheh's shared visual language. Loaded by every public, account and Studio document.
   Existing semantic controls and application classes deliberately inherit this system. */
:root{--yah-bg:#03070e;--yah-surface:#09121d;--yah-surface-2:#101c28;--yah-text:#f2eee2;--yah-muted:#b3b6bc;--yah-gold:#d4b16a;--yah-gold-bright:#ffe0a2;--yah-border:#b28a494d;--yah-glow:#d4b16a30;--yah-radius:5px;--yah-radius-lg:10px;--yah-font-display:Cinzel,Georgia,serif;--yah-font-body:Inter,system-ui,sans-serif;--yah-panel:linear-gradient(145deg,#14202aed,#080f18f5);--yah-shadow:0 18px 50px #0006,inset 0 1px #fbe1a00a;--experience-surface:var(--yah-surface);--experience-line:var(--yah-border);--experience-muted:var(--yah-muted);--experience-radius:10px;color-scheme:dark}
:root body{background-color:var(--yah-bg);background-image:linear-gradient(180deg,#03070e55,#03070ef2 95%),url('/assets/backgrounds/yahcheh-cosmic.webp');background-size:cover;background-attachment:fixed;color:var(--yah-text);font-family:var(--yah-font-body);line-height:1.6;--yah-realm:#789fbd}
:root body[data-yah-theme=ancient]{--yah-realm:#cfab73;background-image:linear-gradient(#09090685,#080907eb),url('/assets/backgrounds/yahcheh-ancient.webp')}
:root body[data-yah-theme=void]{--yah-realm:#9d96b4;--yah-panel:linear-gradient(145deg,#14151eeb,#070b12fa);background-image:linear-gradient(#03060ab0,#03060aec),url('/assets/backgrounds/yahcheh-void.webp')}
:root body[data-yah-theme=psychedelic]{--yah-realm:#b995e0}
:root body::selection,:root body ::selection{background:#d4b16a;color:#090e17}
:root body :focus-visible{outline:2px solid var(--yah-gold-bright);outline-offset:4px;box-shadow:0 0 0 5px #d4b16a20}
:root body :is(h1,h2,h3){color:var(--yah-text);text-wrap:balance}
:root body :is(h1,h2,.brand,.eyebrow,.yah-section__heading,.studio-menu-brand){font-family:var(--yah-font-display)}
:root body :is(.muted,.yah-page__lede,.studio-tool-description,.hub-empty){color:var(--yah-muted)}
:root body :is(.eyebrow,.brand,.studio-menu-group,.profile-eyebrow,.workspace-kicker){color:var(--yah-gold);letter-spacing:.16em}
:root body .yah-bg{opacity:.48;pointer-events:none}
.yah-atmosphere{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;background-image:radial-gradient(1px 1px at 12% 23%,#fbe3bba0 60%,transparent),radial-gradient(1px 1px at 79% 37%,#c6dfff9c 60%,transparent),radial-gradient(1px 1px at 37% 67%,#e6bd7860 60%,transparent);background-size:340px 310px,470px 410px,590px 530px;opacity:.48}
.yah-atmosphere::after{content:'';position:absolute;width:55vw;height:55vw;min-width:300px;min-height:300px;right:-20vw;top:10vh;border:1px solid #d4b16a17;border-radius:50%;box-shadow:0 0 0 40px #d4b16a04,0 0 0 120px #d4b16a04;animation:yah-orbit-breathe 22s ease-in-out infinite}
:root body>main,:root body>.yah-footer{position:relative}
@keyframes yah-orbit-breathe{50%{transform:scale(1.06);opacity:.35}}
/* Buttons: all native buttons, submit inputs, and the established CTA classes. */
:root body :is(button,input[type=button],input[type=submit],input[type=reset],.btn,.yah-btn,.community-button,.pwa-install){color:var(--yah-text);background:linear-gradient(150deg,#1c2733,#080e17);border:1px solid var(--yah-border);border-radius:5px;box-shadow:inset 0 1px #f5dca21a,0 3px 10px #0003;font-family:var(--yah-font-body);text-decoration:none;transition:border-color .18s,background .18s,box-shadow .18s;cursor:pointer}
:root body :is(button,input[type=submit],.btn,.yah-btn,.community-button):hover:not(:disabled){border-color:var(--yah-gold);background-color:#1a2531;box-shadow:inset 0 0 16px #d4b16a0b,0 0 17px #d4b16a18;color:var(--yah-gold-bright)}
:root body :is(button,.btn,.yah-btn,.community-button):active:not(:disabled){box-shadow:inset 0 2px 8px #0008}
:root body :is(button,input,select,textarea):disabled{opacity:.5;cursor:not-allowed}
:root body :is(.primary,.yah-btn--gold,.yah-btn--primary,.workspace-save.primary,[data-publish]){background:linear-gradient(135deg,#f0d594,#b38a48);color:#15120c;border-color:#f0d594;font-weight:700;text-shadow:none}
:root body :is(.danger,[data-delete]){color:#ffb5aa;border-color:#b8685c99;background:linear-gradient(145deg,#321b22,#170e16)}
:root body :is(.yah-btn,.community-button,.btn){padding:11px 20px;min-height:44px;align-items:center;justify-content:center}
:root body :is(.yah-icon-btn,.ys-icon,.player-buttons [data-action=toggle],.immersive-controls [data-action=toggle]){border-radius:50%;border-color:#b28a4970;background:radial-gradient(circle at 30% 20%,#2a3040,#070e17 80%);color:var(--yah-gold-bright)}
:root body :is(.player-title-button,.queue-select,.profile-text-button,.immersive-lyrics .lyric-line){background:transparent;border-color:transparent;box-shadow:none}
/* Every form type shares a readable celestial field; editor textareas remain editor-owned. */
:root body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=submit]):not([type=button]),select,textarea):not(.CodeMirror textarea){background:#060d17;color:var(--yah-text);border:1px solid #9d824a66;border-radius:5px;box-shadow:inset 0 2px 6px #0004;font-family:inherit;max-width:100%}
:root body :is(input,textarea,select)::placeholder{color:#9c9fa7;opacity:1}
:root body :is(input,textarea,select):focus{border-color:var(--yah-gold-bright)}
:root body :is(input[type=checkbox],input[type=radio]){accent-color:var(--yah-gold);width:18px;height:18px;vertical-align:middle;flex-shrink:0}
:root body input::file-selector-button{background:#1b2631;color:var(--yah-gold-bright);border:1px solid var(--yah-border);border-radius:4px;padding:9px 13px;margin-right:12px;cursor:pointer}
:root body select option{background:#0b1420;color:var(--yah-text)}
:root body input[type=range]{appearance:none;background:transparent;min-height:30px;accent-color:var(--yah-gold);border:0;box-shadow:none;padding:0}
:root body input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:3px;background:linear-gradient(90deg,#b99250,#ffe2a1) 0/var(--yah-progress,0%) 100% no-repeat,#23303c;box-shadow:0 0 10px #d4b16a26}
:root body input[type=range]::-moz-range-track{height:5px;border-radius:3px;background:#23303c}
:root body input[type=range]::-moz-range-progress{height:5px;background:#efd091;box-shadow:0 0 10px #d4b16a88}
:root body input[type=range]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;margin-top:-4.5px;border:1px solid #ffe8b9;border-radius:50%;background:#dfbd76;box-shadow:0 0 12px #d4b16a77}
:root body input[type=range]::-moz-range-thumb{width:12px;height:12px;border:1px solid #ffe8b9;border-radius:50%;background:#dfbd76}
:root body progress{accent-color:var(--yah-gold);height:8px}
/* Card families discovered across public, member and administrative renderers. */
:root body :is(.yah-card,.community-card,.card,.hub-creator,.profile-creation,.member-post,.account-card,.yah-feature,.yah-release,.graph-node,.cw-type,.cw-panel,.image-editor-panel,.library-detail,.studio-tool-loading){background:var(--yah-panel);border:1px solid var(--yah-border);border-radius:var(--yah-radius-lg);box-shadow:var(--yah-shadow)}
:root body :is(.yah-card,.community-card,.hub-creator,.profile-creation,.cw-type):hover{border-color:#d4b16a99;box-shadow:0 20px 55px #0007,0 0 22px #d4b16a0b;transform:translateY(-2px)}
:root body :is(.community-art,.yah-card__media,.yah-release__media,.profile-banner){background-color:#101a26}
:root body :is(.community-art img,.yah-card__media img){transition:filter .25s}
:root body :is(.community-card,.yah-card):hover img{filter:brightness(1.07)}
:root body :is(.community-symbol,.hub-avatar,.profile-avatar,.ys-avatar){color:var(--yah-gold-bright);background:radial-gradient(circle at 30% 10%,#3b3541,#0b1521);border:1px solid var(--yah-border)}
:root body :is(.yah-card__tag,.ys-badge,.profile-owner-badge,.badge,.workspace-status,.ys-count){background:#342b1ac9;color:#ffe0a2;border:1px solid #d4b16a55;border-radius:4px}
:root body :is(.ys-count,.ys-person--unread,.notification-event.unread){box-shadow:inset 2px 0 var(--yah-gold),0 0 15px #d4b16a0c}
/* Global navigation and its actual existing menus. */
:root body .yah-nav{background:linear-gradient(120deg,#0a121dec,#101625eb);border:1px solid #b28a4975;border-radius:7px;box-shadow:0 12px 40px #0007,inset 0 1px #ead49a20;backdrop-filter:blur(14px)}
:root body .yah-nav__brand{color:var(--yah-gold-bright);font-family:var(--yah-font-display);letter-spacing:.17em}
:root body .yah-nav__brand-mark{border:1px solid var(--yah-gold);border-radius:50%;background:#101a25;box-shadow:0 0 0 4px #d4b16a0a}
:root body :is(.yah-nav__links a,.yah-portal__links a){border-radius:3px;color:#d5cfbf;letter-spacing:.06em}
:root body :is(.yah-nav__links a[aria-current=page],.yah-portal__links a[aria-current=page],.studio-tool-button.is-active,.tabs a[aria-current=page],button[aria-selected=true],button[aria-pressed=true]){color:var(--yah-gold-bright);border-color:#d4b16a88;background:linear-gradient(90deg,#a7823433,#d4b16a08);box-shadow:inset 0 -2px var(--yah-gold),0 0 16px #d4b16a0b}
:root body :is(.yah-nav__links a,.yah-account-menu__link,.yah-portal__links a):hover{color:var(--yah-gold-bright);background:#d4b16a12}
:root body :is(.yah-account-menu,.yah-portal,.ys-emoji-picker,[role=menu]){background:linear-gradient(135deg,#111c29f7,#050b13fa);border-color:var(--yah-border);box-shadow:var(--yah-shadow)}
:root body .yah-account-menu__separator{background:var(--yah-border)}
.yah-nav__links a[data-yah-icon]::before,.yah-portal__links a[data-yah-icon]::before{content:'';display:inline-block;width:16px;height:16px;background:currentColor;mask:var(--yah-icon) center/contain no-repeat;-webkit-mask:var(--yah-icon) center/contain no-repeat;vertical-align:-3px;margin-right:6px;opacity:.85}
:root body .yah-footer{border-top:1px solid var(--yah-border);background:linear-gradient(transparent,#02060cc9);padding-top:45px}
/* Sprite ornament: fixed-size crop from the supplied buttons.png, never stretched. */
.yah-ornament{display:block;width:330px;max-width:100%;height:48px;background:url('/assets/images/buttons.png') -1159px -855px/1536px 1024px no-repeat;opacity:.8;margin:20px auto;pointer-events:none}
:root body :is(.yah-section__heading,.community-heading,.studio-toolbar,.profile-nav){border-bottom:1px solid var(--yah-border);padding-bottom:18px}
/* Home: one illustrated world hub, live collections continue below it. */
:root body .world-hub{position:relative;isolation:isolate;min-height:740px;grid-template-columns:1.08fr 1fr;padding-top:145px;padding-bottom:65px;margin-bottom:30px;border-bottom:1px solid var(--yah-border)}
:root body .world-hub::before{content:'';position:absolute;inset:45px -8vw 0;z-index:-1;background:linear-gradient(90deg,#040912eb 10%,#04091255 75%),linear-gradient(0deg,#040912,transparent 55%),url('/assets/backgrounds/yahcheh-hero.webp') center/cover;opacity:.95}
:root body .hub-intro h1{font-size:clamp(38px,4.5vw,67px);font-weight:500;line-height:1.14;color:#f6e8c9}
:root body .hub-intro>p:not(.eyebrow){color:#c9c9c7;max-width:500px}
:root body .hub-core{background:radial-gradient(circle,#d4b16a15,#050c17);border:1px solid #d4b16a80;box-shadow:0 0 80px #d4b16a20}
:root body .hub-node{border-radius:6px;background:linear-gradient(135deg,#12202dee,#050d17ee);border-color:#d4b16a66;box-shadow:0 10px 35px #0007}
:root body .hub-node strong{font-family:var(--yah-font-display);font-size:14px;letter-spacing:.06em}
:root body .hub-node small{color:#c0beb6}
:root body .hub-orbit{border-color:#d4b16a55}
.yah-hub-paths{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.yah-hub-paths a{color:var(--yah-gold);font-size:12px;text-transform:uppercase;letter-spacing:.12em;text-decoration:none;border-bottom:1px solid var(--yah-border);padding:7px 0}
:root body .yah-page--home>.yah-hero{display:none} /* The old duplicated hero is replaced by the world hub above. */
/* Account, profile, authentication and reading surfaces. */
:root body .auth{position:relative;border-top:2px solid var(--yah-gold);background:linear-gradient(140deg,#14202af5,#060c16f8);padding:34px;box-shadow:0 25px 100px #0009;max-width:520px}
:root body .auth::before{content:'✦';display:block;color:var(--yah-gold);font-size:30px;text-align:center;margin-bottom:12px}
:root body .auth h1{text-align:center;font-size:30px;font-weight:500}
:root body :is(.account-sidebar,.account-nav,.profile-nav,.profile-about,.profile-details,.profile-body,.account-section){border-color:var(--yah-border)}
:root body .yahcheh-profile{--profile-bg:var(--yah-surface);--profile-text:var(--yah-text);--profile-muted:var(--yah-muted);--profile-border:var(--yah-border);box-shadow:var(--yah-shadow)}
:root body .profile-banner-fallback{background:linear-gradient(0deg,#07101bbb,transparent),url('/assets/backgrounds/yahcheh-cosmic.webp') center/cover}
:root body .profile-heading{font-family:var(--yah-font-display)}
:root body :is(.member-post,.profile-about){padding:24px}
:root body :is(.yah-story__section,.yah-page--chapter article,.story-body){line-height:1.9;max-width:78ch}
:root body :is(.yah-story__section p,.story-body p){color:#ded9cd}
/* Shared application windows, search, chat and simple dialogs. */
:root body :is(.yah-window,dialog,.yah-search,.ys-panel,.ys-notifications,.ys-toast){background:linear-gradient(145deg,#14202afc,#070d16fc);border:1px solid #b28a498c;border-radius:8px;box-shadow:0 24px 100px #000a,inset 0 1px #fce4ad20;color:var(--yah-text)}
:root body :is(.yah-window-header,.ys-header,.yah-search__head){background:linear-gradient(90deg,#2f2b22,#111b28 65%);border-bottom:1px solid var(--yah-border);color:var(--yah-gold-bright)}
:root body .yah-window-header strong{font-family:var(--yah-font-display);letter-spacing:.05em}
:root body :is(.search-groups a,.yah-search-result,.notification-event,.ys-person){border:1px solid transparent;border-bottom-color:#b28a492a;border-radius:5px;padding:14px;color:var(--yah-text);text-decoration:none}
:root body :is(.search-groups a,.yah-search-result,.notification-event,.ys-person):is(:hover,:focus-visible){background:#d4b16a15;border-color:var(--yah-gold);color:var(--yah-gold-bright)}
:root body .notification-event{display:block;margin:8px 0;background:#08121bcc}
:root body .notification-event small{color:var(--yah-muted);font-size:12px;margin-top:5px}
:root body :is(.ys-sidebar,.ys-thread,.ys-body,.ys-messages){background:#07101bcc;border-color:var(--yah-border)}
:root body .ys-message{background:#182534;border-color:#b28a4938;color:var(--yah-text)}
:root body .ys-message--mine{background:#322b20;border-color:#b28a4966}
:root body .ys-launcher{border-color:#d4b16a88;background:#101925;color:var(--yah-gold)}
:root body :is(dialog::backdrop,.yah-search-backdrop){background:#01040bcc;backdrop-filter:blur(5px)}
/* Music, artwork and time-accurate energy sliders. */
:root body .global-player{background:linear-gradient(100deg,#080f19fa,#1a2027fa,#080f19fa);border-top:1px solid #d4b16a8c;box-shadow:0 -10px 45px #0008}
:root body .immersive-player{background:linear-gradient(145deg,#060c16ec,#161021ed),url('/assets/backgrounds/yahcheh-psychedelic.webp') center/cover}
:root body .immersive-header{background:#080f1be8;border:1px solid var(--yah-border);border-radius:5px}
:root body .immersive-art{border:1px solid #d4b16a77;box-shadow:0 0 0 8px #d4b16a04,0 25px 80px #0008}
:root body .immersive-lyrics .lyric-line.is-current{color:#ffe0a2;text-shadow:0 0 22px #d4b16a38}
:root body .immersive-queue-row{border-color:var(--yah-border)}
:root body .immersive-queue-row.is-current{background:#d4b16a12}
/* All existing Creator/Admin/Development tools share the command-center palette. */
:root body :is(.studio-frame,.studio-main,.studio-tool-stage,.workspace-shell,.development-studio){background:#050b13c9;border-color:var(--yah-border);color:var(--yah-text)}
:root body :is(.studio-sidebar,.workspace-files,.workspace-side,.development-studio>aside){background:linear-gradient(160deg,#121b27f7,#050a12f7);border-color:var(--yah-border)}
:root body :is(.studio-toolbar,.workspace-head,.workspace-panel-title,.workspace-filebar,.workspace-open-tabs){background:#111b28;border-color:var(--yah-border)}
:root body .studio-tool-button{background:transparent;border-color:transparent;box-shadow:none;border-radius:4px;color:#d4cfc1}
:root body .studio-tool-button svg{color:var(--yah-gold)}
:root body :is(.workspace-tree,.workspace-editor,.monitor-panel,.agent-panel,.ollama-panel,.terminal-panel){background:#07101a;border-color:var(--yah-border)}
:root body :is(.CodeMirror,.CodeMirror-gutters){background:#07101a;color:#e2dac7;border-color:#d4b16a33}
:root body .CodeMirror-activeline-background{background:#d4b16a0c}
:root body :is(pre,code){color:#d6cbb2}
:root body pre{background:#050b13;border:1px solid #b28a4933;border-radius:4px;padding:14px;overflow:auto}
:root body table{border-collapse:collapse;color:var(--yah-text)}
:root body :is(td,th){border-bottom:1px solid #b28a4938;padding:12px;text-align:left}
:root body th{color:var(--yah-gold);background:#111b27;font-size:12px;letter-spacing:.07em}
:root body tbody tr:hover{background:#d4b16a07}
/* Shared states and accessible internal scrolling. */
:root body :is(.yah-empty,.ys-empty,.profile-empty,.hub-empty,.community-notice,.yah-search__status){padding:22px;color:#c4beae;text-align:center;border:1px dashed #b28a4940;border-radius:6px;background:#080f1866}
:root body :is(.community-notice,.yah-search__status):empty{display:none}
:root body :is(.app-status,.studio-tool-loading){background:#111b27;color:var(--yah-gold-bright);border-color:var(--yah-border)}
:root body [aria-busy=true]>.yah-loading-mark,.yah-loading-mark{display:inline-block;width:20px;height:20px;border:1px solid #d4b16a88;transform:rotate(45deg);position:relative;margin-right:12px;vertical-align:middle;animation:yah-loading 3s linear infinite}
.yah-loading-mark::after{content:'';position:absolute;inset:4px;border:1px solid #f5d998;border-radius:50%}
@keyframes yah-loading{to{transform:rotate(405deg)}}
:root body :is(.yah-window-body,.ys-body,.ys-list,.ys-messages,.studio-tool-stage,.workspace-tree,.immersive-lyrics,.immersive-queue,.yah-account-menu){scrollbar-width:thin;scrollbar-color:#967844 #0b1420}
.yah-tooltip{position:fixed;z-index:2147483000;max-width:280px;padding:7px 11px;font:12px/1.5 var(--yah-font-body);background:#07111bf5;border:1px solid #d4b16a77;color:#f4e5c6;border-radius:4px;box-shadow:0 5px 20px #0008;pointer-events:none}
:root body .yah-taskbar{background:#09121dee;border-color:var(--yah-border)}
:root body .graph-node{margin:12px 0;padding:18px;border-left:2px solid var(--yah-gold)}
:root body .graph-node+ .graph-node::before{content:'↓';display:block;color:var(--yah-gold);margin:-10px 0 10px}
:root body .cw-type.is-selected{border-color:var(--yah-gold-bright);box-shadow:inset 0 0 24px #d4b16a15}
:root body .communications-preview{width:100%;min-height:520px;border:1px solid var(--yah-border);background:#060c15}
@media(min-width:1081px){:root body .yah-nav{max-width:1440px;width:calc(100% - 48px)}:root body .yah-nav__links{gap:10px}:root body .yah-nav__links a{font-size:11px;padding:8px 2px}:root body .yah-nav__brand{font-size:16px}:root body .yah-nav__actions{gap:6px}}
@media(max-width:760px){:root body{background-attachment:scroll}:root body .world-hub{display:block;min-height:0;padding-top:115px;width:calc(100% - 36px)}:root body .hub-intro h1{font-size:39px}:root body .hub-constellation{min-height:390px}:root body .auth{padding:25px;margin:20px auto}:root body .card{padding:20px}:root body :is(button,.btn,.community-button){min-height:44px}:root body :is(.yah-window,dialog,.ys-panel){border-radius:0}:root body .yah-window-header button{min-width:44px}:root body .studio-tool-title{font-size:24px}:root body table{font-size:12px}:root body :is(td,th){padding:8px}:root body .yah-nav{width:calc(100% - 24px)}:root body .yah-ornament{transform:scale(.85);transform-origin:center}.yah-atmosphere::after{display:none}}
@media(prefers-reduced-motion:reduce){:root body *, :root body *::before,:root body *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(forced-colors:active){:root body button,:root body input,:root body a{forced-color-adjust:auto}.yah-atmosphere{display:none}}
/* Consistency audit corrections: legacy sidebars and wizard panels used local violet surfaces. */
:root body .yah-page__title{font-size:clamp(38px,5vw,72px);line-height:1.12;max-width:20ch}
:root body .yah-page__intro{padding-top:160px;padding-bottom:36px}
:root body .yah-ornament{mix-blend-mode:screen}
:root body :is(.account-sidebar,.cw-wizard,.cw-wizard:has([data-step=type]:not([hidden])),.admin-console,.development-head,.development-explorer,.development-output,.admin-ai-pane,.admin-terminal-pane){background:var(--yah-panel);border-color:var(--yah-border);border-radius:8px}
:root body .account-sidebar nav a.active{background:#d4b16a15;border-radius:4px;color:var(--yah-gold-bright);box-shadow:inset 2px 0 var(--yah-gold)}
:root body .cw-progress [aria-current]{background:#d4b16a;color:#16120c}
:root body :is(.cw-progress,.cw-actions,.development-toolbar,.development-tabs,.development-bottom nav,.admin-pane-head,.admin-ai-form,.admin-terminal-form){border-color:var(--yah-border)}
:root body .search-groups a.active{background:#d4b16a18;border-color:var(--yah-gold);color:var(--yah-gold-bright)}
:root body .yah-footer nav{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;margin-bottom:20px}
:root body .yah-footer nav a{color:var(--yah-gold);font-size:12px;letter-spacing:.1em;text-transform:uppercase;text-decoration:none}
:root body dialog::backdrop{background:#01040bcc;backdrop-filter:blur(5px)}
@media(max-width:760px){:root body .yah-page__intro{padding-top:120px}:root body .yah-page__title{font-size:39px}.yah-atmosphere{opacity:.25}}
:root body .world-hub::before{inset:45px 0 0;background:linear-gradient(90deg,#040912e8 5%,#04091244 85%),linear-gradient(0deg,#040912,transparent 55%),url('/assets/backgrounds/yahcheh-cosmic.webp') center/cover}
:root body img[src='/assets/icons/artist.svg']{padding:10px;background:#d4b16a;border:1px solid #f0d494}
:root body :is(.account-toggle,.admin-message,.admin-approval){border-color:var(--yah-border);background:#101925}
:root body :is(.yah-empty,.ys-empty,.profile-empty)::before{content:'✦';display:block;color:var(--yah-gold);font-size:26px;margin-bottom:10px}
:root body .profile-identity{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
:root body .profile-identity span{font-size:11px;letter-spacing:.09em;padding:5px 10px;border:1px solid #d4b16a55;border-radius:3px;background:#d4b16a0c;color:#e7cf9c}
:root body .profile-identity .identity-rank{color:#ffe0a2;background:linear-gradient(110deg,#ad813326,#3d294b33);box-shadow:0 0 14px #d4b16a0c}
:root body .yah-nav__account-initial{display:grid;place-items:center;width:100%;height:100%;background:transparent;color:var(--yah-gold-bright)}
:root body :is(#users,#audit){max-width:100%;overflow:auto}
:root body .search-groups h3[data-yah-search-icon]::before{content:'';display:inline-block;width:22px;height:22px;vertical-align:-4px;margin-right:10px;background:var(--yah-gold);mask:var(--yah-icon) center/contain no-repeat;-webkit-mask:var(--yah-icon) center/contain no-repeat}
:root body .search-groups .yah-result-card{display:block;margin:7px 0;background:linear-gradient(100deg,#17233099,#080f17);border-color:#d4b16a30;border-radius:4px}

/* Final profile pass: retain member-selected accent tokens while sharing the shell. */
:root body .yahcheh-profile{border-color:var(--yah-border);border-radius:var(--yah-radius-lg);background:var(--yah-panel)}
:root body .yahcheh-profile.profile-theme-yahcheh-light{background:#fbf4e5;color:#1d1720}
:root body .member-post-composer{background:var(--yah-panel);border-color:var(--yah-border);border-radius:var(--yah-radius-lg);box-shadow:var(--yah-shadow)}
:root body .profile-edit{background:linear-gradient(150deg,#1c2733,#080e17);border:1px solid var(--yah-border);border-radius:5px;color:var(--yah-text);font-family:var(--yah-font-body);min-height:40px;display:inline-flex;align-items:center;box-sizing:border-box}
:root body .profile-edit:hover{border-color:var(--yah-gold);color:var(--yah-gold-bright)}
:root body .profile-avatar-edit{left:112px;bottom:8px;white-space:nowrap;width:auto}
:root body .image-editor-actions{background:var(--yah-surface)}
@media(max-width:560px){:root body .profile-avatar-edit{left:92px;bottom:6px}}
