:root {
  --bg: #08111c;
  --bg-elevated: #0d1826;
  --navy: #102033;
  --cyan: #5ec8d8;
  --cyan-dim: rgba(94, 200, 216, 0.12);
  --teal: #6ec9b8;
  --blue: #3d6ea8;
  --text: #eef3f7;
  --muted: #93a4b5;
  --line: rgba(148, 175, 196, 0.16);
  --danger: #e36b7e;
  --warning: #d7b05a;
  --success: #6ec9b8;
  --card: #101c2b;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  --sidebar: 252px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
}

h1, h2, h3, h4, h5, .brand-word, .stat-value, .plan-name {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.02em;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--teal); }

img { max-width: 100%; }

.app-shell { position: relative; z-index: 1; min-height: 100vh; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: #0a1522;
  position: sticky;
  top: 0;
  z-index: 200;
  isolation: isolate;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  min-width: 0;
}
.brand-home {
  display: flex;
  align-items: center;
  color: inherit;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.brand-tagline {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.brand-tagline:hover { color: var(--teal); }

.brand-mark {
  width: 96px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #071018;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.brand-mark-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #08111c;
  font-weight: 800;
  font-size: 0.82rem;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.02em;
}

.brand-word {
  color: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.brand-word:hover { color: var(--text); }
.label-narrow { display: none; }
.admin-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.app-install-btn {
  white-space: nowrap;
}
.top-actions form {
  display: inline-flex;
  margin: 0;
}
body.admin-portal .footer-inner { opacity: 0.85; }
.install-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 130;
  max-width: min(420px, 90vw);
  padding: 10px 16px;
  border-radius: 999px;
  background: #102033;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
  box-shadow: var(--shadow);
}
.install-toast[hidden] { display: none !important; }
.install-action-card .install-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.install-action-card .install-btn-row .btn {
  min-height: 42px;
  padding: 10px 16px;
  pointer-events: auto;
  cursor: pointer;
  opacity: 1;
}

.nav-links, .top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--cyan-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-family: inherit;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--cyan);
  color: #071018;
  box-shadow: none;
}

