/* 数字にできないランキング（ranking.html） */
.rk-picks { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 14px; }
.pick { font: inherit; font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--card); border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.pick span { margin-right: 4px; }
.pick[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

.sky-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; padding: 8px 8px 12px; box-shadow: 4px 4px 0 var(--green-soft); }
.sky-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 6px 0; font-size: .74rem; color: var(--muted); }
.sky-head b { font-family: var(--latin); color: var(--red); letter-spacing: .12em; font-size: .7rem; }
/* マップと、①②③のカード（広い画面は右横、スマホはマップの下） */
.sky-body { display: grid; gap: 10px; }
@media (min-width: 720px) { .sky-body { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; } }
#sky { position: relative; width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 388 / 368; }
#sky svg { width: 100%; height: 100%; display: block; overflow: visible; }
#sky .ring { fill: none; stroke: var(--line); stroke-dasharray: 3 5; }
#sky .core { fill: var(--red-soft); fill-opacity: .6; stroke: var(--line); }
#sky .spoke { stroke: var(--green-soft); }
#sky .pole { font-size: 16px; fill: var(--muted); text-anchor: middle; font-family: var(--gothic); transition: fill .3s; }
#sky .core-label { font-size: 13px; fill: var(--red); font-weight: 700; text-anchor: middle; font-family: var(--gothic); }
.star { transition: transform .7s cubic-bezier(.2, .9, .3, 1), opacity .5s; cursor: pointer; }
.star .hit { fill: transparent; }
.star .pt { fill: var(--matcha); }
.star.on .pt { fill: var(--red); r: 5.5; }
.mark { transition: transform .7s cubic-bezier(.2, .9, .3, 1); }
.mark circle { fill: var(--red); stroke: #fff; stroke-width: 2.5; }
.mark text { fill: #fff; font-size: 17px; font-weight: 700; text-anchor: middle; font-family: var(--gothic); }
#legend { display: grid; gap: 8px; align-content: center; }
.lg { display: grid; grid-template-columns: 96px 1fr; background: var(--card); border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden;
  text-decoration: none; color: var(--ink); animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.lg:nth-child(2) { animation-delay: .05s; } .lg:nth-child(3) { animation-delay: .1s; }
.lg-img { width: 96px; height: 100%; min-height: 96px; object-fit: cover; display: block; background: #eee6d9; }
.lg-txt { display: grid; gap: 1px; min-width: 0; padding: 8px 12px; line-height: 1.4; align-content: center; }
.lg-no { font-family: var(--latin); font-weight: 700; font-size: .72rem; color: var(--red); letter-spacing: .1em; display: flex; align-items: center; gap: 6px; }
.lg-no i { width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; font-style: normal; letter-spacing: 0; display: flex; align-items: center; justify-content: center; font-size: .68rem; }
.lg-txt b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }  /* 1行で「…」止め（縦長にしない） */
.lg-txt small { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#focus { display: flex; align-items: center; gap: 10px; min-height: 52px; margin: 0 6px; padding: 6px 10px; border-top: 1.5px dashed var(--line); font-size: .8rem; }
#focus img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; background: #eee6d9; }
#focus span { flex: 1; min-width: 0; display: grid; }
#focus b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#focus small { color: var(--muted); }
#focus a { color: var(--red); font-weight: 700; text-decoration: none; white-space: nowrap; }

.bars-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; padding: 12px 14px; margin-top: 16px; display: grid; gap: 10px; }
.bar-row input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; margin: 0; border-radius: 999px; border: 1.5px solid var(--ink);
  background: linear-gradient(90deg, var(--green-soft), #f1ebe0 50%, var(--red-soft)); cursor: pointer; touch-action: pan-y; }
.bar-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.bar-row input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.bar-row input[type=range]:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.rk-best { margin-top: 40px; }
.rk-best .recs { margin-top: 4px; }
.empty { color: var(--muted); font-size: .9rem; }
.rk-note { font-size: .74rem; color: var(--muted); margin: 14px 0 0; line-height: 1.7; }
.bar-row input[type=range] { grid-area: track; }
@media (min-width: 481px) { .bar-row input[type=range] { grid-area: auto; } }
#focus[hidden] { display: none; }

/* 広い画面でバーの見出しが「デザイ/ン」と1字だけ折れたので、見出しの幅を決めて折り返さない（2026-11-17） */
@media (min-width: 481px) {
  .bar-row { grid-template-columns: 10.5em 1fr 9em; }
  .bar-row > span { white-space: nowrap; }
}

/* 見出しの下の副題と、下に足した本文（当サイトのデータで作ったランキング、2026-11-18） */
.rk-subtitle { margin: 6px 0 0; font-weight: 700; font-size: .95rem; letter-spacing: .06em; opacity: .9; }
.rk-tool-title { margin-top: 28px; }
.rk-table td:first-child { text-align: center; font-weight: 700; white-space: nowrap; width: 2.6em; }
.rk-table td a { font-weight: 700; color: var(--ink); }
.rk-table td small { display: block; font-size: .72rem; color: var(--muted); }
.rk-table td:nth-child(3), .rk-table td:nth-child(4) { white-space: nowrap; }
#cond h3 { font-size: 1rem; margin: 22px 0 6px; }
