/* Intrinsic layout avoids fixed resource offsets and long unbroken flex content. */
.home14 .game-logo16{display:block;width:clamp(160px,22vw,280px);height:auto;max-height:34dvh;object-fit:contain;margin:0 auto 8px;filter:drop-shadow(0 7px 12px #001f2280)}
.home14 .menu-brand h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.synergy-hero10>div,.synergy-rule10>*,#modal-body .flex>*{min-width:0;max-width:100%}
.synergy-hero10 b,.synergy-hero10 small,.synergy-rule10 span{overflow-wrap:anywhere;white-space:normal;line-height:1.55}
.synergy-rule10{display:grid;grid-template-columns:minmax(0,145px) minmax(0,1fr);align-items:start;gap:8px 14px}
.synergy-rule10 b{white-space:normal;line-height:1.5}.synergy-hero10>img,.synergy-hero10>svg{flex-shrink:0}
#modal-body .flex{flex-wrap:wrap}#modal-head h2{overflow-wrap:anywhere;min-width:0}
#island-hud13{display:grid;grid-template-columns:minmax(0,600px) 1fr;grid-template-rows:auto auto 1fr;gap:10px;padding:max(12px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left));box-sizing:border-box;align-content:start}
#island-hud13 .island-top13,#island-hud13 .island-stocks13{position:static;inset:auto;box-sizing:border-box;width:100%;max-width:100%;margin:0;grid-column:1}
#island-hud13 .island-top13{grid-row:1}#island-hud13 .island-stocks13{grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:8px 10px}
.island-top13 b,.island-top13 span{overflow-wrap:anywhere}.island-stocks13>span{min-width:0;white-space:nowrap;font-variant-numeric:tabular-nums}.island-stocks13 svg{flex-shrink:0}.island-stocks13 .item13{max-width:22px;max-height:22px;flex-shrink:0}
@media(max-width:700px) and (orientation:portrait){#island-hud13{grid-template-columns:minmax(0,1fr);gap:8px;padding:max(8px,env(safe-area-inset-top)) 8px 0}.island-top13{align-items:start}.island-top13>div{align-self:center}.island-top13 span{font-size:9px;line-height:1.4}.island-stocks13>span{font-size:10px;gap:3px}#island-hud13 .island-stocks13{padding:8px;gap:4px}.island-float13{top:auto;bottom:198px;right:10px;grid-template-columns:repeat(2,1fr)}.synergy-rule10{grid-template-columns:minmax(0,1fr);gap:3px}.home14 .game-logo16{width:clamp(145px,43vw,215px);max-height:25dvh}}
@media(max-height:560px) and (orientation:landscape){#island-hud13{grid-template-columns:minmax(0,430px) 1fr;padding:7px 9px 0;gap:7px}.home14 .game-logo16{width:155px;max-height:42dvh;margin-bottom:4px}.island-top13 b{font-size:15px}.island-top13 span{line-height:1.3}}
@media(max-width:350px) and (orientation:portrait){.island-pet13{width:165px}.island-stocks13>span{font-size:9px}.island-stocks13 svg{width:14px;height:14px}}
@media(max-height:700px) and (orientation:portrait){.home14 .game-logo16{max-height:22dvh;margin-bottom:5px}}
