/* Hot Coffee — Unit HC-2005
   Vending-machine world: teal wall, beige plastic panels, black rubber, chrome, LCD green; neon pink is the only hot accent.
   售货机世界观：青绿墙面、米色塑料面板、黑橡胶、镀铬、LCD 绿；霓虹粉是全站唯一的热色。 */

:root {
  --teal: #008285;
  --teal-deep: #015f61;
  --beige: #e8dcbd;
  --beige-light: #f4ecd9;
  --beige-dark: #cbb78c;
  --cream: #fff8ea;
  --ink: #181613;
  --ink-soft: #3b3630;
  --muted: #6e665a;
  --rubber: #161616;
  --rubber-soft: #242424;
  --chrome: #d2d6db;
  --lcd: #a9e65c;
  --lcd-bg: #9dd84e;
  --lcd-ink: #163311;
  --pink: #ff2a8d;
  --pink-deep: #c9115f;
  --mint: #19c7b5;
  --night: #0a0b0b;
  --line: rgba(24, 22, 19, 0.16);
  --line-light: rgba(255, 248, 234, 0.18);

  --pixel: 'Silkscreen', 'Courier New', monospace;
  --sans: 'Space Grotesk', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --hero-max: 1920px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--beige-light);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol { margin: 0; }
h2, h3, .section-intro, .night-line, .plate-lede { text-wrap: balance; }
ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Labels & headings / 标签与标题 */
.label, .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label-light { color: rgba(255, 248, 234, 0.7); }
.label-lcd { color: var(--lcd); }
.eyebrow { color: rgba(255, 248, 234, 0.82); }
.eyebrow .dot { color: var(--pink); padding: 0 0.35em; }

h2 {
  font-family: var(--pixel);
  font-weight: 700;
  font-size: clamp(28px, 3.7vw, 54px);
  line-height: 1.12;
  text-transform: uppercase;
  margin-top: 22px;
}
h2 em { font-style: normal; color: var(--pink); }

.section { padding: clamp(96px, 12vw, 168px) 0; }
.section-head { max-width: 760px; }
.section-head-center { margin: 0 auto; text-align: center; }
.section-intro { margin-top: 26px; max-width: 520px; font-size: 19px; color: var(--muted); }

