/* GENERATED FILE - DO NOT EDIT.
   Source: shared/bulletin.css - run `npm run sync:shared` after editing. */

/* The Bulletin board, web and app (shared/bulletin.js) */
.bb { container: bb / inline-size; display: grid; gap: 16px; color: #22302a; }
.bb-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bb-chips::-webkit-scrollbar { display: none; }
.bb-chip { flex: none; min-height: 36px; padding: 0 14px; border: 1px solid #dcd3c0; border-radius: 999px; background: #fff; color: #22302a; font: inherit; font-size: 13.5px; cursor: pointer; }
.bb-chip.is-on { border-color: #1f3a2e; background: #1f3a2e; color: #fff; }
.bb-post { position: relative; box-sizing: border-box; padding: 16px 18px; border: 1px solid #e6dfd0; border-radius: 14px; background: #fff; }
.bb-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fbe9de; color: #a3461d; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.bb-new { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #c0502a; }
.bb-title { margin: 10px 0 0; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.3; color: inherit; overflow-wrap: anywhere; }
.bb-body { margin-top: 8px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.bb-body:empty { display: none; }
.bb-body p { margin: 0 0 8px; color: inherit; }
.bb-body p:last-child { margin-bottom: 0; }
.bb-body ul { margin: 0 0 8px; padding-left: 18px; }
.bb-body ul:last-child { margin-bottom: 0; }
.bb-body li { margin-bottom: 3px; }
.bb-meta { margin: 12px 0 0; color: #66736c; font-size: 12px; }
.bb-plat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bb-pl { padding: 3px 10px; border-radius: 999px; background: #e3f0e7; color: #1f6b45; font-size: 12px; font-weight: 600; }
.bb-pl.is-off { background: #f1ece1; color: #66736c; }
.bb-update { margin: 10px 0 0; color: #a3461d; font-size: 13px; font-weight: 600; }
.bb-board { margin: 14px 0 0; font-size: 13px; font-weight: 700; }
.bb-win { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bb-wf { flex: 1 1 88px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 10px; background: #faf6ec; font-size: 12.5px; text-align: center; color: #22302a; }
.bb-wf span { max-width: 100%; overflow-wrap: anywhere; }
.bb-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.bb-face.is-letter { display: grid; place-items: center; background: linear-gradient(135deg, #e6c98e, #c98a1e); color: #fff; font-weight: 700; font-size: 16px; }
.bb-more { justify-self: center; min-height: 44px; padding: 0 22px; border: 1px solid #dcd3c0; border-radius: 999px; background: #fff; color: #1f3a2e; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.bb-empty { margin: 0; padding: 32px 16px; display: grid; gap: 12px; justify-items: center; color: #66736c; font-size: 14px; text-align: center; }
.bb-empty p { margin: 0; }

/* A winners post: the reward's own banner, whole, then the words on white, like a profile */
.bb-post.is-win { padding: 0; overflow: hidden; border: 0; box-shadow: 0 10px 26px -14px rgba(20, 30, 24, .55); }
.bb-post.is-win .bb-new { position: absolute; top: 12px; right: 12px; background: #ff7a4a; }
.bb-w-top { position: relative; overflow: hidden; aspect-ratio: 700 / 170; background: #1f3d30; }
/* its own wrapper, not .kd-bn: that one is the still preview for Kudos lists, which stops every moving part */
.bb-w-bn { position: absolute; inset: 0; overflow: hidden; display: block; }
.bb-w-bn .pfb-slot { position: absolute; top: 0; left: 0; width: 700px; height: 170px; margin: 0; border-radius: 0; transform: scale(var(--kd-s, .6)); transform-origin: left top; pointer-events: none; }
.bb-w-bn .pfb-slot .pfh-band { height: 100%; }
.bb-w-bn .pfb-slot .pfh-band::after { display: none; } /* a profile's fade into the page: here the banner ends on a clean edge */
.bb-w-bn .pfb-slot :is(.pfh-board, [class*="pill"], .kb-plaque) { display: none; }
.bb-w-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 0 16px; }
.bb-w-face { position: relative; z-index: 2; margin-top: -40px; padding-bottom: 12px; }
.bb-w-face .kd-ring img, .bb-w-face .kd-ring .kd-letter { display: grid; width: 72px; height: 72px; font-size: 26px; }
.bb-w-copy { min-width: 0; display: grid; gap: 2px; justify-items: start; padding-top: 12px; }
.bb-post.is-win .bb-tag { padding: 2px 9px; font-size: 10px; }
.bb-post.is-ko .bb-tag { background: #f6e7c8; color: #7a5413; }
.bb-post.is-cr .bb-tag { background: #dcefe6; color: #1f6b45; }
.bb-post.is-st .bb-tag { background: #f8e0d4; color: #a3461d; }
.bb-w-ti { margin: 6px 0 0; font-family: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: #5c6a62; }
.bb-w-name { margin: 2px 0 0; color: #1f3a2e; font: 700 20px/1.2 "Playfair Display", Georgia, serif; overflow-wrap: anywhere; }
.bb-w-score { margin: 0; color: #66736c; font-size: 13px; }
.bb-w-rest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 16px 0; border-top: 1px solid #efe7d8; }
.bb-w-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 18px 0 8px; }
.bb-w-n { flex: none; width: 14px; color: #8a6a1f; font: 700 15px "Playfair Display", Georgia, serif; text-align: center; }
.bb-w-row .kd-face { flex: none; }
.bb-w-row .kd-ring img, .bb-w-row .kd-ring .kd-letter { display: grid; width: 32px; height: 32px; font-size: 13px; }
.bb-w-who { flex: 1; min-width: 0; display: grid; justify-items: start; }
.bb-w-who b { font-size: 13.5px; overflow-wrap: anywhere; }
.bb-w-who small { color: #66736c; font-size: 11.5px; }
.bb-w-foot { margin: 0; padding: 10px 16px 13px; }
@container bb (max-width: 330px) { .bb-w-rest { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* Phone first, wider screens added below: a browser with no container queries gets the phone layout, which always fits */
.bb-fixed { display: grid; gap: 18px; }
.bb-fixed[hidden] { display: none; }
.bb-fixed-part { display: grid; gap: 8px; min-width: 0; }
.bb-label { margin: 0; color: #5c6a62; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* the pinned post */
.bb-lead { position: relative; overflow: hidden; padding: 18px 18px 58px; border-radius: 18px; background: linear-gradient(115deg, #1f3d30, #2e6048 70%, #c98a1e 135%); color: #fff; }
.bb-lead + .bb-lead { margin-top: 8px; }
.bb-lead-tag { display: flex; align-items: center; gap: 8px; color: #f6d98a; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bb-lead-tag .bb-new { background: #ff9a6e; }
.bb-lead h3 { margin: 6px 0; color: #fff; font: 700 21px/1.2 "Playfair Display", Georgia, serif; text-wrap: balance; }
.bb-lead .bb-body { margin: 0; color: #e4ece7; font-size: 14.5px; }
/* no :has() here: Chrome 90 drops the whole rule (the pinned post's clamp too); a body with a list gets .has-list from bulletin.js */
.bb-lead:not(.is-open) .bb-body, .bb-item:not(.is-open) .bb-body:not(.has-list) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bb-lead:not(.is-open) .bb-body > * { display: inline; margin: 0; }
.bb-lead .bb-open { color: #f6d98a; }
.bb-mega { position: absolute; right: 10px; bottom: -4px; width: 146px; height: auto; overflow: visible; }
.bb-mega-w { fill: none; stroke: #ffe9a8; stroke-width: 7; stroke-linecap: round; animation: bb-call 1.5s ease-out infinite; }
.bb-mega-w.is-2 { animation-delay: .18s; }
.bb-mega-w.is-3 { animation-delay: .36s; }
@keyframes bb-call { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bb-mega-w { animation: none; } }

/* winners: one at a time on a phone, swipe for the next; a row of cards on a wide screen */
.bb-wins { display: flex; gap: 12px; padding: 2px 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bb-wins::-webkit-scrollbar { display: none; }
.bb-wins .bb-post { flex: 0 0 88%; box-sizing: border-box; scroll-snap-align: start; }
.bb-wins[data-n="1"] .bb-post { flex-basis: 100%; }

/* News and updates: one list */
.bb-feed { display: grid; gap: 12px; min-width: 0; max-width: 760px; }
.bb-feed-h { margin: 8px 0 0; color: #1f3a2e; font: 500 24px "Playfair Display", Georgia, serif; }
.bb-news { min-width: 0; border-radius: 16px; background: #fffdf8; color: #22302a; box-shadow: 0 10px 26px -18px rgba(20, 30, 24, .5); }
.bb-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; border-top: 1px solid #e4dac8; }
.bb-item:first-child { border-top: 0; }
.bb-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fbe9de; color: #a3461d; }
.bb-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bb-item.is-patch .bb-ico { background: #e3ecf6; color: #2b4a6b; }
.bb-item.is-maintenance .bb-ico { background: #f6e7c8; color: #7a5413; }
.bb-item.is-event .bb-ico { background: #ece5f6; color: #5b4a8a; }
.bb-item-copy { min-width: 0; }
.bb-item-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; color: #66736c; font-size: 12px; }
.bb-item-meta b { color: #a3461d; }
.bb-item.is-patch .bb-item-meta b { color: #2b4a6b; }
.bb-item.is-maintenance .bb-item-meta b { color: #7a5413; }
.bb-item.is-event .bb-item-meta b { color: #5b4a8a; }
.bb-item .bb-title { margin: 4px 0 0; }
.bb-item .bb-body { margin-top: 4px; color: #3d4a43; }
.bb-item:not(.is-open) .bb-body li:nth-child(n+4) { display: none; }
.bb-winners-line { margin: 4px 0 0; color: #3d4a43; font-size: 14px; }
.bb-open { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: none; color: #1f6b45; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }

@container bb (min-width: 761px) {
  .bb-lead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 24px; }
  .bb-lead h3 { font-size: 27px; }
  .bb-mega { position: static; align-self: end; width: 196px; margin-bottom: -14px; }
  .bb-wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; overflow: visible; }
  .bb-wins[data-n="1"] { grid-template-columns: minmax(0, 460px); }
  .bb-wins[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-wins:not([data-n="1"]) .bb-w-rest { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bb-wins:not([data-n="1"]) .bb-w-row { padding: 12px 0 2px; }
  .bb-wins:not([data-n="1"]) .bb-w-row + .bb-w-row { padding-top: 16px; }
}

/* Alerts | Bulletin tabs in the app */
.alerts-tabs { display: flex; gap: 6px; margin: 0 0 18px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.alerts-tab { position: relative; flex: 1 1 0; min-height: 40px; border: 0; border-radius: 999px; background: none; color: #f5f0e4; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.alerts-tab.is-on { background: #f5f0e4; color: #1f3a2e; opacity: 1; }
.alerts-tab-dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: #e0683c; vertical-align: 2px; }
.alerts-bulletin .bb-chip { border-color: rgba(255, 255, 255, .28); background: none; color: #f5f0e4; }
.alerts-bulletin .bb-chip.is-on { border-color: #f5f0e4; background: #f5f0e4; color: #1f3a2e; }
.alerts-bulletin .bb-empty, .alerts-bulletin .bb-feed-h { color: #f5f0e4; }
.alerts-bulletin .bb-feed-h { font: 700 18px "Playfair Display", Georgia, serif; }
.alerts-bulletin .bb-label { color: #d8dfd9; }
.alerts-bulletin .bb-more { border-color: transparent; }
.tab-ico .tab-dot { position: absolute; top: -1px; right: -3px; width: 8px; height: 8px; border: 2px solid #fffdf8; border-radius: 50%; background: #c0502a; }

/* the website's menu */
.auth-menu-dot { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: #c0502a; vertical-align: 1px; }
.auth-menu-trigger .auth-menu-dot { position: absolute; top: 0; right: 0; margin: 0; border: 2px solid #fff; box-sizing: content-box; }
/* the post an alert's "Read it" opened: a short gold ring so the eye finds it */
.bb-item.is-focus, .bb-lead.is-focus { box-shadow: 0 0 0 3px #e2b54a; transition: box-shadow 0.6s ease; }
@media (prefers-reduced-motion: reduce) { .bb-item.is-focus, .bb-lead.is-focus { transition: none; } }

/* a guest's Alerts (owner 2026-11-24): the Bulletin, with one quiet way in to trip alerts */
.alerts-guest-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; margin: 0 0 18px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fbf6ec; font: 600 14px/1.3 "DM Sans", system-ui, sans-serif; text-align: left; cursor: pointer; }
.alerts-guest-line span { font-size: 18px; opacity: .7; }
