/* Home.zip visual language across the PHP product, with navigation anchored below. */
:root{--reference-surface:rgba(49,34,69,.91);--reference-border:rgba(213,178,248,.27);--reference-highlight:#c58cff;--reference-blue:#a9abff;--reference-shadow:0 26px 65px rgba(10,3,28,.34)}
html{scroll-padding-top:90px}
body,body.app-body,body.auth-body{background-image:radial-gradient(65rem 45rem at 82% -6%,rgba(128,61,207,.34),transparent 58%),radial-gradient(52rem 42rem at 4% 8%,rgba(80,92,189,.24),transparent 56%),radial-gradient(46rem 46rem at 18% 92%,rgba(104,60,180,.2),transparent 58%),radial-gradient(58rem 52rem at 92% 78%,rgba(129,49,164,.25),transparent 60%),linear-gradient(155deg,#261c3b,#171126 52%,#130f20)!important;background-attachment:fixed!important}
.app-shell{padding-top:15px!important;padding-bottom:110px!important}.sweetex-topbar{max-width:1050px!important;border:1px solid var(--reference-border)!important;background:linear-gradient(160deg,rgba(62,43,82,.88),rgba(31,22,49,.94))!important;box-shadow:0 15px 45px rgba(12,4,31,.3),inset 0 1px rgba(255,255,255,.11)!important}.sweetex-topbar-inner{min-height:62px;padding:8px 18px!important;gap:20px}.sweetex-nav-links,.sweetex-topbar .mobile-menu{display:none!important}.sweetex-nav-brand{font-size:20px!important}.sweetex-page-label{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;margin:auto}.sweetex-page-label span{color:#ab91c0;font-size:9px;font-weight:800;letter-spacing:.17em}.sweetex-page-label strong{color:#f3eafa;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.sweetex-profile-trigger{margin-left:0!important}
body .app-shell .page-content{max-width:1100px!important;padding:29px 20px 95px!important}.sweetex-dashboard{max-width:990px}

/* Floating glass dock on every authenticated page. The sheet contains every feature. */
.bottom-dock,.public-bottom-dock{position:fixed;z-index:95;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;gap:4px;width:min(610px,calc(100% - 24px));min-height:72px;padding:6px;border:1px solid rgba(217,182,255,.34);border-radius:20px;background:linear-gradient(160deg,rgba(65,44,87,.94),rgba(31,21,48,.97));box-shadow:0 17px 42px rgba(10,3,27,.53),inset 0 1px rgba(255,255,255,.13);backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px)}
.dock-item,.public-bottom-dock a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:58px;padding:6px 4px;border:0;border-radius:15px;background:none;color:#b9a4cf!important;font:700 10px 'DM Sans',sans-serif;text-decoration:none;cursor:pointer;transition:background .25s,transform .25s,color .25s,box-shadow .25s}
.dock-item:hover,.public-bottom-dock a:hover{transform:translateY(-2px);background:rgba(184,113,246,.12);color:#fff!important}.dock-item.active{color:#fff!important;background:linear-gradient(145deg,#bb80f3,#904fcf)!important;box-shadow:0 9px 20px rgba(142,68,214,.34),inset 0 1px rgba(255,255,255,.2)}.dock-item svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor}.dock-item span,.public-bottom-dock small{font-weight:750;letter-spacing:.015em}.dock-more svg circle{fill:currentColor;stroke:none}
.sweetex-drawer{position:fixed!important;z-index:100!important;inset:auto auto calc(max(14px,env(safe-area-inset-bottom)) + 83px) 50%!important;width:min(720px,calc(100% - 24px))!important;height:min(70dvh,615px)!important;padding:22px!important;overflow:auto!important;transform:translate(-50%,120vh)!important;transition:transform .32s cubic-bezier(.2,.75,.2,1)!important;border:1px solid var(--reference-border)!important;border-radius:23px!important;background:linear-gradient(155deg,#3b2952,#241934)!important;box-shadow:0 28px 65px rgba(9,2,24,.57),inset 0 1px rgba(255,255,255,.1)!important}.sweetex-drawer.open{transform:translate(-50%,0)!important}.sweetex-drawer .drawer-head{position:sticky;top:-22px;z-index:2;padding:0 8px 15px!important;margin-bottom:10px;background:#392750}.sweetex-drawer .side-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 11px!important;align-content:start}.sweetex-drawer .nav-label{grid-column:1/-1;margin:16px 0 3px!important}.sweetex-drawer .side-link{min-width:0;border:1px solid rgba(210,172,245,.1)!important;background:rgba(17,9,30,.24)!important}.sweetex-drawer .side-link.active{border-color:rgba(232,195,255,.5)!important;background:linear-gradient(135deg,#af70ea,#8849c9)!important}.sweetex-drawer .side-link b{color:#ccb0e3}.sidebar-backdrop.show{z-index:89!important;background:rgba(10,3,23,.7)!important}
.profile-modal{z-index:110!important}

/* Centered workspaces like the second reference, using the original forms and result hooks. */
body .page-content :is(.live-signal-layout,.future-signal-layout,.checker-layout,.news-signal-layout,.bp-shell){display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:940px!important;gap:16px!important;margin:0 auto!important}
body .page-content .mm-layout{max-width:940px!important;margin:0 auto!important;grid-template-columns:minmax(0,1fr)!important}
body .page-content .market-tabs{max-width:940px!important;margin:0 auto 17px!important;width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));background:rgba(28,18,43,.52)!important;border:1px solid var(--reference-border)!important}
body .page-content :is(.live-control-card,.future-control-card,.checker-control-card,.news-control-card,.bp-control-card,.mm-setup-card,.live-result-card,.future-result-card,.checker-result-card,.news-result-card,.bp-result-card,.chart-upload-card,.chart-loading-card,.admin-card,.module-card,.mm-panel,.mm-next-card){background:linear-gradient(160deg,rgba(55,38,75,.92),rgba(28,20,43,.96) 58%,rgba(24,17,37,.97))!important;border:1px solid var(--reference-border)!important;border-radius:23px!important;box-shadow:var(--reference-shadow),inset 0 1px rgba(255,255,255,.08)!important}
body .page-content :is(.live-control-card,.future-control-card,.checker-control-card,.news-control-card,.bp-control-card,.mm-setup-card){padding:26px!important}
body .page-content :is(.live-result-card,.future-result-card,.checker-result-card,.news-result-card,.bp-result-card){min-height:390px!important;padding:20px!important}
body .page-content :is(.live-control-head,.future-control-head,.checker-card-head,.news-control-head,.bp-control-head){border-color:var(--reference-border)!important}
body .page-content :is(.live-control-head h2,.future-control-head h2,.checker-card-head h2,.news-control-head h2,.bp-control-head h2,.chart-upload-head h2){font-size:clamp(23px,3vw,31px)!important;letter-spacing:-.045em!important}
body .page-content :is(.live-control-head p,.future-control-head p,.checker-card-head p,.news-control-head p,.bp-control-head p){color:#b8a6c9!important}
body .page-content :is(.signal-orb,.future-orb,.checker-orb,.news-orb,.bp-orb,.chart-upload-icon){background:linear-gradient(155deg,#694590,#382650)!important;color:#e5c0ff!important;box-shadow:0 8px 22px rgba(132,69,193,.24)!important}
body .page-content :is(.pair-select-shell,.novex-select-trigger,.selected-pair-box,.live-field select,.future-field input,.future-field select,.checker-field textarea,.checker-field input,.mm-field input,.mm-field select){border-color:rgba(210,174,245,.25)!important;background:#241932!important;color:#f8efff!important}
body .page-content :is(.selected-pair-chip,.future-select-all,.news-info-grid article,.bp-info-grid article,.checker-stats span,.future-result-stats span){border-color:var(--reference-border)!important;background:rgba(84,53,115,.3)!important;color:#ead4f7!important}
body .page-content :is(.live-empty-result,.future-empty-result,.checker-empty,.news-empty-state,.bp-empty){min-height:340px!important}
body .page-content :is(.live-result-card,.future-result-card,.checker-result-card,.news-result-card,.bp-result-card) [data-result-content]:not([hidden]){animation:reference-result-enter .5s cubic-bezier(.2,.7,.2,1) both}
body .result-console-head,body .result-console .direction-panel,body .result-console .strength-card,body .result-console .signal-metric-grid article{border-radius:16px!important;background:rgba(37,25,54,.9)!important;border-color:var(--reference-border)!important}
body .result-console .direction-panel::after{box-shadow:0 0 0 25px rgba(177,105,238,.055)!important}body .result-state .signal-ready-badge{color:#dcb8ff!important;border-color:rgba(213,159,252,.34)!important;background:rgba(165,92,232,.12)!important}
body .page-content :is(.news-signal-item,.future-signal-item,.checker-result-item,.bp-ranking-item,.mm-step-card,.mm-log-item){border-radius:15px!important;background:rgba(37,25,54,.9)!important;border-color:var(--reference-border)!important}
body .page-content .chart-dropzone{min-height:340px!important;background:radial-gradient(circle at 50% 0,rgba(174,99,237,.16),transparent 68%),rgba(34,22,50,.9)!important;border:1px dashed rgba(197,141,249,.56)!important}
body .page-content .chart-dropzone:hover{background:#3d2854!important;transform:translateY(-3px)}
body .page-content :is(.bp-filter-tabs,.checker-toggle,.future-filter-row){border-color:var(--reference-border)!important;background:rgba(35,23,51,.67)!important}
body .page-content :is(.mm-hero,.mm-next-card){background:radial-gradient(circle at 90% 0,rgba(174,104,239,.2),transparent 60%),linear-gradient(150deg,#4a315f,#261a38)!important}
body .page-content .admin-card{max-width:100%!important}body .page-content .table-wrap{border-color:var(--reference-border)!important}
.signal-modal-panel,.profile-modal-card{border:1px solid var(--reference-border)!important;border-radius:24px!important;background:linear-gradient(160deg,#3b2851,#241932)!important;box-shadow:0 30px 80px rgba(8,2,21,.55)!important}
body .app-shell .page-content .live-chart-shell{min-height:calc(100dvh - 260px);border-radius:22px!important}

/* Reference landing: flowing coins, glass sections and animated cube. */
body:has(.site-header) .site-header{border-color:var(--reference-border)!important;background:linear-gradient(150deg,rgba(65,45,86,.91),rgba(29,20,45,.95))!important}body:has(.site-header) .nav-links{display:none!important}
body:has(.site-header) .hero{position:relative;overflow:hidden;padding:63px 0 80px!important}
.reference-coins{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}.reference-coins span{position:absolute;display:grid;place-items:center;width:50px;height:50px;border:1px solid rgba(206,151,251,.48);border-radius:50%;background:rgba(150,79,217,.21);color:#edceff;font:800 23px 'DM Sans',sans-serif;box-shadow:0 12px 28px rgba(151,79,217,.24),inset 0 1px rgba(255,255,255,.18);backdrop-filter:blur(9px);animation:reference-coin-drift 8s ease-in-out infinite}.reference-coins span:nth-child(1){left:2%;top:12%}.reference-coins span:nth-child(2){left:3%;bottom:13%;width:42px;height:42px;font-size:19px;animation-delay:-2s}.reference-coins span:nth-child(3){right:2%;top:10%;animation-delay:-1s}.reference-coins span:nth-child(4){right:3%;bottom:15%;width:43px;height:43px;font-size:19px;animation-delay:-3s}
body:has(.site-header) .hero-layout{position:relative;z-index:1;max-width:1250px!important;min-height:540px!important}
body:has(.site-header) .hero-copy h1{font-size:clamp(47px,5.2vw,73px)!important;font-weight:800!important;line-height:1.06!important}body:has(.site-header) .hero-copy .gradient-text{background:linear-gradient(100deg,#a5b0ff,#ddb7ff 52%,#aa66ee)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important}
body:has(.site-header) .hero-visual{min-height:475px!important;border:1px solid var(--reference-border)!important;border-radius:25px!important;background:linear-gradient(150deg,rgba(59,40,80,.92),rgba(28,20,45,.98))!important;box-shadow:0 25px 70px rgba(10,3,25,.3)!important}
body:has(.site-header) .trust-grid{max-width:1240px!important}body:has(.site-header) .trust-item{border-radius:18px!important}
body:has(.site-header) .section-head{max-width:680px;margin:0 auto 32px;text-align:center}body:has(.site-header) .section-head h2{font-size:clamp(29px,3.5vw,43px)!important}
body:has(.site-header) .features-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:19px!important}body:has(.site-header) .features-grid .feature-card{position:relative;min-height:235px!important;padding:25px!important;border-radius:20px!important;background:linear-gradient(150deg,#38264c,#241a36)!important;transition:transform .3s,box-shadow .3s,border-color .3s!important}body:has(.site-header) .features-grid .feature-card::before{content:'';position:absolute;right:24px;top:48px;left:82px;height:1px;background:linear-gradient(90deg,rgba(199,150,241,.32),transparent)}body:has(.site-header) .features-grid .feature-icon{display:grid;place-items:center;width:48px!important;height:48px!important;border-radius:13px!important;border:1px solid rgba(209,166,247,.3)!important;background:rgba(153,84,214,.15)!important;color:#dbacff!important}
body:has(.site-header) .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}body:has(.site-header) .step-card{border-radius:20px!important}body:has(.site-header) .final-card{border:1px solid var(--reference-border)!important;border-radius:27px!important;background:radial-gradient(circle at 80% 5%,rgba(161,88,229,.24),transparent 55%),linear-gradient(150deg,#3d2952,#221931)!important}
body:has(.site-header) footer{padding-bottom:105px!important}
.public-bottom-dock a span{display:grid;place-items:center;height:22px;color:#dfb3ff;font-size:22px;line-height:1}.public-bottom-dock a:last-child{color:#fff!important;background:linear-gradient(145deg,#b87df1,#8c4bc9)}

/* Reference motion with reduced-motion support. */
@keyframes reference-coin-drift{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-15px) rotate(8deg)}}
@keyframes reference-result-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:900px){.sweetex-page-label{display:none}.sweetex-topbar-inner{justify-content:space-between!important}.sweetex-nav-brand{position:static!important;transform:none!important;left:auto!important}.sweetex-nav-brand .brand-mark{display:grid!important}body .page-content :is(.live-signal-layout,.future-signal-layout,.checker-layout,.news-signal-layout,.bp-shell,.mm-layout){grid-template-columns:1fr!important}body:has(.site-header) .features-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:has(.site-header) .hero-layout{grid-template-columns:1fr!important}.reference-coins span:nth-child(3),.reference-coins span:nth-child(4){display:none}}
@media(max-width:620px){.sweetex-topbar{width:calc(100% - 22px)!important}.sweetex-topbar-inner{min-height:57px!important;padding:7px 12px!important}.sweetex-nav-brand{font-size:17px!important}.sweetex-nav-brand .brand-mark{width:34px!important;height:34px!important;flex-basis:34px!important}.bottom-dock,.public-bottom-dock{width:calc(100% - 16px);min-height:65px;bottom:max(8px,env(safe-area-inset-bottom));border-radius:17px;gap:1px;padding:4px}.dock-item,.public-bottom-dock a{min-height:55px;gap:1px;font-size:9px;border-radius:12px}.dock-item svg{width:19px;height:19px}.sweetex-drawer{inset:auto auto calc(max(8px,env(safe-area-inset-bottom)) + 74px) 50%!important;width:calc(100% - 16px)!important;max-height:min(68dvh,585px)!important;padding:17px!important}.sweetex-drawer .drawer-head{top:-17px}.sweetex-drawer .side-nav{grid-template-columns:1fr!important}.sweetex-drawer .nav-label{margin:9px 0 3px!important}body .app-shell .page-content{padding:19px 12px 92px!important}body .page-content :is(.live-control-card,.future-control-card,.checker-control-card,.news-control-card,.bp-control-card,.mm-setup-card){padding:19px!important}body .page-content :is(.live-result-card,.future-result-card,.checker-result-card,.news-result-card,.bp-result-card){padding:13px!important}.sweetex-dashboard{gap:15px}body:has(.site-header) .site-header{width:calc(100% - 16px)!important}body:has(.site-header) .features-grid{grid-template-columns:1fr!important}body:has(.site-header) .steps{grid-template-columns:1fr!important}.reference-coins span{opacity:.35}}
@media(max-width:900px){body.signal-focus-mode .page-content{height:calc(100dvh - 154px)!important;overflow:auto!important;padding-bottom:14px!important}body.signal-focus-mode .live-signal-layout.is-focus-active>.live-result-card{max-height:calc(100dvh - 172px)!important}}
@media(prefers-reduced-motion:reduce){.reference-coins span,body .page-content [data-result-content]:not([hidden]){animation:none!important}}
.live-chart-page .page-content{overflow:hidden!important;padding-bottom:8px!important}
body .app-shell .page-content .live-chart-shell{height:calc(100dvh - 225px)!important;min-height:320px!important}
@media(max-width:620px){body .app-shell .page-content .live-chart-shell{height:calc(100dvh - 173px)!important;min-height:260px!important}}
