:root {
  --bg: #f3f6f9;
  --panel: #ffffff;
  --panel-hover: #edf3f8;
  --border: #d7e1eb;
  --border-strong: #163a5f;
  --silver: #142230;
  --muted: #5a6d80;
  --iwashi: #163a5f;
  --bull: #e0283e;
  --bull-hover: #c51d32;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Raleway", sans-serif;
  --font-display: "Anton", sans-serif;
  --font-serif: "Unna", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--silver);
  font-family: var(--font-jp);
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  min-height: 100dvh;
  width: 100%;
  padding: 14px 28px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ヘッダー */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--iwashi);
  background: #ffffff;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.status-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bull);
}

.nav-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--silver);
  transition: border-color 0.2s, background-color 0.2s;
}

.nav-pill:hover {
  border-color: var(--iwashi);
  background: var(--panel-hover);
}

.nav-pill.accent {
  border-color: var(--bull);
  background: var(--bull);
  color: #ffffff;
}

.nav-pill.accent:hover {
  background: var(--bull-hover);
}

/* 1画面メインステージ（PC版 左右1:1） */
.stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* 左ペイン */
.hero-pane {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 8px 4px;
}

.hero-top {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 8px;
}

.hero-wordmark {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(92px, 12.5vw, 230px);
  line-height: 0.85;
  letter-spacing: 0.01em;
  color: var(--silver);
}

.wordmark-row1 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wordmark-row2 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--iwashi);
}

.quiz-circle-logo {
  position: relative;
  width: 0.78em;
  height: 0.78em;
  margin-left: auto;
  border-radius: 50%;
  border: clamp(4px, 0.55vw, 8px) solid #142230;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.quiz-circle-logo:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 20px rgba(20, 34, 48, 0.14);
}

.quiz-circle-title {
  width: 90%;
  height: auto;
  display: block;
  transform: translateY(-6%);
  z-index: 2;
}

.quiz-circle-mascot {
  position: absolute;
  right: 4%;
  bottom: 2%;
  width: 34%;
  height: 34%;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 3;
}

.quiz-mobile-btn {
  display: none;
}

.iwashi-dart-mark {
  height: 0.78em;
  width: auto;
  margin-left: auto;
  mix-blend-mode: multiply;
}

.hero-lead {
  margin: 24px 0 0;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.cta-random-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cta-random-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--iwashi);
  letter-spacing: 0.04em;
}

.cta-primary {
  padding: 15px 28px;
  border-radius: 10px;
  background: var(--bull);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: background-color 0.2s, transform 0.15s;
}

.cta-primary:hover {
  background: var(--bull-hover);
  transform: translateY(-2px);
}

.cta-ghost {
  padding: 15px 24px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--panel);
  color: var(--silver);
  font-size: 15px;
  font-weight: 700;
  transition: border-color 0.2s, background-color 0.2s;
}

.cta-ghost:hover {
  border-color: var(--iwashi);
  background: var(--panel-hover);
}

.quiz-kid-text {
  font-family: "HG丸ｺﾞｼｯｸM-PRO", "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", cursive, sans-serif;
  font-weight: 900;
  paint-order: stroke fill;
  stroke: #ffffff;
  stroke-width: 8px;
  stroke-linejoin: round;
}

.quiz-kid-line1 {
  font-size: 62px;
  letter-spacing: 4px;
}

.quiz-kid-line2 {
  font-size: 56px;
  letter-spacing: 3px;
}

/* 独自レーティングカード */
.rating-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.rating-body {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.rating-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rating-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--iwashi);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.rating-title small {
  font-size: 10px;
  color: var(--muted);
}

.rating-title .rt-ref {
  margin-left: auto;
  text-align: right;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1f4f9a;
  white-space: nowrap;
}

.rating-title .rt-ref b {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.stats-rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 700;
}

.stats-rows dt {
  font-family: var(--font-en);
  color: var(--muted);
  font-size: 12px;
}

.stats-rows dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.rating-right {
  padding-left: 16px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.rt-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.flight-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bull);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.rt-value {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--bull);
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

/* 右ペイン：メニュー⇔ゲーム一覧の2階層スライド切り替え */
.right-pane {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.right-pane[data-view="games"] .slider {
  transform: translateX(-50%);
}

.slider > .tools-pane,
.slider > .games-pane {
  flex: 0 0 50%;
  min-width: 0;
  height: 100%;
}

.games-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--iwashi);
  background: var(--panel);
}

.games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px;
  border-bottom: 1px solid var(--iwashi);
}

.back-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--iwashi);
  background: transparent;
  color: var(--iwashi);
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.back-btn:hover {
  background: var(--iwashi);
  color: #ffffff;
}

.games-head-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--iwashi);
  font-size: 18px;
  font-weight: 900;
}

.games-head-title small {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  color: var(--bull);
}

.games-head-start,
.games-head-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.games-page-button,
.games-page-count {
  display: none;
}
/* 右ペイン：日東紅茶風ヘアライングリッド（3列×2行・画面幅いっぱい） */
.tools-pane {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border-top: 1px solid var(--iwashi);
  border-left: 1px solid var(--iwashi);
  background: var(--panel);
  overflow-y: auto;
}

