/* spire.css — the Spires (js/92c-spire.js): the climb button, the Spire chip, the discovery story.
   Uses the app's tokens (app.css); defines none of its own. */
.spire-btn{border-color:rgba(255,216,77,.55)!important;color:#FFD84D!important;white-space:nowrap}
.spire-btn.locked{border-color:rgba(255,255,255,.22)!important;color:var(--mute)!important}
.spire-chip{cursor:pointer;font-family:var(--mono);border:1px solid rgba(255,216,77,.55);color:#FFD84D;background:rgba(255,216,77,.08)}
.spire-chip:hover,.spire-btn:hover{background:rgba(255,216,77,.16)}
.spire-slot{grid-column:1/-1}
.spire-slot:empty{display:none}
.spire-story{border-left:3px solid #FFD84D;background:rgba(255,216,77,.07);border-radius:10px;padding:12px 14px;margin:10px 0 14px;line-height:1.55}
.spire-story .eyebrow{color:#FFD84D}
.spire-story h4{margin:2px 0 0;font-size:17px;color:var(--ink)}
.spire-story .sp-when{font-family:var(--mono);font-size:11px;color:var(--mute);margin-bottom:8px}
.spire-story p{margin:0 0 8px;color:var(--ink)}
.spire-story .sp-prog{font-family:var(--mono);font-size:11px;color:#FFD84D}
.spire-story .sp-need{margin:6px 0 0;font-size:14px;color:var(--ink)}
.spire-on .stage-top h2::after{content:' ✦';color:#FFD84D}
.xv-cell{fill:rgba(255,255,255,.06);stroke:var(--line);stroke-width:1}
/* small tables on a question card: place values, cipher rows, the signs on the three boxes */
.sp-tab{overflow-x:auto;margin:6px 0 10px}
.sp-tab table{border-collapse:collapse;margin:0 auto}
.sp-tab th{font:600 11px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--mute);padding:3px 7px;border-bottom:1px solid var(--line);text-align:center}
.sp-tab td{font:600 18px var(--mono);color:var(--ink);padding:5px 7px;text-align:center}
.sp-tab.lab th{border-bottom:0;text-align:right;padding-right:12px}
.sp-tab.lab tr:nth-child(n+2) td{color:var(--mute);font-size:15px}
.sp-tab.txt table{width:100%;table-layout:fixed}
.sp-tab.txt td{font-family:inherit;font-weight:500;font-size:14px;line-height:1.4;vertical-align:top;padding:8px 8px;border-left:1px solid var(--line)}
.sp-tab.txt td:first-child{border-left:0}
@media print{.spire-btn,.spire-chip,.spire-slot{display:none}}
