:root {
  --green-950: #003f33;
  --green-900: #064c3d;
  --green-800: #075b46;
  --green-700: #08745a;
  --green-600: #07986f;
  --green-500: #14ad78;
  --green-300: #74d56c;
  --green-100: #e3f3dd;
  --green-050: #f1f7e9;
  --orange: #ff7a00;
  --sun: #ffc945;
  --cream: #f7f8ef;
  --paper: #ffffff;
  --ink: #073c32;
  --muted: #627a72;
  --line: #dce8dd;
  --shadow: 0 18px 50px rgba(0, 68, 50, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--green-950);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(116, 213, 108, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 72%, rgba(255, 201, 69, 0.15), transparent 24rem),
    var(--green-950);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
select,
input {
  font: inherit;
}

button,
a,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

.desktop-glow {
  position: fixed;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.25;
  pointer-events: none;
}

.desktop-glow--one {
  top: -10rem;
  left: -7rem;
  background: var(--green-300);
}

.desktop-glow--two {
  right: -10rem;
  bottom: -8rem;
  background: var(--orange);
}

.app-shell {
  position: relative;
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.26);
}

.brand-bar {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--green-950);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.brand-logo-crop {
  display: inline-grid;
  width: 40px;
  height: 40px;
  overflow: hidden;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  background: white;
}

.brand-logo-crop img {
  width: 40px;
  height: 44px;
  object-fit: cover;
  transform: translateY(-1px);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.unofficial-badge {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  white-space: nowrap;
}

.campus-hero {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #69a9df;
}

.campus-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.campus-hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 63, 51, 0.04) 30%, rgba(0, 63, 51, 0.84) 100%),
    linear-gradient(110deg, rgba(255, 201, 69, 0.12), transparent 42%);
}

.sun-mark {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.sun-mark::before,
.sun-mark::after {
  position: absolute;
  inset: -11px;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.sun-mark::after {
  inset: 8px;
  border: 0;
  background: rgba(255, 201, 69, 0.92);
}

.campus-source {
  position: absolute;
  top: 20px;
  left: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: white;
  background: rgba(0, 63, 51, 0.44);
  backdrop-filter: blur(8px);
  font-size: 11px;
}

.campus-caption {
  position: absolute;
  right: 20px;
  bottom: 58px;
  left: 20px;
  display: grid;
  color: white;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.campus-caption small {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.campus-caption strong {
  font-size: 20px;
  letter-spacing: 0.03em;
}

.claim-ticket {
  position: relative;
  z-index: 4;
  margin: -42px 14px 0;
  overflow: visible;
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.ticket-stub {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  border-bottom: 1px dashed #bad0c3;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.ticket-stub b {
  color: var(--orange);
}

.ticket-main {
  padding: 23px 21px 20px;
}

.eyebrow,
.section-kicker {
  color: var(--green-600);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
}

.eyebrow i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 122, 0, 0.11);
}

.claim-ticket h1 {
  margin: 13px 0 9px;
  color: var(--green-950);
  font-size: clamp(45px, 13vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.claim-ticket h1 em,
.share-card h3 em {
  color: var(--orange);
  font-style: normal;
}

.hero-lead {
  max-width: 18rem;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.promise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0;
}

.promise-row span {
  padding: 6px 9px;
  border: 1px solid #cfe5d1;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-050);
  font-size: 11px;
  font-weight: 650;
}

.primary-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-radius: 16px;
  color: white;
  background: var(--green-800);
  box-shadow: 0 10px 24px rgba(0, 97, 71, 0.2);
  cursor: pointer;
  font-weight: 760;
}

.primary-button b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--sun);
  font-size: 18px;
}

.primary-button:active,
.sticky-action button:active,
.secondary-button:active {
  transform: translateY(1px);
}

.ticket-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #7e918a;
  font-size: 10px;
  line-height: 1.4;
}

.people-dots {
  display: flex;
  padding-left: 7px;
}

.people-dots i {
  width: 18px;
  height: 18px;
  margin-left: -7px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--green-300);
}

.people-dots i:nth-child(2) { background: var(--sun); }
.people-dots i:nth-child(3) { background: var(--orange); }

.ticket-cut {
  position: absolute;
  top: 31px;
  width: 18px;
  height: 24px;
  border-radius: 999px;
  background: var(--cream);
}

.ticket-cut--left { left: -10px; }
.ticket-cut--right { right: -10px; }

