@font-face{font-family:Headline;src:url(assets/display.woff2)}:root{--ink:#2e2630;--cream:#fff6e4;--brick:#a8412c;--line:#d7c6ab}body{background:#ece0ca;color:var(--ink);font:16px/1.42 'Trebuchet MS',system-ui,sans-serif}main{max-width:730px;margin:auto;background:var(--cream);min-height:100dvh}header,.mast,.between,.hud,.game-head,.purse,.ledger{display:flex;align-items:center;justify-content:space-between;gap:.55rem}header{padding:12px clamp(14px,4vw,30px);border-bottom:2px solid var(--ink)}.mast{font:1.05rem Headline,Georgia,serif;letter-spacing:-.03em}.mast img{width:28px;height:28px;object-fit:contain}.hero,.board,.result{position:relative;overflow:hidden}.hero img{width:100%;height:clamp(215px,49vw,355px);object-fit:cover;object-position:center 40%}.hero:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#301d25d9)}.hero>div{position:absolute;left:5%;bottom:9%;color:#fff9e8;z-index:1}.hero p,.between>strong,.route-list small,.game-head>span{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.hero h1{font:clamp(2.25rem,8vw,4.15rem)/1.03 Headline,Georgia,serif;max-width:15ch;text-shadow:0 2px 9px #281e26}.paper,.title,.controls,.ledger{padding:clamp(16px,4.5vw,30px)}.paper h1,.paper h2,.title h2{font:2rem/1.12 Headline,Georgia,serif;letter-spacing:-.025em}.paper p,.title p{margin:.5em 0 .9em}.dispatch{margin:0 4%;padding:20px 0 14px;border-bottom:1px dashed var(--line)}.purse{font-weight:800;font-variant-numeric:tabular-nums}.purse img,.hud img,.small img{width:20px;height:20px;object-fit:contain}.primary,.small{border:0;border-radius:7px;background:var(--brick);color:#fff7df;font-weight:800;padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.ledger{padding-top:7px;padding-bottom:12px}.ledger span,.title p,.route-list small{color:#6b544f}.ledger b{font-family:Georgia,serif}nav{display:flex;position:sticky;bottom:0;border-top:1px solid var(--line);background:#fff6e4f5;z-index:5;padding-bottom:env(safe-area-inset-bottom)}nav button{border:0;background:transparent;flex:1;display:grid;justify-items:center;align-content:center;min-height:56px;padding:6px 2px;color:#654e48;gap:3px;font-size:.81rem}nav button.here{color:var(--brick);box-shadow:inset 0 3px currentColor;font-weight:800}.route-list{display:grid;gap:7px;margin-top:14px}.route-list button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);background:#fffaf0;padding:6px;border-radius:6px}.route-list img{width:68px;aspect-ratio:1.55;object-fit:cover;border-radius:3px}.route-list span{flex:1}.route-list b,.route-list small{display:block}.route-list em{color:#a05c21}.route-list button:disabled{opacity:.55}.field{display:flex;align-items:center;gap:17px;padding:15px 0;border-bottom:1px dashed var(--line)}.field>img{width:64px;height:70px;object-fit:contain}.field p{margin:.23em 0 .55em}.small{padding:7px 14px}.small:disabled{background:#e3d9c5;color:#5e4e4b}.game-head{padding:10px 4% 0}.bare{display:inline-flex;align-items:center;gap:4px;background:none;border:0;padding:8px 0;text-decoration:underline;text-underline-offset:3px}.title{padding-top:6px;padding-bottom:0}.title p{font-size:.96rem}.hud{justify-content:flex-start;gap:1.4rem;padding:5px 4% 10px}.hud span{display:inline-flex;align-items:center;gap:4px}.board{height:clamp(234px,54vw,350px);background:linear-gradient(0deg,#3b263430,transparent),var(--scene) center/cover;border-block:3px solid var(--ink);isolation:isolate}.roof{position:absolute;width:19%;height:17%;left:var(--x);top:var(--y);transform:translateX(-50%);border:1px solid #532d32;background:repeating-linear-gradient(0deg,#ae6449 0 9px,#d9926a 10px,#ae6449 11px);box-shadow:inset -8px 0 #69383b55,0 4px 0 #321c263c;border-radius:2px 2px 7px 7px}.roof i{display:block;background:#5b4341;height:6px;border-top:2px solid #fcca98;box-shadow:0 2px #42252e}.roof.row0{z-index:1;background:repeating-linear-gradient(0deg,#b99877 0 9px,#e0bb93 10px,#b99877 11px)}.roof.row1{z-index:2}.piece,.flag{position:absolute;width:clamp(30px,7vw,48px);height:clamp(30px,7vw,48px);left:50%;top:0;transform:translate(-50%,-97%)}.piece img,.courier img{width:100%;height:100%;object-fit:contain}.piece.coin{width:24px;height:24px}.flag{font-size:36px;line-height:1;color:#fcf3d4;text-shadow:0 2px #602d32}.courier{position:absolute;transform:translate(-50%,-94%);width:clamp(50px,11vw,80px);height:clamp(50px,11vw,80px);z-index:3;filter:drop-shadow(0 1px 2px #32202880);pointer-events:none}.controls{padding-top:9px}.controls>p{min-height:24px;margin-bottom:8px;color:#5f4238}.actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.move{min-height:70px;display:grid;justify-items:center;align-content:center;gap:3px;background:#ffeacf;border:1px solid #ad8268;border-radius:7px;color:#53382f;text-align:center;padding:4px 1px}.move b{font-size:.85rem;line-height:1.1;overflow-wrap:anywhere}.move small{font-size:.72rem;color:#3c644c}.move .danger{color:#a12820}.move:disabled{opacity:.44}.result-bg{width:100%;height:175px;object-fit:cover}.result .paper{text-align:center}.result .paper>img{width:82px;height:82px;object-fit:contain;margin:-55px auto 10px;position:relative}.result .bare{display:flex;margin:8px auto}.stamps{font-size:2rem;color:#ab6418}.stamps span{color:#9c8874}
main{display:flex;flex-direction:column}nav{margin-top:auto}.hero>img{object-position:50% 22%}.courier{filter:drop-shadow(0 1px 1px #fff5dc) drop-shadow(0 1px 3px #201322)}