.btn-primary:hover { transform: none; color: #071018; filter: brightness(1.06); }

.btn:disabled,
.btn-primary:disabled,
.btn[disabled],
a.btn[disabled] {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  transform: none;
  filter: none;
  box-shadow: none;
}

.topbar,
.top-actions,
.top-actions .btn,
.top-actions a.btn,
.app-install-btn,
.brand-tagline {
  pointer-events: auto;
}
.top-actions {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}
.chrome-btn,
.chrome-btn:disabled,
.chrome-btn[disabled],
.chrome-btn[aria-disabled="true"],
.keep-alive,
.keep-alive:disabled,
.keep-alive[disabled],
.keep-alive[aria-disabled="true"],
.password-toggle,
.password-toggle:disabled,
.password-toggle[disabled],
.bell-btn,
.bell-btn:disabled,
.bell-btn[disabled],
.menu-toggle,
.menu-toggle:disabled,
.menu-toggle[disabled],
.shortcut-toggle,
.shortcut-toggle:disabled {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  filter: none !important;
}
.top-actions .btn,
.top-actions a.btn,
.app-install-btn {
  opacity: 1;
  cursor: pointer;
  filter: none;
}
.top-actions .btn:disabled,
.top-actions .btn[disabled],
.app-install-btn:disabled,
.app-install-btn[disabled] {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  filter: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-danger { background: rgba(255, 92, 122, 0.15); color: #ff8da0; border: 1px solid rgba(255, 92, 122, 0.3); }
.btn-success { background: rgba(46, 230, 200, 0.12); color: var(--teal); border: 1px solid rgba(46, 230, 200, 0.3); }
.btn-sm { padding: 7px 12px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.layout { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: calc(100vh - 75px); }
.layout.public { display: block; }
@media (min-width: 861px) {
  body.member-home .layout { grid-template-columns: 1fr; }
  body.member-home .sidebar { display: none; }
  body.member-home .sidebar.open { display: block !important; }
}
.sidebar.open {
  display: block !important;
  position: fixed;
  top: 74px;
  left: 0;
  z-index: 80;
  width: min(320px, 92vw);
  max-height: calc(100vh - 74px);
  overflow: auto;
  box-shadow: var(--shadow);
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #0b1624;
  padding: 18px 14px;
}

.side-group { margin-bottom: 22px; }
.side-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 12px 8px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding: 11px 12px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.side-link i { width: 18px; text-align: center; color: var(--muted); }
.side-link:hover, .side-link.active {
  background: var(--cyan-dim);
  color: var(--text);
}
.side-link.active i { color: var(--cyan); }

.content { padding: 28px; max-width: 1280px; }
.content-wide { max-width: 100%; }

.page-back-wrap {
  padding: 16px 28px 0;
  max-width: 1280px;
}
.page-back {
  min-width: 92px;
}
.dash-frontbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0a1522;
}
.dash-frontbar .btn {
  white-space: nowrap;
}
.dash-shortcuts {
  position: relative;
  display: flex;
  width: 100%;
  margin-bottom: 12px;
  padding: 6px;
  z-index: 2;
}
.dash-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.shortcut-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan);
  color: #071018;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
}
.shortcut-toggle i { font-size: 1.05rem; }
.shortcut-toggle:hover { filter: brightness(1.06); color: #071018; }
.shortcut-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 41;
  min-width: 260px;
  display: none;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d1a28;
  box-shadow: var(--shadow);
}
.dash-shortcuts.is-open .shortcut-menu {
  display: grid;
}
.shortcut-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
}
.shortcut-menu a i {
  width: 18px;
  text-align: center;
  color: var(--cyan);
}
.shortcut-menu a:hover {
  background: var(--cyan-dim);
  color: var(--text);
}
#withdraw-history {
  scroll-margin-top: 88px;
}
.page-back-wrap + .content {
  padding-top: 12px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

.page-head-actions {
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.page-head-actions .btn {
  white-space: nowrap;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin: 0 0 6px;
}

.page-head h1, .hero h1 { margin: 0; font-size: 1.7rem; }
.lede { color: var(--muted); margin: 8px 0 0; max-width: 62ch; }
.page-head-center {
  justify-content: center;
  text-align: center;
}
.page-head-center .lede {
  margin-left: auto;
  margin-right: auto;
}
.page-head-end {
  justify-content: flex-end;
  margin-bottom: 8px;
}
.plan-title-unit {
  display: inline-block;
  max-width: 28rem;
}
.plan-title-unit h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
}
.plan-title-unit h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
}
.plan-head-balance {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 0.95rem;
}
.plan-head-balance strong {
  font-family: Outfit, sans-serif;
}
.plan-head-facts {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.grid-4, .grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card, .glass {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.card { padding: 20px; }

.stat-card {
  position: relative;
}

.stat-label { color: var(--muted); font-size: 0.85rem; }
.stat-value { font-size: 1.35rem; margin-top: 8px; }
.stat-sub { color: var(--muted); font-size: 0.8rem; margin-top: 6px; }
.gallery-sheet {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(165deg, rgba(94, 200, 216, 0.08), transparent 42%),
    linear-gradient(180deg, #0f1c2b 0%, #0b1522 100%);
  box-shadow: var(--shadow);
}
.gallery-sheet-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.gallery-sheet-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.gallery-sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery-tile {
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 175, 196, 0.14);
  background: rgba(4, 12, 22, 0.45);
  min-height: 108px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.gallery-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(94, 200, 216, 0.14);
  color: var(--cyan);
  font-size: 1rem;
  margin-bottom: 2px;
  line-height: 1;
}
.gallery-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.gallery-icon i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
  line-height: 1;
  color: inherit;
}
.gallery-tile-money .gallery-icon {
  background: rgba(215, 176, 90, 0.16);
  color: var(--warning);
}
.gallery-tile-remain .gallery-icon {
  background: rgba(110, 201, 184, 0.16);
  color: var(--success);
}
.gallery-kicker {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gallery-value {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  word-break: break-word;
}
.gallery-note {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.payments-total .stat-value { font-size: 1.7rem; }
.payments-total .plan-row { margin-top: 10px; }
.payments-total .plan-row + .plan-row { margin-top: 6px; }
.total-earning .stat-value { font-size: 1.7rem; }
.earning-split { margin-top: 16px; }
.earning-box .stat-value { font-size: 1.5rem; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 56px 28px 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; font-weight: 600; }

.logo-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1624;
}

.logo-stage img { display: block; width: 100%; }

.access-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 24px;
}

.access-panel h3 { margin: 0 0 6px; }
.access-panel .lede { margin: 0; max-width: 560px; }

.how-video {
  margin-top: 22px;
  max-width: 820px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1624;
}

.how-video video {
  display: block;
  width: 100%;
  max-height: 460px;
  background: #000;
}

.how-video-block {
  margin: 28px auto 8px;
  max-width: 1200px;
  padding: 0 4px;
}

.how-video-block h2 {
  margin: 6px 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.how-video-caption {
  margin-top: 12px;
  max-width: 720px;
}

.how-video-cta {
  margin-top: 16px;
}

.how-video-compact {
  margin: 0 0 18px;
  max-width: 520px;
}

.how-video-compact .how-video {
  margin-top: 12px;
  max-width: 520px;
}

.how-video-compact .how-video video {
  max-height: 280px;
}

.auth-wrap .how-video-block h2 {
  font-size: 1.35rem;
}

.layout.public .hero {
  padding-top: 64px;
  padding-bottom: 28px;
}

.layout.public .section h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 22px auto 8px;
  max-width: 1200px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 200, 87, 0.08);
  border: 1px solid rgba(255, 200, 87, 0.25);
  color: #f3e0ae;
  font-size: 0.92rem;
}

