:root {
  --bg: #e7edf6;
  --panel: #ffffff;
  --text: #142235;
  --muted: #586a7e;
  --line: #cfd9e6;
  --accent: #0f6aac;
  --accent-soft: #e4f1fb;
  --steam-capsule-ratio: 460 / 215;
  --site-dvh: 100vh;
  --site-viewport-offset-top: 0px;
  --site-header-height: calc(56px + env(safe-area-inset-top, 0px));
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  min-height: var(--site-dvh, 100vh);
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(255, 220, 168, 0.42) 0%, transparent 32%),
    radial-gradient(circle at 90% -12%, rgba(151, 201, 255, 0.46) 0%, transparent 35%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 48%, #e9eff7 100%);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.6;
  padding-top: calc(var(--site-header-height) + var(--site-viewport-offset-top, 0px));
}

@supports (height: 100dvh) {
  html,
  body {
    min-height: 100dvh;
  }
}

body.oshi-modal-open {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 100% - 32px);
  margin: 0 auto;
}

.seo-breadcrumb {
  margin: 12px 2px 10px;
  color: #5d7287;
  font-size: 0.78rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.seo-breadcrumb a {
  color: #2d5f8f;
  text-decoration: none;
}

.seo-breadcrumb a:hover {
  text-decoration: underline;
}

.seo-breadcrumb-sep {
  color: #90a0b2;
}

.site-header {
  position: fixed;
  top: var(--site-viewport-offset-top, 0px);
  left: 0;
  right: 0;
  z-index: 1200;
  padding: 0;
  background: rgba(248, 252, 255, 0.9);
  border-bottom: 1px solid #d5e0ec;
  box-shadow: 0 5px 14px rgba(24, 51, 81, 0.08);
  backdrop-filter: blur(8px);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header-inner {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 52px;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.site-footer {
  padding: 8px 0 20px;
}

.site-footer-links {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.8rem;
}

.site-footer-links a {
  color: #34526f;
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "BIZ UDMincho", serif;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #0d1f34;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.site-title:hover {
  text-decoration: none;
}

.site-title-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 3px 8px rgba(16, 64, 101, 0.24);
}

.site-title-text {
  line-height: 1.1;
}

.site-brand {
  position: static;
  min-width: 0;
  max-width: min(90vw, 720px);
}

.site-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: left;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-switcher-panel {
  margin: 10px 0 18px;
  border: 1px solid #d3deea;
  border-radius: 18px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 248, 253, 0.98) 100%);
  box-shadow: 0 12px 28px rgba(30, 59, 92, 0.08);
}

.page-switcher-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.page-switcher-title {
  margin: 0;
  color: #183656;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-switcher-meta {
  margin: 0;
  color: #667a90;
  font-size: 0.72rem;
  font-weight: 700;
}

.page-switcher-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.page-switcher-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #d5deea;
  border-radius: 999px;
  background: #f7fbff;
  color: #244565;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 14px rgba(51, 71, 98, 0.08);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

button.page-switcher-link {
  appearance: none;
  cursor: pointer;
}

.page-switcher-link:hover {
  text-decoration: none;
  background: #edf5fd;
  transform: translateY(-1px);
}

.page-switcher-link.is-active {
  border-color: #7a88ff;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d8dff 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(96, 94, 214, 0.22);
}

.page-switcher-link-community {
  border-color: #c8d7e7;
  background: #eef4fb;
  color: #355474;
}

