/*
 * animeflv-w2g.css — owned by the w2g area.
 * Scope: /watch2gether (lobby), /watch2gether/my-rooms, /watch2gether/create/{id},
 * /watch2gether/{room}.
 *
 * animeflv.net never had Watch2gether. Every page is composed from
 * animeflv's own classes in css.css (vendored verbatim): `.Title.Page` +
 * `.Order`, the home's episode tiles (`.ListEpisodios`) as room cards,
 * `.Norslts`, the report dialog's `.Sect` modal, the header search rows
 * (`.ListResult`), `.WdgtCn` / `.WdgtCn.Sm` / `.Wdgt` boxes, `.BtnNew`
 * chips, `.Form-Icon` fields, and — for the room — the episode page's frame
 * (`.CpCn` > `.CpCnA` `.CapiTop` `.CapiTnv` `.CapiTcn`, `.CpCnB` `.CapOptns`
 * with its `.CapNv` / `.BtnNw` buttons, `.CpCnC`), plus `.TxtABtn` for the
 * chat composer (tmp/visual/GUIDE.md, recipe §12.8). Only what animeflv
 * never drew gets an `af-` rule below. Every selector is scoped to a w2g
 * root (`.af-w2g`, `.af-w2g-modal`) or a w2g-only class, because every area
 * stylesheet loads on every page. Palette: GUIDE §2 only.
 */

/* ── Shared ────────────────────────────────────────────────────────────── */

@keyframes af-w2g-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes af-w2g-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.w2g-fade { animation: af-w2g-fade .2s linear; }

.af-w2g .af-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background-color: #fff; margin-right: 5px; vertical-align: 1px; }
.af-w2g .is-live .af-dot, .af-w2g .af-room-st.is-live .af-dot { animation: af-w2g-pulse 1.4s ease-in-out infinite; }

/* Page head: animeflv's starred `.Title.Page`, with the users glyph. */
.af-w2g-head.fa-star:before { content: "\f0c0"; font-size: 18px; }
@media (max-width: 767px) {
    /* Five pills do not fit a phone row: each becomes its own pill. */
    .af-w2g-head .Order { display: flex; flex-wrap: wrap; gap: 8px 5px; }
    .af-w2g-head .Order > a { border-radius: 15px; min-width: 0; }
}

.af-w2g .Brdcrmb strong { font-weight: 700; }

