
        body #legacy-green-header {
            position: relative;
            width: 100%;
            height: 96px;
            min-height: 96px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: radial-gradient(ellipse at 0 0, rgba(223,237,159,.75), transparent 38%), linear-gradient(115deg, #279b43, #117326);
            color: #fff;
            box-sizing: border-box;
            isolation: isolate;
        }
        body #legacy-green-header .aui-center {
            position: relative;
            left: auto;
            right: auto;
            top: auto;
            width: 100%;
            max-width: none;
            height: auto;
            min-height: 0;
            margin: 0;
            padding: 20px;
            transform: none;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            box-sizing: border-box;
        }
        body #legacy-green-header .aui-center-title { max-width: 100%; white-space: normal; text-align: center; color: #fff; }
        body #legacy-green-header h3 { margin: 0; color: #fff; font-size: 28px; line-height: 1.4; text-shadow: 0 2px 8px rgba(15,88,34,.12); }
        #legacy-green-header .legacy-leaf-branch {
            position: absolute;
            right: -8px;
            bottom: -32px;
            width: 132px;
            height: 142px;
            opacity: .48;
            pointer-events: none;
            z-index: 0;
            -webkit-transform-origin: 75% 100%;
            transform-origin: 75% 100%;
            -webkit-animation: legacy-leaf-sway 7s ease-in-out infinite;
            animation: legacy-leaf-sway 7s ease-in-out infinite;
        }
        #legacy-green-header .legacy-floating-leaf {
            position: absolute;
            right: 10%;
            top: -28px;
            width: 22px;
            height: 30px;
            opacity: 0;
            pointer-events: none;
            z-index: 0;
            -webkit-animation: legacy-leaf-fall 11s linear infinite;
            animation: legacy-leaf-fall 11s linear infinite;
        }
        #legacy-green-header .legacy-floating-leaf.is-second { right: 35%; width: 16px; height: 23px; -webkit-animation-delay: -4s; animation-delay: -4s; }
        #legacy-green-header .legacy-floating-leaf.is-third { right: 67%; width: 13px; height: 20px; -webkit-animation-delay: -8s; animation-delay: -8s; }
        @-webkit-keyframes legacy-leaf-sway { 0%,100% { -webkit-transform: rotate(-4deg); } 50% { -webkit-transform: translate(-5px,-4px) rotate(4deg); } }
        @keyframes legacy-leaf-sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: translate(-5px,-4px) rotate(4deg); } }
        @-webkit-keyframes legacy-leaf-fall { 0% { -webkit-transform: translate(0,0) rotate(-25deg); opacity:0; } 15% { opacity:.4; } 75% { opacity:.3; } 100% { -webkit-transform: translate(-95px,195px) rotate(125deg); opacity:0; } }
        @keyframes legacy-leaf-fall { 0% { transform: translate(0,0) rotate(-25deg); opacity:0; } 15% { opacity:.4; } 75% { opacity:.3; } 100% { transform: translate(-95px,195px) rotate(125deg); opacity:0; } }
        @media (prefers-reduced-motion: reduce) {
            #legacy-green-header .legacy-leaf-branch, #legacy-green-header .legacy-floating-leaf { -webkit-animation: none; animation: none; }
        }
    
