@charset "UTF-8";
/* StatDex: shared semantic tokens for every route, light is the default. */
:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #fff;
  --surface2: #f4f6fa;
  --surface3: #edf0f6;
  --border: #dee3ec;
  --text: #192235;
  --muted: #586579;
  --purple: #6550bf;
  --purple-bright: #6950cd;
  --accent-soft: #f0ecfb;
  --accent-border: #c7bcec;
  --accent-text: #5943b0;
  --header: rgba(255, 255, 255, 0.96);
  --shadow: 0 12px 40px #2330490a;
  --art-shadow: 0 18px 45px #2330491a;
  --backdrop: #10172899;
  --skeleton-base: #e9edf3;
  --skeleton-highlight: #f7f9fc;
  --loss: #9c4f64;
  --radius: 16px;
  --font:
    Inter, Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #10121b;
  --surface: #191c28;
  --surface2: #202433;
  --surface3: #292e40;
  --border: #353b50;
  --text: #edf0f8;
  --muted: #adb7ca;
  --purple: #b29af5;
  --purple-bright: #7453d4;
  --accent-soft: #2c2443;
  --accent-border: #685389;
  --accent-text: #d2bffa;
  --header: rgba(16, 18, 27, 0.96);
  --shadow: 0 12px 40px #0002;
  --art-shadow: 0 18px 45px #0005;
  --backdrop: #070911bb;
  --skeleton-base: #262b3b;
  --skeleton-highlight: #343b50;
  --loss: #e2a0b1;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: -0.045em;
}
img {
  max-width: 100%;
}
.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-top: 1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--purple-bright);
  color: #fff;
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  padding: 28px 0;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
}
.nav-links a.active:after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle,
.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  white-space: nowrap;
  background: var(--surface);
}
.theme-toggle:hover {
  background: var(--surface2);
}
.login-button {
  color: var(--accent-text);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.theme-sun {
  display: none;
}
:root[data-theme='dark'] .theme-moon {
  display: none;
}
:root[data-theme='dark'] .theme-sun {
  display: block;
}
.menu-button {
  display: none;
  background: transparent;
  font-size: 24px;
  padding: 4px;
}
.preview-bar {
  text-align: center;
  padding: 9px 16px;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.preview-bar span {
  font-size: 11px;
  letter-spacing: 0.09em;
  margin-right: 10px;
  color: var(--purple);
}
.eyebrow,
.section-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--purple);
  font-weight: 650;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tiny-line {
  width: 23px;
  height: 2px;
  background: var(--purple);
}
.button,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--purple-bright);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: filter 0.2s;
}
.button:hover,
.search-form button:hover {
  filter: brightness(1.08);
}
.button.secondary {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent-text);
}
.text-link,
.hub-plain-link {
  font-size: 14px;
  color: var(--purple);
}
.text-link:hover,
.hub-plain-link:hover {
  text-decoration: underline;
}
.section {
  padding-top: 65px;
  padding-bottom: 15px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-heading h2 {
  font-size: 28px;
  margin-top: 8px;
}
.subtle {
  font-size: 14px;
  color: var(--muted);
}
/* Hub / collection */
.hub-hero {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.hub-hero-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 65px;
  padding-block: 58px 62px;
  align-items: center;
}
.hub-hero-copy h1 {
  font-size: clamp(42px, 4.3vw, 58px);
  font-weight: 780;
  line-height: 1.24;
  margin: 23px 0;
}
.hub-hero-copy h1 span {
  color: var(--purple);
}
.hub-hero-copy > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.95;
}
.hub-hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
}
.hero-showcase {
  min-width: 0;
}
.showcase-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 13px;
}
.featured-game {
  display: block;
  position: relative;
  aspect-ratio: 1.6;
  border-radius: 18px;
  overflow: hidden;
  background: #171b25;
  box-shadow: var(--art-shadow);
  isolation: isolate;
}
.featured-game > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
  z-index: -2;
}
.featured-game:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #06050a00 28%, #080b16e8),
    linear-gradient(90deg, #09050f22, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.featured-game:hover > img {
  transform: scale(1.025);
}
.featured-status {
  position: absolute;
  right: 16px;
  top: 16px;
  background: #080b16bf;
  border: 1px solid #ffffff40;
  backdrop-filter: blur(8px);
  border-radius: 25px;
  padding: 5px 12px;
  color: #fff;
  font-size: 12px;
}
.featured-caption {
  position: absolute;
  bottom: 24px;
  left: 26px;
  right: 22px;
  color: #fff;
}
.featured-caption > span:first-child {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #e4e7f1;
}
.featured-caption h2 {
  font-size: 30px;
  margin: 5px 0 12px;
}
.featured-action {
  display: inline-block;
  font-size: 14px;
  color: #fff;
  border-bottom: 1px solid #ddd5f9;
  padding-bottom: 2px;
}
.showcase-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px 12px;
  margin-top: 18px;
}
.showcase-choice {
  min-width: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  text-align: center;
}
.showcase-choice > img {
  display: block;
  width: 100%;
  height: 43px;
  object-fit: cover;
  border-radius: 7px;
  opacity: 0.7;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: opacity 0.2s;
}
.showcase-choice > span {
  display: block;
  font-size: 12px;
  margin-top: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.showcase-choice[aria-pressed='true'] > img {
  opacity: 1;
  outline-color: var(--purple);
}
.showcase-choice[aria-pressed='true'] > span {
  color: var(--purple);
  font-weight: 700;
}
.showcase-choice:hover > img {
  opacity: 1;
}
.showcase-noscript {
  font-size: 14px;
  color: var(--muted);
  margin-top: 15px;
}
.hub-intro {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.3fr;
  gap: 32px;
  align-items: center;
  padding-block: 36px;
  border-bottom: 1px solid var(--border);
}
.hub-intro h2 {
  font-size: 25px;
  margin-top: 10px;
}
.hub-intro > p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.hub-intro > p strong {
  color: var(--text);
  font-weight: 650;
}
.hub-count {
  text-align: right;
  border-left: 1px solid var(--border);
  padding-left: 26px;
}
.hub-count strong {
  font-size: 42px;
  line-height: 1.1;
  color: var(--purple);
  letter-spacing: -0.06em;
}
.hub-count span {
  display: block;
  font-size: 12px;
  margin-top: 7px;
  color: var(--muted);
  white-space: nowrap;
}
.hub-count-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hub-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0;
}
.hub-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 9px;
  width: 300px;
  padding: 8px 14px;
}
.hub-search > span:first-child {
  font-size: 26px;
  color: var(--purple);
}
.hub-search input {
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 14px;
}
.hub-search:focus-within {
  border-color: var(--purple);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.genre-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.genre-filters button {
  padding: 9px 13px;
  font-size: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--surface2);
}
.genre-filters button[aria-pressed='true'] {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent-text);
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.game-tile {
  display: block;
  min-width: 0;
  transition: transform 0.2s;
}
.game-tile-media {
  position: relative;
  aspect-ratio: 1.55;
  border-radius: 14px;
  overflow: hidden;
  background: #1b202d;
  isolation: isolate;
}
.game-tile-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.4s;
}
.game-tile-media:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #08050b00 25%, #090d17e8);
  z-index: -1;
  pointer-events: none;
}
.tile-genre {
  position: absolute;
  top: 15px;
  left: 16px;
  display: inline-block;
  border-radius: 25px;
  padding: 4px 10px;
  background: #090d17bf;
  color: #fff;
  backdrop-filter: blur(7px);
  font-size: 12px;
}
.game-tile-caption {
  position: absolute;
  left: 22px;
  right: 18px;
  bottom: 21px;
  color: #fff;
}
.game-tile-caption > span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #e4e7f1;
  display: block;
}
.game-tile-caption h3 {
  font-size: 25px;
  margin-top: 5px;
  font-weight: 700;
}
.game-tile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 2px 2px;
}
.game-tile-footer > span,
.game-tile-footer > strong {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.game-tile-footer > span.tile-development {
  color: var(--purple);
}
.game-tile:hover {
  transform: translateY(-3px);
}
.game-tile:hover img {
  transform: scale(1.035);
}
.game-tile:hover .game-tile-footer > strong {
  color: var(--purple);
}
.tone-sa.featured-game > img,
.tone-sa .game-tile-media > img {
  object-position: center;
}
.tone-maple.featured-game > img,
.tone-maple .game-tile-media > img {
  object-position: center 80%;
}
.showcase-choice.tone-maple > img {
  object-position: center 85%;
}
.tone-pubg.featured-game > img,
.tone-pubg .game-tile-media > img {
  object-position: center 30%;
}
.tone-lol.featured-game > img,
.tone-lol .game-tile-media > img {
  object-position: 65% 35%;
}
.tone-valorant.featured-game > img,
.tone-valorant .game-tile-media > img {
  object-position: center 20%;
}
.tone-overwatch.featured-game > img,
.tone-overwatch .game-tile-media > img {
  object-position: center 30%;
}
.hub-bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
  padding-bottom: 75px;
}
.hub-app-panel {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface2);
  padding: 32px;
  overflow: hidden;
}
.hub-app-panel h2 {
  font-size: 29px;
  margin-top: 13px;
}
.hub-app-panel p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin: 18px 0 24px;
}
.hub-news-panel,
.content-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}
.hub-news-panel h2 {
  font-size: 25px;
}
.hub-news-empty {
  text-align: center;
  padding: 20px 0;
}
.hub-news-empty h3 {
  font-size: 18px;
  margin: 16px 0 10px;
}
.hub-news-empty p {
  color: var(--muted);
  font-size: 14px;
}
.app-outline {
  min-width: 170px;
  width: 37%;
  height: 175px;
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  background: var(--surface);
  transform: rotate(5deg);
  box-shadow: var(--shadow);
}
.app-outline-top {
  height: 25px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 10px;
}
.app-outline-top span {
  width: 5px;
  height: 5px;
  background: var(--accent-border);
  border-radius: 50%;
}
.app-outline-main {
  display: flex;
  height: 148px;
}
.app-outline-side {
  width: 35px;
  border-right: 1px solid var(--border);
  padding: 14px 9px;
}
.app-outline-side i {
  display: block;
  height: 10px;
  margin-bottom: 12px;
  background: var(--accent-border);
  border-radius: 3px;
}
.app-outline-content {
  padding: 13px 12px;
  flex: 1;
}
.app-outline-content b {
  font-size: 14px;
  color: var(--purple);
}
.app-outline-content div {
  height: 15px;
  background: var(--surface3);
  border-radius: 3px;
  margin: 7px 0;
}
.app-outline-content div:nth-of-type(2) {
  width: 75%;
}
.app-outline-content small {
  font-size: 10px;
  color: var(--muted);
}
/* Common data / content surfaces */
.panel,
.table-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.page-start {
  padding-top: 48px;
  min-height: 70vh;
  padding-bottom: 75px;
}
.page-title {
  margin-bottom: 32px;
}
.page-title h1 {
  font-size: 38px;
  margin: 12px 0;
}
.page-title p {
  color: var(--muted);
  font-size: 16px;
}
.empty {
  text-align: center;
  padding: 38px 20px;
  color: var(--muted);
}
.empty h1,
.empty h2,
.empty h3 {
  color: var(--text);
  margin: 16px 0 10px;
}
.empty h2 {
  font-size: 24px;
}
.empty h3 {
  font-size: 18px;
}
.empty p {
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 24px;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  font-size: 34px;
  color: var(--purple);
}
.empty.compact {
  padding: 18px 0;
}
.empty.compact p {
  margin-bottom: 0;
}
.empty.large {
  padding: 70px 24px;
}
.skeleton-stack {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.skeleton {
  height: 24px;
  background: linear-gradient(
    90deg,
    var(--skeleton-base) 25%,
    var(--skeleton-highlight) 45%,
    var(--skeleton-base) 70%
  );
  background-size: 250% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 5px;
  margin: 17px 0;
}
.skeleton.short {
  width: 35%;
  height: 35px;
}
.skeleton.medium {
  width: 70%;
}
@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}
.breadcrumbs {
  display: flex;
  gap: 13px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--purple);
}
.planned-art {
  position: relative;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #171b25;
  isolation: isolate;
}
.planned-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.planned-art:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #080b1666, transparent 75%),
    linear-gradient(0deg, #080b16d9, transparent 65%);
}
.planned-art-caption {
  position: absolute;
  bottom: 29px;
  left: 32px;
  z-index: 1;
  color: #fff;
}
.planned-art-caption .section-kicker {
  color: #eee8ff;
}
.planned-art-caption strong {
  font-size: 37px;
  display: block;
  margin-top: 10px;
  letter-spacing: -0.04em;
}
.planned-art.tone-maple > img {
  object-position: center 85%;
}
.planned-art.tone-pubg > img {
  object-position: center 20%;
}
.planned-art.tone-lol > img {
  object-position: center 30%;
}
.planned-art.tone-valorant > img {
  object-position: center 15%;
}
.planned-art.tone-overwatch > img {
  object-position: center 18%;
}
.planned-game {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}
.planned-logo {
  width: 145px;
  height: 115px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface2);
}
.planned-logo img {
  width: 110px;
  max-height: 75px;
  object-fit: contain;
}
.planned-logo > span {
  font-size: 37px;
  font-weight: 800;
  color: var(--purple);
}
.planned-game h1 {
  font-size: 36px;
  margin: 10px 0 14px;
}
.service-state {
  display: inline-block;
  font-size: 14px;
  color: var(--accent-text);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  padding: 5px 12px;
  background: var(--accent-soft);
}
.planned-content,
.desktop-plan {
  padding: 42px;
}
.planned-content h2 {
  font-size: 27px;
  margin: 15px 0;
}
.planned-content p,
.desktop-plan p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}
.planned-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.planned-tags span {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface2);
}
.planned-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.desktop-plan h2 {
  font-size: 27px;
  margin: 23px 0 15px;
}
.plan-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: 32px 0;
  border-block: 1px solid var(--border);
  padding: 25px 0;
}
.plan-facts small {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.plan-facts strong {
  font-size: 16px;
  font-weight: 500;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  padding: 7px;
  box-shadow: var(--shadow);
}
.search-form:focus-within {
  border-color: var(--purple);
}
.search-symbol {
  font-size: 29px;
  margin-left: 10px;
  color: var(--purple);
}
.search-form input {
  width: 100%;
  min-width: 0;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 10px 0;
  font-size: 16px;
  outline: none;
}
.search-wrap {
  max-width: 680px;
  margin-bottom: 32px;
}
.recent-search {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  min-height: 40px;
  flex-wrap: wrap;
}
.recent-search > button {
  margin-left: auto;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
}
.recent-search > button:disabled {
  opacity: 1;
}
.recent-search #recent-searches {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}
.recent-search #recent-searches button {
  background: transparent;
  font-size: 14px;
  color: var(--purple);
}
.recent-search #recent-searches .recent-search-chip {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding-top: 8px;
}
.recent-search #recent-searches [data-recent] {
  max-width: 100%;
  padding: 4px 25px 4px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-search #recent-searches .recent-search-remove {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  font-size: 17px;
  line-height: 1;
}
.recent-search #recent-searches .recent-search-remove:hover {
  color: var(--loss);
  background: var(--surface2);
}
.tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.tabs button {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}
.tabs button[aria-selected='true'],
.tabs button.selected {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.table-head {
  display: grid;
  grid-template-columns: 80px 1fr 180px 120px;
  padding: 17px 24px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 14px;
}
.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}
.pagination button {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
}
.service-notices [hidden] {
  display: none;
}
.service-news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.service-news-heading h1 {
  margin: 10px 0 12px;
  font-size: 2.375rem;
}
.service-news-heading p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.service-news-board {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.service-news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.service-news-categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.service-news-categories button {
  padding: 8px 12px;
  border-radius: 7px;
  background: transparent;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
}
.service-news-categories button[aria-pressed='true'] {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.service-news-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.service-news-search .field {
  width: 190px;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
}
.service-news-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.service-news-row:last-child {
  border-bottom: 0;
}
.service-news-row:hover {
  background: var(--surface2);
}
.service-news-row strong {
  display: block;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.service-news-row > div > span {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}
.service-news-tag {
  display: inline-block;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 650;
  white-space: nowrap;
}
.service-news-tag-update {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-text);
}
.service-news-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.service-news-row .service-news-tags {
  flex-direction: column;
  align-items: flex-start;
}
.service-news-system {
  font-weight: 700;
  color: var(--text);
}
.service-news-search select.field {
  width: 160px;
}
.service-news-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.service-news-preview {
  margin-block: 24px;
  padding: 20px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.service-news-preview-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.service-news-preview-heading h2 {
  font-size: 1rem;
}
.service-news-preview-heading a {
  color: var(--accent-text);
  font-size: 0.8125rem;
}
.service-news-preview-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--border);
}
.service-news-preview-list strong {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.service-news-preview-list span {
  color: var(--muted);
  font-size: 0.75rem;
}
.service-news-preview a:focus-visible,
.service-notices a:focus-visible,
.service-notices button:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}
.service-news-arrow {
  color: var(--muted);
}
.service-news-content > .skeleton-stack,
.service-news-content > .empty {
  margin: 24px;
  border: 0;
}
.service-news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8125rem;
}
.service-news-footer .pagination {
  margin: 0;
  gap: 14px;
}
.service-news-article {
  padding: 30px;
}
.service-news-article-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.service-news-article-heading h2 {
  margin: 16px 0 12px;
  font-size: 1.75rem;
  overflow-wrap: anywhere;
}
.service-news-article-heading p {
  color: var(--muted);
  font-size: 0.8125rem;
}
.service-news-body {
  padding-block: 30px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
}
.service-news-article-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.game-community-planned .planned-content h1 {
  margin-block: 18px 12px;
  font-size: 1.75rem;
}
@media (max-width: 600px) {
  .service-news-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-news-heading h1 {
    font-size: 2rem;
  }
  .service-news-toolbar,
  .service-news-article {
    padding: 20px 16px;
  }
  .service-news-search {
    width: 100%;
    flex-wrap: wrap;
  }
  .service-news-search select.field {
    width: 100%;
    flex: 1 0 100%;
  }
  .service-news-search .field {
    flex: 1;
  }
  .service-news-row {
    grid-template-columns: 82px minmax(0, 1fr) 14px;
    padding: 20px 16px;
    gap: 12px;
  }
  .service-news-row strong {
    font-size: 0.9375rem;
  }
  .service-news-tag {
    padding: 5px 7px;
  }
  .service-news-footer {
    flex-direction: column;
    padding: 20px 16px;
    gap: 14px;
  }
  .service-news-article-heading h2 {
    font-size: 1.375rem;
  }
}
.player-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px;
  margin-bottom: 20px;
}
.avatar {
  width: 45px;
  height: 45px;
  background: var(--purple-bright);
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
}
.player-header .avatar {
  width: 65px;
  height: 65px;
  font-size: 24px;
}
.player-header h2 {
  font-size: 28px;
}
.player-header p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.sample-badge {
  font-size: 12px;
  letter-spacing: 0.03em;
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  color: var(--accent-text);
  white-space: nowrap;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}
