:root {
  color-scheme: light;
  --ink: #3b2d34;
  --muted: #8a747d;
  --paper: #fff8fb;
  --line: rgba(255, 142, 171, 0.24);
  --coral: #ff86a4;
  --coral-deep: #d94f78;
  --green: #66a889;
  --mint: #daf6e9;
  --gold: #ffd36e;
  --white: rgba(255, 255, 255, 0.9);
  --shadow: 0 14px 30px rgba(217, 79, 120, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  touch-action: pan-x pan-y;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 211, 110, 0.24), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(218, 246, 233, 0.72), transparent 30%),
    #fff4f8;
  color: var(--ink);
}

body::before {
  content: "♡  ✦  ♡  ✧  ♡";
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 0;
  color: rgba(217, 79, 120, 0.13);
  font-size: clamp(2rem, 9vw, 5rem);
  font-weight: 900;
  letter-spacing: 10px;
  pointer-events: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  transition: transform 160ms ease, box-shadow 180ms ease, filter 180ms ease;
}

button:active {
  transform: scale(0.97);
}

button:disabled {
  cursor: not-allowed;
}

.app-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 248, 251, 0) 0%, #fff8fb 42%),
    #fff8fb;
  padding-bottom: 86px;
}

.hero {
  position: relative;
  min-height: 38vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 78px 20px 34px;
}

.compact-hero {
  min-height: 30vh;
  animation: softRise 520ms ease both;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 134, 164, 0.08), rgba(59, 45, 52, 0.38)),
    linear-gradient(90deg, rgba(255, 134, 164, 0.24), rgba(102, 168, 137, 0.16));
}

.hero-content {
  position: relative;
  width: min(100%, 640px);
  color: #fff8fb;
  text-shadow: 0 2px 18px rgba(90, 45, 64, 0.3);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  color: inherit;
  opacity: 0.84;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 11vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h1::after {
  content: "  ♡";
  font-size: 0.44em;
  vertical-align: 0.3em;
  display: inline-block;
}

h2 {
  margin-bottom: 0;
  font-size: 1.18rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.subcopy {
  max-width: 24rem;
  margin: 14px 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
}

.panel,
.admin-shell {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 22px 16px max(30px, env(safe-area-inset-bottom));
  position: relative;
}

.order-panel {
  margin-top: -10px;
}

.page-panel {
  margin-top: -10px;
}

.locked {
  display: none;
}

.hidden {
  display: none !important;
}

.auth-gate {
  width: min(100%, 560px);
  margin: -26px auto 0;
  padding: 0 16px 24px;
  position: relative;
  z-index: 2;
}

.auth-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 211, 110, 0.26), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 234, 241, 0.9));
  box-shadow: var(--shadow);
  padding: 20px;
  animation: cardPop 380ms ease both;
}

.auth-card h2 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: 0;
  padding: 14px;
}

.user-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 10px 12px;
  color: var(--green);
  font-weight: 900;
}

.app-page {
  display: none;
  animation: pageIn 330ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.app-page.active {
  display: block;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: min(calc(100% - 24px), 560px);
  padding: 8px;
  border: 1px solid rgba(255, 142, 171, 0.3);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(217, 79, 120, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.bottom-nav.locked {
  display: none;
}

.nav-item {
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.nav-item span {
  display: block;
  margin-bottom: 3px;
  font-size: 1.16rem;
  transition: transform 180ms ease;
}

.nav-item.active {
  background: linear-gradient(135deg, #ffeaf1, #e9fff4);
  color: var(--coral-deep);
  box-shadow: 0 8px 18px rgba(217, 79, 120, 0.12);
}

.nav-item.active span {
  animation: navBounce 420ms cubic-bezier(0.2, 1.2, 0.22, 1) both;
}

.toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab,
.icon-button,
.add-button,
.stepper button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
}

.tab.active {
  border-color: rgba(217, 79, 120, 0.42);
  background: #ffeaf1;
  color: var(--coral-deep);
  box-shadow: 0 8px 18px rgba(217, 79, 120, 0.13);
  animation: pillPop 220ms ease both;
}

.search-field,
.field {
  display: block;
}

.search-field span,
.field span,
legend {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.96rem;
}

.search-field input,
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  outline: 0;
  padding: 13px 14px;
  resize: vertical;
}

.search-field input:focus,
.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 134, 164, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 134, 164, 0.14);
  transform: translateY(-1px);
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 12px;
}

.title-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.section-title span,
.section-title strong {
  color: var(--green);
  font-weight: 900;
}

.refresh-button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0 10px;
  box-shadow: 0 6px 14px rgba(217, 79, 120, 0.08);
}

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

.menu-card,
.cart-panel,
.report-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(217, 79, 120, 0.1);
}

.menu-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  content-visibility: auto;
  contain-intrinsic-size: 150px;
}

.pop-card {
  animation: cardPop 220ms cubic-bezier(0.2, 0.9, 0.22, 1) both;
  animation-delay: calc(var(--i, 0) * 10ms);
}

.menu-meta,
.tag-row,
.order-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.menu-meta span,
.tag-row span,
.order-summary span {
  border-radius: 999px;
  background: rgba(218, 246, 233, 0.85);
  color: var(--green);
  padding: 4px 8px;
  font-size: 0.76rem;
  font-weight: 800;
}

.menu-card p {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.rating-line {
  color: var(--coral-deep);
  font-weight: 800;
}

.rating-line::before {
  content: "星星 ";
}

.menu-action {
  display: grid;
  justify-items: end;
  align-content: space-between;
  gap: 10px;
  min-width: 82px;
}

.menu-action strong {
  color: var(--coral-deep);
  font-size: 1.06rem;
}

.add-button {
  min-height: 36px;
  padding: 0 14px;
  background: linear-gradient(135deg, #ff86a4, #ffb3c6);
  border-color: var(--coral);
  color: #fff;
  box-shadow: 0 8px 18px rgba(217, 79, 120, 0.2);
}

.add-button:hover,
.submit-button:hover,
.soft-button:hover {
  filter: saturate(1.06) brightness(1.02);
}

.cart-panel {
  padding: 6px 16px 16px;
  margin: 18px 0 20px;
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

.mood-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 234, 241, 0.94), rgba(255, 248, 251, 0.92));
  box-shadow: var(--shadow);
  padding: 6px 16px 16px;
  margin: 0 0 20px;
}

