/* ===== the world behind everything: a quiet isometric countryside (canvas, static) ===== */
body{background:transparent!important}
.scene{position:fixed; inset:0; z-index:-1; overflow:hidden; background:#7fdc78}
.scene canvas{position:absolute; inset:0; display:block}
.scene::after{content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 88% -5%, rgba(255,255,255,.55), rgba(255,255,255,0) 38%), radial-gradient(circle at 0% 100%, rgba(180,240,255,.25), rgba(255,255,255,0) 45%)}

/* ===== the tram line indicator (the site's real navigation) ===== */
.tram{
  flex:none; width:100%; max-width:980px; margin:0 auto 8px; position:relative; z-index:3;
  background:#3b2e27; color:#fff; border-radius:16px; padding:4px 18px 8px; display:flex; flex-direction:column;
  box-shadow:0 10px 24px -14px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
  font-family:"Overpass","Arial Narrow",system-ui,sans-serif;
}
.tram .head{order:2; margin-top:2px; display:flex; align-items:center; gap:10px; font-weight:900; font-size:17px; letter-spacing:.01em}
.tram .bullet-unused{width:26px; height:26px; border-radius:50%; background:#e1261c; display:grid; place-items:center; font-size:13px; font-weight:900; flex:none}
.tram .now{margin-left:auto; font-size:12px; font-weight:800; letter-spacing:.12em; color:#d9cfc6; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tram .now b{color:#fff; letter-spacing:.02em; font-size:14px}
.tram .rail{position:relative; height:118px; margin:0 4px 0}
.tram .bar{position:absolute; left:0; right:0; bottom:10px; height:16px; background:#e1261c; border-radius:3px; z-index:0}
.tram .done{position:absolute; left:0; bottom:10px; height:16px; background:#ff8a7a; border-radius:3px 0 0 3px; width:0; z-index:1}
.tram .stop{position:absolute; z-index:2; bottom:0; width:36px; margin-left:-18px; height:118px; cursor:pointer; border:0; padding:0; background:none; color:#fff; font:inherit}
.tram .dot{position:absolute; left:9px; bottom:9px; width:18px; height:18px; border-radius:50%; background:#fff; border:4px solid #16191c; box-sizing:border-box; transition:transform .15s}
.tram .stop.xfer .dot{left:4px; bottom:4px; width:28px; height:28px; border-width:4px; box-shadow:inset 0 0 0 4px #fff, inset 0 0 0 8px #16191c}
.tram .stop.soon .dot{border-style:dashed; border-color:#8d8079}
.tram .lbl{position:absolute; left:18px; bottom:34px; transform-origin:0 100%; transform:rotate(-30deg); white-space:nowrap; font-weight:900; font-size:13px; letter-spacing:.01em; text-shadow:0 1px 0 rgba(0,0,0,.3); transition:color .15s}
.tram .lbl i{display:inline-flex; gap:3px; margin-left:6px; vertical-align:1px}
.tram .lbl i span{width:9px; height:9px; border-radius:50%; display:inline-block; box-shadow:0 0 0 1.5px rgba(0,0,0,.25)}
.tram .stop.soon .lbl{color:#bcb0a8; font-style:italic}
.tram .stop:hover .dot,.tram .stop:focus-visible .dot{transform:scale(1.2)}
.tram .stop:hover .lbl,.tram .stop:focus-visible .lbl{color:#ffd23f}
.tram .stop:focus-visible{outline:none}
.tram .stop.here .lbl{color:#ffd23f}
.tram .car{position:absolute; z-index:3; bottom:8px; width:34px; height:20px; margin-left:-17px; pointer-events:none; transition:left .12s linear; filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
@media (max-width:640px){
  .tram{padding:8px 12px 8px; border-radius:12px}
  .tram .head{font-size:14px} .tram .now{display:none}
  .tram .rail{height:104px}
  .tram .stop{height:104px; width:30px; margin-left:-15px}
  .tram .dot{left:6px} .tram .stop.xfer .dot{left:1px} .tram .lbl{left:16px}
  .tram .lbl{font-size:10.5px; bottom:28px; left:14px; transform:rotate(-42deg)}
  .tram .lbl i span{width:7px; height:7px}
}

/* transfer board for "connections to" */
.tram .board{position:absolute; top:calc(100% - 6px); z-index:10; width:180px; background:#fff; color:#16191c; border:2px solid #16191c; border-radius:14px; box-shadow:0 6px 0 #16191c, 0 16px 30px -10px rgba(0,0,0,.45); padding:8px; display:none; font-family:"Nunito",system-ui,sans-serif}
.tram .board.on{display:block}
.tram .board .bt{font-family:"Overpass",system-ui,sans-serif; font-weight:900; font-size:11px; letter-spacing:.16em; color:#5b6268; padding:2px 6px 6px}
.tram .board a{display:flex; align-items:center; gap:10px; padding:8px; border-radius:10px; color:inherit; text-decoration:none; font-weight:800; font-size:15px}
.tram .board a:hover{background:#eef0e3}
.tram .board a span{width:26px; height:26px; border-radius:8px; display:grid; place-items:center; color:#fff; font-size:12px}
/* the strip replaces Fast travel + View Map */
#ftOpen, #viewmap{display:none!important}

/* "FLIGHT PATH" stamped into a little VIN plate */
.tram .plate{display:inline-flex; align-items:center; gap:10px; padding:4px 12px 3px; border-radius:5px;
  background:linear-gradient(180deg, #e9ecef 0%, #c4c9ce 45%, #dfe3e6 55%, #b5bbc1 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.25), 0 2px 0 rgba(0,0,0,.35);
  font-family:"Share Tech Mono","OCR A Std","Courier New",ui-monospace,monospace; font-weight:400; font-size:17px; letter-spacing:.32em;
  color:#5d636a; text-shadow:0 1px 0 rgba(255,255,255,.75), 0 -1px 0 rgba(0,0,0,.45)}
.tram .plate i{width:6px; height:6px; border-radius:50%; background:radial-gradient(circle at 35% 35%, #fff, #8d949b 60%, #5d636a); box-shadow:0 0 0 1px rgba(0,0,0,.25)}
@media (max-width:640px){ .tram .plate{font-size:13px; letter-spacing:.26em; padding:3px 9px 2px} }

/* plate rides under the rail now: keep it compact */
.tram .head .plate{font-size:13px; padding:2px 10px 1px}
@media (max-width:640px){ .tram .head .plate{font-size:11px; padding:2px 8px 1px} }

/* ===== cloud look (2026-10-20): wispy cloud, thin dashed flight line, green nav marker ===== */
.tram{background:none; box-shadow:none; color:#1d2b36; padding:6px 22px 4px; isolation:isolate}
/* Fantastic Contraption style cloud: drawn as an SVG by tram.js (flat, round lobes, flat darker underside) */
.tram::before,.tram::after{display:none}
.tram .fcloud{position:absolute; left:-14px; top:-6px; z-index:-1; pointer-events:none; overflow:visible}
.tram .rail,.tram .stop{height:112px}
.tram .stop{color:#1d2b36}
.tram .bar{bottom:17px; height:3px!important; padding:0; border:0; border-radius:0; background:repeating-linear-gradient(90deg, rgba(60,110,190,.45) 0 8px, transparent 8px 14px)}
.tram .done{bottom:17px; height:3px; background:#1fbf5a; border-radius:2px}
.tram .dot{left:12px; bottom:12px; width:12px; height:12px; border:3px solid #1d2b36; background:#fff}
.tram .stop.xfer .dot{left:9px; bottom:9px; width:18px; height:18px; border-width:3px; box-shadow:inset 0 0 0 3px #fff, inset 0 0 0 6px #1d2b36}
.tram .stop.soon .dot{border-color:#9aa6ae}
.tram .lbl{text-shadow:none; bottom:30px}
.tram .stop.soon .lbl{color:#7c8a93}
.tram .stop.here .lbl,.tram .stop:hover .lbl,.tram .stop:focus-visible .lbl{color:#119246}
.tram .car{bottom:5px; width:26px; height:26px; margin-left:-13px; filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}
/* header: a small caption tucked under the end of the line; the green label shows where you are */
.tram .head{position:absolute; right:26px; bottom:6px; margin:0; order:0}
.tram .head .plate{background:none; border:0; box-shadow:none; padding:0; font-size:11px; letter-spacing:.28em; color:#6f8fbf; text-shadow:none}
.tram .head .plate i{display:none}
.tram .now{display:none}
@media (max-width:640px){
  .tram{padding:4px 12px 4px}
  .tram .rail,.tram .stop{height:104px}
  .tram .dot{left:9px} .tram .stop.xfer .dot{left:6px}
  .tram .lbl{bottom:26px}
  .tram .head{display:none}
}

/* puffs breathe in place, like little orbs */
.tram .fcloud circle{transform-box:fill-box; transform-origin:center; animation:puff 4s ease-in-out infinite alternate}
@keyframes puff{from{transform:scale(.96)} to{transform:scale(1.05)}}
@media (prefers-reduced-motion:reduce){ .tram .fcloud circle{animation:none} }

/* VIN plate is back: small stamped-metal tag riding under the end of the line (2026-10-21) */
.tram{padding-bottom:22px}
.tram .head{position:absolute; right:26px; bottom:4px; left:auto; top:auto; display:block!important; z-index:4}
.tram .head .plate{background:linear-gradient(180deg, #e9ecef 0%, #c4c9ce 45%, #dfe3e6 55%, #b5bbc1 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.25), 0 2px 0 rgba(0,0,0,.3);
  border-radius:4px; padding:3px 9px 2px; font-size:11px; letter-spacing:.3em; color:#5d636a; text-shadow:0 1px 0 rgba(255,255,255,.75), 0 -1px 0 rgba(0,0,0,.4)}
.tram .head .plate i{display:inline-block; width:5px; height:5px}
@media (max-width:640px){ .tram{padding-bottom:20px} .tram .head{right:14px; bottom:3px} .tram .head .plate{font-size:8.5px; letter-spacing:.2em; padding:2px 6px 1px; gap:5px} }

/* short screens: tighter flight path */
@media (max-height:860px) and (min-width:641px){ .tram .rail,.tram .stop{height:104px} }
