/* Shared styles for server-rendered pages (/about, /llm-info). Mirrors site/src/styles.css tokens. */
/* Each face in two files, as site/src/styles.css (site/scripts/font-core.py). */
@font-face { font-family: 'Dela Gothic One'; src: url('/fonts/dela-gothic-one-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+D, U+A1-A8, U+AA-AD, U+AF-B6, U+B8-D6, U+D8-FF, U+131, U+152-153, U+2BC, U+2C6, U+2DA, U+2DC, U+300-301, U+303-304, U+308-309, U+323, U+2002, U+2009, U+200B, U+201A, U+201E, U+2044, U+2215, U+FFFD; }
@font-face { font-family: 'Dela Gothic One'; src: url('/fonts/dela-gothic-one-400-core.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+20-7E, U+A0, U+A9, U+AE, U+B7, U+D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: 'M PLUS 1p'; src: url('/fonts/m-plus-1p-500.woff2') format('woff2'); font-weight: 400 600; font-display: swap; unicode-range: U+A1-A8, U+AA-AD, U+AF-B6, U+B8-D6, U+D8-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+300-301, U+303-304, U+308-309, U+323, U+329, U+2002, U+2009, U+201A, U+201E, U+2044, U+2215; }
@font-face { font-family: 'M PLUS 1p'; src: url('/fonts/m-plus-1p-500-core.woff2') format('woff2'); font-weight: 400 600; font-display: swap; unicode-range: U+20-7E, U+A0, U+A9, U+AE, U+B7, U+D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: 'M PLUS 1p'; src: url('/fonts/m-plus-1p-800.woff2') format('woff2'); font-weight: 700 900; font-display: swap; unicode-range: U+A1-A8, U+AA-AD, U+AF-B6, U+B8-D6, U+D8-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+300-301, U+303-304, U+308-309, U+323, U+329, U+2002, U+2009, U+201A, U+201E, U+2044, U+2215; }
@font-face { font-family: 'M PLUS 1p'; src: url('/fonts/m-plus-1p-800-core.woff2') format('woff2'); font-weight: 700 900; font-display: swap; unicode-range: U+20-7E, U+A0, U+A9, U+AE, U+B7, U+D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2191, U+2193, U+2212; }
:root { --yellow: #FFE100; --yellow-deep: #FFB300; --purple: #5B2A8C; --red: #E60033; --cyan: #00A0E9; --ink: #000; --paper: #fff; }
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink); font: 1rem/1.6 'M PLUS 1p', 'Hiragino Sans', system-ui, sans-serif;
  background-color: var(--yellow);
  background-image: radial-gradient(rgba(0,0,0,.07) 1.2px, transparent 1.3px);
  background-size: 7px 7px;
}
a { color: var(--purple); font-weight: 700; }
:focus-visible { outline: 4px solid var(--cyan); outline-offset: 3px; }
.topbar { display: flex; align-items: center; gap: 16px; padding: 10px clamp(16px, 3vw, 40px); border-bottom: 4px solid var(--ink); background: var(--yellow); }
.topbar a { line-height: 0; }
/* the logo picture (site/src/styles.css "Logo"), straight on the yellow bar, no plate */
.topbar picture { display: block; }
.topbar img { display: block; width: 104px; height: auto; aspect-ratio: 1492 / 339; }
.topbar span { font-weight: 800; font-size: .9rem; }
main { max-width: 74ch; margin: 36px auto 72px; padding: clamp(18px, 4vw, 40px); background: var(--paper); border: 4px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); }
h1 { font: 400 clamp(1.9rem, 5vw, 2.8rem)/1.08 'Dela Gothic One', sans-serif; margin: 0 0 8px; }
h2 { font: 400 1.25rem/1.2 'Dela Gothic One', sans-serif; margin: 32px 0 10px; padding-top: 14px; border-top: 3px solid var(--ink); }
.lede { font-size: 1.15rem; font-weight: 500; margin: 0 0 8px; }
.updated { font-weight: 700; color: #444; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px dotted #999; }
th { width: 11em; }
dt { font-weight: 800; margin-top: 12px; }
dd { margin: 2px 0 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 18px 0 4px; padding: 0; list-style: none; }
.stats li { background: var(--yellow); border: 3px solid var(--ink); padding: 10px 12px; font-weight: 800; font-size: .85rem; line-height: 1.25; }
.stats b { display: block; font: 400 2rem/1 'Dela Gothic One', sans-serif; margin-bottom: 4px; }
/* 奥付 (okuzuke): the colophon box printed at the back of Japanese magazines. */
.colophon { margin-top: 36px; border: 3px solid var(--ink); }
.colophon h2 { margin: 0; padding: 8px 12px; border: 0; background: var(--ink); color: #fff; display: flex; gap: 12px; align-items: baseline; }
.colophon h2 span { font-size: .8em; color: var(--yellow); }
.colophon table { margin: 4px 0; }
.colophon th, .colophon td { padding: 6px 12px; }
.machine-readable { text-align: center; font-size: .82rem; font-weight: 700; margin: -40px 16px 16px; }
footer { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 0 16px 40px; font-weight: 700; }
footer a { color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; width: 100%; }
@media (max-width: 480px) { th { width: auto; display: block; border: 0; padding-bottom: 0; } td { display: block; padding-top: 0; } }
