[hidden]{display:none!important}
:root {
  --bg: #0d0907;
  --surface: rgba(30, 21, 16, 0.88);
  --surface-2: #211710;
  --surface-3: #2c1e14;
  --line: rgba(255, 224, 173, 0.11);
  --line-strong: rgba(255, 191, 72, 0.28);
  --gold: #ffbd3e;
  --gold-2: #ff8a1f;
  --gold-soft: #ffe0a3;
  --ore-glow: #ffd76a;
  --ore-deep: #7a3608;
  --amber: #f59e0b;
  --green: #34d399;
  --blue: #60a5fa;
  --purple: #c084fc;
  --red: #fb7185;
  --text: #fff8e9;
  --muted: #a99c8d;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  --radius: 24px;
}

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

html {
  min-height: 100%;
  background: var(--bg);
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(121, 71, 24, 0.32), transparent 42rem),
    linear-gradient(180deg, #120c08 0%, #090706 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "tnum" 1;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  border: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ui-icon {
  display: block;
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-icon.tiny {
  width: 1em;
  height: 1em;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.15;
}

.ambient-one {
  top: 7rem;
  left: -18rem;
  background: #ff961c;
}

.ambient-two {
  right: -20rem;
  bottom: 0;
  background: #8b5cf6;
}

.auth-gate {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 169, 52, 0.2), transparent 28rem),
    rgba(9, 6, 4, 0.96);
  backdrop-filter: blur(20px);
}


.auth-gate.auth-gate-loading {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 169, 52, 0.16), transparent 18rem),
    #0b0704;
}

.auth-silent-loader {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
}

.auth-silent-mark {
  position: relative;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 21px;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold-2));
  color: #2a1605;
  font-size: 1.55rem;
  box-shadow: 0 18px 48px rgba(255, 138, 31, 0.24);
  animation: auth-silent-float 1.6s ease-in-out infinite;
}

.auth-silent-ring {
  position: absolute;
  inset: 2px;
  border: 2px solid rgba(255, 196, 92, 0.12);
  border-top-color: rgba(255, 196, 92, 0.9);
  border-radius: 50%;
  animation: auth-silent-spin 0.9s linear infinite;
}

.auth-gate-error .auth-silent-loader {
  display: none;
}

@keyframes auth-silent-spin {
  to { transform: rotate(360deg); }
}

@keyframes auth-silent-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .auth-silent-mark,
  .auth-silent-ring {
    animation: none;
  }
}

.auth-gate-card {
  width: min(100%, 440px);
  padding: 30px;
  border: 1px solid rgba(78, 217, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% -10%, rgba(18, 203, 255, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(7, 20, 42, 0.98), rgba(7, 15, 30, 0.99));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.auth-gate-mark {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold-2));
  color: #2a1605;
  font-size: 1.65rem;
  box-shadow: 0 18px 45px rgba(255, 138, 31, 0.22);
}

.auth-gate-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 7vw, 2.25rem);
  letter-spacing: -0.04em;
}

.auth-gate-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-gate-card .gold-button {
  width: 100%;
  text-decoration: none;
}

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

.auth-gate-card .auth-secondary {
  border: 1px solid rgba(255, 196, 92, 0.36);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
}

.auth-error-code {
  display: block;
  margin-top: 14px;
  color: #b89d83;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  word-break: break-word;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  min-height: 100vh;
  margin: 0 auto;
  border-inline: 1px solid rgba(255, 255, 255, 0.025);
  background: rgba(10, 7, 5, 0.42);
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: calc(12px + env(safe-area-inset-top)) 18px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 10, 7, 0.82);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(22px) saturate(1.35);
}

.profile,
.top-actions,
.balance,
.section-heading,
.stat-card,
.mine-controls,
.quick-upgrade,
.subheading,
.upgrade-title,
.effect-row,
.panel-heading,
.task-item,
.task-left,
.milestone-item,
.history-item {
  display: flex;
  align-items: center;
}

.profile {
  min-width: 0;
  gap: 11px;
}

.avatar {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 128, 0.32);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(255, 200, 86, 0.24), rgba(129, 69, 20, 0.28)),
    #25170e;
  background-position: center;
  background-size: cover;
  color: var(--gold-soft);
  box-shadow: inset 0 0 18px rgba(255, 184, 61, 0.15), 0 8px 24px rgba(0, 0, 0, 0.24);
  font-size: 1.1rem;
  font-weight: 900;
}

.avatar::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid #1b120c;
  border-radius: 50%;
  background: var(--green);
  content: "";
  box-shadow: 0 0 10px var(--green);
}

.profile-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.profile-copy strong {
  overflow: hidden;
  max-width: 170px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  color: #b5a592;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.top-actions {
  justify-content: flex-end;
  gap: 7px;
}

.balance {
  gap: 7px;
  min-height: 42px;
  padding: 6px 10px 6px 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.balance-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  font-size: 0.92rem;
}

.balance > span:last-child {
  display: grid;
  gap: 1px;
}

.balance small {
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
}

.balance strong {
  font-size: 0.8rem;
  line-height: 1.1;
}

.balance-gold .balance-icon {
  background: rgba(245, 158, 11, 0.15);
  color: #ffd36f;
}

.balance-gold strong {
  color: #ffd36f;
}

.balance-energy .balance-icon {
  background: rgba(139, 92, 246, 0.16);
  color: #d8b4fe;
}

.balance-energy strong {
  color: #d8b4fe;
}

.main {
  padding: 24px 18px calc(118px + env(safe-area-inset-bottom));
}

.tab-pane {
  display: none;
  animation: pane-in 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-pane.active {
  display: block;
}

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

.section-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading > div {
  display: grid;
  gap: 6px;
}

.section-heading h1,
.section-heading h2,
.subheading h3,
.master-upgrade-card h3,
.upgrade-card h3,
.panel h3,
.ad-card h3 {
  margin: 0;
  letter-spacing: -0.035em;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.05;
}

.live-pill,
.resource-chip,
.depth-chip,
.scene-status,
.level-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 800;
}

.live-pill {
  gap: 7px;
  padding: 7px 10px;
  border-color: rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.08);
  color: #8ff0ca;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.live-pill i,
.scene-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  50% { opacity: 0.35; transform: scale(0.75); }
}

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

.stat-card {
  gap: 10px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.stat-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  font-weight: 900;
}

.stat-icon.amber {
  background: rgba(245, 158, 11, 0.13);
  color: #ffca63;
}

.stat-icon.purple {
  background: rgba(168, 85, 247, 0.13);
  color: #d8b4fe;
}

.stat-card > div:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.stat-card span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-card strong {
  overflow: hidden;
  color: var(--gold-soft);
  font-size: 0.93rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-card strong b {
  color: var(--text);
  font-size: 1rem;
}

.stat-card strong small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
}

.mine-stage {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(255, 190, 72, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 52% 36%, rgba(126, 70, 23, 0.35), transparent 48%),
    linear-gradient(180deg, #160f0b, #0a0706);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.05);
  isolation: isolate;
  cursor: pointer;
  user-select: none;
}

.mine-stage::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(100deg, transparent 0 38%, rgba(255, 215, 145, 0.035) 45%, transparent 54%),
    radial-gradient(circle at 75% 23%, rgba(255, 185, 61, 0.11), transparent 16rem);
  content: "";
  pointer-events: none;
}

.mine-stage.hit {
  animation: stage-hit 180ms ease-out;
}

@keyframes stage-hit {
  50% { transform: scale(0.997); border-color: rgba(255, 211, 116, 0.62); }
}

.stage-top {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.scene-status,
.depth-chip {
  height: 29px;
  padding: 0 10px;
  background: rgba(12, 8, 5, 0.58);
  backdrop-filter: blur(12px);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
}

.scene-status {
  gap: 7px;
  border-color: rgba(52, 211, 153, 0.2);
  color: #8ff0ca;
}

.scene-status.paused {
  border-color: rgba(251, 113, 133, 0.2);
  color: #fda4af;
}

.scene-status.paused i {
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: none;
}

.depth-chip {
  color: var(--muted);
}

.depth-chip b {
  margin-left: 5px;
  color: #f6c56e;
}

.mine-canvas-wrap {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.mine-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: manipulation;
}

.mine-loading,
.mine-fallback {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: radial-gradient(circle, #2a1a0e, #0e0906 70%);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  transition: opacity 300ms ease;
}

.mine-loading.loaded {
  opacity: 0;
  pointer-events: none;
}

.loader-nugget {
  color: var(--gold);
  font-size: 1.5rem;
  filter: drop-shadow(0 0 12px var(--gold));
  animation: loader-float 1.2s ease-in-out infinite;
}

@keyframes loader-float {
  50% { transform: translateY(-8px) rotate(20deg); }
}

.mine-fallback[hidden] {
  display: none;
}

.fallback-miner {
  font-size: 4rem;
  animation: fallback-swing 1.4s ease-in-out infinite;
}

@keyframes fallback-swing {
  50% { transform: rotate(-14deg) translateY(-4px); }
}

.stage-vignette {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 3, 2, 0.52), transparent 22%, transparent 58%, rgba(6, 4, 3, 0.92) 86%),
    radial-gradient(ellipse at 50% 48%, transparent 36%, rgba(5, 3, 2, 0.58) 100%);
  pointer-events: none;
}

.impact-flash {
  position: absolute;
  z-index: 5;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 246, 185, 0.9), rgba(255, 165, 37, 0.34) 32%, transparent 68%);
  filter: blur(2px);
  pointer-events: none;
}

.impact-flash.active {
  animation: impact-flash 420ms ease-out;
}

@keyframes impact-flash {
  0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.2); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); }
}

.floating-reward {
  position: absolute;
  z-index: 12;
  color: #ffe38d;
  text-shadow: 0 2px 8px #000, 0 0 18px #f59e0b;
  font-size: 1.04rem;
  font-weight: 900;
  pointer-events: none;
  animation: reward-float 850ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.floating-reward.critical {
  color: #f0abfc;
  font-size: 1.18rem;
  text-shadow: 0 2px 8px #000, 0 0 20px #d946ef;
}

@keyframes reward-float {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.78); }
  18% { opacity: 1; transform: translate(-50%, 0) scale(1.08); }
  100% { opacity: 0; transform: translate(-50%, -75px) scale(0.92); }
}

.mine-hud {
  position: absolute;
  z-index: 9;
  right: 15px;
  bottom: 78px;
  left: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 8px;
  pointer-events: none;
}

.mine-total,
.shift-timer {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 214, 135, 0.13);
  border-radius: 15px;
  background: rgba(17, 11, 7, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
}

.mine-total span,
.shift-timer span {
  color: #a99a87;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.mine-total strong {
  overflow: hidden;
  color: #ffd472;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-total strong small {
  font-size: 0.8rem;
}

.shift-timer strong {
  color: #e9ddcc;
  font-size: 1.02rem;
  letter-spacing: 0.07em;
}

.tap-hint {
  position: absolute;
  z-index: 10;
  right: 15px;
  bottom: 15px;
  left: 15px;
  display: flex;
  height: 53px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(255, 198, 81, 0.35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 182, 51, 0.22), rgba(175, 88, 18, 0.14));
  box-shadow: inset 0 1px rgba(255, 247, 209, 0.12), 0 10px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: 160ms ease;
}

.tap-hint:active {
  transform: scale(0.985);
}

.tap-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #ffc654;
  color: #3e2106;
  box-shadow: 0 0 20px rgba(255, 182, 52, 0.34);
  font-size: 1rem;
  font-weight: 900;
}

.tap-icon .ui-icon {
  width: 20px;
  height: 20px;
}

.tap-hint > span:last-child {
  display: grid;
  gap: 1px;
  text-align: left;
}

.tap-hint strong {
  color: #ffe6b5;
  font-size: 0.73rem;
  letter-spacing: 0.09em;
}

.tap-hint small {
  color: #c8b397;
  font-size: 0.64rem;
}

.mine-controls {
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.primary-button,
.gold-button,
.upgrade-button,
.mini-button,
.gift-form button,
.input-action button,
.ghost-button {
  cursor: pointer;
  font-weight: 850;
  letter-spacing: 0.04em;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.primary-button:active,
.gold-button:active,
.upgrade-button:active,
.mini-button:active,
.gift-form button:active,
.input-action button:active,
.ghost-button:active,
.supply-card:active {
  transform: scale(0.975);
}

.primary-button {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(251, 113, 133, 0.24);
  border-radius: 13px;
  background: rgba(251, 113, 133, 0.08);
  color: #fda4af;
  font-size: 0.68rem;
}

.primary-button.start {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.09);
  color: #8ff0ca;
}

.shift-progress {
  display: grid;
  min-width: 150px;
  flex: 1;
  gap: 6px;
}

.shift-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.shift-copy b {
  color: #d7c8b5;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #ffe190);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.48);
  transition: width 500ms linear;
}

.quick-upgrade {
  gap: 11px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(245, 158, 11, 0.07), rgba(139, 92, 246, 0.045));
}

.quick-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.14);
  color: #ffd477;
}

.quick-icon .ui-icon {
  width: 21px;
  height: 21px;
}

.quick-upgrade > div:nth-child(2) {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.quick-upgrade span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-upgrade strong {
  color: var(--gold-soft);
  font-size: 0.8rem;
}

.mini-button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 190, 71, 0.25);
  border-radius: 10px;
  background: rgba(255, 190, 71, 0.1);
  color: #ffd77e;
  font-size: 0.58rem;
}

.resource-chip {
  min-height: 34px;
  padding: 0 12px;
  background: rgba(168, 85, 247, 0.09);
  color: #e9d5ff;
  font-size: 0.72rem;
}

.resource-chip.blue {
  background: rgba(59, 130, 246, 0.09);
  color: #bfdbfe;
}

.resource-chip.green {
  background: rgba(52, 211, 153, 0.08);
  color: #a7f3d0;
}

.purple-chip {
  color: #e9d5ff;
}

.master-upgrade-card {
  position: relative;
  display: grid;
  grid-template-columns: 94px 1fr auto;
  align-items: center;
  gap: 17px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 193, 75, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 165, 32, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(54, 35, 21, 0.98), rgba(24, 16, 12, 0.96));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.05);
}

.master-upgrade-card::after {
  position: absolute;
  top: -60px;
  right: 20%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 218, 144, 0.06);
  border-radius: 50%;
  content: "";
}

.master-orbit {
  position: relative;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(255, 203, 91, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 186, 54, 0.2), rgba(89, 43, 13, 0.08) 52%, transparent 54%);
}

.master-orbit span {
  position: relative;
  z-index: 2;
  font-size: 2.4rem;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45));
}

.master-orbit span .ui-icon {
  width: 40px;
  height: 40px;
  color: #ffd06b;
}

.master-orbit i {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(255, 216, 127, 0.25);
  border-radius: 50%;
  animation: orbit-spin 8s linear infinite;
}

.master-orbit i:nth-child(2) {
  inset: 18px -5px;
  border-color: rgba(192, 132, 252, 0.18);
  animation-direction: reverse;
  animation-duration: 12s;
}

.master-orbit i:nth-child(3) {
  inset: -5px 21px;
  border-color: rgba(52, 211, 153, 0.14);
  animation-duration: 10s;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.master-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.master-copy h3 {
  font-size: 1.15rem;
}

.master-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.master-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.master-benefits span {
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: #d9c8b0;
  font-size: 0.58rem;
  font-weight: 700;
}

.gold-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid #ffd476;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffd469, #f39b20);
  color: #392006;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.55), 0 10px 24px rgba(231, 126, 15, 0.18);
  font-size: 0.68rem;
  text-shadow: 0 1px rgba(255, 255, 255, 0.23);
}

.gold-button:hover {
  filter: brightness(1.07);
}

.gold-button small {
  padding-left: 8px;
  border-left: 1px solid rgba(56, 31, 5, 0.25);
  font-size: 0.64rem;
}

.gold-button.wide {
  width: 100%;
}

.gold-button.disabled,
.gold-button:disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: #312920;
  color: #867a6c;
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
}

.subheading {
  justify-content: space-between;
  gap: 14px;
  margin: 25px 2px 12px;
}

.subheading > div {
  display: grid;
  gap: 5px;
}

.subheading h3 {
  font-size: 1.05rem;
}

.subheading > span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 750;
}

.upgrade-grid {
  display: grid;
  gap: 11px;
}

