:root {
  --ink: #26231f;
  --muted: #847d72;
  --paper: #fffaf2;
  --cream: #fff3df;
  --orange: #f36f45;
  --orange-dark: #d9512d;
  --gold: #f4bb49;
  --gold-soft: #fff1bd;
  --mint: #55b7a4;
  --mint-soft: #e9f8f4;
  --line: rgba(54, 43, 28, 0.09);
  --shadow: 0 20px 70px rgba(92, 55, 23, 0.16);
  --card-shadow: 0 8px 24px rgba(92, 55, 23, 0.08);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: #f4e8d7;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 203, 105, 0.28), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(246, 111, 69, 0.2), transparent 30%),
    #f6ecdc;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.desktop-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 8vw, 140px);
  padding: 34px;
}

.stage-copy {
  width: 390px;
  margin-top: -50px;
}

.stage-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange-dark);
}

.stage-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.stage-copy h1 {
  margin: 22px 0 18px;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(44px, 4.5vw, 68px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.stage-copy p {
  margin: 0 0 34px;
  color: #766b5e;
  font-size: 17px;
  letter-spacing: 0.2em;
}

.stage-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(49, 39, 25, 0.16);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  transition: 0.2s ease;
}

.stage-admin-link:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.phone-shell {
  position: relative;
  width: 402px;
  height: min(870px, calc(100vh - 48px));
  min-height: 680px;
  border: 9px solid #26231f;
  border-radius: 50px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 45px 100px rgba(67, 45, 22, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.phone-notch {
  position: absolute;
  z-index: 80;
  top: 8px;
  left: 50%;
  width: 116px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #26231f;
}

.status-bar {
  position: absolute;
  z-index: 70;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 23px 0;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}

.app-view {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background:
    radial-gradient(circle at 80% -5%, rgba(244, 187, 73, 0.23), transparent 30%),
    var(--paper);
}

.app-view::-webkit-scrollbar {
  display: none;
}

.app-page {
  min-height: 100%;
  padding: 58px 20px 126px;
  animation: page-enter 0.28s ease both;
}

.app-page.subpage {
  padding-top: 54px;
  padding-bottom: 42px;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-row,
.section-heading,
.profile-top,
.wallet-top,
.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "STSong", "Songti SC", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 800;
  background: var(--orange);
  box-shadow: 0 7px 15px rgba(243, 111, 69, 0.27);
  transform: rotate(-4deg);
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
}

.hero {
  position: relative;
  min-height: 244px;
  margin-top: 18px;
  padding: 25px 22px;
  overflow: hidden;
  border-radius: 31px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 134, 87, 0.04), rgba(158, 35, 23, 0.08)),
    var(--orange);
  box-shadow: 0 18px 38px rgba(226, 89, 52, 0.25);
}

.hero::before {
  content: "";
  position: absolute;
  top: -62px;
  right: -42px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.055), 0 0 0 52px rgba(255, 255, 255, 0.04);
}

.hero::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: -22px;
  width: 125px;
  height: 86px;
  border-radius: 50%;
  background: rgba(119, 23, 9, 0.12);
  filter: blur(18px);
}

.hero-eyebrow {
  position: relative;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

.hero h2 {
  position: relative;
  z-index: 2;
  width: 72%;
  margin: 13px 0 9px;
  font-family: "STSong", "Songti SC", serif;
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero p {
  position: relative;
  z-index: 2;
  width: 72%;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.82;
}

.gift-scene {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 8px;
  width: 126px;
  height: 126px;
}

.gift-box {
  position: absolute;
  right: 12px;
  bottom: 15px;
  width: 84px;
  height: 72px;
  border-radius: 12px 12px 16px 16px;
  background: linear-gradient(135deg, #ffd982, #f6ae35);
  transform: rotate(-7deg);
  box-shadow: 0 14px 20px rgba(107, 44, 17, 0.24);
}

.gift-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 19px;
  height: 100%;
  background: #fff1c2;
}

.gift-lid {
  position: absolute;
  z-index: 2;
  right: -8px;
  bottom: 79px;
  width: 105px;
  height: 27px;
  border-radius: 8px;
  background: #ffe39b;
  transform: rotate(-7deg);
  box-shadow: 0 6px 8px rgba(56, 30, 10, 0.12);
}

.gift-lid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 41px;
  width: 19px;
  height: 100%;
  background: #fff9e9;
}

.gift-bow {
  position: absolute;
  z-index: 3;
  right: 46px;
  bottom: 98px;
  width: 34px;
  height: 28px;
  border: 8px solid #fff3c9;
  border-bottom: 0;
  border-radius: 60% 60% 0 0;
  transform: rotate(-7deg);
}

.spark {
  position: absolute;
  color: #fff2c4;
  line-height: 1;
}

.spark.s1 {
  top: 8px;
  left: 4px;
  font-size: 23px;
}

.spark.s2 {
  top: 38px;
  right: 3px;
  font-size: 14px;
}

.spark.s3 {
  bottom: 12px;
  left: 21px;
  font-size: 11px;
}

.marquee-card {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin: -17px 14px 0;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(8px);
}

.marquee-icon {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold-soft);
  font-size: 13px;
}