/* Intro line + actions under the lobby title. */
.af-w2g-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 20px; }
.af-w2g-intro p { flex: 1 1 320px; margin: 0; font-size: 13px; line-height: 20px; color: #666; }
.af-w2g-acts { flex: none; font-size: 0; }
.af-w2g-acts .Button { margin: 0 0 0 10px; font-size: 12px; line-height: 20px; vertical-align: top; }
.af-w2g-acts .Button:first-child { margin-left: 0; }
.af-w2g-acts .Button:before { margin-right: 8px; }

/* ── Room cards (animeflv's episode tile) ──────────────────────────────── */

.af-rooms { margin-bottom: 20px; }
.af-room .Image img { object-fit: cover; }
.af-room.is-ended .Image img { opacity: .55; }
.af-room-st { position: absolute; left: 10px; top: 10px; z-index: 3; padding: 0 10px; border-radius: 10px; background-color: #3b4248; color: #fff; font-size: 10px; font-weight: 700; line-height: 20px; text-transform: uppercase; white-space: nowrap; }
.af-room-st.is-live { background-color: #fb3447; }
.af-room-st.is-sched { background-color: #ffc107; color: #3b4248; }
.af-room-st.is-ended { background-color: rgba(0, 0, 0, .6); }
.af-room-st b { margin-left: 4px; font-variant-numeric: tabular-nums; }
.af-room-vw { position: absolute; left: 10px; top: 34px; z-index: 3; padding: 0 8px; border-radius: 10px; background-color: rgba(0, 0, 0, .6); font-size: 10px; font-weight: 700; line-height: 20px; }
.af-room-vw:before { margin-right: 4px; line-height: 20px; }
.af-room-lock { position: absolute; right: 10px; bottom: 30px; z-index: 3; width: 20px; height: 20px; border-radius: 10px; background-color: rgba(0, 0, 0, .6); font-size: 11px; line-height: 20px; text-align: center; }
.af-room-lock:before { margin-right: 0; line-height: 20px; }
.af-room-meta { margin: 8px 0 0; font-size: 12px; line-height: 20px; color: #9da1a4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-room-meta .af-av { width: 20px; height: 20px; border-radius: 10px; margin: 0 6px 0 0; vertical-align: -5px; }
.af-room-meta b, .af-room-meta a { color: #3b4248; font-weight: 700; }
/* css.css `.ListEpisodios a` makes every link in the tile a block. */
.af-room-meta a { display: inline; position: static; overflow: visible; }
.af-room-meta a:hover { color: #01bcf3; }

/* The lobby list while a pill / page swap is in flight. */
.af-w2g-body { transition: opacity .2s; }
.af-w2g-body.is-loading { opacity: .4; pointer-events: none; }

/* Empty / error state: animeflv's `.Norslts` in a white box. */
.af-w2g-empty { margin-bottom: 20px; background-color: #fff; border-radius: 3px; box-shadow: 0 0 30px 0 rgba(0, 0, 0, .1); color: #3b4248; }
.af-w2g-empty:before { color: #3b4248; }
.af-w2g-empty strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -1px; }
.af-w2g-empty p { margin: 0 0 15px; font-size: 13px; line-height: 20px; color: #666; }
.af-w2g-empty .Button { font-size: 12px; line-height: 20px; }
.af-w2g-empty .Button:before { margin-right: 8px; }

/* ── Modals (animeflv's `.Sect` dialog) ─────────────────────────────────── */

.af-w2g-modal .Sect { margin-bottom: 0; }
.af-w2g-modal .Sect > .Bod { padding: 15px 20px 20px; }
.af-w2g-modal .Sect > .Bod > p { font-size: 13px; line-height: 20px; margin-bottom: 15px; }

.af-w2g-pick-lead { margin-bottom: 10px !important; }
.af-w2g-pick-search { margin-bottom: 0; }
.af-w2g-pick-search input { margin-bottom: 0; }
.af-w2g-picklist { max-height: 360px; margin: 15px -20px -20px; border-top: 1px solid #f3f3f3; }
.af-w2g-picklist > li { padding-right: 85px; }
.af-w2g-picklist > li:hover { background-color: rgba(1, 188, 243, .04); }
.af-w2g-picklist > li.af-current { background-color: rgba(1, 188, 243, .08); }
.af-w2g-picklist .title { width: auto; max-width: none; line-height: 20px; margin-top: 5px; }
.af-w2g-picklist a { color: #3b4248; }
.af-w2g-picklist a:hover { color: #01bcf3; }
.af-w2g-picklist .af-w2g-year { display: block; color: #9da1a4; font-size: 11px; line-height: 16px; }
.af-w2g-picklist figure img { width: 50px; height: 50px; object-fit: cover; }
.af-w2g-pick-empty { margin: 15px 0 0; padding: 20px 10px; font-size: 13px; color: #9da1a4; }
.af-w2g-pick-loading { margin: 15px 0 0; font-size: 12px; color: #666; text-align: center; }
@keyframes af-w2g-spin { to { transform: rotate(360deg); } }
.af-w2g-spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(1, 188, 243, .2); border-top-color: #01bcf3; border-radius: 50%; vertical-align: -3px; animation: af-w2g-spin .8s linear infinite; }
.af-w2g-busy { width: 20px; height: 20px; }
.af-w2g-pick [hidden] { display: none !important; }

/* ── Forms, option pills (the `.Title .Order` segment, made general) ─────── */

.af-w2g-opts { margin-bottom: 20px; font-size: 0; }
.af-w2g-opts > a, .af-w2g-opts > button { position: relative; display: inline-block; vertical-align: top; min-width: 65px; height: 30px; margin: 0; padding: 0 15px; border-radius: 0; background-color: #3b4248; color: #fff; font-size: 12px; font-weight: 700; line-height: 30px; text-align: center; text-transform: uppercase; }
.af-w2g-opts > :first-child { border-radius: 15px 0 0 15px; }
.af-w2g-opts > :last-child { border-radius: 0 15px 15px 0; }
.af-w2g-opts > :only-child { border-radius: 15px; }
.af-w2g-opts > a:hover, .af-w2g-opts > button:hover, .af-w2g-opts > .Active, .af-w2g-opts > .active { background-color: #01bcf3; color: #fff; }
.af-w2g-opts > .Active:before, .af-w2g-opts > .active:before { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; width: 0; height: 0; margin: auto; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #01bcf3; }
.af-w2g-opts > .disabled, .af-w2g-opts > [disabled] { opacity: .35; cursor: not-allowed; background-color: #3b4248; }
.af-w2g-opts > .disabled:before, .af-w2g-opts > [disabled]:before { display: none; }
.af-w2g-opts img { width: 16px; height: 16px; margin: -2px 6px 0 0; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.af-w2g-note { margin: 0 0 20px; font-size: 12px; line-height: 18px; color: #9da1a4; }
.af-w2g-opts + .af-w2g-note, .af-w2g-schedule + .af-w2g-note { margin-top: -10px; }

.af-w2g-form form > input[type=text] { margin-bottom: 20px; }
.af-w2g-ep-title { margin-left: 5px; font-size: 12px; font-weight: 400; color: #9da1a4; }
.af-w2g-epbox { margin-bottom: 20px; padding: 10px; border: 1px solid #e8e7f0; border-radius: 5px; }
.af-w2g-epsearch { margin-bottom: 5px; }
.af-w2g-epsearch input { margin-bottom: 0; }
.af-w2g .af-eps { max-height: 190px; margin: 0 -5px; font-size: 0; }
.af-w2g .af-eps .BtnNew { min-width: 52px; margin: 5px; padding: 0 10px; font-size: 12px; font-weight: 700; text-align: center; }
.af-w2g .af-eps .BtnNew.active { background-color: #01bcf2; color: #fff; }
.af-w2g .af-eps .BtnNew.highlight { box-shadow: inset 0 0 0 2px #01bcf2; }
.af-w2g .af-eps .BtnNew.is-busy { opacity: .5; pointer-events: none; }
.af-w2g-schedule { display: flex; gap: 10px; margin-bottom: 20px; }
.af-w2g-schedule[hidden] { display: none; }
.af-w2g-schedule > div { flex: 1; min-width: 0; }
.af-w2g-schedule input { margin-bottom: 0; }
.af-w2g-alert .Msj { margin-bottom: 15px; }
.af-w2g-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.af-w2g-submit button, .af-w2g-submit .Button { margin: 0; font-size: 12px; line-height: 20px; }
.af-w2g-submit .StylA { min-width: 0; padding: 9px 20px; line-height: 20px; }
.af-w2g-submit button[disabled] { opacity: .6; cursor: wait; }
.af-w2g-msj { margin-bottom: 20px; }

/* The anime box (create page and room). */
.af-w2g-anime { display: flex; align-items: flex-start; gap: 20px; }
.af-w2g-anime-img { flex: none; width: 110px; margin: 0; }
.af-w2g-anime-img img { display: block; width: 110px; height: 155px; border-radius: 5px; object-fit: cover; box-shadow: 0 3px 5px rgba(0, 0, 0, .1); }
.af-w2g-anime-txt { flex: 1; min-width: 0; }
.af-w2g-anime-title { margin-bottom: 5px; font-size: 20px; font-weight: 700; line-height: 30px; letter-spacing: -1px; }
.af-w2g-anime-title a { color: #000; }
.af-w2g-anime-title a:hover { color: #01bcf3; }
.af-w2g-anime-meta { margin-bottom: 10px; font-size: 12px; line-height: 20px; color: #666; }
.af-w2g-anime-meta > span { display: inline-block; vertical-align: top; }
.af-w2g-anime-meta > span + span:before { content: '·'; margin: 0 6px; color: #bbb; }
.af-w2g-anime-meta .Type { width: auto; min-width: 60px; padding: 0 8px; height: 20px; line-height: 20px; border-radius: 10px; }
.af-w2g-anime-meta .Type.special { background-color: #3b4248; }
.af-w2g-anime-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; font-size: 12px; line-height: 20px; color: #666; }
@media (max-width: 467px) {
    .af-w2g-anime { gap: 15px; }
    .af-w2g-anime-img, .af-w2g-anime-img img { width: 80px; }
    .af-w2g-anime-img img { height: 113px; }
    .af-w2g-anime-title { font-size: 17px; line-height: 24px; }
}

/* "CÓMO FUNCIONA". */
.af-w2g-howto .Bod { padding: 15px; }
.af-w2g-steps { margin-bottom: 15px; }
.af-w2g-steps > li { position: relative; margin-bottom: 15px; padding-left: 42px; font-size: 12px; line-height: 18px; color: #666; }
.af-w2g-steps > li b { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 15px; background-color: rgba(1, 188, 242, .1); color: #01bcf2; font-size: 14px; line-height: 30px; text-align: center; }
.af-w2g-steps > li strong { display: block; color: #3b4248; font-size: 13px; }

/* ── The room (animeflv's episode-page frame) ───────────────────────────── */

.af-w2g-room .CapiTop .SubTitle a { color: inherit; }
.af-w2g-room .CapiTop .SubTitle a:hover { color: #01bcf3; }
.af-w2g-private:before { margin-right: 4px; }

/* The state box, in the slot of the episode page's language box. */
.af-w2g-state { display: inline-block; min-width: 190px; margin-bottom: 15px; padding: 8px 15px; background-color: #fff; box-shadow: 0 0 30px rgba(0, 0, 0, .1); line-height: 20px; }
.af-w2g-state-top { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #3b4248; white-space: nowrap; }
.af-w2g-state .af-dot { width: 8px; height: 8px; background-color: #9da1a4; vertical-align: 0; }
.af-w2g-state.is-live .af-dot { background-color: #fb3447; }
.af-w2g-state.is-live strong { color: #fb3447; }
.af-w2g-state.is-sched .af-dot { background-color: #ffc107; }
.af-w2g-state.is-waiting .af-dot { background-color: #01bcf3; }
.af-w2g-clock { float: right; margin-left: 15px; color: #9da1a4; font-weight: 400; font-variant-numeric: tabular-nums; }
.af-w2g-state-sub { font-size: 11px; color: #9da1a4; white-space: nowrap; }
.af-w2g-state-sub b { color: #3b4248; }
.af-w2g-state-sub .is-off { color: #fb3447; font-weight: 700; }
@media (min-width: 1020px) {
    .af-w2g-room .CpCnA .CapiTop { padding-right: 225px; }
    .af-w2g-state { position: absolute; right: 0; top: 0; margin-bottom: 0; }
}

/* Server tabs (css.css `.CapiTnv`). */
.af-w2g-servers[hidden] { display: none !important; }
.af-w2g-servers.af-ro > li > a { cursor: default; }

/* The player box. */
.af-w2g-room .af-w2g-stage { background-color: #000; }
.af-w2g-cover { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 0; background-position: center; background-size: cover; opacity: .25; }
.af-w2g-screen { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; background-color: rgba(47, 53, 58, .9); color: #fff; text-align: center; }
.af-w2g-notice { max-width: 420px; margin: auto; }
.af-w2g-hostav { width: 64px; height: 64px; margin: 0 auto 15px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #ffc107; }
.af-w2g-hostav img { display: block; width: 100%; height: 100%; object-fit: cover; }
.af-w2g-screen-sub { margin: 0 0 5px; font-size: 14px; line-height: 20px; color: #b0bec5; }
.af-w2g-screen-name { display: block; margin-bottom: 15px; color: #fff; font-size: 20px; font-weight: 700; line-height: 30px; letter-spacing: -1px; }
.af-w2g-cd { margin-bottom: 15px; }
.af-w2g-cd-lbl { display: block; color: #ffc107; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.af-w2g-cd-digits { display: block; font-size: 40px; font-weight: 300; line-height: 50px; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.af-w2g-cd-when { display: block; font-size: 12px; color: #b0bec5; }
.af-w2g-share { display: flex; align-items: center; gap: 8px; max-width: 100%; margin: 0 auto 15px; padding: 5px 5px 5px 15px; border-radius: 20px; background-color: rgba(0, 0, 0, .3); }
.af-w2g-link { flex: 1; min-width: 0; overflow: hidden; color: #b0bec5; font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.af-w2g-share .Button.Sm { flex: none; margin: 0; height: 20px; line-height: 20px; }
.af-w2g-start, .af-w2g-back, .af-w2g-gate .StylB { margin: 0; font-size: 12px; line-height: 20px; }
.af-w2g-wait { margin: 0; font-size: 12px; color: #b0bec5; }
.af-w2g-wait .af-dot { background-color: #ffc107; animation: af-w2g-pulse 1.4s ease-in-out infinite; }
.af-w2g-back { margin-top: 5px; }

.af-w2g-player { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 3; background-color: #000; }
.af-w2g-player iframe { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.af-w2g-player .loader { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #000; color: #fff; }
.af-w2g-player .loader .loading { width: 40px; height: 40px; border: 3px solid rgba(255, 255, 255, .15); border-top-color: #01bcf3; border-radius: 50%; background: none; filter: none; animation: af-w2g-spin .8s linear infinite; }
.af-w2g-player .loader .loading > div { display: none; }
.af-w2g-player .loader.is-error:before { content: "\f119"; font-family: FontAwesome; margin-bottom: 10px; color: #ffc107; font-size: 64px; line-height: 64px; }
.af-w2g-player .loader-message { padding: 0 20px; font-size: 14px; line-height: 20px; text-align: center; }

.af-w2g-gate { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; justify-content: center; padding: 20px; background-color: rgba(23, 30, 34, .92); color: #fff; text-align: center; }
.af-w2g-gate[hidden] { display: none !important; }
.af-w2g-gate-icon { display: block; margin-bottom: 10px; color: #01bcf3; font-size: 64px; line-height: 64px; }
.af-w2g-gate-icon:before { margin-right: 0; }

.af-w2g-reactions { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 70%; overflow: hidden; pointer-events: none; }
.w2g-float { position: absolute; bottom: 20px; display: flex; flex-direction: column; align-items: center; animation: af-w2g-float 3s ease-out forwards; }
.w2g-float-emoji { font-size: 34px; line-height: 1; }
.w2g-float-name { max-width: 90px; margin-top: 4px; padding: 1px 6px; overflow: hidden; border-radius: 8px; background-color: rgba(0, 0, 0, .7); color: #fff; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
@keyframes af-w2g-float {
    0% { opacity: 0; transform: translateY(0) scale(.6); }
    15% { opacity: 1; transform: translateY(-20px) scale(1); }
    100% { opacity: 0; transform: translateY(-260px) scale(1); }
}

@media (max-width: 765px) {
    .af-w2g-screen { padding: 10px; }
    .af-w2g-hostav { width: 40px; height: 40px; margin-bottom: 8px; }
    .af-w2g-screen-sub { font-size: 12px; line-height: 18px; }
    .af-w2g-screen-name { margin-bottom: 8px; font-size: 16px; line-height: 22px; }
    .af-w2g-cd { margin-bottom: 8px; }
    .af-w2g-cd-digits { font-size: 28px; line-height: 36px; }
    .af-w2g-share { margin-bottom: 8px; }
    .af-w2g-gate-icon { font-size: 44px; line-height: 44px; }
}

/* The options row (css.css `.CapOptns`: every child is inline-block !important). */
.af-w2g-room .CapOptns > .af-none { display: none !important; }
.af-w2g-room .CapNv a.af-off { opacity: .3; pointer-events: none; }
.af-w2g-room .CapNv a.af-none { display: none; }
.af-w2g-room .CapNv a:only-child { border-radius: 20px; box-shadow: none; }
@media (min-width: 1020px) {
    .af-w2g-room .CapOptns > .af-w2g-chatlnk { display: none !important; }
}

/* Host panel. */
.af-w2g-host .af-w2g-hrow { margin-bottom: 20px; }
.af-w2g-host .af-w2g-opts { margin-bottom: 0; }
.af-w2g-check input { vertical-align: middle; }
.af-w2g-check label { margin: 0 0 0 5px; color: #3b4248; font-size: 13px; font-weight: 700; cursor: pointer; vertical-align: middle; }
.af-w2g-check .af-w2g-note { margin: 5px 0 0; }
.af-w2g-epsearch-row { position: relative; margin-bottom: 10px; }
.af-w2g-epsearch-row .af-w2g-epsearch input { padding-right: 40px; }
.af-w2g-ep-clear { position: absolute; right: 0; top: 0; z-index: 2; width: 40px; color: #9da1a4; line-height: 40px; text-align: center; }
.af-w2g-ep-clear:before { margin-right: 0; }
.af-w2g-ep-clear[hidden] { display: none; }
.af-w2g-host #w2g-ep-list { max-height: 200px; }
.af-w2g-host .w2g-ep-empty { margin: 10px 0 0; }
.af-w2g-hfoot { margin: 0 -20px -20px; padding: 15px 20px; border-top: 1px solid #f3f3f3; }
button.af-w2g-danger { margin: 0; background-color: #fb3447; color: #fff; font-size: 12px; line-height: 20px; }
button.af-w2g-danger:hover { background-color: #fb3447; opacity: .8; }
button.af-w2g-danger:before { margin-right: 8px; }

/* Under the room. */
.af-w2g-related .af-w2g-subhead { margin-bottom: 0; }
.af-w2g-related .af-rooms { margin-bottom: 0; }

/* ── Chat (GUIDE §12.8: `.WdgtCn.Sm` + search-row geometry + `.TxtABtn`) ── */

.af-chat-scroll { position: relative; min-height: 150px; max-height: 360px; margin: -15px -20px 0; overflow-x: hidden; overflow-y: auto; }
.af-chat-list { margin: 0; }
.af-chat .message { position: relative; min-height: 56px; padding: 8px 20px 8px 66px; border-bottom: 1px solid #f3f3f3; }
.af-chat .message .avatar { position: absolute; left: 20px; top: 10px; width: 36px; height: 36px; overflow: hidden; border-radius: 18px; background-color: #eceff1; }
.af-chat .message .avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.af-chat .message .user { overflow: hidden; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.af-chat .message .name { color: #01bcf3; font-weight: 700; }
.af-chat .message.owner .name { color: #ff7e00; }
.af-chat .message.owner .name:after { content: "\f005"; margin-left: 4px; font-family: FontAwesome; font-weight: 400; color: #fec601; }
.af-chat .message .rank-label { display: inline-block; margin-left: 5px; padding: 0 5px; border-radius: 7px; background-color: rgba(1, 188, 242, .1); color: #01bcf2; font-size: 9px; font-weight: 700; line-height: 14px; text-transform: uppercase; vertical-align: 1px; }
.af-chat .message.staff .rank-label { background-color: rgba(251, 52, 71, .1); color: #fb3447; }
.af-chat .message .msg-time { margin-left: 5px; color: #bbb; font-size: 11px; }
.af-chat .message .text { color: #666; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; white-space: pre-wrap; }
.af-chat .event { padding: 8px 20px; border-bottom: 1px solid #f3f3f3; color: #bbb; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; text-transform: uppercase; }
.af-chat .load-more-msg { display: block; width: 100%; margin: 0; padding: 8px 20px; border-radius: 0; background-color: rgba(1, 188, 242, .06); color: #01bcf2; cursor: pointer; }
.af-chat .load-more-msg:hover { background-color: rgba(1, 188, 242, .15); }
.af-chat .load-more-msg.is-loading { opacity: .6; pointer-events: none; }
.af-chat-empty { display: none; margin: 0; padding: 30px 20px; color: #9da1a4; font-size: 12px; line-height: 18px; text-align: center; }
.af-chat-list:empty + .af-chat-empty { display: block; }
.af-chat-pill { position: relative; z-index: 3; width: max-content; margin: -34px auto 10px; padding: 0 12px; border-radius: 12px; background-color: #01bcf3; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); color: #fff; cursor: pointer; font-size: 11px; font-weight: 700; line-height: 24px; }
.af-chat-offline { margin: 10px 0 0; }
.af-chat-composer { margin: 15px 0 0; }
.af-chat-composer textarea { height: 60px; margin-bottom: 0; padding: 10px 15px; color: #3b4248; font-size: 13px; line-height: 18px; resize: none; }
.af-chat-composer textarea[readonly] { cursor: text; }
.af-chat-composer #sendMessage { margin: 0; }
.af-chat-composer #sendMessage[disabled] { opacity: .5; cursor: default; }
.af-chat-emo { position: absolute; left: 10px; bottom: 12px; z-index: 4; width: 26px; height: 26px; border-radius: 13px; color: #9da1a4; font-size: 18px; line-height: 26px; text-align: center; }
.af-chat-emo:before { margin-right: 0; line-height: 26px; }
.af-chat-emo:hover, .af-chat-emo.on { color: #01bcf3; }
.af-chat-emo[aria-disabled=true] { opacity: .4; }
.af-chat-count { position: absolute; left: 42px; bottom: 16px; z-index: 2; color: #bbb; font-size: 11px; line-height: 18px; }
.af-chat-pop { position: absolute; left: 0; right: 0; bottom: 100%; z-index: 20; display: none; margin-bottom: 8px; padding: 8px; border-radius: 5px; background-color: #fff; box-shadow: 0 0 30px rgba(0, 0, 0, .15); }
.af-chat-pop.on { display: block; }
.af-chat-react { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.af-chat-react span { flex-basis: 100%; margin: 0 0 4px 4px; color: #9da1a4; font-size: 10px; font-weight: 700; text-transform: uppercase; }
/* css.css `.TxtABtn button` pins every button in the composer bottom-right. */
.af-chat-react button.af-chat-reactbtn { position: static; z-index: auto; }
button.af-chat-reactbtn { width: 32px; height: 32px; margin: 0; padding: 0; border-radius: 16px; background-color: transparent; color: inherit; font-size: 20px; font-weight: 400; line-height: 32px; }
button.af-chat-reactbtn:hover { background-color: rgba(1, 188, 242, .1); }
button.af-chat-reactbtn[disabled] { opacity: .4; }
.af-chat-emojis:empty { display: none; }
.af-chat-emojis { margin-bottom: 8px; }
.af-chat-emojis emoji-picker { width: 100%; height: 220px; --border-size: 0; --background: #fff; }

/* Members. */
.af-w2g-memberlist { max-height: 260px; margin: -15px -20px -20px; overflow-y: auto; }
.af-w2g-memberlist > li { display: flex; align-items: center; gap: 10px; padding: 8px 20px; border-bottom: 1px solid #f3f3f3; font-size: 13px; line-height: 20px; }
.af-w2g-memberlist > li:last-child { border-bottom: 0; }
.af-w2g-memberlist .af-av { width: 28px; height: 28px; margin: 0; border-radius: 14px; }
.af-w2g-mname { flex: 1; min-width: 0; overflow: hidden; color: #3b4248; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.af-w2g-mname:hover { color: #01bcf3; }
.af-w2g-role { color: #ff7e00; font-size: 9px; font-weight: 700; }
.af-w2g-role:before { margin-right: 3px; color: #fec601; }
button.af-w2g-kick { margin: 0; padding: 0 10px; border-radius: 10px; background-color: transparent; box-shadow: inset 0 0 0 1px #e0e0e0; color: #9da1a4; font-size: 10px; line-height: 20px; }
button.af-w2g-kick:hover, button.af-w2g-kick.is-armed { background-color: #fb3447; box-shadow: none; color: #fff; }
button.af-w2g-kick[disabled] { opacity: .5; }
.af-w2g-members-empty { margin: 0; color: #9da1a4; font-size: 12px; }