.cute-slider {
  margin-top: 4px;
}

.cute-slider span {
  margin-bottom: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
  margin: 0 0 16px;
}

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

.cart-empty {
  color: var(--muted);
  padding: 2px 0 8px;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.rating-select {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.rating-select span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.rating-select select {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

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

.reward-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.rewards-panel {
  background: linear-gradient(135deg, rgba(255, 234, 241, 0.94), rgba(218, 246, 233, 0.82));
}

.wheel-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 211, 110, 0.28), transparent 26%),
    linear-gradient(135deg, rgba(255, 234, 241, 0.96), rgba(218, 246, 233, 0.9));
}

.wheel-wrap {
  position: relative;
  width: min(82vw, 330px);
  aspect-ratio: 1;
  margin: 12px auto 18px;
}

.lottery-wheel {
  position: absolute;
  inset: 0;
  border: 10px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.75);
  transition: transform 2.3s cubic-bezier(0.12, 0.75, 0.18, 1);
}

.lottery-wheel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, rgba(255, 255, 255, 0.38), transparent 18%, rgba(255, 255, 255, 0.24), transparent 38%);
  mix-blend-mode: screen;
}

.lottery-wheel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff8fb;
  box-shadow: 0 10px 24px rgba(59, 45, 52, 0.16);
  transform: translate(-50%, -50%);
}

.lottery-wheel span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 2px 8px rgba(59, 45, 52, 0.25);
  transform: rotate(var(--angle)) translateY(-116px) rotate(calc(-1 * var(--angle)));
  transform-origin: center;
}

.wheel-pointer {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 32px solid var(--coral-deep);
  filter: drop-shadow(0 5px 8px rgba(217, 79, 120, 0.25));
  transform: translateX(-50%);
  z-index: 3;
}

.wheel-pointer::after {
  content: "";
  position: absolute;
  left: -6px;
  top: -28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.reward-card strong,
.reward-card span {
  display: block;
}

.reward-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.add-button:disabled {
  opacity: 0.45;
}

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

.cart-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.stepper {
  display: grid;
  grid-template-columns: 34px 28px 34px;
  align-items: center;
  text-align: center;
}

.stepper button {
  width: 34px;
  height: 34px;
  background: #fff;
  color: var(--coral-deep);
}

.stepper span {
  color: var(--ink);
  font-weight: 900;
}

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

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(38, 49, 44, 0.05);
  font-weight: 800;
}

.choice.selected {
  border-color: rgba(217, 79, 120, 0.44);
  background: linear-gradient(135deg, #ffeaf1, #e9fff4);
  color: var(--coral-deep);
  box-shadow: 0 10px 24px rgba(201, 79, 64, 0.14);
  animation: selectedGlow 420ms ease both;
}

.field {
  margin: 0 0 18px;
}

.submit-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff78a0, #80cfa6);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.submit-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: translateX(-120%);
}

.submit-button:hover::after {
  animation: shineSweep 820ms ease;
}

.soft-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #ffeaf1);
  color: var(--coral-deep);
  font-weight: 900;
  padding: 0 16px;
}

.status {
  min-height: 24px;
  margin: 12px 0 0;
  text-align: center;
  color: var(--green);
  font-weight: 800;
}

.status:not(:empty) {
  animation: statusPop 260ms ease both;
}

.tap-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: tapRipple 520ms ease-out forwards;
}

.admin-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 211, 110, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(255, 234, 241, 0.78), rgba(218, 246, 233, 0.52)),
    #fff8fb;
  padding-bottom: 86px;
}

.admin-shell {
  padding-top: max(24px, env(safe-area-inset-top));
}