/* Buttons: chunky plastic with a hard drop / 按钮：厚塑料感，硬阴影 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-pink { background: var(--pink); color: var(--cream); box-shadow: 0 4px 0 var(--pink-deep); }
.btn-pink:hover { background: #ff44a0; }
.btn-pink:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pink-deep); }
.btn-line { border: 2px solid currentColor; box-shadow: 0 4px 0 currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, 0.12); }
.btn-line:active { transform: translateY(3px); box-shadow: 0 1px 0 currentColor; }
.btn-text, .link-quiet {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.3s var(--ease);
}
.btn-text:hover, .link-quiet:hover { color: var(--pink-deep); }
.link-quiet { font-size: 11.5px; color: var(--muted); border-bottom-color: var(--line); }

/* LCD / 液晶屏 */
.lcd {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 16px;
  border-radius: 8px;
  background: var(--lcd-bg);
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.07) 0 1px, transparent 1px 3px);
  color: var(--lcd-ink);
  box-shadow: inset 0 0 0 2px rgba(22, 51, 17, 0.35), inset 0 3px 8px rgba(0, 0, 0, 0.25), 0 0 0 4px var(--rubber);
}
.lcd-label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; opacity: 0.8; }
.lcd-text { font-family: var(--pixel); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
/* The address keeps its case / 地址不变大小写 */
.lcd-text-mono { font-family: var(--mono); font-size: 13.5px; text-transform: none; letter-spacing: 0.01em; }

/* Header / 页头 */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  max-width: var(--hero-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0 clamp(28px, 4vw, 60px);
  align-items: center;
  padding: 24px var(--gutter);
  color: var(--cream);
}
.monogram {
  font-family: var(--pixel);
  font-size: 28px;
  font-weight: 700;
  justify-self: start;
}
.monogram-light { color: var(--cream); }
.site-nav { display: flex; gap: clamp(24px, 3.4vw, 52px); }
.site-nav a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.site-nav a:hover { color: var(--pink); }
.header-right { justify-self: end; display: flex; align-items: center; gap: 24px; }
/* Own backdrop so it stays readable over the machine panel once the ticker pill appears / 自带底色，出现 ticker 胶囊后落在面板上也看得清 */
.header-social {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.header-social:hover { color: var(--pink); }
.header-ticker {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--cream);
  box-shadow: 0 3px 0 var(--pink-deep);
}
.header-ticker:hover { background: #ff44a0; }

/* Hero / 首屏 */
/* The photo is sized by height and pinned right so the machine is never cropped; the wall-and-floor strip
   (cut from the same photo) repeats sideways at the same scale, so the floor line runs through on any width.
   照片按高度缩放、靠右放，机器永不被裁；墙地条带（从同一张照片切出）按相同比例横向平铺，任何宽度下地平线都连续。 */
.hero {
  position: relative;
  height: max(720px, min(100svh, 62vw));
  overflow: hidden;
  isolation: isolate;
  background: var(--teal) url(../assets/hero-fill.webp) repeat-x 0 0 / auto 100%;
  color: var(--cream);
}
.hero-inner { position: relative; height: 100%; max-width: var(--hero-max); margin: 0 auto; }
/* Right of the content column the floor continues from the photo's own right edge, so there is no seam.
   内容区右侧的地面用照片自己右边缘的条带延续，不会出现拼接断层。 */
.hero-inner::after { content: ''; position: absolute; top: 0; bottom: 0; left: 100%; width: 100vw; z-index: 0; background: url(../assets/hero-fill-right.webp) repeat-x 0 0 / auto 100%; }
.hero-stage { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 3 / 2; z-index: 1; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* No zoom-in: the photo must meet the side strips pixel for pixel from the first frame / 不做缩放入场：照片要从第一帧起就和两侧条带严丝合缝 */
.hero-art img { object-fit: cover; object-position: 50% 100%; }

.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-48%);
  max-width: min(46vw, 620px);
}
.hero-title {
  margin-top: 22px;
  font-family: var(--pixel);
  font-weight: 700;
  font-size: clamp(56px, 7.4vw, 112px);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--pink);
  text-shadow: 0 0 28px rgba(255, 42, 141, 0.38);
}
.hero-lede { margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; font-weight: 500; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.hero .btn-line { color: var(--cream); }
.hero-lcd { margin-top: 32px; }
.hero-note { margin-top: 16px; max-width: 420px; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: rgba(255, 248, 234, 0.78); }
.hero-note a { border-bottom: 1px solid currentColor; }
.hero-note a:hover { color: var(--pink); }
.btn-copy-sm { padding: 8px 12px; font-size: 10.5px; }

.sticker {
  position: absolute;
  right: 9%;
  top: 56%;
  width: 11%;
  min-width: 130px;
  max-width: 200px;
  padding: 18px 14px 16px;
  border-radius: 6px;
  background: #fbf7ee;
  color: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(24, 22, 19, 0.12);
  transform: rotate(-7deg);
  font-family: var(--pixel);
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
}
.sticker::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -9px;
  width: 48px;
  height: 16px;
  margin-left: -24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform: rotate(2deg);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: 30px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 248, 234, 0.7);
}
.scroll-cue:hover { color: var(--cream); }

