
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --surface-strong: #fff7ed;
  --text: #09090b;
  --muted: #71717b;
  --line: #e4e4e7;
  --line-strong: #f1b08f;
  --orange-700: #d63f00;
  --orange-600: #e54800;
  --orange-500: #f54a00;
  --orange-400: #ff6900;
  --blue-700: #10529a;
  --shadow-soft: 0 16px 36px rgba(9, 9, 11, 0.08);
  --shadow-card: 0 10px 24px rgba(9, 9, 11, 0.06);
  --glass-surface: rgba(255, 255, 255, 0.62);
  --glass-surface-soft: rgba(250, 250, 250, 0.52);
  --glass-accent-surface: rgba(255, 247, 237, 0.58);
  --glass-danger-surface: rgba(255, 237, 237, 0.58);
  --glass-border: rgba(255, 255, 255, 0.52);
  --glass-blur: 12px;
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1120px, calc(100% - 2.2rem));
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #18181b;
  --surface-soft: #27272a;
  --surface-strong: #27272a;
  --text: #fafafa;
  --muted: #9f9fa9;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 105, 0, 0.45);
  --orange-700: #ff8f42;
  --orange-600: #ff7a24;
  --orange-500: #ff6900;
  --orange-400: #ff8c3d;
  --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.42);
  --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.36);
  --glass-surface: rgba(24, 24, 27, 0.62);
  --glass-surface-soft: rgba(39, 39, 42, 0.5);
  --glass-accent-surface: rgba(255, 105, 0, 0.13);
  --glass-danger-surface: rgba(231, 0, 11, 0.18);
  --glass-border: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Fira Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(74rem 32rem at 15% 4%, rgba(245, 74, 0, 0.15) 0%, rgba(245, 74, 0, 0) 84%),
    radial-gradient(76rem 36rem at 96% 97%, rgba(245, 74, 0, 0.16) 0%, rgba(9, 9, 11, 0.04) 56%, rgba(245, 74, 0, 0) 100%),
    var(--bg);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
  line-height: 1.62;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(74rem 32rem at 15% 4%, rgba(255, 105, 0, 0.19) 0%, rgba(255, 105, 0, 0) 84%),
    radial-gradient(76rem 36rem at 96% 97%, rgba(255, 105, 0, 0.2) 0%, rgba(250, 250, 250, 0.06) 56%, rgba(255, 105, 0, 0) 100%),
    var(--bg);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 74, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 74, 0, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 70%);
  z-index: -1;
}

:root[data-theme="dark"] body::before {
  background-image:
    linear-gradient(rgba(255, 105, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 105, 0, 0.08) 1px, transparent 1px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 72%);
}

a {
  color: var(--orange-700);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--orange-600);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(228, 228, 231, 0.9);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.topbar-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.6rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-family: "Fira Sans", "Segoe UI", sans-serif;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 18px rgba(63, 72, 87, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #27272a;
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--orange-700);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  color: var(--orange-700);
}

.nav-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--orange-500) 66%, transparent);
  outline-offset: 2px;
}

.nav-toggle-icon {
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
}

.lang-switch {
  display: inline-flex;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 0.24rem;
  border-radius: 999px;
}

.lang-switch a {
  min-width: 2.7rem;
  padding: 0.34rem 0.74rem;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  color: #4b5462;
  font-weight: 700;
  font-size: 0.82rem;
}

.lang-switch a.active {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  box-shadow: 0 6px 14px rgba(214, 92, 0, 0.3);
}

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.lang-switch + .theme-toggle {
  margin-left: 10px;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  color: var(--orange-500);
}

.theme-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--orange-500) 66%, transparent);
  outline-offset: 2px;
}

.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

.theme-icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: inline;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.hero {
  padding: 4.4rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.1rem;
}

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

.hero-grid-single .lead {
  max-width: none;
}

.hero-card,
.hero-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 250, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: clamp(1.6rem, 2.2vw, 2.4rem);
}

