.conflict-room{position:fixed;z-index:99;inset:0;overflow:hidden;color:#f8efdf;background:#293939;font:14px/1.4 system-ui,sans-serif}
.conflict-room>canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;outline:0}
.conflict-heading,.conflict-close,.conflict-roster,.conflict-sheet,.conflict-help{position:absolute;z-index:1}
.conflict-heading{top:max(18px,env(safe-area-inset-top));left:max(24px,env(safe-area-inset-left));pointer-events:none;text-shadow:0 2px 5px #15211e,0 0 15px #132721}
.conflict-heading h1{font:normal clamp(27px,4vw,48px)/1.08 Georgia,serif;color:#fff0cc;margin:3px 0}
.conflict-heading small,.conflict-stats{font:600 12px/1.35 system-ui,sans-serif;color:#e8ca97}
.conflict-heading p,.conflict-sheet p{margin:6px 0}.conflict-close{top:max(16px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right))}
.conflict-room button,.conflict-roster summary{font:600 13px/1.25 system-ui,sans-serif;cursor:pointer;padding:8px 12px;min-height:40px;border:1px solid #ab926b;border-radius:3px;background:#e4c99b;color:#262e27}
.conflict-room button:disabled{opacity:.55;cursor:default}.conflict-room button:focus-visible,.conflict-room summary:focus-visible{outline:3px solid #fff1b5;outline-offset:2px}
.conflict-room .conflict-close,.conflict-roster summary{background:#1c2d29ee;color:#ffe2aa}
.conflict-roster{top:74px;right:20px;max-width:min(335px,78vw);max-height:55%;overflow:auto;background:#1b2e29f2;z-index:4}.conflict-roster summary{box-sizing:border-box}
.conflict-mate{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;border-top:1px solid #a89b7155}.conflict-mate button{min-height:36px}
.conflict-sheet{bottom:max(45px,env(safe-area-inset-bottom));right:max(20px,env(safe-area-inset-right));width:min(340px,36vw);padding:14px 18px;max-height:55%;overflow:auto;background:#182c28f2;border-left:2px solid #c7a467;box-shadow:0 4px 18px #14252155}
.conflict-sheet h2{font:normal 22px/1.15 Georgia,serif;margin:0 0 5px;color:#fae5b9}.conflict-duties,.conflict-controls{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.conflict-live,.conflict-focus{font-size:12px}.conflict-live:empty,.conflict-focus:empty,.conflict-stats:empty,.conflict-duties:empty,.conflict-controls[hidden]{display:none}
.conflict-focus[data-danger=true]{font-weight:bold;color:#ffbe91}.conflict-help{bottom:12px;left:16px;background:#152823dc;padding:4px 9px;font-size:12px;pointer-events:none}
.conflict-room [hidden]{display:none!important}
.conflict-target-health{display:block;width:100%;height:7px;background:#35463b;border:0;border-radius:2px;overflow:hidden}
.conflict-target-health::-webkit-meter-bar{height:7px;border:0;background:#35463b}.conflict-target-health::-webkit-meter-optimum-value{background:#d29863}
.conflict-target-health::-moz-meter-bar{background:#d29863}
.conflict-camera{position:absolute;z-index:2;bottom:max(48px,env(safe-area-inset-bottom));left:max(16px,env(safe-area-inset-left));display:flex;gap:2px}
.conflict-room .conflict-camera button{width:44px;height:44px;min-height:44px;padding:0;font-size:22px;background:#1c2d29ee;color:#ffe2aa;touch-action:manipulation}
@media(max-width:700px){.conflict-camera{top:max(105px,env(safe-area-inset-top));bottom:auto;left:max(9px,env(safe-area-inset-left))}}
@media(max-height:490px) and (min-width:550px){.conflict-camera{top:auto;bottom:max(8px,env(safe-area-inset-bottom));left:max(9px,env(safe-area-inset-left))}}
.conflict-exit{max-width:min(330px,82vw);color:#f5edda;background:#1e302b;border:1px solid #bda273}.conflict-exit::backdrop{background:#11231caa}.conflict-exit button{margin:4px}
@media(max-width:700px){.conflict-heading{top:max(8px,env(safe-area-inset-top));left:10px;max-width:72%}.conflict-heading h1{font-size:25px}.conflict-close{top:max(8px,env(safe-area-inset-top));right:9px}.conflict-roster{top:56px;right:9px}.conflict-sheet{bottom:max(8px,env(safe-area-inset-bottom));left:8px;right:8px;width:auto;max-height:30%;padding:9px 12px}.conflict-room button{min-height:44px}.conflict-help{display:none}.conflict-sheet h2{font-size:19px}.conflict-room{font-size:13px}}
@media(max-height:490px) and (min-width:550px){.conflict-sheet{left:auto;right:7px;bottom:6px;width:235px;max-height:57%;font-size:12px}.conflict-heading h1{font-size:25px}.conflict-help{display:none}.conflict-roster{top:59px}.conflict-room button{min-height:36px}.conflict-sheet h2{font-size:18px}}
