:root {
  /* 夜の神殿：紺の夜空に、帯状の青い窓と金の文字。文字以外の要素はすべて角ばったドット表現 */
  --night: #0a0d26;
  --win-1: #2a3cb4;
  --win-2: #2435a6;
  --win-3: #1f2f98;
  --win-4: #1b2a8b;
  --win-5: #17247c;
  --frame: #f4f1e6;
  --ink: #05060f;
  --gold: #f7cf4a;
  --text: #f4f1e6;
  --muted: #b9c0ec;
  --cyan: #7fe3ff;
  --px: 3px;
  --font-display: "DotGothic16", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --font-body: "DotGothic16", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  /* レイアウト：幅480pxの一列。窓（ウィンドウ）を縦に積むRPGのメニュー画面 */
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--night); color: var(--text); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
canvas { image-rendering: pixelated; image-rendering: crisp-edges; display: block; }
#backdrop { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#app { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; padding: 18px 16px 48px; }
.screen { display: flex; flex-direction: column; gap: 14px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── ドットの窓 ── */
.win {
  position: relative;
  margin: calc(var(--px) * 2);
  padding: 14px 16px;
  color: var(--text);
  background: linear-gradient(180deg, var(--win-1) 0 10%, var(--win-2) 10% 28%, var(--win-3) 28% 52%, var(--win-4) 52% 78%, var(--win-5) 78% 100%);
  box-shadow:
    calc(var(--px) * -1) 0 0 0 var(--fc, var(--frame)),
    var(--px) 0 0 0 var(--fc, var(--frame)),
    0 calc(var(--px) * -1) 0 0 var(--fc, var(--frame)),
    0 var(--px) 0 0 var(--fc, var(--frame)),
    calc(var(--px) * -1) calc(var(--px) * -1) 0 0 var(--ink),
    var(--px) calc(var(--px) * -1) 0 0 var(--ink),
    calc(var(--px) * -1) var(--px) 0 0 var(--ink),
    var(--px) var(--px) 0 0 var(--ink),
    calc(var(--px) * -2) 0 0 0 var(--ink),
    calc(var(--px) * 2) 0 0 0 var(--ink),
    0 calc(var(--px) * -2) 0 0 var(--ink),
    0 calc(var(--px) * 2) 0 0 var(--ink),
    inset 0 0 0 var(--px) rgba(120, 140, 255, 0.35);
}

/* ── ボタン ── */
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; color: var(--text);
  display: flex; align-items: center; gap: 10px; width: calc(100% - var(--px) * 4);
  text-align: left; min-height: 52px; padding: 12px 16px 12px 34px; line-height: 1.5;
}
.btn::before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 15px; height: 18px; margin-top: -9px;
  background: var(--cursor-img) no-repeat center / 100% 100%; image-rendering: pixelated; opacity: 0;
}
.btn:focus-visible { --fc: var(--gold); outline: none; }
.btn:focus-visible::before { opacity: 1; animation: blink 0.8s steps(1) infinite; }
@media (hover: hover) {
  .btn:hover { --fc: var(--gold); }
  .btn:hover::before { opacity: 1; animation: blink 0.8s steps(1) infinite; }
  .zcard:hover { box-shadow: inset 0 0 0 3px var(--gold), inset 0 -6px 0 0 var(--cat, #2c3590); }
}
.btn:active { transform: translateY(var(--px)); }
.btn.primary { font-size: 20px; min-height: 64px; color: var(--gold); justify-content: center; text-align: center; padding-left: 34px; }
.btn.small, .btn.tiny { min-height: 44px; font-size: 15px; padding: 8px 14px 8px 30px; }
.btn.tiny { width: auto; display: inline-flex; }
.btn-icon canvas { display: block; }
a.btn { text-decoration: none; }
@keyframes blink { 50% { opacity: 0; } }

/* ── タイトル ── */
.stage-frame { padding: 0; display: flex; justify-content: center; align-items: center; background: #0b0f30; overflow: hidden; }
.stage-frame canvas { margin: 0 auto; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 6px; }
.logo-main {
  font-size: clamp(44px, 14vw, 64px); line-height: 1.1; color: var(--gold); letter-spacing: 0.08em;
  text-shadow: 3px 3px 0 #7a3a10, 6px 6px 0 var(--ink);
}
.logo-sub { font-size: 17px; color: var(--cyan); letter-spacing: 0.2em; }
.lead { color: var(--muted); text-align: center; font-size: 15px; }
.dialog .speech { font-size: 16px; }
.speaker { display: block; color: var(--gold); font-weight: 400; margin-bottom: 2px; }
.speaker::after { content: "："; }
.menu { display: flex; flex-direction: column; gap: 6px; }

.parade { overflow: hidden; height: 84px; margin: 0 -16px; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: repeating-linear-gradient(90deg, #121641 0 12px, #10143a 12px 24px); position: relative; }
.parade-track { display: flex; gap: 10px; width: max-content; padding: 2px 10px; animation: parade 48s steps(240) infinite; }
.parade-track canvas { flex: none; }
@keyframes parade { to { transform: translateX(-50%); } }

/* ── 質問 ── */
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qcount { font-size: 20px; color: var(--muted); }
.qno { color: var(--gold); font-size: 28px; letter-spacing: 0.04em; }
.progress { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; padding: 0 6px; }
.progress .cell { aspect-ratio: 1; background: #0b0f30; box-shadow: inset 0 0 0 3px #2a3070; }
.progress .cell.done { background: var(--gold); box-shadow: inset 0 0 0 3px #b07e1e; }
.progress .cell.now { background: var(--cyan); box-shadow: inset 0 0 0 3px #2f8fb0; animation: blink 0.9s steps(1) infinite; }
.qbox { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; min-height: 128px; }
.qtext { font-size: 19px; line-height: 1.65; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice { min-height: 92px; padding: 12px 14px 12px 32px; align-items: center; gap: 12px; }
.choice-icon { flex: none; }
.choice-text { display: flex; flex-direction: column; gap: 2px; }
.choice-key { color: var(--cyan); font-size: 14px; letter-spacing: 0.1em; }
.choice-key::before { content: "えらぶ "; color: var(--muted); }
.choice-main { font-size: 18px; color: var(--text); }
.choice-sub { font-size: 14px; color: var(--muted); }
.choice.picked { --fc: var(--gold); }
.choice.flash { animation: flash 0.26s steps(2) 1; }
@keyframes flash { 50% { filter: brightness(1.8); } }
.hint { text-align: center; color: var(--muted); font-size: 14px; }
kbd { font-family: inherit; color: var(--gold); padding: 0 4px; box-shadow: inset 0 0 0 2px var(--gold); }

/* ── 占い中 ── */
.divine-screen { min-height: 70vh; justify-content: center; align-items: stretch; }
.crystal { margin: 20px auto 6px; }

/* ── 結果・図鑑 ── */
.result-kicker { text-align: center; color: var(--cyan); letter-spacing: 0.12em; font-size: 15px; }
.bubble {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%); z-index: 2;
  margin: 0; padding: 7px 12px; background: #f7f4ea; color: #1b1424;
  font-size: 15px; line-height: 1.55; text-align: center;
  box-shadow: -3px 0 0 0 #120e1c, 3px 0 0 0 #120e1c, 0 -3px 0 0 #120e1c, 0 3px 0 0 #120e1c;
}
.bubble .tail { position: absolute; top: 100%; left: 50%; margin-left: -9px; width: 18px; height: 9px; }
.bubble.wait { visibility: hidden; }
.bubble.pop { animation: pop 0.24s steps(3) 1; }
@keyframes pop { from { transform: translateX(-50%) scale(0.3); } }
.summary { margin-top: 14px; padding: 10px 13px; text-align: left; font-size: 16px; line-height: 1.75; background: #111b6e; box-shadow: inset 0 0 0 3px var(--gold); }
.summary b { color: var(--gold); font-weight: 400; }
.sum-you { display: block; margin-bottom: 6px; }
.guide-cap { text-align: center; font-size: 14px; color: var(--muted); margin-top: -6px; }
.guide-cap span { display: block; font-size: 13px; opacity: 0.85; }
.head-card { text-align: center; }
.badge {
  display: inline-block; padding: 2px 10px; color: #120e1c; background: var(--cat, var(--gold)); font-size: 14px;
  box-shadow: 0 -3px 0 0 var(--cat, var(--gold)), 0 3px 0 0 var(--cat, var(--gold)), 0 0 0 0 transparent;
  margin: 4px 0 8px;
}
.rname { font-size: clamp(26px, 8vw, 34px); color: var(--gold); line-height: 1.3; text-shadow: 3px 3px 0 var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.rname .nm, .rname .nm-sub { display: block; }
.rname .nm-sub { font-size: 0.68em; margin-top: 2px; }
.rname .nm.long { font-size: 0.8em; }
.ren { color: var(--muted); font-size: 14px; margin-top: 2px; }
.tagline { margin-top: 8px; font-size: 17px; }
.match { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 12px; }
.match-label { color: var(--cyan); }
.meter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.meter i { display: block; height: 16px; background: #0b0f30; box-shadow: inset 0 0 0 3px #2a3070; }
.meter i.on { background: var(--gold); box-shadow: inset 0 0 0 3px #b07e1e; }
.meter i.half { background: linear-gradient(90deg, var(--gold) 0 50%, #0b0f30 50%); box-shadow: inset 0 0 0 3px #b07e1e; }
.match-num { font-size: 30px; color: var(--gold); line-height: 1; }
.match-num small { font-size: 16px; }

.facts dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.facts dl > div { display: flex; flex-direction: column; gap: 0; }
.facts dt { color: var(--cyan); font-size: 14px; }
.facts dd { margin: 0; font-size: 15px; }

.sec h2, .sec h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--gold); margin-bottom: 8px; padding-bottom: 6px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 9px) left bottom / 100% 3px no-repeat; }
.sec p { font-size: 16px; }
.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rules li { position: relative; padding-left: 20px; font-size: 15px; }
.rules li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 9px; height: 9px; background: var(--gold); box-shadow: 3px 3px 0 #7a3a10; }
.note { --fc: #ffb35c; }
.note p { font-size: 15px; color: #ffe2b8; }

.status { display: flex; flex-direction: column; gap: 8px; }
.srow { display: grid; grid-template-columns: 5.2em 1fr 5.2em; gap: 8px; align-items: center; font-size: 14px; }
.srow .sl { text-align: right; color: var(--muted); }
.srow .sr2 { color: var(--muted); }
.srow .hot { color: var(--gold); }
.scells { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.scells i { display: block; height: 16px; background: #0b0f30; box-shadow: inset 0 0 0 3px #2a3070; position: relative; }
.scells i.mid { box-shadow: inset 0 0 0 3px #3a4290; }
.scells i.r { background: var(--gold); box-shadow: inset 0 0 0 3px #b07e1e; }
.scells i.u::after { content: ""; position: absolute; left: 50%; top: -9px; margin-left: -4px; width: 8px; height: 6px; background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 34%, 75% 34%, 75% 67%, 62% 67%, 62% 100%, 38% 100%, 38% 67%, 25% 67%, 25% 34%, 0 34%); }
.legend { display: flex; gap: 16px; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg-r::before { content: ""; width: 12px; height: 12px; background: var(--gold); box-shadow: inset 0 0 0 2px #b07e1e; }
.lg-u::before { content: ""; width: 8px; height: 6px; background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 34%, 75% 34%, 75% 67%, 62% 67%, 62% 100%, 38% 100%, 38% 67%, 25% 67%, 25% 34%, 0 34%); }

.cmp { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cmp li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cmp li.ng { color: var(--muted); }
.cmp-head { color: var(--cyan); font-size: 14px; margin: 10px 0 4px; }
.cmp-head:first-child { margin-top: 0; }

.others { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.others .btn { min-height: 76px; padding-left: 30px; }
.others canvas { flex: none; }
.others .on2 { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.others .on2 b { font-weight: 400; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.4; }
.others .on2 b .nm-sub { display: block; font-size: 14px; }
.others .on2 small { color: var(--cyan); font-size: 13px; }
.others .pc { color: var(--gold); font-size: 20px; flex: none; }

.actions { display: flex; flex-direction: column; gap: 6px; }
.topbar { display: flex; justify-content: space-between; align-items: center; }
.screen-title { font-size: 30px; color: var(--gold); text-align: center; text-shadow: 3px 3px 0 var(--ink); }

/* ── 図鑑 ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 4px 0; }
.chip { appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 14px; color: var(--text); background: #141a5c; padding: 6px 10px; min-height: 36px;
  box-shadow: inset 0 0 0 3px var(--cat, #6a74c8); }
.chip[aria-pressed="true"] { background: var(--cat, var(--gold)); color: #120e1c; }
.chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.zgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.zcard { appearance: none; border: 0; cursor: pointer; font: inherit; color: var(--text); width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; background: #121848;
  box-shadow: inset 0 0 0 3px #2c3590, inset 0 -6px 0 0 var(--cat, #2c3590); }
.zcard:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--gold), inset 0 -6px 0 0 var(--cat, #2c3590); }
.zname { font-size: 13px; line-height: 1.35; text-align: center; word-break: keep-all; overflow-wrap: anywhere; display: flex; flex-direction: column; }
.zname .nm-sub { font-size: 11px; color: var(--muted); }
.zcount { text-align: center; color: var(--muted); font-size: 14px; }

.fine { color: #8f97cf; font-size: 13px; line-height: 1.7; display: flex; flex-direction: column; gap: 6px; padding: 6px 4px 0; }
.fine a { color: var(--cyan); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10; width: max-content; max-width: calc(100% - 40px); padding: 10px 18px; }
.toast[hidden] { display: none; }

/* 短い文は行の長さをそろえ、日本語は文節で折り返す（対応ブラウザのみ） */
.bubble, .tagline, .lead, .cta-lead, .zname, .guide-cap, .btn { text-wrap: balance; }
.bubble, .tagline, .lead, .cta-lead { word-break: auto-phrase; }

@media (prefers-reduced-motion: reduce) {
  .parade-track, .progress .cell.now, .btn:hover::before, .btn:focus-visible::before { animation: none; }
  .choice.flash, .bubble.pop { animation: none; }
}
@media (min-width: 520px) {
  .zgrid { grid-template-columns: repeat(4, 1fr); }
}

/* ───────── 公開版（サイト）だけで使う部品 ───────── */
img.px, .stage-img, .zcard img, .others img { image-rendering: pixelated; image-rendering: crisp-edges; display: block; }

/* ヘッダー（図鑑ページなど） */
.site-head { position: relative; z-index: 2; max-width: 480px; margin: 0 auto; padding: 14px 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.site-logo { display: flex; flex-direction: column; color: var(--gold); text-decoration: none; font-size: 24px; line-height: 1.15; letter-spacing: 0.06em; text-shadow: 2px 2px 0 #7a3a10, 4px 4px 0 var(--ink); }
.site-logo small { font-size: 12px; color: var(--cyan); letter-spacing: 0.16em; text-shadow: none; }
.site-head .btn.tiny { margin: 6px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; color: var(--muted); padding: 0 4px; }
.crumbs a { color: var(--cyan); }

/* 静的ページの導き手 */
.static .stage-frame { min-height: 120px; }
.static .bubble { width: min(302px, calc(100% - 18px)); }
.stage-img { width: 320px; max-width: 100%; height: auto; margin: 0 auto; }
@media (max-width: 352px) { .stage-img { width: 256px; } }

/* 見出し・本文 */
.page-title { font-size: clamp(26px, 8vw, 32px); color: var(--gold); text-align: center; text-shadow: 3px 3px 0 var(--ink); line-height: 1.35; }
.sec .sub { font-size: 15px; color: var(--muted); }
.fit { font-size: 16px; }
.fit b { color: var(--gold); font-weight: 400; }
.fit-note { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* シェア・行動ボタン */
.share-row { display: flex; flex-direction: column; }
.btn.share { --fc: var(--cyan); justify-content: center; text-align: center; color: #ffffff; }
.btn.share .btn-icon { flex: none; }
.cta { text-align: center; }
.cta .cta-lead { font-size: 15px; margin-bottom: 8px; }
.cta .cta-lead b { color: var(--gold); font-weight: 400; }

/* 関連する宗教へのリンク */
.others a.btn { color: var(--text); }
.others .on2 small { display: block; }
.rel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
a.chip { text-decoration: none; display: inline-flex; align-items: center; color: var(--text); }
.rel-chips .chip { display: inline-flex; align-items: center; }
.chip.now { background: var(--cat, var(--gold)); color: #120e1c; }

/* 図鑑の一覧 */
a.zcard { text-decoration: none; }
.zsec h2 { flex-wrap: wrap; }
.zsec h2 small { margin-left: auto; font-size: 13px; color: var(--muted); }
.cat-dot { flex: none; width: 12px; height: 12px; background: var(--cat, var(--gold)); box-shadow: 2px 2px 0 var(--ink); }
.cat-desc { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.zsec { scroll-margin-top: 12px; }

/* 規約・説明ページ */
.prose h2 { font-size: 17px; }
.prose p, .prose li { font-size: 15px; line-height: 1.85; }
.prose p + p { margin-top: 8px; }
.prose ul, .prose ol { margin: 6px 0 0; padding-left: 1.3em; }
.prose li + li { margin-top: 4px; }
.prose a { color: var(--cyan); overflow-wrap: anywhere; }
.prose .small { font-size: 13px; color: var(--muted); }
.info { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.info > div { display: flex; flex-direction: column; }
.info dt { color: var(--cyan); font-size: 14px; }
.info dd { margin: 0; font-size: 15px; }
.xfer { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.xfer th, .xfer td { text-align: left; vertical-align: top; padding: 6px 8px; box-shadow: inset 0 -2px 0 #2a3070; }
.xfer th { color: var(--cyan); font-weight: 400; white-space: nowrap; }
.todo { display: inline-block; color: #ffd9a8; background: rgba(255, 150, 60, 0.14); box-shadow: inset 0 0 0 2px #ff9a3c; padding: 1px 6px; }
.updated { text-align: right; font-size: 13px; color: var(--muted); }

/* 広告枠（設定したときだけ表示） */
.ad-slot { margin: 6px 0; min-height: 100px; }
.ad-label { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 4px; letter-spacing: 0.1em; }

/* フッター */
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 14px; padding-bottom: 4px; }
.foot-nav a { color: var(--cyan); }
.fine .copy { text-align: center; padding-top: 4px; }

/* 404 */
.err-code { font-size: 64px; line-height: 1; color: var(--gold); text-align: center; text-shadow: 4px 4px 0 #7a3a10, 8px 8px 0 var(--ink); letter-spacing: 0.1em; }

/* みんなの診断結果 */
[data-stats][hidden], [data-total][hidden] { display: none; }
.stats-box .st-line { font-size: 16px; }
.stats-box b { color: var(--gold); font-weight: 400; white-space: nowrap; }
.stats-box .st-rank { margin-top: 6px; color: var(--cyan); font-size: 15px; }
.stats-box .btn { margin-top: 12px; }
.rare { display: inline-block; margin-left: 8px; padding: 0 6px; color: #120e1c; background: #ff7ce6; font-size: 13px; vertical-align: 2px; }
.stat-total { text-align: center; font-size: 14px; color: var(--muted); }
.stat-total b { color: var(--gold); font-weight: 400; font-size: 18px; }
.stat-total a { display: inline-block; margin-left: 10px; color: var(--cyan); }
.rank-total { text-align: center; font-size: 15px; margin-bottom: 12px; }
.rank-total b { color: var(--gold); font-weight: 400; font-size: 22px; }
.rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rank-list a { display: grid; grid-template-columns: 2em 32px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 10px 7px 8px; color: var(--text); text-decoration: none;
  background: #121848; box-shadow: inset 0 0 0 3px #2c3590, inset 7px 0 0 0 var(--cat, #2c3590); }
.rank-list .rk { text-align: center; color: var(--gold); font-size: 17px; }
.rank-list li:nth-child(-n+3) .rk { font-size: 22px; text-shadow: 2px 2px 0 var(--ink); }
.rank-list .rn { display: flex; flex-direction: column; min-width: 0; }
.rank-list .rn small { color: var(--cyan); font-size: 12px; line-height: 1.3; }
.rank-list .rn b { font-weight: 400; font-size: 14px; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.rbar { display: block; height: 8px; margin-top: 4px; background: #0b0f30; box-shadow: inset 0 0 0 2px #2a3070; }
.rbar i { display: block; height: 100%; background: var(--gold); }
.rank-list .rp { text-align: right; color: var(--gold); font-size: 16px; line-height: 1.2; }
.rank-list .rp small { display: block; color: var(--muted); font-size: 11px; }
@media (hover: hover) { .rank-list a:hover { box-shadow: inset 0 0 0 3px var(--gold), inset 7px 0 0 0 var(--cat, #2c3590); } }
.small-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