.section {
  padding: 43px 18px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
}

.section h2 {
  margin: 7px 0 0;
  color: var(--green-950);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.sun-chip {
  padding: 7px 10px;
  border-radius: 999px;
  color: #895000;
  background: #ffedab;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.gift-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 10px 28px rgba(0, 68, 50, 0.08);
}

.gift-card--featured {
  grid-template-columns: 1fr;
  padding: 12px;
}

.gift-card--featured .gift-copy {
  padding: 4px 4px 3px;
}

.gift-art {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--green-100);
}

.product-shot {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #edf3e5;
}

.product-shot--postcard {
  display: grid;
  min-height: 132px;
  place-items: center;
  background: linear-gradient(145deg, #e4efcd, #f8f1d7);
}

.product-shot--trio {
  aspect-ratio: 1.42;
  background: #d6dfcd;
}

.product-shot--trio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.postcard-product {
  position: relative;
  width: 92px;
  overflow: hidden;
  padding: 5px 5px 17px;
  border-radius: 4px;
  background: white;
  box-shadow: 0 10px 20px rgba(0, 63, 51, 0.18);
  transform: rotate(-5deg);
}

.postcard-product img {
  display: block;
  width: 100%;
  aspect-ratio: 1.52;
  object-fit: cover;
}

.postcard-product span {
  position: absolute;
  right: 6px;
  bottom: 4px;
  left: 6px;
  overflow: hidden;
  color: var(--green-900);
  font-size: 6px;
  font-weight: 760;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-shot--keychain,
.product-shot--ring {
  height: 114px;
}

.product-shot--keychain {
  background: linear-gradient(145deg, #dceccf, #f6f4df);
}

.product-shot--keychain > img {
  position: absolute;
  z-index: 2;
  top: -20px;
  left: 50%;
  width: 88px;
  max-width: none;
  transform: translateX(-50%);
}

.keychain-campus-insert {
  position: absolute;
  z-index: 1;
  top: 54px;
  left: 50%;
  width: 50px;
  height: 52px;
  background: url("assets/pdf-campus-postcard-source.png") 45% 50% / cover;
  transform: translateX(-50%) rotate(14deg);
}

.product-shot--ring {
  background: #e9eef0;
}

.product-shot--ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gift-art--postcard {
  min-height: 132px;
  background: linear-gradient(145deg, #cdeba7 0%, #edf5d8 48%, #9edb83 100%);
}

.postcard-sun {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 7px rgba(255, 201, 69, 0.22);
}

.postcard-hill {
  position: absolute;
  right: -20px;
  bottom: -30px;
  left: -20px;
  height: 90px;
  border-radius: 50% 50% 0 0;
  background: var(--green-700);
  transform: rotate(-5deg);
}

.postcard-line {
  position: absolute;
  left: 15px;
  height: 4px;
  border-radius: 99px;
  background: rgba(0, 63, 51, 0.72);
}

.postcard-line--one { top: 28px; width: 37px; }
.postcard-line--two { top: 38px; width: 24px; }

.gift-copy {
  align-self: center;
}

.gift-tag {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 7px;
  color: white;
  background: var(--orange);
  font-size: 10px;
  font-weight: 700;
}

.gift-tag--green {
  background: var(--green-700);
}

.gift-copy h3 {
  margin: 10px 0 7px;
  color: var(--green-950);
  font-size: 16px;
}

.gift-copy p,
.bonus-section p,
.trust-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.mini-gift {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-gift--real {
  padding: 8px 8px 12px;
  background: white;
  box-shadow: 0 9px 24px rgba(0, 68, 50, 0.07);
}

.product-shot--real {
  aspect-ratio: 4 / 5;
  background: #e7ece6;
}

.product-shot--real img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-shot--real-ring img {
  object-position: 50% 53%;
}

.product-shot--real-keychain img {
  object-position: 52% 54%;
}

.real-photo-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: white;
  background: rgba(0, 63, 51, 0.72);
  box-shadow: 0 5px 14px rgba(0, 35, 27, 0.16);
  backdrop-filter: blur(7px);
  font-size: 8px;
  font-weight: 760;
}

.gift-card--compact {
  margin-top: 12px;
}

.mini-gift .product-shot {
  margin-bottom: 11px;
}

.mini-gift .gift-art {
  height: 114px;
  margin-bottom: 11px;
}

.mini-gift > span,
.mini-gift > small {
  display: block;
}

.mini-gift > span {
  color: var(--green-950);
  font-size: 14px;
  font-weight: 730;
}

.mini-gift > small {
  margin-top: 3px;
  color: #80948c;
  font-size: 10px;
}

.gift-art--keychain {
  display: grid;
  place-items: center;
  background: #e8f3d4;
}

.keychain-ring {
  position: absolute;
  top: 16px;
  width: 34px;
  height: 34px;
  border: 7px solid var(--green-700);
  border-radius: 50%;
}

.keychain-ring::after {
  position: absolute;
  top: 25px;
  left: 8px;
  width: 5px;
  height: 24px;
  content: "";
  border-radius: 99px;
  background: var(--orange);
}

.keychain-tag {
  position: absolute;
  top: 55px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--green-800);
  font-size: 24px;
  font-weight: 900;
}

.gift-art--ring {
  display: grid;
  place-items: center;
  background: #fff0c6;
}

.gift-art--ring span {
  position: relative;
  width: 61px;
  height: 61px;
  border: 13px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 12px 18px rgba(255, 122, 0, 0.18);
}

.gift-art--ring span::before {
  position: absolute;
  top: -21px;
  left: 7px;
  width: 20px;
  height: 12px;
  content: "";
  border-radius: 4px 4px 9px 9px;
  background: var(--green-800);
}

.photo-honesty {
  margin: 12px 2px 0;
  color: #82978f;
  font-size: 10px;
  line-height: 1.55;
}

.flow-section {
  margin: 45px 14px 0;
  padding: 28px 20px;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 201, 69, 0.26), transparent 8rem),
    var(--green-900);
}

.section-heading--light {
  align-items: center;
}

.section-heading--light h2,
.section-heading--light .section-kicker {
  color: white;
}

.section-heading--light .section-kicker {
  opacity: 0.56;
}

.arrow-spark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--sun);
  font-size: 26px;
  font-weight: 900;
}

