:root {
  --bg: #fdf6e7;
  --card: #ffffff;
  --ink: #3f2e22;
  --muted: #8a7260;
  --line: #eadcc6;
  --accent: #f08a24;
  --accent-ink: #ffffff;
  --good: #3f9b54;
  --bad: #d0453a;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans CJK JP", sans-serif; line-height: 1.7; }
a { color: #c0620c; }
h1 { font-size: 26px; line-height: 1.3; margin: 12px 0; }
h2 { font-size: 20px; margin: 28px 0 10px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
code { background: #fff; border: 1px solid var(--line); padding: 1px 5px; border-radius: 6px; }
pre { background: #2b221b; color: #f7ecdd; padding: 14px 16px; border-radius: 10px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; color: inherit; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.narrow { max-width: 760px; margin: 0 auto; padding: 16px; }
.wide { max-width: 1100px; margin: 0 auto; padding: 16px; }
.muted { color: var(--muted); }
.btn, button.btn { display: inline-block; font: inherit; font-weight: 700; border: 0; border-radius: 12px; padding: 9px 16px; background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; }
.btn.sub { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.big { font-size: 20px; padding: 14px 32px; }
.btn:disabled { opacity: .5; cursor: default; }
.card-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
input, textarea, select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); max-width: 100%; }
label { display: block; margin: 10px 0 4px; font-weight: 700; font-size: 14px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.error { color: var(--bad); font-weight: 700; }
.ok { color: var(--good); font-weight: 700; }
.bar { display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { font-weight: 900; text-decoration: none; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
.brand small { margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.bar-title { flex: 1; min-width: 0; display: flex; gap: 8px; align-items: baseline; overflow: hidden; white-space: nowrap; }
.bar-title span { color: var(--muted); font-size: 13px; }
.foot { display: flex; gap: 16px; justify-content: center; padding: 20px 16px 32px; font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.game-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); }
.game-card b { display: block; font-size: 17px; }
.share-landing .card { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.share-landing { text-align: center; }
@media (max-width: 600px) {
  h1 { font-size: 22px; }
  .bar { padding: 8px 12px; }
  .brand small { display: none; }
}
.nav { display: flex; gap: 14px; font-size: 14px; white-space: nowrap; overflow-x: auto; }
.nav a { color: var(--ink); text-decoration: none; }
.hero { padding: 22px 0 6px; }
.hero p { color: var(--muted); max-width: 46em; margin: 4px 0 8px; }
.game-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 10px; margin-bottom: 8px; background: #f4ead8; }
.game-card p { margin: 4px 0 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--ink); text-decoration: none; }
.tags.big .tag { font-size: 15px; padding: 6px 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.pre { white-space: pre-wrap; }
@media (max-width: 600px) { .nav { gap: 10px; font-size: 13px; } }