.marquee-window {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: marquee 24s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  font-size: 11px;
  color: #6f6559;
}

.marquee-item strong {
  color: var(--ink);
  font-weight: 600;
}

.marquee-item em {
  margin-left: 5px;
  color: var(--orange-dark);
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  margin-top: 26px;
}

.section-heading {
  margin-bottom: 13px;
}

.section-heading h3 {
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.section-heading small,
.text-link {
  color: var(--muted);
  font-size: 11px;
}

.text-link {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.prize-card {
  position: relative;
  min-height: 138px;
  padding: 12px 9px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  text-align: center;
  background: var(--soft-color, var(--cream));
}

.prize-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -25px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.prize-art {
  position: relative;
  z-index: 1;
  display: grid;
  width: 57px;
  height: 57px;
  margin: 0 auto 8px;
  place-items: center;
  border-radius: 18px;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.prize-name {
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.prize-meta {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.countdown-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.62);
}

.countdown-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(243, 111, 69, 0.12);
}

.countdown-time {
  margin-top: 5px;
  font-size: 23px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.countdown-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.soft-button,
.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.primary-button {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(243, 111, 69, 0.22);
}

.secondary-button {
  color: #fff;
  background: var(--ink);
}

.soft-button {
  color: var(--orange-dark);
  background: #fff0e7;
}

.danger-button {
  color: #a5442b;
  background: #fff0ea;
}

.primary-button:hover,
.secondary-button:hover,
.soft-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled,
.soft-button:disabled {
  cursor: default;
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.wide {
  width: 100%;
}

.rule-strip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 15px;
  border-radius: 17px;
  color: #827561;
  font-size: 10px;
  line-height: 1.6;
  background: rgba(244, 187, 73, 0.105);
}

.rule-strip span:first-child {
  font-size: 14px;
}

.tabbar {
  position: absolute;
  z-index: 60;
  bottom: 17px;
  left: 14px;
  right: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 68px;
  padding: 7px 5px 5px;
  border: 1px solid rgba(66, 49, 32, 0.09);
  border-radius: 23px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 12px 34px rgba(67, 44, 20, 0.14);
  backdrop-filter: blur(18px);
}

.tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 16px;
  color: #9c9387;
  font-size: 9px;
  background: transparent;
  cursor: pointer;
}

.tab-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.18s ease;
}

.tabbar-item.active {
  color: var(--orange-dark);
  font-weight: 700;
}

.tabbar-item.active .tab-icon {
  transform: translateY(-1px) scale(1.06);
}

.home-indicator {
  position: absolute;
  z-index: 90;
  bottom: 6px;
  left: 50%;
  width: 122px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 9px;
  background: #29241f;
}

.toast {
  position: absolute;
  z-index: 100;
  top: 76px;
  left: 50%;
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 13px;
  color: #fff;
  font-size: 12px;
  text-align: center;
  background: rgba(38, 35, 31, 0.9);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: 0.25s ease;
}

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

.skeleton-page {
  padding: 62px 20px;
}

.skeleton {
  border-radius: 18px;
  background: linear-gradient(90deg, #eee4d5 25%, #f7f0e6 50%, #eee4d5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.skeleton-title {
  width: 42%;
  height: 26px;
  margin-bottom: 22px;
}

.skeleton-hero {
  height: 245px;
  margin-bottom: 44px;
}

.skeleton-row {
  height: 70px;
  margin-bottom: 14px;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* Activity */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-title {
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.title-caption {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.coral-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 700;
  background: #fff0e7;
}

.draw-card {
  position: relative;
  min-height: 330px;
  margin-top: 19px;
  padding: 22px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 228, 146, 0.26), transparent 42%),
    #2d2a26;
  box-shadow: 0 20px 38px rgba(45, 42, 38, 0.2);
}

.draw-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.draw-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.draw-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff5d3;
  font-size: 10px;
}

.draw-time-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
}