.hero-panel {
  padding: 1.35rem;
}

.hero-screenshot-panel {
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  padding: clamp(0.9rem, 1.4vw, 1.2rem);
}

.hero-screenshot-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: calc(var(--radius-lg) - 6px);
}

.kicker {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 74, 0, 0.38);
  background: rgba(255, 247, 237, 0.9);
  color: #c43d00;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fira Sans", "Segoe UI", sans-serif;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

#meeting-title {
  font-family: "Fira Sans", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  margin-top: 0.95rem;
}

h2 {
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  margin-top: 1.05rem;
  color: var(--muted);
  max-width: 64ch;
  font-size: 1.05rem;
}

.lead + .lead {
  margin-top: 0.82rem;
}

.button-row {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.18rem;
  font-weight: 780;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.store-badge-link {
  padding: 0;
  height: 51px;
  min-height: 51px;
  border: none;
  border-radius: 0.56rem;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  overflow: hidden;
  flex: 0 0 auto;
}

.store-badge-link:hover {
  background: transparent;
}

.store-badge-image {
  display: block;
  width: auto;
  height: 100%;
}

#cta-open {
  gap: 0.4rem;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.24rem;
  height: 1.24rem;
  line-height: 1;
  flex: 0 0 auto;
}

.cta-open-label {
  white-space: nowrap;
}

.platform-icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  box-shadow: 0 10px 24px rgba(245, 74, 0, 0.3);
}

.button-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #ff7a24, var(--orange-500));
}

.button-secondary {
  background: #fafafa;
  color: #27272a;
  border-color: var(--line);
}

.button-secondary:hover {
  color: #18181b;
  background: #f4f4f5;
}

.metric-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.metric {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.8rem;
}

.metric strong {
  display: block;
  font-family: "Fira Sans", "Segoe UI", sans-serif;
  font-size: 1.25rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.88rem;
}

.data-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.data-item {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.72rem 0.78rem;
}

.data-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #c43d00;
  margin-bottom: 0.34rem;
}

.data-item strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.35;
}

.section {
  padding: 1.4rem 0 2.2rem;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head p {
  margin: 0.72rem 0 0;
  color: var(--muted);
  max-width: 72ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 1.08rem;
}

.card p {
  color: var(--muted);
  margin: 0.56rem 0 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.icon-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #c43d00;
  background: linear-gradient(180deg, #fff7ed, #ffeedc);
  border: 1px solid rgba(245, 74, 0, 0.34);
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.phase {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fafafa);
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.phase-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--orange-400), var(--orange-700));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fira Sans", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  margin-bottom: 0.52rem;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.highlight {
  border-left: 4px solid var(--orange-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #fff7ed;
  padding: 0.95rem 1rem;
  margin-top: 0.8rem;
}

.highlight p {
  margin: 0.48rem 0 0;
  color: #524034;
}

.text-block {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 1.12rem;
}

.text-block p {
  color: var(--muted);
  margin: 0.74rem 0 0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
}

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: var(--shadow-card);
}

.shot-box {
  min-height: 220px;
  border: 2px dashed rgba(245, 74, 0, 0.38);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(245, 74, 0, 0.16), rgba(255, 247, 237, 0.84)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45) 10px, rgba(250, 250, 250, 0.45) 10px, rgba(250, 250, 250, 0.45) 20px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #c43d00;
  font-weight: 700;
  padding: 0.8rem;
}

.shot-image {
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(34, 39, 47, 0.16);
  object-fit: cover;
  object-position: top center;
  display: block;
}

.shot figcaption {
  margin-top: 0.5rem;
  color: #71717b;
  font-size: 0.9rem;
}

.summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.summary-item {
  margin: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 0.88rem;
}

.summary-item h3 {
  font-size: 1rem;
}

.summary-row {
  display: grid;
  grid-template-columns: minmax(64px, min(25vw, 112px)) 1fr;
  column-gap: 0.8rem;
  align-items: flex-start;
}

