.update-card{display:flex;align-items:center;position:relative;flex:none;width:100%;border:1px solid #303030;background:#191919;border-radius:24px;color:#f4f4f4;touch-action:pan-y;transition:opacity .14s;overflow:hidden}
.update-content{display:flex;align-items:center;gap:14px;flex:1;min-width:0;text-align:left;border:0;border-radius:inherit;background:transparent;color:inherit;padding:18px 16px;min-height:92px;font:inherit}
.update-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border:1px solid #383838;border-radius:15px;color:#b9c9e3;font-size:24px}
.update-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}
.update-copy strong{font-size:16px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.update-copy>span{font-size:14px;line-height:1.5;color:#aaa;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.update-copy small{font-size:12px;color:#90959f;line-height:1.4}
.update-home{touch-action:none;box-shadow:0 8px 0 -2px #111,0 9px 0 -2px #292929}
.update-home .update-copy strong,.update-home .update-copy>span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.updates-hint{display:block;width:100%;padding:17px 8px 0;text-align:center;border:0;background:none;color:#9299a4;font-size:12px;min-height:44px}
.updates-sheet{box-sizing:border-box;position:fixed!important;inset:auto 0 max(env(safe-area-inset-bottom),0px)!important;margin:0 auto!important;transform:none!important;width:min(100%,680px)!important;max-width:100%!important;height:min(86dvh,850px)!important;max-height:calc(var(--view-height,100dvh) - 20px)!important;padding:0!important;border:1px solid #343434!important;border-bottom:0!important;border-radius:30px 30px 0 0!important;background:#111!important;color:#f4f4f4!important;overflow:hidden!important;box-shadow:0 -12px 60px #0008}
.updates-sheet[open]{display:flex!important;flex-direction:column}
.updates-sheet::backdrop{background:#0009;backdrop-filter:blur(5px)}
.updates-handle{flex:none;height:5px;width:40px;border-radius:9px;background:#505050;margin:12px auto 4px}
.updates-header{display:flex;align-items:center;gap:8px;padding:12px 18px 10px;flex:none;background:transparent!important}
.updates-header>div{flex:1;min-width:0}.updates-header h2{font-size:21px;line-height:1.3;margin:0;font-weight:600;overflow-wrap:anywhere}.updates-count{margin:4px 0 0;color:#a5a5a5;font-size:13px}
.updates-sheet button{font-family:inherit;cursor:pointer}.updates-sheet button:disabled{opacity:.45;cursor:default}
.updates-clear{flex:none;border:1px solid #444;background:#292929;color:#f5f5f5;border-radius:22px;min-height:44px;padding:8px 14px;font-size:14px;font-weight:500}
.updates-close{flex:none;border:0;background:transparent;color:#aaa;width:44px;height:44px;padding:0;border-radius:50%;font-size:30px;line-height:1}
.updates-status{flex:none;margin:0;padding:0 20px;color:#c6d8f9;font-size:13px;line-height:1.5;overflow-wrap:anywhere;max-height:80px;overflow:auto}.updates-status:not(:empty){padding-bottom:12px}
.updates-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;padding:4px 16px 20px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.update-dismiss{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#a9a9a9;font-size:23px;padding:0;margin-right:4px}
.updates-list .update-content{padding-right:2px}.updates-empty{margin:auto;text-align:center;color:#aaa;font-size:16px;padding:20px}
.updates-footer{display:flex;flex:none;align-items:center;justify-content:center;gap:12px;padding:10px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #292929;background:#111}
.updates-more,.updates-sources{border:0;border-radius:20px;min-height:44px;padding:10px 14px;background:#272727;color:#cfdaed;font-size:13px}.updates-sources{background:transparent;color:#aeb5bf}
.updates-sheet :focus-visible,.update-card :focus-visible,.updates-hint:focus-visible{outline:2px solid #b9d4ff;outline-offset:-3px}
html[data-theme=light] .update-card{background:#f6f7f8;color:#171717;border-color:#ddd}html[data-theme=light] .update-copy>span{color:#666}html[data-theme=light] .update-home{box-shadow:0 8px 0 -2px #eee,0 9px 0 -2px #ddd}
html[data-theme=light] .updates-sheet{background:#fafafa!important;color:#171717!important;border-color:#ddd!important}html[data-theme=light] .updates-footer{background:#fafafa;border-color:#ddd}html[data-theme=light] .updates-clear,html[data-theme=light] .updates-more{background:#e9edf3;color:#254774;border-color:#ddd}html[data-theme=light] .updates-status{color:#294d7b}
@media(max-width:360px){.updates-header{padding:10px;gap:4px}.updates-header h2{font-size:18px}.updates-clear{padding:7px 11px}.updates-list{padding-left:10px;padding-right:10px}.update-content{gap:10px;padding-left:12px}.update-icon{flex-basis:36px;height:36px;font-size:21px}.update-copy strong{font-size:15px}}
@media(max-height:500px){.updates-sheet{height:94dvh!important}.updates-header{padding-top:4px;padding-bottom:4px}.updates-handle{margin-top:6px}.updates-footer{padding-top:4px;padding-bottom:4px}}
@media(prefers-reduced-motion:reduce){.update-card{transition:none}}
