:root {
  --orange: #f26f21;
  --orange-deep: #c94b13;
  --yellow: #ffd15b;
  --cream: #fff2d4;
  --paper: #fff9ed;
  --ink: #21130d;
  --brown: #6e3216;
  --green: #2c6b44;
  --line: rgba(110, 50, 22, 0.18);
  --shadow: 0 18px 42px rgba(112, 52, 14, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--orange);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

button,
a {
  font: inherit;
}

.deck {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.slide {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  padding: max(24px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 209, 91, 0.48), transparent 31%),
    linear-gradient(180deg, var(--paper), var(--cream));
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(242, 111, 33, 0.06) 18px 19px),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(242, 111, 33, 0.05) 18px 19px);
}

.slide::after {
  content: "鹅香卤";
  position: absolute;
  right: -22px;
  bottom: 72px;
  z-index: -1;
  color: rgba(242, 111, 33, 0.08);
  font-size: 78px;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.topbar {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-logo {
  width: 178px;
  height: auto;
  display: block;
}

.topbar span {
  min-width: max-content;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.cover {
  background: var(--orange);
  color: white;
  justify-content: flex-end;
  padding-bottom: 82px;
}

.cover::before {
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 209, 91, 0.92) 0 118px, transparent 119px),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(255, 255, 255, 0.08) 26px 27px),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 255, 255, 0.07) 26px 27px);
}

.cover::after {
  content: "甄香卤鹅";
  color: rgba(255, 255, 255, 0.12);
}

.cover-stage {
  position: absolute;
  top: 94px;
  left: 0;
  right: 0;
  height: 45vh;
  min-height: 330px;
  pointer-events: none;
}

.sun-disc {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 216px;
  height: 216px;
  transform: translateX(-50%);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe17a, #ff9b24);
  box-shadow: 12px 12px 0 rgba(33, 19, 13, 0.16);
}

.mascot-full {
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 214px;
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 18px rgba(103, 40, 7, 0.28));
}

.receipt-card {
  position: absolute;
  right: 8px;
  bottom: 24px;
  width: 126px;
  padding: 14px 12px;
  transform: rotate(7deg);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff8df;
  color: var(--ink);
  box-shadow: 7px 8px 0 rgba(33, 19, 13, 0.14);
}

.receipt-card b,
.receipt-card span {
  display: block;
}

.receipt-card b {
  margin-bottom: 10px;
  color: var(--orange-deep);
  font-size: 14px;
}

.receipt-card span {
  padding: 7px 0;
  border-top: 1px dashed rgba(33, 19, 13, 0.28);
  font-size: 12px;
  font-weight: 800;
}

.cover-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.cover .eyebrow {
  color: #fff6c4;
}

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

h1 {
  margin-bottom: 14px;
  max-width: 8em;
  font-size: 38px;
  line-height: 1.03;
  letter-spacing: 0;
  text-shadow: 0 3px 0 rgba(33, 19, 13, 0.18);
}

.cover-copy p:last-child {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.next-hint {
  position: absolute;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.next-hint i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: nudge 1.35s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateY(5px) rotate(45deg);
  }
}

.page-head {
  width: min(100%, 720px);
  margin: 0 auto 20px;
}

.page-head h2 {
  margin: 0;
  max-width: 10em;
  font-size: 35px;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rationale .page-head h2,
.warning .page-head h2 {
  max-width: 100%;
  font-size: 40px;
  line-height: 1.04;
}

.reason-grid,
.ticket-list,
.prep-list,
.app-download-card,
.steps,
.manual-list,
.operation-board,
.reconcile-board,
.matrix,
.support-flow {
  width: min(100%, 720px);
  max-width: calc(100vw - 44px);
  margin-inline: auto;
}

.reason-grid {
  display: grid;
  gap: 12px;
}

.reason-grid article,
.manual-list article,
.operation-board div,
.reconcile-board article {
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 249, 237, 0.86);
  box-shadow: 6px 6px 0 rgba(242, 111, 33, 0.18);
}

.reason-grid b,
.manual-list span,
.operation-board b,
.reconcile-board b {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-deep);
  font-size: 20px;
  font-weight: 900;
}

