:root{
  --bg:#FFF6E8;--deep:#F5E4C4;--surface:#FFFFFF;--surface2:#F8EAD0;
  --title:#4A2208;--text:#4A2C14;--muted:#8A5A28;--soft:#B07A40;
  --yellow:#E8B020;--yellow2:#F3C84A;--yellow3:#B88610;
  --red:#D43A2A;--red2:#E85A3A;--red3:#9A2418;--cream:#FFF8EC;
  --border:rgba(212,58,42,.16);--focus:rgba(232,176,32,.50);--shadow:0 12px 28px rgba(74,34,8,.08);
  --max:1120px;--radius:12px;--top:82px;--tab:40px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;font-size:15px;line-height:1.7;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
.skip-link{position:fixed;left:10px;top:-60px;z-index:1200;background:var(--surface);padding:8px 12px;border:2px solid var(--red);border-radius:8px}
.skip-link:focus{top:10px}
.fruit-line{position:fixed;z-index:900;top:0;left:0;right:0;height:22px;background:var(--red3);color:var(--cream);font-size:12px}
.top-inner{max-width:var(--max);height:100%;margin:auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.top-search-btn{height:22px;border:0;background:transparent;color:var(--cream);padding:0 4px}
.mango-bar{position:fixed;z-index:890;top:22px;left:0;right:0;height:60px;background:var(--surface);border-bottom:1px solid var(--yellow);box-shadow:0 4px 16px rgba(74,34,8,.05)}
.mango-inner{max-width:var(--max);height:100%;margin:auto;padding:0 16px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}
.brand-link{justify-self:start;display:flex;align-items:center;min-height:44px}
.brand-logo-img{height:28px;width:auto;object-fit:contain;object-position:center}
.brand-logo-text{font-weight:800;font-size:16px;color:var(--title);white-space:nowrap}
.drawer-open{justify-self:center;min-width:76px;height:44px;border:1px solid var(--focus);background:var(--cream);color:var(--title);border-radius:10px;font-weight:700}
.app-link{justify-self:end;display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 16px;background:linear-gradient(135deg,var(--yellow2) 0%,var(--yellow) 40%,var(--red) 100%);color:var(--title);font-weight:800;border-radius:10px;white-space:nowrap}
.short-tabs{position:fixed;z-index:880;top:82px;left:0;right:0;height:40px;background:var(--cream);border-bottom:1px solid var(--yellow);display:flex;justify-content:center;align-items:center;gap:12px;padding:4px 16px}
.short-tabs a{height:32px;min-width:86px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-size:13px;color:var(--muted)}
.short-tabs a.is-current{background:var(--red);color:var(--cream);font-weight:700}
.site-main{padding-top:calc(var(--top) + var(--tab) + 26px);padding-bottom:56px;min-height:70vh}
.container{width:min(var(--max),calc(100% - 32px));margin:0 auto}
.page-head{margin-bottom:22px}
.eyebrow{display:inline-flex;align-items:center;min-height:28px;padding:2px 10px;border-radius:999px;background:var(--surface2);color:var(--red3);font-size:12px;font-weight:800;border:1px solid var(--border)}
h1,h2,h3{color:var(--title);margin-top:0}
h1{font-size:24px;line-height:1.3;margin:12px 0 10px}
h2{font-size:20px;line-height:1.35;margin-bottom:10px}
h3{font-size:16px;line-height:1.4;margin-bottom:8px}
p{margin:0 0 12px}
.lead{max-width:850px;color:var(--muted)}
.section{margin:28px 0}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px}
.section-head p{color:var(--muted);max-width:720px;margin:0}
.card,.note-card,.article-block,.timeline-item,.faq-item,.shelf-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.card,.note-card,.article-block,.faq-item,.shelf-item{padding:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.image-slot{width:100%;background:var(--cream);border:1px solid var(--focus);border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.image-slot img{width:100%;height:100%;object-fit:contain;object-position:center}
.hero-slot{height:260px}.medium-slot{height:200px}.small-slot{height:180px}.app-slot{height:340px;max-width:380px;margin:auto}.brand-slot{height:220px}
.hero-copy{text-align:center;max-width:820px;margin:16px auto 0}
.hero-copy h1{margin-bottom:10px}.hero-copy p{max-width:760px;margin:0 auto 14px;color:var(--muted)}
.actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 18px;border-radius:10px;font-size:14px;font-weight:800;white-space:nowrap;border:1px solid transparent}
.btn-primary{background:linear-gradient(135deg,var(--yellow2) 0%,var(--yellow) 40%,var(--red) 100%);color:var(--title)}
.btn-secondary{background:var(--surface);border-color:var(--red);color:var(--title)}
.btn:hover,.drawer-open:hover,.app-link:hover{transform:translateY(-1px)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.number{font-size:28px;line-height:1;color:var(--red);font-weight:900;letter-spacing:-1px}
.mini-number{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:8px;background:var(--yellow2);color:var(--title);font-weight:900;margin-bottom:8px}
.rank-list{display:grid;gap:10px}
.rank-item{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:start;background:var(--surface);padding:14px;border:1px solid var(--border);border-radius:12px}
.rank-no{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:10px;background:linear-gradient(135deg,var(--yellow2),var(--red));color:var(--title);font-weight:900;font-size:20px}
.timeline{position:relative;padding-left:18px}
.timeline:before{content:"";position:absolute;left:4px;top:8px;bottom:8px;width:2px;background:var(--yellow)}
.timeline-item{position:relative;padding:16px 18px;margin:0 0 14px 14px}
.timeline-item:before{content:"";position:absolute;left:-25px;top:22px;width:12px;height:12px;border-radius:50%;background:var(--red);border:3px solid var(--cream)}
.status{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:var(--surface2);color:var(--red3);font-size:12px;font-weight:800}
.shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shelf-item{border-left:4px solid var(--yellow)}
.kicker{font-size:12px;font-weight:800;color:var(--red3);letter-spacing:.08em}
.muted{color:var(--muted)}
.callout{padding:18px;border-radius:12px;background:var(--surface2);border:1px solid var(--focus)}
.article-flow{display:grid;gap:16px}.article-block p:last-child,.card p:last-child,.note-card p:last-child{margin-bottom:0}
.definition-list{display:grid;gap:12px}.definition-list div{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}.definition-list dt{font-weight:900;color:var(--title);margin-bottom:6px}.definition-list dd{margin:0;color:var(--muted)}
.faq-list{display:grid;gap:12px}.faq-item h2{font-size:16px;margin-bottom:8px}.faq-item p{color:var(--text);margin:0}
.site-footer{background:#3A1808;color:var(--cream);border-top:1px solid var(--yellow);padding:32px 0 70px;font-size:13px}
.footer-inner{width:min(var(--max),calc(100% - 32px));margin:auto}.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.footer-brand a{display:flex}.footer-brand strong,.footer-brand span{display:block}.footer-brand span{opacity:.8;margin-top:2px}.footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.footer-grid h2{font-size:13px;color:var(--yellow2);margin-bottom:8px}.footer-grid a{display:block;padding:3px 0;color:var(--cream);opacity:.9}.footer-note{margin-top:22px;padding-top:16px;border-top:1px solid rgba(255,246,232,.18);opacity:.9}.copyright{opacity:.72;margin-bottom:0}
.overlay{position:fixed;inset:0;z-index:980;background:rgba(58,24,8,.46);opacity:0;visibility:hidden;pointer-events:none;transition:.2s}.overlay.is-active{opacity:1;visibility:visible;pointer-events:auto}
.mango-drawer{position:fixed;z-index:1000;top:0;right:0;bottom:0;width:400px;max-width:86vw;background:var(--cream);transform:translateX(105%);visibility:hidden;pointer-events:none;transition:transform .24s ease,visibility .24s;overflow:auto;box-shadow:-20px 0 50px rgba(74,34,8,.18)}
.drawer-active .mango-drawer{transform:translateX(0);visibility:visible;pointer-events:auto}.drawer-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:var(--surface);border-bottom:1px solid var(--yellow)}
.drawer-brand{display:flex;align-items:center;gap:9px}.drawer-brand strong{font-size:16px;color:var(--title)}.close-btn{min-height:44px;padding:0 14px;border:1px solid var(--red);background:var(--surface);color:var(--title);border-radius:10px}
.drawer-groups{padding:14px 16px 24px}.drawer-groups section{margin-bottom:18px}.drawer-groups h2{font-size:14px;color:var(--red3);margin-bottom:8px}.drawer-groups a{display:block;padding:10px 0;border-bottom:1px solid var(--border)}.drawer-groups b{display:block;color:var(--title)}.drawer-groups span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.search-layer{position:fixed;z-index:995;top:82px;left:0;right:0;visibility:hidden;pointer-events:none;opacity:0;transition:.2s}.search-active .search-layer{visibility:visible;pointer-events:auto;opacity:1}.search-card{width:min(760px,calc(100% - 32px));margin:14px auto 0;background:var(--surface);border:1px solid var(--focus);border-radius:14px;box-shadow:var(--shadow);padding:18px}.search-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.search-head h2{margin:0}.search-card label{display:block;font-weight:700;margin:12px 0 6px}.search-card input{width:100%;height:44px;border:1px solid var(--border);border-radius:10px;padding:0 12px;background:var(--cream);color:var(--title)}.search-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.search-presets a{display:flex;align-items:center;justify-content:center;min-height:44px;background:var(--surface2);border:1px solid var(--border);border-radius:10px;font-weight:800}.search-empty{margin:12px 0 0;color:var(--muted)}
.mobile-bottom{display:none}.no-scroll{overflow:hidden}
.list-clean{list-style:none;padding:0;margin:0;display:grid;gap:10px}.list-clean li{padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:10px}
.two-column-copy{display:grid;grid-template-columns:1.05fr .95fr;gap:18px;align-items:start}
.meta-row{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}.meta-row span{padding:4px 9px;border-radius:999px;background:var(--surface2);font-size:12px;color:var(--muted)}
@media(max-width:820px){
  :root{--tab:0px}.short-tabs{display:none}.site-main{padding-top:108px;padding-bottom:82px}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3,.two-column-copy{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-bottom{position:fixed;z-index:870;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);height:calc(48px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--yellow);box-shadow:0 -6px 20px rgba(74,34,8,.08)}.mobile-bottom a{display:flex;align-items:center;justify-content:center;font-size:12px;min-width:0}.mobile-bottom a.is-current{background:var(--red);color:var(--cream);font-weight:800}.hero-slot{height:220px}.shelf{grid-template-columns:1fr}.app-slot{height:320px}.rank-item{grid-template-columns:48px 1fr}.site-footer{padding-bottom:92px}
}
@media(max-width:600px){
  .mango-inner{grid-template-columns:minmax(0,1fr) auto auto;padding:0 12px;gap:6px}.brand-logo-img{height:26px}.brand-logo-text{font-size:14px}.drawer-open{min-width:64px;padding:0 10px}.app-link{padding:0 11px;font-size:13px}.top-inner{padding:0 12px}.container,.footer-inner{width:calc(100% - 32px)}h1{font-size:24px}.grid-2,.grid-4{grid-template-columns:1fr}.hero-slot{height:200px}.medium-slot{height:180px}.small-slot{height:170px}.search-layer{top:0;bottom:0;background:var(--red3);color:var(--cream);overflow:auto}.search-card{width:100%;min-height:100%;margin:0;border:0;border-radius:0;background:var(--red3);color:var(--cream);padding:18px 16px 80px}.search-card h2{color:var(--cream)}.search-card label{color:var(--cream)}.search-card input{background:var(--cream);color:var(--title);border-color:rgba(255,246,232,.5)}.search-presets{grid-template-columns:repeat(2,1fr)}.search-presets a{background:var(--cream);color:var(--title);border-color:var(--yellow)}.search-empty{color:var(--cream)}.search-card .close-btn{background:var(--cream)}
}
