/* ================================================================
   ux.css — 受験データ帳（2026-11-07 作り直し）
   ユーザー「なんじゃこのUI！？ 入試系でバズっているサイトを研究して、入試に即決する情報をすぐ出して」
   - 大手の入試サイト（パスナビ・Kei-Net・東進）の型：検索が主役／数字のタイル／表／学部の切り替え
   - 紺の帯と白い面、数字は太いゴシック。強調は朱とマーカーの黄色だけ
   - 使わない：左の色帯・絵文字・グラデーション・すりガラス・影の重なり
   - dojo.css の後に読む（明朝はやめてゴシックに統一）
   ================================================================ */
:root {
  --bg: #f3f5f9; --bg2: #e9edf4; --card: #fff; --ink: #111a2e; --ink2: #2c3650; --mute: #5f6983;
  --line: #dde2eb; --line2: #c9d0dc;
  --navy: #15284b; --navy2: #20386a; --acc: #d9481f; --acc-bg: #fdeee8; --mk: #ffe066; --mk-bg: #fff7d1;
  --brand: #15284b; --brand2: #d9481f; --on-brand: #fff;
  --shu: var(--acc); --shu-bg: var(--acc-bg);
  --mc: var(--jp);
  --hdr: #15284b;
  --r: 12px;
}
:root[data-theme='dark'] {
  --bg: #0c111d; --bg2: #121a2a; --card: #151d2e; --ink: #edf1f8; --ink2: #c8cfdd; --mute: #97a1b8;
  --line: #27314a; --line2: #34405e;
  --navy: #0a1426; --navy2: #1a2b4f; --acc: #ff7f57; --acc-bg: #3a2018; --mk: #ffd84d; --mk-bg: #2f2a14;
  --brand: #9dbbff; --brand2: #ff7f57; --on-brand: #0c111d; --hdr: #0a1426;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme='auto'] {
    --bg: #0c111d; --bg2: #121a2a; --card: #151d2e; --ink: #edf1f8; --ink2: #c8cfdd; --mute: #97a1b8;
    --line: #27314a; --line2: #34405e;
    --navy: #0a1426; --navy2: #1a2b4f; --acc: #ff7f57; --acc-bg: #3a2018; --mk: #ffd84d; --mk-bg: #2f2a14;
    --brand: #9dbbff; --brand2: #ff7f57; --on-brand: #0c111d; --hdr: #0a1426;
  }
}
body { background: var(--bg); }

