@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #20232d;
  --ink-2: #313643;
  --paper: #f7f5f0;
  --paper-deep: #ebe8e0;
  --white: #ffffff;
  --red: #ff5a36;
  --red-dark: #ed3f1e;
  --gold: #ffd338;
  --sage: #1948d8;
  --muted: #72737b;
  --line: rgba(32, 35, 45, 0.13);
  --shadow: 0 24px 70px rgba(32, 35, 45, 0.13);
  --serif: "Noto Sans SC", sans-serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --radius: 6px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 5%, rgba(255, 90, 54, 0.08), transparent 24rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0.16;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--red);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: var(--container); margin-inline: auto; }

.top-note {
  color: #f4efe5;
  background: var(--ink);
  font-size: 12px;
  letter-spacing: .08em;
}
.top-note .container {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.top-note a { color: #ead3ae; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 229, 0.9);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: grid;
  min-height: 82px;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 48px;
  place-items: center;
  color: var(--paper);
  background: var(--red);
  border-radius: 14px 14px 14px 4px;
  font-family: var(--serif);
  font-size: 22px;
  box-shadow: 5px 5px 0 #1948d8;
}
.brand-text strong { display: block; font: 900 23px/1 var(--serif); letter-spacing: .12em; }
.brand-text small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .22em; }

