/* Chemystic unified premium header — V121 */

.cx-home-topbar{align-items:flex-start;gap:18px;padding:18px 20px;border:1px solid #9c6759;border-radius:28px;background:linear-gradient(135deg,rgba(63,19,31,.96),rgba(34,12,20,.95) 52%,rgba(58,24,35,.94));box-shadow:0 24px 56px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,228,196,.06);margin-bottom:18px}
.cx-brand-home{flex:1 1 560px;align-items:center;gap:16px;min-width:min(100%,320px)}
.cx-brand-logo-shell{width:96px;height:96px;flex:0 0 96px;border-radius:28px;display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,rgba(255,218,161,.28),rgba(178,75,89,.24) 48%,rgba(57,17,28,.9) 100%);border:1px solid rgba(243,189,128,.6);box-shadow:0 10px 28px rgba(0,0,0,.28),inset 0 0 24px rgba(255,227,176,.08)}
.cx-brand-logo-art{display:block;width:78px;height:78px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.26))}
.cx-brand-copy{display:grid;gap:6px}
.cx-brand-label{display:inline-flex;align-items:center;gap:8px;width:max-content;padding:7px 11px;border-radius:999px;border:1px solid rgba(244,197,116,.42);background:rgba(255,255,255,.04);color:#f3ca84;font-size:11px;font-weight:900;letter-spacing:1.8px;max-width:100%}
.cx-brand-home h1{margin:0;font-size:clamp(30px,4vw,50px);line-height:.94;letter-spacing:1.6px;text-shadow:0 4px 18px rgba(14,4,9,.42)}
.cx-brand-home small{display:block;margin-top:6px;font-size:clamp(12px,1.35vw,15px);line-height:1.25;color:#8fe9ef;letter-spacing:3.2px;font-weight:900}
.cx-home-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;min-width:min(100%,270px)}
.cx-home-tool{display:flex;align-items:center;gap:12px;min-width:160px;padding:12px 14px;border-radius:18px;border:1px solid #8f5c5a;background:linear-gradient(145deg,rgba(36,16,26,.92),rgba(24,10,18,.94));box-shadow:inset 0 1px 0 rgba(255,235,212,.05)}
button.cx-home-tool{color:inherit;cursor:pointer}
.cx-home-tool:focus-visible{outline:3px solid #82e5eb;outline-offset:2px}
.cx-home-tool-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;flex:0 0 42px;background:radial-gradient(circle at 30% 30%,rgba(255,214,157,.42),rgba(171,62,83,.4) 58%,rgba(54,18,28,.92));border:1px solid rgba(243,189,128,.46);font-size:20px;box-shadow:inset 0 0 16px rgba(255,255,255,.06)}
.cx-home-tool-copy{display:grid;gap:2px;min-width:0}
.cx-home-tool-label{font-size:11px;letter-spacing:1.4px;font-weight:900;color:#f1c47d;text-transform:uppercase}
.cx-home-tool-value{font-size:15px;font-weight:800;color:#fff4ef;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-lang-btn{border:1px solid #8f5c5a;background:linear-gradient(145deg,rgba(36,16,26,.92),rgba(24,10,18,.94))}
.cx-lang-btn .cx-home-tool-value{color:#8fe9ef}
@media(max-width:860px){.cx-home-topbar{padding:16px 16px 18px}.cx-home-tools{width:100%;justify-content:flex-start}.cx-brand-logo-shell{width:86px;height:86px;flex-basis:86px}.cx-brand-logo-art{width:70px;height:70px}}
@media(max-width:560px){.cx-brand-home{align-items:flex-start}.cx-brand-logo-shell{width:78px;height:78px;flex-basis:78px;border-radius:24px}.cx-brand-logo-art{width:64px;height:64px}.cx-home-tool{min-width:calc(50% - 6px);flex:1 1 0}.cx-home-tool-value{font-size:14px}.cx-brand-home h1{font-size:clamp(26px,10vw,38px)}.cx-brand-home small{letter-spacing:2.4px}}

/* V120 — Gold alchemy header refinement: one simple flask emblem, not the app icon */
.cx-home-topbar{position:relative;isolation:isolate;align-items:center;gap:20px;overflow:hidden;padding:21px 26px;border-radius:26px;border:1px solid #b47a52;background:radial-gradient(circle at 22% -35%,rgba(201,102,72,.22),transparent 50%),radial-gradient(circle at 100% 110%,rgba(143,49,78,.25),transparent 48%),linear-gradient(110deg,#35121f,#220d17 59%,#381421);box-shadow:0 21px 55px #07030678,inset 0 1px 0 #ffdfa730,inset 0 -1px 0 #e8a66c18}
.cx-home-topbar:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.26;background:repeating-linear-gradient(122deg,transparent 0px,transparent 72px,#d5a06a22 73px,transparent 74px)}
.cx-home-topbar:after{content:"";position:absolute;bottom:0;left:19%;right:19%;height:2px;border-radius:50%;background:linear-gradient(90deg,transparent,#e9b768 25%,#fff1bb 50%,#e9b768 75%,transparent);box-shadow:0 -1px 13px #d8835970;pointer-events:none}
.cx-brand-home{gap:20px;flex:1 1 530px;min-width:0}
.cx-brand-logo-shell{width:106px;height:106px;flex-basis:106px;border-radius:28px;border:1px solid #c58b63;background:radial-gradient(circle at 28% 25%,#a2514c40,transparent 40%),linear-gradient(145deg,#521c32,#1b0a14);box-shadow:0 12px 28px #06020770,inset 0 0 0 3px #e9ae7621,inset 0 1px 14px #f2b8741c}
.cx-brand-logo-art{width:94px;height:94px;filter:drop-shadow(0 7px 10px #08020c75)}
.cx-brand-copy{gap:8px}
.cx-brand-home h1{font-family:Georgia,'Times New Roman',serif;font-weight:800;font-size:clamp(38px,4.8vw,59px);line-height:.97;letter-spacing:1.1px;color:#ffe1aa;text-shadow:0 1px 0 #9d5236,0 4px 15px #09020990}
.cx-brand-home small{font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:clamp(10px,1.3vw,14px);font-weight:800;letter-spacing:3.4px;color:#f9d7a1;text-shadow:none;margin-top:9px;line-height:1.3}
.cx-brand-label{width:max-content;padding:5px 10px;font-size:10px;letter-spacing:1.6px;background:#6a2a3750;border-color:#bd885c7f;color:#f5c78f}
.cx-home-tools{flex:0 0 auto;gap:10px;min-width:0}
.cx-home-tool{min-width:143px;padding:10px 13px;border-radius:16px;border-color:#a36953;background:linear-gradient(155deg,#481c2b,#230e18);box-shadow:inset 0 1px 0 #ffe3b51a,0 6px 18px #0b050a4f}
.cx-home-tool-icon{width:38px;height:38px;flex-basis:38px;background:linear-gradient(135deg,#76413b,#371525);border-color:#c98d62;border-radius:12px}
.cx-home-tool-label{color:#ecc08a}
.cx-lang-btn:hover{border-color:#ecc17e;box-shadow:0 0 0 2px #d9976233,0 8px 18px #0b050a60}
@media(max-width:900px){.cx-home-topbar{padding:17px 18px}.cx-brand-logo-shell{width:86px;height:86px;flex-basis:86px;border-radius:23px}.cx-brand-logo-art{width:78px;height:78px}.cx-brand-home h1{font-size:clamp(32px,5vw,48px)}}
@media(max-width:570px){.cx-home-topbar{gap:16px;padding:15px}.cx-brand-home{gap:12px}.cx-brand-logo-shell{width:78px;height:78px;flex-basis:78px;border-radius:20px}.cx-brand-logo-art{width:70px;height:70px}.cx-brand-home h1{font-size:clamp(28px,7.8vw,38px)}.cx-brand-home small{font-size:10px;letter-spacing:1.8px}.cx-brand-label{font-size:9px;padding:4px 7px;letter-spacing:1px}.cx-home-tools{width:100%;justify-content:stretch}.cx-home-tool{flex:1 1 0;min-width:0}}


.cx-topbar.cx-home-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.cx-home-tools{display:flex;gap:10px;align-items:center;justify-content:flex-end;min-width:0}
.cx-home-tool{min-width:130px}
.cx-home-tool[role="button"]{cursor:pointer}
.cx-home-player-button{font:inherit;color:inherit;text-align:left;cursor:pointer}
.cx-home-tool-menu{position:relative}
.cx-home-tool-menu[open] > .cx-home-player-button{border-color:#f1c37d}
.cx-player-pop{position:absolute;right:0;top:calc(100% + 9px);z-index:2000;min-width:210px;border-radius:15px;border:1px solid #ab7460;background:#28131d;box-shadow:0 16px 38px #0009;padding:10px;color:#ffe9ce}
.cx-player-pop button,.cx-player-pop a{display:block;border:0;background:transparent;color:inherit;font:inherit;text-align:left;width:100%;padding:10px;border-radius:9px;cursor:pointer}
.cx-player-pop button:hover,.cx-player-pop a:hover{background:#5d2636}
@media(max-width:700px){.cx-home-topbar{align-items:flex-start}.cx-home-tools{width:100%;justify-content:stretch}.cx-home-tool-menu{flex:1 1 0;min-width:0}.cx-home-tool-menu .cx-home-tool,.cx-home-tools>.cx-lang-btn{width:100%;min-width:0;justify-content:flex-start}.cx-home-player-button{width:100%}}
@media(max-width:380px){.cx-home-tool-icon{width:34px;height:34px;flex-basis:34px}.cx-home-tool{padding:10px 9px}}
