#hostile-entry{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:3px 18px;background:#edf0df;color:#566344;border-bottom:1px dashed #abb18e;min-height:32px}#hostile-entry small{font-size:11px}#hostile-entry button{padding:5px 15px;min-height:28px;border-radius:18px;font-size:12px;background:#52694b;color:#fff;border:0}
dialog.hostile-dialog{width:min(960px,95vw);max-width:960px;max-height:92dvh;padding:0;background:#faf5e9;color:#443829;border:3px solid #a5906c;border-radius:22px;overflow:auto}dialog.hostile-dialog .dialog-header{position:sticky;top:0;z-index:5;background:#faf5e9;border-bottom:1px dashed #b2a68d;padding:15px 22px}dialog.hostile-dialog .dialog-header h2{font-size:23px}dialog.hostile-dialog .dialog-content{padding:18px 24px}.hostile-ui{font-size:14px;line-height:1.65}.hostile-ui h3{font-size:21px;margin:8px 0}.hostile-ui h4{font-size:16px;margin:8px 0}.hostile-ui p{margin:8px 0 12px}.hostile-meta{font-size:11px;color:#766a57;margin-bottom:12px;letter-spacing:.06em}.hostile-vitals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hostile-vital{display:flex;align-items:center;background:#eee8d7;border:1px dashed #b9b398;padding:8px;border-radius:12px;gap:8px}.hostile-vital .nui{width:48px!important;height:56px!important;object-fit:contain}.hostile-vital span,.hostile-vital small{display:block;font-size:11px}.hostile-vital b{font-size:13px}.hostile-message{background:#e4ecd9;border-left:4px solid #668050;border-radius:6px;padding:9px 12px;margin:16px 0}.hostile-scene{display:flex;gap:20px;align-items:center;padding:20px;border:1px solid #c5b389;border-radius:16px;background:linear-gradient(135deg,#dce8d2,#f3ead1)}.hostile-scene>span{font-size:64px;filter:drop-shadow(2px 6px 3px #77684930)}.hostile-scene small{color:#60694e}.hostile-ui button,.hostile-ui a{border:1px solid #99a48c;background:#fcfaf3;border-radius:10px;padding:10px 14px;min-height:44px;text-align:left;color:#3f503a;font-weight:700;cursor:pointer;font-size:13px;white-space:normal;text-decoration:none}.hostile-ui button:disabled{opacity:.55;cursor:not-allowed}.hostile-ui button:hover:not(:disabled),.hostile-ui a:hover{background:#e5ecd8}.hostile-ui [aria-pressed=true],.hostile-ui [aria-current=page]{background:#546d4c;color:#fff}.hostile-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hostile-warning{padding:12px;background:#f3e7d3;border-radius:8px;font-size:12px}.hostile-choices{display:flex;flex-wrap:wrap;gap:8px}.hostile-costs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hostile-costs article{padding:14px;border:1px solid #bdbea4;border-radius:12px;background:#fffdf6}.hostile-costs strong{display:block;margin-bottom:12px}.hostile-costs button{display:block;width:100%;background:#54724d;color:#fff}.hostile-costs small{display:block}.hostile-steps{display:flex;list-style:none;padding:0;gap:8px;margin:18px 0}.hostile-steps li{flex:1;background:#eee7db;border-radius:20px;padding:6px;text-align:center;font-size:12px}.hostile-steps li.done{background:#dae5cb;color:#415736}.hostile-table{overflow-x:auto}.hostile-table table{width:100%;font-size:12px}.hostile-table th,.hostile-table td{padding:8px}.hostile-dialogues article{display:flex;gap:12px;align-items:center;border-bottom:1px dashed #c7bea9;padding:10px 0}.hostile-dialogues .nui{width:56px!important;height:65px!important}.hostile-dialogues p{margin:4px 0}.hostile-dialogues small{color:#776851}@media(max-width:600px){dialog.hostile-dialog .dialog-content{padding:12px}.hostile-vitals{gap:4px}.hostile-vital{display:block;padding:5px}.hostile-vital .nui{display:none}.hostile-vital b{font-size:11px}.hostile-vital span{font-size:10px}.hostile-options,.hostile-costs{grid-template-columns:1fr}.hostile-scene{padding:12px;gap:10px}.hostile-scene>span{font-size:42px}.hostile-ui h3{font-size:18px}.hostile-steps{gap:3px}.hostile-steps li{font-size:10px}#hostile-entry{padding:3px 8px;gap:5px}#hostile-entry small{font-size:9px}}

@media(min-width:900px){dialog.hostile-dialog .dialog-header{padding:10px 20px}dialog.hostile-dialog .dialog-content{padding:12px 20px}.hostile-ui{line-height:1.45}.hostile-ui h3{font-size:19px;margin:5px 0}.hostile-ui h4{margin:3px 0}.hostile-ui p{margin:6px 0 9px}.hostile-meta{margin-bottom:8px}.hostile-vital{padding:5px 8px}.hostile-vital .nui{width:40px!important;height:47px!important}.hostile-message{margin:10px 0;padding:7px 10px}.hostile-scene{padding:12px 16px;gap:14px}.hostile-scene>span{font-size:48px}.hostile-steps{margin:10px 0}.hostile-costs article{padding:10px 12px}.hostile-costs strong{margin-bottom:8px}}

.hostile-ui button[aria-pressed="true"]:hover:not(:disabled){background:#405b38;color:#fff}

.hostile-habitats{padding:12px;margin:16px 0;border:1px solid #b9bea4;border-radius:12px;background:#f0f2e4}.hostile-habitats summary{font-weight:700;cursor:pointer}.hostile-habitats td small{display:block;color:#716955}.hostile-area-notice{padding:10px;border:1px solid #b4bea5;border-radius:10px;background:#eef1e3;margin:10px 0;font-size:12px}.hostile-area-notice b,.hostile-area-notice span,.hostile-area-notice small{display:block}.hostile-area-notice small{margin-top:4px;line-height:1.5}.hostile-habitats table td,.hostile-habitats table th{white-space:normal}@media(max-width:600px){.hostile-habitats th,.hostile-habitats td{padding:6px;font-size:11px}}
.hostile-ui .hostile-habitats table td{color:#443829}.hostile-ui .hostile-habitats table td:nth-last-child(-n+2){color:#34543c;font-weight:700}.hostile-ui .hostile-habitats table th{color:#443829}

.story-place.hostile-location .story-name{outline:2px dashed #94612c;outline-offset:1px}.hostile-place-status{font-weight:700;color:#71471f}.conversation-narration{padding:10px 12px;border-left:3px solid #b99b6b;background:#f5efdf;line-height:1.7}

#hostile-entry[hidden]{display:none}
