@font-face {
  font-family: "Smiley Sans";
  src: url("assets/fonts/smiley-sans.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Hubot Sans";
  src: url("assets/fonts/hubot-sans-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Hubot Sans Condensed";
  src: url("assets/fonts/hubot-sans-condensed-bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  color-scheme: light;
  --page: #f4f5f7;
  --paper: #ffffff;
  --ink: #111318;
  --ink-soft: #343842;
  --muted: #6b707b;
  --line: rgba(17, 19, 24, 0.11);
  --line-strong: rgba(17, 19, 24, 0.2);
  --blue: #0b68d8;
  --blue-soft: #dfeeff;
  --oxide: #b84f3b;
  --copper: #c89652;
  --green: #35d58b;
  --lab: #020304;
  --lab-panel: rgba(255, 255, 255, 0.055);
  --lab-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 90px rgba(17, 19, 24, 0.13);
  --shadow-soft: 0 18px 60px rgba(17, 19, 24, 0.08);
  --max: 1180px;
  --wide: 1260px;
  --display: "Aptos Display", "SF Pro Display", "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --body: "Aptos", "Inter", "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --utility: "SFMono-Regular", "Cascadia Code", "Consolas", monospace;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--body);
  letter-spacing: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.028) 1px, transparent 1px) center top / 96px 96px,
    linear-gradient(180deg, #fbfbfd 0%, #f4f5f7 520px, #ffffff 1280px, #f5f6f8 100%);
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 4px;
  color: #ffffff;
  background: #111318;
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  transform: none;
}

body::selection {
  color: #ffffff;
  background: var(--blue);
}

img {
  display: block;
  max-width: 100%;
}

video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

:where(a, button, input, select, textarea, summary, label) {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
canvas:focus-visible,
video:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.is-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-page::before,
.case-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(11, 104, 216, 0.07), transparent 34%),
    linear-gradient(245deg, rgba(184, 79, 59, 0.055), transparent 32%),
    linear-gradient(180deg, transparent 0 68%, rgba(17, 19, 24, 0.045));
}

/* Shared Shell */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 0;
  padding-right: max(18px, env(safe-area-inset-right), calc((100vw - var(--wide)) / 2));
  padding-left: max(18px, env(safe-area-inset-left), calc((100vw - var(--wide)) / 2));
  color: rgba(17, 19, 24, 0.86);
  background: rgba(251, 251, 253, 0.72);
  border-bottom: 1px solid rgba(17, 19, 24, 0.075);
  backdrop-filter: saturate(1.18) blur(24px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 251, 253, 0.9);
  box-shadow: 0 12px 40px rgba(17, 19, 24, 0.065);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: 5px 5px 0 var(--blue), -5px -5px 0 rgba(17, 19, 24, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  font-size: 13px;
  color: rgba(17, 19, 24, 0.7);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(17, 19, 24, 0.075);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(17, 19, 24, 0.045);
}

.site-nav a {
  line-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(17, 19, 24, 0.055);
}

.eyebrow,
.card-label {
  margin: 0 0 18px;
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--blue);
  text-transform: uppercase;
}

.card-label {
  margin-bottom: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  font-size: 17px;
  font-weight: 740;
  color: var(--blue);
}

.text-link span {
  font-size: 16px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.text-link.light {
  color: #80c7ff;
}

.section,
.games-section,
.experiment-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.about-copy h2,
.lab-preview-copy h2,
.signal-copy h2,
.section-heading.dark h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 52px;
  line-height: 1.07;
  font-weight: 820;
}

.section-heading p:not(.eyebrow),
.lab-preview-copy p,
.about-text p,
.signal-copy p,
.lab-hero-copy p {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.74;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 740;
}

.friend-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.friend-links span {
  color: var(--muted);
}

.friend-links a {
  font-weight: 650;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.friend-links a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

/* Home */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(28px, 3.4vw, 54px);
  align-items: center;
  max-width: var(--wide);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 92px 24px 58px;
  overflow: hidden;
  text-align: left;
}

.hero::after {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(17, 19, 24, 0.18), transparent);
}

.hero-copy-block {
  position: relative;
  z-index: 2;
  max-width: 620px;
  min-width: 0;
}

.hero h1 {
  display: flex;
  align-items: baseline;
  overflow: hidden;
  max-width: 620px;
  margin: 0;
  padding: 0.06em 0.04em 0.1em;
  font-family: var(--display);
  font-size: 120px;
  line-height: 1;
  font-weight: 850;
}

.hero-title-letter {
  display: inline-block;
  transform-origin: 50% 100%;
}

.hero-kicker {
  max-width: 600px;
  margin: 28px 0 0;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 720;
  color: var(--ink-soft);
}

.hero-copy {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.72;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
  padding: 8px;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 720;
  color: rgba(17, 19, 24, 0.62);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-dock span,
.hero-status span {
  overflow: hidden;
  min-width: 0;
  padding: 10px 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: rgba(244, 245, 247, 0.72);
  border-radius: 6px;
}

.hero-dock strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  transform-style: preserve-3d;
  transition: transform 320ms ease;
}

.hero-visual::before {
  position: absolute;
  inset: 7% 5% auto;
  height: 40%;
  content: "";
  background: linear-gradient(90deg, rgba(11, 104, 216, 0), rgba(11, 104, 216, 0.2), rgba(184, 79, 59, 0.12), rgba(11, 104, 216, 0));
  filter: blur(36px);
  transform: translateZ(-1px);
}

.hero-visual img,
.lab-preview-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-visual img {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-status {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 700;
  color: rgba(17, 19, 24, 0.64);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 40px rgba(17, 19, 24, 0.09);
}

.hero-status span {
  padding: 7px 8px;
}

.hero-loop-backdrop {
  position: absolute;
  top: 58px;
  bottom: 0;
  left: 50%;
  z-index: -3;
  width: 100vw;
  overflow: hidden;
  border-radius: 0;
  background: #edf2f9;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 82%, rgba(0, 0, 0, 0.72) 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 82%, rgba(0, 0, 0, 0.72) 89%, transparent 100%);
  transform: translateX(-50%);
}

.hero-loop-backdrop iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: blur(3px) saturate(96%);
  pointer-events: none;
  transform: scale(1.008);
}

.hero-glass-field {
  position: absolute;
  top: 58px;
  bottom: 0;
  left: 50%;
  z-index: -2;
  width: 100vw;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 28% 30%, rgba(255, 255, 255, 0.38), transparent 48%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 48%, rgba(246, 249, 255, 0.04) 100%);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 80%, rgba(0, 0, 0, 0.68) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 80%, rgba(0, 0, 0, 0.68) 88%, transparent 100%);
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-glass-field::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 34%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 58%);
  pointer-events: none;
}

.ambient-hero::before {
  position: absolute;
  top: 58px;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  border-radius: 0;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
  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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 80%, transparent 100%);
  transform: translateX(-50%);
}

.ambient-hero {
  overflow: visible;
}

.ambient-hero::after {
  display: none;
}

.ambient-hero .hero-copy-block {
  max-width: 650px;
  padding-left: clamp(24px, 3vw, 46px);
  pointer-events: none;
}

.ambient-hero .hero-actions a {
  pointer-events: auto;
}

.ambient-hero .hero-kicker {
  max-width: 570px;
}

.ambient-hero .hero-copy {
  max-width: 520px;
  color: rgba(32, 40, 56, 0.62);
}

.ambient-hero .hero-actions .text-link {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.loop-controller {
  position: relative;
  z-index: 3;
  width: min(560px, 100%);
  min-height: 320px;
  justify-self: end;
  margin-right: clamp(16px, 2.4vw, 36px);
  padding: 15px 18px 13px;
  overflow: hidden;
  color: rgba(28, 40, 62, 0.58);
  background:
    radial-gradient(ellipse at 50% 52%, rgba(255, 255, 255, 0.82), rgba(229, 237, 250, 0.5) 56%, rgba(218, 229, 247, 0.4) 100%),
    #edf3fb;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  box-shadow:
    0 18px 46px rgba(62, 82, 122, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(75, 96, 138, 0.06);
  backdrop-filter: blur(24px) saturate(128%);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.loop-controller.is-tracking {
  border-color: rgba(61, 111, 220, 0.38);
  box-shadow:
    0 20px 50px rgba(56, 87, 154, 0.16),
    0 0 0 3px rgba(73, 118, 220, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.loop-controller-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 3px 7px;
  font-family: var(--utility);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.loop-controller-head span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 1px 0;
  content: "";
  border-radius: 50%;
  background: #286bd8;
  box-shadow: 0 0 10px rgba(40, 107, 216, 0.45);
}

.loop-controller-head em {
  color: rgba(34, 50, 82, 0.38);
  font-style: normal;
}

.loop-controller iframe {
  display: block;
  width: 100%;
  height: 238px;
  border: 0;
  background: transparent;
  cursor: crosshair;
}

.loop-controller-hint {
  margin: -1px 2px 1px;
  font-family: var(--utility);
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
  color: rgba(35, 49, 74, 0.38);
}

.section-soft {
  position: relative;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), #ffffff 62%),
    var(--paper);
}

.section-soft::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.035) 1px, transparent 1px) center / 88px 88px,
    radial-gradient(circle at 12% 24%, rgba(11, 104, 216, 0.07), transparent 30%);
}

.section-soft > .section-heading,
.section-soft > .work-grid {
  position: relative;
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.work-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-column: span 6;
  min-height: 500px;
  overflow: hidden;
  color: inherit;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.project-card {
  color: inherit;
}

.work-card:nth-child(1),
.work-card:nth-child(4) {
  grid-column: span 7;
}

.work-card:nth-child(2),
.work-card:nth-child(3) {
  grid-column: span 5;
}

.work-card::before {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--blue);
  border-radius: 3px;
  box-shadow: 15px 0 0 rgba(17, 19, 24, 0.12), 30px 0 0 rgba(184, 79, 59, 0.28);
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 104, 216, 0.22);
  box-shadow: 0 24px 76px rgba(17, 19, 24, 0.12);
}

.work-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
}

.work-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0 40%, rgba(255, 255, 255, 0.62) 50%, transparent 60% 100%);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 220ms ease, transform 700ms ease;
}

