/* Self-hosted Plus Jakarta Sans & JetBrains Mono */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-vietnamese-400-normal.woff2') format('woff2'),
       url('/assets/fonts/plus-jakarta-sans-latin-ext-400-normal.woff2') format('woff2'),
       url('/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-vietnamese-600-normal.woff2') format('woff2'),
       url('/assets/fonts/plus-jakarta-sans-latin-ext-600-normal.woff2') format('woff2'),
       url('/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-vietnamese-700-normal.woff2') format('woff2'),
       url('/assets/fonts/plus-jakarta-sans-latin-ext-700-normal.woff2') format('woff2'),
       url('/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-vietnamese-800-normal.woff2') format('woff2'),
       url('/assets/fonts/plus-jakarta-sans-latin-ext-800-normal.woff2') format('woff2'),
       url('/assets/fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-vietnamese-600-normal.woff2') format('woff2'),
       url('/assets/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
}

:root {
  --bg: #000000;
  --surface: #0c0c12;
  --surface-elev: #15141f;
  --border: rgba(255, 255, 255, 0.085);
  --border-gold: rgba(245, 184, 65, 0.42);
  --gold-light: #ffe89e;
  --gold: #f5b841;
  --gold-deep: #d97706;
  --cyan: #38bdf8;
  --emerald: #34d399;
  --rose: #fb7185;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.45);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

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

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.gif-star-sm { width: 20px; height: 20px; object-fit: contain; vertical-align: -4px; flex-shrink: 0; }
.gif-star-md { width: 26px; height: 26px; object-fit: contain; vertical-align: -6px; flex-shrink: 0; }
.gif-gem-sm { width: 18px; height: 18px; object-fit: contain; vertical-align: -3px; flex-shrink: 0; }
.gif-gem-hero { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 6px 18px rgba(56, 189, 248, 0.4)); }
.svg-gem-hero-wrap { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svg-gem-hero {
  width: 54px; height: 54px; display: block; overflow: visible;
  filter: drop-shadow(0 6px 18px rgba(56, 189, 248, 0.54));
  animation: hubGemFloat 3.4s ease-in-out infinite;
  will-change: transform;
}
.svg-gem-hero .g-sheen {
  animation: hubGemSheen 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform, opacity;
}
.svg-gem-hero .g-sp1 {
  transform-origin: 11px 9px;
  animation: hubGemSp1 3.2s ease-in-out infinite;
  will-change: transform, opacity;
}
.svg-gem-hero .g-sp2 {
  transform-origin: 37px 13px;
  animation: hubGemSp2 3.2s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes hubGemFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-2px) scale(1.035); }
}
@keyframes hubGemSheen {
  0%, 62% { transform: translateX(-46px) skewX(-22deg); opacity: 0; }
  72% { opacity: 0.85; }
  88%, 100% { transform: translateX(48px) skewX(-22deg); opacity: 0; }
}
@keyframes hubGemSp1 {
  0%, 58%, 100% { opacity: 0; transform: scale(0.35) rotate(0deg); }
  72% { opacity: 1; transform: scale(1.12) rotate(35deg); }
  86% { opacity: 0; transform: scale(0.45) rotate(70deg); }
}
@keyframes hubGemSp2 {
  0%, 22%, 62%, 100% { opacity: 0; transform: scale(0.35) rotate(0deg); }
  38% { opacity: 0.95; transform: scale(1.06) rotate(-35deg); }
  52% { opacity: 0; transform: scale(0.4) rotate(-70deg); }
}
@media (prefers-reduced-motion: reduce) {
  .svg-gem-hero, .svg-gem-hero .g-sheen, .svg-gem-hero .g-sp1, .svg-gem-hero .g-sp2 { animation: none !important; }
}

/* ===== 1. Sticky Single-Row Header ===== */
.top-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 7, 13, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 920px;
  margin: 0 auto;
  height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(245, 184, 65, 0.5);
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(95deg, #fff 20%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lang-wrap { position: relative; }

.lang-pill-btn {
  height: 33px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  min-width: 136px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(18, 17, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-opt {
  padding: 8px 11px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.lang-opt.active { background: rgba(245, 184, 65, 0.16); color: var(--gold-light); }

.btn-gold-sm {
  height: 33px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ffe58f 0%, #f59e0b 55%, #ea580c 100%);
  color: #160c02;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.user-pill {
  height: 33px;
  padding: 0 10px 0 5px;
  border-radius: 999px;
  background: var(--surface-elev);
  border: 1px solid var(--border-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 142px;
  cursor: pointer;
}

.user-dot {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #160c02;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.user-name-trunc {
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-circle-btn {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.main-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 14px 14px calc(96px + env(safe-area-inset-bottom, 0px));
}

/* ===== 2. Persistent Hero Stage (Cô Đào 3D + Diamond & Star Balance) ===== */
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 18px 16px 16px;
  margin-bottom: 12px;
  background:
    radial-gradient(420px 220px at 50% -8%, rgba(245, 184, 65, 0.22), transparent 72%),
    radial-gradient(320px 220px at 88% 95%, rgba(244, 63, 94, 0.12), transparent 70%),
    linear-gradient(175deg, #151124 0%, #07060d 100%);
  border: 1px solid rgba(245, 184, 65, 0.34);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

.muse-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.muse-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #ffe28a, #f43f5e, #a855f7);
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.35);
}

.muse-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.muse-speech {
  position: relative;
  padding: 7px 13px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(245, 184, 65, 0.32);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-light);
  text-align: left;
  max-width: 340px;
}

.hero-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--gold-light);
  opacity: 0.88;
}

.hero-bal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 10px;
}

.hero-bal-val {
  font-size: clamp(38px, 8.5vw, 50px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-checkedin-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.stat-chip.gold {
  background: rgba(245, 184, 65, 0.14);
  border-color: rgba(245, 184, 65, 0.38);
  color: var(--gold-light);
}

.stat-chip.vip {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.42);
  color: #a7f3d0;
}

.btn-checkin-main {
  width: 100%;
  max-width: 400px;
  padding: 13px 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ffe58f 0%, #f59e0b 52%, #ea580c 100%);
  color: #170c02;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-checkin-main.done {
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.38);
  color: #6ee7b7;
  box-shadow: none;
}

/* ===== 3. PERSISTENT GEM MINING STATION & 4 TIME-MILESTONE POUCHES ===== */
.mining-station-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 14px;
  background: linear-gradient(160deg, #121528 0%, #090b14 55%, #161020 100%);
  border: 1.5px solid rgba(245, 184, 65, 0.48);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), inset 0 0 24px rgba(245, 184, 65, 0.05);
}

