*,
*::before,
*::after{box-sizing:border-box}
:root{
  --bg:#FFF6E8;
  --deep-bg:#F5E4C4;
  --surface:#FFFFFF;
  --surface-2:#F8EAD0;
  --title:#4A2208;
  --text:#4A2C14;
  --muted:#8A5A28;
  --soft:#B07A40;
  --yellow:#E8B020;
  --yellow-light:#F3C84A;
  --yellow-dark:#B88610;
  --red:#D43A2A;
  --red-light:#E85A3A;
  --red-dark:#9A2418;
  --cream:#FFF8EC;
  --border:rgba(212,58,42,.16);
  --accent-border:rgba(232,176,32,.50);
  --shadow:0 12px 28px rgba(74,34,8,.08);
  --radius:12px;
  --shell:1120px;
  --fruit-h:22px;
  --mango-h:60px;
  --tabs-h:40px
}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif;
  font-size:15px;
  line-height:1.7;
  overflow-x:hidden
}
body.ui-locked{overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
a,button{outline:none}
a:focus-visible,button:focus-visible{outline:3px solid rgba(212,58,42,.32);outline-offset:2px}
h1,h2,h3,p{margin-top:0}
h1{font-size:24px;line-height:1.3;color:var(--title);margin-bottom:14px}
h2{font-size:20px;line-height:1.4;color:var(--title);margin-bottom:12px}
h3{font-size:16px;line-height:1.5;color:var(--title);margin-bottom:8px}
p{margin-bottom:14px}
.site-shell{width:min(var(--shell),calc(100% - 32px));margin:0 auto}
.skip-link{
  position:fixed;left:16px;top:-80px;z-index:1000;
  background:var(--surface);color:var(--title);padding:10px 14px;border-radius:8px;
  border:1px solid var(--accent-border)
}
.skip-link:focus{top:8px}
.fruit-line{
  position:fixed;z-index:80;left:0;right:0;top:0;height:var(--fruit-h);
  background:var(--red-dark);color:var(--cream);font-size:12px
}
.fruit-line-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}
.text-control{
  border:0;background:transparent;color:var(--cream);height:22px;padding:0 4px;font-size:12px
}
.mango-bar{
  position:fixed;z-index:79;left:0;right:0;top:var(--fruit-h);height:var(--mango-h);
  background:var(--surface);border-bottom:1px solid var(--accent-border)
}
.mango-bar-inner{
  height:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px
}
.brand-link{justify-self:start;min-width:44px;min-height:44px;display:flex;align-items:center}
.brand-logo,.footer-logo{height:28px;width:auto;max-width:180px;object-fit:contain;object-position:center}
.brand-fallback{font-size:16px;font-weight:800;color:var(--title)}
.drawer-toggle{
  min-width:76px;min-height:44px;border:1px solid var(--accent-border);
  border-radius:12px;background:var(--cream);color:var(--title);font-weight:700
}
.app-link{
  justify-self:end;display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 14px;border-radius:12px;color:var(--cream);
  background:var(--red);font-size:14px;font-weight:700
}
.short-tabs{
  position:fixed;z-index:78;left:0;right:0;top:calc(var(--fruit-h) + var(--mango-h));
  height:var(--tabs-h);background:var(--cream);border-bottom:1px solid var(--accent-border)
}
.short-tabs-inner{height:100%;display:flex;align-items:center;justify-content:center;gap:10px}
.short-tabs a{
  min-width:90px;height:30px;padding:0 16px;border-radius:999px;display:flex;
  align-items:center;justify-content:center;font-size:13px;color:var(--title)
}
.short-tabs a:hover{background:var(--surface-2)}
.short-tabs a.is-active{background:var(--red);color:var(--cream)}
.site-main{
  min-height:60vh;padding-top:calc(var(--fruit-h) + var(--mango-h) + var(--tabs-h) + 26px);
  padding-bottom:64px
}
.page-head{padding:28px 0 18px}
.page-head .eyebrow,.section-kicker{
  display:inline-flex;align-items:center;min-height:26px;padding:2px 10px;border-radius:999px;
  background:var(--yellow-light);color:var(--title);font-size:12px;font-weight:800;margin-bottom:10px
}
.page-head p{max-width:820px;color:var(--muted);margin-bottom:0}
.cover{padding:20px 0 34px}
.media-slot{
  width:100%;background:var(--cream);border:1px solid var(--accent-border);
  border-radius:14px;display:flex;align-items:center;justify-content:center;overflow:hidden
}
.media-slot img{width:100%;height:100%;object-fit:contain;object-position:center}
.banner-slot{height:260px}
.card-slot{height:180px}
.section-slot{height:200px}
.app-slot{height:min(360px,70vw)}
.empty-art{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  background:
  linear-gradient(135deg,rgba(243,200,74,.18),rgba(212,58,42,.06)),
  radial-gradient(circle at 30% 30%,rgba(232,176,32,.16),transparent 32%);
  color:var(--muted);font-weight:700;letter-spacing:.08em
}
.cover-copy{padding:22px 0 0;max-width:860px}
.cover-copy .brand-note{font-size:13px;color:var(--red);font-weight:800;margin-bottom:4px}
.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.btn{
  min-height:44px;padding:0 18px;border-radius:10px;display:inline-flex;align-items:center;
  justify-content:center;font-size:14px;font-weight:800;white-space:nowrap
}
.btn-primary{
  color:var(--title);
  background:linear-gradient(135deg,#F3C84A 0%,#E8B020 40%,#D43A2A 100%)
}
.btn-secondary{background:var(--surface);border:1px solid var(--red);color:var(--title)}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow)}
.section{padding:30px 0}
.section.alt{background:rgba(245,228,196,.42)}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:16px}
.section-head p{max-width:660px;color:var(--muted);margin-bottom:0}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden
}
.card-body{padding:18px}
.card-body p{color:var(--muted);margin-bottom:0}
.card-link{
  margin-top:14px;display:inline-flex;min-height:44px;align-items:center;font-weight:800;color:var(--red-dark)
}
.feature-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:18px;align-items:stretch}
.feature-copy,.content-panel{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:22px;box-shadow:var(--shadow)
}
.number-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.number-item{padding:16px;border:1px solid var(--accent-border);border-radius:12px;background:var(--cream)}
.number-item strong{display:block;font-size:22px;color:var(--red);line-height:1;margin-bottom:8px}
.shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.shelf-item{
  min-height:110px;background:var(--surface);border:1px solid var(--border);border-radius:12px;
  padding:16px;position:relative
}
.shelf-item::before{
  content:"";position:absolute;left:0;right:0;bottom:10px;height:4px;background:var(--yellow-light);opacity:.5
}
.shelf-item p{color:var(--muted);margin-bottom:12px}
.rank-list{display:grid;gap:10px}
.rank-item{
  display:grid;grid-template-columns:58px 1fr;gap:14px;align-items:start;
  background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px
}
.rank-no{
  min-height:48px;border-radius:10px;background:linear-gradient(135deg,var(--yellow-light),var(--red));
  color:var(--title);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900
}
.rank-item p{margin:4px 0 0;color:var(--muted)}
.timeline{position:relative;display:grid;gap:14px}
.timeline::before{content:"";position:absolute;left:20px;top:8px;bottom:8px;width:2px;background:var(--yellow)}
.timeline-item{position:relative;padding-left:54px}
.timeline-dot{
  position:absolute;left:10px;top:18px;width:22px;height:22px;border-radius:50%;
  background:var(--red);border:5px solid var(--cream);box-shadow:0 0 0 1px var(--accent-border)
}
.timeline-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}
.status{
  display:inline-flex;min-height:26px;align-items:center;padding:0 9px;border-radius:999px;
  background:var(--surface-2);color:var(--red-dark);font-size:12px;font-weight:800;margin-bottom:8px
}
.note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.note-card{background:var(--cream);border:1px dashed var(--accent-border);border-radius:12px;padding:16px}
.note-card p{margin-bottom:0;color:var(--muted)}
.long-copy p{max-width:880px}
.faq-grid{display:grid;gap:12px}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px}
.faq-item h2,.faq-item h3{margin-bottom:7px}
.faq-item p:last-child{margin-bottom:0}
.columns-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.info-list{display:grid;gap:12px}
.info-row{
  background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px
}
.info-row p:last-child{margin-bottom:0}
.term-list{display:grid;gap:14px}
.term-block{padding:18px 20px;background:var(--surface);border:1px solid var(--border);border-radius:12px}
.term-block p:last-child{margin-bottom:0}
.article-prose{
  background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:24px;box-shadow:var(--shadow)
}
.article-prose h2{margin-top:24px}
.article-prose h2:first-child{margin-top:0}
.article-prose p{max-width:920px}
.app-showcase{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:20px;align-items:center}
.app-icon{
  width:48px;height:48px;border-radius:12px;background:var(--cream);border:1px solid var(--accent-border);
  display:flex;align-items:center;justify-content:center;margin-bottom:12px;overflow:hidden
}
.app-icon img{width:48px;height:48px;object-fit:contain}
.site-footer{
  background:#3A1808;color:var(--cream);border-top:2px solid var(--yellow);font-size:13px;
  padding:34px 0 24px
}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.footer-brand-mark{min-width:36px}
.footer-brand strong{display:block;font-size:16px}
.footer-brand span{display:block;color:#F5E4C4;font-size:12px}
.footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.footer-grid section{display:flex;flex-direction:column;gap:7px}
.footer-grid h2{color:var(--yellow-light);font-size:14px;margin:0 0 4px}
.footer-grid a{color:var(--cream);min-height:28px;display:flex;align-items:center}
.footer-grid a:hover{color:var(--yellow-light)}
.footer-notice{border-top:1px solid rgba(255,246,232,.18);margin-top:24px;padding-top:18px;color:#F5E4C4}
.footer-copy{margin-bottom:0;color:#F5E4C4}
.mango-drawer{
  position:fixed;z-index:120;top:0;right:0;bottom:0;width:min(400px,86vw);
  background:var(--surface);transform:translateX(105%);transition:transform .24s ease;
  visibility:hidden;pointer-events:none;box-shadow:-18px 0 40px rgba(58,24,8,.18)
}
.mango-drawer.is-open{transform:translateX(0);visibility:visible;pointer-events:auto}
.drawer-head{
  height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  border-bottom:1px solid var(--accent-border);padding:0 16px
}
.drawer-brand{display:flex;align-items:center;gap:10px}
.icon-control{
  min-height:44px;min-width:58px;border:1px solid var(--accent-border);border-radius:10px;
  background:var(--cream);color:var(--title)
}
.drawer-scroll{height:calc(100% - 68px);overflow-y:auto;padding:14px 16px 28px}
.drawer-scroll section+section{margin-top:16px}
.drawer-scroll h2{font-size:14px;color:var(--red-dark);margin-bottom:7px}
.drawer-scroll a{
  display:block;padding:10px 12px;border-radius:10px;border:1px solid transparent
}
.drawer-scroll a:hover{background:var(--cream);border-color:var(--accent-border)}
.drawer-scroll span{display:block;font-weight:800;color:var(--title)}
.drawer-scroll small{display:block;color:var(--muted);font-size:12px;line-height:1.55;margin-top:2px}
.search-layer{
  position:fixed;z-index:115;left:0;right:0;top:calc(var(--fruit-h) + var(--mango-h));padding:14px 16px;
  visibility:hidden;pointer-events:none;opacity:0;transition:opacity .18s ease
}
.search-layer.is-open{visibility:visible;pointer-events:auto;opacity:1}
.search-card{
  width:min(760px,100%);margin:0 auto;background:var(--surface);border:1px solid var(--accent-border);
  border-radius:14px;padding:18px;box-shadow:var(--shadow)
}
.search-head{display:flex;justify-content:space-between;gap:16px}
.search-head strong{font-size:18px;color:var(--title)}
.search-head p{margin:2px 0 0;color:var(--muted)}
.search-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.search-presets a{
  min-height:44px;padding:0 14px;border:1px solid var(--red);border-radius:10px;
  display:inline-flex;align-items:center;color:var(--title);background:var(--cream)
}
.search-note{margin:12px 0 0;color:var(--muted);font-size:13px}
.page-overlay{
  position:fixed;z-index:100;inset:0;background:rgba(58,24,8,.44);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease
}
.page-overlay.is-active{opacity:1;visibility:visible;pointer-events:auto}
.mobile-bottom{display:none}
.link-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.link-list a{
  min-height:44px;padding:0 14px;border-radius:10px;background:var(--cream);
  border:1px solid var(--accent-border);display:inline-flex;align-items:center;font-weight:700
}
.callout{
  padding:16px 18px;border-radius:12px;background:var(--surface-2);
  border-left:4px solid var(--red);color:var(--text)
}
.callout p:last-child{margin-bottom:0}
.check-list{display:grid;gap:10px;padding:0;margin:0;list-style:none}
.check-list li{position:relative;padding-left:24px}
.check-list li::before{
  content:"";position:absolute;left:0;top:.6em;width:10px;height:10px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 3px rgba(232,176,32,.18)
}
.table-like{display:grid;gap:1px;background:var(--accent-border);border:1px solid var(--accent-border);border-radius:12px;overflow:hidden}
.table-row{display:grid;grid-template-columns:180px 1fr;gap:0;background:var(--surface)}
.table-row strong,.table-row span{padding:14px 16px}
.table-row strong{background:var(--cream);color:var(--title)}

@media (max-width:820px){
  :root{--tabs-h:0px}
  .short-tabs{display:none}
  .site-main{padding-top:calc(var(--fruit-h) + var(--mango-h) + 18px);padding-bottom:88px}
  .card-grid,.number-grid,.note-grid,.columns-2,.feature-grid,.app-showcase{grid-template-columns:1fr}
  .shelf{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section-head{align-items:flex-start;flex-direction:column}
  .app-slot{height:340px}
  .mobile-bottom{
    display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:70;left:0;right:0;bottom:0;
    min-height:48px;padding-bottom:env(safe-area-inset-bottom);background:var(--surface);
    border-top:1px solid var(--accent-border);box-shadow:0 -8px 22px rgba(74,34,8,.08)
  }
  .mobile-bottom a{
    min-height:48px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--title)
  }
  .mobile-bottom a.is-active{background:var(--red);color:var(--cream)}
  .search-layer{top:0;bottom:0;padding:0;background:var(--red-dark)}
  .search-card{
    width:100%;height:100%;max-width:none;border:0;border-radius:0;background:var(--red-dark);
    color:var(--cream);box-shadow:none;padding:calc(26px + env(safe-area-inset-top)) 16px 24px
  }
  .search-head strong,.search-head p,.search-note{color:var(--cream)}
  .search-presets a{background:var(--cream);border-color:var(--yellow-light)}
  .search-head .icon-control{background:var(--cream)}
  .table-row{grid-template-columns:1fr}
  .table-row strong{padding-bottom:8px}
  .table-row span{padding-top:8px}
}
@media (max-width:560px){
  .site-shell{width:calc(100% - 32px)}
  .fruit-line-inner span{max-width:78%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mango-bar-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
  .brand-logo{max-width:128px}
  .brand-fallback{font-size:15px}
  .drawer-toggle{min-width:62px;padding:0 10px}
  .app-link{padding:0 10px}
  .banner-slot{height:260px}
  .card-slot{height:180px}
  .section-slot{height:200px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:16px 12px}
  .article-prose,.feature-copy,.content-panel{padding:18px}
  .rank-item{grid-template-columns:50px 1fr;padding:12px}
  .rank-no{min-height:44px}
}

.rank-list-spaced{margin-top:18px}
