@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/inter@5.2.8/latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/inter@5.2.8/latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/inter@5.2.8/latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/inter@5.2.8/latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #05070d;
  --card: rgba(10, 16, 30, 0.9);
  --line: rgba(228, 197, 106, 0.32);
  --gold: #e6c56d;
  --gold-2: #f8e7b0;
  --gold-deep: #a67c2d;
  --blue: #3b82ff;
  --cyan: #8fd7ff;
  --text: #f4f7fb;
  --muted: var(--text);
  --ok: #3dd6a5;
  --danger: #ff7b8a;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
  overflow-anchor: none;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
button, input, select, textarea, .btn, .form-control, .form-select, .accordion-button, .nav-link {
  font-family: inherit;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background:
    radial-gradient(ellipse 42% 32% at 8% 22%, rgba(230, 197, 109, 0.28), transparent 68%),
    radial-gradient(ellipse 38% 34% at 92% 62%, rgba(59, 130, 255, 0.3), transparent 70%),
    radial-gradient(ellipse 26% 20% at 58% 8%, rgba(143, 215, 255, 0.16), transparent 72%),
    var(--bg);
}
body::after {
  background:
    linear-gradient(112deg, transparent 28%, rgba(248, 231, 176, 0.2) 46%, rgba(143, 215, 255, 0.16) 54%, transparent 72%),
    radial-gradient(circle at 16% 74%, rgba(230, 197, 109, 0.18), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(59, 130, 255, 0.22), transparent 26%);
  background-repeat: no-repeat;
  background-size: 260% 140%, auto, auto;
  background-position: 40% 50%, 16% 74%, 86% 18%;
}

main { flex: 1 0 auto; }

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, .h1, .h2, .h3, .h4, .h5, .h6, .brand, .display {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.018em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(100deg, rgba(5, 7, 13, 0.92) 0%, rgba(8, 18, 42, 0.88) 48%, rgba(5, 7, 13, 0.92) 100%),
    url("../images/slides/slide-joining.jpg") center 42% / cover no-repeat;
  border-bottom: 1px solid rgba(230, 197, 109, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}
.topbar {
  background: linear-gradient(90deg, rgba(5, 7, 13, 0.55), rgba(8, 18, 42, 0.42) 55%, rgba(5, 7, 13, 0.5));
  border-bottom: 1px solid rgba(230, 197, 109, 0.28);
  color: var(--muted);
  font-size: 0.78rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
}
.topbar-facts, .topbar-links { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.topbar-auth { display: flex; align-items: center; gap: 0.35rem; }
.topbar-links form { margin: 0; }
.topbar-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  padding: 0;
  border: 1px solid rgba(230, 197, 109, 0.55);
  border-radius: 9px;
  background: rgba(230, 197, 109, 0.1);
  color: var(--gold-2);
}
.topbar-ico svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topbar-ico:hover, .topbar-ico:focus {
  color: #fff;
  border-color: var(--gold);
  background: rgba(230, 197, 109, 0.22);
}
button.topbar-ico {
  appearance: none;
  cursor: pointer;
}
.topbar strong { color: var(--gold); font-weight: 600; }
.topbar a { color: var(--gold-2); }
.topbar a:hover { color: #fff; }
@media (max-width: 991.98px) {
  .topbar-contact { display: none; }
  .topbar .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem 0.65rem;
    min-height: 0;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
  .topbar-links { flex-wrap: nowrap; gap: 0.35rem; }
  .topbar-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
    gap: 0.3rem 0.55rem;
    align-items: center;
  }
  .topbar-facts span {
    min-width: 0;
    font-size: 0.7rem;
    line-height: 1.3;
  }
}
@media (max-width: 700px) {
  .topbar-facts {
    grid-template-columns: 1fr 1fr;
    gap: 0.28rem 0.7rem;
  }
  .topbar-facts span { font-size: 0.72rem; }
}
@media (max-width: 380px) {
  .topbar-facts span { font-size: 0.64rem; }
}

.logo-link { display: flex; align-items: center; gap: 0.4rem; }
.logo-link img { height: 62px; width: 62px; }
.site-header .navbar { padding-top: 0.15rem; padding-bottom: 0.15rem; }
.site-header .logo-link img { height: 78px; width: 78px; }
.brand-mark {
  display: none;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}
.brand-mark strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: linear-gradient(180deg, #ffffff, #f8e7b0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-mark em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.nav-link {
  color: var(--text) !important;
  font-size: 0.92rem;
}
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }
.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.45rem;
}
.nav-auth .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.42rem 0.95rem;
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: rgba(230, 197, 109, 0.12);
}
.navbar-toggler:hover, .navbar-toggler:focus {
  border-color: var(--gold-2);
  background: rgba(230, 197, 109, 0.22);
  box-shadow: 0 0 0 0.15rem rgba(230, 197, 109, 0.28);
}
.navbar-toggler svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 1.5rem;
}

.hero-copy p { color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
.kicker {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.2; margin: 0.6rem 0 1rem; }
.hero-logo {
  justify-self: center;
  width: min(100%, 420px);
  filter: drop-shadow(0 0 28px rgba(59, 130, 255, 0.35));
}

.btn-ix, .btn-dark {
  background: linear-gradient(180deg, #f3dc9a, #c4963a);
  color: #1b1404 !important;
  border: 0;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
}
.btn-ix:hover, .btn-dark:hover { filter: brightness(1.06); color: #1b1404 !important; }
.btn-ghost, .btn-outline-light, .btn-outline-secondary, .btn-outline-dark {
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold) !important;
  background: transparent;
}
.btn-ghost:hover, .btn-outline-light:hover, .btn-outline-secondary:hover, .btn-outline-dark:hover {
  background: rgba(230, 197, 109, 0.1);
  color: var(--gold-2, #f8e7b0) !important;
}

.rule-card, .panel, .auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.rule-card h2, .panel h2 { color: var(--gold); }
.metric { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--text); }
.metric span, .muted, .text-muted { color: var(--muted) !important; font-size: 0.92rem; font-weight: 400; }

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pill-open { background: rgba(61, 214, 165, 0.15); color: var(--ok); }
.pill-locked { background: rgba(255, 123, 138, 0.14); color: var(--danger); }
.pill-work { background: rgba(59, 130, 255, 0.16); color: var(--cyan); }

.notice {
  background: rgba(230, 197, 109, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  color: #f3e6c2;
}

.page-title { margin-bottom: 0.4rem; }
.page-lead { max-width: 42rem; margin-bottom: 1.4rem; }
.lead-muted { color: var(--muted); }
.legal h2 {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--gold);
  margin: 1.35rem 0 0.45rem;
}
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); margin-bottom: 0.7rem; }

.auth-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 68vh;
}
.auth-brand img { width: min(100%, 360px); }
.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.auth-phone {
  display: grid;
  grid-template-columns: minmax(8.6rem, 10.4rem) minmax(0, 1fr);
  gap: 0.55rem 0.6rem;
  align-items: start;
}
.auth-phone .form-select {
  padding-left: 0.55rem;
  padding-right: 1.45rem;
  font-size: 0.82rem;
}
.country-picker {
  position: relative;
  min-width: 0;
}
.country-picker.is-enhanced .country-picker-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.country-picker-toggle {
  width: 100%;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.country-picker-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  width: min(22rem, calc(100vw - 2.4rem));
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(230, 197, 109, 0.38);
  background: #0b1220;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.country-picker-search {
  margin-bottom: 0.45rem;
}
.country-picker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 16rem;
  overflow: auto;
}
.country-picker-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.42rem 0.55rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
}
.country-picker-option strong {
  color: var(--gold);
  font-weight: 650;
  white-space: nowrap;
}
.country-picker-option:hover,
.country-picker-option.is-active {
  background: rgba(59, 130, 255, 0.16);
}
.country-picker-empty {
  margin: 0.35rem 0.2rem 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.auth-card .settings-hint { margin: -0.35rem 0 0.85rem; }

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(230, 197, 109, 0.45);
  background:
    radial-gradient(540px 240px at 0% 0%, rgba(230, 197, 109, 0.2), transparent 72%),
    radial-gradient(460px 280px at 100% 110%, rgba(59, 130, 255, 0.24), transparent 70%),
    linear-gradient(155deg, #10182c 0%, #070b14 48%, #0a1222 100%);
  padding: 2.4rem 0 1.2rem;
  color: var(--muted);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 28%, rgba(248, 231, 176, 0.12) 50%, transparent 72%);
  background-size: 220% 100%;
  animation: ix-footer-sheen 16s ease-in-out infinite alternate;
}
.footer-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.twinkles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.twinkles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff6d8;
  box-shadow: 0 0 8px 2px rgba(230, 197, 109, 0.9);
  animation: ix-twinkle 2.6s ease-in-out infinite;
}
.twinkles span:nth-child(3n) { background: #e8f4ff; box-shadow: 0 0 8px 2px rgba(143, 215, 255, 0.85); }
.twinkles span:nth-child(4n) { width: 4px; height: 4px; }
.twinkles span:nth-child(1) { left: 6%; top: 18%; animation-delay: 0s; }
.twinkles span:nth-child(2) { left: 14%; top: 62%; animation-delay: 0.4s; }
.twinkles span:nth-child(3) { left: 22%; top: 28%; animation-delay: 1.1s; }
.twinkles span:nth-child(4) { left: 31%; top: 78%; animation-delay: 0.2s; }
.twinkles span:nth-child(5) { left: 38%; top: 12%; animation-delay: 1.6s; }
.twinkles span:nth-child(6) { left: 46%; top: 48%; animation-delay: 0.7s; }
.twinkles span:nth-child(7) { left: 53%; top: 82%; animation-delay: 1.3s; }
.twinkles span:nth-child(8) { left: 61%; top: 22%; animation-delay: 0.5s; }
.twinkles span:nth-child(9) { left: 68%; top: 58%; animation-delay: 1.8s; }
.twinkles span:nth-child(10) { left: 74%; top: 14%; animation-delay: 0.9s; }
.twinkles span:nth-child(11) { left: 81%; top: 70%; animation-delay: 0.3s; }
.twinkles span:nth-child(12) { left: 88%; top: 36%; animation-delay: 1.4s; }
.twinkles span:nth-child(13) { left: 93%; top: 84%; animation-delay: 0.6s; }
.twinkles span:nth-child(14) { left: 10%; top: 40%; animation-delay: 1.9s; }
.twinkles span:nth-child(15) { left: 27%; top: 8%; animation-delay: 0.8s; }
.twinkles span:nth-child(16) { left: 42%; top: 90%; animation-delay: 1.2s; }
.twinkles span:nth-child(17) { left: 57%; top: 6%; animation-delay: 0.1s; }
.twinkles span:nth-child(18) { left: 66%; top: 92%; animation-delay: 1.5s; }
.twinkles span:nth-child(19) { left: 78%; top: 44%; animation-delay: 0.35s; }
.twinkles span:nth-child(20) { left: 4%; top: 88%; animation-delay: 1.7s; }
.twinkles span:nth-child(21) { left: 50%; top: 34%; animation-delay: 2.1s; }
.twinkles span:nth-child(22) { left: 96%; top: 18%; animation-delay: 1s; }
.site-footer .container { position: relative; z-index: 3; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 2rem 1.5rem;
}
.footer-brand p { max-width: 22rem; margin: 0.8rem 0 0; font-size: 0.92rem; line-height: 1.6; }
.footer-social { margin-top: 1.15rem; }
.footer-social h2 { margin-bottom: 0.7rem; }
.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 22rem;
}
.footer-social-row a {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(230, 197, 109, 0.38);
  color: var(--gold-2);
  background: rgba(230, 197, 109, 0.1);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.footer-social-row a svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}
