:root {
  --bg-deep: #03101a;
  --bg-mid: #071827;
  --bg-soft: rgba(10, 23, 38, 0.78);
  --panel: rgba(7, 20, 33, 0.74);
  --panel-strong: rgba(10, 22, 38, 0.94);
  --panel-lite: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f8ff;
  --text-muted: #94a9cb;
  --gold: #ffc975;
  --teal: #6cf1d0;
  --cyan: #78ccff;
  --blue: #8ca4ff;
  --rose: #ff9a9a;
  --mint: #bfffe7;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(108, 241, 208, 0.18), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(255, 201, 117, 0.18), transparent 24%),
    radial-gradient(circle at 60% 86%, rgba(120, 204, 255, 0.14), transparent 26%),
    linear-gradient(145deg, #020c15 0%, #071320 48%, #061423 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 94%);
  pointer-events: none;
}

.page-shell {
  position: relative;
  width: min(1580px, calc(100% - 20px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.dashboard-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.back-link,
.dashboard-topbar-note,
.gateway-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.back-link {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.back-link:hover {
  transform: translateY(-1px);
  border-color: rgba(108, 241, 208, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-topbar-note {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 13px;
}

.locked-platform-page #platformSwitchSection {
  display: none !important;
}

.gateway-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.home-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.platform-home {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.platform-home-head {
  margin-bottom: 26px;
  text-align: center;
}

.platform-home-head h1 {
  margin: 18px 0 10px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.platform-home-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

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

.platform-home-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 30, 49, 0.94), rgba(8, 19, 33, 0.9)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.platform-home-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.9;
  pointer-events: none;
}

.platform-home-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.platform-home-no,
.platform-home-card small {
  display: inline-flex;
  align-items: center;
}

.platform-home-no {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 248, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.platform-home-card strong {
  position: relative;
  display: block;
  margin-top: 54px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.platform-home-card small {
  position: absolute;
  left: 28px;
  bottom: 26px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 248, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
}

.card-gugu::before {
  background: radial-gradient(circle, rgba(108, 241, 208, 0.24), rgba(108, 241, 208, 0) 72%);
}

.card-shuangyu::before {
  background: radial-gradient(circle, rgba(120, 204, 255, 0.24), rgba(120, 204, 255, 0) 72%);
}

.card-tata::before {
  background: radial-gradient(circle, rgba(255, 201, 117, 0.24), rgba(255, 201, 117, 0) 72%);
}

.card-duoduo::before {
  background: radial-gradient(circle, rgba(255, 154, 154, 0.24), rgba(255, 154, 154, 0) 72%);
}

.gateway-hero,
.gateway-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 29, 49, 0.92), rgba(6, 18, 31, 0.86));
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.gateway-hero {
  position: relative;
  padding: 44px;
  border-radius: 34px;
  overflow: hidden;
}

.gateway-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 201, 117, 0.14), transparent 28%),
    radial-gradient(circle at left center, rgba(108, 241, 208, 0.1), transparent 34%);
  pointer-events: none;
}

.gateway-hero h1 {
  position: relative;
  margin: 20px 0 16px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.gateway-hero p {
  position: relative;
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.85;
}

.gateway-badges {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  padding: 24px;
  border-radius: 26px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.gateway-card::before {
  content: "";
  position: absolute;
  inset: auto -20px -60px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 204, 255, 0.16), rgba(120, 204, 255, 0) 72%);
  pointer-events: none;
}

.gateway-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 241, 208, 0.22);
  background: linear-gradient(180deg, rgba(18, 35, 58, 0.96), rgba(8, 20, 35, 0.9));
}

.gateway-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.gateway-card strong {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.gateway-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.gateway-link {
  margin-top: auto;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid rgba(255, 201, 117, 0.18);
  background: rgba(255, 201, 117, 0.08);
  color: #ffe6af;
  font-size: 13px;
  font-weight: 600;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}

.ambient-left {
  top: 90px;
  left: -110px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(120, 204, 255, 0.55) 0%, rgba(120, 204, 255, 0) 70%);
}

.ambient-right {
  top: 220px;
  right: -90px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 201, 117, 0.52) 0%, rgba(255, 201, 117, 0) 72%);
  animation-duration: 17s;
}

.ambient-bottom {
  bottom: -90px;
  left: 28%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(108, 241, 208, 0.32) 0%, rgba(108, 241, 208, 0) 74%);
  animation-duration: 19s;
}

