:root {
  --ink: #211e1a;
  --muted: #746b62;
  --accent: #d97757;
  --accent-dark: #aa5138;
  --paper: #f7f3ed;
  --soft: #eee8df;
  --line: #ddd4c8;
  --white: #fffdf9;
  --success: #61765b;
  --danger: #a23525;
  --shadow-sm: 0 8px 30px #4b37260c;
  --shadow-md: 0 16px 42px #4b37260d;
  --shadow-lg: 0 30px 90px #30251d3d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
main > section[id] { scroll-margin-top: 86px; }
.section { padding-block: 92px; }
.section h2 {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 43px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 38px; }
.section-head > p, .center-head > p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.center-head { text-align: center; }
.kicker, .eyebrow { color: var(--accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.primary, .buy, .hero-primary {
  background: linear-gradient(135deg, #bd593e, #dd7b5b);
  color: #fff;
  box-shadow: 0 14px 30px #aa51382a;
}
.primary:hover, .buy:hover { background: linear-gradient(135deg, #a94f36, #cc6749); }
.ghost, .secondary { border: 1px solid #d8ccbf; background: #fffaf6; color: #4f463e; box-shadow: none; }
.ghost:hover, .secondary:hover { background: #f2ebe3; }
.full { width: 100%; }

/* Announcement and navigation */
.announcement { border-bottom: 1px solid #e3d6c8; background: #f1e9df; color: #765344; font-size: 12px; }
.announcement .shell { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.announcement-dot { width: 8px; height: 8px; display: block; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #d9775720; }
.announcement a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px dashed #c99582; color: #9b4f38; font-weight: 800; text-decoration: none; }
.nav {
  position: sticky;
  top: 0;
  z-index: 70;
  width: min(1120px, calc(100% - 48px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 22px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: rgba(250, 247, 241, .94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 22px; font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; }
.brand-mark img { width: 28px; height: 28px; display: block; }
.nav nav { display: flex; gap: 29px; }
.nav nav a { min-height: 44px; display: flex; align-items: center; color: #655d55; font-size: 13px; font-weight: 650; text-decoration: none; }
.nav nav a:hover { color: var(--accent-dark); }
.order-link { min-height: 44px; padding: 10px 16px; border: 1px solid #d9cec1; border-radius: 999px; background: var(--white); color: #3e3832; font-size: 13px; font-weight: 800; cursor: pointer; }
.order-link:hover { background: #f1e9df; }

/* Hero */
.hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  padding-block: 64px 28px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20px;
  left: 50%;
  width: 820px;
  max-width: 100%;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, #d9775718 0, transparent 68%);
  pointer-events: none;
}
.hero-copy { max-width: 1080px; margin: auto; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 8px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #d9775718; }
.hero h1 { margin: 27px 0 20px; color: var(--ink); font-size: 70px; line-height: 1.02; font-weight: 850; letter-spacing: -.065em; }
.hero-highlight { min-height: 58px; margin-top: 10px; background: linear-gradient(90deg, #a84f36, #d97757, #b96545); background-clip: text; color: transparent; font-size: 36px; font-weight: 850; letter-spacing: -.04em; }
.hero #typewriterText { display: inline-block; min-width: 11em; }
.type-caret { display: inline-block; width: 2px; height: .78em; margin-left: 5px; background: var(--accent); vertical-align: -.04em; animation: caret-blink .8s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.hero-copy > p { max-width: 690px; margin: 22px auto 0; color: #6f675f; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; gap: 11px; margin: 25px 0 10px; }
.hero-primary { min-width: 248px; min-height: 62px; border-radius: 18px; font-size: 18px; box-shadow: 0 18px 34px #aa513838; }
.hero-primary span { font-size: 30px; line-height: 0; }
.pro-entry { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #71685f; font-size: 14px; text-decoration: none; }
.pro-entry b { padding: 4px 11px; border-radius: 999px; background: #f2dfd5; color: #a64e35; }
.pro-entry i { font-size: 22px; font-style: normal; }
.service-signal { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px auto 24px; }
.signal-icons { display: flex; }
.signal-icons span { width: 32px; height: 32px; display: grid; place-items: center; margin-left: -7px; border: 3px solid var(--white); border-radius: 50%; background: #ece5dc; color: #443d36; font-size: 10px; font-weight: 850; }
.signal-icons span:first-child { margin-left: 0; }
.service-signal > div:last-child { text-align: left; }
.service-signal strong, .service-signal small { display: block; }
.service-signal strong { color: #342f2a; font-size: 16px; }
.service-signal small { margin-top: 7px; color: #827970; font-size: 12px; }
.service-signal small i { width: 9px; height: 9px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #6ca777; box-shadow: 0 0 0 4px #6ca7771f; }
.hero-trust-grid { max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto 24px; }
.hero-trust-grid article { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 28px; border-right: 1px solid #e1d7cb; text-align: left; }
.hero-trust-grid article:last-child { border-right: 0; }
.trust-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 13px; background: #f2e1d7; color: #ad553b; }
.trust-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-trust-grid b, .hero-trust-grid small { display: block; }
.hero-trust-grid b { font-size: 16px; }
.hero-trust-grid small { margin-top: 5px; color: #81786f; font-size: 12px; }
#plans { padding-top: 58px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { position: relative; align-self: start; padding: 26px; border: 1px solid #e1d8cd; border-radius: 20px; background: var(--white); box-shadow: 0 14px 40px #4b37260b; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 22px 50px #4b372615; }
.plan.featured { padding: 25px; border: 2px solid var(--accent); }
.plan-cover { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; margin-bottom: 20px; border: 1px solid #d4cec4; background: #e8e4dc; }
.popular { position: absolute; top: -13px; right: 15px; padding: 7px 11px; border-radius: 999px; background: linear-gradient(135deg, #b85339, #da7656); color: #fff; font-size: 12px; font-weight: 800; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-icon { width: 46px; height: 46px; display: block; }
.product-icon img { width: 46px; height: 46px; }
.tag { padding: 7px 9px; border-radius: 999px; background: #f2dfd5; color: #a44d35; font-size: 12px; }
.tag.pale { background: #eee9e2; color: #6d655d; }
.plan h3 { margin: 21px 0 7px; font-size: 23px; }
.plan > p { color: #766f67; font-size: 13px; }
.price { display: flex; align-items: baseline; gap: 5px; margin: 21px 0; }
.price b { color: var(--ink); font-size: 36px; }
.price span { color: #777; font-size: 12px; }
.plans-loading .price b { color: #9a9188; }
.plan dl { margin: 0 0 16px; padding: 12px; border-radius: 12px; background: #f2ede6; }
.plan dl div { display: grid; grid-template-columns: 76px 1fr; padding: 4px 0; font-size: 12px; line-height: 1.45; }
.plan dt { color: #ae553b; font-weight: 800; }
.plan dd { margin: 0; color: #5f5952; }
.buy { width: 100%; min-height: 50px; border: 0; border-radius: 12px; font-weight: 800; cursor: pointer; }
.buy:disabled { cursor: wait; opacity: .58; box-shadow: none; filter: saturate(.35); }
.buy.consult { background: var(--ink); box-shadow: 0 10px 25px #33271f24; }
.buy.consult:hover { background: #3a332d; }
.plan-detail-button { width: 100%; min-height: 43px; margin-top: 10px; border: 1px solid #d9cec1; border-radius: 11px; background: #fffaf6; color: #7f4938; font-weight: 800; cursor: pointer; transition: .2s; }
.plan-detail-button:hover { border-color: #d29a83; background: #f8ece5; }
.plan-assurance-inline { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 5px 7px; border: 1px solid #e4cfc2; border-radius: 999px; background: #f9f2ec; color: #9e543d !important; font-size: 9px !important; font-weight: 800; line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
.plan-assurance-inline svg { width: 12px; height: 12px; flex: 0 0 12px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.plan-benefits { margin-top: 17px; border-top: 1px solid #ded9d0; }
.plan-benefits summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; list-style: none; font-size: 13px; font-weight: 800; cursor: pointer; }
.plan-benefits summary::-webkit-details-marker { display: none; }
.plan-benefits summary i { color: var(--accent-dark); font-style: normal; transition: transform .2s; }
.plan-benefits[open] summary i { transform: rotate(45deg); }
.plan-benefits ul { margin: 0; padding: 16px 0 4px; border-top: 1px dashed #d8d2c8; list-style: none; }
.plan li { margin: 11px 0; color: #56514a; font-size: 13px; }
.plan li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.plan-load-status { margin: 18px 0; padding: 14px 16px; border: 1px solid #e1c5b7; border-radius: 12px; background: #fff7f2; color: #8b4331; font-size: 13px; line-height: 1.6; }
.mobile-swipe-hint { display: none; }
.compare { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 16px 18px; border: 1px solid #e1d8cd; border-radius: 16px; background: var(--white); }
.compare span { font: 500 16px Georgia, serif; }
.compare p { flex: 1; color: #69635b; font-size: 12px; }
.compare button, .footer button { min-height: 44px; padding-inline: 10px; border: 0; background: none; color: var(--accent-dark); font-weight: 800; cursor: pointer; }

/* AI services banner */
.ai-service-banner { position: relative; isolation: isolate; min-height: 174px; display: grid; grid-template-columns: minmax(280px, 1.1fr) auto auto; align-items: center; gap: 34px; margin-top: 24px; padding: 30px 34px; overflow: hidden; border: 1px solid #ddcfc2; border-radius: 22px; background: linear-gradient(118deg, #fffdf9 0%, #f4e8de 58%, #ead7ca 100%); box-shadow: var(--shadow-md); color: var(--ink); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.ai-service-banner::before { content: ""; position: absolute; z-index: -1; top: -150px; right: 18%; width: 250px; height: 250px; border-radius: 50%; background: #d9775718; box-shadow: 0 0 70px 20px #d9775710; }
.ai-service-banner:hover { transform: translateY(-3px); border-color: #d9ad98; box-shadow: 0 22px 50px #4b372617; }
.ai-service-copy > span { display: block; margin-bottom: 9px; color: #a5533b; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.ai-service-copy h3 { margin: 0 0 8px; font-size: 27px; letter-spacing: -.035em; }
.ai-service-copy p { max-width: 470px; margin: 0; color: #71685f; font-size: 12px; line-height: 1.7; }
.ai-service-models { display: flex; align-items: center; gap: 10px; }
.ai-model { min-width: 112px; display: grid; grid-template-columns: 36px auto; align-items: center; gap: 9px; padding: 9px 12px 9px 9px; border: 1px solid #dfd4c8; border-radius: 14px; background: #fffdf9cc; box-shadow: 0 7px 18px #4b372608; }
.ai-model b { font-size: 12px; }
.ai-model-icon { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; }
.ai-model-icon img { width: 21px; height: 21px; display: block; object-fit: contain; }
.ai-model.claude .ai-model-icon { background: #f1d9cd; }
.ai-model.grok .ai-model-icon { background: #0a0a0a; }
.ai-model.grok .ai-model-icon img { width: 22px; height: 22px; }
.ai-model.gemini .ai-model-icon { background: linear-gradient(145deg, #d8d0f4, #f2d6df 55%, #d9e7f0); }
.ai-model.more .ai-model-icon { background: #eee6dc; color: #8a776a; }
.ai-model.more b { color: #655d55; }
.more-dots { font-size: 12px; font-weight: 900; letter-spacing: 1px; }
.ai-service-enter { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 13px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.ai-service-enter b { font: inherit; }
.ai-service-enter i { font-size: 17px; font-style: normal; transition: transform .2s; }
.ai-service-banner:hover .ai-service-enter i { transform: translate(2px, -2px); }

/* Purchase notice */
.notice-wrap { background: #f0eae2; }
.notice-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.notice-grid > div:first-child p { color: var(--muted); line-height: 1.7; }
.notice-list article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid #ddd3c7; }
.notice-list article > b { color: #b45a3f; font-size: 11px; }
.notice-list h3 { margin: 0 0 7px; font-size: 15px; }
.notice-list p { margin: 0; color: #6e675f; font-size: 13px; line-height: 1.6; }

/* Recharge process */
.process-section { overflow: hidden; background: var(--white); }
.process-section .center-head { margin-bottom: 50px; }
.process-layout { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 58px; }
.process-list { display: grid; gap: 16px; }
.process-step { width: 100%; display: grid; grid-template-columns: 58px 1fr; align-items: start; gap: 18px; padding: 26px 28px; border: 1px solid transparent; border-radius: 20px; background: transparent; color: var(--ink); text-align: left; box-shadow: none; transition: .25s; }
.process-step:hover { background: #f5f0ea; }
.process-step > span { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid #dfd5c9; border-radius: 50%; background: var(--white); color: #9b8f83; font-size: 18px; }
.process-step h3 { margin: 2px 0 8px; font-size: 24px; }
.process-step p { margin: 0; color: #71685f; font-size: 14px; line-height: 1.7; }
.process-step.active { border-color: #dfaa95; background: #f7e8df; box-shadow: 0 12px 28px #aa51380d; }
.process-step.active > span { border-color: var(--accent); background: linear-gradient(135deg, #b85339, #da7656); color: #fff; box-shadow: 0 9px 20px #aa51383d; }
.process-visual { overflow: hidden; padding: 0 32px 34px; border-radius: 22px; background: var(--soft); box-shadow: 0 22px 58px #4b372612; }
.browser-chrome { height: 58px; display: flex; align-items: center; gap: 8px; margin: 0 -32px 28px; padding: 0 23px; border-bottom: 1px solid #dfd6cc; background: var(--white); }
.browser-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #ddd4c9; }
.browser-chrome span { margin-left: 14px; color: #a0a8b6; font-size: 11px; }
.process-screen { padding: 24px; border: 1px solid #dfd6cc; border-radius: 17px; background: var(--white); }
.process-success { min-height: 190px; display: grid; place-items: center; padding: 28px; border: 1px solid #bcefd8; border-radius: 17px; background: linear-gradient(145deg, #ecfdf5, #f3fff9); text-align: center; }
.process-success > span { width: 66px; height: 66px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; background: #10b981; color: #fff; box-shadow: 0 13px 30px #10b98130; font-size: 30px; }
.process-success b, .process-success small { display: block; }
.process-success b { color: #047857; font-size: 23px; }
.process-success small { margin-top: 8px; color: #15966d; font-size: 13px; }
.process-data { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.process-data article { min-width: 0; padding: 18px; border: 1px solid #e1d7cb; border-radius: 14px; background: #f6f1eb; }
.process-data small, .process-data code, .process-data strong { display: block; }
.process-data small { color: #9b9085; font-weight: 800; }
.process-data code, .process-data strong { margin-top: 17px; overflow-wrap: anywhere; color: #4a423a; font-size: 13px; }
.process-action { width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ink); color: #fff !important; }
.process-action:hover { background: #3a332d; }
.process-caption { margin: 13px 0 0; color: #9b9085; font-size: 10px; text-align: center; }

/* After-sales and reviews */
.support-wrap { background: #ebe4da; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-grid article { padding: 28px; border: 1px solid #d5cfc5; border-radius: 18px; background: var(--white); box-shadow: 0 12px 34px #4b37260a; }
.support-grid article.can { border-top: 3px solid #70826b; }
.support-grid article.cannot { border-top: 3px solid #c06345; }
.support-grid article > span { padding: 6px 8px; font-size: 10px; font-weight: 800; }
.support-grid .can > span { background: #e2eadc; color: #536448; }
.support-grid .cannot > span { background: #f0dad2; color: #934329; }
.support-grid h3 { font: 500 21px Georgia, serif; }
.support-grid ul { padding-left: 19px; }
.support-grid li { color: #5f5952; font-size: 13px; line-height: 1.8; }
.rule-note { margin: 22px 0 0; color: #756f66; font-size: 12px; text-align: center; }
.detail-stories { padding-bottom: 52px; background: linear-gradient(180deg, #f8f5ef, #eee8df); }
.detail-pill { display: inline-flex !important; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid #e6cbbb; border-radius: 999px; background: #f5e6dc; }
.detail-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.story-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; scrollbar-width: none; }
.story-track::-webkit-scrollbar { display: none; }
.story-track article { position: relative; min-height: 270px; padding: 30px; border: 1px solid #e3e7ef; border-radius: 20px; background: var(--white); box-shadow: 0 16px 42px #4b37260b; }
.quote-mark { position: absolute; top: 14px; right: 24px; color: #f0ddd2; font: 700 54px Georgia, serif; }
.story-track article > p { min-height: 116px; margin: 12px 0 25px; color: #655d55; font-size: 15px; line-height: 1.9; }
.story-track article > div { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid #eee5dc; }
.story-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #c66446; color: #fff; font-weight: 850; }
.story-avatar.cyan { background: #8b705d; }
.story-avatar.green { background: #6f7b65; }
.story-track b, .story-track small { display: block; }
.story-track small { margin-top: 3px; color: #958a80; }
.story-track em { padding: 5px 9px; border: 1px solid #ddd3c7; border-radius: 999px; color: #71685f; font-size: 10px; font-style: normal; }

/* FAQ */
.faq-wrap { background: #f4efe8; }
.faq-shell { max-width: 1040px; }
.faq-shell .center-head { margin-bottom: 42px; }
.faq-search { height: 64px; display: flex; align-items: center; gap: 13px; padding: 0 22px; border: 1px solid #dfe4eb; border-radius: 18px; background: var(--white); box-shadow: 0 6px 14px #4b37260a; }
.faq-search > span { color: #9c9186; font-size: 30px; }
.faq-search input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; scrollbar-width: none; }
.faq-tabs::-webkit-scrollbar { display: none; }
.faq-tabs button { min-height: 44px; padding: 9px 20px; border: 1px solid #dfe4eb; border-radius: 999px; background: var(--white); color: #655d55; cursor: pointer; }
.faq-tabs button.active { border-color: var(--accent); background: linear-gradient(135deg, #b85339, #da7656); color: #fff; }
.accordions { display: grid; gap: 12px; }
.accordions details { padding: 0 24px; border: 1px solid #dfe4eb; border-radius: 18px; background: var(--white); box-shadow: 0 6px 14px #4b37260a; }
.accordions summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0; list-style: none; font-size: 15px; font-weight: 800; cursor: pointer; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary i { color: #b35a3f; font-style: normal; transition: .2s; }
.accordions details p { margin: 0 -24px; padding: 0 24px 20px; border-top: 1px solid #eee5dc; color: #655f57; font-size: 13px; line-height: 1.7; }
.accordions details[open] p { padding-top: 17px; }
.accordions details[open] summary i { transform: rotate(180deg); }
.faq-empty { padding: 30px; border: 1px dashed #d5cabd; border-radius: 18px; color: #81766d; text-align: center; }
.faq-contact { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 22px 24px; border-radius: 18px; background: #efe4db; }
.faq-contact span { font-weight: 800; }

/* Footer */
.footer { padding: 60px 0 24px; background: var(--ink); color: #fff; }
.brand.light { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); align-items: start; gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-grid > div > b { margin-bottom: 9px; font-size: 12px; }
.footer-grid > div:first-child > p { white-space: pre-line; }
.footer-grid p, .footer-grid a, .footer-grid button { color: #aaa39a; font-size: 12px; line-height: 1.5; text-decoration: none; }
.footer-grid a, .footer-grid button { min-height: 44px; display: flex; align-items: center; padding-block: 8px; }
.copyright { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid #ffffff17; color: #817a72; font-size: 12px; }

/* Shared dialogs and forms */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; background: #211e1abd; opacity: 0; pointer-events: none; backdrop-filter: blur(6px); transition: opacity .2s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; width: min(430px, calc(100% - 28px)); max-height: min(760px, calc(100vh - 32px)); overflow: auto; padding: 30px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(12px); transition: transform .2s; }
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; top: 7px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #777; font-size: 22px; cursor: pointer; transition: background .2s, color .2s; }
.modal-close:hover { background: #f1e8df; color: #a84f36; }
.modal h2 { margin: 7px 0; font: 500 28px Georgia, serif; }
.modal-card > p { color: #706960; font-size: 12px; line-height: 1.6; }
.checkout-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 17px 0; padding: 12px; background: #f0eae2; }
.checkout-trust span { font-size: 10px; }
.modal label, .pay-methods legend { font-size: 11px; font-weight: 800; }
.modal input { width: 100%; margin-top: 7px; padding: 13px; border: 1px solid #cec8be; background: #fff; }
.modal input.invalid { border-color: var(--danger); background: #fff7f5; }
.modal input.valid { border-color: var(--success); }
.field-help, .field-error { min-height: 17px; display: block; margin-top: 6px !important; font-size: 11px !important; text-align: left !important; }
.field-help { color: #777; }
.field-error { color: var(--danger); }
.pay-methods { margin: 16px 0 4px; padding: 0; border: 0; }
.pay-methods legend { margin-bottom: 8px; }
.pay-methods label { display: inline-flex; align-items: center; gap: 7px; margin: 0 8px 0 0; padding: 10px 13px; border: 1px solid #cec8be; background: #fff; cursor: pointer; }
.pay-methods label:has(input:checked) { border-color: var(--accent); background: #fff3ed; }
.pay-methods input { width: auto; margin: 0; accent-color: var(--accent); }
.pay-methods span { font-size: 12px; }
.order-summary, .wechat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 15px 0; padding: 14px; background: #f0eae2; }
.order-summary strong { font-size: 23px; }
.payment-amount-notice { display: flex; align-items: flex-start; gap: 7px; margin: -6px 0 15px; color: #9f4d36; font-size: 11px; font-weight: 750; line-height: 1.55; }
.payment-amount-notice span { flex: 0 0 15px; width: 15px; height: 15px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; background: #c96549; color: #fff; font: 800 10px/1 Arial, sans-serif; }
#orderLegal a { color: var(--accent-dark); font-weight: 800; text-underline-offset: 2px; }
.modal-card > small { display: block; margin-top: 10px; color: #8d867e; font-size: 10px; text-align: center; }
.copy-disabled { opacity: .5; cursor: not-allowed !important; }
.order-result { margin: 18px 0 4px; padding: 17px; border-left: 3px solid var(--accent); background: #f1e9e1; }
.order-result h3 { margin: 0 0 12px; font-size: 17px; }
.order-result > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid #d7d1c7; font-size: 12px; }
.order-result > div b { overflow-wrap: anywhere; text-align: right; }
.order-result p { margin: 13px 0 0; color: #655f57; font-size: 12px; line-height: 1.65; }
#orderNoWrap input { display: block; }
.result-actions { display: flex; gap: 8px; margin-top: 14px; }
.result-actions button { flex: 1; }
.lookup-order-card { margin-top: 13px; padding: 14px; border: 1px solid #ded3c7; border-radius: 12px; background: #fffdf9; }
.lookup-order-card:first-of-type { margin-top: 0; }
.payment-countdown b { color: #a95138; font-variant-numeric: tabular-nums; }
.card-code { display: grid !important; grid-template-columns: 1fr auto !important; align-items: center; }
.card-code button { padding: 6px 9px; border: 1px solid #c9c2b8; background: #fff; color: var(--ink); cursor: pointer; }

/* Product details */
.product-detail-card { width: min(720px, calc(100% - 28px)); max-height: min(88vh, 820px); overflow: auto; }
.product-detail-cover { height: 190px; margin: -6px 0 24px; border: 1px solid #e2d6ca; border-radius: 16px; background-position: center; background-size: cover; background-repeat: no-repeat; }
.product-detail-card > h2 { margin-bottom: 8px; }
.product-detail-card > #productDetailIntro { margin: 0 0 22px; color: var(--muted); line-height: 1.75; }
.product-detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.product-detail-meta article { min-width: 0; padding: 14px 15px; border: 1px solid #e3d9ce; border-radius: 12px; background: #f5efe8; }
.product-detail-meta small, .product-detail-meta strong { display: block; }
.product-detail-meta small { color: #96887c; font-size: 10px; font-weight: 800; }
.product-detail-meta strong { margin-top: 6px; overflow-wrap: anywhere; color: #3e3731; font-size: 12px; }
.product-detail-content { padding: 18px; border-left: 3px solid var(--accent); background: #f6efe8; color: #5d554d; line-height: 1.85; white-space: pre-line; }
.product-detail-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 20px; margin: 20px 0; padding: 0; list-style: none; }
.product-detail-benefits li { position: relative; padding-left: 19px; color: #554d46; font-size: 12px; line-height: 1.65; }
.product-detail-benefits li::before { content: "✓"; position: absolute; left: 0; color: #a95038; font-weight: 900; }

/* Customer service */
.service-card { text-align: center; }
.qr-box { width: 220px; height: 220px; display: grid; place-items: center; margin: 20px auto; padding: 10px; border: 1px solid #cfc8bd; background: #fff; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder svg, .qr-placeholder b, .qr-placeholder small { display: block; }
.qr-placeholder svg { width: 34px; height: 34px; margin: 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qr-placeholder b { margin: 8px 0; font-size: 12px; }
.qr-placeholder small { color: #999; font-size: 10px; }
.wechat-row { text-align: left; }
.wechat-row span { color: #777; font-size: 11px; }
.wechat-row strong { font-size: 16px; }
.wechat-row button { padding: 8px 12px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.service-hours, .service-note { color: #897d72 !important; font-size: 11px !important; line-height: 1.6; }
.service-note { display: block; margin-top: 13px; text-align: center; }

/* Local browser order history */
#orderModal .modal-card { max-height: min(92vh, 820px); }
.local-order-history { overflow: hidden; margin: 16px 0; border: 1px solid #ded3c7; border-radius: 13px; background: #fffaf6; }
.local-history-toggle { width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.local-history-toggle span > * { display: block; }
.local-history-toggle b { font-size: 13px; }
.local-history-toggle small { margin-top: 4px; color: #8b7f74; font-size: 10px; }
.local-history-toggle i { color: #a95138; font-size: 18px; font-style: normal; transition: transform .2s; }
.local-history-toggle.open i { transform: rotate(180deg); }
.local-history-panel { padding: 0 12px 12px; border-top: 1px solid #e7ddd3; }
.local-history-list { max-height: 310px; display: grid; gap: 9px; overflow: auto; padding-top: 12px; }
.local-history-list article { overflow: hidden; border: 1px solid #e2d7cb; border-radius: 11px; background: #fff; }
.local-order-select { width: 100%; display: grid; gap: 7px; padding: 12px; border: 0; background: #fff; color: #3f3832; text-align: left; cursor: pointer; }
.local-order-select:hover { background: #f9f2eb; }
.local-order-select > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.local-order-status { justify-self: start; padding: 4px 7px; border-radius: 999px; background: #eee8df; color: #675e56; font-size: 10px; line-height: 1.2; }
.local-order-status.pending_payment { background: #fff0e6; color: #aa5138; font-variant-numeric: tabular-nums; }
.local-order-status.fulfilled, .local-order-status.manual_completed { background: #e8f1e5; color: #55724f; }
.local-order-status.paid_waiting_stock, .local-order-status.manual_contacted { background: #fff4d9; color: #89651d; }
.local-resume-payment { width: calc(100% - 24px); min-height: 36px; margin: 0 12px 12px; border: 1px solid #c8694d; border-radius: 9px; background: #fff7f2; color: #a95138; font-size: 11px; font-weight: 800; cursor: pointer; }
.local-resume-payment:disabled { opacity: .55; cursor: wait; }
.local-order-select b { font-size: 12px; }
.local-order-select small { color: #968a7f; font-size: 9px; }
.local-order-select code { overflow-wrap: anywhere; font: 700 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.local-order-select em { color: #71675e; font-size: 10px; font-style: normal; }
.local-card-code { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px dashed #ded3c7; background: #f5eee7; }
.local-card-code span { color: #9b513b; font-size: 9px; font-weight: 800; }
.local-card-code code { overflow-wrap: anywhere; font-size: 10px; }
.local-card-code button, .local-history-clear { border: 0; background: transparent; color: #a95138; font-size: 10px; font-weight: 800; cursor: pointer; }
.local-history-clear { display: block; margin: 12px auto 0; }
.local-history-empty { margin: 0; padding: 15px 6px; color: #8a7f75; font-size: 10px; line-height: 1.6; text-align: center; }
.local-history-privacy { margin: 11px 0 0; padding: 10px 11px; border-radius: 9px; background: #f7eee6; color: #76685e; font-size: 11px; line-height: 1.6; }

/* Floating feedback */
.service-fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 7px 16px 7px 8px; border: 1px solid #9d482f; border-radius: 17px 17px 5px 17px; background: linear-gradient(135deg, #b85339, #da7656); color: #fff; box-shadow: 0 12px 30px #aa51383a; cursor: pointer; transition: opacity .2s, transform .2s; }
.service-fab:hover { transform: translateY(-2px); }
.service-fab-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: #fff; color: var(--accent-dark); }
.service-fab-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-fab-copy { display: grid; gap: 2px; text-align: left; }
.service-fab-copy b { font-size: 12px; line-height: 1.15; }
.service-fab-copy small { color: #fff3eb; font-size: 9px; line-height: 1.15; }
.service-fab.is-hidden, .mobile-buy.is-hidden { opacity: 0; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 88px; z-index: 150; padding: 11px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; opacity: 0; transform: translate(-50%, 20px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mobile-buy { display: none; transition: opacity .2s, transform .2s; }

/* Payment result */
.payment-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.payment-card { width: min(560px, 100%); padding: 36px; border: 1px solid var(--line); background: #fff; box-shadow: 0 20px 70px #33271f14; }
.payment-card > .kicker { display: block; margin-top: 38px; }
.payment-card h1 { margin: 10px 0; font: 400 34px Georgia, "Songti SC", serif; }
.payment-card > p { color: var(--muted); line-height: 1.7; }
.payment-details { margin: 22px 0; padding: 14px; background: var(--soft); }
.payment-details > div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.payment-details > div:last-child { border: 0; }
.payment-details b { overflow-wrap: anywhere; text-align: right; }
.payment-actions { display: flex; gap: 10px; }
.payment-card > small { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.redeem-guide { margin: 22px 0; padding: 20px; border: 1px solid #ddc7ba; border-radius: 16px; background: linear-gradient(135deg, #fffaf6, #f4e8df); }
.redeem-guide > div > span { display: block; color: #a95038; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.redeem-guide h2 { margin: 7px 0 6px; font-size: 19px; font-weight: 800; line-height: 1.3; }
.redeem-guide p { margin: 0; color: #756a61; font-size: 12px; line-height: 1.7; }
.redeem-guide strong { overflow-wrap: anywhere; color: #91422f; }
.redeem-guide .button { width: 100%; margin-top: 15px; }
.redeem-guide .button b { font-size: 17px; }
.redeem-guide > small { display: block; margin-top: 10px; color: #8b7f74; font-size: 10px; line-height: 1.6; text-align: center; }

/* Legal and 404 pages */
.legal-page { min-height: 100vh; background: #f8f4ee; }
.legal-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e0d6cb; background: #faf7f1ef; backdrop-filter: blur(14px); }
.legal-nav .shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.legal-nav a:last-child { color: #8d4633; font-size: 13px; font-weight: 800; text-decoration: none; }
.legal-main { padding-block: 64px 84px; }
.legal-hero { max-width: 760px; margin-bottom: 38px; }
.legal-hero h1 { margin: 14px 0 18px; font: 500 clamp(38px, 6vw, 64px) / 1.08 Georgia, "Songti SC", serif; }
.legal-hero p { color: #70675f; line-height: 1.8; }
.legal-sections { display: grid; gap: 18px; }
.legal-section { scroll-margin-top: 94px; padding: 30px; border: 1px solid #dfd4c8; border-radius: 18px; background: var(--white); box-shadow: 0 16px 38px #4b372609; }
.legal-section h2 { margin: 0 0 16px; font-size: 24px; }
.legal-section h3 { margin: 22px 0 8px; font-size: 15px; }
.legal-section p, .legal-section li { color: #625a53; font-size: 13px; line-height: 1.85; }
.legal-section ul { padding-left: 20px; }
.legal-note { padding: 14px 16px; border-left: 3px solid var(--accent); background: #f6e8df; }
.legal-updated { margin-top: 28px; color: #8c8178; font-size: 12px; }

@media (max-width: 1000px) {
  .ai-service-banner { grid-template-columns: 1fr auto; }
  .ai-service-copy { grid-column: 1 / -1; }
  .ai-service-models { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .nav { width: min(1120px, calc(100% - 48px)); border-radius: 0; }
  .nav nav { display: none; }
  .hero h1 { font-size: 60px; }
  .hero-trust-grid { max-width: 580px; grid-template-columns: 1fr; gap: 14px; }
  .hero-trust-grid article { justify-content: flex-start; padding: 14px; border-right: 0; border-bottom: 1px solid #e1d7cb; }
  .hero-trust-grid article:last-child { border-bottom: 0; }
  .support-grid, .notice-grid, .process-layout { grid-template-columns: 1fr; }
  .notice-grid, .process-layout { gap: 35px; }
  .plans { gap: 20px; }
  .plan { width: min(100%, 620px); margin-inline: auto; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-step { display: block; padding: 18px; }
  .process-step > span { margin-bottom: 15px; }
  .process-step h3 { font-size: 18px; }
  .story-track { grid-template-columns: 1fr; }
  .story-track article, .story-track article > p { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 74px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  main > section[id] { scroll-margin-top: 74px; }
  .shell { width: min(100% - 28px, 1120px); }
  .announcement .shell { min-height: 44px; width: min(100% - 24px, 1120px); justify-content: flex-start; font-size: 10px; }
  .announcement a { margin-left: auto; white-space: nowrap; }
  .announcement-dot { display: none; }
  .nav { width: min(100% - 28px, 1120px); height: 64px; padding-inline: 0; border-inline: 0; }
  .brand { font-size: 19px; }
  .section { padding-block: 52px; }
  .section h2 { font-size: 34px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head > p { margin-top: 14px; }
  .hero { width: min(100% - 28px, 980px); padding-block: 42px 28px; gap: 30px; }
  #plans { padding-top: 48px; }
  .hero h1 { margin-top: 22px; font-size: 43px; line-height: 1.08; }
  .hero-highlight { min-height: 38px; font-size: 25px; }
  .hero #typewriterText { min-width: 0; }
  .type-caret { height: .65em; }
  .hero-copy > p { font-size: 15px; line-height: 1.72; }
  .hero-actions { display: grid; margin: 24px 0 10px; }
  .button { width: 100%; }
  .hero-primary { width: 100%; min-width: 0; min-height: 58px; }
  .pro-entry { font-size: 12px; }
  .service-signal { align-items: flex-start; margin: 23px auto 27px; }
  .service-signal strong { font-size: 14px; }
  .signal-icons span { width: 28px; height: 28px; }
  .hero-trust-grid { gap: 0; margin-bottom: 25px; }
  .hero-trust-grid article { padding: 11px 4px; }
  .trust-icon { width: 43px; height: 43px; flex-basis: 43px; }
  .mobile-swipe-hint { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 0; color: #8c7f74; font-size: 11px; font-weight: 800; }
  .mobile-swipe-hint span { color: var(--accent-dark); font-size: 18px; }
  .plans { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; margin-inline: -14px; padding: 16px 14px 13px; scroll-padding-inline: 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plans .plan { min-width: 86%; margin-inline: 0; scroll-snap-align: center; }
  .plan, .plan.featured { padding: 20px; }
  .plan h3 { margin: 16px 0 6px; font-size: 22px; }
  .plan > p { margin: 0; }
  .price { margin: 15px 0; }
  .plan dl { margin-bottom: 11px; padding: 10px; }
  .plan-assurance-inline { max-width: 145px; margin-left: 3px; padding: 4px 6px; font-size: 8px !important; white-space: normal; }
  .plan-detail-button { min-height: 46px; margin-top: 8px; }
  .plan-benefits { margin-top: 11px; }
  .compare { display: block; margin-top: 15px; padding: 14px; }
  .compare button { padding: 0; }
  .ai-service-banner { grid-template-columns: 1fr; gap: 22px; margin-top: 20px; padding: 25px 20px; border-radius: 17px; }
  .ai-service-copy { grid-column: auto; }
  .ai-service-copy h3 { font-size: 24px; }
  .ai-service-models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .ai-model { min-width: 0; grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 9px 4px; }
  .ai-model b { font-size: 10px; }
  .ai-model-icon { width: 34px; height: 34px; }
  .ai-service-enter { width: 100%; }
  .notice-grid { gap: 26px; }
  .notice-list article { padding: 14px 0; }
  .process-section .center-head { margin-bottom: 24px; }
  .process-layout { gap: 22px; }
  .process-list { grid-template-columns: 1fr; gap: 10px; }
  .process-step { display: grid; grid-template-columns: 46px 1fr; padding: 14px; border-color: #e5ddd4; }
  .process-step > span { width: 40px; height: 40px; margin: 0; }
  .process-step h3 { font-size: 17px; }
  .process-step p { font-size: 12px; }
  .process-visual { padding: 0 14px 18px; border-radius: 17px; }
  .browser-chrome { height: 48px; margin: 0 -14px 16px; padding: 0 15px; }
  .process-screen { padding: 14px; }
  .process-success { min-height: 142px; padding: 17px; }
  .process-success > span { width: 49px; height: 49px; margin-bottom: 12px; }
  .process-success b { font-size: 19px; }
  .process-data { grid-template-columns: 1fr; }
  .process-data article { padding: 14px; }
  .process-data code, .process-data strong { margin-top: 10px; }
  .support-grid article { padding: 21px; }
  .story-track { display: flex; overflow-x: auto; margin-inline: -14px; padding: 0 14px 10px; scroll-snap-type: x mandatory; }
  .story-track article { min-width: 82%; scroll-snap-align: center; }
  .faq-search { height: 54px; padding-inline: 16px; }
  .faq-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 0 14px 4px; }
  .faq-tabs button { white-space: nowrap; }
  .accordions details { padding: 0 18px; }
  .accordions summary { min-height: 58px; }
  .accordions details p { margin: 0 -18px; padding-inline: 18px; }
  .faq-contact { display: grid; gap: 14px; text-align: center; }
  .footer { padding-top: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .copyright { display: block; line-height: 2; }
  .checkout-trust { grid-template-columns: 1fr; }
  .modal-card { max-height: calc(100dvh - 24px); padding: 25px; }
  .product-detail-card { max-height: 92vh; padding: 24px 20px; }
  .product-detail-cover { height: 145px; }
  .product-detail-meta, .product-detail-benefits { grid-template-columns: 1fr; }
  .product-detail-meta { gap: 8px; }
  .product-detail-content { padding: 15px; }
  .result-actions, .payment-actions { display: grid; }
  .card-code, .payment-details .card-code { grid-template-columns: 1fr !important; }
  .card-code button { width: 100%; }
  .qr-box { width: 180px; height: 180px; }
  #orderModal .modal-card { max-height: 94vh; }
  .local-history-list { max-height: 260px; }
  .local-order-select > span { align-items: flex-start; flex-direction: column; gap: 3px; }
  .local-card-code { grid-template-columns: 1fr auto; }
  .local-card-code span { grid-column: 1 / -1; }
  .local-order-select small, .local-card-code span { font-size: 10px; }
  .local-order-select em, .local-card-code code, .local-card-code button, .local-history-clear { font-size: 11px; }
  .service-fab { right: 12px; bottom: calc(81px + env(safe-area-inset-bottom)); min-width: 122px; min-height: 52px; padding: 7px 12px 7px 7px; border-radius: 16px 16px 5px 16px; }
  .service-fab-icon { width: 36px; height: 36px; border-radius: 12px; }
  .service-fab-copy b { display: block; font-size: 12px; }
  .service-fab-copy small { display: block; }
  .service-fab.context-hidden { visibility: hidden; opacity: 0 !important; pointer-events: none; }
  .live-tip { right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); left: 14px; width: auto; }
  .live-tip:not(.show) { display: none; }
  .mobile-buy { position: fixed; right: 0; bottom: 0; left: 0; z-index: 80; height: calc(68px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid #d1cbc1; background: var(--paper); }
  .mobile-buy small, .mobile-buy strong { display: block; }
  .mobile-buy small { color: #777; font-size: 9px; }
  .mobile-buy strong { font-size: 15px; }
  .mobile-buy button { min-height: 44px; display: flex; align-items: center; padding: 12px 22px; border: 0; border-radius: 11px; background: linear-gradient(135deg, #b85339, #da7656); color: #fff; font-size: 12px; font-weight: 800; }
  .payment-card { padding: 24px 20px; }
  .payment-card h1 { font-size: 28px; }
  .payment-details > div { align-items: flex-start; }
  .redeem-guide { padding: 17px; }
  .legal-nav .shell { min-height: 64px; }
  .legal-main { padding-block: 42px 64px; }
  .legal-hero { margin-bottom: 26px; }
  .legal-section { padding: 22px 18px; border-radius: 14px; }
  .legal-section h2 { font-size: 21px; }
}

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