/* Shared styles for the static information pages (guide, about, terms, contact, privacy). */
:root { --navy: #0b1026; --panel: #16213c; --ink: #141414; --white: #fffdf6; --yellow: #ffd23f; --link: #7ee8ff; --muted: #b6bfd4; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--white); font: 16px/1.9 system-ui, -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif; }
a { color: var(--link); }
.site-head { position: sticky; top: 0; z-index: 5; background: #0b1026ee; border-bottom: 1px solid #ffffff1a; backdrop-filter: blur(6px); }
.site-head .in { max-width: 860px; margin: auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.site-head .brand { font-weight: 800; color: var(--yellow); text-decoration: none; letter-spacing: 1px; margin-right: auto; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.site-head nav a { color: var(--white); text-decoration: none; }
.site-head nav a[aria-current="page"] { color: var(--yellow); }
main { max-width: 860px; margin: auto; padding: 36px 16px 64px; }
h1 { font-size: clamp(26px, 6vw, 38px); line-height: 1.4; margin: 0 0 12px; }
h2 { margin: 2.2em 0 .6em; font-size: 22px; line-height: 1.5; color: var(--yellow); }
h3 { margin: 1.6em 0 .4em; font-size: 18px; line-height: 1.5; }
p, li { overflow-wrap: anywhere; }
li { margin: 6px 0; }
small, .muted { color: var(--muted); }
.lead { font-size: 17px; }
.play { display: inline-block; margin: 8px 0; padding: 12px 26px; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 0 4px 0 var(--ink); font-weight: 800; font-size: 18px; text-decoration: none; }
.card { background: var(--panel); border-radius: 14px; padding: 4px 18px 10px; margin: 16px 0; }
.stages { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.stages li { background: var(--panel); border-radius: 12px; padding: 12px 14px; margin: 0; line-height: 1.7; }
.stages b { color: var(--yellow); }
.stages span { display: block; font-size: 14px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid #ffffff22; }
th { width: 34%; color: var(--muted); font-weight: 600; }
dt { font-weight: 700; margin-top: 1.2em; }
dd { margin: 4px 0 0; }
form label { display: block; margin: 16px 0 6px; font-weight: 700; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 2px solid #141414; border-radius: 8px; padding: 10px; }
textarea { min-height: 180px; resize: vertical; }
button { font: inherit; font-weight: 800; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 10px; padding: 10px 24px; margin-top: 18px; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#status { min-height: 1.9em; margin-top: 12px; color: #a7edff; }
.site-foot { border-top: 1px solid #ffffff1a; padding: 24px 16px 32px; text-align: center; font-size: 14px; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-bottom: 8px; }
/* the analytics preferences nav (google-analytics.js) sits under the footer instead of floating over the header */
#ba-privacy-links { position: static !important; justify-content: center; background: none !important; margin: -20px auto 24px; }
