@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--ink:#293c34;--muted:#758076;--paper:#f5f3ec;--green:#375a47;--gold:#b8934f;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);font-size:15px}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible,#map:focus-visible{outline:3px solid #af7932;outline-offset:4px}button:hover{filter:brightness(.94)}header{height:88px;border-bottom:1px solid #dedfd5;display:flex;align-items:center;gap:24px;padding:0 5.4%}.brand{text-decoration:none;color:var(--ink);font-family:'Libre Caslon Display',Georgia,serif;font-size:29px;display:flex;align-items:center;gap:13px}.brandmark{font-size:34px;color:var(--gold)}.edition{font-size:10px;letter-spacing:2px;margin-left:18px;color:var(--muted)}header>button{margin-left:auto}.subtle{font-size:12px;color:#6b776d;padding:8px}.subtle span{border:1px solid #aab2a5;border-radius:50%;padding:0 4px;margin-left:4px}main{max-width:1510px;margin:auto;padding:38px 5.4% 20px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#78826d}h1{font-family:'Libre Caslon Display',Georgia,serif;font-size:46px;letter-spacing:-1px;font-weight:400;margin:10px 0}p{line-height:1.6}.heading p{font-size:14px;color:var(--muted);margin:0}.mode-control{display:flex;background:#e9ebe1;padding:4px;border:1px solid #dfe3d7;border-radius:8px}.mode-control button{padding:9px 18px;font-size:12px;border-radius:5px}.mode-control button[aria-pressed=true]{background:#fffef9;box-shadow:0 2px 5px #293c3410}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:28px;align-items:start}.game-panel{border:1px solid #d5dace;border-radius:12px;overflow:hidden;background:#fffdf7;box-shadow:0 8px 28px #26362806}.map-top{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;font-size:9px;letter-spacing:1px}.live-dot{display:inline-block;width:6px;height:6px;background:#7b936f;border-radius:50%;margin-right:7px}.fiction{letter-spacing:0;color:#7f8879;text-transform:none}.map-bottom{font-size:10px;padding:16px 17px;display:flex;justify-content:space-between;gap:10px;color:#788072;align-items:center}kbd{font-family:inherit;border:1px solid #dce0d2;border-bottom:2px solid #dce0d2;padding:3px 5px;border-radius:3px;font-size:9px;margin-right:2px}.control-sep{padding:0 8px;color:#b5b9ad}#map{aspect-ratio:1.36;position:relative;background:#e6dfcd;overflow:hidden;border-top:1px solid #cfd2c1;border-bottom:1px solid #cfd2c1}.sacristy-floor{position:absolute;inset:0 72% 0 0;background:repeating-linear-gradient(0deg,transparent 0 28px,#b6a38030 29px 30px),repeating-linear-gradient(90deg,#d6c8ac 0 58px,#cfbea2 59px 60px)}.sanctuary-floor{position:absolute;inset:0 0 0 28%;background:repeating-linear-gradient(0deg,transparent 0 49px,#cfcbb850 50px 51px),repeating-linear-gradient(90deg,#e7e3d3 0 49px,#d4d0bf 50px 51px)}.divider{position:absolute;left:27%;width:2.1%;background:#c2bba4;border-left:4px solid #efe8d6;border-right:4px solid #afa990;z-index:2;box-shadow:5px 0 8px #6a644c12}.divider.top{top:0;height:52%}.divider.bottom{top:73%;bottom:0}.room-label{position:absolute;z-index:2;font-size:8px;letter-spacing:2px;font-weight:700;color:#827d68}.sacristy-label{left:7%;top:7%}.sanctuary-label{left:56%;top:7%}.apse{position:absolute;width:48%;height:49%;left:40%;top:11%;border-radius:46% 46% 5px 5px;background:#f0edde;border:1px solid #d9d3bf;box-shadow:0 7px 0 #d6cfbc,0 10px 0 #f6f1e1}.rug{position:absolute;left:52%;top:29%;width:24%;height:21%;background:#929c83;border:5px solid #b9bea4;box-shadow:inset 0 0 0 1px #d2d1b7}.pews{position:absolute;bottom:3%;width:23%;height:18%;background:repeating-linear-gradient(0deg,transparent 0 12px,#9c8060 13px 22px,#c4ac86 23px 28px,transparent 29px 45px);border-radius:3px;opacity:.75}.pews.left{left:38%}.pews.right{right:8%}.doorway{position:absolute;left:18%;top:62%;font-size:6px;letter-spacing:.6px;color:#8d846e}.map-compass{position:absolute;right:3%;bottom:3%;font-size:10px;color:#949881;text-align:center}.station{position:absolute;transform:translate(-50%,-50%);z-index:3;min-width:55px;min-height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px}.station svg{width:43px;height:43px;filter:drop-shadow(2px 5px 2px #4e493326)}.station-label{margin-top:3px;font-size:9px;background:#f8f4e8e8;padding:3px 7px;border-radius:4px;white-space:nowrap;box-shadow:0 1px 2px #49472d0a}.station.tray svg,.station.supplies svg{width:64px;height:48px}.station.altar svg{width:88px;height:50px}.station.done .station-label:after{content:' ✓';color:#426747}.station.candle svg{width:25px;height:33px}.station.candle .station-label{font-size:8px}.station:hover{background:#fffcf050;border-radius:8px}#player{position:absolute;left:15%;top:73%;width:23px;height:27px;transform:translate(-50%,-50%);z-index:5;pointer-events:none;filter:drop-shadow(0 3px 2px #4f433b35)}#player span{display:block;width:23px;height:25px;border-radius:9px 9px 6px 6px;background:#496553;border:2px solid #eceddb}#player span:before{content:'';position:absolute;top:-7px;left:6px;width:12px;height:12px;border-radius:50%;background:#cba67d;border:2px solid #e8d2ad}#player b{position:absolute;left:0;top:33px;font-size:7px;letter-spacing:1px;color:#3b5544}.journey{display:flex;justify-content:space-between;align-items:center;margin:8px 0 14px}#stageNumber{color:#a2a890;font-size:11px}h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:30px;line-height:1.1;margin:0 0 12px}.muted{color:var(--muted);font-size:12px;margin:0 0 18px}.progress-track{height:4px;background:#dde2d5;border-radius:4px;margin:20px 0 8px}.progress-track>div{height:100%;background:#758c68;transition:width .3s}.progress-label{font-size:10px;color:#828b79;margin-bottom:16px}.check{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:12px;border-bottom:1px solid #e3e5db}.check .checkmark{width:17px;height:17px;flex-shrink:0;border:1px solid #c6cebc;border-radius:50%;display:grid;place-items:center;font-size:10px}.check.complete{color:#78866e}.check.complete .checkmark{background:#7e9372;color:white;border-color:#7e9372}.guide{display:flex;gap:11px;background:#e9eddf;border:1px solid #dfe4d5;border-radius:8px;padding:15px;margin-top:20px;font-size:11px}.guide-star{font-size:23px;color:#7c8e64}.guide strong{font-size:11px;font-weight:600}.guide p{font-size:11px;margin:6px 0;color:#6e7e62}.text-button{padding:0;font-size:11px;color:#58704c;text-decoration:none}.text-button:hover{text-decoration:underline}.carrying{display:flex;align-items:center;gap:12px;padding:18px 0 0;margin-top:6px}.carrying>span{font-size:28px;color:#9ca68d}.carrying small{display:block;font-size:8px;letter-spacing:1.4px;color:#8c9582;margin-bottom:5px}.carrying strong{font-size:11px;font-weight:500}.carrying button{margin-left:auto}.message{margin-top:18px;padding:13px 16px;background:#eeeee4;border-radius:6px;font-size:12px;color:#65745e;min-height:43px}footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#9a9e90;margin-top:22px}dialog{width:min(760px,94vw);max-height:90vh;border:1px solid #d8dccb;border-radius:15px;padding:26px;background:#faf8f1;color:var(--ink);box-shadow:0 30px 100px #14261c40}dialog::backdrop{background:#26382c75;backdrop-filter:blur(4px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.close{font-size:26px;padding:0 8px}.primary{padding:12px 20px;border-radius:6px;background:var(--green);color:#fffdf5;font-size:13px}.secondary{padding:11px 17px;border:1px solid #cbd2c0;border-radius:6px;font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.tray-layout{display:grid;grid-template-columns:185px 1fr;gap:20px}.inventory{display:flex;flex-direction:column;gap:5px}.inventory button{padding:8px 10px;border:1px solid #dfe1d4;background:#fffdf6;border-radius:5px;text-align:left;font-size:12px}.inventory button[aria-pressed=true]{background:#e0e8d6;border-color:#6e865e}.tray-board{background:#c5b18b;border:10px solid #a58c63;box-shadow:inset 0 0 0 2px #dccba7;border-radius:16px;padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.slot{min-height:88px;border:1px dashed #f7edda;border-radius:7px;background:#d9c8a96b;font-size:11px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#594f3d}.slot svg{height:35px;width:40px}.slot.filled{background:#eadfc9;border-style:solid}.slot small{font-size:9px}.practice-view .slot{border-color:transparent}.inventory-caption{font-size:10px;color:#7a826f;margin:0 0 8px}.oil-track{height:34px;background:#e5e5d6;border-radius:6px;position:relative;margin:28px 0 12px;overflow:hidden}.oil-level{height:100%;background:#c5a968;transition:width .2s}.oil-target{position:absolute;left:75%;top:0;height:100%;border-left:2px dashed #3a5342}.host-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;padding:22px;background:#eeeadc;border-radius:10px}.host{width:42px;height:42px;max-width:100%;aspect-ratio:1;border-radius:50%;background:#fffdf2;border:1px solid #d7d1b9;box-shadow:0 2px 2px #b6ab8b20;display:grid;place-items:center;color:#d2cbb5;font-family:Georgia,serif;margin:auto}input[type=number]{width:85px;padding:10px;border:1px solid #c7cebb;border-radius:5px;font:inherit;background:white;color:var(--ink)}label{font-size:13px}.setting{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e4e5d9;gap:15px}.finish-icon{font-size:42px;color:#9d8c51}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.review-grid>div{background:#edf0e5;padding:18px;border-radius:8px;font-size:11px}.review-grid strong{display:block;font-family:Georgia,serif;font-size:27px;margin-bottom:8px}#dialogMessage{font-size:12px;color:#617652;margin:16px 0 0;min-height:20px}.supply-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.supply-grid button{background:#eeefe3;border:1px solid #d4dac8;border-radius:8px;padding:18px;display:flex;align-items:center;gap:12px;font-size:13px}.supply-grid svg{width:35px;height:35px}.large-text{font-size:18px}.large-text .check,.large-text .muted,.large-text .message,.large-text .guide p,.large-text .inventory button,.large-text .slot,.large-text .station-label{font-size:14px}.large-text .station-label{white-space:normal}.large-text .map-bottom{font-size:12px}@media(min-width:1500px){main{padding-top:48px}#map{aspect-ratio:1.45}}@media(max-width:1000px){main{padding:28px 4%}.workspace{grid-template-columns:minmax(0,1fr) 250px;gap:20px}h1{font-size:38px}.fiction{display:none}.map-bottom{flex-wrap:wrap}.station-label{font-size:8px}}@media(max-width:760px){header{height:68px;padding:0 5%}.edition{display:none}.heading{align-items:start;gap:15px;flex-direction:column}h1{font-size:36px}.workspace{grid-template-columns:1fr}#map{min-height:380px;aspect-ratio:1.15}aside{padding:0 5px}#checklist{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.map-top{padding:9px 10px}.tray-layout{grid-template-columns:1fr}.inventory{display:grid;grid-template-columns:1fr 1fr}.tray-board{padding:12px}.room-label{font-size:6px}.station svg{width:34px;height:34px}.station.altar svg{width:62px}.station-label{padding:2px 3px;font-size:7px}.station{min-width:40px}.station.tray svg,.station.supplies svg{width:44px}.doorway{display:none}footer{flex-direction:column;gap:15px}footer button{text-align:left}.host-grid{gap:10px}.review-grid{gap:6px}.review-grid>div{padding:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

