/* V10.58 premium application shell. Existing wallet/payment/auth untouched. */
:root{--gold:#eac27d;--deep:#030b18;--blue:#0a2945}
html,body,#app{height:100%;min-height:100%;margin:0}
body{background:#030b18;color:#f7ead0}
.site-shell{height:100dvh!important;min-height:100dvh!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:radial-gradient(ellipse 85% 52% at 50% 42%,rgba(19,77,123,.4),transparent 78%),radial-gradient(ellipse 60% 30% at 52% 96%,rgba(123,78,34,.13),transparent),linear-gradient(160deg,#020914 0%,#071a30 54%,#030a15 100%)!important;position:relative}
.site-shell:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.55;background-image:radial-gradient(1px 1px at 7% 15%,#fff9df 95%,transparent),radial-gradient(1px 1px at 28% 65%,#fff9df 95%,transparent),radial-gradient(2px 2px at 78% 19%,#d5e5ff 95%,transparent),radial-gradient(1px 1px at 93% 70%,#fff9df 95%,transparent),radial-gradient(1px 1px at 62% 85%,#fff9df 95%,transparent);background-size:283px 217px;z-index:0}
.site-shell>.cosmic-bg{opacity:.2!important;pointer-events:none}
.site-shell>.topbar{z-index:10;position:relative;flex:0 0 auto!important;min-height:54px!important;padding:5px clamp(12px,3vw,38px)!important;background:linear-gradient(180deg,rgba(3,11,24,.86),rgba(3,11,24,.24))!important;border-bottom:1px solid rgba(233,189,115,.12)!important}
.topbar .brand-logo-v108{max-height:46px!important;object-fit:contain}
.site-shell>main{z-index:1;position:relative;flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:hidden!important;display:grid!important;grid-template-rows:minmax(0,58fr) minmax(0,42fr)!important;align-content:stretch!important}
.site-shell>main>.hero-world-v10,.site-shell>main>.language-hero-v10{grid-row:1;position:relative!important;min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;margin:0!important;padding:0 14px!important;background:transparent!important}
.hero-world-v10 .living-world-stage,.language-hero-v10 .content-world-stage{position:relative!important;flex:1 1 auto!important;min-height:0!important;width:min(46vh,47vw,510px)!important;height:auto!important;max-height:min(42vh,450px)!important;margin:0 auto!important;overflow:visible!important;order:1!important}
.hero-world-v10 .world-guide,.hero-world-v10 .hero-copy,.language-hero-v10 .language-side-motto,.hero-world-v10 .language-orbit-field,.language-hero-v10 .category-orbit-field{display:none!important}
.language-hero-v10 .language-heading{flex:0 0 auto!important;order:0!important;margin:0 auto!important;padding:0!important;min-height:0!important;text-align:center!important}
.language-hero-v10 .language-heading .language-title{justify-content:center!important;gap:9px!important}
.language-hero-v10 .language-heading h1{font-size:clamp(16px,2.6vh,25px)!important;line-height:1.2!important;margin:0!important}
.language-hero-v10 .language-heading .giant{font-size:clamp(18px,2.8vh,27px)!important}
.language-hero-v10 .language-heading p,.language-hero-v10 .language-heading .gold-line{display:none!important}
.v108-premium-earth{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;box-shadow:none!important}
.v108-earth-image{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important;filter:brightness(1.05) saturate(1.12) contrast(1.03) drop-shadow(0 0 35px rgba(27,115,174,.26))!important;-webkit-mask-image:radial-gradient(ellipse at center,#000 0 44%,rgba(0,0,0,.98) 52%,rgba(0,0,0,.65) 67%,transparent 83%)!important;mask-image:radial-gradient(ellipse at center,#000 0 44%,rgba(0,0,0,.98) 52%,rgba(0,0,0,.65) 67%,transparent 83%)!important}
.v108-earth-halo{background:radial-gradient(ellipse at center,rgba(18,108,170,.22),transparent 65%)!important;box-shadow:none!important}
.hero-world-v10 .world-horizon-glow,.language-hero-v10 .language-horizon-glow{display:none!important}
.arc-dock.language-arc-dock,.arc-dock.category-arc-dock,.arc-dock.ufa-media-orbit{display:block!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;flex:0 0 clamp(92px,13vh,140px)!important;order:2!important;width:min(100%,1120px)!important;height:clamp(92px,13vh,140px)!important;min-height:0!important;max-height:140px!important;margin:0 auto!important;overflow:hidden!important;transform:none!important;isolation:isolate}
.arc-dock .arc-dock-item{border:1px solid rgba(244,201,130,.48)!important;background:linear-gradient(155deg,rgba(19,46,72,.95),rgba(4,16,31,.96))!important;color:#f8e5bf!important;box-shadow:0 6px 25px rgba(0,0,0,.3),inset 0 1px rgba(255,220,165,.09)!important;backdrop-filter:blur(8px);cursor:pointer}
.arc-dock .arc-dock-item:focus-visible{outline:2px solid #ffe0a0!important;outline-offset:2px}
.language-arc-dock .language-card{width:clamp(80px,8vw,122px)!important;min-width:0!important;height:clamp(74px,10vh,105px)!important}
.category-arc-dock .feature-card{width:clamp(150px,17vw,225px)!important;min-width:0!important;height:clamp(76px,11vh,110px)!important;min-height:0!important;padding:8px!important}
.ufa-media-orbit .ufa-media-orbit-item{width:clamp(112px,13vw,174px)!important;min-height:clamp(70px,10vh,106px)!important;padding:8px!important}
.site-shell>main>.coach-section{grid-row:2;position:relative!important;display:grid!important;grid-template-columns:minmax(0, .7fr) minmax(0,1.3fr)!important;gap:clamp(8px,2vw,24px)!important;width:min(94%,1250px)!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0 auto!important;padding:clamp(5px,1vh,12px) 0!important;overflow:hidden!important;align-items:stretch!important}
.coach-section .coach-branding{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;min-height:0!important;overflow:hidden!important;gap:2px!important;padding:0!important}
.coach-section .coach-branding h2{font-size:clamp(18px,2.5vh,32px)!important;margin:0!important}
.coach-section .coach-branding .coach-orb{transform:scale(.7)!important;transform-origin:center!important;margin:-18px auto!important;flex-shrink:1!important}
.coach-section .coach-branding p{font-size:clamp(10px,1.2vh,14px)!important;line-height:1.3!important;margin:0!important;text-align:center!important}
.coach-section .coach-chat{height:100%!important;min-height:0!important;max-height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid rgba(238,195,120,.36)!important;border-radius:20px!important;background:linear-gradient(150deg,rgba(7,28,49,.92),rgba(3,12,25,.93))!important;box-shadow:0 10px 45px rgba(0,0,0,.25)!important}
.coach-chat .coach-chat-head,.coach-chat .coach-input-row,.coach-chat .coach-footer{flex:0 0 auto!important}
.coach-chat .coach-messages{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain}
@media(max-width:700px){
.site-shell>.topbar{min-height:46px!important;padding:3px 9px!important}.topbar .brand-logo-v108{max-height:36px!important}
.site-shell>main{grid-template-rows:minmax(0,54fr) minmax(0,46fr)!important}
.hero-world-v10 .living-world-stage,.language-hero-v10 .content-world-stage{width:min(41dvh,84vw,350px)!important;max-height:min(34dvh,340px)!important}
.arc-dock.language-arc-dock,.arc-dock.category-arc-dock,.arc-dock.ufa-media-orbit{flex-basis:clamp(76px,12dvh,108px)!important;height:clamp(76px,12dvh,108px)!important}
.language-arc-dock .language-card{width:82px!important;height:77px!important}
.category-arc-dock .feature-card{width:160px!important;height:77px!important}
.ufa-media-orbit .ufa-media-orbit-item{width:118px!important;min-height:73px!important}
.site-shell>main>.coach-section{display:flex!important;flex-direction:column!important;width:calc(100% - 16px)!important;gap:0!important;padding:2px 0 5px!important}
.coach-section .coach-branding{display:none!important}
.coach-section .coach-chat{flex:1!important;width:100%!important;border-radius:15px!important}
}
@media(max-height:630px){.site-shell>main{grid-template-rows:minmax(0,48fr) minmax(0,52fr)!important}.hero-world-v10 .living-world-stage,.language-hero-v10 .content-world-stage{max-height:25dvh!important}.arc-dock.language-arc-dock,.arc-dock.category-arc-dock,.arc-dock.ufa-media-orbit{flex-basis:75px!important;height:75px!important}.language-hero-v10 .language-heading h1{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.living-world-orbits,.v108-earth-glint{animation:none!important}}