.number-stage {
  display: flex;
  min-height: 164px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stage-kicker-small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.big-count {
  margin: 6px 0 3px;
  font-family: "DIN Alternate", "Arial Narrow", sans-serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #ffe5a3;
  text-shadow: 0 0 28px rgba(255, 206, 106, 0.26);
}

.count-caption {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.rolling-number {
  margin: 12px 0 9px;
  font-family: "DIN Alternate", "Courier New", monospace;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffe39b;
  font-variant-numeric: tabular-nums;
}

.draw-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 9px;
}

.draw-main-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  color: #3a2407;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffe9a4, #f6bd4c);
  box-shadow: 0 8px 20px rgba(246, 189, 76, 0.16);
  cursor: pointer;
}

.draw-main-button:disabled {
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  cursor: default;
}

.draw-mini-button {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.065);
  cursor: pointer;
}

.draw-mini-button small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 8px;
  font-weight: 400;
}

.qualification-card {
  margin-top: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.qualification-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qualification-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
}

.video-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 11px;
  color: var(--orange-dark);
  background: #fff0e7;
}

.progress-label {
  color: var(--muted);
  font-size: 9px;
}

.progress-track {
  height: 6px;
  margin: 13px 0 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #f3ede5;
}

.progress-value {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transition: width 0.3s ease;
}

.qualification-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qualification-note {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.ticket-number {
  font-family: "DIN Alternate", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ticket-meta {
  color: var(--muted);
  font-size: 9px;
}

.rules-card {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 7px;
  color: #6f6559;
  font-size: 10px;
  line-height: 1.65;
}

.rule-index {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 7px;
  color: var(--orange-dark);
  font-size: 8px;
  font-weight: 700;
  background: #fff0e7;
}

/* Benefits */
.benefit-wallet {
  position: relative;
  margin-top: 17px;
  padding: 24px;
  overflow: hidden;
  border-radius: 29px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #4fb29d, #2d8778);
  box-shadow: 0 18px 34px rgba(45, 135, 120, 0.22);
}

.benefit-wallet::after {
  content: "¥";
  position: absolute;
  right: 21px;
  bottom: -29px;
  color: rgba(255, 255, 255, 0.09);
  font-family: serif;
  font-size: 130px;
  font-weight: 700;
}

.wallet-label {
  font-size: 10px;
  opacity: 0.72;
}

.wallet-points {
  margin: 8px 0 15px;
  font-family: "DIN Alternate", "Arial Narrow", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.wallet-points small {
  margin-left: 5px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.72;
}

.wallet-cash {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 9px;
  background: rgba(255, 255, 255, 0.14);
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-card {
  display: grid;
  grid-template-columns: 43px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.76);
}

.task-art {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px;
  font-size: 22px;
  background: var(--mint-soft);
}

.task-title {
  font-size: 12px;
  font-weight: 700;
}

.task-desc {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.task-button {
  min-width: 62px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background: var(--mint);
  cursor: pointer;
}

.task-button:disabled {
  color: #a6a097;
  background: #eeeae4;
  cursor: default;
}

.redeem-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.redeem-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.redeem-rate {
  margin: 7px 0 15px;
  color: var(--muted);
  font-size: 9px;
}

.redeem-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 13px;
}

.redeem-option {
  padding: 12px 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #776e63;
  text-align: center;
  background: #fffaf2;
  cursor: pointer;
}

.redeem-option strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 14px;
}

.redeem-option span {
  font-size: 8px;
}

.redeem-option.active {
  border-color: rgba(85, 183, 164, 0.5);
  background: var(--mint-soft);
  box-shadow: inset 0 0 0 1px rgba(85, 183, 164, 0.22);
}

.service-note {
  display: flex;
  gap: 8px;
  margin-top: 13px;
  color: #999187;
  font-size: 9px;
  line-height: 1.55;
}

/* Profile */
.profile-card {
  position: relative;
  margin-top: 19px;
  padding: 23px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 111, 69, 0.09), transparent 34%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--mint));
}

.avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 21px;
  font-size: 30px;
  background: linear-gradient(145deg, #fff0c9, #ffd787);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.66);
}

.profile-name {
  margin-top: 11px;
  font-family: "STSong", "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
}

.profile-id {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.profile-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.profile-count {
  position: relative;
  text-align: center;
}

.profile-count + .profile-count::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 1px;
  height: 30px;
  background: var(--line);
}

.profile-count strong {
  display: block;
  font-family: "DIN Alternate", sans-serif;
  font-size: 23px;
}

.profile-count span {
  color: var(--muted);
  font-size: 9px;
}

.profile-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 4px 11px;
  font-size: 11px;
  font-weight: 700;
}

.menu-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.78);
}

.menu-row {
  display: grid;
  width: 100%;
  min-height: 56px;
  grid-template-columns: 33px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.menu-row + .menu-row {
  border-top: 1px solid var(--line);
}

.menu-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 11px;
  background: #fbf5ec;
}

.menu-main {
  font-size: 11px;
  font-weight: 600;
}

.menu-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 400;
}

.menu-arrow {
  color: #b4aca1;
  font-size: 16px;
}

.profile-tip {
  margin: 17px 5px 0;
  color: #aaa297;
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

/* Subpage */
.subpage-header {
  position: sticky;
  z-index: 10;
  top: -1px;
  margin: -4px -20px 20px;
  padding: 10px 20px 12px;
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(14px);
}

.back-button {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.subpage-title {
  font-size: 14px;
  font-weight: 700;
}

.subpage-header .icon-button {
  opacity: 0;
  pointer-events: none;
}

.record-card {
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.record-prize {
  font-size: 13px;
  font-weight: 700;
}

.record-time {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.status-tag {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--orange-dark);
  font-size: 8px;
  background: #fff0e7;
}

.record-code {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: "DIN Alternate", monospace;
  font-size: 10px;
}

.empty-state {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.empty-art {
  display: grid;
  width: 75px;
  height: 75px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 28px;
  font-size: 36px;
  background: var(--cream);
}

.empty-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.empty-desc {
  max-width: 220px;
  margin-top: 6px;
  font-size: 9px;
  line-height: 1.6;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 59px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 2px;
  border: 0;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.faq-plus {
  color: var(--orange);
  font-size: 18px;
  transition: 0.2s ease;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 2px 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  display: block;
}

.customer-card {
  padding: 25px 20px;
  border-radius: 25px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
}

.customer-avatar {
  display: grid;
  width: 73px;
  height: 73px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 27px;
  font-size: 37px;
  background: var(--cream);
}

.customer-name {
  font-size: 16px;
  font-weight: 700;
}

.customer-hours {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
}

.customer-contact {
  margin-top: 19px;
  padding: 13px;
  border-radius: 14px;
  color: #685f55;
  font-size: 10px;
  background: #fffaf2;
}

.share-card {
  position: relative;
  padding: 23px;
  overflow: hidden;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(135deg, #f37a4e, #d84d2e);
}

.share-card::after {
  content: "✦";
  position: absolute;
  right: 20px;
  bottom: -15px;
  color: rgba(255, 255, 255, 0.12);
  font-size: 100px;
}

.share-card h3 {
  position: relative;
  z-index: 1;
  width: 70%;
  margin: 0 0 7px;
  font-family: "STSong", "Songti SC", serif;
  font-size: 25px;
  line-height: 1.25;
}

.share-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 9px;
  opacity: 0.75;
}

.share-card button {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  color: #6c2c14;
  background: #ffe3a1;
}

.claim-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: var(--muted);
  font-size: 9px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  font-size: 11px;
  background: #fffaf2;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(243, 111, 69, 0.45);
}

.field textarea {
  min-height: 75px;
  resize: none;
}

/* Overlays */
.sheet-layer {
  position: absolute;
  z-index: 110;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: rgba(30, 27, 22, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  backdrop-filter: blur(4px);
}

.sheet-layer.open {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  width: 100%;
  padding: 21px 19px 24px;
  border-radius: 27px;
  background: #fffdf9;
  box-shadow: 0 -20px 50px rgba(41, 31, 20, 0.18);
  transform: translateY(20px);
  transition: transform 0.24s ease;
}

.sheet-layer.open .bottom-sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  margin: -8px auto 17px;
  border-radius: 9px;
  background: #ded6cc;
}

.sheet-title {
  font-family: "STSong", "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
}

.sheet-desc {
  margin: 7px 0 17px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.sheet-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.share-preview {
  position: relative;
  width: 100%;
  min-height: 165px;
  margin-bottom: 15px;
  padding: 20px;
  overflow: hidden;
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(140deg, #f37a4e 0%, #e9613d 55%, #ce4b2c 100%);
}

.share-preview::after {
  content: "🎁";
  position: absolute;
  right: 18px;
  bottom: 12px;
  font-size: 65px;
  filter: drop-shadow(0 8px 10px rgba(99, 30, 8, 0.2));
  transform: rotate(-7deg);
}

.share-preview small {
  font-size: 8px;
  letter-spacing: 0.15em;
  opacity: 0.64;
}

.share-preview h4 {
  position: relative;
  z-index: 2;
  width: 64%;
  margin: 14px 0 6px;
  font-family: "STSong", "Songti SC", serif;
  font-size: 24px;
  line-height: 1.2;
}

.share-preview p {
  position: relative;
  z-index: 2;
  width: 65%;
  margin: 0;
  font-size: 9px;
  line-height: 1.5;
  opacity: 0.73;
}

.video-layer {
  position: absolute;
  z-index: 120;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 16, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.video-layer.open {
  opacity: 1;
  pointer-events: auto;
}

.fake-video {
  width: 100%;
  color: #fff;
  text-align: center;
}

.video-poster {
  position: relative;
  width: 100%;
  height: 330px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 25px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 232, 176, 0.4), transparent 30%),
    linear-gradient(145deg, #ee7a52, #7d3023);
}

.video-poster::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.05), 0 0 0 70px rgba(255, 255, 255, 0.03);
}

.video-poster span {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 72px;
  transform: translate(-50%, -50%) rotate(-6deg);
  filter: drop-shadow(0 15px 16px rgba(61, 12, 3, 0.28));
}

.video-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.video-progress-value {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ffe09b;
  transition: width 0.15s linear;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

@media (max-width: 900px) {
  .desktop-stage {
    display: block;
    padding: 0;
  }

  .stage-copy {
    display: none;
  }

  .phone-shell {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .phone-notch {
    display: none;
  }

  .status-bar {
    height: 34px;
    padding-top: max(8px, env(safe-area-inset-top));
  }

  .app-page {
    padding-top: 47px;
  }

  .tabbar {
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .home-indicator {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .phone-shell {
    height: calc(100vh - 24px);
  }
}

/* Vertically stacked activity feed */
.vertical-activity {
  min-height: 100%;
  padding: 0 0 130px;
  background: #f5f5f5;
}

.v-red-shell {
  position: relative;
  padding: 54px 0 54px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.17), transparent 25%),
    linear-gradient(165deg, #f4423e, #dc2b2d);
}

.v-red-shell::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: 10px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.035), 0 0 0 70px rgba(255, 255, 255, 0.02);
}

.v-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  padding: 0 19px;
  text-align: center;
}

.v-nav > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.v-nav strong {
  font-size: 13px;
  font-weight: 600;
}

.v-hero-copy {
  position: relative;
  z-index: 2;
  padding: 18px 22px 13px;
}

.v-hero-copy small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 2px;
}

.v-hero-copy h2 {
  margin: 8px 0 6px;
  font-family: "STSong", "Songti SC", serif;
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: -2px;
}

.v-hero-copy p {
  width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  line-height: 1.6;
}

.v-marquee-zone {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.v-marquee-row {
  width: 100%;
  overflow: hidden;
}

.v-marquee-track {
  display: inline-flex;
  width: max-content;
  gap: 8px;
  white-space: nowrap;
}

.v-left {
  animation: v-marquee-left 28s linear infinite;
}

.v-right {
  animation: v-marquee-right 31s linear infinite;
}

.v-marquee-track span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 9px;
  background: rgba(255, 255, 255, 0.12);
}

.v-marquee-track b {
  color: #fff;
}

.v-marquee-track em {
  color: #ffe6ae;
  font-style: normal;
}

@keyframes v-marquee-left {
  to {
    transform: translateX(-50%);
  }
}

@keyframes v-marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.v-content {
  position: relative;
  z-index: 3;
  margin-top: -33px;
  padding: 0 12px;
}

.v-stats {
  display: grid;
  min-height: 96px;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(63, 39, 25, 0.09);
}

.v-stats button {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}

.v-stats strong {
  color: #f03b3a;
  font-family: "DIN Alternate", sans-serif;
  font-size: 36px;
  line-height: 1;
}

.v-stats span {
  margin-top: 7px;
  color: #7f7771;
  font-size: 10px;
}

.v-stats > i {
  width: 1px;
  height: 44px;
  background: #efefef;
}

.v-progress-card {
  margin-top: 8px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
}


.v-progress-copy {
  display: flex;
  justify-content: space-between;
  color: #8c847d;
  font-size: 9px;
}

.v-progress-copy b {
  color: #f03d3c;
}

.v-progress-track {
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #f3efed;
}

.v-progress-track > div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb343, #f03c3b);
}

.v-video-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
}

.v-video-action strong {
  display: block;
  font-size: 11px;
}

.v-video-action span {
  display: block;
  margin-top: 3px;
  color: #a39b94;
  font-size: 8px;
}

.v-video-action button {
  width: 62px;
  height: 29px;
  border: 1px solid #f03d3c;
  border-radius: 99px;
  color: #ed3b3a;
  font-size: 9px;
  background: #fff;
}

.v-video-action button:disabled {
  color: #aaa49f;
  border-color: #e6e3e0;
  background: #f8f8f8;
}

.v-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 9px;
}

