/* GS - GameScape Online: Lobby chat panel.
   GameScape neon palette, square corners, glossy "Frutiger Aero" glass. */
.gsl,
.gsl-invite,
.gsl-toasts,
.gsl-npstatus {
  --gsl-cyan: #22e4ff;
  --gsl-mag: #e03cff;
  --gsl-ink: #05040f;
  --gsl-grad: linear-gradient(90deg, #22e4ff 0%, #4f7bff 45%, #e03cff 100%);
  --gsl-glass: rgb(12 10 34 / 72%);
}
.gsl {
  --gsl-cyan: #22e4ff;
  --gsl-mag: #e03cff;
  --gsl-ink: #05040f;
  --gsl-grad: linear-gradient(90deg, #22e4ff 0%, #4f7bff 45%, #e03cff 100%);
  --gsl-glass: rgb(12 10 34 / 72%);
  position: fixed;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: "Exo 2", "Segoe UI", system-ui, sans-serif;
  color: #eef1ff;
}
.gsl[hidden] { display: none !important; }

/* ---- floating button ---- */
.gsl-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px 0 14px;
  border: 1px solid rgb(34 228 255 / 55%);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 22%) 0%, rgb(255 255 255 / 6%) 48%, transparent 52%),
    linear-gradient(135deg, rgb(34 228 255 / 30%), rgb(224 60 255 / 30%)),
    var(--gsl-glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 0 18px rgb(34 228 255 / 30%), 0 8px 24px rgb(0 0 0 / 55%), inset 0 1px 0 rgb(255 255 255 / 35%);
  color: #fff;
  font: 700 12.5px/1 "Orbitron", system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.gsl-fab .mdi { font-size: 20px; }
.gsl-fab:hover,
.gsl-fab:focus-visible {
  border-color: var(--gsl-cyan);
  box-shadow: 0 0 26px rgb(34 228 255 / 55%), 0 0 18px rgb(224 60 255 / 35%), 0 8px 24px rgb(0 0 0 / 55%), inset 0 1px 0 rgb(255 255 255 / 45%);
  transform: translateY(-1px);
  outline: none;
}
.gsl.is-open .gsl-fab { border-color: var(--gsl-mag); }
.gsl-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: linear-gradient(135deg, #ff3ecf, #e03cff);
  box-shadow: 0 0 12px rgb(255 62 207 / 70%);
  color: #fff;
  font: 700 11px/1 "Exo 2", system-ui, sans-serif;
  letter-spacing: 0;
}
.gsl-badge[hidden] { display: none; }

/* ---- panel ---- */
.gsl-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 36px));
  height: min(560px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid rgb(34 228 255 / 45%);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 10%) 0%, rgb(255 255 255 / 0%) 90px),
    radial-gradient(420px 220px at 100% 0%, rgb(224 60 255 / 16%), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, rgb(34 228 255 / 12%), transparent 70%),
    var(--gsl-glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 0 30px rgb(34 228 255 / 20%), 0 24px 60px rgb(0 0 0 / 65%), inset 0 1px 0 rgb(255 255 255 / 30%);
  animation: gsl-in .22s cubic-bezier(.2, .7, .2, 1) both;
}
.gsl-panel[hidden] { display: none; }
.gsl-panel::before {
  /* glossy top sheen */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46px;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 16%), rgb(255 255 255 / 0%));
}

.gsl-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 10px 16px;
  border-bottom: 1px solid rgb(120 140 255 / 22%);
}
.gsl-title {
  margin: 0;
  font: 800 15px/1 "Orbitron", system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--gsl-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gsl-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
  font-size: 11.5px;
  color: rgb(215 222 255 / 60%);
}
.gsl-status::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: #ff3ecf; }
.gsl-status.on::before { background: var(--gsl-cyan); box-shadow: 0 0 8px var(--gsl-cyan); }
.gsl-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgb(120 140 255 / 30%);
  border-radius: 2px;
  background: rgb(5 4 15 / 45%);
  color: #fff;
  cursor: pointer;
}
.gsl-close:hover,
.gsl-close:focus-visible { border-color: var(--gsl-cyan); outline: none; box-shadow: 0 0 10px rgb(34 228 255 / 40%); }

