/* Uses the same native dialog and site controls as the existing share/load panels. */
#versionLabel{font:inherit;font-size:11px;white-space:nowrap}
#updateLogDialog{width:min(880px,calc((100vw - 24px) / var(--reader-zoom)));max-width:calc((100vw - 24px) / var(--reader-zoom));max-height:calc((100dvh - 24px) / var(--reader-zoom));padding:0;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);overflow:hidden}
#updateLogDialog[open]{display:flex;flex-direction:column}
.update-log-head,.update-log-foot{flex:none;padding:16px 20px;background:var(--panel2)}
.update-log-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--border)}
.update-log-head h2{font-size:20px;margin:0;min-width:0;overflow-wrap:anywhere}
.update-log-body{overflow:auto;min-height:0;padding:18px 20px;line-height:1.7;overscroll-behavior:contain;overflow-wrap:anywhere}
.update-log-foot{border-top:1px solid var(--border);display:flex;justify-content:flex-end}
.update-log-section h3{color:var(--gold);margin:0 0 12px}
.update-log-meta{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,2fr);gap:7px 16px;margin:0 0 16px}
.update-log-meta dt{color:var(--muted)}
.update-log-meta dd{margin:0;min-width:0}
.update-log-chooser{display:grid;gap:8px;margin:22px 0}
.update-log-chooser select{width:100%;min-width:0;max-width:100%;padding:10px;background:var(--panel2);color:var(--text);border:1px solid var(--border);border-radius:7px}
.update-log-status{display:inline-block;color:var(--gold);padding:3px 10px;border:1px solid var(--gold2);border-radius:7px}
.update-log-entry h3{margin-bottom:8px}
.update-log-entry h4{color:var(--gold);margin:22px 0 6px}
.update-log-group{margin-bottom:12px}
.update-log-group p{margin:6px 0}
.update-log-muted{color:var(--muted);font-size:12px}
@media(max-width:600px){.update-log-head,.update-log-foot{padding:12px}.update-log-body{padding:14px 12px}.update-log-meta{grid-template-columns:minmax(0,1fr);gap:2px}.update-log-meta dd{margin-bottom:10px}.update-log-head h2{font-size:18px}#versionLabel{font-size:10px}}