.ms-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.ms-label-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.ms-right-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pending-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(245, 184, 65, 0.16);
  border: 1px solid rgba(245, 184, 65, 0.45);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 800;
}

.quota-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
}

.mine-bar-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 8px;
}

.mine-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8 0%, #f5b841 60%, #f97316 100%);
  transition: width 0.35s ease;
}

.mine-cycle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 10px;
}

.cycle-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-cyan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.cycle-timer-pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
}

.btn-harvest {
  width: 100%;
  padding: 10px 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.btn-harvest.ready {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  border-color: #fde047;
  color: #160b01;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.38);
}

.vip-auto-banner {
  padding: 8px 12px;
  border-radius: 11px;
  background: rgba(245, 184, 65, 0.12);
  border: 1px solid rgba(245, 184, 65, 0.36);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

/* 4 Time-Milestone Gift Pouches (PineDrama Bottom Track) */
.time-bags-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 11px;
}

.tb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 800;
}

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

.tb-card {
  position: relative;
  border-radius: 14px;
  padding: 9px 6px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.tb-card.ready {
  background: linear-gradient(180deg, rgba(245, 184, 65, 0.22), rgba(234, 88, 12, 0.14));
  border-color: #fde047;
  box-shadow: 0 0 18px rgba(245, 184, 65, 0.28);
  animation: bagBounce 1.8s ease-in-out infinite;
}

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

.tb-card.claimed {
  opacity: 0.58;
  border-color: rgba(52, 211, 153, 0.35);
}

.tb-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 3px;
}

.tb-time {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-2);
}

.tb-reward {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-light);
  margin: 2px 0 4px;
}

.tb-btn {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-3);
}
.tb-card.ready .tb-btn {
  background: #f43f5e;
  color: #fff;
}
.tb-card.claimed .tb-btn {
  background: rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
}

/* ===== 4. MAIN 4-TAB BAR (Placed Right Below Mining Station!) ===== */
.stage-tabs-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(245, 184, 65, 0.28);
  margin-bottom: 18px;
}

.stage-tab-btn {
  position: relative;
  padding: 10px 6px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.stage-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 184, 65, 0.22), rgba(234, 88, 12, 0.16));
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(245, 184, 65, 0.48), 0 4px 14px rgba(0, 0, 0, 0.4);
}

.tab-hot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 8px #f43f5e;
}

/* ===== 5. TAB 1: 7-Day Check-in Grid (4 + 3 Layout) & Lucky Wheel ===== */
.card-panel {
  border-radius: 22px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

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

.panel-title-main {
  font-size: 16px;
  font-weight: 800;
}

.pill-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(245, 184, 65, 0.14);
  border: 1px solid rgba(245, 184, 65, 0.35);
  color: var(--gold-light);
  white-space: nowrap;
  flex-shrink: 0;
}

/* 4 + 3 Streak Grid (Day 7 spans 2 cols) */
.streak-grid-4x3 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.sk-cell {
  position: relative;
  padding: 10px 6px;
  border-radius: 14px;
  background: #06060a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.sk-cell.grand {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(245, 184, 65, 0.18), rgba(168, 85, 247, 0.14));
  border-color: rgba(245, 184, 65, 0.45);
}

.sk-cell.claimed {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.08);
}

.sk-day {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-3);
}

.sk-ico {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.sk-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-light);
}

/* Luxury Casino Gold Lucky Wheel (Screenshot 8) */
.wheel-card {
  border-radius: 22px;
  padding: 20px 16px;
  background: radial-gradient(340px 240px at 50% 45%, rgba(245, 184, 65, 0.16), transparent 72%),
              linear-gradient(180deg, #141229 0%, #090814 100%);
  border: 1.5px solid rgba(245, 184, 65, 0.42);
  text-align: center;
  margin-bottom: 16px;
}

.wheel-stage {
  position: relative;
  width: 288px;
  height: 288px;
  margin: 22px auto 14px;
}

.wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  margin-left: -19px;
  z-index: 12;
  width: 38px;
  height: 48px;
  transform-origin: 50% 14px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.wheel-pointer.tick {
  animation: vncPointerTick 0.14s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes vncPointerTick {
  0% { transform: rotate(0deg); }
  35% { transform: rotate(-20deg); }
  100% { transform: rotate(0deg); }
}

.wheel-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 13px;
  background: radial-gradient(circle at 30% 25%, #fff0b3 0%, #f59e0b 45%, #78350f 100%);
  box-shadow: 0 0 42px rgba(245, 184, 65, 0.32), inset 0 2px 6px rgba(255, 255, 255, 0.65);
}

.wheel-led {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
  background: #fff7d6;
  box-shadow: 0 0 6px #fde047;
  animation: vncLedPulse 1.4s infinite ease-in-out;
}

.wheel-led.odd {
  animation-delay: 0.7s;
  background: #fde047;
}

.wheel-stage.is-spinning .wheel-led {
  animation-duration: 0.24s;
}

.wheel-stage.is-spinning .wheel-led.odd {
  animation-delay: 0.12s;
}

@keyframes vncLedPulse {
  0%, 100% { opacity: 0.38; transform-origin: center; }
  50% { opacity: 1; box-shadow: 0 0 10px #fff, 0 0 14px #f59e0b; }
}

.wheel-disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: conic-gradient(
    from -30deg,
    #047857 0deg 60deg,
    #b45309 60deg 120deg,
    #1d4ed8 120deg 180deg,
    #be185d 180deg 240deg,
    #b91c1c 240deg 300deg,
    #6d28d9 300deg 360deg
  );
  transition: transform 4.6s cubic-bezier(0.12, 0.86, 0.14, 1);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.65);
  will-change: transform;
}

.wheel-dividers {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -31deg,
    rgba(255, 232, 158, 0.65) 0deg 2deg,
    transparent 2deg 60deg
  );
  pointer-events: none;
  z-index: 1;
}

.wheel-slice-spoke {
  position: absolute;
  top: 0;
  left: 50%;
  width: 96px;
  height: 50%;
  margin-left: -48px;
  transform-origin: 50% 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 13px;
  gap: 2px;
  pointer-events: none;
  z-index: 2;
}

