/* プレイ画面は必要な操作だけを常設。素材と設定は開いて見る。 */
body.hud-clean.hud-clean.hud-clean #sysbar{display:none}body.hud-clean.hud-clean.hud-clean #hudMenu{position:absolute;top:calc(8px + env(safe-area-inset-top));right:8px;min-width:44px;min-height:44px;font-size:22px;padding:4px;border-radius:12px;pointer-events:auto;background:#19132deb}
body.hud-clean.hud-clean.hud-clean #rankBox{top:calc(8px + env(safe-area-inset-top));left:8px;width:auto;right:62px;max-width:330px;min-width:0;padding:7px 10px;border-width:1px;border-radius:12px;box-sizing:border-box}body.hud-clean.hud-clean.hud-clean #rankName{font-size:11px;white-space:normal;line-height:1.4;overflow:visible}body.hud-clean.hud-clean.hud-clean #rankNote{display:none}body.hud-clean.hud-clean.hud-clean #kicked{font-size:11px;margin:1px 0 0;white-space:normal}body.hud-clean.hud-clean.hud-clean #kicked b{font-size:16px}body.hud-clean.hud-clean.hud-clean #progWrap{height:3px;margin-top:3px}
body.hud-clean.hud-clean.hud-clean #viewControls{top:calc(76px + env(safe-area-inset-top));left:8px;right:8px;width:auto;max-width:440px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}body.hud-clean.hud-clean.hud-clean #viewControls>button{font-size:11px;padding:7px 3px;min-width:0;min-height:38px;border-width:1px;border-radius:10px;white-space:normal;line-height:1.4;overflow:visible}
body.hud-clean.hud-clean.hud-clean #place{top:calc(122px + env(safe-area-inset-top));left:8px;right:auto;max-width:calc(100% - 16px);width:max-content;box-sizing:border-box;font-size:11px;padding:4px 8px;white-space:normal;overflow:visible;border-width:1px;line-height:1.4}
body.hud-clean.hud-clean.hud-clean #humanList{top:calc(158px + env(safe-area-inset-top));right:8px;width:min(310px,calc(100vw - 16px));max-height:35dvh;overflow:auto;pointer-events:auto;touch-action:pan-y;background:#171124f5;padding:8px;border:1px solid #8062a9;border-radius:12px;box-sizing:border-box;gap:6px}body.hud-clean.hud-clean.hud-clean #humanList[hidden]{display:none}body.hud-clean.hud-clean.hud-clean #humanList .hrow{font-size:12px;line-height:1.5;padding:7px;border-radius:8px}body.hud-clean.hud-clean.hud-clean #humanList .n{display:flex;flex-wrap:wrap;gap:3px;align-items:center}body.hud-clean.hud-clean.hud-clean #humanList .n>span:first-child{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;flex:1 1 150px}body.hud-clean.hud-clean.hud-clean #humanList .st{display:block;font-size:10px;white-space:normal}body.hud-clean.hud-clean.hud-clean #humanList .hbar{height:3px}
body.hud-clean.hud-clean.hud-clean #hotbar{display:none}body.hud-clean.hud-clean.hud-clean.hud-building #hotbar{display:flex;left:8px!important;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));transform:none;width:auto;max-width:none;flex-wrap:nowrap;gap:5px;padding:6px;overflow-x:auto;overflow-y:hidden;box-sizing:border-box;max-height:none;height:58px;scrollbar-width:thin;background:#161025e8}body.hud-clean.hud-clean.hud-clean #hotbar .slot{flex:0 0 42px;width:42px;height:42px;font-size:20px;box-sizing:border-box;border-radius:9px}body.hud-clean.hud-clean.hud-clean #hotbar .cnt{font-size:10px}body.hud-clean.hud-clean.hud-clean #hotbar .num{font-size:9px}
body.hud-clean.hud-clean.hud-clean #actionPad #bPlace,body.hud-clean.hud-clean.hud-clean #actionPad #bTake{display:none}body.hud-clean.hud-clean.hud-clean.hud-building #actionPad #bPlace,body.hud-clean.hud-clean.hud-clean.hud-building #actionPad #bTake{display:flex}body.hud-clean.hud-clean.hud-clean #actionPad{bottom:calc(16px + env(safe-area-inset-bottom));right:10px;gap:7px;grid-template-columns:repeat(2,58px)}body.hud-clean.hud-clean.hud-clean.hud-building #actionPad{bottom:calc(78px + env(safe-area-inset-bottom))}body.hud-clean.hud-clean.hud-clean #actionPad .tbtn{width:58px;height:54px;box-sizing:border-box;font-size:11px;line-height:1.3;overflow:visible;border-width:1px;border-radius:15px}body.hud-clean.hud-clean.hud-clean #actionPad .tbtn i{font-size:20px}body.hud-clean.hud-clean.hud-clean #actionPad #bScare{width:123px;height:61px;font-size:13px;border-width:2px}
body.hud-clean.hud-clean.hud-clean #gauges{top:auto;bottom:calc(150px + env(safe-area-inset-bottom));left:8px;right:auto;width:90px;gap:5px}body.hud-clean.hud-clean.hud-clean.hud-building #gauges{bottom:calc(212px + env(safe-area-inset-bottom))}body.hud-clean.hud-clean.hud-clean #gauges .g{font-size:10px;padding:4px 6px;border-width:1px;border-radius:8px}body.hud-clean.hud-clean.hud-clean #gauges .bar{height:4px}
body.hud-clean.hud-clean.hud-clean #toasts{top:calc(160px + env(safe-area-inset-top));left:8px;width:min(260px,calc(100vw - 16px));max-height:none;overflow:visible;pointer-events:none}body.hud-clean.hud-clean.hud-clean #toasts .toast{font-size:11px;line-height:1.6;padding:7px 9px;overflow-wrap:anywhere}body.hud-clean.hud-clean.hud-clean:has(#humanList:not([hidden])) #toasts{display:none}
body.hud-clean.hud-clean.hud-clean #hint{left:8px;right:146px;bottom:calc(90px + env(safe-area-inset-bottom));top:auto;transform:none;width:auto;max-width:320px;max-height:none;overflow:visible;font-size:11px;line-height:1.5;padding:5px 8px;box-sizing:border-box}body.hud-clean.hud-clean.hud-clean:not(.hud-building) #hint{display:none}
body.hud-clean.hud-clean.hud-clean #findBar{top:calc(158px + env(safe-area-inset-top));bottom:auto;left:8px;right:8px;transform:none;width:auto;max-width:440px}body.hud-clean.hud-clean.hud-clean #findName{white-space:normal;overflow:visible}body.hud-clean.hud-clean.hud-clean #battleBar{top:calc(158px + env(safe-area-inset-top));left:8px;right:8px;transform:none;width:auto;max-width:440px}body.hud-clean.hud-clean.hud-clean:has(#battleBar:not([hidden])) #toasts{top:calc(240px + env(safe-area-inset-top))}
.hud-dialog{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 32px);padding:16px;box-sizing:border-box;border:1px solid #b28ae2;border-radius:18px;background:#191326;color:#f3eaff;overflow:auto;touch-action:pan-y}.hud-dialog::backdrop{background:#090513c9}.hud-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.hud-dialog h2{font-size:18px;margin:0}.hud-dialog header button{min-width:40px;min-height:40px;border:1px solid #9573b8;border-radius:9px;color:#fff;background:#352441;font-size:22px}.hud-menu-actions{display:grid;gap:10px}.hud-menu-actions>button{position:static!important;min-height:46px;width:100%;font-size:14px;white-space:normal;padding:10px;box-sizing:border-box}
#hudInventory #bag,#hudInventory #shards,#hudInventory #charChip{position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:none!important;max-height:none!important;height:auto!important;overflow:visible!important;box-sizing:border-box}#hudInventory #bag{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:12px;border:0;padding:0;background:none}#hudInventory #bag>div{display:flex;align-items:center;flex-wrap:wrap;gap:4px;background:#2a1e3b;padding:10px;border-radius:10px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}#hudInventory #bag .nm{display:inline!important;font-size:12px;font-style:normal}#hudInventory #bag span{font-size:14px;color:#ffd45e;margin-left:auto}#hudInventory #shards{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px;font-size:12px}#hudInventory #charChip{display:block;margin-top:14px;font-size:12px;padding:8px}#hudInventory [hidden]{display:none!important}
@media(orientation:landscape){body.hud-clean.hud-clean.hud-clean #rankBox{right:auto;width:230px}body.hud-clean.hud-clean.hud-clean #viewControls{left:250px;top:calc(8px + env(safe-area-inset-top));right:62px;max-width:440px}body.hud-clean.hud-clean.hud-clean #place{top:calc(78px + env(safe-area-inset-top))}body.hud-clean.hud-clean.hud-clean #humanList{top:calc(64px + env(safe-area-inset-top));max-height:45dvh}body.hud-clean.hud-clean.hud-clean #toasts{top:calc(112px + env(safe-area-inset-top))}body.hud-clean.hud-clean.hud-clean #findBar,body.hud-clean.hud-clean.hud-clean #battleBar{top:calc(64px + env(safe-area-inset-top));left:250px;right:8px}body.hud-clean.hud-clean.hud-clean #gauges{bottom:calc(16px + env(safe-area-inset-bottom));left:155px}}

body.hud-clean.hud-clean.hud-clean:has(#battleBar:not([hidden])) #humanList{top:calc(240px + env(safe-area-inset-top));max-height:28dvh}body.hud-clean.hud-clean.hud-clean:has(#humanList:not([hidden])) #findBar{display:none}body.hud-clean.hud-clean.hud-clean:has(#findBar:not([hidden])) #toasts{display:none}body.hud-clean.hud-clean.hud-clean:has(#battleBar:not([hidden])) #findBar{top:calc(240px + env(safe-area-inset-top))}
body.hud-clean.hud-clean.hud-clean #adventureHud{left:8px;right:auto;bottom:calc(16px + env(safe-area-inset-bottom));top:auto;transform:none;max-width:calc(100% - 152px);font-size:11px}body.hud-clean.hud-clean.hud-clean.hud-building #adventureHud{bottom:calc(80px + env(safe-area-inset-bottom))}body.hud-clean.hud-clean.hud-clean #adventureHud button{font-size:11px;min-height:36px;padding:6px 8px;white-space:normal}
