:root {
  --accent: #ff7a00;
  --pink: var(--accent);
  --accent-rgb: 255, 122, 0;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.5);
  --bg: #000;
  --page-bg: #050505;
  --head-bg: #000;
  --search-bg: #1c1c1e;
  --chip-bg: #1c1c1e;
  --chip-active-bg: rgba(var(--accent-rgb), 0.22);
  --surface: #141414;
  --border: #2a2a2a;
  --footer: rgba(255, 255, 255, 0.38);
  --more: rgba(255, 255, 255, 0.35);
  --poster-bg: #222;
  --float-top-bg: linear-gradient(90deg, rgba(var(--accent-rgb), 0.35) 0%, #1a1a1a 70%);
  --float-bottom-bg: #1a1a1a;
  --promo-bg: linear-gradient(90deg, rgba(var(--accent-rgb), 0.32) 0%, #1a1a1a 100%);
  --watch-action-bg: #161616;
  --watch-action-border: #2a2a2a;
  --tag-bg: #1c1c1e;
  --tag-color: rgba(255, 255, 255, 0.55);
  --intro: rgba(255, 255, 255, 0.72);
  --desktop-page: #0d0d0d;
}

:root[data-theme="light"] {
  --text: rgba(0, 0, 0, 0.9);
  --muted: rgba(0, 0, 0, 0.4);
  --bg: #fff;
  --page-bg: #fff;
  --head-bg: #fff;
  --search-bg: #f3f3f4;
  --chip-bg: #f4f4f4;
  --chip-active-bg: rgba(var(--accent-rgb), 0.16);
  --surface: #fff;
  --border: #eee;
  --footer: rgba(0, 0, 0, 0.35);
  --more: rgba(0, 0, 0, 0.25);
  --poster-bg: #eee;
  --float-top-bg: linear-gradient(90deg, rgba(var(--accent-rgb), 0.18) 0%, #fff5f8 55%, #fff 100%);
  --float-bottom-bg: #fff;
  --promo-bg: linear-gradient(90deg, rgba(var(--accent-rgb), 0.28) 0%, #f0feff 100%);
  --watch-action-bg: #fafafa;
  --watch-action-border: #eee;
  --tag-bg: #f4f4f4;
  --tag-color: rgba(0, 0, 0, 0.55);
  --intro: rgba(0, 0, 0, 0.7);
  --desktop-page: #f3f3f3;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--page-bg); }
body {
  font-family: PingFangSC, "PingFang SC", "Noto Sans TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

.phone-app {
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.sticky-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--head-bg);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
}
.logo {
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  display: block;
}
.logo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px; }

.search {
  flex: 1;
  height: 35px;
  border-radius: 18px;
  background: var(--search-bg);
  box-shadow: none;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.search-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  color: var(--muted);
  flex: none;
}
.search input {
  flex: 1;
  border: 0;
  outline: none;
  height: 100%;
  background: transparent;
  font-size: 13px;
  color: var(--text);
}
.mine-entry {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 40px;
  height: 35px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.mine-entry svg {
  width: 18px;
  height: 18px;
}
.mine-entry.is-on { color: var(--accent); }

.tabs-row {
  display: flex;
  align-items: center;
  padding: 0 10px 0 6px;
  min-height: 46px;
}
.tabs {
  display: flex;
  align-items: stretch;
}
.tabs a,
.tabs a:visited {
  color: var(--text);
  text-decoration: none;
  font-size: 16.64px;
  font-weight: 400;
  padding: 0 10px 0 6px;
  height: 46px;
  display: flex;
  align-items: center;
  position: relative;
}
.tabs a.active,
.tabs a.active:visited {
  color: var(--pink);
  font-weight: 700;
}
.tabs a.active::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: var(--pink);
  border-radius: 1px;
}
[hidden] { display: none !important; }

.home-stage {
  padding: 8px 16px 4px;
  display: grid;
  gap: 10px;
}
.hero-wrap {
  position: relative;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
}
.hero {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero::-webkit-scrollbar { display: none; }
.hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.hero-banner {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: #111;
}
.hero-banner.is-cover-fallback {
  object-position: center 18%;
}
.hero-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.45));
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0;
  pointer-events: none;
}
.hero-dots button {
  width: 10px;
  height: 3px;
  border: 0;
  padding: 0;
  border-radius: 2px;
  background: rgba(255,255,255,.45);
  pointer-events: auto;
  cursor: pointer;
}
.hero-dots button.active { width: 14px; background: #fff; }

.promo {
  margin: 0;
  padding: 8px 14px 8px 8px;
  border-radius: 10px;
  background: var(--promo-bg);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 72px;
}
.promo-gift {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: none;
}
.promo span {
  flex: 1;
  color: var(--pink);
  font-size: 14.5px;
  font-weight: 600;
}
.promo-cta {
  flex: none;
  background: var(--pink);
  color: #fff !important;
  text-decoration: none;
  height: 35px;
  min-width: 50px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.win-ticker {
  margin: 0;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 18%, #161616);
  pointer-events: none;
}
:root[data-theme="light"] .win-ticker {
  background: color-mix(in srgb, var(--accent) 14%, #fff7f0);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}
.win-ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: winTicker 52s linear infinite;
}
.win-ticker-copy {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 14px;
  height: 100%;
}
.win-ticker-item {
  flex: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}
.win-ticker-item b {
  color: var(--accent);
  font-weight: 800;
}
@keyframes winTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
body.page-hidden .win-ticker-track,
body.page-hidden .mine-banner::after,
body.page-hidden .promo.is-wheel::after,
body.page-hidden .mine-draw::after {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .win-ticker-track { animation: none; }
}

.row {
  padding: 8px 0 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}
.row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px 10px;
}
.row-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
.more { color: var(--more); font-size: 18px; font-weight: 400; }

.cards.grid,
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 16px;
  padding: 0 12px 8px;
}
.card {
  padding: 0;
  cursor: pointer;
  min-width: 0;
  contain: layout paint;
}
.card .poster {
  width: 100%;
  aspect-ratio: 3 / 4.15;
  border-radius: 12px;
}
.card-name {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  color: var(--text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
}
.card-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.card-tags::-webkit-scrollbar { display: none; }
.card-tags span {
  flex: none;
  max-width: 7.2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 999px;
  background: #2a2a2c;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.4;
}
:root[data-theme="light"] .card-tags span {
  background: #f1f1f3;
  color: rgba(0,0,0,.55);
}

.poster {
  position: relative;
  background: var(--poster-bg);
  overflow: hidden;
  display: block;
}
.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.poster::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.62));
  pointer-events: none;
}
.poster .heat {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 1px 4px rgba(0,0,0,.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poster .heat::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #ff7a00;
  box-shadow: 0 0 0 2px rgba(255,122,0,.28);
  vertical-align: 1px;
}

.cat-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px 12px;
  scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips button {
  flex: none;
  border: 0;
  background: var(--chip-bg);
  color: var(--text);
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
}
.cat-chips button.active {
  background: var(--chip-active-bg);
  color: var(--accent);
}

.site-footer {
  padding: 28px 16px 12px;
  text-align: center;
  color: var(--footer);
  font-size: 11px;
}
.site-footer img {
  height: 28px;
  margin-bottom: 8px;
  border-radius: 6px;
}

.phone-app.has-bottom-float {
  padding-bottom: calc(var(--float-bottom-h, 76px) + 28px + env(safe-area-inset-bottom));
}
.phone-app.is-watch { padding-bottom: 0; }
.phone-app.is-watch .home-float-top,
.phone-app.is-watch .home-float-bottom { display: none !important; }

.home-float-top,
.watch-banner {
  --float-h: 64px;
  --float-fs: 16px;
  --float-cta: 40px;
  --float-icon: 42px;
}
.home-float-bottom,
.watch-bottom {
  --float-h: 76px;
  --float-fs: 16px;
  --float-cta: 42px;
  --float-icon: 46px;
}

.home-float-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--float-h);
  padding: 12px 14px;
  background: var(--float-top-bg);
  border-top: 1px solid var(--border);
}
.home-float-top p,
.watch-banner p,
.home-float-bottom p,
.watch-bottom span {
  flex: 1;
  margin: 0;
  font-size: var(--float-fs);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.home-float-top .watch-open-btn,
.home-float-bottom .watch-open-btn,
.watch-banner .watch-open-btn,
.watch-bottom .watch-open-btn {
  height: var(--float-cta);
  min-width: 68px;
  padding: 0 18px;
  font-size: calc(var(--float-fs) - 1px);
  font-weight: 800;
  border-radius: 999px;
}

.home-float-bottom {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(398px, calc(100% - 32px));
  z-index: 28;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--float-h);
  padding: 12px 14px;
  background: var(--float-bottom-bg);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.home-float-bottom img,
.watch-bottom img {
  width: var(--float-icon);
  height: var(--float-icon);
  border-radius: 10px;
  object-fit: contain;
  flex: none;
}
.home-float-close {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.end-popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px 16px 24px;
}
.end-popup-mask {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 6, 16, .78);
}
.end-popup-card {
  position: relative;
  width: min(392px, 100%);
  z-index: 1;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, .55));
  animation: endPopIn .32s ease-out;
}
@keyframes endPopIn {
  from { transform: translateY(12px) scale(.94); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.end-popup-link {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #07101c;
  border: 1px solid rgba(255, 220, 140, .28);
  color: inherit;
}
.end-popup-art {
  width: 100%;
  display: block;
}
.end-popup-cta {
  display: block;
  padding: 2px 6px 8px;
  line-height: 0;
  background: linear-gradient(180deg, #0c1730 0%, #07101c 100%);
}
.end-popup-cta img {
  width: 100%;
  height: auto;
  display: block;
}
.end-popup-close {
  position: absolute;
  right: -8px;
  top: -16px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}

.watch-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--float-h);
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  background: var(--float-top-bg);
}
.watch-banner-covers {
  display: flex;
  width: 54px;
  height: 36px;
  flex: none;
  position: relative;
}
.watch-banner-covers img {
  position: absolute;
  width: 24px;
  height: 32px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--bg);
  background: var(--poster-bg);
}
.watch-banner-covers img:nth-child(1) { left: 0; top: 4px; z-index: 1; }
.watch-banner-covers img:nth-child(2) { left: 14px; top: 0; z-index: 2; }
.watch-banner-covers img:nth-child(3) { left: 28px; top: 4px; z-index: 1; }
.watch-banner p {
  flex: 1;
  margin: 0;
  font-size: var(--float-fs);
  font-weight: 700;
  color: var(--text);
}
.watch-open-btn {
  flex: none;
  background: var(--pink);
  color: #fff !important;
  text-decoration: none;
  height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.watch-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--head-bg);
}
.watch-back {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
}
.watch-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.watch-brand img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

