/* more.css — クラシック暦・今日は何の日？・作曲家相関図・作曲家 世界地図・音楽用語辞典
   色は style.css の :root のトークンを使う（昼の部・夜の部どちらでも読めるように） */
:root { --kc-baroque: #c08a1e; --kc-classical: #2f7fd1; --kc-romantic: #c2385c; --kc-modern: #23946a; --kc-bc: #d6336c; --kc-dc: #5b6b8c; --kc-ec: #b8892e; }
:root[data-mode='night'] { --kc-dc: #9aa8c8; }

/* ---------- クラシック暦 ---------- */
.kc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .kc-grid { grid-template-columns: 1fr; } }
.kc-main { scroll-margin-top: 80px; }
.kc-head { display: flex; align-items: center; gap: 10px; background: var(--velvet); color: #f7ecd9; border-radius: var(--r); padding: 16px 12px; box-shadow: var(--shadow-lg); }
.kc-head .kicker { color: var(--gold2); }
.kc-date { flex: 1; text-align: center; min-width: 0; }
.kc-date h2 { font-family: var(--mincho); font-size: clamp(1.8rem, 6vw, 2.8rem); margin: 0; line-height: 1.2; }
.kc-date p { margin: 2px 0 0; color: #e7d3c6 !important; }
.kc-nav { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.kc-nav:hover { background: rgba(255, 255, 255, 0.2); }
.kc-day { display: grid; gap: 14px; margin-top: 16px; min-height: 160px; }
.kc-sum { margin: 0; text-align: center; font-weight: 900; color: var(--wine); }
.kc-item { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); position: relative; }
.kc-item.kc-big, .kc-item.kc-mid { border: 2px solid var(--gold); background: linear-gradient(135deg, color-mix(in srgb, var(--gold2) 22%, var(--card)), var(--card) 55%); }
.kc-face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: radial-gradient(circle at 50% 35%, #fff6dd, #f0d9a6 60%, #c99a4a); border: 4px solid var(--c, var(--gold)); }
.kc-face.sm { width: 64px; height: 64px; border-width: 3px; border-color: var(--line); }
.kc-txt { min-width: 0; flex: 1; }
.kc-txt h3 { font-family: var(--mincho); font-size: 1.35rem; margin: 2px 0 0; line-height: 1.4; }
.kc-txt h3 small { font-family: var(--jp); font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.kc-txt p { margin: 4px 0; }
.kc-ttl { display: inline-block; font-family: var(--mincho); font-weight: 800; color: var(--gold-ink); font-size: 0.92rem; margin: 2px 0 0 !important; }
.kc-en { font-family: var(--en); color: var(--muted); font-size: 1.05rem; margin: 0 !important; }
.kc-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 2px !important; }
.kc-tag { display: inline-block; border-radius: 999px; padding: 1px 10px; font-size: 0.78rem; font-weight: 900; color: #fff; background: var(--kc-ec); white-space: nowrap; }
.kc-tag.kc-b, .kc-tag.kc-bp { background: var(--kc-bc); }
.kc-tag.kc-d { background: var(--kc-dc); }
.kc-tag.kc-e { background: var(--kc-ec); }
.kc-n { font-family: var(--en); font-weight: 700; font-size: 1.1rem; color: var(--gold-ink); }
.kc-ann { background: var(--goldgrad); color: #2a1a05; border-radius: 999px; padding: 1px 10px; font-size: 0.78rem; font-weight: 900; }
.kc-note { font-size: 0.86rem; background: var(--bg2); border-radius: 10px; padding: 6px 10px; color: var(--ink2); }
.kc-play { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kc-play .play { width: 40px; height: 40px; flex-shrink: 0; }
.kc-empty { text-align: center; background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); padding: 18px; }
.kc-empty img { width: 90px; margin: 0 auto 6px; }
.kc-near { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.kc-nh { font-family: var(--mincho); font-size: 1.1rem; margin: 6px 0 0; text-align: center; color: var(--wine); }
.kc-acts { margin-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.kc-share { background: #000 !important; }
.kc-cal { padding: 16px; }
.kc-cal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.kc-cal-h b { font-family: var(--mincho); font-size: 1.15rem; }
.kc-cal-h button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.kc-wd, .kc-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.kc-wd span { font-size: 0.74rem; font-weight: 900; color: var(--muted); }
.kc-wd span:first-child { color: var(--ng); }
.kc-days button { border: 1px solid transparent; background: transparent; border-radius: 10px; padding: 3px 0 2px; min-height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; color: var(--ink); cursor: pointer; font: inherit; }
.kc-days button b { font-family: var(--en); font-size: 1.05rem; line-height: 1.3; }
.kc-days button.has { background: var(--bg2); }
.kc-days button:hover { border-color: var(--gold); }
.kc-days button.today { border-color: var(--wine); }
.kc-days button[aria-pressed='true'] { background: var(--wine); color: #fff; border-color: var(--wine); }
.kc-dots { display: flex; gap: 2px; height: 6px; }
.kc-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.kc-dot.kc-b { background: var(--kc-bc); }
.kc-dot.kc-d { background: var(--kc-dc); }
.kc-dot.kc-e { background: var(--kc-ec); }
.kc-days button[aria-pressed='true'] .kc-dot { box-shadow: 0 0 0 1px #fff; }
.kc-key { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 10px 0 0; color: var(--muted); }
.kc-key span { display: inline-flex; align-items: center; gap: 4px; }
.kc-year h2 { font-size: 1.15rem !important; }
.kc-year h2 img { width: 32px !important; height: 32px !important; }
.kc-yl { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-height: 420px; overflow: auto; }
.kc-yl li { display: flex; gap: 8px; align-items: center; padding: 4px 6px; border-radius: 10px; }
.kc-yl li.kc-big, .kc-yl li.kc-mid { background: color-mix(in srgb, var(--gold2) 28%, transparent); }
.kc-yl img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.kc-yl b { display: inline-block; margin-left: 6px; color: var(--gold-ink); }
.kc-lh { font-family: var(--mincho); font-size: 1.45rem; display: flex; gap: 10px; align-items: center; margin: 30px 0 10px; }
.kc-lh img { width: 40px; height: 40px; }
.kc-month { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 8px; padding: 0 16px; }
.kc-month summary { cursor: pointer; padding: 12px 0; font-size: 1.05rem; }
.kc-month summary b { font-family: var(--mincho); font-size: 1.2rem; margin-right: 6px; }
.kc-month dl { margin: 0 0 14px; }
.kc-month dt { font-weight: 900; margin-top: 10px; scroll-margin-top: 90px; }
.kc-month dd { margin: 0; }
.kc-month ul { margin: 2px 0; padding-left: 0; list-style: none; font-size: 0.92rem; }
.kc-month li { padding: 3px 0; }
/* ホームの「今日は何の日？」 */
.kc-mini { padding: 18px 20px; max-width: 780px; margin: 0 auto; }
.kc-mini-h { display: flex; gap: 12px; align-items: center; }
.kc-mini-h img { width: 48px; height: 48px; }
.kc-mini-h h3 { font-family: var(--mincho); margin: 0; font-size: 1.35rem; }
.kc-mini-h small { font-family: var(--jp); font-size: 0.9rem; color: var(--wine); margin-left: 6px; }
.kc-mini-l { list-style: none; padding: 0; margin: 10px 0 4px; display: grid; gap: 8px; }
.kc-mini-l li { display: flow-root; line-height: 1.7; }
/* 文と文中のリンクを1つの段落として流す（flex だと文が細切れの列になる。2026-11-02 ユーザー「変に改行されていてめちゃんこみずらい」） */
.kc-mini-l li > .kc-tag { margin-right: 4px; vertical-align: 0.05em; }
.kc-mini-l li > img { float: left; margin: 2px 10px 0 0; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bg2); }
.kc-mini-l li small { display: block; line-height: 1.5; }
.kc-mini-l .kc-n { margin-left: 6px; font-size: 1rem; }
.kc-mini-l .kc-ann { margin-left: 6px; }
.kc-mini-f { margin: 10px 0 0; text-align: right; }

/* ---------- 作曲家相関図 ---------- */
.rg-types button { display: inline-flex; align-items: center; gap: 6px; }
.rg-types button svg { flex-shrink: 0; }
.rg-types button[aria-pressed='false'] { opacity: 0.5; }
.rg-types button[aria-pressed='true'] { background: var(--card); color: var(--ink); border-color: var(--gold); box-shadow: var(--shadow); }
.rg-types small { color: var(--muted); font-weight: 400; }
.rg-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-bottom: 12px; }
.rg-tools label { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.rg-tools select { border: 2px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--card); color: var(--ink); font: inherit; max-width: 70vw; }
.rg-tools .btn[aria-pressed='false'] { opacity: 0.6; }
.rg-wrap { position: relative; height: min(78vh, 760px); min-height: 420px; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, #2a0f3a, #0b0612); box-shadow: var(--shadow-lg); }
.rg-wrap canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
@media (max-width: 640px) { .rg-wrap { height: 66vh; min-height: 380px; border-radius: 18px; } }
.rg-hint { position: absolute; top: 10px; left: 0; right: 0; text-align: center; color: rgba(255, 240, 220, 0.75); margin: 0; pointer-events: none; }
.rg-nojs { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; padding: 20px; text-align: center; }
.rg-panel { position: absolute; left: 10px; right: 10px; bottom: 10px; max-height: 45%; overflow: auto; background: var(--card); color: var(--ink); border-radius: 18px; padding: 14px 16px 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); font-size: 0.9rem; }
@media (min-width: 900px) { .rg-panel { left: auto; top: 10px; bottom: 10px; width: 380px; max-height: none; } }
.rg-x { position: absolute; top: 8px; right: 8px; border: 0; background: var(--bg2); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; }
.rg-ph { display: flex; gap: 10px; align-items: center; padding-right: 36px; flex-wrap: wrap; }
.rg-ph > img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid; }
.rg-ph b { font-family: var(--mincho); font-size: 1.25rem; }
.rg-pl { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rg-pl li { border-top: 1px dashed var(--line); padding-top: 8px; line-height: 1.6; }
.rg-go { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: var(--bg); color: var(--wine); border-radius: 999px; padding: 1px 10px 1px 2px; font-weight: 900; cursor: pointer; font: inherit; font-weight: 900; }
.rg-go img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.rg-tag { display: inline-block; border-radius: 999px; padding: 0 9px; font-size: 0.76rem; font-weight: 900; color: #1a1020; background: var(--c); white-space: nowrap; }
.rg-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin: 12px 0; color: var(--muted); }
.rg-legend span { color: var(--muted); background: none; padding: 0; font-weight: 400; display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rg-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-left: 4px; }
.rg-top { list-style: none; counter-reset: rk; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.rg-top li { counter-increment: rk; display: flex; gap: 8px; align-items: center; background: var(--bg); border-radius: 14px; padding: 6px 10px; }
.rg-top li::before { content: counter(rk); font-family: var(--en); font-weight: 700; font-size: 1.4rem; color: var(--gold-ink); width: 20px; text-align: center; }
.rg-top img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.rg-top span { display: flex; flex-direction: column; line-height: 1.3; font-weight: 700; }
.rg-l { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; scroll-margin-top: 90px; }
.rg-l h3 { display: flex; align-items: center; gap: 8px; font-family: var(--mincho); margin: 0 0 4px; font-size: 1.15rem; }
.rg-l h3 img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.rg-l ul { margin: 0; padding-left: 1.1em; font-size: 0.92rem; }
.rg-l li { margin: 4px 0; }

/* ---------- 作曲家 世界地図 ---------- */
.wm-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 4px; }
.wm [data-wm-era] button { display: inline-flex; align-items: center; gap: 4px; }
.wm [data-wm-era] small { opacity: 0.75; font-weight: 400; }
.wm-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-bottom: 10px; }
.wm-zoom { display: inline-flex; gap: 4px; }
.wm-zoom button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.2rem; font-weight: 900; cursor: pointer; }
.wm-wrap { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #bcd9ee; }
:root[data-mode='night'] .wm-wrap { background: #0d1a2e; }
.wm-wrap svg { display: block; width: 100%; height: min(72vh, 680px); min-height: 380px; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.wm-wrap svg.drag { cursor: grabbing; }
@media (max-width: 640px) { .wm-wrap svg { height: 64vh; min-height: 340px; } .wm-wrap { border-radius: 18px; } }
.wm-sea { fill: #bcd9ee; }
:root[data-mode='night'] .wm-sea { fill: #0d1a2e; }
.wm-land path { fill: #f6eedb; stroke: #c4b18a; stroke-width: 0.7; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.wm-land path.has { fill: #f1dcae; }
.wm-land path.hl { fill: #f0c46a; }
:root[data-mode='night'] .wm-land path { fill: #2a2440; stroke: #4a3f6a; }
:root[data-mode='night'] .wm-land path.has { fill: #3a3058; }
:root[data-mode='night'] .wm-land path.hl { fill: #6b5520; }
.wm-pin { cursor: pointer; outline: none; }
.wm-pin.off { display: none; }
.wm-pin circle { stroke: #fff; stroke-width: 2; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.45)); transition: stroke-width 0.15s; }
.wm-pin:hover circle, .wm-pin:focus circle { stroke-width: 3.5; }
.wm-pin.sel circle { stroke: #2a1a05; stroke-width: 3.5; }
.wm-pin text { display: none; font-family: var(--jp); font-size: 12px; font-weight: 900; fill: #2a1638; paint-order: stroke; stroke: rgba(255, 255, 255, 0.92); stroke-width: 3.5px; stroke-linejoin: round; pointer-events: none; }
:root[data-mode='night'] .wm-pin text { fill: #fff; stroke: rgba(10, 6, 20, 0.9); }
.wm-pin.lbl text, .wm-pin:hover text, .wm-pin:focus text { display: block; }
.wm-pin.pop circle { animation: wm-pop 0.6s ease-out; }
@keyframes wm-pop { 0% { opacity: 0; stroke-width: 14; } 100% { opacity: 1; stroke-width: 2; } }
@media (prefers-reduced-motion: reduce) { .wm-pin.pop circle { animation: none; } }
.wm-hint { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; margin: 0; color: #3b4a5c; pointer-events: none; text-shadow: 0 0 4px #fff; }
:root[data-mode='night'] .wm-hint { color: #b7c3dd; text-shadow: none; }
.wm-era-now { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 18px; box-shadow: var(--shadow-lg); font-size: 1.1rem; white-space: nowrap; display: flex; gap: 8px; align-items: baseline; pointer-events: none; }
.wm-era-now b { font-family: var(--mincho); font-size: 1.3rem; }
.wm-era-now small { color: var(--muted); }
.wm-card { position: absolute; left: 10px; right: 10px; bottom: 10px; max-height: 58%; overflow: auto; background: var(--card); color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
@media (min-width: 900px) { .wm-card { left: auto; top: 10px; bottom: auto; width: 360px; max-height: calc(100% - 20px); } }
.wm-x { position: absolute; top: 8px; right: 8px; border: 0; background: var(--bg2); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; }
.wm-ch { display: flex; gap: 12px; align-items: center; padding-right: 30px; }
.wm-ch > img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 4px solid; flex-shrink: 0; background: radial-gradient(circle at 50% 35%, #fff6dd, #f0d9a6 60%, #c99a4a); }
.wm-ch h3 { font-family: var(--mincho); margin: 0; font-size: 1.4rem; line-height: 1.3; }
.wm-ch p { margin: 0; }
.wm-era { display: inline-block; background: var(--c); color: #fff; border-radius: 999px; padding: 0 10px; font-size: 0.75rem; font-weight: 900; }
.wm-pl { margin: 10px 0 4px; }
.wm-acts { margin: 8px 0 0; }
.wm-card .chips .chip { cursor: pointer; font: inherit; font-size: 0.8rem; font-weight: 700; }
.wm-rank { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wm-rank li { display: grid; gap: 2px; }
.wm-rank button { display: grid; grid-template-columns: 7.5em 1fr 3.4em; gap: 10px; align-items: center; border: 0; background: none; padding: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.wm-rank button:hover b { color: var(--wine); }
.wm-bar { height: 14px; background: var(--bg2); border-radius: 999px; overflow: hidden; }
.wm-bar i { display: block; height: 100%; background: var(--goldgrad); border-radius: 999px; }
.wm-rank em { font-style: normal; font-weight: 900; text-align: right; }
.wm-rank small { padding-left: calc(7.5em + 10px); line-height: 1.5; }
@media (max-width: 520px) { .wm-rank button { grid-template-columns: 6em 1fr 3em; } .wm-rank small { padding-left: 0; } }
.wm-towns { padding-left: 1.1em; }
.wm-eras { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 10px; }
.wm-eras > div { border-top: 5px solid var(--c); background: var(--bg); border-radius: 14px; padding: 10px 12px; }
.wm-eras h3 { margin: 0; font-family: var(--mincho); font-size: 1.05rem; }
.wm-eras h3 small { display: block; color: var(--muted); font-weight: 400; }
.wm-eras p { margin: 0; }
.wm-eras ol { margin: 4px 0 0; padding-left: 1.3em; font-size: 0.9rem; }
.wm-lh { font-family: var(--mincho); font-size: 1.1rem; margin: 16px 0 2px; border-bottom: 1px solid var(--line); }

/* ---------- 音楽用語辞典 ---------- */
.td-more { max-width: 900px; margin: 0 auto 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; }
.td-more summary { cursor: pointer; padding: 10px 0; font-weight: 700; text-align: center; }
.td-idx { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.td-idx .seg-label { flex: 0 0 5.5em; padding-top: 6px; }
.td-keys { display: flex; flex-wrap: wrap; gap: 4px; }
.td-keys button { min-width: 36px; height: 34px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; font-weight: 900; padding: 0 8px; cursor: pointer; font: inherit; font-weight: 900; }
.td-keys button[aria-pressed='true'] { background: var(--wine); color: #fff; border-color: var(--wine); }
.td-keys button:disabled { opacity: 0.3; cursor: default; }
.td-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .td-grid { grid-template-columns: 1fr; } }
.td-card { padding: 16px 18px; gap: 4px; scroll-margin-top: 90px; transition: box-shadow 0.3s, transform 0.3s; }
.td-card p { margin: 0; }
.td-card.td-hl { box-shadow: 0 0 0 4px var(--gold), var(--shadow-lg); transform: translateY(-3px); }
.td-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.td-t { font-family: var(--en); font-style: italic; font-weight: 700; font-size: 1.9rem; color: var(--wine); line-height: 1.15; overflow-wrap: anywhere; }
.td-abbr { font-family: var(--en); font-style: italic; font-weight: 700; font-size: 1.4rem; color: var(--navy); background: var(--bg2); border-radius: 8px; padding: 0 8px; vertical-align: 0.15em; }
.td-say { flex-shrink: 0; margin-top: 4px; }
.td-say.on { box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 40%, transparent); }
.td-read { font-weight: 700; color: var(--ink2); }
.td-read small { font-family: var(--en); font-size: 0.95rem; }
.td-mean { font-size: 1.05rem; }
.td-mean .t-en { color: var(--muted); }
.td-badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 !important; }
.td-badges > span { font-size: 0.74rem; font-weight: 900; border-radius: 999px; padding: 1px 9px; background: var(--bg2); color: var(--ink2); }
.td-badges .td-kids { background: var(--hl); color: #3b2c05; }
.td-sec { font-size: 0.88rem; margin-top: 6px; }
.td-sec > b { font-size: 0.8rem; color: var(--gold-ink); }
.td-sec .t-en { font-size: 1em; }
.td-bpm { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: 8px !important; background: var(--bg2); border-radius: 12px; padding: 6px 10px; font-family: var(--en); font-weight: 700; }
.td-bpm small { font-family: var(--jp); font-weight: 400; }
.td-bpm .btn.on { border-color: var(--wine); color: var(--wine); }
.td-ex { margin-top: auto; padding-top: 8px; position: relative; padding-right: 50px; }
.td-ex > b { display: block; font-size: 0.8rem; color: var(--gold-ink); margin-bottom: 4px; }
.td-ex .chip { white-space: normal; }
.td-play { position: absolute; right: 0; bottom: 0; width: 42px; height: 42px; }
.td-qt { text-align: center; margin: 10px 0 0; }
.td-qt span { font-family: var(--en); font-style: italic; font-weight: 700; font-size: clamp(2rem, 7vw, 3rem); color: var(--wine); }
.td-qo { display: grid; gap: 8px; margin-top: 10px; }
.td-qo button { border: 2px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 14px; padding: 12px 14px; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.td-qo button:hover:not(:disabled) { border-color: var(--gold); }
.td-qo button.ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, var(--bg)); }
.td-qo button.ng { border-color: var(--ng); background: color-mix(in srgb, var(--ng) 12%, var(--bg)); }
.td-qx { margin-top: 10px; }
.td-qend { text-align: center; }
.td-qend img { width: 110px; margin: 0 auto; }
.td-qscore { font-family: var(--en); font-size: 1.6rem; margin: 6px 0 0; }
.td-qscore b { font-size: 3rem; color: var(--wine); }
