/* グラフ探偵（graph）だけの見た目 */
.graph-how { font-size: 14.5px; line-height: 1.75; margin: 0 0 6px; }
.graph-wrap { margin: 10px 0 4px; }
.graph-card { border: 2px solid var(--line); border-radius: 12px; background: var(--bg); padding: 8px 8px 4px; }
.graph-title { font-weight: 800; font-size: 14.5px; line-height: 1.4; margin: 0 2px 4px; overflow-wrap: anywhere; }
.graph-title small { font-weight: 400; font-size: 12px; color: var(--ink2); }
.graph-svg { display: block; width: 100%; height: auto; max-height: 300px; }
.graph-t { fill: var(--ink); font-size: 13px; font-family: inherit; letter-spacing: 0; }
.graph-t.sm { font-size: 11.5px; fill: var(--ink2); }
.graph-t.b { font-weight: 800; }
.graph-t.sm.b { fill: var(--ink); }
.graph-t.w { fill: #fff; font-weight: 800; font-size: 12.5px; paint-order: stroke; stroke: rgba(0, 0, 0, .35); stroke-width: 2px; }
.graph-grid { stroke: var(--soft); stroke-width: 1; }
.graph-axis { stroke: var(--ink2); stroke-width: 1.5; }
.graph-line { fill: none; stroke-width: 3; stroke-linejoin: round; }
.graph-dot { stroke: var(--card); stroke-width: 1.5; }
.graph-slice { stroke: var(--bg); stroke-width: 2; }
.graph-tbl { width: 100%; border-collapse: collapse; font-size: 15px; text-align: center; }
.graph-tbl th, .graph-tbl td { border: 1.5px solid var(--soft); padding: 5px 4px; line-height: 1.4; }
.graph-tbl thead th { background: var(--bg2); }
.graph-tbl tbody th { text-align: left; font-weight: 700; font-size: 14px; }
.graph-tbl td { font-weight: 800; font-variant-numeric: tabular-nums; }
.graph-q { font-weight: 800; font-size: clamp(16px, 4.6vw, 19px); line-height: 1.5; margin: 10px 0 0; overflow-wrap: anywhere; }
.graph-ch { flex-direction: row !important; justify-content: flex-start !important; gap: 10px !important; line-height: 1.45; font-size: 15px !important; }
.graph-no { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: inline-grid; place-items: center; font-size: 12.5px; opacity: .7; }
.graph-combo { color: var(--r-col); }
.graph-fb { margin-top: 10px; }
.graph-res { font-weight: 900; font-size: 17px; }
.graph-res.o { color: var(--ok); }
.graph-res.x { color: var(--ng); }
.graph-exp { border: 2px solid var(--line); border-radius: 10px; background: var(--bg); padding: 8px 12px; margin-top: 6px; font-size: 14px; line-height: 1.7; max-height: 34vh; overflow-y: auto; }
.graph-exp p { margin: 0 0 4px; }
.graph-calc { overflow-wrap: anywhere; }
.graph-calc small { color: var(--ink2); }
.graph-calc .o { color: var(--ok); font-weight: 900; }
.graph-calc .x { color: var(--ng); font-weight: 900; }
.graph-key { color: var(--ink2); font-size: 13.5px; }
.graph-key b { color: var(--ink); }
.graph-lvup { display: inline-block; background: var(--yellow); color: #1d211f; border: 2px solid var(--line); border-radius: 999px; padding: 2px 12px; font-weight: 900; margin-bottom: 4px; animation: graph-pop .45s ease-out; }
.graph-rank { font-size: 18px; margin: 6px 0; }
.graph-rank b { background: var(--yellow); color: #1d211f; padding: 1px 8px; border-radius: 6px; }
.graph-new { color: var(--r-col); font-weight: 900; animation: graph-pop .5s ease-out; }
.graph-rt { color: var(--ink2); }
@keyframes graph-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .graph-lvup, .graph-new { animation: none; } }
.graph-screen .g-btn.on small, .graph-screen .g-btn.pop small { color: #4a4a3a; }