.reason-grid p,
.manual-list p,
.operation-board span,
.reconcile-board p,
.steps p,
.support-flow span {
  margin: 0;
  color: var(--brown);
  line-height: 1.58;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.warning {
  background:
    linear-gradient(180deg, #fff7dd, #ffe0a3);
}

.stamp {
  position: absolute;
  top: 30px;
  right: 24px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 4px solid var(--orange);
  border-radius: 50%;
  color: var(--orange-deep);
  font-size: 24px;
  font-weight: 900;
  transform: rotate(12deg);
}

.warning-panel {
  width: min(100%, 720px);
  margin: 0 auto 18px;
  padding: 22px;
  border: 3px solid var(--orange-deep);
  border-radius: 8px;
  background: #fff9ed;
  box-shadow: var(--shadow);
}

.warning-panel p {
  margin: 0;
  color: var(--orange-deep);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
}

.ticket-list {
  display: grid;
  gap: 10px;
}

.ticket-list span {
  display: block;
  padding: 14px 16px;
  border-left: 9px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 900;
}

.prep {
  background:
    radial-gradient(circle at 86% 8%, rgba(242, 111, 33, 0.38), transparent 29%),
    linear-gradient(180deg, #fff9ed, #ffe6b8);
}

.prep-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-bottom: 16px;
  counter-reset: prep;
}

.prep-alert {
  width: min(100%, 720px);
  max-width: calc(100vw - 44px);
  margin: 0 auto 14px;
  padding: 12px 14px;
  border: 2px solid var(--orange-deep);
  border-radius: 8px;
  background: #fff1d0;
  color: var(--orange-deep);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  box-shadow: 5px 5px 0 rgba(201, 75, 19, 0.14);
}

.prep-list div {
  position: relative;
  width: 100%;
  min-height: 76px;
  padding: 13px 14px 13px 78px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 249, 237, 0.9);
  box-shadow: 5px 5px 0 rgba(242, 111, 33, 0.18);
  counter-increment: prep;
}

.prep-list div::before {
  content: "0" counter(prep);
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: rgba(201, 75, 19, 0.22);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.prep-list b {
  display: block;
  margin-bottom: 4px;
  color: var(--orange-deep);
  font-size: 21px;
  line-height: 1.1;
}

.prep-list span {
  display: block;
  max-width: 100%;
  color: var(--brown);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.app-download-card {
  padding: 14px;
  border: 3px solid var(--orange);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 209, 91, 0.28), transparent 42%),
    var(--orange);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.app-download-card p {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.download-grid {
  display: grid;
  gap: 10px;
}

.download-grid div,
.download-grid a {
  min-height: 104px;
  padding: 13px;
  border: 2px solid rgba(33, 19, 13, 0.2);
  border-radius: 8px;
  background: #fff9ed;
  color: var(--ink);
  text-decoration: none;
}

.download-grid strong,
.download-grid span,
.download-grid em {
  display: block;
}

.download-grid strong {
  color: #c7242c;
  font-size: 19px;
  font-weight: 900;
}

.download-grid span {
  margin-top: 6px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 900;
}

.download-grid em {
  margin-top: 6px;
  color: var(--orange);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.steps li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps span {
  color: var(--orange);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.manual {
  background:
    radial-gradient(circle at 84% 10%, rgba(242, 111, 33, 0.34), transparent 31%),
    linear-gradient(180deg, #fff9ed, #fff0ce);
}

.manual-list,
.operation-board,
.reconcile-board,
.support-flow {
  display: grid;
  gap: 12px;
}

.operations {
  background:
    linear-gradient(180deg, #ff8a2a, #fff0ca 56%);
}

.operations .page-head {
  margin-top: 82px;
}

.mascot-head {
  position: absolute;
  top: 24px;
  right: 18px;
  width: 118px;
  pointer-events: none;
  filter: drop-shadow(0 10px 13px rgba(92, 37, 8, 0.22));
}

.reconciliation {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 209, 91, 0.56), transparent 30%),
    linear-gradient(180deg, #fff9ed, #ffe8bb);
}

.reconcile-board article {
  min-height: 0;
}

.reconcile-board b {
  font-size: 25px;
}

.reconcile-board p {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 800;
}

.path-steps {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.path-steps span {
  position: relative;
  display: block;
  padding: 12px 14px;
  border: 2px solid rgba(33, 19, 13, 0.18);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.path-steps span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid var(--orange-deep);
  border-bottom: 2px solid var(--orange-deep);
  background: var(--yellow);
}

.settlement-card {
  display: grid;
  gap: 12px;
}

.settlement-row {
  padding: 13px;
  border-left: 9px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 241, 208, 0.86);
}

.settlement-row strong,
.settlement-row span {
  display: block;
}

.settlement-row strong {
  margin-bottom: 5px;
  color: var(--orange-deep);
  font-size: 18px;
}

.settlement-row span {
  color: var(--brown);
  font-weight: 900;
  line-height: 1.45;
}

.acceptance {
  background: linear-gradient(180deg, #fff9ed, #fbe8b8);
}

.matrix {
  display: grid;
  gap: 11px;
}

.matrix div {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 2px solid rgba(33, 19, 13, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brown);
  font-weight: 900;
  line-height: 1.35;
}

.matrix b {
  min-width: 44px;
  color: var(--orange-deep);
  font-size: 18px;
  flex: 0 0 auto;
}

.matrix span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.support {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 209, 91, 0.36), transparent 30%),
    var(--orange);
  color: white;
}

.support::after {
  color: rgba(255, 255, 255, 0.12);
}

.support .eyebrow,
.support .page-head h2 {
  color: white;
}

.support-flow div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 17px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(33, 19, 13, 0.18);
}

.support-flow b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 20px;
}

.support-flow span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.cta {
  width: min(100%, 720px);
  margin: 24px auto 0;
  min-height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.pager {
  position: fixed;
  right: 10px;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  display: grid;
  gap: 7px;
}

.pager button {
  width: 7px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(33, 19, 13, 0.22);
}

.pager button.active {
  background: var(--orange-deep);
}

@media (min-width: 760px) {
  .slide {
    padding-inline: 64px;
  }

  .topbar {
    left: 64px;
    right: 64px;
  }

  .brand-logo {
    width: 260px;
  }

  .cover {
    padding-left: calc(50vw + 16px);
    justify-content: center;
  }

  .cover-stage {
    top: 130px;
    left: 7vw;
    right: auto;
    width: 42vw;
    height: 58vh;
  }

  .mascot-full {
    width: 300px;
  }

  .sun-disc {
    width: 300px;
    height: 300px;
  }

  h1 {
    font-size: 64px;
  }

  .page-head h2 {
    font-size: 54px;
  }

  .rationale .page-head h2,
  .warning .page-head h2 {
    font-size: 70px;
  }

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

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

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

  .steps li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

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