.flow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.flow-list li:first-child { border-top: 0; }

.flow-list li > b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--green-950);
  background: var(--green-300);
  font-size: 12px;
}

.flow-list div {
  display: grid;
  gap: 4px;
}

.flow-list strong { font-size: 14px; }
.flow-list span { color: rgba(255, 255, 255, 0.62); font-size: 11px; }

.trust-section h2 {
  margin-bottom: 16px;
}

.trust-list {
  display: grid;
  gap: 9px;
}

.trust-list article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.trust-list article > span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.trust-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.bonus-section {
  margin: 44px 14px 0;
  padding: 24px 20px;
  border: 1px solid #d8e4bc;
  border-radius: 26px;
  background: #f2f5d9;
}

.bonus-section--task {
  border-color: #f2d391;
  background:
    radial-gradient(circle at 92% 9%, rgba(255, 201, 69, 0.7), transparent 8rem),
    #fff5d9;
}

.bonus-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.bonus-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: #7e4b00;
  background: var(--sun);
  font-size: 24px;
}

.bonus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 13px;
}

.bonus-tags span {
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--green-800);
  background: white;
  font-size: 11px;
  font-weight: 650;
}

.task-poster-button {
  margin-top: 17px;
  border-color: #efbc55;
  color: #794700;
  background: #fffaf0;
}

.page-footer {
  display: grid;
  justify-items: center;
  padding: 48px 30px 118px;
  text-align: center;
}

.footer-logo-crop {
  display: grid;
  width: 130px;
  height: 86px;
  overflow: hidden;
  place-items: center;
}

.footer-logo-crop img {
  width: 124px;
  height: auto;
}

.page-footer p {
  margin: 7px 0 15px;
  color: var(--green-800);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.page-footer small {
  color: #87968f;
  font-size: 10px;
  line-height: 1.65;
}

.partner-entry {
  margin: 0 0 17px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green-800);
  background: #e6efdf;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.sticky-action {
  position: fixed;
  z-index: 30;
  right: max(12px, calc((100vw - 480px) / 2 + 12px));
  bottom: calc(10px + var(--safe-bottom));
  left: max(12px, calc((100vw - 480px) / 2 + 12px));
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px 9px 17px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  color: white;
  background: rgba(0, 63, 51, 0.95);
  box-shadow: 0 17px 35px rgba(0, 52, 39, 0.28);
  backdrop-filter: blur(12px);
}

.sticky-action > div {
  display: grid;
  gap: 3px;
}

