/* Compact, keyboard-accessible chapter announcements in both Kadence headers. */
#masthead .noir-notifications-header-item { margin-left: 8px; margin-right: 0; flex-shrink: 0; }
.noir-notifications { position: relative; color: #f3efe7; }
#masthead .noir-notifications-toggle {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; border: 1px solid #575044;
	border-radius: 50%; background: #181a20; color: #d5bb8c; cursor: pointer; list-style: none;
}
.noir-notifications-toggle::-webkit-details-marker { display: none; }
.noir-notifications-toggle::marker { content: ''; }
#masthead .noir-notifications-toggle:hover, #masthead .noir-notifications[open] > summary { background: #29251f; border-color: #d5bb8c; }
#masthead .noir-notifications-toggle:focus-visible, .noir-notifications-panel a:focus-visible { outline: 2px solid #d5bb8c; outline-offset: 3px; }
.noir-notifications-count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 20px; background: #d5bb8c; color: #111216; font: 700 11px/20px system-ui, sans-serif; text-align: center; }
.noir-notifications-count[hidden] { display: none; }
.noir-notifications-panel {
	position: absolute; z-index: 120; top: calc(100% + 12px); right: 0;
	width: 370px; max-width: calc(100vw - 32px); border: 1px solid #575044;
	border-radius: 12px; background: #111216; color: #f3efe7;
	box-shadow: 0 16px 45px #0009; overflow: hidden; text-align: left;
}
.noir-notifications-heading { padding: 18px 20px 14px; border-bottom: 1px solid #38352f; }
.noir-notifications-heading h2 { margin: 0 0 5px; color: #f3efe7; font: 600 21px/1.3 system-ui, sans-serif; }
.noir-notifications-heading p { margin: 0; color: #bcb5a9; font: 12px/1.5 system-ui, sans-serif; }
.noir-notifications-list { margin: 0; padding: 0; list-style: none; max-height: min(440px, calc(100dvh - 180px)); overflow-y: auto; overscroll-behavior: contain; }
.noir-notifications-list li + li { border-top: 1px solid #302e2a; }
#masthead .noir-notifications-list a { display: grid; gap: 5px; padding: 16px 20px; color: #f3efe7; text-decoration: none; overflow-wrap: anywhere; }
#masthead .noir-notifications-list a:hover, #masthead .noir-notifications-list a:focus-visible { background: #24221f; }
.noir-news-work { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #d5bb8c; font: 650 14px/1.4 system-ui, sans-serif; }
.noir-news-premium { padding: 2px 6px; border: 1px solid #74654d; border-radius: 4px; font-size: 10px; }
.noir-news-message { font: 550 14px/1.5 system-ui, sans-serif; }
.noir-news-title { color: #d9d4c9; font: 13px/1.5 system-ui, sans-serif; }
.noir-notifications-list time { color: #bcb5a9; font: 11px/1.5 system-ui, sans-serif; }
.noir-notifications-list .is-unseen a { border-left: 3px solid #d5bb8c; padding-left: 17px !important; }
.noir-notifications-empty { margin: 0; padding: 24px 20px; font-size: 14px; }
@media (max-width: 374px) {
	#mobile-header .site-branding img { max-width: 180px; }
	#mobile-header .noir-notifications-header-item { margin-left: 4px; }
}
/* Anchor the mobile panel to the header row so the menu button cannot push it offscreen. */
#mobile-header .site-main-header-inner-wrap { position: relative; }
#mobile-header .noir-notifications { position: static; }
.noir-notifications-panel { box-sizing: border-box; }

.noir-notifications-list li[hidden], .noir-notifications-list[hidden], .noir-notifications-empty[hidden] { display: none; }
