/* 第三屏：关于文案 + 三列好评墙（参考 React Bits Wall of Love） */
.review-anchor {
  position: absolute;
  inset: 0 auto auto 0;
}

.wall-layout {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.wall-title {
  margin: 0 0 18px;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 740;
  text-wrap: balance;
}
.wall-title span { display: block; }
:root:not(:lang(zh)) .wall-title { font-size: clamp(34px, 3.3vw, 50px); }

.wall-advantages {
  display: grid;
  gap: 0;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}
.wall-advantages li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.wall-advantages li:last-child { border-bottom: 1px solid var(--line); }
.wall-advantage-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--wall-tone);
  background: color-mix(in srgb, var(--wall-tone) 14%, var(--panel));
}
.wall-advantage-icon .icon { width: 19px; height: 19px; }
.wall-advantages strong {
  display: block;
  font-size: 15px;
}
.wall-advantages small {
  color: var(--muted);
  font-size: 13px;
}
.wall-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px 22px;
}

[data-tone="blue"] { --wall-tone: #4d98ff; }
[data-tone="mint"] { --wall-tone: #2fae81; }
[data-tone="amber"] { --wall-tone: #e2a44d; }
[data-tone="violet"] { --wall-tone: var(--accent); }

.wall-block { min-width: 0; }
.wall-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 6px 12px;
}
.wall-heading h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.review-preview {
  display: inline-flex;
  padding: 4px 11px;
  border: 1px dashed color-mix(in srgb, var(--muted) 55%, transparent);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.review-preview[hidden],
.wall-empty[hidden],
.review-wall[hidden] { display: none; }
.wall-empty {
  margin: 0;
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: var(--glass);
  color: var(--muted);
}

.review-wall {
  --wall-gap: 16px;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: var(--wall-gap);
  height: clamp(480px, calc(100svh - 250px), 660px);
  overflow: hidden;
  border-radius: 26px;
  -webkit-mask-image: linear-gradient(transparent, #000 13%, #000 87%, transparent);
  mask-image: linear-gradient(transparent, #000 13%, #000 87%, transparent);
}
.review-wall:focus-visible { outline-offset: 6px; }
.wall-column { min-width: 0; }
.wall-track {
  display: grid;
  gap: var(--wall-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  animation: wall-rise var(--wall-duration, 40s) linear infinite;
}
.wall-column:nth-child(2) .wall-track { animation-direction: reverse; }
.review-wall:hover .wall-track,
.review-wall:focus-within .wall-track,
.review-wall:not([data-motion-visible]) .wall-track,
html[data-page-hidden] .wall-track { animation-play-state: paused; }
@keyframes wall-rise { to { transform: translateY(calc(-50% - var(--wall-gap) / 2)); } }

.wall-card {
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .35s;
}
.wall-card:hover {
  border-color: color-mix(in srgb, var(--wall-tone) 45%, var(--line));
  transform: translateY(-3px) rotate(-.4deg);
}
.wall-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.wall-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: url("/shop/landing/assets/reviews/avatars.webp") 0 0 / 300% 300% no-repeat;
  box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--line);
}
.wall-person strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.wall-topic {
  display: inline-block;
  margin-top: 2px;
  padding: 1px 8px;
  border-radius: 999px;
  color: var(--wall-tone);
  background: color-mix(in srgb, var(--wall-tone) 13%, transparent);
  font-size: 11.5px;
  font-weight: 650;
}
.wall-card blockquote {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 84%, var(--muted));
  font-size: 14.5px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.wall-card blockquote::before {
  content: "“";
  display: block;
  height: 22px;
  color: var(--wall-tone);
  font: 700 40px/1 Georgia, serif;
  opacity: .55;
}

.wall-tile {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border-radius: 20px;
  color: #fff;
  background: var(--wall-tone);
}
.wall-tile b {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1;
  letter-spacing: -.04em;
}
:root:not(:lang(zh)) .wall-tile b { font-size: clamp(24px, 2vw, 30px); }
.wall-tile span {
  font-size: 13px;
  opacity: .9;
}
.wall-tile::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 110px;
  height: 110px;
  border: 18px solid #ffffff24;
  border-radius: 50%;
}

/* 手机：评价排成一行横向滚动。脚本推进的是横向滚动位置，手指可以直接左右滑；
   纵向不可滚动，上下滑动交给网页 */
.review-wall[data-layout="row"] {
  display: block;
  height: auto;
  padding: 6px 0 30px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.review-wall[data-layout="row"]::-webkit-scrollbar { display: none; }
.review-wall[data-layout="row"] .wall-track {
  display: flex;
  width: max-content;
  animation: none;
}
.review-wall[data-layout="row"] :is(.wall-card, .wall-tile) {
  flex: none;
  width: min(76vw, 288px);
}

/* 第四屏：小票打印机（参考 Framesbase Outfit Receipt） */
.receipt-layout {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.receipt-title {
  margin: 0 0 18px;
  font-size: clamp(38px, 3.7vw, 54px);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-weight: 740;
  text-wrap: balance;
}
.receipt-title span { display: block; }

.receipt-hand-hint {
  margin: 28px 0 10px;
  color: var(--receipt-pen);
  font: 22px/1.2 var(--receipt-hand);
  transform: rotate(-2deg);
  transform-origin: left;
}

.receipt-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.receipt-methods button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 6px 16px -12px #3a456d80;
  transition: transform .25s cubic-bezier(.3, 1.8, .5, 1), background .2s, color .2s, border-color .2s;
}
.receipt-methods button:hover { transform: translateY(-2px); }
.receipt-methods i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--method);
}
.receipt-methods button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.payment-availability {
  margin: 20px 0 24px;
  color: var(--muted);
  font-size: 13px;
  max-width: 44em;
}

.payment-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px 20px;
}

:root {
  --receipt-desk: #5d6196;
  --receipt-paper: #f4f1e8;
  --receipt-thermal: #23221f;
  --receipt-pen: #2c3e9e;
  --receipt-hand: "Kaiti SC", STKaiti, KaiTi, "楷体", "Bradley Hand", "Segoe Print", cursive;
  --receipt-mono: ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
}
:root[data-sf-theme="dark"] {
  --receipt-desk: #33366a;
  --receipt-pen: #93a5ff;
}
:root:not(:lang(zh)) { --receipt-hand: "Bradley Hand", "Segoe Print", "Comic Sans MS", "Kaiti SC", KaiTi, cursive; }

.receipt-desk {
  position: relative;
  height: clamp(560px, calc(100svh - 210px), 700px);
  overflow: hidden;
  border-radius: 34px;
  user-select: none;
  background:
    linear-gradient(97deg, transparent 48.6%, #0000000f 49.6%, #ffffff0d 50.4%, transparent 51.4%),
    linear-gradient(181deg, transparent 31%, #0000000d 32%, #ffffff0a 33%, transparent 34%),
    linear-gradient(179deg, transparent 66%, #ffffff0d 67%, #0000000d 68%, transparent 69%),
    radial-gradient(120% 80% at 50% 30%, color-mix(in srgb, var(--receipt-desk) 88%, #fff), var(--receipt-desk) 70%, color-mix(in srgb, var(--receipt-desk) 80%, #000));
  box-shadow: 0 40px 80px -50px #1d2050;
}
.receipt-desk::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: .35;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.receipt-printer {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 34px;
  z-index: 3;
  height: 104px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fdfdfd, #e9e9e9 55%, #d9d9d9);
  box-shadow: 0 18px 26px #14182f59, inset 0 3px 0 #fff, inset 0 -5px 9px #00000014;
  cursor: pointer;
}
:root[data-sf-theme="dark"] .receipt-printer { filter: brightness(.9); }
.receipt-printer::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 22px;
  height: 13px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2b2b2b, #555);
  box-shadow: 0 3px 0 #fff;
}
.receipt-printer-label {
  position: absolute;
  left: 7%;
  top: 20px;
  color: #8b8e99;
  font: 700 11px/1 var(--receipt-mono);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.receipt-led {
  position: absolute;
  right: 7%;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9fd27b;
  box-shadow: 0 0 10px #b7f08c;
}
.receipt-desk[data-printing] .receipt-led {
  background: #ffb347;
  box-shadow: 0 0 12px #ffc770;
  animation: receipt-blink .35s steps(2) infinite;
}
.receipt-desk[data-printing] .receipt-printer { animation: receipt-shake .12s linear infinite; }
@keyframes receipt-blink { 50% { opacity: .3; } }
@keyframes receipt-shake { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }

.receipt-feed {
  position: absolute;
  inset: 116px 0 0;
  z-index: 2;
  overflow: hidden;
}

.receipt {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(352px, 84%);
  padding: 30px 30px 44px;
  background: var(--receipt-paper);
  color: var(--receipt-thermal);
  font: 12.5px/1.6 var(--receipt-mono);
  translate: -50% 0;
  transform-origin: 50% 0;
  cursor: grab;
  touch-action: pan-y;
  box-shadow: 0 16px 22px #14182f47;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 14px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 14px repeat-x;
}
.receipt:active { cursor: grabbing; }
.receipt p { margin: 0; }

.receipt-head { text-align: center; }
.receipt-head b {
  display: block;
  font-size: 15px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.receipt-head small {
  font-size: 10.5px;
  letter-spacing: .12em;
  opacity: .7;
}
.receipt-stars {
  margin: 10px 0;
  overflow: hidden;
  opacity: .8;
  letter-spacing: .3em;
  text-align: center;
  white-space: nowrap;
}
.receipt-name {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 4px;
}
.receipt-name .icon {
  width: 50px;
  height: 50px;
  stroke-width: 1.3;
}
.receipt-name strong {
  display: block;
  font: 800 28px/1.1 Geist, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: -.02em;
}
.receipt-name small {
  font-size: 11px;
  letter-spacing: .2em;
  opacity: .75;
}
.receipt-steps {
  display: grid;
  gap: 6px;
  margin: 12px 0 2px;
  padding: 0;
  list-style: none;
  counter-reset: receipt-step;
}
.receipt-steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  counter-increment: receipt-step;
}
.receipt-steps li::before { content: "0" counter(receipt-step); }
.receipt-line {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}
.receipt-line span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  opacity: .5;
}
.receipt-line span:nth-child(2)::before { content: "........................................................"; }
.receipt-circled { position: relative; }
.receipt-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}
.receipt-mood {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}
.receipt-barcode {
  display: flex;
  align-items: stretch;
  height: 46px;
}
.receipt-barcode i { background: var(--receipt-thermal); }
.receipt-thanks {
  margin-top: 12px !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
}
.receipt-sample {
  margin-top: 2px !important;
  font-size: 10px;
  letter-spacing: .1em;
  opacity: .6;
  text-align: center;
}

/* 蓝色手写批注：小票出纸后再逐个写上 */
.receipt-pen-row {
  position: relative;
  height: 28px;
  margin: 0 0 2px;
}
.receipt-pen-row-end { text-align: right; }
.receipt-pen {
  display: inline-block;
  color: var(--receipt-pen);
  font: 20px/1.3 var(--receipt-hand);
  white-space: nowrap;
  transform: rotate(var(--tilt));
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s cubic-bezier(.4, 0, .2, 1);
}
.receipt-pen.is-on { clip-path: inset(-30% -10% -30% 0); }
:root[data-sf-theme="dark"] .receipt-pen,
:root[data-sf-theme="dark"] .receipt-doodle,
:root[data-sf-theme="dark"] .receipt-circle ellipse { --receipt-pen: #2c3e9e; }
.receipt-circle {
  position: absolute;
  left: -8px;
  top: -6px;
  width: calc(100% + 16px);
  height: calc(100% + 12px);
  overflow: visible;
  pointer-events: none;
}
.receipt-circle ellipse {
  fill: none;
  stroke: var(--receipt-pen);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1s ease;
}
.receipt-circle.is-on ellipse { stroke-dashoffset: 0; }
.receipt-doodle {
  position: absolute;
  fill: none;
  stroke: var(--receipt-pen);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scale(0) rotate(-40deg);
  transition: transform .5s cubic-bezier(.3, 1.8, .5, 1);
}
.receipt-doodle.is-on { transform: none; }
.receipt-doodle-spark { right: 22px; top: 22px; width: 32px; height: 32px; }
.receipt-doodle-star { right: 24px; bottom: 46px; width: 28px; height: 28px; }

.receipt-desk-hint {
  position: absolute;
  right: 26px;
  bottom: 20px;
  z-index: 5;
  max-width: calc((100% - min(352px, 84%)) / 2 - 36px);
  margin: 0;
  color: #f4f1e8d9;
  font: 17px/1.25 var(--receipt-hand);
  text-align: right;
  transform: rotate(-3deg);
}
.receipt-hint-tap { display: none; }
/* 第五屏：订单旅程问答（参考 React Bits FAQ 8） */
.journey {
  --journey-rail: var(--accent);
  --journey-node: 22px;
  min-width: 0;
}
.journey-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.journey-title,
.closing-title {
  margin: 0 0 12px;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -.05em;
  font-weight: 740;
  white-space: pre-line;
}
.journey-search {
  position: relative;
  flex: 0 1 420px;
  margin-bottom: 30px;
}
.journey-search > .icon {
  position: absolute;
  left: 16px;
  top: 26px;
  transform: translateY(-50%);
  color: var(--muted);
}
.journey-search input {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  font-size: 15px;
  box-shadow: 0 10px 26px -20px #1d2050;
}
.journey-search input::-webkit-search-cancel-button { display: none; }
.journey-search input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 0; border-color: var(--accent); }
[data-faq-clear] {
  position: absolute;
  right: 10px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  font-size: 18px;
}
[data-faq-clear][hidden] { display: none; }
.journey-try {
  position: absolute;
  left: 4px;
  top: calc(100% + 8px);
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.journey-try button {
  padding: 0 5px;
  background: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
}

.journey-stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 40px 0 18px;
}
.journey-track {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: calc(var(--journey-node) / 2 - 1px);
  height: 2px;
  background: var(--line);
}
.journey-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--journey-progress, 0) * 100%);
  background: var(--journey-rail);
  transition: width .5s cubic-bezier(.22, 1, .36, 1);
}
.journey-marker {
  position: absolute;
  top: -26px;
  width: 34px;
  height: 20px;
  color: var(--journey-rail);
  transform: translateX(-50%);
  transition: left .5s cubic-bezier(.22, 1, .36, 1), opacity .3s;
}
.journey[data-searching] .journey-marker { opacity: 0; }
.journey-station {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 8px;
  background: none;
  text-align: center;
}
.journey-node {
  position: relative;
  z-index: 1;
  width: var(--journey-node);
  height: var(--journey-node);
  border: 2px solid color-mix(in srgb, var(--muted) 45%, var(--line));
  border-radius: 50%;
  background: var(--bg);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.journey-station.is-passed .journey-node { border-color: var(--journey-rail); }
.journey-station[aria-pressed="true"] .journey-node {
  border-color: var(--journey-rail);
  background: var(--journey-rail);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--journey-rail) 18%, transparent);
}
.journey-label strong {
  display: block;
  font-size: 16px;
}
.journey-label small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.journey-count {
  position: absolute;
  top: -8px;
  left: calc(50% + 10px);
  z-index: 2;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 700 11px/1.5 ui-monospace, Menlo, Consolas, monospace;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s, transform .25s;
}
.journey[data-searching] .journey-count { opacity: 1; transform: none; }
.journey-count[data-zero] { background: color-mix(in srgb, var(--muted) 45%, var(--line)); }

