/* ============================================================
   WorldLoom Silk Layer
   Dark-glass, soft motion, TeamoRouter-inspired surfaces.
   Loaded after style.css so it can override the brutalist look.
   ============================================================ */

:root {
  --silk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 24, 0.06);
  --shadow-card: 0 18px 50px rgba(15, 30, 24, 0.08);
  --shadow-glow: 0 0 48px rgba(47, 93, 80, 0.16);
  --transition: 0.4s var(--silk-ease);
}

html {
  scroll-behavior: smooth;
}

body {
  letter-spacing: -0.011em;
}

/* Hide neo-brutal custom scrollbar — native thin bar is silkier */
.brutal-scrollbar {
  display: none !important;
}

html.has-brutal-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 93, 80, 0.35) transparent;
}

html.has-brutal-scrollbar::-webkit-scrollbar,
html.has-brutal-scrollbar body::-webkit-scrollbar {
  display: block;
  width: 8px;
  height: 8px;
}

html.has-brutal-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(47, 93, 80, 0.35);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* ----- Global glass nav ----- */
.nav {
  height: 68px;
  background: rgba(246, 250, 247, 0.72);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid rgba(47, 93, 80, 0.08);
  box-shadow: 0 8px 32px rgba(15, 30, 24, 0.04);
}

