/* Performance-first system font stack keeps pages fast without remote font requests. */

:root {
  --bg: #f2f1f3;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --panel: rgba(255, 255, 255, 0.80);
  --panel-alt: rgba(249, 250, 252, 0.90);
  --icon-pink: #f8b5c1;
  --icon-blue: #7fdff3;
  --icon-gold: #f7d76d;
  --icon-green: #7ad8c5;
  --icon-sky: #9cdcf7;
  --red: #df4a52;
  --red-deep: #d13a3f;
  --text: #2a2d32;
  --muted: #7c7f88;
  --shadow: 0 20px 28px rgba(80, 86, 91, 0.10);
  --soft-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  --glow-pink: rgba(255, 153, 168, 0.22);
  --glow-blue: rgba(114, 194, 240, 0.20);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f3f2;
  color: var(--text);
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 163, 176, 0.18), transparent 20%),
    radial-gradient(circle at top right, rgba(135, 205, 242, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f6f5 0%, #f0f1f4 100%);
}

button,
input,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #f4f3f2;
}

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 42px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 168, 180, 0.20), transparent 19%),
    radial-gradient(circle at 80% 20%, rgba(109, 205, 243, 0.18), transparent 22%),
    linear-gradient(180deg, #f9f7f6 0%, #f2f2f3 100%);
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100% - 20px));
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.brand-logo {
  display: block;
  width: 224px;
  max-width: 72vw;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 12px 16px rgba(194, 116, 133, 0.2));
}

.brand-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  width: 320px;
  height: 140px;
  filter: drop-shadow(0 16px 18px rgba(204, 50, 58, 0.18));
}

.brand-graphic::before,
.brand-graphic::after {
  content: "";
  position: absolute;
  inset: 12px 24px 18px;
  background: linear-gradient(135deg, rgba(255, 76, 88, 0.9), rgba(190, 20, 36, 0.9));
  clip-path: polygon(8% 18%, 78% 18%, 100% 50%, 78% 82%, 8% 82%, 20% 50%);
  border-radius: 12px;
  transform: rotate(-8deg) skewX(-12deg);
  box-shadow: 0 18px 24px rgba(184, 40, 50, 0.2);
}

.brand-graphic::after {
  inset: 30px 42px 30px;
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: rotate(-8deg) skewX(-12deg);
  filter: blur(1px);
}

.brand-word {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.09em;
  font-weight: 900;
  color: rgba(255,255,255,0.98);
  transform: skew(-10deg) rotate(-5deg);
  text-shadow: 0 6px 0 rgba(132, 20, 28, 0.45), 0 14px 18px rgba(110, 15, 22, 0.18);
}

.logo-mark,
.logo-word {
  display: none;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 420px);
  margin: 0 auto;
}

.field-row {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 62px;
  min-height: 62px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  box-shadow: 0 18px 32px -6px rgba(182, 170, 165, 0.35), 0 8px 16px -2px rgba(182, 170, 165, 0.2), inset 0 2px 4px rgba(255,255,255,0.95);
  padding: 0 12px 0 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.field-row:focus-within {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 32px -6px rgba(182, 170, 165, 0.35), 0 8px 16px -2px rgba(182, 170, 165, 0.2), inset 0 2px 4px rgba(255,255,255,0.95);
}

.field-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-left: 8px;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 8px -2px rgba(0,0,0,0.12), inset 0 1.5px 2px rgba(255,255,255,0.55), inset 0 -1.5px 3px rgba(0,0,0,0.12);
}

.field-icon svg {
  width: 28px;
  height: 28px;
  fill: rgba(255, 255, 255, 0.95);
}

.icon-user {
  background: linear-gradient(135deg, #f8c1cf, #ee9bb1);
}

.icon-lock {
  background: linear-gradient(135deg, #f6d76f, #e8c04d);
}

.field-row input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  color: rgba(31, 34, 41, 0.9);
  font-size: 16px;
  font-weight: 600;
  padding: 0 12px;
  outline: none;
  letter-spacing: 0;
}

.field-row input::placeholder {
  color: #9aa8c6;
  font-weight: 500;
}

.password-row {
  position: relative;
}

.toggle-password {
  display: grid;
  place-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  margin-right: 2px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #aee6db, #90e0ef);
  box-shadow: 0 6px 12px rgba(144,224,239,0.28), inset 0 2px 4px rgba(255,255,255,0.85), inset 0 -2px 4px rgba(80,130,150,0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.toggle-password:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.toggle-password svg {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.96);
}

.history-retry {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0b429, #f59e0b);
  color: #fff8e7;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.history-retry:hover { filter: brightness(1.06); }

.history-retry:disabled { opacity: 0.6; cursor: wait; }

.history-retry.is-danger {
  background: linear-gradient(135deg, #f27ba4, #e05c8a);
}

/* ---- Admin dashboard (uses site tokens only) ---- */
.admin-page .admin-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.admin-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.admin-stat-card > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-stat-card strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-stat-card span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-stat-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  font-size: 1.2rem;
  background: var(--icon-gold);
  box-shadow: var(--glow-pink);
}

.stat-deposits .admin-stat-icon { background: var(--icon-gold); }
.stat-withdrawals .admin-stat-icon { background: var(--icon-blue); }
.stat-users .admin-stat-icon { background: var(--icon-green); }
.stat-money .admin-stat-icon { background: var(--icon-pink); }
.stat-sms .admin-stat-icon { background: var(--icon-sky); }

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-tab {
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.admin-tab.is-active {
  background: linear-gradient(135deg, #f0b429, #f59e0b);
  color: #fff8e7;
}

.admin-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-tab-panel[hidden] { display: none; }

.admin-duty-note {
  margin: 0 0 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(247, 215, 109, 0.25);
  color: var(--text);
  font-size: 0.85rem;
}

.admin-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-list li > div:first-child {
  min-width: 0;
}

.admin-list li small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.admin-list li > div:last-child {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.admin-list li > div:last-child .history-retry {
  margin-top: 0;
}

.admin-user-balances {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.admin-user-balances span {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(127, 223, 243, 0.25);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-sms-body {
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--panel-alt);
  color: var(--text);
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 640px) {
  .admin-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-list li > div:last-child {
    margin-top: 8px;
  }
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  border: 1.5px solid rgba(255,255,255,0.75);
  border-radius: 999px;
  background: linear-gradient(90deg, #ffaec9 0%, #ffc885 35%, #aee6db 70%, #90e0ef 100%);
  color: #313b58;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 2px 4px rgba(120,80,100,0.22);
  box-shadow: 0 16px 30px -6px rgba(238,140,165,0.45), 0 6px 12px rgba(144,224,239,0.3), inset 0 4px 6px rgba(255,255,255,0.85), inset 0 -4px 6px rgba(180,100,130,0.25);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.18s ease;
  transform: translateY(0);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -6px rgba(238,140,165,0.5), 0 8px 14px rgba(144,224,239,0.34), inset 0 4px 6px rgba(255,255,255,0.9), inset 0 -4px 6px rgba(180,100,130,0.2);
}

.submit-btn:active {
  transform: scale(0.97) translateY(2px);
  box-shadow: 0 8px 16px -4px rgba(238,140,165,0.4), inset 0 2px 3px rgba(0,0,0,0.15);
}

.signup-text {
  margin: 8px 0 0;
  text-align: center;
  color: rgba(42, 45, 50, 0.82);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.signup-text a {
  color: #df4a52;
  font-weight: 700;
  text-decoration: none;
}

.form-message {
  min-height: 24px;
  margin: 0;
  text-align: center;
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-message.success {
  color: #1d915f;
}

.auth-card-register {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-register {
  width: 160px;
  margin: 0 auto 10px;
}

.intro {
  text-align: center;
  margin: 0 0 16px;
}

.small-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.7);
  font-weight: 900;
}

.intro h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2vw, 2.35rem);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.intro p {
  margin: 8px 0 0;
  color: rgba(17, 24, 39, 0.66);
  font-size: 0.98rem;
}

.auth-form-register {
  gap: 14px;
}

.invite-row {
  background: #fff;
}

.locked-tag {
  margin-right: 10px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(17, 24, 39, 0.7);
}

.helper-copy {
  margin: -6px 0 2px;
  padding-left: 10px;
  color: rgba(17, 24, 39, 0.64);
  font-size: 0.78rem;
  line-height: 1.4;
}

.helper-copy-last {
  margin-top: -2px;
}

.privacy-copy {
  margin: 2px 0 0;
  text-align: center;
  color: rgba(17, 24, 39, 0.7);
  font-size: 0.82rem;
}

.icon-email,
.icon-phone,
.icon-wallet {
  background: linear-gradient(135deg, #cfe9ff, #9ccdf4);
}

.auth-shell-register {
  width: min(470px, calc(100% - 20px));
}

.brand-graphic-register {
  width: 250px;
  height: 112px;
  margin-bottom: 10px;
}

.header-icons {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.avatar {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.avatar-left {
  left: 19%;
  top: 8%;
  background: linear-gradient(135deg, #f6c8d4, #b0e5f7);
}

.avatar-right {
  right: 18%;
  top: 10%;
  background: linear-gradient(135deg, #a9e4e0, #b7e0f7);
}

.face {
  position: relative;
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.face::before,
.face::after {
  content: "";
  position: absolute;
  background: #2e4854;
  border-radius: 50%;
}

.face-left::before,
.face-right::before {
  width: 7px;
  height: 7px;
  left: 10px;
  top: 16px;
  box-shadow: 13px 0 0 #2e4854;
}

.face-left::after,
.face-right::after {
  width: 16px;
  height: 8px;
  left: 13px;
  bottom: 9px;
  border-radius: 0 0 16px 16px;
  background: rgba(46, 72, 84, 0.8);
}

.face-left {
  box-shadow: inset 0 0 0 7px rgba(255,255,255,0.2);
}

.face-right {
  background: rgba(255, 255, 255, 0.28);
}

.face-right::before {
  box-shadow: 13px 0 0 #2e4854;
}

.floating-ornament {
  position: absolute;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 1.25rem;
  color: rgba(62, 72, 82, 0.7);
  animation: gentleBob 4.5s ease-in-out infinite;
}

@keyframes gentleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.ornament-left-top {
  left: 16%;
  top: 24%;
  color: rgba(255, 145, 166, 0.9);
}

.ornament-left-mid {
  left: 28%;
  top: 50%;
  color: rgba(76, 168, 214, 0.75);
}

.ornament-right-top {
  right: 20%;
  top: 22%;
  color: rgba(255, 153, 168, 0.8);
}

.ornament-right-mid {
  right: 24%;
  top: 56%;
  color: rgba(136, 206, 255, 0.85);
}

.ornament-bottom {
  right: 18%;
  bottom: 15%;
  color: rgba(255, 151, 171, 0.72);
}

.app-body {
  background: linear-gradient(180deg, #f8f5f4 0%, #f2f2f3 100%);
}

.app-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.app-shell-home {
  position: relative;
  display: block;
  width: min(100%, 520px);
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 14px 28px;
}

.app-shell-home::before,
.app-shell-home::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.75;
  pointer-events: none;
}

.app-shell-home::before {
  width: 220px;
  height: 220px;
  top: 60px;
  left: -30px;
  background: rgba(255, 163, 176, 0.28);
}

.app-shell-home::after {
  width: 180px;
  height: 180px;
  right: -10px;
  top: 100px;
  background: rgba(114, 194, 240, 0.22);
}

.dashboard-hero {
  position: relative;
  min-height: 154px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.82);
  background:
    linear-gradient(135deg, rgba(17, 21, 29, 0.94), rgba(155, 25, 35, 0.78) 34%, rgba(176, 213, 240, 0.72) 100%);
  box-shadow: 0 16px 28px rgba(75, 82, 90, 0.08), inset 0 1px 0 rgba(255,255,255,0.22);
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.28), transparent 10%),
    radial-gradient(circle at 72% 30%, rgba(255,255,255,0.18), transparent 18%),
    linear-gradient(120deg, rgba(255,255,255,0.06), transparent 42%);
}

.hero-pill {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(255,255,255,0.96);
}

.hero-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero-copy strong {
  font-size: clamp(1.3rem, 1.7vw, 1.8rem);
  letter-spacing: -0.06em;
}

.home-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: auto;
  z-index: 1;
  padding: 4px 0 0;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.dashboard-page .home-layout {
  gap: 20px;
}

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

.floating-stars span {
  position: absolute;
  color: rgba(255, 145, 166, 0.85);
  font-size: 1.2rem;
}

.floating-stars span:first-child {
  left: 12%;
  top: 15%;
}

.floating-stars span:last-child {
  right: 14%;
  top: 18%;
  color: rgba(76, 168, 214, 0.75);
}

.xplode-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(247,247,249,0.76));
  border: 1px solid rgba(255,255,255,0.84);
  box-shadow: 0 14px 26px rgba(79, 85, 90, 0.08), inset 0 1px 0 rgba(255,255,255,0.95);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.xplode-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(251, 182, 196, 0.12), transparent 42%, rgba(164, 219, 245, 0.15));
  pointer-events: none;
}

.banner-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-brand {
  font-weight: 900;
  letter-spacing: -0.08em;
  font-size: 1.8rem;
  color: rgba(27, 30, 36, 0.96);
}

.balance-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 9px 12px 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 159, 176, 0.14), rgba(143, 211, 247, 0.14));
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.balance-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(54, 61, 69, 0.72);
}

.balance-box strong {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #d93f53, #3b4654 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-grid-dashboard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 110px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(249,250,252,0.82));
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 12px 22px rgba(78, 86, 94, 0.06), inset 0 1px 0 rgba(255,255,255,0.94);
  font-weight: 700;
  text-align: center;
  padding: 12px 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.home-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(236, 113, 128, 0.9), rgba(142, 213, 247, 0.9));
  opacity: 0.75;
}

.home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(78, 86, 94, 0.12);
}

.home-grid-dashboard .home-card {
  min-height: 118px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,249,251,0.78));
  box-shadow: 0 14px 22px rgba(98, 103, 110, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.78);
  padding: 16px 12px 14px;
}

.home-card span:last-child {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(223, 74, 82, 0.12), rgba(156, 219, 246, 0.3));
  font-size: 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.home-grid-dashboard .home-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  font-size: 1.45rem;
  background: linear-gradient(135deg, rgba(251, 188, 196, 0.56), rgba(164, 220, 245, 0.42));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 8px 12px rgba(208, 133, 146, 0.14);
}

.video-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(249,250,252,0.75));
  border: 1px solid rgba(255,255,255,0.84);
  border-radius: 20px;
  padding: 18px 18px 12px;
  box-shadow: 0 14px 24px rgba(76, 82, 88, 0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}

.video-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 161, 176, 0.08), transparent 34%, rgba(122, 213, 250, 0.08));
  pointer-events: none;
}

.video-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.video-header h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.video-header span {
  color: rgba(54, 61, 69, 0.7);
  font-weight: 600;
}

.video-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.video-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(32, 35, 38, 0.8);
  background: rgba(255,255,255,0.38);
  border-radius: 12px;
  padding: 8px 10px;
}

.play-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 98, 110, 0.14), rgba(157, 214, 246, 0.28));
  color: #df4a52;
  font-size: 0.75rem;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255,255,255,0.46);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 18px rgba(66, 72, 77, 0.04);
}

.bottom-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(44, 48, 52, 0.82);
  background: rgba(255,255,255,0.62);
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bottom-link:hover {
  transform: translateY(-1px);
}

.bottom-link.active {
  background: linear-gradient(135deg, rgba(223, 74, 82, 0.14), rgba(255,255,255,0.9));
  color: var(--red-deep);
  border-color: rgba(223, 74, 82, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.info-page-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 20px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(249,250,252,0.78));
  box-shadow: 0 16px 32px rgba(76, 82, 88, 0.08), inset 0 1px 0 rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.86);
  position: relative;
  overflow: hidden;
}

.info-page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(251, 182, 196, 0.08), transparent 34%, rgba(164, 219, 245, 0.08));
  pointer-events: none;
}

.info-page-card > * {
  position: relative;
  z-index: 1;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-mini-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 138px;
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(248, 220, 228, 0.9), rgba(214, 242, 255, 0.85));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.info-mini-card strong {
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  letter-spacing: -0.06em;
}

.info-mini-card span {
  color: rgba(42, 45, 50, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}

.info-page-card h1 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 3rem);
  letter-spacing: -0.06em;
}

.info-page-card p {
  margin: 0;
  color: rgba(42, 45, 50, 0.82);
  font-size: 1rem;
  line-height: 1.6;
}

.inline-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.inline-form label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(42, 45, 50, 0.7);
}

.inline-form-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inline-form input {
  flex: 1;
  min-height: 52px;
  border: 1px solid rgba(120, 126, 134, 0.2);
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  padding: 0 16px;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}

.payment-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(250, 177, 190, 0.35), rgba(165, 220, 248, 0.38), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 24px rgba(96, 102, 110, 0.08);
  position: relative;
  overflow: hidden;
}

.payment-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.payment-card--deposit {
  background: linear-gradient(135deg, rgba(250, 177, 190, 0.38), rgba(165, 220, 248, 0.35), rgba(255, 255, 255, 0.92));
}

.payment-card--withdraw {
  background: linear-gradient(135deg, rgba(165, 220, 248, 0.38), rgba(201, 230, 194, 0.4), rgba(255, 255, 255, 0.92));
}

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

.payment-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.payment-label {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(42, 45, 50, 0.72);
  font-weight: 800;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 0.72rem;
  color: rgba(42, 45, 50, 0.8);
}

.payment-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.payment-number-row strong {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: -0.05em;
  color: var(--text);
}

.copy-btn {
  min-height: 42px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(222, 83, 96, 0.18), rgba(150, 215, 251, 0.24));
  color: var(--text);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(97, 103, 110, 0.08);
}

.copy-btn:active,
.copy-btn.is-copied {
  transform: scale(0.98);
  background: linear-gradient(135deg, rgba(115, 193, 149, 0.2), rgba(96, 183, 123, 0.24));
}

  min-height: 64px;
  color: rgba(42, 45, 50, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
}

.transfer-history {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(42, 45, 50, 0.72);
  font-weight: 800;
}

.history-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(236, 240, 244, 0.9);
}

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

.history-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.62);
}

.history-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1rem;
}

.history-icon.incoming {
  background: rgba(93, 200, 136, 0.12);
  color: #1d915f;
}

.history-icon.outgoing {
  background: rgba(223, 74, 82, 0.12);
  color: #c93d3d;
}

.history-list div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.history-list strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.history-list small {
  color: rgba(42, 45, 50, 0.62);
  font-size: 0.7rem;
}

.history-list b {
  font-size: 0.9rem;
  color: rgba(42, 45, 50, 0.88);
}

.form-message {
  min-height: 24px;
  margin: 0;
  text-align: center;
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.form-message.success {
  color: #1d915f;
  animation: successPulse 0.4s ease;
}

.form-message.error {
  animation: errorShake 0.3s ease;
}

@keyframes successPulse {
  0% { transform: scale(0.98); opacity: 0.7; }
  60% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-4px); }
  70% { transform: translateX(4px); }
}

