/* Exact V22 shell CSS rules; V64 overrides are preserved separately below. No repaint. */
:root{--status-bg:#170b4f;--ink:#48294e;--brand-slot:108px;--nav-slot:88px}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--status-bg);overscroll-behavior:none}
body{font-family:"Songti SC","STSong","Source Han Serif SC","Noto Serif CJK SC","SimSun",serif;-webkit-text-size-adjust:100%;color:var(--ink)}
button{font:inherit;-webkit-tap-highlight-color:transparent}
.app-shell{position:fixed;inset:0;height:100dvh;overflow:hidden;background:var(--status-bg);padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);display:flex;flex-direction:column}
.scene-bg{position:absolute;z-index:0;left:0;right:0;top:env(safe-area-inset-top);bottom:0;background:#170b4f url('assets/growth_v64/shell_scene.webp') center top/cover no-repeat;pointer-events:none}
.brand-zone{position:relative;isolation:isolate;z-index:5;flex:0 0 clamp(96px,25.5vw,108px);min-height:clamp(96px,25.5vw,108px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:clamp(44px,12.2vw,54px) 20px 0;gap:1px;text-align:center;overflow:visible}
.brand-vine{position:absolute;z-index:-1;top:-6px;left:0;right:0;height:clamp(105px,33.34vw,156px);background:url('assets/growth_v64/brand_vine.webp') center top/100% auto no-repeat;pointer-events:none}
.brand-zone b{color:#f8e7b9;font:400 clamp(18px,calc(5.55vw - 3px),22px)/1.12 "STFangsong","华文仿宋","FangSong","Songti SC","STSong","Noto Serif CJK SC","SimSun",serif;letter-spacing:2.2px;text-shadow:0 2px 7px #090822,0 0 10px #f6cb8a55;white-space:nowrap;font-synthesis:none;position:relative;z-index:1;transform:translateY(-20px)}
.brand-zone small{color:#ead0a7;font:400 clamp(7.4px,calc(2.2vw - .45px),9.15px)/1.35 Georgia,"Times New Roman",serif;letter-spacing:.95px;text-shadow:0 1px 5px #100923;white-space:nowrap;position:relative;z-index:1;transform:translateY(-20px)}
.workspace{position:relative;z-index:2;flex:1 1 auto;min-height:0;display:block;overflow:visible}
.sl-nav{position:relative;isolation:isolate;z-index:5;display:flex;flex:0 0 88px;min-height:88px;width:100%;margin:0 0 calc(-1 * min(7px, env(safe-area-inset-bottom, 0px)));align-items:center;justify-content:space-around;gap:0;padding:2px 15px 0;border:0!important;border-radius:0;background:transparent;box-shadow:none}
.sl-nav::before{content:"";position:absolute;inset:-1px 4px -2px;z-index:-1;pointer-events:none;border:20px solid transparent;border-image-source:url('assets/growth_v64/nav_frame.webp');border-image-slice:110 145 110 145 fill;border-image-width:24px 24px 22px 24px;border-image-repeat:stretch}
.sl-nav button{position:relative;flex:1 1 25%;min-width:0;max-width:none;min-height:75px;padding:0 2px;border:0;border-radius:0;box-shadow:none;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;color:#f8deb4;font:400 12.5px/1.12 "STFangsong","华文仿宋","FangSong","Songti SC","STSong",serif;font-synthesis:none}
.sl-nav button img{flex:none;width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 2px 2px #08041a55)}
.sl-nav button span{position:relative;z-index:1}
.sl-nav button[aria-current=page]{color:#fff4d4}
.sl-nav button[aria-current=page]::before{content:"";position:absolute;z-index:-1;top:0;left:23%;right:23%;height:56px;pointer-events:none;background:radial-gradient(ellipse at center,#f4c77b66 0%,#b88ad344 42%,transparent 74%);filter:drop-shadow(0 0 7px #f3bf8470);opacity:.85}
[hidden]{display:none!important}
@media(max-height:780px){
  :root{--brand-slot:96px;--nav-slot:74px}
  .brand-zone{flex-basis:96px;min-height:96px}
  .sl-nav{flex-basis:74px;min-height:74px;padding:1px 12px 0;margin-bottom:calc(-1 * min(5px, env(safe-area-inset-bottom, 0px)))}
  .sl-nav::before{inset:-1px 3px -2px;border-image-width:21px 21px 19px 21px}
  .sl-nav button{min-height:66px;font-size:11.5px}
  .sl-nav button img{width:47px;height:47px}
  .sl-nav button[aria-current=page]::before{top:0;height:47px}
}
@media(min-width:500px){.app-shell{left:50%;right:auto;transform:translateX(-50%);width:440px;box-shadow:0 0 60px #050316;background:#170b4f}}
/* V64 extracted overrides from the original growth file (V25 and retained in V64). */
html.shell-v64{--app-status-top:env(safe-area-inset-top,0px)}
html.shell-v64 .app-shell{padding-top:var(--app-status-top);padding-bottom:0}
html.shell-v64 .scene-bg{top:0}
html.shell-v64 .sl-nav{margin-bottom:0}
@media(max-height:780px){html.shell-v64 .sl-nav{margin-bottom:0}}