/* Main-page layout: scoped to avoid altering other pages. */
body#legacy-main-page { margin:0; padding:0 0 88px; background:#f3f7f2; color:#203e2b; font:14px/1.65 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif; }
#legacy-main-page *, #legacy-main-page *::before, #legacy-main-page *::after { box-sizing:border-box; }
#legacy-main-page a { text-decoration:none; }
#legacy-main-page #legacy-green-header { height:96px; min-height:96px; max-width:none; }
#legacy-main-page #legacy-green-header .aui-center { position:absolute; left:0; right:0; top:0; bottom:0; width:100%; height:100%; margin:0; padding:12px 18px; display:flex; justify-content:center; align-items:center; transform:none; }
#legacy-main-page #legacy-green-header h3 { font-size:28px; letter-spacing:1px; line-height:1.3; }
#legacy-main-page #legacy-green-header::before, #legacy-main-page #legacy-green-header::after { content:""; position:absolute; left:-54px; top:-82px; width:200px; height:200px; border-radius:50%; pointer-events:none; z-index:0; }
#legacy-main-page #legacy-green-header::before { background:radial-gradient(circle,rgba(242,249,177,.58),rgba(219,240,153,.18) 45%,transparent 70%); -webkit-animation:legacy-halo-spread 6s ease-out infinite; animation:legacy-halo-spread 6s ease-out infinite; }
#legacy-main-page #legacy-green-header::after { border:1px solid rgba(240,248,189,.24); box-shadow:0 0 22px rgba(225,245,166,.16),inset 0 0 20px rgba(225,245,166,.1); -webkit-animation:legacy-halo-spread 6s ease-out -3s infinite; animation:legacy-halo-spread 6s ease-out -3s infinite; }
@-webkit-keyframes legacy-halo-spread { 0%{-webkit-transform:scale(.6);opacity:.8} 100%{-webkit-transform:scale(1.65);opacity:0} }
@keyframes legacy-halo-spread { 0%{transform:scale(.6);opacity:.8} 100%{transform:scale(1.65);opacity:0} }
#legacy-main-page .legacy-main-content { width:100%; max-width:1080px; margin:0 auto; padding:8px 24px 20px; }
#legacy-main-page .legacy-notice { display:flex; gap:12px; align-items:flex-start; margin:0 0 10px; padding:12px 16px; background:#fff; border:1px solid #e1eadc; border-radius:14px; color:#18882e; font-size:13px; }
#legacy-main-page .legacy-notice strong { flex:none; color:#25813a; }
#legacy-main-page .legacy-section-title { margin:12px 0 10px; padding-left:12px; border-left:4px solid #18882e; color:#18882e; font-size:20px; font-weight:700; line-height:1.2; }
#legacy-main-page .legacy-nav-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; }
#legacy-main-page .legacy-nav-grid .aui-palace-grid { float:none; display:flex; flex-direction:column; align-items:center; gap:6px; width:auto; margin:0; padding:10px 6px; border:1px solid #e0e9dc; border-radius:15px; background:#fff; box-shadow:0 3px 12px rgba(26,66,31,.025); }
#legacy-main-page .legacy-nav-grid .aui-palace-grid-icon { width:40px; height:40px; margin:0; padding:6px; border-radius:12px; background:#edf6e7; }
#legacy-main-page .legacy-nav-grid .aui-palace-grid-icon img { display:block; width:100%; height:100%; object-fit:contain; }
#legacy-main-page .legacy-nav-grid h2 { margin:0; font-size:13px; color:#35543a; line-height:1.5; }
#legacy-main-page .legacy-products { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
#legacy-main-page .legacy-product { display:flex; align-items:center; gap:16px; min-width:0; padding:18px; background:#fff; border:1px solid #e0e9dc; border-radius:16px; color:#294a32; }
#legacy-main-page .legacy-product img { display:block; flex:0 0 84px; width:84px; height:132px; object-fit:contain; border-radius:8px; background:#f7faf5; }
#legacy-main-page .legacy-product h3 { flex:1; min-width:0; margin:0; font-size:15px; line-height:1.7; overflow-wrap:anywhere; }
#legacy-main-page .legacy-empty { grid-column:1 / -1; text-align:center; padding:36px; color:#8a9786; background:#fff; border-radius:16px; }
#legacy-main-page .legacy-site-record { text-align:center; padding:28px 12px 0; font-size:12px; color:#8a9685; }
#legacy-main-page .legacy-site-record a { color:inherit; }
#legacy-main-page .bottom-nav { background:#fff; border-top:1px solid #e1eadc; box-shadow:0 -3px 18px rgba(28,67,33,.04); padding:9px 0; }
#legacy-main-page .bottom-nav .nav-item { color:#58734f; }
@media(max-width:720px) { #legacy-main-page .legacy-main-content{padding:8px 16px 16px} #legacy-main-page .legacy-nav-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px} #legacy-main-page .legacy-products{grid-template-columns:minmax(0,1fr);gap:12px} #legacy-main-page .legacy-product{flex-direction:row;align-items:center;gap:16px;padding:14px} #legacy-main-page .legacy-product img{align-self:center;flex:0 0 84px;width:84px;height:132px} #legacy-main-page .legacy-notice{font-size:12px;padding:10px 12px} }
@media(max-width:380px) { #legacy-main-page #legacy-green-header h3{font-size:24px} #legacy-main-page .legacy-main-content{padding:8px 12px 12px} }
@media(prefers-reduced-motion:reduce) { #legacy-main-page #legacy-green-header::before,#legacy-main-page #legacy-green-header::after{-webkit-animation:none;animation:none} }

/* Keep notices and section markers in the same green family as the hero. */
#legacy-main-page .legacy-notice, #legacy-main-page .legacy-notice strong, #legacy-main-page .legacy-notice a { color: #18882e; }
#legacy-main-page .aui-wallet-head h2 { color: #18882e; }
#legacy-main-page .aui-wallet-head h2::before { background: #18882e; }

#legacy-main-page .legacy-bottom-nav { position:fixed; left:50%; right:auto; bottom:0; transform:translateX(-50%); display:flex; justify-content:center; align-items:stretch; gap:24px; width:100%; max-width:1080px; margin:0; min-height:72px; padding:8px 24px; padding-bottom:calc(8px + env(safe-area-inset-bottom,0px)); border:1px solid #e1eadc; border-bottom:0; border-radius:18px 18px 0 0; background:rgba(255,255,255,.98); box-shadow:0 -5px 24px rgba(24,85,39,.055); z-index:1000; }
#legacy-main-page .legacy-bottom-nav .nav-item { display:flex; flex:0 1 200px; flex-direction:column; align-items:center; justify-content:center; gap:2px; color:#18882e; font-size:12px; line-height:1.4; }
#legacy-main-page .legacy-bottom-icon { display:flex; align-items:center; justify-content:center; width:54px; height:34px; border-radius:14px; }
#legacy-main-page .legacy-bottom-icon svg { display:block; width:24px; height:24px; color:#18882e; }
#legacy-main-page .legacy-bottom-nav .is-current .legacy-bottom-icon { background:#e8f4e1; }
#legacy-main-page .legacy-bottom-nav .is-current { font-weight:700; }
@media(max-width:720px) { #legacy-main-page .legacy-bottom-nav{gap:0;border-radius:0;padding-left:16px;padding-right:16px} #legacy-main-page .legacy-bottom-nav .nav-item{flex:1} }

/* Larger product artwork; text remains beside it, one product per row. */
#legacy-main-page .legacy-product-image { position:relative; display:block; flex:0 0 100px; width:100px; height:170px; overflow:hidden; border-radius:10px; background:#f1f6ee; }
#legacy-main-page .legacy-product .legacy-product-image img { display:block; width:100%; height:100%; object-fit:fill; border-radius:0; background:transparent; }
#legacy-main-page .legacy-product-image.is-missing img { visibility:hidden; }
#legacy-main-page .legacy-product-image.is-missing::after { content:"图片暂未加载"; position:absolute; left:8px; right:8px; top:50%; transform:translateY(-50%); text-align:center; font-size:12px; line-height:1.6; color:#8a9b82; }
@media(max-width:720px) { #legacy-main-page .legacy-product-image { flex-basis:100px; width:100px; height:170px; } }
@media(max-width:380px) { #legacy-main-page .legacy-product-image { flex-basis:100px; width:100px; height:170px; } }
