.deviceNotice,.noticeInbox { margin:12px 0 }
.noticePageHead { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:16px 0 8px }
.noticePageHead h1 { margin:0; font:600 clamp(24px,3vw,34px)/1.15 var(--sans); letter-spacing:-.03em }
.noticePageHead a {
  display:inline-flex; min-height:44px; align-items:center; gap:5px; padding:4px 8px;
  color:var(--pale); font-size:13px; border-radius:var(--radius-control)
}
.noticePageHead a:hover { background:var(--soft) }
.noticePageHead svg { width:16px; height:16px }
.deviceNotice > h2 {
  display:flex; align-items:center; gap:8px; margin:0;
  font:600 17px/1.3 var(--sans)
}
.deviceNotice > h2 svg { width:17px; height:17px; color:var(--pale) }
.deviceNotice > p,.noticeEmpty { margin:6px 0 0; color:var(--muted); font-size:14px }
.deviceNotice .actions { margin-top:8px }
.noticeInbox {
  padding:10px 12px; background:var(--sidebar); border:1px solid var(--chrome-line); border-radius:var(--radius-panel)
}
.noticeInboxHead { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:2px 8px; min-height:44px }
.noticeInbox h2,.noticeScopeHeading { margin:0; font:600 17px/1.3 var(--sans) }
.noticeScopeHeading { margin-top:16px }
.noticeInboxHead button { background:none; border:0; padding:4px 6px; color:var(--pale); font-size:13px }
.noticeInboxHead button:hover { background:var(--soft) }
.noticeInbox ul { list-style:none; margin:0; padding:0 }
.noticeInbox li + li { border-top:1px solid var(--line) }
.noticeInbox li a {
  display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:9px;
  min-height:55px; padding:6px 4px; border-radius:var(--radius-control)
}
.noticeInbox li a:hover { background:var(--panel) }
.noticeInbox li a[data-unread=false] b { font-weight:400 }
.noticeInbox li a b { overflow-wrap:anywhere; line-height:1.3 }
.noticeInbox li a small { display:block; color:var(--muted); font-size:12px }
.noticeSymbol {
  display:grid; place-items:center; width:34px; height:34px; color:var(--pale);
  background:var(--tint); border-radius:var(--radius-control)
}
.noticeSymbol svg { height:16px; width:16px }
.noticeUnread { width:7px; height:7px; border-radius:50%; background:var(--accent); margin:0 6px }
@media (max-width:860px) {
  #toast {
    inset-inline:0; width:100%; transform:none; border-width:1px 0 0; border-radius:0;
    bottom:calc(54px + max(5px,env(safe-area-inset-bottom)));
    padding:9px max(14px,env(safe-area-inset-right)) 9px max(14px,env(safe-area-inset-left));
    font-size:14px; text-align:start; overflow-wrap:anywhere
  }
  body[data-design=camp] #toast { bottom:calc(58px + max(6px,env(safe-area-inset-bottom))) }
}
