.notification-center { position: fixed; top: 16px; right: 16px; z-index: 80; }
.notification-center.is-inline { position: relative; top: auto; right: auto; display: inline-flex; }
.notification-bell { width: 42px; height: 42px; border: 1px solid var(--border2); border-radius: 50%; color: var(--text); background: var(--bg3); position: relative; display: grid; place-items: center; cursor: pointer; }
.notification-bell:hover { border-color: var(--green); }
#notificationCount { position: absolute; top: -4px; right: -5px; padding: 2px 5px; border-radius: 12px; background: #dc3545; color: white; font-size: 11px; }
.notification-panel { position: fixed; z-index: 2500; width: min(360px, calc(100vw - 32px)); max-height: 65vh; overflow-y: auto; border: 1px solid var(--border2); border-radius: 14px; background: var(--bg2); box-shadow: 0 16px 40px #0008; padding: 16px; text-align: left; }
.notification-panel h2 { font-size: 18px; margin: 0 0 12px; }
.notification-panel p { color: var(--muted2); font-size: 13px; }
.notification-item { display: block; width: 100%; text-align: left; padding: 12px; margin-bottom: 6px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg3); color: var(--text); cursor: pointer; font: inherit; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.notification-item.is-unread { border-left: 3px solid var(--green); }
.notification-item time { display: block; color: var(--muted2); font-size: 11px; margin-top: 6px; }
.notification-suppress { display: flex; align-items: center; gap: 8px; margin: 18px 0; font-size: 13px; }
.notification-center [hidden] { display: none !important; }
#matchReminderMessage { white-space: pre-line; }
#matchReminderError { color: var(--red); }
.notification-bell:focus-visible, .notification-item:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.notification-item > span { display: block; white-space: pre-line; }
.notification-item:hover { background: var(--bg4); }
.notification-item:disabled { opacity: .65; cursor: progress; }
.match-reminder { width: min(620px, calc(100vw - 32px)); padding: 26px; border-radius: 22px; background: radial-gradient(ellipse at 0 0, var(--green-glow), transparent 55%), var(--bg2); }
.match-reminder__heading { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.match-reminder__heading h2 { margin: 0; font-size: clamp(20px, 4vw, 27px); letter-spacing: -.5px; }
.match-reminder__ball { font-size: 30px; filter: drop-shadow(0 0 12px #448aff80); }
.match-reminder__fixture { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 110px; padding: 20px 16px; border: 1px solid var(--border2); border-radius: 15px; background: radial-gradient(ellipse at left, var(--green-glow), transparent 60%), radial-gradient(ellipse at right, #448aff22, transparent 60%), var(--bg3); }
.match-reminder__team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.match-reminder__team--away { flex-direction: row-reverse; text-align: right; }
.match-reminder__team img { width: 58px; height: 58px; flex-shrink: 0; object-fit: contain; padding: 7px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--green); box-shadow: 0 0 20px var(--green-glow); }
.match-reminder__team--away img { border-color: var(--border2); box-shadow: none; }
.match-reminder__team strong { font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; }
.match-reminder__versus { color: var(--blue); font-size: 20px; font-weight: 900; font-style: italic; text-align: center; }
.match-reminder__details { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; margin: 14px 0; }
.match-reminder__details > div { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--border); font-size: 13px; overflow-wrap: anywhere; }
.match-reminder__details > div > :first-child { color: var(--blue); font-size: 25px; line-height: 1; }
.match-reminder__details > div:last-child > :first-child { color: var(--green); }
.match-reminder__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--border); }
.match-reminder__footer .notification-suppress { margin: 0; color: var(--muted2); line-height: 1.5; cursor: pointer; }
.notification-suppress input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--green); }
.match-reminder__footer button { min-width: 120px; min-height: 46px; border-radius: 10px; padding: 10px 20px; font-weight: 800; box-shadow: 0 6px 24px var(--green-glow); }
.match-reminder__footer button:disabled { opacity: .65; cursor: progress; }
#matchReminderError:not(:empty) { margin-top: 12px; }
@media (max-width: 520px) {
  .match-reminder { padding: 20px; }
  .match-reminder__team, .match-reminder__team--away { flex-direction: column; text-align: center; gap: 8px; }
  .match-reminder__team strong { font-size: 16px; }
  .match-reminder__details { grid-template-columns: 1fr; gap: 8px; }
  .match-reminder__footer { flex-direction: column; align-items: stretch; gap: 16px; }
}