.journey-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px;
  min-height: 290px;
}
.journey-card {
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.journey-results.is-animated .journey-card { animation: journey-in .4s cubic-bezier(.22, 1, .36, 1) var(--delay) both; }
@keyframes journey-in { from { opacity: 0; transform: translateY(10px); } }
.journey-card header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.journey-tag {
  flex: none;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--journey-rail);
  background: color-mix(in srgb, var(--journey-rail) 12%, transparent);
  font-size: 11px;
  font-weight: 700;
}
.journey-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.journey-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.journey-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}
.journey-card a .icon { width: 14px; height: 14px; }
.journey mark {
  padding: 0 1px;
  border-radius: 3px;
  background: color-mix(in srgb, #ffd56a 70%, transparent);
  color: inherit;
}
.journey-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}
.journey-empty a { color: var(--accent); font-weight: 650; }
.journey-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.journey-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* 第六屏：巨字落款页脚（参考 React Bits Footer 9 / Footer 7） */
.closing { padding-bottom: 0; }
.closing-inner {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 120px);
}
.closing-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 64px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.closing-title { margin-bottom: 22px; }
.closing-form-title {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.closing-form > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13.5px;
}
.closing-field {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 0 14px 30px -24px #1d2050;
}
.closing-field:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.closing-field input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font-size: 14.5px;
}
.closing-field input:focus-visible { outline: none; }
.closing-field .button {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  gap: 10px;
}
.closing-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  cursor: pointer;
}
.closing-consent input {
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: var(--ink);
}
.closing-consent a { text-decoration: underline; text-underline-offset: 3px; }
.closing-result {
  display: block;
  min-height: 20px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.closing-result[data-state="success"] { color: #258766; }
.closing-result[data-state="error"] { color: #ce694d; }

.closing-mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  padding: 30px 0 6px;
}
.closing-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.closing-links nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
}
.closing-links h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
}
.closing-links a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  transition: color .2s;
}
.closing-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.closing-links a:hover { color: var(--ink); }
.closing-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.closing-back {
  display: grid;
  place-items: center;
  align-content: center;
  align-self: start;
  gap: 6px;
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
  text-align: center;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), background .2s, color .2s;
}
.closing-back .icon { width: 20px; height: 20px; color: var(--ink); }
.closing-back:hover { transform: translateY(-4px); background: var(--ink); color: var(--bg); }
.closing-back:hover .icon { color: var(--bg); }