.gsl-tabs { display: flex; padding: 0 10px; gap: 4px; border-bottom: 1px solid rgb(120 140 255 / 18%); }
.gsl-tab {
  flex: 1;
  padding: 10px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: rgb(215 222 255 / 70%);
  font: 700 11.5px/1 "Orbitron", system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.gsl-tab[aria-selected="true"] {
  color: #fff;
  border-bottom-color: var(--gsl-cyan);
  box-shadow: 0 8px 12px -10px var(--gsl-cyan);
}
.gsl-tab:focus-visible { outline: 2px solid var(--gsl-cyan); outline-offset: -2px; }

/* ---- messages ---- */
.gsl-msgs,
.gsl-online {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 12px;
  list-style: none;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(160 90 255 / 50%) transparent;
}
.gsl-msgs[hidden], .gsl-online[hidden], .gsl-form[hidden] { display: none; }
.gsl-msg {
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid rgb(120 140 255 / 18%);
  border-left: 3px solid rgb(34 228 255 / 60%);
  border-radius: 2px;
  background: linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 1%)), rgb(5 4 15 / 45%);
}
.gsl-msg.is-me { border-left-color: var(--gsl-mag); background: linear-gradient(180deg, rgb(224 60 255 / 12%), rgb(224 60 255 / 3%)), rgb(5 4 15 / 45%); }
.gsl-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.gsl-user { font-weight: 700; font-size: 13px; color: #a9f3ff; }
.gsl-msg.is-me .gsl-user { color: #f3b3ff; }
.gsl-tag {
  padding: 2px 5px;
  border: 1px solid rgb(224 60 255 / 55%);
  border-radius: 2px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f3b3ff;
}
.gsl-time { margin-left: auto; font-size: 11px; color: rgb(215 222 255 / 50%); }
.gsl-del {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: none;
  color: rgb(255 111 163 / 80%);
  cursor: pointer;
}
.gsl-del:hover,
.gsl-del:focus-visible { border-color: #ff2d7a; color: #fff; outline: none; }
.gsl-text { margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.gsl-notice { margin: 4px 0 10px; text-align: center; font-size: 11.5px; color: rgb(215 222 255 / 55%); }
.gsl-empty { padding: 28px 8px; text-align: center; font-size: 13.5px; color: rgb(215 222 255 / 60%); }

/* ---- online list ---- */
.gsl-person {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  margin-bottom: 6px;
  border: 1px solid rgb(120 140 255 / 18%);
  border-radius: 2px;
  background: rgb(5 4 15 / 40%);
}
.gsl-dot { flex: none; width: 9px; height: 9px; margin-top: 5px; border-radius: 1px; background: var(--gsl-cyan); box-shadow: 0 0 8px var(--gsl-cyan); }
.gsl-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; flex: 1; }
.gsl-playing,
.gsl-idle { flex-basis: 100%; font-size: 12.5px; }
.gsl-playing { color: #f3b3ff; text-decoration: none; overflow-wrap: anywhere; }
.gsl-playing:hover,
.gsl-playing:focus-visible { color: #fff; text-decoration: underline; outline: none; }
.gsl-idle { color: rgb(215 222 255 / 55%); }

/* ---- composer ---- */
.gsl-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgb(120 140 255 / 22%);
  background: rgb(5 4 15 / 35%);
}
.gsl-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgb(120 140 255 / 30%);
  border-radius: 2px;
  background: rgb(5 4 15 / 70%);
  box-shadow: inset 0 1px 3px rgb(0 0 0 / 50%);
  color: #fff;
  font: 400 14px/1 "Exo 2", system-ui, sans-serif;
  outline: none;
}
.gsl-input:focus { border-color: var(--gsl-cyan); box-shadow: 0 0 12px rgb(34 228 255 / 30%), inset 0 1px 3px rgb(0 0 0 / 50%); }
.gsl-send {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, rgb(255 255 255 / 25%), rgb(255 255 255 / 0%) 55%), var(--gsl-grad);
  box-shadow: 0 0 12px rgb(34 228 255 / 35%), inset 0 1px 0 rgb(255 255 255 / 40%);
  color: #fff;
  font: 700 11.5px/1 "Orbitron", system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.gsl-send:hover,
.gsl-send:focus-visible { box-shadow: 0 0 18px rgb(34 228 255 / 60%), inset 0 1px 0 rgb(255 255 255 / 50%); outline: none; }

/* ---- phones: full-width sheet, compact button ---- */
@media (width < 600px) {
  .gsl { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .gsl-fab__label { display: none; }
  .gsl-fab { padding: 0 13px; }
  .gsl-panel { width: calc(100vw - 24px); height: calc(100vh - 170px); }
  .gsl-send span { display: none; }
}

@keyframes gsl-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .gsl-panel { animation: none; }
  .gsl-fab { transition: none; }
}

/* ==========================================================================
   Lobby tab in the top navigation (desktop); floating button is the < 1000px fallback
   ========================================================================== */
.gsl-navtab { position: relative; cursor: pointer; }
.gsl-navtab[hidden] { display: none !important; }
.gsl-navtab.gsl-navtab--open { color: #fff !important; box-shadow: inset 0 -2px 0 #e03cff; }
.gsl-navbadge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 1px solid #22e4ff;
  border-radius: 2px;
  background: linear-gradient(135deg, #ff3ecf, #e03cff);
  box-shadow: 0 0 10px rgb(224 60 255 / 70%);
  color: #fff;
  font: 700 10px/1 "Exo 2", system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.gsl-navbadge[hidden] { display: none; }

@media (width >= 1000px) {
  html.gsl-has-nav .gsl-fab { display: none; }
  /* Opened from the nav: anchor the panel under the top bar on the right */
  html.gsl-has-nav .gsl.from-nav,
  html.gsl-has-nav .gsl.is-open {
    top: calc(var(--r-nav-h, 58px) + 10px + env(safe-area-inset-top, 0px));
    bottom: auto;
    right: 18px;
  }
  html.gsl-has-nav .gsl .gsl-panel { height: min(600px, calc(100vh - var(--r-nav-h, 58px) - 30px)); }
}
@media (width < 1000px) {
  .gsl-navtab { display: none !important; }
}
.gsl-navtab { gap: 6px; }

/* ==========================================================================
   Direct messages, invite actions, invite modal, netplay status
   ========================================================================== */
.gsl-back {
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid rgb(120 140 255 / 30%); border-radius: 2px;
  background: rgb(5 4 15 / 45%); color: #fff; cursor: pointer;
}
.gsl-back[hidden] { display: none; }
.gsl-back:hover, .gsl-back:focus-visible { border-color: var(--gsl-cyan); outline: none; box-shadow: 0 0 10px rgb(34 228 255 / 40%); }
.gsl-panel.is-dm .gsl-title { font-size: 13px; letter-spacing: .1em; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gsl-panel.is-dm .gsl-tabs { display: none; }
.gsl-title__lobby { opacity: .7; }
.gsl-msg--dm { border-left-color: rgb(79 123 255 / 70%); }
.gsl-tab.has-dm::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; vertical-align: middle;
  border-radius: 1px; background: #ff3ecf; box-shadow: 0 0 8px #ff3ecf;
}

.gsl-person { flex-wrap: wrap; }
.gsl-acts { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; padding-left: 19px; }
.gsl-act {
  position: relative; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px;
  border: 1px solid rgb(120 140 255 / 32%); border-radius: 2px;
  background: linear-gradient(180deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 0%) 60%), rgb(5 4 15 / 55%);
  color: #fff; font: 600 12px/1 "Exo 2", system-ui, sans-serif; text-decoration: none; cursor: pointer;
}
.gsl-act:hover, .gsl-act:focus-visible { border-color: var(--gsl-cyan); box-shadow: 0 0 10px rgb(34 228 255 / 40%); outline: none; }
.gsl-act--invite { border-color: rgb(224 60 255 / 45%); }
.gsl-act--join { border-color: rgb(34 228 255 / 60%); color: #a9f3ff; }
.gsl-count {
  min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center;
  border-radius: 2px; background: #e03cff; box-shadow: 0 0 8px rgb(224 60 255 / 70%);
  font-size: 10px; font-weight: 700;
}

.gsl-pick {
  flex-basis: 100%; margin: 8px 0 0 19px; padding: 10px;
  border: 1px solid rgb(224 60 255 / 45%); border-radius: 2px; background: rgb(5 4 15 / 80%);
}
.gsl-pick__title { margin: 0 0 6px; font: 700 11px/1.2 "Orbitron", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #f3b3ff; }
.gsl-pick__list { margin: 0 0 8px; padding: 0; list-style: none; }
.gsl-pick__game {
  width: 100%; margin-bottom: 4px; padding: 7px 8px; text-align: left;
  border: 1px solid rgb(120 140 255 / 22%); border-radius: 2px; background: rgb(12 10 34 / 80%);
  color: #fff; font: 500 12.5px/1.3 "Exo 2", system-ui, sans-serif; cursor: pointer;
}
.gsl-pick__game:hover, .gsl-pick__game:focus-visible { border-color: var(--gsl-cyan); outline: none; }

/* toasts */
.gsl-toasts {
  position: fixed; z-index: 2600; left: 50%; top: calc(var(--r-nav-h, 58px) + 14px + env(safe-area-inset-top, 0px));
  transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center;
  width: min(460px, calc(100vw - 24px)); pointer-events: none;
}
.gsl-toast {
  pointer-events: auto; width: 100%; padding: 11px 14px; text-align: left;
  border: 1px solid rgb(34 228 255 / 55%); border-radius: 3px;
  background: linear-gradient(180deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 0%) 55%), rgb(12 10 34 / 92%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 18px rgb(34 228 255 / 30%), 0 10px 28px rgb(0 0 0 / 60%);
  color: #fff; font: 500 13.5px/1.4 "Exo 2", system-ui, sans-serif;
  animation: gsl-in .2s ease both; transition: opacity .3s;
}
button.gsl-toast { cursor: pointer; }
.gsl-toast.out { opacity: 0; }

/* invite modal */
.gsl-invite {
  position: fixed; inset: 0; z-index: 3100; display: grid; place-items: center; padding: 16px;
  background: rgb(5 4 15 / 55%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.gsl-invite__card {
  position: relative; width: min(440px, 100%); padding: 22px 22px 18px; overflow: hidden;
  border: 1px solid rgb(224 60 255 / 60%); border-radius: 3px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 16%) 0%, rgb(255 255 255 / 0%) 70px),
    radial-gradient(420px 220px at 100% 0%, rgb(224 60 255 / 22%), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, rgb(34 228 255 / 16%), transparent 70%),
    rgb(12 10 34 / 94%);
  box-shadow: 0 0 34px rgb(224 60 255 / 35%), 0 30px 70px rgb(0 0 0 / 70%), inset 0 1px 0 rgb(255 255 255 / 35%);
  color: #fff; font-family: "Exo 2", system-ui, sans-serif;
  animation: gsl-in .22s cubic-bezier(.2,.7,.2,1) both;
}
.gsl-invite__eyebrow { margin: 0 0 8px; font: 700 11px/1 "Orbitron", system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gsl-cyan); }
.gsl-invite__title { margin: 0 0 6px; font: 700 20px/1.25 "Orbitron", system-ui, sans-serif; }
.gsl-invite__who { background: var(--gsl-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gsl-invite__game { margin: 0 0 12px; font-size: 16px; color: #f3b3ff; }
.gsl-invite__note { margin: 0 0 12px; font-style: italic; color: rgb(230 236 255 / 85%); }
.gsl-invite__reply { width: 100%; margin-bottom: 12px; box-sizing: border-box; }
.gsl-invite__actions { display: flex; gap: 10px; }
.gsl-invite__actions > * { flex: 1; justify-content: center; min-height: 44px; }
.gsl-invite__timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(255 255 255 / 10%); }
.gsl-invite__timer i { display: block; height: 100%; background: var(--gsl-grad); transform-origin: 0 50%; transition: transform .5s linear; }
.gsl-invite .gsl-act, .gsl-invite .gsl-send { font-size: 12px; }
.gsl-invite .gsl-input { font-family: "Exo 2", system-ui, sans-serif; }

/* netplay status chip on the player */
.gsl-npstatus {
  position: fixed; z-index: 2700; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  padding: 10px 16px; border: 1px solid rgb(34 228 255 / 60%); border-radius: 3px;
  background: linear-gradient(180deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 0%) 55%), rgb(12 10 34 / 92%);
  box-shadow: 0 0 18px rgb(34 228 255 / 35%); color: #fff;
  font: 600 13px/1.2 "Exo 2", system-ui, sans-serif; max-width: calc(100vw - 32px); text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .gsl-invite__card, .gsl-toast { animation: none; }
  .gsl-invite__timer i { transition: none; }
}

/* ---- Games picker ---- */
.gsl-games { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px; gap: 8px; overflow: hidden; }
.gsl-games[hidden] { display: none; }
.gsl-games__banner {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px;
  border: 1px solid rgb(224 60 255 / 55%); border-radius: 2px; background: rgb(224 60 255 / 12%);
  font: 600 13px/1.3 "Exo 2", system-ui, sans-serif; color: #f3b3ff;
}
.gsl-games__search .gsl-input { width: 100%; box-sizing: border-box; }
.gsl-games__h { margin: 4px 0 0; font: 700 10.5px/1 "Orbitron", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgb(200 205 255 / 60%); }
.gsl-games__list { flex: 1; min-height: 0; margin: 0; padding: 0; list-style: none; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgb(160 90 255 / 50%) transparent; }
.gsl-game {
  display: flex; gap: 10px; padding: 8px; margin-bottom: 6px;
  border: 1px solid rgb(120 140 255 / 18%); border-radius: 2px;
  background: linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 0%) 60%), rgb(5 4 15 / 45%);
  outline: none;
}
.gsl-game:focus, .gsl-game:focus-within { border-color: var(--gsl-cyan); box-shadow: 0 0 12px rgb(34 228 255 / 30%); }
.gsl-game__cover { flex: none; width: 46px; height: 62px; object-fit: cover; border: 1px solid rgb(120 140 255 / 30%); border-radius: 2px; background: #0a0820; }
.gsl-game__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.gsl-game__name { font-weight: 700; font-size: 13.5px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gsl-game__plat { font-size: 11.5px; color: #a9f3ff; }
.gsl-game__acts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.gsl-game__acts .gsl-act { min-height: 28px; padding: 0 8px; font-size: 11.5px; }
@media (width < 600px) { .gsl-game__cover { width: 38px; height: 52px; } }

/* ---- more tabs: compact, scrollable strip ---- */
.gsl-tabs { overflow-x: auto; scrollbar-width: none; }
.gsl-tabs::-webkit-scrollbar { display: none; }
.gsl-tab { flex: 1 0 auto; padding: 10px 9px; font-size: 10.5px; letter-spacing: .08em; }
.gsl-ext { flex: 1; min-height: 0; overflow-y: auto; padding: 12px; scrollbar-width: thin; scrollbar-color: rgb(160 90 255 / 50%) transparent; }
.gsl-ext[hidden] { display: none; }
.gsl-userlink { all: unset; cursor: pointer; font-weight: 700; font-size: 13px; color: #a9f3ff; }
.gsl-userlink:hover, .gsl-userlink:focus-visible { text-decoration: underline; outline: none; }
.gsl-msg.is-me .gsl-userlink { color: #f3b3ff; }
.gsl-you { flex-basis: auto !important; }
/* many tabs: wrap onto two rows instead of scrolling out of view */
.gsl-tabs { flex-wrap: wrap; overflow: visible; row-gap: 0; }
.gsl-tab { flex: 1 0 22%; }
.gsl-tab { white-space: nowrap; }
.gsl-msg.is-system { border-left-color: #ffd76a; background: linear-gradient(90deg, rgb(255 215 106 / 12%), rgb(224 60 255 / 6%)), rgb(5 4 15 / 50%); }
.gsl-system { font-weight: 700; color: #ffd76a; }
.gsl-navtab { flex-direction: row !important; flex-wrap: nowrap; white-space: nowrap; }
