:root {
  --orange: #FF8A3D;
  --orange-deep: #E8671D;
  --orange-dark: #B94B0D;
  --gold: #FFC93C;
  --gold-soft: #FFE7A3;
  --cream: #FFF7E8;
  --cream-deep: #F3E4C8;
  --ink: #34210F;
  --ink-soft: #7A644C;
  --forest: #173D2A;
  --forest-2: #1E5A3C;
  --forest-3: #2F7D53;
  --white: #FFFDF7;
  --wheel: min(78vw, 342px);
  --shadow-card: 0 10px 26px rgba(5, 24, 14, .28);
  --shadow-soft: 0 4px 14px rgba(5, 24, 14, .18);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--forest);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

button:focus-visible {
  outline: 3px solid rgba(255, 201, 60, .9);
  outline-offset: 2px;
}

.app {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px calc(env(safe-area-inset-bottom, 0px) + 14px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* ---------------- forest backdrop ---------------- */
.bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 72% at 50% 18%, #31704B 0%, #205238 42%, #133322 78%, #0C271A 100%);
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  left: 50%;
  top: 20%;
  width: 120%;
  aspect-ratio: 1;
  transform: translate(-50%, -34%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 92, .32) 0%, rgba(255, 138, 61, .12) 36%, transparent 66%);
  filter: blur(4px);
}

.bg-rays {
  position: absolute;
  left: 50%;
  top: -18%;
  width: 150%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  opacity: .23;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 226, 154, .5) 0deg 5deg, transparent 5deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: raysSpin 70s linear infinite;
}

@keyframes raysSpin { to { transform: translateX(-50%) rotate(12deg); } }

.bg-hill {
  position: absolute;
  left: -20%;
  width: 140%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(20, 62, 41, .9), rgba(10, 38, 24, .98));
}

.hill-back {
  bottom: 18%;
  height: 34%;
  transform: rotate(-4deg);
  opacity: .72;
}

.hill-front {
  bottom: -4%;
  height: 28%;
  transform: rotate(3deg);
  background: linear-gradient(180deg, #0D2D1D, #071E14);
}

.bg-trees {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 34%;
  opacity: .78;
}

.fireflies {
  position: absolute;
  inset: 0;
}

.firefly {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #FFE39A;
  box-shadow: 0 0 8px 2px rgba(255, 206, 105, .55);
  animation: fireflyFloat 6s ease-in-out infinite;
  opacity: .6;
}

@keyframes fireflyFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.8); opacity: .22; }
  45% { transform: translate3d(7px, -18px, 0) scale(1.2); opacity: .95; }
  70% { opacity: .45; }
}

/* ---------------- top hud ---------------- */
.hud {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 4;
}

.player {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 4px 13px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(7, 30, 19, .46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 34% 28%, #FFE6B0, #FFB968 58%, #E9782B);
  border: 2px solid rgba(255, 237, 198, .92);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .28);
}

.avatar svg,
.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.player-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.14;
}

.player-meta b {
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
}

.player-meta small {
  margin-top: 2px;
  font-size: 9.5px;
  color: rgba(255, 226, 164, .8);
  letter-spacing: .12em;
}