.footer-social-row a:hover {
  transform: translateY(-2px);
  color: #fff;
}
.footer-social-row a.facebook:hover { background: #1877f2; border-color: #1877f2; }
.footer-social-row a.instagram:hover { background: #e1306c; border-color: #e1306c; }
.footer-social-row a.x:hover { background: #111; border-color: #111; }
.footer-social-row a.youtube:hover { background: #ff0000; border-color: #ff0000; }
.footer-social-row a.telegram:hover { background: #229ed9; border-color: #229ed9; }
.footer-social-row a.whatsapp:hover { background: #25d366; border-color: #25d366; }
.footer-social-row a.linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.footer-social-row a.tiktok:hover { background: #111; border-color: #25f4ee; }
.footer-social-row a.pinterest:hover { background: #e60023; border-color: #e60023; }
.site-footer img { height: 110px; width: auto; }
.site-footer h2 {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}
.site-footer nav { display: flex; flex-direction: column; gap: 0.45rem; }
.site-footer nav a { color: var(--muted); font-size: 0.95rem; }
.site-footer nav a:hover, .site-footer nav a.active { color: var(--gold-2); }
.site-footer .footer-social-row a {
  color: var(--gold-2);
  font-size: 0;
}
.site-footer .footer-social-row a:hover { color: #fff; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.member-shell, .admin-shell {
  display: grid;
  grid-template-columns: 268px 1fr;
  flex: 1;
  width: 100%;
  min-height: 100vh;
}
.admin-shell .side .logo-link img { height: 64px; width: 64px; }
.member-shell .side .logo-link img { height: 86px; width: 86px; }
.admin-shell .side-login,
.member-shell .side-login { font-size: 0.78rem; }
.member-shell .side-login { align-items: flex-start; text-align: left; min-width: 0; }
.member-shell .side-login span:first-child { font-size: 0.9rem; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }
.member-shell .side {
  background:
    radial-gradient(320px 240px at 0% 0%, rgba(248, 231, 176, 0.34), transparent 68%),
    radial-gradient(280px 260px at 100% 100%, rgba(166, 98, 42, 0.36), transparent 70%),
    linear-gradient(165deg, #3a2a14 0%, #1a120b 48%, #2a1c10 100%);
  border-right-color: rgba(230, 197, 109, 0.55);
}
.side {
  background:
    radial-gradient(240px 200px at 0% 0%, rgba(230, 197, 109, 0.28), transparent 68%),
    radial-gradient(280px 240px at 100% 100%, rgba(59, 130, 255, 0.28), transparent 70%),
    linear-gradient(180deg, #121a30 0%, #070b14 46%, #0c1730 100%);
  border-right: 1px solid rgba(230, 197, 109, 0.38);
  padding: 1rem 0.85rem 1.5rem;
  overflow-anchor: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(230, 197, 109, 0.45) transparent;
}
.side::-webkit-scrollbar { width: 3px; }
.side::-webkit-scrollbar-track { background: transparent; }
.side::-webkit-scrollbar-thumb { background: rgba(230, 197, 109, 0.45); border-radius: 3px; }
.side-brand { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem; }
.side .logo-link { padding: 0; margin: 0; background: transparent; }
.side .logo-link:hover { background: transparent; }
.side .logo-link img { height: 78px; width: 78px; margin: 0; }
.side-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.95rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
}
.side a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  padding: 0.48rem 0.75rem;
  border-radius: 10px;
  margin-bottom: 0.15rem;
}
.side a.side-foot { margin-top: 0.95rem; position: relative; }
.side a.side-foot::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  top: -0.5rem;
  height: 1px;
  background: rgba(230, 197, 109, 0.28);
}
.side-drop { margin-bottom: 0.15rem; }
.side-drop summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  padding: 0.48rem 0.75rem;
  border-radius: 10px;
}
.side-drop summary::-webkit-details-marker { display: none; }
.side-drop summary::marker { content: ''; }
.side-caret {
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}
.side-drop[open] .side-caret { transform: rotate(180deg); }
.side-drop:not([open]) .side-sub { display: none; }
.side-sub {
  margin: 0.1rem 0 0.35rem 1.15rem;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(230, 197, 109, 0.32);
}
.side-sub a { padding: 0.32rem 0.6rem; font-size: 0.84rem; }
.side-sub .side-ico { width: 15px; height: 15px; flex-basis: 15px; }
.side-ico { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.side form .btn { display: flex; align-items: center; justify-content: center; gap: 0.45rem; }
.side-count {
  margin-left: auto;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--gold);
  color: #1b1404;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}
.support-page { margin-top: 0.2rem; }
.support-page .panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(230, 197, 109, 0.42);
  background:
    radial-gradient(240px 150px at 100% 0%, rgba(230, 197, 109, 0.24), transparent 64%),
    radial-gradient(200px 140px at 0% 100%, rgba(59, 130, 255, 0.18), transparent 62%),
    linear-gradient(165deg, rgba(16, 28, 52, 0.98), rgba(6, 10, 20, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.36);
}
.support-grid { display: grid; grid-template-columns: 300px 1fr; gap: 1rem; align-items: stretch; }
.support-compose { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.support-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.support-head h2 { margin: 0; font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.04em; color: var(--gold); }
.support-head p { margin: 0.15rem 0 0; font-size: 0.82rem; }
.support-head .dash-ico { width: 42px; height: 42px; border-radius: 12px; }
.support-head .dash-ico svg { width: 20px; height: 20px; }
.support-list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.45rem;
  margin: 0 -0.2rem;
  border-radius: 12px;
  border-bottom: 0;
  color: var(--text);
}
.support-list a.active, .support-list a:hover { background: rgba(59, 130, 255, 0.14); color: var(--gold); }
.support-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(230, 197, 109, 0.4);
  background: rgba(230, 197, 109, 0.1);
}
.support-avatar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.support-meta { min-width: 0; flex: 1; }
.support-meta strong, .support-meta em { display: block; font-style: normal; }
.support-meta em {
  margin-top: 0.12rem;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.support-empty { margin: 0.4rem 0 0; }
.support-thread { display: flex; flex-direction: column; min-height: 280px; }
.support-blank {
  margin: auto;
  text-align: center;
  max-width: 22rem;
  padding: 1.5rem 0.5rem;
}
.support-blank .dash-ico { margin: 0 auto 0.8rem; }
.support-blank h2 { margin: 0 0 0.35rem; color: var(--gold); font-family: var(--display); font-size: 1.05rem; }
.support-blank p { margin: 0; }
.support-log { display: flex; flex-direction: column; gap: 0.7rem; max-height: 24rem; overflow: auto; }
.profile-page .support-log { max-height: 28rem; padding-right: 0.15rem; }
.support-reply { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(230, 197, 109, 0.22); }
.support-card-all {
  background:
    radial-gradient(240px 150px at 100% 0%, rgba(143, 215, 255, 0.26), transparent 64%),
    radial-gradient(200px 140px at 0% 100%, rgba(59, 130, 255, 0.2), transparent 62%),
    linear-gradient(165deg, rgba(8, 30, 52, 0.98), rgba(6, 10, 20, 0.96));
}
.support-send {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
  padding: 0.72rem 1.3rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1b1404 !important;
  background: linear-gradient(180deg, #fff4cf 0%, #f0d48a 42%, #d7a84a 100%);
  box-shadow: 0 10px 22px rgba(230, 197, 109, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.support-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.support-send:hover {
  color: #1b1404 !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.support-card-all .dash-ico {
  color: var(--cyan);
  background: rgba(143, 215, 255, 0.1);
  border-color: rgba(143, 215, 255, 0.4);
}
.support-bubble {
  max-width: min(36rem, 92%);
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(230, 197, 109, 0.32);
  background:
    radial-gradient(90px 48px at 0% 0%, rgba(230, 197, 109, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(24, 22, 16, 0.72), rgba(8, 12, 22, 0.94));
}
.support-bubble.mine {
  align-self: flex-end;
  border-color: rgba(143, 215, 255, 0.45);
  background:
    radial-gradient(90px 48px at 100% 0%, rgba(143, 215, 255, 0.22), transparent 72%),
    linear-gradient(180deg, rgba(16, 40, 74, 0.96), rgba(8, 16, 34, 0.94));
}
.support-bubble .who { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.support-bubble p { margin: 0.3rem 0; white-space: pre-line; }
.support-bubble time { font-size: 0.75rem; }
@media (max-width: 900px) {
  .support-grid, .support-compose { grid-template-columns: 1fr; }
}
.side a.active, .side a:hover, .side-drop summary.active, .side-drop summary:hover {
  background: rgba(59, 130, 255, 0.14);
  color: var(--gold);
}
.main { padding: 1.4rem 1.3rem 2.5rem; }

.form-control, .form-select, textarea.form-control {
  background: #0b1220;
  border: 1px solid rgba(230, 197, 109, 0.28);
  color: var(--text);
  border-radius: 12px;
}
.form-control:focus, .form-select:focus {
  background: #0b1220;
  color: var(--text);
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 255, 0.22);
}
.form-control::placeholder {
  color: #f4f1ea;
  opacity: 1;
}
.form-label, .form-check-label { color: var(--muted); }
.form-check-input { border-color: var(--gold); background-color: #0b1220; }
.package-pick { display: grid; gap: 0.55rem; border: 0; padding: 0; margin: 0 0 1rem; }
.package-pick legend { float: none; width: auto; margin-bottom: 0.4rem; font-size: 0.9rem; }
.package-option {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(230, 197, 109, 0.38);
  border-radius: 14px;
  cursor: pointer;
}
.package-option input { margin: 0; }
.package-option strong { display: block; color: var(--text); }
.package-option em { display: block; font-style: normal; font-size: 0.78rem; color: var(--muted); }
.package-option:has(input:checked),
.package-option.selected {
  border-color: var(--gold);
  background: rgba(230, 197, 109, 0.12);
}

.table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-border-color: rgba(255,255,255,0.08); color: var(--text); }
.table thead th { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.list-group-item { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.08); }
code { color: var(--gold); }

.alert-success { background: rgba(61, 214, 165, 0.12); color: #d7fff2; border-color: rgba(61, 214, 165, 0.35); }
.alert-danger { background: rgba(255, 123, 138, 0.12); color: #ffe1e6; border-color: rgba(255, 123, 138, 0.35); }

.tree-node { border-left: 3px solid var(--blue); }
.hp { position: absolute; left: -9999px; }
.step-no { font-family: var(--display); color: var(--gold); font-size: 0.85rem; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero, .auth-wrap { grid-template-columns: 1fr; }
  .hero-logo, .auth-brand { order: -1; text-align: center; }
  .member-shell, .admin-shell { grid-template-columns: 1fr; }
  .member-shell .main, .admin-shell .main { padding-top: 0; }
  .member-shell .side, .admin-shell .side {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 45;
    width: min(268px, 88vw);
    height: 100vh;
    overflow: auto;
    border-right: 1px solid rgba(230, 197, 109, 0.28);
    border-bottom: 0;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }
  .nav-toggle:checked ~ .member-shell .side,
  .nav-toggle:checked ~ .admin-shell .side { transform: none; }
  .nav-bar { display: flex; }
  .nav-scrim { display: block; }
  .nav-close { display: grid; }
  .nav-toggle:checked ~ .nav-scrim { opacity: 1; pointer-events: auto; }
  .side .logo-link img { height: 52px; width: 52px; }
  .side-login { font-size: 0.72rem; }
  .side a { white-space: normal; }
  .admin-header, .member-header { top: 56px; }
  .stage-grid, .split, .step-grid, .benefit-grid, .example-grid, .join-inner, .ribbon-row {
    grid-template-columns: 1fr;
  }
  .orbit-stage { order: -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

main:has(.landing),
main:has(.about-page),
main:has(.plan-page),
main:has(.how-page),
main:has(.faq-page),
main:has(.contact-page) {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.landing, .about-page, .plan-page, .how-page, .faq-page, .contact-page { margin-top: -1.5rem; }
.contact-card { max-width: none; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.contact-map-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.contact-map-card h2 { color: var(--gold); margin-bottom: 0.85rem; }
.contact-map {
  position: relative;
  flex: 1;
  min-height: 22rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1220;
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map { min-height: 18rem; }
}
.page-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 7, 13, 0.84) 0%, rgba(5, 7, 13, 0.62) 58%, rgba(5, 7, 13, 0.5) 100%);
}
.page-hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero .kicker { display: flex; align-items: center; gap: 0.65rem; }
.page-hero .kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.page-hero h1 {
  margin: 0.4rem 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(100deg, #ffffff 10%, #f8e7b0 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p { max-width: 38rem; color: var(--text); margin-bottom: 0; }
.page-hero .stage-actions { margin-top: 1.1rem; }
@media (max-width: 900px) {
  .page-hero { height: 400px; }
  .page-hero::before { background: rgba(5, 7, 13, 0.74); }
  .page-hero h1 { font-size: 1.7rem; }
  .page-hero p { font-size: 0.92rem; }
}
.step-grid .rule-card,
.benefit-grid .rule-card,
.example-grid .rule-card { height: 100%; }
.ribbon-row div + div { border-left: 1px solid rgba(230, 197, 109, 0.22); }
.band { padding: 2.6rem 0; }
.band-alt {
  background: linear-gradient(180deg, rgba(59, 130, 255, 0.06), rgba(230, 197, 109, 0.04));
  border-top: 1px solid rgba(230, 197, 109, 0.12);
  border-bottom: 1px solid rgba(230, 197, 109, 0.12);
}
.stage {
  padding-top: 2.2rem;
  background:
    radial-gradient(520px 280px at 78% 40%, rgba(59, 130, 255, 0.2), transparent 70%),
    radial-gradient(420px 220px at 18% 0%, rgba(230, 197, 109, 0.12), transparent 70%);
}
.stage-grid, .split, .join-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.stage h1, .band h2 { margin: 0.45rem 0 0.8rem; }
.stage h1 { font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.15; }
.band h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(100deg, #ffffff 12%, #f8e7b0 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.band .kicker { display: flex; align-items: center; gap: 0.65rem; }
.band .kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.landing .rule-card,
.landing .panel,
.about-page .rule-card,
.about-page .panel,
.plan-page .rule-card,
.plan-page .panel,
.how-page .rule-card,
.how-page .panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(230, 197, 109, 0.07), transparent 42%),
    var(--card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.landing .rule-card::after,
.landing .panel::after,
.about-page .rule-card::after,
.about-page .panel::after,
.plan-page .rule-card::after,
.plan-page .panel::after,
.how-page .rule-card::after,
.how-page .panel::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent 80%);
}
.plan-page h3,
.how-page h3 {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--gold);
  margin: 0.35rem 0 0.45rem;
}
.plan-page .rule-card p,
.how-page .rule-card p { margin-bottom: 0; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.faq-list .accordion-item {
  background:
    linear-gradient(180deg, rgba(230, 197, 109, 0.07), transparent 42%),
    var(--card);
  border: 1px solid rgba(230, 197, 109, 0.42);
  border-radius: 16px !important;
  overflow: hidden;
  color: var(--text);
}
.faq-list .accordion-button {
  background: transparent;
  color: var(--text);
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  box-shadow: none;
  padding: 1rem 1.15rem;
}
.faq-list .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--gold);
  box-shadow: none;
}
.faq-list .accordion-button:focus { box-shadow: none; }
.faq-list .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e6c56d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-list .accordion-body {
  color: var(--text);
  padding: 0 1.15rem 1.05rem;
  line-height: 1.6;
}
.plan-figures { margin-top: 1.15rem; }
.plan-scroll { overflow-x: auto; }
.plan-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.plan-table th,
.plan-table td {
  padding: 0.85rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(230, 197, 109, 0.22);
  color: var(--text);
}
.plan-table th {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.plan-table tr:last-child td { border-bottom: 0; }
.level-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin: 1.15rem 0 1rem;
}
.level-board span {
  text-align: center;
  padding: 0.7rem 0.3rem 0.55rem;
  border: 1px solid rgba(230, 197, 109, 0.42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(230, 197, 109, 0.14), rgba(8, 14, 28, 0.55));
}
.level-board em {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.level-board strong {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}
@media (max-width: 700px) {
  .level-board { grid-template-columns: repeat(3, 1fr); }
}
.step-grid .rule-card:hover,
.benefit-grid .rule-card:hover,
.example-grid .rule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 197, 109, 0.55);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}
.step-no { font-size: 1.05rem; letter-spacing: 0.06em; }
.ribbon-row {
  background: linear-gradient(90deg, rgba(230, 197, 109, 0.1), rgba(59, 130, 255, 0.1) 50%, rgba(230, 197, 109, 0.08));
}
.ribbon-row div { text-align: center; padding: 1.15rem 0.7rem; }
.ribbon-row strong { font-size: 1.2rem; color: var(--text); }
.example-grid .metric {
  margin: 0.2rem 0 0.45rem;
  background: linear-gradient(180deg, #fff, #f8e7b0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.join-band {
  background:
    radial-gradient(420px 160px at 0% 50%, rgba(230, 197, 109, 0.16), transparent 70%),
    radial-gradient(420px 160px at 100% 50%, rgba(59, 130, 255, 0.16), transparent 70%),
    linear-gradient(90deg, rgba(230, 197, 109, 0.08), rgba(59, 130, 255, 0.08));
}
.stage-copy p, .split p { color: var(--muted); }
.stage-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.orbit-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.orbit-stage img {
  width: min(100%, 340px);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 40px rgba(59, 130, 255, 0.28));
}
.orbit-ring {
  position: absolute;
  width: min(92%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(230, 197, 109, 0.55);
  animation: ix-spin 36s linear infinite;
}
.orbit-ring-2 {
  width: min(74%, 300px);
  border-style: solid;
  border-color: rgba(59, 130, 255, 0.35);
  animation-duration: 22s;
  animation-direction: reverse;
}
.rule-ribbon { padding: 0.9rem; }
.ribbon-row {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  border: 0;
  background: transparent;
}
.ribbon-row div {
  text-align: center;
  padding: 1.15rem 0.75rem 1rem;
  border: 1px solid rgba(230, 197, 109, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(230, 197, 109, 0.16), rgba(8, 14, 28, 0.55) 42%, rgba(8, 16, 32, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(0, 0, 0, 0.28);
}
.ribbon-row div + div { border-left: 1px solid rgba(230, 197, 109, 0.42); }
.ribbon-row span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ribbon-row strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}
.step-grid, .example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.step-grid h3, .benefit-grid h3 { font-family: var(--display); font-size: 1rem; color: var(--gold); margin: 0.35rem 0 0.4rem; }
.step-grid p, .benefit-grid p, .example-grid p { color: var(--muted); margin: 0; }
.clean-list { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.clean-list li { margin: 0.4rem 0; }
.join-band {
  background:
    linear-gradient(90deg, rgba(230, 197, 109, 0.12), rgba(59, 130, 255, 0.12));
  border-top: 1px solid rgba(230, 197, 109, 0.28);
}
.ix-rise { animation: ix-rise 0.7s ease both; }
@keyframes ix-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes ix-spin { to { transform: rotate(360deg); } }
@keyframes ix-twinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.55); }
  50% { opacity: 1; transform: scale(1.35); }
}
@keyframes ix-footer-sheen {
  from { background-position: 0% 0, 0 0; }
  to { background-position: 100% 0, 0 0; }
}
@keyframes ix-slide-drift {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@keyframes ix-page-shine {
  from { background-position: 0% 30%, 8% 82%, 92% 10%; }
  to { background-position: 100% 70%, 24% 58%, 68% 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .ix-rise, .orbit-ring, .visual-ring, .twinkles span, .site-footer::before, .hero-slider .slide-bg, body::after { animation: none; }
  .twinkles span { opacity: 0.35; }
  .landing .rule-card, .landing .panel, .about-page .rule-card, .about-page .panel, .plan-page .rule-card, .plan-page .panel, .how-page .rule-card, .how-page .panel, .dash-card, .member-shell .side, .admin-shell .side { transition: none; }
  .step-grid .rule-card:hover,
  .benefit-grid .rule-card:hover,
  .example-grid .rule-card:hover { transform: none; }
}

.hero-slider { --slide-h: 450px; }
.hero-slider,
.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  width: 100%;
  max-width: none;
}
.hero-slider .carousel-inner,
.hero-slider .carousel-item,
.hero-slider .slide-bg {
  height: var(--slide-h);
  min-height: var(--slide-h);
  max-height: var(--slide-h);
}
.hero-slider .carousel-item {
  position: relative;
  overflow: hidden;
}
.hero-slider .slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slider .slide-bg { animation: ix-slide-drift 18s ease-in-out infinite alternate; }
.hero-slider .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 10, 22, 0.28) 0%, rgba(5, 7, 13, 0.42) 48%, rgba(5, 7, 13, 0.86) 100%),
    linear-gradient(100deg, rgba(8, 16, 36, 0.72) 0%, rgba(5, 7, 13, 0.18) 52%, rgba(18, 28, 58, 0.38) 100%),
    radial-gradient(ellipse 70% 55% at 85% 18%, rgba(230, 197, 109, 0.28), transparent 62%),
    radial-gradient(ellipse 50% 40% at 12% 88%, rgba(59, 130, 255, 0.22), transparent 70%);
}
.hero-slider .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(5, 7, 13, 0.35);
  background: linear-gradient(90deg, rgba(230, 197, 109, 0.08), transparent 28%, transparent 72%, rgba(143, 215, 255, 0.08));
}
.slide-row {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0 4.2rem 0 4.4rem;
}
.hero-slider .slide-copy {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(34rem, 58%);
  height: auto;
  min-height: 0;
  max-height: calc(var(--slide-h) - 1.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hero-slider .kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-slider .kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.slide-visual {
  position: relative;
  width: 210px;
  height: 210px;
  flex: 0 0 210px;
  display: grid;
  place-items: center;
  margin-right: 1.5rem;
  background: radial-gradient(circle, rgba(230, 197, 109, 0.2), rgba(59, 130, 255, 0.08) 42%, transparent 68%);
}
.slide-visual::before {
  content: "";
  position: absolute;
  inset: 46px;
  border-radius: 50%;
  border: 1px solid rgba(248, 231, 176, 0.4);
  box-shadow: inset 0 0 28px rgba(230, 197, 109, 0.28), 0 0 24px rgba(59, 130, 255, 0.2);
}
.visual-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(230, 197, 109, 0.8);
  animation: ix-spin 26s linear infinite;
}
.visual-ring::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #f8e7b0;
  box-shadow: 0 0 12px #e6c56d;
}
.visual-ring-b {
  inset: 18px;
  border-style: solid;
  border-color: rgba(143, 215, 255, 0.7);
  animation-duration: 16s;
  animation-direction: reverse;
}
.visual-ring-b::after { display: none; }
.slide-visual strong {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #fff, #f8e7b0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.slide-visual em {
  position: absolute;
  bottom: 36px;
  z-index: 1;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-slider .slide-copy h1,
.hero-slider .slide-copy h2,
.hero-slider .slide-copy p { max-width: 46rem; }
.hero-slider .slide-copy p { color: var(--text); font-size: 0.95rem; margin-bottom: 0.35rem; }
.hero-slider .stage-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.55rem;
  width: min(100%, 22rem);
  margin-top: 0.7rem;
}
.hero-slider .stage-actions .btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
  padding: 0.52rem 0.75rem;
}
.hero-slider h1, .hero-slider h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.5rem;
  background: linear-gradient(100deg, #ffffff 10%, #f8e7b0 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-slider .carousel-indicators .active {
  background-color: var(--gold);
  box-shadow: 0 0 10px rgba(230, 197, 109, 0.85);
}
.slide-mark { width: 120px; height: auto; margin-bottom: 0.6rem; }
.hero-slider .carousel-indicators { margin-bottom: 1.2rem; z-index: 3; }
.hero-slider .carousel-indicators [data-bs-target] {
  width: 2.1rem;
  height: 3px;
  border: 0;
  background-color: rgba(230, 197, 109, 0.45);
}
.hero-slider .carousel-indicators .active { background-color: var(--gold); }
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 3rem; z-index: 3; }
@media (max-width: 900px) {
  .hero-slider { --slide-h: 400px; }
  .hero-slider .slide-copy {
    width: 100%;
    left: auto;
    padding: 0.75rem 0.85rem 1.6rem;
    justify-content: flex-end;
  }
  .slide-row { padding: 0 0.7rem; }
  .slide-visual { display: none; }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next { display: none; }
  .hero-slider h1, .hero-slider h2 { font-size: 1.15rem; }
  .hero-slider .slide-copy p { font-size: 0.82rem; margin-bottom: 0.25rem; }
  .hero-slider .stage-actions { width: 100%; }
  .hero-slider .slide-bg { object-position: center 28%; }
  .hero-slider .carousel-item::before {
    background:
      linear-gradient(180deg, rgba(5, 10, 22, 0.2) 0%, rgba(5, 7, 13, 0.38) 42%, rgba(5, 7, 13, 0.88) 100%),
      radial-gradient(ellipse 90% 50% at 50% 0%, rgba(230, 197, 109, 0.2), transparent 58%),
      radial-gradient(ellipse 70% 40% at 80% 80%, rgba(59, 130, 255, 0.16), transparent 65%);
  }
}
@media (max-width: 900px) {
  .stage-grid, .split, .step-grid, .benefit-grid, .example-grid, .join-inner, .ribbon-row {
    grid-template-columns: 1fr;
  }
  .orbit-stage { order: -1; }
  .ribbon-row div + div { border-left: 1px solid rgba(230, 197, 109, 0.42); border-top: 1px solid rgba(230, 197, 109, 0.42); }
}
.main:has(.admin-header), .main:has(.member-header) { padding-top: 0; }
.admin-header, .member-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  margin: 0 -1.3rem 1rem;
  padding: 0.35rem 1.1rem;
  background: linear-gradient(100deg, #070b14, #0c1730 55%, #070b14);
  border-bottom: 1px solid rgba(230, 197, 109, 0.45);
}
.admin-header .logo-link img { height: 58px; width: 58px; }
.profile-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(230, 197, 109, 0.7);
  background: radial-gradient(circle at 50% 35%, rgba(230, 197, 109, 0.35), rgba(8, 14, 28, 0.95));
  color: var(--gold);
  display: grid;
  place-items: center;
}
.profile-btn svg { width: 22px; height: 22px; }
.profile-btn:hover, .profile-btn.show { color: var(--gold-2); }
.header-tools { display: flex; align-items: center; gap: 0.55rem; }
.bell-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(230, 197, 109, 0.7);
  background: radial-gradient(circle at 50% 35%, rgba(230, 197, 109, 0.35), rgba(8, 14, 28, 0.95));
  color: var(--gold);
  display: grid;
  place-items: center;
  text-decoration: none;
}
.bell-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bell-btn:hover, .bell-btn.active { color: var(--gold-2); }
.bell-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--gold);
  color: #1b1404;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}
.admin-header .dropdown, .member-header .dropdown { position: relative; }
.profile-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  left: auto;
  min-width: 252px;
  padding: 0.55rem;
  background:
    radial-gradient(140px 80px at 100% 0%, rgba(230, 197, 109, 0.2), transparent 70%),
    linear-gradient(180deg, #121a2c, #0b1220);
  border: 1px solid rgba(230, 197, 109, 0.5);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: none;
}
.profile-id {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.45rem 0.75rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(230, 197, 109, 0.28);
}
.profile-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(230, 197, 109, 0.12);
  border: 1px solid rgba(230, 197, 109, 0.45);
}
.profile-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.profile-id strong, .profile-mail { display: block; }
.profile-id strong { color: var(--gold); font-family: var(--display); font-size: 0.95rem; }
.profile-mail { color: var(--text); font-size: 0.78rem; margin-top: 0.15rem; }
.profile-menu form { margin: 0; }
.profile-menu a, .profile-menu button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-size: 0.92rem;
}
.menu-ico { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.profile-menu a:hover, .profile-menu a.active, .profile-menu button:hover {
  background: rgba(59, 130, 255, 0.14);
  color: var(--gold);
}
.shell-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}
.shell-col .main { flex: 1 0 auto; }
.shell-footer, .admin-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
  padding: 0.9rem 1.3rem 1.15rem;
  border-top: 1px solid rgba(230, 197, 109, 0.28);
  color: var(--text);
  font-size: 0.82rem;
}
.notice-body { margin: 0; white-space: pre-line; }
.notice-tools { margin-left: auto; }
.notice-tools form, .support-head form.notice-tools { margin: 0; }
.notice-tools .support-send { margin-top: 0; padding: 0.38rem 0.85rem; font-size: 0.78rem; }
.notice-list { display: grid; gap: 0.7rem; }
.notice-card {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(230, 197, 109, 0.28);
  border-radius: 16px;
  background: rgba(8, 10, 16, 0.45);
}
.notice-card.unread {
  border-color: rgba(230, 197, 109, 0.55);
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(230, 197, 109, 0.16), transparent 70%),
    rgba(8, 10, 16, 0.55);
}
.notice-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.notice-top strong { font-family: var(--display); color: var(--gold-2); font-size: 1rem; font-weight: 600; }
.notice-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem; margin: 0.35rem 0 0.5rem; color: rgba(244, 247, 251, 0.62); font-size: 0.8rem; }
@media (max-width: 640px) {
  .support-head:has(.notice-tools) { flex-wrap: wrap; }
  .notice-tools { margin-left: 0; }
}
.refer-box {
  padding: 1rem 1.05rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(143, 215, 255, 0.45);
  background:
    radial-gradient(180px 120px at 100% 0%, rgba(143, 215, 255, 0.18), transparent 68%),
    linear-gradient(165deg, rgba(8, 32, 48, 0.96), rgba(7, 11, 20, 0.94));
}
.refer-line { display: flex; align-items: center; gap: 0.55rem; }
.refer-box .refer-line + .refer-line { margin-top: 0.55rem; }
.refer-line .form-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.refer-line .form-control { min-width: 0; }
.refer-copy {
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  color: #1b1404;
  background: linear-gradient(180deg, #fff4cf 0%, #f0d48a 42%, #d7a84a 100%);
}
.refer-share { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.75rem; }
.refer-go {
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f4f7fb;
  background: rgba(255, 255, 255, 0.06);
}
.refer-go.whatsapp { border-color: rgba(37, 211, 102, 0.55); background: rgba(37, 211, 102, 0.16); }
.refer-go.telegram { border-color: rgba(42, 171, 238, 0.55); background: rgba(42, 171, 238, 0.16); }
.refer-go.facebook { border-color: rgba(24, 119, 242, 0.55); background: rgba(24, 119, 242, 0.16); }
.refer-go.instagram { border-color: rgba(225, 48, 108, 0.55); background: rgba(225, 48, 108, 0.16); }
.refer-box .settings-hint { margin: 0.55rem 0 0; }
.level-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.level-head h2 { margin-bottom: 0.75rem; }
.level-head span { color: var(--gold-2); font-size: 0.78rem; letter-spacing: 0.04em; }
.level-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.65rem; }
.level-tile {
  display: grid;
  gap: 0.15rem;
  min-height: 92px;
  padding: 0.75rem 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(16, 22, 36, 0.96), rgba(7, 11, 20, 0.94));
}
.level-tile strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(244, 247, 251, 0.55);
}
.level-tile span { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 247, 251, 0.45); }
.level-tile em { font-style: normal; font-size: 0.75rem; color: rgba(244, 247, 251, 0.62); }
.level-tile.open {
  border-color: rgba(61, 214, 165, 0.45);
  background:
    radial-gradient(120px 80px at 100% 0%, rgba(61, 214, 165, 0.2), transparent 70%),
    linear-gradient(165deg, rgba(8, 36, 28, 0.96), rgba(7, 11, 20, 0.94));
}
.level-tile.open strong { color: #f4f7fb; }
.level-tile.open span { color: #b8ffe8; }
.level-tile.open em { color: rgba(184, 255, 232, 0.8); }
.income-summary { margin-bottom: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.report-cards { margin-bottom: 1rem; }
.dash-grid.report-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.report-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.deposit-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report-fact {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(230, 197, 109, 0.28);
  border-radius: 14px;
  background: rgba(8, 10, 16, 0.45);
}
.report-fact span {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.report-fact strong { font-family: var(--display); font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.report-fact .return-count { font-size: 1.05rem; letter-spacing: 0.04em; }
.report-fact a { color: var(--gold-2); }
.withdraw-amount { max-width: 22rem; margin-top: 1rem; }
@media (max-width: 900px) {
  .deposit-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .report-facts { grid-template-columns: 1fr; }
  .deposit-facts { grid-template-columns: 1fr; }
  .dash-grid.report-pair { grid-template-columns: 1fr; }
}
.income-sheet { display: grid; gap: 0.55rem; }
.income-line {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem 0.85rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(230, 197, 109, 0.28);
  border-radius: 14px;
  background: rgba(8, 10, 16, 0.55);
}
.income-line.open { border-color: rgba(61, 214, 165, 0.35); }
.award-line { grid-template-columns: minmax(8.5rem, 11rem) minmax(0, 1fr) auto; }
.income-line strong { font-family: var(--display); font-size: 0.92rem; letter-spacing: 0.04em; }
.income-meta { color: var(--gold-2); font-size: 0.8rem; }
.income-rate { font-family: var(--display); color: var(--gold-2); font-size: 1rem; }
.income-rate.quiet { color: rgba(244, 241, 234, 0.55); font-size: 0.82rem; }
@media (max-width: 640px) {
  .income-line { grid-template-columns: 1fr auto; }
  .income-meta { grid-column: 1 / -1; }
}
.deposit-steps { display: grid; gap: 0.75rem; }
.deposit-step {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(230, 197, 109, 0.28);
  border-radius: 16px;
  background: rgba(8, 10, 16, 0.45);
}
.deposit-step.wait { border-color: rgba(255, 123, 138, 0.4); }
.deposit-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  color: #1b1404;
  background: linear-gradient(180deg, #fff4cf, #d7a84a);
}
.deposit-step h3 { margin: 0.35rem 0 0.3rem; font-family: var(--display); font-size: 0.98rem; color: var(--gold); }
.deposit-step p { margin: 0; }
.deposit-step .report-facts, .deposit-step .refer-box, .deposit-step .wallet-pay { margin-top: 0.8rem; }
.profile-page .refer-box { margin-top: 1rem; }
.deposit-scan {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}
.deposit-scan .refer-box { margin-top: 0; }
.deposit-scan .deposit-hash { margin-top: 0.85rem; }
.deposit-record { margin-top: 1.75rem; }
.deposit-qr {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.55rem;
  min-width: 12.5rem;
  padding: 0.85rem 0.9rem 0.75rem;
  border-radius: 18px;
  border: 1px solid rgba(230, 197, 109, 0.4);
  background: rgba(8, 10, 16, 0.45);
}
.deposit-qr-frame,
.deposit-qr canvas,
.deposit-qr svg {
  display: block;
  width: 176px;
  height: 176px;
  border-radius: 12px;
  background: #fff8e6;
}
.deposit-qr-frame svg { padding: 0.35rem; }
.deposit-qr p {
  margin: 0;
  max-width: 11.5rem;
  text-align: center;
  color: var(--gold-2);
  font-size: 0.78rem;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .deposit-scan { grid-template-columns: 1fr; }
  .deposit-qr { justify-self: center; width: 100%; }
}
.deposit-hash { margin-top: 1rem; }
.profile-page .deposit-hash .form-label { margin-top: 0; }
.deposit-hash .refer-line { margin-top: 0.35rem; }
.profile-page .deposit-hash .support-send {
  margin-top: 0;
  flex: 0 0 auto;
  height: 3rem;
  min-height: 3rem;
  padding: 0 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profile-page .wallet-pay { margin-top: 0.15rem; }
.wallet-pay .wallet-status { margin: 0.55rem 0 0.85rem; color: var(--gold-2); font-size: 0.88rem; }
.wallet-pay .refer-line { margin-top: 0.15rem; flex-wrap: wrap; }
.wallet-pay .support-send { margin-top: 0; }
.dapp-board { display: grid; gap: 1rem; }
.dapp-page .wallet-pay { margin-top: 0.2rem; }
.dapp-page .wallet-status {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(230, 197, 109, 0.28);
  border-radius: 14px;
  background: rgba(8, 10, 16, 0.45);
  color: var(--gold-2);
  font-size: 0.84rem;
  line-height: 1.45;
}
.dapp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 28rem;
}
.dapp-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-top: 0;
  width: 100%;
  min-width: 0;
  height: 3rem;
  min-height: 3rem;
  padding: 0 1.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  border-width: 1px;
  border-style: solid;
}
.dapp-actions .support-send {
  margin-top: 0;
  border-color: transparent;
  transform: none;
}
.dapp-page .dapp-actions .btn,
.dapp-page .dapp-actions .support-send {
  margin-top: 0;
}
.dapp-actions .support-send:hover { transform: none; }
.dapp-page .report-facts {
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dapp-hash .refer-line { margin-top: 0.35rem; }
.profile-page .dapp-hash .form-label { margin-top: 0; }
.profile-page .dapp-hash .support-send { margin-top: 0; flex: 0 0 auto; }
@media (min-width: 960px) {
  .dapp-board { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
  .dapp-board .dapp-save { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wallet-pay .refer-line { flex-direction: column; align-items: stretch; }
  .wallet-pay .refer-line .btn { width: 100%; justify-content: center; }
  .dapp-hash .refer-line { flex-direction: column; align-items: stretch; }
  .dapp-hash .support-send { width: 100%; justify-content: center; }
  .dapp-page .report-facts { grid-template-columns: 1fr; }
  .deposit-hash .refer-line { flex-direction: column; align-items: stretch; }
  .deposit-hash .support-send { width: 100%; justify-content: center; }
}
.profile-page form .form-label { margin-top: 1rem; color: var(--gold-2); }
.profile-page form .support-send { margin-top: 1rem; }
.deposit-address { margin-top: 1rem; }
.deposit-address p { margin: 0.35rem 0 0.7rem; }
.deposit-address code {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  word-break: break-all;
  color: var(--gold-2);
  background: rgba(230, 197, 109, 0.08);
}
.maintain { display: grid; place-items: center; min-height: 46vh; padding: 2.5rem 0 3rem; }
.maintain-copy { width: min(100%, 40rem); text-align: center; }
.maintain-copy h1 { margin: 0.35rem 0 0.9rem; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.maintain-lead { margin: 0 auto; max-width: 36rem; font-size: 1.08rem; line-height: 1.7; white-space: pre-line; }
@media (min-width: 901px) {
  .admin-shell .side, .member-shell .side {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
  }
}
.admin-dash h1 {
  margin: 0.35rem 0 0.45rem;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  background: linear-gradient(100deg, #ffffff 12%, #f8e7b0 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dash-lead { max-width: 40rem; margin-bottom: 0.4rem; }
.dash-lead-wide { max-width: none; }
.profile-page h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0.35rem 0 0.35rem;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  background: linear-gradient(100deg, #ffffff 12%, #f8e7b0 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.profile-sections { display: grid; gap: 1rem; }
.profile-ids { display: grid; grid-template-columns: 9.5rem 9.5rem minmax(0, 1fr); gap: 0.85rem 1rem; margin-bottom: 0.85rem; }
.profile-ids .form-control[readonly],
.profile-page .form-control[readonly] { color: var(--gold-2); }
.profile-page .support-send { margin-top: 1rem; }
.profile-page .dapp-actions .btn,
.profile-page .dapp-actions .support-send { margin-top: 0; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; }
.profile-grid .span-2 { grid-column: 1 / -1; }
.profile-grid .form-label { margin-bottom: 0.3rem; color: var(--gold-2); font-size: 0.78rem; }
.profile-page input[type="file"].form-control { padding: 0.45rem 0.65rem; }
.profile-page input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  color: #1b1404;
  background: linear-gradient(180deg, #fff4cf, #d7a84a);
}
.profile-note { margin: 1rem 0 0.85rem; line-height: 1.55; }
.profile-confirm { margin-top: 1.35rem; margin-bottom: 1rem; }
.profile-docs { margin-top: 1.25rem; }
.kyc-list { display: grid; gap: 0.55rem; }
.kyc-list article {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 16, 0.35);
}
.kyc-list strong { font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.03em; }
.kyc-list time { margin-left: auto; font-size: 0.78rem; color: var(--gold-2); }
.dash-title { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; flex-wrap: wrap; margin: 0.15rem 0 0.35rem; }
.dash-title h1 { margin: 0; }
.dash-status { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-left: auto; }
.dash-chip {
  display: grid;
  gap: 0.05rem;
  min-width: 8.4rem;
  padding: 0.42rem 0.8rem 0.48rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(16, 22, 36, 0.96), rgba(7, 11, 20, 0.94));
}
.dash-chip > span { font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; }
.dash-chip strong { font-family: var(--display); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.03em; }
.dash-chip.tone-blue { border-color: rgba(59, 130, 255, 0.48); background: radial-gradient(90px 50px at 100% 0%, rgba(59, 130, 255, 0.28), transparent 70%), linear-gradient(165deg, rgba(10, 24, 52, 0.96), rgba(7, 11, 20, 0.94)); }
.dash-chip.tone-blue > span { color: #9ec0ff; }
.dash-chip.tone-green { border-color: rgba(61, 214, 165, 0.48); background: radial-gradient(90px 50px at 100% 0%, rgba(61, 214, 165, 0.26), transparent 70%), linear-gradient(165deg, rgba(8, 36, 28, 0.96), rgba(7, 11, 20, 0.94)); }
.dash-chip.tone-green > span { color: #b8ffe8; }
.dash-chip.tone-gold { border-color: rgba(230, 197, 109, 0.5); background: radial-gradient(90px 50px at 100% 0%, rgba(230, 197, 109, 0.22), transparent 70%), linear-gradient(165deg, rgba(36, 26, 10, 0.96), rgba(7, 11, 20, 0.94)); }
.dash-chip.tone-gold > span { color: var(--gold-2); }
.dash-block { margin-top: 1.45rem; }
.dash-block.dash-cards { margin-top: 0.85rem; }
.dash-block h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.member-register .panel {
  border: 1px solid rgba(230, 197, 109, 0.42);
  background:
    radial-gradient(240px 150px at 100% 0%, rgba(230, 197, 109, 0.2), transparent 64%),
    radial-gradient(200px 140px at 0% 100%, rgba(59, 130, 255, 0.14), transparent 62%),
    linear-gradient(165deg, rgba(16, 28, 52, 0.98), rgba(6, 10, 20, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.36);
}
.member-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; margin: 0.4rem 0 1rem; }
.member-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: center;
  min-height: 92px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(230, 197, 109, 0.4);
  background:
    radial-gradient(140px 80px at 100% 0%, rgba(230, 197, 109, 0.2), transparent 68%),
    linear-gradient(165deg, rgba(18, 28, 52, 0.96), rgba(7, 11, 20, 0.94));
}
.member-stat .dash-ico { grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; }
.member-stat span { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.member-stat strong { font-family: var(--display); font-size: 1.55rem; font-weight: 600; }
.member-search { margin-bottom: 1rem; }
.member-search-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0.75rem; align-items: end; }
.return-search { grid-template-columns: 1.15fr 0.8fr 0.85fr 0.85fr 0.85fr auto; }
.report-wd-search { grid-template-columns: 1.1fr 0.75fr 0.85fr 0.8fr 0.8fr auto; }
.settings-sheet { margin-top: 0.2rem; }
.settings-head, .settings-line { grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
.settings-line { display: grid; gap: 0.65rem; padding: 0.75rem 0; border-top: 1px solid rgba(230, 197, 109, 0.16); }
.settings-line > div > p { margin: 0; color: var(--gold-2); }
.profile-value { color: var(--text); font-weight: 600; }
.settings-hint, .settings-when { display: block; }
.settings-hint { margin: 0.2rem 0 0; font-size: 0.8rem; }
.settings-when { margin-top: 0.35rem; color: var(--gold-2); font-size: 0.75rem; }
.settings-line .form-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.mail-uses { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.85rem; }
.mail-split { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 0.65rem; margin: 0.35rem 0 0; padding: 0.95rem 0 0.15rem; border-top: 1px solid rgba(230, 197, 109, 0.28); }
.mail-split h2, .mail-split p { grid-column: 2; min-width: 0; }
.mail-split h2 { margin: 0; font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.04em; color: var(--gold); }
.mail-split p { margin: 0.2rem 0 0; font-size: 0.82rem; overflow-wrap: anywhere; }
.mail-pair { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.65rem; align-items: end; }
.mail-cap { display: block; margin: 0 0 0.28rem; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.account-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; padding: 0.85rem 0; border-top: 1px solid rgba(230, 197, 109, 0.16); }
.account-row .auto-field { margin-top: 0; }
.auto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: stretch; }
.auto-card { display: flex; flex-direction: column; min-width: 0; }
.auto-card .mail-uses { margin-bottom: 0.2rem; }
.auto-field { display: grid; gap: 0.35rem; margin-top: 0.9rem; }
.auto-field label { margin: 0; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.auto-field .settings-hint { margin: 0; }
.auto-field .settings-when { margin: 0; }
.auto-key { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(230, 197, 109, 0.28); }
.settings-line textarea.form-control { min-height: 6.5rem; }
.booster-search { grid-template-columns: 1.15fr 0.9fr 0.85fr 0.85fr auto; }
.wd-action { display: grid; gap: 0.35rem; min-width: 13.5rem; }
.wd-pair { display: flex; gap: 0.35rem; }
.wd-pair .support-send, .wd-pair .member-action { flex: 1 1 0; justify-content: center; margin-top: 0; padding: 0.32rem 0.55rem; font-size: 0.72rem; white-space: nowrap; }
.wd-action .form-control, .wd-action .form-select { font-size: 0.72rem; padding: 0.28rem 0.45rem; border-radius: 8px; }
.wd-action .support-send { margin-top: 0; }
.member-pill.approved { color: #d7f3ff; border-color: rgba(143, 215, 255, 0.45); background: rgba(143, 215, 255, 0.12); }
.member-pill.completed { color: #d7fff2; border-color: rgba(61, 214, 165, 0.45); background: rgba(61, 214, 165, 0.12); }
.member-pill.rejected, .member-pill.debit { color: #ffe1e6; border-color: rgba(255, 123, 138, 0.4); background: rgba(255, 123, 138, 0.1); }
.member-pill.credit { color: #d7fff2; border-color: rgba(61, 214, 165, 0.45); background: rgba(61, 214, 165, 0.12); }
.member-pill.record { color: var(--gold-2); background: rgba(230, 197, 109, 0.12); }
input[type="date"].form-control, input[type="datetime-local"].form-control { color-scheme: dark; }
.comp-board { display: grid; gap: 0.85rem; }
.comp-all, .plan-setup { display: grid; gap: 0; }
.comp-when { display: grid; gap: 0.65rem; align-items: end; margin-bottom: 0.85rem; grid-template-columns: 5.6rem minmax(14rem, 1fr) 11rem minmax(11rem, 0.85fr) 7.4rem; }
.comp-when > div:first-child { grid-column: 2; }
.comp-when > div:last-child { grid-column: 3; }
.sheet-head, .comp-row, .plan-line { display: grid; gap: 0.65rem; align-items: center; }
.comp-head, .comp-row { grid-template-columns: 5.6rem 1fr 1fr minmax(11rem, 0.85fr) 7.4rem; }
.plan-head, .plan-line { grid-template-columns: 11rem 1fr 1fr 6.5rem; }
.sheet-head { color: var(--gold); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0 0 0.35rem; }
.plan-line, .comp-row { padding: 0.45rem 0; border-top: 1px solid rgba(230, 197, 109, 0.16); }
.plan-line > p, .comp-level { margin: 0; color: var(--gold-2); }
.comp-level { font-family: var(--display); font-size: 0.92rem; }
.comp-directs { margin: 0; color: var(--gold-2); font-size: 0.82rem; white-space: nowrap; }
.comp-now { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin: 0; font-size: 0.75rem; }
.comp-now .member-pill { font-size: 0.64rem; padding: 0.1rem 0.45rem; }
.comp-actions { display: flex; justify-content: flex-end; margin-top: 0.85rem; }
.comp-actions .support-send, .comp-all .support-send { margin-top: 0; }
.comp-row .form-label, .plan-line .form-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.comp-delete { margin: 0; }
.comp-delete-btn { color: #ffe1e6; border-color: rgba(255, 123, 138, 0.5); }
.comp-history th:last-child, .comp-history td:last-child { text-align: right; width: 1%; white-space: nowrap; }
.extra-block { margin-top: 1.1rem; }
.extra-block h3 { margin: 0 0 0.65rem; font-family: var(--display); font-size: 0.95rem; color: var(--gold-2); }
.plan-extra .extra-remove { margin: 0; justify-self: end; white-space: nowrap; }
.plan-foot { justify-content: space-between; align-items: center; }
.report-export { margin: -0.2rem 0 0.9rem; }
.report-export .support-send { text-decoration: none; }
.confirm-pop {
  width: min(34rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  margin: auto;
  border: 1px solid rgba(230, 197, 109, 0.42);
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1.1rem;
  color: var(--text);
  background:
    radial-gradient(240px 140px at 100% 0%, rgba(230, 197, 109, 0.18), transparent 70%),
    linear-gradient(165deg, #101c34, #060a14);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}
.confirm-pop::backdrop { background: rgba(5, 7, 13, 0.72); }
.confirm-pop h2 { margin: 0.15rem 0 0.4rem; font-family: var(--display); font-size: 1.35rem; color: var(--gold-2); }
.confirm-pop p { margin: 0; }
.confirm-when { margin: 0.75rem 0 0.35rem; }
.confirm-when strong { color: var(--gold-2); font-weight: 600; }
.confirm-lines { list-style: none; margin: 0.4rem 0 1rem; padding: 0; max-height: 16rem; overflow: auto; }
.confirm-lines li { padding: 0.38rem 0; border-bottom: 1px solid rgba(230, 197, 109, 0.16); font-size: 0.86rem; }
.confirm-actions .confirm-danger,
.confirm-actions .confirm-danger:hover {
  border: 1px solid rgba(255, 123, 138, 0.55);
  color: #ffe1e6;
  background: rgba(255, 123, 138, 0.16);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
}
.confirm-facts { display: grid; grid-template-columns: 8.2rem 1fr; gap: 0.45rem 0.75rem; margin: 0.9rem 0 1rem; }
.confirm-facts dt { margin: 0; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.confirm-facts dd { margin: 0; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
.confirm-actions .support-send { margin-top: 0; }
.referral-search { grid-template-columns: 1fr 1fr auto; }
.member-search .support-send { margin-top: 0; }
.member-table { padding: 0.4rem 0.35rem 0.2rem; }
.col-sn, .table thead th.col-sn, .table td.col-sn { width: 2.6rem; color: var(--gold-2); font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }
.member-register .table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-hover-bg: rgba(59, 130, 255, 0.08); font-size: 0.78rem; }
.profile-table .table { font-size: 0.72rem; }
.profile-table .table thead th { font-size: 0.62rem; white-space: nowrap; }
.profile-table .member-pill { font-size: 0.64rem; padding: 0.1rem 0.45rem; }
.profile-pay { max-width: 12rem; white-space: pre-line; }
.profile-card dl { margin: 0.55rem 0 0; }
.profile-card dl div { display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.35rem; padding: 0.28rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.profile-card dt { margin: 0; color: var(--gold); font-size: 0.72rem; font-weight: 600; }
.profile-card dd { margin: 0; font-size: 0.82rem; white-space: pre-line; word-break: break-word; }
.member-register .table th, .member-register .table td { padding: 0.42rem 0.45rem; vertical-align: middle; }
.member-register .table thead th { font-size: 0.68rem; }
.member-register tbody tr:hover { background: rgba(59, 130, 255, 0.08); }
.member-id { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gold); font-family: var(--display); letter-spacing: 0.01em; font-size: 0.76rem; }
.member-table .support-avatar { width: 26px; height: 26px; border-radius: 8px; }
.member-table .support-avatar svg { width: 14px; height: 14px; }
.member-table .member-pill { font-size: 0.64rem; padding: 0.1rem 0.45rem; }
.member-table .member-action, .member-table .member-actions button { font-size: 0.7rem; padding: 0.26rem 0.55rem; }
.member-id:hover { color: var(--gold-2); }
.member-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(230, 197, 109, 0.35);
}
.member-pill.active, .member-pill.complete, .member-pill.paid { color: #d7fff2; border-color: rgba(61, 214, 165, 0.45); background: rgba(61, 214, 165, 0.12); }
.member-pill.super_admin { color: #1b1404; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.profile-rights { margin-top: 1rem; }
.permit-all { display: flex; align-items: center; gap: 0.5rem; margin: 0.9rem 0 0.2rem; color: var(--gold-2); font-weight: 600; }
.permit-group { margin: 1rem 0 0.45rem; color: var(--gold); font-family: var(--display); font-size: 0.95rem; }
.permit-note { margin: 0 0 0.55rem; font-size: 0.82rem; }
.permit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem 1.1rem; }
.permit-item { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0; }
.permit-item input { margin-top: 0.2rem; accent-color: #e6c56d; }
.member-pill.pending { color: var(--gold-2); background: rgba(230, 197, 109, 0.12); }
.member-pill.processing { color: #d7f3ff; border-color: rgba(143, 215, 255, 0.45); background: rgba(143, 215, 255, 0.12); }
.member-pill.suspended { color: var(--gold-2); background: rgba(230, 197, 109, 0.12); }
.member-pill.blocked, .member-pill.incomplete, .member-pill.cancelled { color: #ffe1e6; border-color: rgba(255, 123, 138, 0.4); background: rgba(255, 123, 138, 0.1); }
.return-count { font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: 0.02em; }
.return-count.ok { color: #3dd6a5; }
.return-count.soon { color: #ff7b8a; }
.member-cards { display: none; }
.member-card { display: grid; gap: 0.3rem; color: var(--text); margin-bottom: 0.75rem; }
.member-card:hover { color: var(--text); }
.member-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.member-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.member-actions form { margin: 0; }
.member-action, .member-actions button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(230, 197, 109, 0.55);
  background: transparent;
  color: var(--gold);
}
.member-action svg, .member-actions button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.member-action:hover, .member-actions button:hover { filter: brightness(1.06); color: var(--gold-2); }
.member-actions .support-send,
.member-actions .support-send:hover {
  margin-top: 0;
  border-color: transparent;
  color: #1b1404;
  background: linear-gradient(180deg, #fff4cf 0%, #f0d48a 42%, #d7a84a 100%);
}
.member-cards .member-actions { margin: -0.35rem 0 0.85rem; }
.member-edit .support-send { margin-top: 0; }
.impersonate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 -1.3rem 1rem;
  padding: 0.7rem 1.1rem;
  background: linear-gradient(90deg, rgba(230, 197, 109, 0.2), rgba(8, 18, 42, 0.95));
  border-bottom: 1px solid rgba(230, 197, 109, 0.45);
  color: var(--gold);
}
.impersonate-bar form { margin: 0; }
.impersonate-bar button {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  color: #1b1404;
  background: linear-gradient(180deg, #fff4cf, #d7a84a);
}
.member-file-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.member-file-top .member-actions { margin-top: 1.6rem; }
.member-file .dash-grid { margin-bottom: 0.2rem; }
.file-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1rem; margin-top: 1rem; }
.file-levels { margin-top: 1rem; }
.member-facts { display: grid; grid-template-columns: 8.4rem 1fr; gap: 0.45rem 0.75rem; margin: 0; }
.member-facts dt { margin: 0; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.member-facts dd { margin: 0; white-space: pre-line; word-break: break-word; }
.level-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.level-pill { font-size: 0.68rem; padding: 0.2rem 0.48rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); }
.level-pill.open { color: #d7fff2; border-color: rgba(61, 214, 165, 0.45); background: rgba(61, 214, 165, 0.12); }
.level-pill.locked { opacity: 0.55; }
.file-form .support-head, .file-adjust { margin-bottom: 0.15rem; }
.file-row, .file-adjust { display: grid; gap: 0.7rem; align-items: end; }
.file-row { grid-template-columns: 1fr auto; }
.file-adjust { grid-template-columns: 7.5rem 8.5rem 1fr auto; }
.file-row .support-send, .file-adjust .support-send { margin-top: 0; }
.file-table { margin-top: 0; }
.file-table .table { font-size: 0.78rem; }
.file-table .table thead th { font-size: 0.66rem; }
.file-empty { margin: 0; }
.member-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(230, 197, 109, 0.42);
  border-radius: 14px;
  background: rgba(8, 14, 28, 0.92);
}
.member-pager .pager-meta { margin-right: auto; color: var(--gold-2); font-size: 0.82rem; }
.member-pager a,
.member-pager button,
.member-pager .pager-off,
.member-pager .pager-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 197, 109, 0.38);
  color: var(--gold-2);
  background: rgba(230, 197, 109, 0.08);
  text-decoration: none;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.member-pager a:hover,
.member-pager button:hover { background: rgba(230, 197, 109, 0.18); color: var(--gold-2); }
.member-pager .pager-current { background: var(--gold); color: #1b1404; border-color: var(--gold); font-weight: 700; }
.member-pager .pager-off { opacity: 0.4; cursor: default; }
.member-pager .pager-gap { color: var(--gold-2); padding: 0 0.1rem; }
@media (max-width: 900px) {
  .member-stats, .member-search-grid, .file-split, .file-row, .file-adjust, .comp-row, .comp-when, .plan-line, .settings-head, .settings-line, .mail-pair, .mail-split, .auto-grid, .account-row, .profile-grid { grid-template-columns: 1fr; }
  .profile-grid .span-2 { grid-column: auto; }
  .profile-ids { grid-template-columns: 1fr 1fr; }
  .profile-ids .profile-name { grid-column: 1 / -1; }
  .mail-split h2, .mail-split p { grid-column: 1; }
  .settings-head { display: none; }
  .comp-head, .plan-head { display: none; }
  .comp-when > div:first-child, .comp-when > div:last-child { grid-column: auto; }
  .plan-foot { flex-direction: column; align-items: stretch; }
  .plan-extra .extra-remove { justify-self: stretch; text-align: center; }
  .comp-row .form-label, .plan-line .form-label, .settings-line .form-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .comp-actions { justify-content: stretch; }
  .comp-actions .support-send { width: 100%; }
  .member-table:has(+ .member-cards) { display: none; }
  .member-cards { display: block; }
  .member-file-top .member-actions { margin-top: 0.4rem; }
}
.dash-grid, .dash-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.dash-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 52px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.75rem;
  min-height: 124px;
  overflow: hidden;
  border: 1px solid rgba(230, 197, 109, 0.4);
  border-radius: 18px;
  padding: 1rem 1rem 0.95rem 1.15rem;
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(230, 197, 109, 0.22), transparent 68%),
    linear-gradient(165deg, rgba(18, 28, 52, 0.96), rgba(7, 11, 20, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.dash-card::before {
  content: none;
}
.dash-card.money {
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(143, 215, 255, 0.2), transparent 68%),
    linear-gradient(165deg, rgba(10, 28, 48, 0.96), rgba(7, 11, 20, 0.94));
}
.dash-card.money::before { background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.dash-card:hover { transform: translateY(-3px); border-color: rgba(230, 197, 109, 0.72); }
.dash-ico {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(230, 197, 109, 0.12);
  border: 1px solid rgba(230, 197, 109, 0.38);
  box-shadow: inset 0 0 16px rgba(230, 197, 109, 0.12);
}
.dash-card.money .dash-ico {
  color: var(--cyan);
  background: rgba(143, 215, 255, 0.1);
  border-color: rgba(143, 215, 255, 0.4);
  box-shadow: inset 0 0 16px rgba(143, 215, 255, 0.12);
}
.dash-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dash-card > span:not(.dash-ico) {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.dash-card strong {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--text);
  overflow-wrap: anywhere;
}
.dash-card.word strong {
  overflow-wrap: anywhere;
}
.dash-card .return-count {
  display: inline-block;
  font-size: inherit;
  letter-spacing: 0.04em;
  overflow-wrap: normal;
}
.dash-card.tone-gold {
  border-color: rgba(230, 197, 109, 0.48);
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(230, 197, 109, 0.28), transparent 68%),
    linear-gradient(165deg, rgba(36, 28, 12, 0.96), rgba(7, 11, 20, 0.94));
}
.dash-card.tone-blue {
  border-color: rgba(59, 130, 255, 0.48);
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(59, 130, 255, 0.28), transparent 68%),
    linear-gradient(165deg, rgba(10, 24, 52, 0.96), rgba(7, 11, 20, 0.94));
}
.dash-card.tone-green {
  border-color: rgba(61, 214, 165, 0.48);
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(61, 214, 165, 0.26), transparent 68%),
    linear-gradient(165deg, rgba(8, 36, 28, 0.96), rgba(7, 11, 20, 0.94));
}
.dash-card.tone-violet {
  border-color: rgba(176, 154, 255, 0.48);
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(176, 154, 255, 0.26), transparent 68%),
    linear-gradient(165deg, rgba(28, 20, 52, 0.96), rgba(7, 11, 20, 0.94));
}
.dash-card.tone-amber {
  border-color: rgba(255, 168, 92, 0.5);
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(255, 168, 92, 0.26), transparent 68%),
    linear-gradient(165deg, rgba(42, 24, 10, 0.96), rgba(7, 11, 20, 0.94));
}
.dash-card.tone-cyan {
  border-color: rgba(143, 215, 255, 0.5);
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(143, 215, 255, 0.26), transparent 68%),
    linear-gradient(165deg, rgba(8, 32, 48, 0.96), rgba(7, 11, 20, 0.94));
}
.dash-card.tone-gold::before { background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.dash-card.tone-blue::before { background: linear-gradient(180deg, #9ec0ff, var(--blue)); }
.dash-card.tone-green::before { background: linear-gradient(180deg, #b8ffe8, var(--ok)); }
.dash-card.tone-violet::before { background: linear-gradient(180deg, #e4dcff, #b09aff); }
.dash-card.tone-amber::before { background: linear-gradient(180deg, #ffd7ad, #ffa85c); }
.dash-card.tone-cyan::before { background: linear-gradient(180deg, #e7f6ff, var(--cyan)); }
.dash-card.tone-gold > span:not(.dash-ico),
.dash-card.tone-gold .dash-ico { color: var(--gold-2); }
.dash-card.tone-blue > span:not(.dash-ico),
.dash-card.tone-blue .dash-ico { color: #9ec0ff; }
.dash-card.tone-green > span:not(.dash-ico),
.dash-card.tone-green .dash-ico { color: #b8ffe8; }
.dash-card.tone-violet > span:not(.dash-ico),
.dash-card.tone-violet .dash-ico { color: #e4dcff; }
.dash-card.tone-amber > span:not(.dash-ico),
.dash-card.tone-amber .dash-ico { color: #ffd7ad; }
.dash-card.tone-cyan > span:not(.dash-ico),
.dash-card.tone-cyan .dash-ico { color: var(--cyan); }
.dash-card.tone-blue .dash-ico { background: rgba(59, 130, 255, 0.12); border-color: rgba(59, 130, 255, 0.42); box-shadow: inset 0 0 16px rgba(59, 130, 255, 0.14); }
.dash-card.tone-green .dash-ico { background: rgba(61, 214, 165, 0.12); border-color: rgba(61, 214, 165, 0.42); box-shadow: inset 0 0 16px rgba(61, 214, 165, 0.14); }
.dash-card.tone-violet .dash-ico { background: rgba(176, 154, 255, 0.12); border-color: rgba(176, 154, 255, 0.42); box-shadow: inset 0 0 16px rgba(176, 154, 255, 0.14); }
.dash-card.tone-amber .dash-ico { background: rgba(255, 168, 92, 0.12); border-color: rgba(255, 168, 92, 0.45); box-shadow: inset 0 0 16px rgba(255, 168, 92, 0.14); }
.dash-card.tone-cyan .dash-ico { background: rgba(143, 215, 255, 0.12); border-color: rgba(143, 215, 255, 0.42); box-shadow: inset 0 0 16px rgba(143, 215, 255, 0.14); }
.dash-card.tone-blue:hover { border-color: rgba(59, 130, 255, 0.75); }
.dash-card.tone-green:hover { border-color: rgba(61, 214, 165, 0.75); }
.dash-card.tone-violet:hover { border-color: rgba(176, 154, 255, 0.75); }
.dash-card.tone-amber:hover { border-color: rgba(255, 168, 92, 0.75); }
.dash-card.tone-cyan:hover { border-color: rgba(143, 215, 255, 0.75); }
.panel.tone-green,
.panel.tone-blue,
.panel.tone-amber {
  border-width: 1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.32);
}
.panel.tone-green {
  border-color: rgba(61, 214, 165, 0.45);
  background:
    radial-gradient(180px 120px at 100% 0%, rgba(61, 214, 165, 0.2), transparent 68%),
    linear-gradient(165deg, rgba(8, 36, 28, 0.96), rgba(7, 11, 20, 0.94));
}
.panel.tone-blue {
  border-color: rgba(59, 130, 255, 0.45);
  background:
    radial-gradient(180px 120px at 100% 0%, rgba(59, 130, 255, 0.2), transparent 68%),
    linear-gradient(165deg, rgba(10, 24, 52, 0.96), rgba(7, 11, 20, 0.94));
}
.panel.tone-amber {
  border-color: rgba(255, 168, 92, 0.45);
  background:
    radial-gradient(180px 120px at 100% 0%, rgba(255, 168, 92, 0.18), transparent 68%),
    linear-gradient(165deg, rgba(42, 24, 10, 0.96), rgba(7, 11, 20, 0.94));
}
.dash-card-wide { grid-column: span 2; }
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.nav-bar, .nav-scrim, .nav-close { display: none; }
.nav-bar {
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  margin: 0 -1.3rem 1rem;
  padding: 0.35rem 0.9rem;
  position: sticky;
  top: 0;
  z-index: 35;
  background: #070b14;
  border-bottom: 1px solid rgba(230, 197, 109, 0.35);
}
.nav-bar span {
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.nav-toggle-btn, .nav-close {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(230, 197, 109, 0.45);
  background: rgba(230, 197, 109, 0.08);
  color: var(--gold);
  place-items: center;
  cursor: pointer;
}
.nav-toggle-btn { display: grid; }
.nav-toggle-btn svg, .nav-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-close { position: absolute; top: 0.7rem; right: 0.7rem; }
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(2, 4, 10, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
body:has(.nav-toggle:checked) { overflow: hidden; }
@media (max-width: 900px) {
  .nav-bar { display: flex; margin-bottom: 0; }
  .admin-header, .member-header { top: 56px; }
  .nav-scrim { display: block; }
  .nav-close { display: grid; }
  .member-shell .side, .admin-shell .side { padding-top: 3.4rem; }
  .nav-toggle:checked ~ .nav-scrim { opacity: 1; pointer-events: auto; }
}
.dash-links a {
  display: block;
  border: 1px solid rgba(230, 197, 109, 0.42);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: linear-gradient(180deg, rgba(230, 197, 109, 0.1), rgba(8, 14, 28, 0.72));
}
.dash-links a:hover { color: var(--gold); }
@media (max-width: 1100px) {
  .dash-grid, .dash-links { grid-template-columns: repeat(2, 1fr); }
  .level-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dash-grid, .dash-links, .dash-card-wide, .permit-grid { grid-template-columns: 1fr; }
  .level-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refer-line { flex-direction: column; align-items: stretch; }
  .refer-copy { width: 100%; }
  .dash-card-wide { grid-column: auto; }
}
.level-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}
.level-counts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(230, 197, 109, 0.28);
  border-radius: 12px;
  background: rgba(8, 14, 28, 0.72);
}
.level-counts span { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.level-counts strong { font-family: var(--display); font-size: 1rem; font-weight: 600; }
img, video { max-width: 100%; }
code, .profile-mail, .member-id { overflow-wrap: anywhere; }
.tree-list { display: grid; gap: 0.7rem; }
.tree-card {
  border: 1px solid rgba(230, 197, 109, 0.34);
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(230, 197, 109, 0.14), transparent 70%),
    linear-gradient(165deg, rgba(22, 18, 12, 0.96), rgba(8, 10, 16, 0.94));
}
.tree-main { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.75rem; }
.tree-main strong { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.04em; }
.tree-meta { color: var(--gold-2); font-size: 0.82rem; }
.tree-expand {
  margin-left: auto;
  border: 1px solid rgba(230, 197, 109, 0.55);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  background: rgba(230, 197, 109, 0.12);
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 700;
}
.tree-expand:hover { color: #fff; }
.tree-branch {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(230, 197, 109, 0.28);
}
.tree-branch:empty,
.tree-branch[hidden] { display: none; }
.profile-page > .panel + .panel { margin-top: 1rem; }
.org-panel { min-width: 0; max-width: 100%; overflow: hidden; }
.org-scroll { overflow-x: auto; max-width: 100%; padding: 0.35rem 0.2rem 0.8rem; }
.org-tree,
.org-tree ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.org-tree ul { position: relative; padding-top: 1.45rem; }
.org-tree ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 1.45rem;
  background: rgba(230, 197, 109, 0.72);
}
.org-tree li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.45rem 0.45rem 0;
}
.org-tree > li { padding-top: 0; }
.org-tree li::before,
.org-tree li::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 1.45rem;
  border-top: 1px solid rgba(230, 197, 109, 0.72);
}
.org-tree li::before { right: 50%; }
.org-tree li::after { left: 50%; border-left: 1px solid rgba(230, 197, 109, 0.72); }
.org-tree > li::before,
.org-tree > li::after,
.org-tree li:only-child::before,
.org-tree li:only-child::after { display: none; }
.org-tree li:only-child { padding-top: 0; }
.org-tree li:first-child::before { border: 0 none; }
.org-tree li:last-child::after { border-top: 0; }
.org-tree li:last-child::before { border-right: 1px solid rgba(230, 197, 109, 0.72); }
.org-tree ul:empty,
.org-tree ul[hidden] { display: none; }
.org-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  min-width: 11rem;
  padding: 0.72rem 0.7rem 0.78rem;
  border: 1px solid rgba(230, 197, 109, 0.4);
  border-radius: 16px;
  text-align: center;
  background:
    radial-gradient(120px 70px at 50% 0%, rgba(230, 197, 109, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(28, 22, 14, 0.98), rgba(8, 10, 16, 0.96));
}
.org-node.is-you { border-color: rgba(230, 197, 109, 0.85); box-shadow: 0 0 0 1px rgba(230, 197, 109, 0.25); }
.org-node strong { font-family: var(--display); font-size: 0.92rem; letter-spacing: 0.04em; }
.org-you {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.org-node .member-pill,
.org-meta { white-space: nowrap; }
.org-meta { color: var(--gold-2); font-size: 0.72rem; line-height: 1.35; }
.org-toggle {
  margin-top: 0.15rem;
  border: 1px solid rgba(230, 197, 109, 0.55);
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  background: rgba(230, 197, 109, 0.12);
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 700;
}
.org-toggle:hover { color: #fff; }
.org-note { padding-top: 1.45rem; color: var(--gold-2); font-size: 0.78rem; }
.org-pages { display: flex; align-items: center; gap: 0.4rem; }
.org-pages button {
  border: 1px solid rgba(230, 197, 109, 0.45);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  background: transparent;
  color: var(--gold-2);
  font-size: 0.72rem;
}
@media (max-width: 640px) {
  .tree-expand { margin-left: 0; }
}
.profile-menu { max-width: calc(100vw - 1.25rem); }
@media (max-width: 1180px) and (min-width: 901px) {
  .comp-row, .comp-when, .plan-line, .settings-line, .mail-pair, .mail-split, .file-adjust { grid-template-columns: 1fr; }
  .mail-split h2, .mail-split p { grid-column: 1; }
  .settings-head, .comp-head, .plan-head { display: none; }
  .comp-row .form-label, .plan-line .form-label, .settings-line .form-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .member-search-grid, .return-search, .report-wd-search, .booster-search, .referral-search { grid-template-columns: 1fr 1fr; }
  .slide-row { padding: 0 1.5rem; }
  .slide-visual { width: 150px; height: 150px; flex-basis: 150px; margin-right: 0.4rem; }
  .ribbon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .site-header { position: relative; }
  .site-header .logo-link img { height: 52px; width: 52px; }
  .site-header .navbar { padding-top: 0.35rem; padding-bottom: 0.35rem; }
  .site-header .navbar .container { gap: 0.45rem; }
  .site-header .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0;
    gap: 0.55rem;
  }
  .site-header .navbar-brand .brand-mark { display: flex; }
  .site-header .navbar-brand::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    min-width: 1.2rem;
    margin: 0 0.35rem 0 0.65rem;
    background: linear-gradient(90deg, rgba(230, 197, 109, 0.55), rgba(230, 197, 109, 0.04));
  }
  .site-header .navbar-toggler {
    width: 2.7rem;
    height: 2.7rem;
  }
  .site-header .offcanvas {
    --bs-offcanvas-width: min(100%, 20.5rem);
    --bs-offcanvas-bg: transparent;
    background:
      linear-gradient(180deg, rgba(5, 8, 18, 0.78) 0%, rgba(8, 14, 28, 0.86) 42%, rgba(5, 7, 13, 0.94) 100%),
      radial-gradient(ellipse 90% 45% at 10% 0%, rgba(230, 197, 109, 0.22), transparent 58%),
      radial-gradient(ellipse 70% 40% at 100% 100%, rgba(59, 130, 255, 0.16), transparent 62%),
      url("../images/slides/slide-joining.jpg") center 40% / cover no-repeat;
    border-left: 1px solid rgba(230, 197, 109, 0.45);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
    color: var(--text);
    z-index: 1080;
  }
  .offcanvas-backdrop {
    z-index: 1070;
  }
  .site-header .offcanvas-header {
    align-items: center;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(230, 197, 109, 0.28);
    background: linear-gradient(180deg, rgba(5, 7, 13, 0.28), transparent);
  }
  .site-header .offcanvas-header .logo-link img { height: 48px; width: 48px; }
  .site-header .offcanvas-body {
    padding: 0.35rem 1.1rem 1.5rem;
    overflow-y: auto;
  }
  .site-header .offcanvas-body .navbar-nav { width: 100%; }
  .site-header .nav-link {
    padding: 0.85rem 0.1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(230, 197, 109, 0.14);
  }
  .site-header .nav-auth {
    width: 100%;
    margin: 1rem 0 0;
    gap: 0.55rem;
  }
  .site-header .nav-auth .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.7rem;
  }
  .site-header .nav-auth .btn-ghost {
    background: rgba(5, 7, 13, 0.35);
  }
}
@media (max-width: 900px) {
  .form-control, .form-select, textarea.form-control { font-size: 16px; }
  .table-responsive, .plan-scroll { overflow: visible; }
  .plan-table { min-width: 0; }
  .table-responsive table,
  .table-responsive tbody,
  .plan-scroll table,
  .plan-scroll tbody { display: block; width: 100%; min-width: 0 !important; }
  .table-responsive thead tr, .plan-scroll thead tr { display: none; }
  .member-table:has(+ .member-cards) .table-responsive { display: none; }
  .table-responsive thead, .plan-scroll thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .table-responsive tr, .plan-scroll tr {
    display: block;
    margin: 0 0 0.75rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(230, 197, 109, 0.32);
    border-radius: 14px;
    background: rgba(8, 14, 28, 0.78);
  }
  .table-responsive td, .plan-scroll td {
    display: grid;
    grid-template-columns: minmax(5.2rem, 38%) minmax(0, 1fr);
    gap: 0.35rem 0.65rem;
    align-items: center;
    padding: 0.42rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: right;
    white-space: normal;
    word-break: break-word;
  }
  .table-responsive td:last-child, .plan-scroll td:last-child { border-bottom: 0; }
  .table-responsive td::before, .plan-scroll td::before {
    content: attr(data-label);
    text-align: left;
    color: var(--gold);
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .table-responsive td:has(form),
  .table-responsive td:has(.wd-pair),
  .table-responsive td:has(.member-actions),
  .plan-scroll td:has(form) {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .wd-action { min-width: 0; }
  .wd-pair { flex-wrap: wrap; }
  .confirm-actions { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .auth-row { grid-template-columns: 1fr; }
  .auth-phone { grid-template-columns: minmax(8.2rem, 10rem) minmax(0, 1fr); }
  .main { padding: 0.9rem 0.75rem 1.8rem; }
  .admin-header, .member-header {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
  .nav-bar, .impersonate-bar { margin-left: -0.75rem; margin-right: -0.75rem; }
  .shell-footer { padding-left: 0.75rem; padding-right: 0.75rem; }
  .level-counts { grid-template-columns: 1fr 1fr; }
  .dash-title { align-items: flex-start; }
  .dash-status { width: 100%; margin-left: 0; }
  .dash-chip { flex: 1 1 8rem; }
  .dash-card { min-height: 0; padding: 0.85rem 0.75rem 0.8rem 0.9rem; }
  .dash-card strong, .metric, .panel .muted { overflow-wrap: anywhere; }
  .rule-card, .panel, .auth-card { padding: 0.9rem 0.85rem; }
  .confirm-facts { grid-template-columns: 1fr; }
  .confirm-actions { flex-direction: column; align-items: stretch; }
  .confirm-actions .support-send, .confirm-actions .confirm-danger { width: 100%; justify-content: center; text-align: center; }
  .topbar .container { min-height: 0; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .page-hero h1, .stage h1 { overflow-wrap: anywhere; }
}
