/* =========================================================
   貔貅日记 CMS · 共享样式
   风格：B站粉蓝 + 编辑部选品感
   ========================================================= */

:root {
  --pink: #fb7299;
  --pink-deep: #e45c84;
  --pink-soft: #fff0f4;
  --blue: #00aeec;
  --blue-deep: #0095c8;
  --blue-soft: #eaf9ff;
  --ink: #20232a;
  --ink-2: #525866;
  --ink-3: #8a909c;
  --paper: #fffcfA;
  --white: #ffffff;
  --line: #f0edef;
  --yellow: #ffb020;
  --green: #00b578;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(31, 35, 41, 0.06);
  --shadow-md: 0 14px 40px rgba(31, 35, 41, 0.1);
  --shadow-pink: 0 16px 40px rgba(251, 114, 153, 0.22);
  --container: 1200px;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: var(--ink);
  color: #c9cdd4;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-inner > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(251, 114, 153, 0.16);
}

.topbar-right {
  color: #8f959e;
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 250, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), #ffa1bd);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(251, 114, 153, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text b {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 12px;
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 108px 0 auto;
  z-index: 49;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 24px 20px;
  box-shadow: var(--shadow-md);
}

.mobile-nav.open {
  display: grid;
  gap: 2px;
}

.mobile-nav a {
  padding: 13px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(251, 114, 153, 0.28);
}

.btn-primary:hover {
  background: var(--pink-deep);
  box-shadow: 0 14px 30px rgba(228, 92, 132, 0.32);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 174, 236, 0.24);
}

.btn-blue:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--pink);
  color: var(--pink-deep);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-md {
  height: 46px;
  padding: 0 22px;
  font-size: 14px;
}

.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
}

/* ---------- 通用标签 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pink-deep);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tag-blue {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.tag-green {
  background: #e8f8f1;
  color: #00875a;
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 36px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(31, 35, 41, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.hero-copy > * {
  animation: fadeUp 0.8s both;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 0.04s;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.1s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.22s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 0.28s;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 20px 0 22px;
}

.hero h1 .mark {
  position: relative;
  color: var(--pink-deep);
  white-space: nowrap;
}

.hero h1 .mark::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 7px;
  height: 14px;
  border-radius: 6px;
  background: var(--pink-soft);
  transform: rotate(-1.5deg);
  z-index: -1;
}

.hero-lead {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.hero-stats > div {
  display: grid;
  gap: 4px;
}

.hero-stats b {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}

.hero-stats span {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

.hero-stats i {
  width: 1px;
  height: 30px;
  background: var(--line);
}

/* Hero 拼贴 */
.collage {
  position: relative;
  min-height: 540px;
}

.collage-blob {
  position: absolute;
  right: -26px;
  bottom: 8%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--blue-soft);
  z-index: 0;
}

.collage-dots {
  position: absolute;
  left: 4%;
  bottom: 4%;
  width: 150px;
  height: 110px;
  background-image: radial-gradient(rgba(251, 114, 153, 0.45) 1.4px, transparent 1.4px);
  background-size: 15px 15px;
  z-index: 0;
  transform: rotate(-8deg);
}

.collage-card {
  position: absolute;
  display: block;
  padding: 10px 10px 14px;
  border: 1px solid rgba(31, 35, 41, 0.05);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.collage-card:hover {
  box-shadow: 0 24px 60px rgba(31, 35, 41, 0.16);
}

.collage-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff0f4, #eaf9ff);
}

.collage-info {
  padding: 10px 6px 2px;
}

.collage-info span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pink-deep);
}

.collage-info b {
  display: block;
  margin: 4px 0 2px;
  font-size: 13.5px;
  line-height: 1.4;
}

.collage-info em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink-deep);
}

.collage-card.c1 {
  width: 46%;
  left: 1%;
  top: 8%;
  transform: rotate(-6deg);
  z-index: 2;
}

.collage-card.c2 {
  width: 42%;
  right: 0;
  top: 1%;
  transform: rotate(5deg);
  z-index: 1;
}

.collage-card.c3 {
  width: 44%;
  left: 25%;
  bottom: 0;
  transform: rotate(-2deg);
  z-index: 3;
}