.closing-wordmark {
  --wordmark-lift: 34px;
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 20px;
  overflow: hidden;
  font-weight: 850;
  line-height: .78;
  letter-spacing: -.04em;
  white-space: nowrap;
  user-select: none;
}
.closing-wordmark span {
  display: inline-block;
  color: transparent;
  /* 整个词共用一条三倍宽的渐变，每个字母取自身位置那一段，高光跟着鼠标 */
  background: linear-gradient(90deg, var(--ink) 0 43%, var(--accent) 48%, var(--jade) 52%, var(--ink) 57% 100%) no-repeat var(--ink);
  background-size: calc(var(--wordmark-width, 1000px) * 3) 100%;
  background-position: calc((var(--letter-x, 0px) + var(--wordmark-x, 2000px)) * -1) 0;
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(calc(var(--rise, 0) * var(--wordmark-lift) * -1));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-position .25s linear;
}
.closing-wordmark-gap { width: .22em; flex: none; }
.closing-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}
.closing-bottom > div { display: flex; gap: 20px; }
.closing-bottom a:hover { color: var(--ink); }

@media (hover: none) {
  .receipt-hint-drag { display: none; }
  .receipt-hint-tap { display: inline; }
}

@media (max-width: 1100px) {
  .wall-layout { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
  .receipt-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 980px) {
  .journey-head { flex-direction: column; align-items: stretch; gap: 18px; }
  .journey-search { flex-basis: auto; margin-bottom: 26px; }
  .closing-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
  .wall-layout { grid-template-columns: minmax(0, 1fr); }
  .review-wall { height: 560px; }
  .receipt-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .wall-title { font-size: 36px; }
  .review-wall { height: 480px; }
  .receipt-title { font-size: 34px; }
  .receipt-desk { height: 620px; border-radius: 26px; }
  .receipt-printer { left: 6%; right: 6%; }
  .receipt { padding: 26px 22px 40px; font-size: 11.5px; }
  .receipt-name strong { font-size: 24px; }
  .receipt-desk-hint { display: none; }
  .journey-title,
  .closing-title { font-size: 34px; }
  .journey-stations { margin-top: 36px; }
  .journey-station { padding: 0 2px; }
  .journey-label strong { font-size: 12px; overflow-wrap: anywhere; }
  .journey-card header { flex-direction: column; gap: 6px; }
  .journey-tag { margin-top: 0; }
  .journey-label small { display: none; }
  .journey-results { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .journey-card { padding: 16px 18px; }
  .journey-foot { flex-direction: column; align-items: flex-start; }
  .closing-inner { min-height: 0; }
  .closing-field .button { padding: 0 14px; font-size: 12px; }
  .closing-mid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .closing-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .closing-back { width: auto; height: auto; grid-auto-flow: column; justify-self: start; padding: 10px 16px; border-radius: 999px; }
  .closing-wordmark { margin-top: 28px; }
  .closing-bottom { flex-wrap: wrap; gap: 10px 16px; font-size: 11px; }
  .closing-bottom > span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wall-track,
  .receipt-desk[data-printing] .receipt-led,
  .receipt-desk[data-printing] .receipt-printer { animation: none; }
  .wall-card,
  .journey-track i,
  .journey-marker,
  .closing-wordmark span,
  .closing-links a::after,
  .closing-back,
  .receipt-pen,
  .receipt-circle ellipse,
  .receipt-doodle,
  .receipt-methods button { transition: none; }
  .review-wall {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .wall-copy { display: none; }
  .journey-results.is-animated .journey-card { animation: none; }
}
