:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --paper: #ffffff;
  --paper-soft: #f8fbff;
  --ink: #121826;
  --muted: #657388;
  --line: #dce5f1;
  --nintendo: #e60012;
  --sony: #2458d8;
  --green: #13795b;
  --amber: #a96600;
  --rebut: #b1311f;
  --shadow: 0 18px 46px rgba(19, 30, 51, 0.1);
  --small-shadow: 0 10px 26px rgba(19, 30, 51, 0.06);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 8% 4%, rgba(230, 0, 18, 0.12), transparent 30rem),
    radial-gradient(circle at 92% 6%, rgba(36, 88, 216, 0.14), transparent 32rem),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 42%, #eef3fa 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 24, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 24, 38, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

a {
  color: #244fc7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0 40px;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(220, 229, 241, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(19, 30, 51, 0.07);
  backdrop-filter: blur(18px);
}

.topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.page-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  padding: 3px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #f1f5fb;
  scrollbar-width: none;
}

.page-tabs::-webkit-scrollbar {
  display: none;
}

.page-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  color: #4a5874;
  font-size: 12.5px;
  font-weight: 850;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.page-tab:hover {
  text-decoration: none;
  color: var(--ink);
}

.page-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #1f2a44, #2a4dba);
  box-shadow: 0 6px 14px rgba(36, 88, 216, 0.25);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--nintendo), var(--sony));
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 14px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}

.nav a {
  padding: 6px 11px;
  border-radius: 999px;
  color: #3c495d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: #eef4ff;
  text-decoration: none;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 16px;
}

.glass-card,
.panel {
  border: 1px solid rgba(220, 229, 241, 0.9);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  align-items: stretch;
  margin-bottom: 16px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 38px);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.16), rgba(36, 88, 216, 0.18));
}

.eyebrow,
.kicker {
  margin: 0 0 8px;
  color: #526177;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #dae4f2;
  border-radius: 999px;
  background: #f8fbff;
  text-transform: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  font-size: clamp(28px, 4.4vw, 48px);
}

h2 {
  font-size: clamp(20px, 2.2vw, 28px);
}

h3 {
  font-size: 18px;
}

.lead {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 16px);
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #111827, #274dc8);
  box-shadow: 0 16px 26px rgba(36, 88, 216, 0.22);
}

.button.ghost {
  color: #273449;
  background: #eef4ff;
}

.research-card {
  padding: 18px;
}

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

.research-stamp {
  padding: 12px;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 24, 38, 0.96), rgba(36, 88, 216, 0.9)),
    linear-gradient(45deg, var(--nintendo), var(--sony));
}

.research-stamp.secondary {
  background:
    linear-gradient(135deg, rgba(11, 107, 77, 0.96), rgba(20, 156, 116, 0.92));
}

.research-stamp.tertiary {
  background:
    linear-gradient(135deg, rgba(105, 56, 184, 0.96), rgba(138, 75, 238, 0.92));
}

.research-stamp span {
  display: block;
  opacity: 0.78;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.research-stamp strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.research-stamp small {
  display: block;
  margin-top: 5px;
  opacity: 0.88;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.research-meta {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.research-meta div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-soft);
}

.research-meta dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-meta dd {
  margin: 2px 0 0;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.4;
}

.panel {
  margin-top: 16px;
  padding: clamp(18px, 2.6vw, 26px);
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.pill.red {
  color: #8a1a0a;
  border: 1px solid #f3c8c2;
  background: #fdeae6;
}

.pill.green {
  color: #0b6b4d;
  border: 1px solid #c8eadb;
  background: #eaf8f1;
}

.pill.blue {
  color: #234bb8;
  border: 1px solid #cbd9ff;
  background: #edf3ff;
}

.pill.amber {
  color: #8a5600;
  border: 1px solid #f3d79d;
  background: #fff5df;
}

.verdict-grid,
.quote-grid,
.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.company-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.company-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
}

.company-card.nintendo {
  --accent: var(--nintendo);
}

.company-card.sony {
  --accent: var(--sony);
}

.company-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.company-logo {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
  font-size: 18px;
}

.company-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.answer {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.22;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.callout {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #e0e8f3;
  border-radius: var(--radius-md);
  color: #344258;
  background: #f8fbff;
  font-size: 12.5px;
}

.comparison-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  scrollbar-width: thin;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: #334258;
  background: #f5f8fc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table td:first-child {
  width: 23%;
  color: #26354c;
  font-weight: 900;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}

.result-badge.nintendo {
  background: var(--nintendo);
}

.result-badge.sony {
  background: var(--sony);
}

.quote-card {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--small-shadow);
}

.quote-card.nintendo {
  --accent: var(--nintendo);
}

.quote-card.sony {
  --accent: var(--sony);
}

.quote-card p {
  margin: 0 0 10px;
  color: #26354c;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.55;
}

.quote-card cite {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-style: normal;
  font-size: 12.5px;
}

.evidence-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eaf8f1;
  color: #0b6b4d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-tab {
  padding: 8px 12px;
  border: 1px solid #d9e4f1;
  border-radius: 999px;
  color: #3d4b60;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.filter-tab.active {
  color: #fff;
  border-color: #111827;
  background: #111827;
}