.v-section-head h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 16px;
}

.v-section-head h3 i {
  width: 4px;
  height: 17px;
  border-radius: 9px;
  background: #f03d3c;
}

.v-section-head > div {
  display: flex;
  gap: 5px;
}

.v-rule,
.v-share {
  height: 29px;
  padding: 0 13px;
  border: 0;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 600;
}

.v-rule {
  color: #fff;
  background: #f03d3c;
}

.v-share {
  color: #645d57;
  border: 1px solid #dedad7;
  background: #fff;
}

.v-join-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid rgba(240, 61, 60, 0.12);
  border-radius: 9px;
  background: linear-gradient(135deg, #fff, #fff6f5);
}

.v-join-entry > div {
  min-width: 0;
}

.v-join-entry strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #39342f;
  font-size: 11px;
}

.v-join-entry i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f03d3c;
  box-shadow: 0 0 0 3px rgba(240, 61, 60, 0.1);
}

.v-join-entry > div > span {
  display: block;
  margin-top: 5px;
  color: #918983;
  font-size: 8px;
}

.v-join-entry > div > span b {
  color: #f03d3c;
  font-family: "DIN Alternate", sans-serif;
}

.v-join-entry > button {
  width: 116px;
  min-width: 116px;
  height: 39px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  background: #f04442;
}

