.notice-bell {position:relative;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:transparent;color:var(--ink);flex:none;box-sizing:border-box;}
.notice-bell:hover,.notice-bell:focus-visible,.notice-bell[aria-expanded=true] {background:var(--butter-pale);}
.notice-bell svg {width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.notice-count {position:absolute;right:-2px;top:-3px;min-width:18px;padding:1px 5px;border:2px solid var(--paper);border-radius:20px;background:var(--danger,#b42318);color:#fff;font-size:10px;font-weight:700;}
.notice-panel {position:fixed;z-index:80;right:max(16px,calc((100vw - 1200px)/2 + var(--gut)));width:420px;max-width:calc(100vw - 24px);background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 32px #0003;display:flex;flex-direction:column;max-height:calc(100dvh - 110px);}
.notice-heading {position:relative;display:flex;gap:8px;align-items:center;padding:18px 18px 8px;flex:none;}
.notice-heading h2 {font:750 1.7rem/1.15 var(--f-head);letter-spacing:-.04em;margin:0;flex:1;}
.notice-heading:has(.notice-settings) h2 {font-size:1.4rem;}
.notice-icon {display:grid;place-items:center;width:34px;height:34px;border:0;background:transparent;color:var(--ink-soft);border-radius:50%;padding:7px;flex:none;}
.notice-icon:hover {background:var(--line);color:var(--ink);}
.notice-icon svg,.notice-menu svg,.notice-type svg,.notice-empty svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.notice-icon[data-notice=menu] svg {stroke-width:3.5;}
.notice-close {width:30px;}
.notice-tabs {display:flex;align-items:center;gap:8px;padding:6px 18px 12px;flex:none;}
.notice-tabs button {border:0;border-radius:24px;background:transparent;padding:9px 14px;font-size:.93rem;font-weight:650;}
.notice-tabs button[aria-pressed=true] {background:var(--butter-pale);color:var(--ink);}
.notice-tabs button:hover {background:var(--line);}
.notice-tabs .notice-refresh {margin-left:auto;font-size:.75rem;font-weight:500;color:var(--ink-soft);padding:8px;}
.notice-scroll {overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;padding:0 8px 12px;min-height:0;}
.notice-group {display:flex;justify-content:space-between;align-items:center;padding:6px 10px 8px;}
.notice-group h3 {font-size:.94rem;font-weight:700;}
.notice-group a {font-size:.85rem;text-decoration:none;}
.notice-row {display:flex;align-items:center;gap:13px;padding:12px 10px;border-radius:10px;text-decoration:none;}
.notice-row:hover {background:var(--paper);}
.notice-photo {width:62px;height:62px;flex:none;position:relative;}
.notice-photo img,.notice-initial {width:100%;height:100%;border-radius:50%;object-fit:cover;background:var(--paper);border:1px solid var(--line);display:grid;place-items:center;}
.notice-initial {font:italic 2rem var(--f-serif);}
.notice-type {position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:26px;height:26px;border:2px solid var(--card);border-radius:50%;background:var(--ink);color:var(--card);}
.notice-type svg {width:15px;height:15px;stroke-width:2.3;}
.notice-copy {flex:1;min-width:0;display:grid;gap:4px;font-size:.93rem;line-height:1.42;color:var(--ink-soft);}
.notice-copy strong {font-weight:700;}
.notice-row.is-unread .notice-copy {color:var(--ink);}
.notice-question {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:600;}
.notice-copy time {font-size:.76rem;color:var(--ink-soft);}
.notice-row.is-unread time {color:var(--ink);font-weight:650;}
.notice-dot {width:10px;height:10px;flex:none;border-radius:50%;background:var(--ink);}
.notice-menu-anchor {position:relative;}
.notice-menu {position:absolute;right:-34px;top:44px;z-index:3;width:320px;max-width:calc(100vw - 48px);padding:8px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 22px #0004;}
.notice-menu:before {content:'';position:absolute;right:42px;top:-7px;width:12px;height:12px;background:var(--card);border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg);}
.notice-menu button,.notice-menu a {position:relative;display:flex;align-items:center;gap:14px;width:100%;padding:12px;border:0;border-radius:7px;background:transparent;color:var(--ink);text-decoration:none;text-align:left;font-size:.93rem;font-weight:600;}
.notice-menu button:hover,.notice-menu a:hover {background:var(--paper);}
.notice-empty {text-align:center;padding:42px 22px 48px;color:var(--ink-soft);}
.notice-empty>svg {width:34px;height:34px;margin-bottom:15px;}
.notice-empty h3 {font-size:1.1rem;color:var(--ink);margin-bottom:7px;}
.notice-empty p {font-size:.88rem;}
.notice-error {margin:8px 10px;padding:12px;border:1px solid var(--line);border-radius:8px;font-size:.85rem;}
.notice-settings {padding:12px 20px 20px;font-size:.87rem;}
.notice-setting {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0;border-bottom:1px solid var(--line);}
.notice-setting strong,.notice-setting small {display:block;}
.notice-setting small {color:var(--ink-soft);font-size:.79rem;margin-top:5px;}
.notice-setting input {appearance:none;flex:none;width:42px;height:24px;border-radius:20px;background:var(--line-strong);border:0;position:relative;cursor:pointer;}
.notice-setting input:before {content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--card);}
.notice-setting input:checked {background:var(--ink);}
.notice-setting input:checked:before {left:21px;}
.notice-fine {font-size:.75rem;color:var(--ink-soft);margin-top:18px;}
.notice-settings-status {font-size:.75rem;margin-top:10px;}
.notice-page {max-width:720px;margin:auto;background:var(--card);border:1px solid var(--line);border-radius:16px;}
.notice-page .notice-heading {padding:24px 24px 12px;}
.notice-page .notice-scroll {overflow:visible;}
.notice-page .notice-menu {right:0;}
.notice-page .notice-menu:before {right:10px;}
.notice-page .notice-row {padding:16px;}
@media(max-width:759px){.top__actions {display:flex!important;margin-left:auto;}.top__actions>:not(.notice-bell){display:none!important;}.notice-bell{width:40px;height:40px;margin-right:-6px;}.notice-panel{right:12px;max-height:calc(100dvh - 150px);}.notice-heading{padding:14px 12px 6px;}.notice-heading h2{font-size:1.5rem;}.notice-icon{width:40px;height:40px;}.notice-close{width:40px;}.notice-photo{width:54px;height:54px;}.notice-row{gap:11px;padding:11px 8px;}.notice-tabs{padding:4px 10px 10px;gap:6px;}.notice-tabs button{padding:9px 12px;}.notice-page .notice-heading{padding:18px 14px 8px;}.notice-page .notice-row{padding:12px 6px;}}
@media(max-height:520px){.notice-settings{font-size:.78rem;padding-top:6px;}.notice-setting{padding:10px 0;}.notice-fine{margin-top:10px;}.notice-panel:has(.notice-settings){max-height:none;}}