.source-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 142px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 5px 14px rgba(19, 30, 51, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.source-card:hover {
  transform: translateY(-2px);
  border-color: #c3d2e6;
  box-shadow: 0 12px 22px rgba(19, 30, 51, 0.08);
  text-decoration: none;
}

.source-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.source-title {
  display: block;
  line-height: 1.32;
  font-size: 14px;
  font-weight: 900;
}

.source-desc {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.source-company {
  margin-top: auto;
  color: #415169;
  font-size: 11.5px;
  font-weight: 850;
}

.source-card[hidden] {
  display: none;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid #e0e8f3;
  border-radius: 14px;
  background: #fbfdff;
}

.process-list span {
  display: grid;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--nintendo), var(--sony));
  font-weight: 950;
  font-size: 12px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.ai-log {
  display: grid;
  gap: 10px;
}

.ai-entry {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.ai-entry > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ai-entry strong {
  font-size: 15px;
}

.ai-entry span {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.ai-entry.confirmed span {
  color: #0b6b4d;
  background: #eaf8f1;
}

.ai-entry.pending span {
  color: #8a5600;
  background: #fff5df;
}

.ai-entry p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ai-entry.opus {
  border: 1px solid #c7e3d5;
  background:
    linear-gradient(180deg, #f4fbf7, #ffffff);
  box-shadow: 0 10px 22px rgba(11, 107, 77, 0.06);
}

.ai-entry.opus::before {
  content: "Opus 4.7";
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b6b4d, #1aa176);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-entry.gemini {
  border: 1px solid #dcc7e3;
  background:
    linear-gradient(180deg, #f9f4fb, #ffffff);
  box-shadow: 0 10px 22px rgba(105, 56, 184, 0.06);
}

.ai-entry.gemini::before {
  content: "Gemini 3.1 Pro";
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6938b8, #8a4bee);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-entry .ai-summary {
  color: #1f2a3a;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.6;
}

.ai-entry .ai-h {
  margin: 12px 0 4px;
  color: #1f2a3a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-evidence {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.ai-evidence li {
  color: #2c3a52;
  font-size: 13px;
  line-height: 1.55;
}

.ai-evidence li em {
  color: #1f2a3a;
  font-style: normal;
  background: #fff5df;
  padding: 0 4px;
  border-radius: 4px;
}

.ai-evidence li strong {
  color: #1f2a3a;
}

.ai-evidence li a {
  margin-left: 4px;
  font-weight: 800;
  white-space: nowrap;
}

.rebuttal-list {
  display: grid;
  gap: 12px;
}

.rebuttal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.rebuttal-claim,
.rebuttal-fact {
  padding: 14px 16px;
}

.rebuttal-claim {
  background: linear-gradient(180deg, #fff7f5, #fdeae6);
  border-right: 1px solid #f3c8c2;
}

.rebuttal-claim header,
.rebuttal-fact header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.rebuttal-claim .who {
  color: #8a1a0a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rebuttal-claim .src {
  color: #8a1a0a;
  font-size: 11px;
  font-weight: 800;
}

.rebuttal-claim .src a {
  color: #b1311f;
  text-decoration: underline;
}

.rebuttal-claim blockquote {
  margin: 0;
  color: #5d2519;
  font-size: 13px;
  line-height: 1.55;
  font-style: italic;
}

.rebuttal-claim blockquote::before {
  content: "“";
  margin-right: 2px;
  color: #b1311f;
  font-size: 24px;
  line-height: 0;
  vertical-align: -10px;
  font-weight: 900;
}

.rebuttal-fact {
  background: linear-gradient(180deg, #f4fbf7, #eaf8f1);
}

.rebuttal-fact .who {
  color: #0b6b4d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rebuttal-fact .verdict {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #0b6b4d;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.rebuttal-fact p {
  margin: 0 0 6px;
  color: #1c3327;
  font-size: 13px;
  line-height: 1.6;
}

.rebuttal-fact p:last-child {
  margin-bottom: 0;
}

.rebuttal-fact strong {
  color: #0b6b4d;
}

.rebuttal-fact code {
  padding: 1px 6px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #c7e3d5;
  color: #0b6b4d;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.rebuttal-fact a {
  color: #0b6b4d;
  font-weight: 800;
  text-decoration: underline;
}

.rebuttal-illustration {
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffaf7, #ffffff);
  box-shadow: 0 14px 32px rgba(120, 35, 22, 0.08);
}

.rebuttal-illustration img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid #f3c8c2;
}

.rebuttal-illustration figcaption {
  padding: 12px 16px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5d2519;
  background: linear-gradient(180deg, #fff7f5, #fdeae6);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.rebuttal-illustration .caption-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b0210f, #d34532);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: 1px;
}

.misread-intro {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #f3c8c2;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7f5, #fdeae6);
  color: #5d2519;
  font-size: 13px;
  line-height: 1.55;
}

.misread-intro strong {
  color: #8a1a0a;
}

.factsheet-intro {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #c8e3d0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f4fbf6, #ecf6ee);
  color: #1f4731;
  font-size: 13px;
  line-height: 1.55;
}

.factsheet-intro strong {
  color: #135b34;
}

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

.factsheet-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.factsheet-group > header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.factsheet-group > header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.factsheet-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f6feb, #3b82f6);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.factsheet-group.factsheet-conclusion {
  background: linear-gradient(180deg, #f4fbf6, #ecf6ee);
  border-color: #c8e3d0;
}

.factsheet-group.factsheet-conclusion .factsheet-tag {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.factsheet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  counter-reset: factsheet;
}

.factsheet-list[start="8"]  { counter-reset: factsheet 7; }
.factsheet-list[start="16"] { counter-reset: factsheet 15; }
.factsheet-list[start="28"] { counter-reset: factsheet 27; }
.factsheet-list[start="34"] { counter-reset: factsheet 33; }
.factsheet-list[start="40"] { counter-reset: factsheet 39; }
.factsheet-list[start="44"] { counter-reset: factsheet 43; }
.factsheet-list[start="49"] { counter-reset: factsheet 48; }

.factsheet-list > li {
  position: relative;
  padding-left: 32px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #1f2a44;
  counter-increment: factsheet;
}

.factsheet-list > li::before {
  content: counter(factsheet, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #94a3b8;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1px 5px;
}

.factsheet-list > li strong {
  color: #0f172a;
}

.factsheet-list > li em {
  color: #1f6feb;
  font-style: normal;
  background: rgba(31, 111, 235, 0.08);
  padding: 0 4px;
  border-radius: 4px;
}

.factsheet-list > li code {
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0 5px;
  border-radius: 5px;
  color: #1e293b;
}

.factsheet-list > li a {
  color: #1f6feb;
  text-decoration: none;
  font-weight: 700;
  margin-left: 2px;
}

.factsheet-list > li a:hover {
  text-decoration: underline;
}

.factsheet-conclusion .factsheet-list > li::before {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #15803d;
}

.footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  max-width: min(360px, calc(100% - 44px));
  padding: 12px 14px;
  border: 1px solid #d7e3f1;
  border-radius: 16px;
  color: #fff;
  background: rgba(17, 24, 39, 0.92);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 22px, 760px);
  }

  .topbar {
    align-items: flex-start;
    border-radius: 18px;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .section-grid,
  .verdict-grid,
  .quote-grid,
  .source-list,
  .process-list {
    grid-template-columns: 1fr;
  }

  .research-card {
    order: -1;
  }

  .research-stamps {
    grid-template-columns: 1fr;
  }

  .rebuttal-card {
    grid-template-columns: 1fr;
  }

  .rebuttal-claim {
    border-right: 0;
    border-bottom: 1px solid #f3c8c2;
  }

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

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 12px, 760px);
    padding: 8px 0 28px;
  }

  .topbar {
    position: static;
    display: grid;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    margin-bottom: 12px;
  }

  .topbar-left {
    display: grid;
    width: 100%;
    gap: 10px;
    justify-content: stretch;
  }

  .brand {
    justify-content: center;
    min-width: 0;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .brand strong,
  .brand small {
    text-align: center;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 11px;
  }

  .nav {
    justify-content: center;
  }

  .page-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    overflow: visible;
    padding: 5px;
    border-radius: 18px;
  }

  .page-tab {
    justify-content: center;
    min-height: 40px;
    padding: 7px 8px;
    border-radius: 14px;
    font-size: 11.5px;
    line-height: 1.22;
    text-align: center;
    white-space: normal;
  }

  h1 {
    font-size: clamp(24px, 8.6vw, 34px);
    letter-spacing: -0.025em;
  }

  h2 {
    font-size: clamp(18px, 5.2vw, 22px);
  }

  .hero-copy {
    padding: 20px 18px;
  }

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

  .hero-actions {
    width: 100%;
    gap: 8px;
  }

  .hero-actions .button {
    flex: 1 1 calc(50% - 8px);
    min-height: 44px;
    padding: 0 12px;
    font-size: 12.5px;
  }

  .panel {
    padding: 16px;
    border-radius: var(--radius-lg);
  }

  .glass-card {
    border-radius: var(--radius-lg);
  }

  .section-heading {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
  }

  .section-heading > div {
    flex: 1 1 auto;
    min-width: 0;
  }

  .section-heading > .pill,
  .section-heading > span.pill {
    align-self: flex-start;
  }

  .filter-tabs,
  .gpu-filter-tabs {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
  }

  .filter-tab {
    padding: 7px 11px;
    font-size: 12px;
  }

  .ai-entry {
    padding: 12px 14px;
  }

  .ai-entry > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .ai-entry > div strong {
    flex: 1 1 100%;
  }

  .ai-entry > div span {
    align-self: flex-start;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .process-list span {
    width: 36px;
  }

  .verdict-grid,
  .quote-grid,
  .source-list {
    gap: 10px;
  }

  .company-card,
  .quote-card,
  .source-card {
    padding: 14px;
  }

  .source-card {
    min-height: 0;
  }

  .quote-card cite {
    font-size: 12px;
  }

  .quote-card p {
    font-size: 13px;
  }

  .answer {
    font-size: clamp(17px, 5vw, 20px);
  }

  .factsheet-group {
    padding: 12px 14px 10px;
  }

  .factsheet-list > li {
    padding-left: 30px;
    font-size: 12px;
    line-height: 1.55;
  }

  .factsheet-list > li::before {
    font-size: 10px;
    padding: 1px 4px;
  }

  .rebuttal-claim,
  .rebuttal-fact {
    padding: 12px 14px;
  }

  .rebuttal-claim blockquote,
  .rebuttal-fact p {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .ai-evidence li {
    font-size: 12.5px;
  }

  .method-list > li {
    padding: 11px 12px 11px 30px;
    font-size: 12.5px;
  }

  .method-list > li::before {
    left: 12px;
    top: 16px;
  }

  .footer {
    padding: 0 6px;
    line-height: 1.5;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    padding: 11px 13px;
    font-size: 13px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .button {
    min-height: 42px;
    padding: 0 13px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .comparison-table {
    min-width: 600px;
  }

  .comparison-table th,
  .comparison-table td,
  .gpu-table thead th,
  .gpu-table tbody td,
  .sales-table th,
  .sales-table td {
    padding: 9px 10px;
    font-size: 12.5px;
  }

  .gpu-table thead th,
  .sales-table th,
  .comparison-table th {
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 390px) {
  .page-tabs {
    grid-template-columns: 1fr;
  }

  .page-tab {
    min-height: 38px;
    font-size: 12px;
  }

  .brand strong {
    font-size: 13px;
  }

  .hero-actions .button {
    width: 100%;
    flex: 1 1 100%;
  }
}

/* ===========================================================================
   GPU page · Steam Hardware Survey
=========================================================================== */

.gpu-headline {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.gpu-stat-big {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 20px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #0f1b3a 0%, #1f3aa3 55%, #2a8cf0 110%);
  box-shadow: 0 14px 32px rgba(15, 27, 58, 0.28);
}

.gpu-stat-big::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.gpu-stat-big span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gpu-stat-big strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 6px 0 4px;
  font-size: clamp(38px, 5.6vw, 60px);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.gpu-stat-big small {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.gpu-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.gpu-mini-stats > div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-soft);
}

.gpu-mini-stats dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gpu-mini-stats dd {
  margin: 4px 0 0;
  font-weight: 950;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.gpu-filter-tabs {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gpu-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.gpu-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 850;
  border: 1px solid var(--line);
  background: #fff;
  color: #3d4b60;
}

.gpu-pill .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.gpu-pill.above {
  color: #0e7446;
  border-color: #c4ecd5;
  background: #ecfaf2;
}

.gpu-pill.above .dot {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.gpu-pill.baseline {
  color: #8a5600;
  border-color: #f3d79d;
  background: #fff5df;
}

.gpu-pill.baseline .dot {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.gpu-pill.below {
  color: #4b5870;
  border-color: #d9e1ee;
  background: #f3f6fb;
}

.gpu-pill.below .dot {
  background: #94a3b8;
}

.gpu-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--small-shadow);
  scrollbar-width: thin;
}

.gpu-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.gpu-table thead th {
  position: sticky;
  top: 0;
  padding: 11px 14px;
  background: #f5f8fc;
  color: #334258;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  z-index: 1;
}

.gpu-table th.rank,
.gpu-table td.rank {
  width: 48px;
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.gpu-table th.share,
.gpu-table td.share {
  width: 220px;
}

.gpu-table th.vendor,
.gpu-table td.vendor {
  width: 84px;
}

.gpu-table th.perf,
.gpu-table td.perf {
  width: 200px;
  text-align: right;
}

.gpu-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #eef2f8;
  vertical-align: middle;
}

.gpu-table tbody tr:last-child td {
  border-bottom: 0;
}

.gpu-table tfoot td {
  padding: 12px 14px;
  background: #f5f8fc;
  font-weight: 900;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.gpu-table tfoot td.share {
  color: #0e7446;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.gpu-row[hidden] {
  display: none;
}

.gpu-row .gpu-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gpu-row .tier-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.gpu-row .gpu-name-text {
  font-weight: 700;
  color: #1f2a44;
}

.gpu-row[data-tier="above"] {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.075), rgba(34, 197, 94, 0) 60%);
  box-shadow: inset 3px 0 0 #16a34a;
}

.gpu-row[data-tier="above"] .gpu-name-text {
  color: #0c5132;
  font-weight: 850;
}

.gpu-row[data-tier="above"] .tier-dot {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
}

.gpu-row[data-tier="baseline"] {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0) 60%);
  box-shadow: inset 3px 0 0 #d97706;
}

.gpu-row[data-tier="baseline"] .gpu-name-text {
  color: #7a4a00;
  font-weight: 900;
}

.gpu-row[data-tier="baseline"] .tier-dot {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.gpu-row[data-tier="unknown"] {
  color: #6b7689;
  font-style: italic;
}

.gpu-row[data-tier="unknown"] .gpu-name-text {
  color: #4b5870;
  font-style: italic;
}

.vendor-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  border: 1px solid;
}

.vendor-badge.vendor-nvidia {
  color: #2f7a1c;
  border-color: #c8e8be;
  background: #effaea;
}

.vendor-badge.vendor-amd {
  color: #b1311f;
  border-color: #f3c8c2;
  background: #fdeae6;
}

.vendor-badge.vendor-intel {
  color: #234bb8;
  border-color: #cbd9ff;
  background: #edf3ff;
}

.vendor-badge.vendor-mixed {
  color: #4b5870;
  border-color: #d9e1ee;
  background: #f3f6fb;
}

.gpu-bar {
  position: relative;
  display: block;
  height: 6px;
  width: 100%;
  border-radius: 999px;
  background: #eef2f8;
  overflow: hidden;
}

.gpu-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #94a3b8, #64748b);
}

.gpu-row[data-tier="above"] .gpu-bar > span {
  background: linear-gradient(90deg, #16a34a, #22c55e);
}

.gpu-row[data-tier="baseline"] .gpu-bar > span {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

.gpu-row[data-tier="unknown"] .gpu-bar > span {
  background: linear-gradient(90deg, #cbd5e1, #94a3b8);
}

.gpu-share-text {
  display: inline-block;
  margin-top: 4px;
  font-weight: 800;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #1f2a44;
}

.gpu-row[data-tier="above"] .gpu-share-text {
  color: #0e7446;
}

.gpu-row[data-tier="baseline"] .gpu-share-text {
  color: #8a5600;
}

.gpu-tier-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  background: #f3f6fb;
  color: #4b5870;
  white-space: nowrap;
}

.gpu-tier-pill.tier-above {
  color: #0e7446;
  border-color: #c4ecd5;
  background: #ecfaf2;
}

.gpu-tier-pill.tier-baseline {
  color: #8a5600;
  border-color: #f3d79d;
  background: #fff5df;
}

.gpu-tier-pill.tier-unknown {
  color: #6b7689;
  border-color: #e2e8f0;
  background: #f8fafc;
  font-style: italic;
}

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

.method-list > li {
  position: relative;
  padding: 12px 14px 12px 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  font-size: 13px;
  line-height: 1.6;
  color: #1f2a44;
}

.method-list > li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f2a44, #2a4dba);
}

.method-list > li strong {
  color: var(--ink);
  font-weight: 900;
}

.method-list > li em {
  color: #0e7446;
  font-style: normal;
  background: rgba(16, 163, 74, 0.08);
  padding: 0 4px;
  border-radius: 4px;
}

.method-list > li a {
  color: #1f6feb;
  font-weight: 800;
  margin-left: 2px;
}

.gpu-disclaimer {
  margin: 14px 0 0;
}

@media (max-width: 980px) {
  .gpu-mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .gpu-headline {
    padding: 14px;
    gap: 10px;
  }

  .gpu-stat-big {
    padding: 14px 14px 16px;
    border-radius: 16px;
  }

  .gpu-stat-big::after {
    width: 110px;
    height: 110px;
    right: -28px;
    top: -28px;
  }

  .gpu-mini-stats {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .gpu-mini-stats > div {
    padding: 8px 10px;
  }

  .gpu-mini-stats dd {
    font-size: 15px;
  }

  .gpu-table {
    min-width: 600px;
  }

  .gpu-table thead th {
    padding: 9px 10px;
  }

  .gpu-table th.share,
  .gpu-table td.share {
    width: 140px;
  }

  .gpu-table th.perf,
  .gpu-table td.perf {
    width: 120px;
  }

  .gpu-table th.vendor,
  .gpu-table td.vendor {
    width: 70px;
  }

  .gpu-table th.rank,
  .gpu-table td.rank {
    width: 36px;
  }

  .gpu-row .gpu-name-cell {
    gap: 8px;
  }

  .gpu-row .gpu-name-text {
    font-size: 12.5px;
  }

  .gpu-tier-pill,
  .vendor-badge {
    font-size: 10.5px;
    padding: 3px 8px;
  }

  .gpu-pill {
    font-size: 11px;
    padding: 3px 9px;
  }
}

@media (max-width: 390px) {
  .gpu-mini-stats {
    grid-template-columns: 1fr;
  }
}

/* Dark dashboard identity for the Steam GPU page. */
body[data-active-page="gpu"] {
  --bg: #070b16;
  --paper: rgba(11, 18, 34, 0.88);
  --paper-soft: rgba(15, 25, 46, 0.86);
  --ink: #edf5ff;
  --muted: #9fb0cc;
  --line: rgba(137, 160, 204, 0.22);
  --green: #32f4a6;
  --amber: #ffb454;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --small-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(34, 211, 238, 0.18), transparent 26rem),
    radial-gradient(circle at 84% 8%, rgba(50, 244, 166, 0.14), transparent 28rem),
    radial-gradient(circle at 50% 102%, rgba(59, 130, 246, 0.18), transparent 34rem),
    linear-gradient(180deg, #050816 0%, #09111f 46%, #060914 100%);
}

body[data-active-page="gpu"]::before {
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}

body[data-active-page="gpu"] .topbar {
  top: 12px;
  border-color: rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: rgba(6, 10, 24, 0.78);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
}

body[data-active-page="gpu"] .brand {
  color: #f8fbff;
}

body[data-active-page="gpu"] .brand-mark {
  width: 40px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.96), rgba(50, 244, 166, 0.9)),
    #0f172a;
  color: #04111d;
  font-size: 11px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(50, 244, 166, 0.3);
}

body[data-active-page="gpu"] .brand small {
  color: #8fb4d8;
}

body[data-active-page="gpu"] .page-tabs {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.78);
}

body[data-active-page="gpu"] .page-tab {
  color: #9fb0cc;
}

body[data-active-page="gpu"] .page-tab:hover {
  color: #e8f6ff;
}

body[data-active-page="gpu"] .page-tab.active {
  color: #03131e;
  background: linear-gradient(135deg, #22d3ee, #32f4a6);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.32);
}

body[data-active-page="gpu"] .nav a {
  color: #91a5c7;
}

body[data-active-page="gpu"] .nav a:hover,
body[data-active-page="gpu"] .nav a.active {
  color: #e8f6ff;
  background: rgba(34, 211, 238, 0.12);
}

body[data-active-page="gpu"] main[data-page="gpu"] .glass-card,
body[data-active-page="gpu"] main[data-page="gpu"] .panel {
  border-color: rgba(137, 160, 204, 0.22);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 13, 27, 0.88)),
    rgba(8, 13, 27, 0.86);
  box-shadow: var(--shadow);
}

body[data-active-page="gpu"] main[data-page="gpu"] .hero {
  position: relative;
  isolation: isolate;
  margin-top: 2px;
}

body[data-active-page="gpu"] main[data-page="gpu"] .hero::before {
  content: "";
  position: absolute;
  inset: -18px -14px -12px;
  z-index: -1;
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.26), transparent 28%, transparent 72%, rgba(50, 244, 166, 0.22)),
    radial-gradient(circle at 25% 0%, rgba(34, 211, 238, 0.18), transparent 34rem);
  filter: blur(18px);
  opacity: 0.92;
}

body[data-active-page="gpu"] main[data-page="gpu"] .hero-copy {
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 47, 73, 0.75)),
    linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(50, 244, 166, 0.1));
}