.hero,
.panel {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.hero-stats,
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 29, 49, 0.92), rgba(6, 18, 31, 0.86));
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  padding: 36px;
  border-radius: 34px;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(108, 241, 208, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 204, 255, 0.18), rgba(120, 204, 255, 0) 70%);
  pointer-events: none;
}

.hero-topline,
.hero-badges,
.panel-actions,
.platform-tabs,
.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eyebrow,
.section-tag,
.hero-tag,
.hero-badge,
.panel-note {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.eyebrow,
.section-tag {
  gap: 8px;
  padding: 8px 14px;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.hero-tag {
  padding: 10px 16px;
  color: var(--mint);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  position: relative;
  margin: 22px 0 16px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p {
  position: relative;
  max-width: 680px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.85;
}

.hero-badges {
  position: relative;
  margin-top: 24px;
}

.hero-badge {
  padding: 10px 14px;
  color: rgba(244, 248, 255, 0.86);
  font-size: 13px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border-radius: 34px;
}

.stat-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.stat-card-wide {
  grid-column: 1 / -1;
}

.accent-gold::before {
  background: linear-gradient(90deg, rgba(255, 201, 117, 0.15), rgba(255, 201, 117, 0.9), rgba(255, 201, 117, 0.15));
}

.accent-cyan::before {
  background: linear-gradient(90deg, rgba(120, 204, 255, 0.15), rgba(120, 204, 255, 0.9), rgba(120, 204, 255, 0.15));
}

.accent-blue::before {
  background: linear-gradient(90deg, rgba(140, 164, 255, 0.15), rgba(140, 164, 255, 0.9), rgba(140, 164, 255, 0.15));
}

.accent-teal::before {
  background: linear-gradient(90deg, rgba(108, 241, 208, 0.15), rgba(108, 241, 208, 0.9), rgba(108, 241, 208, 0.15));
}

.accent-rose::before {
  background: linear-gradient(90deg, rgba(255, 154, 154, 0.15), rgba(255, 154, 154, 0.9), rgba(255, 154, 154, 0.15));
}

.stat-card span,
.stat-card small {
  display: block;
}

.stat-card span {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: 1;
  color: var(--text);
}

.stat-card small {
  color: rgba(244, 248, 255, 0.68);
  line-height: 1.6;
}

.panel {
  border-radius: 34px;
  padding: 20px;
}

.panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.panel-header h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3vw, 38px);
}

.panel-subtitle {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.panel-actions {
  justify-content: flex-end;
}

.panel-note {
  gap: 10px;
  padding: 12px 16px;
  color: var(--text-muted);
  white-space: nowrap;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(108, 241, 208, 0.6);
  animation: pulse 2s infinite;
}

.action-button,
.page-button,
.platform-tab {
  appearance: none;
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.action-button {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(108, 241, 208, 0.24);
  background: linear-gradient(135deg, rgba(108, 241, 208, 0.18), rgba(120, 204, 255, 0.13));
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.action-button:hover,
.page-button:hover,
.platform-tab:hover {
  transform: translateY(-1px);
}

.action-button:hover,
.page-button:hover {
  border-color: rgba(108, 241, 208, 0.42);
  background: linear-gradient(135deg, rgba(108, 241, 208, 0.24), rgba(120, 204, 255, 0.18));
}

.action-button:disabled,
.page-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.action-button.is-success {
  border-color: rgba(255, 201, 117, 0.3);
  background: linear-gradient(135deg, rgba(255, 201, 117, 0.24), rgba(255, 201, 117, 0.14));
  color: #fff1cc;
}

.action-button.is-error {
  border-color: rgba(255, 154, 154, 0.3);
  background: linear-gradient(135deg, rgba(255, 154, 154, 0.22), rgba(255, 154, 154, 0.12));
  color: #ffd8d8;
}

.platform-switch,
.insight-card,
.table-wrap {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 31, 0.68);
}

.platform-switch {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(120, 204, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 31, 0.68);
}

.platform-intro h3 {
  margin: 14px 0 8px;
  font-size: clamp(22px, 2.8vw, 32px);
}

.platform-intro p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.platform-tabs {
  justify-content: flex-end;
}

.platform-tab {
  position: relative;
  min-width: 170px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  overflow: hidden;
}

.platform-tab::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
  opacity: 0.38;
}

.platform-tab strong,
.platform-tab span {
  display: block;
}

.platform-tab strong {
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.platform-tab span {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.platform-tab:hover {
  border-color: rgba(120, 204, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.platform-tab.is-active {
  border-color: rgba(255, 201, 117, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 201, 117, 0.18), rgba(120, 204, 255, 0.12)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 201, 117, 0.1);
}

.platform-tab.is-active::before {
  background: linear-gradient(180deg, rgba(255, 201, 117, 0.15), rgba(255, 201, 117, 0.95), rgba(255, 201, 117, 0.15));
  opacity: 1;
}

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

.insight-card {
  padding: 18px;
  border-radius: 22px;
}

.insight-card span,
.insight-card small {
  display: block;
}

.insight-card span {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insight-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: clamp(24px, 2.6vw, 30px);
}

.insight-card small {
  color: rgba(244, 248, 255, 0.66);
  line-height: 1.6;
}

.filter-shell {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(108, 241, 208, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 31, 0.68);
}

.filter-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.filter-head h3 {
  margin: 14px 0 8px;
  font-size: clamp(22px, 2.3vw, 30px);
}

.filter-head p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.filter-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(108, 241, 208, 0.2);
  background: rgba(108, 241, 208, 0.08);
  color: var(--mint);
  font-size: 13px;
  font-weight: 600;
}

.filter-pill-muted {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 248, 255, 0.74);
}

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

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-field span {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(9, 20, 34, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.filter-field input::placeholder {
  color: rgba(148, 169, 203, 0.72);
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: rgba(108, 241, 208, 0.38);
  background: rgba(11, 24, 40, 0.96);
  box-shadow: 0 0 0 4px rgba(108, 241, 208, 0.08);
}

.filter-field select {
  appearance: none;
  padding-right: 42px;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25L7 9.25L11 5.25' stroke='%23bfffe7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

.filter-field select:hover {
  border-color: rgba(120, 204, 255, 0.22);
  background-color: rgba(11, 24, 40, 0.94);
}

.filter-field select option,
.filter-field select optgroup {
  background: #0b1828;
  color: #f4f8ff;
}

.filter-field select option:checked {
  background: #16324f;
  color: #ffffff;
}

.filter-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.filter-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  grid-column: 1 / -1;
  margin-top: 2px;
}

.secondary-button {
  appearance: none;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 248, 255, 0.88);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.secondary-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.table-wrap {
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 22, 36, 0.96), rgba(5, 16, 28, 0.92)),
    rgba(8, 18, 31, 0.78);
}

table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.col-room-id {
  width: 7.5%;
}

.col-user-id {
  width: 7.5%;
}

.col-user-name {
  width: 7%;
}

.col-room-name {
  width: 10%;
}

.col-room-type {
  width: 6%;
}

.col-status {
  width: 6.5%;
}

.col-spend {
  width: 7.5%;
}

.col-gender {
  width: 5%;
}

.col-level {
  width: 5.5%;
}

.col-region {
  width: 7%;
}

.col-register {
  width: 8.5%;
}

.col-days {
  width: 6.5%;
}

.col-new {
  width: 6%;
}

.col-host {
  width: 6.5%;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 10px;
  text-align: left;
  font-size: clamp(11px, 0.72vw, 12px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(14, 27, 46, 0.94);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  white-space: nowrap;
}

tbody tr {
  transition: background 180ms ease, transform 180ms ease;
}

tbody tr:nth-child(2n) {
  background: rgba(255, 255, 255, 0.015);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

tbody td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(11px, 0.78vw, 13px);
  color: rgba(244, 248, 255, 0.92);
  vertical-align: middle;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

tbody tr:last-child td {
  border-bottom: none;
}

.empty-cell {
  padding: 44px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

.mono {
  font-variant-numeric: tabular-nums;
  font-family: "Outfit", "Consolas", monospace;
  letter-spacing: 0.01em;
}

.room-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.room-name strong {
  font-size: clamp(12px, 0.84vw, 14px);
  font-weight: 700;
  line-height: 1.35;
}

.room-name span {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.user-name {
  display: inline-block;
  max-width: 100%;
  color: #dff2ff;
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge,
.level-chip,
.date-chip,
.day-chip,
.status-chip,
.host-chip,
.state-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  max-width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge {
  padding: 6px 8px;
  border: 1px solid transparent;
}

.badge.type-live {
  background: rgba(120, 204, 255, 0.12);
  color: var(--cyan);
  border-color: rgba(120, 204, 255, 0.18);
}

.badge.type-chat {
  background: rgba(108, 241, 208, 0.1);
  color: var(--teal);
  border-color: rgba(108, 241, 208, 0.18);
}

.badge.type-party {
  background: rgba(255, 201, 117, 0.12);
  color: var(--gold);
  border-color: rgba(255, 201, 117, 0.22);
}

.badge.gender-male {
  background: rgba(120, 204, 255, 0.1);
  color: var(--cyan);
}

.badge.gender-female {
  background: rgba(255, 154, 154, 0.12);
  color: #ffbebf;
}

.badge.gender-secret {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 248, 255, 0.78);
}

.level-chip {
  gap: 8px;
  padding: 6px 8px;
  color: #ffe8bb;
  background: linear-gradient(90deg, rgba(255, 201, 117, 0.18), rgba(255, 201, 117, 0.08));
  border: 1px solid rgba(255, 201, 117, 0.22);
}

.level-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 201, 117, 0.7);
}

.date-chip,
.day-chip {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 248, 255, 0.84);
}

.status-chip,
.host-chip,
.state-chip {
  padding: 6px 8px;
  border: 1px solid transparent;
}

.state-online {
  background: rgba(108, 241, 208, 0.12);
  color: var(--teal);
  border-color: rgba(108, 241, 208, 0.22);
}

.state-offline {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 248, 255, 0.76);
  border-color: rgba(255, 255, 255, 0.08);
}

.state-partial {
  background: rgba(255, 201, 117, 0.14);
  color: #ffe6b2;
  border-color: rgba(255, 201, 117, 0.22);
}

.state-neutral {
  background: rgba(120, 204, 255, 0.1);
  color: #d7f0ff;
  border-color: rgba(120, 204, 255, 0.18);
}

.status-new {
  background: rgba(108, 241, 208, 0.12);
  color: var(--teal);
  border-color: rgba(108, 241, 208, 0.2);
}

.status-old {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 248, 255, 0.76);
  border-color: rgba(255, 255, 255, 0.08);
}

.host-yes {
  background: rgba(255, 154, 154, 0.14);
  color: #ffc0c0;
  border-color: rgba(255, 154, 154, 0.2);
}

.host-no {
  background: rgba(120, 204, 255, 0.1);
  color: #cceaff;
  border-color: rgba(120, 204, 255, 0.18);
}

.amount {
  color: #ffe2a5;
  font-weight: 700;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.page-meta {
  color: var(--text-muted);
  font-size: 14px;
}

.page-button {
  min-width: 44px;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(108, 241, 208, 0.22);
  background: linear-gradient(135deg, rgba(108, 241, 208, 0.12), rgba(120, 204, 255, 0.1));
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.page-button.is-active {
  border-color: rgba(255, 201, 117, 0.4);
  background: linear-gradient(135deg, rgba(255, 201, 117, 0.28), rgba(255, 201, 117, 0.16));
  color: #fff1cb;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(108, 241, 208, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(108, 241, 208, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(108, 241, 208, 0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -26px, 0) scale(1.06);
  }
}

@media (max-width: 1160px) {
  .page-shell {
    width: min(100% - 16px, 1580px);
    padding-top: 24px;
  }

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

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

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

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

  .panel-header,
  .platform-switch {
    grid-template-columns: 1fr;
  }

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

  .panel-actions,
  .platform-tabs {
    justify-content: flex-start;
  }

  .insight-strip {
    grid-template-columns: 1fr;
  }

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

  .filter-summary {
    justify-content: flex-start;
  }

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

  thead th,
  tbody td {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 760px) {
  .hero-copy,
  .panel {
    padding: 20px;
    border-radius: 28px;
  }

  .platform-home-head {
    margin-bottom: 18px;
  }

  .platform-home-card {
    min-height: 180px;
    padding: 22px;
    border-radius: 24px;
  }

  .platform-home-card strong {
    margin-top: 40px;
  }

  .platform-home-card small {
    left: 22px;
    bottom: 20px;
  }

  .gateway-hero {
    padding: 24px;
    border-radius: 28px;
  }

  .gateway-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 28px;
  }

  .stat-card-wide {
    grid-column: auto;
  }

  .platform-tab {
    width: 100%;
    min-width: 0;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .filter-range {
    grid-template-columns: 1fr 1fr;
  }

  .filter-actions {
    justify-content: stretch;
    flex-direction: column;
  }

  .filter-actions .action-button,
  .filter-actions .secondary-button {
    width: 100%;
  }

  .table-wrap {
    border: none;
    background: transparent;
    overflow: visible;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 16px;
  }

  tbody tr {
    padding: 6px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--panel-strong);
    box-shadow: var(--shadow);
  }

  tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  tbody td::before {
    content: attr(data-label);
    flex: 0 0 92px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  tbody td:last-child {
    border-bottom: none;
  }

  .room-name {
    align-items: flex-end;
    text-align: right;
  }

  .table-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .pagination {
    justify-content: flex-start;
  }
}
