/* Speed-up popup (speedup.js) - small, like the game's own item list (owner 2026-11-06: "need not be that big").
   Top: what is sped up + the countdown, the bar shows in gold what the item under the pointer takes off; then one row
   per item with its own Use / Buy and use button; Finish now at the bottom. Everything else is the kit (ui.css). */
.spd .fs-win-head{padding:.5em .6em .5em .9em}
.sp-body{display:flex;flex-direction:column;gap:.6em;padding:.75em .85em .85em;max-height:34em}
.spd.busy .sp-list,.spd.busy .sp-plan{opacity:.6;transition:opacity .2s}
.sp-target{display:flex;flex-direction:column;gap:.45em}
.sp-what{display:flex;align-items:baseline;gap:.5em;min-width:0}
.sp-what b{font-weight:650;color:#f3e7c8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-lv{flex:0 0 auto;font-size:.88em;color:var(--fs-up);font-variant-numeric:tabular-nums}
.sp-left{margin-left:auto;flex:0 0 auto;font-size:1.3em;font-weight:650;font-variant-numeric:tabular-nums;color:#f6ead0}
.sp-track{display:flex;height:.45em;border-radius:3px;background:rgba(255,255,255,.07);overflow:hidden}
.sp-track>span{display:block;height:100%;transition:width .3s cubic-bezier(.22,1,.36,1)}
.sp-keep{background:linear-gradient(90deg,#3f86c6,var(--fs-xp))}
.sp-cut{background:repeating-linear-gradient(135deg,var(--fs-gold-hi) 0 .3em,#c7963d .3em .6em)}
.sp-target.nolt .sp-track,.sp-target.nolt .sp-left{display:none}
.sp-list{display:flex;flex-direction:column;gap:.25em;min-height:0;margin:0 -.25em;padding:0 .25em}
.sp-row{display:flex;align-items:center;gap:.6em;padding:.3em .35em .3em .3em;border-radius:8px}
.sp-row:hover{background:rgba(255,255,255,.05)}
.sp-row .fs-cell{width:2.4em;height:2.25em;border-radius:6px}
.sp-row .fs-cell img{border-radius:6px}
.sp-row.buy .fs-cell{opacity:.75}
.sp-name{flex:1;min-width:0;display:flex;flex-direction:column;gap:.05em}
.sp-name b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-name i{font-style:normal;font-size:.82em;color:var(--fs-gold-hi);font-variant-numeric:tabular-nums}
.sp-have,.sp-price{flex:0 0 auto;display:inline-flex;align-items:center;gap:.3em;font-size:.9em;font-variant-numeric:tabular-nums}
.sp-have{color:var(--fs-dim)}
.sp-price{font-weight:700;color:var(--fs-gold-hi)}
.sp-row .fs-btn{flex:0 0 auto;min-width:5.6em}
.sp-plan:empty{display:none}
.sp-finish{width:100%;flex-direction:column;gap:.1em;padding:.5em .8em}
.sp-uses{font-size:.8em;font-weight:500;color:rgba(246,234,208,.75)}
@media (prefers-reduced-motion:reduce){.sp-track>span{transition:none}}