.tool-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  border-right: 1px solid var(--iwashi);
  border-bottom: 1px solid var(--iwashi);
  background: var(--panel);
  transition: background-color 0.18s;
}

.tool-card:hover {
  background: var(--panel-hover);
}

.card-cover {
  position: relative;
  flex: 1;
  min-height: 120px;
  background: var(--cover-bg, #345947);
  color: var(--cover-fg, #ffffff);
  border-radius: 3px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 2px solid var(--iwashi);
  overflow: hidden;
}

.card-cover.cover-scallop {
  border-style: dashed;
  border-width: 3px;
}

.card-cover.cover-stripe {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.14) 0,
    rgba(255, 255, 255, 0.14) 10px,
    transparent 10px,
    transparent 20px
  );
}

.card-cover.cover-geo::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  top: 40%;
  left: -20%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.card-cover.has-photo {
  padding: 10px 12px;
}

.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.25s ease;
}

.tool-card:hover .cover-photo {
  transform: scale(1.04);
}

.card-cover.has-photo .cover-top {
  background: rgba(255, 255, 255, 0.88);
  color: var(--iwashi);
  border-color: var(--iwashi);
}

.card-cover.has-photo .cover-sub {
  margin-top: auto;
  padding: 3px 9px;
  border-radius: 3px;
  background: rgba(20, 34, 48, 0.72);
  color: #ffffff;
}

/* 案2：枠いっぱいの巨大タイポ＋記号グラフィック */
.cover-graphic {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.cg-big {
  position: absolute;
  left: -4px;
  bottom: -14px;
  font-family: var(--font-display);
  font-size: clamp(68px, 6.5vw, 108px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: currentColor;
  opacity: 0.22;
  user-select: none;
  pointer-events: none;
}

.cg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.25s ease;
}

.tool-card:hover .cg-svg {
  transform: scale(1.05);
}

:root[data-cover="graphic"] .cover-photo {
  display: none;
}

:root[data-cover="graphic"] .cover-graphic {
  display: block;
}

:root[data-cover="graphic"] .card-cover.has-photo .cover-top {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}

:root[data-cover="graphic"] .card-cover.has-photo .cover-sub {
  background: transparent;
  color: currentColor;
  padding: 0;
}

.cover-top {
  align-self: flex-end;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 1;
}

.cover-icon {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  z-index: 1;
  transition: transform 0.22s;
}

.tool-card:hover .cover-icon {
  transform: scale(1.08);
}

.cover-sub {
  align-self: flex-start;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  z-index: 1;
}

.card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  min-height: 2.6em;
  flex-shrink: 0;
}

.card-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 0.85;
  color: var(--iwashi);
  flex-shrink: 0;
}

.tool-card.is-featured .card-number {
  color: var(--bull);
}

.tool-title {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 900;
  color: var(--iwashi);
  line-height: 1.25;
}

.tool-title small {
  font-size: 11px;
  font-weight: 700;
  color: var(--bull);
}

.tool-desc {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  min-height: calc(1.55em * 6);
  flex-shrink: 0;
}

/* 別ページ（games.html）用：見出し帯＋2列リスト */
.games-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.games-group {
  margin: 0;
  padding: 6px 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--iwashi);
  background: var(--panel-hover);
  border-bottom: 1px solid var(--iwashi);
}

