/* JAKSKY_CHAT_CLEAN_V22
 * Only Global Chat. A quiet, dense conversation timeline; no simulated chat data.
 * Preserve existing avatars, live message stream, reply/moderation actions and roles.
 */
:root{--jks22-surface:#fff;--jks22-page:#f8f7f5;--jks22-ink:#292724;--jks22-muted:#807a75;--jks22-divider:#eae6e1;--jks22-accent:#725749}
body #jksChatOverlay2268{background:var(--jks22-page)!important}
body #jksChatOverlay2268 .jks226-page.jks226-page{
 bottom:calc(67px + env(safe-area-inset-bottom))!important;
 box-shadow:none!important;
}
body .jks226-page.jks226-page{
 --jks2281-text:var(--jks22-ink);--jks2281-card:transparent;--jks2281-border:transparent;
 color:var(--jks22-ink)!important;background:var(--jks22-page)!important;
 font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;
 box-shadow:none!important;
}
/* Simple header: title, back action and true online count. */
body .jks226-page.jks226-page .jks226-phead{
 min-height:63px!important;flex:0 0 auto!important;padding:10px 15px!important;
 background:var(--jks22-surface)!important;color:var(--jks22-ink)!important;
 border:0!important;border-bottom:1px solid var(--jks22-divider)!important;
 box-shadow:none!important;gap:10px!important;
}
.jks226-page .jks22-heading{display:flex;align-items:center;gap:11px;min-width:0}
body .jks226-page.jks226-page .jks226-phead a.jks22-back{
 color:#554f4a!important;background:#f5f3f0!important;
 border:1px solid var(--jks22-divider)!important;border-radius:9px!important;
 display:grid!important;place-items:center!important;flex:0 0 35px!important;
 height:35px!important;width:35px!important;line-height:1!important;
 font:500 21px/1 system-ui,sans-serif!important;text-decoration:none!important;
 letter-spacing:0!important;box-shadow:none!important;
}
.jks226-page .jks22-heading-copy{display:flex;flex-direction:column;min-width:0;gap:1px}
.jks226-page .jks22-title{font-size:16px;font-weight:750;letter-spacing:-.35px;line-height:1.25;color:var(--jks22-ink)}
body .jks226-page.jks226-page .jks226-phead small{
 display:block!important;font-size:11px!important;line-height:1.3!important;
 color:var(--jks22-muted)!important;font-weight:440!important;white-space:nowrap!important;
}
body .jks226-page.jks226-page .jks226-pill{
 flex-shrink:0!important;margin:0!important;border:0!important;
 border-radius:0!important;background:transparent!important;box-shadow:none!important;
 padding:4px 0!important;gap:6px!important;font-size:11px!important;
 color:#6d6a66!important;font-weight:550!important;white-space:nowrap!important;
}
.jks226-page .jks226-pill [aria-hidden=true]{font-size:9px!important;color:#6d9e86!important}
/* A quiet room guideline, not a large promotional card. */
body .jks226-page.jks226-page .jks226-rule{
 display:block!important;margin:0!important;padding:9px 16px!important;min-height:0!important;
 border:0!important;border-bottom:1px solid #eeeae5!important;border-radius:0!important;
 color:#7e776f!important;background:#f6f5f2!important;
 font-size:11px!important;line-height:1.4!important;letter-spacing:0!important;
 box-shadow:none!important;
}
.jks226-page .jks226-rule strong{font-weight:650;color:#534941}
/* Topic suggestions still exist in JS, but are hidden instead of taking up chat space. */
body .jks226-page.jks226-page .jks2274-join{display:none!important}
/* Messages read like a natural timeline, not a stack of oversized cards. */
body .jks226-page.jks226-page .jks226-messages{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 flex:1 1 auto!important;gap:0!important;min-height:0!important;
 padding:8px 0 16px!important;background:var(--jks22-page)!important;
 scroll-behavior:auto!important;scrollbar-color:#d3ccc4 transparent!important;
 overscroll-behavior:contain!important;
}
body .jks226-page.jks226-page .jks226-msg{
 display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;
 align-items:start!important;column-gap:10px!important;width:100%!important;min-width:0!important;
 flex:none!important;margin:0!important;padding:9px 17px 10px!important;
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
body .jks226-page.jks226-page .jks226-avatar,
body .jks226-page.jks226-page .jks226-msg[data-jks2275-role] .jks226-avatar{
 display:grid!important;place-items:center!important;width:34px!important;height:34px!important;
 flex:none!important;min-width:34px!important;border-radius:50%!important;
 border:0!important;box-shadow:none!important;background:#927b6a!important;
 color:#fff!important;font-size:13px!important;font-weight:700!important;
}
body .jks226-page.jks226-page .jks226-bubble,
body .jks226-page.jks226-page .jks226-msg[data-jks2275-role] .jks226-bubble,
body .jks226-page.jks226-page .jks226-msg[data-jks2275-role="owner"] .jks226-bubble,
body .jks226-page.jks226-page .jks226-msg[data-jks2275-role="admin"] .jks226-bubble,
body .jks226-page.jks226-page .jks226-msg[data-jks2275-role="moderator"] .jks226-bubble,
body .jks226-page.jks226-page .jks226-msg[data-jks2275-role="event"] .jks226-bubble{
 display:block!important;position:relative!important;
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
 width:100%!important;min-height:0!important;flex:auto!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 background:none!important;color:var(--jks22-ink)!important;
 box-shadow:none!important;filter:none!important;backdrop-filter:none!important;
 overflow:visible!important;transform:none!important;
}
body .jks226-page.jks226-page .jks226-msg[data-jks2275-role] .jks226-bubble::before,
body .jks226-page.jks226-page .jks226-bubble::before,
body .jks226-page.jks226-page .jks226-bubble::after{display:none!important;content:none!important}
body .jks226-page.jks226-page .jks226-user{
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;
 column-gap:6px!important;row-gap:3px!important;
 min-width:0!important;margin:0 0 3px!important;padding:0!important;
 color:#38322e!important;font-size:12px!important;font-weight:700!important;line-height:1.32!important;
}
body .jks226-page.jks226-page .jks226-user .jks2273-name{
 font-size:12.5px!important;font-weight:760!important;color:#38322e!important;
 letter-spacing:-.12px!important;line-height:1.3!important;
}
body .jks226-page.jks226-page .jks226-time{
 margin-left:0!important;color:#928b84!important;
 font:450 10px/1.2 system-ui,sans-serif!important;font-variant-numeric:tabular-nums!important;
}
body .jks226-page.jks226-page .jks226-message{
 margin:0!important;padding:0!important;background:none!important;
 color:#393531!important;font-size:14px!important;line-height:1.5!important;
 letter-spacing:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;
}
/* Authenticated role/verification data remains, just simpler. */
body .jks226-page.jks226-page .jks226-user .jks2273-role,
body .jks226-page.jks226-page .jks226-user .jks2275-title,
body .jks226-page.jks226-page .jks226-user .jks226-badge{
 display:inline-block!important;max-width:120px!important;min-height:0!important;
 border:1px solid #e8ddd2!important;border-radius:4px!important;
 background:#f0e8e0!important;color:#775e50!important;
 padding:1px 4px!important;box-shadow:none!important;
 font-size:9px!important;line-height:1.3!important;font-weight:650!important;
 letter-spacing:0!important;text-transform:none!important;
}
body .jks226-page.jks226-page .jks226-user .jks2273-role-owner{color:#8c6339!important}
body .jks226-page.jks226-page .jks226-user .jks2273-role-admin{color:#536f97!important;background:#edf1f7!important}
body .jks226-page.jks226-page .jks226-user .jks2273-role-moderator{color:#775a91!important;background:#f2eef6!important}
body .jks226-page.jks226-page .jks226-user .jks2273-role-event{color:#447a5a!important;background:#ecf4ee!important}
body .jks226-page.jks226-page .jks2275-kicker{display:none!important}
body .jks226-page.jks226-page .jks2275-new .jks226-bubble{animation:none!important}
/* Keep real reply/moderation tools accessible without separator bars. */
body .jks226-page.jks226-page .jks2274-actions{
 display:flex!important;align-items:center!important;min-height:20px!important;
 gap:8px!important;padding:1px 0 0!important;margin:3px 0 0!important;
 background:none!important;border:0!important;box-shadow:none!important;
}
body .jks226-page.jks226-page .jks2274-reply,
body .jks226-page.jks226-page .jks2274-more{
 min-height:28px!important;height:28px!important;min-width:26px!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
 color:#8b8077!important;font-size:10.5px!important;line-height:1.3!important;
 font-weight:500!important;padding:3px 3px!important;border-radius:4px!important;
}
body .jks226-page.jks226-page .jks2274-reply:hover,
body .jks226-page.jks226-page .jks2274-more:hover{background:#ebe6df!important;color:#503d31!important}
body .jks226-page.jks226-page .jks2274-options{margin-left:2px!important}
body .jks226-page.jks226-page .jks2274-pop{
 background:#fff!important;color:#3f3832!important;
 border:1px solid #e4ddd5!important;border-radius:8px!important;
 box-shadow:0 4px 14px rgba(42,31,23,.12)!important;
}
body .jks226-page.jks226-page .jks2274-latest{
 position:absolute!important;z-index:3!important;bottom:78px!important;right:16px!important;
 background:#fff!important;border:1px solid #ded7ce!important;color:#55483d!important;
 border-radius:10px!important;padding:8px 12px!important;font-size:11px!important;
 box-shadow:0 3px 12px rgba(35,28,24,.08)!important;
}
body .jks226-page.jks226-page .jks2274-latest[hidden]{display:none!important}
/* A slim compose row, above the native navbar. */
body .jks226-page.jks226-page .jks226-pcomposer{
 display:flex!important;align-items:center!important;gap:8px!important;
 flex:0 0 auto!important;min-height:64px!important;padding:10px 13px!important;
 background:#fff!important;border:0!important;border-top:1px solid var(--jks22-divider)!important;
 box-shadow:none!important;
}
body .jks226-page.jks226-page .jks226-pcomposer input{
 flex:1 1 auto!important;min-width:0!important;height:42px!important;min-height:42px!important;
 border:1px solid #e7e3de!important;border-radius:10px!important;
 padding:10px 12px!important;background:#f8f7f5!important;color:#38312c!important;
 box-shadow:none!important;outline:0!important;font:450 13px/1.4 system-ui,sans-serif!important;
}
body .jks226-page.jks226-page .jks226-pcomposer input::placeholder{color:#a19b94!important}
body .jks226-page.jks226-page .jks226-pcomposer input:focus{border-color:#987b69!important;outline:2px solid #e8dbd0!important;outline-offset:0!important}
body .jks226-page.jks226-page .jks226-pcomposer button{
 display:grid!important;place-items:center!important;flex:0 0 65px!important;
 min-width:65px!important;width:65px!important;height:42px!important;min-height:42px!important;
 border:0!important;border-radius:10px!important;background:#665043!important;color:#fff!important;
 padding:0!important;font:650 12px/1 system-ui,sans-serif!important;
 box-shadow:none!important;
}
body .jks226-page.jks226-page .jks226-pcomposer button:disabled{opacity:.46!important}
body .jks226-page.jks226-page .jks226-psub{
 position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;
 margin:0!important;padding:0!important;border:0!important;
 overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;
}
body .jks226-page.jks226-page .jks226-pempty{
 margin:auto 22px!important;max-width:none!important;color:#817970!important;
 font-size:13px!important;line-height:1.5!important;text-align:center!important;
}
/* Brief real verified/staff arrival notices have understated styling. */
body .jks226-page.jks226-page .jks2276-entry{
 display:block!important;align-self:center!important;margin:9px 16px!important;
 max-width:calc(100% - 32px)!important;padding:6px 9px!important;
 border:0!important;border-radius:4px!important;background:#eeeae6!important;
 color:#776b62!important;font-size:11px!important;text-align:center!important;
 box-shadow:none!important;animation:none!important;
}
body .jks226-page .jks2276-entry-icon{display:none!important}
body #jks2279Layer{width:min(calc(100% - 24px),440px)!important;margin:6px auto!important}
body #jks2279Layer .jks2279-card,
body #jks2279Layer .jks2279-card[data-color="red"]{
 min-height:0!important;max-height:none!important;padding:10px 13px!important;
 border:0!important;border-left:2px solid #998677!important;border-radius:3px!important;
 background:#f1eeea!important;color:#393531!important;box-shadow:none!important;
 transform:none!important;filter:none!important;
}
body #jks2279Layer .jks2279-card[data-color="red"]{border-left-color:#c57980!important;background:#f7eeee!important}
body #jks2279Layer .jks2279-card::before,body #jks2279Layer .jks2279-card::after{display:none!important;content:none!important;animation:none!important}
body #jks2279Layer .jks2279-body::before{display:none!important;content:none!important}
body #jks2279Layer .jks2279-name{font-size:12px!important;color:#3a3531!important;font-weight:750!important;letter-spacing:0!important}
body #jks2279Layer .jks2279-desc{margin:2px 0 0!important;font-size:11px!important;color:#84796e!important}
/* Standalone fallback (the production experience normally opens native Chat overlay). */
body .jks226-page.jks226-page .jks226-pnav{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 flex:0 0 auto!important;min-height:66px!important;padding:4px 7px max(4px,env(safe-area-inset-bottom))!important;
 border-top:1px solid var(--jks22-divider)!important;background:#fff!important;gap:0!important;
}
body .jks226-page.jks226-page .jks226-pnav a{
 border-radius:0!important;background:transparent!important;color:#8e847b!important;
 font-size:10px!important;font-weight:500!important;padding:3px 2px!important;
}
body .jks226-page.jks226-page .jks226-pnav a[aria-current=page]{background:transparent!important;color:#5b4439!important;font-weight:700!important}
body .jks226-page.jks226-page .jks226-pnav b{font-size:20px!important;line-height:1!important}
body .jks226-page.jks226-page button:focus-visible,
body .jks226-page.jks226-page a:focus-visible,
body .jks226-page.jks226-page summary:focus-visible{
 outline:2px solid #967964!important;outline-offset:2px!important;
}
@media(max-width:360px){
 body .jks226-page.jks226-page .jks226-phead{padding:8px 11px!important}
 body .jks226-page.jks226-page .jks226-pill{font-size:10px!important}
 body .jks226-page.jks226-page .jks226-msg{padding:9px 11px!important;column-gap:9px!important}
 body .jks226-page.jks226-page .jks226-pcomposer{padding:9px 10px!important}
 body .jks226-page.jks226-page .jks226-message{font-size:13.5px!important}
}
@media(prefers-reduced-motion:reduce){
 body .jks226-page.jks226-page .jks226-msg,
 body .jks226-page.jks226-page .jks226-bubble{animation:none!important;transition:none!important}
}
@media(min-width:821px){
 body #jksChatOverlay2268 .jks226-page.jks226-page{
   inset:0!important;width:min(100%,820px)!important;max-width:820px!important;
   margin-inline:auto!important;border-left:1px solid var(--jks22-divider)!important;
   border-right:1px solid var(--jks22-divider)!important;
 }
}

/* Home Engagement v21: remove the promotional-card styling, keep real messages. */
html body #jks21ChatPulse[hidden]{display:none!important}
html body #jks21ChatPulse{
  display:block!important;box-sizing:border-box!important;
  width:min(1200px,calc(100% - 30px))!important;
  margin:12px auto 5px!important;padding:7px 0!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-top:1px solid #e6e1db!important;
  border-bottom:1px solid #e6e1db!important;border-radius:0!important;
  box-shadow:none!important;backdrop-filter:none!important;
  color:#3d3935!important;
}
html body #jks21ChatPulse .jks21-pulse-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:10px!important;margin:0 0 1px!important;padding:0!important;
  background:none!important;border:0!important;
}
html body #jks21ChatPulse .jks21-pulse-label{
  font:700 12px/1.4 system-ui,sans-serif!important;letter-spacing:0!important;
  text-transform:none!important;color:#423a34!important;
}
html body #jks21ChatPulse .jks21-pulse-open{
  font:600 11px/1.4 system-ui,sans-serif!important;
  min-height:26px!important;padding:3px 0!important;
  color:#735342!important;-webkit-text-fill-color:#735342!important;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
html body #jks21ChatPulse .jks21-pulse-lines{
  display:flex!important;flex-direction:column!important;gap:0!important;
}
html body #jks21ChatPulse .jks21-pulse-line{
  display:flex!important;align-items:center!important;min-width:0!important;
  gap:8px!important;min-height:24px!important;margin:0!important;
  padding:3px 0!important;border:0!important;border-radius:0!important;
  background:none!important;box-shadow:none!important;color:#4b4540!important;
}
html body #jks21ChatPulse .jks21-pulse-user{
  flex:0 0 auto!important;max-width:27%!important;
  font:650 11px/1.45 system-ui,sans-serif!important;color:#52463e!important;
}
html body #jks21ChatPulse .jks21-pulse-msg{
  flex:1!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important;
  text-overflow:ellipsis!important;font:450 11px/1.45 system-ui,sans-serif!important;
  color:#776d65!important;
}
/* Link-style action, not another full-width button/card segment. */
html body #list > .card .body > button.jks21-discuss{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:4px!important;width:auto!important;min-width:0!important;min-height:27px!important;
  max-width:100%!important;margin:4px 0 0!important;padding:3px 3px 3px 0!important;
  border:0!important;border-radius:2px!important;background:transparent!important;
  box-shadow:none!important;font:600 11px/1.3 system-ui,sans-serif!important;
  color:#735a4b!important;-webkit-text-fill-color:#735a4b!important;text-align:left!important;
}
html body #list > .card .body > button.jks21-discuss:hover{
  background:transparent!important;text-decoration:underline!important;
}
html body #list > .card .body > button.jks21-discuss .jks21-discuss-icon{
  font-size:12px!important;font-weight:500!important;
}
/* Chat: flat control styles; avoid the decorative nested panels in legacy CSS. */
html body .jks226-page.jks226-page .jks226-user .jks2273-role,
html body .jks226-page.jks226-page .jks226-user .jks2275-title,
html body .jks226-page.jks226-page .jks226-user .jks226-badge{
  border-radius:3px!important;box-shadow:none!important;
}
html body .jks226-page.jks226-page .jks226-pcomposer button{
  border-radius:8px!important;background:#51463e!important;
}
html body .jks226-page.jks226-page .jks226-pcomposer input{border-radius:8px!important}
/* Theme-aware Home preview, but keep Chat readable with the same neutral palette. */
html[data-theme="dark"] body #jks21ChatPulse,
html[data-jak-theme="dark"] body #jks21ChatPulse,
html body.dark-mode #jks21ChatPulse{
  background:transparent!important;border-color:#6d6259!important;color:#ece6de!important;
}
html[data-theme="dark"] body #jks21ChatPulse .jks21-pulse-label,
html[data-jak-theme="dark"] body #jks21ChatPulse .jks21-pulse-label,
html body.dark-mode #jks21ChatPulse .jks21-pulse-label,
html[data-theme="dark"] body #jks21ChatPulse .jks21-pulse-user,
html[data-jak-theme="dark"] body #jks21ChatPulse .jks21-pulse-user,
html body.dark-mode #jks21ChatPulse .jks21-pulse-user{color:#f0e8de!important}
html[data-theme="dark"] body #jks21ChatPulse .jks21-pulse-msg,
html[data-jak-theme="dark"] body #jks21ChatPulse .jks21-pulse-msg,
html body.dark-mode #jks21ChatPulse .jks21-pulse-msg{color:#d1c7be!important}
html[data-theme="dark"] body #jks21ChatPulse .jks21-pulse-open,
html[data-jak-theme="dark"] body #jks21ChatPulse .jks21-pulse-open,
html body.dark-mode #jks21ChatPulse .jks21-pulse-open{color:#e9c9b1!important;-webkit-text-fill-color:#e9c9b1!important}
html[data-theme="dark"] body #list > .card .body > button.jks21-discuss,
html[data-jak-theme="dark"] body #list > .card .body > button.jks21-discuss,
html body.dark-mode #list > .card .body > button.jks21-discuss{
  color:#e7c5ac!important;-webkit-text-fill-color:#e7c5ac!important;
  border:0!important;background:transparent!important;
}
@media(max-width:355px){html body #jks21ChatPulse{width:calc(100% - 22px)!important;padding:6px 0!important}html body #list > .card .body > button.jks21-discuss{width:auto!important;margin:3px 0 0!important}}
/* Do not waste vertical space on old guidelines or cartoon-like empty states. */
body .jks226-page.jks226-page .jks226-rule {display:none!important}
body .jks226-page.jks226-page .jksm2-empty-shell{
  padding:30px 16px!important;border:0!important;border-radius:0!important;
  background:none!important;box-shadow:none!important;color:#655e58!important;
}
body .jks226-page.jks226-page .jksm2-character,
body .jks226-page.jks226-page .jksm2-empty-label,
body .jks226-page.jks226-page .jksm2-empty-action,
body .jks226-page.jks226-page .jksm2-empty-sub {display:none!important}
body .jks226-page.jks226-page .jksm2-empty-title{
  font-size:15px!important;font-weight:650!important;color:#524a43!important;
}
/* Suppress purely decorative icon injected into the header by the older refresh JS. */
body .jks226-page.jks226-page .jks226-phead .jksm2-brand-spark{display:none!important}

/* v22.1 corrective patch INSIDE the existing v22 stylesheet.
   #jks226Messages is the live stream root: these selectors intentionally win
   against older, late-inserted bubble/card styles. No markup/API changes. */
html body #jks226Messages.jks226-messages > .jks226-msg{
  display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;
  width:100%!important;min-width:0!important;gap:10px!important;
  margin:0!important;padding:9px 16px 10px!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;
}
html body #jks226Messages.jks226-messages > .jks226-msg > .jks226-bubble,
html body #jks226Messages.jks226-messages > .jks226-msg[data-jks2275-role] > .jks226-bubble{
  display:block!important;position:relative!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;flex:auto!important;
  margin:0!important;padding:0!important;
  border:0!important;border-left:0!important;border-radius:0!important;
  background:transparent!important;background-image:none!important;
  box-shadow:none!important;filter:none!important;backdrop-filter:none!important;
  animation:none!important;
}
html body #jks226Messages.jks226-messages > .jks226-msg > .jks226-bubble::before,
html body #jks226Messages.jks226-messages > .jks226-msg[data-jks2275-role] > .jks226-bubble::before,
html body #jks226Messages.jks226-messages > .jks226-msg > .jks226-bubble::after{
  display:none!important;content:none!important;
}
html body #jks226Messages.jks226-messages .jks2275-kicker{display:none!important}
html body #jks226Messages.jks226-messages .jks2274-actions{
  border:0!important;border-top:0!important;box-shadow:none!important;
  padding:0!important;margin:2px 0 0!important;min-height:32px!important;
}
html body #jks226Messages.jks226-messages .jks2274-reply,
html body #jks226Messages.jks226-messages .jks2274-more{
  min-height:32px!important;height:32px!important;padding:4px 6px!important;
  color:#746b64!important;
}
@media(max-width:360px){
 html body #jks226Messages.jks226-messages > .jks226-msg{padding-inline:11px!important;gap:9px!important}
}
