/* 三節詠唱バトル の説明ページ（遊び方・このゲームについて・プライバシーポリシー）の見た目 */

:root {
  --bg: #12141f;
  --panel: #1c2030;
  --text: #e8e8ee;
  --muted: #a3a7b8;
  --accent: #59ccff;
  --border: #33384d;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.8;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}

header.site-header .inner,
main,
footer.site-footer .inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site-header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-title {
  font-weight: bold;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  padding-top: 24px;
  padding-bottom: 48px;
}

h1 {
  font-size: 26px;
  line-height: 1.4;
  margin: 8px 0 16px;
}

h2 {
  font-size: 20px;
  margin: 36px 0 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--border);
}

h3 {
  font-size: 16px;
  margin: 24px 0 4px;
}

a {
  color: var(--accent);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}

th, td {
  border: 1px solid var(--border);
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--panel);
}

.play-button {
  display: inline-block;
  margin: 8px 0 16px;
  padding: 10px 24px;
  border: 2px solid var(--accent);
  color: var(--text);
  background: rgba(89, 204, 255, 0.12);
  text-decoration: none;
  font-weight: bold;
}

.play-button:hover {
  background: rgba(89, 204, 255, 0.25);
}

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

footer.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

footer.site-footer .inner {
  padding-top: 16px;
  padding-bottom: 24px;
}

/* ---- 遊び方ページの絵 ---- */

/* ドット絵をぼかさずに拡大する */
.pixel {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

figure {
  margin: 16px 0;
}

figure img.wide {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

figcaption {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

/* カードの絵を置く四角（白い絵も黒い絵も見えるよう、中間の色にする） */
.icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  padding: 6px;
  background: #4a5068;
  border-radius: 6px;
  vertical-align: middle;
}

td.card-cell,
td.nowrap,
th.nowrap {
  white-space: nowrap;
}

td.card-cell .icon {
  margin-right: 8px;
}

/* 絵と説明を横に並べる */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.gallery li {
  width: 108px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.gallery .icon {
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
}

.gallery .robe {
  display: block;
  width: 72px;
  height: 96px;
  margin: 0 auto 4px;
}

.gallery strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}