.games-group small {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.games-group[data-group] {
  color: #ffffff;
}

.games-group[data-group] small {
  color: rgba(255, 255, 255, 0.9);
}

.games-group[data-group="match"] { background: #d91e10; }
.games-group[data-group="steel"] { background: #245dad; }
.games-group[data-group="practice"] { background: #ffb02a; }
.games-group[data-group="online"] { background: #a15dc4; }
.games-group[data-group="training"] { background: #38b48b; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.game-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-right: 1px solid var(--iwashi);
  border-bottom: 1px solid var(--iwashi);
  transition: background-color 0.15s;
}

.game-item:nth-child(2n) {
  border-right: none;
}

.game-item:hover {
  background: var(--panel-hover);
}

.gi-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--bull);
  min-width: 34px;
}

.gi-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gi-body strong {
  font-size: 15px;
  font-weight: 900;
  color: var(--iwashi);
  line-height: 1.25;
}

.gi-body small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.gi-arrow {
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--iwashi);
}

.game-item.is-soon {
  opacity: 0.55;
  cursor: default;
}

.game-item.is-soon:hover {
  background: transparent;
}

/* リスト表示2（3列・余った高さに合わせてコマを自動拡張） */
.games-pane[data-layout="list3"] .games-scroll {
  display: flex;
  flex-direction: column;
}

.games-pane[data-layout="list3"] .games-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  flex: 1 0 auto;
}

.games-pane[data-layout="list3"] .games-group[data-group="practice"] + .games-grid {
  flex-grow: 3;
}

.games-pane[data-layout="list3"] .games-group[data-group="online"] + .games-grid {
  flex-grow: 2;
}

.games-pane[data-layout="list3"] .game-item {
  padding: 8px 12px;
  border-right: 1px solid var(--iwashi);
}

.games-pane[data-layout="list3"] .game-item:nth-child(3n) {
  border-right: none;
}

.games-pages,
.games-page {
  display: contents;
}

/* フッター */
.bottombar {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* PC：ゲーム一覧を同じ枠内で横に切り替える */
@media (min-width: 1081px) {
  .shell {
    height: 100dvh;
  }

  .stage {
    min-height: 0;
  }

  .stage:has(.right-pane[data-view="games"]) {
    grid-template-rows: minmax(0, 1fr);
  }

  .games-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    background: #fff;
  }

  .games-head-end { justify-self: end; }
  .games-page-count {
    display: block;
    color: var(--iwashi);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .games-page-button {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    font: 800 22px/1 var(--font-en);
  }

  .games-page-button:disabled {
    opacity: 0.35;
    cursor: default;
    background: transparent;
    color: var(--iwashi);
  }

  .games-scroll {
    overflow: clip;
    container-type: size;
  }

  .games-pages {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.3, 1);
  }

  .games-pages[data-page="2"] { transform: translateX(-50%); }

  .games-page {
    display: flex;
    flex-direction: column;
    flex: 0 0 50%;
    min-width: 0;
    height: 100%;
  }

  .games-pane[data-layout="list3"] .games-grid {
    grid-auto-rows: minmax(0, 1fr);
    flex: 1 1 0;
    min-height: 0;
  }

  .games-pane[data-layout="list3"] .games-group[data-group="training"] + .games-grid {
    flex: none;
    min-height: clamp(64px, 12cqh, 110px);
  }

  .games-pane[data-layout="list3"] .game-item {
    gap: clamp(5px, 1.3cqh, 12px);
    padding: clamp(2px, calc((100cqh - 300px) * 0.02), 8px) 10px;
    overflow: hidden;
  }

  .games-pane .games-group { padding-block: clamp(3px, 0.8cqh, 6px); }
  .games-pane .gi-num { font-size: clamp(16px, 3.2cqh, 26px); min-width: 1.3em; }
  .games-pane .gi-body { max-height: 100%; }
  .games-pane .gi-body strong { flex: none; font-size: clamp(11px, 2.35cqh, 15px); }
  .games-pane .gi-body small {
    display: -webkit-box;
    min-height: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: clamp(9px, 1.75cqh, 11px);
    line-height: 1.3;
  }
}

@media (min-width: 1081px) and (max-height: 760px) {
  .stage:has(.right-pane[data-view="games"]) .hero-pane { gap: 12px; }
  .stage:has(.right-pane[data-view="games"]) .hero-wordmark {
    font-size: clamp(40px, min(12.5vw, calc((100dvh - 450px) * 0.56)), 230px);
  }
  .stage:has(.right-pane[data-view="games"]) :is(.hero-lead, .hero-actions) { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .games-pages { transition: none; }
}

/* レスポンシブ（スマホ・タブレットはメニューとゲーム一覧を縦に並べて表示） */
@media (max-width: 1080px) {
  .stage {
    grid-template-columns: 1fr;
  }

  .hero-pane {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .right-pane {
    overflow: visible;
    width: 100%;
  }

  .slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: auto;
    transform: none !important;
    transition: none;
  }

  .slider > .tools-pane,
  .slider > .games-pane {
    flex: none;
    height: auto;
  }

  .tools-pane {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}

@media (max-width: 600px) {
  .quiz-circle-logo {
    display: none;
  }
  .quiz-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 2px solid #142230;
    background: #ffffff;
    color: #142230;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 3px 10px rgba(20, 34, 48, 0.08);
  }
  .quiz-mobile-btn-mascot {
    width: 32px;
    height: 32px;
    object-fit: contain;
    mix-blend-mode: multiply;
  }
  html,
  body {
    overflow-x: clip;
  }

  .shell {
    padding: 12px 14px;
    max-width: 100%;
    overflow-x: clip;
  }

  .hero-wordmark {
    font-size: clamp(54px, 16vw, 80px);
  }

  .hero-wordmark-row {
    max-width: 100%;
  }

  .iwashi-dart-mark {
    height: 0.72em;
    max-width: 34vw;
    object-fit: contain;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .cta-random-wrap,
  .cta-ghost {
    flex: 1;
    min-width: 0;
  }

  .cta-primary,
  .cta-ghost {
    width: 100%;
    padding: 11px 8px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .status-dot {
    display: none;
  }

  .topbar-right {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .nav-pill {
    padding: 5px 10px;
    font-size: 10px;
    white-space: nowrap;
  }

  .tools-pane,
  .games-grid,
  .games-pane[data-layout="list3"] .games-grid {
    grid-template-columns: 1fr;
  }

  .card-meta,
  .tool-desc {
    min-height: 0;
  }

  .game-item,
  .game-item:nth-child(2n),
  .games-pane[data-layout="list3"] .game-item,
  .games-pane[data-layout="list3"] .game-item:nth-child(3n) {
    border-right: none;
  }

  .bottombar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}