.summary-content {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 0.34rem;
}

.summary-cover-slot {
  width: min(25vw, 112px);
  min-width: min(25vw, 112px);
  max-width: 25vw;
}

.summary-cover,
.summary-cover-placeholder {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(34, 39, 47, 0.16);
}

.summary-cover-placeholder {
  min-height: 72px;
  display: grid;
  place-items: center;
  background: #f4f4f5;
  color: #71717b;
  font-size: 1.1rem;
}

.summary-subtitle {
  margin: 0;
  color: #52525b;
}

.game-metrics {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.game-metric {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1.4px solid transparent;
  padding: 0.19rem 0.56rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.game-metric-neutral {
  background: #eceff4;
  border-color: #bfc8d3;
  color: #1e2228;
}

.game-metric-green {
  background: #2e7d32;
  border-color: #1b5e20;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.game-metric-yellow {
  background: #f4d03f;
  border-color: #7a5a00;
  color: #1f1a00;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.game-metric-orange {
  background: #b95a00;
  border-color: #8a4300;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.game-metric-red {
  background: #c62828;
  border-color: #8e1b1b;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.game-metric-blue {
  background: #1565c0;
  border-color: #0d47a1;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.game-metric-dark-green {
  background: #1b5e20;
  border-color: #0f3d13;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.summary-meta {
  margin: 0;
  color: #71717b;
  font-size: 0.92rem;
}

.summary-extra {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1.6px solid #a1a1aa;
  background: #f4f4f5;
  color: #09090b;
  padding: 0.19rem 0.56rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

#description-section .card {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

#meeting-description {
  margin-top: 0.72rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.68;
}

.compact-list .summary-item {
  box-shadow: none;
}

.empty-state {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(245, 74, 0, 0.45);
  background: #fff7ed;
  color: #7c2d12;
  padding: 0.86rem;
}

.error-box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 74, 0, 0.42);
  background: #fff7ed;
  padding: 1.1rem;
}

.error-box h2 {
  color: #9a3412;
}

.error-box p {
  margin-top: 0.62rem;
  color: #7c2d12;
}

.link-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.link-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 0.95rem;
}

.link-card h3 {
  font-size: 1rem;
}

.link-card p {
  margin: 0.52rem 0 0.62rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.form-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 1.2rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.36rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #c43d00;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  padding: 0.74rem 0.86rem;
  font-family: inherit;
  font-size: 0.98rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(245, 74, 0, 0.16);
  background: #fff;
}

.note {
  margin-top: 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff7ed;
  color: #7c2d12;
  padding: 0.85rem;
  font-size: 0.92rem;
}

.doc-meta {
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 0.65rem;
}

.doc-article {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 1.2rem;
}

.doc-article section + section {
  margin-top: 1.1rem;
}

.doc-article h2 {
  font-size: 1.22rem;
}

.doc-article h3 {
  margin-top: 0.72rem;
  font-size: 1rem;
}

.doc-article p,
.doc-article li {
  color: #3f3f46;
}

.doc-article ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-card p {
  margin: 0;
  color: #52525b;
}