.wallet {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 4px 12px 4px 5px;
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(180deg, #FFF9EC, #FFE9C4);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .24), inset 0 -2px 0 rgba(201, 132, 44, .16);
}

.coin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7A3708;
  background: radial-gradient(circle at 34% 28%, #FFE58B, #FFB52F 62%, #E88A10);
  border: 2px solid #FFF0BE;
  box-shadow: inset 0 -2px 3px rgba(158, 73, 6, .35), 0 2px 4px rgba(120, 55, 6, .2);
}

.coin .mp-icon { width: 17px; height: 17px; }

.wallet-num {
  min-width: 36px;
  text-align: right;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.wallet-unit {
  font-size: 9.5px;
  font-weight: 700;
  color: #9B6B2F;
  align-self: flex-end;
  margin-bottom: 4px;
}

/* 创作者账户：与游戏森林币分开的两本账 */
.creator-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .09s ease, background .2s ease;
  padding: 5px 12px;
  border-radius: 14px;
  color: rgba(255, 246, 226, .9);
  background: rgba(8, 33, 21, .4);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 3;
}

.creator-label {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(255, 237, 196, .9);
}

.creator-label .mp-icon { width: 15px; height: 15px; color: #FFC85E; }

#creatorPoints {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
  color: #FFE09A;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.creator-hint {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9.5px;
  color: rgba(255, 244, 218, .55);
}

.creator-bar:active {
  transform: scale(.99);
  background: rgba(8, 33, 21, .58);
}

.creator-arrow {
  flex: 0 0 auto;
  margin-left: 1px;
  font-size: 16px;
  line-height: 1;
  color: rgba(255, 226, 164, .7);
}

/* ---------------- stage ---------------- */
.stage {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  min-height: 0;
  position: relative;
  z-index: 2;
}

.wheel-area {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 6px 0 2px;
}

.jackpot-flag {
  position: absolute;
  top: 4px;
  right: 2px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px 5px 8px;
  transform: rotate(4deg);
  border-radius: 10px 10px 10px 3px;
  color: #6B2A00;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(180deg, #FFEAA8, #FFC33F);
  border: 1px solid #FFF1BE;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25), inset 0 -2px 0 rgba(185, 75, 13, .2);
}

.jackpot-flag b { font-size: 13px; letter-spacing: -.02em; }
.jackpot-flag .mp-icon { width: 14px; height: 14px; color: #A54A05; }

.wheel-shell {
  position: relative;
  width: 300px;
  height: 300px;
  width: var(--wheel);
  height: var(--wheel);
  max-width: 100%;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .34));
}

.wheel-lights {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.bulb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF7CE, #FFD25E 55%, #E48B18);
  box-shadow: 0 0 5px 1px rgba(255, 203, 76, .55), inset 0 -1px 1px rgba(150, 70, 3, .45);
  animation: bulbBreathe 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -.18s);
}

@keyframes bulbBreathe {
  0%, 100% { opacity: .55; transform: scale(.84); }
  50% { opacity: 1; transform: scale(1.08); }
}

.app.is-spinning .bulb {
  animation: bulbChase .52s linear infinite;
  animation-delay: calc(var(--i, 0) * -.055s);
}

@keyframes bulbChase {
  0%, 100% { opacity: .28; transform: scale(.72); }
  38% { opacity: 1; transform: scale(1.14); box-shadow: 0 0 9px 3px rgba(255, 205, 80, .8); }
}

.wheel {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, #D89A4B, #9D5B1D 34%, #63350F 74%, #3F2008 100%);
  padding: 11px;
  box-shadow:
    inset 0 2px 3px rgba(255, 235, 185, .45),
    inset 0 -8px 12px rgba(40, 16, 3, .55),
    0 0 0 2px rgba(62, 31, 8, .9),
    0 0 0 4px rgba(238, 181, 88, .2);
}

.wheel::before,
.wheel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.wheel::before {
  inset: 3px;
  border: 1px solid rgba(255, 224, 157, .26);
}

.wheel::after {
  inset: 7px;
  border: 1px solid rgba(62, 31, 8, .35);
}

.wheel-disc {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  overflow: hidden;
  transform: rotate(0deg);
  will-change: transform;
  box-shadow: inset 0 0 24px rgba(50, 24, 4, .32), inset 0 2px 2px rgba(255, 255, 255, .34);
}

.wheel-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    #2F7D53 0deg 30deg,
    #F8E7C5 30deg 60deg,
    #FFC93C 60deg 90deg,
    #3F9361 90deg 120deg,
    #F2A33A 120deg 150deg,
    #F8E7C5 150deg 180deg,
    #2F7D53 180deg 210deg,
    #F2A33A 210deg 240deg,
    #F8E7C5 240deg 270deg,
    #3F9361 270deg 300deg,
    #F2A33A 300deg 330deg,
    #F8E7C5 330deg 360deg);
}

.wheel-face::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 55%, rgba(88, 40, 6, .16) 86%, rgba(88, 40, 6, .32) 100%),
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .15) 0deg 1.2deg, transparent 1.2deg 30deg);
  mix-blend-mode: soft-light;
}

.wheel-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .2) 0 4%, transparent 40%);
}