.sticky-action small { color: rgba(255, 255, 255, 0.6); font-size: 9px; }
.sticky-action strong { font-size: 13px; }

.sticky-action button {
  min-width: 104px;
  min-height: 46px;
  border-radius: 14px;
  color: var(--green-950);
  background: var(--sun);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.sheet {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  align-items: end;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.sheet.is-open {
  visibility: visible;
  opacity: 1;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 35, 27, 0.62);
  cursor: default;
  backdrop-filter: blur(4px);
}

.sheet-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(90vh, 800px);
  margin: 0 auto;
  overflow: auto;
  padding: 11px 19px calc(24px + var(--safe-bottom));
  border-radius: 28px 28px 0 0;
  background: var(--cream);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(28px);
  transition: transform 220ms ease;
}

.sheet.is-open .sheet-panel { transform: translateY(0); }

.sheet-handle {
  width: 40px;
  height: 5px;
  margin: 0 auto 15px;
  border-radius: 99px;
  background: #cbd8cf;
}

.sheet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.sheet-heading h2,
.success-panel h2 {
  margin: 5px 0 0;
  font-size: 24px;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: #e4ebdf;
  cursor: pointer;
  font-size: 24px;
}

.icon-button--floating {
  position: absolute;
  top: 17px;
  right: 19px;
}

.field-label,
fieldset legend {
  display: block;
  margin-bottom: 9px;
  color: var(--green-950);
  font-size: 12px;
  font-weight: 760;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 16px;
  content: "⌄";
  color: var(--green-700);
  pointer-events: none;
  transform: translateY(-55%);
}

select {
  width: 100%;
  height: 52px;
  appearance: none;
  padding: 0 42px 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  color: var(--green-950);
  background: white;
  font-size: 14px;
}

select:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(20, 173, 120, 0.12); }

fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.segment-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segment-control--three {
  grid-template-columns: repeat(3, 1fr);
}

.segment-control input,
.gift-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segment-control span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.segment-control input:checked + span {
  border-color: var(--green-700);
  color: white;
  background: var(--green-800);
}

.gift-options {
  display: grid;
  gap: 8px;
}

.gift-options label {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  min-height: 66px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  cursor: pointer;
}

.gift-options span {
  display: grid;
  gap: 3px;
}

.gift-options b { font-size: 13px; }
.gift-options small { color: var(--muted); font-size: 10px; }

.gift-options i {
  display: none;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--sun);
  font-style: normal;
  font-weight: 900;
}

.gift-options label:has(input:checked) {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(20, 173, 120, 0.1);
}

.gift-options label:has(input:checked) i { display: grid; }

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: flex-start;
  margin: 18px 1px;
  color: #71857e;
  font-size: 10px;
  line-height: 1.55;
}

.consent-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--green-700);
}

.primary-button--form { margin-top: 2px; }

.success-panel {
  padding-top: 25px;
  text-align: center;
}

.success-panel > p {
  max-width: 20rem;
  margin: 8px auto 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.success-burst {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 5px auto 13px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--sun);
  box-shadow: 0 0 0 10px rgba(255, 201, 69, 0.22);
  font-size: 28px;
  font-weight: 900;
}

.pickup-pass {
  position: relative;
  display: grid;
  margin: 18px 0;
  overflow: hidden;
  padding: 17px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  color: white;
  text-align: left;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 201, 69, 0.32), transparent 8rem),
    var(--green-900);
}

.pickup-pass > span { color: rgba(255, 255, 255, 0.58); font-size: 10px; }
.pickup-pass > strong { margin: 14px 0 16px; font-size: 22px; }
.pickup-pass > div { display: flex; align-items: flex-end; justify-content: space-between; }
.pickup-pass small { color: rgba(255, 255, 255, 0.55); font-size: 9px; }
.pickup-pass b { color: var(--sun); font-size: 27px; letter-spacing: 0.12em; }
.pickup-pass em { margin-top: 9px; color: rgba(255, 255, 255, 0.7); font-size: 10px; font-style: normal; }

.secondary-button {
  width: 100%;
  min-height: 50px;
  margin-top: 9px;
  border: 1px solid #c8dbcf;
  border-radius: 15px;
  color: var(--green-800);
  background: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 730;
}

