/* Wordzule competition-first landing: compact glanceable social cards;
   the full live leaderboard and chat remain below the daily game. */
.wz-pulse{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:2px 0 17px;align-items:stretch}
.wz-pulse-card{min-width:0;padding:14px 17px 13px;border:1px solid #47717a;border-radius:14px;background:linear-gradient(112deg,#143449 0%,#10283b 100%);display:flex;flex-direction:column;gap:5px;box-shadow:inset 0 1px #ffffff08}
.wz-pulse-lounge{background:linear-gradient(112deg,#143c49 0%,#10283b 100%)}
.wz-pulse-heading{display:flex;gap:7px;align-items:center;min-width:0;color:#eac389;letter-spacing:.1em;font:850 10px system-ui}
.wz-pulse-heading strong{font-size:10px;min-width:0}.wz-pulse-dot{width:7px;height:7px;background:#7fdeb2;border-radius:50%;margin-left:auto;flex:0 0 auto}
.wz-pulse-main{margin:6px 0 0;color:#fff2d3;font:600 clamp(13px,1.55vw,17px) system-ui;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wz-pulse-sub{margin:0;color:#b1c7d1;font:11px/1.4 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wz-pulse-link{color:#ffd58f!important;text-decoration:none;font:850 11px system-ui;align-self:flex-start;min-height:28px;display:inline-flex;align-items:center;gap:5px;margin-top:auto;padding-top:5px}
.wz-pulse-link:hover{text-decoration:underline}.wz-pulse-link:focus-visible{outline:2px solid #ffc629;outline-offset:3px;border-radius:4px}
#community{scroll-margin-top:80px}.five-community{margin-top:19px;margin-bottom:22px}
#leaderboards,#lounge{scroll-margin-top:84px}
@media(max-width:760px){
 .wz-pulse{gap:8px;margin:2px 0 12px}
 .wz-pulse-card{padding:11px 10px 8px;border-radius:12px}
 .wz-pulse-heading{font-size:9px;letter-spacing:.04em;gap:4px}
 .wz-pulse-heading strong{font-size:9px}
 .wz-pulse-main{font-size:12px;margin-top:4px}
 .wz-pulse-sub{font-size:10px}
 .wz-pulse-link{font-size:10px;min-height:27px}
}
@media(max-width:340px){
 .wz-pulse-heading strong{font-size:8px}
 .wz-pulse-main{font-size:11px}
 .wz-pulse-sub{font-size:9px}
}
/* Wordzule competition-first placement, 28 October 2026.
 * Desktop: full rankings + moderated lounge directly above daily game.
 * Mobile: compact live cards above game; tap one to reveal an accessible single-panel hub.
 */
.five-community.wz-community-top{margin:8px 0 20px}
.wz-community-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.wz-community-tools-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.wz-community-tools-title strong{color:#f2ca88;font:850 10px system-ui;letter-spacing:.13em}
.wz-community-tools-title small{color:#a9c4ca;font-size:11px}
.wz-community-switch{display:flex;align-items:center;gap:6px}
.wz-community-switch button{display:none}
.wz-community-play{display:inline-flex;align-items:center;justify-content:center;min-height:33px;text-decoration:none!important;border:1px solid #517e8c;border-radius:9px;padding:7px 12px;color:#f6d498!important;font:800 11px system-ui;white-space:nowrap}
.five-community.wz-community-top .five-section-kicker{margin-bottom:8px}
.five-community.wz-community-top .social-layout{gap:12px}
.five-community.wz-community-top .social-panel{padding:14px 16px;gap:8px}
.five-community.wz-community-top .social-head h2{font-size:clamp(20px,2.2vw,27px);margin:3px 0}
.five-community.wz-community-top .social-head p{line-height:1.35}
.five-community.wz-community-top .board-list{min-height:115px;max-height:185px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.five-community.wz-community-top .board-row{padding:7px 10px}
.five-community.wz-community-top .chat-log{height:185px;min-height:135px}
.five-community.wz-community-top .your-stats{margin-top:0}
.five-community.wz-community-top .social-fine{font-size:10px;line-height:1.45;margin:0}
.five-community.wz-community-top .chat-message{padding:7px 9px}
.five-community.wz-community-top .chat-code{margin-top:0}
.five-community.wz-community-top .chat-compose input{min-width:0}
@media(max-width:760px){
 .five-community.wz-community-top:not(.wz-competition-open){display:none}
 .five-community.wz-community-top{margin:2px 0 15px}
 .five-community.wz-community-top .five-section-kicker{display:none}
 .five-community.wz-community-top .social-layout{display:block}
 .wz-community-tools{align-items:stretch;flex-direction:column;margin-bottom:9px}
 .wz-community-tools-title small{display:block}
 .wz-community-switch{display:grid;grid-template-columns:1fr 1fr auto;gap:7px}
 .wz-community-switch button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #486b77;background:#102e43;border-radius:9px;padding:8px;color:#c4d8d9;font-size:11px;font-weight:800;cursor:pointer}
 .wz-community-switch button[aria-pressed="true"]{background:#efc788;color:#102739;border-color:#efc788}
 .wz-community-play{font-size:10px;min-height:42px;white-space:normal;text-align:center;padding:6px}
 .five-community.wz-community-top[data-wz-competition-tab="leaderboards"] #lounge,
 .five-community.wz-community-top[data-wz-competition-tab="lounge"] #leaderboards{display:none}
 .five-community.wz-community-top .social-panel{padding:13px;gap:9px}
 .five-community.wz-community-top .board-list{max-height:270px;min-height:110px}
 .five-community.wz-community-top .chat-log{height:265px;min-height:165px}
 .five-community.wz-community-top .social-head h2{font-size:23px}
 .five-community.wz-community-top .wz-community-tools{scroll-margin-top:80px}
}
html[data-effective-theme="light"] .wz-community-tools-title strong{color:#785218}
html[data-effective-theme="light"] .wz-community-tools-title small{color:#41616a}
html[data-effective-theme="light"] .wz-community-switch button:not([aria-pressed="true"]){background:#e0eeef;color:#143347}
html[data-effective-theme="light"] .wz-community-play{color:#72511f!important;border-color:#879da4}
@media(prefers-reduced-motion:reduce){.five-community.wz-community-top{scroll-behavior:auto}}

html[data-effective-theme="light"] .wz-pulse-card{border-color:#91b1b8;background:#e5f3f0}
html[data-effective-theme="light"] .wz-pulse-heading{color:#655025}
html[data-effective-theme="light"] .wz-pulse-main{color:#142b41}
html[data-effective-theme="light"] .wz-pulse-sub{color:#425d67}
html[data-effective-theme="light"] .wz-pulse-link{color:#825a1a!important}