.wheel-slice-spoke .ws-ico {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

.wheel-slice-spoke .ws-name {
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.wheel-slice-spoke .ws-val {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fde68a;
  line-height: 1.2;
  white-space: nowrap;
}

.wheel-slice-spoke.is-jackpot .ws-val {
  background: linear-gradient(90deg, #f59e0b, #fde047);
  color: #1c0f02;
  border-color: #fff;
}

.wheel-slice-spoke.win-flash {
  animation: vncSliceWinFlash 0.36s ease-in-out infinite alternate;
}

@keyframes vncSliceWinFlash {
  from { filter: brightness(1); }
  to { filter: brightness(1.45) drop-shadow(0 0 10px rgba(253, 224, 71, 0.95)); }
}

.wheel-live-readout {
  margin: 0 auto 14px;
  max-width: 380px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wheel-live-readout.is-live {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
}

.wheel-live-readout.is-winner {
  background: rgba(245, 184, 65, 0.16);
  border-color: rgba(245, 184, 65, 0.65);
  color: #fde68a;
}

.wheel-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 3px solid #fff3c4;
  background: radial-gradient(circle at 35% 30%, #ffe89e, #f59e0b 65%, #b45309 100%);
  color: #1c0f02;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.78), 0 0 16px rgba(245, 184, 65, 0.42);
}

.wheel-center-btn:disabled,
.btn-spin-main:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-spin-main {
  width: 100%;
  max-width: 380px;
  padding: 13px 20px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(95deg, #f43f5e 0%, #f59e0b 55%, #eab308 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(244, 63, 94, 0.32);
}

/* ===== 6. TAB 2: Daily Missions (Screenshot 7 + Progress Chests) ===== */
.chest-progress-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.ms-chest-box {
  padding: 10px 8px;
  border-radius: 14px;
  background: #06060b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  cursor: pointer;
}
.ms-chest-box.ready {
  border-color: #fde047;
  background: rgba(245, 184, 65, 0.16);
}
.ms-chest-box.claimed {
  opacity: 0.55;
  border-color: rgba(52, 211, 153, 0.4);
}

.mission-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #07070d;
  border: 1px solid rgba(255, 255, 255, 0.075);
  margin-bottom: 10px;
}

.m-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.m-ico-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.m-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.m-sub {
  font-size: 11.5px;
  color: var(--text-2);
}

.m-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.m-btn.go {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border: none;
  color: #160a01;
}

.m-btn.claim {
  background: linear-gradient(135deg, #34d399, #059669);
  border: none;
  color: #041f14;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.35);
}

.m-btn.done {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  cursor: default;
}

/* ===== 7. TAB 3 & TAB 4: VIP, Vault & Shop ===== */
.boxes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.box-card {
  border-radius: 20px;
  padding: 14px 10px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.box-card:hover { transform: translateY(-3px); border-color: var(--border-gold); }

.box-img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  margin-bottom: 6px;
}

.box-title { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.box-sub { font-size: 11px; color: var(--text-3); margin-bottom: 10px; }

.box-cost-chip {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
  font-size: 12.5px;
  font-weight: 800;
}

.founder-card {
  border-radius: var(--radius-xl);
  padding: 18px;
  margin-bottom: 16px;
  background: linear-gradient(140deg, #1b1130 0%, #0b0815 65%, #190e1d 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.42);
}

.f-badges { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.f-tag-gold { padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; background: rgba(255,215,0,0.14); border: 1px solid rgba(255,215,0,0.38); color: #ffd700; }
.f-tag-hot { padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; background: rgba(244,63,94,0.15); border: 1px solid rgba(244,63,94,0.36); color: #fda4af; }

.f-content { display: flex; gap: 14px; align-items: center; }
.f-art { width: 108px; height: 144px; border-radius: 14px; object-fit: cover; border: 1.5px solid rgba(255,215,0,0.55); flex-shrink: 0; }
.f-title { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; color: var(--gold-light); }
.f-perks { list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--text-2); }
.f-perks li { display: flex; align-items: center; gap: 6px; }

.vip-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 16px; }
@media (max-width: 459px) {
  .vip-plans-grid { grid-template-columns: repeat(2, 1fr); }
}
.vip-plan-box { padding: 12px 11px; border-radius: 16px; background: var(--surface); border: 1px solid rgba(245,184,65,0.22); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; transition: border-color 0.16s ease, transform 0.14s ease; }
.vip-plan-box:hover { border-color: rgba(245,184,65,0.48); }
.vip-plan-box.early-bonus { border-color: rgba(245,184,65,0.52); box-shadow: 0 0 0 1px rgba(245,184,65,0.12) inset; }
.vip-plan-box.is-featured { background: linear-gradient(155deg, rgba(245,184,65,0.14), rgba(16,17,28,0.96) 62%); border-color: rgba(245,184,65,0.58); box-shadow: 0 8px 22px rgba(245,158,11,0.12), inset 0 0 0 1px rgba(253,224,71,0.14); }
.vip-plan-box.is-gems { background: linear-gradient(155deg, rgba(16,185,129,0.14), rgba(12,18,26,0.96) 62%); border-color: rgba(52,211,153,0.46); }
.vip-plan-box.is-gems:hover { border-color: rgba(52,211,153,0.72); }
.vp-top-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 4px; min-width: 0; }
.vp-dur { font-size: 11.5px; font-weight: 800; color: var(--text-1, #f8fafc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-bonus-pill { padding: 2px 6px; border-radius: 999px; font-size: 9.5px; font-weight: 800; background: rgba(52,211,153,0.16); border: 1px solid rgba(52,211,153,0.44); color: #6ee7b7; white-space: nowrap; flex-shrink: 0; }
.vp-badge-pill { padding: 2px 6px; border-radius: 999px; font-size: 9.5px; font-weight: 800; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #cbd5e1; white-space: nowrap; flex-shrink: 0; }
.vp-badge-pill.gold { background: rgba(245,184,65,0.18); border-color: rgba(245,184,65,0.5); color: #fde68a; }
.vp-badge-pill.gems { background: rgba(16,185,129,0.18); border-color: rgba(52,211,153,0.48); color: #6ee7b7; }
.vp-price { display: flex; align-items: center; gap: 5px; font-size: 19px; font-weight: 800; color: var(--gold-light); font-variant-numeric: tabular-nums; line-height: 1.15; }
.vp-price.gems { color: #6ee7b7; font-size: 17.5px; }
.vp-gems-sub { font-size: 10px; font-weight: 700; color: #94a3b8; margin-top: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-vp-buy { width: 100%; padding: 8px 8px; border-radius: 10px; border: none; background: linear-gradient(135deg,#ffe28a,#f59e0b 55%,#ea580c); color: #170c02; font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; white-space: nowrap; }
.btn-vp-buy.is-gems { background: linear-gradient(135deg,#6ee7b7,#10b981 55%,#059669); color: #041d14; }

.vip-active-card { padding: 16px; border-radius: 18px; margin-bottom: 14px; background: linear-gradient(145deg, rgba(245,184,65,0.11), rgba(15,15,24,0.96) 55%); border: 1px solid rgba(245,184,65,0.38); display: flex; flex-direction: column; gap: 12px; }
.vip-active-card.tier-warn { background: linear-gradient(145deg, rgba(245,158,11,0.16), rgba(18,13,20,0.96) 58%); border-color: rgba(245,158,11,0.58); }
.vip-active-card.tier-urgent { background: linear-gradient(145deg, rgba(244,63,94,0.16), rgba(18,10,16,0.96) 58%); border-color: rgba(244,63,94,0.58); }
.vac-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.vac-status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(245,184,65,0.16); border: 1px solid rgba(245,184,65,0.4); color: #fde68a; }
.vip-active-card.tier-urgent .vac-status-pill { background: rgba(244,63,94,0.18); border-color: rgba(244,63,94,0.45); color: #fda4af; }
.vac-expire-date { font-size: 11.5px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.vac-timer-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 13px; background: rgba(5,5,10,0.65); border: 1px solid rgba(255,255,255,0.08); color: var(--gold-light); }
.vip-active-card.tier-urgent .vac-timer-row { color: #fda4af; border-color: rgba(244,63,94,0.28); }
.vac-timer-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vac-timer-lbl { font-size: 11px; font-weight: 600; color: var(--text-3); }
.vac-timer-val { font-size: 17px; font-weight: 800; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; color: #fff; }
.vac-early-banner { display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border-radius: 11px; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.34); color: #a7f3d0; font-size: 11.5px; line-height: 1.45; font-weight: 600; }
.vac-calm-note { font-size: 11.5px; line-height: 1.45; color: var(--text-2); }
.btn-vac-toggle { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(245,184,65,0.36); background: rgba(245,184,65,0.08); color: var(--gold-light); font-size: 12.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: background 0.16s ease, transform 0.14s ease; }
.btn-vac-toggle:hover { background: rgba(245,184,65,0.16); }
.btn-vac-toggle.highlight { border: none; background: linear-gradient(135deg,#ffe28a,#f59e0b 55%,#ea580c); color: #170c02; }

.vip-expired-notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.36); color: #fecdd3; font-size: 12px; line-height: 1.45; }
.vip-expired-notice strong { display: block; font-size: 12.5px; color: #fff; margin-bottom: 2px; }

.vip-expiry-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; margin-bottom: 10px; background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.42); }
.vip-expiry-strip.urgent { background: rgba(244,63,94,0.12); border-color: rgba(244,63,94,0.46); }
.ves-left { display: flex; align-items: center; gap: 9px; min-width: 0; color: #fde68a; }
.vip-expiry-strip.urgent .ves-left { color: #fda4af; }
.ves-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ves-text strong { font-size: 12px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.ves-text span { font-size: 10.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ves-cta { padding: 7px 11px; border-radius: 10px; border: none; background: linear-gradient(135deg,#ffe28a,#f59e0b 55%,#ea580c); color: #170c02; font-size: 11.5px; font-weight: 800; cursor: pointer; white-space: nowrap; flex-shrink: 0; }

.seg-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #050508; border: 1px solid var(--border); margin-bottom: 14px; }
.seg-btn { padding: 9px 8px; border-radius: 9px; border: none; background: transparent; color: var(--text-2); font-size: 12.5px; font-weight: 800; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg-btn.active { background: var(--surface-elev); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(245,184,65,0.34); }

.addr-copy-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #050508; border: 1px solid var(--border); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold-light); margin: 10px 0; word-break: break-all; }
.field-input { width: 100%; padding: 11px 14px; border-radius: 12px; background: #050508; border: 1px solid rgba(255,255,255,0.11); color: #fff; font-size: 13px; outline: none; margin-bottom: 10px; }
.btn-action-full { width: 100%; padding: 12px 16px; border-radius: 12px; border: none; background: linear-gradient(135deg,#ffe28a,#f59e0b 55%,#ea580c); color: #170c02; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.code-box { padding: 14px; border-radius: 12px; background: #050508; border: 1px solid rgba(245,184,65,0.28); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; line-height: 1.55; color: #fde68a; overflow-x: auto; white-space: pre-wrap; word-break: break-all; margin: 8px 0 12px; }

.jp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
.jp-pot {
  padding: 13px 14px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(16, 16, 26, 0.96), rgba(6, 6, 11, 0.98));
  border: 1px solid rgba(245, 184, 65, 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jp-pot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.jp-pot-name { font-size: 11px; font-weight: 800; color: var(--gold-light); letter-spacing: 0.03em; }
.jp-hold-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  font-size: 10.5px;
  font-weight: 800;
}
.jp-pot-val { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 17px; font-weight: 800; color: #fff; }
.jp-pot-sub { font-size: 11px; color: var(--text-2); line-height: 1.4; }
.jp-pot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 2px;
}
.jp-buy-btn {
  padding: 8px 8px;
  border-radius: 10px;
  border: 1px solid rgba(245, 184, 65, 0.36);
  background: rgba(245, 184, 65, 0.11);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.jp-buy-btn:hover {
  background: rgba(245, 184, 65, 0.22);
  border-color: var(--gold);
}
.jp-buy-btn.star {
  background: linear-gradient(135deg, #ffe28a, #f59e0b 58%, #ea580c);
  border-color: transparent;
  color: #170c02;
}

/* ===== 8. Luxury Ecosystem Footer (With Webmaster SDK Link) ===== */
.hub-footer {
  margin-top: 32px;
  padding: 22px 16px;
  border-radius: 20px;
  background: #07070c;
  border: 1px solid var(--border);
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 0;
}

.footer-link {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.footer-link:hover { color: var(--gold-light); }

/* ===== 9. Mobile Bottom Dock & Modals ===== */
.mobile-dock { display: none; }

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.modal-sheet {
  width: 100%;
  max-width: 430px;
  max-height: 85dvh;
  overflow-y: auto;
  border-radius: 24px;
  padding: 22px 18px;
  background: #12111c;
  border: 1.5px solid rgba(245, 184, 65, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.auth-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.auth-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 10px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.auth-mode-btn {
  height: 34px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.auth-mode-btn.active {
  background: rgba(245, 184, 65, 0.18);
  border-color: rgba(245, 184, 65, 0.52);
  color: var(--gold-light);
}

.auth-mode-btn.is-reg.active {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.6);
  color: #a7f3d0;
}

/* Plan v27: Compact Zero-Clip Embed Auth Drawer (?embed=1) */
.modal-mask.is-embed {
  padding: 6px 8px;
  align-items: center;
  background: rgba(6, 7, 14, 0.96);
  backdrop-filter: blur(8px);
}

.modal-sheet.is-embed {
  max-height: 96dvh;
  padding: 12px 14px 14px;
  border-radius: 18px;
}

.modal-sheet.is-embed .auth-modal-head {
  margin-bottom: 8px;
}

.modal-sheet.is-embed .seg-switch {
  margin-bottom: 8px;
}

.modal-sheet.is-embed .seg-btn {
  min-height: 34px;
  padding: 7px 6px;
  font-size: 12px;
}

.modal-sheet.is-embed .auth-mode-switch {
  margin-bottom: 7px;
}

.modal-sheet.is-embed .auth-mode-btn {
  height: 34px;
  font-size: 12px;
}

.modal-sheet.is-embed .field-label-row {
  margin-top: 6px;
  margin-bottom: 4px;
  font-size: 12px;
}

.modal-sheet.is-embed .field-input {
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
}

.modal-sheet.is-embed .pin-grid,
.modal-sheet.is-embed .pin-box-row {
  gap: 6px;
  margin-bottom: 8px;
}

.modal-sheet.is-embed .pin-box,
.modal-sheet.is-embed .pin-cell {
  height: 40px;
}

.modal-sheet.is-embed .btn-action-full {
  height: 42px;
  margin-top: 8px;
  font-size: 13.5px;
}

.modal-sheet.is-embed .auth-sublinks-row {
  margin-top: 6px;
  margin-bottom: 4px;
}

.modal-sheet.is-embed .w-btn {
  padding: 9px 12px;
  font-size: 12px;
  margin-bottom: 5px;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #06060b;
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 184, 65, 0.28);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 184, 65, 0.52);
}

.w-btn { width: 100%; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; cursor: pointer; margin-bottom: 8px; }
.w-badge-ico { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 800; color: #fff; margin-right: 10px; }

.toast {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 56px);
  left: 50%;
  transform: translate(-50%, -12px) scale(0.97);
  opacity: 0;
  z-index: 2500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: min(92vw, 392px);
  padding: 9px 14px 9px 13px;
  border-radius: 12px;
  background: rgba(11, 14, 24, 0.92);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #f8fafc;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.has-sub { align-items: flex-start; }
.toast::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--toast-accent, #38bdf8);
}
.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.toast.is-dragging {
  transition: none !important;
  cursor: grabbing;
}
.toast-ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--toast-accent, #38bdf8);
  background: var(--toast-accent-bg, rgba(56, 189, 248, 0.14));
}
.toast-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.toast-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.32;
  word-break: break-word;
}
.toast-sub {
  font-size: 11px;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.35;
  word-break: break-word;
}
.toast[data-tone="success"] { --toast-accent: #34d399; --toast-accent-bg: rgba(52, 211, 153, 0.14); }
.toast[data-tone="warn"] { --toast-accent: #fbbf24; --toast-accent-bg: rgba(251, 191, 36, 0.15); }
.toast[data-tone="error"] { --toast-accent: #fb7185; --toast-accent-bg: rgba(251, 113, 133, 0.15); }
.toast[data-tone="info"] { --toast-accent: #38bdf8; --toast-accent-bg: rgba(56, 189, 248, 0.14); }

@media (max-width: 760px) {
  .boxes-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stage-tab-btn { font-size: 11.5px; padding: 9px 4px; }
  .mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(13, 12, 22, 0.97);
    border: 1px solid rgba(245, 184, 65, 0.34);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85);
    opacity: 0;
    pointer-events: none;
    transform: translateY(130%);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .mobile-dock.dock-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .m-dock-btn {
    padding: 6px 4px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
  }
  .m-dock-btn.active {
    background: rgba(245, 184, 65, 0.18);
    color: var(--gold-light);
  }
}

@media (max-width: 480px) {
  .brand-sub { display: none; }
  .tb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .jp-grid { grid-template-columns: 1fr; }
  .f-art { width: 88px; height: 122px; }
}

/* ===== VNC Pass v6: Post-Checkin Compact Hero, PineDrama Missions, Fast CEX/Web3 Topup, PIN Auth & Legal Strip ===== */
.hero-card.compact {
  padding: 13px 14px;
  text-align: left;
}

.muse-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.muse-speech-interactive {
  flex: 1;
  min-width: 0;
  padding: 7px 11px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(245, 184, 65, 0.35);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.muse-speech-interactive:hover {
  border-color: var(--gold);
  background: rgba(245, 184, 65, 0.14);
}

.muse-cta-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.checked-in-mini-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.38);
  color: #fda4af;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.compact-points-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.cpb-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cpb-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
}

.cpb-vals {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
}

.cpb-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 184, 65, 0.4);
  background: rgba(245, 184, 65, 0.15);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

/* Slim Persistent Mining Bar */
.mining-slim-bar {
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: linear-gradient(160deg, #121528 0%, #090b14 100%);
  border: 1px solid rgba(245, 184, 65, 0.36);
}

.mslim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.ms-right-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.cycle-timer-pill {
  white-space: nowrap;
}

.cycle-timer-pill.live {
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  color: #67e8f9 !important;
  animation: liveTimerPulse 1.4s ease-in-out infinite;
}

@keyframes liveTimerPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(56, 189, 248, 0); }
  50% { box-shadow: 0 0 10px rgba(56, 189, 248, 0.38); }
}

.mslim-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mslim-bottom-txt {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-2);
}

.btn-harvest-below {
  width: 100%;
  margin-top: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #fde047;
  background: linear-gradient(135deg, #ffe28a 0%, #f59e0b 55%, #ea580c 100%);
  color: #160a01;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.42);
}

.btn-watch-below {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe28a, #f59e0b);
  color: #160a01;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* PineDrama Mission Cards inside Tab 2 */
.pd-mission-card {
  border-radius: 18px;
  padding: 15px 14px;
  background: linear-gradient(180deg, #161424 0%, #0b0a12 100%);
  border: 1px solid rgba(245, 184, 65, 0.28);
  margin-bottom: 14px;
}

.pd-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pd-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

.pd-red-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ff2d55 0%, #e11d48 100%);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(244, 63, 94, 0.35);
}

.pd-received-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(245, 184, 65, 0.14);
  border: 1px solid rgba(245, 184, 65, 0.32);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 9px;
}

.pd-timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin-top: 8px;
  padding-top: 6px;
}

.pd-timeline-line {
  position: absolute;
  top: 13px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: rgba(245, 184, 65, 0.25);
  z-index: 1;
}

.pd-timeline-node {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-3);
}

.pd-next-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f59e0b;
  color: #170b01;
  font-size: 10px;
  font-weight: 800;
}

.pd-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f59e0b;
  margin: 3px auto 0;
}

/* Fast VIP/Star Deposit Presets & Live Calculator */
.topup-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 10px;
}

.preset-pack-btn {
  padding: 10px 8px;
  border-radius: 13px;
  background: #07070c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  cursor: pointer;
  transition: all 0.16s ease;
}
.preset-pack-btn.active {
  background: linear-gradient(145deg, rgba(245, 184, 65, 0.22), rgba(234, 88, 12, 0.14));
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(245, 184, 65, 0.24);
}

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

.pay-token-btn {
  padding: 9px 6px;
  border-radius: 11px;
  background: #07070c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}
.pay-token-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--cyan);
  color: #fff;
}

.quote-summary-box {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(245, 184, 65, 0.08);
  border: 1px solid rgba(245, 184, 65, 0.34);
  margin-bottom: 12px;
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 5px;
}
.quote-row:last-child { margin-bottom: 0; }

/* Auth Field Labels, Help [ⓘ] Button, 6-Box PIN Dot Grid & SVG Eye Toggle */
.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
}

.label-with-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.info-circle-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(245, 184, 65, 0.38);
  background: rgba(245, 184, 65, 0.1);
  color: var(--gold-light);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.info-circle-btn:hover {
  background: rgba(245, 184, 65, 0.24);
  border-color: var(--gold);
}

.eye-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.eye-inline-btn:hover {
  color: var(--gold-light);
  border-color: rgba(245, 184, 65, 0.35);
}

.help-q-box {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(245, 184, 65, 0.08);
  border: 1px solid rgba(245, 184, 65, 0.28);
  color: var(--gold-light);
  font-size: 11.5px;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* FinTech 6-Box PIN Dot Input ([●] [●] [●] [ ] [ ] [ ]) */
.pin-6box-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.pin-cell-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: #06060b;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  color: var(--gold-light);
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  outline: none;
  caret-color: var(--gold);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.pin-cell-input:focus {
  border-color: var(--gold);
  background: rgba(245, 184, 65, 0.08);
  box-shadow: 0 0 0 3px rgba(245, 184, 65, 0.16);
}

.pin-cell-input.filled {
  border-color: rgba(245, 184, 65, 0.55);
  background: rgba(245, 184, 65, 0.1);
}

.input-eye-wrap {
  position: relative;
  margin-bottom: 12px;
}
.input-eye-wrap .field-input {
  margin-bottom: 0;
  padding-right: 42px;
}
.eye-toggle-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.eye-toggle-btn:hover { color: var(--gold-light); }

.auth-sublinks-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 2px 12px;
}

.auth-sublink-btn {
  background: none;
  border: none;
  padding: 8px 2px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s ease;
}
.auth-sublink-btn:hover { color: var(--gold-light); }

/* PineDrama Legal Terms & FAQ Notice Above Footer */
.legal-notice-bar {
  margin-top: 22px;
  padding: 12px 16px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.55;
}
.legal-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
.legal-link-btn:hover { color: var(--gold-light); }

/* ===== Embed Mode (?embed=1 & ?embed=wallet) & Credential Setup Banner ===== */
.main-wrap.embed-mode {
  padding-top: 8px;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

.embed-compact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(21, 20, 31, 0.92);
  border: 1px solid rgba(245, 184, 65, 0.28);
}

.nick-nudge-pill {
  box-shadow: 0 0 12px rgba(245, 184, 65, 0.36);
  animation: nickNudgeGlow 2.2s ease-in-out infinite;
}

@keyframes nickNudgeGlow {
  0%, 100% { box-shadow: 0 0 6px rgba(245, 184, 65, 0.28); }
  50% { box-shadow: 0 0 16px rgba(245, 184, 65, 0.62); }
}

.setup-creds-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 184, 65, 0.16), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(245, 184, 65, 0.45);
}

.setup-creds-txt {
  flex: 1;
  min-width: 200px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.45;
}

.setup-creds-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.auth-merge-callout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(245, 184, 65, 0.1));
  border: 1px solid rgba(52, 211, 153, 0.42);
}

.auth-merge-callout-txt {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.42;
  color: #d1fae5;
  font-weight: 600;
}

.auth-merge-callout-txt svg {
  color: #34d399;
  margin-top: 2px;
}

.auth-merge-callout-btn {
  width: 100%;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(52, 211, 153, 0.55);
  background: rgba(16, 185, 129, 0.22);
  color: #ecfdf5;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.auth-merge-callout-btn:hover {
  background: rgba(16, 185, 129, 0.34);
  border-color: #6ee7b7;
}

.auth-wallet-recover-trigger {
  margin-top: 8px;
  justify-content: center !important;
  border-color: rgba(245, 184, 65, 0.42) !important;
  background: rgba(245, 184, 65, 0.08) !important;
  color: var(--gold-light) !important;
  font-size: 12px !important;
  min-height: 40px;
}

.auth-wallet-recover-trigger:hover {
  background: rgba(245, 184, 65, 0.16) !important;
  border-color: rgba(245, 184, 65, 0.65) !important;
}

.auth-recover-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(245, 184, 65, 0.08);
  border: 1px solid rgba(245, 184, 65, 0.3);
  color: #fde68a;
  font-size: 11px;
  line-height: 1.42;
}

.auth-recover-note svg {
  color: #fbbf24;
  margin-top: 1px;
}

.auth-recover-wallet-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.auth-recover-wallet-list .w-btn {
  margin-bottom: 0;
  padding: 9px 12px;
  min-height: 42px;
}

@media (max-width: 420px) {
  .stage-tabs-bar {
    grid-template-columns: 1.06fr 0.96fr 1.24fr 0.74fr;
    gap: 3px;
    padding: 4px;
  }
  .stage-tab-btn {
    font-size: 10.5px;
    padding: 8px 2px;
    gap: 3px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stage-tab-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }
}

@media (max-width: 375px) {
  .stage-tab-btn {
    font-size: 10px;
    gap: 2px;
  }
  .stage-tab-btn svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 390px) {
  .ms-label-left {
    font-size: 11px !important;
    gap: 4px;
  }
  .ms-right-stats {
    gap: 4px;
  }
  .ms-right-stats .cycle-timer-pill {
    padding: 2px 6px;
    font-size: 10px;
  }
  .seg-switch-recover .seg-btn {
    padding: 8px 4px;
    font-size: 11.5px;
  }
}

/* PeerTube-style "Thông điệp (?)" Floating Popover on /developers */
.sdk-q-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sdk-q-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 184, 65, 0.55);
  background: rgba(245, 184, 65, 0.12);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.sdk-q-btn:hover {
  background: rgba(245, 184, 65, 0.25);
  border-color: var(--gold);
}

.sdk-q-popover {
  position: relative;
  margin: 8px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #1b1926;
  border: 1px solid rgba(245, 184, 65, 0.42);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.75);
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
}

.sdk-q-popover ul {
  margin: 6px 0 0 16px;
  color: var(--text-2);
}

.account-vnc-vault-box {
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

/* v24: Happy Hour Promo & Viral Referral Share Card (Zero Live Blur) */
.hh-promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #12111d;
  border: 1px solid rgba(245, 184, 65, 0.28);
}

.hh-promo-card.is-live {
  background: linear-gradient(135deg, #251324, #161124);
  border-color: rgba(254, 44, 85, 0.55);
  box-shadow: 0 8px 24px rgba(254, 44, 85, 0.16);
}

.hh-promo-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hh-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f5b841;
  flex-shrink: 0;
}

.hh-status-dot.live {
  background: #fe2c55;
  box-shadow: 0 0 0 4px rgba(254, 44, 85, 0.24);
}

.hh-promo-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.hh-promo-sub {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 2px;
  line-height: 1.35;
}

.hh-mult-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  background: rgba(245, 184, 65, 0.16);
  border: 1px solid rgba(245, 184, 65, 0.45);
  color: #ffe28a;
  white-space: nowrap;
}

.hh-mult-badge.live {
  background: linear-gradient(135deg, #fe2c55, #f59e0b);
  border-color: transparent;
  color: #ffffff;
}

.ref-share-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #100f1a;
  border: 1px solid rgba(245, 184, 65, 0.24);
}

.ref-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.ref-link-input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 11px;
  border-radius: 11px;
  background: #07070c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffe28a;
  font-size: 12px;
  font-weight: 700;
  outline: none;
}

.ref-copy-btn {
  height: 38px;
  padding: 0 14px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffe28a, #f59e0b);
  color: #160c02;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.ref-copy-btn:hover {
  filter: brightness(1.06);
}

/* v25: Telegram Mini App 2.0 Safe Area & Quick Bar (Zero Live Blur) */
body.tg-fullscreen .top-header {
  padding-top: calc(10px + var(--tg-safe-top, 0px));
}

.tg2-quick-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #12111d;
  border: 1px solid rgba(245, 184, 65, 0.3);
}

.tg2-quick-lbl {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-2);
  letter-spacing: 0.2px;
}

.tg2-quick-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tg2-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1b1a29;
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.tg2-btn.gold {
  background: linear-gradient(135deg, #ffe28a, #f59e0b);
  border-color: transparent;
  color: #160c02;
}

/* v26: Plan v12 — Diamond L2 Ledger, Shop Detail Preview, Gift Shop & 10% F1 RevShare (Zero Live Blur) */
.box-card {
  position: relative;
}

.box-preview-hint {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--gold-light);
  background: rgba(245, 184, 65, 0.14);
  border: 1px solid rgba(245, 184, 65, 0.3);
}

.ref-commission-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #141222;
  border: 1px solid rgba(245, 184, 65, 0.28);
}

.ref-claim-btn {
  appearance: none;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: not-allowed;
}

.ref-claim-btn.ready {
  background: linear-gradient(135deg, #ffe28a, #f59e0b);
  border-color: transparent;
  color: #160c02;
  cursor: pointer;
}

.cstar-token-info-box {
  padding: 11px 12px;
  border-radius: 12px;
  background: #121120;
  border: 1px solid rgba(245, 184, 65, 0.22);
  margin-bottom: 10px;
}

.cstar-info-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.cstar-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cstar-info-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #1a1829;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cstar-info-k {
  font-size: 10.5px;
  color: var(--text-3);
  font-weight: 700;
}

.cstar-info-pill strong {
  font-size: 13px;
  font-weight: 800;
}

.cstar-info-hint {
  font-size: 10px;
  color: var(--text-2);
}

.vncx-ready-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  margin-top: 6px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.26);
  font-size: 11px;
  color: #a7f3d0;
  line-height: 1.4;
}

.jp-gem-pool-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 11px;
  font-weight: 800;
  color: #7dd3fc;
}

.l2-mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.l2-kpi-cell {
  padding: 8px 10px;
  border-radius: 10px;
  background: #141222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.l2-kpi-lbl {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 700;
}

.l2-kpi-cell strong {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.shop-preview-sheet {
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
}

.preview-drops-box {
  padding: 10px 11px;
  border-radius: 12px;
  background: #131120;
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-drops-head {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.preview-drop-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.4;
}

.preview-drop-prob {
  flex: 0 0 64px;
  padding: 2px 6px;
  border-radius: 6px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gold-light);
  background: rgba(245, 184, 65, 0.12);
  border: 1px solid rgba(245, 184, 65, 0.25);
}

.preview-drop-lbl {
  flex: 1;
  color: var(--text-2);
}

.gift-fee-card {
  padding: 10px 12px;
  border-radius: 12px;
  background: #141222;
  border: 1px solid rgba(245, 184, 65, 0.28);
  margin-bottom: 8px;
}

.gift-inbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(245, 184, 65, 0.08);
  border: 1px solid rgba(245, 184, 65, 0.28);
}

.ledger-modal-sheet {
  max-width: 500px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.l2-kpi-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-bottom: 8px;
}

.ledger-sec-lbl {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-3);
  margin: 4px 0 5px;
}

.personal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}

.l2-kpi-card.is-personal-earn {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(20, 18, 34, 0.95));
  border-color: rgba(110, 231, 183, 0.32);
}

.l2-kpi-card.is-personal-spend {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.12), rgba(20, 18, 34, 0.95));
  border-color: rgba(251, 113, 133, 0.32);
}

.l2-kpi-sub {
  font-size: 9.5px;
  color: var(--text-3);
  margin-top: 2px;
  line-height: 1.25;
}

.spend-reset-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(245, 184, 65, 0.08);
  border: 1px solid rgba(245, 184, 65, 0.25);
  font-size: 11px;
  color: var(--text-2);
}

.spend-confirm-mask {
  z-index: 12000 !important;
}

.spend-confirm-sheet {
  max-width: 390px !important;
}

.spend-confirm-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
  line-height: 1.35;
}

.spend-confirm-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.14), rgba(245, 184, 65, 0.12));
  border: 1px solid rgba(251, 113, 133, 0.35);
  margin-bottom: 10px;
}

