#battleStatuses{position:absolute;left:104px;top:76px;display:flex;gap:3px;pointer-events:none;max-width:146px}
.battle-status{width:36px;height:28px;display:grid;grid-template-rows:14px 12px;place-items:center;background:#173336d9;border:1px solid #b7d2c1;color:#ffedb1;font-size:9px;text-shadow:1px 1px #000}
.battle-status b{font-weight:normal;white-space:nowrap}.battle-status small{font-size:9px;color:#fff}
#battleStatuses .battle-status[data-status=food-satiety]{width:100px;flex:none}
#battleStatuses .battle-status[data-status=food-satiety] small{white-space:nowrap}
#partyHud{position:absolute;top:4px;left:204px;right:154px;display:grid;grid-template-columns:repeat(4,minmax(0,108px));gap:6px;pointer-events:none}
.party-vitals{min-width:0;max-width:108px;font-size:9px;text-shadow:1px 1px #000}.party-vitals strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:normal;color:#f5eb90}.party-vitals small{display:block;font-size:8px;color:#eaf7ed;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.party-vitals .meter{height:5px;border-width:1px;margin-top:2px}.party-vitals.offline{opacity:.55}
#hoaSonHud{position:absolute;top:48px;left:50%;transform:translateX(-50%);padding:2px 8px;min-height:30px;max-width:calc(100% - 440px);font-size:10px;background:#183d37d9;border:1px solid #bac9ae;line-height:1.3;color:#ffefa8;overflow-wrap:anywhere;border-radius:0}
body:has(#hoaSonHud:not([hidden])) #target{top:88px}
@media(orientation:landscape) and (max-height:520px){body:has(#hoaSonHud:not([hidden])) #toast{top:132px}}
.hoa-son-summary{padding:6px 0;color:#eee5a9;font-size:12px}.hoa-son-actions{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0}.hoa-son-actions button{min-height:32px;font-size:12px;padding:5px 8px}.hoa-son-roster{display:grid;gap:3px}.hoa-son-team{border-bottom:1px solid #6c8e80;padding:6px 0;font-size:12px}.hoa-son-team.mine{color:#ffe397}.hoa-son-team small{display:block;color:#b6d9cb;font-size:11px;overflow-wrap:anywhere}.hoa-son-rules{font-size:12px;line-height:1.6;padding:6px 0}.status-blocked{filter:grayscale(1);opacity:.55}
@media(orientation:landscape) and (max-height:520px){#battleStatuses{left:86px;top:66px;gap:2px}.battle-status{width:32px;height:24px;grid-template-rows:12px 10px;font-size:8px}#partyHud{left:174px;right:112px;gap:3px}.party-vitals{font-size:8px}#hoaSonHud{top:40px;max-width:calc(100% - 300px);min-height:24px;font-size:9px}body:has(#hoaSonHud:not([hidden])) #target{top:82px}}
@media(orientation:portrait){#partyHud{top:110px;left:6px;right:112px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.party-vitals{max-width:none;font-size:8px}.party-vitals strong,.party-vitals small{line-height:10px}.party-vitals .meter{height:4px;margin-top:1px}#battleStatuses{top:74px;left:90px}.connection{top:82px}#hoaSonHud{top:143px;max-width:calc(100% - 20px);width:max-content}body:has(#hoaSonHud:not([hidden])) #target{top:180px}body:has(#partyHud:not([hidden])) #target{top:160px}body:has(#hoaSonHud:not([hidden])):has(#partyHud:not([hidden])) #target{top:180px}}
@media(orientation:portrait) and (max-width:350px){#hoaSonHud{top:172px}body:has(#hoaSonHud:not([hidden])) #target,body:has(#hoaSonHud:not([hidden])):has(#partyHud:not([hidden])) #target{top:220px}}

#battleStatuses:has([data-status=thai-cuc-dan]){flex-wrap:wrap}
#battleStatuses .battle-status[data-status=thai-cuc-dan]{width:144px;flex:none}