.admin-page-view {
  display: none;
  animation: pageIn 260ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.admin-page-view.active {
  display: block;
}

.admin-bottom-nav {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(calc(100% - 20px), 680px);
}

.admin-bottom-nav .nav-item {
  min-height: 52px;
  font-size: 0.72rem;
  border-radius: 16px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(2rem, 9vw, 3.6rem);
  color: var(--ink);
}

.icon-button {
  min-width: 68px;
  height: 40px;
  color: var(--green);
}

.report-list {
  display: grid;
  gap: 12px;
}

.admin-grid {
  display: grid;
  gap: 16px;
}

.admin-tool {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(217, 79, 120, 0.1);
  padding: 16px;
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

.hero-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(217, 79, 120, 0.12);
  margin-bottom: 12px;
}

.mood-report-card {
  border: 1px solid rgba(255, 134, 164, 0.24);
  border-radius: 16px;
  background: rgba(255, 234, 241, 0.72);
  padding: 10px 12px;
  margin: 12px 0;
}

.mood-report-card strong,
.mood-report-card p {
  margin: 0;
}

.mood-report-card p {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.mini-form {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.mini-form input,
.mini-form select,
.prize-row input,
.prize-row select,
.json-editor {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: 0;
  padding: 12px;
}

.prize-editor {
  display: grid;
  gap: 10px;
}

.prize-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  padding: 10px;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--green);
  font-weight: 900;
}

.inline-check input {
  width: auto;
}

.json-editor {
  margin: 8px 0 10px;
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

.helper-text {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.browser-notify-panel {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 12px;
}

.browser-notify-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.small-list {
  display: grid;
  gap: 8px;
}

.admin-collapsible {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 8px;
}

.admin-collapsible summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  min-height: 42px;
  padding: 4px 2px;
  user-select: none;
}

.admin-collapsible summary::-webkit-details-marker {
  display: none;
}

.admin-collapsible summary span {
  font-weight: 800;
}

.admin-collapsible summary small {
  background: rgba(255, 134, 164, 0.14);
  border: 1px solid rgba(255, 134, 164, 0.22);
  border-radius: 999px;
  color: var(--muted);
  padding: 5px 10px;
}

.admin-collapsible summary::after {
  color: var(--muted);
  content: "展开";
  font-size: 12px;
  margin-left: 8px;
}

.admin-collapsible[open] summary::after {
  content: "收起";
}

.admin-collapsible .small-list {
  padding-bottom: 4px;
}

.small-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.bounty-admin-card {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.bounty-admin-card > span,
.bounty-admin-card small {
  display: block;
}

.bounty-admin-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.bounty-accept-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 14px;
  background: rgba(218, 246, 233, 0.55);
  padding: 8px 10px;
  color: var(--green);
  font-weight: 900;
}

.small-row span,
.small-row small {
  display: block;
}

.small-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.small-row strong {
  color: var(--coral-deep);
}

.tiny-danger {
  min-height: 32px;
  border: 1px solid rgba(201, 79, 64, 0.35);
  border-radius: 999px;
  background: #ffeaf1;
  color: var(--coral-deep);
  font-weight: 800;
}

.done-button {
  margin-top: 12px;
}

.report-card {
  padding: 16px;
}

.report-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.report-topline strong {
  font-size: 1.18rem;
}

.report-topline time {
  color: var(--muted);
  font-size: 0.88rem;
}

.order-summary {
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}

.order-summary strong {
  color: var(--coral-deep);
  font-size: 1.2rem;
}

.order-items {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}

.order-items li {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.order-items small,
dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.custom-food {
  margin: 8px 0 12px;
  color: var(--green);
  font-weight: 800;
}

dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

dd {
  margin: 3px 0 0;
  line-height: 1.55;
}

.empty-state {
  padding: 24px 16px;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 720px) {
  .hero {
    min-height: 44vh;
    padding-left: max(42px, calc((100vw - 820px) / 2));
  }

  .toolbar {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
    align-items: end;
  }

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

  .compact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .wide-tool {
    grid-column: 1 / -1;
  }

  .dish-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dish-form .submit-button {
    grid-column: span 2;
  }

  .prize-row {
    grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr auto auto;
    align-items: center;
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes softRise {
  from {
    opacity: 0.7;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes navBounce {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-4px) scale(1.12);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes pillPop {
  from {
    transform: scale(0.96);
  }
  to {
    transform: scale(1);
  }
}

@keyframes selectedGlow {
  0% {
    transform: scale(0.98);
  }
  55% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes tapRipple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@keyframes shineSweep {
  to {
    transform: translateX(120%);
  }
}

@keyframes statusPop {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wheelBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

@keyframes pointerWiggle {
  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(3deg);
  }
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1) rotate(-5deg);
  }
  45% {
    transform: scale(1.18) rotate(5deg);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.06) translateY(-8px);
  }
}

@keyframes floatDecor {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .menu-card,
  .cart-panel,
  .admin-tool {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .menu-card:hover,
  .cart-panel:hover,
  .admin-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(217, 79, 120, 0.14);
  }
}

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

/* 2026-07-13 MotionSites-inspired premium public skin */
.public-site {
  --p-ink: #171a18;
  --p-soft-ink: #515751;
  --p-pearl: #f7f5ef;
  --p-white: rgba(255, 255, 255, 0.76);
  --p-blush: #ff7f9f;
  --p-sage: #88a78f;
  --p-butter: #f5c85b;
  --p-border: rgba(25, 34, 28, 0.1);
  --p-shadow: 0 24px 70px rgba(34, 47, 38, 0.12);
  --pointer-x: 50%;
  --pointer-y: 18%;
  color: var(--p-ink);
  background: var(--p-pearl);
}

.public-site::before,
.public-site::after {
  content: none;
}

.public-site .app-shell {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.95), transparent 19rem),
    linear-gradient(180deg, #f7f5ef 0%, #eef2eb 52%, #f7f5ef 100%);
}

.public-site .hero {
  min-height: clamp(560px, 72vh, 760px);
  max-width: 1480px;
  margin: 0 auto;
  padding: 110px clamp(22px, 6vw, 88px) 92px;
  align-items: center;
  border-radius: 0 0 34px 34px;
  isolation: isolate;
}

.public-site .hero-image {
  inset: 0;
  opacity: 1;
  filter: saturate(0.96) contrast(1.02);
  object-position: center center;
  animation: premiumHeroDrift 16s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.public-site .hero-shade {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 20, 0.7) 0%, rgba(17, 24, 20, 0.42) 42%, rgba(17, 24, 20, 0.04) 72%),
    linear-gradient(180deg, rgba(17, 24, 20, 0.16), rgba(17, 24, 20, 0.42));
}

.public-site .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.public-site .hero::after {
  content: "";
  right: clamp(32px, 6vw, 86px);
  bottom: 56px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.08);
  animation: orbitPulse 5s ease-in-out infinite;
}

.public-site .hero-topline {
  position: absolute;
  z-index: 4;
  top: 26px;
  left: clamp(22px, 6vw, 88px);
  right: clamp(22px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
}

.public-site .brand-lockup,
.public-site .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(26, 33, 29, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  font-size: 0.78rem;
  font-weight: 800;
}

.public-site .brand-lockup i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--p-blush);
  color: #fff;
  font-style: normal;
  font-size: 0.72rem;
}

.public-site .live-pill b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9f28e;
  box-shadow: 0 0 0 5px rgba(185, 242, 142, 0.13);
  animation: livePulse 2.4s ease-out infinite;
}