.collage-card.c1:hover {
  transform: rotate(-6deg) translateY(-8px);
}

.collage-card.c2:hover {
  transform: rotate(5deg) translateY(-8px);
}

.collage-card.c3:hover {
  transform: rotate(-2deg) translateY(-8px);
}

.collage-badge {
  position: absolute;
  top: 7%;
  left: 48%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.collage-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 181, 120, 0.14);
}

.collage-sticker {
  position: absolute;
  right: 5%;
  bottom: 5%;
  z-index: 5;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  transform: rotate(8deg);
  box-shadow: var(--shadow-pink);
}

/* ---------- 滚动条 ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 38px;
  padding: 14px 0;
  animation: marquee 30s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}

.ticker-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

/* ---------- 区块 ---------- */
.section {
  padding: 76px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 10px 0 8px;
}

.section-head p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.7;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link-more:hover {
  color: var(--pink-deep);
  border-color: var(--pink);
}

.link-more svg {
  transition: transform 0.2s ease;
}

.link-more:hover svg {
  transform: translateX(3px);
}

/* ---------- 商品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #ffe0e9;
  box-shadow: var(--shadow-md);
}

.product-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fff0f4, #eaf9ff);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.045);
}

.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(32, 35, 42, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.product-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pink-deep);
}

.product-title {
  margin: 7px 0 5px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
}

.product-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: var(--pink-deep);
}

.product-sub {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.product-price b {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--pink-deep);
}

.product-price s {
  font-size: 12px;
  color: var(--ink-3);
}

.coupon-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px dashed var(--pink);
  border-radius: 6px;
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 600;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--ink-3);
}

.product-meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 分类 ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 144px;
  padding: 20px;
  border: 1px solid rgba(31, 35, 41, 0.05);
  border-radius: 22px;
  background: var(--pink-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.category-card:nth-child(2n) {
  background: var(--blue-soft);
}

.category-card:nth-child(3n) {
  background: #fff6e5;
}

.category-card:nth-child(4n) {
  background: #eafaf3;
}

.category-card:nth-child(5n) {
  background: #f2edff;
}

.category-card:nth-child(6n) {
  background: #fff0f4;
}

.category-card b {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 15px;
}

.category-card span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-3);
}

.category-glyph {
  position: absolute;
  right: -4px;
  bottom: -22px;
  font-family: var(--font-display);
  font-size: 92px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.62);
  transition: transform 0.28s ease;
}

.category-card:hover .category-glyph {
  transform: translateY(-4px) rotate(-4deg);
}

/* ---------- 编辑推荐 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.feature-main {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 430px;
  border-radius: 28px;
  background: #eee;
}

.feature-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-main:hover img {
  transform: scale(1.04);
}

.feature-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 25, 0.74), rgba(20, 20, 25, 0.06) 62%);
}

.feature-main-body {
  position: relative;
  z-index: 1;
  padding: 32px;
  color: #fff;
}

.feature-main-body h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
  margin: 12px 0 10px;
}

.feature-main-body p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 460px;
}

.feature-main-body .price {
  font-family: var(--font-display);
  font-size: 24px;
}

.feature-side {
  display: grid;
  gap: 14px;
}

.feature-mini {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-mini:hover {
  transform: translateY(-3px);
  border-color: #ffe0e9;
  box-shadow: var(--shadow-sm);
}

.feature-mini img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff0f4, #eaf9ff);
}

.feature-mini .mini-body {
  min-width: 0;
}

.feature-mini .product-kicker {
  margin-bottom: 4px;
}

.feature-mini h4 {
  margin: 0 0 6px;
  font-size: 14.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-mini p {
  margin: 0;
  font-size: 12px;
  color: var(--ink-3);
}

.feature-mini .mini-price {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--pink-deep);
}

/* ---------- 选购指南 ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-5px);
  border-color: #ffe0e9;
  box-shadow: var(--shadow-md);
}

.guide-media {
  overflow: hidden;
  background: linear-gradient(135deg, #fff0f4, #eaf9ff);
}

.guide-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.guide-card:hover .guide-media img {
  transform: scale(1.04);
}

.guide-body {
  padding: 20px;
}

.guide-body h3 {
  margin: 10px 0 8px;
  font-size: 17px;
  line-height: 1.45;
}

.guide-body h3 a:hover {
  color: var(--pink-deep);
}

.guide-body p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--ink-3);
}

/* ---------- 步骤 ---------- */
.steps-section {
  border-block: 1px solid var(--line);
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.step-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.step:nth-child(2) .step-num {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.step:nth-child(3) .step-num {
  background: #fff6e5;
  color: #b87800;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
}

.steps-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- 信任区 ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-item {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.trust-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink-soft);
}

.trust-icon::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 11px;
  width: 12px;
  height: 21px;
  border-right: 2px solid var(--pink-deep);
  border-bottom: 2px solid var(--pink-deep);
  transform: rotate(40deg);
}

