:root {
  --bg: #071014;
  --bg-deep: #04090c;
  --panel: rgba(13, 27, 32, 0.82);
  --panel-solid: #0d1b20;
  --panel-soft: rgba(18, 37, 43, 0.66);
  --line: rgba(157, 205, 205, 0.14);
  --line-strong: rgba(157, 205, 205, 0.26);
  --text: #effbf7;
  --muted: #91a9a8;
  --muted-2: #647e7d;
  --mint: #65f5d3;
  --mint-deep: #1fbd9d;
  --orange: #ffae64;
  --orange-deep: #e1763a;
  --blue: #79a8ff;
  --violet: #b991ff;
  --danger: #ff6f73;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: radial-gradient(circle at 50% -20%, rgba(51, 140, 135, 0.2), transparent 34rem), linear-gradient(180deg, var(--bg) 0%, #071115 45%, var(--bg-deep) 100%);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: linear-gradient(rgba(117, 178, 177, 0.026) 1px, transparent 1px), linear-gradient(90deg, rgba(117, 178, 177, 0.026) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.page-glow {
  position: fixed;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.14;
  pointer-events: none;
}

.page-glow--one { top: 8rem; right: -9rem; background: var(--mint); }
.page-glow--two { top: 58rem; left: -12rem; background: var(--violet); }

.grid-noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  pointer-events: none;
}

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { margin-top: 132px; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading > div { flex: 1; }
.section-heading h2, .join-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4.2vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading p {
  width: min(420px, 100%);
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.section-index, .panel-kicker {
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 13, 16, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 5px);
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(101, 245, 211, 0.34);
  border-radius: 12px;
  background: rgba(101, 245, 211, 0.06);
  box-shadow: inset 0 0 20px rgba(101, 245, 211, 0.06);
  transform: rotate(-7deg);
}

.brand-mark span {
  display: block;
  width: 5px;
  border-radius: 10px;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(101, 245, 211, 0.48);
}

.brand-mark span:nth-child(1) { height: 9px; opacity: 0.55; }
.brand-mark span:nth-child(2) { height: 19px; }
.brand-mark span:nth-child(3) { height: 13px; opacity: 0.72; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 0.96rem; letter-spacing: 0.08em; }
.brand-copy small { margin-top: 5px; color: var(--muted-2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.56rem; letter-spacing: 0.2em; }

.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav > a {
  padding: 11px 14px;
  border-radius: 999px;
  color: #a9bfbd;
  font-size: 0.86rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav > a:hover, .site-nav > a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.site-nav .nav-cta { margin-left: 8px; padding-inline: 18px; color: #06201a; background: var(--mint); font-weight: 800; }
.site-nav .nav-cta:hover { color: #03110e; background: #84ffe2; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span { display: block; width: 17px; height: 1px; margin: 5px auto; background: var(--text); transition: transform 180ms ease; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  min-height: 760px;
  padding-top: 128px;
  padding-bottom: 48px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9fc4bf;
  background: rgba(10, 26, 29, 0.72);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(101, 245, 211, 0.1), 0 0 18px rgba(101, 245, 211, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse { 50% { opacity: 0.5; transform: scale(0.74); } }

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.6vw, 6.1rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.066em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #7ff7db 5%, #9cc8ff 47%, #e3a6ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead { max-width: 620px; margin: 30px 0 0; color: #a1b7b5; font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.85; }
.hero-actions, .join-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.button--primary { color: #062019; background: linear-gradient(135deg, #82ffe1, #53dfc0); box-shadow: 0 12px 34px rgba(66, 220, 183, 0.16); }
.button--primary:hover { box-shadow: 0 16px 44px rgba(66, 220, 183, 0.26); }
.button--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.025); }
.button--ghost:hover { border-color: rgba(101, 245, 211, 0.45); background: rgba(101, 245, 211, 0.055); }
.button--small { min-height: 40px; padding-inline: 15px; border-radius: 11px; font-size: 0.82rem; }
.button--wide { width: 100%; }
.button--wide small { margin-left: auto; color: rgba(4, 35, 27, 0.6); font-size: 0.68rem; font-weight: 700; }

.hero-stats { display: flex; gap: 0; margin-top: 48px; }
.hero-stats > div { display: flex; flex-direction: column; min-width: 116px; padding-right: 28px; }
.hero-stats > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-stats strong { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.35rem; letter-spacing: -0.04em; }
.hero-stats span { margin-top: 4px; color: var(--muted-2); font-size: 0.72rem; }

.hero-visual { position: relative; min-height: 570px; perspective: 1000px; }

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(117, 200, 191, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit--outer { width: 530px; height: 530px; animation: orbit-spin 28s linear infinite; }
.orbit--inner { width: 390px; height: 390px; border-style: dashed; opacity: 0.65; animation: orbit-spin 20s linear infinite reverse; }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px rgba(255, 174, 100, 0.86); }
.orbit-dot--a { top: 11%; left: 21%; }
.orbit-dot--b { right: 4%; bottom: 27%; width: 6px; height: 6px; background: var(--blue); box-shadow: 0 0 18px rgba(121, 168, 255, 0.86); }

.core-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 330px;
  padding: 18px;
  border: 1px solid rgba(126, 218, 205, 0.22);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(18, 43, 47, 0.92), rgba(8, 19, 23, 0.94));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.05);
  transform: translate(-50%, -50%) rotateY(-5deg);
}

.core-top, .core-status { display: flex; align-items: center; justify-content: space-between; }
.live-label { display: flex; align-items: center; gap: 7px; color: #a9c8c4; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.61rem; font-weight: 700; letter-spacing: 0.11em; }
.live-label i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.core-id { color: var(--muted-2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.61rem; }

.starlit-cube {
  position: relative;
  display: grid;
  place-items: center;
  height: 250px;
  margin: 13px 0;
  border: 1px solid rgba(101, 245, 211, 0.08);
  border-radius: 20px;
  background: radial-gradient(circle, rgba(101, 245, 211, 0.1), transparent 64%);
  overflow: hidden;
}

.starlit-cube::before, .starlit-cube::after { position: absolute; width: 1px; height: 130%; content: ""; background: linear-gradient(transparent, rgba(101, 245, 211, 0.24), transparent); transform: rotate(35deg); }
.starlit-cube::after { transform: rotate(-35deg); }

.cube-core {
  position: relative;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(151, 255, 233, 0.82);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(101, 245, 211, 0.76), rgba(33, 107, 110, 0.16));
  box-shadow: 0 0 35px rgba(101, 245, 211, 0.25), inset 0 0 25px rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  animation: core-float 4s ease-in-out infinite;
}

.cube-core::after { position: absolute; inset: 15px; border: 1px solid rgba(255, 255, 255, 0.48); border-radius: 9px; content: ""; }
@keyframes core-float { 50% { transform: rotate(45deg) translateY(-8px); } }
.cube-ring { position: absolute; border: 1px solid rgba(101, 245, 211, 0.27); border-radius: 50%; transform: rotateX(66deg); }
.cube-ring--one { width: 175px; height: 175px; }
.cube-ring--two { width: 235px; height: 235px; opacity: 0.45; }
.core-status { align-items: flex-end; padding: 4px 2px 0; }
.core-status small { display: block; color: var(--muted-2); font-size: 0.68rem; }
.core-status strong { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.22rem; }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.mini-bars i { display: block; width: 5px; border-radius: 4px; background: linear-gradient(to top, var(--mint-deep), var(--mint)); opacity: 0.72; }

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 165px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(9, 22, 26, 0.8);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  animation: chip-float 5s ease-in-out infinite;
}

.floating-chip--game { top: 16%; left: 2%; }
.floating-chip--pet { top: 48%; right: -2%; animation-delay: -1.8s; }
.floating-chip--model { bottom: 12%; left: 4%; animation-delay: -3.2s; }
@keyframes chip-float { 50% { transform: translateY(-8px); } }
.chip-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--mint); background: rgba(101, 245, 211, 0.1); font-size: 1rem; }
.floating-chip--pet .chip-icon { color: var(--orange); background: rgba(255, 174, 100, 0.1); }
.floating-chip--model .chip-icon { color: var(--blue); background: rgba(121, 168, 255, 0.1); }
.floating-chip div { display: flex; flex-direction: column; }
.floating-chip small { color: var(--muted-2); font-size: 0.62rem; }
.floating-chip strong { margin-top: 3px; font-size: 0.76rem; }