.watch-crumb {
  padding: 4px 16px 10px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.watch-crumb button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  padding: 0;
}

.watch-stage { background: #000; }
.watch-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.watch-shell video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  -webkit-playsinline: true;
}
.watch-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ddd;
  text-align: center;
  padding: 16px;
  background: #111;
}
.watch-empty-cover {
  width: min(160px, 40%);
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  background: center / cover no-repeat;
  margin-bottom: 10px;
}
.watch-empty p { margin: 0; font-size: 13px; }
.watch-fs {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  border: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.watch-meta { padding: 14px 16px 8px; }
.watch-meta h1 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.watch-ep {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}
.watch-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.watch-actions button,
.watch-actions a {
  height: 44px;
  border: 1px solid var(--watch-action-border);
  background: var(--watch-action-bg);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.watch-intro,
.watch-like { padding: 8px 0 4px; }
.watch-intro h2,
.watch-like h2 {
  margin: 0;
  padding: 8px 16px 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}
.watch-intro p {
  margin: 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--intro);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.watch-intro p.is-open {
  display: block;
  -webkit-line-clamp: unset;
}
.watch-more {
  border: 0;
  background: none;
  color: var(--pink);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px 10px;
}
.watch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 8px;
}
.watch-tags button {
  border: 0;
  background: var(--tag-bg);
  color: var(--tag-color);
  height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 12px;
}

.watch-eps { padding: 4px 0 12px; }
.watch-eps h2 {
  margin: 0;
  padding: 8px 16px 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.ep-ranges {
  display: flex;
  gap: 18px;
  padding: 6px 16px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ep-ranges::-webkit-scrollbar { display: none; }
.ep-ranges button {
  flex: none;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  white-space: nowrap;
}
.ep-ranges button.active { color: var(--text); }
.ep-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 0 16px;
}
.ep-cell {
  position: relative;
  aspect-ratio: 1.12 / 1;
  border: 0;
  border-radius: 10px;
  background: #2b2b2b;
  color: rgba(255,255,255,.78);
  font: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
}
:root[data-theme="light"] .ep-cell {
  background: #ececec;
  color: rgba(0,0,0,.55);
}
.ep-cell.is-free {
  background: color-mix(in srgb, var(--accent) 42%, #1a1008);
  color: var(--accent);
}
:root[data-theme="light"] .ep-cell.is-free {
  background: color-mix(in srgb, var(--accent) 22%, #fff);
  color: var(--accent);
}
.ep-num { font-size: 16px; font-weight: 700; margin-top: 10px; }
.ep-lock {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  opacity: .72;
}
.ep-eq {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}
.ep-eq i {
  width: 2px;
  background: currentColor;
  border-radius: 1px;
  animation: epEq 1s ease-in-out infinite;
}
.ep-eq i:nth-child(1) { height: 5px; animation-delay: 0s; }
.ep-eq i:nth-child(2) { height: 10px; animation-delay: .15s; }
.ep-eq i:nth-child(3) { height: 7px; animation-delay: .3s; }
@keyframes epEq {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}

.watch-bottom {
  position: sticky;
  bottom: 0;
  z-index: 16;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--float-h);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--float-bottom-bg);
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.watch-bottom span {
  flex: 1;
  font-size: var(--float-fs);
  font-weight: 700;
}

.promo.is-wheel { cursor: pointer; }

body.wheel-open { overflow: hidden; }
.phone-app.wheel-open { overflow: hidden; }

.wheel-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.wheel-modal-mask {
  position: absolute;
  inset: 0;
  border: 0;
  z-index: 0;
  background: rgba(7, 3, 16, .62);
}
.wheel-stage,
.wheel-result {
  position: relative;
  z-index: 1;
  width: min(300px, 100%);
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  overflow: auto;
}
.wheel-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 36px 12px 12px;
  border-radius: 18px;
  background: linear-gradient(160deg, #2A0B4A, #12062A);
  border: 2px solid #FF2D95;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .4), 0 0 24px rgba(255, 45, 149, .45);
}
.wheel-close {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}
.wheel-title {
  margin: 2px 0 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #FFF3A8;
  text-shadow: 0 0 6px #FFF3A8, 0 0 18px #FF2D95, 0 0 36px #FF2D95;
  animation: wheelFlicker 4.5s infinite;
}
@keyframes wheelFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .55; }
}
.wheel-sub {
  margin: 0;
  font-size: 11px;
  letter-spacing: .28em;
  color: #9BE8FF;
  text-shadow: 0 0 10px rgba(0,217,255,.9);
}
.wheel-wrap {
  position: relative;
  width: min(210px, 68%);
  aspect-ratio: 1;
  margin: 2px 0;
}
.wheel-wrap svg { width: 100%; height: 100%; display: block; overflow: visible; }
#wheel-spin {
  transform-box: view-box;
  transform-origin: 300px 300px;
  transition: transform 5s cubic-bezier(.12,.72,.05,1);
}
.wheel-neon-ring {
  filter: drop-shadow(0 0 10px #FF2D95) drop-shadow(0 0 18px rgba(0,217,255,.8));
}
.wheel-bulb { animation: wheelBlink 1.1s infinite; }
.wheel-bulb:nth-child(2n) { animation-delay: .55s; }
@keyframes wheelBlink { 0%,100%{opacity:1} 50%{opacity:.35} }
.wheel-pointer { filter: drop-shadow(0 0 10px #00D9FF); }
.wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 23%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle at 32% 28%, #FF7AC0, #FF2D95 45%, #8E0F52 100%);
  color: #FFF3A8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  box-shadow: 0 0 0 4px rgba(10,4,24,.85), 0 0 18px #FF2D95;
  font-family: inherit;
}
.wheel-hub:disabled { cursor: not-allowed; filter: grayscale(.5) brightness(.75); }
.wheel-meta {
  display: flex;
  gap: 12px;
  margin: 0;
  font-size: 11px;
  color: #FFE94A;
}
.wheel-card {
  position: relative;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  padding: 34px 16px 16px;
  border-radius: 16px;
  background: linear-gradient(160deg,#2A0B4A,#12062A);
  border: 2px solid #FF2D95;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .4), 0 0 24px rgba(255,45,149,.7);
  overflow: hidden;
}
.wheel-emo {
  margin: 0;
  font-size: 12px;
  letter-spacing: .4em;
  color: #00D9FF;
}
.wheel-prize {
  margin: 10px 0 6px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  color: #FFF3A8;
  text-shadow: 0 0 8px #FFF3A8, 0 0 22px #FF2D95;
  word-break: break-word;
}
.wheel-tip {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #C9B8FF;
}
.wheel-card > button:not(.wheel-close) {
  margin-top: 14px;
  width: min(100%, 200px);
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(90deg,#FF2D95,#A855F7,#00D9FF);
  color: #0B0418;
  font-weight: 900;
  font-size: 14px;
}
.wheel-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wheel-confetti i {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  animation: wheelFall linear forwards;
}
@keyframes wheelFall { to { transform: translateY(380px) rotate(720deg); opacity: 0; } }

@media (min-width: 760px) {
  body { background: var(--desktop-page); padding: 16px 0; }
  .phone-app {
    border-radius: 24px;
    overflow-x: clip;
    min-height: calc(100vh - 32px);
    box-shadow: 0 0 40px rgba(0,0,0,.08);
    background: var(--bg);
  }
  .home-float-bottom {
    width: 398px;
  }
  .wheel-modal,
  .mine-rules {
    left: 50%;
    right: auto;
    top: 16px;
    bottom: 16px;
    width: min(430px, 100%);
    transform: translateX(-50%);
    border-radius: 24px;
    overflow: hidden;
  }
}

.phone-app.is-mine .tabs-row,
.phone-app.is-mine .home-float-top,
.phone-app.is-mine .home-float-bottom,
.phone-app.is-mine #site-footer { display: none !important; }

.mine-page {
  padding: 8px 16px 28px;
  min-height: 70vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 154, 77, .16), transparent 46%),
    linear-gradient(180deg, #1a100c 0%, #0d0d0d 42%);
  color: #f6e7d8;
}
:root[data-theme="light"] .mine-page {
  background: linear-gradient(180deg, #FFEFD9 0%, #FBD9BC 100%);
  color: #2b2118;
}
.mine-head h1 {
  margin: 4px 0 16px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .04em;
}
.mine-account {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.mine-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  background: linear-gradient(160deg, #ffc98f, #ff9d5c);
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(228, 120, 60, .3);
}
.mine-user { display: flex; flex-direction: column; gap: 6px; }
.mine-user b { font-size: 20px; font-weight: 800; }
.mine-user em {
  align-self: flex-start;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
  background: rgba(255, 248, 238, .92);
  border: 1px solid #f0c39a;
  border-radius: 999px;
  padding: 3px 10px;
}
.mine-banner-wrap { position: relative; margin: 0 0 32px; overflow: visible; }
.mine-banner {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  padding: 16px 100px 18px 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.34), transparent 52%),
    linear-gradient(135deg, #ff9a4d 0%, #f4543f 72%, #ef4b54 100%);
  box-shadow: 0 14px 28px rgba(238, 92, 60, .38), inset 0 1px 0 rgba(255,255,255,.28);
}
.mine-banner::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: rotate(18deg);
  animation: mineBannerShine 4.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes mineBannerShine {
  0% { left: -60%; }
  60%, 100% { left: 135%; }
}
.mine-banner-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: .08em;
  color: rgba(255,255,255,.07);
}
.mine-banner-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.mine-banner-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mine-banner-tag,
.mine-banner-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: 999px;
}
.mine-banner-tag {
  color: #fff;
  background: linear-gradient(135deg, #ff4d2e, #c81e3a);
  box-shadow: 0 2px 8px rgba(160, 20, 40, .28);
}
.mine-banner-badge {
  color: #7a3200;
  background: linear-gradient(180deg, #ffe9a0, #ffcc4d);
  box-shadow: 0 2px 8px rgba(255, 190, 40, .45);
}
.mine-banner-sub {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(90, 18, 0, .45);
}
.mine-banner-amount {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff4c2;
  text-shadow: 0 2px 0 rgba(140, 40, 0, .18), 0 6px 16px rgba(255, 200, 60, .45);
  white-space: nowrap;
}
.mine-banner-hint {
  font-size: 12px;
  font-weight: 800;
  color: #fff6d2;
  text-shadow: 0 1px 3px rgba(90, 18, 0, .4);
}
.mine-draw {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #e84b2f;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,.16);
  white-space: nowrap;
}
.mine-banner-wrap.is-won .mine-banner {
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.38), transparent 52%),
    linear-gradient(135deg, #ffb347 0%, #f07a2a 58%, #e23b4c 100%);
}
.mine-banner-wrap.is-won .mine-banner-tag {
  background: linear-gradient(135deg, #ff4d2e, #c81e3a);
  color: #fff;
}
.mine-banner-wrap.is-won .mine-draw {
  background: linear-gradient(180deg, #fff8dc, #ffd24a);
  color: #9a2b12;
  box-shadow: 0 6px 14px rgba(120, 40, 0, .22);
}
.mine-invoice {
  position: absolute;
  left: -4px;
  bottom: -22px;
  width: 112px;
  border: 0;
  border-radius: 10px;
  background: #fff8ef;
  color: #c05a28;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 8px 10px 10px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 16px rgba(150, 70, 20, .25);
  cursor: pointer;
  text-align: left;
}
.mine-invoice span { display: block; border-bottom: 1.5px dashed #e8b48c; padding-bottom: 4px; margin-bottom: 6px; }
.mine-invoice i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 3px 0 0;
  border-radius: 50%;
  background: #e8b48c;
}
.mine-cd {
  position: absolute;
  right: 8px;
  top: 10px;
  width: 80px;
  height: 80px;
  border: 3px solid #fff4e8;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #ffa85a 0%, #f2542d 62%, #d6362a 100%);
  color: #fff;
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 10px 20px rgba(180, 60, 20, .4);
  z-index: 5;
}
.mine-cd svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.mine-cd-track { fill: none; stroke: rgba(255,255,255,.24); stroke-width: 5; }
.mine-cd-arc {
  fill: none;
  stroke: #ffe45c;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 276.46;
  stroke-dashoffset: 0;
}
.mine-cd-label, .mine-cd-clock, .mine-cd-time, .mine-cd-ms { position: relative; z-index: 1; }
.mine-cd-label { font-size: 9px; font-weight: 800; letter-spacing: .04em; margin-bottom: 1px; }
.mine-cd-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.mine-cd-time { font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.mine-cd-ms {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #ffe45c;
  text-shadow: 0 0 8px rgba(255, 228, 92, .7);
  animation: mineMsPulse .55s ease-in-out infinite;
}
@keyframes mineMsPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .72; transform: scale(1.06); }
}
.mine-cd.is-urgent .mine-cd-arc { stroke: #ff4d4d; }
.mine-cd.is-urgent .mine-cd-ms { color: #ffd0d0; }
.mine-cd.is-done { filter: grayscale(.35); }
.mine-cd.is-done .mine-cd-ms { animation: none; }
.mine-list {
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(180, 100, 50, .1);
}
.mine-list button {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid #fbf1e8;
  background: transparent;
  color: #2b2118;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.mine-list button:last-child { border-bottom: 0; }
.mine-list button::after {
  content: "›";
  color: #d9c3ae;
  font-size: 22px;
  font-weight: 400;
}

.mine-rules {
  position: fixed;
  inset: 0;
  z-index: 82;
  display: grid;
  place-items: center;
  padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.mine-rules-mask {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 8, 4, .58);
}
.mine-rules-card {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  max-height: min(78vh, 560px);
  overflow: auto;
  background: linear-gradient(180deg, #fff8ef 0%, #ffe9d2 100%);
  color: #3a2418;
  border-radius: 18px;
  padding: 22px 20px 18px;
  box-shadow: 0 18px 40px rgba(80, 24, 8, .28);
}
.mine-rules-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  color: #8a5a38;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}
.mine-rules-card h2 {
  margin: 0 28px 12px 0;
  font-size: 20px;
  font-weight: 800;
  color: #9a2b12;
}
.mine-rules-body {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.7;
  color: #4a2f22;
  min-height: 4.5em;
}
.mine-rules-ok {
  display: block;
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7a3a, #e4452c);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 16px;
  cursor: pointer;
}

/* Taiwan profile and new-member campaign */
.phone-app.is-mine #home-head { display: none !important; }
.phone-app.is-mine { padding-bottom: 0; }
.mine-page {
  --tw-red: #e62b2f;
  --tw-red-dark: #b60f22;
  --tw-gold: #f5b943;
  min-height: 100vh;
  padding: max(20px, env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom));
  background: #f7f5f1 !important;
  color: #24211e !important;
}
.mine-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 16px;
}
.mine-head .mine-account {
  flex: 1;
  min-width: 0;
  margin: 0;
  gap: 11px;
}
.mine-avatar {
  width: 50px;
  height: 50px;
  flex: none;
  border: 0;
  background: #e8e7e4;
  box-shadow: none;
}
.mine-avatar svg {
  width: 38px;
  height: 38px;
  fill: #77736e;
  stroke: none;
}
.mine-user { min-width: 0; gap: 4px; }
.mine-user b {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-user em {
  overflow: hidden;
  max-width: 175px;
  padding: 0;
  border: 0;
  background: none;
  color: #85807a;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-head-icon {
  width: 35px;
  height: 35px;
  display: grid;
  flex: none;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #393633;
  cursor: pointer;
}
.mine-head-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.mine-wallet {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: 12px;
  padding: 15px 4px;
  border: 1px solid #ebe7e1;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(53, 40, 24, .06);
}
.mine-wallet > div,
.mine-wallet > button {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 8px;
  border: 0;
  border-right: 1px solid #eeeae5;
  background: none;
  color: #27231f;
  font: inherit;
  cursor: pointer;
}
.mine-wallet > :last-child { border-right: 0; }
.mine-wallet-balance {
  align-items: flex-start;
  padding-right: 6px;
}
.mine-wallet > div > span,
.mine-wallet > button > span,
.mine-wallet small { color: #7d7871; font-size: 11px; }
.mine-wallet strong {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  max-width: 100%;
  line-height: 1.1;
  white-space: normal;
}
.mine-wallet .mine-ccy {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: inherit;
  opacity: .88;
}
.mine-wallet .mine-amt {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(18px, 5.6vw, 23px);
  font-weight: 800;
  letter-spacing: -.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mine-wallet strong.is-wide .mine-amt { font-size: clamp(15px, 4.5vw, 19px); }
.mine-wallet b { font-size: 20px; font-weight: 850; }
.mine-banner-wrap { margin: 0 0 14px; }
.mine-banner {
  min-height: 166px;
  padding: 18px 135px 18px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255,235,166,.42), transparent 28%),
    linear-gradient(128deg, #c71127 0%, #e62b2f 54%, #ef8540 100%);
  box-shadow: 0 9px 24px rgba(164, 25, 34, .22);
}
.mine-banner::after {
  opacity: .75;
  animation-duration: 5.2s;
}
.mine-banner-watermark {
  justify-items: end;
  padding-right: 13px;
  font-family: Georgia, serif;
  font-size: 38px;
  font-style: italic;
  letter-spacing: .04em;
  transform: rotate(-8deg);
}
.mine-banner-copy { gap: 3px; }
.mine-banner-tag {
  padding: 0;
  background: none;
  box-shadow: none;
  color: #fff3d0;
  font-size: 16px;
  letter-spacing: .08em;
}
.mine-banner-title {
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.25;
}
.mine-banner-badge {
  position: absolute;
  left: 0;
  bottom: -23px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff2bd;
  box-shadow: none;
  color: #9c2617;
  font-size: 10px;
}
.mine-banner-sub {
  margin-top: 5px;
  color: #ffe5b1;
  font-size: 11px;
  font-weight: 600;
}
.mine-banner-amount { font-size: 30px; }
.mine-banner-hint {
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}
.mine-gift {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 2;
  width: 105px;
  height: 112px;
}
.mine-coin {
  position: absolute;
  right: 0;
  top: 0;
  width: 55px;
  height: 55px;
  display: grid;
  z-index: 2;
  place-items: center;
  border: 5px solid #f8d273;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff3a9, #eaa62d);
  color: #a85a14;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 12px rgba(93, 31, 7, .25), inset 0 0 0 2px rgba(168,90,20,.25);
  transform: rotate(14deg);
}
.mine-gift-box {
  position: absolute;
  left: 3px;
  bottom: 4px;
  width: 72px;
  height: 62px;
  border-radius: 5px;
  background: linear-gradient(135deg, #f86c40, #bc1529);
  box-shadow: 0 8px 13px rgba(93,31,7,.3);
  transform: rotate(-7deg);
}
.mine-gift-box::before,
.mine-gift-box::after {
  content: "";
  position: absolute;
  background: #f6be43;
}
.mine-gift-box::before { left: 29px; width: 14px; height: 100%; }
.mine-gift-box::after { top: 17px; width: 100%; height: 12px; }
.mine-gift-box i::before,
.mine-gift-box i::after {
  content: "";
  position: absolute;
  top: -24px;
  width: 30px;
  height: 25px;
  border: 8px solid #f6be43;
  border-radius: 50% 50% 10% 50%;
}
.mine-gift-box i::before { left: 10px; transform: rotate(24deg); }
.mine-gift-box i::after { right: 9px; transform: rotate(66deg); }
.mine-event-card {
  position: relative;
  z-index: 4;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid #ece7df;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(53,40,24,.07);
}
.mine-countdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px dashed #ded9d1;
}
.mine-countdown-head > div { display: flex; flex-direction: column; gap: 3px; }
.mine-countdown-head small { color: #858079; font-size: 11px; }
.mine-countdown-head strong { font-size: 17px; }
.mine-cd {
  position: static;
  width: auto;
  height: auto;
  display: block;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: #2b2927;
  color: #fff;
  box-shadow: none;
  white-space: nowrap;
}
.mine-cd-time,
.mine-cd-ms {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: .035em;
  text-shadow: none;
}
.mine-cd-ms {
  color: #ffc85c;
  font-size: 13px;
  animation: none;
}
.mine-cd.is-urgent .mine-cd-ms { color: #ff8b8b; }
.mine-steps {
  display: grid;
  grid-template-columns: 1fr 12px 1fr 12px 1fr;
  align-items: center;
  gap: 3px;
  padding: 14px 0 10px;
}
.mine-steps > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mine-steps b {
  width: 25px;
  height: 25px;
  display: grid;
  margin-bottom: 7px;
  place-items: center;
  border-radius: 50%;
  background: #fff0e8;
  color: var(--tw-red);
  font-size: 12px;
}
.mine-steps strong { font-size: 12px; white-space: nowrap; }
.mine-steps span {
  margin-top: 3px;
  color: #928c85;
  font-size: 9px;
  white-space: nowrap;
}
.mine-steps > i { color: #bbb5ad; font-size: 21px; font-style: normal; }
.mine-security {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  color: #736e67;
  font-size: 10px;
}
.mine-security svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #77716a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.mine-draw {
  position: static;
  width: 100%;
  margin-top: 11px;
  padding: 13px 16px;
  border-radius: 13px;
  background: linear-gradient(100deg, #dc1d2a, #ed3432 58%, #f4a642);
  color: #fff;
  font-size: 17px;
  box-shadow: 0 7px 16px rgba(203,31,42,.2);
}
.mine-banner-wrap.is-won .mine-draw {
  background: linear-gradient(100deg, #c89a28, #efbd43);
  color: #5b3600;
}
.mine-rules-link {
  width: 100%;
  padding: 9px 0 0;
  border: 0;
  background: none;
  color: #76716b;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.mine-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ece7df;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(53,40,24,.06);
}
.mine-list button {
  position: relative;
  height: 76px;
  display: grid;
  grid-template-columns: 39px 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 8px;
  justify-content: normal;
  padding: 14px 10px;
  border: 0;
  border-right: 1px solid #eeeae5;
  border-bottom: 1px solid #eeeae5;
}
.mine-list button:nth-child(2n) { border-right: 0; }
.mine-list button:nth-last-child(-n+2) { border-bottom: 0; }
.mine-list button::after { display: none; }
.mine-list-icon {
  grid-row: 1 / 3;
  align-self: center;
  color: #393633;
  font-size: 29px;
  font-weight: 300;
  text-align: center;
}
.mine-list button b {
  align-self: end;
  font-size: 13px;
  line-height: 1.3;
}
.mine-list button small {
  overflow: hidden;
  align-self: start;
  color: #9a948d;
  font-size: 9px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid #ebe7e1;
  background: rgba(255,255,255,.96);
  box-shadow: 0 -5px 18px rgba(53,40,24,.06);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}
.mine-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  color: #827c75;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.mine-nav button span { font-size: 23px; line-height: 1; }
.mine-nav .benefit { color: #cf9b2c; }
.mine-nav .active { color: var(--tw-red); font-weight: 800; }
@media (max-width: 360px) {
  .mine-page { padding-inline: 12px; }
  .mine-banner { padding-right: 116px; }
  .mine-gift { right: 8px; transform: scale(.88); transform-origin: right bottom; }
  .mine-banner-title { font-size: 22px; }
  .mine-banner-amount { font-size: 27px; }
  .mine-steps span { font-size: 8px; }
}

/* Generated mockup parity */
.mine-page {
  padding-top: max(18px, env(safe-area-inset-top));
  background: linear-gradient(180deg, #fbf8f3 0%, #f7f5f1 72%, #f2eee8 100%) !important;
}
.mine-head { margin-bottom: 17px; }
.mine-head .mine-account { width: auto; }
.mine-avatar {
  width: 54px;
  height: 54px;
}
.mine-user b {
  font-size: 21px;
  letter-spacing: .01em;
}
.mine-user em {
  max-width: none;
  color: #898580;
  font-size: 12px;
}
.mine-wallet {
  min-height: 116px;
  margin-bottom: 12px;
  padding: 15px 5px;
  border-radius: 16px;
}
.mine-wallet > div > span,
.mine-wallet > button > span,
.mine-wallet small { font-size: 12px; }
.mine-wallet .mine-ccy { font-size: 12px; }
.mine-wallet .mine-amt { font-size: clamp(18px, 5.4vw, 23px); }
.mine-wallet strong.is-wide .mine-amt { font-size: clamp(15px, 4.4vw, 19px); }
.mine-wallet b { font-size: 18px; }
.mine-banner {
  min-height: 174px;
  padding: 18px 145px 17px 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 93% 32%, rgba(255,245,194,.56), transparent 31%),
    repeating-linear-gradient(154deg, transparent 0 13px, rgba(255,255,255,.025) 14px 15px),
    linear-gradient(112deg, #d81625 0%, #ed352d 54%, #f4a43a 100%);
}
.mine-banner-watermark {
  align-items: end;
  justify-items: end;
  padding: 0 9px 14px 0;
  font-size: 27px;
  transform: rotate(-7deg);
}
.mine-banner-copy { gap: 4px; }
.mine-banner-tag {
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1.2;
}
.mine-banner-title {
  color: #fff;
  font-size: 25px;
  line-height: 1.25;
}
.mine-prize-line {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 5px 0 0;
  color: #fff;
  white-space: nowrap;
}
.mine-banner-badge {
  position: static;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.mine-banner-sub {
  margin: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.mine-banner-amount {
  color: #fff6d3;
  font-size: 15px;
  text-shadow: 0 2px 8px rgba(120,30,5,.25);
}
.mine-banner-hint {
  margin-top: 7px;
  color: rgba(255,255,255,.9);
  font-size: 10px;
}
.mine-gift {
  right: 18px;
  bottom: 19px;
  width: 119px;
  height: 124px;
  filter: drop-shadow(0 9px 8px rgba(105,30,10,.2));
}
.mine-coin {
  right: 3px;
  width: 58px;
  height: 58px;
}
.mine-gift-box {
  width: 80px;
  height: 69px;
}
.mine-event-card {
  padding: 15px 16px 13px;
  border-radius: 16px;
}
.mine-countdown-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px;
  align-items: flex-start;
  gap: 6px;
  padding-bottom: 12px;
}
.mine-countdown-head > div {
  min-width: 0;
}
.mine-countdown-head > div { padding-top: 5px; }
.mine-countdown-head small {
  color: #302d29;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}
.mine-cd {
  width: 224px;
  display: flex;
  flex: 0 0 224px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  background: none;
}
.mine-cd > i {
  padding-top: 8px;
  color: #2b2927;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}
.mine-cd-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mine-cd-part b {
  min-width: 40px;
  padding: 7px 5px;
  border-radius: 6px;
  background: #2b2927;
  color: #fff;
  font-size: 22px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.mine-cd-part:last-child b { color: #ffc85c; }
.mine-cd-part small {
  color: #4e4943;
  font-size: 9px;
  font-weight: 600;
}
.mine-steps { padding-top: 13px; }
.mine-steps b {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  font-size: 13px;
}
.mine-steps strong { font-size: 12px; }
.mine-security { font-size: 11px; }
.mine-draw {
  margin-top: 12px;
  padding-block: 14px;
  background: linear-gradient(100deg, #ef202d, #f33d2f 50%, #f6ad3e);
  color: #fff;
  font-size: 18px;
}
@media (max-width: 390px) {
  .mine-banner { padding-right: 124px; }
  .mine-banner-tag { font-size: 19px; }
  .mine-banner-title { font-size: 22px; }
  .mine-gift { right: 8px; transform: scale(.88); transform-origin: right bottom; }
  .mine-countdown-head small { font-size: 14px; }
  .mine-countdown-head { grid-template-columns: minmax(0, 1fr) 200px; }
  .mine-cd {
    width: 200px;
    flex-basis: 200px;
    gap: 1px;
  }
  .mine-cd-part b { min-width: 36px; font-size: 18px; }
}

.mine-transaction-id { display: none; }
.mine-banner-wrap.is-won .mine-banner {
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
  background-color: #3a0b0a;
  background-image: var(--mine-won-banner, url("/brand/taiwan-line-payment-banner-final-xl.png?v=pay1"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 12px 28px rgba(76, 10, 8, .28);
}
.mine-banner-wrap.is-won .mine-banner::after,
.mine-banner-wrap.is-won .mine-banner-copy,
.mine-banner-wrap.is-won .mine-banner-watermark,
.mine-banner-wrap.is-won .mine-gift {
  display: none;
}
.mine-banner-wrap.is-won .mine-transaction-id {
  position: absolute;
  left: auto;
  right: 10px;
  bottom: 8px;
  display: block;
  z-index: 5;
  padding: 4px 9px;
  border: 1px solid rgba(255, 224, 154, .45);
  border-radius: 999px;
  background: rgba(54, 8, 7, .78);
  color: #ffe8b4;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(5px);
}

/* Luxury wine-and-gold theme */
.phone-app.is-mine {
  background: #120604;
}
.mine-page {
  --luxury-gold: #f3cf8b;
  --luxury-gold-strong: #ffd99a;
  --luxury-ivory: #fff8ec;
  --luxury-muted: #baa995;
  --luxury-line: rgba(241, 194, 112, .28);
  background:
    radial-gradient(circle at 88% 1%, rgba(154, 12, 16, .34), transparent 31%),
    radial-gradient(circle at 8% 30%, rgba(104, 18, 12, .24), transparent 38%),
    linear-gradient(180deg, #200705 0%, #120807 48%, #0b0807 100%) !important;
  color: var(--luxury-ivory) !important;
}
.mine-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .3;
  background:
    repeating-linear-gradient(135deg, transparent 0 20px, rgba(255,255,255,.012) 21px 22px),
    radial-gradient(circle at 50% 18%, rgba(255,206,124,.08), transparent 34%);
}
.mine-page > * {
  position: relative;
  z-index: 1;
}
.mine-avatar {
  border: 1px solid rgba(255, 215, 145, .6);
  background: linear-gradient(145deg, rgba(251,221,169,.28), rgba(103,65,47,.42));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 7px 18px rgba(0,0,0,.32);
}
.mine-avatar svg { fill: #ead3ad; }
.mine-user b {
  color: var(--luxury-ivory);
  text-shadow: 0 2px 10px rgba(0,0,0,.42);
}
.mine-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mine-edit-name {
  flex: none;
  padding: 3px 7px;
  border: 1px solid rgba(244,204,137,.48);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #e5c794;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.mine-edit-name:hover {
  background: rgba(241,187,97,.14);
  color: #ffe4af;
}
.mine-user em { color: var(--luxury-muted); }
.mine-head-icon { color: #f5e5cb; }
.mine-head-icon:hover { color: var(--luxury-gold-strong); }
.mine-wallet {
  border: 1px solid rgba(242, 197, 119, .55);
  background:
    linear-gradient(145deg, rgba(75,38,31,.76), rgba(20,14,12,.92)),
    rgba(25,17,14,.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 202, .2),
    inset 0 0 30px rgba(181,93,45,.08),
    0 0 0 3px rgba(225,164,79,.035),
    0 10px 26px rgba(0,0,0,.32),
    0 0 18px rgba(214,151,72,.09);
  backdrop-filter: blur(16px);
}
.mine-wallet > div,
.mine-wallet > button {
  border-right-color: var(--luxury-line);
  color: var(--luxury-ivory);
}
.mine-wallet > div > span,
.mine-wallet > button > span,
.mine-wallet small { color: var(--luxury-muted); }
.mine-wallet .mine-ccy,
.mine-wallet .mine-amt,
.mine-wallet strong,
.mine-wallet b {
  color: var(--luxury-gold-strong);
  text-shadow: 0 2px 12px rgba(226,155,64,.24);
}
.mine-banner {
  border: 1px solid rgba(247, 207, 138, .45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 14px 30px rgba(0,0,0,.42),
    0 0 20px rgba(181,54,29,.13);
}
.mine-banner-wrap:not(.is-won) .mine-banner {
  background:
    radial-gradient(circle at 90% 20%, rgba(255,213,132,.24), transparent 25%),
    linear-gradient(120deg, #56100d, #8f1717 52%, #482016);
}
.mine-banner-wrap.is-won .mine-banner {
  background-color: #3a0b0a;
  background-image: var(--mine-won-banner, url("/brand/taiwan-line-payment-banner-final-xl.png?v=pay1"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.mine-event-card {
  border: 1px solid rgba(242, 197, 119, .48);
  background:
    radial-gradient(circle at 50% 0%, rgba(132,55,35,.2), transparent 60%),
    linear-gradient(155deg, rgba(52,29,24,.95), rgba(16,13,12,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,239,207,.14),
    0 11px 28px rgba(0,0,0,.34),
    0 0 16px rgba(218,157,80,.07);
  backdrop-filter: blur(16px);
}
.mine-countdown-head {
  border-bottom-color: rgba(236,198,137,.23);
}
.mine-countdown-head small {
  color: var(--luxury-ivory);
  text-shadow: 0 2px 8px rgba(0,0,0,.42);
}
.mine-cd > i { color: #e2bc7c; }
.mine-cd-part b {
  border: 1px solid rgba(238,192,111,.5);
  background: linear-gradient(180deg, #33231d, #100e0d);
  color: #f8dca9;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -8px 16px rgba(0,0,0,.22),
    0 4px 10px rgba(0,0,0,.28),
    0 0 10px rgba(232,175,84,.08);
  text-shadow: 0 0 11px rgba(255,204,122,.24);
}
.mine-cd-part:last-child b {
  color: #ffcb65;
  text-shadow: 0 0 12px rgba(255,173,45,.4);
}
.mine-cd-part small { color: #c9b69c; }
.mine-steps {
  position: relative;
}
.mine-steps::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 28px;
  height: 1px;
  z-index: 0;
  background: linear-gradient(90deg, transparent, #f3bd67 12%, #fff0bd 50%, #f3bd67 88%, transparent);
  box-shadow: 0 0 9px rgba(255,193,91,.65);
}
.mine-steps > div,
.mine-steps > i { position: relative; z-index: 1; }
.mine-steps > i {
  color: #ffe3a2;
  text-shadow: 0 0 8px rgba(255,194,89,.72);
}
.mine-steps b {
  border: 1px solid #f1c477;
  background:
    radial-gradient(circle at 32% 23%, rgba(255,228,174,.38), transparent 25%),
    linear-gradient(145deg, #a83931, #551311);
  color: #fff0ca;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.3),
    0 0 0 3px rgba(244,190,101,.08),
    0 0 13px rgba(234,147,68,.44);
}
.mine-steps strong { color: #fff8eb; }
.mine-steps span { color: #bbaa96; }
.mine-security { color: #c4b39e; }
.mine-security svg { stroke: #e4c795; }
.mine-draw,
.mine-banner-wrap.is-won .mine-draw {
  position: relative;
  overflow: hidden;
  border: 1px solid #ffe1a4;
  background:
    linear-gradient(180deg, rgba(255,255,255,.42), transparent 32%),
    linear-gradient(105deg, #b97932 0%, #f4cf91 32%, #ffdca0 58%, #b8732c 100%);
  color: #4b0c0a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    inset 0 -3px 8px rgba(112,54,12,.22),
    0 8px 22px rgba(0,0,0,.35),
    0 0 19px rgba(241,181,87,.24);
  text-shadow: 0 1px 0 rgba(255,245,210,.52);
}
.mine-draw::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -35%;
  width: 20%;
  height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: rotate(22deg);
  animation: luxuryButtonShine 3.8s ease-in-out infinite;
}
@keyframes luxuryButtonShine {
  0%, 42% { left: -35%; }
  75%, 100% { left: 125%; }
}
.mine-rules-link { color: #c8b59c; }
.mine-list {
  border: 1px solid rgba(239,195,120,.28);
  background: linear-gradient(150deg, rgba(38,26,22,.96), rgba(15,13,12,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 26px rgba(0,0,0,.28);
}
.mine-list button {
  border-right-color: rgba(233,194,128,.16);
  border-bottom-color: rgba(233,194,128,.16);
  color: #f9edda;
}
.mine-list-icon {
  color: #e8c789;
  text-shadow: 0 0 10px rgba(242,191,102,.2);
}
.mine-list button small { color: #a99782; }
.mine-nav {
  border-top-color: rgba(240,196,119,.24);
  background: rgba(16,12,11,.92);
  box-shadow: 0 -8px 24px rgba(0,0,0,.36);
}
.mine-nav button { color: #9f8e7b; }
.mine-nav .benefit { color: #cba25f; }
.mine-nav .active {
  color: #ffd994;
  text-shadow: 0 0 12px rgba(255,192,85,.38);
}
.mine-rules-card {
  border: 1px solid rgba(244,199,121,.46);
  background: linear-gradient(160deg, #392019, #160f0d);
  color: #fff4e3;
  box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 24px rgba(208,129,52,.14);
}
.mine-rules-card h2 { color: #ffd493; }
.mine-rules-body { color: #dbc8b0; }
.mine-rules-close {
  background: rgba(255,255,255,.08);
  color: #efd2a3;
}
.mine-rules-ok {
  border: 1px solid #f4cc87;
  background: linear-gradient(100deg, #a96729, #edc47e, #b16d29);
  color: #40100b;
}
@media (prefers-reduced-motion: reduce) {
  .mine-draw::after { animation: none; }
}

/* Generated profile, synchronized balance, campaign entry and local tools */
.mine-avatar {
  color: hsl(var(--avatar-hue, 32) 86% 86%);
  font-size: 24px;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,.42);
}
#mine-balance {
  transition: color .25s ease, text-shadow .25s ease, transform .25s ease;
}
#mine-balance.has-balance {
  color: #ffe29e;
  text-shadow: 0 0 14px rgba(255,190,72,.42);
  transform: translateY(-1px);
}
.promo.is-wheel {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  padding: 12px 13px;
  border: 1px solid rgba(242,184,88,.36);
  border-radius: 17px;
  background:
    radial-gradient(circle at 3% 20%, rgba(255,113,35,.26), transparent 31%),
    linear-gradient(112deg, #4a1907 0%, #241812 58%, #191817 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,232,190,.12),
    0 10px 24px rgba(0,0,0,.28),
    0 0 18px rgba(223,109,33,.08);
  cursor: pointer;
}
.promo.is-wheel::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -30%;
  width: 18%;
  height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255,226,170,.25), transparent);
  transform: rotate(20deg);
  animation: promoShine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes promoShine {
  0%, 48% { left: -30%; }
  78%, 100% { left: 125%; }
}
.promo-art {
  width: 65px;
  height: 65px;
  display: grid;
  flex: none !important;
  place-items: center;
  border: 1px solid rgba(255,206,124,.38);
  border-radius: 17px;
  background:
    radial-gradient(circle at 34% 26%, rgba(255,213,129,.28), transparent 42%),
    rgba(117,45,13,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 6px 16px rgba(0,0,0,.2);
}
.promo-art .promo-gift {
  width: 57px;
  height: 57px;
  filter: drop-shadow(0 6px 7px rgba(0,0,0,.3));
}
.promo-copy {
  display: flex;
  min-width: 0;
  flex: 1 !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.promo-copy b {
  color: #ffb23f;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(255,104,16,.25);
}
.promo-copy small {
  color: rgba(255,241,218,.72);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}
.promo.is-wheel .promo-cta {
  position: relative;
  z-index: 2;
  min-width: 82px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #ffd18a;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), transparent 38%),
    linear-gradient(120deg, #ff7a00, #f04e1b);
  color: #fff9ed !important;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 7px 16px rgba(238,77,20,.25);
}
.mine-reset-draw {
  display: block;
  width: fit-content;
  margin: 8px auto 0;
  padding: 6px 11px;
  border: 1px dashed rgba(244,203,134,.5);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #d8bd91;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.mine-reset-draw:hover {
  border-style: solid;
  background: rgba(242,190,102,.12);
  color: #ffe2ad;
}
.mine-reset-draw:disabled { cursor: wait; opacity: .7; }
.mine-nav .active {
  transform: translateY(-3px);
  font-size: 11px;
}
.mine-nav .active span {
  width: 34px;
  height: 34px;
  display: grid;
  margin-top: -8px;
  place-items: center;
  border: 1px solid #ffe0a4;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.48), transparent 35%),
    linear-gradient(145deg, #e2aa52, #ffd894 55%, #a76627);
  color: #4c130c;
  font-size: 15px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 5px 13px rgba(0,0,0,.35),
    0 0 15px rgba(242,181,88,.28);
  text-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .promo.is-wheel::after { animation: none; }
}