.trust-item:nth-child(2) .trust-icon {
  background: var(--blue-soft);
}

.trust-item:nth-child(2) .trust-icon::after {
  border-color: var(--blue-deep);
}

.trust-item:nth-child(3) .trust-icon {
  background: #eafaf3;
}

.trust-item:nth-child(3) .trust-icon::after {
  border-color: #00875a;
}

.trust-item:nth-child(4) .trust-icon {
  background: #fff6e5;
}

.trust-item:nth-child(4) .trust-icon::after {
  border-color: #b87800;
}

.trust-item b {
  font-size: 15px;
}

.trust-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

/* ---------- 内页头 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff3f7 0%, #fffdfb 56%, #eaf9ff 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 174, 236, 0.08);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.16;
  margin: 12px 0 14px;
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
}

.breadcrumb a:hover {
  color: var(--pink-deep);
}

/* ---------- 商品广场工具条 ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 280px;
  max-width: 420px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.search-box svg {
  flex: none;
  color: var(--ink-3);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.search-box input::placeholder {
  color: var(--ink-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  border-color: var(--pink);
  color: var(--pink-deep);
}

.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.sort-select {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
  outline: none;
  cursor: pointer;
}

.result-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.empty-state {
  padding: 64px 20px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.empty-state b {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--ink-3);
  font-size: 13px;
}

/* ---------- 商品详情 ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: start;
}

.detail-media {
  position: sticky;
  top: 100px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff0f4, #eaf9ff);
}

.detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  margin: 12px 0;
}

.detail-sub {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

.detail-price-box {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid #ffe0e9;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff3f7, #fffdfb);
}

.detail-price-box .price {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--pink-deep);
}

.detail-price-box .price small {
  font-size: 18px;
}

.detail-price-box s {
  margin-left: 10px;
  font-size: 14px;
  color: var(--ink-3);
}

.detail-price-box .detail-coupon {
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin-left: 10px;
  padding: 0 10px;
  border: 1px dashed var(--pink);
  border-radius: 6px;
  color: var(--pink-deep);
  font-size: 12px;
  font-weight: 600;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.detail-notes {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.detail-notes li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.detail-notes li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.detail-editor {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #cbeeeb;
  border-radius: 20px;
  background: var(--blue-soft);
}

.detail-editor b {
  display: block;
  margin-bottom: 8px;
  color: #0077a3;
}

.detail-editor p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

.detail-desc {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ---------- 文章 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}

.article-body {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #fff0f4, #eaf9ff);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.35;
  margin: 36px 0 14px;
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body h3 {
  margin: 26px 0 10px;
  font-size: 19px;
}

.article-body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-2);
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.95;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--pink);
  border-radius: 0 14px 14px 0;
  background: var(--pink-soft);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-3);
}

.sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.sidebar-card h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.sidebar-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.sidebar-product:first-of-type {
  border-top: 0;
}

.sidebar-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff0f4, #eaf9ff);
}

.sidebar-product b {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-product span {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pink-deep);
}

.sidebar-links {
  display: grid;
  gap: 12px;
}

.sidebar-links a {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}

.sidebar-links a:hover {
  color: var(--pink-deep);
}

/* ---------- 协议 / 政策 ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
}

.legal-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-2);
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-nav a:hover {
  background: var(--pink-soft);
  color: var(--pink-deep);
}

.legal-body {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.legal-body .legal-meta {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

.legal-body h2 {
  margin: 34px 0 12px;
  font-size: 20px;
  scroll-margin-top: 100px;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}

.legal-body strong {
  color: var(--ink);
}

.legal-body a {
  color: var(--pink-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--pink);
  border-radius: 0 14px 14px 0;
  background: var(--pink-soft);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.85;
}

.about-card a {
  color: var(--pink-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.about-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.about-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
}

.about-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

.about-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}

.about-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.value-item b {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.value-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-3);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.process-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.process-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--pink);
}

.process-item b {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.process-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 80px;
  background: #191b20;
  color: #c9cdd4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 40px;
  padding: 64px 0 40px;
}

.footer-brand .brand-text b {
  color: #fff;
}

.footer-brand .brand-text small {
  color: #70767f;
}

.footer-brand p {
  max-width: 320px;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: #8f959e;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: #8f959e;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--pink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #70767f;
}

.footer-bottom a {
  color: #8f959e;
}

.footer-bottom a:hover {
  color: var(--pink);
}

.footer-note {
  padding: 0 0 28px;
  font-size: 11px;
  line-height: 1.8;
  color: #5c626b;
}

/* ---------- 提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 动效 ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}

/* 图片加载中的柔和骨架 */
.product-media,
.guide-media,
.collage-card img,
.feature-main,
.feature-mini img,
.article-cover,
.detail-media img,
.sidebar-product img {
  background-image: linear-gradient(110deg, #fff0f4 8%, #f7fafc 18%, #eaf9ff 33%);
  background-size: 200% 100%;
  animation: shimmer 1.8s linear infinite;
}

.reveal {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid {
    gap: 30px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .topbar-right {
    display: none;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    top: 108px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(38px, 8vw, 56px);
  }

  .collage {
    min-height: 460px;
    max-width: 560px;
    width: 100%;
    margin: 10px auto 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-main {
    min-height: 360px;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .trust-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    gap: 14px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-media {
    position: static;
    max-width: 560px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 48px 0 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .topbar-inner {
    justify-content: center;
  }

  .header-inner {
    min-height: 66px;
    gap: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 20px;
  }

  .brand-text b {
    font-size: 15.5px;
  }

  .mobile-nav {
    top: 100px;
  }

  .hero {
    padding: 34px 0 18px;
  }

  .hero h1 {
    margin: 16px 0 16px;
  }

  .hero-lead {
    font-size: 14.5px;
  }

  .hero-stats {
    gap: 18px;
    margin-top: 28px;
  }

  .hero-stats b {
    font-size: 21px;
  }

  .collage {
    min-height: 390px;
  }

  .collage-card {
    padding: 7px 7px 10px;
    border-radius: 18px;
  }

  .collage-card img {
    border-radius: 13px;
  }

  .collage-info b {
    font-size: 11.5px;
  }

  .collage-info em {
    font-size: 11.5px;
  }

  .collage-sticker {
    width: 76px;
    height: 76px;
    font-size: 10px;
  }

  .collage-badge {
    top: 3%;
    left: 44%;
    padding: 8px 12px;
    font-size: 11px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 27px;
  }

  .link-more {
    margin-top: 12px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-media img {
    aspect-ratio: 4 / 3;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-card {
    min-height: 120px;
    padding: 16px;
  }

  .category-glyph {
    font-size: 74px;
  }

  .feature-main {
    min-height: 300px;
  }

  .feature-main-body {
    padding: 22px;
  }

  .feature-mini {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .feature-mini img {
    width: 88px;
    height: 88px;
  }

  .guide-grid,
  .steps,
  .trust-grid,
  .value-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .detail-price-box .price {
    font-size: 36px;
  }

  .detail-actions .btn {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 28px;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }

  .toolbar {
    padding: 12px;
  }

  .search-box {
    max-width: none;
  }

  .chips {
    width: 100%;
  }

  .article-body h2 {
    font-size: 22px;
  }

  .article-body p,
  .article-body ul,
  .article-body ol {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .header-actions .btn {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .collage {
    min-height: 350px;
  }

  .collage-sticker {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
