.cpw { color:#f3ede2; min-width:0; }
.cpw * { box-sizing:border-box; }
.cpw-heading { padding:18px 16px 12px; }
.cpw-heading h2 { margin:4px 0; font-size:1.45rem; }
.cpw-heading p { margin:0; line-height:1.4; }
.cpw-day { color:#ff991c; font-size:.72rem; font-weight:800; letter-spacing:.12em; }
.cpw-tram,.cpw-plaza,.cpw-dispatch,.cpw-frame { background-size:cover; background-position:center; }
.cpw-tram { min-height:480px; padding:18px 14px; display:flex; flex-direction:column; justify-content:flex-end; border:8px solid #272a2a; border-radius:16px; }
.cpw-window-label { align-self:flex-start; margin-bottom:auto; padding:6px 9px; background:#111c; font-size:.65rem; letter-spacing:.1em; }
.cpw-screens { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.cpw-screen { text-align:left; color:#f7f2e8; border:5px solid #4b5251; border-radius:15px; padding:14px 10px; background:linear-gradient(155deg,#263039,#080d11 70%); box-shadow:0 3px 12px #000; cursor:pointer; min-height:225px; }
.cpw-screen.is-active { border-color:#f99a25; }
.cpw-screen span { display:flex; flex-direction:column; gap:10px; height:100%; }
.cpw-screen-list { padding-left:18px; font-size:.78rem; line-height:1.35; }.cpw-screen-list li { margin:10px 0; }.cpw-screen-list button { color:#ffae3d; background:transparent; border:0; padding:0; text-align:left; text-decoration:underline; cursor:pointer; }
.cpw-screen b { font-size:1.5rem; }.cpw-screen strong { font-size:1.05rem; line-height:1.1; }.cpw-screen small { color:#b9c2c2; line-height:1.3; }.cpw-screen em { margin-top:auto; background:#f7941d; color:#101010; padding:8px; font-size:.75rem; font-style:normal; font-weight:bold; border-radius:4px; }
.cpw-panel { margin:12px 0; padding:16px; background:#171d20; border:1px solid #566061; border-radius:8px; }.cpw-panel h3 { margin:0 0 12px; }.cpw-panel p { line-height:1.45; }
.cpw-tabs { display:flex; gap:8px; margin:10px 0; }.cpw-choice { flex:1; min-width:0; padding:10px 6px; border:1px solid #b7a998; border-radius:5px; background:#e8dfcf; color:#171717; font-weight:bold; cursor:pointer; }.cpw-choice.is-active { background:#f7941d; border-color:#ffad42; }
.cpw-ranked { list-style:none; margin:0 0 18px; padding:0; }.cpw-ranked li { display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid #515656; }.cpw-ranked li span { background:#e9deca; color:#14191b; border-radius:3px; padding:3px 7px; }.cpw-ranked li strong { flex:1; }.cpw-ranked li i { color:#ff991c; font-style:normal; white-space:nowrap; }
.cpw-plaza { height:200px; display:flex; align-items:flex-end; padding:12px; }.cpw-plaza span { font-weight:bold; letter-spacing:.1em; font-size:.75rem; text-shadow:0 1px 4px #000; }.cpw-timeline { border-left:2px solid #f7941d; margin-left:6px; }.cpw-round { display:block; text-align:left; width:100%; color:#ddd; background:transparent; border:0; border-bottom:1px solid #464b4a; padding:12px; cursor:pointer; }.cpw-round b { color:#f7941d; }.cpw-round.is-active { background:#ffffff18; color:white; }
.cpw-done { margin-top:12px; }
.cpw-dispatch { padding:24px 12px; }
.cpw-levers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; padding:15px 8px; background:linear-gradient(120deg,#444847,#202525,#555958); border:4px ridge #666; }
.cpw-lever-unit { min-width:0; text-align:center; padding:5px 3px; border:1px solid #696e69; border-radius:4px; background:linear-gradient(#535955,#282e2c); box-shadow:inset 0 0 5px #111,0 2px 4px #1119; }
.cpw-lever-unit strong,.cpw-lever-unit small { display:block; background:#d2c1a3; color:#211b15; padding:6px 2px; font-size:.7rem; }
.cpw-lever-unit small { margin-top:3px; background:#191b1b; color:#f0e5d6; }
.cpw-lever { position:relative; display:block; width:68px; max-width:100%; height:100px; margin:0 auto 5px; padding:0; overflow:hidden; border:3px ridge #929793; border-radius:5px; cursor:pointer; background:radial-gradient(circle at 7px 7px,#aab0a8 0 2px,#252a27 2.5px 3px,transparent 3.5px),radial-gradient(circle at calc(100% - 7px) 7px,#aab0a8 0 2px,#252a27 2.5px 3px,transparent 3.5px),radial-gradient(circle at 7px calc(100% - 7px),#aab0a8 0 2px,#252a27 2.5px 3px,transparent 3.5px),radial-gradient(circle at calc(100% - 7px) calc(100% - 7px),#aab0a8 0 2px,#252a27 2.5px 3px,transparent 3.5px),linear-gradient(90deg,#343a37,#777d78 45%,#343a37); box-shadow:0 2px 4px #000b,inset 0 0 5px #171b19; }
.cpw-lever:before { content:''; position:absolute; left:50%; top:14px; width:30px; height:65px; transform:translateX(-50%); border:2px solid #777c74; border-radius:16px; background:linear-gradient(90deg,#090c0b,#242b27 50%,#080a09); box-shadow:inset 0 2px 5px #000,0 1px 1px #a1a69b; }
.cpw-lever:after { content:''; position:absolute; z-index:2; left:50%; top:64px; width:16px; height:16px; transform:translateX(-50%); border:2px solid #9b9d8e; border-radius:50%; background:radial-gradient(circle,#383c37 0 3px,#b1b3a4 4px,#51574f 6px); box-shadow:0 1px 3px #000; }
.cpw-lever span { position:absolute; z-index:1; left:calc(50% - 4px); top:27px; width:8px; height:45px; border-radius:4px; background:linear-gradient(90deg,#242824,#c6c6b5 45%,#464b44); box-shadow:2px 1px 3px #000a; transform-origin:50% 100%; transform:rotate(20deg); transition:transform .2s ease; }
.cpw-lever span:before { content:''; position:absolute; left:-4px; top:-7px; width:16px; height:20px; border:1px solid #633511; border-radius:48%; background:radial-gradient(circle at 35% 25%,#ffc574,#b86217 48%,#60310e); box-shadow:1px 2px 3px #0009; }
.cpw-lever.is-on span { transform:rotate(-20deg); }
.cpw-lever:focus-visible { outline:3px solid #ffb24a; outline-offset:2px; }
@media (prefers-reduced-motion:reduce) { .cpw-lever span { transition:none; } }
.cpw-departures div { display:grid; grid-template-columns:30px 1fr auto; gap:8px; padding:9px 0; border-bottom:1px solid #555; color:#ffa017; }.cpw-departures time { white-space:nowrap; }
.cpw-before-after { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:14px; background:#42535d; }.cpw-frame { margin:0; min-height:220px; border:6px solid #20292d; border-radius:8px; box-shadow:0 3px 7px #0009; padding:8px; }.cpw-frame figcaption { text-align:center; background:#e8dfd0; color:#222; border-radius:4px; font-weight:bold; padding:5px; }.cpw-frame:nth-of-type(2) figcaption { background:#f7941d; }.cpw-journal { margin:12px; padding:16px; color:#211c17; background:#e5d9c4; border:4px solid #625749; border-radius:4px; }.cpw-journal h3 { margin:0; }.cpw-journal p { line-height:1.4; }.cpw-journal-row { display:grid; grid-template-columns:65px 1fr; gap:8px; padding:10px 0; border-bottom:1px solid #a99b85; }.cpw-journal .cp-feedback { color:#4b3320; }
@media (max-width:360px) { .cpw-screen { padding:10px 7px; }.cpw-screen strong { font-size:.92rem; }.cpw-tabs { gap:4px; }.cpw-choice { font-size:.75rem; }.cpw-frame { min-height:175px; } }

/* Details mounted into the photographed city scenes. */
.cpw-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.cpw-tram { min-height:570px; padding:15px 12px 35px; border:8px solid #202525; border-radius:12px; background-position:center top; box-shadow:inset 0 0 0 3px #555b59,inset 0 -22px 30px #080b0c; }
.cpw-window-label { background:#111b; border:1px solid #69716e; color:#d6d7cf; }
.cpw-screens { gap:7px; }
.cpw-screen { min-height:245px; padding:18px 10px 12px; border:5px ridge #687270; border-radius:17px; background:linear-gradient(150deg,#202a2eeb,#070b0df5 68%,#1d3039ed); box-shadow:0 4px 0 #111,0 7px 12px #000, inset 0 0 0 2px #101719; }
.cpw-screen.is-active { border-color:#7a817a; box-shadow:0 4px 0 #111,0 7px 12px #000,inset 0 0 0 2px #c57728; }
.cpw-screen .cp-button { margin-top:18px; width:100%; padding:9px 5px; font-size:.75rem; }
.cpw-plaza { height:185px; border-top:2px solid #737a76; border-bottom:3px solid #121719; }
.cpw-plaza-panel { margin:0; padding:12px; border-radius:0 0 6px 6px; }
.cpw-plaza-panel h3 { margin:5px 0 8px; }
.cpw-ranked { margin-bottom:12px; }
.cpw-ranked li { gap:7px; padding:7px 0; font-size:.83rem; }
.cpw-ranked li i { font-size:.7rem; white-space:normal; text-align:right; }
.cpw-round { position:relative; padding:10px 7px 10px 14px; font-size:.8rem; }
.cpw-round b { position:absolute; left:-7px; top:10px; color:#ff9b21; text-shadow:0 0 4px #e47b16; }
.cpw-round small { float:right; color:#bcbeb7; margin-left:5px; }
.cpw-round.is-active small { color:#ffae40; font-weight:bold; }
.cpw-dispatch { padding:22px 12px; border:5px ridge #555b59; box-shadow:inset 0 0 24px #000; }
.cpw-levers { border-radius:5px; box-shadow:0 4px 10px #000b,inset 0 0 12px #111; }
.cpw-lever-unit strong { min-height:34px; border:1px solid #847761; border-radius:2px; box-shadow:0 2px 3px #111; }
.cpw-dispatch-panel { margin:12px 0 0; background:linear-gradient(#202625,#0b0f10); border:4px ridge #656a67; box-shadow:0 4px 10px #000b,inset 0 0 10px #000; }
.cpw-departures { background:#10120f; padding:0 7px; border:1px solid #424a42; font-family:monospace; }
.cpw-departures div { color:#ff9e13; text-shadow:0 0 5px #d77716; }
.cpw-before-after { position:relative; gap:20px; padding:25px 12px; background:linear-gradient(#344b59,#718898 50%,#26363d); }
.cpw-frame { min-height:220px; border:7px ridge #3c4749; box-shadow:0 5px 8px #000b,inset 0 0 0 2px #101719; }
.cpw-before-arrow { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); color:#ff991c; font-size:2rem; font-weight:900; text-shadow:0 2px 4px #000; }
.cpw-journal { position:relative; margin:12px; padding:16px; background:repeating-linear-gradient(0deg,#e6d9c1 0,#e6d9c1 31px,#d3c4aa 32px); border:5px ridge #796c59; box-shadow:0 4px 9px #0009,inset 0 0 18px #8a76563b; }
.cpw-journal:before,.cpw-journal:after { content:'●'; position:absolute; top:4px; color:#746856; font-size:.65rem; }.cpw-journal:before { left:5px; }.cpw-journal:after { right:5px; }
.cpw-journal-row { align-items:start; border-bottom:1px solid #aa9b82; }
.cpw-journal input { accent-color:#c66f10; }
.cpw-journal .cp-feedback { padding:9px; border-left:3px solid #c67716; background:#fff5db9c; }
@media (max-width:360px) { .cpw-tram { min-height:500px; }.cpw-screen { min-height:225px; }.cpw-ranked li { font-size:.75rem; }.cpw-ranked li i { font-size:.65rem; }.cpw-frame { min-height:175px; } }