.upgrade-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.014));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.upgrade-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 178, 49, 0.21), transparent 56%),
    rgba(255, 255, 255, 0.018);
  isolation: isolate;
}

.cart-card .upgrade-art {
  background:
    radial-gradient(circle at 50% 45%, rgba(52, 211, 153, 0.17), transparent 56%),
    rgba(255, 255, 255, 0.018);
}

.lantern-card .upgrade-art {
  background:
    radial-gradient(circle at 50% 45%, rgba(192, 132, 252, 0.17), transparent 56%),
    rgba(255, 255, 255, 0.018);
}

.art-glow {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 211, 120, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.08), inset 0 0 25px rgba(245, 158, 11, 0.08);
  animation: art-pulse 3s ease-in-out infinite;
}

@keyframes art-pulse {
  50% { opacity: 0.58; transform: scale(1.12); }
}

.art-icon {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  filter: drop-shadow(0 11px 10px rgba(0, 0, 0, 0.45));
  transform: rotate(-8deg);
}

.art-icon .ui-icon {
  width: 52px;
  height: 52px;
}

.pickaxe-card .art-icon { color: #ffd06b; }
.cart-card .art-icon { color: #83e8c5; }
.lantern-card .art-icon { color: #d8b4fe; }

.upgrade-art b {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  color: rgba(255, 247, 230, 0.42);
  font-size: 0.54rem;
  letter-spacing: 0.19em;
  text-align: center;
}

.upgrade-body {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 15px;
}

.upgrade-title {
  justify-content: space-between;
  gap: 12px;
}

.upgrade-title > div {
  display: grid;
  gap: 3px;
}

.upgrade-title span {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.upgrade-title h3 {
  font-size: 0.98rem;
}

.level-tag {
  min-width: 43px;
  height: 28px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #d9c8b3 !important;
  font-size: 0.57rem !important;
  letter-spacing: 0.04em !important;
}

.upgrade-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.38;
}

.effect-row {
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.62rem;
}

.effect-row strong {
  color: #f6d394;
  font-size: 0.67rem;
}

.upgrade-button {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border: 1px solid rgba(255, 196, 79, 0.22);
  border-radius: 10px;
  background: rgba(255, 179, 38, 0.075);
  color: #f2c871;
  font-size: 0.58rem;
}

.upgrade-button span {
  color: #f8dda6;
}

.upgrade-button.insufficient {
  border-color: var(--line);
  color: #7b7166;
  background: rgba(255, 255, 255, 0.02);
}

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

.supply-card {
  position: relative;
  display: grid;
  min-height: 140px;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: 160ms ease;
}

.supply-card:hover {
  border-color: rgba(255, 196, 79, 0.26);
}

.supply-card.featured {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(155deg, rgba(168, 85, 247, 0.1), rgba(255, 255, 255, 0.025));
}

.popular-tag {
  position: absolute;
  top: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.18);
  color: #e9d5ff;
  font-size: 0.45rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.supply-icon {
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #d8b4fe;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.36));
}

.supply-icon .ui-icon {
  width: 23px;
  height: 23px;
}

.supply-card strong {
  color: #f3e8ff;
  font-size: 1rem;
}

.supply-card small {
  color: var(--muted);
  font-size: 0.58rem;
}

.supply-card b {
  margin-top: 7px;
  color: #f4ce83;
  font-size: 0.63rem;
}

.panel {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.014));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.refinery-panel {
  position: relative;
  overflow: hidden;
}

.refinery-visual {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  place-items: center;
}

.refinery-core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 68%, #ffdc68, #ff7a1a 46%, #621f09 72%);
  box-shadow: 0 0 38px rgba(255, 116, 20, 0.38);
  font-size: 1.8rem;
}

.refinery-core .ui-icon {
  width: 30px;
  height: 30px;
  color: #fff0b5;
}

.refinery-ring {
  position: absolute;
  inset: 0;
  border: 2px dotted rgba(255, 190, 69, 0.34);
  border-radius: 50%;
  animation: orbit-spin 14s linear infinite;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label,
.referral-panel label {
  color: #c7b9a9;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.field small,
.gift-panel > small {
  color: var(--muted);
  font-size: 0.6rem;
}

.field input,
.field select,
.gift-form input,
.input-action input,
.referral-panel input {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: rgba(5, 3, 2, 0.38);
  color: #f6ecdc;
  font-size: 0.8rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field select:focus,
.gift-form input:focus,
.input-action input:focus,
.referral-panel input:focus {
  border-color: rgba(255, 193, 74, 0.38);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.07);
}

.field input::placeholder,
.gift-form input::placeholder {
  color: #6d6258;
}

.input-action,
.gift-form {
  display: flex;
  gap: 8px;
}

.input-action button,
.gift-form button {
  flex: 0 0 auto;
  min-width: 84px;
  border: 1px solid rgba(255, 191, 69, 0.22);
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.08);
  color: #f4ca77;
  font-size: 0.6rem;
}

.conversion-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  margin: -2px auto 10px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.result-box {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 15px;
  background: rgba(168, 85, 247, 0.055);
}

.result-box span {
  color: var(--muted);
  font-size: 0.68rem;
}

.result-box strong {
  color: #e9d5ff;
  font-size: 1.1rem;
}

.gift-panel {
  margin-top: 12px;
}

.panel-heading {
  gap: 10px;
  margin-bottom: 14px;
}

.panel-heading > div {
  display: grid;
  gap: 3px;
}

.panel-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
}

.panel-icon .ui-icon {
  width: 20px;
  height: 20px;
}

.gift-form {
  margin-bottom: 8px;
}

.gift-form input {
  text-transform: uppercase;
}

.ad-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 23px;
  background:
    radial-gradient(circle at 8% 50%, rgba(59, 130, 246, 0.16), transparent 13rem),
    linear-gradient(135deg, rgba(27, 40, 64, 0.92), rgba(18, 15, 16, 0.96));
}

.ad-visual {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 24px;
  background: rgba(37, 99, 235, 0.13);
  isolation: isolate;
}

.ad-visual > span {
  position: relative;
  z-index: 2;
  color: #dbeafe;
  font-size: 1.4rem;
}

.ad-visual > span .ui-icon {
  width: 26px;
  height: 26px;
}

.ad-visual i {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(147, 197, 253, 0.16);
  border-radius: 50%;
  animation: art-pulse 2.2s ease-in-out infinite;
}

.ad-visual i:nth-child(3) {
  inset: -4px;
  opacity: 0.35;
  animation-delay: -1.1s;
}

.ad-copy {
  display: grid;
  gap: 5px;
}

.ad-copy h3 {
  font-size: 1.05rem;
}

.ad-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.4;
}

.ad-copy b {
  color: #bfdbfe;
}

.ad-copy small {
  color: #93a4bd;
  font-size: 0.66rem;
  line-height: 1.4;
}

.ad-provider-actions {
  display: grid;
  gap: 8px;
  min-width: 132px;
}

.ad-provider-button {
  width: 100%;
}

.ad-provider-button.alt:not(:disabled) {
  border-color: rgba(192, 132, 252, 0.38);
  background: linear-gradient(135deg, #d8b4fe, #7c3aed);
  color: #19062c;
}

.task-list,
.milestone-list,
.history-list {
  display: grid;
  gap: 8px;
}

.task-item,
.milestone-item,
.history-item {
  justify-content: space-between;
  gap: 13px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.024);
}

.task-left {
  min-width: 0;
  gap: 10px;
}

.task-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
}

.task-icon .ui-icon {
  width: 20px;
  height: 20px;
}

.task-copy,
.milestone-copy,
.history-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.task-copy strong,
.milestone-copy strong,
.history-copy strong {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-copy small,
.milestone-copy small,
.history-copy small {
  color: var(--muted);
  font-size: 0.61rem;
}

.task-action,
.milestone-action {
  min-width: 76px;
  min-height: 35px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.09);
  color: #bfdbfe;
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 800;
}

.task-action.done,
.milestone-action.done {
  border-color: rgba(52, 211, 153, 0.15);
  background: rgba(52, 211, 153, 0.06);
  color: #8fe7c3;
  cursor: default;
}

.task-action:disabled,
.milestone-action:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.referral-panel {
  text-align: center;
}

.referral-art {
  margin-bottom: 9px;
  font-size: 2.5rem;
  letter-spacing: -0.25em;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.38));
}

.referral-art > .ui-icon {
  display: inline-block;
  width: 72px;
  height: 72px;
  color: #d8b4fe;
  vertical-align: middle;
}

.referral-art span {
  position: relative;
  z-index: 2;
  display: inline-grid;
  width: 25px;
  height: 25px;
  margin: 0 8px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #3a2207;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.referral-panel h3 {
  margin: 0;
}

.referral-panel > p {
  max-width: 430px;
  margin: 7px auto 17px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.referral-panel > label {
  display: block;
  margin-bottom: 7px;
  text-align: left;
}

.ghost-button {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 1px dashed rgba(192, 132, 252, 0.24);
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.055);
  color: #d8b4fe;
  font-size: 0.62rem;
}

.milestone-item {
  position: relative;
  overflow: hidden;
}

.milestone-number {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.08);
  color: #e9d5ff;
  font-size: 0.7rem;
  font-weight: 900;
}

.milestone-copy {
  flex: 1;
}

.milestone-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.milestone-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #d8b4fe);
}

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

.withdraw-panel .field:nth-child(1),
.withdraw-panel .field:nth-child(4),
.withdraw-panel .result-box,
.withdraw-panel .gold-button {
  grid-column: 1 / -1;
}

.vnd-result {
  border-color: rgba(52, 211, 153, 0.18);
  background: rgba(52, 211, 153, 0.05);
}

.vnd-result strong {
  color: #a7f3d0;
}

.history-copy {
  flex: 1;
}

.history-amount {
  display: grid;
  gap: 4px;
  text-align: right;
}

.history-amount strong {
  color: #a7f3d0;
  font-size: 0.75rem;
}

.status {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.08);
  color: #facc6d;
  font-size: 0.53rem;
  font-weight: 800;
}

.status.success {
  background: rgba(52, 211, 153, 0.08);
  color: #86efc2;
}

.status.rejected {
  background: rgba(251, 113, 133, 0.08);
  color: #fda4af;
}

.empty-state {
  padding: 34px 15px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.bottom-nav {
  position: fixed;
  z-index: 60;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: min(100%, 900px);
  min-height: 76px;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 auto;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(14, 10, 7, 0.91);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(1.35);
}

.nav-item {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  align-content: center;
  gap: 4px;
  border-radius: 14px;
  background: transparent;
  color: #756b61;
  cursor: pointer;
  transition: 180ms ease;
}

.nav-item span {
  display: grid;
  width: 29px;
  height: 27px;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 900;
}

.nav-item span .ui-icon {
  width: 18px;
  height: 18px;
}

.nav-item small {
  overflow: hidden;
  width: 100%;
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item.active {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.11), rgba(245, 158, 11, 0.025));
  color: #ffd574;
}

.nav-item.active::before {
  position: absolute;
  top: -8px;
  width: 25px;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  content: "";
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal.active {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 2, 0.8);
  backdrop-filter: blur(10px);
  animation: fade-in 180ms ease;
}

@keyframes fade-in {
  from { opacity: 0; }
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  padding: 18px;
  border: 1px solid rgba(255, 200, 90, 0.23);
  border-radius: 24px;
  background: linear-gradient(145deg, #281b12, #130e0a);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.68);
  text-align: center;
  animation: modal-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #c5b8a8;
  cursor: pointer;
  font-size: 1.1rem;
}

.ad-player {
  position: relative;
  height: 190px;
  margin-bottom: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    radial-gradient(circle at 65% 50%, rgba(255, 169, 41, 0.25), transparent 38%),
    linear-gradient(135deg, #24150b, #090605);
}

.ad-cave {
  position: absolute;
  inset: 0;
}

.ad-miner {
  position: absolute;
  bottom: 35px;
  left: 27%;
  font-size: 3.7rem;
  animation: fallback-swing 1s ease-in-out infinite;
}

.ad-miner .ui-icon {
  width: 58px;
  height: 58px;
  color: #f4ca77;
}

.ad-gold {
  position: absolute;
  right: 23%;
  bottom: 53px;
  color: #ffcf5a;
  font-size: 2.2rem;
  filter: drop-shadow(0 0 18px #ff9d1c);
  animation: art-pulse 1.3s ease-in-out infinite;
}

.ad-gold .ui-icon {
  width: 38px;
  height: 38px;
}

.ad-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 210, 124, 0.08), transparent);
  animation: ad-scan 2.8s linear infinite;
}

@keyframes ad-scan {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

.sponsor-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: #958b7e;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}

.modal-card h3 {
  margin: 7px 0 5px;
  font-size: 1.24rem;
}

.modal-card p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 0.7rem;
}

.toast-container {
  position: fixed;
  z-index: 120;
  top: calc(88px + env(safe-area-inset-top));
  right: 14px;
  left: 14px;
  display: grid;
  width: min(calc(100% - 28px), 430px);
  gap: 8px;
  margin: 0 auto;
  pointer-events: none;
}

.toast {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(29, 21, 16, 0.94);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.38);
  color: #e9dece;
  font-size: 0.7rem;
  font-weight: 650;
  backdrop-filter: blur(18px);
  animation: toast-in 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toast::before {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.1);
  color: #bfdbfe;
  content: "i";
  font-weight: 900;
}

.toast.success::before {
  background: rgba(52, 211, 153, 0.1);
  color: #a7f3d0;
  content: "✓";
}

.toast.error::before {
  background: rgba(251, 113, 133, 0.1);
  color: #fda4af;
  content: "!";
}

.toast.warning::before {
  background: rgba(245, 158, 11, 0.1);
  color: #fcd47d;
  content: "!";
}

.toast.leaving {
  opacity: 0;
  transform: translateY(-8px);
  transition: 220ms ease;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
}


/* v4.3.0 — Đại Mỏ Hoàng Kim */
.gold-rush-theme::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(rgba(255, 196, 79, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 196, 79, 0.014) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 72%);
}

.hero-heading h1 {
  background: linear-gradient(92deg, #fff6d7, #ffc451 62%, #ff9a28);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 10px 36px rgba(255, 158, 32, 0.12);
}

.mine-command-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: -4px 0 13px;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 197, 83, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(100deg, rgba(255, 188, 62, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}

.mine-command-strip::after {
  position: absolute;
  right: -22px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 185, 45, 0.12), transparent 68%);
  content: "";
  pointer-events: none;
}

.command-emblem {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 220, 141, 0.28);
  border-radius: 13px;
  background: linear-gradient(145deg, #ffd56f, #dc7215);
  color: #3d1d03;
  box-shadow: 0 8px 26px rgba(255, 142, 27, 0.2);
}

