/* あそび箱：無料ブラウザゲーム専用スタイル（site.css / directory.css の変数を共用） */
/* 確認状態の表示（全ジャンル共通、2026-11-17統一）。
   色だけに頼らず、形（地・枠の種類）と記号＋文字で区別する。
   未確認は警告色（coral 系）を使わず、破線枠＋中立色で表す。
   意味は「公式ページに明記なし」で、各ページの説明文と対で使う。 */
.status-ok, .status-cond, .status-ng, .fact-unknown {
  display: inline-block; border-radius: 999px; padding: 0 8px;
  font-weight: 800; white-space: nowrap; line-height: 1.6;
}
.status-ok { background: var(--bg-accent); color: var(--ink); }
.status-ok::before { content: "✓"; margin-right: 4px; }
.status-cond { border: 1.5px solid var(--line); background: var(--card); color: var(--ink-soft); }
.status-ng, .fact-unknown { border: 1.5px dashed var(--line); color: var(--ink-soft); }
.status-ng::before, .fact-unknown::before { content: "―"; margin-right: 4px; }
.status-table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 8px 0 4px; }
.status-table th, .status-table td {
  border: 1.5px solid var(--line); padding: 5px 6px; text-align: left; vertical-align: top;
}
.status-table th:first-child { width: 5.4em; }
.status-table td:nth-child(4) { white-space: nowrap; }
.status-table thead th { background: var(--bg); font-weight: 800; }
.status-table tbody th { font-weight: 800; }
.free-filter fieldset {
  border: 1.5px solid var(--line); border-radius: 12px;
  margin: 10px 0; padding: 6px 12px 10px;
}
.free-filter legend { font-weight: 800; font-size: 13.5px; padding: 0 6px; }
.free-filter label { display: inline-block; margin: 2px 12px 2px 0; font-size: 14px; font-weight: 700; }
.free-filter-count { font-weight: 800; margin-bottom: 0; }
#free-list .game-card.is-hidden { display: none; }
.free-presets button, .free-genre-list button, #filter-reset {
  font: inherit; font-size: 13.5px; font-weight: 800;
  background: var(--bg-accent); color: var(--ink);
  border: 2px solid var(--line); border-radius: 999px;
  padding: 4px 14px; cursor: pointer; margin: 2px 4px 2px 0;
}
.free-genre-list { list-style: none; padding: 0; margin: 6px 0; }
.free-genre-list li { margin: 7px 0; font-size: 14px; }

/* 情報の確認状況（.status-table）の狭幅対応（全ジャンル共通、2026-11-16）。
   5列のままではスマホ幅で各列が極端に狭くなり、文字が1文字ずつ縦に
   折り返して1行が画面何枚分もの高さになっていた。狭幅では列見出しを
   省き、1行を「項目名／確認した内容／状態・確認日／確認方式」の
   積み重ね表示に組み替える。情報量は減らさない。広い画面は変えない。 */
@media (max-width: 640px) {
  .status-table { line-height: 1.55; }
  .status-table thead { display: none; }
  .status-table tbody, .status-table tr,
  .status-table th, .status-table td { display: block; width: auto; }
  .status-table th:first-child { width: auto; }
  .status-table tr {
    border: 1.5px solid var(--line); padding: 7px 9px; margin: 0 0 8px;
  }
  .status-table th, .status-table td { border: 0; padding: 0; }
  .status-table tbody th { font-size: 13px; margin: 0 0 2px; }
  .status-table td:nth-child(3), .status-table td:nth-child(4) {
    display: inline-block; margin-top: 3px;
  }
  .status-table td:nth-child(4) { margin-left: 10px; }
  .status-table td:nth-child(5) {
    margin-top: 3px; font-size: 11.5px; color: var(--ink-soft);
  }
  .status-table td:nth-child(5)::before {
    content: "確認方式："; font-weight: 700;
  }
}