.v-join-entry > button:disabled {
  color: #a39c96;
  background: #eae7e4;
}

.v-live {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 9px;
  padding: 16px;
  border-radius: 13px;
  color: #fff;
  background: #272421;
}

.v-live > span {
  width: 100%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 7px;
  letter-spacing: 1px;
}

.v-live strong {
  margin: 11px 0 7px;
  color: #ffe2a0;
  font-family: "Courier New", monospace;
  font-size: 27px;
}

.v-live small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
}

.v-winners {
  margin-bottom: 9px;
  padding: 14px;
  border-radius: 13px;
  background: #fff;
}

.v-winners > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
}

.v-winners > div strong {
  font-size: 12px;
}

.v-winners > div span {
  color: #9c948d;
  font-size: 8px;
}

.v-winners p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid #f2efed;
  font-size: 8px;
}

.v-winners p b {
  font-family: "Courier New", monospace;
}

.v-winners p span {
  color: #8e8780;
}

.v-prize-feed {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.v-prize {
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(58, 42, 29, 0.05);
}

.v-prize-visual {
  position: relative;
  display: flex;
  height: 170px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.v-prize-visual::after {
  content: "";
  position: absolute;
  right: 45px;
  bottom: 22px;
  left: 45px;
  height: 11px;
  border-radius: 50%;
  background: rgba(59, 35, 20, 0.08);
  filter: blur(4px);
}

.v-order {
  position: absolute;
  top: 10px;
  left: 15px;
  color: rgba(64, 44, 29, 0.13);
  font-family: "DIN Alternate", sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.v-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.v-ring.r1 {
  width: 112px;
  height: 112px;
}

.v-ring.r2 {
  width: 145px;
  height: 145px;
  opacity: 0.5;
}

.v-prize-visual img {
  position: relative;
  z-index: 2;
  width: 225px;
  height: 150px;
  object-fit: contain;
}

.v-emoji {
  position: relative;
  z-index: 2;
  font-size: 70px;
}

.v-tag {
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 11px;
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
  font-size: 8px;
  background: #f04442;
}

.v-prize-body {
  padding: 14px 15px 15px;
}

.v-prize-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.v-prize-title strong {
  overflow: hidden;
  font-size: 17px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v-prize-title span {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 99px;
  color: #f03d3c;
  font-size: 8px;
  background: #fff0ef;
}

.v-prize-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #7f7872;
  font-family: "DIN Alternate", sans-serif;
  font-size: 10px;
  font-weight: 600;
}

.v-prize-date i {
  padding: 3px 6px;
  border-radius: 4px;
  color: #ef3e3c;
  font-family: sans-serif;
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
  background: #fff1f0;
}

.v-sponsor {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: #f03d3c;
  font-size: 9px;
}

.v-sponsor span {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  font-size: 8px;
  background: #f03d3c;
}

.v-prize-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #f1eeeb;
}

.v-prize-footer p {
  margin: 0;
  color: #a09992;
  font-size: 8px;
  line-height: 1.6;
}

.v-prize-footer > span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #f03d3c;
  background: #fff0ef;
}

.v-prize-footer p b {
  color: #746c66;
  font-weight: 500;
}

.v-ticket-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 11px;
  background: #fff;
}