.small-btn {
  min-height: 52px;
  padding: 0 22px;
  font-size: 1rem;
  border-radius: 14px;
}

.sidebar {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  box-shadow: 0 18px 30px rgba(53, 60, 65, 0.08);
  padding: 22px 16px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 18px;
}

.mini-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #fa7487, #d13a3f);
  color: white;
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: 0 12px 18px rgba(223, 74, 82, 0.18);
}

.brand-name {
  font-size: 1.15rem;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.nav-item {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(30, 33, 38, 0.8);
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  background: linear-gradient(135deg, rgba(223, 74, 82, 0.12), rgba(255, 255, 255, 0.55));
  color: var(--red-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.main-panel {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 18px 34px rgba(53, 60, 65, 0.08);
  padding: 28px;
}

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

.topbar h1 {
  margin: 0;
  font-size: clamp(2rem, 2vw, 2.8rem);
  letter-spacing: -0.06em;
}

.small-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ghost-btn,
.chip-btn,
.filter {
  border: 1px solid rgba(132, 137, 144, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(233, 235, 238, 0.95));
  color: var(--text);
  font-weight: 600;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.8),
    0 8px 12px rgba(49, 55, 62, 0.07),
    0 2px 0 rgba(128, 133, 141, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ghost-btn {
  min-height: 42px;
  padding: 0 18px;
}

.ghost-btn:hover,
.chip-btn:hover,
.filter:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.85),
    0 10px 16px rgba(49, 55, 62, 0.09),
    0 2px 0 rgba(128, 133, 141, 0.35);
}

.ghost-btn:active,
.chip-btn:active,
.filter:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.4),
    0 2px 0 rgba(128, 133, 141, 0.2);
}

.user-pill {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #101820, #30414c);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  min-height: 150px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 22px rgba(85, 94, 100, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: floatCard 6s ease-in-out infinite;
}

.stat-card:hover,
.panel:hover,
.gallery-card:hover,
.mini-card:hover,
.profile-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 24px rgba(49, 55, 62, 0.12);
}