.small-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.small-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-card,
.hero-panel,
.metric,
.data-item,
.card,
.phase,
.text-block,
.shot,
.summary-item,
.link-card,
.form-card,
.doc-article,
.footer-card {
  background: linear-gradient(180deg, var(--glass-surface), var(--glass-surface-soft));
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(118%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(118%);
}

.highlight,
.note,
.empty-state {
  background: var(--glass-accent-surface);
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(118%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(118%);
}

.error-box {
  background: var(--glass-danger-surface);
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(118%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(118%);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.55s ease forwards;
  animation-delay: var(--delay, 0s);
}

:root[data-theme="dark"] .topbar {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: rgba(24, 24, 27, 0.84);
}

:root[data-theme="dark"] .nav-links a {
  color: #d4d4d8;
}

:root[data-theme="dark"] .lang-switch a {
  color: #d4d4d8;
}

:root[data-theme="dark"] .lang-switch a.active {
  box-shadow: 0 8px 18px rgba(255, 105, 0, 0.4);
}

:root[data-theme="dark"] .kicker {
  background: rgba(255, 105, 0, 0.17);
  border-color: rgba(255, 105, 0, 0.54);
  color: #ffbe92;
}

:root[data-theme="dark"] .button-secondary {
  background: #27272a;
  color: #fafafa;
}

:root[data-theme="dark"] .button-secondary:hover {
  background: #333337;
  color: #fff;
}

:root[data-theme="dark"] .data-label,
:root[data-theme="dark"] .field label {
  color: #ffbe92;
}

:root[data-theme="dark"] .icon-badge {
  background: linear-gradient(180deg, rgba(255, 105, 0, 0.18), rgba(255, 105, 0, 0.28));
  border-color: rgba(255, 105, 0, 0.42);
  color: #ffd9bf;
}

:root[data-theme="dark"] .highlight,
:root[data-theme="dark"] .note {
  background: rgba(255, 105, 0, 0.14);
}

:root[data-theme="dark"] .highlight p,
:root[data-theme="dark"] .note {
  color: #ffccaa;
}

:root[data-theme="dark"] .shot-box {
  background:
    linear-gradient(135deg, rgba(255, 105, 0, 0.22), rgba(39, 39, 42, 0.86)),
    repeating-linear-gradient(-45deg, rgba(250, 250, 250, 0.07), rgba(250, 250, 250, 0.07) 10px, rgba(24, 24, 27, 0.1) 10px, rgba(24, 24, 27, 0.1) 20px);
  color: #ffd2b5;
}

:root[data-theme="dark"] .shot figcaption,
:root[data-theme="dark"] .summary-subtitle,
:root[data-theme="dark"] .summary-meta,
:root[data-theme="dark"] .doc-article p,
:root[data-theme="dark"] .doc-article li,
:root[data-theme="dark"] .footer-card p {
  color: #a1a1aa;
}

:root[data-theme="dark"] .summary-cover-placeholder,
:root[data-theme="dark"] .summary-extra,
:root[data-theme="dark"] .game-metric-neutral {
  background: #27272a;
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.18);
}

:root[data-theme="dark"] .empty-state {
  background: rgba(255, 105, 0, 0.15);
  color: #ffd2b5;
}

:root[data-theme="dark"] .error-box {
  background: rgba(231, 0, 11, 0.18);
  border-color: rgba(255, 100, 103, 0.5);
}

:root[data-theme="dark"] .error-box h2 {
  color: #ffb3b5;
}

:root[data-theme="dark"] .error-box p {
  color: #ffd4d5;
}

:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field textarea {
  background: #18181b;
  color: #fafafa;
}

:root[data-theme="dark"] .field input:focus,
:root[data-theme="dark"] .field textarea:focus {
  background: #202024;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .card-grid,
  .phase-grid,
  .duo,
  .link-panel,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 3.2rem;
  }

  .topbar-row {
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0.52rem 0;
  }

  .brand {
    margin-right: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .lang-switch {
    margin-left: 0;
  }

  .lang-switch + .theme-toggle {
    margin-left: 0;
  }

  .nav-links {
    display: none;
    order: 10;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.18rem;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }

  .topbar-row[data-nav-open="true"] .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.44rem 0.56rem;
    border-radius: 0.58rem;
  }

  .nav-links a:hover {
    background: color-mix(in srgb, var(--orange-500) 10%, transparent);
  }

  .hero-grid,
  .card-grid,
  .phase-grid,
  .duo,
  .link-panel,
  .screenshot-grid,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .shot-box {
    min-height: 190px;
  }

  .footer-card {
    align-items: flex-start;
  }

  #description-section .card {
    padding: 0.94rem;
  }

  #meeting-description {
    font-size: 0.98rem;
    line-height: 1.72;
  }
}