.section { padding: 28px; max-width: 1200px; margin: 0 auto; }
.section.plans-section { max-width: 1480px; }
.section h2 { font-size: 2rem; margin: 0 0 8px; }

.plans-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.public-plans {
  max-width: 980px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 1100px) {
  .public-plans {
    max-width: 1100px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.plan-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  position: relative;
}

.plan-number {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  min-width: 34px;
  height: 22px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: #071018;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border-radius: 6px;
}

.plan-photo {
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-bottom: 1px solid var(--line);
  background: #05080d;
}

.plan-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

.plan-card.featured {
  border-color: rgba(94, 200, 216, 0.4);
}

.plan-name { font-size: 1rem; margin: 0; text-align: center; }
.plan-name .num { color: var(--cyan); margin-right: 6px; }
.plan-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.plan-stat-wide {
  grid-column: 1 / -1;
  width: 100%;
}
.plan-stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 6px;
  text-align: center;
  background: rgba(4, 12, 22, 0.55);
}
.plan-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.plan-stat strong {
  color: var(--text);
  font-size: 0.82rem;
  font-family: Outfit, sans-serif;
}
.cashout-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.78rem;
  line-height: 1.3;
}
.cashout-line .fa-plus {
  color: #fff;
  font-size: 0.72em;
  font-weight: 700;
}
.plan-quote {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.4;
  text-align: center;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}
.plan-body .lede {
  margin: 0 0 12px;
  font-size: 0.86rem;
}
.plan-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.plan-metric span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-metric strong {
  color: var(--text);
  font-size: 1.02rem;
  font-family: Outfit, sans-serif;
}
.plan-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem;
}
.plan-row strong { color: var(--text); }
.plan-card .btn { margin-top: auto; }
.plan-card form { margin-top: auto; }

@media (max-width: 1199px) {
  .plans-board { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .plan-stats { grid-template-columns: 1fr 1fr; }
}

.feature {
  padding: 22px;
}
.feature i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cyan-dim);
  color: var(--cyan);
  margin-bottom: 14px;
}

.steps { counter-reset: step; }
.step { padding: 20px; position: relative; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--cyan);
  font-family: Outfit, sans-serif;
  font-size: 1.4rem;
  display: block;
  margin-bottom: 8px;
}

