@import url("https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&text=%E7%8E%89%E6%A0%91%E7%A5%9E%E7%A5%A0&display=swap");
/* Jade Tree Shrine window (sp.js): rides on the Buzhou window's styles (bm.css - the card carries both "bm" and "sp");
   this file holds what the shrine has of its own. Gate: the owner's looping shrine video; outside: the march bar
   (route, Alacrity, Time Locks); inside: a 30-floor rail in three bands instead of Buzhou's 10-stop trail. */

/* ---------- the gate: the video, full-bleed, under Buzhou's dusk scrim and type */
.sp-gate{background:#2b1d24}
.sp-gate-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;animation:bm-settle 1.6s cubic-bezier(.22,1,.36,1) both}
.sp-gate::after{background:linear-gradient(90deg,rgba(26,12,18,.86) 0%,rgba(26,12,18,.6) 32%,rgba(26,12,18,.08) 62%,transparent 75%),
  linear-gradient(0deg,rgba(26,12,18,.55) 0%,transparent 30%)}
.sp-gate .bm-gate-cn{color:#7fe3c4;text-shadow:0 2px 14px rgba(0,0,0,.55),0 0 18px rgba(127,227,196,.25)}
.sp-lock{gap:.5em}
.sp-lock .fs-cell{width:1.9em;height:1.75em;border-radius:5px}
.sp-lock .fs-btn{margin-left:.35em;background:rgba(14,12,22,.45);backdrop-filter:blur(4px);color:#f6ead0}
.sp-lock .fs-btn:hover:not(:disabled){background:rgba(14,12,22,.65)}
.sp-gate-err{color:#ffc9a8}
@media (prefers-reduced-motion:reduce){.sp-gate-art{animation:none}}

/* ---------- outside: the march bar */
.sp-march{flex-wrap:wrap;gap:.6em 1em}
.sp-route{display:inline-flex;align-items:center;gap:.45em;color:rgba(232,230,227,.8)}
.sp-route .ic{width:1.1em;height:1.1em;color:var(--fs-gold-hi)}
.sp-route b{color:#f6ead0;font-weight:600}
.sp-alac{display:inline-flex;align-items:center;gap:.5em;padding:.3em .7em .3em .45em;border-radius:9px;cursor:pointer;
  background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.sp-alac:hover{background:rgba(255,255,255,.07)}
.sp-alac:has(input:checked){background:rgba(127,227,196,.1);box-shadow:inset 0 0 0 1px rgba(127,227,196,.55)}
.sp-alac.off{opacity:.5;cursor:default}
.sp-alac input{accent-color:#7fe3c4;width:1em;height:1em;margin:0}
.sp-alac .fs-cell{width:1.9em;height:1.75em;border-radius:5px}
.sp-alac>span:last-child{display:flex;flex-direction:column;line-height:1.2}
.sp-alac b{font-weight:600}.sp-alac i{font-style:normal;font-size:.8em;color:var(--fs-dim)}
.sp-lockchip{gap:.4em}
.sp-lockchip .fs-cell{width:1.6em;height:1.5em;border-radius:4px}

/* ---------- inside: the floor rail - the climb goes up: floor 1 at the bottom, each band's name under its floors */
.sp-in{grid-template-columns:8.5em minmax(0,1fr)}
.sp-rail{position:relative;min-height:0;overflow-y:auto;display:flex;flex-direction:column;padding:.6em .4em;border-radius:12px;
  background:linear-gradient(180deg,rgba(26,12,18,.55),rgba(26,12,18,.88)),url(sp/banner_poster.jpg) 50% 30%/auto 160% no-repeat,#24171d;
  box-shadow:inset 0 0 0 1px rgba(127,227,196,.18)}
.sp-band{display:flex;flex-direction:column;align-items:center;gap:.35em}
.sp-band-h{align-self:stretch;margin:.4em 0 .15em;padding:.3em 0 .1em;font-size:.72em;font-weight:650;letter-spacing:.02em;text-align:center;
  color:rgba(246,234,208,.75);border-top:1px solid rgba(246,234,208,.14)}
.sp-stops{display:flex;flex-direction:column;align-items:center;gap:.4em;margin:0;padding:0;list-style:none;position:relative}
.sp-stops::before{content:"";position:absolute;top:.6em;bottom:.6em;left:50%;width:2px;transform:translateX(-50%);background:rgba(246,234,208,.18)}
.sp-stops .bm-stop{position:relative;transform:none;flex:0 0 auto;width:1.95em;height:1.95em;font-size:.85em}
.sp-stops .bm-stop.here{width:2.45em;height:2.45em;font-size:.95em}

/* on the way (sent, not arrived) */
.sp-marchv{flex:1;min-height:0;display:flex;flex-direction:column;gap:.8em;padding:.9em 1em;max-width:46em;width:100%;margin:0 auto}
.sp-marchv .bm-mine{flex:1}

/* the march notice inside, and an item icon inside a footer button */
.sp-banner{display:flex;align-items:center;gap:.7em;padding:.6em .8em;border-radius:10px;background:rgba(127,227,196,.08);box-shadow:inset 0 0 0 1px rgba(127,227,196,.35)}
.sp-banner .ic{width:1.3em;height:1.3em;color:#7fe3c4}
.sp-banner span{display:flex;flex-direction:column}
.sp-banner b{font-weight:650;color:#e9fbf4}
.sp-btn-ic{display:inline-block;width:1.45em;height:1.35em;margin:-.2em .4em -.2em -.15em;border-radius:4px;vertical-align:middle}

.sp-arrive{font-style:normal;color:rgba(233,251,244,.85);font-variant-numeric:tabular-nums}

/* ---------- the march preview in the send footer (post 17: the classic Expedition window's Wages / Time Required / Arrival) */
.sp-cost{display:inline-flex;align-items:center;gap:.45em;min-width:0;flex-wrap:wrap}
.sp-cost:empty{display:none}
.sp-kv{display:inline-flex;align-items:baseline;gap:.4em;padding:.28em .65em;border-radius:8px;white-space:nowrap;
  background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.sp-kv .ic{width:1em;height:1em;align-self:center;color:var(--fs-gold-hi);fill:none;stroke:currentColor;stroke-width:1.7}
.sp-kv i{font-style:normal;font-size:.8em;color:var(--fs-dim)}
.sp-kv b{font-weight:650;color:#f6ead0;font-variant-numeric:tabular-nums}
.sp-kv em{font-style:normal;font-size:.8em;font-weight:600;color:#ff8a7a}
.sp-kv.short{box-shadow:inset 0 0 0 1px rgba(255,110,90,.6);background:rgba(255,90,70,.08)}
.sp-kv.short b{color:#ff8a7a}
