/* Jayu v13.7 global responsive polish */
html{scroll-padding-top:92px}body{overflow-x:hidden}.ticker-wrap{position:relative;z-index:50;min-height:42px}.topbar{position:relative;z-index:45}.hero{align-items:stretch!important}.hero-copy,.hero-side{min-height:100%;height:auto}.hero-side{display:flex;flex-direction:column}.hero-side .gsm-engine{flex:1}.jayu-beta-banner{order:-1}.jayu-history-controls{flex:0 0 auto}.jayu-history-controls button{touch-action:manipulation}.jayu-member-private{cache-control:no-store}
@media(min-width:901px){.hero{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(420px,.95fr)!important;gap:18px!important}.hero-copy,.hero-side{height:100%!important}.hero-side{align-self:stretch!important}.jayu-beta-banner{margin-top:18px!important}}
@media(max-width:900px){.hero{grid-template-columns:1fr!important}.hero-copy,.hero-side{min-height:0!important}.jayu-beta-banner{margin-top:14px!important}.grid-2{grid-template-columns:1fr!important}}
@media(max-width:760px){
  html{scroll-padding-top:104px}body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  .ticker-wrap{min-height:66px!important;overflow:hidden!important;background:#050a0f!important}
  .topbar{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:7px!important;padding:8px 10px!important;min-height:66px!important;height:auto!important;position:relative!important;top:auto!important}
  .topbar .brand{min-width:0!important;display:flex!important;align-items:center!important}.topbar .brand-mark{width:36px!important;height:36px!important;flex:0 0 36px!important}.topbar .brand-copy{display:none!important}.topbar>.nav{display:none!important}
  .topbar .nav-actions{min-width:0!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;flex-wrap:nowrap!important}.topbar .status-chip{display:none!important}.topbar .jayu-lang-switch{flex:0 0 auto!important}.topbar .jayu-lang-switch a{min-width:32px!important;padding:7px 8px!important}.topbar .jayu-auth-trigger{max-width:78px!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:8px 10px!important;min-height:36px!important}.topbar .search-btn{width:38px!important;min-width:38px!important;height:38px!important;padding:0!important;display:grid!important;place-items:center!important}.topbar .search-btn span,.topbar .search-btn kbd{display:none!important}.topbar .mobile-toggle{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important}.topbar .jayu-history-controls{margin:0!important;padding:2px!important;gap:2px!important}.topbar .jayu-history-controls button{width:29px!important;height:30px!important}
  .main{padding-top:0!important}.hero{padding-top:14px!important;margin-top:0!important}.hero-copy,.hero-side{border-radius:16px!important}.hero-copy{padding:22px 18px!important}.hero h1{font-size:clamp(48px,15vw,72px)!important;line-height:.93!important}.hero p{font-size:15px!important;line-height:1.55!important}.hero-cta{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.hero-cta .btn{width:100%!important;box-sizing:border-box!important;text-align:center!important;justify-content:center!important}.proof-line{grid-template-columns:1fr 1fr!important;gap:12px!important}.proof-line>div:last-child{grid-column:1/-1!important}.hero-side{padding:16px!important}.jayu-beta-banner{width:calc(100% - 20px)!important;margin:12px auto 14px!important;gap:10px!important}.jayu-beta-card{border-radius:16px!important}.jayu-beta-actions{align-items:stretch!important}.jayu-beta-actions>*{max-width:100%!important}.command-box{width:calc(100vw - 20px)!important;max-height:80dvh!important}
  /* generic submenu headers */
  header.top .wrap,.j-top,.orion-topbar{min-height:auto!important;height:auto!important;flex-wrap:wrap!important;gap:8px!important;padding-top:calc(10px + env(safe-area-inset-top))!important;padding-bottom:10px!important}.top .brand,.j-top .brand{min-width:0!important}.top .brand span,.top .brand strong{overflow-wrap:anywhere!important}.topnav,.nav{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  /* terminal mobile */
  .jt-appbar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:7px!important;min-height:auto!important;padding:8px!important}.jt-brand>span:last-child{display:none!important}.jt-brand .jt-mark{margin:0!important}.jt-search{grid-column:1/-1!important;order:3!important;min-width:0!important;width:100%!important}.jt-nav{display:none!important}.jt-status{display:none!important}.jt-appbar>.jayu-auth-trigger{max-width:78px!important;overflow:hidden!important}.jt-appbar .jayu-history-controls{margin:0!important}.jt-ticker{min-height:58px!important}.jt-main{padding-left:8px!important;padding-right:8px!important}.jt-card{border-radius:14px!important}.jt-ai-wide{padding:14px!important}.jt-ai-head,.jt-ai-toolbar{flex-direction:column!important;align-items:stretch!important}.jt-ai-target{grid-template-columns:1fr 1fr!important}.jt-ai-watch-controls{flex-wrap:wrap!important}.jt-ai-console{font-size:13px!important;line-height:1.55!important;min-height:170px!important}.jt-ai-grid{grid-template-columns:1fr!important}
}
@media(max-width:430px){.topbar{padding-left:7px!important;padding-right:7px!important;gap:4px!important}.topbar .brand-mark{width:32px!important;height:32px!important;flex-basis:32px!important}.topbar .jayu-lang-switch a{min-width:28px!important;padding:6px!important}.topbar .jayu-auth-trigger{max-width:64px!important;padding:7px 8px!important}.topbar .search-btn,.topbar .mobile-toggle{width:34px!important;min-width:34px!important;height:34px!important}.topbar .jayu-history-controls button{width:26px!important;height:28px!important}.hero h1{font-size:51px!important}.proof-line{grid-template-columns:1fr!important}.proof-line>div:last-child{grid-column:auto!important}}


/* Jayu v13.7.2 · visual QA hotfix: spacing, equal-height hero, mobile headers */
:root{--jayu-purple:#8b5cf6;--jayu-purple2:#c084fc;--jayu-violet:#6d28d9}

/* Home composition: plans + hero read as one coherent stack */
.main{padding-top:14px!important}
.jayu-beta-banner{margin:0 auto 12px!important}
.hero{margin-top:0!important;margin-bottom:16px!important;align-items:stretch!important;grid-auto-rows:1fr}
.hero-copy,.hero-side{height:100%!important;align-self:stretch!important}
.hero-side.gsm-shell{overflow:hidden}

/* Purple market globe treatment while preserving the live canvas/session engine */
.gsm-shell{border-color:rgba(139,92,246,.30)!important;background:radial-gradient(circle at 20% 18%,rgba(139,92,246,.13),transparent 32%),radial-gradient(circle at 82% 2%,rgba(217,70,239,.08),transparent 28%),linear-gradient(155deg,#10081b 0%,#070a13 56%,#061019 100%)!important}
.gsm-globe-stage{border-color:rgba(192,132,252,.34)!important;background:radial-gradient(circle at 50% 47%,rgba(126,34,206,.24),transparent 37%),radial-gradient(circle at 50% 51%,#160721 0,#070611 60%,#020207 100%)!important;box-shadow:inset 0 0 54px rgba(168,85,247,.12),0 0 36px rgba(126,34,206,.08)}
.gsm-globe-stage::before{border-color:rgba(192,132,252,.15)!important}.gsm-globe-stage::after{border-color:rgba(217,70,239,.12)!important}
.gsm-globe-caption{color:#a78bca!important}

/* History navigation: finger-sized, stable and never clipped */
.jayu-history-controls{flex:0 0 auto!important;position:relative!important;z-index:120!important}
.jayu-history-controls button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}

@media(min-width:901px){
  .jayu-beta-banner{margin-top:0!important}
  .hero{gap:14px!important}
  .hero-copy,.hero-side{min-height:540px!important}
}

@media(max-width:760px){
  html{scroll-padding-top:18px!important}
  body{padding-top:0!important}

  /* Home mobile header: flow layout, no sticky collisions */
  .ticker-wrap{position:relative!important;top:auto!important;min-height:54px!important;height:54px!important;z-index:20!important}
  .topbar{position:relative!important;top:auto!important;z-index:30!important;padding:calc(10px + env(safe-area-inset-top)) 9px 10px!important;min-height:70px!important;height:auto!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:8px!important}
  .topbar .brand{align-self:center!important}
  .topbar .nav-actions{display:grid!important;grid-template-columns:auto auto auto auto auto!important;justify-content:end!important;align-items:center!important;gap:5px!important;min-width:0!important}
  .topbar .jayu-history-controls{margin:0!important;padding:2px!important;order:0!important}
  .topbar .jayu-history-controls button{width:42px!important;height:42px!important;font-size:20px!important}
  .topbar .jayu-lang-switch{order:1!important}
  .topbar .jayu-auth-trigger{order:2!important;max-width:76px!important;min-height:42px!important;padding:8px 9px!important}
  .topbar .search-btn{order:3!important;width:42px!important;min-width:42px!important;height:42px!important}
  .topbar .mobile-toggle{order:4!important;width:42px!important;min-width:42px!important;height:42px!important}
  .mobile-nav{top:auto!important}

  /* Pull the plan cards and hero together without overlap */
  .main{padding-top:10px!important}
  .jayu-beta-banner{width:100%!important;margin:0 auto 10px!important}
  .hero{padding-top:0!important;margin-top:0!important;gap:10px!important}
  .hero-copy,.hero-side{min-height:0!important}

  /* Terminal: remove sticky stack collision. Header flows, ticker follows. */
  .jt-appbar{position:relative!important;top:auto!important;z-index:40!important;padding:calc(12px + env(safe-area-inset-top)) 10px 10px!important;min-height:0!important;height:auto!important;display:grid!important;grid-template-areas:"history brand auth" "search search search"!important;grid-template-columns:auto minmax(42px,1fr) auto!important;align-items:center!important;gap:8px!important}
  .jt-appbar>.jayu-history-controls{grid-area:history!important;margin:0!important;align-self:center!important}
  .jt-appbar>.jayu-history-controls button{width:44px!important;height:44px!important;font-size:21px!important}
  .jt-brand{grid-area:brand!important;justify-self:start!important;min-width:0!important}
  .jt-brand .jt-mark{width:40px!important;height:40px!important}
  .jt-appbar>.jayu-auth-trigger{grid-area:auth!important;justify-self:end!important;max-width:86px!important;min-height:42px!important;padding:8px 10px!important}
  .jt-search{grid-area:search!important;order:initial!important;width:100%!important;min-height:44px!important;grid-column:auto!important}
  .jt-search input{min-height:42px!important;font-size:14px!important}
  .jt-ticker{position:relative!important;top:auto!important;z-index:20!important;min-height:54px!important;height:54px!important;overflow:hidden!important}
  .jt-ticker .tradingview-widget-container{height:54px!important}
  .jt-mobile-top{position:relative!important;z-index:10!important;padding:10px 8px!important}

  /* Generic report/submenu headers */
  header.top .wrap{padding:calc(10px + env(safe-area-inset-top)) 0 10px!important;min-height:64px!important;height:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px!important}
  header.top .jayu-history-controls{margin:0!important;order:-1!important}
  header.top .jayu-history-controls button{width:44px!important;height:44px!important;font-size:21px!important}
  header.top nav{margin-left:auto!important;overflow-x:auto!important;max-width:100%!important}
}

@media(max-width:430px){
  .topbar{grid-template-columns:36px minmax(0,1fr)!important;padding-left:6px!important;padding-right:6px!important}
  .topbar .brand-mark{width:34px!important;height:34px!important;flex-basis:34px!important}
  .topbar .nav-actions{gap:3px!important}
  .topbar .jayu-history-controls button{width:39px!important;height:40px!important}
  .topbar .jayu-lang-switch a{min-width:27px!important;padding:7px 5px!important}
  .topbar .jayu-auth-trigger{max-width:66px!important;padding:7px!important}
  .topbar .search-btn,.topbar .mobile-toggle{width:39px!important;min-width:39px!important;height:40px!important}
  .jt-appbar{grid-template-columns:auto 1fr auto!important;padding-left:7px!important;padding-right:7px!important}
  .jt-appbar>.jayu-history-controls button{width:42px!important;height:42px!important}
}
