/* 星読み — 見た目 */

:root {
  --bg: #fbf8f3;
  --panel: #ffffff;
  --ink: #241f1a;
  --ink-soft: #5d554c;
  --ink-faint: #8d8479;
  --line: #e4ddd2;
  --accent: #2f3a6b;
  --accent-soft: #eceef7;
  --warm: #b4622f;
  --warm-soft: #fbeee5;
  --fire: #d2705a;
  --earth: #7d8f5e;
  --air: #6f8bb5;
  --water: #6f7fa8;
  --hard: #c46a5a;
  --soft: #6f8bb5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(36, 31, 26, .05), 0 8px 24px rgba(36, 31, 26, .05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17151a;
    --panel: #201d24;
    --ink: #ece7e0;
    --ink-soft: #b6ada2;
    --ink-faint: #8a8178;
    --line: #322d38;
    --accent: #a8b6e8;
    --accent-soft: #262437;
    --warm: #e0956a;
    --warm-soft: #2e2520;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 18px 96px; }

.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; padding-top: 24px; font-size: 13.5px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.site-nav a:hover { color: var(--ink); border-color: var(--accent); }

/* ---------- ヘッダ ---------- */
header.top { padding: 44px 0 8px; }
header.top h1 {
  font-size: 30px; line-height: 1.35; margin: 0 0 6px;
  font-weight: 700; letter-spacing: .04em;
}
header.top .sub { color: var(--ink-soft); font-size: 15px; margin: 0; }

.pitch {
  margin: 22px 0 0; padding: 16px 18px;
  background: var(--accent-soft); border-radius: var(--radius);
  font-size: 14.5px; line-height: 1.8; color: var(--ink-soft);
}
.pitch b { color: var(--ink); font-weight: 600; }
.pitch ul { margin: 8px 0 0; padding-left: 1.2em; }
.pitch li { margin: 2px 0; }

.compatibility-link {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 12px;
  margin-top: 14px; padding: 14px 16px; color: var(--ink); text-decoration: none;
  background: var(--panel); border: 1px solid var(--accent); border-radius: 12px;
  box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease;
}
.compatibility-link:hover { transform: translateY(-1px); border-color: var(--warm); }
.compatibility-link > span {
  grid-row: 1 / 3; padding: 4px 9px; color: var(--panel); background: var(--accent);
  border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
}
.compatibility-link > b { font-size: 16px; }
.compatibility-link > small { color: var(--ink-soft); line-height: 1.5; }

/* ---------- パネル ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin: 24px 0;
  box-shadow: var(--shadow);
}
.panel > h2 {
  margin: 0 0 4px; font-size: 19px; letter-spacing: .03em;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.panel > h2 .step {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: var(--panel); background: var(--accent);
  border-radius: 999px; padding: 3px 10px; line-height: 1.5;
}
.panel > .lead { margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; }

/* ---------- フォーム ---------- */
.field { margin: 0 0 16px; }
.field > label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; line-height: 1.65; }

input[type="number"], input[type="date"], select {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 16px;
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 9px;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }

.check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 5px; flex: none; width: 17px; height: 17px; accent-color: var(--accent); }

