:root {
  --blue: #3461ad;
  --blue-deep: #232642;
  --blue-pale: #e8f0f9;
  --milk: #f7f9fc;
  --ink: #232642;
  --muted: #6b778c;
  --coral: #e8606a;
  --pink: #d51380;
  --white: #fff;
  --line: #dde5ef;
  --done: #2f9e6f;
  --maru: "Zen Maru Gothic", sans-serif;
  --kaku: "Zen Kaku Gothic New", sans-serif;
  --mincho: "Hiragino Mincho StdN", "ヒラギノ明朝 StdN", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Noto Serif JP", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--kaku); color: var(--ink); background: #dfe8f2; -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.device { position: relative; width: 100%; height: 100dvh; overflow: hidden; background: var(--milk); }
@media (min-width: 640px) {
  body { display: flex; align-items: center; justify-content: center; gap: 48px; }
  .device { width: 390px; height: min(844px, calc(100dvh - 48px)); border-radius: 44px; box-shadow: 0 0 0 10px #1c2a40, 0 30px 80px rgba(23, 63, 110, .35); }
}

/* ---------- FV ---------- */
.fv { position: absolute; inset: 0; z-index: 30; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; text-align: center;
  background: radial-gradient(circle at 50% 40%, #fff 0, #fbfaf6 45%, #f1efe8 100%); transition: opacity .7s ease, transform .9s cubic-bezier(.7, 0, .2, 1); }
.fv::-webkit-scrollbar { display: none; }
.fv-hero { position: relative; min-height: 100%; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
/* 言葉の位置と大きさは KV に対する割合（fv-words.js）。--ku は KV の幅の1%、--kh は KV の高さ。
   画面が KV より縦長なら幅に、横長なら高さに合わせる */
.fv-words { position: absolute; inset: 0; pointer-events: none; container-type: size; --ku: min(1cqw, .687cqh); --kh: calc(var(--ku) * 145.6); }
.fv-words span { position: absolute; left: var(--x); top: calc(var(--ya) + var(--yo) * var(--kh) / 100); font-size: calc(var(--s) * var(--ku)); line-height: var(--lh, 1.5); letter-spacing: .06em; text-align: start;
  writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 600; color: var(--blue); white-space: pre; animation: rise 1.2s ease both, drift 10s ease-in-out infinite alternate; }
.fv-words span.h { writing-mode: horizontal-tb; }
.fv-words span:not(.h):not(.tone-light) { letter-spacing: .12em; }
.fv-words .tone-dark { opacity: .95; }
.fv-words .tone-mid { opacity: .68; }
.fv-words .tone-light { opacity: .3; }
.fv-words .only-pc { display: none; }
@media (min-width: 1024px) {
  .fv-words { --ku: min(1cqw, 1.777cqh); --kh: calc(var(--ku) * 56.27); }
  .fv-words .only-sp { display: none; }
  .fv-words .only-pc { display: block; }
}
@keyframes rise { from { opacity: 0; translate: 0 16px; } }
@keyframes drift { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

.fv-top { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; padding: 20px 18px 0; }
.fv-mark { width: 84px; height: auto; animation: rise .8s .2s ease both; }

.fv-main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 2vh 0 3vh; }
.emblem { position: relative; width: min(86%, 340px); aspect-ratio: 650 / 559; }
.emblem::before { content: ""; position: absolute; inset: -16% -12%; border-radius: 50%; background: radial-gradient(circle, #fff 30%, rgba(255, 255, 255, 0) 68%); }
.emblem-ring { position: absolute; left: 50%; top: 52%; width: 122%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px dashed rgba(35, 38, 66, .14); animation: turn 60s linear infinite; }
.emblem-ring::after { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1px solid rgba(52, 97, 173, .1); }
@keyframes turn { to { transform: rotate(360deg); } }
.emblem-logo { position: absolute; inset: 0; width: 100%; height: 100%; }
.twinkle { position: absolute; font-size: 14px; line-height: 1; color: var(--blue); animation: twinkle 2.6s ease-in-out infinite; }
.twinkle.t1 { left: -4%; top: 30%; animation-delay: -.4s; }
.twinkle.t2 { right: -6%; top: 62%; font-size: 10px; color: var(--pink); animation-delay: -1.3s; }
.twinkle.t3 { left: 12%; bottom: -6%; font-size: 9px; animation-delay: -2s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(20deg); } }

.fv-scroll { position: relative; margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); animation: rise .8s 1.6s ease both; }
.fv-scroll::after { content: ""; display: block; width: 1px; height: 22px; margin: 6px auto 0; background: var(--muted); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.fv-statement { position: relative; padding: 48px 28px 40px; background: rgba(255, 255, 255, .7); }
.fv-statement h2 { font-family: var(--maru); font-weight: 900; font-size: 22px; line-height: 1.5; letter-spacing: .04em; color: var(--blue); }
.fv-statement p { margin-top: 1.2em; word-break: auto-phrase; font-family: var(--maru); font-weight: 500; font-size: 14px; line-height: 2; text-align: left; color: var(--ink); }
.fv-statement h2 + p { margin-top: 1.6em; }
.fv-survey { margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--line); text-align: left; font-size: 12px; line-height: 1.8; color: var(--muted); }
.fv-survey dt { font-weight: 700; }

/* ---------- ヘッダー ---------- */
.hud { position: absolute; z-index: 10; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 18px;
  background: linear-gradient(rgba(251, 250, 246, .97) 62%, rgba(251, 250, 246, 0)); }
.hud-logo { display: block; width: 88px; transition: transform .2s; }
.hud-logo img { width: 100%; height: auto; }
.hud-logo:active { transform: scale(.96); }
.hud-progress { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--white); box-shadow: 0 1px 0 rgba(35, 38, 66, .06), 0 6px 18px rgba(35, 38, 66, .1); }
.hud-ring { position: relative; display: grid; place-items: center; }
.hud-count { position: relative; font-family: var(--maru); font-weight: 900; line-height: 1; color: var(--ink); }
.hud-count b { font-size: 19px; letter-spacing: -.02em; }
.hud-count span { font-size: 12px; color: var(--muted); }
.hud-label { text-align: left; font-size: 12px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.hud-label small { display: block; font-size: 10px; letter-spacing: .22em; color: var(--muted); }

/* ---------- カード ---------- */
.card { position: absolute; left: 0; top: 0; width: 128px; height: 176px; transform-origin: 50% 50%; will-change: transform, opacity; text-align: left;
  border-radius: 20px; padding: 0; border: 2px solid transparent;
  background:
    linear-gradient(170deg, #fff 0%, #fbfaf6 55%, #f2efe7 100%) padding-box,
    conic-gradient(from 200deg, #dfe9f7, #f6dbe6, #fff4d9, #d9f1ea, #dfe9f7) border-box;
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .95), inset 0 -6px 10px rgba(120, 100, 60, .07), 0 12px 22px rgba(23, 63, 110, .18), 0 2px 4px rgba(23, 63, 110, .12); }
.face { display: flex; flex-direction: column; height: 100%; padding: 8px 9px 9px; }
.head { display: flex; align-items: center; gap: 5px; min-width: 0; }
.card .no { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--maru); font-weight: 900; font-size: 10.5px; color: var(--white); background: var(--blue); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.card .cat { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 8.5px; font-weight: 700; color: var(--c); }
.art { display: block; margin-top: 6px; height: 74px; border-radius: 12px; overflow: hidden; background: #f5f2eb; box-shadow: inset 0 1px 3px rgba(80, 60, 30, .08); }
.art img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card .big { margin-top: 5px; font-family: var(--maru); font-weight: 900; font-size: 25px; line-height: 1; letter-spacing: -.02em; color: var(--blue); }
.card .big small { margin-left: 1px; font-size: 12px; letter-spacing: 0; }
.card .ttl { margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 10px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.check { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; display: none; place-items: center; background: var(--white); box-shadow: 0 2px 6px rgba(23, 63, 110, .25); }
.check::before { content: ""; width: 9px; height: 5px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: translateY(-1px) rotate(-45deg); }
.card.read .check { display: grid; animation: stamp .4s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes stamp { from { transform: scale(1.8); opacity: 0; } }
.card.read .art img { filter: saturate(.75); }

/* ---------- 記事の本文とピックアップのスライダー ---------- */
.vb-lead { margin-top: 8px; font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1.6; color: var(--ink); }
.vb-body { margin-top: 14px; font-size: 14px; line-height: 1.9; }

.slider { position: relative; margin: 16px -18px 0; }
.slides { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 18px 6px; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 88%; scroll-snap-align: center; background: #f3f6fb; border-radius: 18px; padding: 14px 14px 12px; }
.slide h3 { font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1.5; white-space: pre-line; }
.slide .q { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: width var(--t-base) var(--ease), background-color var(--t-base) var(--ease); }
.dots i.on { width: 18px; background: var(--blue); }


/* ---------- 閲覧済みカードの一覧 ---------- */
.collection { position: absolute; inset: 0; z-index: 50; display: flex; flex-direction: column; background: rgba(244, 246, 250, .97); backdrop-filter: blur(6px); animation: fade var(--t-base) var(--ease) both; }
.col-head { display: flex; align-items: center; gap: 12px; padding: 18px 16px 10px; }
.col-title { flex: 1; text-align: left; font-family: var(--maru); font-weight: 900; font-size: 18px; color: var(--blue); line-height: 1.3; }
.col-title small { display: block; font-family: var(--kaku); font-size: 10px; letter-spacing: .22em; color: var(--muted); }
.col-count { font-family: var(--maru); font-weight: 900; font-size: 13px; color: var(--muted); }
.col-count b { font-size: 24px; color: var(--blue); }
.col-grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, 160px); justify-content: center; gap: 22px 16px; padding: 14px 16px 32px; }
/* 一覧と同じカードを、少し大きく並べる */
.col-grid .card { position: relative; zoom: 1.25; will-change: auto; }
.col-grid .card:not(.read) { filter: grayscale(.5); opacity: .7; }
.col-grid .card:active { transform: scale(.97); }
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 記事の本文 ---------- */
.vb-body p + p { margin-top: .9em; }
.slider { padding-top: 6px; }
.pk-cow { position: absolute; z-index: 2; top: -14px; right: 14px; width: 44px; transform: rotate(8deg); }
.pk-say { position: absolute; z-index: 2; top: -8px; right: 60px; padding: 3px 9px; border-radius: 99px; font-family: var(--maru); font-weight: 700; font-size: 12px; color: var(--white); background: var(--pink); }
.pk { display: flex; flex-direction: column; }
.pk h3 { padding-right: 34px; font-family: var(--maru); font-weight: 700; font-size: 14px; line-height: 1.55; color: var(--ink); }
.pk h3 em { font-style: normal; font-weight: 900; font-size: 1.45em; color: var(--blue); }
.pk-vis { display: grid; place-items: center; height: 132px; margin-top: 4px; }
.pk-donut { width: 152px; height: 152px; }
.pk-donut circle { animation: draw .8s var(--ease) both; }
@keyframes draw { from { stroke-dasharray: 0 999; } }
.pk-donut-k { font-size: 11px; font-weight: 700; fill: var(--muted); }
.pk-donut-v { font-family: var(--maru); font-weight: 900; font-size: 25px; fill: var(--blue); }
.pk-people { display: flex; align-items: flex-end; gap: 8px; }
.pk-person { position: relative; width: 44px; }
.pk-person svg { display: block; fill: #d5dce7; }
.pk-person.on { width: 58px; }
.pk-person.on svg { fill: var(--blue); }
.pk-person i { position: absolute; top: -6px; right: -12px; font-style: normal; font-size: 22px; color: var(--pink); animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } }
.pk-people p { margin-left: 8px; font-family: var(--maru); font-weight: 900; font-size: 13px; color: var(--blue); line-height: 1; }
.pk-people p b { font-size: 32px; }
.pk-people p small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.stack { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: #e8ecf2; }
.stack i { height: 100%; }
.pk .stack { margin-top: 8px; }

/* 詳しいデータ：記事の中で右からスライドして出る */
.vb-detail { position: absolute; inset: 0; z-index: 3; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: #fbfaf6; transform: translateX(102%); transition: transform var(--t-slow) var(--ease); }
.vb-detail::-webkit-scrollbar { display: none; }
.vb-detail-in { padding: 16px 16px 24px; }
.vd-kicker { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.vd-q { display: flex; gap: 8px; margin-top: 6px; font-family: var(--maru); font-weight: 900; font-size: 15px; line-height: 1.5; color: var(--ink); }
.vd-q span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--white); background: var(--ink); }
.vd-base { margin-top: 6px; font-size: 12px; color: var(--muted); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 10px 0 12px; font-size: 12px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 4px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; }
.qd { margin-top: 8px; border-radius: 14px; background: var(--white); box-shadow: 0 1px 0 rgba(35, 38, 66, .05), 0 3px 10px rgba(35, 38, 66, .06); }
.qd summary { display: flex; align-items: center; gap: 10px; padding: 11px 12px; list-style: none; cursor: pointer; }
.qd summary::-webkit-details-marker { display: none; }
.qd summary::after { content: "＋"; flex: none; font-weight: 900; color: var(--blue); }
.qd[open] summary::after { content: "－"; }
.qd-item { flex: 1; font-size: 13px; font-weight: 700; line-height: 1.5; }
.qd-top { flex: none; font-family: var(--maru); font-weight: 900; font-size: 12px; color: var(--blue); }
.qd-top b { font-size: 18px; }
.qd-cap { margin: 8px 12px 0; font-size: 12px; color: var(--muted); text-align: right; }
.qd-rows { list-style: none; display: grid; gap: 7px; padding: 6px 12px 14px; }
.qd-row { display: none; grid-template-columns: 62px 1fr 30px; align-items: center; gap: 8px; }
.qd .g-total, .qd[data-g="sex"] .g-sex, .qd[data-g="age"] .g-age, .qd[data-g="sexage"] .g-sexage { display: grid; }
.qd-label { font-size: 13px; font-weight: 700; line-height: 1.2; }
.qd-label small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.qd-row b { font-family: var(--maru); font-weight: 900; font-size: 13px; text-align: right; color: var(--blue); }
.qd-row.g-total { padding-bottom: 7px; border-bottom: 1px dashed var(--line); }

/* ---------- ピックアップの図（contents.js の vis ごと） ---------- */
.slider.single .slides { padding-right: 18px; }
.slider.single .slide { flex-basis: 100%; }
.pk h3 { white-space: normal; word-break: auto-phrase; text-wrap: pretty; }
.pk-quotes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pk-quotes li { padding: 6px 11px; border-radius: 99px; font-family: var(--maru); font-weight: 700; font-size: 13px; line-height: 1.4; color: var(--blue); background: var(--white); box-shadow: 0 1px 0 rgba(35, 38, 66, .06); }
.pk-rank { margin-top: 8px; }
/* 1位：写真と大きな数字で目立たせる */
.pk-rank-first { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed #d9dee7; }
.pk-photo { width: 84px; height: auto; border-radius: 10px; }
.pk-rank-top { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 6px; align-items: center; }
.pk-rank-badge { grid-row: span 2; font-family: var(--maru); font-weight: 900; font-size: 40px; line-height: 1; color: var(--blue); }
.pk-rank-badge small { margin-left: 1px; font-size: 16px; }
.pk-rank-top .pk-rank-label { font-size: 15px; color: var(--blue); }
.pk-rank-top b { font-family: var(--maru); font-weight: 900; font-size: 32px; line-height: 1; color: var(--blue); }
.pk-rank-top b small { margin-left: 1px; font-size: 13px; }
.pk-rank-top .pk-rank-bar { grid-column: 1 / -1; height: 10px; border-radius: 5px; }
/* 2位以下：2列 */
.pk-rank-rest { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 12px; }
.pk-rank-rest li { display: grid; grid-template-columns: auto 1fr auto; column-gap: 6px; row-gap: 3px; align-items: center; font-size: 12px; }
.pk-rank-rest .pk-rank-label { grid-column: 2 / -1; }
.pk-rank-no { font-family: var(--maru); font-weight: 900; color: var(--blue); }
.pk-rank-label { font-weight: 700; line-height: 1.3; }
.pk-rank-bar { display: block; height: 6px; border-radius: 3px; background: #e3e8f0; overflow: hidden; }
.pk-rank-rest .pk-rank-bar { grid-column: 1 / 3; grid-row: 2; }
.pk-rank-bar i { display: block; height: 100%; background: var(--blue); }
.pk-rank-rest b { grid-column: 3; grid-row: 2; font-family: var(--maru); font-weight: 900; font-size: 13px; line-height: 1; color: var(--blue); }
.pk-link { display: grid; gap: 12px; place-items: center; padding: 22px 8px 10px; text-align: center; }
.pk-link p { font-family: var(--maru); font-weight: 700; font-size: 13px; color: var(--blue); }
/* 道民のこだわりレシピ：材料・作り方・メモ */
.pk-recipe { margin-top: 10px; font-size: 13px; line-height: 1.7; }
.rc-photo { display: block; width: auto; max-width: 100%; height: 200px; margin: 0 auto 12px; border-radius: 12px; }
.rc-k { margin-top: 10px; font-family: var(--maru); font-weight: 700; font-size: 13px; color: var(--blue); }
.rc-k:first-child { margin-top: 0; }
.rc-k small { font-size: 12px; font-weight: 500; color: var(--muted); }
.rc-items { list-style: none; margin-top: 4px; padding: 6px 12px; border-radius: 12px; background: var(--white); }
.rc-items li { display: flex; gap: 10px; justify-content: space-between; padding: 3px 0; }
.rc-items li + li { border-top: 1px dashed #d9dee7; }
.rc-items span { flex: none; font-weight: 700; }
.rc-items b { font-weight: 500; text-align: right; }
.rc-steps { list-style: none; display: grid; gap: 4px; margin-top: 4px; }
.rc-steps li { display: flex; gap: 6px; }
.rc-steps i { flex: none; font-style: normal; font-weight: 700; color: var(--blue); }
.rc-notes { list-style: none; margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.rc-notes li { padding-left: 1em; text-indent: -1em; }
.rc-notes li::before { content: "※"; }
.pk-bars { list-style: none; display: grid; gap: 7px; margin-top: 12px; }
.pk-bars li { display: grid; grid-template-columns: minmax(40px, auto) 1fr 40px; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.pk-bar, .qd-multi .pk-bar { height: 12px; border-radius: 6px; background: #e3e8f0; overflow: hidden; }
.pk-bar i { display: block; height: 100%; border-radius: 6px; background: #9fb8de; }
.pk-bars li.hi .pk-bar i { background: var(--blue); }
.pk-bars li b, .qd-multi b { text-align: right; font-family: var(--maru); font-weight: 900; color: var(--blue); }
.pk-bars li.hi { color: var(--blue); }
/* 2つの年代を比べる図：比べる行の数字を大きくし、下線を引く */
.pk-bars.cmp li { position: relative; padding-bottom: 4px; }
.pk-bars.cmp li.hi::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: var(--pink); }
.pk-bars.cmp li.hi .pk-bar i { background: var(--blue); }
.pk-bars.cmp li.hi b { font-size: 16px; color: var(--pink); }
.pk-bars.cmp li:not(.hi) { color: var(--muted); }
.pk-bars.cmp li:not(.hi) b { color: var(--muted); }
.pk-unit { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: right; }
.pk-vs { margin-top: 10px; }
.pk-vs-head { display: flex; justify-content: space-between; margin-left: 38px; font-family: var(--maru); font-weight: 900; font-size: 13px; }
.pk-vs-head .a { color: var(--blue); }
.pk-vs-head .b { color: var(--pink); }
.pk-vs ul { list-style: none; display: grid; gap: 5px; margin-top: 6px; }
.pk-vs li { display: grid; grid-template-columns: 36px 1fr; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; }
.pk-vs li.all { margin-bottom: 3px; font-size: 13px; }
.pk-vs-bar { display: flex; height: 16px; border-radius: 4px; overflow: hidden; }
.pk-vs li.all .pk-vs-bar { height: 20px; }
.pk-vs-bar i { display: flex; align-items: center; padding: 0 5px; font-style: normal; font-family: var(--maru); font-size: 11px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; }
.pk-vs-bar i.a { background: var(--blue); }
.pk-vs-bar i.b { justify-content: flex-end; background: #ef9cbd; }
.vb-lead { white-space: normal; }
.vd-other { margin-top: 22px; }
.qd-multi { list-style: none; display: grid; gap: 6px; padding: 4px 12px 6px; }
.qd-multi li { display: grid; grid-template-columns: 96px 1fr 38px; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; }
.qd-multi .pk-bar i { background: var(--blue); }
.qd-multi + .qd-cap { padding-bottom: 12px; }
.qd-quotes { margin: 10px 0; }
.qd-rank { list-style: none; display: grid; gap: 4px; margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: var(--white); }
.qd-rank li { display: grid; grid-template-columns: 34px 1fr auto 44px; gap: 6px; align-items: baseline; font-size: 13px; }
.qd-rank li span:first-child { font-family: var(--maru); font-weight: 900; color: var(--blue); }
.qd-rank li b { font-family: var(--maru); color: var(--blue); }
.qd-rank li small { font-size: 12px; color: var(--muted); text-align: right; }
.qd-rank li.none { opacity: .55; }
.qd .legend { margin: 0 12px 8px; }
.pk-link-img { display: block; width: min(200px, 70%); margin-top: 6px; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(30, 60, 120, .12); transition: transform .3s var(--ease, ease); }
.pk-link-img img { display: block; width: 100%; height: auto; }
@media (hover: hover) { .pk-link-img:hover { transform: translateY(-2px); } }
.pk-link-img:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.vb-note { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.nw { white-space: nowrap; }
