*{box-sizing:border-box}body{margin:0;background:#fff;color:#2a2328;font:14px -apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif}main{max-width:480px;margin:auto;padding:4px 12px calc(12px + env(safe-area-inset-bottom))}.game-title-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}button{min-height:44px;border:0;border-radius:8px;background:#f3f4f6;color:#2a2328;font:inherit;font-weight:600;padding:8px;touch-action:manipulation}button:disabled{opacity:.45}button:active{background:#e6e8ec}.companion{display:flex;align-items:center;gap:8px;min-height:72px}.companion img{object-fit:contain}.companion strong{font-size:12px}.companion p{font-size:13px;margin:4px 0;line-height:1.4}.panel{text-align:center;padding:16px 0}.panel h2{font-size:20px}.panel p{line-height:1.8}.panel button{width:100%}.hud{display:flex;justify-content:space-between;padding:5px 0;font-size:13px}.route{display:flex;justify-content:space-between;margin:4px 0 8px;gap:4px}.route span{border-radius:6px;padding:6px 3px;background:#f3f4f6;flex:1;text-align:center;font-size:12px}.route .current{background:#e3efee;color:#245955;font-weight:700;outline:1px solid #56877e}.sea{background:linear-gradient(#e8f5f4,#cde6e6);border-radius:12px;padding:8px 12px 4px}.balance{display:flex;justify-content:space-between;font-size:12px;align-items:center;margin-bottom:8px}.balance strong{font-size:12px}.balance .unsafe{color:#a44444}.ship{border:5px solid #b78d69;border-bottom-width:12px;border-radius:20px 20px 48px 48px;background:#f0d9ba;padding:6px 12px 2px;box-shadow:0 6px 0 #80b7ba}.lane-label{display:grid;grid-template-columns:1fr 1fr;text-align:center;font-size:11px;color:#604d3e}.front{text-align:center;font-size:11px;color:#604d3e;padding:4px}#slots{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}.slot{min-height:60px;border:1px dashed #ab8b68;background:#fff7e7;font-size:12px;display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}.slot.filled{border-style:solid;box-shadow:0 2px 0 #a78664}.slot[data-dest="1"],.parcel[data-dest="1"]{background:#f7e5ea}.slot[data-dest="2"],.parcel[data-dest="2"]{background:#e3eeee}.slot[data-dest="3"],.parcel[data-dest="3"]{background:#f8edcc}.symbol{font-size:21px}.stern{text-align:center;font-size:10px;color:#70573c;padding-top:4px}#capacity{text-align:center;font-size:11px;margin:8px 0 2px}#instruction{margin:8px 0;font-size:12px;min-height:17px}.cargo{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.parcel{font-size:11px;min-height:53px;border:2px solid transparent}.parcel.selected{border-color:#67564f;box-shadow:inset 0 0 0 1px #fff}.parcel .symbol{display:block;font-size:18px}.actions{display:flex;gap:8px;margin-top:8px}.actions button{flex:1}#sail{background:#e3efee}#next{width:100%;margin-top:8px}.note{font-size:11px;color:#6e626a;margin:8px 0}@media(max-height:700px){.companion{min-height:58px}.companion img{width:54px;height:54px}.slot{min-height:49px}.sea{padding:6px 10px 4px}.parcel{min-height:47px}.route{margin-bottom:5px}.panel{padding:6px 0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.actions{padding:2px 0 6px}.cargo:empty{display:none}@media(max-height:700px){.slot{min-height:44px}.companion{min-height:54px}.balance{margin-bottom:4px}.front{padding:2px}.ship{padding-top:4px;padding-bottom:0}.route{margin-top:2px;margin-bottom:4px}.sea{padding-top:4px}#instruction{margin:6px 0}.actions{margin-top:4px}}
