/* Notification bell (bottom right of the hero strip) and its panel. */
/* The hero strip's container anchors the bell to its bottom-right corner (below the club logo). */
*:has(> .hero-strip-shell) { position: relative; }
.rr-bell { position: absolute; right: 8px; bottom: 6px; z-index: 6; }
.rr-bell-fallback { position: fixed; right: 18px; bottom: 18px; z-index: 3000; }
.rr-bell-fallback .rr-bell-btn { width: 38px; height: 38px; }
.rr-bell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(63, 90, 42, 0.25);
  background: rgba(255, 255, 255, 0.95);
  color: #27411d;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(31, 47, 63, 0.18);
}
.rr-bell-btn:hover { background: #fff; }
.rr-bell-btn.has-alert { animation: rr-bell-ring 1.2s ease-in-out 2; }
@keyframes rr-bell-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-12deg); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-5deg); }
}
.rr-bell-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #3b6ea5;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
}
.rr-bell-count[hidden] { display: none; }
.rr-bell-count[data-level="success"] { background: #2e7d32; }
.rr-bell-count[data-level="warning"] { background: #d98a00; }
.rr-bell-count[data-level="error"] { background: #c0392b; }
.rr-panel {
  position: absolute;
  z-index: 4000;
  width: min(400px, calc(100vw - 16px));
  max-height: 60vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #1f2f3f;
  border: 1px solid #d5dfe6;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(13, 27, 38, 0.28);
  overflow: hidden;
}
.rr-panel[hidden] { display: none; }
.rr-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e3eaef;
  background: #f5f8fa;
}
.rr-panel-clear { min-height: 28px; padding: 0 10px; border: 0; border-radius: 8px; background: #dbe6ee; color: #1e4763; font-weight: 700; cursor: pointer; }
.rr-panel-clear[hidden] { display: none; }
.rr-panel-list { overflow-y: auto; }
.rr-empty { padding: 16px; color: #667b8a; text-align: center; }
.rr-item { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #edf1f4; border-left: 4px solid #9db3c4; }
.rr-item:last-child { border-bottom: 0; }
.rr-item-success { border-left-color: #2e7d32; }
.rr-item-warning { border-left-color: #d98a00; background: #fffaf0; }
.rr-item-error { border-left-color: #c0392b; background: #fff4f2; }
.rr-item-body { flex: 1 1 auto; min-width: 0; }
.rr-item-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; }
.rr-item-time { margin-top: 2px; font-size: 0.78rem; color: #7b8d99; }
.rr-item-dismiss { flex: 0 0 auto; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #7b8d99; font-size: 18px; line-height: 1; cursor: pointer; }
.rr-item-dismiss:hover { background: #e6edf2; color: #1f2f3f; }
@media print { .rr-bell, .rr-panel { display: none !important; } }