.v-history {
  margin-top: 12px;
  padding: 14px;
  border-radius: 11px;
  background: #fff;
}

.v-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.v-history-head strong {
  color: #292622;
  font-size: 13px;
}

.v-history-head span {
  color: #9d9690;
  font-size: 8px;
}

.v-history-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #f2efed;
}

.v-history-row > b {
  color: #f03d3c;
  font-family: "DIN Alternate", sans-serif;
  font-size: 11px;
}

.v-history-row div {
  min-width: 0;
}

.v-history-row div strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v-history-row div span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #f03d3c;
  font-family: "Courier New", monospace;
  font-size: 8px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v-history-row i {
  color: #9d9690;
  font-size: 8px;
  font-style: normal;
}

.v-ticket-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v-ticket-card > div:first-child strong {
  font-size: 12px;
}

.v-ticket-card > div:first-child span {
  color: #a09992;
  font-size: 8px;
}

.v-ticket-card > small {
  display: block;
  margin-top: 4px;
  color: #8f8882;
  font-size: 8px;
}

.v-ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

.v-ticket-grid p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 9px;
  border-radius: 7px;
  background: #faf8f6;
}

.v-ticket-grid b {
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.v-ticket-grid span {
  color: #a29b94;
  font-size: 7px;
}

.v-ticket-grid em {
  grid-column: 1 / -1;
  padding: 15px;
  color: #aaa39d;
  font-size: 9px;
  font-style: normal;
  text-align: center;
}

.v-notice {
  padding: 13px 8px 0;
  color: #a09a94;
  font-size: 8px;
  line-height: 1.6;
}