.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 38px); }
.main-nav a {
  position: relative;
  padding: 29px 0 26px;
  font-size: 14px;
  font-weight: 600;
}
.main-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 18px;
  left: 50%;
  height: 2px;
  content: "";
  background: var(--red);
  transition: left .2s, right .2s;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { left: 0; right: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn, .menu-btn {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: .2s ease;
}
.icon-btn:hover, .menu-btn:hover { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.icon-btn svg, .menu-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.badge {
  position: absolute;
  right: -5px;
  top: -6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  color: white;
  background: var(--red);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
}
.menu-btn { display: none; }

.hero { position: relative; height: min(650px, calc(100vh - 116px)); min-height: 540px; overflow: hidden; background: var(--ink); }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background-position: center;
  background-size: cover;
  transition: opacity .8s ease, visibility .8s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 25, 31, .93) 0%, rgba(8,25,31,.68) 38%, rgba(8,25,31,.08) 70%);
}
.hero-slide.light::before { background: linear-gradient(90deg, rgba(249,245,236,.96), rgba(249,245,236,.72) 37%, rgba(249,245,236,.06) 68%); }
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  max-width: 620px;
  align-content: center;
  color: var(--white);
}
.hero-slide.light .hero-content { color: var(--ink); }
.eyebrow {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 1px; content: ""; background: currentColor; }
.hero h1 { margin: 0; font: 900 clamp(48px, 7vw, 88px)/1.03 var(--serif); letter-spacing: -.04em; }
.hero h1 em { color: #e4735f; font-style: normal; }
.hero-copy { max-width: 520px; margin: 24px 0 32px; color: rgba(255,253,248,.74); font: 500 16px/1.9 var(--serif); }
.hero-slide.light .hero-copy { color: rgba(16,43,53,.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  background: var(--red);
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--red-dark); }
.btn-outline { color: inherit; border-color: currentColor; background: transparent; }
.btn-outline:hover { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.hero .btn-outline:hover { color: var(--ink); border-color: var(--paper); background: var(--paper); }
.hero-slide.light .btn-outline:hover { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.btn-small { min-height: 39px; padding: 0 15px; font-size: 12px; }

.hero-controls {
  position: absolute;
  z-index: 5;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(9,25,31,.22);
  cursor: pointer;
}
.hero-arrow:hover { background: var(--red); }
.hero-dots { display: flex; padding: 0 10px; gap: 7px; }
.hero-dot { width: 24px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.36); cursor: pointer; transition: width .25s, background .25s; }
.hero-dot.active { width: 48px; background: var(--red); }
.hero-counter {
  position: absolute;
  z-index: 4;
  left: max(20px, calc((100vw - 1180px) / 2));
  bottom: 35px;
  color: rgba(255,255,255,.68);
  font: 500 12px var(--serif);
  letter-spacing: .18em;
}

.service-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-item { display: flex; min-height: 90px; align-items: center; gap: 14px; border-right: 1px solid var(--line); }
.service-item:last-child { border-right: 0; }
.service-no { color: var(--red); font: 700 13px var(--serif); }
.service-item strong { display: block; font: 700 15px var(--serif); }
.service-item span:last-child { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

.section { padding: 112px 0; }
.section-tight { padding: 76px 0; }
.section-ink { color: var(--paper); background: var(--ink); }
.section-white { background: var(--white); }
.section-head { display: flex; margin-bottom: 48px; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-title { margin: 0; font: 900 clamp(34px, 4vw, 54px)/1.15 var(--serif); letter-spacing: -.03em; }
.section-title small { display: block; margin-bottom: 10px; color: var(--red); font: 700 11px var(--sans); letter-spacing: .22em; }
.section-lead { max-width: 470px; margin: 0; color: var(--muted); font: 500 14px/1.9 var(--serif); }
.section-ink .section-lead { color: rgba(244,239,229,.66); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.text-link::after { content: "→"; color: var(--red); transition: transform .2s; }
.text-link:hover::after { transform: translateX(5px); }

.intro-grid { display: grid; grid-template-columns: .9fr 1.35fr; align-items: start; gap: clamp(60px, 9vw, 140px); }
.stamp {
  position: relative;
  min-height: 390px;
  padding: 52px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 22px 22px 0 var(--red);
}
.stamp::before { position: absolute; inset: 14px; border: 1px solid rgba(244,239,229,.26); content: ""; }
.stamp-char { position: relative; display: block; font: 400 118px/1 "Ma Shan Zheng", cursive; }
.stamp p { position: relative; margin: 44px 0 0; font: 600 17px/1.8 var(--serif); }
.intro-copy h2 { margin: 0 0 26px; font: 900 clamp(38px, 5vw, 64px)/1.2 var(--serif); }
.intro-copy > p { margin: 0 0 20px; color: #455a5c; font: 500 16px/2 var(--serif); }
.intro-points { display: grid; margin-top: 42px; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.intro-point { padding: 22px; background: var(--paper); }
.intro-point strong { display: block; margin-bottom: 8px; color: var(--red); font: 700 17px var(--serif); }
.intro-point span { color: var(--muted); font-size: 12px; line-height: 1.7; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.category-card { position: relative; min-height: 245px; padding: 28px; overflow: hidden; background: var(--white); transition: color .3s, background .3s; }
.category-card::after { position: absolute; right: -25px; bottom: -34px; color: rgba(16,43,53,.06); content: attr(data-char); font: 900 150px/1 var(--serif); }
.category-card:hover { color: var(--paper); background: var(--ink); }
.category-card:hover::after { color: rgba(244,239,229,.06); transform: rotate(-5deg); }
.category-card .no { color: var(--red); font: 700 11px var(--serif); }
.category-card h3 { margin: 72px 0 8px; font: 700 24px var(--serif); }
.category-card p { position: relative; z-index: 2; margin: 0; color: var(--muted); font-size: 12px; }
.category-card:hover p { color: rgba(244,239,229,.65); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.product-card { position: relative; min-width: 0; }
.product-stage {
  position: relative;
  display: grid;
  height: 320px;
  padding: 28px;
  place-items: center;
  overflow: hidden;
  background: #eae3d6;
}
.product-stage::before { position: absolute; inset: 0; content: ""; background: linear-gradient(135deg, rgba(255,255,255,.3), transparent 42%); }
.product-actions { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: flex; gap: 7px; opacity: 0; transform: translateY(8px); transition: .25s; }
.product-card:hover .product-actions, .product-card:focus-within .product-actions { opacity: 1; transform: none; }
.round-action { display: grid; width: 38px; height: 38px; place-items: center; color: var(--ink); border: 0; background: var(--white); box-shadow: 0 8px 24px rgba(16,43,53,.14); cursor: pointer; }
.round-action:hover { color: white; background: var(--red); }
.product-meta { padding-top: 17px; }
.product-category { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.product-meta h3 { min-height: 52px; margin: 8px 0 4px; font: 700 17px/1.5 var(--serif); }
.product-author { margin: 0 0 13px; color: var(--muted); font-size: 11px; }
.price-row { display: flex; align-items: baseline; gap: 9px; }
.price { color: var(--red-dark); font: 800 18px var(--serif); }
.price small { margin-right: 1px; font-size: 11px; }
.old-price { color: #99a09c; font-size: 11px; text-decoration: line-through; }

.rare-banner { position: relative; display: grid; min-height: 480px; grid-template-columns: 1fr 1fr; overflow: hidden; color: var(--paper); background: #2a241f url("assets/market-home.webp") center/cover; box-shadow: var(--shadow); }
.rare-banner::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(26,19,15,.95), rgba(26,19,15,.72) 46%, rgba(26,19,15,.05)); }
.rare-copy { position: relative; z-index: 2; padding: 76px; align-self: center; }
.rare-copy h2 { margin: 0; font: 900 clamp(38px, 5vw, 62px)/1.18 var(--serif); }
.rare-copy p { max-width: 490px; margin: 22px 0 30px; color: rgba(244,239,229,.72); font: 500 14px/1.9 var(--serif); }

.reading-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.essay-feature { min-height: 430px; padding: 56px; color: var(--paper); background: var(--ink); }
.essay-feature .tag { color: #e4735f; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.essay-feature h3 { max-width: 620px; margin: 48px 0 24px; font: 700 clamp(32px, 4vw, 50px)/1.35 var(--serif); }
.essay-feature p { max-width: 600px; color: rgba(244,239,229,.64); font: 500 14px/1.9 var(--serif); }
.essay-list { display: grid; grid-template-rows: repeat(3, 1fr); border-top: 1px solid var(--line); }
.essay-item { display: grid; padding: 26px 6px; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.essay-index { color: var(--red); font: 700 18px var(--serif); }
.essay-item h4 { margin: 0 0 6px; font: 700 17px var(--serif); }
.essay-item p { margin: 0; color: var(--muted); font-size: 11px; }

.newsletter { display: grid; padding: 48px 56px; grid-template-columns: 1fr auto; align-items: center; gap: 40px; border: 1px solid var(--line); background: var(--white); }
.newsletter h2 { margin: 0 0 8px; font: 700 28px var(--serif); }
.newsletter p { margin: 0; color: var(--muted); font-size: 13px; }
.newsletter-form { display: flex; min-width: min(100%, 440px); }
.field { width: 100%; min-height: 48px; padding: 0 16px; color: var(--ink); border: 1px solid var(--line); outline: 0; background: var(--paper); }
.field:focus, textarea:focus, select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(217,84,63,.1); }

.page-hero { padding: 86px 0 64px; border-bottom: 1px solid var(--line); background: var(--white); }
.breadcrumb { margin-bottom: 22px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.breadcrumb span { margin: 0 8px; color: var(--red); }
.page-hero h1 { margin: 0; font: 900 clamp(48px, 7vw, 82px)/1.1 var(--serif); }
.page-hero p { max-width: 600px; margin: 18px 0 0; color: var(--muted); font: 500 15px/1.9 var(--serif); }

.catalog-layout { display: grid; grid-template-columns: 230px 1fr; align-items: start; gap: 60px; }
.filter-panel { position: sticky; top: 118px; }
.filter-panel h2 { margin: 0 0 20px; font: 700 18px var(--serif); }
.filter-list { display: grid; border-top: 1px solid var(--line); }
.filter-btn { display: flex; padding: 14px 0; align-items: center; justify-content: space-between; color: var(--muted); border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; }
.filter-btn:hover, .filter-btn.active { color: var(--red); }
.filter-btn span { font-size: 10px; }
.catalog-toolbar { display: flex; margin-bottom: 34px; align-items: center; justify-content: space-between; gap: 20px; }
.search-box { position: relative; flex: 1; max-width: 480px; }
.search-box .field { padding-right: 48px; background: var(--white); }
.search-box svg { position: absolute; right: 16px; top: 15px; width: 18px; fill: none; stroke: var(--muted); }
.catalog-sort { min-height: 48px; padding: 0 38px 0 14px; color: var(--ink); border: 1px solid var(--line); background: var(--white); }
.result-count { margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.empty-state { display: none; padding: 80px 20px; grid-column: 1/-1; text-align: center; border: 1px dashed var(--line); }

.ranking-layout { display: grid; grid-template-columns: 1fr 360px; align-items: start; gap: 60px; }
.rank-table { border-top: 2px solid var(--ink); }
.rank-row { display: grid; min-height: 126px; padding: 18px 0; grid-template-columns: 64px 84px 1fr auto; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.rank-no { font: 900 28px var(--serif); }
.rank-row:nth-child(-n+3) .rank-no { color: var(--red); }
.mini-cover { display: grid; width: 66px; height: 92px; padding: 9px; align-content: center; color: white; background: var(--cover-bg, var(--ink)); box-shadow: -4px 5px 10px rgba(16,43,53,.18); font: 600 10px/1.5 var(--serif); }
.rank-info h3 { margin: 0 0 7px; font: 700 17px var(--serif); }
.rank-info p { margin: 0; color: var(--muted); font-size: 11px; }
.rank-sales { text-align: right; }
.rank-sales strong { display: block; color: var(--red); font: 700 15px var(--serif); }
.rank-sales span { color: var(--muted); font-size: 10px; }
.ranking-note { position: sticky; top: 118px; padding: 38px; color: var(--paper); background: var(--ink); }
.ranking-note .big-no { color: rgba(244,239,229,.12); font: 900 100px/1 var(--serif); }
.ranking-note h2 { margin: -16px 0 18px; font: 700 28px/1.4 var(--serif); }
.ranking-note p { color: rgba(244,239,229,.63); font: 500 13px/1.9 var(--serif); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { display: flex; min-height: 330px; padding: 34px; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: var(--white); transition: .25s; }
.article-card:hover { color: var(--paper); background: var(--ink); transform: translateY(-5px); }
.article-card time { color: var(--red); font-size: 10px; letter-spacing: .1em; }
.article-card h3 { margin: 0; font: 700 25px/1.45 var(--serif); }
.article-card p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-card:hover p { color: rgba(244,239,229,.6); }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.vertical-title { writing-mode: vertical-rl; margin: 0 auto; font: 900 58px var(--serif); letter-spacing: .18em; }
.about-copy h2 { margin: 0 0 28px; font: 800 40px var(--serif); }
.about-copy p { color: #455a5c; font: 500 15px/2 var(--serif); }
.number-grid { display: grid; margin-top: 50px; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.number-box { padding: 28px 20px; border-right: 1px solid var(--line); }
.number-box:last-child { border-right: 0; }
.number-box strong { display: block; color: var(--red); font: 900 32px var(--serif); }
.number-box span { color: var(--muted); font-size: 11px; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.process-card { min-height: 250px; padding: 28px; color: var(--paper); background: var(--ink); }
.process-card:nth-child(even) { color: var(--ink); border: 1px solid var(--line); background: var(--white); }
.process-card b { color: var(--red); font: 700 12px var(--serif); }
.process-card h3 { margin: 68px 0 12px; font: 700 21px var(--serif); }
.process-card p { margin: 0; color: inherit; opacity: .65; font-size: 12px; line-height: 1.8; }

.feedback-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.contact-card { padding: 42px; color: var(--paper); background: var(--ink); }
.contact-card h2 { margin: 0 0 34px; font: 700 30px var(--serif); }
.contact-row { padding: 18px 0; border-top: 1px solid rgba(244,239,229,.16); }
.contact-row span { display: block; margin-bottom: 6px; color: #e4735f; font-size: 10px; letter-spacing: .14em; }
.contact-row p { margin: 0; color: rgba(244,239,229,.75); font: 500 13px/1.7 var(--serif); }
.form-card { padding: 48px; border: 1px solid var(--line); background: var(--white); }
.form-card h2 { margin: 0 0 30px; font: 700 30px var(--serif); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: grid; gap: 8px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 12px; font-weight: 600; }
.form-group textarea { min-height: 160px; padding: 14px 16px; resize: vertical; color: var(--ink); border: 1px solid var(--line); outline: 0; background: var(--paper); }
.form-status { min-height: 24px; margin-top: 14px; color: var(--red); font-size: 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; width: 100%; padding: 22px 0; align-items: center; justify-content: space-between; border: 0; background: transparent; cursor: pointer; text-align: left; font: 700 16px var(--serif); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 0 22px; color: var(--muted); font: 500 13px/1.9 var(--serif); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.site-footer { color: rgba(244,239,229,.7); background: #091d24; }
.footer-main { display: grid; padding: 72px 0 58px; grid-template-columns: 1.2fr repeat(3, .7fr); gap: 54px; }
.footer-brand .brand-text strong { color: var(--paper); }
.footer-brand .brand-text small { color: rgba(244,239,229,.44); }
.footer-brand > p { max-width: 340px; margin: 28px 0; font: 500 13px/1.9 var(--serif); }
.sound-btn { padding: 9px 12px; color: var(--paper); border: 1px solid rgba(244,239,229,.2); background: transparent; cursor: pointer; font-size: 11px; }
.sound-btn.active { color: white; border-color: var(--red); background: var(--red); }
.footer-col h3 { margin: 0 0 20px; color: var(--paper); font: 700 14px var(--serif); }
.footer-col a, .footer-col span { display: block; margin: 12px 0; font-size: 11px; }
.footer-col a:hover { color: #e4735f; }
.footer-bottom { display: flex; padding: 22px 0; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(244,239,229,.12); font-size: 10px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 100; visibility: hidden; opacity: 0; background: rgba(5,18,22,.55); transition: .3s; }
.drawer-backdrop.open { visibility: visible; opacity: 1; }
.cart-drawer {
  position: fixed;
  z-index: 110;
  right: 0;
  top: 0;
  display: flex;
  width: min(440px, 100%);
  height: 100%;
  padding: 30px;
  flex-direction: column;
  background: var(--paper);
  box-shadow: -30px 0 80px rgba(5,18,22,.2);
  transform: translateX(100%);
  transition: transform .35s ease;
}
.cart-drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.drawer-head h2 { margin: 0; font: 700 24px var(--serif); }
.close-btn { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 22px; }
.cart-items { flex: 1; overflow: auto; }
.cart-empty { padding: 80px 20px; color: var(--muted); text-align: center; font: 500 14px/1.8 var(--serif); }
.cart-item { display: grid; padding: 20px 0; grid-template-columns: 54px 1fr auto; gap: 14px; border-bottom: 1px solid var(--line); }
.cart-item-cover { display: grid; height: 74px; padding: 7px; place-items: center; color: white; background: var(--cover-bg); text-align: center; font: 600 9px/1.4 var(--serif); }
.cart-item h3 { margin: 0 0 6px; font: 600 13px var(--serif); }
.cart-item p { margin: 0; color: var(--red); font-size: 12px; }
.qty { display: flex; margin-top: 10px; align-items: center; gap: 8px; }
.qty button { width: 24px; height: 24px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.remove-item { align-self: start; color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.cart-total { padding-top: 20px; border-top: 1px solid var(--line); }
.total-line { display: flex; margin-bottom: 18px; justify-content: space-between; }
.total-line strong { color: var(--red); font: 800 21px var(--serif); }
.cart-total .btn { width: 100%; }

.modal { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; background: rgba(5,18,22,.65); }
.modal.open { display: grid; }
.modal-card { position: relative; width: min(460px, 100%); padding: 46px; background: var(--paper); box-shadow: var(--shadow); }
.modal-card h2 { margin: 0 0 8px; font: 800 30px var(--serif); }
.modal-card > p { margin: 0 0 28px; color: var(--muted); font-size: 12px; }
.modal-card .close-btn { position: absolute; right: 14px; top: 14px; }
.modal-form { display: grid; gap: 16px; }
.toast { position: fixed; z-index: 150; right: 24px; bottom: 24px; padding: 14px 18px; color: white; background: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; font-size: 12px; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; inset: 116px 0 auto 0; display: grid; padding: 18px 20px; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: .3s; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 12px 4px; }
  .menu-btn { display: grid; }
  .hero { height: 600px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item:nth-child(2) { border-right: 0; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .about-grid, .feedback-layout { grid-template-columns: 1fr; }
  .stamp { max-width: 480px; }
  .vertical-title { writing-mode: initial; margin: 0; }
  .rare-banner { grid-template-columns: 1fr; }
  .reading-grid, .ranking-layout { grid-template-columns: 1fr; }
  .ranking-note, .filter-panel { position: static; }
  .catalog-layout { grid-template-columns: 1fr; gap: 36px; }
  .filter-list { grid-template-columns: repeat(4, 1fr); gap: 8px; border: 0; }
  .filter-btn { padding: 10px; justify-content: center; border: 1px solid var(--line); }
  .filter-btn span { display: none; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.2fr repeat(2, .7fr); }
  .footer-col:last-child { grid-column: 2/4; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1180px); }
  .top-note .container { justify-content: center; text-align: center; }
  .top-note a { display: none; }
  .header-inner { min-height: 72px; gap: 10px; }
  .brand-text strong { font-size: 20px; }
  .brand-text small { display: none; }
  .brand-mark { width: 35px; height: 40px; font-size: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .main-nav { inset-block-start: 106px; }
  .icon-btn, .menu-btn { width: 38px; height: 38px; }
  .hero { min-height: 590px; }
  .hero-slide { background-position: 62% center; }
  .hero-slide::before { background: linear-gradient(90deg, rgba(8,25,31,.94), rgba(8,25,31,.83) 65%, rgba(8,25,31,.38)); }
  .hero-slide.light::before { background: linear-gradient(90deg, rgba(249,245,236,.97), rgba(249,245,236,.88) 65%, rgba(249,245,236,.35)); }
  .hero h1 { font-size: 49px; }
  .hero-copy { font-size: 14px; }
  .hero-controls { right: 14px; bottom: 26px; }
  .hero-counter { left: 14px; bottom: 32px; }
  .hero-dots { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item { min-height: 72px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .section-head { display: block; }
  .section-lead { margin-top: 18px; }
  .intro-grid { gap: 60px; }
  .stamp { min-height: 330px; padding: 40px; box-shadow: 12px 12px 0 var(--red); }
  .stamp-char { font-size: 88px; }
  .intro-copy h2 { font-size: 38px; }
  .intro-points { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 190px; }
  .category-card h3 { margin-top: 42px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
  .product-stage { height: 250px; padding: 20px; }
  .product-actions { opacity: 1; transform: none; }
  .product-meta h3 { min-height: 46px; font-size: 14px; }
  .rare-copy { padding: 52px 26px; }
  .rare-banner::before { background: rgba(26,19,15,.75); }
  .reading-grid { gap: 18px; }
  .essay-feature { min-height: 380px; padding: 34px 26px; }
  .essay-item { grid-template-columns: 38px 1fr auto; gap: 8px; }
  .newsletter { padding: 34px 24px; grid-template-columns: 1fr; }
  .newsletter-form { min-width: 0; }
  .page-hero { padding: 64px 0 52px; }
  .page-hero h1 { font-size: 48px; }
  .filter-list { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-sort { width: 100%; }
  .rank-row { grid-template-columns: 40px 58px 1fr; gap: 12px; }
  .rank-sales { display: none; }
  .mini-cover { width: 52px; height: 74px; font-size: 8px; }
  .article-grid, .process-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 280px; }
  .number-grid { grid-template-columns: 1fr; }
  .number-box { border-right: 0; border-bottom: 1px solid var(--line); }
  .number-box:last-child { border-bottom: 0; }
  .form-card, .contact-card { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* 万象集市综合电商主题 */
.site-header { background: rgba(255,255,255,.92); }
.brand-text strong { font-weight: 900; letter-spacing: -.04em; }
.main-nav a { font-weight: 700; }
.hero { min-height: 520px; height: min(620px, calc(100vh - 116px)); border-radius: 0 0 34px 34px; }
.hero-slide::before { background: linear-gradient(90deg, rgba(255,241,234,.96), rgba(255,226,215,.72) 40%, rgba(255,226,215,.02) 70%); }
.hero-slide.digital::before { background: linear-gradient(90deg, rgba(8,30,86,.96), rgba(8,30,86,.72) 40%, rgba(8,30,86,.02) 70%); }
.hero-slide.home::before { background: linear-gradient(90deg, rgba(255,248,236,.97), rgba(255,248,236,.72) 40%, rgba(255,248,236,.02) 70%); }
.hero-content { color: var(--ink); }
.hero-slide.digital .hero-content { color: white; }
.hero-copy { color: rgba(32,35,45,.72); font-family: var(--sans); }
.hero-slide.digital .hero-copy { color: rgba(255,255,255,.72); }
.hero h1 { font-family: var(--sans); font-weight: 900; letter-spacing: -.07em; }
.hero h1 em { color: var(--red); }
.hero .btn-outline:hover { color: white; border-color: var(--ink); background: var(--ink); }
.hero-slide.digital .btn-outline:hover { color: var(--ink); border-color: white; background: white; }
.hero-counter { color: rgba(32,35,45,.65); }
.hero-slide.digital ~ .hero-counter { color: rgba(255,255,255,.68); }
.service-strip { margin: 24px auto 0; width: var(--container); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.service-item { padding: 0 22px; }
.section-title { font-family: var(--sans); font-weight: 900; letter-spacing: -.055em; }
.eyebrow { font-family: "Barlow Condensed", var(--sans); font-size: 14px; }
.category-grid { gap: 14px; border: 0; background: transparent; }
.category-card { min-height: 200px; border-radius: 18px; background: white; box-shadow: 0 10px 34px rgba(32,35,45,.06); }
.category-card:hover { background: var(--ink); transform: translateY(-5px); }
.category-card h3 { margin-top: 54px; font-family: var(--sans); font-weight: 800; }
.category-card::after { right: -10px; bottom: -26px; font-size: 130px; }
.product-grid { gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(32,35,45,.12); }
.product-stage { height: 270px; padding: 18px; background: #f0efeb; }
.product-visual {
  position: relative; display: grid; width: 100%; height: 100%; padding: 20px; place-items: center;
  overflow: hidden; color: var(--ink); background: var(--cover-bg); border: 0; border-radius: 14px;
  box-shadow: none; transform: none;
}
.product-visual::before { position: absolute; inset: -35% auto auto -18%; width: 72%; height: 72%; border: 0; border-radius: 50%; background: rgba(255,255,255,.36); content: ""; opacity: 1; }
.product-visual::after { position: absolute; right: -10%; bottom: -28%; top: auto; width: 58%; height: 58%; border-radius: 50%; background: var(--cover-accent); content: ""; opacity: .16; }
.product-emoji { position: relative; z-index: 2; font-size: 92px; filter: drop-shadow(0 18px 16px rgba(32,35,45,.22)); transition: transform .3s; }
.product-brand { position: absolute; z-index: 2; left: 16px; bottom: 14px; padding: 5px 9px; border-radius: 99px; background: rgba(255,255,255,.68); font-size: 9px; font-weight: 800; backdrop-filter: blur(10px); }
.product-card:hover .product-visual { transform: none; box-shadow: none; }
.product-card:hover .product-emoji { transform: translateY(-7px) rotate(-5deg) scale(1.06); }
.product-meta { padding: 18px 18px 20px; }
.product-meta h3 { min-height: auto; margin-bottom: 6px; font-family: var(--sans); font-weight: 800; }
.product-author { margin-bottom: 12px; }
.price { font-family: "Barlow Condensed", var(--sans); font-size: 24px; }
.flash-strip { display: grid; grid-template-columns: 230px 1fr; min-height: 152px; overflow: hidden; border-radius: 20px; color: white; background: #1948d8; }
.flash-title { display: flex; padding: 28px; flex-direction: column; justify-content: center; background: var(--red); }
.flash-title small { font: 800 13px "Barlow Condensed", sans-serif; letter-spacing: .16em; }
.flash-title strong { margin: 4px 0 12px; font-size: 28px; }
.countdown { display: flex; gap: 5px; }
.countdown b { padding: 5px 7px; color: var(--ink); border-radius: 5px; background: white; font: 800 14px "Barlow Condensed", sans-serif; }
.deal-grid { display: grid; padding: 18px; grid-template-columns: repeat(4,1fr); gap: 10px; }
.deal-card { display: grid; padding: 12px 14px; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; border-radius: 12px; background: rgba(255,255,255,.1); }
.deal-card span:first-child { font-size: 38px; }
.deal-card strong { display: block; font-size: 12px; }
.deal-card em { color: #dfff48; font: 800 19px "Barlow Condensed", sans-serif; font-style: normal; }
.rare-banner { border-radius: 24px; background-image: url("assets/market-home.webp"); }
.rare-banner::before { background: linear-gradient(90deg, rgba(255,248,236,.96), rgba(255,248,236,.73) 50%, rgba(255,248,236,.08)); }
.rare-copy { color: var(--ink); }
.rare-copy p { color: rgba(32,35,45,.68); font-family: var(--sans); }
.essay-feature { border-radius: 22px; background: #1948d8; }
.article-card { border-radius: 18px; }
.newsletter { border-radius: 20px; }
.site-footer { background: #161821; }
.cart-drawer { background: #fff; }
.cart-item-cover.product-visual, .mini-cover.product-visual { display: grid; place-items: center; overflow: hidden; color: var(--ink); background: var(--cover-bg); box-shadow: none; }
.cart-item-cover .product-emoji { font-size: 28px; }
.cart-item-cover .product-brand { display: none; }
.mini-cover.product-visual { padding: 0; border-radius: 10px; }
.mini-cover .product-emoji { font-size: 36px; }
.mini-cover .product-brand { display: none; }
.ranking-note { border-radius: 20px; background: #1948d8; }
.contact-card { border-radius: 20px; background: #1948d8; }
.form-card { border-radius: 20px; }

@media (max-width: 980px) {
  .deal-grid { grid-template-columns: repeat(2,1fr); }
  .flash-strip { grid-template-columns: 200px 1fr; }
}
@media (max-width: 680px) {
  .hero { border-radius: 0 0 22px 22px; }
  .hero-slide::before, .hero-slide.home::before { background: linear-gradient(90deg, rgba(255,241,234,.96), rgba(255,241,234,.82) 65%, rgba(255,241,234,.28)); }
  .hero-slide.digital::before { background: linear-gradient(90deg, rgba(8,30,86,.96), rgba(8,30,86,.84) 65%, rgba(8,30,86,.3)); }
  .service-strip { width: var(--container); }
  .flash-strip { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: 1fr 1fr; padding: 10px; }
  .deal-card { grid-template-columns: 40px 1fr; padding: 9px; }
  .deal-card span:first-child { font-size: 28px; }
  .product-stage { height: 210px; }
  .product-emoji { font-size: 62px; }
  .product-meta { padding: 14px; }
}
