.news-dialog,.news-register,.news-profile,.news-bot{--news-ink:#f5f6f8;--news-sub:#b9c2d0;--news-muted:#a3adbb;--news-link:#9dc8ff;--news-accent:#75afff;--news-line:#39404b;letter-spacing:0}
.news-dialog{box-sizing:border-box;margin:auto;padding:0;width:min(474px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);color:var(--news-ink);background:#191c21;border:1px solid #3a4049;border-radius:8px;box-shadow:0 24px 72px #0006,0 1px 0 #ffffff09 inset;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;font:inherit;color-scheme:dark}
.news-dialog::backdrop{background:rgb(4 7 11 / 65%);backdrop-filter:blur(3px)}
.news-sheet{padding:22px 28px 26px}
.toast-region:has(>.news-saved-toast),.toast.news-saved-toast{pointer-events:none}
.toast-region:has(>.news-saved-toast)>:not(.news-saved-toast){pointer-events:auto}
.toast.news-saved-toast{animation:none}
.toast.news-saved-toast.is-leaving{opacity:0}
.news-heading,.news-actions,.news-symbol,.news-manage,.news-terms,.news-profile-head{display:flex;align-items:center}
.news-heading{justify-content:space-between;gap:10px;min-height:40px}
.news-close{display:inline-grid;place-items:center;width:44px;height:44px;flex:none;margin:-4px -6px -4px 0;background:transparent;color:var(--news-muted);border:0;border-radius:6px;cursor:pointer}
.news-close svg{width:20px;height:20px}
.news-sheet h2{margin:0;color:var(--news-ink);font-size:32px;line-height:1.14;font-weight:660;letter-spacing:0;overflow-wrap:anywhere;outline:none}
.news-dialog .news-lead{margin:10px 0 22px;color:var(--news-sub);font-size:15px;line-height:1.55}
.news-channels{border:0;padding:0;margin:0;min-width:0}
.news-dialog .news-delivery{margin:0;padding-top:15px;border-top:1px solid var(--news-line);font-size:14px;line-height:1.55;color:var(--news-sub)}
.news-dialog [hidden]{display:none}
.news-channels legend{padding:0 0 9px;font-size:13px;line-height:1.45;font-weight:610;color:var(--news-sub)}
.news-channel{position:relative;box-sizing:border-box;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;gap:12px;align-items:center;min-height:66px;border-top:1px solid var(--news-line);padding:9px 2px;cursor:pointer}
.news-channel:last-child{border-bottom:1px solid var(--news-line)}
.news-symbol{width:40px;height:40px;justify-content:center;flex:none;border:1px solid transparent;border-radius:8px}
.news-symbol svg{width:21px;height:21px;stroke-width:1.7}
.news-mail{background:#1e2e47;color:#a3c8ff;border-color:#304464}
.news-telegram{background:#17333b;color:#8bd6dc;border-color:#2c4d53}
.news-channel-copy{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.news-channel-copy strong{font-size:15px;font-weight:590;color:var(--news-ink);line-height:1.3}
.news-channel-copy small{font-size:13px;line-height:1.35;color:var(--news-muted)}
.news-channel input,.news-register-choice input{position:absolute;width:1px;height:1px;margin:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.news-check{display:inline-grid;place-items:center;box-sizing:border-box;width:21px;height:21px;flex:none;justify-self:end;border:1.5px solid #687485;border-radius:6px;background:transparent}
.news-check svg{width:15px;height:15px;stroke-width:2.7;opacity:0}
input:checked+.news-check{border-color:var(--news-accent);background:var(--news-accent);color:#081d37}
input:checked+.news-check svg{opacity:1}
input:focus-visible+.news-check{outline:2px solid #9fd3ff;outline-offset:3px}
.news-channel:has(input:disabled){cursor:default}
.news-channel:has(input:disabled) .news-symbol{color:#97a4af;background:#252a31;border-color:#353b45}
.news-channel:has(input:disabled) .news-check{border-color:#414853}
.news-channel:has(input:disabled) strong{color:#a9b1bb}
.news-terms{display:inline-flex;gap:4px;color:var(--news-link);font-size:13px;line-height:1.4;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;min-height:44px}
.news-terms svg{width:14px;height:14px;stroke-width:1.8}
.news-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;margin-top:6px}
.news-button,.news-manage{box-sizing:border-box;min-width:0;min-height:46px;padding:10px 13px;border:1px solid transparent;border-radius:7px;font:inherit;font-size:14px;font-weight:610;line-height:1.3;cursor:pointer;white-space:normal;overflow-wrap:break-word}
.news-primary{background:#3478eb;color:white;border-color:#4886f0}
.news-primary:disabled{background:#293342;color:#a6b4c6;border-color:#3b4758;cursor:not-allowed}
.news-secondary{color:#b2bdca;background:transparent;border:0;font-weight:490}
.news-manage{color:#e2e7ef;background:#242930;border-color:#424b57}
.news-manage{display:inline-flex;gap:8px;justify-content:center}
.news-manage svg{width:17px;height:17px}
.news-dialog button:focus-visible,.news-terms:focus-visible,.news-manage:focus-visible,.news-bot button:focus-visible{outline:2px solid #9fd3ff;outline-offset:3px}
.news-register{border-top:1px solid #2c3b52;padding:16px 0 10px}
.news-register-choice{display:grid;grid-template-columns:21px minmax(0,1fr);align-items:start;gap:10px;color:#edf2fa;font-size:14px;line-height:21px}
.news-register-hit{position:relative;display:flex;align-items:flex-start;justify-content:center;width:44px;min-height:44px;margin-inline-start:-11.5px;cursor:pointer}
.news-register-copy{position:relative;display:grid;gap:3px;min-width:0}
.news-register-copy label{cursor:pointer}
.news-register-copy a{color:inherit;text-decoration:underline;text-decoration-color:#77879b;text-decoration-thickness:1px;text-underline-offset:3px}
.news-register-copy a:focus-visible{outline:2px solid #9fd3ff;outline-offset:3px}
.news-register-note{color:#a5b1c2;font-size:13px;line-height:18px;font-weight:400}
.profile-grid>.news-profile{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:7px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
.news-profile .news-profile-head{min-width:0;gap:9px}
.news-profile-head .news-symbol{width:20px;height:20px;background:none;border:0;color:var(--news-muted)}
.news-profile-head .news-symbol svg{width:17px;height:17px}
.news-profile-head h2{margin:0;font-size:14px;font-weight:550;line-height:1.35;color:var(--news-sub);overflow-wrap:anywhere}
.news-profile .news-manage{min-height:44px;padding:6px 8px;border:0;background:transparent;color:var(--news-sub);font-size:13px;font-weight:500}
@media(hover:hover) and (pointer:fine){
  .news-profile .news-manage:hover{color:var(--news-ink);background:#22272e}
}
.news-bot{background:#0e1013;color:var(--news-ink);margin:0;min-height:100dvh;display:grid;place-items:center;font:16px/1.55 system-ui,sans-serif;color-scheme:dark}
.news-bot main{box-sizing:border-box;width:min(420px,calc(100% - 32px));padding:24px}
.news-bot h1{font-size:25px;margin:12px 0}
.news-bot p{color:var(--news-sub)}
.news-bot .news-terms{margin-left:6px}
.legal-page:has([data-document=mailing][aria-current=page]) .legal-layout{display:block}
.legal-page:has([data-document=mailing][aria-current=page]) .legal-reader{margin-inline:auto}
.legal-body ul{list-style:disc;margin:0 0 18px;padding-left:23px}
.legal-body li{margin:0 0 6px}
.legal-body a{color:#a8cfff;text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px}
.legal-body a:focus-visible{outline:2px solid #9fd3ff;outline-offset:3px}
@media(hover:hover) and (pointer:fine){
  .news-close:hover{color:white;background:#2b3037}
  .news-terms:hover{text-decoration-color:currentColor}
  .news-channel:hover:not(:has(input:disabled)) .news-check,.news-register-hit:hover .news-check{border-color:#a3c9ff}
  .news-register-copy a:hover{color:var(--news-link);text-decoration-color:currentColor}
  .news-secondary:hover{color:#f2f4f7;text-decoration:underline;text-underline-offset:4px}
  .news-manage:hover{background:#2c323a}
  .news-primary:not(:disabled):hover{background:#3f81f0}
}
@media(prefers-reduced-motion:no-preference){
  .toast.news-saved-toast{transition:opacity 160ms var(--ease-out)}
  @starting-style{.toast.news-saved-toast{opacity:0}}
  .news-dialog[open]{animation:news-in 180ms cubic-bezier(.2,.75,.25,1)}
  .news-check,.news-button{transition:background-color 120ms,border-color 120ms}
  @keyframes news-in{from{opacity:0;transform:translateY(5px) scale(.985)}to{opacity:1;transform:none}}
}
@media(max-width:540px){
  .news-manage-suffix{display:none}
  .legal-tabs{flex-wrap:wrap;gap:0 16px}
  .news-sheet{padding:18px 20px 20px}
  .news-sheet h2{font-size:28px}
  .news-dialog .news-lead{margin:9px 0 18px}
  .news-channel{min-height:64px;gap:10px}
}
@media(max-width:374px){
  .news-dialog{width:calc(100% - 20px)}
  .news-sheet{padding:14px 15px 16px}
  .news-actions{gap:6px}
  .news-button{font-size:13px;padding-inline:5px}
}
@media(max-height:480px){.news-dialog{max-height:calc(100dvh - 16px)}.news-dialog .news-lead{margin-bottom:10px}.news-channel{min-height:54px}}
@media(forced-colors:active){input:checked+.news-check{background:Highlight;color:HighlightText}.news-check{border-color:ButtonText}}
