/* The shared message center: server-owned read state, quiet device-local reminders. */
.notice-control { position: relative; flex: 0 0 auto; }
.notice-control[hidden], .notice-control [hidden], [data-nav-unread][hidden] { display: none !important; }
.notice-bell { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; color: #171717; cursor: pointer; }
.notice-bell:hover, .notice-bell[aria-expanded="true"] { background: #fff8d0; border-color: #f2e6a9; }
.notice-bell svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notice-badge { position: absolute; top: -3px; right: -6px; min-width: 20px; height: 20px; padding: 0 4px; display: grid; place-items: center; border: 2px solid white; border-radius: 99px; background: #e44436; color: white; font-size: 11px; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.notice-panel { position: absolute; top: calc(100% + 14px); right: -12px; width: min(410px, calc(100vw - 24px)); border: 1px solid #e9e7e1; border-radius: 22px; background: white; color: #171717; box-shadow: 0 18px 65px #17171726; z-index: 70; text-align: left; overflow: hidden; }
.notice-panel > header { display: flex; justify-content: space-between; align-items: start; padding: 22px 22px 18px; background: linear-gradient(115deg, #fffdf1, white); border-bottom: 1px solid #eee; }
.notice-panel > header strong { display: block; font-size: 21px; letter-spacing: -.4px; }
.notice-panel > header [data-notice-summary] { display: block; margin-top: 5px; color: #777; font-size: 14px; }
.notice-close { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; color: #666; border: 0; border-radius: 50%; background: transparent; font-size: 25px; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.notice-close:hover { color: #111; background: #f2f1ed; }
.notice-panel-tools { padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #787878; }
.notice-text-button { padding: 5px 0; border: 0; background: transparent; color: #2053d5; font-size: 14px; font-weight: 650; cursor: pointer; }
.notice-panel-list { max-height: min(430px, calc(100dvh - 300px)); min-height: 80px; overflow-y: auto; overscroll-behavior: contain; padding: 0 10px 10px; }
.notice-row { display: flex; align-items: flex-start; gap: 14px; padding: 19px; border: 1px solid #eae8e2; border-radius: 14px; background: white; }
.notice-row.is-unread { background: #fffdf3; border-color: #f0e9c8; }
.notice-row-icon { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: #f3f3f0; color: #666; font-size: 20px; }
.notice-row.is-unread .notice-row-icon { color: #2852b8; background: #eef2ff; }
.notice-row-content { flex: 1; min-width: 0; }
.notice-row-content > a { display: block; color: inherit; text-decoration: none; }
.notice-row-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; color: #6f6f6f; }
.notice-read-state { color: #8b8b8b; font-size: 12px; flex: 0 0 auto; }
.is-unread .notice-read-state { color: #b43b30; }
.is-unread .notice-read-state::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #e44436; vertical-align: 2px; }
.notice-row strong { display: block; font-size: 16px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.notice-row-content > a:hover strong { color: #2053d5; }
.notice-row p { margin: 6px 0 0; font-size: 14px; line-height: 1.65; color: #6c6c6c; white-space: pre-wrap; overflow-wrap: anywhere; }
.notice-row-foot { margin-top: 11px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-size: 12px; color: #858585; }
.notice-row-foot button { border: 0; background: transparent; padding: 4px 0; color: #2053d5; font-size: 13px; cursor: pointer; }
.notice-row.is-compact { padding: 14px 12px; gap: 10px; margin-bottom: 6px; border: 0; }
.notice-row.is-compact p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.notice-row.is-compact strong { font-size: 15px; }
.notice-row.is-compact .notice-row-icon { flex-basis: 30px; height: 30px; border-radius: 10px; font-size: 17px; }
.notice-panel a.notice-panel-footer { display: flex; justify-content: space-between; padding: 17px 22px; border-top: 1px solid #eee; background: #fafaf7; color: #171717; font-size: 14px; font-weight: 650; text-decoration: none; }
.notice-panel-footer:hover { background: #fff8d0 !important; }
.notice-empty { padding: 32px 15px; color: #777; font-size: 14px; line-height: 1.7; text-align: center; }
.notice-empty > span { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 50%; background: #fff4bc; color: #776529; font-size: 21px; }
.notice-empty strong { display: block; color: #333; font-size: 16px; }.notice-empty p { margin: 6px 0; }
.notice-empty button { padding: 8px 14px; margin-top: 10px; border: 1px solid #ddd; border-radius: 8px; background: white; cursor: pointer; }
.notice-feedback { margin: 0; color: #625a3a; font-size: 13px; line-height: 1.6; }
.notice-feedback:not(:empty) { padding: 10px 16px; margin: 8px 0; border-radius: 8px; background: #fff8db; }
.notice-panel .notice-feedback:not(:empty) { margin: 0 16px 12px; }
.notice-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 20px 0; }
.notice-filters { padding: 4px; display: flex; gap: 3px; border-radius: 12px; background: #f4f3ef; }
.notice-filters button { min-width: 66px; padding: 8px 16px; border: 0; border-radius: 9px; color: #666; background: transparent; font-size: 14px; cursor: pointer; }
.notice-filters button[aria-pressed="true"] { color: #161616; background: #ffdf38; font-weight: 700; }
.notification-section { scroll-margin-top: 106px; }
.notification-section .notification-list { display: grid; gap: 10px; }
.notice-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 22px; color: #777; font-size: 13px; }
.notice-pagination button { padding: 9px 13px; border: 1px solid #e6e4df; border-radius: 9px; background: white; color: #333; font-size: 13px; cursor: pointer; }
.notice-control button:disabled, .notification-section button:disabled { opacity: .4; cursor: default; }
.notice-control :focus-visible, .notice-toast :focus-visible, .notification-section :focus-visible { outline: 3px solid #285ee7; outline-offset: 3px; }
.notice-toast { position: fixed; top: 98px; right: 28px; width: min(370px, calc(100vw - 28px)); padding: 21px 22px 15px; z-index: 55; background: white; border: 1px solid #e8e5da; border-top: 4px solid #ffdc25; border-radius: 16px; color: #191919; box-shadow: 0 12px 45px #1112; }
.notice-toast > .notice-close { position: absolute; top: 12px; right: 12px; }
.notice-toast-kicker { display: block; margin-bottom: 10px; font-size: 12px; color: #83702e; }
.notice-toast strong { display: block; padding-right: 12px; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.notice-toast p { margin: 7px 0 13px; color: #777; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-toast > a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 0; border-top: 1px solid #eee; color: #2053d5; font-size: 14px; font-weight: 650; text-decoration: none; }
@media (max-width: 760px) {
  .notice-bell { width: 34px; height: 34px; }.notice-bell svg { width: 21px; height: 21px; }
  .notice-badge { min-width: 18px; height: 18px; right: -5px; font-size: 10px; }
  .notice-panel { position: fixed; top: 96px; left: 12px; right: 12px; width: auto; }
  .notice-panel > header { padding: 18px; }.notice-panel-list { max-height: calc(100dvh - 300px); }
  .notice-toast { top: auto; bottom: 18px; right: 14px; }
  .notice-row { padding: 14px 12px; gap: 10px; }.notice-pagination { gap: 10px; flex-wrap: wrap; }
  .notice-row-icon { flex-basis: 30px; height: 30px; }.notice-row strong { font-size: 15px; }
}