.hub-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.hub-card {
  position: relative;
  grid-column: span 4;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(16, 34, 39, 0.72), rgba(8, 20, 24, 0.72));
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.hub-card:nth-child(4), .hub-card:nth-child(5) { grid-column: span 6; }
.hub-card::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  content: "";
  background: var(--card-glow, rgba(101, 245, 211, 0.12));
  filter: blur(35px);
  opacity: 0.5;
  transition: opacity 260ms ease, transform 260ms ease;
}

.hub-card:hover { border-color: rgba(137, 218, 208, 0.34); background: linear-gradient(145deg, rgba(20, 44, 49, 0.88), rgba(8, 20, 24, 0.84)); transform: translateY(-7px); }
.hub-card:hover::before { opacity: 0.85; transform: scale(1.15); }
.hub-card--pet { --card-glow: rgba(255, 174, 100, 0.13); }
.hub-card--product { --card-glow: rgba(185, 145, 255, 0.14); }
.hub-card--forum { --card-glow: rgba(121, 168, 255, 0.13); }
.hub-card--model { --card-glow: rgba(101, 245, 211, 0.12); }
.hub-number { position: absolute; top: 22px; right: 23px; color: #4c6a69; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.65rem; }
.hub-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(101, 245, 211, 0.2); border-radius: 15px; color: var(--mint); background: rgba(101, 245, 211, 0.065); }
.hub-card--pet .hub-icon { color: var(--orange); border-color: rgba(255, 174, 100, 0.2); background: rgba(255, 174, 100, 0.065); }
.hub-card--product .hub-icon { color: var(--violet); border-color: rgba(185, 145, 255, 0.2); background: rgba(185, 145, 255, 0.065); }
.hub-card--forum .hub-icon { color: var(--blue); border-color: rgba(121, 168, 255, 0.2); background: rgba(121, 168, 255, 0.065); }
.hub-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.hub-card h3 { margin: 42px 0 10px; font-size: 1.25rem; letter-spacing: -0.025em; }
.hub-card p { max-width: 400px; margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.75; }
.hub-meta { position: absolute; right: 24px; bottom: 22px; left: 24px; display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: 0.69rem; }
.hub-arrow { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); font-size: 0.86rem; transition: transform 240ms ease, border-color 240ms ease, color 240ms ease; }
.hub-card:hover .hub-arrow { border-color: var(--mint); color: var(--mint); transform: rotate(45deg); }