.command-copy,
.command-metric {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.command-copy small,
.command-metric small {
  color: #9f907e;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.command-copy strong {
  overflow: hidden;
  color: #ffe2a1;
  font-size: 0.79rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-metric {
  min-width: 62px;
  padding-left: 11px;
  border-left: 1px solid rgba(255, 215, 139, 0.1);
  text-align: right;
}

.command-metric b {
  color: #ffd169;
  font-size: 0.76rem;
}

.mine-stage {
  border-color: rgba(255, 193, 69, 0.34);
  background:
    radial-gradient(circle at 74% 35%, rgba(255, 171, 36, 0.18), transparent 26%),
    radial-gradient(circle at 52% 36%, rgba(126, 70, 23, 0.4), transparent 48%),
    linear-gradient(180deg, #160e08, #080503);
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 198, 82, 0.035),
    inset 0 1px rgba(255, 255, 255, 0.06);
}

.stage-chips {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vein-chip {
  display: inline-flex;
  height: 29px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(255, 201, 91, 0.22);
  border-radius: 999px;
  background: rgba(26, 15, 7, 0.66);
  color: #bda889;
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  backdrop-filter: blur(12px);
}

.vein-chip b {
  color: #ffd977;
  font-size: 0.66rem;
}

.gold-seam {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.68;
  filter: drop-shadow(0 0 8px rgba(255, 180, 49, 0.42));
}

.gold-seam i {
  position: absolute;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffd66d 20%, #ff9f22 78%, transparent);
  transform-origin: left center;
}

.seam-one {
  top: 22%;
  right: -2%;
  width: 35%;
  height: 28%;
}

.seam-one i:nth-child(1) { top: 18%; left: 5%; width: 72%; transform: rotate(-24deg); }
.seam-one i:nth-child(2) { top: 38%; left: 24%; width: 68%; transform: rotate(31deg); }
.seam-one i:nth-child(3) { top: 55%; left: 42%; width: 42%; transform: rotate(-38deg); }

.seam-two {
  bottom: 29%;
  left: -3%;
  width: 28%;
  height: 22%;
  opacity: 0.42;
}

.seam-two i:nth-child(1) { top: 30%; left: 0; width: 88%; transform: rotate(19deg); }
.seam-two i:nth-child(2) { top: 58%; left: 38%; width: 55%; transform: rotate(-34deg); }

.tap-hint {
  background:
    linear-gradient(135deg, rgba(255, 201, 89, 0.27), rgba(157, 69, 11, 0.22)),
    rgba(22, 13, 7, 0.74);
  box-shadow:
    inset 0 1px rgba(255, 247, 209, 0.15),
    0 12px 34px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(255, 151, 30, 0.07);
}

.tap-icon {
  animation: pickaxe-ready 1.9s ease-in-out infinite;
}

@keyframes pickaxe-ready {
  0%, 100% { transform: rotate(0deg); }
  45% { transform: rotate(-7deg) translateY(-1px); }
  58% { transform: rotate(3deg); }
}

.mine-total strong {
  text-shadow: 0 0 24px rgba(255, 191, 65, 0.18);
}

@media (min-width: 700px) {
  .main {
    padding-inline: 26px;
  }

  .mine-stage {
    min-height: 590px;
  }

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

  .upgrade-card {
    grid-template-columns: 1fr;
    grid-template-rows: 140px 1fr;
  }

  .upgrade-body {
    align-content: start;
  }

  .ad-card {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .master-upgrade-card {
    grid-template-columns: 76px 1fr;
  }

  .master-orbit {
    width: 72px;
    height: 72px;
  }

  .master-upgrade-card .gold-button {
    grid-column: 1 / -1;
  }
}


@media (max-width: 620px) {
  .mine-command-strip {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .command-metric:last-child {
    display: none;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding-inline: 12px;
  }

  .profile-copy .eyebrow,
  .balance small {
    display: none;
  }

  .profile-copy strong {
    max-width: 92px;
    font-size: 0.8rem;
  }

  .avatar {
    width: 37px;
    height: 37px;
    border-radius: 12px;
  }

  .balance {
    min-height: 37px;
    padding: 5px 7px 5px 5px;
  }

  .balance-icon {
    width: 25px;
    height: 25px;
  }

  .balance strong {
    max-width: 66px;
    overflow: hidden;
    font-size: 0.68rem;
    text-overflow: ellipsis;
  }

  .main {
    padding-inline: 12px;
  }

  .stat-card {
    padding: 10px;
  }

  .stat-icon {
    display: none;
  }

  .mine-stage {
    min-height: 480px;
    border-radius: 23px;
  }

  .mine-controls {
    display: grid;
  }

  .primary-button {
    justify-content: center;
  }

  .quick-upgrade span {
    white-space: normal;
  }

  .master-upgrade-card {
    padding: 15px;
  }

  .master-copy p,
  .master-benefits {
    display: none;
  }

  .upgrade-card {
    grid-template-columns: 100px 1fr;
  }

  .upgrade-body {
    padding: 12px;
  }

  .upgrade-body p {
    display: none;
  }

  .supply-card {
    min-height: 126px;
  }

  .ad-card {
    grid-template-columns: 64px 1fr;
  }

  .ad-visual {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .ad-card .gold-button {
    grid-column: 1 / -1;
  }

  .ad-provider-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .withdraw-panel {
    grid-template-columns: 1fr;
  }

  .withdraw-panel .field,
  .withdraw-panel .result-box,
  .withdraw-panel .gold-button {
    grid-column: 1;
  }

  .bottom-nav {
    padding-inline: 4px;
  }

  .nav-item small {
    font-size: 0.42rem;
  }
}


@media (max-width: 420px) {
  .mine-command-strip {
    gap: 9px;
    padding: 10px;
  }

  .command-emblem {
    width: 36px;
    height: 36px;
  }

  .command-metric {
    min-width: 52px;
    padding-left: 8px;
  }

  .stage-chips {
    gap: 5px;
  }

  .vein-chip {
    padding: 0 7px;
  }
}

@media (max-width: 360px) {
  .profile-copy {
    display: none;
  }

  .stat-card strong {
    font-size: 0.76rem;
  }

  .mine-hud {
    grid-template-columns: 1fr;
  }

  .shift-timer {
    display: none;
  }

  .upgrade-card {
    grid-template-columns: 82px 1fr;
  }

  .art-icon {
    font-size: 2.2rem;
  }
}

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


.referral-live-panel {
  display: grid;
  gap: 12px;
  text-align: left;
}

.referral-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.referral-live-head h3 {
  margin: 3px 0 0;
}

.referral-refresh-button {
  min-width: 88px;
  min-height: 36px;
  border: 1px solid rgba(255, 193, 74, 0.26);
  border-radius: 11px;
  background: rgba(245, 158, 11, 0.08);
  color: #ffd16e;
  font-size: 0.58rem;
  font-weight: 850;
}

.referral-refresh-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.referral-live-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.referral-live-summary > div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,0.025);
}

.referral-live-summary small,
.referral-live-summary strong {
  display: block;
}

.referral-live-summary small {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 800;
}

.referral-live-summary strong {
  margin-top: 5px;
  color: #f8ead3;
  font-size: 1.05rem;
}

.referral-live-summary .valid {
  border-color: rgba(52, 211, 153, 0.18);
  background: rgba(52, 211, 153, 0.055);
}

.referral-live-summary .valid strong {
  color: #77e2b8;
}

.referral-live-summary .invalid {
  border-color: rgba(248, 113, 113, 0.18);
  background: rgba(248, 113, 113, 0.055);
}

.referral-live-summary .invalid strong {
  color: #ff9a9a;
}

.current-member-validity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  font-size: 0.62rem;
}

.current-member-validity span {
  color: var(--muted);
}

.current-member-validity strong {
  color: #f5e8d3;
}

.current-member-validity.valid {
  border-color: rgba(52, 211, 153, 0.18);
}

.current-member-validity.valid strong {
  color: #77e2b8;
}

.current-member-validity.invalid {
  border-color: rgba(248, 113, 113, 0.2);
}

.current-member-validity.invalid strong {
  color: #ff9a9a;
}

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

.referral-member-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,0.02);
}

.referral-member-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffca68, #f59e0b);
  color: #2f1904;
  font-size: 0.82rem;
  font-weight: 900;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.referral-member-copy {
  min-width: 0;
}

.referral-member-copy strong,
.referral-member-copy small {
  display: block;
}

.referral-member-copy strong {
  overflow: hidden;
  color: #f7ead7;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-member-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.56rem;
}

.referral-member-status {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.09);
  color: #7be0b9;
  font-size: 0.54rem;
  font-weight: 850;
  white-space: nowrap;
}

.referral-member-status.invalid {
  background: rgba(248, 113, 113, 0.09);
  color: #ff9b9b;
}

.referral-updated-at {
  color: #776c61;
  font-size: 0.54rem;
  text-align: right;
}

@media (max-width: 430px) {
  .referral-live-summary {
    grid-template-columns: 1fr;
  }

  .referral-member-row {
    grid-template-columns: 34px minmax(0,1fr);
  }

  .referral-member-status {
    grid-column: 2;
    justify-self: start;
  }
}

.referral-live-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.referral-live-summary .pending { border-color: rgba(96,165,250,.2); background: rgba(59,130,246,.06); }
.referral-live-summary .pending strong { color: #8bc2ff; }
.referral-member-row.pending { border-color: rgba(96,165,250,.2); background: rgba(59,130,246,.04); }
.referral-member-status.pending { background: rgba(59,130,246,.1); color: #8bc2ff; }
@media (max-width: 430px) { .referral-live-summary { grid-template-columns: 1fr 1fr; } }


.shortlink-subheading {
  margin-top: 18px;
}

.shortlink-refresh {
  min-width: 82px;
  min-height: 34px;
  border: 1px solid rgba(255, 192, 70, 0.24);
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.08);
  color: #ffd171;
  font-size: 0.56rem;
  font-weight: 850;
}

.shortlink-panel {
  display: grid;
  gap: 10px;
}

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

.shortlink-provider-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
}

.shortlink-provider-copy {
  min-width: 0;
}


.shortlink-provider-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.shortlink-provider-health {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: #d6c4a8;
  font-size: 0.45rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.shortlink-provider-health.online {
  border-color: rgba(255, 202, 88, 0.34);
  background: rgba(255, 189, 62, 0.11);
  color: #ffd777;
}

.shortlink-provider-health.degraded {
  border-color: rgba(255, 146, 42, 0.34);
  background: rgba(255, 146, 42, 0.1);
  color: #ffb35a;
}

.shortlink-provider-health.offline {
  border-color: rgba(255, 104, 104, 0.3);
  background: rgba(255, 104, 104, 0.08);
  color: #ff9a9a;
}

.shortlink-provider-card.provider-online {
  border-color: rgba(255, 189, 62, 0.28);
}

.shortlink-provider-card.provider-degraded {
  border-color: rgba(255, 143, 40, 0.32);
}

.shortlink-provider-card.provider-offline {
  border-color: rgba(255, 102, 102, 0.24);
  opacity: 0.76;
}


.shortlink-provider-copy strong,
.shortlink-provider-copy small {
  display: block;
}

.shortlink-provider-copy strong {
  color: #f7ead6;
  font-size: 0.72rem;
}

.shortlink-provider-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.57rem;
  line-height: 1.45;
}

.shortlink-provider-copy .shortlink-provider-retry-clock {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 191, 73, 0.28);
  border-radius: 999px;
  background: rgba(255, 177, 52, 0.08);
  color: #ffd47d;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.shortlink-provider-button {
  min-width: 94px;
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(145deg, #ffcb67, #f59e0b);
  color: #2e1804;
  font-size: 0.62rem;
  font-weight: 900;
}

.shortlink-provider-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.shortlink-status {
  color: #7f7469;
  font-size: 0.56rem;
  line-height: 1.5;
}

.shortlink-history {
  display: grid;
  gap: 7px;
}

.shortlink-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
  color: #d7cab8;
  font-size: 0.57rem;
}

.shortlink-history-row span {
  color: var(--muted);
}

.shortlink-history-row b {
  color: #f7dfaa;
}

.shortlink-history-row .rewarded {
  color: #6fe0b1;
}

.shortlink-history-row .pending {
  color: #ffd06d;
}

.shortlink-history-row .rejected,
.shortlink-history-row .expired {
  color: #ff9a9a;
}

@media (max-width: 420px) {
  .shortlink-provider-card {
    grid-template-columns: 1fr;
  }

  .shortlink-provider-button {
    width: 100%;
  }
}


#nav-tasks small {
  overflow: visible;
  white-space: normal;
  line-height: 1.08;
  text-overflow: clip;
}


/* Task Center v4.3.25 */
.task-center-heading {
  align-items: center;
}

.task-daily-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(43, 104, 123, 0.34);
  border-radius: 999px;
  background: #07111d;
  color: #d9e4ec;
  font-size: 0.62rem;
  font-weight: 750;
}

.task-daily-strip strong {
  color: #eef6fb;
}

.task-daily-strip i {
  color: #56677a;
  font-style: normal;
}

.task-daily-strip .positive {
  color: #31d79f;
}

.task-ad-panel {
  padding: 12px;
  border-color: rgba(0, 210, 206, 0.34);
  background: linear-gradient(160deg, rgba(7, 34, 49, 0.98), rgba(8, 24, 38, 0.98));
}

.task-panel-head,
.task-checkin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.task-panel-head > div,
.task-checkin-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-panel-head h3,
.task-panel-head small,
.task-checkin-head h3,
.task-checkin-head small {
  display: block;
  margin: 0;
}

.task-panel-head h3,
.task-checkin-head h3 {
  color: #eef8fb;
  font-size: 0.78rem;
}

.task-panel-head small,
.task-checkin-head small {
  margin-top: 3px;
  color: #8aa0af;
  font-size: 0.55rem;
  line-height: 1.4;
}

.task-panel-icon {
  color: #1ee7dc;
  font-size: 1rem;
}

.task-refresh-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(166, 190, 206, 0.25);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #edf7fb;
  font-size: 1rem;
  font-weight: 900;
}

.task-refresh-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.task-ad-note {
  margin: 10px 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 203, 94, 0.28);
  border-radius: 10px;
  background: rgba(255, 190, 65, 0.08);
  color: #f3d68f;
  font-size: 0.56rem;
  line-height: 1.45;
}

.task-ad-list {
  overflow: hidden;
  border: 1px solid rgba(29, 104, 117, 0.28);
  border-radius: 14px;
  background: rgba(5, 24, 36, 0.5);
}

.task-ad-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(43, 87, 102, 0.28);
}

.task-ad-row:last-child {
  border-bottom: 0;
}

.task-ad-row.is-complete {
  opacity: 0.72;
}

.task-ad-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(0, 219, 205, 0.36);
  border-radius: 12px;
  background: rgba(0, 202, 193, 0.11);
  color: #5cf4ea;
  font-size: 1rem;
}

.task-ad-copy {
  min-width: 0;
}

.task-ad-copy strong,
.task-ad-copy b,
.task-ad-copy small {
  display: block;
}

.task-ad-copy strong {
  color: #f1f6f8;
  font-size: 0.69rem;
}

.task-ad-copy b {
  margin-top: 2px;
  color: #ffd459;
  font-size: 0.61rem;
}

.task-ad-copy small {
  margin-top: 3px;
  color: #7f98a7;
  font-size: 0.52rem;
}

.task-ad-action {
  min-width: 102px;
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #16d7cb, #00bfae);
  color: #032924;
  font-size: 0.56rem;
  font-weight: 900;
}

.task-ad-action:disabled {
  background: #31434c;
  color: #91a4ad;
  cursor: not-allowed;
}

.task-system-status {
  display: block;
  margin-top: 9px;
  color: #708896;
  font-size: 0.54rem;
  line-height: 1.45;
}

.task-checkin-panel {
  margin-top: 14px;
  border-color: rgba(60, 84, 103, 0.28);
  background: linear-gradient(160deg, rgba(10, 24, 38, 0.98), rgba(7, 18, 30, 0.98));
}

.task-checkin-button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9c25, #f26b0b);
  color: #fff4e3;
  font-size: 0.55rem;
  font-weight: 900;
  white-space: nowrap;
}

.task-checkin-button:disabled {
  opacity: 0.78;
}

.task-checkin-button.ready {
  background: linear-gradient(135deg, #16d7cb, #00b894);
  color: #032923;
}

.task-checkin-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 13px;
}

.task-checkin-day {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 7px 4px;
  border: 1px solid rgba(51, 78, 98, 0.34);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  color: #8da0ae;
  text-align: center;
}

.task-checkin-day strong,
.task-checkin-day small {
  display: block;
}

.task-checkin-day strong {
  color: #dfe9ee;
  font-size: 0.58rem;
}

.task-checkin-day small {
  margin-top: 4px;
  color: #c8a953;
  font-size: 0.48rem;
  line-height: 1.25;
}

.task-checkin-day.active {
  border-color: rgba(0, 218, 203, 0.55);
  background: rgba(0, 210, 195, 0.08);
}

.task-checkin-day.claimed {
  border-color: rgba(52, 211, 153, 0.34);
  background: rgba(52, 211, 153, 0.08);
}

.task-checkin-day.claimed::after {
  content: "✓";
  margin-top: 4px;
  color: #65e4b4;
  font-size: 0.6rem;
  font-weight: 900;
}

.task-checkin-help {
  display: block;
  margin-top: 9px;
  color: #718694;
  font-size: 0.52rem;
  line-height: 1.45;
}