.accent-pink {
  background: linear-gradient(135deg, #f8dfe5, #f4bfd0);
}

.accent-blue {
  background: linear-gradient(135deg, #dff6ff, #c4ebff);
}

.accent-gold {
  background: linear-gradient(135deg, #f9efd1, #f1d789);
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(42, 45, 50, 0.72);
}

.stat-card strong {
  font-size: clamp(2rem, 2vw, 2.6rem);
  letter-spacing: -0.06em;
}

.stat-card small {
  color: rgba(42, 45, 50, 0.76);
  font-weight: 600;
}

.content-grid,
.bottom-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 18px;
  margin-bottom: 22px;
}

.panel {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 18px 18px 20px;
  box-shadow: 0 14px 26px rgba(85, 94, 100, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: floatCard 7s ease-in-out infinite;
}

.large-panel {
  min-height: 300px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-header h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.panel-header a {
  color: var(--red-deep);
  text-decoration: none;
  font-weight: 700;
}

.chip-btn {
  min-height: 34px;
  padding: 0 12px;
  background: rgba(223, 74, 82, 0.12);
  color: var(--red-deep);
}

.feature-spotlight {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: center;
}

.showcase-card {
  min-height: 220px;
  border-radius: 24px;
  background: linear-gradient(135deg, #101820 0%, #d15765 100%);
  overflow: hidden;
  position: relative;
}

.showcase-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 12%),
    linear-gradient(135deg, rgba(255,255,255,0.15), transparent 35%),
    linear-gradient(180deg, rgba(12, 19, 28, 0.12), rgba(12, 19, 28, 0.28));
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.spotlight-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 1.5vw, 2.2rem);
  letter-spacing: -0.05em;
}

.spotlight-copy p {
  margin: 0;
  color: rgba(42, 45, 50, 0.76);
  line-height: 1.7;
}

.feature-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.feature-meta span {
  background: rgba(223, 74, 82, 0.08);
  color: var(--red-deep);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: rgba(42, 45, 50, 0.8);
}

.activity-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42, 45, 50, 0.07);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.green { background: #69d49a; }
.dot.pink { background: #ee8ea7; }
.dot.blue { background: #71c8eb; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-preview {
  height: 120px;
  border-radius: 18px;
  background: linear-gradient(140deg, #e8d9ff, #dfeefb);
}

.preview-one { background: linear-gradient(135deg, #e9d7ff, #ffd8d8); }
.preview-two { background: linear-gradient(135deg, #d8f4ff, #dde5ff); }
.preview-three { background: linear-gradient(135deg, #fce3a7, #ffd0d6); }

.mini-card h4 {
  margin: 0;
  font-size: 1rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.chart-box {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  padding: 18px 8px 6px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(246, 246, 246, 0.75));
}

.chart-box span {
  display: block;
  height: var(--h);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #fdc4cf, #df4a52);
}

.page-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter {
  min-height: 38px;
  padding: 0 16px;
}

.filter.active {
  background: linear-gradient(135deg, rgba(223, 74, 82, 0.18), rgba(255,255,255,0.9));
  color: var(--red-deep);
}

.watch-layout {
  gap: 18px;
}

.watch-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.watch-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 4px;
}

.watch-breadcrumb {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(42, 45, 50, 0.9);
}

.watch-header h1 {
  margin: 0;
  font-size: clamp(2rem, 2vw, 2.5rem);
  letter-spacing: -0.07em;
  line-height: 1.08;
  color: rgba(25, 29, 34, 0.98);
}

.watch-header p {
  margin: 0;
  color: rgba(42, 45, 50, 0.7);
  font-weight: 600;
  font-size: 0.96rem;
}

.watch-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.watch-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(246,247,249,0.76));
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 16px 26px rgba(76, 82, 88, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

.watch-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.watch-icon-line {
  color: rgba(39, 42, 46, 0.75);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.watch-labels {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.watch-tier {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(223, 74, 82, 0.9);
}

.watch-genre {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(42, 45, 50, 0.7);
}

.watch-card-top h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  letter-spacing: -0.06em;
  color: rgba(26, 29, 34, 0.96);
}

.watch-card-body {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.watch-video {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #151515;
}

.watch-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-lock-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 24, 28, 0.86);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.watch-lock-overlay[hidden] {
  display: none;
}

.watch-card-body .watch-description {
  grid-column: 1 / -1;
}

.watch-attribution {
  color: #746c67;
  font-size: 0.72rem;
  line-height: 1.4;
}

.watch-attribution a {
  color: #176e78;
  font-weight: 800;
}

.watch-thumbnail {
  position: relative;
  min-height: 180px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 12px 20px rgba(116, 119, 124, 0.12);
}

.watch-thumbnail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(0,0,0,0.03));
}

.art-gecko { background: linear-gradient(135deg, #f1d8bd, #c7eeff 50%, #dfd0ff); }
.art-despicable { background: linear-gradient(135deg, #e2d9ff, #dbe7fb 54%, #dff9e8); }
.art-bossbaby { background: linear-gradient(135deg, #ffd7ae, #e8d2ff 52%, #d2efff); }

.watch-description {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 2px;
}

.watch-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(42, 45, 50, 0.8);
}

.watch-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fa7487, #d13a3f);
  color: white;
  font-size: 0.72rem;
  box-shadow: 0 8px 12px rgba(223, 74, 82, 0.18);
}

.watch-stars {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: rgba(238, 176, 40, 0.95);
}

.watch-description p {
  margin: 0;
  color: rgba(42, 45, 50, 0.74);
  font-size: 0.94rem;
  line-height: 1.7;
  font-weight: 500;
}

.watch-card-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 2px;
  flex-wrap: wrap;
}

.watch-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.watch-stat small {
  color: rgba(42, 45, 50, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.watch-stat strong {
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: rgba(34, 37, 42, 0.94);
}

.watch-action {
  margin-left: auto;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(223, 74, 82, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(237, 238, 240, 0.96));
  color: rgba(42, 45, 50, 0.75);
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 8px 12px rgba(49, 55, 62, 0.06);
}

.watch-action:disabled {
  opacity: 0.9;
  cursor: not-allowed;
}

.watch-claim,
.watch-deposit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(22, 138, 132, 0.24);
  border-radius: 9px;
  background: #e8f8f5;
  color: #126f6a;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.watch-claim:disabled {
  opacity: 0.65;
}

.watch-claim[hidden],
.watch-deposit-link[hidden] {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(248,249,251,0.76));
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 12px 20px rgba(79, 86, 92, 0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: floatCard 8s ease-in-out infinite;
}

.gallery-art {
  height: 200px;
  border-radius: 18px;
  margin-bottom: 10px;
}

.art-one { background: linear-gradient(135deg, #f2d1db, #d3f0ff); }
.art-two { background: linear-gradient(135deg, #dfe6ff, #d9d1ff); }
.art-three { background: linear-gradient(135deg, #ffd8bb, #ffb8c3); }
.art-four { background: linear-gradient(135deg, #d8f3e9, #cbe9ff); }
.art-five { background: linear-gradient(135deg, #fde0b8, #f7b7b7); }
.art-six { background: linear-gradient(135deg, #dfe9ff, #f7d4d4); }

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

.gallery-meta h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.gallery-meta span {
  color: var(--red-deep);
  font-weight: 700;
}

.profile-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(249,250,252,0.76));
  border: 1px solid rgba(255,255,255,0.82);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 18px 30px rgba(79, 86, 92, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(250, 183, 198, 0.08), transparent 38%, rgba(161, 219, 246, 0.08));
  pointer-events: none;
}

.profile-card > * {
  position: relative;
  z-index: 1;
}

.profile-layout {
  gap: 20px;
}

.profile-banner {
  height: 170px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242, 214, 219, 0.8), rgba(217, 244, 255, 0.78) 55%, rgba(228, 232, 255, 0.82));
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.profile-banner::before,
.profile-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}

.profile-banner::before {
  width: 140px;
  height: 140px;
  right: 14%;
  top: 12%;
}

.profile-banner::after {
  width: 170px;
  height: 170px;
  left: 12%;
  bottom: -14%;
}

.profile-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #101820, #3a4f5a);
  color: white;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 12px 18px rgba(18, 25, 33, 0.18);
}

.profile-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.profile-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 90px;
}

.profile-stats strong {
  font-size: 1.4rem;
}

.profile-stats span {
  color: var(--muted);
  font-size: 0.8rem;
}

.profile-copy h1 {
  margin: 0 0 8px;
  letter-spacing: -0.06em;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.profile-copy h2 {
  margin: 0 0 10px;
  letter-spacing: -0.05em;
  font-size: 1.2rem;
}

.profile-copy p {
  margin: 0;
  color: rgba(42, 45, 50, 0.74);
  line-height: 1.7;
}

.profile-gallery {
  padding-top: 6px;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-gallery .gallery-art {
  height: 140px;
  border-radius: 18px;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 720px) {
  .app-shell {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .app-shell-home {
    padding: 14px 12px 24px;
  }

  .home-layout {
    width: 100%;
  }

  .xplode-banner {
    padding: 14px 14px 12px;
  }

  .banner-brand {
    font-size: 1.52rem;
  }

  .balance-box strong {
    font-size: 1.2rem;
  }

  .dashboard-hero {
    min-height: 136px;
  }

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

  .video-list {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    gap: 6px;
  }

  .bottom-link {
    min-height: 46px;
    font-size: 0.72rem;
  }

  .info-card-grid,
  .stats-grid,
  .content-grid,
  .bottom-grid,
  .gallery-grid,
  .mini-grid,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .feature-spotlight {
    grid-template-columns: 1fr;
  }

  .payment-number-row,
  .inline-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-btn,
  .submit-btn.small-btn {
    width: 100%;
  }

  .sidebar {
    padding: 18px 16px;
  }

  .stats-grid,
  .content-grid,
  .bottom-grid,
  .gallery-grid,
  .mini-grid,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .feature-spotlight {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-wrap {
    gap: 18px;
  }

  .logo-shape {
    width: 180px;
    height: 130px;
  }

  .input-row {
    min-height: 72px;
  }

  .field-icon {
    width: 64px;
    min-width: 64px;
    height: 64px;
  }

  .avatar-left {
    left: 7%;
    top: 10%;
  }

  .avatar-right {
    right: 7%;
    top: 11%;
  }
}

@media (max-width: 500px) {
  .login-page {
    padding-top: 32px;
  }

  .logo-shape {
    width: 160px;
    height: 110px;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .input-row input {
    font-size: 0.95rem;
  }

  .signup-text {
    font-size: 0.82rem;
  }

  .home-grid-dashboard {
    grid-template-columns: 1fr;
  }

  .bottom-link {
    font-size: 0.65rem;
    letter-spacing: 0.01em;
  }

  .hero-copy strong {
    font-size: 1.15rem;
  }
}

@media (max-width: 420px) {
  .app-body-home .app-shell-home {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .dashboard-page .dashboard-shell {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .dashboard-page .dashboard-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .dashboard-page .dashboard-header .balance-box {
    width: 100%;
    min-width: 0;
  }

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

  .dashboard-page .tile-card {
    min-height: 80px;
    padding-top: 8px;
  }

  .dashboard-page .dashboard-mini-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 320px) {
  .dashboard-page .dashboard-shell {
    padding-left: 8px;
    padding-right: 8px;
  }

  .dashboard-page .tile-card .tile-label,
  .dashboard-page .dashboard-card span:last-child {
    font-size: 0.62rem;
  }

  .dashboard-page .tile-card .tile-icon,
  .dashboard-page .dashboard-card .home-icon {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 420px) {
  .app-body-home .app-shell-home {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .dashboard-page .dashboard-shell {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .dashboard-page .dashboard-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .dashboard-page .dashboard-header .balance-box {
    width: 100%;
    min-width: 0;
  }

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

  .dashboard-page .tile-card {
    min-height: 80px;
    padding-top: 8px;
  }

  .dashboard-page .dashboard-mini-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 320px) {
  .dashboard-page .dashboard-shell {
    padding-left: 8px;
    padding-right: 8px;
  }

  .dashboard-page .tile-card .tile-label,
  .dashboard-page .dashboard-card span:last-child {
    font-size: 0.62rem;
  }

  .dashboard-page .tile-card .tile-icon,
  .dashboard-page .dashboard-card .home-icon {
    width: 34px;
    height: 34px;
  }
}

h1,
h2,
h3 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button:not(.submit-btn):not(.toggle-password):not(.reward-close):not(.history-retry):not(.admin-tab):not(:disabled) {
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: 0 8px 16px -4px rgba(182,170,165,0.32), inset 0 2px 4px rgba(255,255,255,0.85), inset 0 -3px 5px rgba(100,110,125,0.12);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

button:not(.submit-btn):not(.toggle-password):not(.reward-close):not(.history-retry):not(.admin-tab):hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -4px rgba(182,170,165,0.38), inset 0 2px 4px rgba(255,255,255,0.9);
}

button:not(.submit-btn):not(.toggle-password):not(.reward-close):not(.history-retry):not(.admin-tab):active:not(:disabled) {
  transform: scale(0.98) translateY(1px);
  box-shadow: 0 4px 9px -3px rgba(182,170,165,0.3), inset 0 2px 4px rgba(80,90,105,0.12);
}

.home-card,
.home-grid-dashboard .home-card {
  box-shadow: 0 14px 24px -6px rgba(182,170,165,0.28), inset 0 3px 5px rgba(255,255,255,0.92), inset 0 -3px 6px rgba(190,180,175,0.15);
}

.home-card:hover,
.home-grid-dashboard .home-card:hover {
  box-shadow: 0 18px 30px -6px rgba(182,170,165,0.36), inset 0 3px 5px rgba(255,255,255,0.95);
}

.dashboard-page {
  --dash-ink: #20352f;
  --dash-muted: #75827c;
  --dash-line: #e3e9e5;
  --dash-coral: #ef7058;
  --dash-mint: #c7e9d7;
  background: #f4f6f3;
  color: var(--dash-ink);
}

.dashboard-page .app-shell-home::before,
.dashboard-page .app-shell-home::after {
  display: none;
}

.dashboard-shell {
  width: min(100%, 1180px);
  max-width: 1180px;
  padding: 24px 28px 30px;
}

.dashboard-layout {
  width: 100%;
  max-width: none;
  gap: 20px;
}

.dashboard-header {
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--dash-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.dashboard-header::before {
  display: none;
}

.dashboard-header .banner-topline {
  gap: 12px;
}

.dashboard-header .mini-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--dash-coral);
  box-shadow: none;
  font-size: 1.2rem;
}

.dashboard-header .banner-brand {
  color: var(--dash-ink);
  font-size: 1.3rem;
  letter-spacing: 0;
  line-height: 1.1;
}

.dashboard-greeting {
  display: block;
  margin-top: 3px;
  color: var(--dash-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.dashboard-header .balance-box {
  align-items: flex-start;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--dash-ink);
  box-shadow: none;
  color: white;
}

.dashboard-header .balance-label {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.06em;
}

.dashboard-header .balance-box strong {
  color: white;
  background: none;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.dashboard-page .dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  min-height: 224px;
  padding: 28px 40px;
  border: 0;
  border-radius: 18px;
  background-color: #24463c;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  box-shadow: none;
}

.dashboard-page .dashboard-hero::before {
  display: none;
}

.dashboard-page .hero-copy {
  position: relative;
  inset: auto;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
}

.hero-eyebrow {
  color: #c7e9d7;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-page .hero-copy strong {
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-link,
.wallet-link,
.video-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
}

.hero-link {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--dash-coral);
  color: #fff;
}

.hero-link:hover,
.wallet-link:hover,
.video-more:hover {
  filter: brightness(1.06);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 188px;
  max-width: 100%;
  height: 116px;
  object-fit: contain;
  padding: 10px;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  background: #f8d36b;
  box-shadow: 10px 12px 0 rgba(18, 36, 30, 0.24);
  transform: rotate(4deg);
}

.hero-art-star {
  position: absolute;
  top: 3px;
  right: 23px;
  color: #f8d36b;
  font-size: 2.4rem;
  transform: rotate(14deg);
}

.hero-art-ticket {
  position: absolute;
  bottom: 0;
  left: 4px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 52px;
  border-radius: 8px;
  background: #ed7058;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-8deg);
}

.dashboard-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.8fr);
  align-items: start;
  gap: 20px;
}

.dashboard-section-heading,
.wallet-heading {
  margin-bottom: 12px;
}

.section-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--dash-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-section-heading h1,
.wallet-heading h2 {
  margin: 0;
  color: var(--dash-ink);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.home-grid-dashboard {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-page .home-grid-dashboard .home-card {
  min-height: 102px;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid var(--dash-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(32, 53, 47, 0.04);
  color: var(--dash-ink);
  font-size: 0.85rem;
}

.dashboard-page .home-grid-dashboard .home-card::before {
  display: none;
}

.dashboard-page .home-grid-dashboard .home-card:hover {
  transform: translateY(-2px);
  border-color: #bbd9c9;
  box-shadow: 0 8px 18px rgba(32, 53, 47, 0.08);
}

.dashboard-page .home-card span:last-child {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
}

.dashboard-page .home-grid-dashboard .home-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--dash-mint);
  box-shadow: none;
  color: var(--dash-ink);
  font-size: 1.2rem;
}

.dashboard-wallet {
  padding: 18px;
  border: 1px solid var(--dash-line);
  border-radius: 12px;
  background: #fff;
}

.wallet-total,
.wallet-pending {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  color: var(--dash-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.wallet-total {
  border-top: 1px solid var(--dash-line);
}

.wallet-pending {
  border-top: 1px solid var(--dash-line);
}

.wallet-total strong,
.wallet-pending strong {
  color: var(--dash-ink);
  font-size: 0.84rem;
  text-align: right;
}

.wallet-link {
  min-height: 40px;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  border-radius: 8px;
  background: #e6f3ec;
  color: var(--dash-ink);
  font-size: 0.84rem;
}

.dashboard-page .dashboard-videos {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid var(--dash-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.dashboard-videos::before {
  display: none;
}

.dashboard-videos .video-header {
  margin-bottom: 14px;
}

.dashboard-videos .video-header h2 {
  margin: 0;
  color: var(--dash-ink);
  font-size: 1.4rem;
  letter-spacing: 0;
}

.video-more {
  color: #c74f3d;
  font-size: 0.84rem;
}

.dashboard-videos .video-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-videos .video-list li {
  min-width: 0;
  min-height: 54px;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #edf0ed;
  border-radius: 8px;
  background: #f8faf8;
  color: var(--dash-ink);
  font-size: 0.86rem;
}

.dashboard-videos .play-mark {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: #fce5df;
  color: #c74f3d;
  font-size: 0.65rem;
}

.video-emoji {
  font-size: 1.25rem;
}

.dashboard-page .bottom-nav {
  align-self: center;
  width: min(100%, 580px);
  border: 1px solid var(--dash-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(32, 53, 47, 0.06);
}

.dashboard-page .bottom-link {
  border-radius: 8px;
  background: transparent;
  color: var(--dash-muted);
  font-size: 0.78rem;
}

.dashboard-page .bottom-link.active {
  border-color: transparent;
  background: var(--dash-ink);
  color: #fff;
  box-shadow: none;
}

@media (max-width: 760px) {
  .dashboard-shell {
    padding: 18px 16px 96px;
  }

  .dashboard-layout {
    gap: 16px;
  }

  .dashboard-page .dashboard-hero {
    grid-template-columns: minmax(0, 1fr) 190px;
    min-height: 200px;
    padding: 24px;
  }

  .dashboard-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .dashboard-page .dashboard-videos {
    grid-column: auto;
  }

  .dashboard-page .bottom-nav {
    position: fixed;
    z-index: 20;
    right: 12px;
    bottom: 10px;
    left: 12px;
    width: auto;
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .dashboard-shell {
    padding: 14px 12px 96px;
  }

  .dashboard-page .dashboard-hero {
    grid-template-columns: minmax(0, 1fr) 126px;
    min-height: 186px;
    padding: 20px 16px;
  }

  .dashboard-page .hero-copy strong {
    font-size: 1.55rem;
  }

  .hero-art {
    min-height: 130px;
  }

  .hero-art img {
    height: 82px;
    padding: 6px;
    border-width: 3px;
  }

  .hero-art-ticket {
    width: 54px;
    height: 42px;
    font-size: 0.55rem;
  }

  .hero-art-star {
    right: 0;
    font-size: 1.8rem;
  }

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

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

  .dashboard-header .balance-box {
    padding: 8px 10px;
  }

  .dashboard-header .balance-label {
    font-size: 0.62rem;
  }

  .dashboard-header .balance-box strong {
    font-size: 0.95rem;
  }

  .dashboard-page .bottom-link {
    min-height: 44px;
    font-size: 0.64rem;
  }
}

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

:root {
  --app-bg: #f5f4f4;
  --app-surface: #ffffff;
  --app-ink: #2f343d;
  --app-muted: #777e88;
  --app-line: #e7e8ea;
  --app-coral: #df4a52;
  --app-coral-soft: #fcebed;
  --app-sky: #e8f6f8;
  --app-shadow: 0 12px 26px rgba(49, 55, 62, 0.07);
}

.app-body {
  background: var(--app-bg);
  color: var(--app-ink);
}

.app-body-home {
  background: var(--app-bg);
}

.app-body-home .app-shell-home {
  width: min(100%, 520px);
  max-width: 520px;
  padding: 20px 12px 96px;
}

.app-body-home .home-layout {
  width: 100%;
  max-width: none;
  gap: 16px;
}

.app-body-home .xplode-banner {
  padding: 12px 0 16px;
  border: 0;
  border-bottom: 1px solid var(--app-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.app-body-home .xplode-banner::before {
  display: none;
}

.app-body-home .mini-mark {
  background: var(--app-coral);
  box-shadow: none;
}

.app-body-home .banner-brand {
  color: var(--app-ink);
  letter-spacing: 0;
}

.app-body-home .balance-box {
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--app-surface);
  box-shadow: none;
}

.app-body-home .balance-label {
  color: var(--app-muted);
}

.app-body-home .balance-box strong {
  background: none;
  color: var(--app-ink);
  letter-spacing: 0;
}

.app-body .info-page-card,
.app-body .profile-card,
.app-body .watch-card,
.app-body .gallery-card,
.app-body .panel,
.app-body .sidebar,
.app-body .main-panel,
.app-body .stat-card,
.app-body .video-panel,
.app-body .payment-card,
.app-body .transfer-history,
.app-body .dashboard-wallet,
.app-body .dashboard-videos {
  border: 1px solid var(--app-line);
  border-radius: 16px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
  animation: none;
}

.app-body .info-page-card::before,
.app-body .profile-card::before,
.app-body .payment-card::before,
.app-body .video-panel::before {
  display: none;
}

.app-body .info-mini-card,
.app-body .payment-card--deposit,
.app-body .payment-card--withdraw,
.app-body .accent-pink,
.app-body .accent-blue,
.app-body .accent-gold {
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: #f8f9fa;
  box-shadow: none;
}

.app-body .payment-card--deposit,
.app-body .payment-card--withdraw {
  background: var(--app-surface);
}

.app-body .stat-card,
.app-body .panel,
.app-body .gallery-card,
.app-body .mini-card,
.app-body .profile-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.app-body .stat-card:hover,
.app-body .panel:hover,
.app-body .gallery-card:hover,
.app-body .mini-card:hover,
.app-body .profile-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--app-shadow);
}

.app-body .home-card,
.app-body .home-grid-dashboard .home-card {
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--app-surface);
  box-shadow: 0 4px 12px rgba(49, 55, 62, 0.05);
}

.app-body .home-card:hover,
.app-body .home-grid-dashboard .home-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--app-shadow);
}

.app-body .home-icon,
.app-body .payment-icon,
.app-body .history-icon {
  border-radius: 10px;
  background: var(--app-sky);
  box-shadow: none;
}

.app-body .home-icon {
  color: var(--app-ink);
}

.app-body .home-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-body .gallery-art,
.app-body .mini-preview,
.app-body .profile-banner,
.app-body .watch-thumbnail,
.app-body .showcase-card {
  border-radius: 12px;
  background: linear-gradient(135deg, #f5d8d6, #d9edf2 72%);
  box-shadow: none;
}

.app-body .watch-brand-mark {
  background: var(--app-coral);
  box-shadow: none;
}

.app-body .watch-action:disabled,
.app-body button:disabled {
  min-height: 42px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: #f1f2f3;
  color: #818791;
  box-shadow: none;
}

.app-body .inline-form input,
.app-body input:not([type="checkbox"]),
.app-body select,
.app-body textarea {
  border-color: var(--app-line);
  border-radius: 10px;
  background: var(--app-surface);
  color: var(--app-ink);
  box-shadow: none;
}

.app-body button:not(.toggle-password):not(.submit-btn):not(.reward-close):not(.history-retry):not(.admin-tab):not(:disabled) {
  min-height: 42px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-surface);
  color: var(--app-ink);
  box-shadow: none;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.app-body button:not(.toggle-password):not(.submit-btn):not(.reward-close):not(.history-retry):not(.admin-tab):hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(49, 55, 62, 0.08);
}

.app-body button:not(.toggle-password):not(.submit-btn):not(.reward-close):not(.history-retry):not(.admin-tab):active:not(:disabled) {
  transform: translateY(0);
}

.app-body .submit-btn,
.app-body .submit-btn.small-btn {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--app-coral);
  color: #fff;
  box-shadow: none;
  text-shadow: none;
}

.app-body .submit-btn:hover,
.app-body .submit-btn.small-btn:hover {
  background: #cf414a;
  box-shadow: 0 6px 14px rgba(207, 65, 74, 0.18);
}

.app-body .copy-btn,
.app-body .ghost-btn,
.app-body .chip-btn,
.app-body .filter {
  min-height: 40px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-surface);
  color: var(--app-ink);
  box-shadow: none;
}

.app-body .copy-btn:hover,
.app-body .ghost-btn:hover,
.app-body .chip-btn:hover,
.app-body .filter:hover {
  background: #f8f9fa;
  box-shadow: none;
}

.app-body .copy-btn:active,
.app-body .copy-btn.is-copied,
.app-body .filter.active,
.app-body .chip-btn.active {
  border-color: #f2c7cb;
  background: var(--app-coral-soft);
  color: var(--app-coral);
}

.app-body .bottom-nav {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-surface);
  box-shadow: 0 6px 18px rgba(49, 55, 62, 0.07);
}

.app-body .bottom-link {
  min-height: 48px;
  border-radius: 10px;
  background: transparent;
  color: var(--app-muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.app-body .bottom-link.active {
  border-color: transparent;
  background: var(--app-coral-soft);
  color: var(--app-coral);
  box-shadow: none;
}

.dashboard-page {
  --dash-sky: #cfeaf4;
  --dash-ink: #1d2f2b;
  --dash-muted: #5f6b69;
  --dash-line: rgba(20, 40, 44, 0.08);
  --dash-red: #f33d4d;
  --dash-red-dark: #dd2d45;
  --dash-gold: #f8d86d;
  background: var(--dash-sky);
  color: var(--dash-ink);
}

.dashboard-page .app-shell-home::before,
.dashboard-page .app-shell-home::after {
  display: none;
}

.dashboard-page .dashboard-shell {
  width: min(100%, 520px);
  max-width: 520px;
  padding: 18px 18px 12px;
  border-radius: 20px;
  background: rgba(241, 240, 234, 0.96);
  box-shadow: 0 18px 28px rgba(58, 78, 96, 0.12);
}

.dashboard-page .dashboard-layout {
  width: 100%;
  max-width: none;
  gap: 12px;
}

.dashboard-page .dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--dash-line);
  background: transparent;
  box-shadow: none;
}

.dashboard-page .dashboard-header .banner-topline {
  gap: 12px;
  align-items: center;
}

.dashboard-page .dashboard-header .mini-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff7a5c 0%, #d73847 100%);
  box-shadow: inset 0 2px 7px rgba(255,255,255,0.5), 0 8px 14px rgba(216, 62, 78, 0.18);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.dashboard-page .dashboard-header .banner-brand {
  color: #d92f48;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-page .dashboard-header .balance-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 210px;
  min-width: 210px;
  padding: 8px 14px;
  border: 2px solid rgba(68, 122, 71, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, #d9f5d4 0%, #c5ebba 100%);
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.55), 0 7px 12px rgba(58, 90, 64, 0.09);
  color: var(--dash-ink);
}

.dashboard-page .dashboard-header .balance-pill-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  color: var(--dash-ink);
  font-size: 0.65rem;
}

.dashboard-page .dashboard-header .balance-label {
  color: var(--dash-ink);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dashboard-page .dashboard-header .balance-box strong {
  background: transparent;
  color: var(--dash-ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.dashboard-page .dashboard-hero {
  position: relative;
  min-height: 262px;
  padding: 16px 12px 12px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff3d53 0%, #ef2d44 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.18), 0 14px 18px rgba(223, 50, 61, 0.12);
  overflow: hidden;
}

.dashboard-page .dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
}

.dashboard-page .dashboard-hero::after {
  content: "";
  position: absolute;
  inset: 10px 12px 8px 12px;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  pointer-events: none;
}

.dashboard-page .hero-confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255,255,255,0.7);
  transform: rotate(25deg);
}

.dashboard-page .confetti-one { top: 16px; left: 24px; }
.dashboard-page .confetti-two { top: 22px; right: 96px; }
.dashboard-page .confetti-three { top: 42px; right: 28px; background: rgba(255, 243, 167, 0.7); }

.dashboard-page .hero-mark-badge {
  position: absolute;
  left: 18px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 80px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  color: #df2f44;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-9deg);
}

.dashboard-page .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
  text-align: center;
}

.dashboard-page .hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 6.2vw, 3.1rem);
  line-height: 0.84;
  letter-spacing: -0.08em;
  text-shadow: 2px 4px 0 rgba(210, 52, 72, 0.27);
}

.dashboard-page .hero-copy p {
  margin: 8px 0 12px;
  color: rgba(255,255,255,0.95);
  font-size: 0.96rem;
  font-weight: 700;
  font-style: italic;
}

.dashboard-page .reward-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.dashboard-page .reward-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 8px 8px;
  border-right: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

.dashboard-page .reward-tier:last-child { border-right: none; }

.dashboard-page .reward-tier span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.dashboard-page .reward-tier strong {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.dashboard-page .reward-tier strong em {
  font-style: normal;
  font-size: 0.38em;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.dashboard-page .reward-tier.rebate {
  background: rgba(255,255,255,0.09);
}

.dashboard-page .reward-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 8px 20px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.04);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.dashboard-page .hero-art-characters {
  position: absolute;
  right: 58px;
  bottom: 12px;
  z-index: 1;
  width: 160px;
  height: 112px;
  pointer-events: none;
}

.dashboard-page .hero-person {
  position: absolute;
  bottom: 0;
  width: 82px;
  height: 82px;
  border-radius: 52% 52% 44% 44%;
  background: linear-gradient(180deg, #f9d69a 0%, #f5be7f 100%);
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.2);
}

.dashboard-page .hero-person::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 28px 0 0 #fff;
}

.dashboard-page .hero-person::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 16px;
  width: 34px;
  height: 12px;
  border-radius: 999px;
  background: rgba(196, 54, 67, 0.24);
}

.dashboard-page .hero-person-left { left: 0; }
.dashboard-page .hero-person-right { right: 0; }

.dashboard-page .hero-audio {
  position: absolute;
  right: 12px;
  bottom: 16px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #65d3ff 0%, #2fa8ef 100%);
  box-shadow: inset 0 3px 8px rgba(255,255,255,0.45), 0 8px 18px rgba(23, 116, 180, 0.25);
  color: #fff;
  font-size: 1rem;
}

.dashboard-page .dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-page .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.dashboard-page .tile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 90px;
  padding: 10px 8px 8px;
  border: 2px solid rgba(255,255,255,0.25);
  border-bottom: 4px solid rgba(26, 52, 62, 0.08);
  border-radius: 18px;
  text-decoration: none;
  color: #1d2d2b;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.35), 0 8px 12px rgba(26, 52, 62, 0.08), 0 2px 0 rgba(255,255,255,0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.dashboard-page .tile-card::before,
.dashboard-page .dashboard-card::before {
  content: "";
  position: absolute;
  inset: 2px 2px auto 2px;
  height: 28%;
  border-radius: 14px 14px 12px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,255,255,0));
  pointer-events: none;
}

.dashboard-page .tile-card:hover,
.dashboard-page .dashboard-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.4), 0 12px 18px rgba(26, 52, 62, 0.12), 0 3px 0 rgba(255,255,255,0.45);
  filter: saturate(1.04);
}

.dashboard-page .tile-card .tile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.42);
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.45), 0 5px 10px rgba(20, 50, 60, 0.08);
  font-size: 1.2rem;
}

.dashboard-page .tile-card .tile-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
}

.dashboard-page .tile-profile { background: linear-gradient(180deg, #d9f8ff 0%, #d8e8f4 100%); }
.dashboard-page .tile-deposit { background: linear-gradient(180deg, #dff6d9 0%, #c7e9bf 100%); }
.dashboard-page .tile-withdraw { background: linear-gradient(180deg, #fce7c7 0%, #f7d78d 100%); }
.dashboard-page .tile-rewards { background: linear-gradient(180deg, #f2d5ff 0%, #d9c2f3 100%); }
.dashboard-page .tile-packages { background: linear-gradient(180deg, #ffeef2 0%, #ffc7d2 100%); }
.dashboard-page .tile-group { background: linear-gradient(180deg, #ddf7ff 0%, #bfe8f9 100%); }
.dashboard-page .tile-salary { background: linear-gradient(180deg, #d8f9d8 0%, #b6e6b4 100%); }
.dashboard-page .tile-fortune { background: linear-gradient(180deg, #f9e7ff 0%, #e1cbff 100%); }

.dashboard-page .kids-panel {
  position: relative;
  padding: 10px 8px 8px;
  border: 1px solid rgba(20, 40, 44, 0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 10px 16px rgba(26, 52, 62, 0.05);
}

.dashboard-page .kids-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.dashboard-page .kids-header h2 {
  margin: 0;
  color: #1d2d2b;
  font-size: 1.1rem;
  font-weight: 900;
}

.dashboard-page .playing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid rgba(255, 83, 83, 0.2);
  border-radius: 999px;
  background: rgba(255, 74, 92, 0.08);
  color: #ff4b5c;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.dashboard-page .kids-video-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-page .video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 170px;
  border-radius: 16px;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.2);
}

.dashboard-page .green-card { background: linear-gradient(180deg, #34d55a 0%, #25bb3f 100%); }
.dashboard-page .dark-card { background: linear-gradient(180deg, #17171a 0%, #0d0d14 100%); }

.dashboard-page .video-play {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.8rem;
}

.dashboard-page .video-art {
  flex: 1;
  position: relative;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 90% auto;
}

.dashboard-page .video-art-one {
  background-image: radial-gradient(circle at 50% 50%, #c5f1ff 0 16%, transparent 16%), linear-gradient(180deg, rgba(0,0,0,0) 0 72%, rgba(0,0,0,0.07) 72%), linear-gradient(180deg, #45d654 0%, #2ca83a 100%);
}

.dashboard-page .video-art-two {
  background-image: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.7) 0 10%, transparent 10%), linear-gradient(180deg, rgba(0,0,0,0) 0 68%, rgba(255,255,255,0.05) 68%), linear-gradient(180deg, #0d0d14 0%, #141619 100%);
}

.dashboard-page .video-title {
  position: relative;
  z-index: 2;
  padding: 10px 12px 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.dashboard-page .video-float {
  position: absolute;
  right: 14px;
  bottom: -12px;
  z-index: 4;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #44c2ff 0%, #2f9ddd 100%);
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.45), 0 10px 18px rgba(20, 117, 173, 0.22);
  color: #fff;
  font-size: 1rem;
}

.dashboard-page .dashboard-mini-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.dashboard-page .dashboard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 84px;
  padding: 8px 6px;
  border: 2px solid rgba(255,255,255,0.25);
  border-bottom: 4px solid rgba(26, 52, 62, 0.08);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(28, 52, 52, 0.08), inset 0 2px 0 rgba(255,255,255,0.45);
  text-decoration: none;
  color: var(--dash-ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.dashboard-page .dashboard-card:nth-child(1) { background: linear-gradient(180deg, #fdf7dd 0%, #efdca4 100%); }
.dashboard-page .dashboard-card:nth-child(2) { background: linear-gradient(180deg, #ecf5ff 0%, #d1e9ff 100%); }
.dashboard-page .dashboard-card:nth-child(3) { background: linear-gradient(180deg, #e8fbe8 0%, #c3f1c0 100%); }
.dashboard-page .dashboard-card:nth-child(4) { background: linear-gradient(180deg, #f5ebff 0%, #d9c5ff 100%); }
.dashboard-page .dashboard-card:nth-child(5) { background: linear-gradient(180deg, #e4f8e6 0%, #bde8c6 100%); }

.dashboard-page .dashboard-card .home-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.48);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.52);
}

.dashboard-page .dashboard-card .home-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-page .dashboard-card span:last-child {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 420px) {
  .dashboard-page .dashboard-shell {
    padding: 14px 10px 12px;
  }

  .dashboard-page .dashboard-header {
    gap: 10px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .dashboard-page .balance-box {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  .dashboard-page .dashboard-hero {
    min-height: 250px;
  }

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

  .dashboard-page .reward-tier {
    min-height: 90px;
  }

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

  .dashboard-page .kids-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dashboard-page .dashboard-shell {
  width: min(100%, 580px);
  max-width: 580px;
  min-width: 0;
  margin-inline: auto;
}

.dashboard-page .dashboard-layout,
.dashboard-page .dashboard-main,
.dashboard-page .dashboard-grid,
.dashboard-page .kids-panel {
  min-width: 0;
}

.dashboard-page .dashboard-header {
  min-width: 0;
  gap: 12px;
}

.dashboard-page .dashboard-header .balance-box {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: initial;
  column-gap: 8px;
  row-gap: 1px;
  width: 210px;
  min-width: 0;
  padding: 7px 12px;
}

.dashboard-page .dashboard-header .balance-pill-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.dashboard-page .dashboard-header .balance-label,
.dashboard-page .dashboard-header .balance-box strong {
  min-width: 0;
  white-space: nowrap;
}

.dashboard-page .dashboard-hero {
  display: block;
  grid-template-columns: none;
  grid-template-rows: none;
  min-height: 0;
  height: auto;
}

.dashboard-page .hero-copy {
  width: 100%;
  min-width: 0;
  gap: 0;
}

.dashboard-page .hero-copy h1 {
  font-size: clamp(1.8rem, 5.6vw, 2.55rem);
  line-height: 0.9;
}

.dashboard-page .hero-copy p {
  margin: 6px 0 10px;
}

.dashboard-page .reward-tier strong {
  font-size: clamp(1.5rem, 5vw, 2.1rem);
}

.dashboard-page .reward-tier strong em {
  font-size: 0.34em;
  white-space: nowrap;
}

.dashboard-page .reward-ribbon {
  margin-top: 10px;
  padding: 7px 18px 6px;
}

.dashboard-page .reward-grid,
.dashboard-page .kids-video-grid {
  min-width: 0;
}

@media (max-width: 600px) {
  .dashboard-page .dashboard-shell {
    padding: 14px 12px 12px;
  }

  .dashboard-page .dashboard-header {
    flex-wrap: wrap;
    align-items: center;
  }

  .dashboard-page .dashboard-header .balance-box {
    width: min(210px, 100%);
  }

  .dashboard-page .dashboard-hero {
    padding: 16px 10px 12px;
  }
}

@media (max-width: 420px) {
  .dashboard-page .dashboard-shell {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }

  .dashboard-page .dashboard-header {
    gap: 8px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .dashboard-page .dashboard-header .balance-box {
    width: min(210px, 100%);
  }

  .dashboard-page .dashboard-grid {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-page .tile-card,
  .dashboard-page .dashboard-card {
    transition: none;
  }
}

.dashboard-page .tile-card {
  min-height: 118px;
  gap: 8px;
  padding: 0 4px 8px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #302b29;
}

.dashboard-page .tile-card::before {
  display: none;
}

.dashboard-page .tile-card:hover {
  transform: translateY(-2px);
  background: transparent;
  box-shadow: none;
  filter: none;
}

.dashboard-page .tile-card .tile-icon,
.dashboard-page .dashboard-card .home-icon {
  position: relative;
  z-index: 0;
  isolation: isolate;
  flex: 0 0 auto;
  border: 4px solid #fff;
  border-radius: 27px;
  box-shadow: 0 8px 0 var(--tile-base, #3ca9c2), 0 10px 12px rgba(37, 47, 45, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-page .tile-card .tile-icon {
  width: 88px;
  height: 88px;
  background: #bfe8f2;
  font-size: 1.75rem;
}

.dashboard-page .tile-card .tile-icon::before,
.dashboard-page .dashboard-card .home-icon::before {
  display: none;
}

.dashboard-page .tile-profile .tile-icon { background: #86d7ef; --tile-base: #36a7c3; }
.dashboard-page .tile-deposit .tile-icon { background: #ffd94d; --tile-base: #d9a900; }
.dashboard-page .tile-withdraw .tile-icon { background: #f7a6c3; --tile-base: #d7658d; }
.dashboard-page .tile-rewards .tile-icon { background: #ffd94d; --tile-base: #d9a900; }
.dashboard-page .tile-packages .tile-icon { background: #f7a6c3; --tile-base: #d7658d; }
.dashboard-page .tile-group .tile-icon { background: #20c66b; --tile-base: #14864e; color: #fff; }
.dashboard-page .tile-salary .tile-icon { background: #ef171d; --tile-base: #a70e16; color: #fff; }
.dashboard-page .tile-fortune .tile-icon { background: #bd9ae9; --tile-base: #8064ae; }

.dashboard-page .tile-card .tile-label {
  position: relative;
  z-index: 1;
  color: #302b29;
  font-size: 0.88rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.dashboard-page .tile-card:hover .tile-icon,
.dashboard-page .dashboard-card:hover .home-icon {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--tile-base, #3ca9c2), 0 12px 14px rgba(37, 47, 45, 0.18);
}

.dashboard-page .tile-card:hover .tile-icon::before,
.dashboard-page .dashboard-card:hover .home-icon::before {
  transform: translateY(10px);
}

.dashboard-page .dashboard-mini-nav {
  position: sticky;
  bottom: 0;
  z-index: 5;
  gap: 8px;
  margin: 8px -18px -12px;
  padding: 14px 18px 10px;
  border-radius: 28px 28px 0 0;
  background: #fffaf0;
  box-shadow: 0 -5px 18px rgba(46, 52, 44, 0.10);
}

.dashboard-page .dashboard-card {
  min-height: 84px;
  gap: 6px;
  padding: 4px 2px 2px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-page .dashboard-card:nth-child(n) {
  background: transparent;
}

.dashboard-page .dashboard-card::before {
  display: none;
}

.dashboard-page .dashboard-card .home-icon {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  background: #ffd94d;
  box-shadow: 0 8px 0 var(--tile-base, #d9a900), 0 10px 12px rgba(37, 47, 45, 0.14);
}

.dashboard-page .dashboard-card:nth-child(1) .home-icon { background: #ffd94d; --tile-base: #d9a900; }
.dashboard-page .dashboard-card:nth-child(2) .home-icon { background: #f7a6c3; --tile-base: #d7658d; }
.dashboard-page .dashboard-card:nth-child(3) .home-icon { background: #86d7ef; --tile-base: #36a7c3; }
.dashboard-page .dashboard-card:nth-child(4) .home-icon { background: #9bd96b; --tile-base: #5ca83d; }
.dashboard-page .dashboard-card:nth-child(5) .home-icon { background: #bd9ae9; --tile-base: #8064ae; }

.dashboard-page .dashboard-card span:last-child {
  color: #655e52;
  font-size: 0.64rem;
  letter-spacing: 0;
}

@media (max-width: 600px) {
  .dashboard-page .dashboard-mini-nav {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 420px) {
  .dashboard-page .tile-card {
    min-height: 112px;
  }

  .dashboard-page .tile-card .tile-icon {
    width: 78px;
    height: 78px;
    border-radius: 25px;
  }

  .dashboard-page .dashboard-mini-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .dashboard-page .dashboard-card .home-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
}

.dashboard-page .kids-video-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
}

.dashboard-page .kids-video-grid::-webkit-scrollbar {
  display: none;
}

.dashboard-page .video-card {
  flex: 0 0 40%;
  min-width: 200px;
  height: 250px;
  min-height: 0;
  scroll-snap-align: start;
  border-radius: 18px;
  background: #161719;
  box-shadow: 0 7px 0 #cf1e2a, 0 10px 15px rgba(40, 35, 35, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dashboard-page .video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #cf1e2a, 0 14px 20px rgba(40, 35, 35, 0.16);
}

.dashboard-page .kids-video {
  display: block;
  width: 100%;
  height: 210px;
  border: 3px solid #fff;
  border-radius: 18px 18px 12px 12px;
  background: #151619;
  object-fit: cover;
}

.dashboard-page .video-play {
  z-index: 3;
  border: 2px solid #fff;
  background: #e7202b;
  box-shadow: 0 3px 0 rgba(126, 13, 21, 0.8);
}

.dashboard-page .video-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 6px 10px;
  overflow: hidden;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .video-float {
  right: 14px;
  bottom: -12px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.dashboard-page .hero-confetti {
  animation: dashboardConfetti 4.5s ease-in-out infinite alternate;
}

.dashboard-page .confetti-two {
  animation-delay: -1.5s;
}

.dashboard-page .confetti-three {
  animation-delay: -2.8s;
}

.dashboard-page .hero-art-characters {
  animation: dashboardCharacters 3.6s ease-in-out infinite;
}

.dashboard-page .hero-person-right {
  animation: dashboardCharacters 3.6s ease-in-out -1.8s infinite;
}

.dashboard-page .hero-slider {
  display: grid;
  width: 100%;
  min-width: 0;
  padding-bottom: 24px;
}

.dashboard-page .hero-slide {
  grid-area: 1 / 1;
  align-self: start;
  min-width: 0;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 0.42s ease, transform 0.42s ease, visibility 0s linear 0.42s;
  pointer-events: none;
}

.dashboard-page .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
  pointer-events: auto;
}

.dashboard-page .hero-slide:not(:first-child) {
  justify-content: center;
  min-height: 210px;
}

.dashboard-page .hero-slide:not(:first-child) h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
}

.dashboard-page .hero-slide:not(:first-child) .reward-ribbon {
  text-decoration: none;
}

.dashboard-page .hero-pagination {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
}

.dashboard-page .hero-dot {
  width: 9px;
  height: 9px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  box-shadow: none;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.dashboard-page .hero-dot.is-active {
  width: 22px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-page .hero-slide,
  .dashboard-page .hero-dot {
    transition: none;
  }
}

.deposit-page {
  background: linear-gradient(180deg, #e1f8fc 0%, #f3f6e9 55%, #eef2df 100%);
}

.deposit-page .app-shell-home {
  width: min(100%, 616px);
  max-width: 616px;
  min-width: 0;
  margin-inline: auto;
  padding: 10px 18px 104px;
  border-radius: 0;
  background: #f7f8e8;
  box-shadow: none;
}

.deposit-page .home-layout {
  max-width: none;
  gap: 14px;
}

.deposit-page .info-page-card {
  gap: 16px;
  padding: 22px 20px 20px;
  border: 2px solid #fff;
  border-bottom: 8px solid #e3c985;
  border-radius: 26px;
  background: #fffdf5;
  box-shadow: 0 8px 16px rgba(95, 83, 48, 0.08);
}

.deposit-page .info-page-card::before {
  display: none;
}

.deposit-page .info-page-card h1 {
  font-size: 1.45rem;
  letter-spacing: 0;
}

.deposit-page .info-page-card > p {
  line-height: 1.45;
}

.deposit-page .deposit-form {
  gap: 8px;
  margin-top: 0;
}

.deposit-page .deposit-form label {
  margin-top: 5px;
  color: #3a342e;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}

.deposit-page .deposit-form input,
.deposit-page .deposit-form select {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 0 18px;
  border: 3px solid #ead79c;
  border-radius: 20px;
  background: #fffdf7;
  color: #494540;
  box-shadow: none;
  font-size: 1rem;
}

.deposit-page .deposit-form small {
  color: #777168;
  font-size: 0.82rem;
  line-height: 1.35;
}

.deposit-page .deposit-form .submit-btn {
  width: 100%;
  min-height: 66px;
  margin-top: 12px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  background: linear-gradient(100deg, #f89cbb 0%, #ffc78f 48%, #82dce5 100%);
  box-shadow: 0 10px 20px rgba(229, 135, 177, 0.22), inset 0 3px 7px rgba(255,255,255,0.45);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(80, 86, 80, 0.18);
}

.deposit-page .deposit-form .submit-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(100deg, #f89cbb 0%, #ffc78f 48%, #82dce5 100%);
  box-shadow: 0 13px 22px rgba(229, 135, 177, 0.26), inset 0 3px 7px rgba(255,255,255,0.52);
}

.deposit-page .transfer-history {
  padding: 18px 16px;
  border: 2px solid #fff;
  border-bottom: 8px solid #e3c985;
  border-radius: 26px;
  background: #fffdf5;
  box-shadow: 0 8px 16px rgba(95, 83, 48, 0.07);
}

.deposit-page .history-list li {
  border: 2px solid #efdda4;
  border-radius: 16px;
  background: #fff;
}

@media (max-width: 600px) {
  .deposit-page .app-shell-home {
    width: 100%;
    padding: 10px 12px 100px;
  }

  .deposit-page .info-page-card {
    padding: 18px 14px 16px;
  }

  .deposit-page .deposit-form input,
  .deposit-page .deposit-form select {
    min-height: 56px;
  }
}

@keyframes dashboardConfetti {
  from { transform: translateY(0) rotate(18deg); }
  to { transform: translateY(7px) rotate(48deg); }
}

@keyframes dashboardCharacters {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@media (max-width: 600px) {
  .dashboard-page .video-card {
    flex-basis: 72%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-page .hero-confetti,
  .dashboard-page .hero-art-characters,
  .dashboard-page .hero-person-right {
    animation: none;
  }

  .dashboard-page .kids-video-grid {
    scroll-behavior: auto;
  }
}

.dashboard-page .dashboard-shell {
  width: min(100%, 760px);
  max-width: 760px;
  padding: 8px 24px 12px;
  border-radius: 38px 38px 20px 20px;
}

.dashboard-page .dashboard-header {
  min-height: 130px;
  margin: -8px -24px 20px;
  padding: 18px 24px 18px;
  border: 0;
  border-bottom: 4px solid #efdda4;
  border-radius: 38px 38px 0 0;
  background: #fbfcfb;
  box-shadow: none;
}

.dashboard-page .dashboard-header .banner-topline {
  flex: 0 0 auto;
  gap: 0;
}

.dashboard-page .dashboard-header .mini-mark {
  width: 88px;
  height: 88px;
  padding: 9px;
  border: 4px solid #fff;
  border-radius: 27px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 8px 0 #d9a900, 0 10px 14px rgba(80, 67, 30, 0.14);
}

.dashboard-page .dashboard-header .balance-box {
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 0;
  width: 222px;
  min-height: 82px;
  padding: 7px 9px;
  border: 4px solid #e9d58e;
  border-radius: 999px;
  background: #fff9e8;
  box-shadow: 0 6px 0 #d2bb70, 0 9px 13px rgba(95, 78, 31, 0.12);
}

.dashboard-page .dashboard-header .balance-pill-icon {
  width: 58px;
  height: 58px;
  border: 4px solid #fff;
  background: #65bb3d;
  box-shadow: 0 4px 0 #347f2c;
  color: #fff;
  font-size: 1rem;
}

.dashboard-page .dashboard-header .balance-label {
  color: #897e68;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.dashboard-page .dashboard-header .balance-box strong {
  color: #37822e;
  font-size: 1.08rem;
  line-height: 1.05;
}

@media (max-width: 600px) {
  .dashboard-page .dashboard-shell {
    width: 100%;
    padding: 8px 14px 12px;
    border-radius: 30px 30px 18px 18px;
  }

  .dashboard-page .dashboard-header {
    min-height: 108px;
    margin: -8px -14px 18px;
    padding: 14px 18px 16px;
    border-radius: 30px 30px 0 0;
  }

  .dashboard-page .dashboard-header .mini-mark {
    width: 72px;
    height: 72px;
    padding: 7px;
    border-radius: 23px;
  }

  .dashboard-page .dashboard-header .balance-box {
    width: 210px;
    min-height: 72px;
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 6px 8px;
  }

  .dashboard-page .dashboard-header .balance-pill-icon {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 360px) {
  .dashboard-page .dashboard-header {
    flex-wrap: wrap;
  }

  .dashboard-page .dashboard-header .balance-box {
    width: min(100%, 222px);
  }
}

.deposit-page .app-shell-home {
  width: min(100%, 616px);
  max-width: 616px;
  min-height: 100vh;
  margin-inline: auto;
  padding: 31px 18px 128px;
  overflow: visible;
  border-radius: 38px 38px 0 0;
  background: linear-gradient(180deg, #e6f9f7 0%, #f8f8e9 100%);
  box-shadow: none;
}

.deposit-page .deposit-layout {
  position: relative;
  max-width: none;
  gap: 0;
}

.deposit-page .deposit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 106px;
  margin: -10px -18px 0;
  padding: 12px 20px 14px;
  border: 0;
  border-bottom: 4px solid #efdda4;
  border-radius: 38px 38px 0 0;
  background: #fbfcfb;
  box-shadow: none;
}

.deposit-page .deposit-header .banner-topline {
  flex: 0 0 auto;
  gap: 0;
}

.deposit-page .deposit-header .mini-mark {
  width: 72px;
  height: 72px;
  padding: 7px;
  border: 4px solid #fff;
  border-radius: 24px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 7px 0 #d9a900, 0 9px 13px rgba(80, 67, 30, 0.14);
}

.deposit-page .deposit-header .balance-box {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 7px;
  row-gap: 0;
  width: 182px;
  min-width: 0;
  min-height: 68px;
  padding: 5px 7px;
  border: 3px solid #ead794;
  border-radius: 999px;
  background: #fff9e8;
  box-shadow: 0 5px 0 #d2bb70, 0 8px 12px rgba(95, 78, 31, 0.12);
}

.deposit-page .deposit-header .balance-pill-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #65bb3d;
  box-shadow: 0 3px 0 #347f2c;
  color: #fff;
  font-size: 1rem;
}

.deposit-page .deposit-header .balance-pill-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deposit-page .deposit-header .balance-label {
  color: #897e68;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.deposit-page .deposit-header .balance-box strong {
  color: #37822e;
  font-size: 0.92rem;
  line-height: 1.05;
  white-space: nowrap;
}

.deposit-page .deposit-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding-top: 14px;
}

.deposit-page .deposit-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 4px 12px 12px;
  text-align: center;
}

.deposit-page .deposit-intro h1 {
  margin: 0;
  color: #44362e;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

.deposit-page .deposit-intro p {
  margin: 6px 0 0;
  color: #85796c;
  font-size: 0.9rem;
}

.deposit-page .deposit-spark {
  position: absolute;
  width: 13px;
  height: 13px;
  background: #ffd94d;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
}

.deposit-page .deposit-spark-left {
  top: -15px;
  left: 22px;
}

.deposit-page .deposit-spark-right {
  top: 37px;
  right: 18px;
}

.deposit-page .deposit-form-panel,
.deposit-page .deposit-history-panel {
  position: relative;
  min-width: 0;
  padding: 20px 20px 22px;
  border: 2px solid #fff;
  border-bottom: 8px solid #e3c985;
  border-radius: 26px;
  background: #fffdf5;
  box-shadow: 0 8px 16px rgba(95, 83, 48, 0.08);
}

.deposit-page .deposit-form-panel {
  gap: 8px;
  margin: 0;
}

.deposit-page .deposit-notice {
  margin: 0 0 2px;
  color: #7a6c58;
  font-size: 0.74rem;
  line-height: 1.35;
}

.deposit-page .deposit-form label {
  margin-top: 4px;
  color: #3a342e;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.deposit-page .deposit-form input,
.deposit-page .deposit-form select {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 0 17px;
  border: 3px solid #ead79c;
  border-radius: 20px;
  background: #fffdf7;
  color: #494540;
  box-shadow: none;
  font-size: 1rem;
}

.deposit-page .deposit-form small {
  color: #777168;
  font-size: 0.78rem;
  line-height: 1.3;
}

.deposit-page .deposit-form .submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 66px;
  margin-top: 8px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  background: linear-gradient(100deg, #f89cbb 0%, #ffc78f 48%, #82dce5 100%);
  box-shadow: 0 10px 20px rgba(229, 135, 177, 0.22), inset 0 3px 7px rgba(255,255,255,0.45);
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(80, 86, 80, 0.18);
}

.deposit-page .deposit-form .submit-btn span {
  font-size: 1.3rem;
}

.deposit-page .deposit-form .submit-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(100deg, #f89cbb 0%, #ffc78f 48%, #82dce5 100%);
  box-shadow: 0 13px 22px rgba(229, 135, 177, 0.26), inset 0 3px 7px rgba(255,255,255,0.52);
}

.deposit-page .form-message {
  min-height: 0;
}

.deposit-page .deposit-history-panel {
  padding: 17px 16px 18px;
}

.deposit-page .history-list li {
  border: 2px solid #efdda4;
  border-radius: 16px;
  background: #fff;
}

.deposit-page .deposit-support {
  position: fixed;
  z-index: 40;
  right: max(18px, calc((100vw - 616px) / 2 + 24px));
  bottom: 136px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(180deg, #25b8ed 0%, #008cc4 100%);
  box-shadow: 0 8px 0 #006a9b, 0 12px 22px rgba(0, 124, 177, 0.28);
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.deposit-page .deposit-support:hover {
  transform: translateY(-3px);
}

.deposit-page .deposit-support svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deposit-page .deposit-bottom-nav {
  position: fixed;
  z-index: 35;
  right: auto;
  bottom: 24px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(calc(100% - 24px), 616px);
  max-width: 616px;
  margin: 0;
  padding: 14px 24px 10px;
  border-radius: 32px;
  background: #fffaf0;
  box-shadow: 0 -5px 18px rgba(46, 52, 44, 0.10);
  transform: translateX(-50%);
}

.deposit-page .deposit-bottom-nav .dashboard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 84px;
  padding: 4px 2px 2px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #655e52;
  text-decoration: none;
}

.deposit-page .deposit-bottom-nav .home-icon {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 4px solid #fff;
  border-radius: 18px;
  background: #ffd94d;
  box-shadow: 0 8px 0 #d9a900, 0 10px 12px rgba(37, 47, 45, 0.14);
  transition: transform 0.18s ease;
}

.deposit-page .deposit-bottom-nav .dashboard-card:nth-child(2) .home-icon { background: #f7a6c3; box-shadow: 0 8px 0 #d7658d, 0 10px 12px rgba(37, 47, 45, 0.14); }
.deposit-page .deposit-bottom-nav .dashboard-card:nth-child(3) .home-icon { background: #86d7ef; box-shadow: 0 8px 0 #36a7c3, 0 10px 12px rgba(37, 47, 45, 0.14); }
.deposit-page .deposit-bottom-nav .dashboard-card:nth-child(4) .home-icon { background: #9bd96b; box-shadow: 0 8px 0 #5ca83d, 0 10px 12px rgba(37, 47, 45, 0.14); }

.deposit-page .deposit-bottom-nav .home-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deposit-page .deposit-bottom-nav .dashboard-card span:last-child {
  color: #655e52;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0;
}

.deposit-page .deposit-bottom-nav .dashboard-card:hover .home-icon {
  transform: translateY(-3px);
}

.withdraw-page {
  background: linear-gradient(180deg, #bfeaf6 0%, #d9f3fb 52%, #dfeef2 100%);
}

.withdraw-page .withdraw-shell {
  width: min(100%, 616px);
  max-width: 616px;
  min-height: 100vh;
  margin-inline: auto;
  padding: 31px 18px 132px;
  background: linear-gradient(180deg, #d9f3fb 0%, #edf4ef 100%);
  border-radius: 38px 38px 0 0;
  box-shadow: none;
}

.withdraw-page .withdraw-layout {
  gap: 0;
}

.withdraw-page .withdraw-header {
  margin: 0 -18px;
  min-height: 100px;
  padding: 12px 20px 14px;
  border-radius: 38px 38px 0 0;
  border-bottom: 4px solid #ecd694;
  background: #fbfcfb;
}

.withdraw-page .withdraw-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
}

.withdraw-page .withdraw-card {
  position: relative;
  padding: 18px 18px 16px;
  border: 3px solid rgba(255,255,255,0.8);
  border-bottom: 8px solid #eadca4;
  border-radius: 26px;
  background: linear-gradient(180deg, #f7f0d6, #f5ebd2);
  box-shadow: 0 9px 18px rgba(112, 88, 50, 0.06);
}

.withdraw-page .withdraw-card h1 {
  margin: 0;
  text-align: center;
  color: #1d1d1d;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
  font-weight: 900;
}

.withdraw-page .withdraw-subtitle {
  margin: 3px 0 0;
  text-align: center;
  color: #5a544d;
  font-size: 0.94rem;
  font-weight: 700;
}

.withdraw-page .withdraw-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 2px solid #f2d58b;
  border-radius: 14px;
  background: #f7f0cf;
  color: #6c5f38;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.withdraw-page .withdraw-notice-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255,255,255,0.5);
  color: #8c783a;
  font-size: 0.8rem;
}

.withdraw-page .withdraw-amount-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 16px;
  padding: 12px 12px 11px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 18px;
  background: rgba(255,255,255,0.34);
}

.withdraw-page .withdrawable-label {
  color: #63706a;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.withdraw-page .withdraw-amount-box strong {
  color: #2e8d36;
  font-size: clamp(1.9rem, 4.6vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.withdraw-page .withdraw-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.withdraw-page .withdraw-form label {
  color: #3d3733;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.withdraw-page .withdraw-account-row,
.withdraw-page .withdraw-pin-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.withdraw-page .withdraw-account-row select,
.withdraw-page .withdraw-form input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid #ddd0ac;
  border-radius: 14px;
  background: rgba(255,255,255,0.62);
  color: #524d48;
  font-size: 0.95rem;
  font-weight: 700;
}

.withdraw-page .withdraw-account-row select {
  appearance: none;
  border: 2px solid #e1d4a2;
  background: rgba(255,255,255,0.7);
  color: #6e675f;
}

.withdraw-page .withdraw-account-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #38b6ef, #1b9cd7);
  box-shadow: 0 7px 0 #0f7bb3, 0 10px 16px rgba(32, 129, 193, 0.22);
  color: #fff;
}

.withdraw-page .withdraw-account-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.withdraw-page .withdraw-form input {
  width: 100%;
}

.withdraw-page .withdraw-form .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f1b45e, #e7a53a);
  box-shadow: 0 6px 0 #c9802d, 0 10px 16px rgba(153, 87, 17, 0.18);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.withdraw-page .form-message {
  min-height: 0;
  margin: 0;
  color: #4d5a1d;
  font-size: 0.78rem;
  font-weight: 800;
}

.withdraw-page .withdraw-hint {
  margin-top: 8px;
  text-align: center;
  color: #6a625e;
  font-size: 0.8rem;
}

.withdraw-page .withdraw-history {
  padding: 16px 12px 12px;
  border: 2px solid #fff;
  border-bottom: 8px solid #e3c985;
  border-radius: 26px;
  background: #fffdf5;
  box-shadow: 0 8px 16px rgba(95, 83, 48, 0.07);
}

.withdraw-page .withdraw-bottom-nav {
  position: fixed;
  z-index: 35;
  right: auto;
  bottom: 24px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(calc(100% - 24px), 560px);
  max-width: 560px;
  margin: 0;
  padding: 12px 12px 8px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #f9f0d0, #f6e7ac 40%, #f0dca0 100%);
  box-shadow: 0 -4px 0 rgba(183, 148, 53, 0.2), 0 -8px 18px rgba(75, 71, 56, 0.12);
  transform: translateX(-50%);
}

.withdraw-page .withdraw-bottom-nav .dashboard-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  padding: 4px 2px 2px;
  border: 3px solid rgba(255,255,255,0.9);
  border-bottom-width: 6px;
  border-radius: 16px;
  box-shadow: 0 6px 0 rgba(95, 89, 55, 0.12);
  color: #fff;
  text-decoration: none;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.withdraw-page .withdraw-bottom-nav .dashboard-card:nth-child(1) {
  background: linear-gradient(180deg, #f3c64f, #dca62a);
  box-shadow: 0 6px 0 rgba(179, 119, 30, 0.8), 0 8px 16px rgba(148, 87, 15, 0.18);
}

.withdraw-page .withdraw-bottom-nav .dashboard-card:nth-child(2) {
  background: linear-gradient(180deg, #f292b6, #df7ca5);
  box-shadow: 0 6px 0 rgba(162, 82, 110, 0.8), 0 8px 16px rgba(126, 62, 86, 0.16);
}

.withdraw-page .withdraw-bottom-nav .dashboard-card:nth-child(3) {
  background: linear-gradient(180deg, #5ec7ee, #2babc5);
  box-shadow: 0 6px 0 rgba(34, 116, 145, 0.8), 0 8px 16px rgba(22, 104, 138, 0.16);
}

.withdraw-page .withdraw-bottom-nav .dashboard-card:nth-child(4) {
  background: linear-gradient(180deg, #7dd76e, #4bbd63);
  box-shadow: 0 6px 0 rgba(44, 122, 63, 0.8), 0 8px 16px rgba(33, 110, 53, 0.16);
}

.withdraw-page .withdraw-bottom-nav .home-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255,255,255,0.8);
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.withdraw-page .withdraw-bottom-nav .home-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.withdraw-page .withdraw-bottom-nav .dashboard-card span:last-child {
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .withdraw-page .withdraw-shell {
    width: 100%;
    padding: 31px 12px 140px;
  }

  .withdraw-page .withdraw-header {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .withdraw-page .withdraw-card {
    padding: 16px 14px 12px;
  }

  .withdraw-page .withdraw-notice {
    font-size: 0.74rem;
  }

  .withdraw-page .withdraw-bottom-nav {
    bottom: 10px;
    gap: 4px;
    padding: 10px 14px 7px;
  }
}

@media (max-width: 420px) {
  .withdraw-page .withdraw-card h1 {
    font-size: 2.1rem;
  }

  .withdraw-page .withdraw-account-row,
  .withdraw-page .withdraw-pin-row {
    flex-direction: column;
    align-items: stretch;
  }

  .withdraw-page .withdraw-account-button,
  .withdraw-page .withdraw-form .submit-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .withdraw-page .withdraw-bottom-nav .dashboard-card {
    transition: none;
  }
}

@media (max-width: 600px) {
  .deposit-page .app-shell-home {
    width: 100%;
    padding: 31px 12px 140px;
  }

  .deposit-page .deposit-header {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .deposit-page .deposit-form-panel {
    padding: 17px 15px 19px;
  }

  .deposit-page .deposit-form input,
  .deposit-page .deposit-form select {
    min-height: 56px;
  }

  .deposit-page .deposit-bottom-nav {
    bottom: 10px;
    gap: 4px;
    padding: 10px 14px 7px;
  }

  .deposit-page .deposit-bottom-nav .home-icon {
    width: 46px;
    height: 46px;
  }

  .deposit-page .deposit-support {
    right: 18px;
    bottom: 112px;
    width: 68px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deposit-page .deposit-support,
  .deposit-page .deposit-bottom-nav .home-icon {
    transition: none;
  }
}

  .cartoon-page {
    background: linear-gradient(180deg, #bdeffa 0%, #d7f6fb 54%, #e4f5f4 100%);
  }

  .cartoon-page .app-shell-home {
    width: min(100%, 616px);
    max-width: 616px;
    min-height: 100vh;
    margin-inline: auto;
    padding: 31px 18px 132px;
    border-radius: 38px 38px 0 0;
    background: linear-gradient(180deg, #e3f9fa 0%, #f8f8e8 100%);
    box-shadow: none;
  }

  .cartoon-page .cartoon-layout {
    position: relative;
    max-width: none;
    gap: 0;
  }

  .cartoon-page .cartoon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 106px;
    margin: -10px -18px 0;
    padding: 12px 20px 14px;
    border: 0;
    border-bottom: 4px solid #efdda4;
    border-radius: 38px 38px 0 0;
    background: #fbfcfb;
    box-shadow: none;
  }

  .cartoon-page .cartoon-header .banner-topline {
    flex: 0 0 auto;
    gap: 0;
  }

  .cartoon-page .cartoon-header .mini-mark {
    width: 72px;
    height: 72px;
    padding: 7px;
    border: 4px solid #fff;
    border-radius: 24px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 7px 0 #d9a900, 0 9px 13px rgba(80, 67, 30, 0.14);
  }

  .cartoon-page .cartoon-header .balance-box {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 7px;
    row-gap: 0;
    width: 182px;
    min-width: 0;
    min-height: 68px;
    padding: 5px 7px;
    border: 3px solid #ead794;
    border-radius: 999px;
    background: #fff9e8;
    box-shadow: 0 5px 0 #d2bb70, 0 8px 12px rgba(95, 78, 31, 0.12);
  }

  .cartoon-page .cartoon-header .balance-pill-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #65bb3d;
    box-shadow: 0 3px 0 #347f2c;
    color: #fff;
  }

  .cartoon-page .cartoon-header .balance-pill-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cartoon-page .cartoon-header .balance-label {
    color: #897e68;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .cartoon-page .cartoon-header .balance-box strong {
    color: #37822e;
    font-size: 0.92rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .cartoon-page .watch-shell {
    gap: 14px;
    min-width: 0;
    padding-top: 14px;
  }

  .cartoon-page .watch-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 98px;
    padding: 0 54px 10px;
    text-align: center;
  }

  .cartoon-page .watch-masthead > span {
    position: relative;
    display: inline-block;
    padding: 7px 24px 8px;
    background: #ef1118;
    color: #fff;
    font-size: 1.68rem;
    font-weight: 1000;
    line-height: 1;
    text-shadow: 0 2px 0 rgba(117, 0, 0, 0.2);
    clip-path: polygon(9% 0, 88% 0, 100% 50%, 88% 100%, 9% 100%, 0 50%, 8% 50%);
  }

  .cartoon-page .watch-masthead > p {
    margin: 7px 0 0;
    color: #877e70;
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .cartoon-page .watch-header-control {
    position: absolute;
    top: 18px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    min-height: 0;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 0 #d5d9ea, 0 5px 8px rgba(77, 81, 103, 0.12);
    color: #8053bd;
    font-size: 1.15rem;
    font-weight: 900;
    cursor: pointer;
  }

  .cartoon-page .watch-previous { left: 2px; }
  .cartoon-page .watch-next { right: 2px; font-size: 1.3rem; }

  .cartoon-page .watch-list {
    gap: 16px;
    min-width: 0;
    padding: 0 0 8px;
  }

  .cartoon-page .watch-card {
    gap: 8px;
    min-width: 0;
    padding: 14px 14px 12px;
    border: 2px solid #fff;
    border-bottom: 5px solid #dfd5e5;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(92, 80, 99, 0.08);
    scroll-margin-top: 18px;
  }

  .cartoon-page .watch-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .cartoon-page .watch-labels {
    gap: 7px;
  }

  .cartoon-page .watch-tier,
  .cartoon-page .watch-genre {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 5px;
    background: linear-gradient(100deg, #a45de1, #d862c2);
    color: #fff;
    font-size: 0.66rem;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
  }

  .cartoon-page .watch-card-top h2 {
    margin: 0;
    color: #a42c63;
    font-size: 0.78rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: right;
  }

  .cartoon-page .watch-card-body {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .cartoon-page .watch-thumbnail {
    width: 110px;
    min-height: 110px;
    border: 1px solid #f2e5f1;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 10px rgba(116, 119, 124, 0.08);
  }

  .cartoon-page .art-gecko {
    background: radial-gradient(ellipse at 63% 66%, #80694d 0 8%, transparent 9%), radial-gradient(ellipse at 59% 57%, #c6a77a 0 18%, transparent 19%), radial-gradient(circle at 67% 44%, #d6c194 0 16%, transparent 17%), linear-gradient(180deg, #fff 0%, #faf1e7 100%);
  }

  .cartoon-page .art-despicable {
    background: radial-gradient(ellipse at 50% 65%, #4a4768 0 20%, transparent 21%), radial-gradient(circle at 50% 38%, #ffdb9c 0 17%, transparent 18%), linear-gradient(140deg, #dfd3ff, #f6eefa 58%, #daf4e8);
  }

  .cartoon-page .art-bossbaby {
    background: radial-gradient(circle at 50% 38%, #f1d0a8 0 18%, transparent 19%), radial-gradient(ellipse at 50% 71%, #243c68 0 24%, transparent 25%), linear-gradient(140deg, #ffdda8, #e8d9f8 54%, #d2efff);
  }

  .cartoon-page .watch-thumbnail::before {
    inset: auto 8px 8px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.62);
  }

  .cartoon-page .watch-description {
    gap: 6px;
    min-width: 0;
    padding: 0;
  }

  .cartoon-page .watch-brand-line {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 0 9px;
    border-radius: 7px;
    background: #faf1fb;
    color: #8752ad;
    font-size: 0.7rem;
    letter-spacing: 0;
  }

  .cartoon-page .watch-play-mark {
    display: inline-grid;
    place-items: center;
    width: 17px;
    height: 17px;
    margin-right: 6px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.52rem;
  }

  .cartoon-page .watch-description p {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: #514c4d;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .cartoon-page .watch-stars {
    align-self: flex-end;
    color: #f1b526;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .cartoon-page .watch-card-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
    margin-top: 1px;
    padding-top: 10px;
    border-top: 1px solid #eee8ed;
  }

  .cartoon-page .watch-stat {
    min-width: 0;
    gap: 3px;
  }

  .cartoon-page .watch-stat small {
    color: #7e7880;
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }

  .cartoon-page .watch-stat strong {
    color: #b5366a;
    font-size: 0.9rem;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .cartoon-page .watch-stat:nth-child(2) strong {
    color: #168a84;
  }

  .cartoon-page .watch-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 112px;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(180deg, #c9c5d1, #aaa6b4);
    box-shadow: 0 4px 0 #777482;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
    opacity: 1;
  }

  .cartoon-page .watch-action[hidden] {
    display: none;
  }

  .cartoon-page .watch-action,
  .cartoon-page .watch-claim,
  .cartoon-page .watch-deposit-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cartoon-page .watch-access-note {
    margin: 0;
    padding: 0 6px;
    color: #786e65;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
  }

  .cartoon-page .cartoon-support {
    position: fixed;
    z-index: 40;
    right: max(18px, calc((100vw - 616px) / 2 + 24px));
    bottom: 136px;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: linear-gradient(180deg, #25b8ed, #008cc4);
    box-shadow: 0 8px 0 #006a9b, 0 12px 22px rgba(0, 124, 177, 0.28);
    color: #fff;
    text-decoration: none;
  }

  .cartoon-page .cartoon-support svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cartoon-page .cartoon-bottom-nav {
    position: fixed;
    z-index: 35;
    right: auto;
    bottom: 24px;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: min(calc(100% - 24px), 616px);
    max-width: 616px;
    margin: 0;
    padding: 14px 24px 10px;
    border-radius: 32px;
    background: #fffaf0;
    box-shadow: 0 -5px 18px rgba(46, 52, 44, 0.10);
    transform: translateX(-50%);
  }

  .cartoon-page .cartoon-bottom-nav .dashboard-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 84px;
    padding: 4px 2px 2px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #655e52;
    text-decoration: none;
  }

  .cartoon-page .cartoon-bottom-nav .home-icon {
    position: relative;
    z-index: 0;
    isolation: isolate;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border: 4px solid #fff;
    border-radius: 18px;
    background: #ffd94d;
    box-shadow: 0 8px 0 #d9a900, 0 10px 12px rgba(37, 47, 45, 0.14);
    transition: transform 0.18s ease;
  }

  .cartoon-page .cartoon-bottom-nav .dashboard-card:nth-child(2) .home-icon { background: #f7a6c3; box-shadow: 0 8px 0 #d7658d, 0 10px 12px rgba(37, 47, 45, 0.14); }
  .cartoon-page .cartoon-bottom-nav .dashboard-card:nth-child(3) .home-icon { background: #86d7ef; box-shadow: 0 8px 0 #36a7c3, 0 10px 12px rgba(37, 47, 45, 0.14); }
  .cartoon-page .cartoon-bottom-nav .dashboard-card:nth-child(4) .home-icon { background: #9bd96b; box-shadow: 0 8px 0 #5ca83d, 0 10px 12px rgba(37, 47, 45, 0.14); }

  .cartoon-page .cartoon-bottom-nav .home-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cartoon-page .cartoon-bottom-nav .dashboard-card span:last-child {
    color: #655e52;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0;
  }

  .cartoon-page .cartoon-bottom-nav .dashboard-card:hover .home-icon {
    transform: translateY(-3px);
  }

  @media (max-width: 600px) {
    .cartoon-page .app-shell-home {
      width: 100%;
      padding: 31px 12px 140px;
    }

    .cartoon-page .cartoon-header {
      margin-right: -12px;
      margin-left: -12px;
      padding-right: 16px;
      padding-left: 16px;
    }

    .cartoon-page .watch-card {
      padding: 12px 11px 10px;
      border-radius: 25px;
    }

    .cartoon-page .watch-card-body {
      grid-template-columns: 92px minmax(0, 1fr);
      gap: 9px;
    }

    .cartoon-page .watch-thumbnail {
      width: 92px;
      min-height: 104px;
    }

    .cartoon-page .watch-card-footer {
      grid-template-columns: 1fr 1fr;
      gap: 9px;
    }

    .cartoon-page .watch-action {
      grid-column: 1 / -1;
      width: 100%;
    }

    .cartoon-page .cartoon-bottom-nav {
      bottom: 10px;
      gap: 4px;
      padding: 10px 14px 7px;
    }

    .cartoon-page .cartoon-bottom-nav .home-icon {
      width: 46px;
      height: 46px;
    }

    .cartoon-page .cartoon-support {
      right: 18px;
      bottom: 112px;
      width: 68px;
      height: 68px;
    }
  }
.account-page {
  background: linear-gradient(180deg, #bdeefa 0%, #d9f7fb 55%, #f2f3df 100%);
}

.account-page .account-shell {
  width: min(100%, 616px);
  max-width: 616px;
  min-height: 100vh;
  margin-inline: auto;
  padding: 31px 18px 132px;
  border-radius: 38px 38px 0 0;
  background: linear-gradient(180deg, #e3f9fa 0%, #f8f8e8 100%);
  box-shadow: none;
}

.account-page .account-layout {
  position: relative;
  max-width: none;
  gap: 0;
}

.account-page .account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 106px;
  margin: -10px -18px 0;
  padding: 12px 20px 14px;
  border: 0;
  border-bottom: 4px solid #efdda4;
  border-radius: 38px 38px 0 0;
  background: #fbfcfb;
  box-shadow: none;
}

.account-page .account-header .banner-topline {
  flex: 0 0 auto;
  gap: 0;
}

.account-page .account-header .mini-mark {
  width: 72px;
  height: 72px;
  padding: 7px;
  border: 4px solid #fff;
  border-radius: 24px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 7px 0 #d9a900, 0 9px 13px rgba(80, 67, 30, 0.14);
}

.account-page .account-header .balance-box {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 7px;
  row-gap: 0;
  width: 182px;
  min-width: 0;
  min-height: 68px;
  padding: 5px 7px;
  border: 3px solid #ead794;
  border-radius: 999px;
  background: #fff9e8;
  box-shadow: 0 5px 0 #d2bb70, 0 8px 12px rgba(95, 78, 31, 0.12);
}

.account-page .account-header .balance-pill-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #65bb3d;
  box-shadow: 0 3px 0 #347f2c;
  color: #fff;
}

.account-page .account-header .balance-pill-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-page .account-header .balance-label {
  color: #897e68;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.account-page .account-header .balance-box strong {
  color: #37822e;
  font-size: 0.92rem;
  line-height: 1.05;
  white-space: nowrap;
}

.account-page .account-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding-top: 18px;
}

.account-page .account-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 12px 12px;
  text-align: center;
}

.account-page .account-avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7b1b8, #f1d4c7 42%, #f4e6df 100%);
  color: #7d4c57;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 6px 0 #dcbc9b, 0 10px 18px rgba(91, 69, 64, 0.12);
}

.account-page .account-identity h1 {
  margin: 2px 0 0;
  color: #453c3a;
  font-size: 1.38rem;
  font-weight: 1000;
  line-height: 1.15;
  letter-spacing: 0;
}

.account-page .account-username {
  color: #8a7e71;
  font-size: 0.8rem;
}

.account-page .account-identity .ghost-btn {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #e7d9f0;
  border-radius: 999px;
  background: #fff;
  color: #8254ad;
  font-size: 0.75rem;
}

.account-page .account-invite-panel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 2px solid #fff;
  border-bottom: 5px solid #d9bee7;
  border-radius: 18px;
  background: linear-gradient(110deg, #f5ebf9, #fdf7fb);
  box-shadow: 0 5px 12px rgba(102, 79, 123, 0.08);
}

.account-page .account-panel-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 12px;
  background: #f7c64d;
  box-shadow: 0 4px 0 #dba948;
  font-size: 1.25rem;
}

.account-page .account-invite-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.account-page .account-invite-content span {
  color: #897d71;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.account-page .account-invite-content strong {
  color: #514177;
  font-size: 1.15rem;
  line-height: 1.1;
}

.account-page .account-copy-button,
.account-page .team-copy-code,
.account-page .team-invite-link-row button {
  min-height: 38px;
  padding: 0 10px;
  border: 2px solid #e4d0ef;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 0 #d4c2df;
  color: #8755b2;
  font-size: 0.75rem;
  font-weight: 900;
}

.account-page .account-wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 0 #dfd7e9;
}

.account-page .account-wallet-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 120px;
  padding: 12px 7px 10px;
  border-right: 1px dashed #eadfec;
  text-align: center;
}

.account-page .account-wallet-item:last-child { border-right: 0; }

.account-page .account-wallet-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #d9c4ff;
  box-shadow: 0 4px 0 #aa8bda;
  color: #7751a7;
  font-size: 1.15rem;
  font-weight: 900;
}

.account-page .withdraw-icon { background: #ffb8d0; box-shadow: 0 4px 0 #db7f9e; color: #bd4b70; }
.account-page .deposit-icon { background: #a4d3ff; box-shadow: 0 4px 0 #6ba5db; color: #3f78af; }

.account-page .account-wallet-item > span:nth-child(2) {
  color: #765e91;
  font-size: 0.72rem;
  font-weight: 800;
}

.account-page .account-wallet-item strong {
  color: #6944a4;
  font-size: 0.9rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.account-page .account-wallet-item:nth-child(2) strong { color: #cd527d; }
.account-page .account-wallet-item:nth-child(3) strong { color: #4e8cc4; }

.account-page .team-main {
  gap: 14px;
  padding-top: 24px;
}

.account-page .team-invite-panel {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px 12px;
  border: 3px solid #fff;
  border-bottom: 6px solid #74b8d5;
  border-radius: 18px;
  background: linear-gradient(135deg, #d6effd, #eaf8ff);
  box-shadow: 0 7px 14px rgba(54, 111, 146, 0.08);
}

.account-page .team-panel-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid #fff;
  border-radius: 15px;
  background: #54b8d7;
  box-shadow: 0 4px 0 #2c8dac;
  color: #fff;
  font-size: 1.3rem;
}

.account-page .team-invite-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.account-page .team-invite-copy > span:first-child {
  color: #48778e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.account-page .team-invite-copy > strong {
  color: #18384e;
  font-size: 1.6rem;
  line-height: 1;
}

.account-page .team-copy-code {
  align-self: flex-start;
  min-height: 30px;
  border-color: #b9dced;
  box-shadow: 0 2px 0 #a4cfe2;
  color: #418ca8;
}

.account-page .team-invite-link-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 5px 8px 5px 10px;
  border: 2px solid #b7dff0;
  border-radius: 13px;
  background: #fff;
}

.account-page .team-invite-link-row span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #52758a;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-page .team-invite-link-row button {
  flex: 0 0 auto;
  min-height: 30px;
  border-color: #b9dced;
  box-shadow: 0 2px 0 #a4cfe2;
  color: #428eaa;
}

.account-page .team-share-button {
  min-height: 44px;
  border: 2px solid #fff;
  border-radius: 12px;
  background: linear-gradient(100deg, #0fbf60, #109f63);
  box-shadow: 0 4px 0 #0a7a4f;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
}

.account-page .team-level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-page .team-level-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 82px;
  border: 2px solid #fff;
  border-bottom: 5px solid #efdda4;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 6px 10px rgba(109, 98, 64, 0.06);
}

.account-page .team-level-grid strong {
  color: #d93556;
  font-size: 1.25rem;
}

.account-page .team-level-grid span {
  color: #796f62;
  font-size: 0.72rem;
  font-weight: 800;
}

.account-page .my-team-panel {
  min-height: 155px;
  padding: 12px 4px;
}

.account-page .my-team-panel h1 {
  margin: 0 0 10px;
  color: #40362e;
  font-size: 1.1rem;
  font-weight: 1000;
}

.account-page .my-team-panel h1::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 8px 1px 2px;
  border-radius: 50%;
  background: #e51f2a;
}

.account-page .my-team-panel p {
  display: grid;
  place-items: center;
  min-height: 94px;
  margin: 0;
  padding: 14px;
  border: 2px dashed #e9cc7c;
  border-radius: 18px;
  color: #847967;
  font-size: 0.8rem;
  text-align: center;
}

.account-page .account-bottom-nav {
  position: fixed;
  z-index: 35;
  right: auto;
  bottom: 24px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(calc(100% - 24px), 560px);
  max-width: 560px;
  margin: 0;
  padding: 12px 12px 8px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #f9f0d0, #f6e7ac 40%, #f0dca0 100%);
  box-shadow: 0 -4px 0 rgba(183, 148, 53, 0.2), 0 -8px 18px rgba(75, 71, 56, 0.12);
  transform: translateX(-50%);
}

.account-page .account-bottom-nav .dashboard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  padding: 4px 2px 2px;
  overflow: visible;
  border: 3px solid rgba(255,255,255,0.9);
  border-bottom-width: 6px;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 6px 0 rgba(95, 89, 55, 0.12);
  color: #655e52;
  text-decoration: none;
}

.account-page .account-bottom-nav .home-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 4px solid #fff;
  border-radius: 18px;
  background: #ffd94d;
  box-shadow: 0 8px 0 #d9a900, 0 10px 12px rgba(37, 47, 45, 0.14);
  transition: transform 0.18s ease;
}

.account-page .account-bottom-nav .dashboard-card:nth-child(2) .home-icon { background: #f7a6c3; box-shadow: 0 8px 0 #d7658d, 0 10px 12px rgba(37, 47, 45, 0.14); }
.account-page .account-bottom-nav .dashboard-card:nth-child(3) .home-icon { background: #86d7ef; box-shadow: 0 8px 0 #36a7c3, 0 10px 12px rgba(37, 47, 45, 0.14); }
.account-page .account-bottom-nav .dashboard-card:nth-child(4) .home-icon { background: #9bd96b; box-shadow: 0 8px 0 #5ca83d, 0 10px 12px rgba(37, 47, 45, 0.14); }

.account-page .account-bottom-nav .home-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-page .account-bottom-nav .dashboard-card span:last-child {
  color: #655e52;
  font-size: 0.64rem;
  font-weight: 900;
}

.account-page .account-support {
  position: fixed;
  z-index: 40;
  right: max(18px, calc((100vw - 616px) / 2 + 24px));
  bottom: 136px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(180deg, #25b8ed, #008cc4);
  box-shadow: 0 8px 0 #006a9b, 0 12px 22px rgba(0, 124, 177, 0.28);
  color: #fff;
  text-decoration: none;
}

.account-page .account-support svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-page {
  background: linear-gradient(180deg, #bfeaf6 0%, #d7f4fb 52%, #dfeef2 100%);
}

.profile-page .profile-shell {
  width: min(100%, 616px);
  max-width: 616px;
  min-height: 100vh;
  margin-inline: auto;
  padding: 31px 18px 132px;
  background: linear-gradient(180deg, #ddf7fb 0%, #f0f4ee 100%);
  border-radius: 38px 38px 0 0;
  box-shadow: none;
}

.profile-page .profile-layout {
  gap: 0;
}

.profile-page .profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 106px;
  margin: -10px -18px 0;
  padding: 12px 20px 14px;
  border: 0;
  border-bottom: 4px solid #efdda4;
  border-radius: 38px 38px 0 0;
  background: #fbfcfb;
  box-shadow: none;
}

.profile-page .profile-header .banner-topline {
  flex: 0 0 auto;
  gap: 0;
}

.profile-page .profile-header .mini-mark {
  width: 72px;
  height: 72px;
  padding: 7px;
  border: 4px solid #fff;
  border-radius: 24px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 7px 0 #d9a900, 0 9px 13px rgba(80, 67, 30, 0.14);
}

.profile-page .profile-header .balance-box {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 7px;
  row-gap: 0;
  width: 182px;
  min-width: 0;
  min-height: 68px;
  padding: 5px 7px;
  border: 3px solid #ead794;
  border-radius: 999px;
  background: #fff9e8;
  box-shadow: 0 5px 0 #d2bb70, 0 8px 12px rgba(95, 78, 31, 0.12);
}

.profile-page .profile-header .balance-pill-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #65bb3d;
  box-shadow: 0 3px 0 #347f2c;
  color: #fff;
}

.profile-page .profile-header .balance-pill-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-page .profile-header .balance-label {
  color: #897e68;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.profile-page .profile-header .balance-box strong {
  color: #37822e;
  font-size: 0.92rem;
  line-height: 1.05;
  white-space: nowrap;
}

.profile-page .profile-main {
  padding-top: 18px;
}

.profile-page .profile-story-card {
  position: relative;
  padding: 18px 18px 14px;
  border: 3px solid rgba(255,255,255,0.8);
  border-bottom: 8px solid #eadca4;
  border-radius: 26px;
  background: linear-gradient(180deg, #f7f0d6, #f5ebd2);
  box-shadow: 0 9px 18px rgba(112, 88, 50, 0.06);
}

.profile-page .profile-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 33px;
  padding: 0 14px 0 12px;
  border: 2px solid #f0d38d;
  border-radius: 999px;
  background: #f9f1d7;
  color: #5d4f2f;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-page .profile-flag-dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(180deg, #eb6b67, #d4393c);
  box-shadow: 0 0 0 3px rgba(235, 107, 103, 0.15);
}

.profile-page .profile-story-card h1 {
  margin: 22px 0 10px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  font-weight: 900;
  color: #1a1a1a;
}

.profile-page .profile-story-card h1 span {
  color: #ef3f49;
  text-shadow: 0 2px 0 rgba(121, 0, 0, 0.18);
}

.profile-page .profile-story-card h2 {
  margin: 0 0 14px;
  color: #a33a48;
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-page .profile-story-card p {
  margin: 0;
  color: rgba(47, 37, 34, 0.82);
  font-size: 1.02rem;
  line-height: 1.52;
  font-weight: 700;
}

.profile-page .profile-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.profile-page .profile-cta-wrap {
  flex: 1;
  min-width: 0;
}

.profile-page .profile-cta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #1f1a1d;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.35;
}

.profile-page .profile-cta-line span {
  color: #d43a42;
  font-size: 1.5rem;
  line-height: 1;
}

.profile-page .profile-cta-sub {
  margin-top: 12px;
  color: #2f2624;
  font-size: 0.92rem;
  font-weight: 800;
}

.profile-page .profile-core-idea {
  margin-top: 12px;
  min-height: 34px;
  padding: 0 12px;
  border: 2px solid #f0d38d;
  border-radius: 12px;
  background: #f5f0dd;
  color: #534b3a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-page .profile-support {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(180deg, #3dc7ff, #0d9fe4);
  box-shadow: 0 8px 0 #0a84bf, 0 12px 18px rgba(10, 132, 191, 0.22);
  color: #fff;
  text-decoration: none;
}

.profile-page .profile-support svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-page .profile-bottom-nav {
  position: fixed;
  z-index: 35;
  right: auto;
  bottom: 24px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(calc(100% - 24px), 560px);
  max-width: 560px;
  margin: 0;
  padding: 12px 12px 8px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #f9f0d0, #f6e7ac 40%, #f0dca0 100%);
  box-shadow: 0 -4px 0 rgba(183, 148, 53, 0.2), 0 -8px 18px rgba(75, 71, 56, 0.12);
  transform: translateX(-50%);
}

.profile-page .profile-bottom-nav .dashboard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  padding: 4px 2px 2px;
  overflow: visible;
  border: 3px solid rgba(255,255,255,0.9);
  border-bottom-width: 6px;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 6px 0 rgba(95, 89, 55, 0.12);
  color: #655e52;
  text-decoration: none;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(1) {
  background: linear-gradient(180deg, #f3c64f, #dca62a);
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 6px 0 rgba(179, 119, 30, 0.8), 0 8px 16px rgba(148, 87, 15, 0.18);
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(2) {
  background: linear-gradient(180deg, #f292b6, #df7ca5);
  box-shadow: 0 6px 0 rgba(162, 82, 110, 0.8), 0 8px 16px rgba(126, 62, 86, 0.16);
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(3) {
  background: linear-gradient(180deg, #5ec7ee, #2babc5);
  box-shadow: 0 6px 0 rgba(34, 116, 145, 0.8), 0 8px 16px rgba(22, 104, 138, 0.16);
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(4) {
  background: linear-gradient(180deg, #7dd76e, #4bbd63);
  box-shadow: 0 6px 0 rgba(44, 122, 63, 0.8), 0 8px 16px rgba(33, 110, 53, 0.16);
}

.profile-page .profile-bottom-nav .dashboard-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.profile-page .profile-bottom-nav .home-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 4px solid #fff;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: 0 8px 0 rgba(0,0,0,0.08), 0 10px 12px rgba(37, 47, 45, 0.14);
}

.profile-page .profile-bottom-nav .home-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-page .profile-bottom-nav .dashboard-card span:last-child {
  color: #fff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(1) .home-icon {
  background: rgba(255,255,255,0.12);
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(2) .home-icon {
  background: rgba(255,255,255,0.12);
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(3) .home-icon {
  background: rgba(255,255,255,0.12);
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(4) .home-icon {
  background: rgba(255,255,255,0.12);
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(1) .home-icon,
.profile-page .profile-bottom-nav .dashboard-card:nth-child(2) .home-icon,
.profile-page .profile-bottom-nav .dashboard-card:nth-child(3) .home-icon,
.profile-page .profile-bottom-nav .dashboard-card:nth-child(4) .home-icon {
  border-color: rgba(255,255,255,0.8);
}

.profile-page .profile-bottom-nav .dashboard-card:nth-child(1),
.profile-page .profile-bottom-nav .dashboard-card:nth-child(2),
.profile-page .profile-bottom-nav .dashboard-card:nth-child(3),
.profile-page .profile-bottom-nav .dashboard-card:nth-child(4) {
  border: 3px solid rgba(255,255,255,0.9);
  border-bottom-width: 6px;
  border-radius: 16px;
  box-shadow: 0 6px 0 rgba(95, 89, 55, 0.12);
}

@media (max-width: 600px) {
  .profile-page .profile-shell {
    width: 100%;
    padding: 31px 12px 140px;
  }

  .profile-page .profile-header {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .profile-page .profile-story-card {
    padding: 16px 14px 10px;
  }

  .profile-page .profile-bottom-row {
    align-items: center;
  }

  .profile-page .profile-support {
    width: 60px;
    height: 60px;
    box-shadow: 0 7px 0 #0a84bf, 0 10px 16px rgba(10, 132, 191, 0.18);
  }
}

@media (max-width: 420px) {
  .profile-page .profile-story-card h1 {
    font-size: 2.2rem;
  }

  .profile-page .profile-story-card h2 {
    font-size: 0.82rem;
  }

  .profile-page .profile-story-card p {
    font-size: 0.92rem;
  }

  .profile-page .profile-cta-line {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-page .account-bottom-nav .home-icon,
  .account-page .account-support,
  .profile-page .profile-support {
    transition: none;
  }
}

@media (max-width: 600px) {
  .account-page .account-shell {
    width: 100%;
    padding: 31px 12px 140px;
  }

  .account-page .account-header {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .account-page .account-bottom-nav {
    bottom: 10px;
    gap: 4px;
    padding: 10px 14px 7px;
  }

  .account-page .account-bottom-nav .home-icon {
    width: 46px;
    height: 46px;
  }

  .account-page .account-support {
    right: 18px;
    bottom: 112px;
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 370px) {
  .account-page .account-shell {
    padding-right: 8px;
    padding-left: 8px;
  }

  .account-page .account-header {
    margin-right: -8px;
    margin-left: -8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .account-page .account-header .balance-box {
    width: 172px;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .account-page .account-header .balance-pill-icon {
    width: 40px;
    height: 40px;
  }

  .account-page .account-invite-panel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 7px;
    padding: 11px;
  }

  .account-page .account-panel-icon {
    width: 40px;
    height: 40px;
  }

  .account-page .account-wallet-item strong {
    font-size: 0.76rem;
  }

  .account-page .team-invite-panel {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .account-page .team-panel-icon {
    width: 42px;
    height: 42px;
  }
}

  .app-body-home:not(.dashboard-page) .dashboard-mini-nav {
    position: fixed;
    z-index: 35;
    right: auto;
    bottom: 0;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: min(calc(100% - 20px), 960px);
    max-width: 960px;
    margin: 0;
    padding: 22px 18px 14px;
    border-top: 5px solid #e3ca83;
    border-radius: 42px 42px 0 0;
    background: #fffaf0;
    box-shadow: 0 -8px 20px rgba(75, 71, 56, 0.12);
    transform: translateX(-50%);
  }

  .app-body-home:not(.dashboard-page) .dashboard-mini-nav .dashboard-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    min-height: 104px;
    padding: 4px 2px 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #655e52;
    text-decoration: none;
  }

  .app-body-home:not(.dashboard-page) .dashboard-mini-nav .dashboard-card::before {
    display: none;
  }

  .app-body-home:not(.dashboard-page) .dashboard-mini-nav .home-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border: 5px solid #fff;
    border-radius: 25px;
    background: #ffd94d;
    box-shadow: 0 8px 0 #d9a900, 0 10px 12px rgba(37, 47, 45, 0.14);
    color: #263440;
    transition: transform 0.18s ease;
  }

  .app-body-home:not(.dashboard-page) .dashboard-mini-nav .dashboard-card:nth-child(2) .home-icon { background: #f7a6c3; box-shadow: 0 8px 0 #d7658d, 0 10px 12px rgba(37, 47, 45, 0.14); }
  .app-body-home:not(.dashboard-page) .dashboard-mini-nav .dashboard-card:nth-child(3) .home-icon { background: #86d7ef; box-shadow: 0 8px 0 #36a7c3, 0 10px 12px rgba(37, 47, 45, 0.14); }
  .app-body-home:not(.dashboard-page) .dashboard-mini-nav .dashboard-card:nth-child(4) .home-icon { background: #9bd96b; box-shadow: 0 8px 0 #5ca83d, 0 10px 12px rgba(37, 47, 45, 0.14); }

  .app-body-home:not(.dashboard-page) .dashboard-mini-nav .home-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .app-body-home:not(.dashboard-page) .dashboard-mini-nav .dashboard-card span:last-child {
    color: #655e52;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
  }

  .app-body-home:not(.dashboard-page) .app-shell-home {
    padding-bottom: 150px;
  }

  .app-body-home .auth-shell-register {
    padding-bottom: 140px;
  }

  .app-body-home:not(.dashboard-page) .dashboard-mini-nav .dashboard-card:hover .home-icon {
    transform: translateY(-3px);
  }

  @media (max-width: 600px) {
    .app-body-home:not(.dashboard-page) .dashboard-mini-nav {
      width: calc(100% - 12px);
      gap: 0;
      padding: 16px 8px 12px;
      border-radius: 34px 34px 0 0;
    }

    .app-body-home:not(.dashboard-page) .dashboard-mini-nav .dashboard-card {
      min-height: 96px;
      gap: 7px;
    }

    .app-body-home:not(.dashboard-page) .dashboard-mini-nav .home-icon {
      width: 66px;
      height: 66px;
      border-radius: 23px;
    }
  }

@media (prefers-reduced-motion: reduce) {
  .account-page .account-bottom-nav .home-icon,
  .account-page .account-support {
    transition: none;
  }
}

.rewards-page {
  background:
    radial-gradient(circle at 9% 31%, rgba(255,255,255,0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 56%, rgba(255,255,255,0.85) 0 3px, transparent 4px),
    linear-gradient(180deg, #b9effb 0%, #d9f7fb 58%, #effaf5 100%);
}

.rewards-page .rewards-shell {
  width: min(100%, 566px);
  max-width: 566px;
  min-height: 100vh;
  margin: 20px auto 0;
  padding: 8px 16px 142px;
  border-radius: 38px 38px 0 0;
  background: linear-gradient(180deg, #ddf8fb 0%, #eff5eb 100%);
}

.rewards-page .rewards-layout {
  position: relative;
  max-width: none;
  gap: 0;
}

.rewards-page .rewards-header {
  min-height: 100px;
  margin: -10px -16px 0;
}

.rewards-page .rewards-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-top: 19px;
}

.rewards-page .rewards-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-bottom: 1px;
}

.rewards-page .rewards-heading-copy {
  position: relative;
  min-width: 0;
  padding-top: 2px;
}

.rewards-page .rewards-star {
  position: absolute;
  top: -17px;
  left: 7px;
  color: #ffd641;
  font-size: 1.18rem;
  line-height: 1;
  text-shadow: 0 2px 0 #e3bb38;
}

.rewards-page .rewards-heading-copy h1 {
  margin: 0;
  color: #322d34;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.2;
}

.rewards-page .rewards-heading-copy p {
  margin: 4px 0 0;
  color: #837b70;
  font-size: 0.86rem;
  line-height: 1.3;
}

.rewards-page .rewards-back-button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 46px;
  border: 2px solid #e5c8ef;
  border-bottom-width: 5px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(94, 74, 115, 0.08);
  color: #60418c;
  text-decoration: none;
}

.rewards-page .rewards-back-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rewards-page .rewards-level-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.rewards-page .rewards-level-summary > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 80px;
  border: 2px solid #fff;
  border-bottom: 5px solid #e8cd83;
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 5px 10px rgba(109, 98, 64, 0.06);
}

.rewards-page .rewards-level-summary strong {
  color: #5d3d91;
  font-size: 1.18rem;
  font-weight: 1000;
  line-height: 1.15;
}

.rewards-page .rewards-level-summary span {
  color: #796f62;
  font-size: 0.72rem;
  font-weight: 800;
}

.rewards-page .squad-level-card {
  min-width: 0;
  padding: 15px 16px 14px;
  border: 2px solid #fff;
  border-bottom: 6px solid #e5cd83;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 6px 12px rgba(97, 89, 64, 0.08);
}

.rewards-page .squad-level-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.rewards-page .squad-level-number {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 3px solid #fff;
  border-radius: 15px;
  background: linear-gradient(180deg, #b590ed, #9871d5);
  box-shadow: 0 4px 0 #6c51a6;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 1000;
}

.rewards-page .squad-level-title {
  flex: 1;
  min-width: 0;
}

.rewards-page .squad-level-title h2 {
  margin: 0;
  color: #28242a;
  font-size: 1rem;
  font-weight: 1000;
  line-height: 1.2;
}

.rewards-page .squad-level-title p {
  margin: 2px 0 0;
  color: #81796f;
  font-size: 0.78rem;
  line-height: 1.25;
}

.rewards-page .squad-level-status {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid #f6b62e;
  border-radius: 11px;
  background: #fff6d9;
  box-shadow: 0 2px 0 rgba(224, 168, 39, 0.2);
  color: #9a6500;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.rewards-page .squad-reward-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 51px;
  margin-top: 13px;
  padding: 7px 13px;
  border: 2px solid #fff;
  border-bottom: 5px solid #e9ca69;
  border-radius: 15px;
  background: linear-gradient(100deg, #fff6d8, #ffedb5);
}

.rewards-page .squad-reward-strip span {
  color: #554328;
  font-size: 0.66rem;
  font-weight: 900;
}

.rewards-page .squad-reward-strip strong {
  color: #694500;
  font-size: 1.15rem;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.rewards-page .squad-progress-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 10px;
}

.rewards-page .squad-progress-item > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 3px;
  color: #514942;
  font-size: 0.84rem;
  line-height: 1.25;
}

.rewards-page .squad-progress-item strong {
  flex: 0 0 auto;
  color: #302b31;
  font-weight: 1000;
}

.rewards-page .squad-progress-track {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee7df;
}

.rewards-page .squad-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #9d75d8;
}

.rewards-page .rewards-support {
  right: max(18px, calc((100vw - 566px) / 2 + 24px));
  bottom: 136px;
  width: 68px;
  height: 68px;
}

.rewards-page .rewards-support svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 600px) {
  .rewards-page .rewards-shell {
    width: 100%;
    min-height: 100vh;
    margin-top: 0;
    padding: 18px 12px 140px;
  }

  .rewards-page .rewards-header {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .rewards-page .rewards-bottom-nav {
    bottom: 10px;
  }

  .rewards-page .rewards-support {
    right: 18px;
    bottom: 112px;
  }
}

@media (max-width: 380px) {
  .rewards-page .rewards-heading-copy h1 {
    font-size: 1.17rem;
  }

  .rewards-page .squad-level-card {
    padding-right: 11px;
    padding-left: 11px;
  }

  .rewards-page .squad-level-heading {
    gap: 8px;
  }

  .rewards-page .squad-level-status {
    padding-inline: 7px;
    font-size: 0.62rem;
  }

  .rewards-page .squad-reward-strip strong {
    font-size: 1rem;
  }
}

.plans-page {
  background: linear-gradient(180deg, #bceefa 0%, #dcf7fb 58%, #eff7ed 100%);
  color: #30241d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.plans-page .plans-shell {
  width: min(100%, 566px);
  max-width: 566px;
  min-height: 100vh;
  margin: 20px auto 0;
  padding: 8px 16px 142px;
  border-radius: 38px 38px 0 0;
  background: linear-gradient(180deg, #e4f9fb 0%, #f2f4e8 100%);
}

.plans-page .plans-layout {
  position: relative;
  max-width: none;
  gap: 0;
}

.plans-page .plans-header {
  min-height: 100px;
  margin: -10px -16px 0;
}

.plans-page .plans-main {
  min-width: 0;
  padding: 18px 14px 115px;
}

.plans-page .plans-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plans-page .plan-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 18px 16px 16px;
  overflow: hidden;
  border: 4px solid #e31a1a;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 7px 0 #c11313, 0 12px 20px rgba(193, 19, 19, 0.1);
}

.plans-page .plan-card-strip {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: #e31a1a;
}

.plans-page .plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin-bottom: 14px;
}

.plans-page .plan-badge {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 5px 12px;
  border-radius: 30px;
  background: #e31a1a;
  box-shadow: 0 3px 0 #c11313;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.plans-page .plan-duration {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 2px solid #e2dccd;
  border-radius: 20px;
  background: #f8f5f0;
  color: #66594b;
  font-size: 0.69rem;
  font-weight: 700;
  white-space: nowrap;
}

.plans-page .plan-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.plans-page .plan-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 51px;
  padding: 7px 5px;
  border: 2px solid #e2dccd;
  border-radius: 14px;
  background: #f8f5f0;
  text-align: center;
}

.plans-page .plan-stat.highlight {
  border-color: #ffd85b;
  background: #fff9e8;
}

.plans-page .plan-stat-label {
  color: #8a7b69;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
}

.plans-page .plan-stat-value {
  color: #30241d;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.plans-page .plan-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 39px;
  padding: 8px 12px;
  border-radius: 14px;
  background: linear-gradient(100deg, #f12d2d, #d9141b);
  box-shadow: 0 4px 0 #8b0000;
  color: #fff;
}

.plans-page .plan-total-label {
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.plans-page .plan-total-value {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.plans-page .plan-vip2 .plan-badge,
.plans-page .plan-vip3 .plan-badge,
.plans-page .plan-vip7 .plan-badge {
  background: #6b9e9e;
  box-shadow: 0 3px 0 #4e7a7a;
}

.plans-page .plan-vip4 .plan-badge,
.plans-page .plan-vip5 .plan-badge,
.plans-page .plan-vip8 .plan-badge {
  background: #a39bbf;
  box-shadow: 0 3px 0 #7d74a0;
}

.plans-page .plans-how-it-works {
  margin-top: 8px;
  padding: 17px 16px;
  border: 2px solid #fff;
  border-bottom: 6px solid #e5cd83;
  border-radius: 20px;
  background: #fffdf7;
  box-shadow: 0 6px 12px rgba(97, 89, 64, 0.08);
}

.plans-page .plans-how-it-works h1 {
  margin: 0 0 7px;
  color: #342d29;
  font-size: 1rem;
  font-weight: 700;
}

.plans-page .plans-how-it-works p {
  margin: 0;
  color: #756b61;
  font-size: 0.8rem;
  line-height: 1.55;
}

.plans-page .plans-support {
  right: max(18px, calc((100vw - 566px) / 2 + 24px));
  bottom: 136px;
  width: 68px;
  height: 68px;
}

.plans-page .plans-support svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 600px) {
  .plans-page .plans-shell {
    width: 100%;
    min-height: 100vh;
    margin-top: 0;
    padding: 18px 12px 140px;
  }

  .plans-page .plans-header {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .plans-page .plans-main {
    padding: 16px 0 110px;
  }

  .plans-page .plans-bottom-nav {
    bottom: 10px;
  }

  .plans-page .plans-support {
    right: 18px;
    bottom: 112px;
  }
}

@media (max-width: 380px) {
  .plans-page .plan-card {
    padding-right: 10px;
    padding-left: 10px;
  }

  .plans-page .plan-body {
    gap: 5px;
  }

  .plans-page .plan-stat-value {
    font-size: 0.68rem;
  }

  .plans-page .plan-total {
    padding-right: 8px;
    padding-left: 8px;
  }

  .plans-page .plan-total-label {
    font-size: 0.6rem;
  }

  .plans-page .plan-total-value {
    font-size: 0.78rem;
  }
}

.salary-page {
  background:
    radial-gradient(circle at 10% 31%, rgba(255,255,255,0.92) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 58%, rgba(255,255,255,0.88) 0 3px, transparent 4px),
    linear-gradient(180deg, #bdeeff 0%, #e8f9ff 28%, #fff4d8 100%);
  color: #30241d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.salary-page .salary-shell {
  width: min(100%, 600px);
  max-width: 600px;
  min-height: 100vh;
  margin: 20px auto 0;
  padding: 8px 16px 142px;
  border-radius: 0;
  background: linear-gradient(180deg, #e1f8fb 0%, #eff9f3 100%);
}

.salary-page .salary-layout {
  position: relative;
  max-width: none;
  gap: 0;
}

.salary-page .salary-header {
  min-height: 100px;
  margin: -10px -16px 0;
}

.salary-page .salary-main {
  min-width: 0;
  padding: 2px 0 115px;
}

.salary-page .salary-qualify-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 81px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 3px solid #fff;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff9e5, #ffe9b3);
  box-shadow: 0 5px 0 #dfa900, 0 10px 18px rgba(130, 90, 0, 0.12);
}

.salary-page .salary-qualify-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 0 rgba(0,0,0,0.08);
  font-size: 1.6rem;
}

.salary-page .salary-qualify-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.salary-page .salary-qualify-copy strong {
  color: #805b00;
  font-size: 1rem;
  font-weight: 700;
}

.salary-page .salary-qualify-copy span {
  color: #8b690c;
  font-size: 0.78rem;
}

.salary-page .salary-rules-card {
  min-height: 193px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 3px solid #6b9e9e;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 0 #4e7a7a;
}

.salary-page .salary-rules-card h1 {
  margin: 0 0 10px;
  color: #2c5e5e;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.salary-page .salary-rules-card ul {
  margin: 0;
  padding-left: 20px;
  color: #30241d;
  font-size: 0.84rem;
  line-height: 1.5;
}

.salary-page .salary-rules-card li::marker {
  color: #6b9e9e;
}

.salary-page .salary-rules-card li strong {
  color: #e31a1a;
}

.salary-page .salary-day-rule {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 2px dashed #dfa900;
  border-radius: 14px;
  background: #fff9e5;
  color: #7a5a00;
  font-size: 0.69rem;
  font-weight: 600;
  line-height: 1.5;
}

.salary-page .salary-day-rule strong {
  color: #e31a1a;
  font-weight: 800;
}

.salary-page .salary-career-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 4px 12px;
  color: #3d282b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
}

.salary-page .salary-career-title span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 11px;
  background: linear-gradient(145deg, #e31a1a, #c11313);
  box-shadow: 0 3px 0 #8b0000;
  color: #fff;
  font-size: 1.05rem;
}

.salary-page .salary-career-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.salary-page .salary-position-card {
  position: relative;
  min-width: 0;
  padding: 18px 16px 16px;
  border: 4px solid #8b5e63;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 7px 0 #5e3d42, 0 12px 20px rgba(80, 50, 50, 0.1);
}

.salary-page .salary-position-strip {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #8b5e63, #5e3d42);
}

.salary-page .salary-position-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  margin-bottom: 14px;
}

.salary-page .salary-position-name-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.salary-page .salary-rank-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 3px solid #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, #a0a0a0, #7a7a7a);
  box-shadow: 0 4px 0 #5a5a5a;
  color: #fff;
  font-size: 1.35rem;
}

.salary-page .salary-position-name-wrap h2 {
  margin: 0;
  color: #3d282b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.salary-page .salary-position-name-wrap div > span {
  display: block;
  margin-top: 2px;
  color: #8b5e63;
  font-size: 0.63rem;
  font-weight: 600;
}

.salary-page .salary-rank-status {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 20px;
  background: #8b5e63;
  box-shadow: 0 3px 0 #5e3d42;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1.5;
}

.salary-page .salary-requirements {
  display: grid;
  gap: 6px;
  min-height: 196px;
  margin-bottom: 12px;
}

.salary-page .salary-req-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  min-width: 0;
  min-height: 41px;
  padding: 8px 12px;
  border: 2px solid #e2dccd;
  border-radius: 12px;
  background: #f8f5f0;
  color: #30241d;
  font-size: 0.75rem;
  line-height: 1.25;
}

.salary-page .salary-req-row > span:first-child {
  min-width: 0;
}

.salary-page .salary-req-row > span:first-child > span {
  margin-left: 4px;
}

.salary-page .salary-req-row > strong {
  color: #30241d;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.salary-page .salary-level-two {
  padding-top: 6px;
  padding-bottom: 6px;
}

.salary-page .salary-level-two small {
  grid-column: 1;
  grid-row: 2;
  margin: -4px 0 0 23px;
  padding-right: 4px;
  color: #6b9e9e;
  font-size: 0.57rem;
  font-style: italic;
  font-weight: 600;
}

.salary-page .salary-wallet-row {
  border-color: #dfa900;
  background: #fff9e5;
}

.salary-page .salary-wallet-row .salary-progress-track {
  grid-column: 1 / -1;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: #e2dccd;
}

.salary-page .salary-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #dfa900;
}

.salary-page .salary-payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 43px;
  padding: 9px 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #8b5e63, #5e3d42);
  box-shadow: 0 4px 0 #3d282b;
  color: #fff;
}

.salary-page .salary-payment-row > span {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
}

.salary-page .salary-payment-row > strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  white-space: nowrap;
}

.salary-page .salary-climb-callout {
  margin-top: 4px;
  padding: 17px 16px;
  border: 3px solid #fff;
  border-bottom: 6px solid #dfa900;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff9e5, #ffe9b3);
  box-shadow: 0 6px 12px rgba(130, 90, 0, 0.1);
  color: #805b00;
  text-align: center;
}

.salary-page .salary-climb-callout strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.02rem;
}

.salary-page .salary-climb-callout p {
  margin: 5px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.salary-page .salary-support {
  right: max(18px, calc((100vw - 600px) / 2 + 24px));
  bottom: 136px;
  width: 68px;
  height: 68px;
}

.salary-page .salary-support svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 600px) {
  .salary-page .salary-shell {
    width: 100%;
    min-height: 100vh;
    margin-top: 0;
    padding: 18px 12px 140px;
  }

  .salary-page .salary-header {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .salary-page .salary-main {
    padding: 8px 0 110px;
  }

  .salary-page .salary-bottom-nav {
    bottom: 10px;
  }

  .salary-page .salary-support {
    right: 18px;
    bottom: 112px;
  }
}

@media (max-width: 380px) {
  .salary-page .salary-rules-card {
    padding-right: 13px;
    padding-left: 13px;
  }

  .salary-page .salary-position-card {
    padding-right: 10px;
    padding-left: 10px;
  }

  .salary-page .salary-position-head {
    gap: 6px;
  }

  .salary-page .salary-position-name-wrap {
    gap: 7px;
  }

  .salary-page .salary-position-name-wrap h2 {
    font-size: 0.95rem;
  }

  .salary-page .salary-req-row {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 0.68rem;
  }

  .salary-page .salary-payment-row {
    padding-right: 8px;
    padding-left: 8px;
  }

  .salary-page .salary-payment-row > strong {
    font-size: 0.95rem;
  }
}

.fortune-page {
  background:
    radial-gradient(circle at 10% 15%, rgba(255,255,255,0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 25%, rgba(255,255,255,0.9) 0 3px, transparent 4px),
    linear-gradient(180deg, #bdeeff 0%, #e8f9ff 28%, #fff4d8 100%);
  color: #30241d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fortune-page .fortune-shell {
  width: min(100%, 600px);
  max-width: 600px;
  min-height: 100vh;
  margin: 20px auto 0;
  padding: 8px 16px 142px;
  border-radius: 38px 38px 0 0;
  background: linear-gradient(180deg, #e4f9fb 0%, #fffbed 100%);
}

.fortune-page .fortune-layout {
  position: relative;
  max-width: none;
  gap: 0;
}

.fortune-page .fortune-header {
  min-height: 100px;
  margin: -10px -16px 0;
}

.fortune-page .fortune-main {
  min-width: 0;
  padding: 2px 0 115px;
}

.fortune-page .fortune-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 57px;
  padding: 12px 18px;
  border: 3px solid #fff;
  border-radius: 18px;
  background: linear-gradient(145deg, #e31a1a, #c11313);
  box-shadow: 0 6px 0 #8b0000;
  color: #fff;
}

.fortune-page .fortune-total > span {
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fortune-page .fortune-total > strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  white-space: nowrap;
}

.fortune-page .fortune-open-button {
  display: block;
  width: 100%;
  min-height: 67px;
  margin: 18px 0 20px;
  padding: 16px 18px;
  border: 4px solid #fff;
  border-radius: 22px;
  background: linear-gradient(145deg, #e31a1a, #c11313);
  box-shadow: 0 7px 0 #8b0000, 0 12px 20px rgba(193, 19, 19, 0.25);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.fortune-page .fortune-open-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.fortune-page .fortune-open-button:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #8b0000;
}

.fortune-page .fortune-wins-section h1 {
  margin: 0 4px 10px;
  color: #3d282b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.fortune-page .fortune-wins-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fortune-page .fortune-empty-state {
  margin: 0;
  padding: 18px 14px;
  border: 2px dashed #e5c98d;
  border-radius: 16px;
  background: #fffdf6;
  color: #8a7a68;
  font-size: 0.82rem;
  text-align: center;
}

.fortune-page .fortune-empty-state[hidden] {
  display: none;
}

.fortune-page .fortune-win-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 69px;
  padding: 12px 14px;
  border: 3px solid #fff;
  border-bottom: 5px solid #e5c98d;
  border-radius: 18px;
  background: #fffdf6;
  box-shadow: 0 4px 0 #e5c98d;
}

.fortune-page .fortune-win-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffe9a8, #ffd873);
  box-shadow: 0 3px 0 #e0b552;
  font-size: 1.25rem;
}

.fortune-page .fortune-win-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fortune-page .fortune-win-details strong {
  overflow: hidden;
  color: #30241d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fortune-page .fortune-win-details time {
  color: #8a7a68;
  font-size: 0.64rem;
  font-weight: 500;
  line-height: 1.3;
}

.fortune-page .fortune-win-amount {
  flex: 0 0 auto;
  color: #3d7a2a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
}

.fortune-page .fortune-support {
  right: max(18px, calc((100vw - 600px) / 2 + 24px));
  bottom: 136px;
  width: 68px;
  height: 68px;
}

.fortune-page .fortune-support svg {
  width: 32px;
  height: 32px;
}

.fortune-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(40, 20, 10, 0.55);
}

.fortune-overlay.is-open {
  display: flex;
}

.fortune-modal {
  position: relative;
  width: min(100%, 330px);
  padding: 22px 20px 20px;
  border: 4px solid #fff;
  border-radius: 30px;
  background: #fffdf6;
  box-shadow: 0 12px 0 #e0b552, 0 20px 40px rgba(100, 60, 20, 0.3);
  color: #30241d;
  text-align: center;
  animation: fortuneModalIn 0.2s ease-out;
}

@keyframes fortuneModalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fortune-page .fortune-modal-close {
  position: absolute;
  top: 9px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f3e9d7;
  color: #6b5d4d;
  font-size: 1.25rem;
  line-height: 1;
}

.fortune-page .fortune-envelope {
  display: grid;
  place-items: center;
  width: 89px;
  height: 89px;
  margin: 0 auto 12px;
  border: 5px solid #fff;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffd873, #e0b552);
  box-shadow: 0 8px 0 #b58923;
  font-size: 3.25rem;
}

.fortune-page .fortune-modal h2 {
  margin: 0;
  color: #3d282b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.fortune-page .fortune-modal > p:not(.fortune-result) {
  margin: 4px 0 16px;
  color: #806e5d;
  font-size: 0.78rem;
}

.fortune-page .fortune-modal form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fortune-page .fortune-code-input {
  width: 100%;
  min-height: 45px;
  padding: 10px 14px;
  border: 3px solid #ead6a7;
  border-radius: 16px;
  outline: none;
  background: #fffdf7;
  box-shadow: inset 0 2px 4px rgba(100, 70, 20, 0.06);
  color: #30241d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.fortune-page .fortune-code-input:focus-visible {
  border-color: #d4ae4c;
  box-shadow: 0 0 0 3px rgba(224, 181, 82, 0.18);
}

.fortune-page .fortune-win-button {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 3px solid #fff;
  border-radius: 16px;
  background: linear-gradient(145deg, #a8df7e, #65ae40);
  box-shadow: 0 5px 0 #4e8a2f;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.fortune-page .fortune-win-button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.app-body #openFortuneButton {
  min-height: 67px;
  border: 4px solid #fff;
  border-radius: 22px;
  background: linear-gradient(145deg, #e31a1a, #c11313);
  box-shadow: 0 7px 0 #8b0000, 0 12px 20px rgba(193, 19, 19, 0.25);
  color: #fff;
}

.app-body #closeFortuneButton {
  min-height: 32px;
}

.app-body #fortuneWinButton {
  min-height: 48px;
  border: 3px solid #fff;
  border-radius: 16px;
  background: linear-gradient(145deg, #a8df7e, #65ae40);
  box-shadow: 0 5px 0 #4e8a2f;
  color: #fff;
}

.fortune-page .fortune-result {
  display: none;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.fortune-page .fortune-result.is-visible {
  display: block;
}

.fortune-page .fortune-result.is-error {
  border-color: #f5a7bd;
  background: #fff0f0;
  color: #b03a5c;
}

.fortune-page .fortune-result.is-success {
  border-color: #a9d18e;
  background: #eff9e8;
  color: #417f2c;
}

@media (max-width: 600px) {
  .fortune-page .fortune-shell {
    width: 100%;
    min-height: 100vh;
    margin-top: 0;
    padding: 18px 12px 140px;
  }

  .fortune-page .fortune-header {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .fortune-page .fortune-main {
    padding-top: 8px;
  }

  .fortune-page .fortune-bottom-nav {
    bottom: 10px;
  }

  .fortune-page .fortune-support {
    right: 18px;
    bottom: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fortune-page .fortune-open-button,
  .fortune-modal {
    transition: none;
    animation: none;
  }
}

/* ---- Reward popup (shared site design: same 3D candy family as the fortune modal) ---- */
.reward-overlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(40, 20, 10, 0.55);
}

.reward-overlay.is-open {
  display: flex;
}

.reward-modal {
  position: relative;
  width: min(100%, 340px);
  padding: 26px 22px 22px;
  border: 4px solid #fff;
  border-radius: 30px;
  background: #fffdf6;
  box-shadow: 0 12px 0 var(--icon-gold), 0 20px 40px rgba(100, 60, 20, 0.3);
  color: var(--text);
  text-align: center;
  animation: rewardModalIn 0.2s ease-out;
}

@keyframes rewardModalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reward-modal.is-leaving {
  animation: rewardModalOut 0.16s ease-in forwards;
}

@keyframes rewardModalOut {
  to { opacity: 0; transform: translateY(8px) scale(0.97); }
}

.reward-badge {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 12px;
  border: 5px solid #fff;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--icon-gold), #e0b552);
  box-shadow: 0 8px 0 #b58923;
  font-size: 2.6rem;
}

.reward-modal h2 {
  margin: 0;
  color: #3d282b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.reward-amount {
  display: inline-block;
  margin: 12px auto 4px;
  padding: 8px 24px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--icon-green), #3f9e8b);
  box-shadow: 0 5px 0 #2f7d6e;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(30, 90, 80, 0.35);
}

.reward-note {
  margin: 10px 0 0;
  color: #806e5d;
  font-size: 0.82rem;
  line-height: 1.45;
}

.reward-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border: 3px solid #fff;
  border-radius: 16px;
  background: linear-gradient(145deg, #a8df7e, #65ae40);
  box-shadow: 0 5px 0 #4e8a2f;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(60, 110, 40, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.reward-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #4e8a2f;
  filter: brightness(1.05);
}

.reward-close:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #4e8a2f;
}

@media (prefers-reduced-motion: reduce) {
  .reward-modal {
    animation: none;
  }
}

/* ---- Admin dashboard refresh: full candy 3D consistency with the site ---- */
.admin-gate {
  padding: 26px 22px;
  border: 4px solid #fff;
  border-radius: 30px;
  background: var(--surface-strong);
  box-shadow: 0 10px 0 rgba(224, 181, 82, 0.5), 0 20px 40px rgba(80, 86, 91, 0.14);
}

.admin-stat-card {
  border: 3px solid rgba(255, 255, 255, 0.92);
  background: var(--panel-alt);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-deposits { box-shadow: 0 6px 0 rgba(224, 181, 82, 0.45), var(--soft-shadow); }
.stat-withdrawals { box-shadow: 0 6px 0 rgba(114, 194, 240, 0.45), var(--soft-shadow); }
.stat-users { box-shadow: 0 6px 0 rgba(101, 174, 141, 0.45), var(--soft-shadow); }
.stat-money { box-shadow: 0 6px 0 rgba(240, 150, 168, 0.45), var(--soft-shadow); }
.stat-sms { box-shadow: 0 6px 0 rgba(140, 200, 235, 0.45), var(--soft-shadow); }

.admin-stat-card:hover { transform: translateY(-2px); }

.admin-stat-icon {
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(80, 86, 91, 0.12);
}

.admin-tab {
  border: 3px solid #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-tab:hover { transform: translateY(-2px); }

.admin-tab:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(80, 86, 91, 0.12);
}

.admin-tab.is-active {
  box-shadow: 0 4px 0 #c98d12, var(--glow-pink);
}

.admin-list li {
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  background: var(--panel-alt);
  box-shadow: var(--soft-shadow);
}

.admin-user-balances span {
  border: 2px solid #fff;
  box-shadow: 0 3px 0 rgba(114, 194, 240, 0.35);
}

.history-retry {
  border: 2px solid #fff;
  box-shadow: 0 4px 0 #c98d12;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.history-retry:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #c98d12; }

.history-retry:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #c98d12;
}

.history-retry.is-danger { box-shadow: 0 4px 0 #b84a72; }
.history-retry.is-danger:hover { box-shadow: 0 6px 0 #b84a72; }
.history-retry.is-danger:active { box-shadow: 0 1px 0 #b84a72; }

/* Admin action buttons follow the site's candy panel style — no flat red. */
.admin-page .submit-btn.small-btn {
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0b429, #f59e0b);
  color: #fff8e7;
  font-weight: 700;
  box-shadow: 0 4px 0 #c98d12, var(--glow-pink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.admin-page .submit-btn.small-btn:hover {
  background: linear-gradient(135deg, #f0b429, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #c98d12, var(--glow-pink);
}

.admin-page .submit-btn.small-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #c98d12;
}

.admin-header-actions {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.admin-signout { margin-left: 2px; }

.admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.admin-adjust {
  flex: 1 1 130px;
  min-width: 120px;
}

.admin-adjust-input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #fff;
  border-radius: 14px;
  background: #fffdf6;
  box-shadow: inset 0 2px 0 rgba(80, 86, 91, 0.06), var(--soft-shadow);
  font: inherit;
  font-weight: 700;
  color: #50565b;
}

.admin-adjust-input:focus {
  outline: 3px solid var(--icon-gold);
}

.admin-confirm-overlay { z-index: 60; }

.admin-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}