.game-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr); gap: 18px; }
.game-console, .game-info, .pet-lab, .product-card, .topic-panel, .forum-aside > div, .model-stage, .model-browser, .join-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15, 32, 37, 0.88), rgba(8, 19, 23, 0.9));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.19);
}

.game-console { padding: 14px; }
.game-hud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.game-hud > div { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 13px; border: 1px solid rgba(141, 195, 195, 0.1); border-radius: 12px; background: rgba(4, 13, 16, 0.46); }
.game-hud span { color: var(--muted-2); font-size: 0.67rem; }
.game-hud strong { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.92rem; }
.canvas-wrap { position: relative; border-radius: 17px; background: #050e11; overflow: hidden; touch-action: none; }
#game-canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  background: radial-gradient(circle, rgba(13, 40, 42, 0.72), rgba(3, 10, 12, 0.94));
  backdrop-filter: blur(4px);
  transition: opacity 240ms ease, visibility 240ms ease;
}

.game-overlay.is-hidden { visibility: hidden; opacity: 0; }
.overlay-tag { color: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.62rem; letter-spacing: 0.15em; }
.game-overlay h3 { margin: 10px 0 8px; font-size: clamp(1.35rem, 3vw, 2.1rem); letter-spacing: -0.035em; }
.game-overlay p { max-width: 470px; margin: 0 0 22px; color: var(--muted); font-size: 0.82rem; line-height: 1.7; }
.touch-controls { display: grid; grid-template-columns: 1fr 0.7fr 1fr; gap: 8px; margin-top: 10px; }
.touch-controls button { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; color: #b9cecc; background: rgba(255, 255, 255, 0.025); cursor: pointer; font-size: 1.1rem; user-select: none; touch-action: manipulation; }
.touch-controls button.is-pressed { border-color: rgba(101, 245, 211, 0.44); color: var(--mint); background: rgba(101, 245, 211, 0.08); }

.game-info { display: flex; flex-direction: column; padding: 28px; }
.game-info h3 { margin: 10px 0 22px; font-size: 1.45rem; line-height: 1.35; letter-spacing: -0.035em; }
.step-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.step-list li { display: flex; gap: 13px; }
.step-list li > span { display: grid; flex: 0 0 auto; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 9px; color: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.68rem; }
.step-list strong, .step-list small { display: block; }
.step-list strong { font-size: 0.86rem; }
.step-list small { margin-top: 5px; color: var(--muted-2); font-size: 0.73rem; line-height: 1.55; }
.score-note { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.score-note span { color: var(--muted-2); font-size: 0.7rem; }
.score-note strong { font-size: 0.82rem; }
.score-note b { color: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.pet-lab { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 16px; padding: 16px; }
.pet-radar { display: flex; flex-direction: column; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(5, 15, 18, 0.54); }
.radar-screen { position: relative; display: grid; flex: 1; min-height: 350px; place-items: center; border: 1px solid rgba(101, 245, 211, 0.13); border-radius: 50%; background: radial-gradient(circle, rgba(101, 245, 211, 0.11), rgba(6, 20, 22, 0.15) 52%, rgba(4, 12, 15, 0.66) 70%); overflow: hidden; }
.radar-screen::before, .radar-screen::after { position: absolute; content: ""; background: rgba(101, 245, 211, 0.12); }
.radar-screen::before { width: 1px; height: 100%; }
.radar-screen::after { width: 100%; height: 1px; }
.radar-ring { position: absolute; border: 1px solid rgba(101, 245, 211, 0.14); border-radius: 50%; }
.radar-ring--one { width: 58%; height: 58%; }
.radar-ring--two { width: 78%; height: 78%; }
.radar-sweep { position: absolute; top: 50%; left: 50%; width: 47%; height: 47%; border-radius: 100% 0 0; background: conic-gradient(from 270deg at 0 0, rgba(101, 245, 211, 0.3), transparent 38%); transform-origin: top left; animation: radar-spin 5s linear infinite; opacity: 0.65; }
@keyframes radar-spin { to { transform: rotate(360deg); } }
.radar-blip { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange); animation: blip 2.4s ease-in-out infinite; }
.blip--one { top: 27%; left: 66%; }
.blip--two { bottom: 24%; left: 29%; animation-delay: -1.2s; }
@keyframes blip { 50% { opacity: 0.2; transform: scale(0.6); } }
.radar-result { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 170px; height: 170px; padding: 20px; border: 1px solid rgba(101, 245, 211, 0.24); border-radius: 50%; background: rgba(6, 19, 22, 0.87); text-align: center; box-shadow: 0 0 50px rgba(101, 245, 211, 0.08); }
.radar-result.is-catching { animation: catch-flash 700ms ease; }
@keyframes catch-flash { 30% { box-shadow: 0 0 80px rgba(101, 245, 211, 0.34); transform: scale(1.06); } }
.pet-result-icon { color: var(--mint); font-size: 1.65rem; }
.radar-result strong { margin-top: 9px; font-size: 0.9rem; }
.radar-result small { margin-top: 5px; color: var(--muted-2); font-size: 0.65rem; line-height: 1.45; }
.energy-line { padding: 0 3px 2px; }
.energy-line > div:first-child { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted-2); font-size: 0.67rem; }
.energy-line strong { color: #b7ccca; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.energy-track { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.energy-track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); transition: width 260ms ease; }

.pet-dex { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(5, 15, 18, 0.42); }
.dex-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.dex-head > div:first-child { display: flex; align-items: baseline; gap: 9px; }
.dex-head span { color: var(--muted-2); font-size: 0.68rem; }
.dex-head strong { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.8rem; }
.dex-head b { color: var(--mint); }
.dex-progress { flex: 1; max-width: 260px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.dex-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-deep), var(--blue)); transition: width 500ms ease; }
.pet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pet-card { position: relative; min-height: 190px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(20, 43, 47, 0.6), rgba(7, 18, 22, 0.62)); overflow: hidden; transition: border-color 220ms ease, transform 220ms ease; }
.pet-card.is-owned:hover { border-color: rgba(101, 245, 211, 0.3); transform: translateY(-4px); }
.pet-card.is-locked { filter: saturate(0.15); }
.pet-card.is-new::after { position: absolute; top: 9px; right: 9px; padding: 4px 7px; border-radius: 999px; color: #0b211c; content: "NEW"; background: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.5rem; font-weight: 900; }
.pet-avatar { display: grid; place-items: center; height: 104px; margin-bottom: 11px; border-radius: 13px; background: radial-gradient(circle at 50% 38%, var(--pet-glow, rgba(101, 245, 211, 0.27)), rgba(7, 17, 21, 0.42) 70%); font-size: 3.5rem; text-shadow: 0 12px 28px rgba(0, 0, 0, 0.32); transition: filter 200ms ease; }
.pet-card.is-locked .pet-avatar { filter: grayscale(1) blur(8px); opacity: 0.35; }
.pet-card strong { display: block; font-size: 0.82rem; }
.pet-card small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 0.62rem; }
.pet-lock { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(234, 250, 247, 0.78); font-size: 1.35rem; }
.pet-card.is-owned .pet-lock { display: none; }
.rarity { position: absolute; right: 10px; bottom: 10px; color: var(--rarity, var(--mint)); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.54rem; font-weight: 800; }

