/* Notifications (count on the avatar, list at the top of the avatar menu) + Session Recap popup. shared/bell.js */
.tb-me-btn { position: relative; }
/* Unseen count: top-left of the avatar, half on it, half outside */
.tb-note-count { position: absolute; top: 4px; left: 4px; transform: translate(-50%, -50%); min-width: 15px; height: 15px; padding: 0 4px; box-sizing: border-box; border-radius: 999px; background: #d4af37; color: #1a1405; font: 700 9.5px/15px 'Inter', system-ui, sans-serif; text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px #030305; pointer-events: none; }
.tb-note-count[hidden] { display: none; }
.tb-menu.has-notes { width: min(360px, calc(100vw - 32px)); }
.tbb-sec { display: flex; flex-direction: column; }
.tbb-sec hr { border: 0; border-top: 1px solid #241f36; margin: 4px 0; }
.tbb-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px 8px; border-bottom: 1px solid #241f36; }
.tbb-head b { font: 700 13px 'Cinzel', Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: #d4af37; }
.tbb-all, .tbb-more, .tbb-reply { background: none; border: 0; color: #9d7cf3; font: 600 12.5px 'Inter', system-ui, sans-serif; cursor: pointer; padding: 4px 0; }
.tbb-all:hover, .tbb-more:hover, .tbb-reply:hover { color: #c8b6fa; }
.tbb-list { max-height: min(55vh, 440px); overflow-y: auto; }
.tbb-item { display: flex; gap: 10px; padding: 10px; border-bottom: 1px solid rgba(157, 124, 243, .08); }
.tbb-item.unseen { background: linear-gradient(90deg, rgba(212, 175, 55, .1), transparent 70%); box-shadow: inset 3px 0 0 #d4af37; }
.tbb-ic { width: 30px; height: 30px; flex: none; border-radius: 8px; background: #1b1728; display: grid; place-items: center; color: #e6c65a; font-size: 15px; }
.tbb-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tb-menu a.tbb-title, .tbb-title { color: #f5f5f7; font-weight: 600; font-size: 14px; text-decoration: none; padding: 0; }
a.tbb-title:hover { color: #e6c65a; }
.tbb-body { color: #b0b0c0; font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.tbb-when { color: #7d7a8f; font-size: 12px; }
.tb-menu a.tbb-from, .tbb-from { color: #9d7cf3; text-decoration: none; padding: 0; font-size: 12px; }
.tbb-reply { align-self: flex-start; }
.tbb-acts { display: flex; gap: 14px; }
.tbb-block { background: none; border: 0; color: #c97a7a; font: 600 12.5px 'Inter', system-ui, sans-serif; cursor: pointer; padding: 4px 0; }
.tbb-block:hover { color: #e8a0a0; }
.tbb-compose textarea { width: 100%; box-sizing: border-box; margin-top: 4px; background: #0b0912; border: 1px solid rgba(157, 124, 243, .35); border-radius: 8px; color: #f5f5f7; font: 13px 'Inter', system-ui, sans-serif; padding: 6px 8px; resize: vertical; }
.tbb-compose div { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.tbb-compose button { background: linear-gradient(#e6c65a, #b8922a); color: #1a1405; border: 0; border-radius: 6px; font: 700 12px 'Cinzel', Georgia, serif; padding: 5px 12px; cursor: pointer; }
.tbb-err { color: #ff8a8a; font-size: 12px; }
.tbb-sent { color: #e6c65a; font-size: 12.5px; }
.tbb-empty { margin: 0; padding: 22px 16px; color: #b0b0c0; font-size: 13.5px; text-align: center; }
.tbb-more { display: block; width: 100%; padding: 8px; text-align: center; }
/* Phones: a compact drop-down under the avatar, not a full-width sheet (2026-11-16) */
@media (max-width: 700px) {
  .tb-menu.has-notes { position: fixed; right: 8px; left: auto; width: min(300px, calc(100vw - 16px)); top: 54px; max-height: calc(100vh - 66px); overflow-y: auto; padding: 4px; }
  .tbb-head { padding: 4px 8px 6px; }
  .tbb-head b { font-size: 10.5px; }
  .tbb-all, .tbb-more, .tbb-reply, .tbb-block { font-size: 11px; padding: 2px 0; }
  .tbb-list { max-height: 42vh; }
  .tbb-item { gap: 8px; padding: 7px 8px; }
  .tbb-ic { width: 22px; height: 22px; border-radius: 6px; }
  .tbb-ic svg { width: 13px; height: 13px; }
  .tb-menu a.tbb-title, .tbb-title { font-size: 12.5px; }
  .tbb-body { font-size: 11.5px; -webkit-line-clamp: 2; }
  .tbb-when, .tb-menu a.tbb-from, .tbb-from { font-size: 10.5px; }
  .tbb-acts { gap: 12px; }
  .tbb-more { padding: 5px; }
  .tbb-empty { padding: 12px; font-size: 12px; }
  .tbb-sec hr { margin: 2px 0; }
  .tb-menu.has-notes > a { font-size: 12px; padding: 5px 8px; line-height: 1.3; }
  .tb-menu.has-notes { width: min(260px, calc(100vw - 16px)); }
  .tbb-head b { font-size: 9.5px; letter-spacing: .12em; }
  .tbb-item { padding: 6px 6px; gap: 7px; }
  .tbb-ic { width: 20px; height: 20px; }
  .tbb-ic svg { width: 12px; height: 12px; }
  .tb-menu a.tbb-title, .tbb-title { font-size: 11.5px; line-height: 1.3; }
  .tbb-body { font-size: 10.5px; -webkit-line-clamp: 1; }
  .tbb-when, .tb-menu a.tbb-from, .tbb-from { font-size: 9.5px; }
  .tbb-all, .tbb-more, .tbb-reply, .tbb-block { font-size: 10.5px; }
  .tbb-list { max-height: 36vh; }
}

/* Session Recap */
.recap-back { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: radial-gradient(ellipse at center, rgba(20, 14, 36, .7), rgba(3, 3, 5, .9)); backdrop-filter: blur(5px); animation: rc-fade .3s ease both; }
.recap-card { position: relative; overflow: hidden auto; width: min(680px, 100%); max-height: calc(100vh - 32px); box-sizing: border-box; padding: 26px 26px 22px; border-radius: 18px; background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, .16), transparent 55%), #0d0b14; border: 1px solid rgba(212, 175, 55, .45); box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 40px rgba(212, 175, 55, .18); color: #f5f5f7; font-family: 'Inter', system-ui, sans-serif; text-align: center; animation: rc-rise .45s cubic-bezier(.2, .9, .3, 1) both; }
.recap-rays { position: absolute; left: 50%; top: 0; width: 700px; height: 700px; margin: -350px; pointer-events: none; opacity: .18; background: repeating-conic-gradient(rgba(255, 220, 120, .5) 0 5deg, transparent 5deg 20deg); -webkit-mask: radial-gradient(circle, #000 0 20%, transparent 60%); mask: radial-gradient(circle, #000 0 20%, transparent 60%); animation: rc-spin 40s linear infinite; }
.recap-eyebrow { position: relative; font: 700 12px 'Cinzel', Georgia, serif; letter-spacing: .3em; text-transform: uppercase; color: #d4af37; }
.recap-card h2 { position: relative; margin: 6px 0 2px; font: 700 28px/1.15 'Cinzel', Georgia, serif; }
.recap-card h2 a { color: #fff4cc; text-decoration: none; text-shadow: 0 0 14px rgba(212, 175, 55, .45); }
.recap-card h2 a:hover { color: #e6c65a; }
.recap-when { position: relative; color: #b0b0c0; font-size: 13.5px; }
.recap-lead { position: relative; margin: 14px auto 16px; max-width: 520px; font-size: 16px; line-height: 1.5; color: #e7e3f3; }
.recap-lead b { color: #e6c65a; }
.recap-tiles { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.recap-tile { background: #15121f; border: 1px solid rgba(157, 124, 243, .2); border-radius: 12px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; animation: rc-tile .5s ease both; }
.recap-tile:nth-child(n) { animation-delay: calc(.04s * var(--n, 1)); }
.recap-tile b { font: 700 24px 'Cinzel', Georgia, serif; color: #fff4cc; }
.rt-i { display: grid; place-items: center; color: #e6c65a; }
.rt-i svg, .tbb-ic svg, .recap-badge i svg { display: block; }
.rt-l { font-size: 12px; color: #b0b0c0; }
.recap-tile small { font-size: 11px; color: #9d7cf3; }
.recap-sec { position: relative; margin-top: 16px; text-align: left; }
.recap-sec h3 { margin: 0 0 8px; font: 700 12px 'Cinzel', Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: #d4af37; }
.recap-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.recap-badge { display: flex; flex-direction: column; padding: 8px 12px 8px 40px; position: relative; background: linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(157, 124, 243, .08)); border: 1px solid rgba(212, 175, 55, .5); border-radius: 10px; font-weight: 700; font-size: 14px; }
.recap-badge i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-style: normal; color: #e6c65a; line-height: 0; }
.recap-badge small { font-weight: 400; font-size: 12px; color: #b0b0c0; }
.recap-arc { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(157, 124, 243, .1); font-size: 14px; color: #b0b0c0; }
.recap-arc b { color: #f5f5f7; }
.recap-arc em { color: #e6c65a; font-style: normal; font-weight: 700; }
.recap-table div { font-size: 14px; margin: 4px 0; color: #e7e3f3; }
.recap-table span { display: inline-block; min-width: 110px; color: #7d7a8f; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.recap-table a { color: #c8b6fa; text-decoration: none; font-weight: 600; }
.recap-table a:hover { color: #e6c65a; }
.recap-go { position: relative; overflow: hidden; margin-top: 20px; min-width: 240px; padding: 12px 22px; border-radius: 10px; border: 1px solid #f0d77a; background: linear-gradient(#e6c65a, #b8922a); color: #1a1405; font: 700 14px 'Cinzel', Georgia, serif; letter-spacing: .1em; cursor: pointer; box-shadow: 0 0 18px rgba(212, 175, 55, .35); }
.recap-go:disabled { cursor: default; background: #2a2236; color: #b0b0c0; border-color: rgba(212, 175, 55, .35); box-shadow: none; }
.recap-go:disabled .recap-fill { position: absolute; inset: 0; background: linear-gradient(#e6c65a, #b8922a); opacity: .35; transform-origin: left; animation: rc-fill 4s linear both; }
.recap-lbl { position: relative; }
@keyframes rc-fade { from { opacity: 0; } }
@keyframes rc-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes rc-spin { to { transform: rotate(360deg); } }
@keyframes rc-tile { from { opacity: 0; transform: translateY(8px); } }
@keyframes rc-fill { from { transform: scaleX(0); } }
.recap-card h2 { letter-spacing: .04em; text-transform: none; } /* member pages style every h2 as a spaced-out label; the recap title is a name */
@media (max-width: 700px) {
  .recap-back { padding: 10px; }
  .recap-card { padding: 16px 12px 14px; border-radius: 14px; max-height: calc(100vh - 20px); }
  .recap-eyebrow { font-size: 10px; letter-spacing: .24em; }
  .recap-card h2 { font-size: 18px; margin-top: 4px; }
  .recap-when { font-size: 12px; }
  .recap-lead { font-size: 13px; margin: 10px auto 12px; }
  .recap-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .recap-tile { padding: 7px 4px 6px; border-radius: 9px; gap: 1px; }
  .recap-tile b { font-size: 16px; }
  .rt-i svg { width: 15px; height: 15px; }
  .rt-l { font-size: 10px; line-height: 1.2; text-align: center; }
  .recap-tile small { font-size: 9.5px; text-align: center; }
  .recap-sec { margin-top: 12px; }
  .recap-sec h3 { font-size: 10px; }
  .recap-badge { font-size: 12.5px; padding: 6px 10px 6px 34px; }
  .recap-badge small { font-size: 11px; }
  .recap-arc { grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 12.5px; }
  .recap-table div { font-size: 12.5px; }
  .recap-table span { min-width: 90px; font-size: 10.5px; }
  .recap-go { width: 100%; min-width: 0; margin-top: 14px; padding: 10px 14px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .recap-back, .recap-card, .recap-rays, .recap-tile, .recap-go:disabled .recap-fill { animation: none; } }

/* Staff announcements: picture (link optional) + links (2026-11-17) */
.tbb-pic { display: block; margin: 4px 0 2px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(157, 124, 243, .25); }
.tbb-pic img { display: block; width: 100%; max-height: 180px; object-fit: cover; }
a.tbb-pic:hover { border-color: #d4af37; }
.tbb-links { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tb-menu .tbb-links a, .tbb-links a { color: #b39af6; font-size: 12.5px; text-decoration: underline; text-underline-offset: 2px; padding: 0; }
.tbb-links a:hover { color: #e6c65a; }
@media (max-width: 420px) { .tbb-pic img { max-height: 120px; } .tb-menu .tbb-links a, .tbb-links a { font-size: 11.5px; } }