/* Marquee / 滚动字带 */
.marquee { background: var(--rubber); color: var(--cream); overflow: hidden; border-top: 3px solid var(--pink); }
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 52s linear infinite;
}
.marquee-track i { font-style: normal; color: var(--lcd); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 01 Service history / 来历 */
.timeline { margin-top: clamp(64px, 8vw, 104px); border-top: 2px solid var(--ink); }
.entry {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 24px clamp(32px, 6vw, 96px);
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.entry-time { font-family: var(--pixel); font-size: 18px; line-height: 1.5; color: var(--ink); }
.entry-time span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.entry-body { max-width: 720px; }
.entry-body > p { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; font-weight: 500; }
.entry-body .link-quiet { display: inline-block; margin-top: 18px; }
.entry-body strong { font-weight: 700; color: var(--pink-deep); }

.stamp {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 11px 6px;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}
.stamp-pink { color: var(--pink-deep); }
.stamp-mint { color: #0c9a8a; }

.notice {
  margin-top: 24px;
  padding: 22px 26px;
  border-left: 4px solid var(--pink);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px var(--line);
}
.notice p { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; font-weight: 600; }
.notice footer { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.notice .link-quiet { margin-left: 4px; }

/* 02 Machine rules / 三条规矩 */
.rules { background: var(--rubber); color: var(--cream); }
.rules h2 em { color: var(--lcd); }
.rules-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.rules-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.rules-figure figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: rgba(255, 248, 234, 0.55); }
.rule-list { margin-top: 44px; border-top: 1px solid var(--line-light); }
.rule-list li { display: grid; grid-template-columns: 84px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.rule-num { font-family: var(--pixel); font-size: 28px; line-height: 1.1; color: var(--lcd); }
.rule-list h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.2; }
.rule-list p { margin-top: 6px; color: rgba(255, 248, 234, 0.62); }
.specs {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px 24px;
  padding: 24px;
  border-radius: 12px;
  background: var(--rubber-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.04);
}
.specs dt { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 248, 234, 0.5); }
.specs dd { margin-top: 4px; font-size: 18px; font-weight: 500; }

/* Night service / 截图大字 */
/* Copy sits in the dark above the machine; the image fades in underneath so the two never overlap.
   文字放在机器上方的暗处，图从下方渐显，两者不重叠。 */
.night {
  position: relative;
  background: var(--night);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.night-art {
  position: relative;
  z-index: 0;
  order: 1;
  width: 100%;
  height: clamp(440px, 58vw, 860px);
  object-fit: cover;
  object-position: 50% 60%;
  margin-top: clamp(-150px, -9vw, -56px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%);
}
.night-copy { position: relative; z-index: 1; padding: clamp(96px, 10vw, 140px) var(--gutter) 0; text-align: center; }
.night-line {
  margin-top: 18px;
  font-family: var(--pixel);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 66px);
  line-height: 1.1;
  text-transform: uppercase;
}
.night-line + .night-line { margin-top: 8px; }
.night-pink { color: var(--pink); text-shadow: 0 0 30px rgba(255, 42, 141, 0.45); }
.night-sign { margin-top: 30px; font-family: var(--pixel); font-weight: 700; font-size: clamp(16px, 2vw, 26px); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); }
.night-sign-unit { font-size: 0.68em; color: rgba(255, 248, 234, 0.55); }

/* 03 Dispense / 邀请 */
.dispense { background: var(--beige-light); }
.dispense-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.dispense-actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }
.dispense-note { flex-basis: 100%; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--muted); }
.dispense .btn-line { color: var(--ink); }
.panel {
  padding: 28px 28px 24px;
  border-radius: 18px;
  background: var(--beige);
  box-shadow: inset 0 0 0 1px rgba(24, 22, 19, 0.12), inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 30px 60px -40px rgba(24, 22, 19, 0.6);
}
.panel-lcd { display: flex; width: 100%; justify-content: center; padding: 14px 16px; }
.panel-lcd .lcd-text { font-size: 16px; }
.coin-btn {
  appearance: none;
  display: block;
  width: 96px;
  height: 96px;
  margin: 28px auto 0;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
  color: var(--cream);
  font-family: var(--pixel);
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--pink-deep), 0 0 0 6px var(--rubber), 0 0 0 7px rgba(0, 0, 0, 0.1);
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease), background-color 0.3s var(--ease);
}
.coin-btn:hover { background: #ff44a0; }
.coin-btn:active, .coin-btn:disabled { transform: translateY(4px); box-shadow: 0 2px 0 var(--pink-deep), 0 0 0 6px var(--rubber), 0 0 0 7px rgba(0, 0, 0, 0.1); }
.coin-btn:disabled { cursor: default; }
.panel-note { margin-top: 18px; font-family: var(--mono); font-size: 12px; text-align: center; color: var(--muted); }
.info-board { margin-top: 26px; border-top: 2px solid var(--ink); }
.info-board > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-board dt { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.info-board dd { font-size: 20px; font-weight: 500; line-height: 1.3; }
.info-board dd span { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* 04 Service label / 合约 */
.label-section { background: var(--teal); color: var(--cream); }
.plate {
  position: relative;
  max-width: 920px;
  margin: 48px auto 0;
  padding: 14px;
  border-radius: 18px;
  background: var(--beige);
  color: var(--ink);
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(24, 22, 19, 0.2);
}
.plate-inner {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 80px) clamp(36px, 5vw, 56px);
  border-radius: 10px;
  border: 1px solid rgba(24, 22, 19, 0.28);
  background: var(--beige-light);
  text-align: center;
}
/* Chrome screws in the corners / 四角的镀铬螺丝 */
.plate-inner::before, .plate-inner::after, .plate::before, .plate::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--chrome) 45%, #7d848c 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.plate::before { left: 24px; top: 24px; }
.plate::after { right: 24px; top: 24px; }
.plate-inner::before { left: 10px; bottom: 10px; }
.plate-inner::after { right: 10px; bottom: 10px; }
.plate-stamp { position: absolute; top: clamp(24px, 4vw, 40px); right: clamp(20px, 4vw, 44px); width: clamp(84px, 10vw, 118px); transform: rotate(-12deg); }
.stamp-outer { fill: none; stroke: var(--pink-deep); stroke-width: 1.6; }
.stamp-inner { fill: var(--pink); stroke: var(--pink-deep); stroke-width: 1; }
.stamp-ring-text { font-family: var(--mono); font-size: 9.4px; font-weight: 700; letter-spacing: 0.14em; fill: var(--pink-deep); }
.stamp-mono { font-family: var(--pixel); font-size: 22px; font-weight: 700; fill: var(--cream); }
.plate-title { margin-top: 0; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; }
.plate-lede { margin: 20px auto 0; max-width: 460px; font-size: 19px; color: var(--ink-soft); }
.plate-rows { margin: 44px auto 0; max-width: 680px; text-align: left; border-top: 2px solid var(--ink); }
.plate-rows > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.plate-rows dt { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.plate-rows dd { font-size: 19px; font-weight: 500; }
.plate-ca-row dd { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.plate-ca { font-family: var(--mono); font-size: 14.5px; letter-spacing: 0.01em; word-break: break-all; color: var(--ink); }
.plate-note { flex-basis: 100%; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.btn-copy {
  appearance: none;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: 700 11.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-copy:hover { background: var(--ink); color: var(--cream); }
.btn-copy:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-copy.is-copied { background: var(--lcd-bg); border-color: var(--lcd-ink); color: var(--lcd-ink); box-shadow: 0 3px 0 var(--lcd-ink); }
.hero .btn-copy { border-color: var(--lcd-ink); color: var(--lcd-ink); box-shadow: 0 3px 0 var(--lcd-ink); }
.hero .btn-copy:hover { background: var(--lcd-ink); color: var(--lcd); }
.plate-foot { margin: 40px auto 0; max-width: 680px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.plate-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }

/* Footer / 页尾 */
.site-footer { background: var(--rubber); color: var(--cream); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 64px; align-items: start; }
.footer-line { font-size: 20px; font-weight: 500; line-height: 1.4; }
.footer-line span { font-weight: 400; color: rgba(255, 248, 234, 0.6); }
.footer-links { display: flex; flex-direction: column; gap: 10px; text-align: right; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links a:hover { color: var(--pink); }
.footer-small { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light); font-family: var(--mono); font-size: 12px; color: rgba(255, 248, 234, 0.5); }

/* Reveal / 滚动渐显 */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Tablet / 平板 */
@media (max-width: 1080px) {
  .site-nav { gap: 20px; }
  .rules-grid { grid-template-columns: 1fr; }
  .rules-figure { max-width: 520px; }
  .dispense-grid { grid-template-columns: 1fr; }
}

/* Phone / 手机 */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { grid-template-columns: 1fr auto; padding: 18px var(--gutter); }
  .site-nav { display: none; }
  .monogram { font-size: 24px; }
  .header-social { display: none; }

  .eyebrow { font-size: 11px; letter-spacing: 0.14em; }
  .hero-title { margin-top: 16px; font-size: clamp(46px, 13vw, 68px); }
  .hero-lede { margin-top: 16px; font-size: 16.5px; }
  .hero-actions { margin-top: 22px; gap: 14px 16px; }
  .btn { min-height: 50px; padding: 0 20px; font-size: 12.5px; }
  .hero-lcd { margin-top: 22px; }
  .scroll-cue { display: none; }

  .entry { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .rule-list li { grid-template-columns: 64px 1fr; }
  .rule-num { font-size: 22px; }
  .info-board > div { grid-template-columns: 96px 1fr; }
  .info-board dd { font-size: 18px; }

  .plate { padding: 8px; }
  .plate::before, .plate::after { display: none; }
  .plate-stamp { position: static; display: block; margin: 0 auto 18px; transform: rotate(-8deg); }
  .plate-rows > div { grid-template-columns: 1fr; gap: 6px; }
  .plate-foot { justify-content: flex-start; }
  .plate-links { justify-content: flex-start; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
}

/* Stacked hero (tablet and phone): copy first, then the machine fading up from below with the sticker on it.
   Stacked in flow so the copy never covers the machine on any screen height.
   堆叠首屏（平板和手机）：先文字，再从下方渐显的机器，贴纸叠在机器上；按文档流堆叠，任何屏高下文字都不压机器。 */
@media (max-width: 1080px) {
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-bottom: 8px;
    background: var(--teal);
  }
  .hero-inner { display: contents; }
  .hero-inner::after { display: none; }
  .hero-copy { position: relative; order: 1; inset: auto; transform: none; max-width: none; padding: 88px var(--gutter) 0; }
  .hero-stage { position: relative; order: 2; inset: auto; width: 100%; height: auto; aspect-ratio: 1 / 1; margin-top: -10vw; overflow: hidden; }
  .hero-art img {
    object-fit: cover;
    object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
  }
  /* The sticker rides on the machine, bottom right / 贴纸叠在机器右下角 */
  .sticker {
    right: 18%;
    top: auto;
    bottom: 12%;
    width: 124px;
    min-width: 0;
    padding: 14px 10px 12px;
    margin: 0;
    transform: rotate(-7deg);
    font-size: 11.5px;
    z-index: 2;
  }
  .scroll-cue { display: none; }
}
@media (max-width: 760px) {
  .hero-stage { aspect-ratio: 3 / 4; margin-top: -44vw; }
  .hero-art img { left: -10%; width: 120%; }
  .sticker { right: 9%; }
}

/* Night service on desktop: fit the whole machine; the photo's own black edges blend into the section.
   桌面端夜间服务：整台机器完整显示，照片的黑边和区块背景融为一体。 */
@media (min-width: 761px) {
  .night-art { object-fit: contain; }
}

/* Wide screens: the type scales up and the content column widens, so a 3440px monitor is not a 1440px page
   with more wall. 宽屏：字号整体放大、内容栏加宽，3440 的屏不是 1440 的页面加更多墙面。 */
@media (min-width: 2000px) {
  :root { --gutter: 96px; --max: 1600px; --hero-max: 2200px; }
  body { font-size: 20px; }
  .label, .eyebrow, .site-nav a, .header-social, .scroll-cue, .marquee-track { font-size: 14px; }
  .header-ticker { font-size: 15px; padding: 12px 20px; }
  .monogram { font-size: 34px; }
  h2 { font-size: 68px; }
  .section-intro { font-size: 23px; max-width: 620px; }
  .btn { min-height: 64px; padding: 0 32px; font-size: 16px; border-radius: 14px; }
  .btn-text, .link-quiet { font-size: 13.5px; }
  .lcd { gap: 18px; padding: 12px 12px 12px 20px; }
  .lcd-label { font-size: 13px; }
  .lcd-text { font-size: 17px; }
  .lcd-text-mono { font-size: 16px; }
  .btn-copy { font-size: 13px; padding: 12px 16px; }
  .btn-copy-sm { font-size: 12px; padding: 10px 14px; }
  .section-head { max-width: 1000px; }
  .hero-copy { max-width: 760px; }
  .hero-title { font-size: 150px; }
  .hero-lede { margin-top: 32px; font-size: 27px; }
  .hero-actions { margin-top: 44px; }
  .hero-note { font-size: 14.5px; max-width: 540px; }
  .sticker { font-size: 16px; padding: 22px 16px 20px; }
  .entry-time { font-size: 22px; }
  .entry-time span { font-size: 15px; }
  .entry-body { max-width: 860px; }
  .entry-body > p, .notice p { font-size: 31px; }
  .notice footer { font-size: 15px; }
  .stamp { font-size: 14px; }
  .rules-figure figcaption, .panel-note, .footer-small { font-size: 14px; }
  .rule-num { font-size: 34px; }
  .rule-list li { grid-template-columns: 100px 1fr; }
  .rule-list h3 { font-size: 33px; }
  .rule-list p { font-size: 20px; }
  .specs dt, .info-board dt, .plate-rows dt { font-size: 13px; }
  .specs dd { font-size: 21px; }
  .night-art { height: 1000px; }
  .night-line { font-size: 86px; }
  .night-sign { font-size: 30px; }
  .panel { padding: 36px 36px 30px; }
  .panel-lcd .lcd-text { font-size: 20px; }
  .coin-btn { width: 116px; height: 116px; font-size: 14px; }
  .info-board > div { grid-template-columns: 130px 1fr; }
  .info-board dd { font-size: 24px; }
  .info-board dd span { font-size: 16px; }
  .plate { max-width: 1120px; }
  .plate-rows { max-width: 820px; }
  .plate-rows > div { grid-template-columns: 180px 1fr; }
  .plate-rows dd { font-size: 23px; }
  .plate-ca { font-size: 17px; }
  .plate-note { font-size: 14px; }
  .plate-lede { font-size: 23px; max-width: 560px; }
  .plate-foot { max-width: 820px; }
  .footer-line { font-size: 24px; }
  .footer-links { font-size: 14px; }
}
@media (min-width: 3000px) {
  :root { --gutter: 120px; --max: 1900px; --hero-max: 2600px; }
  body { font-size: 22px; }
  .label, .eyebrow, .site-nav a, .header-social, .scroll-cue, .marquee-track { font-size: 16px; }
  .header-ticker { font-size: 17px; }
  .monogram { font-size: 40px; }
  h2 { font-size: 82px; }
  .section-intro { font-size: 26px; max-width: 700px; }
  .btn { min-height: 72px; padding: 0 36px; font-size: 18px; }
  .btn-text, .link-quiet { font-size: 15px; }
  .lcd-text { font-size: 20px; }
  .lcd-text-mono { font-size: 18px; }
  .section-head { max-width: 1200px; }
  .hero-copy { max-width: 900px; }
  .hero-title { font-size: 180px; }
  .hero-lede { font-size: 32px; }
  .hero-note { font-size: 16.5px; max-width: 640px; }
  .sticker { font-size: 19px; }
  .entry-body { max-width: 1000px; }
  .entry-body > p, .notice p { font-size: 36px; }
  .rule-list h3 { font-size: 38px; }
  .rule-list p { font-size: 23px; }
  .night-art { height: 1200px; }
  .night-line { font-size: 104px; }
  .night-sign { font-size: 36px; }
  .info-board dd { font-size: 27px; }
  .plate { max-width: 1300px; }
  .plate-rows dd { font-size: 26px; }
  .plate-ca { font-size: 19px; }
  .footer-line { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