.nav-brand {
  min-height: 40px;
  padding: 4px 12px 4px 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 750;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-brand:hover {
  background: rgba(47, 93, 80, 0.06);
  box-shadow: none;
}

.nav-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links a,
.nav-more-btn {
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px !important;
  background: transparent;
  box-shadow: none;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active,
.nav-more-btn:hover,
.nav-more-btn.active,
.nav-more.open .nav-more-btn,
.nav-more:focus-within .nav-more-btn {
  color: var(--text);
  background: rgba(47, 93, 80, 0.08);
  border-color: transparent;
  box-shadow: none;
}

.nav-more-menu,
.lang-menu {
  border: 1px solid rgba(47, 93, 80, 0.1);
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(15, 30, 24, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lang-option {
  color: var(--text);
}

.lang-option:hover,
.lang-option.active {
  background: rgba(47, 93, 80, 0.08);
  color: var(--text);
}

.nav-icon-btn,
.nav-mobile-toggle {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--text-muted);
  background: transparent;
  box-shadow: none;
}

.nav-icon-btn:hover,
.nav-mobile-toggle:hover {
  color: var(--text);
  background: rgba(47, 93, 80, 0.08);
  box-shadow: none;
}

.nav-cta {
  margin-left: 6px;
  padding: 8px 16px !important;
  border: 1px solid rgba(47, 93, 80, 0.14) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--text-muted) !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

.nav-cta:hover {
  background: rgba(47, 93, 80, 0.08) !important;
  color: var(--text) !important;
  transform: none;
}

.nav-cta-discord {
  background: transparent !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
  border-color: rgba(47, 93, 80, 0.14) !important;
}

.nav-cta-discord:hover {
  background: rgba(47, 93, 80, 0.08) !important;
  color: var(--text) !important;
}

.btn {
  border-radius: 999px;
  font-weight: 650;
  transition: transform 0.35s var(--silk-ease), box-shadow 0.35s var(--silk-ease), background 0.35s var(--silk-ease), border-color 0.35s var(--silk-ease);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background: linear-gradient(135deg, #2f5d50, #3d8a72);
  background-clip: padding-box;
  box-shadow: 0 10px 28px rgba(47, 93, 80, 0.24);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.22) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--silk-ease);
  pointer-events: none;
}
.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(47, 93, 80, 0.32);
}

.btn-outline {
  border-color: rgba(47, 93, 80, 0.18);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: rgba(47, 93, 80, 0.4);
  background: rgba(255, 255, 255, 0.88);
}

.mini-program-popover {
  border: 1px solid rgba(47, 93, 80, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 24px 60px rgba(15, 30, 24, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mini-program-popover img {
  border: 1px solid rgba(47, 93, 80, 0.1);
  border-radius: 14px;
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px);
  transition: opacity 0.8s var(--silk-ease), transform 0.8s var(--silk-ease), filter 0.8s var(--silk-ease);
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.page-header-bg {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(61, 138, 114, 0.16), transparent 62%),
    var(--bg-deep);
}

.feature-card,
.download-card-main,
.sidebar-card,
.install-step,
.social-card,
.faq-item,
.plan-card,
.model-group-panel,
.model-price-card,
.pricing-overview-main,
.pricing-purchase-card {
  border: 1px solid rgba(47, 93, 80, 0.1);
  box-shadow: 0 18px 50px rgba(15, 30, 24, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer {
  background:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(47, 93, 80, 0.1), transparent 60%),
    var(--footer-bg);
}

/* ============================================================
   Homepage silk
   ============================================================ */
.home-brutal-root {
  scroll-padding-top: 88px;
}

.home-brutal {
  --bg-deep: #f5f8f6;
  --bg: #f5f8f6;
  --bg-raised: rgba(255, 255, 255, 0.72);
  --bg-card: rgba(255, 255, 255, 0.72);
  --border: rgba(47, 93, 80, 0.12);
  --text: #12261e;
  --text-muted: #3d5c50;
  --text-dim: #6a8a7c;
  --accent: #2f5d50;
  --accent-strong: #3d8a72;
  --gold: #c9a24a;
  --nav-bg: transparent;
  --footer-bg: #0b1410;
  --shadow-card: 0 18px 50px rgba(15, 30, 24, 0.08);
}

/* Legacy hero decorations from style.css — disable on silk homepage */
.home-hero-orbs,
.home-hero-noise {
  display: none !important;
}

/* Homepage: flat base — no grid or edge gradients bleeding through hero */
html.home-brutal-root {
  overflow-x: clip;
  background-color: #f5f8f6;
}

body.home-brutal {
  background-color: #f5f8f6;
  background-image: none;
}

.home-brutal main > section,
.home-brutal .footer {
  min-height: 0;
}

.home-brutal h1,
.home-brutal h2,
.home-brutal h3,
.home-brutal h4 {
  letter-spacing: -0.04em;
  font-weight: 750;
}

.home-hero .reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

.home-brutal h1 {
  position: relative;
  max-width: 780px;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1.05;
  text-transform: none;
}

.home-brutal h1::after {
  display: none;
}

.home-title-cn {
  display: inline-block;
  line-height: 1.12;
  padding-top: 0.06em;
  color: transparent;
  background: linear-gradient(135deg, #16382c 0%, #2f5d50 42%, #4caf8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.home-title-en {
  display: inline-block;
  color: #1a3328;
  text-shadow: none;
  opacity: 0.88;
}

.home-brutal h2 {
  max-width: 860px;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
}

.home-brutal .nav {
  height: 68px;
  background: rgba(245, 248, 246, 0.7);
  border-bottom: 1px solid rgba(47, 93, 80, 0.08);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
}

.home-brutal .nav-brand,
.home-brutal .nav-links a,
.home-brutal .nav-more-btn,
.home-brutal .nav-icon-btn {
  color: var(--text);
}

.home-brutal .nav-brand {
  padding: 4px 12px 4px 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 750;
  font-size: 17px;
}

.home-brutal .nav-brand:hover {
  background: rgba(47, 93, 80, 0.06);
  box-shadow: none;
}

.home-brutal .nav-brand img {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
}

.home-brutal .nav-links a,
.home-brutal .nav-more-btn {
  border: 0;
  background: transparent;
  font-weight: 600;
  box-shadow: none;
}

.home-brutal .nav-links a:hover,
.home-brutal .nav-links a.active,
.home-brutal .nav-more-btn:hover,
.home-brutal .nav-more.open .nav-more-btn {
  color: var(--text);
  background: rgba(47, 93, 80, 0.08);
  box-shadow: none;
}

.home-brutal .nav-icon-btn:hover {
  color: var(--text);
  background: rgba(47, 93, 80, 0.08);
  box-shadow: none;
}

.home-brutal .nav-cta {
  border: 1px solid rgba(47, 93, 80, 0.14) !important;
  background: transparent !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
}

.home-brutal .nav-cta:hover {
  background: rgba(47, 93, 80, 0.08) !important;
  color: var(--text) !important;
}

.home-brutal .lang-menu,
.home-brutal .nav-more-menu {
  border: 1px solid rgba(47, 93, 80, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(15, 30, 24, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-brutal .lang-option:hover,
.home-brutal .lang-option.active {
  background: rgba(47, 93, 80, 0.08);
  color: var(--text);
}

.home-brutal .container {
  width: min(1320px, 100% - 40px);
}

.home-brutal .home-hero,
.home-hero {
  --hero-scrim: 245, 248, 246;
  position: relative;
  min-height: min(100vh, 900px);
  min-height: min(100dvh, 900px);
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  border-bottom: 0;
  background-color: rgb(var(--hero-scrim));
}

/* Solid left panel — blocks hero artwork gold cracks from bleeding at the edge */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(48%, 720px);
  background: rgb(var(--hero-scrim));
  z-index: 1;
  pointer-events: none;
}

/* Full-bleed artwork behind the whole hero, not a side column.
   Keeping it inside a column left a hard seam where the scrim ended. */
.home-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-hero-media {
  position: absolute;
  display: block;
  inset: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 42%;
  border: 0;
  border-radius: 0;
  background: #0b1410;
}

.home-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgb(var(--hero-scrim)) 0%,
      rgb(var(--hero-scrim)) 38%,
      rgba(var(--hero-scrim), 0.94) 46%,
      rgba(var(--hero-scrim), 0.68) 54%,
      rgba(var(--hero-scrim), 0.22) 66%,
      rgba(var(--hero-scrim), 0) 80%
    ),
    linear-gradient(
      180deg,
      rgb(var(--hero-scrim)) 0%,
      rgba(var(--hero-scrim), 0.88) 18%,
      rgba(var(--hero-scrim), 0) 30%,
      rgba(var(--hero-scrim), 0) 72%,
      rgb(var(--hero-scrim)) 100%
    );
}

.home-hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 32px 96px;
}

.home-hero-copy {
  position: relative;
  z-index: 4;
  max-width: 680px;
  padding: 0;
}

/* Keep the QR slot in flow so switching tabs does not shift the hero */
.mini-program-control--inline {
  display: block;
  flex: none;
  z-index: 30;
  visibility: hidden;
  pointer-events: none;
}

.home-protocol.is-mini .mini-program-control--inline {
  visibility: visible;
  pointer-events: auto;
}

.home-qr-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(47, 93, 80, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: #1f4a3c;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.25s var(--silk-ease), border-color 0.25s var(--silk-ease),
    background 0.25s var(--silk-ease);
}

.home-qr-trigger svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
}

.home-qr-trigger:hover,
.mini-program-control.is-open .home-qr-trigger {
  color: #1f4a3c;
  border-color: rgba(47, 93, 80, 0.34);
  background: #fff;
}

.mini-program-control--inline:hover .mini-program-popover {
  display: none;
}

.mini-program-control--inline.is-open .mini-program-popover {
  display: grid;
}

.mini-program-control--inline .mini-program-popover {
  position: absolute;
  top: auto;
  bottom: calc(100% + 12px);
  right: 0;
  left: auto;
  margin-top: 0;
}

@media (max-width: 620px) {
  .mini-program-control--inline .mini-program-popover {
    right: -8px;
    width: min(300px, calc(100vw - 44px));
    grid-template-columns: 1fr;
  }

  .mini-program-control--inline .mini-program-popover img {
    width: min(200px, 100%);
    height: auto;
    justify-self: center;
  }
}


.home-brutal .hero-badge {
  margin-bottom: 22px;
  border: 1px solid rgba(47, 93, 80, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #1f4a3c;
  box-shadow: 0 8px 24px rgba(15, 30, 24, 0.06);
  font-weight: 650;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-brutal .hero-badge .dot {
  border-radius: 50%;
  background: #2f5d50;
  box-shadow: 0 0 12px rgba(47, 93, 80, 0.7);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.home-hero-kicker {
  max-width: 680px;
  margin: 18px 0 14px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
  font-weight: 650;
  color: var(--text);
  text-wrap: balance;
}

.home-hero-desc {
  max-width: 680px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
  box-shadow: none;
}

.home-protocol {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  max-width: 560px;
}

.home-protocol-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.home-protocol-tabs button {
  min-height: 38px;
  padding: 7px 16px;
  border: 1px solid rgba(47, 93, 80, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.3s var(--silk-ease);
}

.home-protocol-tabs button:hover,
.home-protocol-tabs button.is-active {
  color: #fff;
  background: #1f4a3c;
  border-color: #1f4a3c;
  box-shadow: 0 8px 20px rgba(31, 74, 60, 0.22);
}

.home-protocol-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-height: 52px;
  padding: 8px 8px 8px 16px;
  border: 1px solid rgba(47, 93, 80, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 32px rgba(15, 30, 24, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-protocol-label {
  flex: none;
  min-width: 9ch;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}

.home-protocol-bar code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--text);
  background: none;
}

.home-protocol-bar #home-copy-url {
  flex: none;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #1f4a3c;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.25s var(--silk-ease), background 0.25s var(--silk-ease);
}

.home-protocol-bar #home-copy-url:hover {
  background: #2f5d50;
  transform: translateY(-1px);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-live-panel {
  position: absolute;
  right: 0;
  bottom: 40px;
  z-index: 3;
  width: max-content;
  max-width: min(100%, 300px);
  margin: 0;
  padding: 16px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  transform: none;
  box-shadow: 0 20px 50px rgba(15, 30, 24, 0.12);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.home-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(47, 93, 80, 0.1);
}

.home-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--text-dim);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.home-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f5d50;
  box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.14);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.home-live-panel strong {
  display: block;
  margin: 0;
  font-size: 19px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #1f4a3c;
}

.home-live-panel strong:empty {
  display: none;
}

.home-live-panel strong.is-loading {
  display: block;
  width: 56px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(47, 93, 80, 0.1) 25%,
    rgba(47, 93, 80, 0.22) 50%,
    rgba(47, 93, 80, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.home-live-panel p {
  display: none;
}

.home-live-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-live-panel li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.home-live-panel li svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #3d8a72;
}

.home-brutal .btn {
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.home-brutal .btn:hover {
  box-shadow: 0 14px 32px rgba(47, 93, 80, 0.22);
}

.home-brutal .btn-primary {
  background: linear-gradient(135deg, #2f5d50, #3d8a72);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 28px rgba(47, 93, 80, 0.24);
}

.home-brutal .btn-outline {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(47, 93, 80, 0.16);
  color: var(--text);
}

.home-brutal .btn-outline:hover {
  background: #fff;
}

.home-brutal .btn .lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.home-marquee {
  position: relative;
  padding: 8px 0 28px;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.home-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: silkMarquee var(--marquee-duration, 42s) linear infinite;
  will-change: transform;
}

.home-marquee-group {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 12px;
  padding-right: 12px;
}

.home-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(47, 93, 80, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

@keyframes silkMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-stats-band {
  padding: 12px 0 56px;
  background: transparent;
  border-bottom: 0;
}

.home-brutal .stats-grid {
  gap: 14px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
}

.home-brutal .stat-item {
  min-height: 128px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(47, 93, 80, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 40px rgba(15, 30, 24, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-brutal .stat-item:nth-child(2),
.home-brutal .stat-item:nth-child(3),
.home-brutal .stat-item:nth-child(4) {
  background: rgba(255, 255, 255, 0.62);
  border-right: 1px solid rgba(47, 93, 80, 0.1);
}

.home-brutal .stat-value {
  color: var(--text);
  background: linear-gradient(135deg, #16382c, #3d8a72);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 750;
}

.home-brutal .stat-label {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
}

.home-brutal .section {
  padding: clamp(64px, 8vh, 104px) 0;
  background: transparent;
}

.home-brutal .section-header {
  max-width: 820px;
  margin: 0 auto clamp(36px, 5vh, 56px);
  text-align: center;
}

.home-brutal .section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-brutal .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(47, 93, 80, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #2f5d50;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  box-shadow: none;
}

.home-brutal .section-label .lucide,
.home-brutal .section-header a .lucide {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.home-brutal .section-header p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 500;
}

.home-brutal .section-header a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2f5d50;
  font-weight: 700;
  text-decoration: none;
}

.home-brutal .section-header a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-brutal .home-how-section .section-header,
.home-brutal .cta-section .container {
  width: min(1180px, 100% - 48px);
  max-width: none;
}

.home-brutal .home-how-section h2,
.home-brutal .cta-section h2 {
  max-width: none;
  font-size: clamp(32px, 4.6vw, 52px);
  text-wrap: balance;
}

.home-brutal .home-feature-section {
  background: transparent;
}

.home-brutal .features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-brutal .feature-card,
.home-brutal .how-step,
.home-brutal .social-card {
  border: 1px solid rgba(47, 93, 80, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 50px rgba(15, 30, 24, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.home-brutal .feature-card {
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home-brutal .feature-card:nth-child(1),
.home-brutal .feature-card:nth-child(2),
.home-brutal .feature-card:nth-child(3),
.home-brutal .feature-card:nth-child(4) {
  background: rgba(255, 255, 255, 0.64);
}

.home-brutal .feature-card::after {
  display: block;
}

.home-brutal .feature-card:hover,
.home-brutal .how-step:hover,
.home-brutal .social-card:hover,
.home-brutal .world-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 30, 24, 0.12);
}

.home-brutal .feature-card-image {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border: 0;
  border-radius: 16px;
  filter: saturate(1.05);
}

.home-brutal .feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 0 14px;
  border: 0;
  border-radius: 14px;
  background: rgba(47, 93, 80, 0.1);
  color: #2f5d50;
  box-shadow: none;
}

.home-brutal .feature-icon .lucide {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.home-brutal .feature-card h3 {
  margin-bottom: 10px;
}

.home-brutal .feature-card p,
.home-brutal .how-step p,
.home-brutal .social-card .quote {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.home-brutal .home-world-section {
  background: transparent;
  color: inherit;
  border: 0;
}

.home-brutal .home-world-section .section-header h2,
.home-brutal .home-world-section .section-header p,
.home-brutal .home-world-section .section-header a {
  color: inherit;
}

.home-brutal .home-world-section .section-header p,
.home-brutal .home-world-section .section-header a {
  color: var(--text-muted);
}

.home-brutal .home-world-section .section-label {
  background: rgba(47, 93, 80, 0.08);
}

.home-brutal .worlds-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-brutal .world-card {
  min-height: clamp(280px, 36vh, 380px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(8, 16, 12, 0.28);
  background: #161f1b;
  overflow: hidden;
}

.home-brutal .world-card::after {
  height: 78%;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 16, 12, 0.2) 28%, rgba(8, 16, 12, 0.92) 100%);
}

.home-brutal .world-card .world-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 0 auto;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.home-brutal .world-card .world-icon .lucide {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.home-brutal .world-card h3 {
  color: #fff;
  font-size: 28px;
  text-shadow: none;
}

.home-brutal .world-card p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.home-brutal .world-card-action {
  min-height: 38px;
  margin-top: 16px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: none;
  font-weight: 650;
}

.home-brutal .world-card-action:hover {
  background: #fff;
  color: #12261e;
}

.home-more-row {
  margin-top: 28px;
  text-align: center;
}

.home-brutal .home-how-section {
  background: transparent;
  border: 0;
}

.home-brutal .how-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-brutal .how-step {
  min-height: 210px;
  padding: 24px 22px;
  text-align: left;
}

.home-brutal .how-step:nth-child(2),
.home-brutal .how-step:nth-child(3),
.home-brutal .how-step:nth-child(4) {
  background: rgba(255, 255, 255, 0.64);
  color: inherit;
}

.home-brutal .how-step:nth-child(4) h3,
.home-brutal .how-step:nth-child(4) p {
  color: inherit;
}

.home-brutal .how-step-num {
  width: 48px;
  height: 48px;
  margin: 0 0 18px;
  border: 0;
  border-radius: 14px;
  background: rgba(47, 93, 80, 0.1);
  color: #2f5d50;
  font-size: 20px;
  font-weight: 750;
  box-shadow: none;
}

.home-brutal .home-community-section {
  background: transparent;
}

.home-brutal .social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-brutal .social-card {
  padding: 26px;
}

.home-brutal .social-card:nth-child(1),
.home-brutal .social-card:nth-child(2),
.home-brutal .social-card:nth-child(3) {
  background: rgba(255, 255, 255, 0.64);
}

.home-brutal .social-card .quote {
  margin-bottom: 18px;
  padding-left: 0;
  border-left: 0;
  font-size: 16px;
}

.home-brutal .social-card .author,
.home-brutal .social-card .author strong {
  color: var(--text);
  font-weight: 650;
}

.home-brutal .social-card .author .lucide {
  color: #c9a24a !important;
  fill: #c9a24a;
  stroke-width: 2;
}

.home-brutal .cta-section {
  padding: clamp(72px, 10vh, 120px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(61, 138, 114, 0.22), transparent 60%),
    transparent;
  border: 0;
}

.home-brutal .cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-brutal .cta-section h2 {
  max-width: 760px;
}

.home-brutal .cta-section p {
  max-width: 560px;
  color: var(--text-muted);
  font-weight: 500;
}

.home-brutal .cta-actions {
  justify-content: center;
}

.home-brutal .footer {
  color: rgba(234, 244, 239, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(61, 138, 114, 0.18), transparent 55%),
    #0b1410;
}

.home-brutal .footer-brand,
.home-brutal .footer-col h4,
.home-brutal .footer-col a:hover {
  color: #fff;
}

.home-brutal .footer-info,
.home-brutal .footer-col a,
.home-brutal .footer-bottom {
  color: rgba(234, 244, 239, 0.62);
}

.home-brutal .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.home-brutal .footer-brand img {
  border: 0;
  background: transparent;
  filter: invert(1);
}

.home-brutal .world-modal-backdrop {
  background: rgba(8, 16, 12, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-brutal .world-modal-panel {
  border: 1px solid rgba(47, 93, 80, 0.12);
  border-radius: 24px;
  background: #f7faf8;
  box-shadow: 0 32px 80px rgba(8, 16, 12, 0.28);
}

.home-brutal .world-modal-close,
.home-brutal .world-modal-facts div,
.home-brutal .world-modal-tags span {
  border-radius: 12px;
  border-color: rgba(47, 93, 80, 0.12);
}

.home-brutal .world-modal-close {
  background: rgba(47, 93, 80, 0.1);
  color: var(--text);
  font-weight: 650;
}

/* ----- Dark silk ----- */
[data-theme="dark"] {
  --bg-deep: #070b09;
  --bg: #070b09;
  --bg-raised: #101714;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(126, 211, 180, 0.28);
  --text: #eaf4ef;
  --text-muted: #b7c9bf;
  --text-dim: #7f958a;
  --accent: #7ed3b4;
  --accent-strong: #9ae0c6;
  --nav-bg: rgba(7, 11, 9, 0.72);
  --nav-bg-mobile: #070b09;
  --footer-bg: #050807;
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.28);
  --shadow-glow: 0 0 48px rgba(126, 211, 180, 0.12);
}

[data-theme="dark"] body {
  background:
    radial-gradient(ellipse 80% 50% at 12% -8%, rgba(61, 138, 114, 0.18), transparent 52%),
    radial-gradient(ellipse 50% 40% at 92% 0%, rgba(201, 162, 74, 0.08), transparent 46%),
    #070b09;
}

[data-theme="dark"] .nav,
[data-theme="dark"] .home-brutal .nav {
  background: rgba(7, 11, 9, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .nav-brand,
[data-theme="dark"] .nav-links a,
[data-theme="dark"] .nav-more-btn,
[data-theme="dark"] .nav-icon-btn,
[data-theme="dark"] .nav-mobile-toggle,
[data-theme="dark"] .home-brutal .nav-brand,
[data-theme="dark"] .home-brutal .nav-links a,
[data-theme="dark"] .home-brutal .nav-more-btn,
[data-theme="dark"] .home-brutal .nav-icon-btn {
  color: #eaf4ef;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

[data-theme="dark"] .nav-brand img,
[data-theme="dark"] .home-brutal .nav-brand img,
[data-theme="dark"] .footer-brand img {
  filter: invert(1);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active,
[data-theme="dark"] .nav-more-btn:hover,
[data-theme="dark"] .nav-more.open .nav-more-btn,
[data-theme="dark"] .nav-more:focus-within .nav-more-btn,
[data-theme="dark"] .nav-icon-btn:hover,
[data-theme="dark"] .nav-mobile-toggle:hover,
[data-theme="dark"] .home-brutal .nav-links a:hover,
[data-theme="dark"] .home-brutal .nav-links a.active,
[data-theme="dark"] .home-brutal .nav-more-btn:hover,
[data-theme="dark"] .home-brutal .nav-more.open .nav-more-btn,
[data-theme="dark"] .home-brutal .nav-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

[data-theme="dark"] .lang-menu,
[data-theme="dark"] .nav-more-menu,
[data-theme="dark"] .home-brutal .lang-menu,
[data-theme="dark"] .home-brutal .nav-more-menu {
  background: rgba(16, 23, 20, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  color: #eaf4ef;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .lang-option,
[data-theme="dark"] .nav-more-menu a,
[data-theme="dark"] .home-brutal .lang-option {
  color: #eaf4ef;
}

[data-theme="dark"] .lang-option:hover,
[data-theme="dark"] .lang-option.active,
[data-theme="dark"] .nav-more-menu a:hover,
[data-theme="dark"] .home-brutal .lang-option:hover,
[data-theme="dark"] .home-brutal .lang-option.active {
  background: rgba(126, 211, 180, 0.12);
  color: #fff;
}

[data-theme="dark"] .nav-cta,
[data-theme="dark"] .nav-cta-discord {
  background: transparent !important;
  color: #b7c9bf !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .nav-cta:hover,
[data-theme="dark"] .nav-cta-discord:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #eaf4ef !important;
}

[data-theme="dark"] .btn-outline {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #eaf4ef;
}

[data-theme="dark"] .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(126, 211, 180, 0.35);
}

[data-theme="dark"] .home-brutal {
  --text: #eaf4ef;
  --text-muted: #b7c9bf;
  --text-dim: #7f958a;
  --accent: #7ed3b4;
}

[data-theme="dark"] html.home-brutal-root {
  background-color: #070b09;
}

[data-theme="dark"] body.home-brutal {
  background-color: #070b09;
  background-image: none;
}

[data-theme="dark"] .home-title-cn {
  background: linear-gradient(135deg, #eaf4ef 0%, #7ed3b4 55%, #c9a24a 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

[data-theme="dark"] .home-title-en {
  color: #eaf4ef;
}

[data-theme="dark"] .home-brutal .home-hero,
[data-theme="dark"] .home-hero {
  --hero-scrim: 7, 11, 9;
  background-color: rgb(var(--hero-scrim));
  border-bottom: 0;
}

[data-theme="dark"] .home-brutal .hero-badge,
[data-theme="dark"] .home-protocol-tabs button,
[data-theme="dark"] .home-protocol-bar,
[data-theme="dark"] .home-marquee-track span,
[data-theme="dark"] .home-brutal .stat-item,
[data-theme="dark"] .home-brutal .feature-card,
[data-theme="dark"] .home-brutal .how-step,
[data-theme="dark"] .home-brutal .social-card,
[data-theme="dark"] .home-brutal .section-label {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #eaf4ef;
  box-shadow: none;
}

[data-theme="dark"] .home-hero-desc,
[data-theme="dark"] .home-hero-kicker,
[data-theme="dark"] .home-brutal .section-header p,
[data-theme="dark"] .home-brutal .cta-section p {
  color: #b7c9bf;
  background: transparent;
  border: 0;
  box-shadow: none;
}

[data-theme="dark"] .home-protocol-tabs button.is-active,
[data-theme="dark"] .home-protocol-tabs button:hover {
  background: #7ed3b4;
  border-color: #7ed3b4;
  color: #07110d;
}

[data-theme="dark"] .home-protocol-bar code,
[data-theme="dark"] .home-protocol-label {
  color: #d8efe4;
}

[data-theme="dark"] .home-protocol-bar #home-copy-url {
  background: #7ed3b4;
  color: #07110d;
}

[data-theme="dark"] .home-hero-media {
  border: 0;
  background: none;
  box-shadow: none;
}

[data-theme="dark"] .home-hero-media img {
  background: #070b09;
  border: 0;
}

[data-theme="dark"] .home-brutal .btn-primary {
  background: linear-gradient(135deg, #3d8a72, #7ed3b4);
  color: #07110d;
}

[data-theme="dark"] .home-brutal .btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #eaf4ef;
}

[data-theme="dark"] .home-brutal .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .home-brutal .stat-item:nth-child(1),
[data-theme="dark"] .home-brutal .stat-item:nth-child(2),
[data-theme="dark"] .home-brutal .stat-item:nth-child(3),
[data-theme="dark"] .home-brutal .stat-item:nth-child(4),
[data-theme="dark"] .home-brutal .feature-card:nth-child(1),
[data-theme="dark"] .home-brutal .feature-card:nth-child(2),
[data-theme="dark"] .home-brutal .feature-card:nth-child(3),
[data-theme="dark"] .home-brutal .feature-card:nth-child(4),
[data-theme="dark"] .home-brutal .how-step:nth-child(2),
[data-theme="dark"] .home-brutal .how-step:nth-child(3),
[data-theme="dark"] .home-brutal .how-step:nth-child(4),
[data-theme="dark"] .home-brutal .social-card:nth-child(1),
[data-theme="dark"] .home-brutal .social-card:nth-child(2),
[data-theme="dark"] .home-brutal .social-card:nth-child(3) {
  background: rgba(255, 255, 255, 0.04);
  color: #eaf4ef;
}

[data-theme="dark"] .home-brutal .stat-value {
  background: linear-gradient(135deg, #eaf4ef, #7ed3b4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .home-brutal .stat-label,
[data-theme="dark"] .home-brutal .feature-card p,
[data-theme="dark"] .home-brutal .how-step p,
[data-theme="dark"] .home-brutal .social-card .quote {
  color: #b7c9bf;
}

[data-theme="dark"] .home-brutal .feature-icon,
[data-theme="dark"] .home-brutal .how-step-num {
  background: rgba(126, 211, 180, 0.12);
  color: #7ed3b4;
  border: 0;
  box-shadow: none;
}

[data-theme="dark"] .home-brutal .home-feature-section,
[data-theme="dark"] .home-brutal .home-community-section,
[data-theme="dark"] .home-brutal .home-world-section,
[data-theme="dark"] .home-brutal .home-how-section,
[data-theme="dark"] .home-brutal .cta-section,
[data-theme="dark"] .home-stats-band {
  background: transparent;
  border: 0;
}

[data-theme="dark"] .home-brutal .home-world-section .section-header h2 {
  color: #eaf4ef;
}

[data-theme="dark"] .home-brutal .section-header h2,
[data-theme="dark"] .home-brutal .cta-section h2,
[data-theme="dark"] .home-brutal .home-hero h1 {
  color: #eaf4ef;
  text-shadow: none;
}

[data-theme="dark"] .home-brutal .section-header a {
  color: #7ed3b4;
}

[data-theme="dark"] .home-brutal .how-step:nth-child(4) h3,
[data-theme="dark"] .home-brutal .how-step:nth-child(4) p,
[data-theme="dark"] .home-brutal .social-card .author,
[data-theme="dark"] .home-brutal .social-card .author strong {
  color: #eaf4ef;
}

[data-theme="dark"] .home-brutal .world-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .home-brutal .world-card h3,
[data-theme="dark"] .home-brutal .world-card p {
  text-shadow: none;
}

[data-theme="dark"] .home-brutal .world-card-action {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
}

[data-theme="dark"] .home-brutal .world-card-action:hover {
  background: #7ed3b4;
  color: #07110d;
}

[data-theme="dark"] .home-brutal .cta-section {
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(61, 138, 114, 0.2), transparent 60%);
}

[data-theme="dark"] .home-brutal .footer {
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(61, 138, 114, 0.16), transparent 55%),
    #050807;
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .home-brutal .world-modal-panel {
  background: #101714;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  color: #eaf4ef;
}

[data-theme="dark"] .home-brutal .world-modal-close {
  background: rgba(255, 255, 255, 0.08);
  color: #eaf4ef;
}

[data-theme="dark"] .home-live-panel {
  background: rgba(12, 22, 18, 0.72);
  color: #eaf4ef;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

[data-theme="dark"] .home-live-head {
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .home-panel-label {
  color: #8fb3a5;
}

[data-theme="dark"] .home-live-dot {
  background: #7ed3b4;
  box-shadow: 0 0 0 3px rgba(126, 211, 180, 0.16);
}

[data-theme="dark"] .home-live-panel strong {
  color: #d8f2e6;
}

[data-theme="dark"] .home-live-panel strong.is-loading {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.08) 75%
  );
  background-size: 200% 100%;
}

[data-theme="dark"] .home-live-panel p,
[data-theme="dark"] .home-live-panel li {
  color: #c3d9ce;
}

[data-theme="dark"] .home-live-panel li svg {
  color: #7ed3b4;
}

[data-theme="dark"] .home-qr-trigger {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #d8f2e6;
}

[data-theme="dark"] .home-qr-trigger:hover,
[data-theme="dark"] .mini-program-control.is-open .home-qr-trigger {
  border-color: rgba(126, 211, 180, 0.32);
  background: rgba(255, 255, 255, 0.14);
  color: #eaf4ef;
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .download-card-main,
[data-theme="dark"] .sidebar-card,
[data-theme="dark"] .install-step,
[data-theme="dark"] .social-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .plan-card,
[data-theme="dark"] .model-group-panel,
[data-theme="dark"] .model-price-card,
[data-theme="dark"] .pricing-overview-main,
[data-theme="dark"] .pricing-purchase-card,
[data-theme="dark"] body:not(.home-brutal) .feature-card,
[data-theme="dark"] body:not(.home-brutal) .download-card-main,
[data-theme="dark"] body:not(.home-brutal) .sidebar-card,
[data-theme="dark"] body:not(.home-brutal) .install-step,
[data-theme="dark"] body:not(.home-brutal) .social-card,
[data-theme="dark"] body:not(.home-brutal) .faq-item,
[data-theme="dark"] body:not(.home-brutal) .plan-card,
[data-theme="dark"] body:not(.home-brutal) .model-group-panel,
[data-theme="dark"] body:not(.home-brutal) .model-price-card,
[data-theme="dark"] body:not(.home-brutal) .pricing-overview-main,
[data-theme="dark"] body:not(.home-brutal) .pricing-purchase-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #eaf4ef;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] body:not(.home-brutal) .feature-card h3,
[data-theme="dark"] body:not(.home-brutal) .download-card-main h3,
[data-theme="dark"] body:not(.home-brutal) .install-step h3,
[data-theme="dark"] body:not(.home-brutal) .faq-question,
[data-theme="dark"] body:not(.home-brutal) .plan-price,
[data-theme="dark"] body:not(.home-brutal) .section-header h2,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) h1,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .lead,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .section-label {
  color: #eaf4ef;
  text-shadow: none;
}

[data-theme="dark"] body:not(.home-brutal) .page-header-bg {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(61, 138, 114, 0.16), transparent 62%),
    #070b09;
}

[data-theme="dark"] body:not(.home-brutal) {
  background:
    radial-gradient(ellipse 80% 50% at 12% -8%, rgba(61, 138, 114, 0.16), transparent 52%),
    #070b09;
}

[data-theme="dark"] .mini-program-popover {
  background: rgba(16, 23, 20, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  color: #eaf4ef;
}

/* Inner-page dark overrides that previously forced light brutal cards */
[data-theme="dark"] body:not(.home-brutal) .feature-card p,
[data-theme="dark"] body:not(.home-brutal) .faq-answer p,
[data-theme="dark"] body:not(.home-brutal) .plan-card p,
[data-theme="dark"] body:not(.home-brutal) .section-header p {
  color: #b7c9bf;
}

@media (max-width: 1180px) {
  .home-brutal .features-grid,
  .home-brutal .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-brutal .worlds-grid,
  .home-brutal .social-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .home-hero-media img {
    object-position: 68% 40%;
  }

  .home-hero-scrim {
    background:
      linear-gradient(
        90deg,
        rgb(var(--hero-scrim)) 0%,
        rgb(var(--hero-scrim)) 44%,
        rgba(var(--hero-scrim), 0.88) 54%,
        rgba(var(--hero-scrim), 0.42) 72%,
        rgba(var(--hero-scrim), 0.1) 88%
      ),
      linear-gradient(
        180deg,
        rgb(var(--hero-scrim)) 0%,
        rgba(var(--hero-scrim), 0.88) 18%,
        rgba(var(--hero-scrim), 0) 30%,
        rgba(var(--hero-scrim), 0) 64%,
        rgb(var(--hero-scrim)) 100%
      );
  }

  .home-live-panel {
    position: static;
    width: auto;
    max-width: 100%;
    margin-top: 32px;
  }

  .home-live-panel ul {
    grid-template-columns: repeat(auto-fit, minmax(120px, auto));
    justify-content: start;
    gap: 10px 22px;
  }
}

@media (max-width: 920px) {
  .home-hero {
    min-height: 0;
  }

  .home-hero-stage {
    padding: 108px 24px 72px;
  }
}

@media (max-width: 768px) {
  .home-brutal .container {
    width: min(100% - 32px, 1320px);
  }

  .home-hero {
    min-height: 0;
    display: block;
    background:
      linear-gradient(180deg, rgba(47, 93, 80, 0.05) 0%, rgb(var(--hero-scrim)) 24%);
  }

  .home-hero::before,
  .home-hero-visual {
    display: none;
  }

  .home-hero-stage {
    padding: 96px 20px 40px;
  }

  .home-hero-copy,
  .home-hero-desc,
  .home-hero-kicker,
  .home-protocol {
    max-width: none;
  }

  .home-hero-kicker {
    font-size: clamp(20px, 5.6vw, 28px);
    line-height: 1.32;
    margin-top: 14px;
  }

  .home-hero-desc {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .nav-links--open {
    top: 68px;
    border-bottom: 1px solid rgba(47, 93, 80, 0.1);
    background: rgba(245, 248, 246, 0.96);
    box-shadow: 0 18px 40px rgba(15, 30, 24, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  [data-theme="dark"] .nav-links--open {
    background: rgba(7, 11, 9, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .home-brutal .nav-links--open {
    top: 68px;
    border-bottom: 1px solid rgba(47, 93, 80, 0.1);
    background: rgba(245, 248, 246, 0.96);
    box-shadow: 0 18px 40px rgba(15, 30, 24, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  [data-theme="dark"] .home-brutal .nav-links--open {
    background: rgba(7, 11, 9, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .home-brutal .nav-controls {
    display: none;
  }

  .home-brutal .nav-brand {
    min-height: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .home-live-panel {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 24px;
  }

  .home-brutal .section-header {
    text-align: left;
  }

  .home-brutal .section-header p {
    margin-left: 0;
  }

  .home-brutal h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.08;
  }

  .home-brutal .stats-grid,
  .home-brutal .features-grid,
  .home-brutal .how-steps {
    grid-template-columns: 1fr;
  }

  .home-hero-actions,
  .home-brutal .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-brutal .btn {
    width: 100%;
  }

  .home-brutal .cta-section {
    text-align: left;
  }

  .home-brutal .cta-section .container,
  .home-brutal .cta-actions {
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .home-brutal .container {
    width: min(100% - 28px, 1320px);
  }

  .home-hero-stage {
    padding: 88px 16px 32px;
  }

  .home-brutal h1 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .home-hero-kicker {
    font-size: clamp(18px, 5.2vw, 24px);
  }

  .home-protocol-tabs {
    gap: 6px;
  }

  .home-protocol-tabs button {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .home-protocol-bar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
  }

  .home-protocol-bar code {
    flex: 1 1 100%;
    font-size: 12px;
  }

  .home-protocol-bar #home-copy-url {
    margin-left: auto;
  }

  .home-marquee {
    padding-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-marquee-track,
  .home-brutal .hero-badge .dot {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ============================================================
   Inner pages: theme-safe surfaces
   Brutalist CSS kept a white header card; silk dark text on it
   made titles invisible after theme toggle. Follow tokens instead.
   ============================================================ */
body:not(.home-brutal) .page-header:not(.worlds-hero) .container,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .container {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.home-brutal) .page-header-bg,
body:not(.home-brutal) .pricing-hero,
[data-theme="dark"] body:not(.home-brutal) .page-header-bg {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(61, 138, 114, 0.14), transparent 62%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

body:not(.home-brutal) .page-header h1,
body:not(.home-brutal) .section-header h2,
body:not(.home-brutal) .feature-detail-text h2,
body:not(.home-brutal) .cta-section h2,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) h1,
[data-theme="dark"] body:not(.home-brutal) .section-header h2,
[data-theme="dark"] body:not(.home-brutal) .cta-section h2 {
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.04em;
  text-shadow: none;
}

body:not(.home-brutal) .page-header .lead,
body:not(.home-brutal) .section-header p,
body:not(.home-brutal) .feature-detail-text p,
body:not(.home-brutal) .cta-section p,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .lead,
[data-theme="dark"] body:not(.home-brutal) .section-header p,
[data-theme="dark"] body:not(.home-brutal) .cta-section p {
  color: var(--text-muted);
}

body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs,
body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs a,
body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs span,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs a,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs span {
  color: var(--text-dim);
}

body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs a:hover,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs a:hover {
  color: var(--text);
}

body:not(.home-brutal) .page-header .section-label,
body:not(.home-brutal) .section-label,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .section-label {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(47, 93, 80, 0.08);
  color: var(--accent);
  box-shadow: none;
}

[data-theme="dark"] body:not(.home-brutal) .page-header .section-label,
[data-theme="dark"] body:not(.home-brutal) .section-label {
  background: rgba(126, 211, 180, 0.1);
  border-color: rgba(126, 211, 180, 0.18);
  color: #7ed3b4;
}

body:not(.home-brutal) .cta-section {
  border: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(61, 138, 114, 0.18), transparent 60%),
    transparent;
}

body:not(.home-brutal) .seo-col,
[data-theme="dark"] body:not(.home-brutal) .seo-col {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(15, 30, 24, 0.06);
}

[data-theme="dark"] body:not(.home-brutal) .seo-col {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #eaf4ef;
  box-shadow: none;
}

[data-theme="dark"] body:not(.home-brutal) .seo-col h3 {
  color: #eaf4ef;
}

[data-theme="dark"] body:not(.home-brutal) .seo-col p {
  color: #b7c9bf;
}

body:not(.home-brutal) .faq-question,
[data-theme="dark"] body:not(.home-brutal) .faq-question {
  color: var(--text);
}

body:not(.home-brutal) .feature-card:hover,
body:not(.home-brutal) .seo-col:hover,
body:not(.home-brutal) .faq-item:hover,
body:not(.home-brutal) .plan-card:hover,
body:not(.home-brutal) .download-card-main:hover,
[data-theme="dark"] body:not(.home-brutal) .feature-card:hover,
[data-theme="dark"] body:not(.home-brutal) .seo-col:hover,
[data-theme="dark"] body:not(.home-brutal) .plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 30, 24, 0.1);
  border-color: var(--border-hover);
}

/* ============================================================
   Inner pages: beat leftover brutalist colors in both themes
   style.css still paints dark mode with light cards, offset
   shadows, and dark text. These rules sit last on purpose.
   ============================================================ */
body:not(.home-brutal) .btn,
body:not(.home-brutal) .download-btn,
body:not(.home-brutal) .world-card-action,
body:not(.home-brutal) .plan-link {
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: none;
  transform: none;
}

body:not(.home-brutal) .btn-primary,
body:not(.home-brutal) .download-btn {
  border: 0;
  background: linear-gradient(135deg, #2f5d50, #3d8a72);
  color: #fff;
  box-shadow: 0 10px 28px rgba(47, 93, 80, 0.24);
}

body:not(.home-brutal) .btn-outline,
body:not(.home-brutal) .btn-gold {
  border: 1px solid rgba(47, 93, 80, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: none;
}

body:not(.home-brutal) .btn:hover,
body:not(.home-brutal) .download-btn:hover,
body:not(.home-brutal) .world-card-action:hover,
body:not(.home-brutal) .plan-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(47, 93, 80, 0.22);
}

body:not(.home-brutal) .btn-primary:hover,
body:not(.home-brutal) .download-btn:hover {
  background: linear-gradient(135deg, #3d7a67, #4a9a7e);
  color: #fff;
}

[data-theme="dark"] body:not(.home-brutal) .btn,
[data-theme="dark"] body:not(.home-brutal) .download-btn,
[data-theme="dark"] body:not(.home-brutal) .world-card-action,
[data-theme="dark"] body:not(.home-brutal) .plan-link {
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  transform: none;
}

[data-theme="dark"] body:not(.home-brutal) .btn-primary,
[data-theme="dark"] body:not(.home-brutal) .download-btn {
  border: 0;
  background: linear-gradient(135deg, #3d8a72, #7ed3b4);
  color: #07110d;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

[data-theme="dark"] body:not(.home-brutal) .btn-outline,
[data-theme="dark"] body:not(.home-brutal) .btn-gold {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #eaf4ef;
  box-shadow: none;
}

[data-theme="dark"] body:not(.home-brutal) .btn:hover,
[data-theme="dark"] body:not(.home-brutal) .download-btn:hover,
[data-theme="dark"] body:not(.home-brutal) .world-card-action:hover,
[data-theme="dark"] body:not(.home-brutal) .plan-link:hover,
[data-theme="dark"] body:not(.home-brutal) .feature-card:hover,
[data-theme="dark"] body:not(.home-brutal) .pricing-overview-main:hover,
[data-theme="dark"] body:not(.home-brutal) .pricing-purchase-card:hover,
[data-theme="dark"] body:not(.home-brutal) .plan-card:hover,
[data-theme="dark"] body:not(.home-brutal) .model-price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] body:not(.home-brutal) .btn-primary:hover,
[data-theme="dark"] body:not(.home-brutal) .download-btn:hover {
  background: linear-gradient(135deg, #4a9a7e, #8ee0c4);
  color: #07110d;
}

[data-theme="dark"] body:not(.home-brutal) .nav-icon-btn,
[data-theme="dark"] body:not(.home-brutal) .nav-mobile-toggle {
  border: 0;
  background: transparent;
  color: #eaf4ef;
  box-shadow: none;
}

[data-theme="dark"] body:not(.home-brutal) .nav-icon-btn:hover,
[data-theme="dark"] body:not(.home-brutal) .nav-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) h1,
[data-theme="dark"] body:not(.home-brutal) .section-header h2,
[data-theme="dark"] body:not(.home-brutal) .pricing-overview-main h2,
[data-theme="dark"] body:not(.home-brutal) .cta-section h2,
[data-theme="dark"] body:not(.home-brutal) .feature-detail-text h2 {
  color: #eaf4ef;
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: #eaf4ef;
}

[data-theme="dark"] .pricing-overview-main p,
[data-theme="dark"] .pricing-purchase-card p,
[data-theme="dark"] .pricing-stats p,
[data-theme="dark"] .pricing-note,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .lead,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs a,
[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .breadcrumbs span,
[data-theme="dark"] body:not(.home-brutal) .section-header p,
[data-theme="dark"] body:not(.home-brutal) .cta-section p,
[data-theme="dark"] body:not(.home-brutal) .pricing-overview-main > p,
[data-theme="dark"] body:not(.home-brutal) .pricing-stats p,
[data-theme="dark"] body:not(.home-brutal) .pricing-purchase-card p,
[data-theme="dark"] body:not(.home-brutal) .pricing-note,
[data-theme="dark"] body:not(.home-brutal) .plan-card p,
[data-theme="dark"] body:not(.home-brutal) .feature-card p,
[data-theme="dark"] body:not(.home-brutal) .faq-answer p,
[data-theme="dark"] body:not(.home-brutal) .download-note,
[data-theme="dark"] body:not(.home-brutal) .install-step p,
[data-theme="dark"] body:not(.home-brutal) .model-card-head p,
[data-theme="dark"] body:not(.home-brutal) .model-card-foot p,
[data-theme="dark"] body:not(.home-brutal) .model-price-row span,
[data-theme="dark"] body:not(.home-brutal) .seo-col p {
  color: #c5d6cc !important;
  text-shadow: none;
}

[data-theme="dark"] body:not(.home-brutal) .pricing-overview-main,
[data-theme="dark"] body:not(.home-brutal) .pricing-purchase-card,
[data-theme="dark"] body:not(.home-brutal) .pricing-purchase-recharge,
[data-theme="dark"] body:not(.home-brutal) .pricing-purchase-sub,
[data-theme="dark"] body:not(.home-brutal) .pricing-stats div,
[data-theme="dark"] body:not(.home-brutal) .pricing-stats div:nth-child(2),
[data-theme="dark"] body:not(.home-brutal) .pricing-stats div:nth-child(3),
[data-theme="dark"] body:not(.home-brutal) .pricing-stats div:nth-child(2n),
[data-theme="dark"] body:not(.home-brutal) .pricing-stats div:nth-child(3n),
[data-theme="dark"] body:not(.home-brutal) .plan-card,
[data-theme="dark"] body:not(.home-brutal) .model-group-panel,
[data-theme="dark"] body:not(.home-brutal) .model-price-card,
[data-theme="dark"] body:not(.home-brutal) .pricing-skeleton,
[data-theme="dark"] body:not(.home-brutal) .pricing-empty {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eaf4ef;
  box-shadow: none;
}

[data-theme="dark"] body:not(.home-brutal) .pricing-stats span,
[data-theme="dark"] body:not(.home-brutal) .pricing-purchase-card strong,
[data-theme="dark"] body:not(.home-brutal) .plan-price,
[data-theme="dark"] body:not(.home-brutal) .plan-card-head span,
[data-theme="dark"] body:not(.home-brutal) .purchase-card-head,
[data-theme="dark"] body:not(.home-brutal) .purchase-card-head .lucide,
[data-theme="dark"] body:not(.home-brutal) .model-card-head h3,
[data-theme="dark"] body:not(.home-brutal) .model-price-row strong {
  color: #eaf4ef;
}

[data-theme="dark"] body:not(.home-brutal) .pricing-stats span {
  color: #7ed3b4;
}

[data-theme="dark"] body:not(.home-brutal) .page-header .section-label,
[data-theme="dark"] body:not(.home-brutal) .section-label,
[data-theme="dark"] body:not(.home-brutal) .badge,
[data-theme="dark"] body:not(.home-brutal) .plan-card-head strong,
[data-theme="dark"] body:not(.home-brutal) .model-billing-badge,
[data-theme="dark"] body:not(.home-brutal) .model-group-head strong {
  border: 1px solid rgba(126, 211, 180, 0.22);
  border-radius: 999px;
  background: rgba(126, 211, 180, 0.12);
  color: #7ed3b4;
  box-shadow: none;
}

[data-theme="dark"] body:not(.home-brutal) .page-header:not(.worlds-hero) .container {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:not(.home-brutal) .model-card-icon,
[data-theme="dark"] body:not(.home-brutal) .model-card-icon {
  border: 1px solid rgba(47, 93, 80, 0.12) !important;
  border-radius: 12px !important;
  background: rgba(47, 93, 80, 0.08) !important;
  box-shadow: none !important;
  filter: none;
  padding: 6px;
  box-sizing: border-box;
  object-fit: contain;
}

[data-theme="dark"] body:not(.home-brutal) .model-card-icon {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] body:not(.home-brutal) img.model-card-icon[data-dark=""] {
  filter: invert(1) brightness(1.15);
}

[data-theme="dark"] body:not(.home-brutal) .model-card-icon--placeholder {
  color: #7ed3b4 !important;
  background: rgba(126, 211, 180, 0.12) !important;
}

[data-theme="dark"] body:not(.home-brutal) .model-billing-badge {
  background: rgba(126, 211, 180, 0.16) !important;
  color: #d8f5ea !important;
  border-color: rgba(126, 211, 180, 0.28) !important;
}

/* World detail modal — fill cover, drop brutalist chrome */
.world-modal-cover {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #0b1410;
}

.world-modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.world-modal-panel,
body:not(.home-brutal) .world-modal-panel,
.home-brutal .world-modal-panel {
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.05fr);
  border: 1px solid rgba(47, 93, 80, 0.12) !important;
  border-radius: 24px !important;
  background: #f7faf8 !important;
  box-shadow: 0 32px 80px rgba(8, 16, 12, 0.28) !important;
}

.world-modal-close,
body:not(.home-brutal) .world-modal-close,
.home-brutal .world-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 38, 30, 0.55);
  color: #fff;
  box-shadow: none;
  font-weight: 500;
}

.world-modal-facts div,
body:not(.home-brutal) .world-modal-facts div,
.home-brutal .world-modal-facts div {
  border: 1px solid rgba(47, 93, 80, 0.12) !important;
  border-radius: 16px !important;
  background: rgba(47, 93, 80, 0.06) !important;
  box-shadow: none !important;
}

.world-modal-facts span {
  color: var(--text-dim) !important;
}

.world-modal-facts strong {
  color: var(--text) !important;
  font-size: 14px;
}

.world-modal-tags span,
body:not(.home-brutal) .world-modal-tags span,
.home-brutal .world-modal-tags span {
  border: 1px solid rgba(47, 93, 80, 0.12);
  border-radius: 999px;
  background: rgba(47, 93, 80, 0.06);
  color: var(--text-muted);
  box-shadow: none;
}

[data-theme="dark"] .world-modal-panel,
[data-theme="dark"] body:not(.home-brutal) .world-modal-panel,
[data-theme="dark"] .home-brutal .world-modal-panel {
  background: #121a16 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55) !important;
  color: #eaf4ef;
}

[data-theme="dark"] .world-modal-close,
[data-theme="dark"] body:not(.home-brutal) .world-modal-close,
[data-theme="dark"] .home-brutal .world-modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: #eaf4ef;
}

[data-theme="dark"] .world-modal-facts div,
[data-theme="dark"] body:not(.home-brutal) .world-modal-facts div,
[data-theme="dark"] .home-brutal .world-modal-facts div {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

[data-theme="dark"] .world-modal-facts span,
[data-theme="dark"] body:not(.home-brutal) .world-modal-facts span {
  color: #8fa89c !important;
}

[data-theme="dark"] .world-modal-facts strong,
[data-theme="dark"] body:not(.home-brutal) .world-modal-facts strong {
  color: #eaf4ef !important;
}

[data-theme="dark"] .world-modal-body h2,
[data-theme="dark"] body:not(.home-brutal) .world-modal-body h2 {
  color: #eaf4ef !important;
  text-shadow: none;
}

[data-theme="dark"] .world-modal-body p,
[data-theme="dark"] body:not(.home-brutal) .world-modal-body p {
  color: #c5d6cc !important;
}

[data-theme="dark"] .world-modal-meta {
  color: #7ed3b4;
}

[data-theme="dark"] .world-modal-tags span,
[data-theme="dark"] body:not(.home-brutal) .world-modal-tags span,
[data-theme="dark"] .home-brutal .world-modal-tags span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #c5d6cc !important;
  box-shadow: none;
}

@media (max-width: 768px) {
  .world-modal-panel,
  body:not(.home-brutal) .world-modal-panel,
  .home-brutal .world-modal-panel {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(200px, 34%) minmax(0, 1fr);
  }

  .world-modal-cover {
    min-height: 200px;
  }
}