body[data-active-page="gpu"] main[data-page="gpu"] .hero-copy::after {
  right: -48px;
  bottom: -74px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 36px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(50, 244, 166, 0.22), rgba(34, 211, 238, 0.04) 62%, transparent 70%);
  background-size: 20px 20px, 20px 20px, auto;
  transform: rotate(12deg);
}

body[data-active-page="gpu"] main[data-page="gpu"] .eyebrow {
  border-color: rgba(34, 211, 238, 0.28);
  color: #7dd3fc;
  background: rgba(8, 47, 73, 0.46);
}

body[data-active-page="gpu"] main[data-page="gpu"] h1,
body[data-active-page="gpu"] main[data-page="gpu"] h2,
body[data-active-page="gpu"] main[data-page="gpu"] h3 {
  color: #f8fbff;
  letter-spacing: -0.045em;
}

body[data-active-page="gpu"] main[data-page="gpu"] .lead,
body[data-active-page="gpu"] main[data-page="gpu"] .muted {
  color: #9fb0cc;
}

body[data-active-page="gpu"] main[data-page="gpu"] .button.primary {
  color: #03131e;
  background: linear-gradient(135deg, #22d3ee, #32f4a6);
  box-shadow: 0 18px 36px rgba(34, 211, 238, 0.24);
}

body[data-active-page="gpu"] main[data-page="gpu"] .button.ghost {
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

body[data-active-page="gpu"] .gpu-headline {
  border-radius: 28px;
}

body[data-active-page="gpu"] .gpu-stat-big {
  border: 1px solid rgba(50, 244, 166, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(50, 244, 166, 0.28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(34, 211, 238, 0.22), transparent 48%),
    linear-gradient(145deg, #06111f 0%, #0c2235 54%, #0b3b45 100%);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body[data-active-page="gpu"] .gpu-stat-big span {
  color: #9be7ff;
}

body[data-active-page="gpu"] .gpu-stat-big strong {
  color: #dffff4;
  text-shadow: 0 0 28px rgba(50, 244, 166, 0.44);
}

body[data-active-page="gpu"] .gpu-stat-big small {
  color: #bfd4ec;
}

body[data-active-page="gpu"] .gpu-mini-stats > div {
  border-color: rgba(137, 160, 204, 0.22);
  background: rgba(15, 23, 42, 0.72);
}

body[data-active-page="gpu"] .gpu-mini-stats dt {
  color: #8da2c4;
}

body[data-active-page="gpu"] .gpu-mini-stats dd {
  color: #e8f6ff;
}

body[data-active-page="gpu"] main[data-page="gpu"] .section-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(137, 160, 204, 0.18);
}

body[data-active-page="gpu"] main[data-page="gpu"] .kicker {
  color: #7dd3fc;
}

body[data-active-page="gpu"] main[data-page="gpu"] .pill.amber {
  color: #ffe2a8;
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(146, 64, 14, 0.24);
}

body[data-active-page="gpu"] main[data-page="gpu"] .filter-tab {
  border-color: rgba(137, 160, 204, 0.22);
  color: #b7c8e4;
  background: rgba(15, 23, 42, 0.72);
}

body[data-active-page="gpu"] main[data-page="gpu"] .filter-tab.active {
  border-color: transparent;
  color: #03131e;
  background: linear-gradient(135deg, #22d3ee, #32f4a6);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.26);
}

body[data-active-page="gpu"] .gpu-pill {
  border-color: rgba(137, 160, 204, 0.22);
  color: #b7c8e4;
  background: rgba(15, 23, 42, 0.7);
}

body[data-active-page="gpu"] .gpu-pill.above {
  color: #9afbcf;
  border-color: rgba(50, 244, 166, 0.28);
  background: rgba(20, 83, 45, 0.28);
}

body[data-active-page="gpu"] .gpu-pill.baseline {
  color: #ffd89a;
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(120, 53, 15, 0.28);
}

body[data-active-page="gpu"] .gpu-pill.below {
  color: #a8b8d3;
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(30, 41, 59, 0.6);
}

body[data-active-page="gpu"] .gpu-table-wrap {
  border-color: rgba(137, 160, 204, 0.22);
  background: rgba(8, 13, 27, 0.94);
  box-shadow: var(--small-shadow);
}

body[data-active-page="gpu"] .gpu-table {
  color: #dbeafe;
}

body[data-active-page="gpu"] .gpu-table thead th {
  background: rgba(15, 23, 42, 0.96);
  color: #8fb4d8;
  border-bottom-color: rgba(137, 160, 204, 0.22);
}

body[data-active-page="gpu"] .gpu-table tbody td {
  border-bottom-color: rgba(137, 160, 204, 0.12);
}

body[data-active-page="gpu"] .gpu-table th.rank,
body[data-active-page="gpu"] .gpu-table td.rank {
  color: #7486a8;
}

body[data-active-page="gpu"] .gpu-row .gpu-name-text {
  color: #dce8ff;
}

body[data-active-page="gpu"] .gpu-row[data-tier="above"] {
  background:
    linear-gradient(90deg, rgba(50, 244, 166, 0.16), rgba(50, 244, 166, 0.035) 46%, transparent 80%);
  box-shadow: inset 3px 0 0 #32f4a6;
}

body[data-active-page="gpu"] .gpu-row[data-tier="above"] .gpu-name-text {
  color: #c8ffe8;
}

body[data-active-page="gpu"] .gpu-row[data-tier="above"] .tier-dot {
  background: #32f4a6;
  box-shadow: 0 0 16px rgba(50, 244, 166, 0.55);
}

body[data-active-page="gpu"] .gpu-row[data-tier="baseline"] {
  background:
    linear-gradient(90deg, rgba(255, 180, 84, 0.18), rgba(255, 180, 84, 0.04) 46%, transparent 80%);
  box-shadow: inset 3px 0 0 #ffb454;
}

body[data-active-page="gpu"] .gpu-row[data-tier="baseline"] .gpu-name-text {
  color: #ffe2ae;
}

body[data-active-page="gpu"] .gpu-row[data-tier="baseline"] .tier-dot {
  background: #ffb454;
  box-shadow: 0 0 16px rgba(255, 180, 84, 0.5);
}

body[data-active-page="gpu"] .gpu-row[data-tier="unknown"] .gpu-name-text {
  color: #92a1ba;
}

body[data-active-page="gpu"] .gpu-bar {
  background: rgba(148, 163, 184, 0.16);
}

body[data-active-page="gpu"] .gpu-bar > span {
  background: linear-gradient(90deg, #475569, #94a3b8);
}

body[data-active-page="gpu"] .gpu-share-text {
  color: #dbeafe;
}

body[data-active-page="gpu"] .gpu-row[data-tier="above"] .gpu-share-text {
  color: #9afbcf;
}

body[data-active-page="gpu"] .gpu-row[data-tier="baseline"] .gpu-share-text {
  color: #ffd89a;
}

body[data-active-page="gpu"] .gpu-tier-pill {
  color: #a8b8d3;
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.7);
}

body[data-active-page="gpu"] .gpu-tier-pill.tier-above {
  color: #9afbcf;
  border-color: rgba(50, 244, 166, 0.28);
  background: rgba(20, 83, 45, 0.34);
}

body[data-active-page="gpu"] .gpu-tier-pill.tier-baseline {
  color: #ffd89a;
  border-color: rgba(255, 180, 84, 0.34);
  background: rgba(120, 53, 15, 0.32);
}

body[data-active-page="gpu"] .gpu-tier-pill.tier-unknown {
  color: #92a1ba;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.6);
}

body[data-active-page="gpu"] .vendor-badge.vendor-nvidia {
  color: #b5f58f;
  border-color: rgba(132, 204, 22, 0.28);
  background: rgba(54, 83, 20, 0.34);
}

body[data-active-page="gpu"] .vendor-badge.vendor-amd {
  color: #ff9f9f;
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.34);
}

body[data-active-page="gpu"] .vendor-badge.vendor-intel {
  color: #9bdcff;
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(8, 47, 73, 0.36);
}

body[data-active-page="gpu"] .vendor-badge.vendor-mixed {
  color: #b7c8e4;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(30, 41, 59, 0.6);
}

body[data-active-page="gpu"] .gpu-table tfoot td {
  color: #dbeafe;
  border-top-color: rgba(137, 160, 204, 0.22);
  background: rgba(15, 23, 42, 0.96);
}

body[data-active-page="gpu"] .gpu-table tfoot td.share {
  color: #9afbcf;
}

body[data-active-page="gpu"] .method-list > li {
  border-color: rgba(137, 160, 204, 0.2);
  background: rgba(15, 23, 42, 0.64);
  color: #c8d6ed;
}

body[data-active-page="gpu"] .method-list > li::before {
  background: linear-gradient(135deg, #22d3ee, #32f4a6);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.42);
}

body[data-active-page="gpu"] .method-list > li strong {
  color: #f8fbff;
}

body[data-active-page="gpu"] .method-list > li em {
  color: #9afbcf;
  background: rgba(20, 83, 45, 0.36);
}

body[data-active-page="gpu"] .method-list > li a {
  color: #7dd3fc;
}

body[data-active-page="gpu"] .footer {
  color: #8497b8;
}

@media (max-width: 700px) {
  body[data-active-page="gpu"] .topbar {
    border-radius: 18px;
  }

  body[data-active-page="gpu"] .page-tabs {
    width: 100%;
    justify-content: center;
  }
}


/* ===========================================================================
   Hardware sales comparison pages
=========================================================================== */

.sales-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 18px;
  align-items: stretch;
  min-height: 240px;
}

.sales-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 88, 216, 0.18), transparent 68%);
  pointer-events: none;
}