.work-card:hover .work-media::after {
  opacity: 1;
  transform: translateX(55%);
}

.project-shot {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 8%, rgba(16, 43, 47, 0.18), transparent 42%),
    linear-gradient(135deg, #edf3f2, #dbe5e3);
}

.project-shot img {
  width: min(210px, 72%);
  height: 246px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(16, 43, 47, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(16, 43, 47, 0.2);
}

.codexbar-shot {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 174, 48, 0.18), transparent 42%),
    linear-gradient(135deg, #eef2f6, #dce3ea);
}

.codexbar-shot img {
  width: min(210px, 78%);
  height: auto;
  max-height: 246px;
  object-fit: contain;
  background: #eef2f6;
}

.pet-player-shot {
  background:
    radial-gradient(circle at 32% 42%, rgba(55, 218, 146, 0.24), transparent 44%),
    linear-gradient(135deg, #f4f8fb, #dcebe6);
}

.pet-player-shot img {
  width: min(330px, 86%);
  height: auto;
  max-height: 246px;
  object-fit: contain;
  background: transparent;
  border-color: rgba(26, 42, 52, 0.12);
}

.watch-shot {
  background:
    radial-gradient(circle at 50% 42%, rgba(46, 156, 255, 0.28), transparent 42%),
    linear-gradient(135deg, #eef4f7, #dce7ea);
}

.watch-shot img {
  width: min(220px, 78%);
  height: auto;
  max-height: 246px;
  object-fit: contain;
  border-color: rgba(3, 6, 7, 0.12);
  border-radius: 50%;
  background: #030607;
  box-shadow: 0 18px 48px rgba(3, 6, 7, 0.24);
}

.card-copy {
  padding: 28px;
}

.work-card h3,
.experiment-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.2;
}

.work-card p:not(.card-label),
.experiment-card p:not(.card-label) {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
}

.card-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 22px 0 0;
  padding: 16px 0 0;
  list-style: none;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 720;
  color: rgba(17, 19, 24, 0.62);
  border-top: 1px solid rgba(17, 19, 24, 0.09);
}

.card-scope li {
  position: relative;
  padding-left: 10px;
}

.card-scope li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--blue);
  border-radius: 1px;
}

.notes-section {
  position: relative;
}

.notes-list {
  border-top: 1px solid var(--line);
}

.note-row {
  display: grid;
  grid-template-columns: 108px 1fr 88px;
  align-items: center;
  min-height: 86px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.note-row:hover {
  padding-left: 12px;
  padding-right: 12px;
  color: var(--blue);
  background: rgba(11, 104, 216, 0.035);
}

.note-row strong {
  font-size: 21px;
  line-height: 1.3;
}

.note-row span {
  color: var(--muted);
  font-size: 14px;
}

.note-date {
  font-family: var(--utility);
  font-weight: 700;
}

.lab-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 1.28fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: 104px max(24px, calc((100vw - var(--max)) / 2));
  color: #f5f7fb;
  background:
    radial-gradient(circle at 74% 18%, rgba(18, 104, 214, 0.22), transparent 28%),
    linear-gradient(180deg, #030407, #060910);
}

.lab-preview::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(53, 213, 139, 0.08));
}

.lab-preview-copy,
.lab-preview-media {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lab-preview-copy .eyebrow,
.lab-page .eyebrow {
  color: var(--green);
}

.lab-preview-copy p {
  color: rgba(245, 247, 251, 0.68);
}

.lab-preview-media img {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.about-section::before {
  position: absolute;
  top: 118px;
  left: 24px;
  width: 42px;
  height: 3px;
  content: "";
  background: var(--oxide);
  border-radius: 3px;
}

.about-text {
  padding-top: 12px;
}

/* Case Pages */

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: 64px;
  align-items: center;
  max-width: var(--wide);
  min-height: 100vh;
  margin: 0 auto;
  padding: 118px 24px 54px;
}

.case-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: 82px;
  line-height: 0.98;
  font-weight: 850;
}

.case-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.75;
  color: var(--muted);
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 30px;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 760;
  color: rgba(17, 19, 24, 0.68);
}

.case-meta span,
.case-points article,
.detail-list article,
.case-flow article,
.case-evidence-grid article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 48px rgba(17, 19, 24, 0.055);
  backdrop-filter: blur(18px);
}

.case-meta span {
  overflow: hidden;
  min-width: 0;
  padding: 11px 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-device {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
}

.case-device::before {
  position: absolute;
  width: 68%;
  height: 80%;
  content: "";
  background: rgba(16, 43, 47, 0.18);
  filter: blur(42px);
}

.case-device img {
  position: relative;
  width: min(330px, 100%);
  height: auto;
  border: 1px solid rgba(16, 43, 47, 0.16);
  border-radius: 8px;
  box-shadow: 0 34px 110px rgba(16, 43, 47, 0.24);
}

.desktop-device::before {
  width: 76%;
  height: 70%;
  background: rgba(255, 174, 48, 0.2);
}

.desktop-device img {
  width: min(350px, 100%);
  background: #eef2f6;
}

.pet-device::before {
  width: 86%;
  height: 64%;
  background: rgba(55, 218, 146, 0.22);
}

.pet-device img {
  width: min(430px, 100%);
  background: #eef6f2;
  object-fit: contain;
}

.watch-device::before {
  width: 82%;
  height: 82%;
  background: rgba(46, 156, 255, 0.2);
}

.watch-device img {
  width: min(360px, 100%);
  border-radius: 50%;
  background: #030607;
  object-fit: contain;
}

.case-summary {
  padding-top: 84px;
}

.case-points,
.case-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-points article,
.detail-list article,
.case-flow article,
.case-evidence-grid article {
  padding: 26px;
}

.case-points span,
.case-flow span,
.case-evidence-grid span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--blue);
  text-transform: uppercase;
}

.case-points span {
  margin-bottom: 28px;
  font-size: 12px;
}

.case-points h3,
.detail-list h3,
.case-flow h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.2;
}

.case-points p,
.detail-list p,
.case-flow p {
  margin: 13px 0 0;
  font-size: 16px;
  line-height: 1.68;
  color: var(--muted);
}

.case-process,
.case-details {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.case-process-head {
  position: sticky;
  top: 92px;
}

.case-process-head h2,
.case-details h2 {
  max-width: 560px;
  margin: 0;
  font-family: var(--display);
  font-size: 48px;
  line-height: 1.08;
}

.case-process-head p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.case-flow,
.detail-list {
  display: grid;
  gap: 14px;
}

.case-evidence {
  padding-top: 32px;
}

.case-evidence-grid strong {
  display: block;
  font-size: 18px;
  font-weight: 680;
  line-height: 1.55;
  color: var(--ink-soft);
}

.case-next {
  grid-template-columns: minmax(280px, 0.9fr) minmax(220px, 0.5fr);
}

.case-next .lab-preview-media {
  display: grid;
  place-items: center;
}

.case-next .lab-preview-media img {
  width: min(250px, 100%);
  max-height: 540px;
  object-fit: cover;
  object-position: top;
}

.case-next .desktop-preview-media img {
  width: min(320px, 100%);
  max-height: none;
  object-fit: contain;
}

.case-next .pet-preview-media img {
  width: min(430px, 100%);
  max-height: none;
  object-fit: contain;
}

.case-page code {
  padding: 0.12em 0.38em;
  overflow-wrap: anywhere;
  font-family: var(--utility);
  font-size: 0.88em;
  color: var(--ink-soft);
  background: rgba(17, 19, 24, 0.055);
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 4px;
}

.case-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 26px;
}

.case-next-actions .text-link {
  margin: 0;
}

.watch-preview-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.case-next .watch-preview-row img {
  width: min(146px, 31%);
  max-height: none;
  object-fit: contain;
  border-radius: 50%;
  background: #030607;
}

/* Codex Watch — system case study */

.watch-sync-section,
.watch-state-section,
.watch-future-section {
  padding-top: 72px;
  padding-bottom: 112px;
}

.watch-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 44px;
}

.watch-section-intro.compact {
  margin-bottom: 34px;
}