@media (max-width: 900px) {
  .site-header-inner {
    min-height: 0;
    width: 100%;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .site-brand {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    max-width: 100%;
  }

  .site-tagline {
    display: none;
  }

  .page-switcher-panel {
    margin-top: 8px;
    padding: 12px;
    border-radius: 16px;
  }

  .page-switcher-links {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .page-switcher-links::-webkit-scrollbar {
    display: none;
  }

  .page-switcher-link {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 36px;
    padding: 8px 14px;
    font-size: 0.84rem;
  }
}

.meta {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.meta-disclosure {
  margin-top: 0;
  text-align: right;
  font-size: 0.82rem;
}

.meta-bottom {
  text-align: right;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 1.52rem;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.page-title-main {
  margin: 0 0 10px;
}

.explainer-panel {
  display: grid;
  gap: 10px;
}

.explainer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.explainer-kicker {
  margin: 0 0 4px;
  color: #5b7692;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
}

.explainer-panel h2 {
  margin: 0;
}

.explainer-paragraph {
  margin: 0;
  color: #29435d;
}

.explainer-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.explainer-metric {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #d6e3ef;
  border-radius: 10px;
  background: #f8fbff;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.explainer-metric > span {
  color: #536a81;
  font-size: 0.7rem;
  font-weight: 700;
}

.explainer-metric > strong {
  color: #153551;
  font-size: 0.95rem;
  font-weight: 800;
}

.explainer-list {
  margin: 0;
  padding-left: 1.2em;
  color: #29435d;
}

.explainer-list li {
  margin: 4px 0;
}

.explainer-subsection {
  display: grid;
  gap: 8px;
}

.explainer-subsection h3 {
  margin: 0;
}

.explainer-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.explainer-status-badge.is-ready {
  border: 1px solid #9dc7a7;
  background: #edf9f0;
  color: #245b31;
}

.explainer-status-badge.is-holding {
  border: 1px solid #d7c39c;
  background: #fff7e8;
  color: #7b5720;
}

.series-ranking-subtitle {
  margin-top: 0;
}

.search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1rem;
}

.search-input-compact {
  width: min(520px, 100%);
}

.sort-select {
  min-width: 240px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  background: #fff;
  font-size: 0.92rem;
  color: var(--text);
}

.subtle-inline {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.game-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.game-tools .search-input-compact {
  flex: 1 1 320px;
  min-width: 240px;
}

.game-tools .sort-select {
  flex: 0 0 240px;
}

.series-top-rankings-panel {
  overflow: hidden;
}

.series-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.series-top-card {
  border: 1px solid #d4dfec;
  border-radius: 10px;
  background: #f9fbff;
  padding: 10px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.series-top-card-title {
  margin: 0;
  font-size: 0.94rem;
  color: #173753;
}

.series-top-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  align-content: start;
}

.series-top-list[data-live-hydrate="pending"] {
  pointer-events: none;
}

.series-top-list[data-live-hydrate="pending"] .series-top-item {
  --series-top-row-bg: #f6f9fd;
  --series-top-row-border: #dbe5f0;
  --series-top-rank-bg: #e8eff7;
  --series-top-rank-border: #d2deeb;
  --series-top-rank-text: transparent;
}

.series-top-list[data-live-hydrate="pending"] .series-top-rank,
.series-top-list[data-live-hydrate="pending"] .series-top-channel,
.series-top-list[data-live-hydrate="pending"] .series-top-part1-title,
.series-top-list[data-live-hydrate="pending"] .series-top-metric,
.series-top-list[data-live-hydrate="pending"] .series-top-game-title {
  color: transparent;
}

.series-top-list[data-live-hydrate="pending"] .series-top-thumb,
.series-top-list[data-live-hydrate="pending"] .series-top-game-cover {
  opacity: 0;
}

.series-top-list[data-live-hydrate="pending"] .series-top-thumb-link,
.series-top-list[data-live-hydrate="pending"] .series-top-thumb-fallback,
.series-top-list[data-live-hydrate="pending"] .series-top-game-cover-fallback,
.series-top-list[data-live-hydrate="pending"] .series-top-rank,
.series-top-list[data-live-hydrate="pending"] .series-top-channel,
.series-top-list[data-live-hydrate="pending"] .series-top-part1-title,
.series-top-list[data-live-hydrate="pending"] .series-top-metric,
.series-top-list[data-live-hydrate="pending"] .series-top-game-title {
  background: linear-gradient(90deg, #e7eef6 0%, #f2f7fc 50%, #e7eef6 100%);
  background-size: 220% 100%;
  animation: ranking-skeleton-shimmer 1.2s ease-in-out infinite;
}

.series-top-list[data-live-hydrate="pending"] .series-top-channel,
.series-top-list[data-live-hydrate="pending"] .series-top-part1-title,
.series-top-list[data-live-hydrate="pending"] .series-top-metric,
.series-top-list[data-live-hydrate="pending"] .series-top-game-title {
  border-radius: 6px;
  display: inline-block;
}

.series-top-list[data-live-hydrate="pending"] .series-top-channel {
  width: 52%;
  min-height: 0.9em;
}

.series-top-list[data-live-hydrate="pending"] .series-top-part1-title {
  width: 95%;
  min-height: 1em;
}

.series-top-list[data-live-hydrate="pending"] .series-top-metric {
  width: 44%;
  min-height: 0.9em;
}

.series-top-list[data-live-hydrate="pending"] .series-top-game-title {
  width: 56%;
  min-height: 0.86em;
}

@keyframes ranking-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.series-top-item {
  --series-top-row-bg: #ffffff;
  --series-top-row-border: #d7e2ef;
  --series-top-rank-bg: #eef4fb;
  --series-top-rank-border: #cad9e8;
  --series-top-rank-text: #2a4d6d;
  border: 1px solid var(--series-top-row-border);
  border-radius: 8px;
  background: var(--series-top-row-bg);
  padding: 0;
  overflow: hidden;
}

.series-top-card-link {
  display: block;
  padding: 6px;
  color: inherit;
  text-decoration: none;
}

.series-top-card-link:hover {
  background: rgba(28, 93, 148, 0.08);
}

.series-top-row {
  display: grid;
  grid-template-columns: 2.4em 88px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
}

.series-top-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--series-top-rank-border);
  border-radius: 999px;
  color: var(--series-top-rank-text);
  background: var(--series-top-rank-bg);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 1px 0;
}

.series-top-item-rank-1 {
  --series-top-row-bg: #fff8ec;
  --series-top-row-border: #ecdcb6;
  --series-top-rank-bg: #f6e7c4;
  --series-top-rank-border: #e8d7ab;
  --series-top-rank-text: #6b4d15;
}

.series-top-item-rank-2 {
  --series-top-row-bg: #f8f8fb;
  --series-top-row-border: #dfe2ea;
  --series-top-rank-bg: #e7e8ef;
  --series-top-rank-border: #d8dae4;
  --series-top-rank-text: #4f5563;
}

.series-top-item-rank-3 {
  --series-top-row-bg: #fdf5ef;
  --series-top-row-border: #e8d5c9;
  --series-top-rank-bg: #f0ddd2;
  --series-top-rank-border: #e2ccbf;
  --series-top-rank-text: #744b33;
}

.series-top-item-rank-4 {
  --series-top-row-bg: #f3f8ff;
  --series-top-row-border: #d9e6f8;
  --series-top-rank-bg: #e2ecfb;
  --series-top-rank-border: #cfdef3;
  --series-top-rank-text: #2a5279;
}

.series-top-item-rank-5 {
  --series-top-row-bg: #f4fbf7;
  --series-top-row-border: #d8ebdf;
  --series-top-rank-bg: #deefe5;
  --series-top-rank-border: #cce2d8;
  --series-top-rank-text: #2f5e47;
}

.series-top-thumb-link {
  display: block;
  width: 88px;
  height: 50px;
  border: 1px solid #c8d8e8;
  border-radius: 6px;
  overflow: hidden;
  background: #edf4fb;
}

.series-top-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-top-thumb-fallback {
  display: block;
  width: 88px;
  height: 50px;
  border: 1px dashed #cbdae9;
  border-radius: 6px;
  background: #f5f9fd;
}

.series-top-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.series-top-main {
  color: #163652;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.series-top-channel {
  margin: 0;
  color: #1f4768;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-top-part1-title {
  color: #173b59;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-top-metric {
  color: #365875;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-top-game-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.series-top-game-cover {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid #c8d8e8;
  object-fit: cover;
  flex: 0 0 auto;
}

.series-top-game-cover-fallback {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px dashed #c6d7e8;
  background: #f3f8fd;
  flex: 0 0 auto;
}

.series-top-game-title {
  min-width: 0;
  color: #2c4c69;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-top-more {
  margin-top: auto;
  padding-top: 12px;
  text-align: center;
}

.series-top-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #26557e;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #bfd3e7;
  background: #f1f7fd;
  border-radius: 999px;
  padding: 5px 10px;
}

.series-top-more-link:hover {
  background: #e8f2fb;
  border-color: #a8c5df;
}

.series-top-list-more {
  margin-top: 8px;
}

.series-ranking-panel {
  overflow: hidden;
}

.series-ranking-back-wrap {
  margin: 0 0 8px;
}

.series-ranking-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c6d8ea;
  border-radius: 999px;
  background: #f3f8fd;
  color: #2f5a81;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  padding: 4px 10px;
}

.series-ranking-back-link:hover {
  background: #e8f2fb;
  border-color: #a8c5df;
}

.series-top-list-full {
  gap: 8px;
}

.recent-comments-panel h2 {
  margin-bottom: 10px;
}

.recent-comments-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.recent-comments-item {
  border: 1px solid #d7e2ee;
  border-radius: 10px;
  background: #f9fbff;
}

.recent-comments-link {
  display: grid;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  padding: 9px 10px;
}

.recent-comments-link:hover {
  background: rgba(28, 93, 148, 0.08);
}

.recent-comments-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #33526f;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.recent-comments-meta-info {
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-comments-meta-time {
  flex: 0 0 auto;
  color: #698096;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
}

.recent-comments-body {
  display: block;
  color: #17324d;
  font-size: 0.84rem;
  line-height: 1.34;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.recent-comments-empty {
  border: 1px dashed #c9d9ea;
  border-radius: 10px;
  background: #f7fbff;
  color: #4d6781;
  font-size: 0.82rem;
  padding: 10px;
}

.recent-comments-item-skeleton {
  padding: 9px 10px;
  pointer-events: none;
}

.recent-comments-item-skeleton .recent-comments-meta,
.recent-comments-item-skeleton .recent-comments-body {
  color: transparent;
  border-radius: 6px;
  background: linear-gradient(90deg, #e7eef6 0%, #f2f7fc 50%, #e7eef6 100%);
  background-size: 220% 100%;
  animation: ranking-skeleton-shimmer 1.2s ease-in-out infinite;
}

.recent-comments-item-skeleton .recent-comments-meta {
  width: 72%;
  min-height: 0.92em;
}

.recent-comments-item-skeleton .recent-comments-body {
  width: 94%;
  min-height: 1.45em;
}

.recent-comments-item-skeleton .recent-comments-meta-time {
  display: none;
}

@media (max-width: 640px) {
  .recent-comments-link {
    padding: 8px 9px;
    gap: 3px;
  }

  .recent-comments-meta {
    gap: 6px;
    font-size: 0.72rem;
  }

  .recent-comments-meta-time {
    font-size: 0.66rem;
  }

  .recent-comments-body {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .creator-icon-link-badge {
    right: -2px;
    bottom: -2px;
    width: 13px;
    height: 13px;
  }
}

.creator-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.creator-top5-block {
  margin-bottom: 10px;
  border: 1px solid #d5dfec;
  border-radius: 10px;
  background: #f9fcff;
  padding: 8px 10px;
}

.creator-top5-heading {
  margin: 0 0 6px;
  color: #36506c;
  font-size: 0.82rem;
  font-weight: 700;
}

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

.creator-top5-item {
  --rank-bg: #f4f8fd;
  --rank-chip-bg: #e3edf8;
  --rank-chip-border: #d1dfef;
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr) max-content;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  padding: 5px 7px;
  border: 1px solid #d5e0ed;
  border-radius: 8px;
  background: var(--rank-bg);
}

.creator-top5-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3f556d;
  font-weight: 700;
  background: var(--rank-chip-bg);
  border: 1px solid var(--rank-chip-border);
  border-radius: 999px;
  line-height: 1.2;
  padding: 2px 0;
}

.creator-top5-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.creator-top5-main a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-top5-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #cfdae8;
}

.creator-top5-metrics {
  color: #305171;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.creator-top5-item-rank-1 {
  --rank-bg: #fff8ec;
  --rank-chip-bg: #f6e7c4;
  --rank-chip-border: #e8d7ab;
  border-color: #ecdcb6;
}

.creator-top5-item-rank-2 {
  --rank-bg: #f8f8fb;
  --rank-chip-bg: #e7e8ef;
  --rank-chip-border: #d8dae4;
  border-color: #dfe2ea;
}

.creator-top5-item-rank-3 {
  --rank-bg: #fdf5ef;
  --rank-chip-bg: #f0ddd2;
  --rank-chip-border: #e2ccbf;
  border-color: #e8d5c9;
}

.creator-top5-item-rank-4 {
  --rank-bg: #f3f8ff;
  --rank-chip-bg: #e2ecfb;
  --rank-chip-border: #cfdef3;
  border-color: #d9e6f8;
}

.creator-top5-item-rank-5 {
  --rank-bg: #f4fbf7;
  --rank-chip-bg: #deefe5;
  --rank-chip-border: #cce2d8;
  border-color: #d8ebdf;
}

.creator-top5-views {
  color: #1f3e5e;
  font-weight: 700;
}

.creator-tool-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.creator-page-size-select {
  min-width: 88px;
}

.creator-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.creator-load-more-button {
  border: 1px solid #bcd0e6;
  border-radius: 999px;
  background: #f7fbff;
  color: #1a4f7c;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.creator-load-more-button:hover {
  background: #eef6ff;
}

.genre-filter {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  min-width: 300px;
}

.genre-filter-toggle {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  background: #fff;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.genre-filter-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  width: min(340px, calc(100vw - 40px));
  max-height: 320px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  background: #fff;
  display: none;
}

.genre-filter-popover.open {
  display: block;
}

.genre-filter-caption {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.genre-options {
  display: grid;
  gap: 6px;
}

.genre-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.genre-filter-clear {
  margin-top: 10px;
  border: 1px solid #c5d7e7;
  border-radius: 9px;
  background: #f5f9fd;
  color: #1d4f77;
  padding: 7px 10px;
  font-size: 0.85rem;
  cursor: pointer;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.hub-grid {
  display: grid;
  gap: 12px;
}

.hub-category-card {
  padding: 12px;
}

.hub-category-title {
  margin: 0 0 4px;
  color: #0f1f33;
}

.hub-top5-list {
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hub-top5-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 9px;
  align-items: start;
  padding: 6px;
  border: 1px solid #d4deea;
  border-radius: 10px;
  background: #f8fbff;
}

.hub-top5-item-with-top3 {
  grid-template-columns: 120px minmax(0, 1fr) 248px;
}

.hub-top5-cover-link {
  display: block;
}

.hub-top5-cover {
  width: 100%;
  aspect-ratio: var(--steam-capsule-ratio);
  border-radius: 8px;
  border: 1px solid #d0dae7;
  object-fit: cover;
  display: block;
}

.hub-top5-body {
  min-width: 0;
}

.hub-top5-rank {
  margin: 0;
  color: #4b5f74;
  font-size: 0.75rem;
  font-weight: 700;
}

.hub-top5-link {
  display: inline-block;
  margin-top: 2px;
  color: #143150;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
}

.hub-top5-link:hover {
  text-decoration: underline;
}

.hub-top5-top3 {
  margin-top: 0;
  min-width: 0;
}

.hub-top5-top3 .game-card-top3-title {
  margin-bottom: 3px;
  font-size: 0.72rem;
}

.hub-top5-top3 .game-card-top3-row {
  grid-template-columns: 4.0em 14px minmax(0, 1fr) 5.9em;
  font-size: 0.72rem;
  padding: 3px 4px;
}

.hub-top5-top3 .game-card-top3-channel,
.hub-top5-top3 .game-card-top3-icon,
.hub-top5-top3 .game-card-top3-icon-placeholder {
  width: 14px;
  height: 14px;
}

.hub-top5-top3 .game-card-top3-views {
  min-width: 5.4em;
}

.creator-series-card {
  padding: 12px;
}

.creator-series-layout {
  display: grid;
  grid-template-columns: 372px minmax(0, 1fr) 188px;
  gap: 12px;
  align-items: start;
}

.creator-series-gamecard {
  min-width: 0;
}

.creator-series-gamecard-link {
  min-height: 96px;
}

.creator-series-main {
  min-width: 0;
}

.creator-series-main h3 {
  margin: 0 0 4px;
}

.creator-series-main .subtle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-series-affiliate {
  margin: 6px 0 0;
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.creator-series-part1 {
  justify-self: end;
  width: 188px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-series-part1-link {
  display: block;
}

.creator-series-part1-thumb {
  width: 188px;
  height: 106px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}

.creator-series-oshi {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.creator-series-oshi-card {
  min-width: 0;
}

.creator-series-oshi .oshi-controls-top {
  flex-wrap: wrap;
}

.creator-series-oshi .subtle {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.subtle {
  margin: 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.affiliate-note {
  margin: 4px 0 8px;
  color: #5b6a79;
  font-size: 0.84rem;
}

.affiliate-note-corner {
  margin: 10px 2px 0;
  text-align: right;
  font-size: 0.76rem;
  opacity: 0.78;
}

.affiliate-inline {
  margin: 0 0 8px;
}

.affiliate-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5dee8;
  background: #f7fafc;
  color: #325877;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  line-height: 1.2;
  text-decoration: none;
}

.affiliate-link:hover {
  text-decoration: none;
  background: #eef5fb;
}

.affiliate-link-subtle {
  opacity: 0.92;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sort-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.sort-button.active {
  background: var(--accent-soft);
  border-color: #bad8f5;
  color: #0c4676;
  font-weight: 700;
}

.game-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.creator-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
}

.creator-grid:not(.creator-grid-ready) > [data-creator-card='1'] {
  display: none;
}

.creator-grid:not(.creator-grid-ready) > [data-creator-card='1']:nth-child(-n + 20) {
  display: flex;
}

.game-grid-managed:not(.game-grid-ready) > [data-game-card='1'] {
  display: none;
}

.game-grid-managed:not(.game-grid-ready) > [data-game-card='1']:nth-child(-n + 50) {
  display: block;
}

.creator-grid .card {
  min-height: 126px;
  height: auto;
  display: flex;
  align-items: stretch;
  padding: 10px;
  position: relative;
}

.creator-card-rank-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 2;
  min-width: 3.1em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #bfcfe0;
  background: #eef3f8;
  color: #2f455b;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 2px 6px rgba(24, 42, 60, 0.14);
}

.creator-card-rank-badge-rank1 {
  border-color: #e4cb86;
  background: #fff2cd;
  color: #6d4d00;
}

.creator-card-rank-badge-rank2 {
  border-color: #cad3de;
  background: #f1f4f7;
  color: #3e4d5d;
}

.creator-card-rank-badge-rank3 {
  border-color: #dfc3b3;
  background: #f8ece5;
  color: #654335;
}

.creator-card-rank-badge-rank4 {
  border-color: #c7d9ed;
  background: #eaf3fd;
  color: #295275;
}

.creator-card-rank-badge-rank5 {
  border-color: #c9dfd1;
  background: #edf8f1;
  color: #2a5c3f;
}

.creator-card-rank-badge-rank-default {
  border-color: #bfcfe0;
  background: #eef3f8;
  color: #2f455b;
}

.creator-grid .row {
  width: 100%;
  gap: 3px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.creator-grid .row > div {
  min-width: 0;
}

.creator-card-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.creator-card-header-main {
  min-width: 0;
  flex: 1 1 auto;
}

.creator-card-name {
  margin: 0 0 2px;
  line-height: 1.32;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.creator-card-name a {
  display: inline;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.creator-grid .subtle {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-size: 0.76rem;
  line-height: 1.15;
  margin: 1px 0;
}

.creator-card-metric {
  padding-left: 0;
}

.creator-grid .icon {
  width: 36px;
  height: 36px;
}

.creator-icon-link {
  position: relative;
  display: inline-flex;
  line-height: 0;
  flex-shrink: 0;
}

.creator-icon-link .icon {
  border-radius: 50%;
}

.creator-icon-link-youtube {
  text-decoration: none;
}

.creator-icon-link-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  background: #ffffff url("./youtube-favicon.svg") center / 72% no-repeat;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.creator-channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15em;
  height: 3.15em;
  line-height: 1;
  text-decoration: none;
}

.creator-channel-link::before {
  content: "";
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background: url("./youtube-favicon.svg") center / contain no-repeat;
}

.creator-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.creator-hero-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 10px;
  align-items: stretch;
  padding: 8px;
}

.creator-hero-main h1 {
  margin: 0 0 4px;
  font-size: 1.44rem;
  line-height: 1.2;
}

.creator-hero-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.creator-name-inline-icon {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 1px solid rgba(47, 70, 94, 0.28);
  object-fit: cover;
  flex-shrink: 0;
}

.creator-hero-main .subtle {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.2;
}

.creator-hero-metrics {
  margin-top: 5px;
  display: grid;
  gap: 2px;
}

.creator-hero-metric {
  font-size: 1.08rem;
  font-weight: 800;
  color: #1b3550;
}

.creator-hero-main {
  position: relative;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 84px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #f1f6fc;
  overflow: hidden;
}

.creator-hero-with-banner .creator-hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--creator-hero-banner) center / cover no-repeat;
  opacity: 0.28;
  filter: saturate(0.88) contrast(0.94);
}

.creator-hero-with-banner .creator-hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.74) 100%);
}

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

.creator-top3-summary {
  justify-self: start;
  width: min(232px, 100%);
  height: 100%;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: #f9fbfe;
  padding: 5px 6px;
  display: flex;
  flex-direction: column;
}

.creator-top3-summary-title {
  margin: 0 0 3px;
  font-size: 0.68rem;
  color: #62778d;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.creator-top3-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.creator-top3-chip {
  margin: 0;
  border: 1px solid #dde6f0;
  border-radius: 8px;
  padding: 3px 5px;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
  font-size: 0.72rem;
  color: #3b5269;
  background: #fcfdff;
}

.creator-top3-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #96adc5;
}

.creator-top3-chip span {
  color: #4b627a;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.creator-top3-chip strong {
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: #243d58;
}

.creator-top3-chip strong::after {
  content: "\56DE";
  margin-left: 2px;
  font-size: 0.62rem;
  color: #678098;
  font-weight: 500;
}

.creator-top3-chip-rank1 {
  border-color: #eadcb4;
  background: #fffaf0;
}

.creator-top3-chip-rank1::before {
  background: #c7aa5e;
}

.creator-top3-chip-rank2 {
  border-color: #d7dde5;
  background: #f6f8fb;
}

.creator-top3-chip-rank2::before {
  background: #96a4b3;
}

.creator-top3-chip-rank3 {
  border-color: #e4cfbf;
  background: #faf3ee;
}

.creator-top3-chip-rank3::before {
  background: #ad8469;
}

.creator-top3-chip-total {
  border-color: #cfe0f0;
  background: #f1f7fd;
}

.creator-top3-chip-total::before {
  background: #6b90b5;
}

.creator-power-panel h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
}

