/* THE TORCH GUIDE'S OWN PARTS (ifrm/ifrm.torchhelp.php, 2026-12-05) on the guides' paper (css/md_guides.css): the six picture cards,
   the playable run's board, the two choosers, the stepped course. Gold is the flame, the place the torch stands on and the main
   button. Only the step clock and the duel window move. */
#mcr .th-cards { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
#mcr .th-cards li { border: 1px solid var(--rule2); border-radius: 10px; overflow: hidden; background: rgba(255, 255, 250, .5); display: flex; flex-direction: column; }
#mcr .th-cards img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: 1px solid var(--rule); }
#mcr .th-cards li.th-trophy img { object-fit: contain; padding: 12px; box-sizing: border-box; background: rgba(255, 243, 194, .35); }
#mcr .th-cards b { font: 600 15px var(--serif); margin: 7px 9px 0; }
#mcr .th-cards span { font-size: 12.5px; line-height: 1.35; color: var(--ink2); margin: 2px 9px 9px; }
#mcr .th-icon { vertical-align: -3px; margin: 0 2px; }
#mcr code { font: 13px Consolas, 'Courier New', monospace; background: rgba(255, 255, 250, .7); border: 1px solid var(--rule); border-radius: 3px; padding: 0 4px; }
#mcr .th-run { margin-top: 12px; max-width: 760px; border: 1px solid var(--rule2); border-radius: 10px; background: rgba(255, 255, 250, .5); padding: 12px 14px 14px; }
#mcr .th-board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
#mcr .th-board li { position: relative; min-height: 92px; border: 1px dashed var(--rule2); border-radius: 8px; padding: 6px 4px; text-align: center; font-size: 12px; color: var(--ink3); display: flex; flex-direction: column; align-items: center; gap: 4px; }
#mcr .th-board li.is-base { border-style: solid; border-width: 2px; color: var(--ink2); font-weight: 600; }
#mcr .th-board li.is-here { border-color: #c2a34e; background: rgba(255, 243, 194, .6); color: var(--ink); }
#mcr .th-board img { height: 54px; width: auto; }
#mcr .th-board img.is-home { opacity: .55; }
#mcr .th-status { margin-top: 10px; }
#mcr .th-status p { margin: 0 0 8px; font-size: 14.5px; }
#mcr .th-log { color: var(--ink3); font-size: 13.5px !important; }
#mcr .th-good b { color: #6b4a00; }
#mcr .th-flame { color: #8a6200; }
#mcr .th-duel { margin-top: 12px; max-width: 640px; }
#mcr .th-btn { font: 15px var(--sans, 'Jost', sans-serif); color: #463320; background: #ffcc00; border: 1px solid #c2a34e; border-radius: 5px; padding: 7px 18px; cursor: pointer; min-height: 40px; }
#mcr .th-btn:hover { background: #ffd83d; }
#mcr .th-btn.q { background: rgba(255, 255, 250, .8); }
#mcr .th-btn:disabled { opacity: .6; cursor: default; }
#mcr .th-btn:focus-visible, #mcr .th-chip:focus-visible { outline: 2px solid #8a6200; outline-offset: 1px; }
#mcr .th-calc { margin-top: 12px; max-width: 640px; border: 1px solid var(--rule2); border-radius: 10px; background: rgba(255, 255, 250, .5); padding: 10px 14px 12px; }
#mcr .th-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
#mcr .th-pick > span { flex: 0 0 132px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink3); }
#mcr .th-chip { font: 14px var(--sans, 'Jost', sans-serif); color: var(--ink); background: rgba(255, 255, 250, .8); border: 1px solid var(--rule2); border-radius: 16px; padding: 4px 13px; min-height: 34px; min-width: 38px; cursor: pointer; }
#mcr .th-chip.is-on { background: #ffcc00; border-color: #c2a34e; font-weight: 600; }
#mcr .th-sum { margin: 4px 0 0; font: 400 19px var(--serif); }
#mcr .th-sum b { color: #6b4a00; }
#mcr .th-steps { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
#mcr .th-steps span { font-size: 13px; color: var(--ink3); min-width: 6.5em; text-align: center; }
#mcr .th-stepwords { min-height: 3em; margin: 8px 0; max-width: 720px; font-size: 15px; }
#mcr #thMap { max-width: 900px; }
@media (max-width: 900px) { #mcr .th-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
	#mcr .th-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#mcr .th-board { gap: 3px; }
	#mcr .th-board li { min-height: 84px; font-size: 10.5px; padding: 5px 2px; }
	#mcr .th-board img { height: 44px; }
	#mcr .th-pick > span { flex-basis: 100%; }
	#mcr .th-btn { min-height: 44px; }
}
