/* Parcel Paths play screen: the chute, queue, shelf and plan. Colours follow the board theme variables where they exist. */
.boardwrap { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 480px; touch-action: manipulation; }
.board { display: block; width: 100%; }
.chute { display: block; width: 100%; height: auto; max-height: 44vh; margin: 0 auto; overflow: visible; }
.chute .pipe { stroke: rgba(255, 240, 220, .16); stroke-width: 9; stroke-linecap: round; fill: none; }
.chute .pipe.open, .chute .pipe.in { stroke: rgba(255, 210, 140, .55); }
.chute .sw circle { fill: #2b2018; stroke: #b89a74; stroke-width: 2.5; }
.chute .sw .arrow { fill: #ffd27a; transition: transform .18s ease; }
.chute .sw.hot circle { stroke: var(--fuse, #ff8a3d); stroke-width: 3.5; }
.chute .sw.bad circle { stroke: #ff5a5a; stroke-width: 4; fill: #4a1d1d; }
.chute .sw:focus-visible circle { stroke: #fff; }
.chute .door rect { fill: #2b2018; stroke: #8a7358; stroke-width: 2; }
.chute .door text { fill: #f3e7d6; font: 800 15px system-ui, sans-serif; }
.chute .door.bad rect { stroke: #ff5a5a; stroke-width: 3; }
.chute .box rect { stroke-width: 2.5; }
.chute .box.heavy rect { fill: #c8873e; stroke: #fff1d6; }
.chute .box.light rect { fill: #f3e7d6; stroke: #c8873e; stroke-dasharray: 3 2; }
.chute .box text { font: 800 13px system-ui, sans-serif; fill: #1b120c; }
body.rm .chute .sw .arrow { transition: none; }
.parcelrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 34px; width: 100%; max-width: 480px; margin: 0 auto; }
.parcelrow .rowlab { font-size: 12px; opacity: .7; min-width: 70px; }
.parcelrow .empty { opacity: .6; }
.parcelrow .sep { opacity: .45; font-size: 12px; }
.parcel { display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 0 6px; border-radius: 7px; font: 800 14px system-ui, sans-serif; }
.parcel i { font-style: normal; font-size: 12px; }
.parcel.heavy { background: #c8873e; color: #1b120c; border: 2px solid #fff1d6; }
.parcel.light { background: #f3e7d6; color: #1b120c; border: 2px dashed #c8873e; }
.parcel.next { outline: 3px solid var(--fuse, #ff8a3d); outline-offset: 1px; }
.parcel.failed { outline: 3px solid #ff5a5a; outline-offset: 1px; }
.parcel.gone { opacity: .35; }
.slot { display: inline-flex; min-width: 40px; height: 32px; border: 2px dashed rgba(255, 240, 220, .3); border-radius: 8px; padding: 0; background: transparent; align-items: center; justify-content: center; }
.slot.full { border-style: solid; border-color: var(--fuse, #ff8a3d); cursor: pointer; }
.planbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; max-width: 480px; margin: 0 auto; }
.planbtns .hidden + *, .planbtns:has(.hidden) { grid-template-columns: 1fr; }
.keysign { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; font-weight: 800; }
.chute .badge { font: 800 13px system-ui, sans-serif; fill: #ffd27a; }
.chute .sw.locked circle { fill: #3a3a3a; stroke: #9a9a9a; stroke-dasharray: 4 2; }
.chute .sw.turn circle { stroke: #7fd6ff; }
.chute .sw.linked circle { stroke: #c79bff; }
.chute .box.half rect { fill: linear-gradient(#c8873e, #f3e7d6); fill: #dcae78; stroke: #fff1d6; }
.parcel.half { background: linear-gradient(135deg, #c8873e 50%, #f3e7d6 50%); color: #1b120c; border: 2px solid #c8873e; }
.parcel.express { box-shadow: 0 0 0 2px #ffd24a inset; }
.parcel u { text-decoration: none; font-size: 12px; background: #ffd24a; border-radius: 4px; padding: 0 1px; margin-right: 1px; }
.slot.under { opacity: .55; }
.stacknote { opacity: .7; margin-left: 4px; }
/* Cosmetics on the chute: the track look (body[data-fuse], cosmetics.css #lines .f1-.f3) shows on open tracks only;
   the board look lays its pattern (--pat) and tile colours behind the chute. Classic = plain amber track. */
.chute #lines .track { opacity: 0; transition: opacity .18s ease; }
.chute #lines .track.open { opacity: 1; }
.chute #lines path { fill: none; stroke-linecap: round; pointer-events: none; }
.chute #lines .f1 { stroke: var(--fuse, #ff8a3d); stroke-width: 5px; }
.chute #lines .f2 { stroke: var(--fuseglow, #ffd27a); stroke-width: 2px; opacity: .8; }
body.rm .chute #lines * { animation: none !important; }
.boardwrap { position: relative; border-radius: 16px; padding: 6px; background: var(--pat, none), linear-gradient(160deg, var(--tile, #2b2018), var(--tile2, #1e1610)); border: var(--tb, 1px solid) var(--tileedge, #5a4632); box-shadow: var(--glow, none); }