.creator-power-target-count {
  margin: 8px 0 10px;
  font-size: 0.86rem;
  color: #34526f;
}

.creator-power-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 10px;
}

.creator-power-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #3d5d79;
  font-size: 0.73rem;
  font-weight: 700;
}

.metric-help {
  position: relative;
  display: inline-block;
}

.metric-help > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid #90abc7;
  background: #e8f1fa;
  color: #24496d;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.metric-help > summary::-webkit-details-marker {
  display: none;
}

.metric-help-popover {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(280px, 72vw);
  border-radius: 8px;
  border: 1px solid #c7d7e8;
  background: #ffffff;
  color: #1f3d59;
  font-size: 0.72rem;
  line-height: 1.45;
  padding: 8px 9px;
  box-shadow: 0 6px 16px rgba(16, 40, 64, 0.14);
  z-index: 20;
}

.metric-help[open] .metric-help-popover {
  display: block;
}

.creator-power-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 9px;
  margin: 0 0 14px;
}

.creator-power-summary-card {
  border: 1px solid #d6e1ee;
  border-radius: 11px;
  background: #f8fbff;
  padding: 9px 10px;
}

.creator-power-card-label {
  margin: 0;
  color: #556f86;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.creator-power-card-value {
  margin: 3px 0 7px;
  color: #122b44;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 700;
}