.product-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.product-card { position: relative; min-height: 390px; padding: 24px; overflow: hidden; transition: transform 240ms ease, border-color 240ms ease; }
.product-card:hover { border-color: rgba(145, 205, 202, 0.3); transform: translateY(-6px); }
.product-card--wide { background: linear-gradient(145deg, rgba(17, 45, 47, 0.9), rgba(7, 18, 22, 0.92)); }
.product-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.64rem; }
.product-status { padding: 5px 8px; border: 1px solid rgba(101, 245, 211, 0.2); border-radius: 999px; color: var(--mint); background: rgba(101, 245, 211, 0.06); }
.product-status--soon { color: var(--orange); border-color: rgba(255, 174, 100, 0.2); background: rgba(255, 174, 100, 0.06); }
.product-status--live { color: var(--blue); border-color: rgba(121, 168, 255, 0.2); background: rgba(121, 168, 255, 0.06); }
.product-art { position: relative; height: 192px; margin: 28px 0 24px; border: 1px solid rgba(255, 255, 255, 0.055); border-radius: 18px; background: rgba(3, 11, 14, 0.4); overflow: hidden; }
.product-art--inspiration i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px rgba(101, 245, 211, 0.75); }
.product-art--inspiration i:nth-child(1) { top: 24%; left: 21%; }
.product-art--inspiration i:nth-child(2) { top: 63%; left: 67%; width: 6px; height: 6px; background: var(--blue); }
.product-art--inspiration i:nth-child(3) { top: 35%; right: 17%; width: 13px; height: 13px; background: var(--orange); }
.product-art--inspiration::before, .product-art--inspiration::after { position: absolute; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(101, 245, 211, 0.5), transparent); transform-origin: left; }
.product-art--inspiration::before { top: 29%; left: 24%; width: 58%; transform: rotate(28deg); }
.product-art--inspiration::after { top: 68%; left: 18%; width: 55%; transform: rotate(-18deg); }
.product-art--inspiration b { position: absolute; top: 50%; left: 50%; color: var(--mint); font-size: 2.5rem; text-shadow: 0 0 28px rgba(101, 245, 211, 0.6); transform: translate(-50%, -50%); }
.product-art--pixel { display: grid; grid-template-columns: repeat(3, 30px); grid-template-rows: repeat(3, 30px); place-content: center; gap: 5px; }
.product-art--pixel i { border-radius: 5px; background: rgba(185, 145, 255, 0.28); box-shadow: inset 0 0 15px rgba(185, 145, 255, 0.1); }
.product-art--pixel i:nth-child(1) { grid-column: 2; background: rgba(185, 145, 255, 0.85); }
.product-art--pixel i:nth-child(2) { grid-row: 2; }
.product-art--pixel i:nth-child(3) { grid-row: 2; background: rgba(101, 245, 211, 0.7); }
.product-art--pixel i:nth-child(4) { grid-row: 2; background: rgba(255, 174, 100, 0.7); }
.product-art--pixel i:nth-child(5) { grid-column: 2; grid-row: 3; }
.product-art--lab { display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: 70px 44px; place-content: center; gap: 8px; }
.product-art--lab i { border: 1px solid rgba(121, 168, 255, 0.36); border-radius: 8px; background: linear-gradient(145deg, rgba(121, 168, 255, 0.28), rgba(121, 168, 255, 0.04)); }
.product-art--lab i:nth-child(2) { transform: translateY(-13px); }
.product-art--lab b { grid-column: 1 / -1; align-self: center; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.2rem; text-align: center; }
.product-card h3 { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -0.03em; }
.product-card p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.75; }
.product-tags { position: absolute; right: 24px; bottom: 22px; left: 24px; display: flex; gap: 7px; }
.product-tags span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2); font-size: 0.59rem; }