.table-wrap { overflow: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
}
table.data th, table.data td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}
table.data .stat-sub {
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
table.data th { color: var(--muted); font-weight: 500; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-pending { background: rgba(255, 200, 87, 0.12); color: var(--warning); }
.badge-approved, .badge-completed, .badge-rewarded, .badge-active { background: rgba(46, 230, 200, 0.12); color: var(--teal); }
.badge-rejected, .badge-inactive, .badge-replaced { background: rgba(255, 92, 122, 0.12); color: #ff8da0; }
.timer-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.timer-chip.is-ok {
  background: rgba(110, 201, 184, 0.14);
  color: #8fd8c8;
  border-color: rgba(110, 201, 184, 0.35);
}
.timer-chip.is-due {
  background: rgba(215, 176, 90, 0.16);
  color: #e6c878;
  border-color: rgba(215, 176, 90, 0.4);
}
.timer-chip.is-stopped {
  background: rgba(255, 92, 122, 0.14);
  color: #ff8da0;
  border-color: rgba(255, 92, 122, 0.35);
}
.timer-chip.is-idle {
  background: rgba(148, 175, 196, 0.1);
  color: var(--muted);
}

.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.form-hint { margin: 4px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.file-field { display: grid; gap: 10px; }
.plan-preview {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #041018;
}
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.user-chip .stat-label {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-avatar-slot {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
.user-avatar-slot-sm { width: 36px; height: 36px; }
.user-avatar-slot-md { width: 52px; height: 52px; }
.user-avatar-slot-lg { width: 96px; height: 96px; }
.user-avatar-slot-xl { width: 112px; height: 112px; }
.user-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(46, 230, 200, 0.28), rgba(56, 189, 248, 0.16));
}
img.user-avatar {
  display: block;
  width: 100%;
  height: 100%;
  background: #102033;
}
.user-avatar[hidden] { display: none !important; }
.user-avatar-sm { width: 36px; height: 36px; font-size: 0.72rem; }
.user-avatar-md { width: 52px; height: 52px; font-size: 0.9rem; }
.user-avatar-lg { width: 96px; height: 96px; font-size: 1.4rem; }
.user-avatar-xl { width: 112px; height: 112px; font-size: 1.55rem; }
.user-avatar-fallback {
  background: linear-gradient(180deg, rgba(46, 230, 200, 0.28), rgba(56, 189, 248, 0.16));
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.avatar-editor {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 18px;
  align-items: center;
  position: relative;
}
.avatar-picker {
  position: relative;
  width: 124px;
  height: 124px;
  margin: 0;
  cursor: pointer;
  display: block;
}
.avatar-picker .user-avatar {
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.28);
}
.avatar-camera {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: #041018;
  border: 3px solid #071422;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  z-index: 3;
  cursor: pointer;
  pointer-events: auto !important;
  opacity: 1 !important;
  appearance: none;
  -webkit-appearance: none;
}
.camera-svg {
  width: 18px;
  height: 18px;
  display: block;
  overflow: visible;
  flex: 0 0 auto;
}
.camera-svg .cam-body,
.camera-svg .cam-dot {
  fill: #041018;
  stroke: none;
}
.camera-svg .cam-lens {
  fill: #8fd8e4;
  stroke: none;
}
.avatar-action-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.avatar-action-btn .camera-svg,
.avatar-action-btn .gallery-svg {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
}
#avatar-take .camera-svg .cam-body,
#avatar-take .camera-svg .cam-dot,
[data-avatar-take] .camera-svg .cam-body,
[data-avatar-take] .camera-svg .cam-dot {
  fill: #071018;
}
#avatar-take .camera-svg .cam-lens,
[data-avatar-take] .camera-svg .cam-lens {
  fill: #ffffff;
}
.gallery-svg .gal-frame {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
}
.gallery-svg .gal-sun,
.gallery-svg .gal-hill {
  fill: #ffffff;
  stroke: none;
}
.proof-placeholder .icon-svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none !important;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.proof-placeholder .camera-svg {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
}
.proof-placeholder .camera-svg .cam-body,
.proof-placeholder .camera-svg .cam-dot {
  fill: var(--cyan);
}
.proof-placeholder .camera-svg .cam-lens {
  fill: #102033;
}
.avatar-sheet .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.avatar-picker:hover .avatar-camera {
  transform: scale(1.06);
}
button.avatar-picker {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
#avatar-stage {
  cursor: pointer;
}
.avatar-sheet {
  position: absolute;
  left: 0;
  right: 0;
  top: 132px;
  z-index: 30;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d1a28;
  box-shadow: var(--shadow);
  max-width: 280px;
}
.avatar-sheet[hidden] { display: none !important; }
.camera-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  background: rgba(4, 10, 18, 0.86);
}
.camera-modal[hidden] { display: none !important; }
.camera-modal video {
  width: min(420px, 92vw);
  max-height: 70vh;
  border-radius: 16px;
  background: #041018;
  object-fit: cover;
}
.avatar-copy strong {
  display: block;
  margin-bottom: 4px;
}
.avatar-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.form-error {
  margin: 8px 0 0;
  color: #ff8da0;
  font-size: 0.85rem;
}
.form-error[hidden] { display: none !important; }
.welcome-line {
  display: flex;
  align-items: center;
  gap: 12px;
}
.welcome-line h1 { margin: 0; }
.claim-form { margin: 0; display: inline-flex; }
.claim-btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.claim-btn-lg {
  padding: 14px 26px;
  min-height: 52px;
  font-size: 1.05rem;
}
.claim-btn-sm {
  padding: 9px 18px;
  min-height: 40px;
  font-size: 0.9rem;
}
.claim-badge {
  border-radius: 999px;
  padding: 10px 16px;
}
.claim-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 16px 64px;
}
.claim-stage.is-empty {
  padding: 28px 16px 36px;
}
.claim-empty {
  max-width: 440px;
  text-align: center;
}
.claim-empty .lede { margin-bottom: 4px; }
.claim-circle-form { margin: 0; }
.claim-circle {
  width: 240px;
  height: 240px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(180deg, #5ec8d8 0%, #3d6ea8 100%);
  color: #071018;
  box-shadow: 0 18px 42px rgba(94, 200, 216, 0.35);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.claim-circle:hover,
.claim-circle:focus {
  color: #071018;
  filter: brightness(1.08);
  transform: scale(1.04);
}
.claim-circle:active {
  transform: scale(0.96);
}
.claim-circle-label {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: center;
  padding: 0 18px;
}
.claim-circle-amt {
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0.92;
}
.claim-circle.is-done,
.claim-circle.is-locked {
  cursor: default;
  box-shadow: none;
  color: #eef3f7;
}
.claim-circle.is-done {
  background: #1a3348;
}
.claim-circle.is-locked {
  background: linear-gradient(180deg, #d7b05a, #b8892e);
  color: #071018;
}
.claim-circle.is-done:hover,
.claim-circle.is-locked:hover {
  transform: none;
  filter: none;
}
.claim-circle.is-done:hover { color: #eef3f7; }
.claim-circle.is-locked:hover { color: #071018; }
.user-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-thumb-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-thumb-cell img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
input[type="file"] {
  padding: 10px;
}
input[type="hidden"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
input, select, textarea {
  width: 100%;
  background: rgba(4, 12, 22, 0.8);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.auth-wrap {
  min-height: calc(100vh - 75px);
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.auth-card {
  width: min(520px, 100%);
  padding: 28px;
}

.auth-logo {
  width: 100%;
  height: auto;
  max-width: 280px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  background: #071018;
}
.auth-logo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.flashes { max-width: 1200px; margin: 16px auto 0; padding: 0 28px; display: grid; gap: 8px; }
.flash {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid;
}
.flash-success { background: rgba(46,230,200,0.1); border-color: rgba(46,230,200,0.3); color: #b8fff1; }
.flash-danger { background: rgba(255,92,122,0.1); border-color: rgba(255,92,122,0.3); color: #ffd0d8; }
.flash-warning { background: rgba(255,200,87,0.1); border-color: rgba(255,200,87,0.3); color: #ffe7b0; }
.flash-info { background: rgba(0,212,255,0.1); border-color: rgba(0,212,255,0.3); color: #c9f6ff; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.menu-toggle.btn {
  display: inline-flex;
}

.live-control,
.live-control:disabled,
.live-control[disabled],
.password-toggle,
.password-toggle:disabled {
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  filter: none !important;
  -webkit-filter: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  color: var(--text) !important;
  background: #102033 !important;
  border: 1px solid var(--line) !important;
}
.password-field { display: flex; gap: 8px; align-items: center; position: relative; z-index: 6; }
.password-field input { flex: 1; }
.password-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  flex: 0 0 44px;
  border-radius: 12px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.password-toggle i,
.password-toggle .eye-svg {
  display: block !important;
  width: 20px;
  height: 20px;
  font-size: 18px;
  line-height: 1;
  color: #ffffff !important;
}
.password-toggle .eye-svg {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cred-box {
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 12, 22, 0.55);
}
.cred-box strong { word-break: break-all; }
.copy-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.copy-row input { flex: 1; }

.method-grid {
  display: grid;
  gap: 10px;
}
.method-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  background: rgba(4, 12, 22, 0.45);
}
.method-option input {
  width: auto;
  margin-top: 4px;
}
.method-option:has(input:checked) {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}
.method-option strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.method-option strong i { color: var(--cyan); }
.method-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}
.method-copy { margin-top: 8px; }
.pay-copy {
  width: 100%;
  align-items: flex-start;
}
.pay-value {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 6px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-all;
  color: var(--text);
}
.method-mini {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
}
.method-pick { display: grid; gap: 10px; }
.method-pick-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 12, 22, 0.45);
  color: var(--text);
}
.method-pick-card:hover {
  border-color: var(--cyan);
  color: var(--text);
}
.method-pick-card i.fa-chevron-right { color: var(--muted); }
.method-pick-card strong { display: block; }
.plan-fee-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.plan-fee-chip {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 108px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: #0a1522;
  color: var(--text);
}
.plan-fee-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.plan-fee-chip:has(input:checked) {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 200, 216, 0.16);
}
.plan-fee-chip span { color: var(--muted); font-size: 0.82rem; }
.method-icon-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
}
.method-icon-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96px;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  overflow: visible;
  flex: 0 0 96px;
}
.method-icon-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.method-icon-face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  min-width: 84px;
  min-height: 84px;
  max-width: 84px;
  max-height: 84px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  background: #0a1522;
  box-sizing: border-box;
  flex: none;
}
.method-icon-name {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--text);
}
.method-icon-face img,
.method-logo-circle {
  display: block;
  width: 84px;
  height: 84px;
  max-width: 84px;
  max-height: 84px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 0;
  background: #000;
}
.method-logo-circle {
  width: 56px;
  height: 56px;
  border: 2px solid var(--line);
  flex: 0 0 56px;
}
.method-logo-preview {
  width: 120px;
  height: 120px;
  flex: none;
}
.method-icon-tile[data-brand="jazzcash"] .method-icon-face,
.method-logo-circle[data-brand="jazzcash"] {
  background: #000;
}
.method-icon-tile[data-brand="easypaisa"] .method-icon-face,
.method-logo-circle[data-brand="easypaisa"] {
  background: #fff;
}
.method-icon-tile[data-brand="easypaisa"] .method-icon-face img,
.method-logo-circle[data-brand="easypaisa"] {
  object-fit: contain;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
}
.method-icon-tile[data-brand="digitt"] .method-icon-face,
.method-logo-circle[data-brand="digitt"] {
  background: #0b3d2e;
}
.method-icon-tile[data-brand="digitt"] .method-icon-face img,
.method-logo-circle[data-brand="digitt"] {
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}
.method-icon-face i {
  font-size: 1.8rem;
  color: var(--cyan);
}
.method-icon-detail {
  display: none;
  padding: 0 14px 14px;
}
.method-icon-tile:has(input:checked) .method-icon-face {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 200, 216, 0.16);
}
.method-icon-tile:has(input:checked) .method-icon-detail {
  display: block;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.method-icon-only .method-icon-detail,
.method-icon-only.method-icon-tile:has(input:checked) .method-icon-detail {
  display: none !important;
}
.wallet-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.wallet-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0a1522;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.wallet-pick.is-on {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 200, 216, 0.16);
}
.wallet-pick:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.wallet-pick strong { font-size: 1.15rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.pay-request {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.06);
  display: grid;
  gap: 8px;
}
.pay-request strong { font-size: 1.15rem; }
.pay-scan-qr {
  width: min(100%, 320px);
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  justify-self: start;
}
.pay-form { max-width: 760px; }
.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.pay-step {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
}
.proof-picker {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  cursor: pointer;
  background: rgba(4, 12, 22, 0.55);
  overflow: hidden;
}
.proof-placeholder {
  display: grid;
  gap: 8px;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}
.proof-placeholder i { font-size: 1.6rem; color: var(--cyan); }
.proof-picker .proof-preview {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #041018;
}
.method-icon {
  width: 52px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
}
.proof-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
  background: #041018;
}
.proof-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  color: var(--cyan);
  font-size: 0.78rem;
}
.proof-preview { height: 220px; }

.empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
}

