:root {
  color-scheme: dark;
  --bg: #060711;
  --surface: rgba(15, 17, 36, 0.78);
  --surface-strong: rgba(19, 22, 46, 0.96);
  --line: rgba(255, 255, 255, 0.09);
  --line-bright: rgba(139, 92, 246, 0.35);
  --text: #f8f8ff;
  --muted: #9ca3b8;
  --purple: #8b5cf6;
  --cyan: #22d3ee;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 50% -20%, #20155a 0, transparent 42%),
    linear-gradient(180deg, #070812 0%, #090b18 56%, #060711 100%);
  background-size: 56px 56px, 56px 56px, auto, auto;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.page-glow {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .16;
  pointer-events: none;
}
.glow-one { top: 18%; left: -260px; background: var(--purple); }
.glow-two { top: 46%; right: -260px; background: var(--cyan); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(1240px, calc(100% - 40px));
  height: 78px;
  margin: 14px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 8, 18, .72);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  backdrop-filter: blur(22px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(139,92,246,.34);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(139,92,246,.22), rgba(34,211,238,.08));
  box-shadow: inset 0 0 22px rgba(139,92,246,.15), 0 0 28px rgba(139,92,246,.12);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: .08em; }
.brand small { margin-top: 3px; color: #7d8498; font-size: 8px; letter-spacing: .25em; }
.desktop-nav { display: flex; gap: 8px; }
.desktop-nav a {
  padding: 10px 18px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  transition: .25s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { color: #fff; background: rgba(255,255,255,.06); }
.miniapp-button {
  justify-self: end;
  height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(34,211,238,.28);
  border-radius: 13px;
  background: rgba(34,211,238,.08);
  cursor: pointer;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #35ef9b;
  box-shadow: 0 0 12px #35ef9b;
  animation: pulse 1.8s infinite;
}

main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hero {
  min-height: 680px;
  padding: 82px 0 56px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}
.eyebrow, .section-kicker {
  color: #a9a0ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(62px, 7vw, 94px);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, #fff 4%, #a88bff 48%, #36dff4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(139,92,246,.22));
}
.hero-copy > p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.primary-button, .ghost-button {
  height: 52px;
  padding: 0 24px;
  border-radius: 15px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button {
  border: 0;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6 48%, #2563eb);
  box-shadow: 0 16px 38px rgba(124,58,237,.3);
  font-weight: 700;
}
.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
.ghost-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.primary-button:hover, .ghost-button:hover { transform: translateY(-2px); }
.hero-meta { display: flex; gap: 26px; margin-top: 34px; color: #687087; font-size: 11px; }
.hero-meta span { display: grid; gap: 4px; }
.hero-meta b { color: #cbd0df; font-size: 13px; }

.arena-console {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(21,23,48,.9), rgba(8,10,24,.82));
  box-shadow: var(--shadow), inset 0 0 70px rgba(139,92,246,.08);
}
.arena-console::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34,211,238,.6), transparent 28%, transparent 68%, rgba(244,63,94,.5));
  filter: blur(13px);
  opacity: .35;
}
.console-top, .store-live { display: flex; align-items: center; justify-content: space-between; }
.console-top { padding: 4px 5px 14px; color: #7c849c; font-size: 10px; letter-spacing: .22em; }
.live-badge { letter-spacing: .05em; color: #69f0b2; }
.live-badge i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.console-visual {
  position: relative;
  height: 322px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 23px;
  background:
    radial-gradient(circle at center, rgba(139,92,246,.28), transparent 44%),
    linear-gradient(145deg, rgba(139,92,246,.08), rgba(34,211,238,.025));
}
.console-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle, #000, transparent 72%);
}
.console-visual img {
  position: relative;
  z-index: 2;
  width: 105px;
  height: 150px;
  object-fit: cover;
  border-radius: 34px;
  filter: drop-shadow(0 0 28px rgba(163,111,255,.45));
}
.planet-ring { position: absolute; border: 1px solid rgba(139,92,246,.22); border-radius: 50%; }
.ring-one { width: 220px; height: 220px; animation: spin 15s linear infinite; }
.ring-two { width: 300px; height: 120px; transform: rotate(-22deg); border-color: rgba(34,211,238,.2); }
.visual-label {
  position: absolute;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #a6abc0;
  background: rgba(7,8,18,.72);
  font-size: 9px;
  letter-spacing: .12em;
}
.label-one { top: 66px; left: 48px; }
.label-two { right: 34px; bottom: 64px; }
.label-three { right: 52px; top: 42px; }
.store-live { padding: 18px 6px 14px; }
.store-live small, .store-live strong { display: block; }
.store-live small { margin-bottom: 5px; color: #6f768b; font-size: 10px; }
.store-live strong { font-size: 15px; }
.store-live button, .subsection-title button, .promo-copy button {
  border: 0;
  color: #aa91ff;
  background: transparent;
  cursor: pointer;
}
.console-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.console-stats div { padding: 14px 8px 4px; text-align: center; }
.console-stats div + div { border-left: 1px solid var(--line); }
.console-stats strong, .console-stats span { display: block; }
.console-stats strong { font-size: 18px; }
.console-stats span { margin-top: 4px; color: #737b91; font-size: 9px; }

.quick-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 80px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(13,15,31,.7);
  backdrop-filter: blur(18px);
}
.quick-panel button {
  min-height: 104px;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 16px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.quick-panel button:hover { background: rgba(255,255,255,.045); transform: translateY(-2px); }
.quick-panel button + button { border-left: 1px solid var(--line); border-radius: 0; }
.quick-icon { grid-row: 1 / 3; align-self: center; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; font-size: 21px; font-style: normal; }
.quick-icon.blue { color: #8bbaff; background: rgba(59,130,246,.15); }
.quick-icon.violet { color: #b79cff; background: rgba(139,92,246,.15); }
.quick-icon.cyan { color: #62e9f8; background: rgba(34,211,238,.15); }
.quick-icon.amber { color: #ffc65c; background: rgba(245,158,11,.15); }
.quick-icon.rose { color: #fb7991; background: rgba(244,63,94,.15); }
.quick-panel b { align-self: end; font-size: 14px; }
.quick-panel small { align-self: start; margin-top: 4px; color: #697187; }

.promo-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; margin-bottom: 108px; }
.promo-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.promo-card > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.promo-gift > img { object-position: 66% center; }
.promo-partner > img { object-position: center; }
.promo-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,17,.92), rgba(6,7,17,.35) 64%, rgba(6,7,17,.08)); }
.promo-copy { position: absolute; inset: 0; z-index: 2; padding: 34px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.promo-copy span { color: #bca9ff; font-size: 9px; font-weight: 800; letter-spacing: .25em; }
.promo-copy h2 { margin: 12px 0 20px; font-size: 28px; }
.promo-copy button { padding: 0; font-weight: 700; }

.section-block { padding: 0 0 108px; scroll-margin-top: 108px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-heading h2, .store-copy h2 { margin: 10px 0 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.045em; }
.section-heading > p { max-width: 410px; margin: 0; color: var(--muted); line-height: 1.8; font-size: 14px; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-cards button {
  position: relative;
  min-height: 238px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: left;
  background: linear-gradient(145deg, rgba(20,22,45,.72), rgba(10,12,26,.88));
  cursor: pointer;
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.service-cards button:hover { transform: translateY(-5px); border-color: rgba(139,92,246,.42); background: linear-gradient(145deg, rgba(31,25,66,.82), rgba(10,12,26,.92)); }
.service-cards button > span { position: absolute; top: 20px; right: 22px; color: #3a3f55; font-size: 11px; }
.service-symbol { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #bcabff; background: rgba(139,92,246,.13); font-size: 22px; font-style: normal; }
.service-cards h3 { margin: 26px 0 8px; font-size: 19px; }
.service-cards p { min-height: 42px; margin: 0 0 18px; color: #7d859a; font-size: 13px; line-height: 1.65; }
.service-cards b { color: #9b83ee; font-size: 12px; }

.live-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.subsection-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.subsection-title h3 { margin: 0; font-size: 18px; }
.event-list, .escort-list { display: grid; gap: 12px; }
.event-card, .escort-card {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(14,16,34,.7);
}
.event-icon, .escort-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(139,92,246,.24), rgba(34,211,238,.08));
  font-size: 25px;
}
.escort-avatar { border-radius: 50%; font-weight: 900; color: #bdaeff; }
.event-body, .escort-body { min-width: 0; flex: 1; }
.event-body strong, .escort-body strong { display: block; margin-bottom: 6px; font-size: 14px; }
.event-body p, .escort-body p { margin: 0; overflow: hidden; color: #7d859a; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.event-tag, .escort-status { align-self: flex-start; padding: 5px 8px; border-radius: 8px; color: #70e8b0; background: rgba(53,239,155,.1); font-size: 9px; }
.event-tag.ended { color: #7c8496; background: rgba(255,255,255,.05); }
.escort-meta { display: flex; gap: 10px; margin-top: 8px; color: #8174b5; font-size: 9px; }

.store-section {
  padding: 78px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 88% 20%, rgba(139,92,246,.24), transparent 35%), rgba(12,14,30,.82);
  scroll-margin-top: 110px;
}
.store-copy > p { margin: 18px 0 28px; color: var(--muted); line-height: 1.8; }
.store-list { display: grid; gap: 10px; }
.store-item { padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.store-item > div { display: grid; gap: 4px; }
.store-item strong { font-size: 13px; }
.store-item span { color: #747c91; font-size: 10px; }
.store-item i { width: 8px; height: 8px; border-radius: 50%; background: #35ef9b; box-shadow: 0 0 10px rgba(53,239,155,.6); }
.miniapp-card { display: grid; grid-template-columns: 180px 1fr; gap: 38px; align-items: center; }
.phone-frame { padding: 8px; border: 1px solid rgba(255,255,255,.13); border-radius: 32px; background: #080914; box-shadow: 0 30px 70px rgba(0,0,0,.34); transform: rotate(-3deg); }
.phone-screen { min-height: 310px; padding: 36px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 25px; text-align: center; background: radial-gradient(circle at top, rgba(139,92,246,.34), transparent 52%), #11142b; }
.phone-screen img { width: 66px; height: 80px; object-fit: cover; border-radius: 20px; filter: drop-shadow(0 0 18px rgba(139,92,246,.4)); }
.phone-screen small { margin-top: 22px; color: #737a8e; }
.phone-screen strong { margin: 8px 0 10px; font-size: 17px; }
.phone-screen span { color: #7d859a; font-size: 9px; }
.miniapp-card h3 { margin: 12px 0; font-size: 30px; }
.miniapp-card p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }

footer { min-height: 180px; padding: 46px 0 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #626a7c; font-size: 11px; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
.footer-brand .brand-mark img { width: 100%; height: 100%; }

.mobile-tabs { display: none; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3,4,10,.8);
  backdrop-filter: blur(14px);
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(410px, 100%);
  padding: 36px;
  border: 1px solid var(--line-bright);
  border-radius: 28px;
  text-align: center;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}
.modal-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #8990a3; background: rgba(255,255,255,.05); cursor: pointer; font-size: 22px; }
.modal-logo { width: 82px; height: 82px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 24px; background: rgba(139,92,246,.12); }
.modal-logo img { width: 54px; height: 65px; object-fit: cover; border-radius: 16px; }
.modal-card h2 { margin: 12px 0 24px; font-size: 24px; }
.modal-card ol { padding: 0; display: grid; gap: 9px; list-style: none; text-align: left; }
.modal-card li { padding: 12px; border-radius: 12px; color: #c5cad8; background: rgba(255,255,255,.035); font-size: 13px; }
.modal-card li span { width: 24px; height: 24px; margin-right: 10px; display: inline-grid; place-items: center; border-radius: 8px; color: #bba9ff; background: rgba(139,92,246,.16); }
.modal-confirm { width: 100%; margin-top: 15px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  max-width: calc(100% - 40px);
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #e7e9f1;
  background: rgba(17,19,38,.95);
  box-shadow: 0 16px 40px rgba(0,0,0,.34);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: .25s ease;
  font-size: 13px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .45; transform: scale(.8); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 58px; gap: 44px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .hero-meta { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .arena-console { max-width: 600px; width: 100%; margin-inline: auto; }
  .quick-panel { grid-template-columns: repeat(5, 1fr); }
  .quick-panel button { grid-template-columns: 1fr; grid-template-rows: auto auto auto; place-items: center; text-align: center; }
  .quick-icon { grid-row: auto; }
  .quick-panel button + button { border-left: 0; }
  .promo-grid, .store-section { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .store-section { padding: 52px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; background-size: 34px 34px, 34px 34px, auto, auto; }
  main, footer { width: min(100% - 28px, 1180px); }
  .site-header { width: calc(100% - 24px); height: 66px; margin-top: 8px; padding: 0 13px; border-radius: 18px; }
  .brand { gap: 9px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 13px; }
  .brand-mark img { width: 100%; height: 100%; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 6px; }
  .miniapp-button { width: 42px; padding: 0; font-size: 0; }
  .miniapp-button .status-dot { margin: 0; width: 9px; height: 9px; }
  .hero { padding: 48px 0 34px; gap: 34px; }
  .hero h1 { margin: 18px 0; font-size: clamp(52px, 17vw, 72px); }
  .hero-copy > p { font-size: 14px; line-height: 1.75; }
  .hero-actions { margin-top: 26px; }
  .primary-button, .ghost-button { height: 48px; padding-inline: 18px; }
  .hero-meta { gap: 14px; margin-top: 26px; }
  .hero-meta span { font-size: 8px; }
  .hero-meta b { font-size: 10px; }
  .arena-console { padding: 12px; border-radius: 25px; }
  .console-visual { height: 250px; }
  .console-visual img { width: 78px; height: 112px; }
  .ring-one { width: 168px; height: 168px; }
  .ring-two { width: 230px; height: 92px; }
  .quick-panel { margin-bottom: 52px; padding: 8px 3px; border-radius: 20px; }
  .quick-panel button { min-height: 90px; padding: 8px 1px; }
  .quick-icon { width: 38px; height: 38px; border-radius: 12px; font-size: 17px; }
  .quick-panel b { font-size: 10px; white-space: nowrap; }
  .quick-panel small { display: none; }
  .promo-grid { gap: 12px; margin-bottom: 76px; }
  .promo-card { min-height: 190px; border-radius: 20px; }
  .promo-copy { padding: 25px; }
  .promo-copy h2 { font-size: 24px; }
  .section-block { padding-bottom: 76px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2, .store-copy h2 { font-size: 34px; }
  .section-heading > p { margin-top: 14px; font-size: 12px; }
  .service-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-cards button { min-height: 214px; padding: 18px; border-radius: 19px; }
  .service-symbol { width: 42px; height: 42px; }
  .service-cards h3 { margin-top: 20px; font-size: 16px; }
  .service-cards p { min-height: 56px; font-size: 11px; }
  .live-content-grid { grid-template-columns: 1fr; gap: 34px; }
  .store-section { width: calc(100% + 2px); margin-left: -1px; padding: 32px 20px; gap: 36px; border-radius: 25px; }
  .miniapp-card { grid-template-columns: 116px 1fr; gap: 20px; }
  .phone-frame { border-radius: 24px; }
  .phone-screen { min-height: 220px; padding: 20px 8px; border-radius: 19px; }
  .phone-screen img { width: 42px; height: 50px; }
  .phone-screen small { margin-top: 15px; font-size: 8px; }
  .phone-screen strong { font-size: 11px; }
  .phone-screen span { font-size: 6px; }
  .miniapp-card h3 { font-size: 20px; }
  .miniapp-card p { font-size: 10px; }
  .miniapp-card .primary-button { height: 42px; font-size: 11px; }
  footer { padding-bottom: 26px; display: grid; justify-items: center; text-align: center; }
  .footer-brand { display: none; }
  .mobile-tabs {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 60;
    height: 64px;
    padding: 6px 7px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 19px;
    background: rgba(8,9,21,.93);
    box-shadow: 0 18px 50px rgba(0,0,0,.5);
    backdrop-filter: blur(18px);
  }
  .mobile-tabs a, .mobile-tabs button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 12px;
    color: #737b90;
    background: transparent;
    font-size: 9px;
  }
  .mobile-tabs span { font-size: 17px; }
  .mobile-tabs .active { color: #b49dff; background: rgba(139,92,246,.11); }
  .toast { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
