/* Supa.Ng discovery and community pages. Mobile first. */
.su-page{color:#152644;padding-bottom:84px}.su-panel{background:#fff;border:1px solid #e5eaf4;border-radius:22px;box-shadow:0 12px 38px rgba(5,20,50,.08)}
.su-page h1,.su-page h2,.su-page h3{letter-spacing:-.035em}.su-muted{color:#64748b}.su-soft{background:#f3f8ff}
.su-hero{background:linear-gradient(115deg,#08254e,#283b86 60%,#5c2fc1);color:#fff;border-radius:27px;padding:clamp(24px,5vw,62px);overflow:hidden;position:relative}
.su-hero:after{content:"";position:absolute;right:-60px;top:-50px;width:280px;height:280px;border:1px solid #ffffff2a;border-radius:50%;box-shadow:0 0 0 45px #ffffff0b,0 0 0 90px #ffffff06;pointer-events:none}
.su-hero>*{position:relative;z-index:1}.su-hero h1{font-size:clamp(2rem,5vw,3.9rem);font-weight:850;max-width:640px}.su-hero p{color:#d7e7ff;max-width:610px}
.su-chips{display:flex;gap:9px;overflow-x:auto;padding:3px 1px 10px;scrollbar-width:thin}.su-chip{display:inline-flex;white-space:nowrap;align-items:center;gap:7px;padding:9px 16px;border-radius:999px;background:#fff;border:1px solid #dce5f2;color:#17365f;font-weight:650;font-size:.88rem}.su-chip:hover,.su-chip.active{background:#123d8d;color:#fff;border-color:#123d8d}
.su-event{display:flex;flex-direction:column;background:#fff;color:#1b2b44;overflow:hidden;border-radius:20px;box-shadow:0 10px 26px #0a1b4016;border:1px solid #e1e8f3;height:100%}.su-event:hover{box-shadow:0 18px 42px #0a1b4025;transform:translateY(-2px);transition:all .2s}
.su-event-cover{aspect-ratio:16/10;object-fit:cover;width:100%;display:block;background:linear-gradient(145deg,#174b8b,#5b41b6)}
.su-event-img{position:relative}.su-event-badge{position:absolute;bottom:10px;left:12px;padding:5px 10px;border-radius:50px;font-size:.76rem;font-weight:800;color:#0d3462;background:#fff}
.su-event-body{padding:15px;flex:1}.su-event-title{font-size:1.12rem;font-weight:850;line-height:1.35;color:#122a4b;margin:3px 0 10px}.su-meta{font-size:.86rem;color:#64748b;display:flex;gap:7px;align-items:center;margin-top:5px}.su-event-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 15px;border-top:1px solid #edf1f6}.su-price{font-weight:850;color:#0b6795}
.su-fav{border:1px solid #e0e6ed;background:#fff;border-radius:12px;padding:8px 11px;color:#324c74}.su-fav.saved{background:#fff0f2;color:#e04262}
.su-filter{display:grid;grid-template-columns:1fr;gap:10px;padding:16px}.su-filter .form-control,.su-filter .form-select{border-radius:12px;min-height:45px;border-color:#d9e4f0}
.su-host-avatar{width:90px;height:90px;object-fit:cover;border-radius:20px;background:linear-gradient(135deg,#00acbf,#3654be);display:grid;place-items:center;color:#fff;font-size:2.3rem;font-weight:800}
.su-stat{border:1px solid #e3eaf4;border-radius:15px;padding:15px;text-align:center;background:#f8faff}.su-stat strong{display:block;font-size:1.4rem;color:#16356c}
.su-event-tools{display:flex;gap:8px;flex-wrap:wrap}.su-float-actions{position:fixed;bottom:90px;right:15px;z-index:1035;display:flex;flex-direction:column;gap:9px}
.su-float-actions a,.su-float-actions button{border:0;border-radius:50px;background:#153b8a;color:#fff;box-shadow:0 5px 22px #09214855;padding:11px 15px;font-weight:750;font-size:.84rem;min-width:115px;text-align:center}.su-float-actions a:nth-child(2){background:#0c7781}.su-float-actions button{background:#6b35aa}
.su-chat-shell{max-width:790px;margin:auto}.su-chat-stream{height:min(57vh,540px);overflow:auto;padding:15px;display:flex;flex-direction:column;gap:10px;background:#f2f6fd}
.su-msg{align-self:flex-start;max-width:min(90%,530px);background:#fff;border:1px solid #e1e8f2;padding:11px 13px;border-radius:17px 17px 17px 5px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.93rem;color:#182942}.su-msg.mine{align-self:flex-end;background:#e0fff9;border-color:#aeece2;border-radius:17px 17px 5px 17px}.su-msg small{display:block;color:#576c81;font-size:.72rem;margin-bottom:5px}
.su-sticky-book{position:fixed;bottom:0;left:0;right:0;z-index:1030;background:#fff;border-top:1px solid #dce4ef;padding:10px 14px;box-shadow:0 -5px 25px #0a1b4022}.su-sticky-book a{min-height:46px;display:flex;align-items:center;justify-content:center}
@media(min-width:768px){.su-filter{grid-template-columns:2fr 1fr 1fr 1fr auto}.su-float-actions{bottom:25px;right:24px}.su-sticky-book{max-width:270px;left:auto;right:25px;bottom:20px;border-radius:18px;border:1px solid #dce4ef}}
@media print{.su-float-actions,.su-sticky-book{display:none!important}}

/* Stage 3: preserve strong contrast on light pages; the previous global theme
   used !important on all h1-h6, overriding white text on dark hero sections. */
html body.supa-event-theme .su-page .su-page-title,
html body.supa-event-theme .su-page .su-page-title.fw-bold,
html body.supa-event-theme .su-page .su-page-title:is(h1,h2,h3,h4,h5,h6){color:#102647!important}
html body.supa-event-theme .su-page .su-page-subtitle{color:#596d88!important}
html body.supa-event-theme .su-page .su-hero,
html body.supa-event-theme .su-page .su-hero h1,
html body.supa-event-theme .su-page .su-hero h2,
html body.supa-event-theme .su-page .su-hero h3,
html body.supa-event-theme .su-page .su-hero h4,
html body.supa-event-theme .su-page .su-hero h5,
html body.supa-event-theme .su-page .su-hero h6{color:#ffffff!important}
html body.supa-event-theme .su-page .su-hero p{color:#d7e7ff!important}
/* Chat: WhatsApp-style grouped messages and unobtrusive individual timestamps. */
.su-chat-day{align-self:center;position:sticky;top:5px;z-index:2;margin:12px 0 4px;padding:5px 14px;border-radius:999px;background:#e0eafa;color:#3d5779;font-weight:750;font-size:.76rem;box-shadow:0 2px 8px #142a4d12;text-align:center}
.su-msg-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:4px}
.su-msg-sender{font-size:.76rem;font-weight:800;color:#25537e;min-width:0;overflow-wrap:anywhere}
.su-msg.mine .su-msg-sender{color:#176859}
.su-msg .su-msg-time{color:#68798b!important;font-size:.68rem;white-space:nowrap;flex-shrink:0;margin:0}
.su-msg-text{display:block;line-height:1.45}
.su-msg-moderate{display:block;margin-top:5px;font-size:.73rem}
@media(max-width:575px){.su-chat-stream{padding:12px 8px}.su-msg{max-width:92%}}

/* =============================================================
   Stage 8 — SUPA mobile event messenger (scoped to the chat app).
   No global colours or other page components are overridden.
   ============================================================= */
.su-chat-shell {max-width:930px;margin-inline:auto;padding-bottom:0;color:#18304a}
.su-chat-app {display:flex;flex-direction:column;height:clamp(520px,calc(100dvh - 176px),900px);background:#eef4f9;border:1px solid #dce5f0;border-radius:24px;overflow:hidden;box-shadow:0 22px 80px rgba(0,18,50,.24);isolation:isolate}
.su-chat-app-header{display:flex;align-items:center;gap:12px;padding:12px 16px;background:linear-gradient(112deg,#082a56 0%,#114a78 70%,#256c9a 100%);color:#fff;flex-shrink:0;min-height:76px}
.su-chat-app-header h1{font-size:1.05rem;font-weight:800;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;line-height:1.3;letter-spacing:0}
.su-chat-back,.su-chat-event-action{display:grid;place-items:center;flex-shrink:0;color:#fff!important;border:1px solid #ffffff35;background:#ffffff18;text-decoration:none;border-radius:12px;width:38px;height:42px;font-size:1.65rem;line-height:1}
.su-chat-event-action{font-size:1.25rem}
.su-chat-back:hover,.su-chat-event-action:hover{background:#ffffff30}
.su-chat-event-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#23c9cf,#507fef);font-size:1.45rem;flex-shrink:0;border:2px solid #ffffff60}
.su-chat-event-meta{min-width:0;flex:1}
.su-chat-live-status{font-size:.75rem;color:#d2e9ff;display:flex;align-items:center;gap:7px;margin-top:3px;white-space:nowrap}
.su-chat-live-dot{width:8px;height:8px;display:inline-block;background:#3cf4b1;border-radius:50%;box-shadow:0 0 0 3px #3cf4b123;animation:suChatPulse 2.3s ease-in-out infinite}
@keyframes suChatPulse{50%{box-shadow:0 0 0 7px #3cf4b10e}}
.su-chat-banner{display:flex;align-items:center;gap:5px;background:#e6f3f2;color:#446979;padding:8px 17px;font-size:.73rem;line-height:1.2;border-bottom:1px solid #d3e5e5;flex-shrink:0}
.su-chat-identity{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.su-chat-host-pill,.su-chat-role{font-size:.64rem;font-weight:800;color:#075e55;background:#baf5d9;padding:2px 7px;border-radius:999px;letter-spacing:.02em}
.su-chat-body{flex:1;min-height:0;position:relative;background:radial-gradient(circle at 12% 20%,#e1eceb 0%,transparent 27%),radial-gradient(circle at 92% 80%,#e4e6f2 0%,transparent 32%),#eff3f7}
.su-chat-app .su-chat-stream{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:4px;padding:52px 14px 20px;scrollbar-width:thin;scrollbar-color:#b1c8d2 transparent;background:transparent;scroll-behavior:auto;overflow-x:hidden}
.su-chat-older{position:absolute;top:8px;left:50%;transform:translateX(-50%);z-index:4;padding:6px 15px;border-radius:999px;border:1px solid #c9dce4;background:#fff;color:#245e76;font-size:.76rem;box-shadow:0 3px 14px #0f315022;white-space:nowrap;font-weight:700}
.su-chat-older:hover{background:#e8f5fb}
.su-chat-older[hidden],.su-chat-new[hidden],.su-chat-typing[hidden],.su-chat-reply-bar[hidden],.su-chat-emoji-panel[hidden]{display:none!important}
.su-chat-app .su-chat-day{align-self:center;position:sticky;top:4px;z-index:2;margin:16px auto 11px;padding:5px 13px;border:1px solid #dbe6e9;background:#ffffffea;box-shadow:0 3px 12px #17405312;color:#496e80;font-size:.72rem;line-height:1.4;border-radius:9px}
.su-chat-row{display:flex;align-self:flex-start;align-items:flex-end;gap:7px;width:100%;padding-bottom:3px}
.su-chat-row.mine{align-self:flex-end;flex-direction:row-reverse}
.su-chat-user-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:0 0 30px;color:white;font-weight:800;font-size:.8rem;box-shadow:0 2px 5px #1232}
.su-chat-row.continued:not(.mine) .su-chat-user-avatar{visibility:hidden}
.su-chat-bubble{position:relative;min-width:105px;max-width:min(80%,570px);padding:9px 14px 7px 11px;background:#fff;color:#183048;border-radius:15px 15px 15px 5px;box-shadow:0 2px 8px #23415c15;border:1px solid #dfebf0;overflow-wrap:anywhere}
.su-chat-row.mine .su-chat-bubble{margin-left:auto;background:#d8f7e9;border-color:#bdebd2;border-radius:15px 15px 5px 15px}
.su-chat-row.continued .su-chat-bubble{margin-top:0}
.su-chat-bubble-head{display:flex;align-items:center;gap:7px;padding-right:28px;margin-bottom:3px;line-height:1.2}
.su-chat-sender{font-size:.76rem;font-weight:800;color:#286e9c;overflow-wrap:anywhere}
.su-chat-row.mine .su-chat-sender{color:#176554}
.su-chat-role{font-size:.58rem;padding:2px 5px}
.su-chat-bubble-text{font-size:.91rem;line-height:1.48;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;padding-right:10px}
.su-chat-quote{display:flex;flex-direction:column;gap:1px;border-left:3px solid #10a99f;background:#ffffff83;border-radius:5px;padding:7px 10px;margin:2px 27px 7px 0;max-height:75px;overflow:hidden;color:#466271;font-size:.73rem;line-height:1.3}
.su-chat-quote strong{color:#0a817a;font-size:.7rem}
.su-chat-quote span{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:pre-line}
.su-chat-bubble-bottom{display:flex;justify-content:flex-end;align-items:center;gap:5px;min-height:14px;margin-top:2px}
.su-chat-message-time{font-size:.64rem;color:#6c8290;white-space:nowrap}
.su-chat-tick{font-weight:800;font-size:.75rem;color:#079e97}
.su-chat-pending{opacity:.7}
.su-chat-menu{position:absolute;top:4px;right:5px;z-index:3}
.su-chat-menu-toggle{border:0;background:transparent;color:#657d88;border-radius:7px;min-width:28px;min-height:28px;font-size:1.2rem;line-height:1;letter-spacing:.05em;opacity:.72}
.su-chat-menu-toggle:hover,.su-chat-menu.open .su-chat-menu-toggle{background:#f1f7f7;opacity:1}
.su-chat-message-actions{display:none;position:absolute;z-index:8;top:27px;right:0;flex-direction:column;gap:0;width:126px;overflow:hidden;background:#fff;box-shadow:0 10px 30px #16385336;border:1px solid #e0e8ee;border-radius:12px;padding:5px}
.su-chat-menu.open .su-chat-message-actions{display:flex}
.su-chat-message-actions button{border:0;color:#204763;background:transparent;text-align:left;font-weight:650;padding:9px 10px;font-size:.76rem;border-radius:6px;white-space:nowrap}
.su-chat-message-actions button:hover{background:#eaf6f9}
.su-chat-message-actions button.su-chat-danger{color:#c3384a}
.su-chat-reaction-row{display:flex;flex-wrap:wrap;gap:5px;margin:5px 22px 0 0}
.su-chat-reaction-chip{border:1px solid #dce8ec;background:#ffffffcf;border-radius:999px;font-size:.73rem;padding:3px 8px;line-height:1.3;box-shadow:0 1px 3px #1b345011}
.su-chat-reaction-chip.selected{background:#d9f5f0;border-color:#0fb0a0}
.su-chat-reaction-picker{display:flex;position:absolute;z-index:5;bottom:calc(100% - 3px);left:0;padding:6px;background:white;border:1px solid #deecee;border-radius:30px;box-shadow:0 10px 28px #16385340;gap:3px;max-width:calc(100vw - 60px)}
.su-chat-row.mine .su-chat-reaction-picker{left:auto;right:0}
.su-chat-reaction-picker button{border:none;border-radius:100%;background:transparent;font-size:1.27rem;width:35px;height:37px;flex:0 0 35px}
.su-chat-reaction-picker button:hover{background:#e9f5f8;transform:scale(1.12)}
.su-chat-new{position:absolute;z-index:5;bottom:43px;right:13px;color:#0c6f69;background:#fff;border:1px solid #a8ddcf;border-radius:999px;box-shadow:0 6px 17px #16385330;padding:9px 15px;font-weight:800;font-size:.79rem}
.su-chat-typing{position:absolute;bottom:0;left:0;right:0;min-height:33px;padding:6px 16px;font-size:.75rem;font-weight:650;color:#326e7e;background:#eff9f7f5;z-index:2}
.su-chat-typing-dots{margin-left:5px;color:#0c9889;letter-spacing:2px;animation:suChatPulse 1.5s ease-in-out infinite}
.su-chat-empty,.su-chat-loading{margin:auto;text-align:center;color:#6b8799;background:#ffffffba;padding:16px 20px;border-radius:15px;max-width:290px;font-size:.9rem}
.su-chat-compose{padding:9px 13px 7px;background:#fff;border-top:1px solid #dbe8ed;flex-shrink:0;position:relative;z-index:8}
.su-chat-compose-row{display:flex;align-items:flex-end;gap:9px}
.su-chat-icon-btn{width:43px;height:43px;border:0;border-radius:50%;flex:0 0 43px;background:#edf6f9;color:#237b87;font-size:1.85rem;line-height:1}
.su-chat-field{flex:1;min-width:0;display:flex;align-items:center;border-radius:22px;background:#f2f6f9;border:1px solid #dce7ef;margin:0;overflow:hidden}
.su-chat-field:focus-within{border-color:#25acaa;box-shadow:0 0 0 3px #1bafa315}
.su-chat-field textarea{border:0!important;outline:none!important;box-shadow:none!important;resize:none;width:100%;max-height:130px;min-height:42px;line-height:1.48;padding:10px 14px;display:block;background:transparent;font-size:16px;color:#193c53;overflow-y:auto;letter-spacing:0}
.su-chat-field textarea::placeholder{color:#7c98a5}
.su-chat-send{width:44px;height:44px;flex:0 0 44px;border:0;border-radius:50%;background:linear-gradient(135deg,#087e8e,#0ba983);color:white;font-size:1.27rem;box-shadow:0 4px 12px #087e8e40;display:grid;place-items:center;padding:0}
.su-chat-send:disabled{background:#adcbd2;box-shadow:none;color:#fff;opacity:.8}
.su-chat-compose-foot{min-height:17px;display:flex;justify-content:space-between;gap:10px;color:#6d8697;font-size:.71rem;padding:2px 7px 0}
.su-chat-compose-foot #suChatNotice.is-error{color:#c02d45}
.su-chat-compose-foot #suChatCounter.near-limit{color:#c03b4a}
.su-chat-reply-bar{display:flex;align-items:center;gap:11px;margin-bottom:8px;border-radius:11px;background:#f0f9f9;border:1px solid #cce8e4;padding:8px 10px}
.su-chat-reply-mark{height:30px;width:4px;flex-shrink:0;border-radius:3px;background:#0aa49a}
.su-chat-reply-content{min-width:0;display:flex;flex-direction:column;flex:1;color:#546d7d;font-size:.74rem;line-height:1.3}
.su-chat-reply-content strong{color:#0b8c87}
.su-chat-reply-content span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.su-chat-reply-close{width:33px;height:33px;border:0;background:transparent;color:#607f87;font-size:1.35rem}
.su-chat-emoji-panel{display:flex;flex-wrap:wrap;gap:2px;justify-content:center;padding:7px 2px 11px;border-top:1px solid #ebf2f5;margin-bottom:5px}
.su-chat-emoji{font-size:1.4rem;background:transparent;border:0;border-radius:8px;width:42px;height:42px}
.su-chat-emoji:hover{background:#e5f5ef}
.su-chat-access{max-width:510px;margin:35px auto 70px;padding:26px clamp(20px,5vw,36px);border-radius:24px;background:white;border:1px solid #d9e5ee;box-shadow:0 25px 70px #0d2a4840}
.su-chat-access-icon{display:grid;place-items:center;width:70px;height:70px;margin:14px 0;border-radius:22px;background:linear-gradient(120deg,#094b80,#06a991);font-size:2rem}
.su-chat-access h1{font-size:1.55rem;font-weight:900;color:#0b3054!important}
.su-chat-access .form-control{min-height:49px;border-radius:12px;border-color:#d3e1ea}
.su-chat-access .btn{min-height:48px}
.su-chat-return{font-size:.85rem;font-weight:700;color:#0d7190}
.su-chat-access-foot{padding-top:14px;text-align:center;color:#5c7b83;font-size:.77rem}
.su-chat-app button:focus-visible,.su-chat-app a:focus-visible{outline:3px solid #ffc857;outline-offset:2px}
@media(min-width:768px){.su-chat-app{border-radius:24px}.su-chat-app .su-chat-stream{padding:52px 24px 22px}.su-chat-compose{padding:14px 20px 12px}.su-chat-menu-toggle{opacity:.5}.su-chat-row:hover .su-chat-menu-toggle,.su-chat-menu-toggle:focus-visible{opacity:1}}
@media(max-width:575px){
  .su-chat-shell{margin:-10px -14px 0;max-width:none;padding:0}
  .su-chat-app{border:0;border-radius:0;box-shadow:none;height:calc(100dvh - 167px);min-height:340px}
  .su-chat-app-header{padding:9px 10px;gap:9px;min-height:66px}
  .su-chat-app-header h1{font-size:.98rem}
  .su-chat-event-avatar{width:40px;height:40px;font-size:1.18rem}
  .su-chat-app .su-chat-stream{padding:44px 9px 15px}
  .su-chat-bubble{max-width:84%;font-size:.88rem}
  .su-chat-user-avatar{height:26px;width:26px;flex-basis:26px;font-size:.7rem}
  .su-chat-compose{padding:8px 9px 5px;padding-bottom:max(5px,env(safe-area-inset-bottom,0px))}
  .su-chat-compose-row{gap:7px}
  .su-chat-field textarea{font-size:16px}
  .su-chat-bubble-text{font-size:.875rem}
  .su-chat-banner{padding:7px 10px;font-size:.7rem}
  .su-chat-access{margin:10px 14px 90px}
}
@media(prefers-reduced-motion:reduce){.su-chat-live-dot,.su-chat-typing-dots{animation:none}}
/* A poster entry point stays visible above each event conversation. */
.su-chat-poster-link{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;padding:10px 16px;background:#fff;border-bottom:1px solid #dce5ef;color:#254461}
.su-chat-poster-link strong{display:block;font-size:.8rem;font-weight:800}
.su-chat-poster-link span{display:block;font-size:.72rem;color:#61768c;line-height:1.35}
.su-chat-poster-link a{flex:none;border:1px solid #b9d1e8;border-radius:10px;padding:8px 10px;color:#174e81;font-size:.78rem;font-weight:800;text-decoration:none;background:#f1f7fd}
@media(max-width:575px){.su-chat-poster-link{padding:9px 10px;gap:8px}.su-chat-poster-link span{max-width:200px}}