.sales-hero > * {
  position: relative;
  z-index: 1;
}

.sales-hero-metric {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 18px;
  border: 1px solid rgba(220, 229, 241, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--small-shadow);
}

.sales-hero-metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sales-hero-metric strong {
  margin-top: 6px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.sales-hero-metric small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.ps-sales-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 243, 255, 0.9)),
    radial-gradient(circle at 10% 0%, rgba(36, 88, 216, 0.18), transparent 34rem);
}

.ps-sales-hero .sales-hero-metric strong {
  color: #2458d8;
}

.switch-sales-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 247, 0.92)),
    radial-gradient(circle at 88% 0%, rgba(230, 0, 18, 0.16), transparent 32rem);
}

.switch-sales-hero::after {
  background: radial-gradient(circle, rgba(19, 121, 91, 0.16), transparent 68%);
}

.switch-sales-hero .sales-hero-metric strong {
  color: #0b7a55;
}

.sales-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.sales-panel {
  margin-top: 16px;
}

.sales-grid .sales-panel {
  margin-top: 0;
}

.sales-chart-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--small-shadow);
}

.sales-chart {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.sales-chart svg {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
}

@media (max-width: 700px) {
  .sales-chart svg {
    min-width: 560px;
  }

  .sales-chart-card {
    padding: 10px;
  }
}

.sales-gridline line {
  stroke: #e5edf7;
  stroke-width: 1;
}

.sales-gridline text,
.sales-x-label {
  fill: #71819a;
  font-size: 12px;
  font-weight: 800;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.sales-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.sales-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3c495d;
  font-size: 12px;
  font-weight: 900;
}

.sales-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sales-bars {
  display: grid;
  gap: 14px;
}

.sales-bars.compact {
  align-content: start;
}

.sales-bar-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.sales-bar-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sales-bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 72px;
  gap: 10px;
  align-items: center;
}