@media (max-width: 430px) {
  .task-daily-strip {
    flex-wrap: wrap;
    border-radius: 14px;
  }

  .task-panel-head,
  .task-checkin-head {
    align-items: center;
  }

  .task-ad-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .task-ad-action {
    grid-column: 2;
    width: 100%;
  }

  .task-checkin-head {
    display: grid;
  }

  .task-checkin-button {
    width: 100%;
  }

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


/* Task Center v4.3.26 — giao diện vàng nâu Đào Vàng */
#tab-tasks {
  --task-gold: #ffbd3e;
  --task-gold-light: #ffe0a3;
  --task-orange: #ff8a1f;
  --task-brown: #2a1808;
  --task-brown-dark: #120b04;
  --task-brown-soft: #3a2410;
  --task-line: rgba(255, 189, 62, 0.26);
  --task-muted: #b9a486;
}

#tab-tasks .resource-chip.blue {
  border-color: rgba(255, 189, 62, 0.32);
  background: rgba(255, 170, 42, 0.11);
  color: var(--task-gold-light);
}

#tab-tasks .task-daily-strip {
  border-color: var(--task-line);
  background:
    linear-gradient(180deg, rgba(45, 27, 9, 0.96), rgba(18, 11, 4, 0.98));
  color: #f1dfc1;
  box-shadow: inset 0 1px 0 rgba(255, 225, 165, 0.04);
}

#tab-tasks .task-daily-strip strong,
#tab-tasks .task-daily-strip b {
  color: var(--task-gold-light);
}

#tab-tasks .task-daily-strip i {
  color: #85683f;
}

#tab-tasks .task-daily-strip .positive {
  color: #ffd36f;
}

#tab-tasks .task-ad-panel {
  border-color: rgba(255, 189, 62, 0.34);
  background:
    radial-gradient(circle at 0 0, rgba(255, 183, 55, 0.08), transparent 42%),
    linear-gradient(160deg, rgba(45, 27, 10, 0.98), rgba(17, 10, 4, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 227, 171, 0.04),
    0 14px 34px rgba(13, 7, 2, 0.22);
}

#tab-tasks .task-panel-head h3,
#tab-tasks .task-checkin-head h3 {
  color: #fff2d8;
}

#tab-tasks .task-panel-head small,
#tab-tasks .task-checkin-head small {
  color: var(--task-muted);
}

#tab-tasks .task-panel-icon {
  color: var(--task-gold);
  filter: drop-shadow(0 0 8px rgba(255, 189, 62, 0.28));
}

#tab-tasks .task-refresh-button,
#tab-tasks .shortlink-refresh {
  border-color: rgba(255, 195, 75, 0.28);
  background: linear-gradient(180deg, rgba(75, 45, 16, 0.9), rgba(41, 24, 8, 0.94));
  color: var(--task-gold-light);
  box-shadow: inset 0 1px 0 rgba(255, 228, 175, 0.06);
}

#tab-tasks .task-refresh-button:hover,
#tab-tasks .shortlink-refresh:hover {
  border-color: rgba(255, 195, 75, 0.5);
  background: linear-gradient(180deg, rgba(94, 56, 18, 0.95), rgba(50, 29, 9, 0.98));
}

#tab-tasks .task-ad-note {
  border-color: rgba(255, 189, 62, 0.33);
  background: linear-gradient(90deg, rgba(255, 174, 42, 0.12), rgba(255, 189, 62, 0.05));
  color: #f2d28f;
}

#tab-tasks .task-ad-list {
  border-color: rgba(173, 112, 35, 0.35);
  background: rgba(20, 12, 5, 0.68);
  box-shadow: inset 0 0 28px rgba(255, 164, 24, 0.025);
}

#tab-tasks .task-ad-row {
  border-bottom-color: rgba(132, 86, 31, 0.32);
  background: linear-gradient(90deg, rgba(255, 188, 62, 0.018), transparent 65%);
}

#tab-tasks .task-ad-row:hover {
  background: linear-gradient(90deg, rgba(255, 188, 62, 0.07), rgba(255, 138, 31, 0.018));
}

#tab-tasks .task-ad-icon {
  border-color: rgba(255, 189, 62, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 214, 124, 0.18), rgba(255, 138, 31, 0.12));
  color: #ffd777;
  box-shadow:
    inset 0 0 15px rgba(255, 189, 62, 0.08),
    0 0 14px rgba(255, 151, 31, 0.07);
}

#tab-tasks .task-ad-copy strong {
  color: #fff0d2;
}

#tab-tasks .task-ad-copy b {
  color: #ffd15c;
}

#tab-tasks .task-ad-copy small,
#tab-tasks .task-system-status {
  color: #a99272;
}

#tab-tasks .task-ad-action {
  background: linear-gradient(145deg, var(--task-gold-light), var(--task-orange));
  color: #321a04;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 6px 16px rgba(224, 116, 16, 0.16);
}

#tab-tasks .task-ad-action:hover:not(:disabled) {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

#tab-tasks .task-ad-action:disabled {
  border: 1px solid rgba(135, 94, 48, 0.22);
  background: #3a2a1b;
  color: #9a866d;
  box-shadow: none;
}

#tab-tasks .shortlink-subheading .eyebrow {
  color: #e6b957;
}

#tab-tasks .shortlink-subheading h3 {
  color: #fff0d2;
}

#tab-tasks .shortlink-panel {
  border-color: rgba(255, 189, 62, 0.24);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 153, 27, 0.055), transparent 36%),
    linear-gradient(160deg, rgba(37, 22, 8, 0.98), rgba(16, 10, 4, 0.99));
}

#tab-tasks .shortlink-provider-card {
  border-color: rgba(147, 94, 31, 0.33);
  background: rgba(28, 17, 7, 0.8);
}

#tab-tasks .shortlink-provider-card:hover {
  border-color: rgba(255, 189, 62, 0.34);
  background: rgba(45, 27, 9, 0.88);
}

#tab-tasks .shortlink-provider-copy strong {
  color: #ffefd1;
}

#tab-tasks .shortlink-provider-copy small,
#tab-tasks .shortlink-status,
#tab-tasks .shortlink-history-row span {
  color: #a68f70;
}

#tab-tasks .shortlink-provider-button {
  background: linear-gradient(145deg, var(--task-gold-light), var(--task-orange));
  color: #321a04;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

#tab-tasks .shortlink-history-row {
  border: 1px solid rgba(122, 79, 29, 0.22);
  background: rgba(33, 20, 8, 0.75);
  color: #e8d2ae;
}

#tab-tasks .shortlink-history-row b {
  color: #ffd36f;
}

#tab-tasks .shortlink-history-row .rewarded {
  color: #ffd36f;
}

#tab-tasks .shortlink-history-row .pending {
  color: #ffb33f;
}

#tab-tasks .task-checkin-panel {
  border-color: rgba(255, 189, 62, 0.25);
  background:
    radial-gradient(circle at 0 100%, rgba(255, 177, 45, 0.07), transparent 42%),
    linear-gradient(160deg, rgba(38, 23, 9, 0.98), rgba(16, 10, 4, 0.99));
}

#tab-tasks .task-checkin-button {
  background: linear-gradient(145deg, #ffbd3e, #e86d0b);
  color: #2d1602;
  box-shadow: inset 0 1px 0 rgba(255, 240, 201, 0.25);
}

#tab-tasks .task-checkin-button.ready {
  background: linear-gradient(145deg, #ffe09a, #ff9b24);
  color: #2d1602;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 0 18px rgba(255, 166, 35, 0.15);
}

#tab-tasks .task-checkin-day {
  border-color: rgba(134, 87, 32, 0.31);
  background: rgba(35, 21, 8, 0.76);
  color: #aa9474;
}

#tab-tasks .task-checkin-day strong {
  color: #ead7b8;
}

#tab-tasks .task-checkin-day small {
  color: #d7ad55;
}

#tab-tasks .task-checkin-day.active {
  border-color: rgba(255, 189, 62, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 196, 76, 0.16), rgba(255, 133, 23, 0.075));
  box-shadow: inset 0 0 18px rgba(255, 176, 42, 0.055);
}

#tab-tasks .task-checkin-day.claimed {
  border-color: rgba(255, 208, 106, 0.42);
  background: rgba(255, 178, 45, 0.1);
}

#tab-tasks .task-checkin-day.claimed::after {
  color: #ffd777;
}

#tab-tasks .task-checkin-help {
  color: #9a8467;
}

/* v4.3.32 — quảng cáo kích hoạt ca đào */
.shift-activation-note {
  display: block;
  margin-top: 7px;
  color: rgba(255, 220, 157, 0.72);
  font-size: 0.52rem;
  line-height: 1.35;
}

.mine-controls .primary-button:disabled {
  cursor: wait;
  opacity: 0.78;
}


/* v4.3.34 — tăng độ dễ nhìn, icon rõ hơn, rút tiền đẹp hơn */
:root {
  --surface: rgba(43, 30, 22, 0.92);
  --surface-2: #2b1e16;
  --surface-3: #352418;
  --line: rgba(255, 224, 173, 0.16);
  --line-strong: rgba(255, 191, 72, 0.38);
  --gold: #ffc95c;
  --gold-2: #ff9c2f;
  --gold-soft: #ffe9b8;
  --text: #fffaf0;
  --muted: #cfbfaa;
  --shadow: 0 28px 78px rgba(0, 0, 0, 0.44);
}

body {
  background:
    radial-gradient(circle at 50% -10%, rgba(169, 96, 26, 0.42), transparent 44rem),
    linear-gradient(180deg, #16100b 0%, #0a0806 100%);
}

.app-shell {
  background:
    linear-gradient(180deg, rgba(16, 11, 8, 0.84), rgba(8, 6, 5, 0.88));
  border-inline-color: rgba(255, 255, 255, 0.04);
}

.topbar {
  background: rgba(21, 15, 10, 0.88);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}

.eyebrow,
.field label,
.referral-panel label,
.balance small,
.result-box span,
.field small,
.gift-panel > small,
.ad-copy small,
.panel-heading small,
.subheading small {
  color: #dbc8b1;
}

.section-heading h1,
.section-heading h2,
.panel h3,
.task-copy strong,
.history-copy strong,
.milestone-copy strong,
.profile-copy strong {
  color: #fff9ee;
}

.balance,
.resource-chip,
.panel,
.task-item,
.milestone-item,
.history-item,
.result-box,
.field input,
.field select,
.gift-form input,
.input-action input,
.referral-panel input {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 10px 28px rgba(0, 0, 0, 0.12);
}

.balance {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 224, 173, 0.18);
}

.balance-icon,
.panel-icon,
.task-icon,
.milestone-number,
.ad-visual,
.referral-art {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 10px 24px rgba(0, 0, 0, 0.15);
}

.balance-icon {
  width: 30px;
  height: 30px;
}

.balance-icon .ui-icon,
.panel-icon .ui-icon,
.task-icon .ui-icon,
.nav-item span .ui-icon,
.withdraw-hero-mark .ui-icon {
  stroke-width: 2.15;
}

.panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 224, 173, 0.15);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 18px 44px rgba(0, 0, 0, 0.16);
}

.field input,
.field select,
.gift-form input,
.input-action input,
.referral-panel input {
  min-height: 49px;
  border-color: rgba(255, 224, 173, 0.14);
  background: linear-gradient(145deg, rgba(12, 9, 7, 0.82), rgba(20, 14, 10, 0.9));
  color: #fff7e8;
}

.field input::placeholder,
.gift-form input::placeholder {
  color: #988a7a;
}

.input-action button,
.gift-form button {
  border-color: rgba(255, 191, 69, 0.32);
  background: linear-gradient(135deg, rgba(255, 196, 92, 0.16), rgba(255, 157, 47, 0.14));
  color: #ffe0a3;
  font-weight: 800;
}

.gold-button {
  background: linear-gradient(135deg, #ffd36d, #ff9a2c);
  color: #271405;
  box-shadow: 0 16px 34px rgba(255, 156, 47, 0.25);
}

.gold-button:hover {
  filter: brightness(1.03);
}

.bottom-nav {
  background: rgba(17, 12, 8, 0.92);
  border-top-color: rgba(255, 224, 173, 0.12);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.28);
}

.nav-item {
  gap: 5px;
  color: #c6b39c;
}

.nav-item span {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 224, 173, 0.13);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  color: #f1d39a;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.nav-item small {
  color: #cfbcaa;
}

.nav-item.active {
  color: #fff3d4;
}

.nav-item.active span {
  border-color: rgba(255, 201, 92, 0.34);
  background: linear-gradient(145deg, rgba(255, 211, 109, 0.22), rgba(255, 156, 47, 0.14));
  color: #ffd978;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(255, 156, 47, 0.16);
}

.nav-item[data-tab="tab-refinery"] span {
  color: #ffbe77;
}

.nav-item[data-tab="tab-tasks"] span {
  color: #8ef1db;
}

.nav-item[data-tab="tab-team"] span {
  color: #cdb0ff;
}

.nav-item[data-tab="tab-withdraw"] span {
  color: #8ef0b6;
}

.history-item,
.task-item,
.milestone-item {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  border-color: rgba(255, 224, 173, 0.13);
}

.history-item {
  position: relative;
  overflow: hidden;
  min-height: 74px;
}

.history-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ffd66f, #ff9c2c);
  opacity: 0.9;
}

.status {
  padding: 4px 9px;
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.withdraw-panel {
  gap: 14px;
}

.withdraw-panel .field,
.withdraw-panel .result-box {
  margin-bottom: 0;
}

.withdraw-hero {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 191, 72, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at right top, rgba(52, 211, 153, 0.1), transparent 30%),
    radial-gradient(circle at left center, rgba(255, 201, 92, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(27, 22, 16, 0.95), rgba(17, 13, 10, 0.95));
  overflow: hidden;
}

.withdraw-hero-mark {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(134, 239, 194, 0.18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.16), rgba(16, 185, 129, 0.08));
  color: #b6f6d6;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.18);
}

.withdraw-hero-mark .ui-icon {
  width: 33px;
  height: 33px;
}

.withdraw-hero-copy {
  display: grid;
  align-content: start;
  gap: 5px;
}

.withdraw-hero-copy h3 {
  margin: 0;
  font-size: 1.08rem;
}

.withdraw-hero-copy p {
  margin: 0;
  color: #d1c0ad;
  font-size: 0.7rem;
  line-height: 1.5;
}

.withdraw-hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.withdraw-stat-chip {
  display: grid;
  gap: 3px;
  min-height: 62px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 224, 173, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.withdraw-stat-chip small {
  color: #cbb9a3;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.withdraw-stat-chip strong {
  color: #fff5dc;
  font-size: 0.78rem;
  line-height: 1.35;
}

.withdraw-panel .field {
  padding: 14px;
  border: 1px solid rgba(255, 224, 173, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.028);
}

.withdraw-panel .field label::before {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 201, 92, 0.16);
  color: #ffd877;
  content: "•";
  font-size: 0.75rem;
  line-height: 1;
  vertical-align: middle;
}

.withdraw-panel .field:nth-of-type(2) label::before { content: "⌂"; }
.withdraw-panel .field:nth-of-type(3) label::before { content: "#"; }
.withdraw-panel .field:nth-of-type(4) label::before { content: "✓"; }
.withdraw-panel .field:nth-of-type(5) label::before { content: "₫"; }

.vnd-result {
  min-height: 76px;
  padding: 15px 16px;
  border-color: rgba(52, 211, 153, 0.24);
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.11), rgba(9, 60, 43, 0.16));
}

.vnd-result strong {
  color: #c5fde2;
  font-size: 1.22rem;
}

.history-subheading {
  justify-content: space-between;
}

#withdraw-history-count {
  white-space: nowrap;
}

