/* The privacy policy (privacy.html, en/privacy.html): the game's title screen's type and colours (client/src/title.css) —
   the name of the page large on the left and kept in view, the sections numbered in the sight's yellow on the right
   [依頼主 2026-11-04: 「プライバシーポリシーがダサすぎますね」]. */
:root {
  --bg: #07090d; --panel: #0d1118; --ink: #eef2f7; --soft: #c2ccd9; --muted: #7f8b9c; --line: #1f2834; --accent: #f0b43c;
  --wide: "Saira Extra Condensed", "Chakra Petch", "Zen Kaku Gothic New", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--soft); font: 15px/1.95 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-color: #f0b43c80; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

/* the sight's corners round the whole page */
.frame { position: fixed; inset: clamp(12px, 2vw, 24px); pointer-events: none; z-index: 5; }
.frame i { position: absolute; width: 20px; height: 20px; border: 0 solid #eef2f74d; }
.frame .tl { left: 0; top: 0; border-width: 1px 0 0 1px; } .frame .tr { right: 0; top: 0; border-width: 1px 1px 0 0; }
.frame .bl { left: 0; bottom: 0; border-width: 0 0 1px 1px; } .frame .br { right: 0; bottom: 0; border-width: 0 1px 1px 0; }

.top { display: flex; justify-content: space-between; align-items: center; padding: clamp(28px, 4vw, 48px) clamp(28px, 6vw, 96px) 0; font: 12px/1 var(--mono); letter-spacing: 0.24em; }
.top a { color: var(--muted); text-decoration: none; }
.top a:hover { color: var(--ink); }
.top .lang { display: flex; gap: 16px; }
.top .lang a.on { color: var(--ink); }
.top .lang a.on::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; vertical-align: 2px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.page { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 110px); padding: clamp(40px, 7vw, 96px) clamp(28px, 6vw, 96px) 96px; max-width: 1360px; margin: 0 auto; }

/* left: the name of the page, kept in view */
.head { position: sticky; top: 48px; align-self: start; }
.head .kicker { display: inline-flex; align-items: center; gap: 12px; font: 13px/1 var(--mono); letter-spacing: 0.4em; color: var(--accent); margin-bottom: 18px; }
.head .kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.head h1 { margin: 0; font: 900 clamp(56px, 7.4vw, 120px)/0.84 var(--wide); text-transform: uppercase; color: #f4f6f9; letter-spacing: 0.005em; }
.head h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px #f4f6f9cc; }
.head .ja { margin: 18px 0 0; font: 700 15px/1.4 var(--body); letter-spacing: 0.3em; color: var(--accent); }
.head .lead { margin: 22px 0 0; max-width: 26em; color: var(--soft); }
.head .note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.head nav { margin-top: 34px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.head nav a { display: grid; grid-template-columns: 2.4em 1fr; padding: 5px 0 5px 16px; color: var(--muted); text-decoration: none; font-size: 13px; }
.head nav a b { font: 12px/1.9 var(--mono); color: #f0b43c99; font-weight: 400; letter-spacing: 0.1em; }
.head nav a:hover { color: var(--ink); }

/* right: the sections */
.body section { padding: 30px 0 34px; border-top: 1px solid var(--line); scroll-margin-top: 40px; }
.body section:first-child { border-top: 0; padding-top: 0; }
.body h2 { display: grid; grid-template-columns: 3.2rem 1fr; align-items: baseline; margin: 0 0 14px; font: 700 20px/1.4 var(--body); color: var(--ink); letter-spacing: 0.04em; }
.body h2 span { font: 400 15px/1 var(--mono); color: var(--accent); letter-spacing: 0.12em; }
.body ul, .body p, .body dl.kv { margin: 0 0 0 3.2rem; }
.body dl.kv { display: grid; grid-template-columns: minmax(11em, 14em) 1fr; gap: 14px 28px; }
.body dl.kv dt { color: var(--muted); font-weight: 700; }
.body dl.kv dd { margin: 0; color: var(--ink); }
.body ul { padding: 0; list-style: none; display: grid; gap: 8px; }
.body li { position: relative; padding-left: 18px; }
.body li::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 7px; height: 1px; background: var(--accent); }
.body p + p, .body ul + p, .body p + ul { margin-top: 12px; }

/* who runs it and how to reach them */
.foot { margin: 40px 0 0 3.2rem; display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; padding: 24px 0 0; border-top: 1px solid #f0b43c66; }
.foot dt { font: 12px/1.9 var(--mono); letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; }
.foot dd { margin: 0; color: var(--ink); }
.foot .date { grid-column: 1 / -1; margin-left: 0; margin-top: 10px; font: 12px/1 var(--mono); letter-spacing: 0.16em; color: var(--muted); }

@media (max-width: 860px) {
  .page { grid-template-columns: 1fr; }
  .head { position: static; }
  .head nav { display: none; }
  .body ul, .body p, .body dl.kv, .foot { margin-left: 0; }
  .body dl.kv { grid-template-columns: 1fr; gap: 4px 0; }
  .body dl.kv dd { margin-bottom: 12px; }
  .body h2 { grid-template-columns: 2.6rem 1fr; }
}