.wheel-labels {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.slot {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slot-inner {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 64px;
  margin-left: -32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
}

.slot-avatar {
  width: 31px;
  height: 31px;
  display: block;
  filter: drop-shadow(0 2px 2px rgba(51, 24, 3, .22));
}

.slot-name {
  display: inline-block;
  margin-top: 1px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 8.5px;
  line-height: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #4B3217;
  background: rgba(255, 247, 227, .72);
}

.slot-prize {
  font-size: 11px;
  line-height: 13px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #3B2410;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .32);
}

.slot[data-tone="dark"] .slot-name {
  color: #FFF4D8;
  background: rgba(17, 63, 39, .48);
}

.slot[data-tone="dark"] .slot-prize { color: #FFF8E5; }

.slot.is-jackpot .slot-name {
  color: #7A2C00;
  background: linear-gradient(180deg, #FFF4BC, #FFD159);
  box-shadow: 0 1px 2px rgba(120, 43, 0, .25);
}

.slot.is-jackpot .slot-prize {
  color: #7A2C00;
  font-size: 12px;
}

.slot.is-jackpot .slot-avatar {
  width: 34px;
  height: 34px;
  margin-top: -3px;
  filter: drop-shadow(0 0 5px rgba(255, 218, 104, .9));
}

.wheel-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .06) 26%, transparent 46%),
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(87, 38, 3, .2) 100%);
}

.wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #7A3006;
  background:
    radial-gradient(circle at 38% 26%, #FFFDF2 0%, #FFF1C9 38%, #FFD173 72%, #E99A2A 100%);
  border: 4px solid #FFE7A8;
  box-shadow:
    0 0 0 4px rgba(109, 53, 8, .68),
    0 7px 13px rgba(40, 16, 2, .42),
    inset 0 -5px 8px rgba(190, 108, 20, .3);
  transition: transform .1s ease;
}

.wheel-hub:active { transform: translate(-50%, -50%) scale(.955); }
.wheel-hub .mp-icon { width: 26px; height: 26px; }
.wheel-hub span { font-size: 15px; font-weight: 900; letter-spacing: .04em; }
.wheel-hub:disabled { cursor: default; }
.app.is-spinning .wheel-hub { animation: hubPulse .7s ease-in-out infinite; }
@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(109, 53, 8, .68), 0 7px 13px rgba(40, 16, 2, .42), 0 0 0 0 rgba(255, 201, 60, .5); }
  50% { box-shadow: 0 0 0 4px rgba(109, 53, 8, .68), 0 7px 13px rgba(40, 16, 2, .42), 0 0 0 12px rgba(255, 201, 60, 0); }
}

.pointer {
  position: absolute;
  left: 50%;
  top: -14px;
  z-index: 8;
  width: 36px;
  height: 44px;
  transform: translateX(-50%);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .34));
  pointer-events: none;
}

.pointer::before {
  content: "";
  position: absolute;
  inset: 7px 2px 0;
  background: linear-gradient(180deg, #FFF0B0 0%, #FFC23E 34%, #F07818 100%);
  border-radius: 12px 12px 6px 6px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  border: 2px solid #FFE8A1;
  box-shadow: inset 0 -6px 8px rgba(173, 66, 4, .35);
}

.pointer span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 19px;
  height: 19px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFF6CC, #FFCC4E 48%, #D86E0D);
  border: 3px solid #FFF2BE;
  box-shadow: 0 2px 5px rgba(77, 31, 2, .35);
}

.app.is-spinning .pointer { animation: pointerTremble .14s linear infinite; }
@keyframes pointerTremble {
  0%, 100% { transform: translateX(-50%) rotate(0deg); }
  25% { transform: translateX(-50%) rotate(-2.4deg); }
  75% { transform: translateX(-50%) rotate(2.4deg); }
}

.big-win {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 9;
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
  pointer-events: none;
  padding: 8px 24px;
  border-radius: 14px;
  color: #6D2700;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .06em;
  white-space: nowrap;
  background: linear-gradient(180deg, #FFF8CC, #FFC93C 58%, #FF9D22);
  border: 3px solid #FFF4BF;
  box-shadow: 0 8px 0 #A84608, 0 16px 32px rgba(0, 0, 0, .35);
  text-shadow: 0 2px 0 rgba(255, 255, 255, .45);
}

.big-win.show { animation: bigWinPop 1.5s cubic-bezier(.19, .9, .3, 1) both; }
@keyframes bigWinPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.35) rotate(-8deg); }
  18% { opacity: 1; transform: translate(-50%, -50%) scale(1.08) rotate(2deg); }
  30% { transform: translate(-50%, -50%) scale(.98) rotate(-1deg); }
  76% { opacity: 1; transform: translate(-50%, -54%) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(-50%, -66%) scale(.94); }
}