[hidden]{display:none!important}

.station .placed-object{position:absolute;top:8px;left:50%;transform:translateX(-50%)}.station .placed-object svg{width:25px;height:25px;filter:none}.station .placed-object.beside{left:90%;top:18px}

.run-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px;border:1px solid #d4d9c8;border-radius:9px;background:#eaeee1;margin-bottom:22px}.run-bar>div{display:flex;align-items:center;gap:15px;flex-wrap:wrap}#countdown{font-size:25px;font-variant-numeric:tabular-nums;font-weight:500}#seatingLabel{font-size:11px;color:#6d7c61}.urgent{color:#9c502e}.run-bar button{font-size:11px}.run-bar button:disabled{opacity:.65;cursor:default}.hand-panel{margin-top:18px;border-top:1px solid #d8dece;padding-top:14px}.hand-panel>small{font-size:9px;letter-spacing:1.5px;color:#7d8872}#hands,.dialog-hands{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:9px 0}.hand{background:#e8ecdf;border:1px solid #d1dac4;border-radius:7px;padding:10px;min-height:65px;text-align:left;font-size:11px}.hand small{display:block;font-size:8px;letter-spacing:1px;margin-bottom:7px;color:#8b957e}.hand.full{background:#fffdf3}.hand.selected.full{border-color:#658254;box-shadow:inset 0 0 0 1px #658254}.hand em{display:block;font-size:9px;color:#829270;margin-top:5px}.hand:disabled{cursor:default;opacity:1}.surface-area{padding:13px;margin-top:16px;border:1px solid #d9dece;border-radius:8px}.surface-area .actions{margin-top:9px}.surface-area .secondary{padding:7px 10px;font-size:11px}.dialog-clock{position:sticky;top:-26px;z-index:8;background:#e7ecdb;margin:-26px -26px 14px;padding:9px 26px;font-size:12px;font-variant-numeric:tabular-nums;color:#4e6643;min-height:32px}.dialog-clock:empty{display:none}.oil-band{position:absolute;top:0;height:100%;border:2px dashed #38583d;background:#5b82582e}.oil-level{transition:none}#holdPour{touch-action:none;user-select:none}#pourStatus{min-height:24px;font-size:13px}.seat{position:absolute;width:11px;height:13px;border:1px solid #a4967940;border-radius:50% 50% 3px 3px;z-index:2;transform:translate(-50%,-50%)}.seat.occupied{background:#819184;box-shadow:0 2px 2px #605a4020}.seat.occupied:before{content:'';position:absolute;top:-4px;left:2px;width:6px;height:6px;border-radius:50%;background:#c3a889}.seat.occupied:nth-child(3n){background:#977e71}.seat.occupied:nth-child(4n){background:#7d8092}.parishioner{position:absolute;z-index:6;width:22px;height:30px;transform:translate(-50%,-50%);pointer-events:none}.parishioner .body{position:absolute;top:7px;left:5px;width:15px;height:19px;border-radius:6px 6px 3px 3px;background:var(--coat)}.parishioner.woman .body{clip-path:polygon(20% 0,80% 0,100% 100%,0 100%)}.parishioner .head{position:absolute;left:8px;top:0;width:10px;height:10px;border-radius:50%;background:#cfb794;border:2px solid #e6e3db;z-index:1}.walker{position:absolute;top:22px;left:1px;width:24px;height:14px;border:2px solid #899088;border-top-width:3px;border-radius:4px}.walker:before,.walker:after{content:'';position:absolute;bottom:-4px;width:4px;height:4px;background:#616963;border-radius:50%}.walker:before{left:-3px}.walker:after{right:-3px}.procession-view{box-shadow:inset 0 0 65px #dccb8b66}.procession-person{position:absolute;transform:translate(-50%,-50%);width:19px;height:31px;background:#faf6e4;border:1px solid #c6ba93;border-radius:7px 7px 3px 3px;z-index:7;text-align:center;color:#ac925a;font-size:13px;padding-top:8px}.procession-person:before{content:'';position:absolute;top:-6px;left:4px;width:10px;height:10px;border-radius:50%;background:#c9a581}.procession-person.deacon{background:linear-gradient(45deg,#f9f5e6 43%,#719279 45% 58%,#f9f5e6 60%)}.procession-person.priest{background:#6f8c71;color:#ead9a1}.procession-person small{position:absolute;top:33px;left:50%;transform:translateX(-50%);font-size:8px;white-space:nowrap;background:#f8f6e9e8;padding:3px;border-radius:3px}.procession-person.server small{display:none}.leaderboard{border-collapse:collapse;width:100%;margin-top:20px;font-variant-numeric:tabular-nums}.leaderboard th,.leaderboard td{padding:10px 12px;border-bottom:1px solid #dfe3d6;text-align:left}.leaderboard th{font-size:11px;color:#7a8670}.gothic,.initials-input{font-family:'UnifrakturCook','Old English Text MT',serif;font-size:27px}.readable-initials .gothic,.readable-initials .initials-input{font-family:'DM Sans',system-ui,sans-serif;font-size:20px}.initials-input{text-transform:uppercase;width:100px;background:#fffdf5;border:1px solid #c4ceb7;border-radius:6px;padding:7px;letter-spacing:3px}#scoreForm{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.unfinished{font-size:13px;line-height:1.8}.large-text .hand,.large-text .surface-area .secondary{font-size:14px}.sideS svg{width:43px;height:30px}.sideS .station-label{font-size:7px}@media(max-width:760px){.run-bar{align-items:start;flex-direction:column}.run-bar>div{gap:10px}.hand-panel{margin-bottom:10px}.procession-person small{font-size:6px}.leaderboard th,.leaderboard td{padding:8px}.large-text .sideS .station-label{font-size:10px}}
/* Viewport layout: the map and its world-space sprites scale together. */
html,body{width:100%;height:100%;min-width:0;margin:0}body{height:100dvh;display:grid;grid-template-rows:52px minmax(0,1fr)}header{height:auto;padding:0 24px;gap:18px}.brand{font-size:25px}.brandmark{font-size:29px}.edition{font-size:9px}main{width:100%;height:100%;min-height:0;max-width:1800px;margin:0 auto;padding:12px 24px 10px;display:grid;grid-template-rows:minmax(0,1fr) minmax(34px,auto) 18px;gap:9px}.heading{margin:0;gap:12px;align-items:center}.heading .eyebrow{font-size:8px}.heading h1{font-size:28px;margin:2px 0;line-height:1}.heading p{font-size:11px;line-height:1.2}.mode-control button{padding:7px 14px}.workspace{min-height:0;grid-template-columns:minmax(0,1fr) 286px;gap:18px;align-items:stretch}.game-panel{min-height:0;display:grid;grid-template-rows:54px minmax(0,1fr) 30px;overflow:visible}.map-top{padding:7px 12px;gap:10px;font-size:10px;letter-spacing:0;min-width:0;border-bottom:1px solid #d8ddce}.church-clock{display:grid;grid-template-columns:auto auto;gap:2px 10px;align-items:center}.church-name{font-size:9px;letter-spacing:.7px}.church-name small{font-size:9px;letter-spacing:0}#countdown{grid-column:2;grid-row:1 / 3;font-size:25px;line-height:1.1}#seatingLabel{font-size:10px;grid-column:1}.map-actions{display:flex;align-items:center;gap:5px}.map-actions button{padding:7px 9px;font-size:10px;white-space:nowrap}.map-actions .subtle{padding:7px 4px}.map-shell{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;container-type:size;background:#e9e8dc;border-radius:0}#map{container-type:inline-size;width:var(--map-width,100%);height:var(--map-height,auto);aspect-ratio:1.36;min-height:0;max-height:none;flex:none;border:0;box-shadow:inset 0 0 0 .5cqw #beb69e;overflow:hidden}.map-bottom{padding:5px 10px;font-size:10px;flex-wrap:nowrap;justify-content:space-between}.control-sep{padding:0 3px}kbd{font-size:8px;padding:1px 4px}.scenery{position:absolute;z-index:2;pointer-events:none}.scenery.wall{background:#c2bba4;box-shadow:inset .35cqw 0 #eee7d5,inset -.35cqw 0 #aaa48d}.scenery.pew{background:#b49870;border-radius:.25cqw;box-shadow:inset 0 .35cqw #d7c49e,inset 0 -.4cqw #947857}.room-label{font-size:clamp(8px,1.05cqw,11px);letter-spacing:1.4px}.doorway{left:23%;top:60%;font-size:0;width:10%;height:7%;border-top:1px dashed #b9b197;border-bottom:1px dashed #b9b197;opacity:.5}.map-compass{font-size:1.3cqw}.apse{box-shadow:0 .8cqw 0 #d6cfbc,0 1.1cqw 0 #f6f1e1}.rug{border-width:.6cqw}.station,.station.tray,.station.supplies,.station.altar,.station.candle{min-width:0;min-height:0;padding:0;display:block;transform:translate(-50%,-50%)}.station>svg,.station.tray>svg,.station.supplies>svg,.station.altar>svg,.station.candle>svg,.station.sideS>svg{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(.2cqw .3cqw .1cqw #4e49332a)}.station-label,.station.candle .station-label,.sideS .station-label{position:absolute;left:50%;top:100%;transform:translateX(-50%);margin:3px 0 0;font-size:clamp(9px,1.15cqw,12px);line-height:1.1;padding:2px 4px;white-space:nowrap}.station:hover{background:transparent}#player{width:2.3%;height:3.3%;filter:drop-shadow(.15cqw .3cqw .12cqw #4f433b35)}#player svg{width:100%;height:100%;display:block}#player b{top:105%;left:50%;transform:translateX(-50%);font-size:clamp(7px,.95cqw,10px)}.parishioner{width:2.9%;height:4.3%}.parishioner svg{display:block;width:100%;height:100%}.seat{width:1.3%;height:1.8%;border-radius:45% 45% 2px 2px}.seat.occupied:before{width:55%;height:45%;top:-20%;left:22%}.station .placed-object{left:50%;top:10%;width:36%;height:65%}.station .placed-object svg{width:100%;height:100%}.station .placed-object.beside{left:90%;top:12%;width:25%;height:60%}.procession-person{width:2.3%;height:4%;font-size:1.5cqw;padding-top:.8cqw;border-radius:.5cqw}.procession-person:before{width:50%;height:33%;left:25%;top:-20%}.procession-person small{top:105%;font-size:clamp(8px,1cqw,10px)}aside{min-width:0;min-height:0;display:flex;flex-direction:column}.journey{margin:3px 0 7px}aside h2{font-size:27px;margin:0 0 5px}aside .muted{font-size:12px;line-height:1.35;margin:0 0 4px}.progress-track{margin:9px 0 5px}.progress-label{margin:0 0 6px}.check{padding:7px 0;font-size:12px;gap:8px;line-height:1.2}.check .checkmark{width:16px;height:16px}.guide{margin-top:9px;padding:9px;gap:8px;align-items:start}.guide p{font-size:11px;line-height:1.3;margin:4px 0}.guide-star{font-size:19px}.score-line{display:flex;justify-content:space-between;margin-top:auto;padding:8px 0 0;font-size:11px;color:#6d7b63}.score-line strong{font-variant-numeric:tabular-nums;font-size:15px}.hand-panel{margin-top:7px;padding-top:7px}.hand-panel>small{font-size:8px}#hands,.dialog-hands{margin:6px 0;gap:6px}.hand{min-height:48px;padding:7px;font-size:11px}.hand small{font-size:8px;margin-bottom:4px}.hand em{font-size:9px;margin-top:2px}.message{margin:0;padding:8px 12px;min-height:34px;font-size:12px;line-height:1.4}footer{margin:0;align-items:center;font-size:10px}.large-text .check,.large-text .muted,.large-text .message,.large-text .guide p{font-size:14px}.large-text .station-label{font-size:clamp(10px,1.4cqw,14px);white-space:nowrap}.large-text .hand{font-size:13px}
/* Dialogs use columns and compact cards instead of long scrolling stacks. */
dialog{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 24px);padding:18px;overflow:visible}dialog h2{font-size:28px;margin-bottom:6px}dialog p{line-height:1.35;font-size:13px;margin:8px 0}.dialog-clock{position:static;margin:-18px -18px 10px;padding:7px 18px;min-height:0;border-radius:14px 14px 0 0}.dialog-top{margin-bottom:6px}.close{font-size:25px;line-height:1}.dialog-top .eyebrow{font-size:9px}#dialogDescription{margin-bottom:12px;font-size:12px}#dialogBody{min-height:0}#dialogMessage{margin:8px 0 0;min-height:18px;font-size:12px}.actions{margin-top:10px;gap:7px}.primary,.secondary{padding:9px 13px;font-size:12px}.tray-layout{grid-template-columns:200px minmax(0,1fr);gap:14px}.inventory{gap:4px;display:grid;grid-template-columns:1fr}.inventory button{padding:6px 8px;font-size:12px;min-height:28px}.inventory-caption{margin:0 0 5px;font-size:9px}.tray-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-width:7px;padding:10px;align-content:stretch}.slot{min-height:67px;gap:3px;font-size:11px;padding:4px}.slot svg{width:33px;height:29px}.slot small{font-size:10px}.surface-area{padding:9px;margin-top:10px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px 12px;align-items:center}.surface-area>.inventory-caption{grid-column:1/-1}.surface-area .actions{margin:0;gap:5px}.surface-area .secondary{padding:6px 8px;font-size:11px}.surface-area .muted{font-size:11px;margin:0}.supply-grid{grid-template-columns:repeat(4,1fr);gap:10px}.supply-grid button{padding:13px;font-size:13px}.supply-grid svg{width:32px;height:32px;flex:none}.host-grid{grid-template-columns:repeat(9,1fr);gap:10px;padding:16px}.host{width:38px;height:38px}.review-grid{margin:12px 0;gap:10px}.review-grid>div{padding:13px}.review-grid strong{font-size:27px}.leaderboard{margin-top:10px;font-size:13px}.leaderboard th,.leaderboard td{padding:5px 10px}.leaderboard .gothic{font-size:24px}.setting{padding:7px 0;font-size:12px}.setting input[type=number]{padding:6px;width:68px}.unfinished{display:grid;grid-template-columns:1fr 1fr;gap:3px 25px;line-height:1.35;padding-left:20px;font-size:12px}.oil-track{margin:20px 0 10px}#dialogBody:has(#cupQuantity){display:grid;grid-template-columns:1fr 1fr;gap:0 26px}#dialogBody:has(#cupQuantity)>.actions{grid-column:1/-1}#dialogBody:has(.tray-layout){display:grid;grid-template-columns:minmax(0,1fr);gap:0}.large-text .inventory button,.large-text .slot{font-size:14px}.large-text .surface-area .secondary{font-size:12px}.large-text .surface-area .hand{font-size:13px}.large-text .host{width:42px;height:42px}
@media(max-height:720px){body{grid-template-rows:44px minmax(0,1fr)}main{padding:7px 18px;grid-template-rows:minmax(0,1fr) minmax(32px,auto) 16px;gap:6px}.heading h1{font-size:24px}.heading p{font-size:10px}.heading .eyebrow{font-size:7px}.workspace{gap:12px;grid-template-columns:minmax(0,1fr) 275px}.game-panel{grid-template-rows:48px minmax(0,1fr) 26px}.map-top{padding:5px 8px}.map-actions button{font-size:9px;padding:6px}.church-name{font-size:8px}#countdown{font-size:23px}aside h2{font-size:24px}.journey{margin:1px 0 4px}.check{padding:5px 0;font-size:11px}.guide{padding:7px;margin-top:6px}.guide p{font-size:10px}.score-line{padding-top:5px}.hand{min-height:43px;padding:5px}.hand-panel{margin-top:4px;padding-top:4px}aside .muted{font-size:11px}.large-text .check{font-size:13px;padding:4px 0}.large-text .muted,.large-text .guide p{font-size:12px}.large-text .hand{font-size:12px}dialog{padding:14px}.dialog-clock{margin:-14px -14px 7px;padding:6px 14px}dialog h2{font-size:25px}#dialogDescription{margin-bottom:8px}.slot{min-height:60px}.inventory button{padding:4px 7px;min-height:25px}.surface-area{padding:7px;margin-top:7px}.tray-board{gap:6px;padding:7px}.host{width:32px;height:32px}.leaderboard th,.leaderboard td{padding:4px 8px}.leaderboard .gothic{font-size:21px}.large-text .inventory button,.large-text .slot{font-size:13px}}
@media(max-width:1100px){header{padding:0 16px}main{padding-left:14px;padding-right:14px}.workspace{grid-template-columns:minmax(0,1fr) 252px;gap:12px}.map-top{flex-wrap:wrap;align-content:center;row-gap:3px}.church-clock{display:flex;gap:7px;flex-wrap:wrap}.church-name small{display:block}.church-name{font-size:8px}#countdown{font-size:23px}#seatingLabel{font-size:9px}.map-actions button{font-size:9px;padding:6px}.map-bottom{font-size:9px;gap:4px}.control-sep{padding:0}.check{font-size:11px}.guide p{font-size:10px}.station-label{padding:2px}.supply-grid button{padding:9px;font-size:12px;gap:8px}}
@media(max-width:900px){body{grid-template-rows:44px minmax(0,1fr)}main{padding:8px 12px;grid-template-rows:minmax(0,1fr) minmax(32px,auto) 16px;gap:7px}.heading{flex-direction:row;align-items:center}.heading h1{font-size:23px}.heading p{font-size:10px}.heading .eyebrow{font-size:7px}.edition{display:none}.workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}.game-panel{grid-template-rows:48px minmax(0,1fr) 26px}.map-top{flex-wrap:nowrap}.church-clock{display:grid;grid-template-columns:auto auto}.church-name small{display:inline}.church-clock #countdown{grid-row:1/3;grid-column:2}.map-actions button{font-size:10px}aside{display:grid;grid-template-columns:1.2fr 1.6fr 1fr;gap:3px 12px;align-content:start}aside .journey{grid-column:1;margin:0}aside h2{grid-column:1;font-size:23px}aside #taskDescription{grid-column:1;font-size:11px}aside .progress-track,aside .progress-label{grid-column:1;margin:3px 0}#checklist{grid-column:2;grid-row:1/7;display:grid;grid-template-columns:1fr 1fr;column-gap:7px}.check{font-size:10px;padding:4px 0;gap:4px}.check .checkmark{width:13px;height:13px}.guide{grid-column:1/3;grid-row:7;padding:6px;margin:2px 0 0}.guide p{display:inline;margin-right:6px}.guide strong{margin-right:5px}.guide-star{font-size:17px}.score-line{grid-column:3;grid-row:1;margin:0;padding:0}.hand-panel{grid-column:3;grid-row:2/8;margin:0;padding:4px 0}.hand{font-size:10px;min-height:47px}#hands{grid-template-columns:1fr}.hand small{font-size:7px}.text-button{font-size:10px}footer{flex-direction:row;gap:8px;font-size:9px}.large-text .check{font-size:12px}.large-text .hand{font-size:12px}.tray-layout{grid-template-columns:180px minmax(0,1fr)}.surface-area{grid-template-columns:1fr 1fr}.surface-area>.actions:last-child{grid-column:2}.surface-area .dialog-hands{grid-row:2/4}.host-grid{grid-template-columns:repeat(9,1fr);gap:6px}.host{width:30px;height:30px}}
aside>*{flex-shrink:0}.check{padding:5px 0}.hand-panel{display:flex;flex-direction:column;gap:4px}.hand-panel>small{display:block;line-height:1.2}.hand-panel #hands{margin:0}.hand-panel>.text-button{text-align:left;line-height:1.2}.score-line{padding-top:4px;line-height:1.2}.guide p{line-height:1.25}.guide .text-button{line-height:1.2}.progress-track{flex-shrink:0}
@media(max-height:680px) and (min-width:901px){#checklist{display:grid;grid-template-columns:1fr 1fr;gap:0 7px}.check{font-size:11px;line-height:1.2;min-height:36px;padding:4px 0}.guide{padding:6px}.guide strong{font-size:10px}.guide p{font-size:10px}.score-line{font-size:10px}}
#map{box-shadow:none}.scenery.wall[style*="height:0.5%"],.scenery.wall[style*="width:0.5%"]{box-shadow:none;background:#beb69e}
.large-text .check{padding:3px 0}.large-text .guide{padding:7px;margin-top:6px}.large-text .score-line{padding-top:2px}
@media(max-height:680px) and (min-width:901px){.large-text #checklist{display:block}.large-text .check{font-size:12px;min-height:0;line-height:1.2;padding:3px 0}.large-text .guide{padding:5px;margin-top:4px}.large-text aside .muted{font-size:12px}.large-text .hand{min-height:40px}}
@media(max-height:680px){.inventory button,.large-text .inventory button{min-height:24px;padding:3px 7px;line-height:1.1}.surface-area{padding:6px}.surface-area .dialog-hands{margin:3px 0}}
@media(max-height:680px) and (min-width:901px){.large-text .hand-panel{margin-top:2px;padding-top:2px}.large-text .score-line{padding-top:0}}
.leaderboard td{line-height:1.15;padding:5px 10px}.leaderboard .gothic{font-size:22px;line-height:1}.readable-initials .leaderboard .gothic{font-size:18px;line-height:1.2}
@media(max-height:680px){.leaderboard td{padding:4px 8px}.leaderboard .gothic{font-size:20px}}
.station.deacon .station-label,.station.credence .station-label{left:auto;right:-6px;transform:none}.station.sideS .station-label{left:-6px;transform:none}

.station.candle{z-index:4}.station.candle0 .station-label,.station.candle2 .station-label{left:auto;right:calc(100% + 4px);top:0;transform:none}.station.candle1 .station-label,.station.candle3 .station-label{left:calc(100% + 4px);right:auto;top:0;transform:none}

/* Measure the map inside the space left by the header and instructions.
   Padding reserves room for the border and keyboard focus ring. */
.game-panel{min-width:0;grid-template-rows:auto minmax(0,1fr) auto}
.map-top{min-height:48px;flex-wrap:wrap}
.map-shell{position:relative;padding:8px;box-sizing:border-box}
#map{min-width:0;max-width:100%;max-height:100%;padding:0;border:0;box-sizing:border-box}
#map:focus-visible{outline-offset:2px}
.map-bottom{min-width:0;min-height:30px;padding:8px 10px;border-top:1px solid #d8ddce;flex-wrap:wrap;line-height:1.4}

/* Raining Frog Creations: forest green, sage, cream, warm gold. */
:root{--ink:#203c32;--muted:#607064;--paper:#f6f5eb;--green:#426e4d;--gold:#a78c50;font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
.brand,h1,aside h2,dialog h2{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:700;letter-spacing:-.6px}.brandmark{color:var(--green)}.primary{background:#203c32;color:#fffdf7}.secondary{background:#e0eacb;color:#203c32;border-color:#b9c8ad}.game-panel,dialog{background:#fffdf7;border-color:#d6dfcf}.sacristy-floor{background:repeating-linear-gradient(0deg,transparent 0 28px,#a5b39b30 29px 30px),repeating-linear-gradient(90deg,#dce5cd 0 58px,#ccd8be 59px 60px)}.sanctuary-floor{background:repeating-linear-gradient(0deg,transparent 0 49px,#cbd5c150 50px 51px),repeating-linear-gradient(90deg,#edf0df 0 49px,#dce3cf 50px 51px)}.guide,.hand-panel{background:#e6ecd9}.station.ministry,.station.gifts{min-width:30px}.station.gifts svg,.station.ministry svg{width:100%;height:100%}select{font:inherit;padding:10px;border:1px solid #b9c8ad;border-radius:8px;background:#fffdf7;color:#203c32;max-width:100%;display:block;margin:8px 0 16px}select:focus-visible{outline:3px solid #8ba55d;outline-offset:3px}

/* Keep navigation outside the playfield grid and use the whole viewport. */
main{max-width:none;width:100%;margin:0;padding:12px 20px;min-height:0}header{gap:16px;padding:0 20px}.workspace{min-height:0}header .text-button{white-space:nowrap}aside{overflow-y:auto;min-height:0}dialog{overflow-y:auto;overflow-x:hidden}.map-shell{min-height:0}.brand{font-size:22px}header .edition{margin-left:0}header>button{margin-left:0}#settingsButton{margin-left:auto}@media(max-width:900px){main{padding:8px 12px}.workspace{overflow:auto}header{gap:8px;padding:0 12px}.brand{font-size:18px}aside{overflow:visible}}@media(max-width:520px){header .brandmark{display:none}header .brand{font-size:14px}header .text-button{font-size:10px}header .subtle{font-size:10px;padding:5px}header{gap:6px}}

#volunteers{position:absolute;inset:0;pointer-events:none}.volunteer{position:absolute;transform:translate(-50%,-50%);width:2.3%;height:4.5%;min-width:12px;min-height:18px;pointer-events:auto;z-index:8;padding:0}.volunteer svg{width:100%;height:100%;display:block}.volunteer span{position:absolute;bottom:calc(100% + 3px);left:50%;transform:translateX(-50%);background:#fffdf7eb;color:#203c32;border:1px solid #b9c8ad;border-radius:4px;padding:3px 5px;font-size:9px;line-height:1.25;white-space:nowrap;box-shadow:0 2px 5px #203c321a}.volunteer.assigned span{background:#e0eacb}.volunteer:hover span{border-color:#426e4d}.volunteer:focus-visible{outline:3px solid #8ba55d;outline-offset:5px}