.secondary-button--link {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.text-button {
  margin-top: 14px;
  padding: 8px;
  color: #889891;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.compact-panel { padding-bottom: calc(30px + var(--safe-bottom)); }

.task-panel {
  max-height: min(94vh, 880px);
}

.task-intro {
  margin: -7px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.campaign-poster-shell {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 15px 0 13px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #d9e4d8;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(20, 173, 120, 0.08), rgba(255, 201, 69, 0.13)),
    #f4f7ef;
  box-shadow: 0 12px 32px rgba(0, 68, 50, 0.1);
}

.campaign-poster-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-poster-shell img[hidden] {
  display: none;
}

.poster-loading {
  display: grid;
  position: absolute;
  inset: 0;
  place-items: center;
  padding: 24px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.poster-loading[hidden] {
  display: none;
}

.poster-download {
  margin-top: 15px;
  text-decoration: none;
}

.campaign-poster-shell--partner {
  margin-top: 20px;
}

.poster-save-tip {
  margin: 0 3px 14px;
  color: #788d84;
  font-size: 10px;
  line-height: 1.65;
}

.qr-placeholder {
  position: relative;
  display: grid;
  width: 218px;
  height: 218px;
  margin: 4px auto 16px;
  place-content: center;
  border: 1px dashed #b8cec1;
  border-radius: 24px;
  color: var(--green-800);
  background: white;
  text-align: center;
}

.qr-placeholder b { font-size: 18px; }
.qr-placeholder small { margin-top: 6px; color: #8a9d95; font-size: 10px; }

.qr-placeholder > img {
  position: relative;
  z-index: 1;
  width: 190px;
  height: 190px;
  object-fit: contain;
  border-radius: 12px;
  background: white;
}

#partnerQrFallback {
  display: grid;
  gap: 6px;
}

#partnerQrFallback[hidden] {
  display: none;
}

.partner-identity {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 11px;
  align-items: center;
  margin: -4px 0 15px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.partner-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--green-800);
  font-size: 19px;
  font-weight: 850;
}

.partner-identity > div {
  display: grid;
  gap: 4px;
}

.partner-identity strong { font-size: 13px; }
.partner-identity small { color: var(--muted); font-size: 9px; }
.partner-identity em {
  padding: 5px 7px;
  border-radius: 7px;
  color: #8a5600;
  background: #fff0b8;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.qr-corner {
  position: absolute;
  width: 37px;
  height: 37px;
  border-color: var(--green-500);
  border-style: solid;
}

.qr-corner--tl { top: 14px; left: 14px; border-width: 4px 0 0 4px; border-radius: 9px 0 0; }
.qr-corner--tr { top: 14px; right: 14px; border-width: 4px 4px 0 0; border-radius: 0 9px 0 0; }
.qr-corner--bl { bottom: 14px; left: 14px; border-width: 0 0 4px 4px; border-radius: 0 0 0 9px; }
.qr-corner--br { right: 14px; bottom: 14px; border-width: 0 4px 4px 0; border-radius: 0 0 9px; }

.center-note {
  max-width: 21rem;
  margin: 0 auto;
  color: #788d84;
  text-align: center;
  font-size: 10px;
  line-height: 1.65;
}

.share-card {
  position: relative;
  min-height: 398px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 22px;
  color: white;
  background: var(--green-900);
  box-shadow: 0 18px 38px rgba(0, 65, 48, 0.2);
  isolation: isolate;
}

.share-card__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.share-card__photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(0, 42, 33, 0.18) 0%,
    rgba(0, 55, 43, 0.03) 28%,
    rgba(0, 59, 46, 0.16) 48%,
    rgba(0, 58, 45, 0.76) 72%,
    rgba(0, 44, 34, 0.98) 100%
  );
}

.share-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 61%;
}

.share-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 398px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
  text-align: left;
}

.share-brand {
  position: absolute;
  top: 17px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  background: rgba(0, 48, 38, 0.58);
  box-shadow: 0 6px 18px rgba(0, 35, 27, 0.16);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
}

.brand-logo-crop--tiny {
  width: 25px;
  height: 25px;
  border-width: 1px;
  border-radius: 8px;
}

.brand-logo-crop--tiny img {
  width: 26px;
  height: 28px;
}

.share-card__body > small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.share-card h3 {
  margin: 7px 0 9px;
  font-size: 36px;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.share-card p {
  margin: 0;
  max-width: 15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.55;
}

.share-code-box {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 8px 11px;
  border: 1px dashed rgba(255, 255, 255, 0.33);
  border-radius: 10px;
  background: rgba(0, 34, 26, 0.22);
}

.share-code-box b { color: var(--sun); letter-spacing: 0.14em; }
.share-code-box span { color: rgba(255, 255, 255, 0.52); font-size: 7px; }

.short-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 14px 0 10px;
}