.public-site .hero-content {
  z-index: 3;
  width: min(100%, 660px);
  color: #fff;
  text-shadow: none;
  animation: premiumCopyIn 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.public-site .hero-content::before {
  content: none;
}

.public-site .hero .eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.public-site .hero h1 {
  display: grid;
  gap: 2px;
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.25rem, 7.6vw, 7rem);
  line-height: 0.88;
  font-weight: 760;
  letter-spacing: 0;
}

.public-site .hero h1 span,
.public-site .hero h1 strong {
  display: block;
  font-weight: inherit;
}

.public-site .hero h1 strong {
  color: #ffd2dd;
  font-family: "STKaiti", "KaiTi", serif;
  font-weight: 600;
  transform: translateX(clamp(12px, 4vw, 54px));
}

.public-site .hero .subcopy {
  max-width: 31rem;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 600;
}

.public-site .hero-tags {
  margin-top: 22px;
}

.public-site .hero-tags span {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  backdrop-filter: blur(12px);
}

.public-site .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 54px;
  margin-top: 26px;
  padding: 8px 9px 8px 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--p-ink);
  box-shadow: 0 18px 44px rgba(6, 12, 8, 0.2);
  font-weight: 900;
}

.public-site .hero-cta b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--p-blush);
  color: #fff;
  font-size: 1.1rem;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.public-site .hero-cta:hover b {
  transform: rotate(-45deg) scale(1.06);
}

.public-site .hero-ticket {
  position: absolute;
  z-index: 3;
  right: clamp(36px, 8vw, 150px);
  bottom: clamp(72px, 10vh, 118px);
  width: min(270px, 24vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 #fff, 0 30px 70px rgba(26, 36, 30, 0.2);
  color: var(--p-ink);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  transform: rotate(3deg);
  animation: ticketFloat 6s ease-in-out infinite;
}

.public-site .ticket-head,
.public-site .ticket-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.public-site .ticket-head {
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 900;
}

.public-site .ticket-head b {
  color: var(--p-blush);
}

.public-site .ticket-row {
  padding: 10px 0;
  border-top: 1px solid rgba(25, 34, 28, 0.09);
  font-size: 0.82rem;
  font-weight: 750;
}

.public-site .ticket-row i {
  font-style: normal;
}

.public-site .ticket-row span {
  flex: 1;
}

.public-site .ticket-row strong {
  color: var(--p-sage);
}

.public-site .ticket-line {
  height: 1px;
  margin: 8px 0 12px;
  background: repeating-linear-gradient(90deg, rgba(25, 34, 28, 0.24) 0 6px, transparent 6px 11px);
}

.public-site .hero-ticket small {
  color: var(--p-soft-ink);
  font-weight: 750;
}

.public-site .motion-rail {
  position: relative;
  z-index: 4;
  width: calc(100% + 20px);
  margin: -24px 0 30px -10px;
  overflow: hidden;
  border-block: 1px solid rgba(25, 34, 28, 0.1);
  background: #f5c85b;
  color: #252b27;
  transform: rotate(-1deg);
}

.public-site .motion-rail div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  padding: 12px 0;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  animation: railMove 18s linear infinite;
}

.public-site .motion-rail i {
  color: #fff;
  font-style: normal;
}

.public-site .auth-gate {
  width: min(100%, 620px);
  margin: -8px auto 0;
  z-index: 6;
}

.public-site .auth-card,
.public-site .menu-card,
.public-site .cart-panel,
.public-site .mood-panel,
.public-site .empty-state,
.public-site .user-strip,
.public-site .bottom-nav {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 #fff, var(--p-shadow);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
}

.public-site .auth-card {
  padding: 26px;
  border-radius: 24px;
}

.public-site .auth-card::before,
.public-site .cart-panel::before {
  display: none;
}

.public-site .auth-card h2,
.public-site .section-title h2 {
  color: var(--p-ink);
  font-weight: 850;
}

.public-site .auth-card .eyebrow,
.public-site .search-field span,
.public-site .field span,
.public-site legend {
  color: #68716b;
}

.public-site .panel {
  width: min(100%, 940px);
}

.public-site .page-panel {
  margin-top: 0;
}

.public-site .user-strip {
  border-radius: 16px;
  color: #56715e;
}

.public-site .service-note {
  border: 0;
  border-left: 4px solid var(--p-blush);
  border-radius: 4px 16px 16px 4px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: none;
}

.public-site .service-note strong {
  color: #bd4765;
}

.public-site .toolbar {
  gap: 12px;
}

.public-site .tab,
.public-site .choice,
.public-site .refresh-button,
.public-site .soft-button,
.public-site .search-field input,
.public-site .field input,
.public-site .field textarea,
.public-site .auth-form input {
  border-color: var(--p-border);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.public-site .tab.active,
.public-site .choice.selected,
.public-site .nav-item.active {
  background: var(--p-ink);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 26, 24, 0.16);
}

.public-site .menu-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.public-site .menu-card {
  min-height: 218px;
  padding: 20px;
  border-radius: 20px;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease, border-color 320ms ease;
}

.public-site .menu-card::before {
  inset: 0;
  width: auto;
  opacity: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(255, 255, 255, 0.9), transparent 38%);
  transition: opacity 260ms ease;
  pointer-events: none;
}

.public-site .menu-card:hover {
  --lift: -6px;
  border-color: rgba(255, 127, 159, 0.28);
  box-shadow: inset 0 1px 0 #fff, 0 30px 70px rgba(34, 47, 38, 0.16);
}

.public-site .menu-card:hover::before {
  opacity: 0.42;
}

.public-site .menu-card-main,
.public-site .menu-action {
  position: relative;
  z-index: 1;
  transform: translateZ(16px);
}

.public-site .menu-card h3 {
  color: var(--p-ink);
  font-size: 1.18rem;
}

.public-site .menu-card p {
  color: #747b76;
}

.public-site .menu-meta span,
.public-site .tag-row span,
.public-site .order-summary span {
  background: #eef2eb;
  color: #55705e;
  box-shadow: none;
}

.public-site .rating-line,
.public-site .menu-action strong {
  color: #c74f6d;
}