.forum-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr); gap: 18px; }
.topic-panel { padding: 12px; }
.topic-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 5px 5px 15px; }
.topic-tabs { display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none; }
.topic-tabs::-webkit-scrollbar { display: none; }
.topic-tabs button { flex: 0 0 auto; padding: 9px 12px; border: 0; border-radius: 10px; color: var(--muted-2); background: transparent; cursor: pointer; font-size: 0.74rem; }
.topic-tabs button:hover, .topic-tabs button.is-active { color: var(--text); background: rgba(255, 255, 255, 0.055); }
.topic-tabs button.is-active { color: var(--mint); }
.topic-list { display: grid; gap: 7px; }
.topic-item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 105px; padding: 15px; border: 1px solid rgba(148, 203, 201, 0.08); border-radius: 16px; background: rgba(5, 15, 18, 0.38); transition: background 180ms ease, border-color 180ms ease; }
.topic-item:hover { border-color: rgba(148, 203, 201, 0.2); background: rgba(13, 29, 34, 0.6); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-size: 0.8rem; font-weight: 800; }
.avatar--blue { color: #b8d0ff; background: rgba(121, 168, 255, 0.17); }
.avatar--orange { color: #ffd1a4; background: rgba(255, 174, 100, 0.17); }
.avatar--green { color: #b4ffe8; background: rgba(101, 245, 211, 0.14); }
.topic-main { min-width: 0; }
.topic-main h3 { margin: 0; overflow: hidden; font-size: 0.91rem; text-overflow: ellipsis; white-space: nowrap; }
.topic-main p { margin: 7px 0; overflow: hidden; color: var(--muted-2); font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.topic-meta { display: flex; align-items: center; gap: 7px; color: #56716f; font-size: 0.59rem; }
.topic-meta i { width: 3px; height: 3px; border-radius: 50%; background: #3d5554; }
.topic-tag { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2); font-size: 0.58rem; white-space: nowrap; }
.topic-item.is-hidden { display: none; }
.forum-aside { display: grid; align-content: start; gap: 14px; }
.forum-aside > div { padding: 25px; }
.forum-aside h3 { margin: 10px 0 12px; font-size: 1.2rem; line-height: 1.42; }
.forum-aside p { margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.75; }
.online-row { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.68rem; }
.online-row strong { color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.aside-card--accent { background: linear-gradient(145deg, rgba(21, 52, 52, 0.92), rgba(10, 25, 29, 0.92)) !important; }
.aside-card--accent button { margin-top: 18px; padding: 0; border: 0; color: var(--mint); background: none; cursor: pointer; font-size: 0.76rem; font-weight: 800; }

.model-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr); gap: 18px; }
.model-stage { position: relative; display: grid; min-height: 570px; place-items: center; overflow: hidden; touch-action: none; cursor: grab; }
.model-stage:active { cursor: grabbing; }
.stage-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(101, 245, 211, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(101, 245, 211, 0.055) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(circle, black 12%, transparent 72%); transform: perspective(600px) rotateX(62deg) scale(1.5) translateY(25%); transform-origin: center bottom; }
.model-stage::after { position: absolute; bottom: 12%; left: 50%; width: 280px; height: 60px; border-radius: 50%; content: ""; background: rgba(0, 0, 0, 0.48); filter: blur(25px); transform: translateX(-50%); }
.stage-label { position: absolute; top: 22px; left: 24px; display: flex; flex-direction: column; z-index: 4; }
.stage-label span { color: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.58rem; letter-spacing: 0.14em; }
.stage-label strong { margin-top: 6px; font-size: 0.78rem; }
.cube-scene { position: relative; z-index: 3; width: 160px; height: 160px; perspective: 900px; }
.cube { position: relative; width: 160px; height: 160px; transform-style: preserve-3d; transform: rotateX(-22deg) rotateY(34deg); transition: transform 70ms linear; }
.cube-face { --face-color: var(--model-color, #65f5d3); position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(210, 255, 247, 0.58); border-radius: 10px; color: rgba(240, 255, 251, 0.92); background: linear-gradient(145deg, color-mix(in srgb, var(--face-color) 56%, transparent), color-mix(in srgb, var(--model-secondary, #1f6f78) 46%, rgba(4, 10, 12, 0.75))); box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.08), 0 0 24px color-mix(in srgb, var(--face-color) 18%, transparent); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; backface-visibility: visible; }
.cube-face span { font-size: 1.05rem; font-weight: 900; letter-spacing: 0.17em; }
.cube-face small { margin-top: 8px; color: rgba(239, 255, 251, 0.62); font-size: 0.56rem; letter-spacing: 0.14em; }
.cube-face--front { transform: rotateY(0deg) translateZ(80px); }
.cube-face--back { transform: rotateY(180deg) translateZ(80px); }
.cube-face--right { transform: rotateY(90deg) translateZ(80px); }
.cube-face--left { transform: rotateY(-90deg) translateZ(80px); }
.cube-face--top { transform: rotateX(90deg) translateZ(80px); }
.cube-face--bottom { transform: rotateX(-90deg) translateZ(80px); }
.drag-hint { position: absolute; bottom: 24px; left: 50%; z-index: 4; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2); background: rgba(4, 12, 15, 0.62); font-size: 0.62rem; transform: translateX(-50%); backdrop-filter: blur(8px); }
.model-browser { padding: 16px; }
.model-browser-head { display: flex; justify-content: space-between; padding: 8px 7px 17px; color: var(--muted-2); font-size: 0.67rem; }
.model-browser-head strong { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.62rem; }
.model-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; margin-bottom: 8px; padding: 11px; border: 1px solid rgba(148, 203, 201, 0.09); border-radius: 15px; color: inherit; background: rgba(5, 15, 18, 0.4); cursor: pointer; text-align: left; transition: border-color 180ms ease, background 180ms ease; }
.model-item:hover, .model-item.is-active { border-color: rgba(101, 245, 211, 0.3); background: rgba(17, 38, 42, 0.68); }
.model-thumb { display: block; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px; background: linear-gradient(145deg, rgba(101, 245, 211, 0.75), rgba(25, 90, 93, 0.32)); transform: rotate(8deg); box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.09); }
.model-thumb--two { background: linear-gradient(145deg, rgba(255, 174, 100, 0.78), rgba(119, 61, 40, 0.36)); transform: rotate(-8deg); }
.model-thumb--three { background: linear-gradient(145deg, rgba(121, 168, 255, 0.78), rgba(47, 63, 117, 0.36)); transform: rotate(4deg); }
.model-item span:nth-child(2) { min-width: 0; }
.model-item strong, .model-item small { display: block; }
.model-item strong { font-size: 0.8rem; }
.model-item small { margin-top: 5px; color: var(--muted-2); font-size: 0.6rem; }
.model-item i { color: var(--muted-2); font-style: normal; }
.model-note { margin: 17px 7px 3px; color: var(--muted-2); font-size: 0.68rem; line-height: 1.7; }

.join-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(28px, 5vw, 54px); background: radial-gradient(circle at 90% 10%, rgba(101, 245, 211, 0.12), transparent 20rem), linear-gradient(145deg, rgba(18, 43, 46, 0.92), rgba(8, 19, 23, 0.94)); }
.join-panel > div:first-child { max-width: 720px; }
.join-panel p { margin: 18px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.8; }
.join-actions { flex: 0 0 auto; margin-top: 0; }
.site-footer { margin-top: 112px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 120px; }
.footer-inner p, .footer-inner > a { color: var(--muted-2); font-size: 0.68rem; }
.footer-inner > a:hover { color: var(--mint); }

.topic-dialog { width: min(520px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; color: var(--text); background: #0b1a1f; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62); }
.topic-dialog::backdrop { background: rgba(1, 6, 8, 0.74); backdrop-filter: blur(8px); }
.topic-dialog form { padding: 25px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.dialog-head h3 { margin: 7px 0 0; font-size: 1.35rem; }
.dialog-head > button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(255, 255, 255, 0.03); cursor: pointer; font-size: 1.2rem; }
.topic-dialog label { display: block; margin-bottom: 15px; color: #a9bfbd; font-size: 0.72rem; font-weight: 700; }
.topic-dialog input, .topic-dialog select, .topic-dialog textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 12px; outline: none; color: var(--text); background: rgba(3, 12, 15, 0.72); font-size: 0.8rem; transition: border-color 180ms ease, box-shadow 180ms ease; }
.topic-dialog input, .topic-dialog select { height: 45px; padding: 0 13px; }
.topic-dialog textarea { min-height: 110px; padding: 12px 13px; resize: vertical; }
.topic-dialog input:focus, .topic-dialog select:focus, .topic-dialog textarea:focus { border-color: rgba(101, 245, 211, 0.46); box-shadow: 0 0 0 3px rgba(101, 245, 211, 0.07); }

.toast { position: fixed; bottom: 24px; left: 50%; z-index: 100; max-width: calc(100% - 32px); padding: 12px 17px; border: 1px solid rgba(101, 245, 211, 0.28); border-radius: 12px; color: #dffff7; background: rgba(9, 28, 29, 0.94); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); font-size: 0.75rem; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity 200ms ease, transform 200ms ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

.hub-card--network { --card-glow: rgba(121, 168, 255, 0.18); }
.hub-card--network .hub-icon { color: #9cc0ff; border-color: rgba(121, 168, 255, 0.26); background: rgba(121, 168, 255, 0.08); }
.hub-card:nth-child(6) { grid-column: span 12; min-height: 220px; }

.network-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15, 32, 37, 0.88), rgba(8, 19, 23, 0.9));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.19);
}

.network-copy,
.network-access {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 15, 18, 0.5);
}

.network-copy { padding: clamp(24px, 4vw, 42px); }
.network-copy h3 { max-width: 620px; margin: 18px 0 14px; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.12; letter-spacing: -0.045em; }
.network-copy > p { max-width: 680px; margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.85; }
.network-live { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; }
.network-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 15px var(--mint); }
.network-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.network-features span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255, 255, 255, 0.02); font-size: 0.67rem; }

