/* ===== 色やフォントはここでまとめて変えられます ===== */
/* デザイン案ごとの設定は、このすぐ下の [data-design="..."] の中にあります */
:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #1c1917;
  --muted: #78716c;
  --border: #e7e5e4;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --on-accent: #ffffff;
  --radius: 14px;
  --border-width: 1px;
  --shadow: none;
  --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.08);
  --font: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --heading-marker: "";
  --max-width: 760px;
}

/* シンプルのダークモード：ボタンで選んだ色 → なければパソコン・スマホの設定に合わせる */
:root[data-design="simple"] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root[data-design="simple"]:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0c0a09;
    --surface: #1c1917;
    --text: #f5f5f4;
    --muted: #a8a29e;
    --border: #292524;
    --accent: #60a5fa;
    --accent-soft: #1e3a8a55;
    --on-accent: #0c0a09;
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.4);
  }
}
:root[data-design="simple"][data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0a09;
  --surface: #1c1917;
  --text: #f5f5f4;
  --muted: #a8a29e;
  --border: #292524;
  --accent: #60a5fa;
  --accent-soft: #1e3a8a55;
  --on-accent: #0c0a09;
  --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ----- デザイン案：ドット絵（レトロゲーム風） ----- */
:root[data-design="pixel"] {
  --bg: #1a1c2c;
  --surface: #29366f;
  --text: #f4f4f4;
  --muted: #94b0c2;
  --border: #f4f4f4;
  --accent: #ffcd75;
  --accent-soft: #333c57;
  --on-accent: #1a1c2c;
  --radius: 0;
  --border-width: 3px;
  --shadow: 4px 4px 0 #000;
  --shadow-hover: 6px 6px 0 #000;
  --font: "DotGothic16", monospace;
  --heading-marker: "▶ ";
}

/* ----- デザイン案：ターミナル（ハッカー風） ----- */
:root[data-design="terminal"] {
  --bg: #0a0f0a;
  --surface: #0f1a10;
  --text: #c8f7c5;
  --muted: #6fa86b;
  --border: #1f4d22;
  --accent: #39ff14;
  --accent-soft: #143d17;
  --on-accent: #0a0f0a;
  --radius: 4px;
  --shadow-hover: 0 0 16px #39ff1433;
  --font: "M PLUS 1 Code", ui-monospace, Consolas, monospace;
  --heading-marker: "$ ";
}

/* ----- デザイン案：ポップ（明るくカラフル） ----- */
:root[data-design="pop"] {
  --bg: #fff6ec;
  --surface: #ffffff;
  --text: #2b2140;
  --muted: #7c6f93;
  --border: #2b2140;
  --accent: #ff4f8b;
  --accent-soft: #ffe0ec;
  --on-accent: #ffffff;
  --radius: 22px;
  --border-width: 2px;
  --shadow: 0 5px 0 #2b2140;
  --shadow-hover: 0 8px 0 #2b2140;
  --font: "M PLUS Rounded 1c", sans-serif;
  --heading-marker: "★ ";
}

/* ----- デザイン案：ナチュラル（ベージュ基調のやさしい色合い） ----- */
:root[data-design="natural"] {
  --bg: #f6f0e6;
  --surface: #fcf9f3;
  --text: #4a3f33;
  --muted: #94877a;
  --border: #e8ddcc;
  --accent: #9a7552;
  --accent-soft: #efe3d1;
  --on-accent: #ffffff;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(110, 80, 40, 0.06);
  --shadow-hover: 0 8px 24px rgba(110, 80, 40, 0.12);
  --font: "Zen Maru Gothic", sans-serif;
  color-scheme: light;
}

/* ナチュラルのダークモード：あたたかみのある灰色 */
@media (prefers-color-scheme: dark) {
  :root[data-design="natural"]:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1e1e1d;
    --surface: #282827;
    --text: #e9e6e0;
    --muted: #a19d96;
    --border: #3a3937;
    --accent: #c4b8a6;
    --accent-soft: #34322f;
    --on-accent: #1e1e1d;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}
:root[data-design="natural"][data-theme="dark"] {
  color-scheme: dark;
  --bg: #1e1e1d;
  --surface: #282827;
  --text: #e9e6e0;
  --muted: #a19d96;
  --border: #3a3937;
  --accent: #c4b8a6;
  --accent-soft: #34322f;
  --on-accent: #1e1e1d;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ----- デザイン案：和風（和紙と明朝体） ----- */
:root[data-design="wa"] {
  --bg: #f3ede1;
  --surface: #fbf7ef;
  --text: #2a2522;
  --muted: #7d7267;
  --border: #cfc3ae;
  --accent: #b83b2e;
  --accent-soft: #f1ddd3;
  --on-accent: #fbf7ef;
  --radius: 2px;
  --shadow-hover: 0 6px 18px rgba(60, 40, 20, 0.1);
  --font: "Shippori Mincho", serif;
  --heading-marker: "◆ ";
}

/* ----- デザイン案：ネオン（夜の街の光る看板風） ----- */
:root[data-design="neon"] {
  --bg: #0d0221;
  --surface: #160a33;
  --text: #f0e9ff;
  --muted: #a895d6;
  --border: #3d1f7a;
  --accent: #ff2bd6;
  --accent-soft: #2e0d4f;
  --on-accent: #0d0221;
  --radius: 10px;
  --shadow: 0 0 0 1px #ff2bd622, 0 0 18px #7b2bff33;
  --shadow-hover: 0 0 0 1px #ff2bd666, 0 0 26px #ff2bd655;
  --font: "Zen Kaku Gothic New", sans-serif;
}

/* ----- デザイン案：モノクロ（雑誌・新聞風） ----- */
:root[data-design="mono"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111111;
  --muted: #666666;
  --border: #111111;
  --accent: #111111;
  --accent-soft: #eeeeee;
  --on-accent: #ffffff;
  --radius: 0;
  --border-width: 2px;
  --shadow-hover: 6px 6px 0 #111111;
  --font: "Noto Serif JP", serif;
  --heading-marker: "No. ";
}

/* ----- デザイン案：パステル（ふんわりかわいい） ----- */
:root[data-design="pastel"] {
  --bg: #f7f3ff;
  --surface: #ffffff;
  --text: #4a4366;
  --muted: #9b93b8;
  --border: #e6defc;
  --accent: #9b7bff;
  --accent-soft: #ece5ff;
  --on-accent: #ffffff;
  --radius: 26px;
  --shadow: 0 6px 24px rgba(155, 123, 255, 0.12);
  --shadow-hover: 0 10px 30px rgba(155, 123, 255, 0.25);
  --font: "Kiwi Maru", sans-serif;
  --heading-marker: "♡ ";
}

/* ----- デザイン案：宇宙（星空） ----- */
:root[data-design="space"] {
  --bg: #070b1d;
  --surface: rgba(255, 255, 255, 0.05);
  --text: #e8ecff;
  --muted: #8d97c4;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #7dd3fc;
  --accent-soft: rgba(125, 211, 252, 0.12);
  --on-accent: #070b1d;
  --radius: 16px;
  --shadow-hover: 0 0 30px rgba(125, 211, 252, 0.2);
  --font: "Zen Kaku Gothic New", sans-serif;
  --heading-marker: "✦ ";
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: var(--border-width) solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo { font-weight: 700; color: var(--text); letter-spacing: 0.02em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--muted); font-size: 0.95rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 700; }
.header-right { display: flex; align-items: center; gap: 16px; }

/* ===== ヘッダー案（js/theme.js の DEFAULT_HEADER で選ぶ） ===== */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-icon {
  display: none;
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
}
.logo-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.logo-tagline {
  display: none;
  padding-left: 10px;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}
.header-banner { display: none; }
:root:not([data-header="plain"]) .logo-icon { display: grid; }

/* A アイコン＋ひとこと：少し背を高くして、名前の横にひとこと */
:root[data-header~="icon"] .site-header .container { height: 72px; }
:root[data-header~="icon"] .logo-icon { width: 42px; height: 42px; font-size: 1.05rem; }
:root[data-header~="icon"] .logo { font-size: 1.1rem; }
:root[data-header~="icon"] .logo-tagline { display: inline; }

/* B ピル型メニュー：メニューを丸い枠でまとめ、今いるページを塗る */
:root[data-header~="pill"] .nav {
  gap: 2px;
  padding: 4px;
  border: var(--border-width) solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
:root[data-header~="pill"] .nav a { padding: 4px 14px; border-radius: 999px; transition: background 0.2s; }
:root[data-header~="pill"] .nav a:hover { background: var(--accent-soft); }
:root[data-header~="pill"] .nav a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }

/* C 浮かぶヘッダー：画面の上にふわっと浮いた丸いバー＋絵文字メニュー */
:root[data-header~="float"] .site-header {
  top: 12px;
  width: calc(100% - 24px);
  max-width: calc(var(--max-width) + 40px);
  margin: 12px auto 0;
  border: var(--border-width) solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
:root[data-header~="float"] .site-header .container { height: 56px; }
:root[data-header~="float"] .nav { gap: 4px; }
:root[data-header~="float"] .nav a { padding: 4px 12px; border-radius: 999px; }
:root[data-header~="float"] .nav a::before { content: attr(data-emoji); margin-right: 4px; }
:root[data-header~="float"] .nav a[aria-current="page"] { background: var(--accent-soft); }

/* D お知らせ帯つき：一番上に色の帯、今いるページに下線 */
:root[data-header~="banner"] .header-banner {
  display: block;
  padding: 6px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.8rem;
  text-align: center;
}
:root[data-header~="banner"] .logo-tagline { display: inline; }
:root[data-header~="banner"] .nav a { position: relative; }
:root[data-header~="banner"]:not([data-header~="float"]) .nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

/* ダーク・ライト切り替えボタン（シンプルとナチュラルのデザインのときだけ表示） */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: var(--border-width) solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(-15deg); }
:root:not([data-design="simple"]):not([data-design="natural"]) .theme-toggle { display: none; }

/* ===== トップ（自己紹介の顔） ===== */
.hero {
  padding: 80px 0 56px;
  text-align: center;
}
.avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  position: relative;
  overflow: hidden;
}
:root[data-design="pixel"] .avatar { border-radius: 0; border: 3px solid var(--border); box-shadow: var(--shadow); }
/* 画像があれば文字の上にかぶせて表示 */
.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero h1 { margin: 0; font-size: 2rem; line-height: 1.3; }
.hero .tagline { margin: 8px 0 0; color: var(--muted); }

/* ===== セクション ===== */
section { padding: 40px 0; }
section h2 {
  font-size: 1.15rem;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
section h2::before {
  content: "";
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--accent);
}
/* 見出しに記号を付けるデザインでは、縦線の代わりに記号を出す */
:root[data-design="pixel"] section h2::before,
:root[data-design="terminal"] section h2::before,
:root[data-design="pop"] section h2::before,
:root[data-design="wa"] section h2::before,
:root[data-design="mono"] section h2::before,
:root[data-design="pastel"] section h2::before,
:root[data-design="space"] section h2::before {
  content: var(--heading-marker);
  width: auto;
  height: auto;
  background: none;
  color: var(--accent);
}
.section-lead { margin: -8px 0 20px; color: var(--muted); }

/* ----- デザイン案ごとの特別な飾り ----- */
/* 和風：見出しの下に細い線、名前を縦に広く */
:root[data-design="wa"] section h2 { border-bottom: 1px solid var(--border); padding-bottom: 8px; }
:root[data-design="wa"] .hero h1 { letter-spacing: 0.3em; }
:root[data-design="wa"] .avatar { border: 1px solid var(--accent); }
/* ネオン：文字やアイコンが光る */
:root[data-design="neon"] .hero h1,
:root[data-design="neon"] section h2 { text-shadow: 0 0 8px #ff2bd6aa, 0 0 22px #7b2bff88; }
:root[data-design="neon"] .avatar { box-shadow: 0 0 0 2px var(--accent), 0 0 30px #ff2bd688; }
:root[data-design="neon"] body {
  background: radial-gradient(ellipse at top, #2a0a5e 0%, transparent 60%), var(--bg);
  background-attachment: fixed;
}
/* モノクロ：大きな見出しと太い区切り線 */
:root[data-design="mono"] .hero { border-bottom: 4px double var(--border); }
:root[data-design="mono"] .hero h1 { font-size: 3rem; letter-spacing: 0.1em; }
:root[data-design="mono"] .avatar { border-radius: 0; filter: grayscale(1); border: 2px solid var(--border); }
:root[data-design="mono"] section h2 { font-size: 1.4rem; }
/* パステル：背景にふんわり色をにじませる */
:root[data-design="pastel"] body {
  background:
    radial-gradient(circle at 10% 10%, #ffd6ec 0%, transparent 35%),
    radial-gradient(circle at 90% 30%, #d6f0ff 0%, transparent 35%),
    radial-gradient(circle at 50% 90%, #fff3c4 0%, transparent 40%),
    var(--bg);
  background-attachment: fixed;
}
/* 宇宙：星空の背景と、すりガラスのカード */
:root[data-design="space"] body {
  background:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 70% 15%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, #fff, transparent),
    radial-gradient(1px 1px at 85% 60%, #fff, transparent),
    radial-gradient(1px 1px at 10% 85%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 60% 45%, #cfe8ff, transparent),
    radial-gradient(ellipse at 80% 0%, #1e2a6b 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, #3b1a5c 0%, transparent 50%),
    var(--bg);
  background-size: 300px 300px, 400px 400px, 350px 350px, 250px 250px, 450px 450px, 500px 500px, 100% 100%, 100% 100%, auto;
  background-attachment: fixed;
}
:root[data-design="space"] .card { backdrop-filter: blur(6px); }
:root[data-design="space"] .avatar { box-shadow: 0 0 40px rgba(125, 211, 252, 0.35); }

.card {
  background: var(--surface);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.card p { margin: 0 0 1em; }
.card p:last-child { margin-bottom: 0; }

/* 好きなことの一覧 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.item .emoji { font-size: 1.6rem; }
.item h3 { margin: 6px 0 4px; font-size: 1rem; }
.item p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* プロフィール表 */
.profile { display: grid; grid-template-columns: 7em 1fr; gap: 10px 16px; margin: 0; }
.profile dt { color: var(--muted); }
.profile dd { margin: 0; }

/* リンク */
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.links a, .button {
  display: inline-block;
  padding: 8px 18px;
  border: var(--border-width) solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
:root[data-design="pixel"] .links a, :root[data-design="pixel"] .button { border-radius: 0; }
.links a:hover, .button:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* トップの「作品・日記」への入口 */
.entrances { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.entrance { display: block; color: var(--text); transition: transform 0.15s, box-shadow 0.15s; }
.entrance:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.entrance .emoji { font-size: 1.8rem; }
.entrance h3 { margin: 4px 0 2px; font-size: 1.05rem; }
.entrance p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ===== 作品ページ ===== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button {
  font: inherit;
  font-size: 0.9rem;
  padding: 6px 16px;
  border: var(--border-width) solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
:root[data-design="pixel"] .filters button { border-radius: 0; }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.work { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s; }
.work:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.work .thumb {
  aspect-ratio: 16 / 10;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  border-bottom: var(--border-width) solid var(--border);
}
.work .thumb img { width: 100%; height: 100%; object-fit: cover; }
.work .body { padding: 16px 18px 18px; }
.work .tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.work h3 { margin: 8px 0 4px; font-size: 1.05rem; }
.work p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.work.sample { opacity: 0.55; border-style: dashed; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ===== 日記 ===== */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.post-list a { display: block; color: var(--text); transition: transform 0.15s, box-shadow 0.15s; }
.post-list a:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.post-list time { color: var(--muted); font-size: 0.85rem; }
.post-list h3 { margin: 2px 0 0; font-size: 1.05rem; }
.post-list p { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.article { padding: 48px 0; }
.article h1 { font-size: 1.7rem; line-height: 1.4; margin: 0 0 4px; }
.article time { color: var(--muted); }
.article-body h2 { margin: 1.6em 0 0.6em; font-size: 1.2rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul { margin: 0 0 1em; padding-left: 1.4em; }

/* ===== フッター ===== */
.site-footer {
  margin-top: 40px;
  padding: 32px 0 80px;
  border-top: var(--border-width) solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ===== デザイン切り替えボタン（自分のパソコンで見ているときだけ表示） ===== */
.design-picker {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: calc(100vw - 24px);
  padding: 8px 10px;
  border-radius: 12px;
  background: #111827ee;
  color: #fff;
  font: 13px/1.4 system-ui, sans-serif;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
.design-picker .picker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.design-picker span { opacity: 0.7; margin-right: 2px; }
.design-picker button {
  font: inherit;
  padding: 4px 10px;
  border: 1px solid #4b5563;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.design-picker button[aria-pressed="true"] { background: #fff; color: #111827; border-color: #fff; }

@media (max-width: 480px) {
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 1.6rem; }
  .profile { grid-template-columns: 5.5em 1fr; }
  .nav { gap: 14px; }
  .header-right { gap: 10px; }
  .logo-tagline { display: none !important; }
  :root[data-header~="float"] .nav a::before { content: none; }
  :root[data-header~="float"] .nav a { padding: 4px 8px; }
  :root[data-header~="float"] .nav { gap: 0; }
  .header-banner { font-size: 0.72rem !important; }
  :root[data-header~="pill"] .nav a { padding: 4px 10px; }
  .theme-toggle { width: 32px; height: 32px; font-size: 0.9rem; }
  .nav a { font-size: 0.85rem; }
  .logo { font-size: 0.95rem; }
  .entrances { grid-template-columns: 1fr; }
}