.public-site .add-button,
.public-site .submit-button {
  border-radius: 14px;
  background: linear-gradient(135deg, #ff7899, #f19b6a);
  box-shadow: 0 14px 30px rgba(214, 84, 117, 0.2);
}

.public-site .cart-panel,
.public-site .mood-panel {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.public-site .bottom-nav {
  width: min(calc(100% - 24px), 520px);
  border-radius: 22px;
  background: rgba(250, 250, 247, 0.78);
  box-shadow: inset 0 1px 0 #fff, 0 18px 48px rgba(30, 39, 33, 0.16);
}

.public-site .nav-item {
  border-radius: 16px;
  color: #737a75;
}

.public-site .nav-item.active {
  background: #1f2521;
}

.public-site .motion-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(5px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 700ms ease;
}

.public-site .motion-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.public-site .pointer-glow {
  position: fixed;
  z-index: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.74), rgba(255, 213, 122, 0.14) 42%, transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}

@keyframes premiumHeroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.075) translate3d(-0.7%, -0.5%, 0); }
}

@keyframes premiumCopyIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes ticketFloat {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-12px); }
}

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

@keyframes livePulse {
  70%, 100% { box-shadow: 0 0 0 11px rgba(185, 242, 142, 0); }
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 0.42; }
}

@media (max-width: 719px) {
  .public-site .hero {
    min-height: 610px;
    padding: 104px 20px 120px;
    align-items: flex-end;
    border-radius: 0 0 26px 26px;
  }

  .public-site .hero-image {
    object-position: 63% center;
  }

  .public-site .hero-shade {
    background:
      linear-gradient(180deg, rgba(17, 24, 20, 0.08) 0%, rgba(17, 24, 20, 0.28) 42%, rgba(17, 24, 20, 0.78) 100%),
      linear-gradient(90deg, rgba(17, 24, 20, 0.28), transparent 80%);
  }

  .public-site .live-pill {
    font-size: 0;
    padding: 7px 10px;
  }

  .public-site .live-pill::after {
    content: "今日可点";
    font-size: 0.72rem;
  }

  .public-site .hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.65rem);
  }

  .public-site .hero h1 strong {
    transform: translateX(12px);
  }

  .public-site .hero-ticket {
    right: 18px;
    top: 122px;
    bottom: auto;
    width: 184px;
    padding: 12px;
    opacity: 0.92;
  }

  .public-site .ticket-row {
    padding: 7px 0;
    font-size: 0.7rem;
  }

  .public-site .hero-ticket small,
  .public-site .ticket-line {
    display: none;
  }

  .public-site .motion-rail {
    margin-top: -18px;
  }

  .public-site .menu-list {
    grid-template-columns: 1fr;
  }

  .public-site .menu-card {
    min-height: 0;
  }
}

@media (hover: none), (pointer: coarse) {
  .public-site .pointer-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-site .hero-image,
  .public-site .hero-content,
  .public-site .hero-ticket,
  .public-site .motion-rail div,
  .public-site .live-pill b,
  .public-site .hero::after {
    animation: none !important;
  }

  .public-site .motion-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* 2026-07 campus order redesign */
:root {
  --ink: #1f2521;
  --muted: #6f776f;
  --paper: #fffaf0;
  --line: rgba(31, 37, 33, 0.12);
  --coral: #e84f35;
  --coral-deep: #b93121;
  --green: #14634f;
  --mint: #d9f0df;
  --gold: #f2b84b;
  --white: rgba(255, 252, 244, 0.94);
  --shadow: 0 18px 46px rgba(28, 58, 48, 0.16);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", system-ui, sans-serif;
}

body {
  background:
    linear-gradient(135deg, rgba(18, 53, 47, 0.08) 0 25%, transparent 25% 50%, rgba(18, 53, 47, 0.06) 50% 75%, transparent 75%) 0 0 / 34px 34px,
    linear-gradient(180deg, #fff7e7 0%, #f2ead8 48%, #fffaf0 100%);
}

body::before {
  content: "取餐口 A3";
  top: 18px;
  right: 18px;
  color: rgba(20, 99, 79, 0.12);
  font-size: clamp(1.25rem, 6vw, 3.5rem);
  font-weight: 1000;
  letter-spacing: 0;
  transform: rotate(6deg);
}

.app-shell {
  background:
    linear-gradient(180deg, rgba(18, 53, 47, 0.08) 0%, rgba(255, 250, 240, 0.96) 42%),
    transparent;
}

.hero {
  min-height: 42vh;
  padding: 72px 20px 34px;
  isolation: isolate;
}

.compact-hero {
  min-height: 36vh;
}

.hero-image {
  filter: saturate(0.78) contrast(1.08) brightness(0.75);
}

.hero-shade {
  background:
    radial-gradient(circle at 20% 24%, rgba(232, 79, 53, 0.58), transparent 26%),
    linear-gradient(135deg, rgba(18, 53, 47, 0.92), rgba(18, 53, 47, 0.58) 46%, rgba(58, 39, 25, 0.44));
}

.hero::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -62px;
  width: min(56vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 250, 240, 0.22) 0 32%, transparent 33%),
    repeating-conic-gradient(from -16deg, rgba(242, 184, 75, 0.92) 0 14deg, rgba(232, 79, 53, 0.92) 14deg 23deg, rgba(20, 99, 79, 0.9) 23deg 34deg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  opacity: 0.92;
  z-index: 1;
}

.hero-content {
  z-index: 2;
  color: #fffaf0;
  text-shadow: none;
}

.eyebrow {
  color: inherit;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 9em;
  font-size: clamp(2.32rem, 10.4vw, 4.8rem);
  font-weight: 1000;
  line-height: 0.98;
}

h1::after {
  content: "";
}

.subcopy {
  max-width: 25rem;
  color: rgba(255, 250, 240, 0.88);
  font-weight: 700;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-tags span {
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.12);
  color: #fffaf0;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.auth-gate {
  margin-top: -34px;
}

.auth-card,
.menu-card,
.cart-panel,
.mood-panel,
.empty-state,
.user-strip {
  border-color: var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(255, 246, 226, 0.93));
  box-shadow: var(--shadow);
}