.watch-section-intro h2 {
  max-width: 730px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 840;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.watch-section-intro > p {
  max-width: 520px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
  text-wrap: pretty;
}

.watch-section-intro code,
.sync-node code,
.freshness-row code {
  font-family: var(--utility);
}

.watch-section-intro code {
  color: var(--blue);
  font-size: 0.92em;
  font-weight: 740;
}

.sync-board {
  overflow: hidden;
  margin: 0;
  color: #eaf3ff;
  background:
    radial-gradient(circle at 78% 12%, rgba(11, 104, 216, 0.3), transparent 31%),
    linear-gradient(145deg, #0b111a 0%, #07101b 48%, #071824 100%);
  border: 1px solid rgba(101, 178, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 34px 100px rgba(7, 22, 35, 0.25);
}

.sync-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  padding: 0 22px;
  font-family: var(--utility);
  border-bottom: 1px solid rgba(132, 192, 255, 0.14);
}

.sync-board-head div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sync-board-head strong {
  font-size: 12px;
  letter-spacing: 0.025em;
}

.sync-board-head > span {
  color: rgba(215, 232, 249, 0.52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-dot,
.state-light,
.tile-mock > span i {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  background: #5cdf9f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(92, 223, 159, 0.1), 0 0 18px rgba(92, 223, 159, 0.65);
}

.sync-map {
  display: grid;
  grid-template-columns: minmax(150px, 0.82fr) 18px minmax(180px, 1fr) 18px minmax(205px, 1.12fr) 18px minmax(165px, 0.9fr);
  gap: 10px;
  align-items: stretch;
  padding: 34px 22px 30px;
}

.sync-node,
.route-card {
  border: 1px solid rgba(145, 199, 255, 0.16);
}

.sync-node {
  display: flex;
  min-width: 0;
  padding: 18px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sync-index,
.future-feature > span,
.future-copy > span {
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sync-index {
  margin-bottom: 22px;
  color: #68b8ff;
}

.sync-node > strong {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.18;
}

.sync-node p {
  margin: 10px 0 18px;
  color: rgba(223, 238, 252, 0.59);
  font-size: 12px;
  line-height: 1.62;
}

.sync-node small {
  margin-top: auto;
  color: rgba(223, 238, 252, 0.42);
  font-family: var(--utility);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sync-node code {
  display: block;
  margin-top: 13px;
  padding: 9px 10px;
  color: #a9d5ff;
  font-size: 11px;
  font-weight: 800;
  background: rgba(9, 19, 30, 0.72);
  border-radius: 5px;
}

.payload-list {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.payload-list li {
  overflow: hidden;
  color: rgba(223, 238, 252, 0.56);
  font-family: var(--utility);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payload-list li::before {
  margin-right: 6px;
  color: #5cdf9f;
  content: "·";
}

.sync-arrow {
  display: grid;
  align-self: center;
  place-items: center;
  color: rgba(120, 186, 250, 0.55);
  font-family: var(--utility);
  font-size: 16px;
}

.route-stack {
  display: grid;
  gap: 7px;
}

.route-card {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 11px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.route-card.is-primary {
  background: rgba(11, 104, 216, 0.18);
  border-color: rgba(104, 184, 255, 0.32);
}

.route-card > span {
  color: #68b8ff;
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 800;
}

.route-card div {
  overflow: hidden;
  min-width: 0;
}

.route-card strong,
.route-card small {
  display: block;
}

.route-card strong {
  font-size: 12px;
}

.route-card small {
  overflow: hidden;
  margin-top: 3px;
  color: rgba(223, 238, 252, 0.48);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-card em {
  color: rgba(223, 238, 252, 0.38);
  font-family: var(--utility);
  font-size: 8px;
  font-style: normal;
  text-transform: uppercase;
}

.sync-watch-node {
  align-items: center;
  text-align: center;
}

.sync-watch-face {
  display: grid;
  width: 96px;
  height: 96px;
  margin: -3px auto 15px;
  place-content: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(37, 139, 232, 0.26), transparent 46%),
    #030608;
  border: 1px solid rgba(134, 199, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.025), 0 18px 35px rgba(0, 0, 0, 0.34);
}

.sync-watch-face span {
  color: rgba(220, 238, 255, 0.55);
  font-family: var(--utility);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.sync-watch-face strong {
  margin-top: 2px;
  font-family: var(--utility);
  font-size: 23px;
}

.sync-watch-face i {
  width: 42px;
  height: 4px;
  margin: 5px auto 0;
  background: linear-gradient(90deg, #5cdf9f 0 89%, rgba(255, 255, 255, 0.12) 89%);
  border-radius: 4px;
}

.sync-watch-node > strong {
  font-size: 13px;
}

.sync-watch-node p {
  margin-bottom: 0;
}

.sync-cadence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(132, 192, 255, 0.13);
}

.sync-cadence span {
  padding: 16px 18px;
  color: rgba(223, 238, 252, 0.52);
  font-family: var(--utility);
  font-size: 9px;
  line-height: 1.5;
  border-right: 1px solid rgba(132, 192, 255, 0.1);
}

.sync-cadence span:last-child {
  border-right: 0;
}

.sync-cadence strong {
  display: block;
  margin-bottom: 4px;
  color: #8bc8ff;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.watch-state-section {
  position: relative;
}

.watch-state-section::before {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.freshness-ledger {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.freshness-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(300px, 1.48fr) minmax(150px, 0.55fr);
  gap: 28px;
  align-items: center;
  min-height: 104px;
  padding: 20px 6px;
  border-top: 1px solid var(--line);
}

.freshness-row:first-child {
  border-top: 0;
}

.freshness-head {
  min-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-name {
  display: grid;
  grid-template-columns: 15px 1fr;
  align-items: center;
}

.state-name strong,
.state-name small {
  grid-column: 2;
}

.state-name strong {
  font-family: var(--display);
  font-size: 18px;
}

.state-name small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 9px;
}

.state-light {
  grid-row: 1 / 3;
}

.state-light.is-stale,
.state-light.is-offline {
  background: #da6d56;
  box-shadow: 0 0 0 4px rgba(218, 109, 86, 0.1), 0 0 14px rgba(218, 109, 86, 0.36);
}

.state-light.is-empty {
  background: #8b919b;
  box-shadow: 0 0 0 4px rgba(139, 145, 155, 0.1);
}

.freshness-row p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.freshness-row code {
  justify-self: start;
  padding: 8px 9px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  background: #eef1f4;
  border-radius: 4px;
}

.watch-future-section {
  padding-top: 96px;
}

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

.future-feature {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 19, 24, 0.09);
  border-radius: 10px;
  box-shadow: 0 18px 58px rgba(17, 32, 49, 0.065);
}

.future-feature > span,
.future-copy > span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
}

.future-feature h3 {
  max-width: 580px;
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 790;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.future-feature p {
  max-width: 580px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.future-feature p strong {
  color: var(--ink);
  font-family: var(--utility);
  font-size: 0.92em;
}

.complication-feature {
  display: grid;
  grid-column: span 7;
  grid-row: span 2;
  grid-template-columns: minmax(0, 1.1fr) minmax(170px, 0.65fr);
  gap: 34px;
  align-items: center;
  min-height: 540px;
  color: #eef6ff;
  background:
    radial-gradient(circle at 78% 26%, rgba(38, 142, 241, 0.3), transparent 32%),
    linear-gradient(155deg, #0c1420, #08101a 58%, #071a25);
  border-color: rgba(51, 131, 209, 0.28);
  box-shadow: 0 32px 90px rgba(7, 22, 35, 0.2);
}

.complication-feature p,
.complication-feature li {
  color: rgba(224, 238, 252, 0.62);
}

.complication-feature p strong {
  color: #ffffff;
}

.future-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.future-copy li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.55;
}

.future-copy li::before {
  position: absolute;
  left: 0;
  color: #5cdf9f;
  content: "↳";
}

.complication-mock {
  display: grid;
  place-items: center;
}

.complication-ring {
  display: grid;
  width: min(210px, 100%);
  aspect-ratio: 1;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle, #061019 0 61%, transparent 62%),
    conic-gradient(#63dca2 0 89%, rgba(255, 255, 255, 0.12) 89% 100%);
  border: 1px solid rgba(155, 211, 255, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 13px rgba(255, 255, 255, 0.025), 0 30px 64px rgba(0, 0, 0, 0.42);
}

.complication-ring > span {
  color: rgba(224, 238, 252, 0.58);
  font-family: var(--utility);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.complication-ring > strong {
  margin: 6px 0 3px;
  font-family: var(--utility);
  font-size: 43px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.complication-ring strong small {
  font-size: 16px;
}

.complication-ring > i {
  color: #63dca2;
  font-family: var(--utility);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tile-feature,
.diagnostic-feature {
  grid-column: span 5;
  min-height: 262px;
}

.tile-mock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 24px;
  padding: 12px;
  color: #f0f6fc;
  background: #09111a;
  border-radius: 8px;
}

.tile-mock div {
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 5px;
}

.tile-mock small,
.tile-mock strong {
  display: block;
  font-family: var(--utility);
}

.tile-mock small {
  color: rgba(224, 238, 252, 0.48);
  font-size: 7px;
}

.tile-mock strong {
  margin-top: 4px;
  font-size: 18px;
}

.tile-mock > span {
  grid-column: 1 / -1;
  color: rgba(224, 238, 252, 0.54);
  font-family: var(--utility);
  font-size: 8px;
}

.tile-mock > span i {
  width: 5px;
  height: 5px;
  margin-right: 6px;
}

.diagnostic-log {
  display: grid;
  gap: 7px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.diagnostic-log li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  font-family: var(--utility);
  background: #eef1f4;
  border-radius: 5px;
}

.diagnostic-log b {
  font-size: 9px;
}

.diagnostic-log em {
  color: #b65340;
  font-size: 8px;
  font-style: normal;
}

.diagnostic-log .is-ok em {
  color: #167e51;
}

.future-guardrails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.future-guardrails span {
  padding: 18px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  border-right: 1px solid var(--line);
}

.future-guardrails span:last-child {
  border-right: 0;
}

.watch-case-ending {
  grid-template-columns: minmax(300px, 0.84fr) minmax(420px, 1.16fr);
  min-height: 640px;
}

.watch-case-ending .lab-preview-copy h2 {
  max-width: 620px;
  text-wrap: balance;
}

.watch-case-ending .watch-preview-row {
  flex-wrap: nowrap;
  gap: 12px;
}

.watch-case-ending .watch-preview-row img {
  width: min(178px, 32%);
  transition: transform 260ms ease, border-color 260ms ease;
}

.watch-case-ending .watch-preview-row img:nth-child(2) {
  transform: translateY(28px);
}

.watch-case-ending .watch-preview-row img:hover {
  z-index: 1;
  border-color: rgba(128, 199, 255, 0.54);
  transform: translateY(-6px) scale(1.025);
}

.watch-case-ending .watch-preview-row img:nth-child(2):hover {
  transform: translateY(22px) scale(1.025);
}

.error-shell {
  display: grid;
  min-height: calc(100vh - 120px);
  place-items: center;
  padding: 118px 24px 70px;
}

.error-page {
  min-height: 100vh;
}

.error-panel {
  width: min(760px, 100%);
  text-align: center;
}

.error-panel h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 64px;
  line-height: 1.02;
  font-weight: 840;
}

.error-panel p:not(.eyebrow) {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 1.74;
  color: var(--muted);
}

/* Games */

.games-page {
  --game-display: "Smiley Sans", "Microsoft YaHei", sans-serif;
  --game-tech: "Hubot Sans Condensed", "Bahnschrift Condensed", sans-serif;
  --game-utility: "Hubot Sans", "Aptos", sans-serif;
  --game-rounded: "Arial Rounded MT Bold", "Microsoft YaHei UI", "PingFang SC", "Hiragino Maru Gothic ProN", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  color: #e8edf0;
  background:
    linear-gradient(90deg, rgba(232, 237, 240, 0.04) 1px, transparent 1px) center / 86px 86px,
    linear-gradient(0deg, rgba(53, 213, 139, 0.055), transparent 30%),
    linear-gradient(180deg, #030504 0%, #081011 52%, #030504 100%);
}

.games-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(184, 79, 59, 0.18), transparent 26%),
    linear-gradient(245deg, rgba(198, 150, 82, 0.12), transparent 34%),
    repeating-linear-gradient(135deg, rgba(232, 237, 240, 0.025) 0 1px, transparent 1px 18px);
}

.games-page::selection {
  color: #050706;
  background: #c69a4a;
}

.games-header,
.lab-header {
  color: rgba(232, 237, 240, 0.92);
  background: rgba(3, 5, 4, 0.72);
  border-bottom-color: rgba(232, 237, 240, 0.1);
  backdrop-filter: saturate(1.2) blur(24px);
}

.games-header.is-scrolled {
  background: rgba(5, 7, 6, 0.94);
}

.games-header .brand-mark {
  box-shadow: 5px 5px 0 #b6483d;
}

.games-header .site-nav,
.lab-header .site-nav {
  color: rgba(232, 237, 240, 0.62);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.games-header .site-nav a:hover,
.games-header .site-nav a[aria-current="page"],
.lab-header .site-nav a:hover,
.lab-header .site-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.games-page .eyebrow {
  color: #c69a4a;
  font-family: var(--game-tech);
  letter-spacing: 0.11em;
}

.games-page :is(h1, h2, h3, p, strong, summary, a, b, em) {
  hyphens: none;
  word-break: normal;
}

.games-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  max-width: var(--wide);
  min-height: auto;
  margin: 0 auto;
  padding: 112px 24px 72px;
}

.games-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 12px clamp(28px, 4vw, 68px);
  align-items: end;
  max-width: none;
  min-width: 0;
}

.games-hero-intro {
  max-width: 860px;
  min-width: 0;
}

.games-hero-meta {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.games-hero h1 {
  margin: 0;
  font-family: var(--game-display);
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

.games-hero p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(232, 237, 240, 0.66);
  font-size: 18px;
  line-height: 1.72;
  text-wrap: pretty;
}

.game-status-strip,
.game-hero-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 30px;
  font-family: var(--game-utility);
  font-size: 11px;
  font-weight: 760;
  color: rgba(232, 237, 240, 0.78);
}

.game-hero-tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 14px;
}

.games-hero-meta > .game-status-strip,
.games-hero-meta > .game-hero-tags,
.games-hero-meta > .archive-update-strip {
  width: 100%;
}

.games-hero-meta > .game-status-strip {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.games-hero-meta > .game-hero-tags {
  margin-top: 0;
}

.archive-update-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
  padding-top: 16px;
  color: rgba(232, 237, 240, 0.48);
  font-family: var(--game-utility);
  font-size: 11px;
  line-height: 1.6;
  border-top: 1px solid rgba(232, 237, 240, 0.12);
}

.archive-update-strip span {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.archive-update-strip a {
  color: rgba(232, 237, 240, 0.76);
  text-decoration: none;
}

.archive-update-strip a:hover {
  color: #ffffff;
}

.game-status-strip span,
.game-hero-tags span {
  overflow: hidden;
  min-width: 0;
  padding: 10px 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: rgba(232, 237, 240, 0.075);
  border: 1px solid rgba(232, 237, 240, 0.12);
  border-radius: 7px;
}

.game-status-strip b,
.game-hero-tags b {
  font: inherit;
  font-size: 1.12em;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.games-hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  isolation: isolate;
}

.games-hero-visual::before {
  position: absolute;
  inset: 10% 8% 0;
  content: "";
  background: linear-gradient(135deg, rgba(184, 79, 59, 0.22), rgba(53, 213, 139, 0.11));
  filter: blur(42px);
}

.games-hero-visual img {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 0.48;
  border: 1px solid rgba(232, 237, 240, 0.16);
  border-radius: 8px;
  filter: saturate(0.74) contrast(1.06);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.dota-tactic-board {
  --tactic-panel: rgba(3, 10, 10, 0.78);
  --tactic-line: rgba(232, 237, 240, 0.13);
  --tactic-muted: rgba(232, 237, 240, 0.56);
  display: grid;
  container-type: inline-size;
  width: 100%;
  gap: 16px;
  padding: 18px;
  color: #e8edf0;
  font-family: var(--game-utility);
  background:
    linear-gradient(145deg, rgba(198, 154, 74, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(232, 237, 240, 0.07), rgba(232, 237, 240, 0.018)),
    rgba(2, 8, 8, 0.9);
  border: 1px solid rgba(232, 237, 240, 0.16);
  border-radius: 18px;
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(20px);
}

.dota-tactic-board > * {
  position: relative;
  z-index: 1;
}

.tactic-board-head {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(220px, 1fr);
  gap: 16px;
  align-items: end;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tactic-line);
}

.tactic-board-head .eyebrow {
  margin: 0;
}

.tactic-board-head h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--game-tech);
  font-size: clamp(25px, 2.15vw, 34px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.tactic-board-head p:not(.eyebrow) {
  max-width: 54ch;
  margin: 0;
  color: var(--tactic-muted);
  font-size: 12px;
  line-height: 1.65;
}

.tactic-board-workbench {
  display: grid;
  grid-template-columns: minmax(660px, 1fr) minmax(380px, 0.52fr);
  gap: 16px;
  align-items: start;
}

.tactic-board-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    #04100e;
  border: 1px solid rgba(232, 237, 240, 0.18);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.42), 0 20px 56px rgba(0, 0, 0, 0.28);
}

.tactic-board-map::before,
.tactic-board-map::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.tactic-board-map::before {
  background:
    radial-gradient(circle at 20% 80%, rgba(53, 213, 139, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(184, 79, 59, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(2, 8, 8, 0.04), rgba(2, 8, 8, 0.34));
  mix-blend-mode: screen;
}

.tactic-board-map::after {
  background:
    linear-gradient(135deg, rgba(232, 237, 240, 0.045) 1px, transparent 1px) center / 24px 24px,
    radial-gradient(circle, transparent 55%, rgba(2, 8, 8, 0.34));
}

.games-hero-visual .tactic-map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.86;
  filter: saturate(0.86) contrast(1.08) brightness(0.72);
}

.tactic-map-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.38;
}

.tactic-map-lines path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.map-river {
  stroke: rgba(74, 151, 184, 0.32);
  stroke-width: 8;
  stroke-linecap: round;
}

.map-lane {
  stroke: rgba(232, 237, 240, 0.24);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 5;
}

.map-lane-mid {
  stroke: rgba(198, 154, 74, 0.42);
  stroke-dasharray: none;
}

.map-jungle {
  fill: rgba(53, 213, 139, 0.08);
  stroke: rgba(53, 213, 139, 0.18);
  stroke-width: 1.5;
}

.dire-jungle {
  fill: rgba(184, 79, 59, 0.08);
  stroke: rgba(184, 79, 59, 0.18);
}

.map-base {
  position: absolute;
  z-index: 3;
  font-family: var(--game-tech);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.radiant-base {
  left: 6%;
  bottom: 7%;
  color: #35d58b;
}

.dire-base {
  top: 7%;
  right: 7%;
  color: #e48278;
}

.tactic-pin {
  position: absolute;
  z-index: 4;
  left: var(--x);
  top: var(--y);
  --pin-size: 48px;
  display: grid;
  place-items: center;
  width: var(--pin-size);
  height: var(--pin-size);
  padding: 0;
  color: #06100d;
  background: #c69a4a;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
  cursor: grab;
  touch-action: none;
  transform: translate(-50%, -50%);
  user-select: none;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.tactic-pin span {
  font-family: var(--game-tech);
  font-size: max(10px, calc(var(--pin-size) * 0.33));
  font-weight: 800;
  line-height: 1;
}

.tactic-pin:hover,
.tactic-pin:focus-visible,
.tactic-pin.is-active {
  z-index: 4;
  filter: brightness(1.12);
  box-shadow: 0 0 0 5px rgba(198, 154, 74, 0.2), 0 14px 34px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%) scale(1.12);
}

.tactic-pin.is-dragging {
  cursor: grabbing;
  filter: brightness(1.22);
  box-shadow: 0 0 0 8px rgba(198, 154, 74, 0.22), 0 18px 42px rgba(0, 0, 0, 0.52);
}

.hero-pin {
  color: #05110c;
  background: #35d58b;
}

.ally-pin {
  color: #06131a;
  background: #66c0f4;
}

.enemy-pin {
  color: #190807;
  background: #e48278;
}

.ward-pin {
  color: #161103;
  background: #f1cf65;
}

.sentry-pin {
  color: #110a1c;
  background: #caa6ff;
}

.objective-pin {
  color: #120b03;
  background: #c89652;
}

.roshan-pin {
  width: calc(var(--pin-size) * 1.88);
  color: rgba(232, 237, 240, 0.88);
  background: rgba(2, 8, 8, 0.76);
  border-color: rgba(198, 154, 74, 0.54);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(232, 237, 240, 0.08);
}

.roshan-pin span {
  font-size: max(9px, calc(var(--pin-size) * 0.24));
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tactic-board-map[data-filter="hero"] .tactic-pin:not([data-tactic-kind="hero"]),
.tactic-board-map[data-filter="ward"] .tactic-pin:not([data-tactic-kind="ward"]),
.tactic-board-map[data-filter="objective"] .tactic-pin:not([data-tactic-kind="objective"]) {
  opacity: 0.2;
}

.tactic-side-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.tactic-board-readout {
  min-height: 0;
  padding: 14px;
  background: var(--tactic-panel);
  border: 1px solid var(--tactic-line);
  border-radius: 12px;
}

.tactic-board-readout span {
  color: #c69a4a;
  font-family: var(--game-tech);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tactic-board-readout strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-family: var(--game-utility);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.22;
}

.tactic-board-readout p {
  margin: 8px 0 0;
  color: var(--tactic-muted);
  font-size: 12px;
  line-height: 1.6;
}

.tactic-board-readout small {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 7px;
  color: rgba(232, 237, 240, 0.62);
  font-family: var(--game-tech);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(232, 237, 240, 0.055);
  border: 1px solid rgba(232, 237, 240, 0.1);
  border-radius: 999px;
}

.tactic-size-control {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  background: rgba(232, 237, 240, 0.045);
  border: 1px solid rgba(232, 237, 240, 0.1);
  border-radius: 10px;
}

.tactic-size-control span {
  display: flex;
  justify-content: space-between;
  color: rgba(232, 237, 240, 0.62);
  font-family: var(--game-tech);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tactic-size-control b {
  color: #c69a4a;
  font: inherit;
}

.tactic-size-control input {
  width: 100%;
  accent-color: #c69a4a;
}

.tactic-delete-action {
  display: inline-flex;
  margin-top: 10px;
  padding: 0;
  color: rgba(228, 130, 120, 0.82);
  font-family: var(--game-utility);
  font-size: 12px;
  font-weight: 760;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.tactic-pin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 12px;
  background: rgba(232, 237, 240, 0.045);
  border: 1px solid var(--tactic-line);
  border-radius: 12px;
}

.tactic-pin-form h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #ffffff;
  font-family: var(--game-tech);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tactic-pin-form label:nth-of-type(3),
.tactic-pin-form .ghost-action,
.tactic-form-hint {
  grid-column: 1 / -1;
}

.tactic-pin-form button[type="submit"] {
  align-self: end;
}

.tactic-pin-form label {
  display: grid;
  gap: 5px;
  color: rgba(232, 237, 240, 0.55);
  font-family: var(--game-tech);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tactic-pin-form input,
.tactic-pin-form select,
.tactic-pin-form textarea {
  width: 100%;
  min-width: 0;
  color: #ffffff;
  font: 600 12px/1.45 var(--game-utility);
  background: rgba(2, 8, 8, 0.74);
  border: 1px solid rgba(232, 237, 240, 0.14);
  border-radius: 8px;
}

.tactic-pin-form input,
.tactic-pin-form select {
  min-height: 34px;
  padding: 0 10px;
}

.tactic-pin-form textarea {
  resize: vertical;
  min-height: 58px;
  padding: 9px 10px;
}

.tactic-pin-form input::placeholder,
.tactic-pin-form textarea::placeholder {
  color: rgba(232, 237, 240, 0.32);
}

.tactic-pin-form input:focus,
.tactic-pin-form select:focus,
.tactic-pin-form textarea:focus {
  outline: 2px solid rgba(198, 154, 74, 0.44);
  outline-offset: 2px;
}

.tactic-pin-form button {
  min-height: 36px;
  color: #06100d;
  font-family: var(--game-tech);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #c69a4a;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.tactic-pin-form .ghost-action {
  color: rgba(232, 237, 240, 0.68);
  background: rgba(232, 237, 240, 0.06);
  border: 1px solid rgba(232, 237, 240, 0.13);
}

.tactic-form-hint {
  margin: 0;
  color: rgba(232, 237, 240, 0.4);
  font-size: 11px;
  line-height: 1.5;
}

.tactic-layer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tactic-layer-controls button {
  padding: 7px 10px;
  color: rgba(232, 237, 240, 0.62);
  font-family: var(--game-tech);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(232, 237, 240, 0.055);
  border: 1px solid rgba(232, 237, 240, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.tactic-layer-controls button:hover,
.tactic-layer-controls button.is-active {
  color: #ffffff;
  background: rgba(198, 154, 74, 0.14);
  border-color: rgba(198, 154, 74, 0.42);
}

.tactic-map-source {
  margin: -2px 0 0;
  color: rgba(232, 237, 240, 0.34);
  font-family: var(--game-utility);
  font-size: 11px;
  line-height: 1.5;
}

@container (max-width: 860px) {
  .tactic-board-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tactic-board-head p:not(.eyebrow) {
    max-width: none;
  }

  .tactic-board-workbench {
    grid-template-columns: 1fr;
  }

  .tactic-side-panel {
    grid-template-columns: minmax(0, 0.82fr) minmax(190px, 0.58fr);
    align-items: start;
  }

  .tactic-layer-controls {
    grid-column: 1 / -1;
  }
}

@container (max-width: 540px) {
  .tactic-side-panel {
    grid-template-columns: 1fr;
  }
}

@container (max-width: 420px) {
  .tactic-pin-form {
    grid-template-columns: 1fr;
  }

  .tactic-pin-form button[type="submit"] {
    grid-column: 1 / -1;
  }
}

.game-clip-stage {
  position: relative;
  min-width: 0;
  margin: 0;
}

.game-clip-stage::before {
  position: absolute;
  inset: 6% 7% 12%;
  content: "";
  background: linear-gradient(135deg, rgba(42, 111, 143, 0.38), rgba(184, 72, 61, 0.24));
  filter: blur(48px);
}

.game-highlight-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  overflow: hidden;
  background: #020304;
  border: 1px solid rgba(232, 237, 240, 0.16);
  border-radius: 8px;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.46);
}

.game-clip-meta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  row-gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 10px 12px;
  color: rgba(232, 237, 240, 0.72);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 760;
  background: rgba(7, 16, 20, 0.72);
  border: 1px solid rgba(232, 237, 240, 0.13);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.game-clip-meta strong {
  overflow: hidden;
  color: #ffffff;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-clip-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.game-clip-facts div {
  min-width: 0;
  padding: 10px;
  background: rgba(232, 237, 240, 0.055);
  border: 1px solid rgba(232, 237, 240, 0.09);
  border-radius: 6px;
}

.game-clip-facts dt {
  font-size: 10px;
  line-height: 1;
  color: #c69a4a;
  text-transform: uppercase;
}

.game-clip-facts dd {
  overflow: hidden;
  margin: 5px 0 0;
  color: rgba(232, 237, 240, 0.84);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-wrap: pretty;
}

.switch-index {
  margin-top: 14px;
  background: rgba(7, 16, 20, 0.58);
  border: 1px solid rgba(232, 237, 240, 0.13);
  border-radius: 8px;
}

.switch-index summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 24px;
  color: rgba(232, 237, 240, 0.82);
  font-family: var(--utility);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.switch-index summary::-webkit-details-marker {
  display: none;
}

.switch-index summary b {
  margin: 0 4px;
  color: #ffffff;
}

.switch-index summary span {
  color: #c69a4a;
  font-size: 24px;
  transition: transform 180ms ease;
}

.switch-index[open] summary span {
  transform: rotate(45deg);
}

.switch-index summary:focus-visible {
  outline: 2px solid #c69a4a;
  outline-offset: 4px;
}

.switch-record-list {
  padding: 0 24px 18px;
}

.switch-record-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 168px 58px;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  border-top: 1px solid rgba(232, 237, 240, 0.08);
}

.switch-record-list article > span,
.switch-record-list article > b,
.switch-record-list article > em {
  font-family: var(--utility);
  font-size: 11px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.switch-record-list article > span {
  color: rgba(232, 237, 240, 0.34);
}

.switch-record-list article > strong {
  color: rgba(232, 237, 240, 0.86);
  font-size: 15px;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

.switch-record-list article > b {
  color: #c69a4a;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.switch-record-list article > em {
  justify-self: end;
  color: rgba(232, 237, 240, 0.4);
  text-transform: uppercase;
}

.switch-record-list > p,
.switch-source-note {
  color: rgba(232, 237, 240, 0.42);
  font-size: 12px;
}

.switch-source-note {
  margin: 18px 0 0;
  font-family: var(--utility);
}

.steam-source-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 22px 0 0;
  color: rgba(232, 237, 240, 0.42);
  font-family: var(--utility);
  font-size: 11px;
}

.steam-source-note a {
  color: rgba(232, 237, 240, 0.72);
}

.games-footer {
  color: rgba(232, 237, 240, 0.58);
  border-top-color: rgba(232, 237, 240, 0.1);
}

.games-footer a {
  color: #ffffff;
}

/* Lab */

.lab-page {
  color: #f5f7fb;
  background:
    linear-gradient(90deg, rgba(128, 199, 255, 0.04) 1px, transparent 1px) center / 88px 88px,
    linear-gradient(180deg, #020304, #05070d 46%, #020304);
}

.lab-page::selection {
  color: #030407;
  background: var(--green);
}

.lab-header {
  color: rgba(245, 247, 251, 0.9);
  background: rgba(3, 4, 7, 0.68);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.lab-header.is-scrolled {
  background: rgba(3, 4, 7, 0.92);
}

.lab-header .brand-mark {
  box-shadow: 5px 5px 0 var(--green);
}

.lab-header .site-nav {
  color: rgba(245, 247, 251, 0.62);
}

.lab-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  overflow: hidden;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2)) 44px;
  isolation: isolate;
}

.lab-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 3, 4, 0.96) 0%, rgba(2, 3, 4, 0.76) 46%, rgba(2, 3, 4, 0.24) 100%),
    linear-gradient(0deg, #020304 0%, rgba(2, 3, 4, 0) 44%),
    repeating-linear-gradient(90deg, rgba(128, 199, 255, 0.055) 0 1px, transparent 1px 96px);
}

.lab-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.66;
}

.lab-hero-copy {
  max-width: 780px;
  min-width: 0;
  padding-bottom: 70px;
}

.lab-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 76px;
  line-height: 1.02;
  font-weight: 840;
}

.lab-hero-copy p:not(.eyebrow) {
  color: rgba(245, 247, 251, 0.72);
}

.lab-command-bar {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2));
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 760;
  color: rgba(245, 247, 251, 0.76);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.lab-command-bar span {
  overflow: hidden;
  min-width: 0;
  padding: 8px 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: rgba(3, 4, 7, 0.42);
  border-radius: 6px;
}

.signal-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: 42px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 24px;
}

.signal-copy p {
  color: rgba(245, 247, 251, 0.66);
}

.signal-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(128, 199, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(128, 199, 255, 0.08), rgba(57, 217, 138, 0.03)),
    #060a10;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.42);
}

.stage-head {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.stage-head span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(128, 199, 255, 0.58);
}

.stage-head span:nth-child(2) {
  background: rgba(57, 217, 138, 0.72);
}

.stage-head span:nth-child(3) {
  background: rgba(214, 155, 33, 0.72);
}

.signal-stage canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.experiment-section {
  padding-top: 80px;
  padding-bottom: 112px;
}

.section-heading.dark p:not(.eyebrow) {
  color: rgba(245, 247, 251, 0.66);
}

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

.experiment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  overflow: hidden;
  padding: 26px;
  background: var(--lab-panel);
  border: 1px solid var(--lab-line);
  border-radius: 8px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.experiment-card::before {
  display: block;
  width: 9px;
  height: 9px;
  margin-bottom: 28px;
  content: "";
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(57, 217, 138, 0.7);
}

.experiment-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--green), rgba(128, 199, 255, 0.4), transparent);
  opacity: 0.72;
}

.experiment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(128, 199, 255, 0.26);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.experiment-card p:not(.card-label) {
  color: rgba(245, 247, 251, 0.62);
}

.experiment-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 26px;
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 760;
  color: #80c7ff;
}

.experiment-status i {
  font-style: normal;
  transition: transform 180ms ease;
}

.experiment-card:hover .experiment-status i {
  transform: translate(2px, -2px);
}

.experiment-card:focus-visible {
  outline: 2px solid #80c7ff;
  outline-offset: 4px;
}

.lab-footer {
  color: rgba(245, 247, 251, 0.58);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.lab-footer a {
  color: #ffffff;
}

/* Motion */

.is-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.is-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.is-ready .hero [data-reveal],
.is-ready .games-hero [data-reveal],
.is-ready .lab-hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.is-ready .home-page:not(.case-page) [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Responsive */

@media (max-width: 1100px) {
  .hero,
  .games-hero,
  .case-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
  }

  .ambient-hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .ambient-hero .hero-copy-block,
  .ambient-hero h1,
  .ambient-hero .hero-kicker,
  .ambient-hero .hero-copy {
    margin-left: 0;
    margin-right: 0;
  }

  .ambient-hero .hero-actions {
    justify-content: flex-start;
  }

  .loop-controller {
    width: min(520px, calc(100% - 76px));
    margin-right: 38px;
  }

  .hero-copy-block,
  .hero h1,
  .hero-kicker,
  .hero-copy {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .case-process-head {
    position: static;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .games-hero-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .games-hero-intro,
  .games-hero-meta {
    max-width: 860px;
  }

  .games-hero-meta > .game-status-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .games-hero-meta > .game-hero-tags {
    margin-top: 0;
  }

  .work-grid,
  .case-points,
  .case-process,
  .case-evidence-grid,
  .experiment-grid,
  .about-section,
  .lab-preview,
  .signal-section,
  .case-details {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(4) {
    grid-column: auto;
  }

  .work-card {
    min-height: auto;
  }

  .lab-preview {
    gap: 32px;
  }

  .watch-section-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .watch-section-intro > p {
    max-width: 680px;
  }

  .sync-map {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sync-arrow {
    min-height: 18px;
    transform: rotate(90deg);
  }

  .sync-node {
    min-height: 180px;
  }

  .sync-watch-node {
    min-height: 260px;
  }

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

  .sync-cadence span:nth-child(2) {
    border-right: 0;
  }

  .sync-cadence span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(132, 192, 255, 0.1);
  }

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

  .complication-feature {
    grid-column: 1 / -1;
    min-height: 480px;
  }

  .tile-feature,
  .diagnostic-feature {
    grid-column: auto;
  }

  .watch-case-ending .watch-preview-row img {
    width: min(190px, 32%);
  }
}

@media (max-width: 680px) {
  .games-page {
    --game-display: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    --game-tech: "Arial Narrow", "Microsoft YaHei UI", sans-serif;
    --game-utility: "Segoe UI", "Microsoft YaHei UI", sans-serif;
  }

  .games-hero h1 {
    font-weight: 760;
  }

  .site-header {
    height: auto;
    min-height: 92px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  .brand {
    gap: 7px;
    font-size: 15px;
  }

  .brand-mark {
    width: 11px;
    height: 11px;
    box-shadow: 4px 4px 0 var(--blue), -4px -4px 0 rgba(17, 19, 24, 0.08);
  }

  .site-nav {
    order: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    flex: 0 0 100%;
    gap: 1px;
    padding: 2px;
    font-size: 12px;
  }

  .site-nav a {
    min-width: 0;
    line-height: 30px;
    padding: 0 5px;
    text-align: center;
  }

  .hero,
  .games-hero {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-top: 126px;
    padding-bottom: 46px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    gap: 34px;
  }

  .ambient-hero {
    min-height: 100dvh;
    padding-bottom: 42px;
  }

  .hero-loop-backdrop,
  .hero-glass-field,
  .ambient-hero::before {
    top: 92px;
    bottom: 0;
  }

  .ambient-hero .hero-copy-block {
    padding-left: 0;
  }

  .loop-controller {
    width: calc(100% - 8px);
    min-height: 260px;
    margin: 0 4px;
  }

  .loop-controller iframe {
    height: 178px;
  }

  .hero-copy-block,
  .games-hero-copy,
  .case-hero-copy,
  .lab-hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-kicker {
    font-size: 24px;
  }

  .hero-copy,
  .hero-kicker,
  .case-hero-copy p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .games-hero p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: normal;
    text-wrap: pretty;
    word-break: normal;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .hero-dock {
    grid-template-columns: 1fr;
    text-align: left;
    font-size: 10px;
  }

  .hero-dock span {
    padding: 8px;
  }

  .hero-dock strong {
    font-size: 13px;
  }

  .hero-status {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .section,
  .games-section,
  .experiment-section {
    padding: 74px 18px;
  }

  .section-heading h2,
  .about-copy h2,
  .lab-preview-copy h2,
  .signal-copy h2,
  .section-heading.dark h2 {
    font-size: 36px;
  }

  .section-heading p:not(.eyebrow),
  .lab-preview-copy p,
  .about-text p,
  .signal-copy p,
  .lab-hero-copy p {
    font-size: 16px;
  }

  .section-soft > .section-heading,
  .section-soft > .work-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .work-media,
  .project-shot {
    min-height: 246px;
  }

  .project-shot img {
    height: 210px;
  }

  .note-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
    padding: 18px 0;
  }

  .note-row strong {
    font-size: 19px;
  }

  .lab-preview {
    padding: 78px 18px;
  }

  .about-section::before {
    display: none;
  }

  .case-hero {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    gap: 34px;
    padding: 126px 24px 54px;
  }

  .case-hero-copy h1 {
    font-size: 42px;
    overflow-wrap: break-word;
  }

  .case-hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .case-meta {
    grid-template-columns: 1fr;
  }

  .case-device {
    width: 100%;
    min-width: 0;
  }

  .case-details h2,
  .case-process-head h2 {
    font-size: 32px;
  }

  .case-next .watch-preview-row img {
    width: min(116px, 31%);
  }

  .watch-sync-section,
  .watch-state-section,
  .watch-future-section {
    padding-top: 54px;
    padding-bottom: 82px;
  }

  .watch-section-intro {
    margin-bottom: 30px;
  }

  .watch-section-intro h2 {
    font-size: 36px;
  }

  .watch-section-intro h2 br {
    display: none;
  }

  .watch-section-intro > p {
    font-size: 15px;
  }

  .sync-board-head {
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-direction: column;
  }

  .sync-map {
    padding: 24px 14px;
  }

  .sync-cadence {
    grid-template-columns: 1fr;
  }

  .sync-cadence span,
  .sync-cadence span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(132, 192, 255, 0.1);
  }

  .sync-cadence span:last-child {
    border-bottom: 0;
  }

  .freshness-head {
    display: none;
  }

  .freshness-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 4px;
  }

  .freshness-row code {
    justify-self: start;
  }

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

  .complication-feature,
  .tile-feature,
  .diagnostic-feature {
    grid-column: auto;
  }

  .future-feature {
    padding: 24px;
  }

  .future-feature h3 {
    font-size: 24px;
  }

  .complication-feature {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding-bottom: 54px;
  }

  .complication-ring {
    width: min(190px, 78%);
  }

  .future-guardrails {
    grid-template-columns: 1fr;
  }

  .future-guardrails span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .future-guardrails span:last-child {
    border-bottom: 0;
  }

  .watch-case-ending {
    min-height: auto;
  }

  .watch-case-ending .watch-preview-row {
    gap: 6px;
  }

  .watch-case-ending .watch-preview-row img {
    width: 32%;
  }

  .error-panel h1 {
    font-size: 42px;
  }

  .site-footer {
    flex-direction: column;
  }

  .friend-links {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .games-hero {
    gap: 32px;
  }

  .games-hero h1 {
    font-size: 36px;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .games-hero p:not(.eyebrow) {
    font-size: 16px;
  }

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

  .games-hero-meta > .game-status-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .games-hero-visual {
    width: 100%;
    overflow: hidden;
  }

  .dota-tactic-board {
    padding: 14px;
  }

  .tactic-board-head {
    align-items: start;
  }

  .tactic-board-head h2 {
    max-width: none;
    font-size: 30px;
  }

  .tactic-board-map {
    width: 100%;
  }

  .tactic-board-readout {
    min-height: 0;
  }

  .game-clip-meta {
    grid-template-columns: 1fr;
  }

  .game-clip-meta strong {
    white-space: normal;
  }

  .switch-record-list {
    padding-left: 16px;
    padding-right: 16px;
  }

  .switch-record-list article {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 12px 0;
  }

  .switch-record-list article > span {
    grid-row: 1 / span 2;
  }

  .switch-record-list article > b {
    grid-column: 2;
  }

  .switch-record-list article > em {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .lab-hero {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: 100vh;
    padding: 126px 18px 116px;
  }

  .lab-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .lab-command-bar {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
  }

  .signal-stage {
    aspect-ratio: 4 / 3;
  }
}

@supports (content-visibility: auto) {
  .home-page main > .section,
  .home-page main > .lab-preview,
  .games-page main > section:not(.archive-hero),
  .lab-page main > section:not(.lab-hero) {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}

@media (max-width: 480px) {
  .games-hero-meta > .game-status-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  .is-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Games / platform-led archive */

.game-hero-tags a {
  padding: 10px 12px;
  color: rgba(232, 237, 240, 0.78);
  background: rgba(232, 237, 240, 0.075);
  border: 1px solid rgba(232, 237, 240, 0.12);
  border-radius: 7px;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.game-hero-tags a:hover {
  color: #ffffff;
  border-color: rgba(198, 154, 74, 0.56);
  transform: translateY(-2px);
}

.game-hero-tags a:focus-visible,
.steam-archive a:focus-visible,
.switch-archive summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.dota-base,
.steam-archive,
.switch-archive {
  position: relative;
  scroll-margin-top: 76px;
  overflow: hidden;
}

.dota-base {
  padding: 118px max(24px, calc((100vw - var(--wide)) / 2)) 126px;
  background:
    radial-gradient(circle at 82% 28%, rgba(53, 213, 139, 0.09), transparent 34%),
    linear-gradient(120deg, rgba(184, 79, 59, 0.12), transparent 30%),
    #030706;
  border-top: 1px solid rgba(232, 237, 240, 0.1);
  border-bottom: 1px solid rgba(232, 237, 240, 0.1);
}

.dota-base::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(232, 237, 240, 0.035) 1px, transparent 1px) center / 88px 88px,
    linear-gradient(0deg, rgba(232, 237, 240, 0.025) 1px, transparent 1px) center / 88px 88px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.dota-base-intro,
.dota-base-body {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
}

.dota-base-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  column-gap: 72px;
}

.dota-base-intro .eyebrow,
.dota-base-intro > p:not(.eyebrow) {
  grid-column: 1;
}

.dota-base-intro h2 {
  grid-column: 1;
  max-width: 850px;
  margin: 0;
  font-family: var(--game-display);
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.dota-base-intro > p:not(.eyebrow) {
  max-width: 62ch;
  margin: 22px 0 0;
  color: rgba(232, 237, 240, 0.62);
  font-size: 18px;
  line-height: 1.72;
}

.dota-base-stats {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  align-content: end;
  margin: 0;
  border-top: 1px solid rgba(198, 154, 74, 0.45);
}

.dota-base-stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(232, 237, 240, 0.1);
}

.dota-base-stats dt,
.dota-base-stats dd {
  margin: 0;
}

.dota-base-stats dt {
  color: #c69a4a;
  font-family: var(--game-tech);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.dota-base-stats dd {
  color: #ffffff;
  font-family: var(--game-tech);
  font-size: 19px;
  font-weight: 760;
}

.dota-base-stats .dota-cover-stat {
  align-items: center;
  gap: 18px;
  padding: 0 0 18px;
}

.dota-cover-stat dt {
  flex: 0 0 118px;
  overflow: hidden;
  border: 1px solid rgba(198, 154, 74, 0.35);
  border-radius: 3px;
}

.dota-cover-stat img {
  width: 100%;
  height: auto;
  aspect-ratio: 231 / 87;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
}

.dota-cover-stat dd {
  display: grid;
  gap: 5px;
  justify-items: end;
  font-family: var(--game-display);
  font-size: 25px;
  font-weight: 400;
}

.dota-cover-stat small {
  color: rgba(232, 237, 240, 0.46);
  font-family: var(--game-tech);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dota-base-body {
  display: grid;
  grid-template-columns: minmax(270px, 0.56fr) minmax(580px, 1.44fr);
  gap: 56px;
  align-items: center;
  margin-top: 74px;
}

.dota-principles {
  border-top: 1px solid rgba(232, 237, 240, 0.13);
}

.dota-principles article {
  padding: 24px 0 28px;
  border-bottom: 1px solid rgba(232, 237, 240, 0.13);
}

.dota-principles span {
  color: #c69a4a;
  font-family: var(--game-tech);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.dota-principles h3 {
  margin: 12px 0 0;
  font-family: var(--game-display);
  font-size: 26px;
  font-weight: 400;
}

.dota-principles p {
  margin: 10px 0 0;
  color: rgba(232, 237, 240, 0.58);
  font-size: 15px;
  line-height: 1.65;
}

.steam-archive {
  padding: 126px max(24px, calc((100vw - var(--wide)) / 2)) 132px;
  color: #e7f1f7;
  background:
    radial-gradient(circle at 16% 14%, rgba(102, 192, 244, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(31, 91, 122, 0.08), transparent 45%),
    #07151d;
}

.steam-archive::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(0deg, rgba(102, 192, 244, 0.035) 0 1px, transparent 1px 42px);
}

.steam-archive > * {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
}

.steam-archive .eyebrow {
  color: #66c0f4;
}

.steam-archive-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 72px;
  align-items: end;
}

.steam-archive-head h2,
.switch-archive-head h2 {
  margin: 0;
  font-family: var(--game-display);
  font-size: clamp(45px, 5vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.steam-archive-head > div > p:not(.eyebrow) {
  max-width: 62ch;
  margin: 20px 0 0;
  color: rgba(231, 241, 247, 0.6);
  font-size: 17px;
  line-height: 1.7;
}

.steam-pulse,
.switch-pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(102, 192, 244, 0.42);
  border-bottom: 1px solid rgba(102, 192, 244, 0.18);
}

.steam-pulse div,
.switch-pulse div {
  padding: 18px 16px 20px;
  border-right: 1px solid rgba(102, 192, 244, 0.15);
}

.steam-pulse div:last-child,
.switch-pulse div:last-child {
  border-right: 0;
}

.steam-pulse dt,
.steam-pulse dd,
.switch-pulse dt,
.switch-pulse dd {
  margin: 0;
}

.steam-pulse dt,
.switch-pulse dt {
  color: #66c0f4;
  font-family: var(--game-tech);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.steam-pulse dd,
.switch-pulse dd {
  margin-top: 16px;
  color: #ffffff;
  font-family: var(--game-tech);
  font-size: 34px;
  font-weight: 760;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.steam-pulse dd b,
.switch-pulse dd b {
  font: inherit;
}

.steam-pulse span,
.switch-pulse span {
  display: block;
  margin-top: 7px;
  color: rgba(231, 241, 247, 0.48);
  font-size: 11px;
}

.archive-data-alert {
  max-width: var(--wide);
  margin: 22px auto 0;
  padding: 12px 14px;
  color: rgba(231, 241, 247, 0.84);
  font-family: var(--game-utility);
  font-size: 12px;
  line-height: 1.5;
  background: rgba(228, 130, 120, 0.12);
  border: 1px solid rgba(228, 130, 120, 0.32);
  border-radius: 8px;
}

.archive-data-alert-dark {
  color: rgba(23, 23, 23, 0.72);
  background: rgba(230, 0, 18, 0.08);
  border-color: rgba(230, 0, 18, 0.24);
}

.steam-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: 56px;
  margin-top: 72px;
}

.steam-feature {
  padding: 34px 36px 38px;
  background: linear-gradient(135deg, rgba(102, 192, 244, 0.09), rgba(255, 255, 255, 0.025));
  border-left: 3px solid #66c0f4;
}

.steam-feature-top {
  display: flex;
  justify-content: space-between;
  color: #66c0f4;
  font-family: var(--game-tech);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.steam-feature-top [data-steam-playtime] {
  font-size: 1.18em;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.steam-feature-title {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  margin-top: 42px;
}

.steam-feature-title img {
  flex: 0 0 128px;
  width: 128px;
  height: auto;
  aspect-ratio: 231 / 87;
  object-fit: cover;
  border: 1px solid rgba(102, 192, 244, 0.24);
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.steam-feature h3 {
  margin: 0;
  font-family: var(--game-display);
  font-size: 40px;
  font-weight: 400;
}

.steam-feature h3 a:hover,
.steam-review-link:hover,
.steam-notes a:hover {
  color: #66c0f4;
}

.steam-feature > p {
  max-width: 62ch;
  margin: 16px 0 0;
  color: rgba(231, 241, 247, 0.65);
  font-size: 16px;
  line-height: 1.72;
}

.steam-feature blockquote {
  margin: 28px 0 0;
  padding: 20px 0 0;
  color: rgba(231, 241, 247, 0.86);
  font-size: 19px;
  line-height: 1.6;
  border-top: 1px solid rgba(102, 192, 244, 0.2);
}

.steam-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.steam-feature-tags span,
.steam-game-index small {
  color: rgba(102, 192, 244, 0.86);
  font-family: var(--game-tech);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.steam-feature-tags span {
  padding: 5px 7px;
  background: rgba(102, 192, 244, 0.08);
  border: 1px solid rgba(102, 192, 244, 0.18);
  border-radius: 999px;
}

.steam-review-link,
.steam-notes a {
  display: inline-flex;
  margin-top: 24px;
  color: #ffffff;
  font-family: var(--game-tech);
  font-size: 11px;
  font-weight: 800;
}

.steam-game-index {
  border-top: 1px solid rgba(102, 192, 244, 0.28);
}

.steam-index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  color: rgba(231, 241, 247, 0.42);
  font-family: var(--game-tech);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(102, 192, 244, 0.16);
}

.steam-index-head b {
  color: #66c0f4;
  font: inherit;
}

.steam-game-index a {
  position: relative;
  display: grid;
  grid-template-columns: 28px 76px minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 2px;
  gap: 4px 14px;
  align-items: center;
  min-height: 96px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(102, 192, 244, 0.16);
  transition: color 180ms ease, padding 180ms ease, background 180ms ease;
}

.steam-game-index a:hover {
  padding-left: 12px;
  color: #ffffff;
  background: rgba(102, 192, 244, 0.04);
}

.steam-game-index a > span,
.steam-game-index em {
  color: rgba(102, 192, 244, 0.68);
  font-family: var(--game-tech);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.steam-game-index a > span,
.steam-game-index img {
  grid-row: 1 / span 2;
}

.steam-game-index strong {
  grid-column: 3;
  font-family: var(--game-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

.steam-game-index small {
  grid-column: 3;
  grid-row: 2;
}

.steam-game-index em {
  grid-column: 4;
  grid-row: 1 / span 3;
  justify-self: end;
  font-size: clamp(12px, 1.05vw, 14px);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.steam-game-index a::after {
  grid-column: 3 / -1;
  grid-row: 3;
  overflow: hidden;
  color: rgba(231, 241, 247, 0.48);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
  content: attr(data-note);
}

.steam-game-index a:not([data-note])::after {
  display: none;
}

.steam-game-index img {
  width: 76px;
  height: auto;
  aspect-ratio: 231 / 87;
  object-fit: cover;
  border: 1px solid rgba(102, 192, 244, 0.18);
  border-radius: 2px;
  filter: saturate(0.72) contrast(1.08);
  transition: filter 180ms ease, transform 180ms ease;
}

.steam-game-index a:hover img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.035);
}

.steam-game-index i {
  grid-column: 3 / -1;
  grid-row: 4;
  align-self: end;
  width: calc(var(--play-ratio, 0) * 100%);
  height: 2px;
  background: linear-gradient(90deg, #66c0f4, rgba(102, 192, 244, 0.24));
  transform-origin: left center;
  transition: width 220ms ease, filter 180ms ease;
}

.steam-game-index a:hover i {
  filter: brightness(1.35);
}

.steam-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(260px, 0.8fr);
  margin-top: 0;
  border-top: 1px solid rgba(102, 192, 244, 0.24);
  border-bottom: 1px solid rgba(102, 192, 244, 0.18);
}

.steam-notes-shell {
  margin-top: 74px;
}

.steam-notes-shell summary {
  display: none;
}

.steam-notes-shell summary::-webkit-details-marker {
  display: none;
}

.steam-notes > * {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid rgba(102, 192, 244, 0.15);
}

.steam-notes > *:last-child {
  border-right: 0;
}

.steam-notes span {
  font-family: var(--game-tech);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.steam-notes .review-positive {
  color: #70c995;
}

.steam-notes .review-negative {
  color: #e48278;
}

.steam-notes h3 {
  margin: 28px 0 0;
  font-family: var(--game-display);
  font-size: 25px;
  font-weight: 400;
}

.steam-notes p {
  margin: 12px 0 0;
  color: rgba(231, 241, 247, 0.58);
  font-size: 14px;
  line-height: 1.6;
}

.steam-completion-note strong {
  display: block;
  color: #66c0f4;
  font-family: var(--game-tech);
  font-size: 35px;
}

.steam-completion-note strong b {
  font: inherit;
}

.steam-completion-note span {
  display: block;
  margin-top: 8px;
  color: rgba(231, 241, 247, 0.55);
  text-transform: none;
}

.steam-source-note {
  margin-top: 20px !important;
  color: rgba(231, 241, 247, 0.42);
}

.switch-archive {
  padding: 126px max(24px, calc((100vw - var(--wide)) / 2)) 132px;
  color: #171717;
  font-family: var(--body);
  background:
    radial-gradient(circle at 88% 12%, rgba(230, 0, 18, 0.09), transparent 28%),
    linear-gradient(90deg, rgba(23, 23, 23, 0.04) 1px, transparent 1px) center / 96px 96px,
    #f3f0ea;
}

.switch-archive > * {
  position: relative;
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
}

.switch-archive .eyebrow {
  color: #e60012;
}

.switch-archive-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: 72px;
  align-items: end;
}

.switch-archive-head h2 {
  color: #111111;
  font-family: var(--game-rounded);
  font-size: clamp(42px, 4.4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.switch-archive-head > div > p:not(.eyebrow) {
  max-width: 60ch;
  margin: 20px 0 0;
  color: rgba(23, 23, 23, 0.62);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
}

.switch-pulse {
  border-top-color: rgba(230, 0, 18, 0.5);
  border-bottom-color: rgba(23, 23, 23, 0.18);
}

.switch-pulse div {
  border-right-color: rgba(23, 23, 23, 0.13);
}

.switch-pulse dt {
  color: #e60012;
}

.switch-pulse dd {
  color: #111111;
  font-family: var(--game-tech);
}

.switch-pulse span {
  color: rgba(23, 23, 23, 0.5);
}

.switch-playtime {
  margin-top: 76px;
  border-top: 2px solid #111111;
}

.switch-playtime article {
  display: grid;
  grid-template-columns: 98px 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.18);
}

.switch-playtime article > img {
  width: 98px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(23, 23, 23, 0.15);
}

.switch-playtime article > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  row-gap: 4px;
  align-items: center;
}

.switch-playtime span {
  grid-row: 1 / span 2;
  color: #e60012;
  font-family: var(--game-tech);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.switch-playtime h3 {
  grid-column: 2;
  margin: 0;
  font-family: var(--game-rounded);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.015em;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

.switch-playtime small {
  grid-column: 2;
  color: rgba(23, 23, 23, 0.48);
  font-family: var(--game-tech);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.switch-playtime i {
  position: relative;
  display: block;
  height: 10px;
  overflow: hidden;
  background: #d9d4cb;
  border-radius: 2px;
}

.switch-playtime i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  content: "";
  background: #e60012;
}

.switch-playtime article:nth-child(2) i::after { width: 82%; }
.switch-playtime article:nth-child(3) i::after { width: 76%; }
.switch-playtime article:nth-child(4) i::after { width: 53%; }

.switch-archive .switch-index {
  margin-top: 36px;
  background: transparent;
  border: 1px solid rgba(23, 23, 23, 0.22);
  border-radius: 4px;
}

.switch-archive .switch-index summary {
  color: #171717;
  font-family: var(--body);
  font-weight: 720;
}

.switch-archive .switch-index summary b,
.switch-archive .switch-index summary span {
  color: #e60012;
}

.switch-archive .switch-record-list article {
  border-top-color: rgba(23, 23, 23, 0.12);
}

.switch-archive .switch-record-list article > span,
.switch-archive .switch-record-list article > em {
  color: rgba(23, 23, 23, 0.42);
}

.switch-archive .switch-record-list article > strong {
  color: #171717;
  font-family: var(--body);
  font-weight: 680;
}

.switch-archive .switch-record-list article > b {
  color: #e60012;
}

.switch-archive .switch-record-list > p,
.switch-archive .switch-source-note {
  color: rgba(23, 23, 23, 0.5);
}

.switch-archive .switch-source-note {
  margin-top: 18px;
  font-family: var(--body);
}

@media (max-width: 1100px) {
  .dota-base-intro,
  .steam-archive-head,
  .switch-archive-head {
    grid-template-columns: 1fr;
  }

  .dota-base-stats {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .dota-base-stats div {
    display: grid;
    gap: 8px;
  }

  .dota-base-body {
    grid-template-columns: 1fr;
  }

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

  .dota-principles article {
    padding: 24px;
    border-right: 1px solid rgba(232, 237, 240, 0.13);
  }

  .dota-principles article:last-child {
    border-right: 0;
  }

  .steam-pulse,
  .switch-pulse {
    margin-top: 40px;
  }

  .steam-ledger {
    grid-template-columns: 1fr;
  }

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

  .steam-completion-note {
    grid-column: 1 / -1;
    min-height: auto;
    border-top: 1px solid rgba(102, 192, 244, 0.15);
  }
}

@media (max-width: 680px) {
  .dota-base,
  .steam-archive,
  .switch-archive {
    padding: 88px 18px 94px;
  }

  .dota-base-intro h2,
  .steam-archive-head h2,
  .switch-archive-head h2 {
    font-size: 39px;
  }

  .dota-base-intro > p:not(.eyebrow),
  .steam-archive-head > div > p:not(.eyebrow),
  .switch-archive-head > div > p:not(.eyebrow) {
    font-size: 15px;
  }

  .dota-base-stats,
  .steam-pulse,
  .switch-pulse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dota-base-stats .dota-cover-stat {
    grid-column: 1 / -1;
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .dota-principles {
    grid-template-columns: 1fr;
  }

  .dota-principles article {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .dota-base-body {
    gap: 36px;
    margin-top: 48px;
  }

  .steam-pulse div:nth-child(2),
  .switch-pulse div:nth-child(2) {
    border-right: 0;
  }

  .steam-pulse div:nth-child(-n + 2),
  .switch-pulse div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(102, 192, 244, 0.15);
  }

  .switch-pulse div:nth-child(-n + 2) {
    border-bottom-color: rgba(23, 23, 23, 0.13);
  }

  .steam-pulse dd,
  .switch-pulse dd {
    font-size: 30px;
  }

  .steam-ledger {
    gap: 32px;
    margin-top: 48px;
  }

  .steam-feature {
    padding: 26px 22px 30px;
  }

  .steam-feature-title {
    gap: 14px;
    margin-top: 34px;
  }

  .steam-feature-title img {
    flex-basis: 104px;
    width: 104px;
  }

  .steam-feature h3 {
    margin-top: 0;
    font-size: 33px;
  }

  .steam-feature blockquote {
    font-size: 17px;
  }

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

  .steam-game-index a {
    grid-template-columns: 24px 62px minmax(0, 1fr) auto;
    gap: 4px 10px;
    min-height: 104px;
  }

  .steam-game-index img {
    width: 62px;
  }

  .steam-game-index em {
    grid-column: 4;
  }

  .steam-game-index i {
    grid-column: 3 / -1;
  }

  .steam-game-index a::after {
    font-size: 11px;
    white-space: normal;
  }

  .steam-notes {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .steam-notes-shell {
    margin-top: 54px;
    border: 1px solid rgba(102, 192, 244, 0.18);
    border-radius: 8px;
  }

  .steam-notes-shell summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 0 18px;
    color: rgba(231, 241, 247, 0.86);
    font-family: var(--game-tech);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
  }

  .steam-notes-shell summary:focus-visible {
    outline: 2px solid #66c0f4;
    outline-offset: 4px;
  }

  .steam-notes-shell summary span {
    color: #66c0f4;
    font-size: 22px;
    transition: transform 180ms ease;
  }

  .steam-notes-shell[open] summary span {
    transform: rotate(45deg);
  }

  .steam-notes-shell:not([open]) .steam-notes {
    display: none;
  }

  .steam-notes > *,
  .steam-completion-note {
    grid-column: auto;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(102, 192, 244, 0.15);
  }

  .steam-notes > *:last-child {
    border-bottom: 0;
  }

  .switch-playtime {
    margin-top: 52px;
  }

  .switch-playtime article {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
  }

  .switch-playtime article > img {
    width: 74px;
    border-radius: 9px;
  }

  .switch-playtime article > div {
    grid-template-columns: 78px 1fr;
  }

  .switch-playtime article > i {
    grid-column: 1 / -1;
  }

  .switch-playtime h3 {
    font-size: 22px;
  }

  .switch-playtime small {
    font-size: 9px;
  }
}