.spend-confirm-amount strong {
  font-size: 18px;
  font-weight: 900;
  color: #fda4af;
}

.spend-confirm-bal {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 9px;
}

.spend-confirm-bal .scb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-2);
}

.spend-confirm-bal .scb-row strong {
  color: #fff;
  font-weight: 800;
}

.spend-confirm-detail {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.4;
  margin-bottom: 10px;
}

.spend-large-lock {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(245, 184, 65, 0.1);
  border: 1px solid rgba(245, 184, 65, 0.28);
  font-size: 11px;
  color: var(--gold-light);
  line-height: 1.35;
}

.spend-skip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 11.5px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
}

.spend-skip-row input {
  width: 15px;
  height: 15px;
  accent-color: #f5b841;
  cursor: pointer;
}

.l2-kpi-card {
  padding: 8px 10px;
  border-radius: 10px;
  background: #141222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.l2-kpi-card strong {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.l2-rollup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 7px 10px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.22);
  font-size: 11px;
}

.ledger-filter-row {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  padding: 2px 0 6px;
  margin-bottom: 6px;
}

.ledger-flt-btn {
  appearance: none;
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #171525;
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.ledger-flt-btn.active {
  background: linear-gradient(135deg, #ffe28a, #f59e0b);
  border-color: transparent;
  color: #160c02;
}

.ledger-gifts-block {
  max-height: 165px;
  overflow-y: auto;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ledger-tx-list {
  flex: 1;
  min-height: 120px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ledger-tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #141222;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ===== VNC Pass OAuth 2.0 Consent · Connected Apps · Step-Up PIN Box ===== */
.spend-pin-box {
  padding: 10px 11px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: rgba(245, 184, 65, 0.07);
  border: 1px solid rgba(245, 184, 65, 0.28);
}

.spend-pin-err {
  margin-top: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fb7185;
  line-height: 1.35;
}

.oauth-auth-wrap {
  max-width: 440px;
  padding-top: 28px;
  padding-bottom: 32px;
}

.oauth-consent-card {
  padding: 20px 18px;
}

.oauth-brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.oauth-brand-node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
}

.oauth-client-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.oauth-title {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 8px;
  color: #fff;
}

.oauth-domain-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-2);
  margin-bottom: 12px;
}

.oauth-desc {
  font-size: 12.5px;
  color: var(--text-2);
  text-align: center;
  line-height: 1.48;
  margin: 0 0 16px;
}

.oauth-acct-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12px;
  margin-bottom: 12px;
}