.auth-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.auth-card::before,
.cart-panel::before {
  content: "";
  display: block;
  height: 6px;
  margin: -22px -22px 18px;
  background: repeating-linear-gradient(90deg, var(--green) 0 18px, var(--gold) 18px 30px, var(--coral) 30px 42px);
}

.page-panel {
  margin-top: -18px;
}

.user-strip {
  border-radius: 16px;
  color: var(--green);
}

.section-title {
  align-items: center;
  margin: 18px 0 12px;
}

.section-title h2,
.auth-card h2 {
  font-size: 1.34rem;
  color: var(--ink);
  font-weight: 1000;
}

.section-title span,
.section-title strong {
  color: var(--green);
}

.service-note {
  display: grid;
  gap: 2px;
  border: 1px dashed rgba(20, 99, 79, 0.28);
  border-radius: 16px;
  background: rgba(217, 240, 223, 0.62);
  color: var(--green);
  padding: 12px 14px;
  margin: 0 0 14px;
}

.service-note strong {
  font-size: 0.96rem;
}

.service-note span {
  color: #496259;
  font-size: 0.86rem;
  font-weight: 700;
}

.tabs {
  gap: 9px;
  padding: 1px 0 4px;
}

.tab,
.icon-button,
.add-button,
.stepper button,
.refresh-button,
.soft-button {
  border-color: rgba(31, 37, 33, 0.14);
  box-shadow: none;
}

.tab {
  min-height: 40px;
  background: rgba(255, 252, 244, 0.9);
  color: #4b554f;
}

.tab.active {
  border-color: rgba(20, 99, 79, 0.28);
  background: #12352f;
  color: #fffaf0;
  box-shadow: 0 10px 24px rgba(18, 53, 47, 0.18);
}

.search-field input,
.field input,
.field textarea,
.auth-form input {
  border-color: rgba(31, 37, 33, 0.14);
  border-radius: 14px;
  background: #fffdf8;
}

.search-field input:focus,
.field input:focus,
.field textarea:focus,
.auth-form input:focus {
  border-color: rgba(20, 99, 79, 0.42);
  box-shadow: 0 0 0 4px rgba(20, 99, 79, 0.12);
}

.menu-list {
  gap: 12px;
}

.menu-card {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  overflow: hidden;
  padding: 16px;
}

.menu-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--coral), var(--gold));
}

.menu-card-main {
  min-width: 0;
}

.menu-meta span,
.tag-row span,
.order-summary span {
  background: rgba(217, 240, 223, 0.82);
  color: var(--green);
}

.menu-card h3 {
  margin: 10px 0 6px;
  font-size: 1.16rem;
  font-weight: 1000;
}

.menu-card p {
  color: var(--muted);
}

.rating-line {
  color: #80512a;
  font-size: 0.86rem;
}

.rating-line::before {
  content: "口碑 ";
}

.menu-action {
  grid-template-columns: 1fr auto;
  justify-items: stretch;
  align-items: center;
  min-width: 0;
}

.menu-action strong {
  color: var(--coral-deep);
  font-size: 1.28rem;
  font-weight: 1000;
}

.add-button,
.submit-button {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral), #f0833d);
  color: #fffaf0;
  box-shadow: 0 12px 28px rgba(232, 79, 53, 0.24);
  font-weight: 1000;
}

.submit-button {
  min-height: 50px;
}

.cart-panel {
  position: relative;
  overflow: hidden;
  padding-top: 22px;
}

.cart-panel::before {
  margin: -22px -16px 12px;
}

.cart-row {
  border-top-color: rgba(31, 37, 33, 0.1);
}

.choice-grid {
  gap: 9px;
}

.choice {
  border-color: rgba(31, 37, 33, 0.14);
  border-radius: 14px;
  background: #fffdf8;
}

.choice.selected {
  border-color: rgba(20, 99, 79, 0.32);
  background: linear-gradient(135deg, #12352f, #14634f);
  color: #fffaf0;
  box-shadow: 0 12px 24px rgba(18, 53, 47, 0.18);
}

.bottom-nav {
  border-color: rgba(31, 37, 33, 0.12);
  border-radius: 18px;
  background: rgba(255, 252, 244, 0.94);
  box-shadow: 0 18px 44px rgba(31, 37, 33, 0.18);
}

.nav-item {
  border-radius: 13px;
  color: #69736c;
}

.nav-item.active {
  background: #12352f;
  color: #fffaf0;
  box-shadow: 0 10px 22px rgba(18, 53, 47, 0.18);
}

.reward-card {
  border-top-color: rgba(31, 37, 33, 0.1);
}

.rewards-panel,
.wheel-panel,
.mood-panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(243, 237, 221, 0.92));
}

@media (min-width: 720px) {
  .hero {
    min-height: 44vh;
  }

  .menu-card {
    min-height: 214px;
  }

  .auth-gate {
    margin-top: -84px;
  }
}

/* 2026-07 cute iOS glass skin */
:root {
  --ink: #2a2432;
  --muted: #7a7183;
  --paper: #fff9ff;
  --line: rgba(119, 91, 140, 0.16);
  --coral: #ff7aa8;
  --coral-deep: #dd4f86;
  --green: #6d72ff;
  --mint: #eaf6ff;
  --gold: #ffd36e;
  --white: rgba(255, 255, 255, 0.68);
  --shadow: 0 24px 70px rgba(91, 76, 142, 0.18);
  --glass-line: rgba(255, 255, 255, 0.56);
  --glass-fill: rgba(255, 255, 255, 0.58);
  --glass-fill-strong: rgba(255, 255, 255, 0.78);
}

html {
  background: #fff7ff;
}

