/* Reuse each existing button and handler. Quick tools no longer consume a row. */
.scene-tabs.with-quick-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center}
.with-quick-tools>.adventure-tools{position:static;display:flex;flex-direction:row;gap:4px;width:auto;height:auto;margin:0;padding:0;justify-content:flex-end}
.with-quick-tools>.adventure-tools button{width:44px;min-width:44px;min-height:44px;height:44px;padding:0;font-size:21px}
@media(max-width:600px) and (orientation:portrait){
 body[data-scene=town] header{min-height:48px;gap:4px}
 body[data-scene=town] .brand .game-logo{width:90px;max-width:90px;height:40px}
 body[data-scene=town] .tools{flex-wrap:nowrap;gap:3px;min-width:0}
 body[data-scene=town] .language-picker .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 body[data-scene=town] #language{width:80px;max-width:80px;min-height:44px;font-size:11px;padding:4px}
 body[data-scene=town] .tools .round{width:44px;height:44px;min-width:44px;padding:0}
 body[data-scene=town] .coin{padding:4px;gap:3px;white-space:nowrap;font-size:14px}
 .scene-tabs.with-quick-tools{gap:4px;margin:0 0 6px;padding:0;min-height:64px}
 .with-quick-tools>.scene-tab{flex-direction:column;min-width:0;min-height:64px;padding:3px 2px;gap:1px;font-size:10px;line-height:1.15;border-radius:16px;overflow-wrap:anywhere}
 .with-quick-tools>.scene-tab::before{width:26px;height:26px;flex:0 0 26px}
 .with-quick-tools>.adventure-tools{gap:3px}
 body[data-scene=town] .town{padding:6px 4px}
 body[data-scene=town] .next-activity-card{grid-template-columns:28px minmax(0,1fr) auto;gap:6px;padding:6px 8px;margin:0 0 6px;border-radius:17px}
 body[data-scene=town] .next-activity-card>span{width:28px;height:28px;font-size:19px}
 body[data-scene=town] .next-activity-card button{grid-column:auto;min-width:72px;width:auto;max-width:90px;min-height:48px;padding:4px 7px;font-size:12px;line-height:1.2;border-radius:18px}
 body[data-scene=town] .next-activity-card p{font-size:10px;line-height:1.25}
 body[data-scene=town] .next-activity-card strong{font-size:12px;line-height:1.25}
 body[data-scene=town] .welcome h1{font-size:19px;margin:3px 0;letter-spacing:.5px}
 body[data-scene=town] .welcome p{font-size:11px;margin:3px 0 6px}
 body[data-scene=town] .town-map.world-three{height:clamp(210px,calc(100dvh - 400px),360px)!important;min-height:210px!important}
}
@media(orientation:landscape) and (max-height:740px){
 .with-quick-tools>.adventure-tools{position:static;width:auto;padding:0;gap:3px}
 .with-quick-tools>.scene-tab{font-size:11px;padding:2px 4px}
 .with-quick-tools>.scene-tab::before{width:24px;height:24px;flex-basis:24px}
}
