.follow-button, .follow-bell, .follow-close, .follow-read, .follow-choice { font:inherit; cursor:pointer; }
.follow-inbox [hidden], .follow-button[hidden], .follow-badge[hidden] { display:none; }
.follow-button { border:1px solid var(--green,#164a36); border-radius:999px; padding:0 1rem; min-height:40px; background:var(--green,#164a36); color:#fff; font-size:.82rem; font-weight:750; }
.follow-button[aria-pressed="true"] { background:#eaf3eb; border-color:#c2d5c6; color:#1e4833; }
.follow-button:hover { box-shadow:inset 0 0 0 2px #7f7f7f26; }
.follow-button:focus-visible, .follow-bell:focus-visible, .follow-choice:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.follow-bell { position:relative; display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; border:0; border-radius:50%; background:transparent; color:inherit; }
body > nav > .follow-bell { color:#fff; }
.follow-bell:hover { background:#7f7f7f2e; }
.follow-bell svg { width:21px; height:21px; }
.follow-badge { position:absolute; top:1px; right:1px; min-width:17px; padding:2px 3px; border-radius:999px; background:#f2d27c; color:#18382b; font-size:10px; font-weight:800; }
.follow-inbox { position:fixed; box-sizing:border-box; inset:70px 1rem auto auto; width:min(365px,calc(100% - 2rem)); max-height:min(46rem,calc(100dvh - 86px)); margin:0; padding:1rem; border:1px solid var(--border,#d6e3db); border-radius:15px; background:var(--surface,#fff); color:var(--text,#182b22); box-shadow:0 18px 65px #14291e40; overflow:auto; overscroll-behavior:contain; font-family:system-ui,sans-serif; }
.follow-inbox:is([open], :popover-open) { display:flex; flex-direction:column; gap:.4rem; }
.follow-inbox::backdrop { background:transparent; }
.follow-inbox-top, .follow-toolbar, .follow-identity { display:flex; align-items:center; justify-content:space-between; gap:.55rem; }
.follow-inbox h2 { flex:1; margin:0; font-size:1rem; }
.follow-close { width:44px; min-height:44px; border:0; border-radius:50%; background:transparent; color:inherit; font-size:1.6rem; }
.follow-close:hover { background:#788c7e18; }
.follow-identity { justify-content:flex-start; padding:.75rem; border:1px solid #cddfd0; border-radius:14px; background:#eef6ef; color:#19382a; }
.follow-identity-icon { display:grid; place-items:center; flex:0 0 40px; height:40px; border-radius:50%; background:#214d38; color:#fff; font-weight:750; font-size:.75rem; }
.follow-identity-text { flex:1; min-width:0; }
.follow-identity-name { display:block; font-size:.94rem; font-weight:800; color:#19382a; overflow-wrap:anywhere; }
.follow-summary, .follow-empty, .follow-device-status { color:var(--muted,#4d6257); font-size:.8rem; line-height:1.5; }
.follow-identity .follow-summary { margin:.12rem 0 0; color:#4d6257; font-size:.74rem; }
.follow-toolbar select, .follow-read { padding:.45rem .65rem; min-height:40px; border:1px solid var(--border,#d6e3db); border-radius:9px; background:var(--surface,#fff); color:inherit; font-size:.8rem; }
.follow-read:disabled, .follow-choice:disabled { opacity:.55; cursor:default; }
.follow-device { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem .65rem; }
.follow-device-status:empty { display:none; }
.follow-search { box-sizing:border-box; width:100%; min-height:44px; padding:.65rem .8rem; border:1px solid var(--border,#d6e3db); border-radius:10px; background:var(--surface,#fff); color:inherit; font:inherit; font-size:16px; }
.follow-choices { display:grid; gap:.3rem; max-height:36dvh; overflow:auto; padding-block:.3rem; }
.follow-choice { display:flex; gap:.65rem; align-items:center; justify-content:space-between; min-height:44px; border:1px solid var(--border,#d6e3db); border-radius:9px; padding:.45rem .65rem; background:transparent; color:inherit; font-size:.86rem; font-weight:700; text-align:left; }
.follow-choice:hover { background:#789c7e18; }
.follow-choice small { color:var(--muted,#4d6257); font-size:.7rem; }
.follow-stream { min-height:0; overflow:auto; overscroll-behavior:contain; }
.follow-update { border-top:1px solid var(--border,#d6e3db); padding:.5rem .15rem; }
.follow-update-meta { display:flex; align-items:center; gap:.5rem; color:var(--muted,#4d6257); font-size:.72rem; font-weight:750; letter-spacing:.03em; text-transform:uppercase; margin-bottom:.2rem; }
.follow-new { padding:.1rem .35rem; border-radius:999px; background:#e2efe7; color:#214d38; letter-spacing:normal; }
.follow-update-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; color:var(--green,#164a36); font-size:.86rem; font-weight:700; line-height:1.35; overflow-wrap:anywhere; }
@media(max-width:760px) {
  .follow-button, .follow-toolbar select, .follow-read { min-height:44px; }
  .follow-inbox { inset:max(62px,env(safe-area-inset-top)) .55rem auto auto; width:min(330px,calc(100% - 1.1rem)); max-height:calc(100dvh - 74px); padding:.55rem .8rem .7rem; }
  .follow-inbox-top { margin-top:.15rem; }
  .tool-actions:has(> .follow-button:not([hidden])) { grid-template-columns:max-content repeat(2,minmax(0,1fr)); }
  .tool-actions > .follow-button { align-self:center; min-width:64px; padding-inline:.6rem; font-size:.75rem; }
  .tool-actions > .follow-device-status { grid-column:1/-1; }
}
@media(max-width:480px) {
  .follow-nav > .nav-home {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    min-height:44px;
    color:#fff;
  }
  .follow-nav:has(> .nav-toggle) > .nav-creator-support-mobile { display:none; }
  .follow-nav:has(> .nav-toggle) .nav-r > a.nav-creator-support { display:flex; }
  .follow-nav > .nav-toggle { order:2; }
  .follow-nav > .follow-bell { margin-inline-start:auto; }
}
.follow-current-name { color:var(--muted,#4d6257); font-size:.78rem; margin:0 0 .3rem; }
.follow-text-button { border:0; border-radius:6px; background:transparent; color:var(--green,#164a36); padding:.25rem .4rem; min-height:40px; font:inherit; font-size:.74rem; font-weight:700; cursor:pointer; }
.follow-text-button:hover { background:#789c7e18; }