body {
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 142, 190, 0.48), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(153, 210, 255, 0.55), transparent 30%),
    radial-gradient(circle at 52% 42%, rgba(207, 188, 255, 0.44), transparent 33%),
    linear-gradient(180deg, #fff9ff 0%, #f5f8ff 46%, #fff7fb 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  top: 74px;
  right: -52px;
  width: 188px;
  height: 188px;
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at 32% 30%, rgba(255, 134, 180, 0.7), transparent 35%),
    radial-gradient(circle at 72% 76%, rgba(118, 188, 255, 0.72), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 28px 70px rgba(110, 92, 170, 0.18);
  filter: blur(0.2px);
  opacity: 0.8;
  animation: glassFloat 8s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  left: -60px;
  bottom: 90px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.84), transparent 18%),
    linear-gradient(135deg, rgba(255, 211, 110, 0.5), rgba(255, 122, 168, 0.34), rgba(109, 114, 255, 0.28));
  pointer-events: none;
  opacity: 0.72;
  animation: glassFloat 10s ease-in-out infinite reverse;
}

.app-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 249, 255, 0.78) 48%),
    transparent;
}

.hero {
  min-height: 44vh;
}

.hero-image {
  filter: saturate(1.08) contrast(0.9) brightness(1.02);
  opacity: 0.62;
  animation: dreamyZoom 12s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 247, 255, 0.18)),
    radial-gradient(circle at 18% 18%, rgba(255, 122, 168, 0.54), transparent 30%),
    radial-gradient(circle at 78% 30%, rgba(109, 114, 255, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(42, 36, 50, 0.72), rgba(120, 111, 180, 0.38));
}

.hero::after {
  right: -24px;
  bottom: -42px;
  width: min(52vw, 260px);
  border-radius: 34%;
  background:
    conic-gradient(from 18deg, rgba(255, 122, 168, 0.92), rgba(255, 211, 110, 0.92), rgba(111, 193, 255, 0.86), rgba(194, 174, 255, 0.9), rgba(255, 122, 168, 0.92));
  filter: saturate(1.05);
  animation: candySpin 18s linear infinite;
}

.hero-content {
  animation: heroWordsIn 680ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero-content::before {
  content: "♡";
  position: absolute;
  left: min(67vw, 430px);
  top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(2rem, 7vw, 4.4rem);
  font-weight: 900;
  text-shadow: 0 10px 30px rgba(221, 79, 134, 0.26);
  animation: heartFloat 3.6s ease-in-out infinite;
}

h1 {
  max-width: 8.4em;
  letter-spacing: 0;
  text-wrap: balance;
}

.subcopy {
  color: rgba(255, 255, 255, 0.9);
}

.hero-tags span {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44), 0 12px 26px rgba(85, 74, 130, 0.12);
}

.auth-card,
.menu-card,
.cart-panel,
.mood-panel,
.empty-state,
.user-strip,
.bottom-nav {
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 24px 70px rgba(91, 76, 142, 0.18);
  backdrop-filter: blur(22px) saturate(1.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.22);
}

.auth-card {
  border-radius: 28px;
  animation: glassCardIn 520ms cubic-bezier(0.2, 0.9, 0.2, 1) 120ms both;
}

.auth-card::before,
.cart-panel::before {
  height: 7px;
  background: linear-gradient(90deg, #ff7aa8, #ffd36e, #7cc8ff, #c9b6ff, #ff7aa8);
  background-size: 220% 100%;
  animation: shimmerBar 4.8s ease-in-out infinite;
}

.auth-card::after,
.menu-card::after,
.cart-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0 28%, rgba(255, 255, 255, 0.35) 44%, transparent 62% 100%);
  transform: translateX(-120%);
  pointer-events: none;
}

.auth-card:hover::after,
.menu-card:hover::after,
.cart-panel:hover::after {
  animation: glassSweep 900ms ease;
}

.section-title h2,
.auth-card h2 {
  color: #282030;
}

.eyebrow,
.search-field span,
.field span,
legend {
  color: #6c6078;
}

.tab,
.choice,
.refresh-button,
.soft-button,
.search-field input,
.field input,
.field textarea,
.auth-form input {
  border-color: rgba(119, 91, 140, 0.13);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.tab,
.choice {
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.tab:hover,
.choice:hover {
  transform: translateY(-1px);
}

.tab.active,
.choice.selected,
.nav-item.active {
  background: linear-gradient(135deg, #ff7aa8, #8e8cff);
  color: #fff;
  box-shadow: 0 14px 32px rgba(142, 140, 255, 0.22);
}

.service-note {
  border-color: rgba(255, 122, 168, 0.24);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.service-note strong {
  color: var(--coral-deep);
}

.service-note span {
  color: #786b84;
}

.menu-card {
  border-radius: 24px;
  animation-duration: 360ms;
}

.menu-card::before {
  width: 5px;
  background: linear-gradient(180deg, #ff7aa8, #ffd36e, #7cc8ff);
}

.menu-meta span,
.tag-row span,
.order-summary span {
  background: rgba(255, 255, 255, 0.64);
  color: #6d65d8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.rating-line {
  color: #dd4f86;
}

.menu-action strong {
  color: var(--coral-deep);
}

.add-button,
.submit-button {
  background: linear-gradient(135deg, #ff6f9e, #ff996a);
  box-shadow: 0 16px 34px rgba(255, 111, 158, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.add-button:hover,
.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(255, 111, 158, 0.34);
}

.submit-button::before,
.add-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-120%);
}

.submit-button:hover::before,
.add-button:hover::before {
  animation: glassSweep 760ms ease;
}

.bottom-nav {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-item {
  border-radius: 20px;
}

.nav-item span {
  filter: drop-shadow(0 6px 10px rgba(119, 91, 140, 0.16));
}

.wheel-panel,
.rewards-panel,
.mood-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.5)),
    rgba(255, 255, 255, 0.45);
}

@keyframes glassFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-10px, 16px, 0) rotate(8deg);
  }
}

