.cp-scene{--cyan:#abd7da;--amber:#ffbf49;position:relative;isolation:isolate;display:grid;grid-template-columns:37fr 63fr;height:100%;min-height:0;background:#cdd4d0;color:#162128;container-type:inline-size;font-family:Atelier,"Segoe UI",sans-serif}
.cp-poster{position:relative;isolation:isolate;overflow:hidden;background:#fab642}.cp-photo{position:absolute;inset:0;background:url("assets/city.webp") 45% 55% / cover;filter:saturate(.8) contrast(1.12)}
.cp-poster::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,#0d1a269e,transparent 62%,#07121b80)}
.cp-identity{position:absolute;z-index:1;top:7%;left:10%;color:#fff6df}.cp-identity h2{font:700 clamp(50px,7.1cqw,126px)/.84 Atelier,"Arial Black",sans-serif;letter-spacing:-.085em;margin:.22em 0;text-shadow:0 2px 14px #17262c3d}
.cp-signmark{display:grid;gap:3px;width:46px;transform:skew(-21deg)}.cp-signmark i{display:block;height:5px;background:var(--amber)}.cp-signmark i:nth-child(2){width:80%}.cp-signmark i:last-child{width:60%}
.cp-wall{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:clamp(15px,2.2cqw,34px);padding:5% 8%;
background:linear-gradient(100deg,#d9e2e1aa,#f8f8ed4a 48%,#667a7970),repeating-linear-gradient(0deg,transparent 0 65px,#a0b2b0 65px 66px,transparent 66px 68px),#c6d0c9;box-shadow:inset 9px 0 20px #1c333b30}
.cp-board{position:relative;color:#f2f2e4;background:#253239;border:2px solid #384344;border-radius:8px;padding:clamp(8px,1cqw,17px);box-shadow:0 12px 12px -7px #11282b75,0 3px 0 #111b1f,inset 0 1px 0 1px #a7b4aa,inset 0 -2px 1px #101d24}
.cp-fascia{display:flex;align-items:center;gap:.7em;padding:clamp(10px,1.4cqw,22px);border-radius:3px 3px 0 0;background:linear-gradient(177deg,#ffd785,#ffbd4b 40%,#edaa37);color:#172026;border-bottom:3px solid #161e22}
.cp-line-id,.cp-lines b{display:inline-grid;place-items:center;border-radius:50%;width:1.55em;height:1.55em;font:700 clamp(18px,1.9cqw,29px)/1 Atelier,sans-serif;color:#fff3da;background:#202b2c}.cp-fascia h3{font:700 clamp(22px,2.9cqw,52px)/1 Atelier,sans-serif;letter-spacing:-.045em;margin:0}
.cp-glass{position:relative;touch-action:pan-y;padding:clamp(14px,1.8cqw,32px) clamp(15px,2.6cqw,42px);background:linear-gradient(120deg,#1a272c,#121b1f 44%,#1b282d 72%,#101b20);overflow:hidden;box-shadow:inset 0 5px 12px #0008}
.cp-glass::after{content:"";position:absolute;pointer-events:none;inset:0;background:linear-gradient(115deg,#c7e6f808,transparent 39%,#bad6e106 40%,transparent 67%)}
.cp-label,.cp-glass dl,.cp-date small{margin:0}.cp-label,.cp-glass dt,.cp-date small{font:700 clamp(12px,1cqw,16px)/1.15 Atelier,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#a9c0be}
.cp-digits{display:flex;gap:clamp(3px,.5cqw,8px);margin:.14em 0 .21em;font:700 clamp(58px,7.6cqw,130px)/1 Atelier,"Arial Black",sans-serif;font-variant-numeric:tabular-nums}
.cp-digits span{position:relative;display:grid;place-items:center;width:.84em;height:1.04em;overflow:hidden;background:linear-gradient(#343f3e,#2b3534 49%,#1c2628 51%,#263030);border:1px solid #10181b;border-radius:4px;box-shadow:0 1px 0 #56625d,inset 0 1px 0 #526060;color:#f1e9cf}
.cp-digits span::after{content:"";position:absolute;inset:50% 0 auto;height:1px;background:#0b1518;box-shadow:0 1px #afc0a633}.cp-digits b{font:inherit;transform-origin:center bottom;animation:cp-flap .2s ease-out both}@keyframes cp-flap{from{transform:perspective(180px) rotateX(-38deg);opacity:.42}to{transform:none;opacity:1}}
.cp-glass dl{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #73898850;padding-top:clamp(8px,1.3cqw,20px);gap:10px}.cp-glass dd{font:700 clamp(19px,2cqw,34px)/1.18 Atelier,sans-serif;color:#f2eede;margin:.22em 0 0}
.cp-date{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;gap:5px;padding:8px;background:linear-gradient(#314247,#243239);border-top:1px solid #58696d;text-align:center}.cp-date span{display:grid;gap:3px}.cp-date small{font-size:10px;color:#b8cac9}.cp-date time{font:700 clamp(16px,1.5cqw,24px)/1 Atelier,sans-serif}
.cp-date button,.cp-lines button{color:inherit;min-width:44px;min-height:44px;border-radius:3px;border:1px solid #131f23;box-shadow:inset 0 1px #e5f3ee6e,0 2px 1px #11252751;cursor:pointer}
.cp-date button{font:400 22px/1 Atelier,sans-serif;color:#e3f1ee;background:linear-gradient(#536367,#2b3c40)}.cp-date button:disabled{opacity:.38}.cp-lines{display:flex;align-items:stretch;gap:7px}.cp-lines button{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 3px;font:700 clamp(12px,1.07cqw,17px)/1.05 Atelier,sans-serif;color:#1d292d;background:linear-gradient(#edf0e9,#d2dcd6);box-shadow:inset 0 1px #fff,0 2px 1px #47615f66}
.cp-lines b{font-size:14px;flex-shrink:0}.cp-lines button[aria-pressed=true]{background:linear-gradient(#ffd68a,#f1b044);box-shadow:inset 0 0 0 1px #bf9247,0 1px #dce2cf}
@media(hover:hover) and (pointer:fine){.cp-scene,.cp-scene button{cursor:url("ticket.svg") 5 13,auto}.cp-lines button:hover{filter:brightness(1.08)}}
@container(max-width:700px){.cp-scene>.cp-poster{grid-area:1/1}.cp-scene>.cp-wall{grid-area:2/1}.cp-photo{background-position:center 51%}
.cp-identity{inset:auto auto 13% 5%;display:flex;gap:12px;align-items:center}.cp-identity h2{font-size:clamp(39px,14cqw,66px);margin:0}.cp-identity h2 br{display:none}.cp-identity h2 br::after{content:" "}.cp-signmark{width:25px}.cp-signmark i{height:4px}
.cp-wall{padding:clamp(8px,3cqw,16px);gap:10px}.cp-fascia{padding:8px 12px}.cp-fascia h3{font-size:23px}.cp-glass{padding:12px 17px}.cp-glass dt,.cp-label{font-size:11px}.cp-digits{font-size:clamp(52px,16cqw,82px);margin:5px 0 10px}.cp-glass dl{padding-top:8px}.cp-glass dd{font-size:19px}.cp-date{padding:4px}.cp-board{padding:6px}.cp-date small{font-size:10px}.cp-lines button{font-size:12px}.cp-lines b{font-size:13px}}
@media(max-width:700px){.cp-scene{grid-template-columns:1fr;grid-template-rows:minmax(70px,1fr) auto}.cp-wall{justify-content:end}}
@media(prefers-reduced-motion:reduce){.cp-digits b{animation:none}}

.cp-diagram{position:absolute;z-index:1;pointer-events:none;left:10%;bottom:7%;width:75%;max-width:340px;box-sizing:border-box;border:1px solid #a5b6a778;background:linear-gradient(115deg,#183037ed,#0f2126e6);color:#f6e8c4;padding:7px 11px 6px;box-shadow:0 2px 3px #0b161a68,inset 0 1px #d6e0d51e}
.cp-diagram svg{display:block;width:100%;overflow:visible}.cp-diagram>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #b6c5b83b;margin-top:2px;padding-top:4px;font:700 clamp(9px,.86cqw,14px)/1.2 Atelier,sans-serif}.cp-map-direction{color:#e9b455}
.cp-net-grid{fill:none;stroke:#c9ddd7;opacity:.13;stroke-width:.75}.cp-route{fill:none;stroke:#9bafaa;opacity:.43;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:opacity .2s}.cp-route circle{fill:#20343a;stroke-width:1}
.cp-route[data-lit]{opacity:1;stroke:#ffd67e;stroke-width:3.4}.cp-route[data-lit] circle{stroke-width:1.5;fill:#ffde8f}
.cp-digits>span{perspective:3em}.cp-digits b{animation:none}.cp-digits>span::after{z-index:5}
.cp-leaf{position:absolute;overflow:hidden;left:0;right:0;height:50%;pointer-events:none;font:inherit;font-style:normal;backface-visibility:hidden}
.cp-leaf::before{content:attr(data-glyph);position:absolute;inset-inline:0;top:0;height:200%;display:grid;place-items:center;font:inherit;color:#f1e9cf}
.cp-fold-top{top:0;z-index:3;transform-origin:50% 100%;background:linear-gradient(#343f3e,#2b3534);animation:cp-fall-top .44s var(--cp-lag,0ms) both}
.cp-fold-bottom,.cp-base-bottom{bottom:0;background:linear-gradient(#1c2628,#263030)}.cp-fold-bottom::before,.cp-base-bottom::before{top:-100%}
.cp-base-bottom{z-index:1;animation:cp-hide-base .44s var(--cp-lag,0ms) both}.cp-fold-bottom{z-index:4;transform-origin:50% 0;animation:cp-fall-bottom .44s var(--cp-lag,0ms) both}
@keyframes cp-fall-top{0%{transform:rotateX(0);filter:brightness(1)}48%,100%{transform:rotateX(-91deg);filter:brightness(.52)}}
@keyframes cp-hide-base{0%,98%{opacity:1}100%{opacity:0}}
@keyframes cp-fall-bottom{0%,45%{transform:rotateX(91deg);filter:brightness(.5)}91%{transform:rotateX(-4deg);filter:brightness(1.03)}100%{transform:rotateX(0);filter:brightness(1)}}
@container(max-width:700px){.cp-diagram{left:auto;right:5%;top:6%;bottom:auto;width:31%;max-width:145px;padding:3px 5px}.cp-diagram>div{font-size:8px;padding-top:2px}}
@media(max-height:690px){@container(max-width:700px){.cp-diagram{width:23%;top:7%;right:4%}.cp-diagram>div{display:none}}}
@media(prefers-reduced-motion:reduce){.cp-route{transition:none}.cp-leaf{display:none}}

.cp-glass{user-select:none;-webkit-user-select:none;}
/* Equipment in a transit bay: directional enamel fascia, engraved table and inset metal fasteners. */
.cp-board{background:url("bay-stock.svg") center/192px 84px,#25353d;border-color:#10222a;box-shadow:0 12px 12px -7px #11282b85,0 4px 0 #111b1f,inset 0 1px 0 1px #a7b4aa,inset 0 -2px 1px #101d24}
.cp-fascia{position:relative;padding-right:22%;background:linear-gradient(177deg,#ffdd8d,#ffc050 44%,#ecab38);box-shadow:inset 0 1px #fff2bb}
.cp-fascia::after{content:"";position:absolute;right:3.5%;top:50%;width:14%;height:25%;transform:translateY(-50%) skew(-24deg);background:repeating-linear-gradient(90deg,#704d26 0 9%,transparent 9% 17%);opacity:.65}
.cp-lines button{border-bottom:3px solid #718783;background:linear-gradient(150deg,#eff3ec,#c4d1cb)}
.cp-lines button[aria-pressed=true]{border-bottom-color:#a56f24}
.cp-wall{background:linear-gradient(100deg,#d9e2e180,#f8f8ed20 48%,#667a7960),url("bay-stock.svg") center/480px 210px,#aabbb5}
.cp-map-direction{font:700 9px/1 Consolas,monospace;letter-spacing:.11em}
@container(max-width:700px){.cp-fascia::after{height:23%;width:11%}.cp-lines button{font-size:12px}.cp-line-id{flex-shrink:0}}
