/* Центр уведомлений: панель у колокольчика и окно всей истории. */
.notification-top{position:relative;flex:none}
.notification-badge{position:absolute;top:-5px;right:-7px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#b93272;color:#fff;font-size:10px;line-height:18px;text-align:center;font-weight:700;box-shadow:0 0 0 2px #fff}
.notification-menu{position:absolute;top:calc(100% + 14px);right:-42px;z-index:20;display:flex;flex-direction:column;width:min(420px,calc(100vw - 24px));max-height:min(620px,calc(100vh - 100px));overflow:hidden;background:#fff;border:1px solid #e7dfee;border-radius:20px;box-shadow:0 24px 60px -18px #36234c55;animation:notice-menu-in 180ms cubic-bezier(.32,.72,0,1)}
.notification-menu[hidden]{display:none}
@keyframes notice-menu-in{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
.notice-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 12px}
.notice-menu-head strong{display:block;font-size:16px;letter-spacing:-.01em}
.notice-menu-head span{display:block;margin-top:3px;font-size:12px;color:#705a89}
.notice-read-all{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border:0;border-radius:999px;background:#f1ebf8;color:#52357e;font:inherit;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap}
.notice-read-all:hover{background:#e7dcf4}
.notice-filter{display:flex;gap:4px;margin:0 18px 8px;padding:4px;border-radius:999px;background:#f5f1fa;width:max-content}
.notice-filter button{min-height:30px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:#62576f;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.notice-filter button.active{background:#fff;color:#352354;box-shadow:0 2px 8px -4px #3420526b}
.notice-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 8px 8px}
.notice-day{position:sticky;top:0;z-index:1;margin:0;padding:10px 10px 6px;background:#fff;font-size:11px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:#958b9c}
.notice-item{position:relative;border-radius:14px;transition:background 160ms}
.notice-item+.notice-item{margin-top:2px}
.notice-item:hover{background:#f8f5fc}
.notice-item.unread{background:#f5f0fb}
.notice-item.unread:hover{background:#efe7f8}
.notice-link{display:flex;gap:12px;align-items:flex-start;padding:12px 12px 12px 10px;color:inherit;text-decoration:none;border-radius:14px}
.notice-link:focus-visible,.notice-action:focus-visible,.notice-filter button:focus-visible,.notice-chip:focus-visible,.notice-menu-all:focus-visible,.notice-read-all:focus-visible{outline:3px solid #9b75c5;outline-offset:2px}
.notice-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:#efe8fb;color:#52357e}
.notice-icon.section-tickets{background:#fbe7f6;color:#9b397f}
.notice-icon.section-intake{background:#e6effb;color:#3f6aa3}
.notice-icon.section-events{background:#fff0d9;color:#9b651e}
.notice-icon.section-news{background:#eff7d8;color:#547a1f}
.notice-copy{display:grid;gap:3px;flex:1;min-width:0}
.notice-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}
.notice-meta em{font-style:normal;font-size:11px;font-weight:650;color:#7a5aa6}
.notice-meta time{margin-left:auto;font-size:11px;color:#958b9c;white-space:nowrap}
.notice-copy strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.notice-copy small{font-size:12px;line-height:1.45;color:#6c6378;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.notice-dot{flex:none;width:8px;height:8px;margin-top:6px;border-radius:50%;background:#b93272}
.notice-actions{display:flex;gap:6px;padding:0 12px 12px 58px}
.notice-action{min-height:32px;padding:0 12px;border:1px solid #ddd0ec;border-radius:999px;background:#fff;color:#52357e;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.notice-action.primary{background:#52357e;border-color:#52357e;color:#fff}
.notice-action:hover{transform:translateY(-1px)}
.notice-action:disabled{opacity:.6;cursor:progress}
.notice-empty{display:grid;justify-items:center;gap:6px;padding:34px 20px;text-align:center;color:#716781}
.notice-empty svg{color:#8bbd4f}
.notice-empty strong{color:#26242a;font-size:14px}
.notice-empty span{font-size:12px;max-width:34ch;line-height:1.5}
.notice-menu-all{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:14px 18px;border:0;border-top:1px solid #f0ebf6;background:#fff;color:#56387f;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.notice-menu-all:hover{background:#faf7fd}

/* Окно всей истории */
.notice-dialog{width:min(720px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 48px));padding:0;border:0;border-radius:24px;background:#fff;color:inherit;box-shadow:0 40px 90px -30px #1f123a88;overflow:hidden}
.notice-dialog[open]{display:flex;flex-direction:column}
.notice-dialog::backdrop{background:#1d122f59;backdrop-filter:blur(3px)}
.notice-dialog-head{display:flex;align-items:center;gap:12px;padding:22px 22px 14px}
.notice-dialog-head>div{flex:1;min-width:0}
.notice-dialog-head h2{font-size:21px;letter-spacing:-.02em}
.notice-dialog-head p{margin-top:4px;font-size:13px;color:#6c6378}
.notice-dialog-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 22px 10px}
.notice-dialog-tools .notice-filter{margin:0}
.notice-chips{display:flex;gap:6px;flex-wrap:wrap}
.notice-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:1px solid #e4daf0;border-radius:999px;background:#fff;color:#4f4660;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.notice-chip span{color:#958b9c;font-variant-numeric:tabular-nums}
.notice-chip.active{background:#52357e;border-color:#52357e;color:#fff}
.notice-chip.active span{color:#e6dcf7}
.notice-dialog-list{padding:0 14px 16px}
.notice-dialog-list .notice-copy small{-webkit-line-clamp:3}

.notification-highlight{outline:2px solid #805caf;outline-offset:3px}
.login .account-form .login-remember{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;margin:0 0 18px;color:#584c67;font-size:12px;cursor:pointer}
.login-remember input{flex:none;width:16px;height:16px;margin:0;accent-color:#56387f}
@media(max-width:760px){
  .notification-menu{position:fixed;top:64px;left:10px;right:10px;width:auto;max-height:calc(100dvh - 80px)}
  .notice-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
  .notice-dialog-head{padding:16px}
  .notice-dialog-tools{padding:0 16px 10px}
  .notice-action,.notice-filter button,.notice-chip{min-height:40px}
}
@media(prefers-reduced-motion:reduce){.notification-menu{animation:none}.notice-action:hover{transform:none}}