.empty-state {
  border: 1px dashed rgba(255, 224, 173, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: #d4c3ae;
}

@media (max-width: 760px) {
  .withdraw-hero {
    grid-template-columns: 60px 1fr;
  }

  .withdraw-hero-mark {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .withdraw-hero-mark .ui-icon {
    width: 28px;
    height: 28px;
  }

  .withdraw-hero-stats {
    grid-template-columns: 1fr;
  }

  .nav-item span {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }
}

/* v4.3.35 — lịch sử hoạt động cộng đồng toàn Mini App */
.community-activity-panel {
  margin-top: 14px;
  border-color: rgba(255, 201, 92, 0.22);
  background:
    radial-gradient(circle at 100% 0, rgba(192, 132, 252, 0.08), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(255, 185, 55, 0.08), transparent 38%),
    linear-gradient(155deg, rgba(38, 27, 19, 0.97), rgba(16, 12, 9, 0.99));
}

.community-activity-head,
.community-activity-heading,
.community-activity-summary,
.community-activity-row,
.community-activity-copy > div:first-child {
  display: flex;
  align-items: center;
}

.community-activity-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.community-activity-heading {
  min-width: 0;
  gap: 10px;
}

.community-activity-heading h3 {
  margin: 3px 0 0;
}

.community-live-dot {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 2px solid rgba(11, 21, 15, 0.9);
  border-radius: 50%;
  background: #46e4a7;
  box-shadow: 0 0 0 4px rgba(70, 228, 167, 0.11), 0 0 18px rgba(70, 228, 167, 0.45);
}

.community-live-dot::after {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(70, 228, 167, 0.28);
  border-radius: inherit;
  content: "";
  animation: community-live-pulse 1.8s ease-out infinite;
}

@keyframes community-live-pulse {
  0% { opacity: 0.9; transform: scale(0.65); }
  100% { opacity: 0; transform: scale(1.45); }
}

.community-activity-note {
  margin: 0 0 12px;
  color: #c9b7a0;
  font-size: 0.65rem;
  line-height: 1.55;
}

.community-activity-filters {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.community-activity-filters::-webkit-scrollbar {
  display: none;
}

.community-activity-filters button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 224, 173, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #cdbba4;
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.community-activity-filters button.active {
  border-color: rgba(255, 202, 92, 0.38);
  background: linear-gradient(145deg, rgba(255, 210, 112, 0.2), rgba(255, 146, 38, 0.12));
  color: #ffe4a4;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 7px 18px rgba(255, 146, 38, 0.1);
}

.community-activity-summary {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 224, 173, 0.09);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  color: #c5b29a;
  font-size: 0.58rem;
}

.community-activity-summary b {
  color: #ffd876;
}

.community-activity-summary small {
  color: #a99379;
  font-size: 0.54rem;
  text-align: right;
}

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

.community-activity-row {
  position: relative;
  min-width: 0;
  gap: 11px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 224, 173, 0.11);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.014));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.community-activity-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #f7c948;
  content: "";
}

.community-activity-row.category-mining::before { background: #ffb14f; }
.community-activity-row.category-upgrade::before { background: #d4a6ff; }
.community-activity-row.category-task::before { background: #59dec0; }
.community-activity-row.category-finance::before { background: #79d89e; }
.community-activity-row.own {
  border-color: rgba(255, 202, 92, 0.25);
  background: linear-gradient(145deg, rgba(255, 202, 92, 0.075), rgba(255, 255, 255, 0.016));
}

.community-activity-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 214, 132, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 207, 105, 0.2), rgba(117, 62, 21, 0.2)),
    #25180f;
  color: #ffe2a3;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 9px 20px rgba(0, 0, 0, 0.17);
}

.community-activity-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 224, 173, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
  color: #f8cc76;
}

.community-activity-icon .ui-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.15;
}

.category-upgrade .community-activity-icon { color: #d9b4ff; }
.category-task .community-activity-icon { color: #8cf0d8; }
.category-finance .community-activity-icon { color: #9cf0b9; }

.community-activity-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.community-activity-copy > div:first-child {
  min-width: 0;
  justify-content: space-between;
  gap: 8px;
}

.community-activity-copy strong {
  overflow: hidden;
  color: #fff5df;
  font-size: 0.69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-activity-copy time {
  flex: 0 0 auto;
  color: #9f8c74;
  font-size: 0.52rem;
  white-space: nowrap;
}

.community-activity-copy p {
  margin: 0;
  color: #d6c4ae;
  font-size: 0.64rem;
  line-height: 1.45;
}

.community-activity-copy p b {
  color: #ffd879;
  font-weight: 850;
}

.community-activity-copy small {
  color: #a9957e;
  font-size: 0.56rem;
  line-height: 1.35;
}

.community-own-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 6px;
  padding: 0 7px;
  border: 1px solid rgba(255, 202, 92, 0.24);
  border-radius: 999px;
  background: rgba(255, 202, 92, 0.09);
  color: #ffdd8c;
  font-size: 0.47rem;
  font-weight: 900;
  vertical-align: middle;
}

.community-load-more {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid rgba(255, 202, 92, 0.22);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 202, 92, 0.1), rgba(255, 145, 37, 0.06));
  color: #f6cc78;
  font-size: 0.58rem;
  font-weight: 900;
}

.community-load-more:disabled,
#btn-refresh-community-activity:disabled {
  opacity: 0.55;
}

@media (max-width: 560px) {
  .community-activity-row {
    align-items: flex-start;
    gap: 9px;
    padding: 11px 10px;
  }

  .community-activity-avatar {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .community-activity-icon {
    width: 31px;
    height: 31px;
  }

  .community-activity-copy > div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .community-activity-copy time {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-live-dot::after {
    animation: none;
  }
}


/* v4.3.36 — sửa menu chọn ngân hàng nền trắng trên Chromium/Telegram */
#withdraw-bank {
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 46px;
  border-color: rgba(255, 197, 76, 0.34);
  background-color: #17100b;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffd36f 50%),
    linear-gradient(135deg, #ffd36f 50%, transparent 50%),
    linear-gradient(145deg, rgba(17, 12, 8, 0.98), rgba(28, 18, 11, 0.98));
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 14px) 21px,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  color: #fff8e8;
  font-weight: 800;
  cursor: pointer;
}

#withdraw-bank:hover {
  border-color: rgba(255, 202, 92, 0.52);
}

#withdraw-bank:focus {
  border-color: rgba(255, 204, 102, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 177, 45, 0.11),
    inset 0 1px rgba(255, 255, 255, 0.05);
}

#withdraw-bank option,
#withdraw-bank optgroup {
  background-color: #1a120c !important;
  color: #fff7e6 !important;
  font-weight: 700;
}

#withdraw-bank option:checked,
#withdraw-bank option:hover,
#withdraw-bank option:focus {
  background-color: #8b5717 !important;
  color: #fff7da !important;
}

@media (forced-colors: active) {
  #withdraw-bank {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
    padding-right: 13px;
  }
}

/* v4.3.38 — mã xác nhận bắt buộc sau khi vượt link */
.shortlink-claim-box {
  display: grid;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(255, 193, 74, 0.34);
  border-radius: 15px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 189, 62, 0.11), transparent 44%),
    linear-gradient(145deg, rgba(56, 34, 11, 0.94), rgba(24, 14, 5, 0.96));
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.shortlink-claim-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shortlink-claim-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 208, 106, 0.34);
  border-radius: 12px;
  background: rgba(255, 189, 62, 0.13);
  color: #ffd777;
  font-size: 1rem;
  font-weight: 950;
}

.shortlink-claim-head > div {
  min-width: 0;
}

.shortlink-claim-head strong,
.shortlink-claim-head small {
  display: block;
}

.shortlink-claim-head strong {
  color: #fff0cf;
  font-size: .72rem;
}

.shortlink-claim-head small,
#shortlink-claim-help {
  margin-top: 4px;
  color: #b59c78;
  font-size: .57rem;
  line-height: 1.45;
}

.shortlink-claim-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
}

#shortlink-claim-code {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(255, 201, 92, 0.28);
  border-radius: 12px;
  outline: 0;
  background: rgba(8, 5, 2, .62);
  color: #ffe09a;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

#shortlink-claim-code:focus {
  border-color: rgba(255, 211, 109, .62);
  box-shadow: 0 0 0 3px rgba(255, 189, 62, .08);
}

#btn-shortlink-claim {
  min-width: 104px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffe09a, #ff981f);
  color: #2d1703;
  font-size: .61rem;
  font-weight: 950;
}

#btn-shortlink-claim:disabled {
  opacity: .48;
}

.shortlink-history-row .opened {
  color: #ffe07d;
}

@media (max-width: 420px) {
  .shortlink-claim-form {
    grid-template-columns: 1fr;
  }

  #btn-shortlink-claim {
    width: 100%;
  }
}


/* v4.3.40 — referral count clarity */
.referral-live-summary > div > em {
  display: block;
  margin-top: 3px;
  color: #9f8d78;
  font-size: 0.5rem;
  font-style: normal;
  line-height: 1.25;
}


/* v4.3.42 — điều kiện F do Admin cấu hình */
.referral-requirements-panel {
  display: grid;
  gap: 11px;
  text-align: left;
  border-color: rgba(255, 191, 72, 0.24);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 191, 72, 0.08), transparent 38%),
    linear-gradient(145deg, rgba(45, 28, 12, 0.88), rgba(20, 14, 9, 0.94));
}

.referral-requirements-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.referral-requirements-head h3 {
  margin: 4px 0 0;
  color: #fff5df;
}

.referral-rules-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.referral-rules-list span {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255, 213, 126, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: #ead7b6;
  font-size: 0.62rem;
  font-weight: 720;
  line-height: 1.4;
}

.referral-requirements-panel > small {
  color: #b7a48a;
  font-size: 0.58rem;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .referral-rules-list {
    grid-template-columns: 1fr;
  }
}

/* v4.3.44 — kiểm tra ngân hàng & rút tiền trực tiếp */
.withdraw-bank-check-field {
  grid-column: 1 / -1;
}

.bank-check-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

#btn-verify-bank {
  min-width: 104px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.18), rgba(16, 185, 129, 0.1));
  color: #bcf8dc;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

#btn-verify-bank:disabled {
  opacity: 0.6;
}

.withdraw-bank-check-status {
  display: block;
  margin-top: 8px;
  color: #c9b79f;
  line-height: 1.45;
}

.withdraw-bank-check-status.checking {
  color: #ffd36f;
}

.withdraw-bank-check-status.verified {
  color: #aef3d2;
}

.withdraw-bank-check-status.failed {
  color: #ff9b9b;
}

#withdraw-name[readonly] {
  border-color: rgba(52, 211, 153, 0.18);
  background: linear-gradient(145deg, rgba(16, 62, 47, 0.12), rgba(17, 13, 10, 0.9));
  color: #c6f8df;
}

@media (max-width: 520px) {
  .bank-check-action {
    grid-template-columns: 1fr;
  }

  #btn-verify-bank {
    min-height: 44px;
    width: 100%;
  }
}

/* v4.3.45 — rút tiền gọn + chuyển khoản VietQR phía Admin */
.withdraw-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.withdraw-panel .withdraw-hero {
  grid-column: 1 / -1;
}

.withdraw-panel > .field {
  grid-column: auto !important;
  min-width: 0;
  padding: 15px 16px;
  border-color: rgba(255, 213, 126, 0.14);
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 193, 69, 0.045), transparent 42%),
    rgba(255, 255, 255, 0.025);
}

.withdraw-panel > .field:focus-within {
  border-color: rgba(255, 201, 92, 0.34);
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 0 0 3px rgba(255, 183, 62, 0.055);
}

.withdraw-panel > .field label {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
  color: #ead9bf;
  font-size: .7rem;
}

.withdraw-panel > .field small {
  display: block;
  margin-top: 7px;
  color: #a99781;
  font-size: .58rem;
  line-height: 1.35;
}

.withdraw-account-field input,
.withdraw-holder-field input {
  letter-spacing: .015em;
}

.withdraw-transfer-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(74, 222, 128, .2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 3% 0%, rgba(74, 222, 128, .11), transparent 35%),
    linear-gradient(145deg, rgba(17, 57, 39, .36), rgba(14, 17, 13, .76));
}