/* ---------- 上の帯：紺 ---------- */
.hd { background: var(--navy); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hd .logo, .hd .logo-t b { color: #fff; }
.hd .logo-t small { color: rgba(255, 255, 255, 0.72); }
.hd .ib { color: #fff; }
.hd .hb span { background: #fff; }
.hd-nav a { color: rgba(255, 255, 255, 0.86); }
.hd-nav a:hover { color: #fff; }
.tabbar { background: var(--card); border-top: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.mbar { background: var(--card); backdrop-filter: none; -webkit-backdrop-filter: none; }
.btn-pri, .mbar .btn-pri { background: var(--acc); border-color: var(--acc); color: #fff; }
.u-sec h2, .tx-sec h2, h1, h2, h3 { font-family: var(--jp); }

/* ================================================================
   トップ
   ================================================================ */
main.tx { padding-bottom: 40px; }
.pg-home main.tx > * { max-width: 760px; }
.pg-home main.tx > .ed-sec { border-top: 0; }
.tx-hero { max-width: none !important; background: var(--navy); color: #fff; padding: 22px 16px 22px !important; margin: 0 0 14px; }
.tx-hero > * { max-width: 728px; margin-left: auto; margin-right: auto; }
.tx-k { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.7); margin: 0 auto 8px; }
.tx-hero h1 { font-size: clamp(1.75rem, 7.6vw, 2.6rem); line-height: 1.25; font-weight: 900; letter-spacing: -0.01em; margin: 0 auto 10px; color: #fff; }
.tx-hero h1 em { font-style: normal; color: var(--navy); background: var(--mk); padding: 0 0.12em; border-radius: 4px; }
.tx-l { font-size: 0.95rem; line-height: 1.7; color: rgba(255, 255, 255, 0.86); margin: 0 auto 16px; }
.tx-l b { color: #fff; }
.tx-q { position: relative; display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 4px 4px 4px 12px; gap: 6px; }
.tx-qi .ic { width: 20px; height: 20px; color: #5f6983; display: block; }
.tx-q input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 1.02rem/1.2 var(--jp); color: #111a2e; padding: 12px 2px; }
.tx-q input::placeholder { color: #8a93a8; font-weight: 500; }
.tx-q button { flex: none; border: 0; border-radius: 9px; background: var(--acc); color: #fff; font: 800 0.95rem var(--jp); padding: 12px 16px; cursor: pointer; }
.tx-sug { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: left; }
.tx-sug a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 13px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.tx-sug a:last-child { border-bottom: 0; }
.tx-sug a:hover, .tx-sug a:focus { background: var(--bg); }
.tx-sug b { font-size: 1rem; }
.tx-sug small { color: var(--mute); font-size: 0.78rem; white-space: nowrap; }
.tx-sug p { margin: 0; padding: 13px 14px; font-size: 0.9rem; }
.tx-my { margin: 12px auto 0; }
.tx-my a { display: inline-block; color: var(--navy); background: var(--mk); font-weight: 800; text-decoration: none; border-radius: 8px; padding: 8px 12px; font-size: 0.92rem; }
.tx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px auto 0; }
.tx-chips a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.86rem; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 8px; }
.tx-chips a:hover { background: rgba(255, 255, 255, 0.12); }
.tx-chips a.more { border-color: var(--mk); color: var(--mk); }

.tx-count { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin: 0 16px 14px; }
@media (min-width: 792px) { .tx-count { margin-left: auto; margin-right: auto; } }
.tx-cd { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; margin: 0; }
.tx-cd span { font-weight: 800; font-size: 0.92rem; color: var(--ink2); }
.tx-cd b { font-size: 2.3rem; font-weight: 900; line-height: 1; color: var(--acc); font-variant-numeric: tabular-nums; justify-self: start; }
.tx-cd b i { font-style: normal; }
.tx-cd small { grid-column: 1 / -1; color: var(--mute); font-size: 0.8rem; margin-top: 4px; }
.tx-cl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 12px 0 0; }
.tx-cl a { display: block; text-align: center; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 0.86rem; padding: 10px 6px; border: 1px solid var(--line2); border-radius: 9px; }
:root[data-theme='dark'] .tx-cl a { color: var(--brand); }
@media (prefers-color-scheme: dark) { :root[data-theme='auto'] .tx-cl a { color: var(--brand); } }

.tx-sec, .pg-home main.tx > .ed-sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px !important; margin: 0 16px 14px; }
@media (min-width: 792px) { .tx-sec, .pg-home main.tx > .ed-sec { margin-left: auto; margin-right: auto; } }
.tx-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tx-h h2, .pg-home .ed-h { font-size: 1.15rem; font-weight: 900; margin: 0; color: var(--ink); letter-spacing: 0; }
.tx-h a { flex: none; font-size: 0.85rem; font-weight: 800; color: var(--acc); text-decoration: none; }
.tx-sub, .pg-home .ed-sub { color: var(--mute); font-size: 0.85rem; line-height: 1.6; margin: 4px 0 12px; }
.tx-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 640px) { .tx-tiles { grid-template-columns: repeat(3, 1fr); } }
.tx-tiles a { display: block; text-decoration: none; color: var(--ink); height: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.tx-tiles a:hover { border-color: var(--navy2); }
.tx-tiles img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg2); }
.tx-tiles b { display: block; font-size: 0.95rem; font-weight: 900; padding: 9px 10px 2px; line-height: 1.35; }
.tx-tiles small { display: block; font-size: 0.76rem; color: var(--mute); line-height: 1.5; padding: 0 10px 10px; }
.tx-pdfs { list-style: none; padding: 0; margin: 0; }
.tx-pdfs li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.tx-pdfs li:first-child { border-top: 0; padding-top: 0; }
.tx-pa { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); min-width: 0; }
.tx-pa img { width: 44px; height: auto; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.tx-pa b { display: block; font-size: 1rem; font-weight: 900; }
.tx-pa small { display: block; font-size: 0.76rem; color: var(--mute); line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tx-dl { display: grid; justify-items: center; gap: 1px; text-decoration: none; background: var(--acc); color: #fff; border-radius: 9px; padding: 7px 10px; min-width: 58px; }
.tx-dl .ic { width: 18px; height: 18px; }
.tx-dl span { font-size: 0.8rem; font-weight: 900; line-height: 1; }
.tx-dl small { font-size: 0.66rem; opacity: 0.85; line-height: 1; }
.pg-home .top-q { border-radius: 10px; }

/* ---------- 形式早見表（トップ・/u/ 共通） ---------- */
.u-map { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.9rem; }
.u-map th, .u-map td { border-bottom: 1px solid var(--line); padding: 8px 2px; text-align: center; }
.u-map thead th { vertical-align: bottom; font-size: 0.72rem; font-weight: 800; color: var(--mute); padding: 4px 1px 6px; border-bottom: 2px solid var(--navy); }
:root[data-theme='dark'] .u-map thead th { border-bottom-color: var(--brand); }
@media (prefers-color-scheme: dark) { :root[data-theme='auto'] .u-map thead th { border-bottom-color: var(--brand); } }
.u-map thead th span { writing-mode: vertical-rl; display: inline-block; letter-spacing: 0.05em; line-height: 1.1; }
.u-map thead th:first-child, .u-map tbody th { width: 30%; text-align: left; }
.u-map thead th:first-child { writing-mode: horizontal-tb; }
.u-map tbody th { font-weight: 800; padding-left: 2px; }
.u-map tbody th a { color: var(--ink); text-decoration: none; display: block; line-height: 1.3; }
.u-map tbody th a:hover { color: var(--acc); }
.u-map tbody th small { display: block; color: var(--mute); font-size: 0.7rem; font-weight: 600; }
.u-map tbody tr:nth-child(even) { background: var(--bg); }
.u-y { color: var(--acc); font-size: 1.05rem; font-weight: 900; }
.u-n { color: var(--mute); }
.u-q { color: var(--line2); font-size: 0.8rem; }

/* ================================================================
   大学ページ（/u/<key>/）と一覧（/u/）
   ================================================================ */
main.ux { max-width: 760px; padding: 0 0 110px; }
main.ux > .bc { padding: 10px 16px 0; margin: 0; }
.u-hd { background: var(--navy); color: #fff; padding: 18px 16px 52px; margin: 8px 0 0; }
.pg-univ main.ux > .bc { background: var(--navy); margin-bottom: -8px; padding-bottom: 6px; }
.pg-univ main.ux > .bc a, .pg-univ main.ux > .bc span { color: rgba(255, 255, 255, 0.7); }
@media (min-width: 760px) { .u-hd { border-radius: 0 0 14px 14px; } }
.u-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; font-size: 0.76rem; }
.u-meta a, .u-meta span { color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 6px; padding: 3px 8px; font-weight: 700; }
.u-meta a { background: var(--mk); color: var(--navy); border-color: var(--mk); }
.u-hd h1 { color: #fff; font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 900; line-height: 1.25; margin: 0 0 8px; }
.u-hd h1 span { font-size: 0.62em; font-weight: 800; margin-left: 4px; color: rgba(255, 255, 255, 0.8); }
.u-catch { color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; line-height: 1.7; margin: 0; }
.u-tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.u-tags li { font-size: 0.78rem; font-weight: 800; color: var(--navy); background: #fff; border-radius: 6px; padding: 3px 8px; }
.u-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -38px 16px 0; position: relative; }
.u-keys > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 11px; }
.u-keys dt { font-size: 0.75rem; font-weight: 800; color: var(--mute); }
.u-keys dd { margin: 2px 0 0; }
.u-keys dd b { display: block; font-size: 1.55rem; font-weight: 900; line-height: 1.15; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
:root[data-theme='dark'] .u-keys dd b { color: var(--brand); }
@media (prefers-color-scheme: dark) { :root[data-theme='auto'] .u-keys dd b { color: var(--brand); } }
.u-keys dd small { display: block; font-size: 0.72rem; color: var(--mute); margin-top: 3px; line-height: 1.4; }
.u-acts { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin: 10px 16px 0; }
.u-me { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line2); background: var(--card); color: var(--ink); border-radius: 10px; padding: 0 12px; min-height: 46px; font: 800 0.86rem var(--jp); cursor: pointer; }
.u-me .ic { width: 18px; height: 18px; }
.u-me[aria-pressed='true'] { background: var(--mk-bg); border-color: var(--mk); }
.u-me[aria-pressed='true'] .ic { fill: var(--mk); stroke: #8a6d00; }
.u-dl { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--acc); color: #fff; text-decoration: none; border-radius: 10px; min-height: 46px; font-weight: 900; font-size: 0.92rem; padding: 0 10px; }
.u-dl .ic { width: 18px; height: 18px; }
.u-tabs { position: sticky; top: var(--hh); z-index: 20; display: flex; background: var(--card); border-bottom: 1px solid var(--line); margin: 14px 0 0; }
.u-tabs a { flex: 1; text-align: center; text-decoration: none; color: var(--ink2); font-weight: 800; font-size: 0.86rem; padding: 12px 4px; border-bottom: 3px solid transparent; }
.u-tabs a:hover { color: var(--acc); border-bottom-color: var(--acc); }
.u-sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 12px 16px 0; scroll-margin-top: calc(var(--hh) + 56px); }
.u-sec h2 { font-size: 1.12rem; font-weight: 900; margin: 0 0 12px; color: var(--ink); }
.u-must { background: var(--mk-bg); border-color: var(--mk); }
.u-must ol { list-style: none; counter-reset: m; padding: 0; margin: 0; }
.u-must li { counter-increment: m; display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: start; font-weight: 800; font-size: 1rem; line-height: 1.6; padding: 8px 0; border-top: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
.u-must li:first-child { border-top: 0; padding-top: 0; }
.u-must li::before { content: counter(m); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.85rem; font-weight: 900; margin-top: 1px; }
.u-has { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
@media (min-width: 560px) { .u-has { grid-template-columns: repeat(4, 1fr); } }
.u-has li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; font-weight: 800; font-size: 0.88rem; color: var(--mute); }
.u-has li.on { border-color: var(--acc); background: var(--acc-bg); color: var(--ink); }
.u-has li > :first-child { width: 18px; text-align: center; flex: none; }
.u-fine { font-size: 0.74rem; color: var(--mute); margin: 10px 0 0; line-height: 1.6; }
.pg-univ main.ux > .u-fine { margin: 12px 16px 0; }
.u-pick { margin: 0 0 12px; }
.u-pick label { display: block; font-size: 0.78rem; font-weight: 800; color: var(--mute); margin-bottom: 4px; }
.u-pick select { width: 100%; font: 800 1rem var(--jp); color: var(--ink); background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 10px; }
.u-one { font-weight: 900; margin: 0 0 8px; }
.u-exam-k { display: flex; gap: 8px; margin: 0 0 10px; }
.u-exam-k span { flex: 1; background: var(--bg); border-radius: 9px; padding: 8px 10px; }
.u-exam-k small { display: block; font-size: 0.72rem; color: var(--mute); font-weight: 800; }
.u-exam-k b { font-size: 1.25rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.u-parts, .u-tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 0 0 10px; }
.u-parts th, .u-parts td, .u-tbl th, .u-tbl td { border-bottom: 1px solid var(--line); padding: 9px 6px; text-align: left; vertical-align: top; line-height: 1.55; }
.u-parts thead th, .u-tbl thead th { font-size: 0.74rem; color: var(--mute); border-bottom: 2px solid var(--navy); padding-top: 0; }
.u-parts tbody th { width: 3.6em; font-weight: 900; color: var(--navy); white-space: nowrap; }
:root[data-theme='dark'] .u-parts tbody th { color: var(--brand); }
@media (prefers-color-scheme: dark) { :root[data-theme='auto'] .u-parts tbody th { color: var(--brand); } }
.u-tbl tbody th { font-weight: 800; }
.u-tbl td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.u-wr { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
.u-wr small { font-size: 0.74rem; color: var(--mute); font-weight: 800; margin-right: 2px; }
.u-wr span { font-size: 0.82rem; font-weight: 800; color: var(--acc); background: var(--acc-bg); border-radius: 6px; padding: 3px 8px; }
.u-note { font-size: 0.86rem; color: var(--ink2); line-height: 1.7; margin: 0 0 8px; }
.u-exam-go { margin: 6px 0 0; }
.u-exam-go a { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--acc); text-decoration: none; font-size: 0.9rem; }
.u-exam-go .ic { width: 16px; height: 16px; }
.u-all { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.u-all summary { cursor: pointer; font-weight: 800; font-size: 0.9rem; color: var(--navy); }
:root[data-theme='dark'] .u-all summary { color: var(--brand); }
.u-all table { margin-top: 10px; }
.u-bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; gap: 2px; background: var(--card); }
.u-bar span { display: grid; place-items: center; min-width: 0; }
.u-bar i { font-style: normal; font-size: 0.72rem; font-weight: 900; color: #fff; overflow: hidden; }
.u-bar .c0 { background: var(--navy2); } .u-bar .c1 { background: var(--acc); } .u-bar .c2 { background: #3e6db5; } .u-bar .c3 { background: #e2a417; }
.u-bar-l { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--mute); margin: 3px 0 10px; }
.u-plan { list-style: none; padding: 0; margin: 0; counter-reset: p; }
.u-plan li { display: grid; grid-template-columns: 6.2em 1fr; column-gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.9rem; line-height: 1.55; }
.u-plan li:first-child { border-top: 0; }
.u-plan b { font-variant-numeric: tabular-nums; font-weight: 900; color: var(--navy); white-space: nowrap; }
:root[data-theme='dark'] .u-plan b { color: var(--brand); }
@media (prefers-color-scheme: dark) { :root[data-theme='auto'] .u-plan b, :root[data-theme='auto'] .u-all summary { color: var(--brand); } }
.u-plan span { font-weight: 800; }
.u-plan small { grid-column: 2; color: var(--mute); font-size: 0.8rem; }
.u-trap ul { list-style: none; padding: 0; margin: 0; }
.u-trap li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid var(--line); font-weight: 700; line-height: 1.6; font-size: 0.93rem; }
.u-trap li:first-child { border-top: 0; padding-top: 0; }
.u-trap li::before { content: '!'; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--acc); color: #fff; font-size: 0.7rem; font-weight: 900; display: grid; place-items: center; line-height: 1; }
.u-trap li:first-child::before { top: 1px; }
.u-first { list-style: none; padding: 0; margin: 0; }
.u-sh { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.u-sh:first-child { border-top: 0; padding-top: 0; }
.u-sh-a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); min-width: 0; }
.u-sh-a img { width: 44px; height: auto; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.u-sh-a b { display: block; font-size: 0.92rem; font-weight: 800; line-height: 1.45; }
.u-sh-a small { display: block; color: var(--mute); font-size: 0.72rem; margin-top: 2px; }
.u-pdf { display: grid; justify-items: center; text-decoration: none; background: var(--acc); color: #fff; border-radius: 9px; padding: 7px 9px; min-width: 54px; font-weight: 900; font-size: 0.78rem; line-height: 1.1; }
.u-pdf .ic { width: 17px; height: 17px; }
.u-pdf small { font-size: 0.64rem; opacity: 0.85; }
.u-play p { display: grid; gap: 8px; margin: 0; }
.u-btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 10px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 900; font-size: 0.95rem; border: 1px solid var(--navy); }
.u-btn .ic { width: 18px; height: 18px; }
.u-btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line2); }
:root[data-theme='dark'] .u-btn { background: var(--navy2); border-color: var(--navy2); }
.u-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.u-chips a { text-decoration: none; color: var(--ink); font-weight: 800; font-size: 0.88rem; border: 1px solid var(--line2); border-radius: 8px; padding: 8px 11px; }
.u-chips a:hover { border-color: var(--acc); color: var(--acc); }
.u-src { margin: 12px 16px 0; font-size: 0.8rem; color: var(--mute); }
.u-src summary { cursor: pointer; font-weight: 800; }
.u-src ul { padding-left: 1.2em; line-height: 1.7; }
.u-src a { color: var(--mute); }
/* 一覧 */
.u-hd.u-hd-list { padding-bottom: 20px; }
.u-find { margin: 12px 16px 0; }
.u-find input { width: 100%; font: 700 1rem var(--jp); color: var(--ink); background: var(--card); border: 1px solid var(--line2); border-radius: 10px; padding: 13px 12px; }
.u-flt { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 16px 0; }
.u-flt button { font: 800 0.82rem var(--jp); color: var(--ink2); background: var(--card); border: 1px solid var(--line2); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.u-flt button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
:root[data-theme='dark'] .u-flt button.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.u-grp[hidden], .u-map tr[hidden] { display: none; }
@media (max-width: 999px) { body.pg-univ:has(.mbar) .tabbar { display: none; } }
@media (min-width: 1000px) { .pg-univ .mbar { display: none; } }
.pg-home .owl-peek, .pg-univ .owl-peek, .pg-home .owl-pal, .pg-univ .owl-pal, .pg-sheet .owl-pal { display: none !important; }

/* ================================================================
   シートのページ：白い面＋番号の丸＋黄色の「まずこの3つ」
   ================================================================ */
.pg-sheet .sh-hd h1 { font-weight: 900; letter-spacing: 0; }
.pg-sheet .sh-k a { color: var(--acc); }
.sh-use { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 14px 0; }
.sh-use-l li::before { content: counter(su); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font: 900 0.8rem/1 var(--jp); margin-top: 1px; }
.sh-use-l li { grid-template-columns: 32px 1fr; }
.sh-use-l b { font-weight: 900; }
.sh-use-l a.sh-dl { background: var(--acc); color: #fff; }
.sh-use-l a.sh-dl:hover { background: var(--navy); }
.sh-sub { border-top: 1px solid var(--line); }
.three-w { background: var(--mk-bg); border: 1px solid var(--mk); border-radius: var(--r); padding: 14px 14px 10px; }
.three-w li::before { content: counter(th); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font: 900 0.76rem/1 var(--jp); margin-top: 3px; }
.sh-univ { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 12px 0 0; font-size: 0.86rem; }
.sh-univ b { font-weight: 900; width: 100%; }
.sh-univ a { text-decoration: none; font-weight: 800; color: #fff; background: var(--navy); border-radius: 8px; padding: 8px 12px; }
:root[data-theme='dark'] .sh-univ a { background: var(--navy2); }
@media (min-width: 1000px) { .sh-univ { margin-left: 278px; } }
.sh-use-l a.sh-dl { white-space: nowrap; padding: 0 14px; }