.sales-bar-row span,
.sales-bar-row strong {
  color: #1f2a44;
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.sales-bar-row strong {
  text-align: right;
}

.sales-bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f8;
}

.sales-bar-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.sales-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  scrollbar-width: thin;
}

.sales-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
}

.sales-table th,
.sales-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #eef2f8;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.sales-table th {
  color: #334258;
  background: #f5f8fc;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sales-table tr:last-child td {
  border-bottom: 0;
}

.sales-table td {
  color: #26354c;
  font-weight: 750;
}

.sales-table td.positive {
  color: #0b7a55;
  font-weight: 950;
}

.sales-table td.negative {
  color: #b1311f;
  font-weight: 950;
}

.sales-method-list > li {
  background: #fff;
}

body[data-active-page="ps-sales"] {
  background:
    radial-gradient(circle at 8% 8%, rgba(36, 88, 216, 0.15), transparent 30rem),
    radial-gradient(circle at 88% 0%, rgba(86, 111, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #f7f9ff 0%, #eef3ff 48%, #f4f7fb 100%);
}

body[data-active-page="ps-sales"] .brand-mark {
  width: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #111827, #2458d8);
  letter-spacing: 0.02em;
}

body[data-active-page="ps-sales"] .page-tab.active {
  background: linear-gradient(135deg, #111827, #2458d8);
}

body[data-active-page="switch-sales"] {
  background:
    radial-gradient(circle at 10% 8%, rgba(230, 0, 18, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(19, 121, 91, 0.14), transparent 28rem),
    linear-gradient(180deg, #fffafa 0%, #f4fbf7 48%, #f6f8fb 100%);
}

body[data-active-page="switch-sales"] .brand-mark {
  width: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e60012, #13795b);
  letter-spacing: 0.02em;
}

body[data-active-page="switch-sales"] .page-tab.active {
  background: linear-gradient(135deg, #e60012, #13795b);
}

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

@media (max-width: 700px) {
  .sales-hero {
    min-height: auto;
    gap: 14px;
  }

  .sales-hero::after {
    right: -120px;
    bottom: -180px;
    width: 260px;
    height: 260px;
    opacity: 0.7;
  }

  .sales-hero-metric {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .sales-hero-metric strong {
    font-size: clamp(32px, 11vw, 48px);
  }

  .sales-grid {
    gap: 12px;
    margin-top: 12px;
  }

  .sales-bar-group {
    padding: 12px;
    border-radius: 14px;
  }

  .sales-bar-row {
    grid-template-columns: minmax(0, 1.2fr) auto;
    column-gap: 10px;
    row-gap: 4px;
  }

  .sales-bar-row .sales-bar-track {
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  .sales-bar-row strong {
    text-align: right;
    justify-self: end;
  }

  .sales-bar-row span {
    font-size: 12.5px;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .sales-table {
    min-width: 560px;
  }

  .sales-table th,
  .sales-table td {
    padding: 8px 9px;
  }
}
