body{font-family:Arial,Helvetica,sans-serif;background:#f9faf8}.brand{display:flex;align-items:center;gap:12px}.brand img{height:52px;width:52px;object-fit:contain;border-radius:14px}.brand span{font-size:27px;letter-spacing:-1px;font-weight:850}.brand small{display:block;color:#a81735;font-size:12px;letter-spacing:0;margin-top:4px}header>span{display:none}h1{font-family:Arial,Helvetica,sans-serif;letter-spacing:-2px}.world{box-shadow:0 15px 45px #183c4015}.guidebox{background:#edf5ed;border:1px solid #d3e2d4;display:flex;gap:12px;padding:18px;border-radius:18px}.guidebox p{font-size:13px;line-height:1.5;margin:6px 0 0}.guidebadge{display:grid;place-items:center;background:#b76b62;color:white;border-radius:13px;width:35px;height:35px;flex:none;font-weight:800}.objective{font-size:12px;color:#17675c;font-weight:bold;margin-bottom:8px}.under p{font-size:14px;min-height:42px}.primary{background:#a51d38;border-color:#a51d38}.primary:hover{background:#84172d}dialog{border-top:6px solid #a51d38}aside{gap:12px}.panel{padding:18px}.panel .eyebrow{margin-top:0}.panel h2{font-size:21px}.panel p{line-height:1.45}.panel ol{margin:9px 0}.panel li{padding:5px 0}.panel button{font-size:12px;padding:9px}.worldtag{background:#183b4c9c;padding:4px 8px;border-radius:6px}#game{outline-offset:-4px}footer{border-top:1px solid #dce2db}@media(max-width:1050px){aside{grid-template-columns:1fr 1fr}.guidebox{grid-column:1/-1}.canvaswrap{max-height:70vh;overflow:hidden}canvas{max-height:70vh;object-fit:contain}.worldtag{display:none}}@media(max-width:600px){header{gap:10px}.brand img{width:38px;height:38px}.brand span{font-size:21px}.brand small{font-size:8px;max-width:200px}.title .eyebrow{font-size:9px}.title h1{font-size:40px}.canvaswrap{overflow:auto;max-height:none}canvas{min-height:260px;max-height:none;object-fit:fill}aside{grid-template-columns:1fr}.hud h2{font-size:15px;line-height:1.35}.hud>div{max-width:77%}.controls{display:grid;grid-template-columns:1fr 1fr}.dpad{grid-column:1/-1;justify-content:center}.dpad button{min-width:52px;min-height:46px}.controls>button{min-height:46px}.under p{font-size:13px}.title{margin-bottom:16px}.panel{padding:16px}header>a:last-child{max-width:90px;text-align:right}.topbuttons{justify-content:space-between}.brand small{letter-spacing:0}dialog h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.meter i{transition:none}}
header .brand span{display:block}.brand small{font-weight:700}@media(max-width:600px){.brand small{max-width:190px}.brand span{font-size:19px;line-height:1.15}.brand img{width:36px;height:36px}.brand{gap:8px}header>a:last-child{font-size:10px;min-width:62px}}

.world.expanded{position:fixed;inset:0;z-index:1000;background:white;overflow:auto;border-radius:0}.world.expanded .canvaswrap{overflow:auto}.world.expanded canvas{width:100%;min-width:680px;touch-action:pan-x}.world.expanded .hud{position:sticky;top:0;background:white;z-index:2;gap:8px}.world.expanded .under{position:sticky;bottom:0;background:white;padding:10px}.world.expanded .worldtag{display:none}
@media(max-width:600px){.hud{flex-wrap:wrap;gap:8px}.hud>div{flex:1 1 100%}.world.expanded .hud h2{font-size:17px}.world.expanded .canvaswrap:after{content:'Swipe sideways · rotate your phone for more space';display:block;padding:10px;font:14px Arial;background:#eaf4ef}}
