@font-face{font-family:CourierLocal;src:local('Avenir Next');font-display:swap}
:root{--ink:#182534;--night:#101c29;--paper:#f4f0e5;--white:#fffdf6;--line:#d6d7cb;--yellow:#f4cd5c;--muted:#64716d;--coral:#e9765c;--green:#197566;--blue:#6989ec;--shadow:0 10px 30px #17253310;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:CourierLocal,'Avenir Next',Verdana,sans-serif;font-size:15px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--ink);border-radius:7px;background:transparent;color:var(--ink);min-height:46px;padding:10px 15px;font-weight:650;line-height:1.25}button:disabled{cursor:default;opacity:.4}button:hover:enabled{background:#1825340a}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d16a35;outline-offset:3px}a{color:inherit;text-underline-offset:4px}.site-shell{max-width:1180px;margin:auto;padding:0 28px}.masthead{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:24px 0 18px}.wordmark{font-size:12px;letter-spacing:.18em;text-decoration:none;font-weight:800}.edition{font-size:11px;color:var(--muted)}.site-footer{display:flex;gap:24px;flex-wrap:wrap;padding:25px 0 28px;font-size:11px;letter-spacing:.05em;color:var(--muted);border-top:1px solid var(--line)}.site-footer span{margin-right:auto;font-weight:800}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(42px,7vw,78px);line-height:.97;letter-spacing:-.05em;font-weight:800}h2{font-size:23px;line-height:1.15;letter-spacing:-.025em}h3{font-size:15px}small,.small{font-size:12px}.eyebrow{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.16em;color:var(--muted)}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;padding:65px 0 45px;align-items:center}.hero h1{max-width:550px}.hero .lead{max-width:450px;font-size:18px;line-height:1.6;color:#4a5b60}.hero .specs{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;font-weight:700}.hero-art{background:var(--ink);padding:24px;border-radius:40% 40% 8px 8px;transform:rotate(4deg);box-shadow:14px 16px 0 #dddecf}.hero-art .board{transform:rotate(-4deg);gap:8px}.hero-art .district{min-height:105px;aspect-ratio:1/1.1}.hero-art .district small{font-size:10px}.hero-art .district svg{width:45px;height:45px}.hero-art p{color:var(--paper);font-size:11px;margin:20px 0 0;text-align:center;letter-spacing:.12em}.setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:10px 0 34px}.setup-card{padding:26px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}label{display:block;font-size:12px;font-weight:700;margin:0 0 6px}input,select{width:100%;min-height:48px;background:var(--white);border:1px solid #a5ada6;border-radius:6px;padding:11px 12px;color:var(--ink);font-size:16px;max-width:100%}.field{margin-bottom:15px}.primary{background:var(--ink);color:var(--paper);border-color:var(--ink)}.primary:hover:enabled{background:#344655}.accent{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}.accent:hover:enabled{background:#edbc3f}.wide{width:100%}.notice{padding:12px 16px;border:1px solid #bfc7bb;border-left:4px solid var(--green);background:#edf1e6;border-radius:5px;margin:18px 0;font-size:13px}.notice.error{border-left-color:#af462a;background:#fff1e6}.notice:empty{display:none}.muted{color:var(--muted)}.help{margin:24px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}summary{cursor:pointer;font-weight:700;min-height:44px}.help p,.help li{font-size:14px;max-width:75ch}.help li{margin-bottom:7px}.room-top{padding:28px 0 18px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.room-top h1{font-size:32px;letter-spacing:-.04em;margin-bottom:7px}.room-code{font-weight:800;letter-spacing:.14em}.room-tools{display:flex;gap:8px}.room-tools button{font-size:12px;padding:8px 12px;min-height:40px}.scoreboard{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 22px}.score{border-top:3px solid var(--line);padding:12px 10px 10px;background:#fffdf680;border-radius:0 0 7px 7px;min-width:0}.score.active{border-color:var(--yellow);background:var(--white)}.score.me{box-shadow:inset 0 0 0 1px #18253430}.score-name{display:flex;gap:8px;align-items:center;min-width:0;font-size:13px}.score-name span:last-child{overflow-wrap:anywhere}.score strong{font-size:27px;display:block;margin:2px 0 0}.score small{font-size:10px;color:var(--muted)}.courier{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--ink);color:white;width:24px;height:24px;border-radius:50%;font-weight:800;font-size:12px;border:2px solid var(--white)}.courier.c1{background:#b84d3c}.courier.c2{background:#147c74}.courier.c3{background:#6e52a3}.courier.c4{background:#a07819}.phase-strip{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 18px;background:var(--ink);color:var(--paper);border-radius:8px;margin-bottom:20px}.phase-strip p{margin:0}.phase-strip .eyebrow{color:#bcc6c7}.phase-strip strong{display:block;font-size:18px}.progress{font-variant-numeric:tabular-nums;font-size:12px;white-space:nowrap}.play-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:start}.map-column{position:sticky;top:12px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.section-title h2{margin:0;font-size:17px}.section-title span{font-size:11px;color:var(--muted)}.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;position:relative}.district{padding:9px 5px 7px;min-width:0;min-height:128px;border:1px solid #c7cbbd;border-radius:7px;background:var(--white);box-shadow:0 3px 0 #d3d4c8;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:2px;position:relative;line-height:1.2;aspect-ratio:1/1.14}.district .address{font-size:10px;align-self:flex-start;color:var(--muted);font-weight:500}.district svg{width:48px;height:48px;flex-shrink:0}.district .sign-name{font-size:12px;font-weight:700}.district .visitors{display:flex;height:24px;justify-content:center}.district .visitors .courier{width:23px;height:23px;font-size:10px;margin-left:-2px}.district.changed{border:2px solid #bd701e;background:#fff8d9}.district.selected{outline:3px solid var(--yellow);outline-offset:1px}.district.reachable{border:2px dashed var(--green)}.district.notouch{cursor:default}.map-legend{font-size:11px;display:flex;justify-content:space-between;margin:11px 0 16px;color:var(--muted);gap:8px}.action-modes{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.action-modes button{font-size:12px;padding:10px 5px}.action-modes .on{background:var(--yellow);border-color:#bda14f}.action-prompt{min-height:44px;font-size:12px;margin:10px 0;color:#586765}.payment{background:#e7e8dc;padding:12px;border-radius:7px}.payment select{font-size:13px;min-height:44px;padding:8px}.order-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:23px}.goal-card{border:1px solid var(--line);background:var(--white);border-radius:8px;min-width:0;overflow:hidden}.goal-top{display:flex;justify-content:space-between;gap:4px;padding:8px 9px;font-size:10px;color:var(--muted);border-bottom:1px solid #e4e5dc}.goal-top strong{color:var(--ink);font-size:13px;white-space:nowrap}.goal-card .diagram{padding:10px 5px 6px}.pattern{width:82px;height:82px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:2px;margin:auto}.pattern .pixel{background:#eef0e7;border:1px solid #e0e4d8;position:relative;border-radius:3px;display:flex;align-items:center;justify-content:center}.pattern .pixel.empty{opacity:.35}.pattern svg{width:22px;height:22px}.pattern .anchor::after{content:'●';color:var(--ink);font-size:12px;background:var(--yellow);border-radius:50%;position:absolute;right:-4px;bottom:-5px;width:14px;height:14px;line-height:12px;text-align:center;border:1px solid var(--ink)}.goal-card .result{font-size:10px;min-height:36px;line-height:1.35;text-align:center;padding:5px 7px;color:var(--muted)}.goal-card .result.yes{color:var(--green);font-weight:800}.goal-card button{border-radius:0;border:0;border-top:1px solid var(--line);width:100%;font-size:11px;min-height:44px;padding:8px 4px}.goal-card.selected{outline:3px solid var(--green);outline-offset:-3px}.goal-card.spent{opacity:.45}.goal-card.taken{background:#e4e6db;opacity:.65}.hand-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.hand-list .pattern{width:88px;height:88px}.hand-list .goal-top{font-size:11px}.hand-list .goal-card .result{font-size:11px}.hand-list .goal-card button{font-size:12px}.caption{font-size:11px;color:var(--muted);margin:8px 0 16px}.turn-note{font-size:15px;font-weight:700;margin:0 0 15px}.plan{margin:22px 0 16px;background:#e7e8dc;border:1px solid #cbd1c2;border-radius:9px;padding:17px}.plan h3{margin-bottom:9px}.plan ul{margin:0 0 12px;padding-left:20px;font-size:12px}.plan .plan-total{font-size:20px;font-weight:800;margin:6px 0 12px}.plan-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.plan-buttons button{font-size:12px}.refresh{margin:15px 0}.refresh summary{font-size:12px;color:var(--muted)}.refresh .refresh-options{display:flex;gap:7px;flex-wrap:wrap}.refresh label{background:var(--white);border:1px solid var(--line);border-radius:5px;min-height:44px;padding:9px;display:flex;align-items:center;gap:5px}.refresh input{width:20px;height:20px;min-height:20px}.refresh p{font-size:12px}.refresh button{font-size:12px;margin-top:9px}.journal{margin:30px 0}.journal summary{font-size:13px}.journal ol{padding-left:24px}.journal li{font-size:12px;margin-bottom:7px}.lobby-list{list-style:none;margin:20px 0;padding:0;display:grid;gap:10px}.lobby-list li{display:flex;gap:12px;align-items:center;padding:15px;border:1px solid var(--line);background:var(--white);border-radius:8px}.lobby{max-width:650px;margin:20px auto 50px}.requests{border:1px solid #c3cabe;padding:15px;border-radius:8px;margin:15px 0}.request{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:12px 0;border-bottom:1px solid var(--line)}.request:last-child{border:0}.request p{grid-column:1/-1;font-size:13px;margin:0}.request select,.request button{font-size:12px;min-height:44px}.final{padding:30px;background:var(--ink);color:var(--paper);border-radius:10px;margin:22px 0}.final h2{font-size:36px;line-height:1.1;max-width:700px}.final p{font-size:14px}.final button{background:var(--yellow);border-color:var(--yellow)}.help-example{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.help-example div{padding:15px;background:var(--white);font-size:12px}.loading{padding:70px 0;text-align:center}.design-main{padding:40px 0}.design-main h1{font-size:48px}.artifact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin:25px 0}.artifact-grid article{background:var(--white);padding:20px;border:1px solid var(--line);border-radius:9px}.artifact-grid img{width:100%;max-height:360px;object-fit:contain}.artifact-grid p{font-size:13px}.link-list{display:flex;flex-wrap:wrap;gap:12px;font-size:12px}.hidden{display:none!important}
@media(max-width:850px){.site-shell{padding:0 20px}.hero{gap:35px}.hero-art .district{min-height:82px}.play-layout{gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.district{min-height:100px}.district svg{width:39px;height:39px}.order-list{gap:5px}.pattern{width:68px;height:68px}.pattern svg{width:18px;height:18px}.hand-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hand-list .pattern{width:85px;height:85px}.scoreboard{gap:6px}.score-name{font-size:11px}}
@media(max-width:620px){body{font-size:14px}.site-shell{padding:0 14px}.masthead{padding:18px 0 14px}.edition{font-size:9px}.wordmark{font-size:10px}.hero{grid-template-columns:1fr;padding:35px 0 15px;gap:25px}.hero h1{font-size:59px;margin-bottom:18px}.hero .lead{font-size:16px}.hero-art{max-width:330px;width:88%;margin:0 auto 20px;padding:17px;transform:rotate(3deg)}.hero-art .district{min-height:70px;aspect-ratio:1/1}.hero-art .district svg{width:34px;height:34px}.hero-art .district small{font-size:9px}.hero-art p{margin-top:12px;font-size:9px}.setup-grid{grid-template-columns:1fr;gap:15px}.setup-card{padding:20px}.room-top{padding-top:22px;gap:7px;flex-wrap:wrap}.room-top h1{font-size:29px}.room-tools{margin-left:auto}.room-tools button{padding:7px 9px;font-size:11px}.scoreboard{grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:15px}.score{padding:9px}.score strong{font-size:22px}.score-name{font-size:12px}.score small{font-size:10px}.phase-strip{padding:12px;gap:8px;margin-bottom:18px}.phase-strip strong{font-size:16px}.phase-strip .eyebrow{font-size:9px;letter-spacing:.08em}.progress{font-size:11px}.play-layout{grid-template-columns:1fr;gap:10px}.map-column{position:static}.district{min-height:108px;aspect-ratio:1/1.08;padding:7px 4px 6px}.district svg{width:43px;height:43px}.district .sign-name{font-size:11px}.district .address{font-size:9px}.district .visitors .courier{width:20px;height:20px;font-size:9px}.district .visitors{height:20px}.board{gap:6px}.section-title h2{font-size:17px}.section-title span{font-size:10px}.map-legend{margin-bottom:13px}.action-modes{gap:5px}.action-modes button{min-height:48px;font-size:12px}.action-prompt{margin:8px 0;min-height:35px}.payment{padding:10px;margin-bottom:16px}.order-list{gap:7px}.pattern{width:78px;height:78px}.pattern svg{width:21px;height:21px}.goal-card .result{font-size:10px;min-height:36px}.goal-card button{font-size:11px}.hand-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hand-list .pattern{width:105px;height:105px}.hand-list .pattern svg{width:28px;height:28px}.hand-list .goal-top{font-size:12px;padding:9px 10px}.hand-list .goal-card button{font-size:13px;min-height:46px}.hand-list .goal-card .result{font-size:11px}.plan{margin:17px 0;padding:14px}.plan-buttons{grid-template-columns:1fr 1fr}.plan-buttons button{min-height:48px}.final{padding:22px}.final h2{font-size:29px}.help-example{grid-template-columns:1fr}.artifact-grid{grid-template-columns:1fr}.design-main h1{font-size:38px}.site-footer{gap:15px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* 0.2: compact playing surface; setup and print gallery retain their layout. */
[hidden]{display:none!important}
.players-2{--players:2}.players-3{--players:3}.players-4{--players:4}
.masthead{padding:8px 0;min-height:34px}
.game-screen{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
.game-screen .room-top{padding-top:10px;margin-bottom:8px;gap:12px;align-items:center}
.game-screen .room-top h1{font-size:24px;line-height:1.15;margin:0 0 3px}
.game-screen .room-top .eyebrow{font-size:9px;margin:0 0 3px}
.game-screen .room-tools button{min-height:40px;padding:7px 10px;font-size:12px}
.game-screen .scoreboard{grid-template-columns:repeat(var(--players),minmax(0,1fr));gap:6px;margin:0 0 7px}
.game-screen .score{padding:6px 8px;min-width:0}
.game-screen .score strong{font-size:21px;line-height:1.15;margin:2px 0}
.game-screen .score-name{gap:5px;font-size:11px;min-width:0}
.game-screen .score-name>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-screen .score>small{font-size:10px;display:block;white-space:nowrap}
.game-screen .phase-strip{padding:6px 10px;margin-bottom:6px;gap:6px}
.game-screen .phase-strip .eyebrow{font-size:9px;margin:0}
.game-screen .phase-strip strong{font-size:14px}
.game-screen .turn-note{font-size:12px;line-height:1.35;margin:6px 0 9px}
.queue{color:var(--muted);white-space:nowrap;margin-left:6px;font-weight:500}
.game-screen .play-layout{grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:20px}
.game-screen .map-column{position:static}
.game-screen .section-title{margin-bottom:5px}
.game-screen .section-title h2{font-size:14px}
.game-screen .section-title span{font-size:9px}
.game-screen .board{max-width:320px;margin:auto;gap:5px}
.game-screen .district{min-height:0;aspect-ratio:1.07/1;padding:4px 5px;gap:0;box-shadow:0 2px 0 #d3d4c8}
.game-screen .district svg{width:32px;height:32px}
.game-screen .district .address{font-size:9px}
.game-screen .district .sign-name{font-size:10px}
.game-screen .district .visitors{height:20px}
.game-screen .district .visitors .courier{width:20px;height:20px;font-size:9px}
.game-screen .map-legend{font-size:10px;margin:6px 0 8px}
.game-screen .action-modes button{min-height:44px;padding:7px 3px;font-size:11px}
.game-screen .action-prompt{font-size:11px;line-height:1.35;min-height:28px;margin:5px 0}
.game-screen .payment{display:flex;align-items:center;gap:7px;padding:5px 7px;margin:0 0 7px}
.game-screen .payment label{font-size:10px;line-height:1.2;flex:0 0 69px}
.game-screen .payment select{width:100%;min-width:0;min-height:44px;font-size:12px}
.card-tabs{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:4px;margin-bottom:6px}
.card-tabs button{min-height:44px;font-size:12px;padding:7px 4px;border-color:var(--line)}
.card-tabs [aria-selected=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.game-screen .caption{font-size:10px;line-height:1.35;margin:5px 0 7px}
.game-screen .hand-list,.game-screen .order-list{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:3px 3px 10px;margin:0}
.game-screen .goal-card{flex:0 0 122px;scroll-snap-align:start}
.game-screen .goal-top{padding:6px;font-size:10px}
.game-screen .goal-top strong{font-size:12px}
.game-screen .goal-card .diagram{padding:7px 4px 4px}
.game-screen .goal-card .pattern{width:76px;height:76px}
.game-screen .goal-card .pattern svg{width:20px;height:20px}
.game-screen .goal-card .result{font-size:10px;min-height:32px;padding:4px}
.game-screen .goal-card button{font-size:11px;min-height:44px;padding:6px 3px}
.game-screen .goal-card.spent{opacity:1;background:#e9e9df}
.game-screen .goal-card.spent .diagram{opacity:.55}
.game-screen .plan{margin:6px 0;padding:12px}
.game-screen .plan h3{font-size:14px;margin:0 0 7px}
.game-screen .plan ul{font-size:12px;margin-bottom:7px}
.game-screen .refresh{margin:8px 0}
.game-screen .refresh summary{min-height:44px;padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--white);font-size:12px;color:var(--ink);cursor:pointer}
.game-screen .refresh-options{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;padding:4px 2px 9px;overscroll-behavior-x:contain}
.game-screen .refresh label{flex:0 0 126px;display:flex;flex-direction:column;align-items:center;padding:7px;font-size:10px;gap:7px;cursor:pointer}
.game-screen .refresh label>span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.game-screen .refresh .pattern{width:76px;height:76px;pointer-events:none}
.game-screen .refresh .pattern svg{width:20px;height:20px}
.game-screen .refresh label:has(input:checked){border:2px solid var(--green);padding:6px;background:#e1f0e8}
.game-screen .refresh>button{min-height:46px;width:100%;margin-top:5px}
.turn-dock{position:fixed;bottom:0;left:0;right:0;z-index:30;background:var(--white);border-top:1px solid var(--line);box-shadow:0 -4px 18px #18253416;padding-bottom:env(safe-area-inset-bottom)}
.dock-inner{max-width:1180px;margin:auto;display:grid;grid-template-columns:80px 90px minmax(160px,220px);justify-content:end;gap:8px;padding:8px 20px}
.dock-inner button{min-height:48px;padding:7px;font-size:12px}
.dock-total{border:0;text-align:left;display:flex;flex-direction:column;justify-content:center;line-height:1.2}
.dock-total b{font-size:17px}.dock-total span{font-size:10px;color:var(--muted)}
#notice:empty{display:none}
#notice:not(:empty){position:fixed;left:50%;transform:translateX(-50%);bottom:12px;z-index:45;width:calc(100% - 28px);max-width:560px;max-height:calc(100svh - 110px);overflow:auto;margin:0;padding:12px 48px 12px 14px;border:1px solid var(--green);border-radius:9px;background:#f1fbf4;color:var(--ink);box-shadow:0 5px 24px #18253435;font-size:13px;line-height:1.4}
#notice.error{background:#fff1ea;border-color:#ac4638}
.game-screen #notice:not(:empty){bottom:calc(76px + env(safe-area-inset-bottom))}
#notice .close-notice{position:absolute;right:0;top:0;min-height:44px;width:44px;padding:0;border:0;font-size:25px;background:transparent}
#notice p{margin:7px 0 0}
.game-screen .journal{margin:12px 0}.game-screen .journal summary,.game-screen .help summary{min-height:44px;padding:10px 0;font-size:12px;cursor:pointer}
.game-screen .final{margin:12px 0;padding:18px}.game-screen .final h2{font-size:27px}
@media(max-width:620px){
 .game-screen .room-top{padding-top:7px;margin-bottom:6px;flex-wrap:nowrap;gap:6px}
 .game-screen .room-top h1{font-size:19px}.game-screen .room-top .eyebrow{display:none}
 .game-screen .room-top .small{font-size:10px}.game-screen .room-tools{display:flex;gap:4px}
 .game-screen .room-tools button{font-size:10px;padding:5px;min-height:38px}
 .game-screen .score{padding:5px;overflow:hidden}.game-screen .score-name{gap:3px;font-size:10px}
 .game-screen .score-name .courier{width:19px;height:19px;font-size:9px;border-width:1px}
 .game-screen .score strong{font-size:19px}.game-screen .score>small{font-size:8px}
 .game-screen .scoreboard{gap:4px;margin-bottom:5px}
 .game-screen .phase-strip{padding:5px 8px;margin-bottom:5px}.game-screen .phase-strip strong{font-size:12px}
 .game-screen .turn-note{font-size:11px;margin:4px 0 7px}.queue{margin-left:3px;font-size:10px}
 .game-screen .play-layout{grid-template-columns:1fr;gap:5px}
 .game-screen .board{max-width:240px}
 .game-screen .district svg{width:27px;height:27px}.game-screen .district .address{font-size:8px}
 .game-screen .district .sign-name{font-size:9px}.game-screen .district .visitors{height:18px}
 .game-screen .district .visitors .courier{width:18px;height:18px}
 .game-screen .map-legend{display:none}.game-screen .controls{margin-top:7px}
 .game-screen .goal-card{flex-basis:112px}.card-tabs{margin-bottom:3px}
 .card-tabs button{font-size:11px}.game-screen .hand-list,.game-screen .order-list{gap:6px;padding-bottom:7px}
 .dock-inner{grid-template-columns:62px 64px minmax(0,1fr);padding:7px 14px;gap:6px}
 .dock-inner button{font-size:11px;min-height:48px}.dock-total b{font-size:15px}
}
@media(min-width:700px) and (max-height:500px){
 .game-screen .room-top{display:none}.game-screen .score{padding:3px 7px;display:flex;justify-content:space-between;align-items:center;gap:6px}
 .game-screen .score>small{display:none}.game-screen .score strong{font-size:18px}.game-screen .scoreboard{margin-top:5px;margin-bottom:4px}
 .game-screen .phase-strip{padding:3px 8px}.game-screen .phase-strip strong{display:none}
 .game-screen .phase-strip .eyebrow{font-size:10px}.game-screen .turn-note{margin:3px 0 5px}
 .game-screen .play-layout{grid-template-columns:210px minmax(160px,.8fr) minmax(260px,1.3fr);gap:12px}
 .game-screen .map-column{display:contents}.game-screen .city-area{grid-column:1}.game-screen .controls{grid-column:2}
 .game-screen .cards-column{grid-column:3}.game-screen .board{max-width:210px}
 .game-screen .district svg{width:24px;height:24px}.game-screen .district .address{font-size:8px}
 .game-screen .district .sign-name{font-size:9px}.game-screen .district .visitors{height:17px}
 .game-screen .district .visitors .courier{width:17px;height:17px}.game-screen .map-legend{display:none}
 .game-screen .action-modes{grid-template-columns:1fr}.game-screen .action-modes button{min-height:44px;padding:5px}
 .game-screen .payment{display:block}.game-screen .payment label{display:block;margin-bottom:3px}
 .game-screen .goal-card{flex-basis:112px}.card-tabs button{font-size:10px}
 .game-screen .journal{margin:7px 0}.game-screen .help summary{padding:5px 0}
}
.game-screen .play-layout>*,.game-screen .cards-column,.game-screen .map-column,.game-screen .city-area,.game-screen .controls,[role=tabpanel]{min-width:0}
@media(max-width:620px){.game-screen .play-layout{grid-template-columns:minmax(0,1fr)}}
.dock-total b,.dock-total span{white-space:nowrap}
.final .eyebrow{color:#bcc6c7}
@media(max-width:620px){
 .game-screen .room-top{padding:7px 0 6px}
 .game-screen .score>small{display:none}
 .game-screen .payment{padding:0 6px}
 .game-screen .action-prompt{min-height:15px}
 .dock-inner{grid-template-columns:80px 64px minmax(0,1fr)}
 .dock-total b{font-size:14px}.dock-total span{font-size:9px}
}


/* CURATOR-MOBILE-READABILITY-20261023 */
.retention-note { margin: 20px 0 4px; max-width: 72ch; font-size: 12px; line-height: 1.6; color: #4e605b; }

.game-screen .score-name > span:last-child { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.game-screen .score-name { font-size: 14px; line-height: 1.4; }
.game-screen .score > small { font-size: 12px; white-space: normal; line-height: 1.4; }
.game-screen .district .address, .game-screen .district .sign-name { font-size: 12px; line-height: 1.3; }
.game-screen .district { min-height: 104px; }
.game-screen .action-modes button, .game-screen .goal-card button,
.game-screen .payment label, .game-screen .refresh label, .card-tabs button,
.game-screen .room-tools button, .dock-inner button { font-size: 14px; line-height: 1.4; min-height: 44px; }
.game-screen .action-prompt, .game-screen .turn-note { font-size: 15px; line-height: 1.5; }
.game-screen .goal-top, .game-screen .goal-card .result, .game-screen .caption,
.game-screen .map-legend, .game-screen .section-title span, .dock-total span,
.game-screen .phase-strip .eyebrow { font-size: 12px; line-height: 1.4; }
.game-screen .goal-top strong { font-size: 14px; }
.game-screen .plan ul, .game-screen .journal summary, .game-screen .help summary { font-size: 14px; line-height: 1.6; }
.game-screen input:not([type="checkbox"]), .game-screen select { font-size: 16px; }
.game-screen .room-tools { flex-wrap: wrap; }
@media (max-width: 700px) {
  body { font-size: 16px; }
  input:not([type="checkbox"]), select { font-size: 16px; }
  .game-screen .scoreboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-screen .score { overflow: visible; }
  .dock-inner { grid-template-columns: minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.5fr); }
}
/* Keep the existing horizontal card hand; make the dock readable at 320px. */
.dock-total b, .dock-total span { white-space: normal; }
.dock-total { padding-inline: 4px; }
.dock-inner { gap: 8px; grid-template-columns: minmax(64px, .75fr) minmax(64px, .7fr) minmax(0, 1.55fr); }
.game-screen .room-top .small { font-size: 12px; line-height: 1.5; }
.game-screen .score strong small, .game-screen .progress, .game-screen .queue { font-size: 12px; line-height: 1.4; }
.game-screen .score-name .courier, .game-screen .district .visitors .courier { font-size: 12px; }
.masthead .wordmark, .site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