@keyframes dreamyZoom {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.07) translateY(-10px);
  }
}

@keyframes candySpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroWordsIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heartFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg) scale(1);
  }
  50% {
    transform: translateY(-12px) rotate(7deg) scale(1.08);
  }
}

@keyframes glassCardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes shimmerBar {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes glassSweep {
  to {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero-image,
  .hero::after,
  .hero-content::before,
  .auth-card::before,
  .cart-panel::before {
    animation: none !important;
  }
}

/* 2026-07-13 premium lucky wheel */
.public-site .wheel-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 4vw, 34px);
  border-color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 82% 4%, rgba(245, 200, 91, 0.2), transparent 24%),
    radial-gradient(circle at 8% 72%, rgba(136, 167, 143, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(241, 242, 236, 0.74));
}

.public-site .wheel-panel::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  right: -74px;
  top: -86px;
  width: 210px;
  height: 210px;
  margin: 0;
  border: 1px solid rgba(84, 117, 101, 0.13);
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 28px rgba(255, 255, 255, 0.16);
}

.public-site .wheel-panel .section-title {
  margin-top: 0;
}

.public-site .wheel-kicker {
  margin: 0 0 4px;
  color: #a45469;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.public-site .wheel-caption {
  margin: -3px 0 20px;
  color: #737b75;
  font-size: 0.88rem;
  font-weight: 650;
}

.public-site .wheel-wrap {
  position: relative;
  width: min(78vw, 360px);
  aspect-ratio: 1;
  margin: 26px auto 24px;
  filter: drop-shadow(0 28px 30px rgba(48, 64, 54, 0.14));
}

.public-site .wheel-ambient {
  position: absolute;
  inset: -17px;
  border: 1px solid rgba(84, 117, 101, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.22),
    0 0 0 18px rgba(84, 117, 101, 0.035);
  animation: wheelAmbient 4.8s ease-in-out infinite;
}

.public-site .lottery-wheel {
  inset: 0;
  border: 7px solid #fbfaf6;
  box-shadow:
    0 24px 60px rgba(52, 67, 57, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.72),
    inset 0 0 34px rgba(21, 28, 24, 0.12);
  transition: transform 2.3s cubic-bezier(0.12, 0.78, 0.16, 1);
}

.public-site .lottery-wheel::before {
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(rgba(255, 255, 255, 0.74) 0deg 0.75deg, transparent 0.75deg var(--segment-angle, 45deg)),
    radial-gradient(circle, transparent 0 32%, rgba(255, 255, 255, 0.08) 32.5% 66%, rgba(255, 255, 255, 0.28) 67% 68%, transparent 69%);
  mix-blend-mode: soft-light;
}

.public-site .lottery-wheel::after {
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: rgba(247, 245, 239, 0.92);
  box-shadow:
    0 12px 30px rgba(29, 38, 32, 0.18),
    inset 0 1px 0 #fff,
    0 0 0 7px rgba(255, 255, 255, 0.26);
}

.public-site .lottery-wheel span {
  width: 94px;
  max-height: 34px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(24, 31, 27, 0.34);
  transform: rotate(var(--angle)) translateY(-128px) rotate(calc(-1 * var(--angle)));
}

.public-site .wheel-hub {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(251, 250, 246, 0.76);
  box-shadow: inset 0 1px 0 #fff;
  color: #31453a;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.public-site .wheel-hub small {
  color: #9d6473;
  font-size: 0.52rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.public-site .wheel-hub b {
  margin: 1px 0 -1px;
  color: #cf9a3e;
  font-size: 1.15rem;
  line-height: 1;
}

.public-site .wheel-hub span {
  font-size: 0.76rem;
  font-weight: 950;
}

.public-site .wheel-pointer {
  left: 50%;
  top: -23px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 46px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px 24px 18px 18px;
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 12px 26px rgba(43, 54, 47, 0.2), inset 0 1px 0 #fff;
  filter: none;
  transform: translateX(-50%);
}

.public-site .wheel-pointer::after {
  content: none;
}

.public-site .wheel-pointer i {
  display: block;
  width: 20px;
  height: 32px;
  margin-top: 12px;
  border-radius: 12px 12px 5px 5px;
  background: linear-gradient(180deg, #d96b86, #b94f69);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.public-site .wheel-draw-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 250px);
  min-height: 54px;
  margin: 0 auto;
  padding: 8px 9px 8px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #243a2f, #426653);
  box-shadow: 0 16px 34px rgba(42, 69, 54, 0.22);
}

.public-site .wheel-draw-button b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3c75d;
  color: #3a382d;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.public-site .wheel-draw-button:hover b {
  transform: rotate(90deg) scale(1.06);
}

.public-site .wheel-panel #drawResult {
  min-height: 20px;
  text-align: center;
}

.public-site .wheel-panel .reward-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.public-site .wheel-panel .reward-card {
  display: block;
  min-width: 0;
  border: 1px solid rgba(52, 68, 58, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
  padding: 10px 12px;
}

.public-site .wheel-panel .reward-card strong,
.public-site .wheel-panel .reward-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes wheelAmbient {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.025); opacity: 1; }
}

@media (max-width: 420px) {
  .public-site .wheel-panel {
    padding: 20px 16px 24px;
  }

  .public-site .wheel-wrap {
    width: min(78vw, 310px);
    margin-top: 30px;
  }

  .public-site .lottery-wheel span {
    width: 82px;
    font-size: 0.68rem;
    transform: rotate(var(--angle)) translateY(-106px) rotate(calc(-1 * var(--angle)));
  }

  .public-site .lottery-wheel::after {
    width: 96px;
    height: 96px;
  }

  .public-site .wheel-hub {
    width: 80px;
    height: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-site .wheel-ambient {
    animation: none !important;
  }

  .public-site .lottery-wheel {
    transition-duration: 1ms !important;
  }
}