button.go {
  width: 100%; margin-top: 8px; padding: 15px; font: inherit; font-size: 16.5px; font-weight: 700;
  letter-spacing: .08em; color: var(--on-accent, #fff); background: var(--accent);
  border: 0; border-radius: 10px; cursor: pointer;
}
button.go:hover { filter: brightness(1.12); }

.err {
  margin-top: 12px; padding: 11px 13px; border-radius: 9px;
  background: var(--warm-soft); color: var(--warm); font-size: 14px;
}
.err:empty { display: none; }

/* ---------- 結果 ---------- */
#result { display: none; }
#result.on { display: block; }

.stamp { font-size: 13px; color: var(--ink-faint); margin: 0 0 16px; }

.big {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 20px; margin: 0 0 14px; background: var(--bg);
}
.big .who { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--warm); margin: 0 0 2px; }
.big .what { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 10px; }
.big .sign { font-size: 23px; font-weight: 700; margin: 0 0 2px; letter-spacing: .03em; }
.big .catch { font-size: 15.5px; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.big .body { font-size: 14.5px; margin: 0; color: var(--ink-soft); }

/* ---------- チャート ---------- */
.chartbox { margin: 4px 0 0; }
.chartbox svg { display: block; width: 100%; height: auto; }
.chartnote { font-size: 12.5px; color: var(--ink-faint); text-align: center; margin: 6px 0 0; }
.togglerow { display: flex; justify-content: center; gap: 18px; font-size: 13px; margin: 10px 0 0; }

/* ---------- 表 ---------- */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 460px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }
td.num { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
tr.gen td { color: var(--ink-faint); }
.retro { color: var(--warm); font-size: 12px; margin-left: 4px; }

/* ---------- 天体ごとの読み ---------- */
details.read {
  border: 1px solid var(--line); border-radius: 11px;
  margin: 0 0 9px; background: var(--bg); overflow: hidden;
}
details.read > summary {
  cursor: pointer; padding: 13px 15px; font-size: 15px; font-weight: 600;
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  list-style: none;
}
details.read > summary::-webkit-details-marker { display: none; }
details.read > summary::after { content: '＋'; margin-left: auto; color: var(--ink-faint); font-weight: 400; }
details.read[open] > summary::after { content: '−'; }
details.read > summary .pos { font-weight: 400; font-size: 13.5px; color: var(--ink-soft); }
details.read .inner { padding: 0 15px 16px; font-size: 14.5px; color: var(--ink-soft); }
details.read .inner p { margin: 0 0 10px; }
details.read .inner p:last-child { margin-bottom: 0; }
details.read .three {
  display: grid; grid-template-columns: 4.5em 1fr; gap: 3px 10px;
  font-size: 13.5px; margin: 0 0 12px; padding: 11px 13px;
  background: var(--accent-soft); border-radius: 9px;
}
details.read .three dt { color: var(--ink-faint); }
details.read .three dd { margin: 0; color: var(--ink); }

/* ---------- アスペクト ---------- */
ul.asp { list-style: none; margin: 0; padding: 0; }
ul.asp li {
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
}
ul.asp li:last-child { border-bottom: 0; }
.tag {
  flex: none; font-size: 12.5px; font-weight: 700; border-radius: 6px;
  padding: 2px 9px; line-height: 1.7;
}
.tag.hard { background: var(--warm-soft); color: var(--hard); }
.tag.soft { background: var(--accent-soft); color: var(--soft); }
.tag.strong { background: var(--accent); color: var(--on-accent, #fff); }
ul.asp .pair { font-weight: 600; flex: none; }
ul.asp .mean { color: var(--ink-soft); font-size: 13.5px; flex: 1 1 100%; }
ul.asp .orb { font-size: 12px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* ---------- バランス ---------- */
.bars { margin: 0 0 18px; }
.bar { display: grid; grid-template-columns: 11em 1fr 2.2em; gap: 10px; align-items: center; margin: 0 0 7px; font-size: 13.5px; }
.bar .track { height: 9px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 999px; }
.bar .n { text-align: right; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.balnote { font-size: 14px; color: var(--ink-soft); margin: 0 0 8px; }

/* ---------- 気になるところ（テーマ別） ---------- */
.themepick { display: flex; gap: 9px; flex-wrap: wrap; }
.themebtn {
  font: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: .04em;
  padding: 13px 20px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--bg); color: var(--ink); cursor: pointer;
}
.themebtn:hover { border-color: var(--accent); }
.themebtn.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #fff); }

.thbox {
  border: 1px solid var(--line); border-radius: 11px;
  padding: 14px 16px; margin: 0 0 10px; background: var(--bg);
}
.thbox-t { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.thbox-ex { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 9px; line-height: 1.75; }
.thbox-b { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 8px; line-height: 1.9; }
.thbox-b:last-child { margin-bottom: 0; }

/* ---------- 東洋側の小さい図 ---------- */

/* 五行のバーの見出し。アイコンは文字の補助なので、必ず文字と並べる。 */
.bar-head { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bar-head svg { flex: none; }
.bar-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 九星の方位盤。上が南、下が北（気学の向き）。 */
.compass-box { margin: 12px 0 4px; }
.compass {
  display: grid; grid-template-columns: repeat(3, 62px); grid-template-rows: repeat(3, 42px);
  gap: 4px; width: fit-content;
}
.compass-cell {
  border: 1px solid var(--line); border-radius: 7px;
  display: grid; place-items: center;
  font-size: 12px; color: var(--ink-faint); background: var(--panel);
}
.compass-cell.is-here {
  border-color: var(--warm); border-width: 2px;
  background: var(--warm-soft); color: var(--warm); font-weight: 700;
}
.compass-cap { font-size: 11.5px; color: var(--ink-faint); margin-top: 7px; }

/* 勢いの段階グラフ */
.unsei-box { margin: 12px 0 0; }
.unsei-box svg { display: block; max-width: 320px; }
.unsei-box .chartnote { margin-top: 2px; }

/* ---------- 用語 ---------- */
dl.gloss { margin: 0; font-size: 14px; }
dl.gloss dt { font-weight: 700; margin: 14px 0 2px; }
dl.gloss dt:first-child { margin-top: 0; }
dl.gloss dd { margin: 0; color: var(--ink-soft); }

/* ---------- 読み口の切り替え ---------- */
.tonebar {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 8px; padding: 5px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); width: fit-content;
}
.tone-label {
  font-size: 12px; color: var(--ink-faint); letter-spacing: .1em;
  padding: 0 8px 0 10px;
}
.tonebtn {
  font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .06em;
  padding: 7px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-soft);
}
.tonebtn:hover { color: var(--ink); }
.tonebtn.on { background: var(--accent); color: var(--on-accent, #fff); }
.tonebtn.on[data-tone="spicy"] { background: var(--hard); }
.tonebtn.on[data-tone="gag"] { background: var(--warm); }
.tonenote {
  font-size: 12.5px; color: var(--ink-faint); margin: 0 0 14px; line-height: 1.75;
}

/* 毒舌版の最後に付く一本道。ここが無いとただの悪口になるので、目立たせる。 */
.big .body.out {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--accent); font-weight: 600;
}

/* ---------- タブ ---------- */
.tabs {
  display: flex; gap: 6px; margin: 0 0 4px;
  border-bottom: 1px solid var(--line); padding-bottom: 0;
}
.tab {
  flex: 1; padding: 12px 8px; font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--ink-faint); background: transparent; border: 0;
  border-bottom: 2.5px solid transparent; cursor: pointer; letter-spacing: .04em;
}
.tab:hover { color: var(--ink-soft); }
.tab.on { color: var(--accent); border-bottom-color: var(--accent); }

.pane { display: none; }
.pane.on { display: block; }

/* ---------- 命盤（紫微斗数） ---------- */
.meiban {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px;
  margin: 4px 0 10px;
}
.meiban-cell {
  border: 1px solid var(--line); border-radius: 9px; padding: 8px 7px;
  background: var(--bg); min-height: 92px; position: relative;
}
.meiban-cell.is-mei { border-color: var(--accent); border-width: 2px; background: var(--accent-soft); }
.meiban-cell.is-shin { border-style: dashed; border-color: var(--warm); }
.mb-shi {
  position: absolute; top: 6px; right: 8px;
  font-size: 12px; color: var(--ink-faint); font-weight: 700;
}
.mb-name { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 4px; }
.mb-stars { display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.mb-empty { color: var(--ink-faint); font-weight: 400; }
.meiban-center {
  border: 1px solid var(--line); border-radius: 9px; padding: 12px;
  background: var(--panel); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px; text-align: center;
}
.mc-title { font-size: 12px; letter-spacing: .2em; color: var(--ink-faint); margin-bottom: 4px; }
.mc-line { font-size: 13px; color: var(--ink-soft); }

/* ---------- 東西の対照 ---------- */
.cmp {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin: 0 0 12px; background: var(--bg);
}
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp-side {
  padding: 11px 13px; border-radius: 10px; background: var(--panel);
  border: 1px solid var(--line);
}
.cmp-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--warm); margin-bottom: 3px;
}
.cmp-label { font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
.cmp-val { font-size: 17px; font-weight: 700; margin-top: 3px; letter-spacing: .02em; }
.cmp-note { font-size: 13.5px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.8; }
.cmp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp-half { min-width: 0; }
.cmp-h { font-size: 13.5px; margin: 0 0 10px; color: var(--ink-soft); font-weight: 700; }

/* ---------- 折りたたみ（もっと知りたい人だけ） ---------- */
details.fold {
  border-top: 1px solid var(--line);
  margin: 0;
}
details.fold:last-of-type { border-bottom: 1px solid var(--line); }
details.fold > summary {
  cursor: pointer; padding: 15px 2px; font-size: 15.5px; font-weight: 600;
  list-style: none; display: flex; align-items: center; gap: 10px;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after {
  content: '＋'; margin-left: auto; color: var(--ink-faint); font-weight: 400; font-size: 17px;
}
details.fold[open] > summary::after { content: '−'; }
details.fold > summary:hover { color: var(--accent); }
.fold-in { padding: 0 0 20px; }
.fold-in > .lead { margin-top: 0; }
.fold-in > .panel { border: 0; box-shadow: none; padding: 0; margin: 0; background: transparent; }

/* ---------- 2026年 ---------- */
.y-body { font-size: 15px; margin: 0 0 16px; line-height: 1.95; }
.y-lead { font-size: 13px; color: var(--warm); font-weight: 600; margin: 0 0 10px; }
.y-you {
  margin: 12px 0 0; padding: 12px 14px; border-radius: 10px;
  background: var(--accent-soft); font-size: 14.5px; line-height: 1.85;
  border-left: 3px solid var(--accent);
}
.y-warn {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 10px;
  background: var(--warm-soft); color: var(--warm); font-size: 14px; line-height: 1.85;
}
.y-closing { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }
.y-hit { color: var(--warm) !important; }

.y-facts { display: grid; gap: 8px; }
.y-fact {
  display: grid; grid-template-columns: 6.5em 1fr auto; gap: 10px; align-items: baseline;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
}
.y-date { font-weight: 700; font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums; }
.y-what { font-size: 14.5px; font-weight: 600; }
.y-cycle { font-size: 12px; color: var(--ink-faint); white-space: nowrap; }

.y-highlight {
  margin: 16px 0 0; padding: 18px; border-radius: var(--radius);
  border: 2px solid var(--accent); background: var(--accent-soft);
}
.y-hl-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: .03em; }
.y-highlight p { font-size: 14.5px; margin: 0 0 10px; line-height: 1.9; }
.y-highlight p:last-child { margin-bottom: 0; }

/* 星座を選ぶ（単体ページ） */
.signgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.signbtn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 0; padding: 8px 4px 11px; font: inherit; cursor: pointer;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--bg); color: var(--ink);
}
.signbtn:hover { border-color: var(--accent); }
.signbtn.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #fff); }
.sign-mascot-thumb {
  display: block; width: 74px; height: 74px; margin-bottom: 2px;
  object-fit: contain; pointer-events: none;
  filter: drop-shadow(0 3px 3px rgb(31 23 46 / .12));
}
.sb-name { font-size: 14.5px; font-weight: 700; }
.sb-el { font-size: 11px; opacity: .65; }

/* 星座だけで読む毒舌診断 */
.quick-panel { border-top: 4px solid var(--warm); }
.quick-result { margin-top: 20px; scroll-margin-top: 16px; }
.quick-main {
  display: flow-root;
  border-color: color-mix(in srgb, var(--warm) 45%, var(--line));
}
.quick-character {
  float: right; width: clamp(126px, 25%, 178px); margin: -8px -2px 8px 18px;
}
.quick-character img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 8px 8px rgb(31 23 46 / .13));
}
.quick-main .sign { color: var(--accent); margin-bottom: 12px; }
.quick-details {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px; margin: 0 0 14px;
}
.quick-detail {
  padding: 16px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--bg);
}
.quick-detail h3 { margin: 0 0 7px; font-size: 15px; color: var(--accent); }
.quick-copy { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.quick-sentence { display: block; margin-top: 5px; }
.quick-sentence:first-child { margin-top: 0; color: var(--ink); font-weight: 600; }
.quick-main .quick-copy { margin-top: 10px; }
.quick-main .quick-sentence:first-child { color: var(--ink-soft); font-weight: 400; }
.quick-year {
  padding: 18px; margin: 0 0 14px; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid var(--line);
}
.quick-year .quick-kicker {
  margin: 0 0 3px; color: var(--warm); font-size: 12px;
  font-weight: 700; letter-spacing: .12em;
}
.quick-year h3 { margin: 0 0 9px; font-size: 18px; }
.quick-year p { margin: 0 0 9px; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.quick-year .quick-copy { margin-bottom: 12px; }
.quick-year .quick-out { margin: 0; padding-top: 9px; border-top: 1px dashed var(--line); }
.quick-more { margin-top: 0 !important; background: var(--warm) !important; }
#detail-form { scroll-margin-top: 16px; }

a.biglink {
  display: inline-block; padding: 13px 22px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent, #fff); text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: .05em;
}
a.biglink:hover { filter: brightness(1.12); }

footer.foot {
  margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-faint); line-height: 1.9;
}
footer.foot a { color: var(--ink-soft); }

@media (max-width: 560px) {
  header.top { padding-top: 30px; }
  header.top h1 { font-size: 25px; }
  .panel { padding: 18px 15px; }
  .row { flex-wrap: wrap; }
  .bar { grid-template-columns: 8.5em 1fr 2.2em; font-size: 13px; }
  .tab { font-size: 13.5px; padding: 11px 4px; letter-spacing: 0; }
  .cmp-grid { grid-template-columns: 1fr; gap: 8px; }
  .cmp-two { grid-template-columns: 1fr; gap: 14px; }
  .cmp { padding: 13px; }
  .cmp-val { font-size: 16px; }
  .meiban { gap: 4px; }
  .meiban-cell { padding: 6px 5px; min-height: 78px; border-radius: 7px; }
  .mb-name { font-size: 11px; }
  .mb-stars { font-size: 12px; }
  .mb-shi { font-size: 11px; top: 4px; right: 5px; }
  .mc-line { font-size: 11.5px; }
  .signgrid { grid-template-columns: repeat(3, 1fr); }
  .compass { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 40px); width: 100%; }
  .compass-cell { font-size: 11.5px; }
  .bar-head span { font-size: 12.5px; }
  .sign-mascot-thumb { width: 60px; height: 60px; }
  .quick-character {
    float: none; width: min(170px, 58%); margin: -4px auto 12px;
  }
  .quick-details { grid-template-columns: 1fr; }
  .y-fact { grid-template-columns: 5.5em 1fr; }
  .y-cycle { grid-column: 1 / -1; }
  .y-highlight { padding: 14px; }
}