.stat-card {
  padding: 22px;
}
.stat-card small {
  color: var(--muted);
  font-size: 14px;
  display: block;
}
.stat-card strong {
  font-size: 29px;
  display: block;
  color: var(--purple);
  margin-top: 6px;
}
.stat-card span {
  font-size: 12px;
  color: var(--muted);
}
.match-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.match-heading h2 {
  font-size: 22px;
}
.match-heading select {
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}
.match-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.match-row {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: 8px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 85px 1fr 120px 100px;
  gap: 15px;
  align-items: center;
}
.match-row:hover,
.post-row:hover {
  background: var(--surface2);
}
.match-row.loss {
  border-left-color: var(--loss);
}
.match-row strong {
  font-size: 14px;
}
.match-row span {
  font-size: 14px;
  color: var(--muted);
}
.match-row .win {
  color: var(--purple);
}
.match-row .loss-text {
  color: var(--loss);
}
.post-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px;
  border-bottom: 1px solid var(--border);
  width: 100%;
  text-align: left;
  background: transparent;
}
.post-row strong {
  font-size: 16px;
}
.post-row small {
  color: var(--muted);
  font-size: 12px;
}
.profile-panel {
  text-align: center;
  padding: 45px;
}
.profile-panel .avatar {
  margin: 0 auto 18px;
}
.profile-panel p {
  margin: 15px 0;
}
.profile-panel form {
  margin-top: 24px;
}
/* Sudden Attack development page */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 80px;
  min-height: 620px;
}
.hero h1 {
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.24;
  margin: 22px 0;
}
.hero h1 span {
  color: var(--purple);
}
.hero-description {
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 32px;
}
.hero-tags {
  display: flex;
  gap: 18px;
  margin-top: 23px;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  padding: 40px 18px 48px;
  min-width: 0;
}
.orbit {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.orbit-one {
  width: 380px;
  height: 380px;
}
.orbit-two {
  width: 450px;
  height: 450px;
}
.float-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 16px 20px;
  color: var(--purple);
}
.float-label small {
  margin-left: auto;
  color: var(--muted);
  letter-spacing: 0;
}
.purple-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}
.insight-card {
  position: relative;
  transform: rotate(-2deg);
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--art-shadow);
}
.insight-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.insight-top small,
.rank-mini small {
  font-size: 12px;
  color: var(--muted);
}
.insight-top h3 {
  font-size: 18px;
  margin-top: 3px;
}
.rank-mini {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 23px 0;
  padding: 15px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.rank-symbol {
  height: 51px;
  width: 51px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--purple);
  clip-path: polygon(50% 0, 100% 25%, 80% 80%, 50% 100%, 20% 80%, 0 25%);
  font-size: 25px;
}
.rank-mini strong {
  display: block;
  font-size: 16px;
}
.rank-mini span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.insight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 15px;
}
.insight-stats small {
  color: var(--muted);
  font-size: 12px;
  display: block;
}
.insight-stats strong {
  font-size: 25px;
  font-weight: 700;
}
.insight-stats strong span {
  font-size: 14px;
  color: var(--muted);
}
.results {
  display: flex;
  gap: 3px;
  padding-top: 10px;
}
.results b,
.results i {
  font-style: normal;
  font-size: 12px;
  padding: 3px 5px;
  background: var(--accent-soft);
  border-radius: 3px;
  color: var(--purple);
}
.results i {
  background: var(--surface3);
  color: var(--loss);
}
.chart-caption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 25px;
  gap: 12px;
}
.performance-chart {
  width: 100%;
  height: 85px;
  margin-top: 10px;
}
.chart-grid {
  stroke: var(--border);
  stroke-width: 0.5;
  fill: none;
}
.chart-area {
  fill: var(--accent-soft);
}
.chart-line {
  fill: none;
  stroke: var(--purple);
  stroke-width: 2.5;
}
.floating-bottom {
  position: absolute;
  bottom: 8px;
  right: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  box-shadow: var(--shadow);
}
.floating-bottom > span {
  color: var(--purple);
  font-size: 22px;
}
.floating-bottom strong {
  display: block;
  font-size: 14px;
}
.floating-bottom small {
  color: var(--muted);
  font-size: 12px;
}
.game-strip {
  border-block: 1px solid var(--border);
  background: var(--surface2);
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 100px;
}
.game-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: 9px;
}
.game-icon {
  color: var(--purple);
  font-weight: 800;
  font-size: 22px;
}
.game-pill strong {
  font-size: 16px;
}
.game-pill small {
  color: var(--muted);
  font-size: 12px;
}
.coming {
  color: var(--muted);
  font-size: 14px;
  margin-left: auto;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
}
.service-art {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border);
}
.art-icon {
  font-size: 72px;
  color: var(--purple);
  line-height: 1;
}
.art-title {
  position: absolute;
  left: 20px;
  bottom: 14px;
  color: var(--purple);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.art-number {
  position: absolute;
  right: 15px;
  top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.service-body {
  padding: 24px;
}
.service-body h3 {
  font-size: 20px;
}
.service-body p {
  font-size: 16px;
  color: var(--muted);
  margin: 10px 0 22px;
}
.card-link {
  display: block;
  padding: 9px;
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-text);
  text-align: center;
  font-size: 14px;
}
.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-bottom: 75px;
}
.content-panel .section-heading h2 {
  font-size: 24px;
}
.community-callout {
  text-align: center;
  padding: 5px 15px;
}
.community-icon {
  font-size: 45px;
  color: var(--purple);
  line-height: 1.4;
}
.community-callout h3 {
  font-size: 19px;
  margin-top: 5px;
}
.community-callout p {
  font-size: 16px;
  color: var(--muted);
  margin: 12px 0 22px;
}
/* Footer, modal and forms */
footer {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 34px 0 22px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 35px;
}
.footer-top p {
  color: var(--muted);
  font-size: 14px;
}
.footer-top > a:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}
dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 28px;
  width: min(680px, calc(100% - 32px));
  max-height: 85vh;
  box-shadow: var(--art-shadow);
}
dialog::backdrop {
  background: var(--backdrop);
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 20px;
}
.dialog-head h2 {
  font-size: 23px;
}
.icon-button {
  background: var(--surface2);
  border-radius: 6px;
  padding: 7px 11px;
}
.dialog-note {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 20px;
}
.detail-section-title {
  margin: 24px 0 10px;
}
.data-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.data-line span {
  color: var(--muted);
}
.form-label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 8px;
}
.field {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 12px;
  color: var(--text);
}
textarea.field {
  min-height: 180px;
  resize: vertical;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.post-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  font-size: 16px;
  padding: 20px 0;
}
.comment {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 16px;
}
.comment small {
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow);
  border-radius: 9px;
  padding: 14px 24px;
  font-size: 14px;
  transition: 0.2s;
  max-width: 90vw;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  clip-path: none;
  width: auto;
  height: auto;
  top: 5px;
  left: 5px;
  padding: 12px;
  background: var(--bg);
  z-index: 99;
}
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.reveal.shown {
  opacity: 1;
  transform: none;
}
/* Responsive layout: no fixed-width content at mobile / enlarged text. */
@media (min-width: 1600px) {
  .hub-hero-inner {
    padding-block: 75px;
  }
  .hero {
    padding-block: 95px;
  }
}
@media (max-width: 1150px) {
  .nav {
    gap: 15px;
  }
  .nav-links {
    gap: 14px;
  }
  .brand {
    font-size: 23px;
  }
  .theme-toggle {
    width: 42px;
    padding: 9px;
  }
  .theme-toggle > span {
    display: none;
  }
  .login-button {
    padding: 9px 11px;
  }
  .hub-hero-inner {
    gap: 40px;
  }
  .hub-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .hub-search {
    width: min(420px, 100%);
  }
  .genre-filters {
    justify-content: flex-start;
  }
  .hero {
    gap: 30px;
  }
  .orbit-two {
    display: none;
  }
  .hero-visual {
    padding-inline: 5px;
  }
  .game-pill small {
    display: none;
  }
}
@media (max-width: 950px) {
  .container {
    width: calc(100% - 40px);
  }
  .nav {
    min-height: 76px;
    gap: 15px;
  }
  .menu-button {
    display: block;
    margin-left: auto;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 8px 0;
  }
  .nav-links a.active:after {
    bottom: 0;
  }
  .nav-actions {
    gap: 8px;
  }
  .hub-hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-block: 45px;
  }
  .hub-hero-copy h1 {
    font-size: 42px;
  }
  .hub-hero-copy > p {
    font-size: 16px;
  }
  .hub-hero-actions {
    gap: 15px;
    flex-wrap: wrap;
  }
  .featured-game {
    aspect-ratio: 1.3;
  }
  .featured-caption {
    left: 21px;
    bottom: 22px;
  }
  .featured-caption h2 {
    font-size: 26px;
  }
  .showcase-picker {
    gap: 11px 10px;
  }
  .showcase-choice > img {
    height: 34px;
  }
  .showcase-choice > span {
    font-size: 12px;
  }
  .hub-intro {
    grid-template-columns: 1fr 0.3fr;
    gap: 18px;
  }
  .hub-intro > p {
    grid-column: 1;
    grid-row: 2;
  }
  .hub-count {
    grid-column: 2;
    grid-row: 1/3;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }
  .hub-bottom {
    grid-template-columns: 1fr;
  }
  .app-outline {
    width: 200px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-tags {
    gap: 10px;
  }
  .orbit {
    display: none;
  }
  .insight-card {
    padding: 20px;
  }
  .insight-stats {
    gap: 8px;
  }
  .insight-stats strong {
    font-size: 22px;
  }
  .results b,
  .results i {
    padding: 2px 3px;
  }
  .service-grid {
    gap: 16px;
  }
  .service-body {
    padding: 20px;
  }
  .service-body h3 {
    font-size: 18px;
  }
  .strip-inner {
    gap: 24px;
  }
  .coming {
    display: none;
  }
  .content-section {
    gap: 18px;
  }
  .table-head {
    grid-template-columns: 60px 1fr 100px 70px;
  }
  .match-row {
    grid-template-columns: 60px 1fr 100px;
  }
  .match-row > span:last-child {
    display: none;
  }
  .footer-top p {
    display: none;
  }
}
@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
  }
  .hub-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 35px 42px;
  }
  .hub-hero-copy h1 {
    font-size: clamp(36px, 7vw, 46px);
    margin: 19px 0;
  }
  .hub-hero-actions {
    gap: 24px;
    margin-top: 24px;
  }
  .featured-game {
    aspect-ratio: 1.6;
  }
  .featured-caption h2 {
    font-size: 29px;
  }
  .showcase-picker {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .showcase-choice > img {
    height: 45px;
  }
  .hub-intro {
    padding-block: 28px;
    gap: 15px;
  }
  .hub-intro h2 {
    font-size: 23px;
  }
  .hub-intro > p {
    font-size: 14px;
  }
  .hub-count {
    padding-left: 18px;
  }
  .hub-count strong {
    font-size: 38px;
  }
  .hub-count span {
    font-size: 12px;
  }
  .section {
    padding-top: 42px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading > .subtle {
    display: none;
  }
  .hub-toolbar {
    margin-block: 22px;
  }
  .hub-search {
    width: 100%;
  }
  .genre-filters button {
    font-size: 14px;
    padding: 8px 11px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .game-tile-media {
    aspect-ratio: 1.65;
  }
  .game-tile-caption h3 {
    font-size: 27px;
  }
  .hub-bottom {
    padding-bottom: 50px;
  }
  .hub-app-panel {
    padding: 26px;
  }
  .hub-app-panel h2 {
    font-size: 26px;
  }
  .hub-news-panel {
    padding: 25px;
  }
  .app-outline {
    display: none;
  }
  .page-start {
    padding-top: 35px;
    padding-bottom: 50px;
  }
  .page-title h1 {
    font-size: 32px;
  }
  .planned-art {
    height: 250px;
  }
  .planned-art-caption {
    left: 24px;
    bottom: 23px;
  }
  .planned-art-caption strong {
    font-size: 29px;
  }
  .planned-game h1 {
    font-size: 29px;
  }
  .planned-content,
  .desktop-plan {
    padding: 27px;
  }
  .planned-content h2,
  .desktop-plan h2 {
    font-size: 24px;
  }
  .plan-facts {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 45px;
    gap: 24px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-visual {
    width: min(390px, 95%);
    margin: auto;
    padding-top: 10px;
  }
  .insight-card {
    padding: 23px;
  }
  .floating-bottom {
    right: 0;
  }
  .strip-inner {
    flex-wrap: wrap;
    padding-block: 15px;
    gap: 13px;
  }
  .game-pill {
    padding: 9px 14px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    display: grid;
    grid-template-columns: 110px 1fr;
  }
  .service-art {
    height: 100%;
    min-height: 180px;
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }
  .art-icon {
    font-size: 55px;
  }
  .art-title {
    font-size: 12px;
    left: 12px;
  }
  .service-body {
    padding: 20px;
  }
  .service-body p {
    margin-bottom: 18px;
  }
  .content-section {
    grid-template-columns: 1fr;
    padding-bottom: 50px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .table-head {
    grid-template-columns: 45px 1fr 65px 50px;
    padding: 15px;
    font-size: 12px;
  }
  .player-header {
    padding: 20px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .player-header h2 {
    font-size: 24px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-card strong {
    font-size: 26px;
  }
  .match-row {
    padding: 15px 12px;
    gap: 8px;
    grid-template-columns: 40px 1fr 90px;
  }
  .empty.large {
    padding: 50px 18px;
  }
  .empty h2 {
    font-size: 22px;
  }
  dialog {
    padding: 22px;
  }
  .post-row {
    padding: 18px;
    align-items: flex-start;
  }
  .match-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 450px) {
  .nav {
    gap: 8px;
    min-height: 72px;
  }
  .brand {
    font-size: 22px;
    gap: 8px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 25px;
  }
  .brand small {
    font-size: 12px;
  }
  .theme-toggle {
    width: 38px;
    min-height: 38px;
  }
  .login-button {
    width: 38px;
    min-height: 38px;
    padding: 8px;
  }
  .login-button > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .discord-icon {
    font-size: 20px;
  }
  .nav-actions {
    gap: 6px;
  }
  .preview-bar span {
    display: block;
    margin: 0;
  }
  .showcase-choice > img {
    height: 36px;
  }
  .showcase-choice > span {
    font-size: 12px;
  }
  .featured-caption {
    left: 21px;
    bottom: 20px;
  }
  .featured-caption h2 {
    font-size: 26px;
  }
  .featured-caption > span:first-child {
    font-size: 12px;
  }
  .hub-intro {
    grid-template-columns: 1fr;
  }
  .hub-intro > p {
    grid-row: auto;
  }
  .hub-count {
    grid-column: 1;
    grid-row: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    border-left: 0;
    padding-left: 0;
  }
  .hub-count strong {
    font-size: 30px;
  }
  .hub-count span {
    margin: 0;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  .footer-top {
    gap: 12px;
  }
  .footer-top > a:last-child {
    font-size: 14px;
  }
  .data-line {
    flex-wrap: wrap;
  }
  .planned-actions .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Extra games: keep faces visible in the original art through CSS cropping. */
.tone-fconline.featured-game > img,
.tone-fconline .game-tile-media > img,
.showcase-choice.tone-fconline > img {
  object-position: 50% 8%;
}
.planned-art.tone-fconline > img {
  object-position: 50% 4%;
}
.tone-lostark.featured-game > img,
.tone-lostark .game-tile-media > img,
.showcase-choice.tone-lostark > img {
  object-position: 65% 25%;
}
.planned-art.tone-lostark > img {
  object-position: 65% 20%;
}
.tone-df.featured-game > img,
.tone-df .game-tile-media > img,
.showcase-choice.tone-df > img {
  object-position: center 25%;
}
.tone-tft.featured-game > img,
.tone-tft .game-tile-media > img,
.showcase-choice.tone-tft > img {
  object-position: 78% center;
}
.planned-art.tone-tft > img {
  object-position: center 25%;
}
/* v6: one horizontal featured slide + a rolling window of five thumbnails. */
.showcase-counter-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.showcase-playback {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}
.showcase-playback:hover,
.showcase-arrow:hover {
  background: var(--accent-soft);
  color: var(--purple);
}
.featured-stage {
  position: relative;
  aspect-ratio: 1.6;
  border-radius: 18px;
  overflow: hidden;
  background: #171b25;
  box-shadow: var(--art-shadow);
}
.featured-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
}
.featured-track > .featured-game {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}
.featured-track.is-moving {
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.showcase-nav {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  --picker-gap: 12px;
}
.showcase-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
}
.showcase-viewport {
  min-width: 0;
  overflow: hidden;
  padding: 5px 5px 2px;
}
.showcase-picker {
  display: flex;
  gap: var(--picker-gap);
  width: 100%;
  margin: 0;
  transform: translateX(0);
}
.showcase-picker.is-moving {
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.showcase-picker > .showcase-choice {
  flex: 0 0
    calc((100% - (var(--visible-count, 5) - 1) * var(--picker-gap)) / var(--visible-count, 5));
}
.showcase-choice:focus-visible {
  outline-offset: 1px;
}
.showcase-choice[inert] {
  pointer-events: none;
}
@media (max-width: 950px) and (min-width: 701px) {
  .featured-stage {
    aspect-ratio: 1.3;
  }
  .showcase-nav {
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 4px;
    --picker-gap: 8px;
  }
  .showcase-arrow {
    width: 26px;
  }
  .showcase-choice > span {
    font-size: 12px;
  }
}
@media (max-width: 450px) {
  .showcase-nav {
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 4px;
    --picker-gap: 8px;
  }
  .showcase-arrow {
    width: 26px;
  }
  .showcase-choice > img {
    height: 34px;
  }
}
/* v7: typographic identity, data availability, readable policies and ad inventory. */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -1.25px;
}
.wordmark-stat {
  font-weight: 850;
}
.wordmark-dex {
  font-weight: 600;
  color: var(--text);
}
.wordmark-index {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #c64648;
  margin-left: 4px;
  align-self: flex-end;
  margin-bottom: 3px;
}
.brand small {
  font-size: 12px;
  margin-top: 7px;
  letter-spacing: 0;
}
.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-block: 26px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.footer-policies a:hover {
  color: var(--text);
}
.footer-contact {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 16px;
}
.footer-bottom {
  gap: 20px;
}
.muted {
  color: var(--muted);
}
.ad-layout {
  width: 100%;
  display: block;
}
.site-content {
  min-width: 0;
}
.ad-rail {
  display: none;
}
.ad-slot[hidden] {
  display: none;
}
.ad-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  text-align: center;
}
.ad-contact {
  display: block;
  margin-top: 12px;
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.ad-contact span {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.ad-contact:hover {
  text-decoration: underline;
}
.house-ad {
  display: flex;
  flex-direction: column;
  min-height: 600px;
  padding: 22px 17px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  overflow: hidden;
}
.house-ad-brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.6px;
  margin-bottom: 55px;
}
.house-ad strong {
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: -1.2px;
  word-break: keep-all;
}
.house-ad-copy {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}
.house-ad-action {
  font-size: 14px;
  font-weight: 650;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.house-ad-index {
  font-size: 12px;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  align-self: flex-end;
  margin-top: auto;
  color: var(--muted);
}
.ad-right .house-ad {
  background: var(--text);
  color: var(--bg);
}
.ad-right .house-ad-copy,
.ad-right .house-ad-index {
  color: var(--bg);
  opacity: 0.7;
}
.ad-right .house-ad-action {
  border-color: #ffffff33;
}
.ad-google-unit {
  display: block;
  width: 100%;
  min-width: 160px;
}
.ad-mobile .ad-google-unit {
  width: 320px;
  min-height: 100px;
  max-width: 100%;
  margin-inline: auto;
}
.mobile-ad-wrap {
  padding-bottom: 32px;
}
.ad-mobile .house-ad {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  padding: 20px 24px;
  border-radius: 8px;
}
.ad-mobile .house-ad-brand,
.ad-mobile .house-ad-index {
  display: none;
}
.ad-mobile .house-ad strong {
  font-size: 20px;
  letter-spacing: -0.6px;
}
.ad-mobile .house-ad-copy {
  margin: 0;
  grid-row: 2;
}
.ad-mobile .house-ad-action {
  margin: 0;
  padding: 0;
  border: 0;
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
}
.data-overview {
  padding-top: 8px;
}
.data-overview-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 26px;
}
.data-overview-heading h2 {
  font-size: 29px;
  margin-top: 8px;
}
.data-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.8fr);
  border-top: 2px solid var(--text);
  border-bottom: 1px solid var(--border);
}
.data-metric {
  padding: 30px 28px 30px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.data-metric + .data-metric {
  padding-left: 28px;
  border-left: 1px solid var(--border);
}
.data-metric > span {
  font-size: 15px;
  font-weight: 600;
}
.data-metric strong {
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: -2px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.data-metric small {
  color: var(--muted);
  font-size: 14px;
}
.data-metric-unstable strong {
  color: #9b461e;
}
:root[data-theme='dark'] .data-metric-unstable strong {
  color: #edbe9d;
}
.data-live {
  padding: 25px 0 25px 32px;
  border-left: 1px solid var(--border);
}
.data-status-games {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.data-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  background: var(--surface2);
  font-size: 14px;
  font-weight: 600;
}
.data-status-pill[data-state='available'],
.data-status-pill[data-state='connected'] {
  color: #197048;
  background: #eaf7f0;
  border-color: #add4bd;
}
.data-status-pill[data-state='degraded'] {
  color: #9b461e;
  background: #fff2e8;
  border-color: #e6bc9d;
}
:root[data-theme='dark'] .data-status-pill[data-state='available'],
:root[data-theme='dark'] .data-status-pill[data-state='connected'] {
  color: #a1d8b9;
  background: #1b352a;
  border-color: #376149;
}
:root[data-theme='dark'] .data-status-pill[data-state='degraded'] {
  color: #edbe9d;
  background: #392b21;
  border-color: #785438;
}
.data-live dl {
  margin: 17px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.data-live dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}
.data-live dt {
  color: var(--muted);
  flex-shrink: 0;
}
.data-live dd {
  margin: 0;
  text-align: right;
}
.data-live > p {
  font-size: 12px;
  color: var(--muted);
}
.data-service-list {
  padding-top: 0;
}
.data-service {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.data-service [hidden] {
  display: none !important;
}
.data-service-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.data-service-title h2 {
  font-size: 23px;
}
.data-fields {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.data-fields > span {
  background: var(--surface2);
  padding: 5px 10px;
  font-size: 14px;
}
.data-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin: 20px 0;
}
.data-service-meta > div {
  display: flex;
  gap: 14px;
  font-size: 14px;
}
.data-service-meta dt {
  color: var(--muted);
}
.data-service-meta dd {
  margin: 0;
}
.data-service > .muted {
  font-size: 14px;
  margin-top: 15px;
}
.policy-page {
  max-width: 1120px;
}
.policy-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 20px 0;
  color: var(--muted);
  font-size: 14px;
  border-block: 1px solid var(--border);
  margin-top: 30px;
}
.policy-metadata a {
  margin-left: auto;
  color: var(--text);
  text-decoration: underline;
}
.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 58px;
  padding-top: 36px;
}
.policy-nav {
  display: flex;
  flex-direction: column;
  align-self: start;
  position: sticky;
  top: 120px;
  gap: 2px;
}
.policy-nav a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  padding: 10px 12px;
  border-left: 2px solid transparent;
}
.policy-nav a[aria-current='page'] {
  border-color: var(--text);
  background: var(--surface2);
  color: var(--text);
  font-weight: 650;
}
.policy-body {
  min-width: 0;
  max-width: 760px;
}
.policy-body section {
  padding-bottom: 34px;
}
.policy-body h2 {
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.policy-body p {
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 16px;
}
.policy-related {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
}
.policy-related h2 {
  font-size: 19px;
}
.policy-related a {
  text-decoration: underline;
  color: var(--accent-text);
}
.archive-empty {
  padding: 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  margin-top: 30px;
}
.policy-archive-list article {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.policy-archive-list h2 {
  font-size: 20px;
}
.policy-archive-list p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
.desktop-wordplate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-left: 1px solid var(--border);
  color: var(--text);
}
.desktop-wordplate > span {
  font-size: 12px;
  letter-spacing: 3px;
}
.desktop-wordplate > strong {
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -3px;
  font-weight: 700;
}
.desktop-wordplate > small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.desktop-editorial {
  padding: 55px 0 90px;
}
.desktop-editorial h1 {
  font-size: clamp(64px, 9vw, 116px);
  letter-spacing: -5px;
  line-height: 1.05;
  margin-top: 32px;
}
.desktop-editorial h1 > span {
  color: var(--muted);
}
.desktop-editorial-copy {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 50px;
}
.promo-popup {
  padding: 0;
  width: min(460px, calc(100% - 32px));
  border: 1px solid var(--border);
  border-radius: 12px;
  max-height: calc(100dvh - 32px);
  background: var(--surface);
  color: var(--text);
}
.promo-popup::backdrop {
  background: var(--backdrop);
}
.promo-popup-top,
.promo-popup-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 15px;
}
.promo-popup-top {
  border-bottom: 1px solid var(--border);
}
.promo-popup-top > span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.7px;
}
.promo-popup-content {
  padding: 38px 30px 36px;
}
.promo-popup-content .wordmark {
  font-size: 26px;
}
.promo-popup-content h2 {
  font-size: 32px;
  letter-spacing: -1px;
  margin-top: 24px;
  word-break: keep-all;
}
.promo-popup-content p {
  margin-top: 16px;
  color: var(--muted);
}
.promo-popup-content .button {
  margin-top: 28px;
}
.promo-popup-bottom {
  border-top: 1px solid var(--border);
  background: var(--surface2);
  font-size: 14px;
}
.promo-popup-bottom label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.promo-popup-bottom input {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
}
.ad-consent[hidden] {
  display: none;
}
.ad-consent {
  position: fixed;
  z-index: 60;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 32px));
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--art-shadow);
}
.ad-consent p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.ad-consent p a {
  text-decoration: underline;
}
.ad-consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
@media (min-width: 1200px) {
  .ad-layout.with-ads {
    display: grid;
    grid-template-columns: 160px minmax(0, 1200px) 160px;
    grid-template-areas: 'left content right';
    gap: 28px;
    max-width: 1640px;
    margin-inline: auto;
    padding-inline: 32px;
  }
  .ad-layout.with-ads > .site-content {
    grid-area: content;
    width: 100%;
    min-width: 0;
  }
  .ad-layout.with-ads > .ad-rail-left {
    grid-area: left;
  }
  .ad-layout.with-ads > .ad-rail-right {
    grid-area: right;
  }
  .ad-layout.with-ads .site-content > .container,
  .ad-layout.with-ads .hub-hero-inner {
    width: 100%;
  }
  .ad-layout.with-ads .ad-rail {
    display: block;
    padding-top: 60px;
  }
  .ad-rail > .ad-slot {
    position: sticky;
    top: 112px;
  }
  .ad-layout.with-ads .mobile-ad-wrap {
    display: none;
  }
}
@media (max-width: 1000px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .policy-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .policy-nav a {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .policy-nav a[aria-current='page'] {
    border-bottom-color: var(--text);
  }
  .data-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .data-live {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 24px 0;
  }
  .desktop-wordplate {
    display: none;
  }
}
@media (max-width: 600px) {
  .wordmark {
    font-size: 26px;
  }
  .data-overview-heading {
    align-items: start;
  }
  .data-overview-heading h2 {
    font-size: 24px;
  }
  .data-overview-heading .text-link {
    font-size: 14px;
    white-space: nowrap;
  }
  .data-metric {
    padding: 24px 15px 24px 0;
  }
  .data-metric + .data-metric {
    padding-left: 20px;
  }
  .data-metric strong {
    font-size: 46px;
  }
  .data-metric small {
    font-size: 12px;
  }
  .data-service-meta {
    display: block;
  }
  .data-service-meta > div {
    justify-content: space-between;
    margin: 10px 0;
  }
  .policy-body p {
    font-size: 16px;
  }
  .policy-archive-list article {
    align-items: start;
    flex-direction: column;
  }
  .footer-policies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
  }
  .footer-policies a {
    overflow-wrap: anywhere;
  }
  .desktop-editorial {
    padding: 30px 0 50px;
  }
  .desktop-editorial h1 {
    letter-spacing: -3px;
  }
  .ad-mobile .house-ad {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .ad-mobile .house-ad-action {
    grid-column: 1;
    grid-row: 3;
    margin-top: 6px;
  }
  .ad-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }
  .ad-consent-actions {
    justify-content: flex-end;
  }
}
.house-ad.house-ad-image {
  padding: 0;
  background: transparent;
  border: 0;
  min-height: 0;
}
.house-ad-image img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: auto;
}
/* Personal game shortcuts: reuse the light/dark semantic tokens. */
.hub-bottom[data-personal-hub] {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.hub-utility-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}
.hub-utility-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hub-utility-heading h2 {
  font-size: 1.5rem;
  margin-top: 8px;
  line-height: 1.4;
  word-break: keep-all;
}
.hub-utility-heading .text-link {
  font-size: 0.875rem;
  min-height: 40px;
  flex-shrink: 0;
}
.hub-utility-heading button:disabled {
  color: var(--muted);
  opacity: 0.65;
  cursor: default;
}
.hub-utility-note {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
}
.hub-utility-note a {
  color: var(--accent-text);
  text-decoration: underline;
}
.hub-quick-list {
  margin-top: 20px;
}
.hub-utility-empty {
  font-size: 1rem;
  color: var(--muted);
  padding: 24px 0;
  line-height: 1.7;
}
.hub-quick-game {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  min-width: 0;
}
.hub-quick-game:hover .hub-quick-name strong {
  color: var(--purple);
}
.hub-quick-game > img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.hub-quick-name {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hub-quick-name strong {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.hub-quick-name small,
.hub-quick-action,
.hub-quick-date {
  font-size: 0.875rem;
  color: var(--muted);
}
.hub-quick-action {
  color: var(--accent-text);
  white-space: nowrap;
}
.hub-quick-date {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.hub-game-picker {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.hub-game-picker[hidden] {
  display: none;
}
.hub-picker-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}
.hub-picker-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hub-picker-option {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  min-width: 0;
}
.hub-picker-option > img {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}
.hub-picker-option > span:not(.hub-favorite-mark) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.hub-picker-option[aria-pressed='true'] {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-text);
}
.hub-picker-option:hover:not(:disabled) {
  border-color: var(--accent-border);
}
.hub-picker-option:disabled {
  opacity: 0.45;
  cursor: default;
}
.hub-favorite-mark {
  font-size: 1rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.hub-all-games {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--accent-text);
  padding-block: 12px;
  margin-top: 8px;
}
@media (max-width: 1000px) {
  .hub-bottom[data-personal-hub] {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .hub-utility-panel {
    padding: 22px;
  }
  .hub-utility-heading h2 {
    font-size: 1.375rem;
  }
  .hub-quick-game {
    gap: 10px;
  }
  .hub-quick-action {
    display: none;
  }
}
@media (max-width: 360px) {
  .hub-picker-options {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* StatDex working surface: game names, search and actual service states first. */
.hub-directory-page {
  padding-block: 36px 28px;
}
.hub-directory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.hub-directory-heading h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.04em;
}
.hub-directory-heading .hub-count-label {
  font-size: 0.875rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.hub-directory-page .hub-toolbar {
  margin: 22px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.hub-directory-page .hub-search {
  width: 320px;
  border-radius: 5px;
  background: var(--surface);
  padding: 11px 13px;
}
.hub-directory-page .hub-search input {
  font-size: 1rem;
  min-width: 0;
}
.hub-directory-page .genre-filters {
  gap: 5px;
}
.hub-directory-page .genre-filters button {
  font-size: 0.875rem;
  border-radius: 4px;
  padding: 8px 11px;
}
.hub-directory-page .genre-filters button[aria-pressed='true'] {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.hub-directory-results {
  min-width: 0;
}
.hub-directory-empty {
  padding: 60px 20px;
  border-block: 1px solid var(--border);
  text-align: center;
}
.hub-directory-empty h2 {
  font-size: 1.25rem;
}
.hub-directory-empty p {
  font-size: 1rem;
  color: var(--muted);
  margin: 12px 0 24px;
}
.hub-directory-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 18px;
}
.hub-data-strip {
  padding-top: 28px;
}
.hub-data-strip .data-overview-heading {
  margin-bottom: 14px;
  align-items: center;
}
.hub-data-strip .data-overview-heading h2 {
  font-size: 1.125rem;
  margin: 0;
  letter-spacing: 0;
}
.hub-data-strip .data-overview-heading .text-link {
  font-size: 0.875rem;
}
.hub-data-strip .data-overview-grid {
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr);
}
.hub-data-strip .data-metric {
  padding: 22px 20px 22px 0;
  gap: 7px;
}
.hub-data-strip .data-metric + .data-metric {
  padding-left: 20px;
}
.hub-data-strip .data-metric strong {
  font-size: 1.75rem;
  letter-spacing: 0;
}
.hub-data-strip .data-metric > span,
.hub-data-strip .data-metric small {
  font-size: 0.875rem;
}
.hub-data-strip .data-live {
  padding: 20px 0 20px 24px;
}
.hub-data-strip .data-live dl {
  margin-top: 12px;
}
.hub-data-strip .data-live > p {
  font-size: 0.875rem;
}
.hub-bottom[data-personal-hub] {
  padding-top: 30px;
}
.hub-utility-panel {
  border-radius: 6px;
  box-shadow: none;
}
.hub-utility-heading h2 {
  font-size: 1.25rem;
  margin-top: 0;
}
.hub-game-picker .hub-picker-option {
  border-radius: 4px;
}
.sa-workspace {
  padding-block: 38px 22px;
}
.sa-workspace-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sa-workspace h1 {
  font-size: 2rem;
  line-height: 1.4;
  letter-spacing: -0.04em;
}
.sa-workspace .search-form {
  max-width: 700px;
  border-radius: 5px;
  box-shadow: none;
}
.sa-workspace .recent-search {
  max-width: 700px;
}
.sa-services {
  padding-top: 24px;
}
.sa-services .section-heading h2 {
  font-size: 1.25rem;
  letter-spacing: 0;
}
.sa-services .service-grid {
  margin-top: 18px;
  gap: 16px;
}
.sa-services .service-card {
  display: block;
  border-radius: 5px;
  transform: none;
  box-shadow: none;
}
.sa-services .service-art {
  display: none;
}
.sa-services .service-body {
  padding: 22px;
}
.sa-services .service-body h3 {
  font-size: 1.125rem;
}
.desktop-editorial {
  padding: 0 0 40px;
}
.desktop-editorial h1 {
  font-size: 2rem;
  line-height: 1.4;
  letter-spacing: -0.04em;
  margin-top: 0;
}
.desktop-editorial-copy {
  margin-top: 24px;
  padding-top: 24px;
}
.planned-content h2 {
  font-size: 1.25rem;
}
@media (max-width: 1000px) {
  .hub-data-strip .data-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hub-data-strip .data-live {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 20px 0;
  }
}
@media (max-width: 600px) {
  .hub-directory-page {
    padding-block: 24px;
  }
  .hub-directory-heading h2,
  .sa-workspace h1 {
    font-size: 1.625rem;
  }
  .hub-directory-page .hub-search {
    width: 100%;
  }
  .hub-directory-page .hub-toolbar {
    gap: 14px;
    margin-block: 18px;
  }
  .hub-directory-page .genre-filters {
    width: 100%;
  }
  .hub-data-strip .data-metric {
    padding-block: 18px;
  }
  .hub-data-strip .data-metric small {
    line-height: 1.6;
  }
  .data-overview-grid .data-metric,
  .hub-data-strip .data-overview-grid .data-metric {
    padding: 18px 10px;
    min-width: 0;
  }
  .data-overview-grid .data-metric:first-child {
    padding-left: 0;
  }
  .data-overview-grid .data-metric > span,
  .data-overview-grid .data-metric small {
    font-size: 12px;
    word-break: keep-all;
  }
  .data-overview-grid .data-metric strong {
    font-size: 36px;
  }
  .hub-utility-heading h2 {
    font-size: 1.25rem;
  }
  .sa-workspace {
    padding-top: 26px;
  }
}

/* Large game collection, using the original image-card grid. */
.hub-featured-page {
  padding-top: 34px;
}
.hub-featured-page > h1 {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.5;
  margin-bottom: 24px;
}
.hub-featured-page .hero-showcase {
  max-width: 840px;
  margin-inline: auto;
}
.hub-featured-page .showcase-topline {
  font-size: 0.875rem;
  letter-spacing: 0;
}
.hub-featured-page .featured-stage {
  aspect-ratio: 1.85;
}
.hub-featured-page .featured-caption h2 {
  font-size: 2.25rem;
}
.hub-directory-page .game-grid[hidden],
.hub-directory-page [data-game-card][hidden],
.hub-directory-empty[hidden] {
  display: none;
}
.hub-directory-page .game-tile:focus-visible {
  outline-offset: 7px;
  border-radius: 14px;
}
@media (max-width: 600px) {
  .hub-featured-page {
    padding-top: 24px;
  }
  .hub-featured-page .featured-stage {
    aspect-ratio: 1.6;
  }
  .hub-featured-page .featured-caption h2 {
    font-size: 1.75rem;
  }
}
/* Policy contact table: native headings and links, contained horizontal scroll. */
.policy-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  margin-block: 24px 14px;
}
.policy-remedies-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.7;
  background: var(--surface);
  color: var(--text);
}
.policy-remedies-table caption {
  text-align: left;
  font-size: 1rem;
  font-weight: 650;
  padding-bottom: 12px;
}
.policy-remedies-table th,
.policy-remedies-table td {
  padding: 18px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.policy-remedies-table thead th {
  background: var(--surface2);
  font-weight: 650;
}
.policy-remedies-table tbody th {
  font-weight: 600;
}
.policy-remedies-table small {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}
.policy-remedies-table a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-remedies-table a[href^='tel:'] {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.policy-body .policy-contact-date {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Stable ad containers: a missing creative must not remove the side rails. */
.ad-google-unit[hidden],
.house-ad[hidden] {
  display: none !important;
}
.ad-slot[data-ad-type='adsense'] {
  min-height: 628px;
}
.ad-slot[data-ad-type='adsense'] .house-ad {
  min-height: 600px;
}
.ad-slot[data-ad-type='adsense'][data-ad-state='loading'] .ad-google-unit {
  background: var(--surface2);
}
.ad-mobile[data-ad-type='adsense'] {
  min-height: 128px;
}
.ad-mobile[data-ad-type='adsense'] .house-ad {
  min-height: 100px;
}

/* Official white Discord symbol on its brand colour. */
.login-button {
  background: #5865f2;
  color: #fff;
  border-color: #5865f2;
  min-width: 0;
}
.login-button:hover {
  background: #4752c4;
  border-color: #4752c4;
}
.discord-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 20px;
  line-height: 1;
}
.discord-icon img {
  display: block;
  width: 24px;
  height: 18px;
  object-fit: contain;
}

.login-button > span:last-child {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.data-catalog {
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 22px;
}
.data-catalog > div {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.data-catalog strong {
  font-size: 1rem;
}
.data-catalog > div > span {
  font-size: 0.875rem;
  color: var(--accent-text);
}
.data-catalog p {
  font-size: 0.875rem;
  margin: 10px 0;
}
.data-catalog .text-link {
  font-size: 0.875rem;
}
@media (max-width: 600px) {
  .discord-icon {
    width: 20px;
    height: 16px;
  }
  .discord-icon img {
    width: 20px;
    height: 15px;
  }
}

/* Shared page-view totals and rankings: actual server aggregates only. */
.data-status-heading {
  padding-top: 38px;
  padding-bottom: 0;
}
.data-status-heading .page-title {
  margin-bottom: 24px;
}
.visit-overview {
  padding-top: 36px;
  padding-bottom: 40px;
}
.visit-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.visit-heading h2 {
  font-size: 1.5rem;
  line-height: 1.5;
}
.visit-heading > span {
  font-size: 0.875rem;
  color: var(--muted);
}
.visit-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  border-top: 2px solid var(--text);
  border-bottom: 1px solid var(--border);
}
.visit-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 24px 24px 24px 0;
}
.visit-metrics > div + div {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.visit-metrics span {
  font-size: 0.875rem;
  font-weight: 600;
}
.visit-metrics strong {
  font-size: 2.5rem;
  font-weight: 750;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.visit-metrics strong.visit-top-game {
  font-size: 1.75rem;
  margin-top: 7px;
}
.visit-metrics small {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.visit-method {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 16px;
}
.visit-method > span {
  white-space: nowrap;
}
.visit-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 28px;
}
.visit-tables > div {
  min-width: 0;
}
.visit-tables h3 {
  font-size: 1.125rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.visit-table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
}
.visit-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 550px;
  font-size: 0.875rem;
  line-height: 1.7;
}
.visit-table th,
.visit-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.visit-table thead th {
  font-weight: 650;
  background: var(--surface2);
  white-space: nowrap;
}
.visit-table th[scope='row'] {
  font-weight: 550;
  min-width: 160px;
}
.visit-table th:first-child,
.visit-table td:first-child {
  width: 70px;
}
.visit-table td {
  font-variant-numeric: tabular-nums;
}
.visit-table tbody tr:last-child > * {
  border-bottom: 0;
}
.visit-table a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}
.visit-table .visit-table-empty {
  text-align: center;
  height: 140px;
  color: var(--muted);
}
.visit-table-note {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 10px;
}
@media (max-width: 760px) {
  .visit-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .visit-metrics > div:last-child {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 20px 0;
  }
  .visit-metrics strong.visit-top-game {
    margin: 0;
  }
  .visit-overview {
    padding-top: 30px;
  }
  .visit-metrics > div {
    padding: 20px 16px 20px 0;
  }
  .visit-metrics > div + div {
    padding-left: 16px;
  }
}
@media (max-width: 450px) {
  .visit-metrics strong {
    font-size: 2rem;
  }
  .visit-table th,
  .visit-table td {
    padding: 14px;
  }
  .visit-heading h2 {
    font-size: 1.375rem;
  }
  .visit-method > span {
    white-space: normal;
  }
}