.oauth-perm-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 8px;
}

.oauth-perm-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.oauth-perm-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.16);
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.38;
}

.oauth-zero-trust-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(245, 184, 65, 0.08);
  border: 1px solid rgba(245, 184, 65, 0.24);
  font-size: 11px;
  color: #fde68a;
  line-height: 1.4;
  margin-bottom: 14px;
}

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

.oauth-state-msg {
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
  padding: 18px 8px;
}

.oauth-err-box {
  text-align: center;
  padding: 10px 4px;
}

.oauth-err-title {
  font-size: 15px;
  font-weight: 800;
  color: #fb7185;
  margin-bottom: 6px;
}

.oauth-err-desc {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.45;
  margin: 0;
}

.oauth-apps-card {
  margin-top: 12px;
}

.oauth-apps-card .icon-circle-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.oauth-apps-empty {
  font-size: 12px;
  color: var(--text-3);
  padding: 10px 0 4px;
}

.oauth-apps-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.oauth-app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.oauth-app-meta {
  min-width: 0;
  flex: 1;
}

.oauth-app-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.oauth-app-name {
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
}

.oauth-tier-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.oauth-tier-pill.internal {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.oauth-tier-pill.partner {
  background: rgba(245, 184, 65, 0.14);
  color: #fde68a;
  border: 1px solid rgba(245, 184, 65, 0.3);
}

.oauth-app-sub {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oauth-app-sub-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 3px;
}

.oauth-app-host {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oauth-app-time {
  white-space: nowrap;
  color: var(--text-2);
}

.oauth-scope-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.oauth-scope-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.oauth-revoke-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.1);
  color: #fda4af;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.eye-inline-btn {
  min-width: 36px;
  min-height: 32px;
}