.creator-power-inline-sub {
  color: #486178;
  font-size: 0.78rem;
  font-weight: 600;
}

.creator-power-percentile {
  margin: -4px 0 6px;
  color: #4a637a;
  font-size: 0.72rem;
  font-weight: 700;
}

.creator-power-benchmark-note {
  margin-top: -4px;
  margin-bottom: 8px;
}

.creator-power-bar-track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #dfe8f3;
  overflow: hidden;
}

.creator-power-bar-track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(17, 49, 78, 0.28);
  pointer-events: none;
  z-index: 2;
}

.creator-power-bar-track-mini {
  height: 7px;
}

.creator-power-bar-fill {
  --creator-power-fill-start: #2f7fbb;
  --creator-power-fill-end: #59acd6;
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--creator-power-fill-start) 0%, var(--creator-power-fill-end) 100%);
}

.creator-power-sort-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.creator-power-sort-button {
  border: 1px solid #c7d7e8;
  border-radius: 999px;
  background: #f3f8fd;
  color: #224a70;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 9px;
  cursor: pointer;
}

.creator-power-sort-button.is-active {
  border-color: #8eb2d2;
  background: #deecfa;
  color: #123f66;
}

.creator-power-game-list {
  display: grid;
  gap: 8px;
}

.creator-power-game-row {
  border: 1px solid #d5e0ed;
  border-radius: 12px;
  padding: 9px;
  background: #fff;
}

