.whats-new-dialog { box-sizing:border-box; width:min(620px,calc(100vw - 24px)); max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); padding:0; overflow:auto; overscroll-behavior:contain; border:1px solid var(--line,#343946); border-radius:20px; color:var(--text,#eef0ff); background:var(--panel,#151821); box-shadow:0 24px 90px #0008; }
.whats-new-dialog::backdrop { background:rgba(0,0,0,.72); }
.whats-new-dialog:not([open]) { display:none; }
.whats-new-content { display:grid; gap:22px; padding:26px; min-width:0; }
.whats-new-heading { display:flex; gap:16px; align-items:flex-start; justify-content:space-between; }
.whats-new-heading > div { min-width:0; }
.whats-new-heading h2 { font-size:23px; line-height:1.35; margin:6px 0 0; overflow-wrap:anywhere; }
.whats-new-kicker { color:var(--accent,#adb5ff); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.whats-new-close { display:grid; place-items:center; flex:0 0 40px; width:40px; height:40px; padding:0; color:var(--muted,#afb5c8); background:var(--bg,#0b0d12); border:1px solid var(--line,#343946); border-radius:10px; cursor:pointer; font-size:24px; line-height:1; }
.whats-new-summary { margin:0; font-size:14px; line-height:1.75; color:var(--muted,#afb5c8); overflow-wrap:anywhere; }
.whats-new-items { display:grid; gap:18px; list-style:none; margin:0; padding:0; }
.whats-new-items li { margin:0; padding:0 0 18px; border-bottom:1px solid var(--line,#343946); min-width:0; }
.whats-new-items h3 { margin:0 0 8px; font-size:15px; line-height:1.5; color:var(--text,#eef0ff); }
.whats-new-items p { margin:0; font-size:13px; line-height:1.8; color:var(--muted,#afb5c8); overflow-wrap:anywhere; }
.whats-new-version { margin:0; font-size:12px; line-height:1.65; color:var(--muted,#afb5c8); overflow-wrap:anywhere; }
.whats-new-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; }
.whats-new-actions a { color:var(--accent,#adb5ff); line-height:1.6; font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.whats-new-confirm { min-height:44px; padding:10px 20px; border:1px solid transparent; border-radius:11px; background:var(--accent,#adb5ff); color:var(--accent-ink,#11152b); cursor:pointer; font:inherit; font-weight:700; }
.whats-new-dialog :is(button,a):focus-visible { outline:3px solid var(--accent,#adb5ff); outline-offset:3px; }
@media(max-width:500px) { .whats-new-content { gap:18px; padding:20px; } .whats-new-heading h2 { font-size:21px; } .whats-new-actions { align-items:stretch; } .whats-new-actions > * { flex:1 1 100%; text-align:center; } }