.network-access { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px; }
.access-lock { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border: 1px solid rgba(121, 168, 255, 0.26); border-radius: 17px; color: var(--blue); background: rgba(121, 168, 255, 0.08); }
.access-lock svg { width: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.network-access h3 { margin: 10px 0 10px; font-size: 1.35rem; letter-spacing: -0.03em; }
.network-access p { margin: 0 0 22px; color: var(--muted); font-size: 0.76rem; line-height: 1.7; }
.network-access p strong { color: var(--mint); }
.snake-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(101, 245, 211, 0.19);
  border-radius: var(--radius);
  background: radial-gradient(circle at 86% 34%, rgba(101, 245, 211, 0.18), transparent 19rem), linear-gradient(135deg, rgba(20, 51, 50, 0.92), rgba(9, 23, 27, 0.94));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}
.snake-entry-copy { position: relative; z-index: 2; }
.snake-entry-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; }
.snake-entry-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 15px var(--mint); }
.snake-entry h3 { margin: 14px 0 10px; font-size: clamp(1.75rem, 3.5vw, 2.8rem); letter-spacing: -0.045em; }
.snake-entry p { max-width: 660px; margin: 0 0 24px; color: var(--muted); font-size: 0.84rem; line-height: 1.8; }
.snake-entry-art { position: relative; height: 180px; }
.snake-entry-art span { position: absolute; display: block; border: 3px solid rgba(255, 255, 255, 0.55); border-radius: 50%; background: linear-gradient(145deg, #8ff4d8, #43bda1); box-shadow: 0 10px 26px rgba(25, 119, 101, 0.25), inset 5px 5px 10px rgba(255, 255, 255, 0.26); }
.snake-entry-art span:nth-child(1) { right: 20px; bottom: 16px; width: 74px; height: 74px; z-index: 6; }
.snake-entry-art span:nth-child(2) { right: 76px; bottom: 34px; width: 58px; height: 58px; z-index: 5; }
.snake-entry-art span:nth-child(3) { right: 122px; bottom: 54px; width: 50px; height: 50px; z-index: 4; }
.snake-entry-art span:nth-child(4) { right: 150px; bottom: 98px; width: 45px; height: 45px; z-index: 3; }
.snake-entry-art span:nth-child(5) { right: 112px; bottom: 126px; width: 40px; height: 40px; z-index: 2; }
.snake-entry-art span:nth-child(6) { right: 63px; bottom: 132px; width: 36px; height: 36px; z-index: 1; }
.snake-entry-art b { position: absolute; right: 31px; bottom: 25px; z-index: 8; font-size: 2rem; filter: drop-shadow(0 5px 10px rgba(0,0,0,.24)); transform: rotate(12deg); }
.topic-item { align-items: flex-start; }
.topic-loading { padding: 52px 20px; color: var(--muted-2); font-size: .76rem; text-align: center; }
.topic-avatar { width: 42px; height: 42px; flex: 0 0 auto; overflow: hidden; }
.topic-avatar img { display:block; width:100%; height:100%; object-fit:cover; }
.topic-avatar.random { display:grid; place-items:center; color:#0a211b; background:var(--avatar-bg, rgba(101,245,211,.2)); font-size:1.15rem; }
.topic-avatar.initial { display:grid; place-items:center; color:#b4ffe8; background:rgba(101,245,211,.14); }
.topic-actions { display:flex; align-items:center; gap:10px; margin-top:10px; }
.reply-toggle { padding:0; border:0; color:var(--mint); background:none; cursor:pointer; font-size:.66rem; font-weight:800; }
.reply-list { display:grid; gap:7px; margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.reply-item { display:grid; grid-template-columns:auto minmax(0,1fr); gap:9px; padding:9px 10px; border-radius:12px; background:rgba(255,255,255,.026); }
.reply-avatar { display:grid; place-items:center; width:28px; height:28px; border-radius:9px; color:#0a211b; background:var(--avatar-bg, rgba(101,245,211,.2)); font-size:.85rem; overflow:hidden; }
.reply-avatar img { width:100%; height:100%; object-fit:cover; }
.reply-avatar.random { background:var(--avatar-bg); }
.reply-avatar.initial { color:#b4ffe8; background:rgba(101,245,211,.14); }
.reply-body { min-width:0; }
.reply-body strong { display:block; font-size:.66rem; }
.reply-body p { margin:4px 0 0; color:#a9bebc; font-size:.68rem; line-height:1.55; white-space:normal; }
.reply-meta { margin-top:4px; color:var(--muted-2); font-size:.56rem; }
.reply-form { display:none; gap:6px; margin-top:10px; }
.reply-form.is-open { display:grid; }
.reply-form textarea { width:100%; min-height:68px; padding:10px; border:1px solid var(--line); border-radius:10px; outline:none; color:var(--text); background:rgba(3,12,15,.72); font-size:.72rem; resize:vertical; }
.reply-form textarea:focus { border-color:rgba(101,245,211,.46); box-shadow:0 0 0 3px rgba(101,245,211,.07); }
.reply-form button { justify-self:start; }

.avatar-field { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:10px; margin-bottom:15px; padding:10px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.025); }
.avatar-preview { display:grid; place-items:center; width:52px; height:52px; border-radius:15px; color:#0b211c; background:rgba(101,245,211,.2); font-size:1.2rem; overflow:hidden; }
.avatar-preview img { width:100%; height:100%; object-fit:cover; }
.avatar-field-copy { min-width:0; }
.avatar-field-copy strong, .avatar-field-copy small { display:block; }
.avatar-field-copy strong { font-size:.74rem; }
.avatar-field-copy small { margin-top:4px; color:var(--muted-2); font-size:.6rem; line-height:1.4; }
.avatar-field .button { grid-column:span 1; }
.avatar-field #topic-avatar-pick { grid-column:2; }
.avatar-field #topic-avatar-random { grid-column:2; justify-self:start; }@media (max-width: 1020px) {
  .network-panel { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; text-align: center; }
  .hero-copy { max-width: 780px; margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-stats > div { align-items: center; padding-inline: 22px; }
  .hero-stats > div + div { padding-left: 22px; }
  .hero-visual { min-height: 570px; }
  .game-layout, .forum-layout, .model-layout { grid-template-columns: 1fr; }
  .game-info { min-height: 340px; }
  .score-note { margin-top: 28px; }
  .pet-lab { grid-template-columns: 0.82fr 1.18fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card--wide { grid-column: span 2; }
  .product-card:last-child { grid-column: span 2; }
  .product-card:last-child .product-art { max-width: 420px; }
  .forum-aside { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .snake-entry { grid-template-columns: 1fr; padding: 24px; }
  .snake-entry-art { height: 130px; }
  .snake-entry-art span:nth-child(n) { transform: scale(.82); transform-origin: center; }
  .network-copy h3 { font-size: 2rem; }
  .network-access { padding: 23px; }
  .hub-card:nth-child(6) { grid-column: span 12; }
  .shell { width: min(100% - 28px, 620px); }
  .section { margin-top: 92px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading p { width: 100%; margin-top: 14px; }
  .section-heading h2, .join-panel h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; right: 14px; left: 14px; display: grid; gap: 3px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(7, 17, 21, 0.97); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav > a { padding: 12px 14px; }
  .site-nav .nav-cta { margin: 3px 0 0; text-align: center; }
  .hero { min-height: auto; padding-top: 116px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.5rem); }
  .hero-lead { font-size: 0.94rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .button { min-width: 0; padding-inline: 12px; font-size: 0.82rem; }
  .hero-stats { margin-top: 36px; }
  .hero-stats > div { min-width: 88px; padding: 0 13px; }
  .hero-stats > div + div { padding-left: 13px; }
  .hero-stats strong { font-size: 1.1rem; }
  .hero-visual { min-height: 470px; margin-top: 24px; }
  .orbit--outer { width: 430px; height: 430px; }
  .orbit--inner { width: 310px; height: 310px; }
  .core-card { width: min(300px, calc(100vw - 54px)); }
  .starlit-cube { height: 210px; }
  .floating-chip { min-width: 0; padding: 9px 10px; }
  .floating-chip small { display: none; }
  .floating-chip strong { margin-top: 0; font-size: 0.66rem; }
  .floating-chip--game { top: 10%; left: -5px; }
  .floating-chip--pet { top: 44%; right: -5px; }
  .floating-chip--model { bottom: 7%; left: -2px; }
  .hub-card, .hub-card:nth-child(4), .hub-card:nth-child(5) { grid-column: span 12; min-height: 230px; }
  .hub-card h3 { margin-top: 30px; }
  .game-console { padding: 9px; border-radius: 18px; }
  .game-hud { grid-template-columns: 1fr 1fr; }
  .game-hud > div:last-child { grid-column: span 2; }
  .game-overlay { padding: 18px; }
  .game-overlay p { display: none; }
  .game-info { min-height: auto; padding: 23px; }
  .pet-lab { grid-template-columns: 1fr; padding: 10px; }
  .pet-radar { padding: 10px; }
  .radar-screen { min-height: 330px; }
  .pet-grid { grid-template-columns: repeat(2, 1fr); }
  .pet-card { min-height: 180px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card--wide, .product-card:last-child { grid-column: auto; }
  .product-card { min-height: 360px; }
  .topic-toolbar { display: block; }
  .topic-tabs { margin-bottom: 10px; }
  .topic-toolbar .button { width: 100%; }
  .topic-item { grid-template-columns: auto minmax(0, 1fr); }
  .topic-tag { display: none; }
  .topic-main h3 { font-size: 0.82rem; }
  .forum-aside { grid-template-columns: 1fr; }
  .model-stage { min-height: 440px; }
  .model-browser { padding: 11px; }
  .join-panel { display: block; }
  .join-actions { margin-top: 26px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; min-height: auto; padding: 28px 0; }
  .footer-inner .brand { grid-column: 1 / -1; }
  .footer-inner p { margin: 4px 0 0; }
}

@media (max-width: 430px) {
  .hero-actions { grid-template-columns: 1fr; }
  .hero-stats > div { min-width: 77px; padding-inline: 9px; }
  .hero-stats > div + div { padding-left: 9px; }
  .hero-stats span { font-size: 0.62rem; }
  .orbit--outer { width: 360px; height: 360px; }
  .orbit--inner { width: 270px; height: 270px; }
  .floating-chip--game { top: 4%; }
  .floating-chip--pet { top: 42%; }
  .floating-chip--model { bottom: 2%; }
  .radar-screen { min-height: 300px; }
  .radar-result { width: 150px; height: 150px; }
  .dex-head { display: block; }
  .dex-progress { max-width: none; margin-top: 12px; }
  .pet-card { min-height: 166px; padding: 10px; }
  .pet-avatar { height: 90px; font-size: 3rem; }
  .topic-tabs button { padding-inline: 10px; }
  .topic-item { gap: 10px; padding: 12px; }
  .avatar { width: 37px; height: 37px; }
  .model-stage { min-height: 390px; }
  .cube-scene, .cube { width: 130px; height: 130px; }
  .cube-face--front { transform: rotateY(0deg) translateZ(65px); }
  .cube-face--back { transform: rotateY(180deg) translateZ(65px); }
  .cube-face--right { transform: rotateY(90deg) translateZ(65px); }
  .cube-face--left { transform: rotateY(-90deg) translateZ(65px); }
  .cube-face--top { transform: rotateX(90deg) translateZ(65px); }
  .cube-face--bottom { transform: rotateX(-90deg) translateZ(65px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