.creator-power-game-header {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.creator-power-row-rank {
  margin: 0;
  min-width: 2.8em;
  border-radius: 999px;
  border: 1px solid #cad9e8;
  background: #f3f7fc;
  color: #2f4f6d;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  padding: 1px 7px;
}

.creator-power-game-headings {
  min-width: 0;
}

.creator-power-game-title {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #102941;
}

.creator-power-support {
  margin: 1px 0 0;
  color: #4d667c;
  font-size: 0.73rem;
}

.creator-power-metric-grid {
  margin-top: 7px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.creator-power-mini-metric {
  border-radius: 8px;
  border: 1px solid #e1e8f1;
  background: #fbfdff;
  padding: 7px;
}

.creator-power-mini-label {
  margin: 0;
  color: #566f85;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.creator-power-mini-value {
  margin: 4px 0 0;
  color: #173754;
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 700;
}

.creator-power-mini-na {
  margin: 4px 0 0;
  color: #6a7d90;
  font-size: 0.71rem;
  line-height: 1.35;
}

.creator-power-metric-grid-embedded {
  margin-top: 8px;
}

.creator-power-row-rank-inline {
  display: inline-flex;
  margin: 0 0 4px;
}

.creator-power-empty {
  margin: 0;
  border: 1px solid #d7e2ee;
  border-radius: 11px;
  background: #f6f9fd;
  color: #5b7288;
  padding: 10px;
  font-size: 0.82rem;
}

.creator-power-series-list {
  display: grid;
  gap: 8px;
}

.creator-power-series-row {
  border: 1px solid #d8e3ef;
  border-radius: 11px;
  padding: 8px 9px;
  background: #f9fcff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 10px;
  align-items: center;
}

.creator-power-series-main {
  min-width: 0;
}

.creator-power-series-title {
  margin: 0;
  color: #12314d;
  font-size: 0.85rem;
  font-weight: 700;
}

.creator-power-series-meta {
  margin: 2px 0 0;
  color: #4f697f;
  font-size: 0.72rem;
  line-height: 1.35;
}

.creator-power-series-value {
  margin: 4px 0 0;
  color: #173754;
  font-size: 0.75rem;
  line-height: 1.35;
  font-weight: 700;
}

.game-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.game-card-rank-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  min-width: 3.2em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(17, 51, 81, 0.18);
  background: rgba(11, 30, 48, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.game-card-link {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 96px;
}

.game-card-media {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--line);
}

.game-cover-link {
  display: block;
}

.game-cover {
  width: 100%;
  height: auto;
  aspect-ratio: var(--steam-capsule-ratio);
  object-fit: cover;
  object-position: center;
  display: block;
}

.game-cover-manual {
  object-fit: contain;
  background: #f3f5f8;
}

.game-card-body {
  background: #f8fafc;
  padding: 8px 11px;
  display: block;
}

.game-card-main-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 10px;
  align-items: start;
}

.game-card-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.game-card-title {
  margin: 0;
  color: #0f1f33;
  font-size: 0.95rem;
  line-height: 1.3;
}

.game-card-title a {
  color: #0f1f33;
  text-decoration: none;
}

.game-card-title a:hover {
  text-decoration: underline;
}

.game-grid .game-card-title {
  font-size: 1.14rem;
}

.game-card-id {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.game-card-release {
  margin: 2px 0 0;
  color: #44566b;
  font-size: 0.8rem;
}

.game-card-metrics {
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-card-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4e6074;
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 600;
}

.game-card-metric strong {
  color: #17324d;
  font-size: 0.83rem;
}

.game-card-variants {
  margin: 6px 0 0;
  color: #506276;
  font-size: 0.78rem;
  line-height: 1.35;
}

.game-card-variant-link {
  color: #2f5f88;
  text-decoration: none;
}

.game-card-variant-link:hover {
  text-decoration: underline;
}

.game-card-variant-meta {
  color: #6a7c8f;
}

.game-card-genres {
  margin: 0;
  padding-top: 6px;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.game-card-stores {
  margin: auto 0 0;
  padding: 8px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 28px;
}

.game-card-top3 {
  margin: 0;
  text-align: left;
}

.game-card-top3-title {
  margin: 0 0 2px;
  color: #4b5f74;
  font-size: 0.78rem;
  font-weight: 700;
}

.game-card-top3-row {
  margin: 0;
  display: grid;
  grid-template-columns: 4.2em 15px minmax(0, 1fr) 6.8em;
  grid-template-areas: "rank icon name views";
  gap: 5px;
  align-items: center;
  font-size: 0.78rem;
  line-height: 1.2;
  color: #3d4f63;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 4px 5px;
}

.game-card-top3-link {
  text-decoration: none;
}

.game-card-top3-link:hover {
  text-decoration: none;
  background: #ecf4fb;
}

.game-card-top3-row-rank-1 {
  background: #fff6dd;
  border-color: #f1d88b;
}

.game-card-top3-row-rank-2 {
  background: #f4f6f9;
  border-color: #d3dae4;
}

.game-card-top3-row-rank-3 {
  background: #faeee6;
  border-color: #e6c6b4;
}

.game-card-top3-rank {
  grid-area: rank;
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  font-weight: 700;
  color: #2f4f6b;
  white-space: nowrap;
}

.game-card-top3-crown {
  display: inline-flex;
  width: 0.95em;
  justify-content: center;
  margin-right: 0;
}

.game-card-top3-crown-empty {
  visibility: hidden;
}

.game-card-top3-channel {
  grid-area: icon;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.game-card-top3-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #cfdae6;
  display: block;
}

.game-card-top3-icon-placeholder {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(97, 123, 151, 0.12);
  border: 1px solid rgba(97, 123, 151, 0.16);
  display: inline-block;
}

.game-card-top3-name {
  grid-area: name;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  font-weight: 700;
  color: #233f59;
  position: relative;
  z-index: 2;
}

.game-card-top3-variant {
  margin-left: 4px;
  color: #5e7085;
  font-size: 0.7rem;
}

.game-card-top3-views {
  grid-area: views;
  justify-self: end;
  min-width: 5.8em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  font-size: 0.72rem;
  color: #4b6075;
}

.game-card-affiliate {
  margin: 8px 10px 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 24px;
}

.affiliate-link-placeholder {
  display: inline-block;
  width: 1px;
  height: 1px;
}

.store-links {
  margin: 2px 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
}

.store-icon-link {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.store-icon-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.store-icon-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.store-icon-steam {
  background: transparent;
  border-color: transparent;
}

.store-icon-steam .store-icon-image {
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(17, 33, 48, 0.24);
}

.store-icon-amazon {
  background: transparent;
  border-color: #d3dce7;
}

.store-icon-youtube {
  background: #fff5f5;
  border-color: #f3c6c6;
}

.store-icon-youtube .store-icon-image {
  width: 24px;
  height: 24px;
}

.store-icon-placeholder {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef2f6 0%, #e1e7ee 100%);
  border: 1px solid #cfd7e1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
}

.store-icon-placeholder::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid #b7c2cf;
  background: linear-gradient(180deg, #dfe5ec 0%, #cfd7e1 100%);
  opacity: 0.95;
}

.store-icon-placeholder::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: #94a1b1;
  transform: rotate(-32deg);
  border-radius: 999px;
  opacity: 0.9;
}

.genre-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #c8d8e7;
  background: #f2f7fc;
  color: #1d4f77;
  font-family: "BIZ UDPMincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.75rem;
  line-height: 1;
  padding: 4px 8px;
}

.genre-chip-button {
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.genre-chip-button:focus-visible {
  outline: 2px solid #5a9ed1;
  outline-offset: 1px;
}

.genre-chip-selected {
  border-color: #4f8dbd;
  background: #bcdcf5;
  color: #102f4a;
  box-shadow: inset 0 0 0 1px rgba(23, 84, 129, 0.26);
  font-weight: 700;
}

.genre-chip-muted {
  border-color: #d6dce4;
  background: #f7f8fa;
  color: #5f6d7d;
}

.rank-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.series-source-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 106, 172, 0.34);
  background: rgba(230, 242, 251, 0.95);
  color: #0b4f81;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rank-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--banner-image);
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
}

.rank-card-inner {
  --media-col-width: 204px;
  position: relative;
  z-index: 1;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.rank-top-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.rank-creator {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rank-creator-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.rank-creator-link:hover {
  text-decoration: none;
}

.rank-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2em;
  height: 1.9em;
  padding: 0 0.5em;
  border-radius: 999px;
  border: 1px solid #c8d6e4;
  background: #eef3f8;
  color: #2f455b;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.rank-position-top1 {
  border-color: #e4cb86;
  background: #fff2cd;
  color: #6d4d00;
}

.rank-position-top2 {
  border-color: #cad3de;
  background: #f1f4f7;
  color: #3e4d5d;
}

.rank-position-top3 {
  border-color: #dfc3b3;
  background: #f8ece5;
  color: #654335;
}

.rank-creator h3 {
  margin: 0;
}

.rank-part1-title-main {
  margin: 0;
  min-width: 0;
  color: #0f1f33;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-header {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: center;
}

.series-header-summary {
  margin: 8px 0 7px;
  padding: 8px 10px;
  border: 1px solid #d9e3ef;
  border-radius: 10px;
  background: #f7fbff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 10px;
}

.series-header-summary-item {
  margin: 0;
  min-width: 0;
  padding: 2px 0;
  display: grid;
  gap: 2px;
}

.series-header-summary-item > span {
  margin: 0;
  color: #526980;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.series-header-summary-item > strong {
  margin: 0;
  color: #163854;
  font-size: clamp(0.98rem, 1.45vw, 1.08rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.01em;
  white-space: normal;
  word-break: break-word;
}

.game-header-cover {
  width: 100%;
  aspect-ratio: var(--steam-capsule-ratio);
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
  object-position: center;
}

.game-header-cover-manual {
  object-fit: contain;
  background: #f3f5f8;
}

.rank-total-wrap {
  width: auto;
  justify-self: auto;
  text-align: left;
  padding-right: 0;
}

.rank-total {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.rank-total-wrap-inline {
  margin: 0 0 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas:
    "total metrics"
    "label metrics";
  column-gap: 10px;
  row-gap: 1px;
  align-items: end;
}

.rank-total-inline {
  grid-area: total;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
}

.rank-total-label {
  grid-area: label;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.game-ranking-tools {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.game-ranking-tools .sort-select {
  min-width: 220px;
}

.rank-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 4px;
}

.rank-summary-item {
  margin: 0;
  padding: 5px 7px;
  border: 1px solid #d6e3ef;
  border-radius: 8px;
  background: #f8fbff;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.rank-summary-item > span {
  color: #50677d;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
}

.rank-summary-item > strong {
  color: #173a57;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-series-title {
  margin: 7px 0 2px;
  color: #0f1f33;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-part1-block {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr var(--media-col-width);
  gap: 10px;
  align-items: center;
}

.rank-part1-thumb-link {
  display: block;
}

.youtube-thumb-link {
  position: relative;
  display: block;
}

.youtube-link-chip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.youtube-play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.youtube-play-badge::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-42%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}

.rank-part1-thumb {
  width: 100%;
  height: 114px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}

.rank-part1-info {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.rank-part1-media {
  grid-column: 2;
  justify-self: end;
  width: var(--media-col-width);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-part1-label {
  margin: 0;
  color: #203346;
  font-size: 0.9rem;
}

.rank-part1-side-metrics {
  grid-area: metrics;
  display: grid;
  gap: 1px;
  justify-items: end;
  align-content: center;
  margin: 0;
}

.rank-part1-label-side {
  font-size: 0.74rem;
  line-height: 1.3;
  text-align: right;
  color: #435a70;
  white-space: nowrap;
}

.oshi-controls {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  gap: 6px;
}

.rank-top-row + .oshi-controls {
  margin-top: 10px;
}

.oshi-controls-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.button-link.oshi-vote-button {
  width: auto;
  min-width: 96px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  gap: 5px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.button-link.oshi-vote-button[data-oshi-vote-type="high"] {
  border-color: #2f7fbf;
}

.button-link.oshi-vote-button.is-selected[data-oshi-vote-type="high"] {
  border-color: #2f7fbf;
  background: #dcedfb;
  color: #124a79;
  box-shadow: inset 0 0 0 1px rgba(36, 102, 157, 0.22);
}

.button-link.oshi-vote-button[data-oshi-vote-type="low"] {
  border-color: #d58b8b;
  background: #fff1f1;
  color: #b03f3f;
}

.button-link.oshi-vote-button.is-selected[data-oshi-vote-type="low"] {
  border-color: #cc7272;
  background: #ffdede;
  color: #8f2f2f;
  box-shadow: inset 0 0 0 1px rgba(162, 61, 61, 0.2);
}

.button-link.oshi-vote-button[data-oshi-vote-type="low"]:hover {
  background: #ffe5e5;
  border-color: #cb7676;
  color: #9d3333;
}

.button-link.oshi-comment-toggle-button {
  width: auto;
  height: 30px;
  min-width: 104px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.button-link.oshi-comment-toggle-button .oshi-icon {
  font-size: 1rem;
}

.button-link.oshi-comment-toggle-button .oshi-comment-label {
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
}

.oshi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0.94rem;
}

.oshi-count {
  font-weight: 800;
  font-size: 0.82rem;
}

.oshi-vote-label {
  font-weight: 700;
  font-size: 0.79rem;
  line-height: 1;
  white-space: nowrap;
}

.oshi-feedback {
  margin: 0;
  color: #294968;
  font-size: 0.72rem;
  min-height: 1.2em;
}

.oshi-stats {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.oshi-stat-chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #ccd9e8;
  background: #f5f9fd;
  color: #2b4a67;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.oshi-stat-chip-positive {
  border-color: #99c5a1;
  background: #edf8ef;
  color: #275a34;
}

.oshi-stat-chip-negative {
  border-color: #d7a7a7;
  background: #fff1f1;
  color: #943a3a;
}

.oshi-balance {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5edf6;
  border: 1px solid #d2deeb;
}

.oshi-balance-high,
.oshi-balance-low {
  display: block;
  height: 100%;
  transition: width 0.18s ease;
}

.oshi-balance-high {
  float: left;
  background: linear-gradient(90deg, #64a8d8, #2e79b7);
}

.oshi-balance-low {
  float: right;
  background: linear-gradient(90deg, #d68989, #c95c5c);
}

.oshi-balance-label {
  margin: 0;
  color: #46607a;
  font-size: 0.68rem;
  font-weight: 700;
}

.creator-vote-trend {
  border: 1px solid #d6e2ef;
  border-radius: 9px;
  background: #f9fcff;
  padding: 7px 8px;
}

.creator-vote-trend-title {
  margin: 0 0 4px;
  color: #1d466b;
  font-size: 0.78rem;
  font-weight: 800;
}

.creator-vote-trend-row {
  margin: 0;
  color: #395a77;
  font-size: 0.72rem;
  line-height: 1.35;
}

.creator-vote-trend-row + .creator-vote-trend-row {
  margin-top: 2px;
}

.creator-vote-trend-value {
  font-weight: 800;
}

.creator-vote-trend-value-positive {
  color: #1f7a43;
}

.creator-vote-trend-value-negative {
  color: #9a3939;
}

.game-seo-links {
  margin: 4px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #415a74;
}

.game-seo-links a {
  color: #1f527b;
  text-decoration: none;
  font-weight: 700;
}

.game-seo-links a:hover {
  text-decoration: underline;
}

.seo-game-ranking-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.seo-game-ranking-item {
  border: 1px solid #d4e1ee;
  border-radius: 9px;
  background: #f9fbff;
  padding: 8px 10px;
}

.seo-game-ranking-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #173f63;
  text-decoration: none;
  font-weight: 800;
}

.seo-game-ranking-main:hover {
  text-decoration: underline;
}

.seo-game-ranking-rank {
  display: inline-flex;
  min-width: 2.4em;
  justify-content: center;
  border: 1px solid #c5d7e9;
  border-radius: 999px;
  background: #eef6ff;
  font-size: 0.72rem;
  line-height: 1.2;
  padding: 2px 7px;
}

.seo-game-ranking-meta {
  margin: 4px 0 0;
  color: #425d78;
  font-size: 0.78rem;
}

.seo-game-compare-wrap {
  margin-top: 10px;
  overflow-x: auto;
}

.seo-game-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.82rem;
}

.seo-game-compare-table th,
.seo-game-compare-table td {
  border: 1px solid #d4e1ee;
  padding: 6px 8px;
  text-align: left;
  white-space: nowrap;
}

.seo-game-compare-table th {
  background: #eef5fd;
  color: #21496e;
  font-weight: 800;
}

.seo-game-compare-table tbody tr:nth-child(even) {
  background: #f9fbff;
}

.oshi-comment-preview {
  margin: 0;
  border: 1px solid #d8e3f0;
  border-radius: 9px;
  background: #f8fbff;
  padding: 4px 6px;
}

.oshi-comment-preview-title {
  margin: 0 0 2px;
  color: #3c5670;
  font-size: 0.68rem;
  font-weight: 700;
}

.oshi-comment-preview-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.oshi-comment-preview-item {
  margin: 0;
  color: #203244;
  font-size: 0.7rem;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.oshi-comment-preview-no {
  color: #44607a;
  font-weight: 700;
  margin-right: 4px;
}

.oshi-comment-thread {
  margin-top: 2px;
  padding: 8px;
  border: 1px solid #d3e0ed;
  border-radius: 10px;
  background: #f7fbff;
}

.oshi-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.oshi-comment-wrap {
  margin: 0 0 6px;
}

.oshi-comment-form {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 6px;
}

.oshi-comment-side-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.oshi-comment-side-label {
  color: #415970;
  font-size: 0.72rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.oshi-comment-side-select {
  min-width: 180px;
  height: 28px;
  border: 1px solid #c8d8e7;
  border-radius: 8px;
  background: #fff;
  color: #173a58;
  padding: 0 8px;
  font-size: 0.74rem;
  font-weight: 600;
}

.oshi-comment-input {
  width: 100%;
  resize: vertical;
  min-height: 44px;
  border: 1px solid #c9d8e8;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.82rem;
  line-height: 1.4;
  font-family: inherit;
}

.oshi-comment-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.button-link.oshi-comment-submit {
  width: auto;
  height: 28px;
  min-width: 44px;
  justify-self: end;
  border-radius: 8px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
}

.oshi-comment-char-count {
  color: #4a627a;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.oshi-comment-char-count.is-over {
  color: #a63c3c;
  font-weight: 700;
}

.oshi-comment-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.oshi-comment-title {
  margin: 0;
  color: #304b66;
  font-size: 0.83rem;
  font-weight: 700;
}

.oshi-comment-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.oshi-comment-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.oshi-comment-sort-button {
  height: 22px;
  border: 1px solid #c7d6e5;
  border-radius: 999px;
  background: #f4f8fc;
  color: #294968;
  padding: 0 9px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.oshi-comment-sort-button:hover {
  background: #ebf3fa;
}

.oshi-comment-sort-button.is-active {
  border-color: #7eaed5;
  background: #e4f0fb;
  color: #124a79;
}

.oshi-comment-filter-button {
  height: 22px;
  border: 1px solid #c7d6e5;
  border-radius: 999px;
  background: #f4f8fc;
  color: #294968;
  padding: 0 9px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.oshi-comment-filter-button:hover {
  background: #ebf3fa;
}

.oshi-comment-filter-button.is-active {
  border-color: #7eaed5;
  background: #e4f0fb;
  color: #124a79;
}

.oshi-comment-count {
  margin: 0 0 4px;
  color: #4a6178;
  font-size: 0.72rem;
}

.oshi-comment-guide {
  margin: 0 0 5px;
  color: #5b6f84;
  font-size: 0.68rem;
}

.oshi-comment-empty {
  margin: 0;
}

.oshi-comment-list {
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
  display: grid;
  gap: 6px;
}

.oshi-comment-item {
  position: relative;
  border: 1px solid #d6e2ef;
  border-radius: 8px;
  padding: 6px 7px 6px 10px;
  background: #fff;
}

.oshi-comment-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: #d2deec;
}

.oshi-comment-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #10263c;
  font-size: 0.84rem;
  line-height: 1.45;
}

.oshi-comment-ref {
  color: #2b6798;
  text-decoration: underline;
  cursor: pointer;
}

.oshi-comment-meta {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  flex-wrap: wrap;
  color: #4b6279;
  font-size: 0.72rem;
}

.oshi-comment-actions {
  margin: 5px 0 0;
}

.oshi-comment-votes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.oshi-comment-author-line {
  display: inline-flex;
  align-items: center;
  color: #385d7e;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.oshi-comment-number,
.oshi-comment-number-button {
  font-weight: 700;
  color: #2c4b68;
}

.oshi-comment-number-button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.oshi-comment-number-button:hover {
  color: #185a90;
}

.oshi-comment-reply-button {
  border: 0;
  background: transparent;
  color: #2b6798;
  font-size: 0.72rem;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.oshi-comment-reply-button:disabled {
  cursor: default;
  opacity: 0.5;
  text-decoration: none;
}

.oshi-comment-item[data-comment-side="high"]::before {
  background: #98bedf;
}

.oshi-comment-item[data-comment-side="low"]::before {
  background: #ddb0b0;
}

.oshi-comment-item-positive .oshi-comment-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0d2d46;
}

.oshi-comment-item-negative .oshi-comment-text {
  opacity: 0.55;
}

.oshi-vote-mini {
  border: 1px solid #c6d7e8;
  background: #f7fbff;
  color: #1c466a;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.72rem;
  cursor: pointer;
}

.oshi-vote-mini:hover {
  background: #ecf5ff;
}

.oshi-comment-share-button {
  border-color: #b7cfe3;
  background: #f1f7ff;
  color: #1f4d73;
}

.oshi-comment-share-button:hover {
  background: #e7f1fb;
}

.oshi-comment-more-wrap {
  margin: 4px 0 0;
}

.button-link.oshi-comment-more {
  width: auto;
  min-width: 0;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.74rem;
}

.oshi-comment-item-highlight {
  border-color: #7ba9d2;
  background: #eef6ff;
  box-shadow: inset 0 0 0 1px rgba(84, 143, 195, 0.3);
}

.oshi-vote-mini:disabled,
.oshi-vote-button:disabled,
.oshi-comment-toggle-button:disabled,
.oshi-comment-submit:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.rank-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
  margin: 8px 0;
  padding: 8px 0;
  border-top: 1px solid rgba(17, 32, 51, 0.12);
  border-bottom: 1px solid rgba(17, 32, 51, 0.12);
  font-size: 0.92rem;
}

.rank-actions {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2f7fbf;
  background: #2f7fbf;
  color: #fff;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 0.88rem;
  text-decoration: none;
  width: 100%;
}

.button-link:hover {
  text-decoration: none;
  background: #226da9;
}

.button-link-secondary {
  border-color: #b2c8db;
  background: #f4f8fc;
  color: #1d4f77;
}

.button-link-secondary:hover {
  background: #eaf2f9;
}

.video-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
}

.legal-page-panel {
  padding: 14px;
}

.legal-page-header {
  margin-bottom: 12px;
}

.legal-page-kicker {
  margin: 0 0 4px;
  color: #5b7692;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-page-title {
  margin: 0;
  color: #102a43;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.legal-page-intro {
  margin: 6px 0 0;
  color: #2f4b66;
  font-size: 0.9rem;
}

.legal-page-nav {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.legal-page-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #cad8e8;
  border-radius: 999px;
  background: #f3f8fd;
  color: #1f4f79;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-page-nav-link:hover {
  text-decoration: none;
  background: #e9f2fa;
}

.legal-page-nav-link.is-active {
  border-color: #7da8d0;
  background: #deecfa;
  color: #0f436c;
}

.legal-sections {
  display: grid;
  gap: 8px;
}

.legal-section-card {
  border: 1px solid #d8e2ee;
  border-radius: 10px;
  background: #fbfdff;
  padding: 10px 11px;
}

.legal-section-title {
  margin: 0;
  color: #133150;
  font-size: 1rem;
}

.legal-panel p {
  margin: 6px 0;
}

.legal-list {
  margin: 6px 0 0;
  padding-left: 1.2em;
}

.legal-list li {
  margin: 3px 0;
}

.legal-updated-at {
  margin: 12px 0 0;
}

.video-thumb {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.hidden {
  display: none !important;
}

@media (max-width: 760px) {
  body {
    padding-top: calc(var(--site-header-height) + var(--site-viewport-offset-top, 0px));
  }

  .container {
    width: min(1100px, 100% - 20px);
  }

  .panel {
    padding: 12px;
  }

  .site-header {
    position: fixed;
    top: var(--site-viewport-offset-top, 0px);
    padding: 0;
    padding-top: env(safe-area-inset-top, 0px);
  }

  .site-header-inner {
    padding: 6px 10px;
    row-gap: 5px;
    column-gap: 8px;
  }

  .site-title {
    font-size: 0.96rem;
  }

  .site-title-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav-link {
    padding: 3px 8px;
    font-size: 0.73rem;
  }

  .site-coverage-meta {
    display: none;
  }

  .site-footer-links {
    justify-content: flex-start;
  }

  .creator-top5-item {
    grid-template-columns: 3.1em minmax(0, 1fr);
    align-items: start;
    row-gap: 2px;
  }

  .creator-top5-rank {
    align-self: start;
  }

  .creator-top5-main {
    width: 100%;
  }

  .creator-top5-main a {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .creator-top5-metrics {
    grid-column: 2;
    white-space: normal;
    line-height: 1.25;
    font-size: 0.71rem;
    color: #49647f;
  }

  .series-top-grid {
    grid-template-columns: 1fr;
  }

  .series-top-card {
    padding: 9px;
  }

  .series-top-row {
    grid-template-columns: 2.2em 92px minmax(0, 1fr);
    gap: 6px;
  }

  .series-top-thumb-link,
  .series-top-thumb-fallback {
    width: 92px;
    height: 52px;
  }

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

  .series-header-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .game-header-cover {
    max-height: 210px;
  }

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

  .game-card-link {
    grid-template-columns: 138px 1fr;
    min-height: 80px;
  }

  .game-card-rank-badge {
    top: 6px;
    left: 6px;
    min-width: 3em;
    font-size: 0.7rem;
    padding: 1px 7px;
  }

  .game-card-main-row {
    grid-template-columns: minmax(0, 1fr) 174px;
    gap: 6px;
  }

  .game-card-body {
    padding: 6px 8px;
  }

  .game-grid .game-card-title {
    font-size: 1.07rem;
  }

  .game-card-metrics {
    margin-top: 3px;
    gap: 8px;
  }

  .game-card-genres {
    padding-top: 5px;
    gap: 5px;
  }

  .game-card-top3-title {
    margin-bottom: 1px;
    font-size: 0.75rem;
  }

  .game-card-top3-row {
    font-size: 0.72rem;
    padding: 2px 3px;
    grid-template-columns: 3.8em 14px minmax(0, 1fr) 5.8em;
  }

  .game-card-stores {
    padding: 5px 7px 7px;
    gap: 6px;
  }

  .store-icon-link {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .store-icon-image {
    width: 26px;
    height: 26px;
  }

  .store-icon-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .search-input-compact {
    width: 100%;
  }

  .sort-select {
    width: 100%;
  }

  .creator-tools {
    justify-content: flex-start;
  }

  .creator-tool-group {
    width: 100%;
  }

  .creator-page-size-group {
    justify-content: flex-end;
  }

  .genre-filter {
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }

  .genre-filter-toggle {
    width: 100%;
    min-width: 0;
  }

  .genre-filter-popover {
    left: 0;
    right: auto;
    width: 100%;
    max-height: 260px;
  }

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

  .creator-grid .card {
    min-height: 136px;
    height: auto;
  }

  .creator-grid .icon {
    width: 30px;
    height: 30px;
  }

  .creator-card-header {
    gap: 6px;
  }

  .creator-card-name {
    -webkit-line-clamp: 2;
    min-height: calc(1.32em * 2);
  }

  .creator-grid .subtle {
    white-space: normal;
    line-height: 1.2;
  }

  .creator-hero-body {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .creator-top3-summary {
    justify-self: start;
    width: 100%;
    height: auto;
  }

  .creator-top3-chip {
    min-width: 0;
  }

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

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

  .creator-power-series-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .creator-series-layout {
    grid-template-columns: 300px minmax(0, 1fr) 144px;
    gap: 10px;
  }

  .creator-series-gamecard-link {
    grid-template-columns: 130px 1fr;
    min-height: 73px;
  }

  .creator-series-part1-thumb {
    width: 144px;
    height: 81px;
  }

  .creator-series-part1 {
    width: 144px;
  }

  .rank-top-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rank-total-wrap {
    text-align: left;
    padding-right: 0;
  }

  .rank-total-wrap-inline {
    grid-template-columns: 1fr;
    grid-template-areas:
      "total"
      "label"
      "metrics";
    row-gap: 2px;
  }

  .rank-part1-side-metrics {
    justify-items: start;
  }

  .rank-part1-title-main {
    white-space: normal;
  }

  .rank-metrics {
    grid-template-columns: 1fr;
  }

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

  .game-ranking-tools .sort-select {
    min-width: 0;
    width: 100%;
  }

  .rank-part1-block {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .rank-card-inner {
    --media-col-width: 164px;
    padding: 12px;
  }

  .rank-part1-media {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
  }

  .rank-part1-thumb {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #0f1724;
  }

  .oshi-controls {
    padding: 0;
  }

  .rank-top-row + .oshi-controls {
    margin-top: 8px;
  }

  .oshi-controls-top {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
    align-items: center;
  }

  .button-link.oshi-vote-button {
    min-width: 0;
    width: 100%;
    height: 32px;
    padding: 0 8px;
    font-size: 0.78rem;
    justify-content: center;
  }

  .button-link.oshi-comment-toggle-button {
    width: 100%;
    height: 32px;
    min-width: 0;
    padding: 0 8px;
  }

  .rank-part1-label-side {
    font-size: 0.72rem;
    text-align: left;
    white-space: normal;
  }

  .rank-actions .button-link {
    min-height: 32px;
    font-size: 0.84rem;
  }

  .game-seo-links {
    font-size: 0.74rem;
    gap: 6px;
  }

  .oshi-comment-input {
    min-height: 44px;
    font-size: 0.83rem;
  }

  .oshi-comment-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5px;
  }

  .oshi-comment-sort {
    width: 100%;
  }

  .oshi-comment-filter {
    width: 100%;
  }

  .oshi-comment-sort-button,
  .oshi-comment-filter-button {
    flex: 1 1 auto;
  }

  .oshi-comment-side-row {
    flex-wrap: wrap;
  }

  .oshi-comment-side-select {
    width: 100%;
    min-width: 0;
  }

  .oshi-comment-form-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .oshi-comment-char-count {
    margin-right: auto;
  }

  .oshi-comment-thread-panel {
    width: min(620px, calc(100vw - 16px));
    max-height: min(82vh, 620px);
    max-height: min(82svh, 620px);
    padding: 9px;
  }

  @supports (height: 100dvh) {
    .oshi-comment-thread-panel {
      max-height: min(82dvh, 620px);
    }
  }

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

  .hub-top5-item {
    grid-template-columns: 108px 1fr;
  }

  .hub-top5-item-with-top3 {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .hub-top5-item-with-top3 .hub-top5-top3 {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
}

@media (max-width: 520px) {
  .site-header-inner {
    width: 100%;
    padding: 6px 8px 5px;
  }

  .container {
    width: min(1100px, 100% - 16px);
  }

  .panel {
    padding: 10px;
  }

  .site-title {
    gap: 6px;
  }

  .site-title-icon {
    width: 18px;
    height: 18px;
    border-radius: 5px;
  }

  .oshi-comment-sort-button,
  .oshi-comment-filter-button {
    height: 21px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  .site-nav-link {
    padding: 3px 7px;
    font-size: 0.71rem;
  }

  .creator-top5-item {
    gap: 5px;
    padding: 4px 6px;
  }

  .creator-top5-metrics {
    font-size: 0.68rem;
  }

  .series-header-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

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

  .creator-grid .card {
    min-height: 126px;
  }

  .creator-power-summary-grid {
    grid-template-columns: 1fr;
  }

  .creator-power-legend {
    gap: 5px 8px;
  }

  .creator-power-legend-item {
    font-size: 0.71rem;
  }

  .metric-help-popover {
    width: min(260px, 84vw);
    right: auto;
    left: 0;
  }

  .creator-power-sort-button {
    flex: 1 1 calc(50% - 6px);
    min-height: 30px;
  }

  .creator-power-metric-grid {
    grid-template-columns: 1fr;
  }

  .creator-series-layout {
    grid-template-columns: 1fr;
    gap: 9px;
    align-items: start;
  }

  .creator-series-gamecard-link {
    grid-template-columns: 112px 1fr;
    min-height: 63px;
  }

  .creator-series-part1 {
    grid-column: 1;
    justify-self: start;
    margin-top: 4px;
    width: 160px;
  }

  .creator-series-part1-thumb {
    width: 160px;
    height: 90px;
  }

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

  .game-card-link {
    grid-template-columns: 108px 1fr;
    min-height: 68px;
  }

  .game-card-rank-badge {
    top: 5px;
    left: 5px;
    min-width: 2.9em;
    font-size: 0.68rem;
    padding: 1px 6px;
  }

  .game-card-body {
    padding: 5px 6px;
  }

  .game-grid .game-card-title {
    font-size: 1rem;
  }

  .game-card-release {
    margin-top: 1px;
    font-size: 0.74rem;
  }

  .game-card-metrics {
    margin-top: 2px;
    gap: 7px;
  }

  .game-card-metric {
    font-size: 0.72rem;
  }

  .game-card-metric strong {
    font-size: 0.79rem;
  }

  .game-card-main-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .game-card-genres {
    padding-top: 4px;
    gap: 4px;
  }

  .genre-chip {
    font-size: 0.71rem;
    padding: 3px 7px;
  }

  .game-card-top3-row {
    font-size: 0.72rem;
    padding: 2px 3px;
    grid-template-columns: 3.6em 14px minmax(0, 1fr) 5.6em;
  }

  .game-card-top3-views {
    min-width: 5.2em;
  }

  .store-icon-link {
    width: 30px;
    height: 30px;
  }

  .store-icon-image {
    width: 24px;
    height: 24px;
  }

  .store-icon-placeholder {
    width: 30px;
    height: 30px;
  }

  .rank-card-inner {
    padding: 10px;
  }

  .oshi-controls-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
  }

  .button-link.oshi-vote-button {
    height: 31px;
    padding: 0 7px;
    font-size: 0.74rem;
  }

  .button-link.oshi-comment-toggle-button {
    width: 100%;
    height: 31px;
    min-width: 0;
    padding: 0 7px;
  }

  .rank-actions .button-link {
    min-height: 31px;
    font-size: 0.82rem;
  }

  .hub-top5-item {
    grid-template-columns: 94px 1fr;
    gap: 7px;
    padding: 5px;
  }

  .hub-top5-item-with-top3 {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .hub-top5-item-with-top3 .hub-top5-top3 {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
}

/* Ko-fi floating support button */
.kofi-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ff5e5b;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(0,0,0,.28);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.kofi-float:hover,
.kofi-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.32);
  color: #fff;
}
.kofi-float-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .kofi-float {
    bottom: 16px;
    right: 16px;
    padding: 11px;
    border-radius: 50%;
  }
  .kofi-float-label {
    display: none;
  }
}

/* Game header cover: IGDB portrait-first (remove forced Steam capsule ratio) */
.game-header {
  align-items: start;
}
.game-header-cover {
  aspect-ratio: unset;
  max-height: 240px;
  object-fit: contain;
  background: #f3f5f8;
}
.game-header-cover-manual {
  object-fit: contain;
  background: #f3f5f8;
}

/* Game summary text: clamp to 4 lines */
.game-summary-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

/* Explainer details (collapsible) */
.explainer-details {
  margin: 0;
}
.explainer-details > summary.explainer-details-summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 2px 0;
  user-select: none;
}
.explainer-details > summary.explainer-details-summary::-webkit-details-marker {
  display: none;
}
.explainer-details > summary.explainer-details-summary::after {
  content: "▼";
  font-size: 0.6em;
  transition: transform .2s ease;
}
.explainer-details[open] > summary.explainer-details-summary::after {
  transform: rotate(-180deg);
}
.explainer-details[open] {
  display: grid;
  gap: 8px;
}

/* Mobile overflow fixes */
.explainer-metric > strong {
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}
.explainer-paragraph {
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  .game-header-cover {
    max-height: 180px;
  }
}
