:root { color-scheme: dark; --bg: #071427; --bg2: #0c2a4a; --ink: #eaf4ff; --muted: #a7bdd6; --line: rgba(255,255,255,.10); --cyan: #5fe3ff; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: linear-gradient(180deg,var(--bg2),var(--bg) 46%); background-color: var(--bg); font: 16px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; }
.wrap { max-width: 820px; margin: auto; padding: 24px 20px; }
a { color: var(--cyan); overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
header, footer { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
header a:first-child { color: var(--ink); font-weight: 800; }
main { padding: 16px 0 32px; }
h1 { font-size: clamp(28px,5vw,40px); line-height: 1.2; }
h2 { margin-top: 32px; font-size: 23px; line-height: 1.35; }
li { margin: 8px 0; }
.meta, footer { color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); border-bottom: 0; padding-top: 20px; }
.library { max-width: 1040px; }
.lead { font-size: 19px; color: var(--muted); }
.breadcrumbs { font-size: 14px; margin: 12px 0 24px; gap: 8px; }
.game-figure { margin: 24px 0; max-width: 780px; }
.game-figure img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; background: var(--bg); border: 1px solid var(--line); }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.play-link { display: inline-block; background: var(--cyan); color: var(--bg); font-weight: 750; padding: 10px 18px; border-radius: 8px; text-decoration: none; }
.library-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: 24px; margin: 24px 0; }
.library-card { border-top: 1px solid var(--line); padding-top: 16px; min-width: 0; }
.library-card h2 { font-size: 22px; margin: 16px 0 12px; }
.library-card img { display: block; width: 100%; height: 180px; object-fit: contain; background: var(--bg); }
.contents { display: block; border-block: 1px solid var(--line); padding: 16px 0; margin: 24px 0; }
.contents ol { margin-bottom: 0; }
.library main > section, .library main > article > section { max-width: 780px; }
section[id] { scroll-margin-top: 20px; }