.side-link .nav-count { margin-left: auto; }
.nav-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--cyan);
  color: #041018;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}
.bell-wrap { position: relative; }
.icon-only-btn.btn {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
}
.icon-only-btn .icon-svg {
  width: 18px;
  height: 18px;
}
.bell-btn.btn,
.menu-toggle.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bell-btn .icon-svg,
.menu-toggle .icon-svg,
.shortcut-toggle .icon-svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shortcut-toggle .icon-svg { stroke: #071018; }
.copy-btn.btn {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
.copy-btn .icon-svg,
.copy-btn .copy-svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.copy-btn.is-copied {
  border-color: var(--teal);
  color: var(--teal);
}
.ticket-photo-link { display: block; margin-top: 8px; }
.ticket-photo {
  display: block;
  max-width: min(280px, 100%);
  max-height: 220px;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.support-photo-mini {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.chat-composer input[type="file"] {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.bell-btn .nav-count {
  position: absolute;
  top: -6px;
  right: -6px;
}
.bell-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 48px;
  width: min(360px, 86vw);
  background: #0a1628;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 95;
  padding: 10px;
  max-height: min(70vh, 480px);
  overflow-y: auto;
}
.bell-wrap.open .bell-menu { display: block; }
.bell-head, .bell-item, .bell-more {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 8px;
}
.bell-item {
  flex-direction: column;
  align-items: flex-start;
  color: var(--text);
  border-radius: 10px;
}
.bell-item.unread { background: rgba(0, 212, 255, 0.08); }
.bell-item span, .bell-item small { color: var(--muted); font-size: 0.8rem; }
.bell-empty, .bell-more { color: var(--muted); padding: 10px; }
.claim-rule-bar {
  padding: 8px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(94, 200, 216, 0.08);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.site-notice {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 212, 255, 0.08);
  color: var(--text);
  font-size: 0.9rem;
}
.withdraw-alert {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(255, 200, 87, 0.35);
  background: rgba(255, 200, 87, 0.16);
  color: var(--text);
  font-size: 0.92rem;
}
.withdraw-alert span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.faq-list { display: grid; gap: 10px; margin-top: 18px; max-width: 860px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-caret {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(0deg);
  transition: transform 0.18s ease;
}
.faq-item[open] .faq-caret { transform: rotate(90deg); }
.faq-item p {
  margin: 0;
  padding: 0 18px 16px 46px;
  color: var(--muted);
  line-height: 1.55;
}
.calc-card { max-width: 860px; margin-top: 18px; }
.calc-result {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.calc-result span { display: block; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; margin-bottom: 6px; }
.ticket { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.support-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.ticket-list { display: grid; gap: 14px; min-width: 0; }
.ticket-list h3 { margin: 0; }
.ticket-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(10, 24, 42, 0.72);
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.ticket-head strong { display: block; }
.ticket-thread {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px 4px 6px 0;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #7dffcf;
  background: rgba(46, 230, 200, 0.12);
  border: 1px solid rgba(46, 230, 200, 0.28);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ee6c8;
  box-shadow: 0 0 0 0 rgba(46, 230, 200, 0.7);
  animation: live-pulse 1.6s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 200, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(46, 230, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 200, 0); }
}
.chat-composer textarea { min-height: 72px; }
.method-copy input {
  min-width: 0;
  max-width: none;
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}
.ticket-bubble {
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
}
.ticket-bubble span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}
.ticket-bubble p { margin: 0; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-bubble-member { background: rgba(255,255,255,0.03); }
.ticket-bubble-admin {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.22);
}
.ticket-bubble-admin span { color: var(--cyan); }
.followup-box {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.05);
  display: grid;
  gap: 10px;
}
.followup-box textarea {
  display: block !important;
  min-height: 96px !important;
  height: auto !important;
  resize: vertical;
  visibility: visible !important;
  opacity: 1 !important;
}
.followup-box .btn {
  display: inline-flex !important;
  width: auto;
  justify-self: start;
}
.login-reward-ok,
.login-reward-miss {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.login-reward-ok {
  background: rgba(46, 230, 200, 0.12);
  color: var(--teal);
  border: 1px solid rgba(46, 230, 200, 0.28);
}
.login-reward-miss {
  background: rgba(255, 200, 87, 0.12);
  color: var(--warning);
  border: 1px solid rgba(255, 200, 87, 0.28);
}
.boost-track {
  height: 6px;
  margin-top: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.boost-track > span {
  display: block;
  height: 100%;
  background: var(--teal);
}
.invite-boost {
  margin-top: 16px;
  margin-bottom: 16px;
}
.ticket-reply {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
}
.ticket-reply span { color: var(--cyan); font-size: 0.75rem; text-transform: uppercase; }
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.quick-actions a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--text);
  font-size: 0.82rem;
}
.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.dash-actions .btn {
  min-width: 132px;
}
.page-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}
.page-jumps .btn {
  min-width: 120px;
}
#deposit-cash,
#deposit-wallet,
#deposit-history {
  scroll-margin-top: 88px;
}
.earn-chart {
  display: flex;
  align-items: stretch;
  gap: 6px;
  height: 220px;
  margin-top: 12px;
  padding: 12px 4px 40px;
  border-top: 1px solid var(--line);
}
.earn-col {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.earn-bar.is-empty {
  background: rgba(148, 175, 196, 0.18);
}
.earn-col span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}
.tx-list {
  display: grid;
  gap: 8px;
}
.tx-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
}
.tx-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tx-in { background: rgba(110, 201, 184, 0.14); color: var(--teal); }
.tx-out { background: rgba(227, 107, 126, 0.14); color: var(--danger); }
.tx-earn { background: rgba(94, 200, 216, 0.14); color: var(--cyan); }
.tx-plan { background: rgba(61, 110, 168, 0.18); color: #8eb4e8; }
.tx-team { background: rgba(215, 176, 90, 0.14); color: var(--warning); }
.tx-main,
.tx-meta {
  min-width: 0;
}
.tx-main strong,
.tx-meta strong {
  display: block;
}
.tx-main span,
.tx-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}
.tx-meta {
  text-align: right;
}
.tx-meta .badge {
  margin-top: 4px;
}
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.badge-open { background: rgba(255, 200, 87, 0.12); color: var(--warning); }
.badge-answered { background: rgba(46, 230, 200, 0.12); color: var(--teal); }
.badge-closed { background: rgba(255, 92, 122, 0.12); color: #ff8da0; }

.wallet-split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 16px; }
.history-card { margin-top: 16px; }
.withdraw-status-split { margin-top: 16px; }
.withdraw-request-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 860px) {
  .withdraw-request-stage { grid-template-columns: 1fr; }
}
.withdraw-box-pending { border-color: rgba(255, 200, 87, 0.32); }
.withdraw-box-rejected { border-color: rgba(255, 92, 122, 0.32); }
.reason-cell { white-space: normal; max-width: 280px; line-height: 1.4; }
.reject-report-list { display: grid; gap: 12px; }
.reject-report {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 92, 122, 0.28);
  border-radius: 12px;
  background: rgba(255, 92, 122, 0.06);
}
.reject-reason-box {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 92, 122, 0.1);
  border: 1px solid rgba(255, 92, 122, 0.22);
}
.reject-reason-label {
  margin: 0 0 6px;
  color: #ff8da0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.reject-reason-text {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: normal;
}
.tx-main .reject-reason-box { margin-top: 8px; }
.support-question-label {
  margin: 8px 0 4px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.support-question-preview {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.combined-cashout-card {
  margin: 0 0 12px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  background:
    linear-gradient(180deg, rgba(94, 234, 212, 0.12), rgba(94, 234, 212, 0.04));
}
.combined-kicker {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.combined-amount {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.15;
}
.combined-break {
  margin: 8px 0 0;
  color: var(--muted, #9aa4b2);
  font-size: 0.9rem;
  line-height: 1.4;
}
.withdraw-next-gate {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 200, 87, 0.32);
  background: rgba(255, 200, 87, 0.08);
  display: grid;
  gap: 10px;
}
.withdraw-next-copy {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}
.withdraw-next-progress {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan);
}
.withdraw-admin-actions {
  display: grid;
  gap: 10px;
  min-width: 240px;
}
.reject-row {
  display: grid;
  gap: 8px;
}
.reject-row input {
  width: 100%;
  min-width: 220px;
}
.status-sol {
  display: grid;
  gap: 8px;
  min-width: 260px;
}
.sol-bar {
  display: flex;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.sol-opt {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.sol-opt.is-on[value="Pending"] {
  background: rgba(255, 200, 87, 0.22);
  color: var(--warning);
}
.sol-opt.is-on[value="Rejected"] {
  background: rgba(255, 92, 122, 0.22);
  color: #ff8da0;
}
.sol-opt.is-on[value="Approved"] {
  background: rgba(46, 230, 200, 0.22);
  color: var(--teal);
}
.status-sol input {
  width: 100%;
  min-width: 220px;
}

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero, .wallet-split { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .claim-rule-bar { padding: 8px 12px; font-size: 0.76rem; }
  .topbar {
    padding: 10px 12px;
    gap: 8px;
  }
  .brand { gap: 8px; min-width: 0; }
  .brand-mark { width: 78px; height: 42px; border-radius: 10px; }
  .brand-word { font-size: 0.9rem; }
  .brand-tagline { font-size: 0.66rem; }
  .top-actions { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
  .top-actions .btn-sm { padding: 7px 10px; font-size: 0.78rem; white-space: nowrap; }
  .top-actions .user-chip .stat-label { display: none; }
  .dash-frontbar { padding: 8px; gap: 6px; }
  .dash-quick-actions { gap: 6px; }
  .dash-quick-actions .btn { padding: 7px 10px; font-size: 0.78rem; }
  .wallet-picks { grid-template-columns: 1fr; }
  .label-wide { display: none; }
  .label-narrow { display: inline; }
  .gallery-sheet-head { flex-direction: column; align-items: flex-start; }
  .gallery-sheet-grid { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .sidebar.open { display: block; position: fixed; inset: 74px 0 auto 0; z-index: 30; max-height: calc(100vh - 74px); overflow: auto; }
  .menu-toggle { display: inline-flex; }
  .claim-stage { padding: 36px 12px 48px; }
  .claim-circle { width: 200px; height: 200px; }
  .claim-circle-label { font-size: 1.85rem; }
  .grid-3, .grid-2, .form-row, .avatar-editor, .support-layout, .pay-grid { grid-template-columns: 1fr; }
  .plans-board { grid-template-columns: 1fr; }
  .plan-stats { grid-template-columns: 1fr 1fr; }
  .content, .hero, .section { padding: 18px; }
  .tx-row { grid-template-columns: 42px 1fr; }
  .tx-meta { grid-column: 2; text-align: left; }
  .method-icon-row { gap: 22px; }
  .method-icon-tile { width: 88px; height: auto; flex: 0 0 88px; }
  .method-icon-face,
  .method-icon-face img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    max-width: 72px;
    max-height: 72px;
  }
  .nav-links { display: none; }
}
