/* Fluid Nexus — original DevKlioh emerald identity */
:root{--brand-accent:#34d399;--glow:#153b2a;--symbol:#1c392b;--shadow:#0004;--nav-bg:#141c19e8;--hover:#1c392b;--on-accent:#071a12}
:root[data-theme="light"]{color-scheme:light;--bg:#f3f8f5;--surface:#fff;--border:#cbded3;--accent:#08764f;--text:#14271e;--muted:#50685b;--glow:#d7f3e4;--symbol:#d9f5e7;--shadow:#183e2414;--nav-bg:#fffffff0;--hover:#d9f5e7}
body{background:radial-gradient(ellipse at 12% 25%,var(--glow),transparent 48%),var(--bg);min-height:100vh}
header{width:calc(100% - 40px);max-width:1120px;margin:22px auto 0;padding:12px 22px;gap:18px;border:1px solid var(--border);border-radius:40px;background:var(--nav-bg);box-shadow:0 12px 36px var(--shadow);backdrop-filter:blur(16px)}
nav{gap:6px;align-items:center}nav a{padding:8px 12px;border-radius:30px;font-size:14px}nav a:not(.nav-register)::after{bottom:3px;left:12px;right:12px}nav a:is(:hover,[aria-current]){background:var(--hover);color:var(--accent)}nav a.nav-register{border-radius:30px;padding:8px 14px;border-color:var(--accent)}nav a.nav-register:is(:hover,[aria-current]){background:var(--hover)}
.status{font-size:11px;white-space:nowrap}.brand{white-space:nowrap}.hero{background:none;padding:90px 12px 75px}.button{border-radius:30px;background:var(--brand-accent);color:var(--on-accent)}article{border-radius:26px;box-shadow:0 10px 30px var(--shadow)}.symbol{border-radius:18px;background:var(--symbol);color:var(--accent)}.auth-layout{background:none}.panel{border-radius:30px;box-shadow:0 24px 60px var(--shadow)}input,.preview{border-radius:14px}.toggle:hover,.link:hover{color:var(--accent);text-decoration:underline}footer{border-color:var(--border)}
.theme-switch{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;width:66px;height:34px;border:1px solid var(--border);border-radius:30px;background:var(--bg);color:var(--muted);padding:0 7px;cursor:pointer;font:18px/1 system-ui}.theme-switch:before{content:"";position:absolute;left:3px;top:3px;width:26px;height:26px;background:var(--symbol);border-radius:50%;transform:translateX(32px);transition:transform 320ms var(--motion-ease)}.theme-switch span{position:relative;z-index:1;width:18px;text-align:center}.theme-moon{color:var(--accent)}[data-theme="light"] .theme-switch:before{transform:translateX(0)}[data-theme="light"] .theme-sun{color:var(--accent)}[data-theme="light"] .theme-moon{color:var(--muted)}.theme-switch:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.theme-ready body,.theme-ready header,.theme-ready article,.theme-ready .panel,.theme-ready input,.theme-ready .symbol,.theme-ready footer{transition:background-color 320ms ease,color 320ms ease,border-color 320ms ease,box-shadow 320ms ease,transform 260ms var(--motion-ease)}
@media(max-width:950px){header{flex-wrap:wrap;gap:10px;border-radius:26px}nav{order:3;width:100%;margin:0;justify-content:center}.theme-switch{margin-left:auto}.status{width:auto}}@media(max-width:520px){header{width:calc(100% - 24px);padding:12px 14px}.status{display:none}nav{gap:2px}nav a,nav a.nav-register{font-size:12px;padding:7px 8px}.hero{padding:55px 0}.panel{padding:22px}.auth-layout{min-height:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

/* Dedicated marketplace pages */
body{display:flex;flex-direction:column}header,footer{flex-shrink:0}main{width:100%;flex:1}footer{width:100%;margin-top:auto}main.market-page{padding-top:48px;padding-bottom:64px}.market-page section{padding:20px 12px 35px}.market-page .grid{margin-top:32px}@media(max-width:520px){main.market-page{padding-top:25px}.market-page section{padding-inline:0}}