/* ---------------- result + chain ---------------- */
.result-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 13px;
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 251, 240, .98), rgba(251, 240, 218, .97));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.result-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #8B4A0B;
  background: linear-gradient(180deg, #FFEEC4, #FFD889);
  border: 1px solid rgba(255, 255, 255, .65);
  box-shadow: inset 0 -3px 0 rgba(185, 120, 25, .16);
  overflow: hidden;
}

.result-icon .mp-icon { width: 22px; height: 22px; }
.result-icon svg { width: 34px; height: 34px; }
.result-icon img { width: 100%; height: 100%; object-fit: cover; }

.result-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.result-copy b {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.result-copy small {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.38;
}

.result-card.is-small { border-color: rgba(95, 166, 108, .5); }
.result-card.is-medium {
  border-color: rgba(232, 150, 40, .8);
  box-shadow: 0 10px 26px rgba(5, 24, 14, .28), 0 0 0 2px rgba(255, 181, 55, .2);
}
.result-card.is-medium .result-icon { background: linear-gradient(180deg, #FFD98D, #FFB43B); }
.result-card.is-jackpot {
  border-color: #FFE08A;
  box-shadow: 0 0 0 2px rgba(255, 201, 60, .9), 0 12px 30px rgba(255, 146, 30, .35);
  animation: jackpotCard 1.2s ease-in-out infinite alternate;
}
.result-card.is-jackpot .result-icon { background: linear-gradient(180deg, #FFF3B0, #FFC33A); }
@keyframes jackpotCard {
  from { box-shadow: 0 0 0 2px rgba(255, 201, 60, .55), 0 12px 30px rgba(255, 146, 30, .24); }
  to { box-shadow: 0 0 0 3px rgba(255, 219, 111, 1), 0 12px 34px rgba(255, 146, 30, .44); }
}

.chain-card {
  padding: 9px 12px 8px;
  border-radius: 17px;
  background: rgba(8, 33, 21, .5);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.chain-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chain-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: rgba(255, 236, 193, .92);
  letter-spacing: .04em;
}
.chain-title .mp-icon { width: 15px; height: 15px; color: #FFB44A; }
.chain-count {
  font-size: 11.5px;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.chain-lights {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin: 7px 0 7px;
}

.chain-lights i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
  transition: background .3s ease, box-shadow .3s ease;
}

.chain-lights i.on {
  background: linear-gradient(90deg, #FFE88D, #FFB22E);
  box-shadow: 0 0 8px rgba(255, 190, 55, .8), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.chain-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: rgba(255, 243, 219, .62);
  white-space: nowrap;
}

.chain-foot b { color: #FFE09A; font-weight: 900; font-variant-numeric: tabular-nums; }
.free-tag {
  padding: 2px 7px;
  border-radius: 999px;
  color: #5D2400;
  font-size: 9.5px;
  font-weight: 900;
  background: linear-gradient(180deg, #FFE494, #FFB531);
  box-shadow: 0 0 10px rgba(255, 180, 45, .4);
  animation: freePulse 1.4s ease-in-out infinite;
}
@keyframes freePulse { 50% { transform: scale(1.045); } }
.best-tag { margin-left: auto; opacity: .8; }

/* ---------------- actions ---------------- */
.actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 1px;
}

.spin-btn {
  position: relative;
  width: 100%;
  min-height: 62px;
  padding: 9px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  color: #421D04;
  background: linear-gradient(180deg, #FFC062 0%, #FF9A3C 42%, #FF7B25 100%);
  border: 1px solid rgba(255, 239, 191, .85);
  box-shadow: 0 7px 0 #B94B0D, 0 14px 26px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .5);
  transition: transform .09s ease, box-shadow .09s ease, filter .2s ease;
}

.spin-btn::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  pointer-events: none;
}

.spin-btn:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: 0 3px 0 #B94B0D, 0 6px 14px rgba(0, 0, 0, .24), inset 0 2px 0 rgba(255, 255, 255, .45);
}

.spin-btn:disabled { cursor: default; }
.app.is-spinning .spin-btn {
  filter: saturate(.78) brightness(.92);
  box-shadow: 0 4px 0 #A6430B, 0 8px 18px rgba(0, 0, 0, .24);
  transform: translateY(3px);
}

.spin-btn.is-ad {
  background: linear-gradient(180deg, #FFD778 0%, #FFB73B 46%, #F38D20 100%);
  box-shadow: 0 7px 0 #A54A08, 0 14px 26px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .55);
}

.spin-btn-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #7C3607;
  background: rgba(255, 250, 231, .76);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 -2px 0 rgba(152, 69, 8, .12);
}

.spin-btn-icon .mp-icon { width: 25px; height: 25px; }
.spin-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.spin-text b { font-size: 18px; font-weight: 900; letter-spacing: .02em; }
.spin-text small { margin-top: 2px; font-size: 10.5px; font-weight: 700; color: rgba(77, 31, 3, .68); }
.spin-arrow {
  margin-left: auto;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
  color: rgba(91, 38, 3, .45);
  transform: translateY(-2px);
}

.action-row { display: flex; gap: 8px; }

.ghost-btn {
  flex: 1 1 50%;
  min-height: 52px;
  padding: 7px 11px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  color: #FFF6E2;
  background: rgba(8, 35, 22, .5);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .09s ease, background .2s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ghost-btn:active:not(:disabled) { transform: scale(.975); background: rgba(8, 35, 22, .68); }
.ghost-btn:disabled { opacity: .55; cursor: default; }
.ghost-btn > .mp-icon { flex: 0 0 auto; width: 22px; height: 22px; color: #FFC85E; }
.ghost-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.18; }
.ghost-copy b { font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.ghost-copy small {
  margin-top: 1px;
  font-size: 9.5px;
  color: rgba(255, 242, 214, .58);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rules-btn { flex: 0 0 104px; }

/* ---------------- sheet ---------------- */
.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  background: rgba(4, 18, 11, .64);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: maskIn .22s ease both;
}

@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  width: 100%;
  max-width: 500px;
  max-height: 84vh;
  max-height: 84dvh;
  margin: 0 auto;
  padding: 8px 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(120% 50% at 50% 0%, #FFFDF6 0%, #FFF5E1 46%, #FBE9C8 100%);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 25px 25px 20px 20px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .32);
  animation: sheetUp .3s cubic-bezier(.18, .86, .34, 1) both;
}

@keyframes sheetUp { from { transform: translateY(28px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }

.sheet-grip {
  width: 38px;
  height: 4px;
  margin: 2px auto 7px;
  border-radius: 999px;
  background: rgba(112, 78, 40, .26);
}

.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -.01em; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6F4A20;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(130, 92, 45, .18);
}
.icon-btn:active { transform: scale(.94); }
.icon-btn .mp-icon { width: 20px; height: 20px; }

.sheet-body {
  margin-top: 9px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-bottom: 2px;
}

.rule-item { display: flex; gap: 9px; align-items: flex-start; }
.rule-no {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: #FFF9E8;
  background: linear-gradient(180deg, #FFAD4D, #F07818);
  box-shadow: 0 2px 0 rgba(165, 74, 8, .35);
}
.rule-item p { margin: 0; font-size: 12.5px; line-height: 1.65; color: #5F4A32; }
.rule-item p b { color: #B6500B; }

.rule-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 3px;
  padding: 10px 11px;
  border-radius: 13px;
  color: #785634;
  font-size: 11px;
  line-height: 1.55;
  background: #FFEAC9;
  border: 1px solid rgba(201, 137, 47, .2);
}
.rule-note .mp-icon { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; color: #B46A14; }

/* ---------------- ad demo ---------------- */
.ad-mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 14, 8, .9);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: maskIn .2s ease both;
}

.ad-box {
  width: min(330px, 88vw);
  overflow: hidden;
  border-radius: 22px;
  color: #FFF8E8;
  background: #182D21;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  animation: adPop .26s cubic-bezier(.2, .9, .3, 1.1) both;
}

@keyframes adPop { from { transform: scale(.92); opacity: .5; } to { transform: scale(1); opacity: 1; } }

.ad-screen {
  position: relative;
  height: 380px;
  max-height: 48vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, #5BAA68 0%, #2C6A44 38%, #153A27 70%, #0D271A 100%);
}

.ad-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 224, 158, .28);
  transform: translate(-50%, -50%);
}
.orbit-a { width: 74%; aspect-ratio: 1; animation: orbitSpin 12s linear infinite; border-style: dashed; }
.orbit-b { width: 96%; aspect-ratio: 1; animation: orbitSpin 20s linear infinite reverse; }
@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.ad-animal {
  width: 108px;
  height: 108px;
  z-index: 2;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35));
  animation: adBounce 1.5s ease-in-out infinite;
}
.ad-animal svg { width: 100%; height: 100%; display: block; }
@keyframes adBounce { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }

.ad-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #4B2B08;
  background: rgba(255, 240, 196, .86);
}

.ad-count {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: #4B2B08;
  background: rgba(255, 248, 225, .9);
}

.ad-info { padding: 11px 14px 9px; display: flex; flex-direction: column; gap: 2px; }
.ad-info b { font-size: 13px; font-weight: 800; }
.ad-info small { font-size: 10.5px; color: rgba(255, 244, 218, .62); line-height: 1.4; }

.ad-progress { height: 4px; background: rgba(255, 255, 255, .1); }
.ad-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #FFD35E, #FF8A3D);
  transition: width .18s linear;
}

/* ---------------- fx + toast ---------------- */
.fx-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  opacity: .95;
  animation: confettiFall 1.25s cubic-bezier(.18, .66, .38, 1) forwards;
  transform: translate3d(0, 0, 0) rotate(0deg);
}

@keyframes confettiFall {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate3d(var(--dx, 0px), var(--dy, 240px), 0) rotate(var(--rot, 220deg)) scale(.72); }
}

.gain-float {
  position: fixed;
  z-index: 70;
  pointer-events: none;
  color: #FFE28A;
  font-size: 16px;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(75, 29, 2, .55);
  animation: gainUp 1s ease-out forwards;
}
@keyframes gainUp {
  0% { opacity: 0; transform: translateY(6px) scale(.86); }
  22% { opacity: 1; transform: translateY(-2px) scale(1.04); }
  100% { opacity: 0; transform: translateY(-34px) scale(.96); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 112px);
  z-index: 90;
  max-width: 84vw;
  padding: 9px 16px;
  border-radius: 999px;
  color: #FFF7E2;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  background: rgba(10, 33, 21, .96);
  border: 1px solid rgba(255, 228, 160, .26);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- responsive ---------------- */
@media (max-width: 370px) {
  :root { --wheel: min(76vw, 300px); }
  .app { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .player-meta b { max-width: 88px; font-size: 12.5px; }
  .wallet { padding-right: 9px; }
  .wallet-num { font-size: 17px; }
  .slot-inner { width: 58px; margin-left: -29px; top: 9px; }
  .slot-avatar { width: 27px; height: 27px; }
  .slot.is-jackpot .slot-avatar { width: 30px; height: 30px; }
  .slot-name { font-size: 8px; line-height: 12px; }
  .slot-prize { font-size: 10px; }
  .wheel-hub { width: 74px; height: 74px; }
  .wheel-hub .mp-icon { width: 22px; height: 22px; }
  .wheel-hub span { font-size: 13px; }
  .big-win { font-size: 25px; }
  .rules-btn { flex-basis: 92px; }
  .ghost-copy small { display: none; }
  .best-tag { display: none; }
}

@media (max-height: 700px) {
  :root { --wheel: min(70vw, 286px); }
  .app { gap: 7px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); }
  .wheel-area { padding-top: 2px; }
  .result-card { min-height: 56px; padding: 8px 11px; }
  .chain-card { padding: 7px 11px 7px; }
  .chain-lights { margin: 5px 0; }
  .creator-bar { min-height: 30px; padding: 3px 10px; border-radius: 12px; }
  #creatorPoints { font-size: 13.5px; }
  .creator-hint { font-size: 9px; }
  .spin-btn { min-height: 56px; }
  .ghost-btn { min-height: 46px; }
  .slot-inner { top: 8px; }
  .slot-avatar { width: 27px; height: 27px; }
  .slot.is-jackpot .slot-avatar { width: 30px; height: 30px; }
}

@media (min-height: 880px) {
  :root { --wheel: min(82vw, 366px); }
  .stage { gap: 12px; }
  .result-card { min-height: 68px; }
  .chain-card { padding: 11px 13px 10px; }
}

@media (min-width: 560px) {
  .app {
    min-height: min(940px, 100dvh);
    border-left: 1px solid rgba(255, 255, 255, .05);
    border-right: 1px solid rgba(255, 255, 255, .05);
    box-shadow: 0 0 80px rgba(0, 0, 0, .25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-rays,
  .firefly,
  .bulb,
  .wheel-hub,
  .pointer,
  .ad-orbit,
  .ad-animal,
  .free-tag,
  .result-card.is-jackpot { animation: none !important; }
  .wheel-disc { transition-duration: 1200ms !important; }
}

/* 极窄屏：只保留动物头像和积分，避免 12 格转盘文字互相挤压 */
@media (max-width: 340px) {
  .slot-inner {
    width: 46px;
    margin-left: -23px;
    top: 7px;
    gap: 0;
  }
  .slot-avatar { width: 23px; height: 23px; }
  .slot-name { display: none; }
  .slot.is-jackpot .slot-name {
    display: inline-block;
    margin-top: 0;
    padding: 0 4px;
    font-size: 7.5px;
    line-height: 11px;
  }
  .slot-prize { font-size: 9.5px; line-height: 12px; }
  .slot.is-jackpot .slot-avatar { width: 26px; height: 26px; margin-top: -1px; }
  .slot.is-jackpot .slot-prize { font-size: 10.5px; }
  .wheel-hub { width: 68px; height: 68px; }
  .wheel-hub .mp-icon { width: 20px; height: 20px; }
  .wheel-hub span { font-size: 12px; }
  .creator-hint { display: none; }
}

/* 小屏且矮屏：把「我的积分」条也塞进首屏，避免底部按钮被挤出屏幕 */
@media (max-width: 340px) and (max-height: 700px) {
  :root { --wheel: min(65vw, 220px); }
  .app { gap: 5px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 6px); }
  .stage { gap: 7px; }
  .creator-bar { min-height: 28px; padding: 3px 9px; }
  #creatorPoints { font-size: 13px; }
  .result-card { min-height: 52px; padding: 7px 10px; gap: 9px; }
  .result-icon { width: 36px; height: 36px; border-radius: 11px; }
  .result-icon .mp-icon { width: 20px; height: 20px; }
  .result-icon svg { width: 28px; height: 28px; }
  .result-copy b { font-size: 14px; }
  .result-copy small { font-size: 10.5px; }
  .chain-card { padding: 6px 10px; }
  .chain-lights { margin: 4px 0; }
  .actions { gap: 6px; }
  .spin-btn { min-height: 52px; padding: 5px 12px; gap: 9px; }
  .spin-btn-icon { width: 36px; height: 36px; border-radius: 11px; }
  .spin-btn-icon .mp-icon { width: 21px; height: 21px; }
  .spin-text b { font-size: 16px; }
  .spin-text small { font-size: 9.5px; }
  .ghost-btn { min-height: 44px; padding: 5px 9px; }
}

/* 矮窄屏的转盘只留动物头像和数额，保证 12 格不互相压字 */
@media (max-width: 340px) and (max-height: 700px) {
  .slot-inner { width: 42px; margin-left: -21px; top: 5px; gap: 0; }
  .slot-avatar { width: 21px; height: 21px; }
  .slot.is-jackpot .slot-avatar { width: 23px; height: 23px; margin-top: 0; }
  .slot-name, .slot.is-jackpot .slot-name { display: none; }
  .slot-prize { font-size: 9px; line-height: 11px; }
  .slot.is-jackpot .slot-prize { font-size: 10px; }
}

/* ---------------- 本轮视觉：森林木牌、动物舞台、奶油奖励卡 ---------------- */
.hero-scene {
  position: relative;
  z-index: 3;
  height: 106px;
  margin: -2px 0 -5px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: 0;
  background-image: url("images/gen/gptimg_1795151768_look.png");
  background-repeat: no-repeat;
  background-size: 108% auto;
  background-position: center 9%;
  opacity: .96;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 68%, transparent 100%);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 34, 20, .42) 0%, rgba(9, 34, 20, .10) 28%, rgba(9, 34, 20, .14) 56%, rgba(9, 34, 20, .86) 100%);
}

.wood-sign {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(68%, 248px);
  height: 50px;
  border-radius: 13px 13px 9px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFEAB1;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .08em;
  background:
    linear-gradient(180deg, #E2A452 0%, #B9742D 44%, #8C4B17 100%);
  border: 2px solid #F2C878;
  box-shadow:
    0 5px 0 #5C2D0A,
    0 10px 18px rgba(0, 0, 0, .35),
    inset 0 2px 0 rgba(255, 240, 193, .35);
  text-shadow: 0 2px 0 #6A310A, 0 0 10px rgba(255, 193, 60, .45);
}

.wood-sign::before,
.wood-sign::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFF2BD, #D4933C);
  box-shadow: inset 0 -1px 1px rgba(90, 40, 4, .4);
}
.wood-sign::before { left: 9px; }
.wood-sign::after { right: 9px; }
.wood-sign .sign-star { width: 14px; height: 14px; color: #FFD45E; flex: 0 0 auto; }

/* 明亮一点的森林天空 + 木牌氛围 */
.bg {
  background:
    radial-gradient(100% 38% at 50% 0%, rgba(140, 210, 235, .32) 0%, rgba(62, 133, 95, .12) 52%, transparent 72%),
    radial-gradient(120% 72% at 50% 18%, #3B7D55 0%, #24583D 42%, #153625 78%, #0C271A 100%);
}

/* 奶油色连转奖励卡 */
.chain-card {
  color: var(--ink);
  background:
    radial-gradient(120% 100% at 90% 0%, rgba(255, 184, 74, .32), transparent 56%),
    linear-gradient(180deg, #FFF8E7, #FFEAC3);
  border: 1px solid rgba(255, 224, 160, .95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.chain-title { color: #7B4B1C; }
.chain-title .mp-icon { color: #D9851B; }
.chain-count { color: #C05A12; }

.chain-lights {
  gap: 5px;
  margin: 8px 0 6px;
}

.chain-lights i {
  width: 21px;
  height: 21px;
  justify-self: center;
  border-radius: 0;
  background: #E9D3AE;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: none;
  filter: drop-shadow(0 1px 0 rgba(136, 83, 25, .18));
}

.chain-lights i.on {
  background: linear-gradient(180deg, #FFE58F, #FFC12F 58%, #E98A17);
  box-shadow: none;
  filter: drop-shadow(0 0 5px rgba(255, 185, 45, .65));
}

.chain-foot { color: #8E6E4C; }
.chain-foot b { color: #A94E0A; }
.chain-foot .free-tag { color: #5D2400; background: linear-gradient(180deg, #FFE494, #FFB531); }
.chain-foot .best-tag { color: #9A7754; opacity: .9; }

/* 金色主按钮 */
.spin-btn {
  color: #421D04;
  background: linear-gradient(180deg, #FFE19A 0%, #FFBE4A 34%, #FF921F 72%, #F47A14 100%);
  border: 1px solid #FFF0BC;
  box-shadow:
    0 7px 0 #B94B0D,
    0 15px 26px rgba(0, 0, 0, .28),
    inset 0 2px 0 rgba(255, 255, 255, .65),
    inset 0 -4px 8px rgba(183, 88, 8, .14);
}

.spin-btn::after { border-color: rgba(255, 250, 218, .42); }
.spin-btn-icon {
  color: #5E2A05;
  background: linear-gradient(180deg, #FFFDF2, #FFE6A8);
  border-color: rgba(255, 248, 220, .9);
}
.spin-text b { color: #4A2105; text-shadow: 0 1px 0 rgba(255, 255, 255, .3); }
.spin-text small { color: rgba(83, 35, 3, .7); }
.spin-arrow { color: rgba(91, 38, 3, .38); }

@media (max-height: 760px) {
  .hero-scene { display: none; }
}

@media (max-height: 700px) {
  .chain-lights i { width: 16px; height: 16px; }
  .chain-lights { margin: 5px 0 4px; }
  .chain-card { padding: 6px 10px; }
}
