/* V23.1 production theme: actual V17 Flask/API data and interactions remain authoritative.
   Visual integration from approved V23.1 private preview. No fake stats, no offline demo. */
:root{--v23-gold:#ffdc75;--v23-gold-deep:#d89124;--v23-platinum:#f1eff4;--v23-purple:#c13dfa;--v23-night:#06070b}
html,body{overflow-x:clip!important}
body{color:#f4f2f5!important;background:#06070b!important;text-rendering:optimizeLegibility}
.header{position:sticky!important;top:0!important;z-index:125!important;background:linear-gradient(180deg,#0b0e13 0%,#050608 73%,#0a080b 100%)!important;border-bottom:1px solid #dcaa43!important;box-shadow:0 3px 20px #000c,0 1px 7px #ffb22a32!important}
.header-inner{box-sizing:border-box!important;max-width:1980px!important;width:100%!important;min-height:69px!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:clamp(6px,.62vw,13px)!important;padding:7px clamp(12px,1.2vw,26px)!important;margin:auto!important}
.header .brand{flex:0 0 auto!important;min-width:0!important;display:inline-flex!important;align-items:center!important;text-decoration:none!important}
.header .brand img{display:none!important}
.header .brand .v23-brand-inner{display:flex;align-items:center;gap:10px;border:1px solid #a27631;border-radius:10px;padding:6px 10px;background:linear-gradient(100deg,#100e0c,#0b0b0c 60%,#17100c);box-shadow:0 0 16px #fbc04c30,inset 0 1px 1px #ffe4a050;min-width:174px;max-width:248px}
.header .v23-brand-emblem{flex:0 0 39px;display:block;height:39px;filter:drop-shadow(0 0 5px #ffc756a3)}
.header .v23-brand-name{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#ffe4a0;letter-spacing:1.3px;white-space:nowrap;text-shadow:0 0 11px #eeb3488c,0 2px #140b06;font:900 clamp(15px,1.14vw,24px)/.97 Georgia,serif}
.header .v23-brand-name small{font:800 clamp(9px,.71vw,14px)/1.4 Georgia,serif;letter-spacing:2.8px;color:#f5d66d}
.header .nav{display:flex!important;flex:1 1 auto!important;min-width:0!important;align-items:center!important;justify-content:space-around!important;flex-wrap:wrap!important;gap:0 3px!important;margin:0!important;padding:0!important;overflow:visible!important;max-width:none!important}
.header .nav a{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:35px!important;margin:0!important;padding:5px clamp(3px,.4vw,10px)!important;white-space:nowrap!important;line-height:1.17!important;letter-spacing:0!important;font:800 clamp(11px,.72vw,14px)/1.17 'Barlow Condensed',Arial,sans-serif!important;color:#f3f0f3!important;text-shadow:0 1px 2px #000!important;border-radius:7px!important;transition:background .18s,color .18s,box-shadow .18s!important}
.header .nav a:is(:hover,:focus-visible){background:#3b2a13!important;color:#ffe19b!important;box-shadow:inset 0 0 8px #ffe0a535!important}
.header .nav a.active{color:#ffe18c!important;background:linear-gradient(145deg,#2a200d,#130e0d)!important;border:1px solid #bd893d!important;box-shadow:inset 0 1px #fff2b749,0 0 13px #f6b63c40!important}
.header .nav a.active:after{left:7px!important;right:7px!important;bottom:2px!important;background:#ffe18c!important;box-shadow:0 0 8px #fcb632!important}
.header .header-cta,.header .btn.primary,.header .nav-cta{flex:0 0 auto!important;border-radius:9px!important;min-height:41px!important;white-space:nowrap!important;background:linear-gradient(#fff1b2 0%,#ffdc77 27%,#f9bc38 76%,#b77619 100%)!important;border:1px solid #f9d97d!important;color:#100a04!important;font-weight:900!important;text-shadow:none!important;box-shadow:inset 0 1px #fff7cc,0 0 16px #ffc45d5b,0 3px 6px #0009!important}
.header .btn:not(.primary),.header .lang-btn{border:1px solid #a77c31!important;border-radius:8px!important;background:linear-gradient(#11141d,#070b13)!important;color:#ffe5a3!important;box-shadow:inset 0 1px #ffda7540,0 0 9px #da963020!important}
.header .menu-toggle{display:none!important}
.header .brand + .nav{min-height:43px}
body .btn:not(.ghost),body a.btn:not(.ghost){background-image:linear-gradient(180deg,#fff1b5 0%,#ffdc73 29%,#f7b632 74%,#bd7419 100%)!important;color:#120b05!important;border:1px solid #e7bd61!important;border-radius:8px!important;text-shadow:none!important;font-weight:900!important;box-shadow:inset 0 1px #fff7cf,0 0 13px #ffc15d44,0 3px 8px #000a!important;transition:transform .16s,filter .16s,box-shadow .16s!important}
body :is(button.btn,a.btn):is(:hover,:focus-visible){filter:brightness(1.09)!important;transform:translateY(-1px)}
body :is(button.btn,a.btn).ghost{background:linear-gradient(180deg,#161922,#090b12 75%,#100f17)!important;color:#ffe3a4!important;border:1px solid #bd8b39!important;box-shadow:inset 0 1px #edd1a435,0 1px 8px #000a!important}
body :is(.inner-page,.elite-page,.home-scene) :is(.frame,.product-card,.indicator-tile,.elite-signal-card,.elite-live-card){border-color:#b27d32!important;box-shadow:0 0 0 1px #f7c35f24,0 0 20px #f5b84728,inset 0 1px #ffe9af37!important}
body :is(.inner-page,.elite-page,.home-scene) :is(.frame,.product-card,.indicator-tile,.elite-signal-card,.elite-live-card):hover{border-color:#ecc363!important;box-shadow:0 0 0 1px #f7c35f45,0 0 24px #f5b8473c,inset 0 1px #ffe9af44!important}
:is(.inner-page,.elite-page,.home-scene) :is(h1,h2,h3,h4){text-wrap:balance;overflow-wrap:normal}
:is(.inner-page,.elite-page,.home-scene) :is(.section-head h2,.page-hero h1,.product-card h2){line-height:1.06!important;filter:drop-shadow(0 2px 3px #000b)}
:is(.inner-page,.elite-page,.home-scene) :is(p,li,small){overflow-wrap:break-word}
.inner-page .page-hero,.elite-page .page-hero{overflow:hidden!important;box-sizing:border-box!important}
.inner-page .page-hero :is(h1,p),.elite-page .page-hero :is(h1,p){position:relative!important;z-index:2!important;max-width:100%!important;text-shadow:0 2px 3px #000,0 0 9px #0008!important}
.home-scene .catalog>.frame{min-width:0!important}
.home-scene .product-card :is(.product-copy,.product-art,.product-actions){min-width:0!important}
.home-scene .product-card .product-art img{object-fit:contain!important;object-position:center!important}
.home-scene .indicator-tile .indicator-picture img{object-fit:contain!important;object-position:center!important}
.elite-card-art img,.elite-page .product-art img{max-height:100%;object-fit:contain!important}
:where(.elite-pu-grid,.elite-guide-grid,.elite-signal-grid,.elite-copy-grid,.elite-live-grid)>*{min-width:0!important}
:where(.elite-pu-grid,.elite-guide-grid,.elite-signal-grid,.elite-copy-grid,.elite-live-grid) h2{color:#ffe19a!important}
.elite-page .page-hero .elite-hero-copy{max-width:min(850px,76%)!important}
.ao14-dashboard :is(.ao14-stat,.ao14-panel){box-shadow:0 0 16px #fdb74420,inset 0 1px #ffdfa733!important}
.ao14-dashboard :is(.ao14-stat,.ao14-panel) h2{overflow-wrap:break-word}
@media(min-width:1680px){
 .header-inner{min-height:68px!important}
 .header .nav{flex-wrap:nowrap!important}
 .header .brand .v23-brand-inner{min-width:207px}
 .header .nav a{font-size:clamp(11px,.66vw,14px)!important;padding-inline:clamp(3px,.4vw,8px)!important}
}
@media(min-width:1150px) and (max-width:1679px){
 .header-inner{align-items:center!important;gap:7px!important}
 .header .nav{flex-wrap:wrap!important;row-gap:0!important;align-content:center!important}
 .header .nav a{font-size:clamp(11px,.88vw,14px)!important;min-height:29px!important;padding:4px 6px!important}
 .header .brand .v23-brand-inner{min-width:163px;padding:5px 7px}
}
@media(max-width:1149px){
 .header-inner{flex-wrap:wrap!important}
 .header .nav{order:3!important;flex:0 0 100%!important;width:100%!important;justify-content:center!important;row-gap:1px!important;max-height:none!important}
 .header .nav a{font-size:clamp(11px,1.2vw,14px)!important;min-height:28px!important}
 .header .brand .v23-brand-inner{min-width:158px}
}
@media(max-width:650px){
 .header-inner{padding:6px 9px!important;gap:6px!important;min-height:61px!important}
 .header .brand .v23-brand-inner{min-width:0;max-width:170px;gap:6px;padding:5px 7px}
 .header .v23-brand-emblem{flex-basis:29px;height:29px}
 .header .v23-brand-name{font-size:14px}
 .header .v23-brand-name small{font-size:8px;letter-spacing:1.3px}
 .header .nav{max-height:min(45vh,280px)!important;overflow-y:auto!important;justify-content:flex-start!important}
 .header .nav a{font-size:12px!important;padding:6px 7px!important;min-height:30px!important}
 .header .header-cta{min-height:33px!important;font-size:11px!important;padding:4px 8px!important}
 .header .btn{min-height:32px!important}
 .home-scene .product-card img{object-fit:contain!important}
 .elite-page .page-hero .elite-hero-copy{max-width:100%!important;width:100%!important}
}