.withdraw-transfer-preview > div {
  display: grid;
  gap: 4px;
  min-height: 62px;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.withdraw-transfer-preview small {
  color: #aebaa7;
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.withdraw-transfer-preview strong {
  color: #f8f1e5;
  font-size: .72rem;
  line-height: 1.35;
}

#vnd-converted-val {
  color: #a8ffd2;
  font-size: 1.08rem;
}

.withdraw-submit-button {
  grid-column: 1 / -1;
  display: grid;
  gap: 2px;
  min-height: 58px;
  place-items: center;
  padding: 10px 18px;
}

.withdraw-submit-button span {
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .03em;
}

.withdraw-submit-button small {
  color: rgba(39, 20, 5, .72);
  font-size: .54rem;
  font-weight: 800;
}

@media (max-width: 720px) {
  .withdraw-panel {
    grid-template-columns: 1fr;
  }

  .withdraw-panel > .field,
  .withdraw-transfer-preview,
  .withdraw-submit-button {
    grid-column: 1;
  }

  .withdraw-transfer-preview {
    grid-template-columns: 1fr;
  }
}

/* v4.3.52 — Trung tâm Hỗ trợ Mini App */
.support-subheading{align-items:center}.support-center-panel{display:grid;gap:16px}.support-center-head{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;padding:14px;border:1px solid rgba(255,203,96,.16);border-radius:17px;background:linear-gradient(145deg,rgba(255,196,81,.07),rgba(255,255,255,.02))}.support-center-head .panel-icon{width:48px;height:48px}.support-center-head strong,.support-center-head small{display:block}.support-center-head strong{color:#fff5df;font-size:.92rem}.support-center-head small{margin-top:5px;color:#c9b7a2;font-size:.65rem;line-height:1.5}.support-create-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.support-create-form .field{margin:0}.support-message-field{grid-column:1/-1}.support-create-form textarea,.support-reply-form textarea{width:100%;padding:12px 13px;border:1px solid rgba(255,224,173,.14);border-radius:14px;outline:0;resize:vertical;background:linear-gradient(145deg,rgba(12,9,7,.82),rgba(20,14,10,.9));color:#fff7e8;font:inherit;font-size:.72rem;line-height:1.55}.support-create-form textarea:focus,.support-reply-form textarea:focus{border-color:rgba(255,201,92,.44);box-shadow:0 0 0 3px rgba(255,201,92,.07)}.support-ticket-section{display:grid;gap:9px;padding-top:3px}.support-ticket-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.support-ticket-title span{color:#e5d2b9;font-size:.63rem;font-weight:900;letter-spacing:.08em}.support-ticket-title button{min-height:31px;padding:0 10px;border:1px solid rgba(255,201,92,.2);border-radius:9px;background:rgba(255,201,92,.06);color:#ffd777;font-size:.58rem;font-weight:900}.support-ticket-list{display:grid;gap:8px}.support-ticket-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:12px 13px;border:1px solid rgba(255,224,173,.12);border-radius:14px;background:rgba(255,255,255,.025);color:inherit;text-align:left}.support-ticket-card.unread{border-color:rgba(52,211,153,.26);background:rgba(52,211,153,.045)}.support-ticket-card strong,.support-ticket-card small{display:block}.support-ticket-card strong{color:#fff5df;font-size:.76rem}.support-ticket-card small{margin-top:4px;color:#ae9d8c;font-size:.58rem}.support-ticket-card span{padding:5px 8px;border-radius:999px;background:rgba(255,196,81,.09);color:#ffd777;font-size:.53rem;font-weight:900}.support-ticket-card span.waiting_user{background:rgba(52,211,153,.1);color:#a7f3d0}.support-ticket-card span.closed{background:rgba(148,163,184,.09);color:#b8c3cf}.support-thread{display:grid;gap:10px;padding:13px;border:1px solid rgba(255,201,92,.16);border-radius:16px;background:rgba(0,0,0,.12)}.support-thread-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.support-thread-head small,.support-thread-head strong{display:block}.support-thread-head small{color:#b7a68f;font-size:.54rem}.support-thread-head strong{margin-top:3px;color:#fff2d7;font-size:.82rem}.support-thread-status{padding:5px 8px;border-radius:999px;background:rgba(255,201,92,.1);color:#ffd777;font-size:.52rem;font-weight:900}.support-thread-status.waiting_user{background:rgba(52,211,153,.1);color:#a7f3d0}.support-thread-status.closed{background:rgba(148,163,184,.09);color:#b8c3cf}.support-thread-messages{display:grid;gap:8px;max-height:360px;overflow:auto;padding:4px 2px}.support-message{display:grid;gap:4px;max-width:88%;padding:10px 11px;border:1px solid rgba(255,224,173,.11);border-radius:13px;background:rgba(255,255,255,.03)}.support-message.user{margin-left:auto;border-color:rgba(255,201,92,.18);background:rgba(255,201,92,.07)}.support-message.admin{margin-right:auto;border-color:rgba(52,211,153,.2);background:rgba(52,211,153,.055)}.support-message.system{max-width:100%;border-style:dashed;text-align:center}.support-message b{color:#f7e8ce;font-size:.59rem}.support-message p{margin:0;white-space:pre-wrap;color:#f5eee5;font-size:.7rem;line-height:1.55}.support-message small{color:#9e8f80;font-size:.52rem}.support-reply-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}.support-reply-form button{min-height:46px;padding:0 13px;border:1px solid rgba(52,211,153,.25);border-radius:12px;background:rgba(52,211,153,.11);color:#b7f7d8;font-size:.61rem;font-weight:900}.support-reply-form button:disabled{opacity:.45}.support-center-panel.support-disabled .support-create-form{display:none}.support-center-panel.support-disabled #support-live-badge{background:rgba(148,163,184,.1);color:#bbc6d1}@media(max-width:680px){.support-create-form{grid-template-columns:1fr}.support-message-field{grid-column:auto}.support-reply-form{grid-template-columns:1fr}.support-reply-form button{width:100%}.support-message{max-width:94%}}

/* v4.3.53 — nhiệm vụ tên Telegram + cổng quảng cáo */
.task-name-boost-panel{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin-top:16px;
  border-color:rgba(255,201,92,.24);
  background:linear-gradient(145deg,rgba(255,201,92,.075),rgba(255,255,255,.022));
}
.task-name-boost-icon{
  display:grid;
  width:58px;
  height:58px;
  place-items:center;
  border:1px solid rgba(255,201,92,.28);
  border-radius:18px;
  background:rgba(255,201,92,.11);
  color:#ffd978;
  font-weight:950;
  font-size:1.08rem;
}
.task-name-boost-copy{display:grid;gap:4px;min-width:0}
.task-name-boost-copy h3{margin:0;color:#fff6df;font-size:.94rem}
.task-name-boost-copy p{margin:0;color:#d2c0aa;font-size:.67rem;line-height:1.48}
.task-name-boost-copy small{color:#a9957d;font-size:.61rem}
.task-name-suggestion{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:5px;padding:8px 9px;border:1px solid rgba(255,201,92,.16);border-radius:11px;background:rgba(255,201,92,.055)}
.task-name-suggestion>span{color:#b89d73;font-size:.51rem;font-weight:900;letter-spacing:.08em}
.task-name-suggestion>strong{overflow:hidden;color:#ffe6a8;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap;user-select:text}
.task-name-suggestion>button{min-height:29px;padding:0 9px;border:1px solid rgba(255,201,92,.28);border-radius:8px;background:rgba(255,201,92,.11);color:#ffd670;font-size:.55rem;font-weight:950;cursor:pointer}
.task-name-suggestion>button:active{transform:translateY(1px)}
.task-name-boost-panel.is-active{border-color:rgba(52,211,153,.34);background:linear-gradient(145deg,rgba(52,211,153,.09),rgba(255,255,255,.02))}
.task-name-boost-panel.is-active .task-name-boost-icon{border-color:rgba(52,211,153,.28);background:rgba(52,211,153,.12);color:#a7f3d0}
.task-name-boost-panel.is-active .task-name-boost-copy small{color:#9cf0c8}
.task-name-boost-button{
  min-height:42px;
  padding:0 15px;
  border:1px solid rgba(255,201,92,.28);
  border-radius:12px;
  background:linear-gradient(135deg,rgba(255,211,109,.18),rgba(255,156,47,.13));
  color:#ffe0a1;
  font-size:.62rem;
  font-weight:900;
}
.task-name-boost-panel.is-active .task-name-boost-button{border-color:rgba(52,211,153,.3);background:rgba(52,211,153,.12);color:#baf7da}
.withdraw-ad-gate-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border:1px solid rgba(255,201,92,.18);
  border-radius:14px;
  background:rgba(255,201,92,.045);
}
.withdraw-ad-gate-note b{color:#ffd978;font-size:.66rem}
.withdraw-ad-gate-note span{color:#cab8a3;font-size:.62rem;text-align:right}
.withdraw-ad-gate-note.is-off{border-color:rgba(52,211,153,.18);background:rgba(52,211,153,.04)}
.withdraw-ad-gate-note.is-off b{color:#a7f3d0}
@media(max-width:640px){
  .task-name-boost-panel{grid-template-columns:auto 1fr}
  .task-name-boost-button{grid-column:1/-1;width:100%}
  .withdraw-ad-gate-note{align-items:flex-start;flex-direction:column}
  .withdraw-ad-gate-note span{text-align:left}
}

/* v4.3.54 — support presence & identity */
.support-live-note{display:block;margin-top:4px;color:#a99680;font-size:.55rem;line-height:1.4}.support-user-identity{display:inline-flex;margin-top:7px;padding:5px 8px;border:1px solid rgba(52,211,153,.16);border-radius:9px;background:rgba(52,211,153,.055);color:#b8efd5;font-size:.56rem;line-height:1.4}.resource-chip.support-offline{border-color:rgba(248,113,113,.2);background:rgba(248,113,113,.08);color:#fca5a5}.support-center-panel.support-offline-panel{border-color:rgba(255,201,92,.16)}.support-center-panel.support-offline-panel .support-center-head{border-color:rgba(248,113,113,.14);background:linear-gradient(145deg,rgba(248,113,113,.04),rgba(255,255,255,.02))}


/* v4.3.55 — ép menu select Mini App sang giao diện tối */
#support-category,
.support-create-form select,
.tab-pane .field select {
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  border-color: rgba(255, 197, 76, 0.32);
  background-color: #17100b !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffd36f 50%),
    linear-gradient(135deg, #ffd36f 50%, transparent 50%),
    linear-gradient(145deg, rgba(17, 12, 8, 0.99), rgba(28, 18, 11, 0.99));
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  color: #fff8e8 !important;
  font-weight: 750;
  cursor: pointer;
}

#support-category:hover,
.support-create-form select:hover,
.tab-pane .field select:hover {
  border-color: rgba(255, 202, 92, 0.52);
}

#support-category:focus,
.support-create-form select:focus,
.tab-pane .field select:focus {
  border-color: rgba(255, 204, 102, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 177, 45, 0.11),
    inset 0 1px rgba(255, 255, 255, 0.05);
}

#support-category option,
#support-category optgroup,
.support-create-form select option,
.support-create-form select optgroup,
.tab-pane .field select option,
.tab-pane .field select optgroup {
  color-scheme: dark;
  background: #1a120c !important;
  background-color: #1a120c !important;
  color: #fff7e6 !important;
  font-weight: 700;
}

#support-category option:checked,
#support-category option:hover,
#support-category option:focus,
.support-create-form select option:checked,
.support-create-form select option:hover,
.support-create-form select option:focus,
.tab-pane .field select option:checked,
.tab-pane .field select option:hover,
.tab-pane .field select option:focus {
  background: #8b5717 !important;
  background-color: #8b5717 !important;
  color: #fff7da !important;
}

@media (forced-colors: active) {
  #support-category,
  .support-create-form select,
  .tab-pane .field select {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
    padding-right: 13px;
  }
}


/* v4.3.56 — hồ sơ kết nối khi bấm avatar */
.avatar-button {
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

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

.avatar-button:active {
  transform: scale(0.96);
}

.profile-network-card {
  width: min(100%, 470px);
  padding: 20px;
  text-align: left;
}

.profile-network-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 34px;
  margin-bottom: 14px;
}

.profile-network-head h3 {
  margin: 3px 0 2px;
  color: #fff7e9;
  font-size: 1.08rem;
}

.profile-network-head p {
  margin: 0;
  color: #c9b79f;
  font-size: 0.68rem;
}

.profile-network-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 210, 112, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 200, 86, 0.24), rgba(129, 69, 20, 0.28)),
    #25170e;
  background-position: center;
  background-size: cover;
  color: #ffe3a6;
  font-size: 1.25rem;
  font-weight: 900;
}

.profile-network-loading {
  padding: 14px;
  border: 1px dashed rgba(255, 213, 133, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: #cbb9a3;
  font-size: 0.68rem;
  text-align: center;
}

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

.profile-network-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 218, 146, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.profile-network-grid > div.profile-network-highlight {
  border-color: rgba(255, 190, 72, 0.28);
  background: linear-gradient(145deg, rgba(255, 194, 72, 0.1), rgba(255, 255, 255, 0.02));
}

.profile-network-grid small {
  display: block;
  margin-bottom: 5px;
  color: #a9967e;
  font-size: 0.53rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.profile-network-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: #fff3d5;
  font-size: 0.76rem;
  line-height: 1.35;
}

.profile-network-highlight strong {
  color: #ffd875;
  font-size: 0.84rem;
}

.profile-network-note {
  margin: 12px 2px 0 !important;
  color: #9f907f !important;
  font-size: 0.58rem !important;
  line-height: 1.45;
  text-align: left;
}

@media (max-width: 460px) {
  .profile-network-card { padding: 17px; }
  .profile-network-grid { grid-template-columns: 1fr; }
}


/* v4.3.66 - Lịch sử quảng cáo Mini App đồng bộ MySQL */
.task-ad-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 2px 7px;
  color: #d8e4e8;
  font-size: 0.58rem;
}
.task-ad-history-head span {
  color: #64dccc;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.task-ad-history {
  overflow: hidden;
  border: 1px solid rgba(29, 104, 117, 0.24);
  border-radius: 13px;
  background: rgba(4, 20, 30, 0.46);
}
.task-ad-history-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(43, 87, 102, 0.22);
}
.task-ad-history-row:last-child { border-bottom: 0; }
.task-ad-history-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: rgba(0, 202, 193, 0.11);
  color: #5cf4ea;
  font-weight: 900;
}
.task-ad-history-row > div { min-width: 0; }
.task-ad-history-row strong,
.task-ad-history-row small { display: block; }
.task-ad-history-row strong { overflow: hidden; color: #e9f4f6; font-size: 0.57rem; text-overflow: ellipsis; white-space: nowrap; }
.task-ad-history-row small { margin-top: 2px; color: #78909d; font-size: 0.49rem; }
.task-ad-history-row > b { color: #f7ce65; font-size: 0.52rem; text-align: right; white-space: nowrap; }
.task-ad-history-row.is-rewarded .task-ad-history-icon { background: rgba(49, 208, 160, 0.16); color: #65efbd; }
.task-ad-history-row.is-failed .task-ad-history-icon,
.task-ad-history-row.is-expired .task-ad-history-icon { background: rgba(223, 91, 91, 0.12); color: #ff9292; }

/* v4.3.67 - Membership gate Kênh/Nhóm Telegram bắt buộc */

/* v4.3.69 */

.auth-gate-kicker{color:#93dfff;letter-spacing:.16em}
.membership-style-card .auth-gate-mark {
  width:72px;height:72px;margin:0 auto 16px;border-radius:22px;
  background:linear-gradient(145deg,#1de9b6,#18c7ff);color:#04273a;
  box-shadow:0 14px 36px rgba(24,199,255,.22);font-size:1.8rem;
}
.membership-style-card h1{font-size:clamp(1.25rem,6vw,1.95rem);line-height:1.12;text-transform:uppercase}
.membership-style-card p{margin-bottom:14px;color:#b3cbe1}
.auth-membership-progress{display:grid;gap:8px;margin:0 0 12px;padding:10px 12px;border:1px solid rgba(92,184,255,.16);border-radius:14px;background:rgba(9,24,47,.88)}
.auth-membership-progress-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.8rem;color:#d6ecff}
.auth-membership-progress-top strong{color:#ffd86f;font-size:.82rem}
.auth-membership-progress-bar{height:9px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}
.auth-membership-progress-bar span{display:block;height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,#1de9b6,#18c7ff)}
.auth-membership-tip{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:rgba(255,193,7,.08);border:1px solid rgba(255,193,7,.18);color:#ffe9a6;font-size:.78rem;line-height:1.45;text-align:left}
.auth-membership-targets{display:grid;gap:10px;width:100%;margin-bottom:12px}.auth-membership-targets[hidden]{display:none}
.auth-membership-card{display:grid;gap:8px;padding:13px 14px;border-radius:16px;border:1px solid rgba(67,177,255,.14);background:linear-gradient(180deg,rgba(11,26,52,.98),rgba(8,18,38,.98));text-decoration:none;color:inherit;text-align:left;box-shadow:0 8px 18px rgba(0,0,0,.18)}
.auth-membership-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.auth-membership-card-head small{display:block;color:#59d5e3;font-size:.66rem;letter-spacing:.12em;text-transform:uppercase}.auth-membership-card-head strong{display:block;margin-top:3px;font-size:.98rem;color:#f6fbff;line-height:1.2}
.auth-membership-status{align-self:center;white-space:nowrap;padding:6px 10px;border-radius:999px;font-size:.7rem;font-weight:800;border:1px solid rgba(29,233,182,.25);background:rgba(29,233,182,.1);color:#8fffd3}
.auth-membership-card.is-missing .auth-membership-status{border-color:rgba(255,197,84,.25);background:rgba(255,197,84,.1);color:#ffd978}
.auth-membership-card.has-error .auth-membership-status{border-color:rgba(255,107,129,.25);background:rgba(255,107,129,.08);color:#ff9baa}
.auth-membership-card-meta{color:#a9bfd4;font-size:.78rem;line-height:1.45}
.auth-membership-card-cta{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:12px;font-weight:900;font-size:.86rem;background:linear-gradient(135deg,#1aa7ff,#17d6b0);color:#041c2a;box-shadow:0 8px 18px rgba(26,167,255,.2)}
.auth-membership-card.is-joined .auth-membership-card-cta{background:linear-gradient(135deg,rgba(40,84,116,.65),rgba(22,117,99,.65));color:#b7ffee}
.auth-membership-card.has-error .auth-membership-card-cta{background:linear-gradient(135deg,rgba(117,38,53,.75),rgba(100,40,58,.75));color:#ffd6dd}
.auth-gate-actions{display:grid;gap:10px}
.auth-gate-card .auth-secondary{border:1px solid rgba(92,184,255,.28);background:rgba(255,255,255,.04);color:#e9f8ff;box-shadow:none}
.auth-error-code{display:block;margin-top:14px;color:#8fb0c6;font-size:.72rem;line-height:1.45}
@media (max-width:480px){.auth-gate{padding:14px}.auth-gate-card{padding:22px 18px;border-radius:24px}.membership-style-card .auth-gate-mark{width:64px;height:64px}.auth-membership-card-head{flex-direction:column}.auth-membership-status{align-self:flex-start}}


/* v4.3.70 — Đua Top F hợp lệ theo mùa */
.bottom-nav { grid-template-columns: repeat(7, 1fr); }
.nav-item[data-tab="tab-leaderboard"] span { color: #ffd978; }
.leaderboard-heading { margin-bottom: 12px; }
.leaderboard-season-card {
  border-color: rgba(255, 201, 92, .24);
  background:
    radial-gradient(circle at 100% 0, rgba(192,132,252,.09), transparent 34%),
    linear-gradient(155deg, rgba(39,28,19,.98), rgba(15,11,8,.99));
}
.leaderboard-season-head,
.leaderboard-ranking-head {
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.leaderboard-season-head h3,
.leaderboard-ranking-head h3 { margin:3px 0 0; }
.leaderboard-season-head p { margin:7px 0 0; color:var(--muted); font-size:.72rem; }
.leaderboard-refresh {
  flex:0 0 auto; min-height:36px; padding:0 11px; border:1px solid rgba(255,201,92,.2);
  border-radius:10px; background:rgba(255,201,92,.07); color:#ffd978; font-size:.63rem; font-weight:900;
}
.leaderboard-my-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:16px; }
.leaderboard-my-grid > div {
  padding:13px; border:1px solid rgba(255,255,255,.07); border-radius:14px; background:rgba(0,0,0,.18);
}
.leaderboard-my-grid small { display:block; color:#bca98f; font-size:.55rem; font-weight:850; letter-spacing:.06em; }
.leaderboard-my-grid strong { display:block; margin-top:5px; color:#fff1bf; font-size:1.45rem; }
.leaderboard-my-grid span { display:block; margin-top:3px; color:var(--muted); font-size:.61rem; line-height:1.45; }
.leaderboard-progress { overflow:hidden; height:8px; margin-top:12px; border-radius:999px; background:rgba(255,255,255,.06); }
.leaderboard-progress span { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#8ef1db,#ffd978); transition:width .25s ease; }
.leaderboard-note { display:block; margin-top:9px; color:#b9aa99; font-size:.64rem; line-height:1.5; }
.leaderboard-subheading { margin-top:16px; }
.leaderboard-prize-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.leaderboard-prize-card {
  display:grid; grid-template-columns:auto 1fr; gap:10px; align-items:center; padding:12px;
  border:1px solid rgba(255,201,92,.15); border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015));
}
.leaderboard-prize-rank {
  display:grid; width:44px; height:44px; place-items:center; border-radius:13px;
  background:rgba(255,201,92,.1); color:#ffd978; font-weight:950; font-size:.74rem;
}
.leaderboard-prize-card strong { display:block; color:#fff0c5; font-size:.76rem; }
.leaderboard-prize-card small { display:block; margin-top:4px; color:#bba990; font-size:.62rem; line-height:1.4; }
.leaderboard-ranking-panel { margin-top:14px; }
.leaderboard-ranking-head > span { color:var(--muted); font-size:.59rem; }
.leaderboard-ranking-list { display:grid; gap:8px; margin-top:12px; }
.leaderboard-row {
  display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:10px; align-items:center;
  padding:10px 11px; border:1px solid rgba(255,255,255,.06); border-radius:13px; background:rgba(0,0,0,.14);
}
.leaderboard-row.me { border-color:rgba(142,241,219,.27); background:rgba(142,241,219,.055); }
.leaderboard-row.ineligible { opacity:.74; }
.leaderboard-rank { color:#ffd978; font-weight:950; text-align:center; }
.leaderboard-player { min-width:0; }
.leaderboard-player strong { display:block; overflow:hidden; color:#f7efe5; font-size:.72rem; text-overflow:ellipsis; white-space:nowrap; }
.leaderboard-player small { display:block; overflow:hidden; margin-top:2px; color:var(--muted); font-size:.59rem; text-overflow:ellipsis; white-space:nowrap; }
.leaderboard-score { text-align:right; }
.leaderboard-score strong { display:block; color:#8ef1db; font-size:.84rem; }
.leaderboard-score small { display:block; margin-top:2px; color:var(--muted); font-size:.54rem; }
.leaderboard-award-note { margin-top:10px; padding:10px 11px; border:1px solid rgba(142,241,219,.18); border-radius:12px; background:rgba(142,241,219,.055); color:#bff7ea; font-size:.65rem; line-height:1.5; }
@media(max-width:520px){
  .bottom-nav { padding-left:4px; padding-right:4px; }
  .nav-item { gap:3px; }
  .nav-item span { width:34px; height:34px; border-radius:11px; }
  .nav-item small { font-size:.42rem; letter-spacing:.02em; }
  .leaderboard-my-grid,.leaderboard-prize-list { grid-template-columns:1fr; }
  .leaderboard-season-head { align-items:stretch; flex-direction:column; }
  .leaderboard-refresh { width:100%; }
}


/* v4.3.74 — cổng vào fail-closed + banner Telegram nâng cao */
.app-shell.membership-hard-locked{visibility:hidden!important;pointer-events:none!important;user-select:none!important}
.bot-start-image-studio{display:grid;grid-template-columns:minmax(180px,250px) 1fr;gap:12px;width:100%;padding:12px;border:1px dashed rgba(94,201,255,.26);border-radius:13px;background:rgba(7,22,37,.55)}
.bot-start-image-drop{display:grid;min-height:150px;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:#08121d;cursor:pointer}
.bot-start-image-drop.is-dragging{border-color:rgba(94,201,255,.7);background:rgba(23,151,214,.13)}
.bot-start-image-drop img{display:block;width:100%;height:150px;object-fit:contain;background:#050b11}
.bot-start-image-drop .empty{padding:18px;color:#6f8aa1;font-size:9px;font-weight:850;text-align:center;line-height:1.55}
.bot-start-image-details{display:grid;align-content:start;gap:8px}.bot-start-image-meta{display:flex;gap:7px;flex-wrap:wrap}.bot-start-image-meta span{padding:5px 8px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.025);color:#9eb5c8;font-size:8px;font-weight:850}
.bot-start-image-help{color:#7f95aa;font-size:9px;line-height:1.55}.membership-target-actions .member-test-input{min-width:190px;min-height:36px;padding:0 10px;border:1px solid #28435c;border-radius:9px;background:#081827;color:#e6f2fb;font-size:9px}
.membership-target-row.is-dirty{outline:1px solid rgba(247,201,72,.22);background:rgba(247,201,72,.025)}
@media(max-width:760px){.bot-start-image-studio{grid-template-columns:1fr}.bot-start-image-drop img{height:190px}.membership-target-actions .member-test-input{width:100%}}


/* v4.3.76 — refined membership gate */
.auth-gate{padding:16px;background:radial-gradient(circle at 50% 0, rgba(255,181,72,.12), transparent 28rem),linear-gradient(180deg, rgba(9,12,18,.985), rgba(8,11,17,.99))}
.auth-gate-card.membership-style-card{width:min(100%,392px);padding:20px 16px 16px;border-radius:22px;border:1px solid rgba(255,187,74,.16);background:linear-gradient(180deg,rgba(12,27,49,.98),rgba(10,22,40,.99));box-shadow:0 20px 44px rgba(0,0,0,.34)}
.membership-style-card .auth-gate-mark{width:58px;height:58px;margin-bottom:12px;border-radius:18px;background:linear-gradient(145deg,#27e0d1,#1aa9ff);font-size:1.55rem;box-shadow:0 12px 26px rgba(39,224,209,.16)}
.membership-style-card .auth-gate-kicker{font-size:.62rem;color:#98d7ff;letter-spacing:.2em}
.membership-style-card h1{margin:8px 0 10px;font-size:1.65rem;line-height:1.08;letter-spacing:-.03em;text-transform:uppercase}
.membership-style-card p{margin:0 0 12px;color:#d5e4f1;font-size:.97rem;line-height:1.48}
.auth-membership-progress{gap:7px;margin-bottom:10px;padding:10px 12px;border-radius:14px;border:1px solid rgba(255,198,78,.16);background:rgba(7,24,44,.82)}
.auth-membership-progress-top{font-size:.78rem}.auth-membership-progress-top strong{font-size:.95rem;color:#ffd86a}
.auth-membership-progress-bar{height:8px;background:rgba(255,255,255,.06)}
.auth-membership-tip{margin-bottom:10px;padding:10px 11px;border-radius:12px;background:rgba(255,196,82,.07);border:1px solid rgba(255,196,82,.2);color:#ffe8a3;font-size:.76rem;line-height:1.42}
.auth-membership-targets{gap:8px;margin-bottom:10px}
.auth-membership-card{gap:7px;padding:11px 12px;border-radius:14px;border:1px solid rgba(62,120,174,.22);background:linear-gradient(180deg,rgba(10,35,67,.96),rgba(9,29,55,.97))}
.auth-membership-card-head small{font-size:.6rem;color:#58ddff}.auth-membership-card-head strong{font-size:.95rem}
.auth-membership-status{padding:5px 9px;font-size:.68rem}
.auth-membership-card-meta{font-size:.75rem;color:#b8cddd}
.auth-membership-card-cta{min-height:38px;border-radius:10px;font-size:.82rem}
.auth-membership-card.is-joined .auth-membership-card-cta{background:linear-gradient(135deg,rgba(31,96,107,.8),rgba(27,143,115,.78));color:#d8fff3}
.auth-membership-card.is-missing .auth-membership-card-cta{background:linear-gradient(135deg,#1fc2ff,#18d7a6);color:#062031}
.auth-membership-card.has-error .auth-membership-card-cta{background:linear-gradient(135deg,#7f2740,#9b3652);color:#ffe0e6}
.auth-gate-actions{gap:8px}.auth-gate-card .gold-button{min-height:46px;border-radius:13px}.auth-gate-card .auth-secondary{border:1px solid rgba(255,196,82,.18);background:linear-gradient(180deg,rgba(255,191,57,.16),rgba(255,161,40,.12));color:#ffeaba}
.auth-error-code{margin-top:10px;color:#90a9bf;font-size:.69rem;letter-spacing:.02em;line-height:1.35}
@media (max-width:420px){.auth-gate-card.membership-style-card{width:min(100%,360px);padding:18px 14px 14px}.membership-style-card h1{font-size:1.45rem}.membership-style-card p{font-size:.92rem}}


/* v4.3.77 — membership verify state */
.membership-style-card #auth-retry:disabled{opacity:.78;cursor:wait;background:linear-gradient(135deg,rgba(31,194,255,.34),rgba(24,215,166,.28));color:#cdefff}
.membership-style-card #auth-retry:not(:disabled){background:linear-gradient(135deg,#18d7a6,#1fc2ff);border-color:transparent;color:#052234;font-weight:900}


/* v4.3.78 — gold-themed membership gate cleanup */
.auth-gate{padding:16px;background:radial-gradient(circle at 50% 0, rgba(255,190,92,.16), transparent 28rem),linear-gradient(180deg,#140d07 0%,#0d0907 100%)}
.auth-gate-card.membership-style-card{width:min(100%,392px);padding:20px 16px 16px;border-radius:22px;border:1px solid rgba(255,190,92,.18);background:linear-gradient(180deg,rgba(32,22,14,.98),rgba(21,14,10,.99));box-shadow:0 20px 44px rgba(0,0,0,.36)}
.membership-style-card .auth-gate-mark{background:linear-gradient(145deg,#3de0cb,#1dc4ff);color:#092234;box-shadow:0 12px 26px rgba(61,224,203,.16)}
.membership-style-card .auth-gate-kicker{color:#f6d58e}
.membership-style-card h1{color:#fff0cd}
.membership-style-card p{color:#decab0}
.auth-membership-progress{border:1px solid rgba(255,190,92,.18);background:rgba(38,26,18,.92)}
.auth-membership-progress-top{color:#f6e2b5}.auth-membership-progress-top strong{color:#ffd76a}
.auth-membership-progress-bar{background:rgba(255,255,255,.06)}.auth-membership-progress-bar span{background:linear-gradient(90deg,#f7ca55,#ff9e2f)}
.auth-membership-tip{background:rgba(255,190,92,.08);border:1px solid rgba(255,190,92,.24);color:#ffebbb}
.auth-membership-card{border:1px solid rgba(255,190,92,.12);background:linear-gradient(180deg,rgba(35,24,16,.98),rgba(27,18,12,.98))}
.auth-membership-card-head small{color:#f0be5b}.auth-membership-card-head strong{color:#fff3da}
.auth-membership-status{border-color:rgba(255,190,92,.22);background:rgba(255,190,92,.1);color:#ffd978}
.auth-membership-card-meta{color:#ccb89e}
.auth-membership-card-cta{background:linear-gradient(135deg,#ffcf58,#ffad2f)!important;color:#2d1a05!important;box-shadow:0 8px 18px rgba(255,173,47,.18)}
.auth-membership-card.is-joined .auth-membership-status{border-color:rgba(58,202,152,.2);background:rgba(58,202,152,.12);color:#8effd0}
.auth-membership-card.is-joined .auth-membership-card-cta{background:linear-gradient(135deg,rgba(46,142,99,.85),rgba(63,192,133,.8))!important;color:#e7fff4!important}
.auth-gate-card .gold-button{min-height:46px;border-radius:13px}
.auth-gate-card .auth-secondary{border:1px solid rgba(255,190,92,.22);background:linear-gradient(135deg,#ffcf58,#ffad2f);color:#2d1a05;font-weight:900;box-shadow:0 10px 22px rgba(255,173,47,.22)}
#auth-open-bot{display:none!important}
.auth-error-code{color:#b9a58a}

/* v4.3.95 — mandatory tap-ad gate: explicit user gesture + provider prewarm */
.tap-ad-gate{position:fixed;inset:0;z-index:1450;display:grid;place-items:center;padding:18px}.tap-ad-gate[hidden]{display:none}.tap-ad-gate-backdrop{position:absolute;inset:0;background:rgba(7,5,3,.76);backdrop-filter:blur(8px)}
.tap-ad-gate-card{position:relative;width:min(100%,390px);padding:24px 18px 18px;border:1px solid rgba(255,191,72,.24);border-radius:22px;background:radial-gradient(circle at 50% 0,rgba(255,181,63,.10),transparent 48%),linear-gradient(180deg,#24170d,#160f0a);box-shadow:0 28px 70px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.035);text-align:center}
.tap-ad-gate-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 13px;border-radius:18px;background:linear-gradient(145deg,#ffd15a,#ff9d2e);color:#2e1904;font-size:1.55rem;font-weight:950;box-shadow:0 12px 28px rgba(255,157,46,.2)}
.tap-ad-gate-card .eyebrow{color:#e9b855;letter-spacing:.18em}.tap-ad-gate-card h3{margin:8px 0 8px;color:#fff0c9;font-size:1.42rem;letter-spacing:-.025em}.tap-ad-gate-card p{margin:0;color:#dcc9ac;font-size:.94rem;line-height:1.5}
.tap-ad-gate-ready{display:flex;align-items:center;justify-content:center;gap:8px;margin:16px 0 12px;padding:10px 12px;border:1px solid rgba(255,191,72,.16);border-radius:12px;background:rgba(255,255,255,.025);color:#d8c5a9;font-size:.78rem}.tap-ad-gate-ready>span{width:8px;height:8px;border-radius:50%;background:#d89a39;box-shadow:0 0 0 4px rgba(216,154,57,.1)}.tap-ad-gate-ready.ready>span{background:#35d6a4;box-shadow:0 0 0 4px rgba(53,214,164,.12)}.tap-ad-gate-ready.error>span{background:#ff6b78;box-shadow:0 0 0 4px rgba(255,107,120,.11)}
.tap-ad-gate-button{min-height:50px!important;border:0!important;background:linear-gradient(135deg,#ffd158,#ffab32)!important;color:#2e1904!important;font-size:.92rem!important;font-weight:950!important;box-shadow:0 12px 24px rgba(255,171,50,.18)!important}.tap-ad-gate-button:disabled{filter:saturate(.4);opacity:.55;box-shadow:none!important}
.tap-ad-gate-card>small{display:block;margin-top:10px;color:#9f896f;font-size:.7rem;line-height:1.45}
body.tap-ad-gate-open{overflow:hidden}
@media(max-width:430px){.tap-ad-gate{padding:14px}.tap-ad-gate-card{padding:21px 15px 16px;border-radius:20px}.tap-ad-gate-card h3{font-size:1.28rem}}


/* v4.3.96 — nhiệm vụ mở ca đào: link / quảng cáo */
.shift-requirements{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}.shift-requirement{appearance:none;font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-width:112px;padding:5px 8px;border:1px solid rgba(255,196,83,.16);border-radius:9px;background:rgba(255,177,45,.055);color:#bda98d;font-size:.5rem;font-weight:800;line-height:1}.shift-requirement b{color:#f6d173;font-size:.52rem}.shift-requirement:hover{border-color:rgba(255,196,83,.28)}.shift-requirement.done{border-color:rgba(52,211,153,.22);background:rgba(52,211,153,.07);color:#9ce8ca}.shift-requirement.done b{color:#75e7bd}.shift-requirement[hidden]{display:none}.shift-progress.gate-ready .progress-track i{background:linear-gradient(90deg,#34d399,#8ff0ca);box-shadow:0 0 12px rgba(52,211,153,.38)}.shift-progress.gate-ready .shift-activation-note{color:#8ee3bf}.shift-progress.gate-locked .progress-track i{background:linear-gradient(90deg,#f59e0b,#ffe190)}@media(max-width:520px){.shift-requirements{display:grid;grid-template-columns:1fr 1fr}.shift-requirement{min-width:0}.shift-requirements>.shift-requirement:only-child{grid-column:1/-1}}

/* v4.3.103 — link vượt mã vừa tạo + sao chép */
.shortlink-created-box{display:grid;gap:10px;margin:12px 0;padding:14px;border:1px solid rgba(247,201,72,.22);border-radius:14px;background:linear-gradient(145deg,rgba(63,39,13,.42),rgba(20,16,12,.72))}.shortlink-created-box[hidden]{display:none}.shortlink-created-head{display:flex;align-items:center;gap:9px}.shortlink-created-head>div{min-width:0;flex:1}.shortlink-cancel-button{margin-left:auto;min-height:32px;padding:0 10px;border:1px solid rgba(255,107,129,.34);border-radius:9px;background:rgba(119,27,45,.28);color:#ffb0bd;font-size:7.5px;font-weight:950;letter-spacing:.04em}.shortlink-cancel-button:hover{background:rgba(151,34,55,.38)}.shortlink-cancel-button:disabled{opacity:.55;cursor:not-allowed}.shortlink-created-head>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:rgba(247,201,72,.12);font-size:17px}.shortlink-created-head strong,.shortlink-created-head small{display:block}.shortlink-created-head strong{color:#ffe19a;font-size:10.5px}.shortlink-created-head small{margin-top:3px;color:#9f8f79;font-size:8px}.shortlink-created-field{display:grid;gap:5px}.shortlink-created-field>label{color:#bda274;font-size:7.5px;font-weight:900;letter-spacing:.12em}.shortlink-created-field>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.shortlink-created-field input{min-width:0;height:40px;padding:0 10px;border:1px solid rgba(247,201,72,.18);border-radius:9px;background:#120d08;color:#f7e8c5;font-size:9px;outline:0}.shortlink-created-code-field input{font-weight:900;letter-spacing:.08em}.shortlink-created-field button{min-height:40px;padding:0 11px;border:1px solid rgba(247,201,72,.3);border-radius:9px;background:linear-gradient(135deg,#f7c948,#e79a24);color:#251506;font-size:8px;font-weight:950}.shortlink-created-note{color:#8f7d65;font-size:7.8px;line-height:1.45}@media(max-width:520px){.shortlink-created-head{flex-wrap:wrap}.shortlink-cancel-button{margin-left:45px}.shortlink-created-field>div{grid-template-columns:1fr}.shortlink-created-field button{width:100%}}

.shortlink-cancel-note{display:block;margin-top:7px;color:rgba(231,207,166,.68);font-size:.68rem;line-height:1.4;text-align:right}


/* v4.3.109 — trạng thái sẵn sàng sau cooldown vượt mã */
.shortlink-provider-copy .shortlink-provider-ready{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;margin-top:2px;padding:4px 7px;border:1px solid rgba(52,211,153,.22);border-radius:999px;background:rgba(52,211,153,.07);color:#91e9c6;font-size:.66rem;font-weight:850;line-height:1.25;box-shadow:0 0 12px rgba(52,211,153,.05)}
.shortlink-provider-card:has(.shortlink-provider-ready) .shortlink-provider-button:not(:disabled){background:linear-gradient(135deg,#f7c948,#e79a24);box-shadow:0 0 0 1px rgba(247,201,72,.12),0 8px 18px rgba(231,154,36,.12)}

/* v4.3.112 — không hiển thị lịch sử quảng cáo nội bộ cho khách */
#task-ad-history,.task-ad-history-head{display:none!important}

/* v4.3.113 — Sổ Vàng */
.balance-clickable{appearance:none;-webkit-appearance:none;font:inherit;color:inherit;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.balance-clickable:hover,.balance-clickable:focus-visible{transform:translateY(-1px);border-color:rgba(255,205,92,.42);box-shadow:0 0 0 3px rgba(255,190,70,.06),0 8px 22px rgba(0,0,0,.2);outline:none}.balance-clickable:active{transform:scale(.98)}
.gold-history-card{width:min(100%,520px);max-height:min(86vh,760px);display:flex;flex-direction:column;text-align:left;padding:18px 16px 16px;overflow:hidden;background:linear-gradient(160deg,#281a0f,#120d09 72%)}.gold-history-head{display:flex;align-items:center;gap:12px;padding-right:35px}.gold-history-head h3{margin:3px 0 2px;font-size:1.28rem}.gold-history-head p{margin:0;color:#b9a88f;font-size:.7rem;line-height:1.45}.gold-history-icon{display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;border:1px solid rgba(255,199,79,.3);border-radius:15px;background:linear-gradient(145deg,#6d4816,#30200d);color:#ffd666}.gold-history-icon .ui-icon{width:24px;height:24px}.gold-history-balance{margin-top:14px;padding:13px 14px;border:1px solid rgba(255,196,76,.22);border-radius:14px;background:rgba(255,188,61,.055)}.gold-history-balance small,.gold-history-summary small{display:block;color:#a9977e;font-size:.58rem;font-weight:800;letter-spacing:.08em}.gold-history-balance strong{display:block;margin-top:5px;color:#ffe5a0;font-size:1.35rem}.gold-history-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.gold-history-summary>div{padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(0,0,0,.16)}.gold-history-summary strong{display:block;margin-top:4px;font-size:.88rem}.gold-history-summary>div:first-child strong{color:#6ee7b7}.gold-history-summary>div:last-child strong{color:#ff9c9c}.gold-history-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:11px 0 9px}.gold-history-filters button{min-height:34px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025);color:#bcae9b;font:inherit;font-size:.62rem;font-weight:900;cursor:pointer}.gold-history-filters button.active{border-color:rgba(255,196,76,.32);background:rgba(255,190,64,.11);color:#ffd978}.gold-history-loading,.gold-history-empty{padding:22px 10px;text-align:center;color:#a99880;font-size:.72rem}.gold-history-list{min-height:120px;overflow:auto;overscroll-behavior:contain;padding-right:2px}.gold-history-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 4px;border-bottom:1px solid rgba(255,255,255,.055)}.gold-history-row:last-child{border-bottom:0}.gold-history-row-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:rgba(255,255,255,.045);font-size:.9rem}.gold-history-row-copy{min-width:0}.gold-history-row-copy strong{display:block;color:#f5ead8;font-size:.74rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gold-history-row-copy small{display:block;margin-top:2px;color:#978975;font-size:.58rem;line-height:1.35}.gold-history-row>b{padding-left:6px;font-size:.7rem;white-space:nowrap}.gold-history-row.in>b{color:#68e5b4}.gold-history-row.out>b{color:#ff9696}.gold-history-row.neutral>b{color:#d2bea0;font-size:.56rem}.gold-history-more{width:100%;min-height:38px;margin-top:9px;border:1px solid rgba(255,196,76,.2);border-radius:11px;background:rgba(255,190,64,.08);color:#ffd978;font:inherit;font-size:.64rem;font-weight:900;cursor:pointer}.gold-history-note{display:block;margin-top:9px;color:#7f725f;font-size:.54rem;line-height:1.4;text-align:center}@media(max-width:420px){.gold-history-card{max-height:88vh;padding:16px 13px 13px}.gold-history-balance strong{font-size:1.12rem}.gold-history-row{grid-template-columns:31px minmax(0,1fr) auto;gap:7px}.gold-history-row-icon{width:29px;height:29px}.gold-history-row-copy strong{font-size:.7rem}.gold-history-row>b{font-size:.64rem}}

/* v4.3.114 — trạng thái khóa đào liên tiếp */
.tap-link-guard-note{display:flex;align-items:center;gap:10px;margin:10px 14px 0;padding:10px 12px;border:1px solid rgba(255,184,58,.22);border-radius:14px;background:linear-gradient(180deg,rgba(72,42,14,.48),rgba(36,21,9,.72));color:#f7dfb1;font-size:.78rem}.tap-link-guard-note[hidden]{display:none!important}.tap-link-guard-note span{font-weight:800}.tap-link-guard-note strong{margin-left:auto;color:#ffd56b}.tap-link-guard-note button{border:1px solid rgba(255,198,77,.35);border-radius:10px;padding:8px 10px;background:linear-gradient(135deg,#ffca4f,#f29a25);color:#2d1904;font-weight:900;font-size:.72rem}.tap-link-guard-note.active{box-shadow:0 0 18px rgba(255,174,42,.08)}

/* v4.3.115 — giới hạn đào tay theo ngày + nâng cấp mỏ */
.daily-mining-limit-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,1.1fr) auto;gap:12px;align-items:center;margin:10px 0;padding:12px 14px;border:1px solid rgba(255,193,70,.2);border-radius:15px;background:linear-gradient(145deg,rgba(58,37,15,.66),rgba(21,15,10,.82));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.daily-mining-limit-card[hidden]{display:none!important}.daily-mining-copy small,.daily-mining-copy strong,.daily-mining-copy span{display:block}.daily-mining-copy small{color:#b99558;font-size:.56rem;font-weight:900;letter-spacing:.11em}.daily-mining-copy strong{margin-top:4px;color:#ffe4a0;font-size:.86rem}.daily-mining-copy span{margin-top:2px;color:#aa9474;font-size:.62rem}
.daily-mining-meter{height:9px;overflow:hidden;border:1px solid rgba(255,255,255,.06);border-radius:999px;background:rgba(255,255,255,.045)}.daily-mining-meter i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#d99b2d,#ffd45e);box-shadow:0 0 10px rgba(255,193,70,.18);transition:width .25s ease}
.daily-mining-limit-card button{min-height:42px;padding:7px 11px;border:1px solid rgba(255,198,77,.28);border-radius:11px;background:linear-gradient(135deg,#5d3a12,#3a250f);color:#ffe6a5;font:inherit;cursor:pointer}.daily-mining-limit-card button b,.daily-mining-limit-card button small{display:block}.daily-mining-limit-card button b{font-size:.66rem}.daily-mining-limit-card button small{margin-top:2px;color:#e2b95f;font-size:.54rem}.mine-stage .tap-hint.daily-limit-reached{filter:saturate(.45);opacity:.72;box-shadow:none}.mine-stage .tap-hint.daily-limit-reached strong:after{content:' · HẾT LƯỢT';color:#ffb36b}
@media(max-width:620px){.daily-mining-limit-card{grid-template-columns:1fr auto}.daily-mining-meter{grid-column:1/-1;grid-row:2}.daily-mining-limit-card button{grid-column:2;grid-row:1}}

/* v4.3.116 — level roadmap + calculated mining output */
.workshop-output-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:-2px 0 14px;padding:10px;border:1px solid rgba(255,190,82,.14);border-radius:14px;background:linear-gradient(145deg,rgba(48,31,14,.5),rgba(18,13,9,.75))}
.workshop-output-summary>div{min-width:0;padding:10px 11px;border:1px solid rgba(255,205,107,.1);border-radius:11px;background:rgba(255,255,255,.018)}
.workshop-output-summary small,.workshop-output-summary strong{display:block}.workshop-output-summary small{color:#a98b5c;font-size:.54rem;font-weight:900;letter-spacing:.08em}.workshop-output-summary strong{margin-top:4px;color:#ffe0a0;font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.effect-row.effect-row-sub,.effect-row.effect-row-next{margin-top:5px;padding-top:6px;border-top:1px dashed rgba(255,195,79,.11)}
.effect-row.effect-row-sub span,.effect-row.effect-row-next span{font-size:.55rem;color:#9d8769}.effect-row.effect-row-sub strong{font-size:.62rem;color:#f6d38c}.effect-row.effect-row-next strong{max-width:68%;font-size:.57rem;color:#cdb98e;text-align:right;line-height:1.3}
.level-tag{white-space:nowrap}.level-tag span{font-weight:800;color:#9c8765}
.daily-mining-limit-card{grid-template-columns:minmax(0,1.35fr) minmax(130px,.9fr) minmax(130px,1fr) auto}
.daily-mining-copy .daily-mining-taps{margin-top:5px;color:#d2b982;font-weight:800}
.daily-mining-output{display:grid;gap:4px;padding:7px 9px;border-left:1px solid rgba(255,195,79,.1);border-right:1px solid rgba(255,195,79,.1)}
.daily-mining-output small{display:block;color:#c1a36d;font-size:.56rem;line-height:1.35}
.daily-mining-meter{min-width:120px}
.mine-stage .tap-hint.daily-limit-reached{pointer-events:none}
.mine-stage .tap-hint.daily-limit-reached strong:after{content:' · ĐỦ VÀNG HÔM NAY';color:#ffb36b}
@media(max-width:760px){.workshop-output-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-mining-limit-card{grid-template-columns:1fr auto}.daily-mining-output{grid-column:1/-1;grid-row:2;border-left:0;border-right:0;border-top:1px solid rgba(255,195,79,.1);border-bottom:1px solid rgba(255,195,79,.1);grid-template-columns:repeat(2,minmax(0,1fr))}.daily-mining-meter{grid-column:1/-1;grid-row:3}.daily-mining-limit-card button{grid-column:2;grid-row:1}}
@media(max-width:440px){.workshop-output-summary{grid-template-columns:1fr 1fr}.workshop-output-summary strong{font-size:.68rem}.daily-mining-output{grid-template-columns:1fr}}

/* v4.3.117 — instant mining feedback */
.daily-mining-live-sync{display:inline-flex;align-items:center;gap:6px;margin-top:3px;color:#ffd66b;font-size:11px;font-weight:800;letter-spacing:.01em}
.daily-mining-live-sync[hidden]{display:none!important}
.daily-mining-live-sync::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 10px currentColor;animation:miningSyncPulse .75s ease-in-out infinite alternate}
@keyframes miningSyncPulse{from{opacity:.35;transform:scale(.75)}to{opacity:1;transform:scale(1.12)}}

/* v4.3.119 — tiến độ nhiệm vụ bắt buộc trước khi rút */
.withdraw-task-gate{display:grid;gap:10px;padding:13px 14px;background:linear-gradient(145deg,rgba(255,201,92,.055),rgba(255,255,255,.018))}
.withdraw-task-gate-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.withdraw-task-gate-head b{display:block;color:#ffd978;font-size:.68rem}
.withdraw-task-gate-head span{max-width:65%;color:#cab8a3;font-size:.59rem;line-height:1.45;text-align:right}
.withdraw-task-progress{height:7px;overflow:hidden;border:1px solid rgba(255,201,92,.14);border-radius:999px;background:rgba(0,0,0,.22)}
.withdraw-task-progress>span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffc957,#ff9f32);box-shadow:0 0 14px rgba(255,185,66,.2);transition:width .35s ease}
.withdraw-task-gate.is-complete{border-color:rgba(52,211,153,.25);background:linear-gradient(145deg,rgba(52,211,153,.07),rgba(255,255,255,.018))}
.withdraw-task-gate.is-complete .withdraw-task-progress>span{background:linear-gradient(90deg,#34d399,#69e5bc)}
.withdraw-task-gate.is-complete .withdraw-task-gate-head b{color:#a7f3d0}
.withdraw-gate-task-list{display:grid;gap:7px}
.withdraw-gate-task-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(0,0,0,.16)}
.withdraw-gate-task-row[hidden]{display:none!important}
.withdraw-gate-task-row span{color:#d7c5ad;font-size:.6rem;text-align:left}
.withdraw-gate-task-row strong{padding:4px 8px;border-radius:999px;background:rgba(255,201,92,.09);color:#ffd978;font-size:.58rem}
.withdraw-gate-task-row.done{border-color:rgba(52,211,153,.18);background:rgba(52,211,153,.045)}
.withdraw-gate-task-row.done strong{background:rgba(52,211,153,.1);color:#a7f3d0}
#withdraw-gate-help{display:block;color:#9e8c78;font-size:.55rem;line-height:1.45}
.withdraw-submit-help{display:block;margin-top:8px;color:#a58f75;font-size:.55rem;line-height:1.45;text-align:center}
@media(max-width:640px){.withdraw-task-gate-head{display:grid}.withdraw-task-gate-head span{max-width:none;text-align:left}}


/* v4.3.120 — hiển thị chu kỳ hồi hạn mức do Admin cấu hình */
.daily-mining-copy .daily-mining-reset-hours{margin-top:5px;color:#f0bd52;font-weight:900;letter-spacing:.015em}


/* v4.3.129 — trạng thái đào tự động hữu hạn theo giờ Admin */
.auto-mining-runtime{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;padding:10px;border:1px solid rgba(212,154,54,.24);border-radius:12px;background:rgba(0,0,0,.16)}
.auto-mining-runtime>div{min-width:0;display:flex;flex-direction:column;gap:3px}.auto-mining-runtime span{font-size:9px;font-weight:900;letter-spacing:.08em;color:#bda784}.auto-mining-runtime b{font-size:13px;color:#f3c45f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auto-mining-runtime small{grid-column:1/-1;color:#c5b79e;line-height:1.45;font-size:10px}.auto-mining-runtime.is-running{border-color:rgba(62,213,152,.35);box-shadow:inset 0 0 0 1px rgba(62,213,152,.05)}.auto-mining-runtime.is-running b{color:#64e6b2}
@media(max-width:420px){.auto-mining-runtime{grid-template-columns:1fr}.auto-mining-runtime small{grid-column:1}}
