/* Comunidade (#chat) e Salão de Jogos — comunidade.js */
.cm-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 14px; align-items: start; }
.cm-main { min-width: 0; container-type: inline-size; }

/* lista de canais, como a barra de servidores do Discord */
.cm-side { position: sticky; top: 12px; display: grid; gap: 14px; padding: 12px; border-radius: 20px; background: linear-gradient(180deg, rgba(30, 30, 64, .78), rgba(14, 14, 34, .82)); border: 1px solid var(--line, rgba(172, 162, 255, .16)); box-shadow: 0 20px 50px -30px #000; }
.cm-side-sec { display: grid; gap: 3px; }
.cm-side-h { padding: 0 8px 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #9691b8); }
.cm-ch { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 12px; background: none; color: var(--soft, #cfcbe8); font: inherit; font-size: 14px; font-weight: 650; text-align: left; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.cm-ch:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.cm-ch.on { background: color-mix(in srgb, var(--cc) 20%, rgba(255, 255, 255, .04)); color: #fff; box-shadow: inset 3px 0 0 var(--cc); }
.cm-ch-emo { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 9px; font-size: 16px; background: color-mix(in srgb, var(--cc) 18%, transparent); }
.cm-ch-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-ch-salao { background: linear-gradient(100deg, rgba(255, 207, 90, .14), rgba(255, 93, 143, .1)); }
.cm-pill { min-width: 20px; padding: 1px 6px; border-radius: 99px; background: #ff4d6d; color: #fff; font-size: 11px; font-weight: 800; text-align: center; }
.cm-live { color: #ffcf5a; }

/* sala de chat */
.cm-room, .cm-legacy > * { min-width: 0; }
.cm-legacy > .page-head, .cm-legacy .chat-mode-bar { display: none; }
.cm-room { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: min(78vh, 820px); min-height: 460px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, rgba(26, 26, 58, .86), rgba(12, 12, 30, .9)); border: 1px solid var(--line, rgba(172, 162, 255, .16)); box-shadow: 0 30px 70px -40px #000; }
.cm-room-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: linear-gradient(90deg, color-mix(in srgb, var(--cc) 16%, transparent), transparent 70%); }
.cm-room-emo { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; font-size: 24px; background: color-mix(in srgb, var(--cc) 22%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--cc) 45%, transparent); }
.cm-room-head div { flex: 1; min-width: 0; }
.cm-room-head h2 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 18px; }
.cm-room-head h2 svg, .sl-box-h h3 svg { width: 18px; height: 18px; color: var(--muted, #9691b8); flex: none; }
.cm-room-head p { margin: 1px 0 0; font-size: 12.5px; color: var(--muted, #9691b8); }
.cm-online { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(125, 255, 176, .1); color: #a8ffcb; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.cm-online i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }

.cm-feed { overflow-y: auto; padding: 10px 6px 14px; overscroll-behavior: contain; scrollbar-width: thin; }
.cm-empty { margin: 30px 16px; text-align: center; color: var(--muted, #9691b8); font-size: 13.5px; }
.cm-day { display: flex; align-items: center; gap: 10px; margin: 14px 14px 6px; color: var(--muted, #9691b8); font-size: 11px; font-weight: 700; }
.cm-day::before, .cm-day::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .08); }
.cm-msg { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 6px 14px 2px; margin-top: 8px; border-radius: 10px; }
.cm-msg.cont { margin-top: 0; padding-top: 1px; }
.cm-msg:hover { background: rgba(255, 255, 255, .035); }
.cm-msg.mine .cm-msg-body > header .cm-name, .cm-msg.mine .cm-msg-body > header a { text-decoration: none; }
.cm-hover-time { align-self: center; justify-self: center; font-size: 10px; color: var(--muted, #9691b8); opacity: 0; }
.cm-msg.cont:hover .cm-hover-time { opacity: 1; }
.cm-msg-body { min-width: 0; }
.cm-msg-body header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.cm-msg-body header .cm-name, .cm-msg-body header > a { font-weight: 800; font-size: 14.5px; color: #fff; text-decoration: none; }
.cm-msg-body header small, .cm-msg-body header time { font-size: 11px; color: var(--muted, #9691b8); }
.cm-msg-body p { margin: 1px 0 0; font-size: 14.5px; line-height: 1.45; color: #e9e6fb; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-msg.mine { box-shadow: inset 2px 0 0 color-mix(in srgb, var(--cc, #6ee7ff) 70%, transparent); }
.cm-card { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 6px 12px 6px 6px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--rarity, rgba(255, 255, 255, .15)); color: inherit; text-decoration: none; max-width: 320px; }
.cm-card img { width: 46px; height: 64px; object-fit: cover; border-radius: 8px; }
.cm-card span { display: grid; min-width: 0; } .cm-card small { color: var(--muted, #9691b8); font-size: 11.5px; }

.cm-av { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #3b3a78, #1c1b3e); box-shadow: 0 0 0 2px var(--rarity, rgba(190, 160, 255, .45)); flex: none; }
.cm-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.cm-av.is-init span { font-weight: 800; color: #fff; }
.cm-av.xs { display: inline-grid; width: 18px; height: 18px; vertical-align: -4px; box-shadow: 0 0 0 1px var(--rarity, rgba(190, 160, 255, .45)); font-size: 10px; }
.cm-msg-av { text-decoration: none; }

.cm-compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 12px; border-top: 1px solid rgba(255, 255, 255, .06); }
.cm-compose textarea { flex: 1; min-height: 44px; max-height: 140px; padding: 11px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .25); color: #fff; font: inherit; font-size: 14.5px; resize: none; }
.cm-compose textarea:focus { outline: none; border-color: var(--cc, #8f7bff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cc, #8f7bff) 25%, transparent); }
.cm-compose button { min-height: 44px; }
.cm-guest { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--muted, #9691b8); font-size: 13px; }

/* ---------- Salão de Jogos ---------- */
.sl { display: grid; gap: 14px; }
.sl-now { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, rgba(40, 24, 70, .92), rgba(16, 14, 40, .94)); border: 1px solid rgba(255, 207, 90, .22); box-shadow: 0 30px 70px -40px #000; }
.sl-now::before { content: ''; position: absolute; inset: -40px; z-index: -1; background: var(--art, none) center/cover; filter: blur(40px) saturate(1.5); opacity: .45; }
.sl-now.is-game { border-color: rgba(110, 231, 255, .5); box-shadow: 0 0 0 1px rgba(110, 231, 255, .25), 0 30px 70px -30px rgba(110, 231, 255, .35); }
.sl-art { position: relative; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: 0 18px 40px -16px #000; color: var(--muted, #9691b8); }
.sl-art img { width: 100%; height: 100%; object-fit: cover; }
.sl-art > svg { width: 48px; height: 48px; }
.sl-art-eq { position: absolute; right: 8px; bottom: 8px; padding: 4px 6px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #ffcf5a; }
.sl-now.empty { grid-template-columns: auto minmax(0, 1fr); }
.sl-now.empty .sl-now-info p { margin: 4px 0 0; color: var(--soft, #cfcbe8); font-size: 13.5px; }
.sl-eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ffcf5a; }
.is-game .sl-eyebrow { color: #6ee7ff; }
.sl-now-info { display: grid; gap: 2px; min-width: 0; }
.sl-title { font-size: clamp(18px, 2.4vw, 26px); line-height: 1.15; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sl-artist { color: var(--soft, #cfcbe8); font-size: 14px; }
.sl-by { margin-top: 4px; font-size: 12px; color: var(--muted, #9691b8); }
.sl-by .cm-name { color: #fff; font-weight: 700; text-decoration: none; }
.sl-prog { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11.5px; color: var(--muted, #9691b8); font-variant-numeric: tabular-nums; }
.sl-bar { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.sl-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ffcf5a, #ff5d8f, #8f7bff); transition: width .5s linear; }
.sl-now-ctl { display: grid; gap: 8px; justify-items: stretch; min-width: 170px; }
.sl-listen, .sl-skip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-weight: 800; font-size: 13.5px; cursor: pointer; transition: transform .15s, filter .15s; }
.sl-listen { background: linear-gradient(100deg, #ffcf5a, #ff7a9a); color: #22102a; border-color: transparent; box-shadow: 0 12px 30px -14px #ff7a9a; animation: sl-call 1.6s ease-in-out infinite; }
.sl-listen.on { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; animation: none; border-color: rgba(255, 255, 255, .2); }
@keyframes sl-call { 50% { transform: scale(1.04); } }
.sl-listen svg, .sl-skip svg { width: 18px; height: 18px; }
.sl-skip.on { border-color: #ff7a9a; color: #ffb3c4; }
.sl-listen:hover, .sl-skip:hover { filter: brightness(1.1); }
.sl-vol { display: flex; align-items: center; gap: 8px; color: var(--muted, #9691b8); }
.sl-vol svg { width: 20px; height: 20px; flex: none; }
.sl-vol input { width: 100%; accent-color: #ffcf5a; }

.cm-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.cm-eq i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: cm-eq .9s ease-in-out infinite alternate; }
.cm-eq i:nth-child(2) { animation-delay: -.3s; } .cm-eq i:nth-child(3) { animation-delay: -.6s; } .cm-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes cm-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
html.reduce-motion .cm-eq i, html.reduce-motion .sl-listen { animation: none; }

.sl-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.sl-col { display: grid; gap: 14px; min-width: 0; }
.sl-box { min-width: 0; padding: 14px; border-radius: 20px; background: linear-gradient(180deg, rgba(26, 26, 58, .86), rgba(12, 12, 30, .9)); border: 1px solid var(--line, rgba(172, 162, 255, .16)); }
.sl-box-h { display: grid; gap: 1px; margin-bottom: 10px; }
.sl-box-h h3 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 16px; }
.sl-src { font-size: 11.5px; color: var(--muted, #9691b8); }
.sl-hint { margin: 8px 2px; color: var(--muted, #9691b8); font-size: 13px; }
.sl-search { display: flex; gap: 8px; }
.sl-search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .25); color: #fff; font: inherit; }
.sl-search input:focus { outline: none; border-color: #ffcf5a; }
.sl-results { display: grid; gap: 4px; margin-top: 10px; max-height: 470px; overflow-y: auto; scrollbar-width: thin; }
.sl-track, .sl-queue li, .sl-lobby { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 14px; }
.sl-track:hover { background: rgba(255, 255, 255, .05); }
.sl-thumb { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .07); color: var(--muted, #9691b8); }
.sl-thumb.sm { width: 38px; height: 38px; }
.sl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sl-thumb > svg { width: 22px; height: 22px; }
.sl-prev { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(0, 0, 0, .5); color: #fff; opacity: 0; cursor: pointer; transition: opacity .15s; }
.sl-prev svg { width: 22px; height: 22px; }
.sl-track:hover .sl-prev, .sl-prev:focus-visible, .sl-prev.on { opacity: 1; }
@media (hover: none) { .sl-prev { opacity: .75; background: rgba(0, 0, 0, .35); } }
.sl-tinfo { display: grid; flex: 1; min-width: 0; }
.sl-tinfo b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-tinfo small { font-size: 11.5px; color: var(--muted, #9691b8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-tinfo .cm-name { color: var(--soft, #cfcbe8); text-decoration: none; font-weight: 700; }
.sl-tact { display: flex; gap: 6px; flex: none; }
.sl-tact button { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; }
.sl-tact svg { width: 14px; height: 14px; }
.sl-newlobby { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2px 6px 10px; padding: 12px; border-radius: 14px; background: rgba(110, 231, 255, .07); border: 1px solid rgba(110, 231, 255, .3); }
.sl-newlobby > b { grid-column: 1 / -1; font-size: 13.5px; }
.sl-newlobby label { display: grid; gap: 4px; font-size: 12px; color: var(--muted, #9691b8); }
.sl-newlobby select { min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .15); background: #17173a; color: #fff; font: inherit; }
.sl-newlobby-act { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
.sl-queue { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; max-height: 360px; overflow-y: auto; }
.sl-queue li.mine { background: rgba(255, 207, 90, .07); }
.sl-pos { width: 22px; flex: none; text-align: center; font-weight: 800; color: var(--muted, #9691b8); font-variant-numeric: tabular-nums; }
.sl-lobby { padding: 10px; margin-bottom: 6px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.sl-lobby.joined { border-color: rgba(110, 231, 255, .45); background: rgba(110, 231, 255, .06); }
.sl-lobby.live { border-color: rgba(255, 93, 143, .45); }
.sl-lobby-r { display: grid; gap: 6px; justify-items: end; flex: none; }
.sl-timer { font: 700 18px 'Cinzel', serif; color: #6ee7ff; font-variant-numeric: tabular-nums; }
.sl-timer.live { font: 800 11px 'Plus Jakarta Sans', sans-serif; letter-spacing: .12em; padding: 3px 8px; border-radius: 99px; background: #ff4d6d; color: #fff; }
.sl-chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 460px; padding-bottom: 0; }
.sl-feed { padding: 0 0 8px; }
.sl-chat .cm-msg { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 4px 6px 1px; }
.sl-chat .cm-av { width: 32px; height: 32px; }
.sl-chat .cm-compose, .sl-chat .cm-guest { margin: 0 -14px; }

/* partida de Ritmo por cima de tudo */
.sl-overlay { position: fixed; inset: 0; z-index: 9999; background: #070818; }
.sl-overlay iframe { width: 100%; height: 100%; border: 0; display: block; }
html.sl-gaming, html.sl-gaming body { overflow: hidden; }

@container (max-width: 860px) { .sl-grid { grid-template-columns: minmax(0, 1fr); } }
@container (max-width: 640px) {
  .sl-now { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px; }
  .sl-art { width: 84px; height: 84px; border-radius: 16px; }
  .sl-now-ctl { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; min-width: 0; }
  .sl-now-ctl .sl-vol { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 820px) {
  .cm-layout { grid-template-columns: minmax(0, 1fr); }
  .cm-side { position: static; display: flex; gap: 6px; padding: 8px; overflow-x: auto; scrollbar-width: none; border-radius: 16px; }
  .cm-side::-webkit-scrollbar { display: none; }
  .cm-side-sec { display: flex; gap: 6px; }
  .cm-side-h { display: none; }
  .cm-ch { width: auto; flex: none; min-height: 40px; padding: 5px 12px 5px 6px; background: rgba(255, 255, 255, .04); }
  .cm-ch.on { box-shadow: inset 0 0 0 1.5px var(--cc); }
  .cm-ch-name { overflow: visible; }
  .cm-room { height: calc(100dvh - 230px); min-height: 420px; border-radius: 18px; }
  .cm-room-head { padding: 12px; } .cm-room-head p { display: none; } .cm-online { display: none; }
  .cm-msg { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 5px 8px 1px; }
  .cm-msg .cm-av { width: 36px; height: 36px; }
  .sl-now { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px; }
  .sl-art { width: 84px; height: 84px; border-radius: 16px; }
  .sl-now-ctl { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; min-width: 0; }
  .sl-now-ctl .sl-vol { grid-column: 1 / -1; order: 3; }
  .sl-tact button span { display: none; }
  .sl-newlobby { grid-template-columns: 1fr; }
}

/* Comunidade e Salão de Jogos */
.cm-mast,.cm-layout {
  --cm-base:#14141e; --cm-raised:#1c1c2a; --cm-border:#373646; --cm-fg:#f5f0ed;
  --cm-dim:#bdb7c9; --cm-amber:#ffd18c; --cm-font:'Plus Jakarta Sans',system-ui,sans-serif;
}
.cm-mast { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 19px; }
.cm-mast h1 { font:700 clamp(24px,3vw,39px)/1.1 var(--cm-font); letter-spacing:-.052em; margin:0; color:var(--text,inherit); }
.cm-mast-game,.sl-hero-actions button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; border-radius:9px; padding:0 15px; font:750 13px/1.2 var(--cm-font); cursor:pointer; }
.cm-mast-game { border:1px solid #6e583e; color:#ffe1ad; background:#292323; }
.cm-mast-game:hover { background:#392e25; }.cm-mast-game svg,.sl-hero-actions svg { width:16px;height:16px; }
.cm-layout { grid-template-columns:clamp(156px,16vw,215px) minmax(0,1fr); gap:clamp(14px,2vw,26px); color:var(--cm-fg); }
.cm-layout :where(button,a,select,textarea,input,[tabindex]):focus-visible,.cm-mast-game:focus-visible { outline:2px solid #ffdb9d;outline-offset:2px; }
.cm-side { background:var(--cm-base); border:1px solid var(--cm-border); border-radius:16px; padding:15px 9px; gap:15px; top:84px; }
.cm-side-sec { gap:4px; }.cm-side-sec + .cm-side-sec { border-top:1px solid #32313d; padding-top:14px; }
.cm-side-h { color:var(--cm-dim); font-size:10px; padding-left:10px; letter-spacing:.13em; }
.cm-ch { border-radius:8px; font-size:13px; min-height:42px; gap:10px; color:#d2cedb; }
.cm-ch .cm-ch-emo { width:28px;height:28px;background:transparent;color:var(--cc);border-radius:6px; }
.cm-ch-emo svg { width:18px;height:18px; }
.cm-ch.on { color:#fff; background:color-mix(in srgb, var(--cc) 13%,#1d1b26); box-shadow:inset 2px 0 0 var(--cc); }
.cm-ch.cm-playing:after { content:''; width:7px; height:7px; background:#92e9ad; border-radius:50%; flex:none; }
.cm-switch { display:none; }
.cm-room,.cm-legacy { background:var(--cm-base); border:1px solid var(--cm-border); border-radius:16px; color:var(--cm-fg); }
.cm-room { min-height:420px; box-shadow:none; height:clamp(450px,70dvh,840px); }
.cm-legacy { min-width:0; overflow:clip; }.cm-legacy #chat-stage-root { padding:clamp(8px,1.6vw,17px); }
.cm-legacy .panel { background:var(--cm-raised); border-color:var(--cm-border); border-radius:12px; }
.cm-room-head { padding:18px 20px; gap:13px; border-bottom:1px solid #3d394a; background:linear-gradient(115deg,color-mix(in srgb,var(--cc) 14%,#1d1a27),#1d1c29 75%); }
.cm-room-emo { width:45px;height:45px; border-radius:12px; color:var(--cc); background:color-mix(in srgb,var(--cc) 13%,#1e1c29); }
.cm-room-emo svg { width:23px;height:23px; }
.cm-room-head h2 { margin:0; font:750 clamp(19px,2.4vw,26px)/1.2 var(--cm-font); letter-spacing:-.035em; }
.cm-room-head p { margin-top:4px;color:var(--cm-dim);line-height:1.45; }.cm-online { background:#223932;color:#baf6ce; }
.cm-feed { padding:12px 8px; }.cm-day,.cm-empty,.cm-guest { color:var(--cm-dim); }
.cm-msg { padding-block:7px 3px; }.cm-msg-body p { line-height:1.55; }
.cm-composer,.cm-guest { color:var(--cm-dim); background:#1c1b28; }
.cm-compose { align-items:center; border-color:var(--cm-border); }
.cm-compose textarea,.sl-search input { background:#12121c; border:1px solid #494453; color:var(--cm-fg); border-radius:9px; }
.cm-guest { flex-wrap:wrap; gap:8px; }
.sl { gap:16px; }
.sl-hero { isolation:isolate; position:relative; display:flex; align-items:center; min-height:clamp(188px,20vw,242px);
  overflow:hidden; border-radius:17px; border:1px solid #5c494c; color:#fff5e5; background:#231d28; }
.sl-hero:before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(16,13,22,.94) 2%,rgba(23,16,30,.82) 34%,rgba(24,17,30,.38) 61%,rgba(23,14,25,.06) 100%),url('assets/comunidade/salao-347fc8aa3682.webp') 65% 50%/cover; }
.sl-hero-inner { padding:clamp(20px,3.4vw,42px); max-width: min(78%,480px); }
.sl-hero h2 { font:800 clamp(33px,4.5vw,64px)/.99 var(--cm-font); letter-spacing:-.064em; margin:0; text-wrap:balance; }
.sl-hero p { margin:12px 0 18px; color:#e8e0df; font-size:14px; line-height:1.45; max-width:34ch; }
.sl-hero-actions { display:flex; flex-wrap:wrap; gap:8px; }
.sl-hero-actions button { border:1px solid #8a7b83; background:#24212bdc; color:#fff4ef; }
.sl-hero-actions button:first-child,.sl-listen:not(.on) { background:#ffd18c; color:#26190f; border-color:#ffd18c; }
.sl-hero-actions button:hover,.cm-mast-game:hover { filter:brightness(1.12); }
.sl-now,.sl-now.empty { border:1px solid var(--cm-border); border-radius:14px; padding:15px 18px; background:#201e2b; box-shadow:none; }
.sl-now { gap:14px; }.sl-now::before { inset:0; opacity:.18; filter:blur(24px); }
.sl-now.empty { display:flex; }.sl-now.empty .sl-now-info { max-width:65ch; }
.sl-now .sl-art { width:76px;height:76px;border-radius:11px;background:#302939;color:var(--cm-amber); }
.sl-art-empty svg { width:33px;height:33px; }.sl-eyebrow { color:var(--cm-amber);font-size:10px;letter-spacing:.12em; }
.sl-title,.sl-box-h h3 { font-family:var(--cm-font); letter-spacing:-.035em; }.sl-title { font-size:clamp(17px,2vw,24px); line-height:1.2; }
.sl-now .sl-artist,.sl-by,.sl-src,.sl-hint,.sl-tinfo small { color:var(--cm-dim); }.sl-hint { line-height:1.5; }
.sl-now-ctl { min-width:140px; }.sl-listen,.sl-skip { min-height:38px;border-radius:8px;font-size:12px;box-shadow:none;animation:none; }
.sl-prog { margin-top:6px; }.sl-bar i { background:#ffcb82; }.sl-vol input { min-height:24px; }
.sl-grid { gap:16px; grid-template-columns:minmax(0,1.18fr) minmax(0,1fr); }.sl-col { gap:16px; }
.sl-box { padding:clamp(14px,1.8vw,22px); border:1px solid var(--cm-border);border-radius:15px;background:var(--cm-base); }
.sl-box-h { gap:5px;padding-bottom:13px;margin-bottom:13px;border-bottom:1px solid var(--cm-border); }
.sl-box-h h3 { font-size:clamp(17px,1.8vw,22px); gap:8px; }
.sl-box-h h3 svg { width:20px;height:20px;color:var(--cm-amber); }.sl-lobbies .sl-box-h svg { color:#c4aff4; }.sl-chat .sl-box-h svg { color:#91d9d0; }
.sl-search { align-items:stretch; }.sl-search input { font-size:14px; }.sl-search button { border-radius:9px; }
.sl-results { scrollbar-color:#524b61 transparent; max-height:360px; padding:2px; }
.sl-track { min-height:55px; padding:6px 2px; gap:8px; border-radius:8px; }.sl-track+.sl-track { border-top:1px solid #302c3b; }
.sl-tinfo b { color:var(--cm-fg); }.sl-thumb { width:42px;height:42px;border-radius:7px;background:#2b2736; }
.sl-tact { gap:4px; }.sl-tact button { padding:6px 8px; }.sl-track .sl-tact button svg { width:15px;height:15px; }
.sl-newlobby { margin:4px 0 12px; border-color:#61536e;background:#25212e; }.sl-newlobby select { min-width:0; }
.sl-queue li { padding:7px 0; }.sl-lobby { border-color:#423849; background:#211e2a; }.sl-lobby .sl-timer { color:var(--cm-amber);font:750 16px/1.25 var(--cm-font); }
.sl-lobby .sl-timer.live { font-size:10px; color:#fff; background:#843f5b; }.sl-lobby-r { max-width:36%; }
.sl-chat { padding-bottom:0; overflow:hidden; }.sl-chat .cm-compose,.sl-chat .cm-guest { margin:0; }
.sl-feed { padding:3px 0 12px; }.sl-chat .cm-guest { padding:12px;border-radius:9px 9px 0 0; }
@container (max-width:780px) { .sl-grid {grid-template-columns:minmax(0,1fr) minmax(0,.9fr);} .sl-tact button span {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);} .sl-tact button {min-width:36px;justify-content:center;} }
@container (max-width:635px) {
  .sl-grid {grid-template-columns:minmax(0,1fr);} .sl-hero-inner {max-width:85%;}
  .sl-now {grid-template-columns:auto minmax(0,1fr);} .sl-now-ctl {grid-column:1/-1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;}
  .sl-vol {min-width:90px;flex:1;} .sl-tact button {min-height:42px;}
}
@media(max-width:820px) {
  .cm-layout { grid-template-columns:minmax(0,1fr);gap:10px; }
  .cm-mast {margin-bottom:12px;} .cm-mast-game {padding:0 10px;font-size:12px;}
  .cm-side {padding:0;display:block;position:static;overflow:visible;border-radius:11px;}
  .cm-side-sec {display:none;} .cm-switch {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 8px 6px 14px;}
  .cm-switch label {font-size:12px;color:var(--cm-dim);} .cm-switch select {appearance:auto;min-width:0;width:min(70%,220px);min-height:39px;border-radius:7px;padding:5px 8px;background:#262331;color:#fbf6f3;border:1px solid #50485c;font:650 14px/1.25 var(--cm-font);}
  .cm-room-head {padding:13px;}.cm-room-head p {display:block;font-size:12px;}
  .cm-feed {padding:6px 2px 10px;}.cm-room {min-height:350px;height:clamp(350px,63dvh,720px);}
  .sl-hero {min-height:195px;}.sl-hero-inner {padding:20px;}.sl-search input,.cm-compose textarea {font-size:16px;}
}
@container(max-width:410px) {
  .sl-hero:before {background-position:66% 50%;} .sl-hero-inner {max-width:100%;padding:19px 15px;}
  .sl-hero p {max-width:24ch;} .sl-hero-actions {gap:6px;}.sl-hero-actions button {padding:0 10px;font-size:12px;}
  .sl .sl-art {width:54px;height:54px;}.sl-now {padding:12px;gap:9px;}
  .cm-compose {gap:5px;padding:8px 6px;}.cm-compose textarea {min-width:0;}
  .cm-compose button span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
  .sl-newlobby-act {flex-wrap:wrap;} .sl-pos {width:16px;}
}
@media(prefers-reduced-motion:reduce) { .sl-bar i,.cm-ch {transition:none;}.cm-eq i {animation:none;} }


.cm-room-head { position:relative; isolation:isolate; overflow:hidden; min-height:96px; }
.cm-room-head::before { content:''; position:absolute; z-index:-1; inset:0 0 0 auto; width:47%; background:var(--room-scene,none) 65% 45%/cover no-repeat; opacity:.8; mask-image:linear-gradient(90deg,transparent 2%,black 82%); pointer-events:none; }
.cm-room-head h2,.cm-room-head p { text-shadow:0 1px 6px #191622; }
.cm-room-head .cm-online { background:#18332a; }
.cm-switch label {white-space:nowrap;}
@media(max-width:820px) {
  .cm-mast:has(+ .is-salao) { position:absolute; margin:0; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .cm-room-head {min-height:85px;}.cm-room-head::before {width:35%;opacity:.45;}
}
.cm-room[data-channel=anime] { --room-scene:url('assets/comunidade/anime-4b7e6d308747.webp'); }
.cm-room[data-channel=filmes] { --room-scene:url('assets/comunidade/filmes-d9de42166a92.webp'); }
.cm-room[data-channel=series] { --room-scene:url('assets/comunidade/series-f8be6f4436cf.webp'); }
.cm-room[data-channel=kpop] { --room-scene:url('assets/comunidade/kpop-4bbffbd3989a.webp'); }
.cm-room[data-channel=musica] { --room-scene:url('assets/comunidade/salao-347fc8aa3682.webp'); }

/* Salão: conversa central e estação de música na mesma altura. */
.cm-layout.is-salao { grid-template-columns:minmax(0,1fr); }
.cm-lounge-mast .cm-side { position:static; padding:0; border:0; background:transparent; box-shadow:none; }
.cm-lounge-mast .cm-side-sec { display:none; }
.cm-lounge-mast .cm-switch { display:flex; align-items:center; gap:10px; padding:0; }
.cm-lounge-mast label { color:var(--muted,#bdb7c9); font:600 12px var(--cm-font); }
.cm-lounge-mast select { min-height:40px; max-width:100%; padding:6px 12px; border:1px solid #514756; border-radius:9px; color:#fff5eb; background:#211e29; font:650 13px var(--cm-font); }
.cm-lounge-mast select:focus-visible { outline:2px solid #ffd18c; outline-offset:2px; }
.sl-workspace { display:grid; grid-template-columns:minmax(0,1fr) clamp(315px,33%,400px); align-items:start; gap:clamp(12px,1.4vw,22px); }
.sl-views { display:none; }
.sl-conversation { --cc:#ffcb80; height:clamp(450px,70dvh,840px); }
.sl-chat-head.sl-hero {
  min-height:118px; border:0; border-radius:0; border-bottom:1px solid #4b3f50;
  padding:16px clamp(17px,2vw,27px); background:#282032; align-items:flex-end;
}
.sl-chat-head.sl-hero::before { background-position:60% 58%; }
.sl-chat-head.sl-hero h2 { font:800 clamp(24px,3vw,40px)/1.05 var(--cm-font); letter-spacing:-.049em; }
.sl-chat-head.sl-hero p { display:flex; align-items:center; gap:6px; margin:0 0 7px; color:#ffddaa; font:700 12px var(--cm-font); }
.sl-chat-head p svg { width:15px; height:15px; }
.sl-conversation .cm-feed { min-height:0; }
.sl-conversation .cm-compose textarea { min-width:0; }
.sl-booth {
  box-sizing:border-box; display:grid; grid-template-rows:auto auto minmax(0,1fr) auto;
  height:clamp(450px,70dvh,840px); min-width:0; overflow:hidden; border:1px solid var(--cm-border);
  border-radius:16px; background:var(--cm-base); color:var(--cm-fg);
}
.sl-booth-head { display:flex; align-items:center; gap:10px; padding:17px 16px 12px; background:linear-gradient(105deg,#332730,#1b1825); }
.sl-booth-head > span { display:grid; place-items:center; width:32px;height:32px; border:1px solid #71563f; border-radius:10px; background:#3a2c26; color:#ffd59b; }
.sl-booth-head svg {width:18px;height:18px;} .sl-booth-head h2 { margin:0; font:750 21px/1.2 var(--cm-font);letter-spacing:-.035em; }
.sl-sections { display:flex; align-items:end; gap:14px; padding:0 16px; border-bottom:1px solid var(--cm-border); }
.sl-sections button { display:flex; gap:5px; align-items:center; justify-content:center; min-height:42px; padding:2px 0 0; background:none; border:0; border-bottom:2px solid transparent; border-radius:0; font:700 12px var(--cm-font); color:var(--cm-dim); cursor:pointer; }
.sl-sections button[aria-pressed="true"] { color:var(--cm-amber); border-bottom-color:currentColor; }
.sl-sections button:hover { color:#fff4df; }
#sl-queue-count { min-width:18px; padding:1px 4px; border-radius:7px; background:#39323c; color:#ffdfac;font-size:10px;font-variant-numeric:tabular-nums; }
.sl-pane { min-width:0; min-height:0; padding:14px; overflow:auto; scrollbar-width:thin; overscroll-behavior:contain; }
.sl-pane[hidden] {display:none;}
.sl-library { display:flex; flex-direction:column; overflow:hidden; }
.sl-library .sl-search,.sl-library > .sl-hint { flex:none; }
.sl-library .sl-search { position:relative; display:block; }
.sl-library .sl-search input { width:100%; padding-right:44px; background:#211f2c; }
.sl-search-button { display:grid;place-items:center;position:absolute;right:2px;top:2px;bottom:2px;width:40px;padding:0;border:0;background:transparent;color:var(--cm-amber);cursor:pointer; }
.sl-search-button svg {width:17px;height:17px;}
.sl-library .sl-results { display:block; flex:1; min-height:0; max-height:none; overflow:auto; margin-top:10px; padding:0 3px 2px; }
.sl-results-heading,.sl-pane-head h3 { margin:4px 0 5px; color:#ece5ec; font:720 13px/1.4 var(--cm-font); overflow-wrap:anywhere; }
.sl-pane-head h3 {font-size:17px;} .sl-pane-head p { margin:0 0 14px; font-size:12px; color:var(--cm-dim); }
.sl-workspace .sl-track { display:grid; grid-template-columns:46px minmax(0,1fr); gap:5px 10px; padding:12px 1px; align-items:start; }
.sl-workspace .sl-track .sl-thumb { grid-column:1; grid-row:1 / span 2; width:46px;height:46px;border-radius:8px; }
.sl-workspace .sl-track .sl-tinfo,.sl-workspace .sl-track .sl-tact {grid-column:2;}
.sl-workspace .sl-track .sl-tinfo {gap:2px;}
.sl-workspace .sl-track .sl-tinfo b {font:700 14px/1.3 var(--cm-font);}
.sl-workspace .sl-track .sl-tact {display:flex;gap:7px;flex-wrap:wrap;}
.sl-workspace .sl-track .sl-tact button {
  min-width:0;min-height:32px;padding:4px 8px;border:1px solid #544957;border-radius:7px;
  display:inline-flex;gap:4px;align-items:center;font:700 11px/1.2 var(--cm-font);
  background:#27232e;color:#e0d9e8;box-shadow:none;
}
.sl-workspace .sl-track [data-sl-add]:not(:disabled) { color:#ffdaa4; border-color:#715642; background:#332920; }
.sl-workspace .sl-track button:disabled { opacity:.6; }
.sl-workspace .sl-tact button span { display:inline; position:static; width:auto; height:auto; overflow:visible; clip-path:none; }
.sl-workspace .sl-prev { opacity:1; background:linear-gradient(145deg,transparent 30%,#16101abe);place-items:end; padding:2px; }
.sl-workspace .sl-prev svg { width:18px;height:18px;padding:3px;border-radius:50%;background:#211a28da; }
.sl-workspace .sl-prev:hover,.sl-workspace .sl-prev:focus-visible {background:#19131b80;place-items:center;}
.sl-workspace .sl-prev:hover svg,.sl-workspace .sl-prev:focus-visible svg {width:24px;height:24px;}
.sl-workspace .sl-stage { min-width:0; border-top:1px solid #46404d; background:#231e28; }
.sl-workspace .sl-now,.sl-workspace .sl-now.empty { padding:12px 14px; border:0; border-radius:0; gap:8px 11px; grid-template-columns:44px minmax(0,1fr); }
.sl-workspace .sl-art { width:44px;height:44px;border-radius:8px; }
.sl-workspace .sl-art-eq { padding:0 2px;right:0;bottom:0; }
.sl-workspace .sl-title { font-size:15px;line-height:1.2; }
.sl-workspace .sl-now .sl-artist,.sl-workspace .sl-now.empty p { font-size:12px;line-height:1.35; }
.sl-workspace .sl-by { font-size:11px;margin:0; }
.sl-workspace .sl-now-ctl { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;grid-column:1/-1;gap:5px 8px;min-width:0; }
.sl-workspace .sl-listen,.sl-workspace .sl-skip { min-height:36px;padding:0 9px;font-size:11px;gap:4px; }
.sl-workspace .sl-vol {order:0;flex:1;min-width:50px;max-width:105px;}
.sl-workspace .sl-vol input {min-width:0;width:100%;} .sl-workspace .sl-vol svg {width:16px;height:16px;}
.sl-workspace .sl-skip {order:1;} .sl-workspace .sl-prog {margin:3px 0 0;gap:6px;font-size:10px;}
.sl-workspace .sl-hint a { color:var(--cm-amber); }
@media(max-width:820px) {
  .cm-mast.cm-lounge-mast:has(+ .is-salao) { position:static; margin:0 0 10px; width:auto;height:auto;clip-path:none;overflow:visible; }
  .cm-lounge-mast h1 { position:absolute; width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
  .cm-lounge-mast .cm-side {width:100%;}
  .cm-lounge-mast .cm-switch {justify-content:space-between;}
}
@container (max-width:739px) {
  .sl-workspace { display:flex; flex-direction:column; gap:9px; align-items:stretch; }
  .sl-views { display:flex; gap:5px; padding:3px; border-radius:11px;background:var(--cm-base);border:1px solid var(--cm-border); }
  .sl-views button { display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:38px;padding:5px; background:none;border:0;border-radius:8px;color:var(--cm-dim);font:700 13px var(--cm-font);cursor:pointer; }
  .sl-views svg { width:16px;height:16px; }
  .sl-views button[aria-pressed="true"] { color:#ffe1af;background:#382d29; }
  .sl-workspace[data-view="chat"] .sl-booth,.sl-workspace[data-view="music"] .sl-conversation { display:none; }
  .sl-workspace .sl-conversation,.sl-workspace .sl-booth { height:clamp(350px,63dvh,720px); min-height:350px; }
  .sl-chat-head.sl-hero { min-height:92px;padding:14px; }
  .sl-booth-head {padding:12px 13px 8px;} .sl-sections {padding:0 13px;}
  .sl-pane {padding:10px 12px;} .sl-workspace .sl-prev {min-height:44px;}
  .sl-workspace .sl-track .sl-tact button {min-height:38px;}
}
@media(max-height:580px) {
  .sl-workspace .sl-conversation,.sl-workspace .sl-booth { min-height:330px; }
  .sl-workspace .sl-pane { min-height:95px; }
}


.sl-more,.sl-versions{margin:.4rem 0 .7rem}

.sl-track .sl-source,.sl-credit{color:var(--muted,#b5afc5);font-size:.74rem}
.sl-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}

.sl-library:has(.sl-yt-library){display:block;overflow:auto}
.sl-yt-library label{display:block;margin:0 0 .4rem;color:var(--cm-fg);font-weight:700}
.sl-yt-library .sl-search-button{top:auto;bottom:1px;height:42px}
.sl-yt-library .sl-hint:empty,#sl-video-stage [role=status]:empty{display:none}
.sl-other-catalogs{margin:14px 0 3px;border-top:1px solid var(--cm-border);padding-top:12px}
.sl-other-catalogs summary{color:var(--cm-amber);font-size:.88rem;cursor:pointer;padding:5px 0}
.sl-other-catalogs[open] summary{margin-bottom:.45rem}
.sl-yt-result{display:flex;align-items:center;gap:10px;background:transparent;color:var(--cm-fg);text-align:left;width:100%;border:0;border-bottom:1px solid var(--cm-border);padding:8px 2px;cursor:pointer}
.sl-yt-result:hover,.sl-yt-result:focus-visible{background:var(--cm-panel,#282330)}
.sl-yt-result img{display:block;width:120px;min-width:120px;height:70px;object-fit:cover;border-radius:6px}
.sl-yt-result span,.sl-yt-choice-head div{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.sl-yt-result small,.sl-yt-choice-head small{color:var(--cm-dim)}
.sl-yt-choice-head{display:flex;align-items:start;justify-content:space-between;gap:7px;margin:12px 0 8px}
.sl-yt-choice-head button{border:0;background:transparent;min-width:36px;min-height:36px;color:var(--cm-fg);font-size:22px;cursor:pointer}
.sl-yt-frame{width:100%;height:auto;aspect-ratio:16/9;min-height:200px;overflow:hidden;background:#111}
.sl-yt-frame iframe{width:100%;height:100%;min-height:200px;display:block;border:0}
.sl-booth:has(#sl-video-stage:not([hidden])){height:auto;grid-template-rows:auto auto minmax(240px,42dvh) auto}
.sl-yt-library [hidden],#sl-video-stage[hidden]{display:none}
#sl-video-stage .sl-hint{margin:6px 12px}

.cm-suggestions {
  --sg-line: color-mix(in srgb, var(--soft,#cdcde5) 22%, transparent);
  --sg-panel: color-mix(in srgb, var(--slate,#1a1930) 94%, #1b1933);
  --sg-field: color-mix(in srgb, var(--bg,#101122) 82%, var(--slate,#22223a));
  color:var(--text,#f9f5ff); width:100%; max-width:1120px; min-width:0; margin:0 auto;
  container: suggestions / inline-size;
}
.cm-suggestions .sg-hero {position:relative;isolation:isolate;display:grid;align-items:center;min-height:clamp(210px,19vw,272px);overflow:hidden;
  padding:clamp(26px,4.2vw,62px);border:1px solid #4c4760;border-radius:20px;background:#141528;color:#fbf4df;}
.sg-hero-art {position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 55%;}
.sg-hero::before {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0d1022cf 0%,#14152baf 28%,#17162f58 47%,transparent 66%);}
.sg-hero-copy {max-width:47%;}
.cm-suggestions .sg-hero h2 {font:500 clamp(36px,4.1vw,62px)/1.06 Georgia,'Times New Roman',serif;letter-spacing:-.044em;text-transform:none;margin:0;color:#fff3df;text-wrap:balance;text-shadow:0 2px 12px #121027a8;}
.cm-suggestions .sg-hero p {font-size:clamp(14px,1.05vw,16px);line-height:1.55;max-width:34ch;color:#eee4d6;margin:14px 0 0;text-wrap:pretty;}
.cm-suggestions-form {display:grid;grid-template-columns:minmax(200px,.72fr) minmax(0,1.7fr);gap:clamp(24px,3.4vw,54px);margin:18px 0 0;
  padding:clamp(19px,2.6vw,38px);border:1px solid var(--sg-line);border-radius:18px;background:var(--sg-panel);box-shadow:0 12px 32px #09091824;}
.sg-categories {border:0;padding:0;margin:0;min-width:0;}
.sg-categories legend,.cm-suggestions .sg-heading {display:block;padding:0;font:650 15px/1.4 var(--ui,system-ui);letter-spacing:.01em;color:var(--text,#f9f5ff);margin:0 0 13px;}
.sg-options {display:grid;gap:8px;}
.sg-option {position:relative;--sg-tint:#bbacef;}
.sg-option:nth-child(2){--sg-tint:#81d3c5;}
.sg-option:nth-child(3){--sg-tint:#f4c884;}
.sg-option input {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;}
.cm-suggestions .sg-option label {display:flex;align-items:center;gap:12px;min-height:59px;padding:9px 13px;margin:0;cursor:pointer;
  border:1px solid var(--sg-line);border-radius:11px;background:color-mix(in srgb,var(--sg-panel) 92%,#8684b0);
  transition:background-color .15s,border-color .15s;}
.sg-option .sg-symbol {display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:9px;color:var(--sg-tint);background:color-mix(in srgb,var(--sg-tint) 12%,var(--sg-panel));}
.cm-suggestions .sg-symbol .ic {width:19px;height:19px;}
.sg-option-copy {min-width:0;display:grid;gap:2px;}
.sg-option-copy b {font-size:14px;line-height:1.25;color:var(--text,#f9f5ff);}
.sg-option-copy small {color:var(--soft,#ccc8df);font-size:12px;line-height:1.35;}
.sg-mark {margin-inline-start:auto;width:16px;height:16px;border-radius:100%;border:1px solid var(--sg-line);flex:none;display:grid;place-items:center;}
.sg-mark .ic {width:11px;height:11px;opacity:0;}
.sg-option input:checked + label {border-color:var(--sg-tint);background:color-mix(in srgb,var(--sg-tint) 12%,var(--sg-panel));}
.sg-option input:checked + label .sg-mark {background:var(--sg-tint);border-color:transparent;color:#161426;}
.sg-option input:checked + label .sg-mark .ic {opacity:1;}
.sg-option input:focus-visible + label,.cm-suggestions .sg-send:focus-visible {outline:2px solid #ffdd95;outline-offset:3px;}
@media (hover:hover){.sg-option label:hover {border-color:var(--sg-tint);}.cm-suggestions .sg-send:hover {filter:brightness(1.08);}}
.sg-writing {display:flex;min-width:0;flex-direction:column;align-items:stretch;}
.sg-editor,.sg-example {border:1px solid var(--sg-line);border-radius:12px;background:var(--sg-field);}
.sg-editor {display:flex;flex-direction:column;flex:1;min-height:137px;}
.sg-editor:focus-within {border-color:#d6b178;box-shadow:0 0 0 2px #e3bd6e22;}
.cm-suggestions .sg-editor textarea {display:block;box-sizing:border-box;width:100%;min-width:0;min-height:94px;flex:1;padding:14px 16px 3px;
  background:transparent;color:var(--text,#faf6ff);border:0;outline:0;box-shadow:none;border-radius:12px;resize:vertical;font:400 16px/1.55 var(--ui,system-ui);}
.sg-editor textarea::placeholder {color:color-mix(in srgb,var(--soft,#d0cde1) 79%,var(--sg-field));opacity:1;}
.sg-editor #cm-suggestion-count {align-self:flex-end;padding:2px 14px 9px;font-size:11px;line-height:1.4;font-variant-numeric:tabular-nums;color:var(--soft,#d0cde1);}
.cm-suggestions .sg-example {position:relative;display:grid;align-content:center;min-height:134px;margin:0;padding:21px 25px 21px 47px;
  flex:1;color:var(--text,#f9f5ff);font:italic 22px/1.45 Georgia,serif;}
.sg-example::before {position:absolute;top:12px;left:15px;content:"“";color:#ddbe80;font:42px/1 Georgia,serif;}
.sg-actions {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px;}
.sg-actions small {display:inline-flex;align-items:center;gap:5px;color:var(--soft,#d0cde1);font-size:12px;}
.sg-actions small .ic {width:13px;height:13px;}
.cm-suggestions .sg-send {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:9px 17px;
  border:1px solid #f1ce87;border-radius:10px;background:#f0cc88;color:#292017;text-decoration:none;
  font:700 14px/1.3 var(--ui,system-ui);cursor:pointer;}
.sg-send .ic {width:17px;height:17px;}
.sg-send:disabled,.sg-categories:disabled label {opacity:.7;cursor:wait;}
.cm-suggestion-feedback {padding:9px 12px;margin:11px 0 0;border-radius:8px;background:#72ceb017;color:#a7ecd7;font-size:13px;}
.cm-suggestion-feedback:empty {display:none;}
.cm-suggestion-feedback.is-error {background:#f18f8416;color:#ffc6b9;}
@container suggestions (max-width:740px) {
  .cm-suggestions-form {grid-template-columns:minmax(0,1fr);gap:21px;padding:20px;}
  .sg-options {grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
  .cm-suggestions .sg-option label {position:relative;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:80px;gap:6px;padding:9px 10px;}
  .sg-option-copy small {display:none;}
  .sg-option .sg-symbol {flex:0 0 26px;width:26px;height:26px;border-radius:7px;}
  .cm-suggestions .sg-symbol .ic {width:17px;height:17px;}
  .sg-mark {position:absolute;top:9px;right:8px;width:13px;height:13px;}
  .sg-mark .ic {width:9px;height:9px;}
  .cm-suggestions .sg-hero {min-height:195px;padding:26px;}
  .sg-hero-copy {max-width:55%;}
}
@container suggestions (max-width:480px) {
  .cm-suggestions .sg-hero {min-height:214px;align-items:end;padding:16px 18px;}
  .sg-hero-art {height:73%;object-position:right 55%;object-fit:cover;}
  .sg-hero::before {background:linear-gradient(0deg,#121427 8%,#121427fa 31%,#12142749 59%,transparent 77%);}
  .sg-hero-copy {max-width:100%;}
  .cm-suggestions .sg-hero h2 {font-size:34px;}
  .cm-suggestions .sg-hero p {font-size:13px;max-width:33ch;margin-top:6px;}
  .cm-suggestions-form {margin-top:12px;padding:15px;gap:16px;border-radius:15px;}
  .sg-categories legend,.cm-suggestions .sg-heading {margin-bottom:9px;}
  .cm-suggestions .sg-option label {min-height:72px;padding:8px;}
  .sg-option-copy b {font-size:12px;}
  .sg-actions {margin-top:12px;}
  .sg-actions:has(a) {align-items:stretch;flex-direction:column;}
}
@media (prefers-reduced-motion:reduce){.cm-suggestions .sg-option label{transition:none;}}

.sl-roomboard {grid-column:1 / -1;min-width:0;background:linear-gradient(120deg,#19243c,#191a2d 55%,#1b2035);border:1px solid #384766;border-radius:16px;padding:15px 18px;color:#f2f5fc;}
.sl-roomboard header {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.sl-roomboard h2 {margin:0;font:750 20px/1.2 var(--cm-font);}
.sl-roomboard header p,.sl-room-empty {margin:4px 0 0;color:#bdc7df;font:500 13px/1.45 var(--cm-font);}
.sl-room-empty {margin-top:11px;}
.sl-workspace .sl-challenge {display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 15px;min-height:38px;background:#2458b5;color:#fff;border:1px solid #6eaaff;border-radius:9px;font:700 13px/1.25 var(--cm-font);text-decoration:none;cursor:pointer;}
.sl-workspace .sl-challenge:hover {background:#306bcf;}
.sl-workspace .sl-challenge:focus-visible,.sl-roomboard select:focus-visible {outline:3px solid #acd3ff;outline-offset:2px;}
.sl-workspace .sl-challenge:disabled {opacity:.62;cursor:wait;}
.sl-challenge svg {width:16px;height:16px;}
.sl-room-form,.sl-room-item,.sl-room-entry,.sl-room-info {display:flex;align-items:center;gap:12px;min-width:0;}
.sl-room-form[hidden] {display:none;}
.sl-room-form,.sl-room-item {border-top:1px solid #374159;margin-top:12px;padding-top:12px;flex-wrap:wrap;}
.sl-room-item {justify-content:space-between;}
.sl-room-form,.sl-room-entry {align-items:flex-end;}
.sl-roomboard label {display:grid;gap:4px;min-width:0;color:#d8e0f2;font:600 12px/1.3 var(--cm-font);}
.sl-roomboard select {width:100%;min-width:0;min-height:38px;max-width:100%;padding:5px 8px;background:#131c31;color:#f2f5fc;border:1px solid #536381;border-radius:7px;}
.sl-room-art {position:relative;display:grid;place-items:center;flex:0 0 43px;width:43px;height:51px;border-radius:7px;background:linear-gradient(145deg,#344d78,#1f2543);color:#c4d9ff;overflow:hidden;}
.sl-room-art svg {width:21px;height:21px;}
.sl-room-art img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.sl-room-art img[hidden] {display:none;}
.sl-room-info>div {display:grid;gap:2px;min-width:0;}
.sl-room-info b,.sl-room-info small {overflow-wrap:anywhere;}
.sl-room-info small {color:#c1cce1;font:500 12px/1.4 var(--cm-font);}
.sl-room-live,.sl-room-entry .sl-timer {align-self:center;color:#a9ccff;}
@media(max-width:620px){.sl-roomboard {padding:12px;}.sl-room-form {display:grid;grid-template-columns:minmax(0,1fr);gap:8px;}.sl-room-entry {flex-wrap:wrap;gap:7px;}.sl-roomboard header p{font-size:12px;}.sl-roomboard h2{font-size:18px;}.sl-room-form button{justify-self:start;}}

.sl-roomboard #sl-lobbies {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:0 16px;max-height:20rem;overflow:auto;scrollbar-gutter:stable;}

.sl-roomboard [hidden], .sl-game-session[hidden] {display:none !important;}
.sl-wait {margin-top:12px;padding:14px 16px;border:1px solid #435b82;border-left:3px solid #78b2ff;border-radius:12px;background:linear-gradient(110deg,#202e49,#191d33 74%);color:#f1f5ff;}
.sl-wait-heading,.sl-wait-band,.sl-wait-foot,.sl-wait-buttons {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.sl-wait-heading>div:first-child,.sl-wait-band>div {min-width:0;}
.sl-wait-phase,.sl-wait h3,.sl-wait h4 {margin:0;}
.sl-wait-phase {color:#b6d5ff;font:650 12px/1.35 var(--cm-font);}
.sl-wait h3 {margin:2px 0;color:inherit;font:750 21px/1.2 var(--cm-font);overflow-wrap:anywhere;}
#sl-wait-artist,.sl-wait-clock small,.sl-wait-players small,#sl-wait-status {color:#c3cde0;font:500 12px/1.4 var(--cm-font);}
.sl-wait-clock {flex:none;text-align:right;}
.sl-wait-clock small,.sl-wait-clock time {display:block;}
.sl-wait-clock time {color:#c4e0ff;font:750 23px/1.25 var(--cm-font);font-variant-numeric:tabular-nums;}
.sl-wait-band {gap:14px;border-top:1px solid #39465f;margin-top:10px;padding-top:10px;}
.sl-wait h4 {color:#e1e8f6;font:650 12px/1.4 var(--cm-font);}
#sl-wait-players {display:flex;flex-wrap:wrap;gap:5px 8px;margin:5px 0 0;padding:0;list-style:none;max-height:7rem;overflow:auto;}
#sl-wait-players li {display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;padding:3px 8px;border:1px solid #384963;border-radius:8px;background:#192237;}
#sl-wait-players li>span:last-child {display:grid;min-width:0;}
#sl-wait-players b,#sl-wait-players small {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#sl-wait-players b {font:650 12px/1.35 var(--cm-font);}
#sl-wait-players small {color:#c1cce1;font:500 11px/1.3 var(--cm-font);}
#sl-wait-level-label {flex-shrink:0;}
.sl-wait-foot {margin-top:12px;}
.sl-wait-buttons {justify-content:flex-end;flex-wrap:wrap;gap:7px;}
.sl-wait-leave {font:650 13px/1.3 var(--cm-font);color:#e1ebfb;background:transparent;border:1px solid #647389;border-radius:8px;min-height:38px;padding:6px 12px;cursor:pointer;}
.sl-wait-leave:hover {background:#303a4f;}
.sl-wait-leave:focus-visible {outline:3px solid #acd3ff;outline-offset:2px;}
@media(max-width:620px) {
 .sl-wait {padding:10px 12px;}
 .sl-wait h3 {font-size:18px;}
 .sl-wait-band {align-items:flex-start;flex-wrap:wrap;gap:8px;}
 #sl-wait-level-label {max-width:100%;}
 .sl-wait-foot {align-items:flex-start;flex-wrap:wrap;gap:7px;}
 .sl-wait-buttons {justify-content:flex-start;}
}