@media (max-width: 375px), (max-height: 680px) {
  .oauth-auth-wrap {
    padding-top: 10px;
    padding-bottom: 16px;
  }
  .oauth-consent-card {
    padding: 13px 13px;
  }
  .oauth-brand-strip {
    gap: 8px;
    margin-bottom: 9px;
  }
  .oauth-brand-node {
    font-size: 12px;
    gap: 5px;
  }
  .oauth-client-logo {
    width: 24px;
    height: 24px;
  }
  .oauth-title {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .oauth-domain-row {
    margin-bottom: 8px;
    font-size: 11px;
  }
  .oauth-acct-chip {
    padding: 7px 10px;
    margin-bottom: 8px;
    font-size: 11.5px;
  }
  .oauth-perm-head {
    margin-bottom: 5px;
    font-size: 11.5px;
  }
  .oauth-perm-list {
    gap: 5px;
    margin-bottom: 8px;
  }
  .oauth-perm-item {
    padding: 5px 8px;
    font-size: 11.5px;
    line-height: 1.3;
  }
  .oauth-zero-trust-note {
    padding: 6px 8px;
    font-size: 10.5px;
    line-height: 1.32;
    margin-bottom: 10px;
  }
}

.oauth-revoke-all-btn {
  margin-top: 10px;
  margin-bottom: 0;
  justify-content: center;
  gap: 7px;
  border-color: rgba(251, 113, 133, 0.32);
  color: #fda4af;
}
