.death-log-launch{display:block;width:100%;min-height:42px;margin:0 0 12px;text-align:center}
.death-log-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #9b9c6e;border-radius:6px;background:#172b25;color:#eee3be;box-shadow:0 18px 70px #0009;overflow:hidden;font:15px/1.5 Georgia,serif}
.death-log-dialog[open]{display:flex;flex-direction:column}
.death-log-dialog::backdrop{background:#06110dbb}
.death-log-dialog>header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #708068}
.death-log-dialog h2{margin:0;color:#f1d78e;font-size:24px}
.death-log-dialog button{min-height:44px;min-width:66px;padding:8px 14px;color:#eee3be;background:#2c4437;border:1px solid #89976f;border-radius:3px;font:inherit;cursor:pointer}
.death-log-dialog button:hover,.death-log-dialog summary:hover{background:#35513f}
.death-log-dialog button:focus-visible,.death-log-dialog summary:focus-visible{outline:2px solid #efcf72;outline-offset:3px}
.death-log-body{overflow:auto;overscroll-behavior:contain;padding:0 20px 20px;scrollbar-gutter:stable;min-height:0}
.death-log-intro,.death-log-status{font-size:13px;color:#c6cdae;line-height:1.55}
.death-log-status{color:#e8d598}
.death-log-records{display:grid;gap:12px}
.death-log-entry{border:1px solid #687962;border-radius:4px;background:#12241e;min-width:0}
.death-log-entry>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;cursor:pointer;padding:13px 15px;list-style:none;min-height:44px;box-sizing:border-box;background:#233c30;border-radius:3px;overflow-wrap:anywhere}
.death-log-entry>summary::-webkit-details-marker{display:none}
.death-log-entry>summary>strong{color:#f1d78e}
.death-log-entry>summary>strong::before{content:'▸ ';color:#c5b472}
.death-log-entry[open]>summary>strong::before{content:'▾ '}
.death-log-entry>summary>span{grid-column:1;font-size:13px;color:#d5dabc}
.death-log-entry>summary>time{grid-column:2;grid-row:1 / span 2;align-self:center;color:#bac7ac;font-size:12px;text-align:right}
.death-log-entry-body{padding:4px 15px 15px;overflow-wrap:anywhere}
.death-log-reason{color:#f2e3b3}
.death-log-facts{display:grid;grid-template-columns:90px 1fr;gap:6px 12px;margin:0 0 15px;font-size:13px}
.death-log-facts dt{color:#b8c4a8}
.death-log-facts dd{margin:0;color:#eee3be}
.death-log-dialog h4{color:#e8d598;margin:0 0 6px;font-size:14px}
.death-log-item-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0}
.death-log-items ul{padding-left:20px;margin:0;font-size:13px}
.death-log-items li{padding:3px 0}
.death-log-items p,.death-log-context p,.death-log-recovery p{margin:5px 0;font-size:13px}
.death-log-context small{color:#aeba9f;font-size:12px}
.death-log-context ul{margin:4px 0 8px;padding-left:20px;font-size:13px}
.death-log-recovery{padding-top:12px;border-top:1px solid #4b6150;color:#c6cdae}
@media(max-width:560px){.death-log-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.death-log-dialog>header{padding:12px}.death-log-body{padding:0 12px 16px}.death-log-entry>summary{grid-template-columns:1fr;padding:12px}.death-log-entry>summary>time{grid-column:1;grid-row:auto;text-align:left;margin-top:3px}.death-log-entry-body{padding:3px 12px 12px}.death-log-item-columns{grid-template-columns:1fr;gap:14px}.death-log-facts{grid-template-columns:76px 1fr;gap:5px 8px}}
