/* 遊び方・プライバシー・404 の共通の見た目（トップの index.html と同じ色） */
:root{
  --bg:#e4e7ee; --surface:#ffffff; --surface2:#eef0f5; --line:#2a3040; --text:#141824; --muted:#556078;
  --accent:#ff6a1a; --accent-text:#140800; --me:#ffd21a; --empty:#1f4fc4; --perfect:#b86400;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#07090f; --surface:#11151f; --surface2:#1a2030; --line:#2c3448; --text:#eef1f8; --muted:#97a2bd; --perfect:#ffb23a;
  color-scheme:dark;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme]){ --bg:#07090f; --surface:#11151f; --surface2:#1a2030; --line:#2c3448; --text:#eef1f8; --muted:#97a2bd; --perfect:#ffb23a; color-scheme:dark; }
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--text);min-height:100vh;line-height:1.8;
  font-family:"Yu Gothic UI","Meiryo","Hiragino Sans",system-ui,sans-serif}
a{color:inherit}
.en{font-family:Impact,"Haettenschweiler","Arial Black","Yu Gothic UI",sans-serif;font-style:italic;letter-spacing:.02em}

.bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 16px;background:#0b0e17;color:#eef1f8;border-bottom:3px solid var(--accent)}
.brand{font-weight:900;font-size:20px;margin-right:auto;white-space:nowrap;font-style:italic;text-decoration:none;line-height:1.4}
.brand b{color:var(--accent)}
.brand small{font-size:11px;color:#97a2bd;font-weight:700;margin-left:8px;font-style:normal;letter-spacing:.1em}
.btn{display:inline-block;border:2px solid currentColor;background:transparent;padding:5px 14px;font-weight:800;font-size:13px;text-decoration:none;line-height:1.5;
  clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}
.bar .btn{color:#cfd6e6}
.btn.hot{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}
.btn:focus-visible,a:focus-visible{outline:3px solid #7fb0ff;outline-offset:2px}

main{max-width:760px;margin:0 auto;padding:20px 16px 32px}
h1{font-size:26px;font-weight:900;margin:4px 0 4px;letter-spacing:.04em}
.lead{color:var(--muted);font-weight:700;margin:0 0 18px}
section{background:var(--surface);border-left:5px solid var(--accent);padding:14px 18px;margin-top:14px}
h2{font-size:17px;font-weight:900;margin:0 0 6px;letter-spacing:.06em}
p{margin:6px 0}
ul,ol{margin:6px 0;padding-left:1.4em}
li{margin:3px 0}
table{border-collapse:collapse;width:100%;margin:8px 0;font-weight:700}
th,td{border-bottom:1px solid var(--surface2);padding:6px 8px;text-align:left}
th{font-size:12px;color:var(--muted);letter-spacing:.06em}
td.n{font-family:Impact,"Arial Black",sans-serif;font-style:italic;font-weight:400;font-size:18px}
.mark{color:var(--perfect);font-weight:900}
.note{font-size:13px;color:var(--muted)}
.back{margin-top:22px;text-align:center}
footer{margin:22px 0 0;font-size:12px;color:var(--muted);text-align:center}
footer a{margin:0 6px}

/* 404 */
.lost{text-align:center;padding-top:40px}
.lost .big{font-family:Impact,"Arial Black",sans-serif;font-style:italic;font-size:110px;line-height:1;color:var(--accent)}
.lost p{font-weight:800}

@media (max-width:560px){
  .brand{width:100%}
  h1{font-size:22px}
  section{padding:12px 14px}
}
