/* 貓鎮 support site: the game's paper card on its night-blue backdrop; system fonts only, so the pages load nothing from elsewhere */
:root {
  --night: #1d2a44; --paper: #f6eedf; --card: #fffaf1; --ink: #3b2a1c; --ink2: #7a6650; --rule: #d8c8ae; --red: #b9443a;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --night: #0c1322; --paper: #111a2b; --card: #1a2438; --ink: #f1e8d8; --ink2: #b9ab95; --rule: #34405a; --red: #e0796d; color-scheme: dark } }
:root[data-theme="dark"] { --night: #0c1322; --paper: #111a2b; --card: #1a2438; --ink: #f1e8d8; --ink2: #b9ab95; --rule: #34405a; --red: #e0796d; color-scheme: dark }
* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; background: var(--night); color: var(--ink); font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft JhengHei", "Microsoft YaHei", "Meiryo", "Malgun Gothic", sans-serif; }
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.brand { color: #f6eedf; font-weight: 800; font-size: 20px; letter-spacing: 0.04em; text-decoration: none; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; }
.langs button { font: inherit; font-size: 14px; padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(246, 238, 223, 0.35); background: transparent; color: #f6eedf; cursor: pointer; }
.langs button[aria-pressed="true"] { background: #f6eedf; color: #1d2a44; font-weight: 700; }
.card { position: relative; background: var(--card); border-radius: 18px; padding: 26px 22px 22px; }
.card::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--rule); border-radius: 13px; pointer-events: none; }
h1 { margin: 0 0 4px; font-size: clamp(24px, 6vw, 32px); line-height: 1.3; text-wrap: balance; }
.date { margin: 0 0 18px; color: var(--ink2); font-size: 14px; }
h2 { margin: 22px 0 6px; font-size: 18px; color: var(--red); }
p { margin: 0 0 10px; }
ul { margin: 0 0 10px; padding-left: 1.2em; }
li { margin: 4px 0; }
dt { font-weight: 700; margin-top: 14px; }
dd { margin: 2px 0 0; }
a { color: var(--red); }
.mail { font-weight: 700; }
.mail.missing { background: #ffe066; color: #3b2a1c; padding: 0 6px; border-radius: 4px; }
.foot { margin-top: 18px; text-align: center; font-size: 14px; }
.foot a { color: #f6eedf; margin: 0 8px; }
/* every language is in the page; the picker shows one (without script, all of them show) */
.js section[lang] { display: none; }
.js section[lang].on { display: block; }