.short-link-row code {
  overflow: hidden;
  padding: 12px;
  border-radius: 12px;
  color: var(--green-800);
  background: #e5eee2;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.short-link-row button {
  padding: 0 15px;
  border-radius: 12px;
  color: white;
  background: var(--green-800);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.toast {
  position: fixed;
  z-index: 200;
  bottom: calc(94px + var(--safe-bottom));
  left: 50%;
  max-width: calc(100vw - 40px);
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  background: rgba(0, 48, 37, 0.92);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: 180ms ease;
}

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

body.sheet-open { overflow: hidden; }

@media (min-width: 700px) {
  .app-shell { margin-block: 22px; border-radius: 30px; min-height: calc(100vh - 44px); }
  .brand-bar { border-radius: 30px 30px 0 0; }
  .sticky-action { bottom: 28px; }
  .sheet { align-items: center; }
  .sheet-panel { border-radius: 28px; }
}

@media (max-width: 360px) {
  .brand-bar { padding-inline: 12px; }
  .unofficial-badge { max-width: 132px; overflow: hidden; text-overflow: ellipsis; }
  .claim-ticket { margin-inline: 10px; }
  .ticket-main { padding-inline: 17px; }
  .gift-card { grid-template-columns: 96px 1fr; gap: 12px; }
  .gift-art--postcard { min-height: 120px; }
  .sticky-action { right: 8px; left: 8px; }
  .sticky-action button { min-width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* 分享人配置页 */
.partner-page {
  min-height: 100vh;
  padding-bottom: 42px;
  background: var(--cream);
}

.partner-console {
  padding: 18px 16px 40px;
}

.partner-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 28px;
  border-radius: 26px;
  color: white;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 201, 69, 0.38), transparent 8rem),
    var(--green-900);
}

.partner-hero .section-kicker { color: rgba(255, 255, 255, 0.56); }
.partner-hero h1 { max-width: 19rem; margin: 9px 0; font-size: 31px; line-height: 1.12; letter-spacing: -0.05em; }
.partner-hero p { max-width: 20rem; margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 12px; line-height: 1.7; }

.partner-route {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 20px;
}

.partner-route span {
  display: grid;
  gap: 3px;
  padding: 9px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 8px;
}

.partner-route b { color: var(--sun); font-size: 11px; }

.partner-form-card,
.partner-result {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 13px 34px rgba(0, 68, 50, 0.08);
}

.partner-form-card h2,
.partner-result h2 { margin: 5px 0 20px; font-size: 22px; }

.form-stack { display: grid; gap: 17px; }
.form-stack label > span,
.upload-title { display: block; margin-bottom: 8px; color: var(--green-950); font-size: 12px; font-weight: 760; }

.text-input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: var(--cream);
}

.text-input:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(20, 173, 120, 0.12); }

.upload-zone {
  position: relative;
  display: grid;
  min-height: 188px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #9cbcaf;
  border-radius: 18px;
  color: var(--green-800);
  background: #f3f7ed;
  cursor: pointer;
  text-align: center;
}

.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone span { display: grid; gap: 5px; font-size: 12px; font-weight: 760; }
.upload-zone small { color: var(--muted); font-size: 9px; font-weight: 400; }
.upload-zone img { width: 166px; height: 166px; object-fit: contain; border-radius: 12px; background: white; }

.partner-result[hidden] { display: none; }
.partner-result { text-align: center; }
.partner-result .success-burst { width: 54px; height: 54px; }

.partner-link-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 18px 0 10px;
}

.partner-link-box code {
  overflow: hidden;
  padding: 12px;
  border-radius: 12px;
  color: var(--green-800);
  background: #e5eee2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partner-link-box button {
  padding: 0 15px;
  border-radius: 12px;
  color: white;
  background: var(--green-800);
  cursor: pointer;
  font-weight: 730;
}

.preview-link {
  display: grid;
  min-height: 48px;
  margin-top: 10px;
  place-items: center;
  border: 1px solid #c8dbcf;
  border-radius: 14px;
  color: var(--green-800);
  text-decoration: none;
  font-size: 12px;
  font-weight: 730;
}
