/* =====================================================================
   "Escolher servidor" — the Pergaminho de Mana look (launcher concept A, owner 2026-11-07).
   An open scroll: aged paper with watercolour corners (mana teal, leaf green, rose), carved wooden rods with gold
   bands and teal gem finials on top and bottom, a gold rule with the filigree corners (assets/ui/mana), Cinzel
   titles / realm names / ping, DM Sans text, mana teal accents ("Recomendado", keyboard focus).
   The panel keeps paper colours in every site theme (blue / green / white); the rows keep the structure that
   portal/entry.js and js/ui.js write into (.tg-srv-row, .tg-srv-flag.lumen|eldor, .tg-srv-st, .tg-srv-pop small,
   .tg-srv-bar i, .tg-srv-ping, .tg-srv-name b, .tg-srv-note).
   Every rule starts with `:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv` (specificity 1,6,0) so it wins over
   title.css, theme_mana.css and portal/entry.css (their strongest server-list rules are 1,5,2 / 1,6,2 for :hover)
   whatever the link order. Text sizes follow the player's text size (--txt, 1.25 by default).
   ===================================================================== */

:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv {
  --sv-ink: #4f3418;
  --sv-ink-2: #6a4c2a;
  --sv-ink-3: #7d5e36;                 /* 5.1:1 on the paper */
  --sv-gold: #d9a84a;
  --sv-gold-deep: #8f6420;
  --sv-rule: rgba(160, 110, 38, .62);
  --sv-mana: #1f8a8c;
  --sv-leaf: #2f7a3a;
  --sv-amber: #9a520f;
  --sv-in: 12px;                       /* where the filigree frame starts (the rule runs ~10px further in) */
  /* the site themes darken these for the portal panels; inside the scroll they are paper again */
  --mn-ink: var(--sv-ink); --mn-ink-2: var(--sv-ink-2); --mn-ink-3: var(--sv-ink-3);
  --mn-gold-hi: #fff4c2; --mn-gold: #e2b65a; --mn-gold-mid: #c9953a; --mn-gold-deep: #8a5f1e; --mn-line: #d8bd86;
  --mn-leaf-hi: #c8e89a; --mn-leaf: #6aa84f; --mn-leaf-deep: #2f7a3a; --mn-sky-deep: #2f8592; --mn-rose-deep: #b23a52;
  --mn-paper-hi: #fffaf0; --mn-paper: #f8efd9; --mn-paper-2: #f1e2bf; --mn-paper-3: #e6d0a1; --mn-well: #efe1c0;
  --mn-paper-tex: url(../assets/ui/mana/paper.webp);
  --mn-focus: 0 0 0 2px #fffaf0, 0 0 0 4px var(--sv-mana);
  position: relative;
  isolation: isolate;
  gap: 10px;
  margin: 30px 0 22px;                 /* room for the rods */
  padding: 34px 30px 30px;
  color: var(--sv-ink);
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-shadow: none;
  border: 0;
  border-radius: 3px;
  background:
    radial-gradient(62% 46% at 0% 0%, rgba(96, 200, 192, .34), rgba(96, 200, 192, 0) 72%),
    radial-gradient(60% 44% at 100% 0%, rgba(240, 176, 196, .26), rgba(240, 176, 196, 0) 72%),
    radial-gradient(66% 48% at 100% 100%, rgba(96, 200, 192, .3), rgba(96, 200, 192, 0) 72%),
    radial-gradient(62% 46% at 0% 100%, rgba(140, 200, 90, .32), rgba(140, 200, 90, 0) 72%),
    radial-gradient(70% 56% at 50% 46%, rgba(255, 252, 238, .82), rgba(255, 252, 238, 0) 76%),
    linear-gradient(90deg, rgba(160, 112, 48, .28) 0, rgba(160, 112, 48, 0) 7%, rgba(160, 112, 48, 0) 93%, rgba(160, 112, 48, .3) 100%),
    linear-gradient(180deg, rgba(120, 76, 24, .3) 0, rgba(120, 76, 24, 0) 5%, rgba(120, 76, 24, 0) 95%, rgba(120, 76, 24, .32) 100%),
    url(../assets/ui/mana/paper.webp) 0 0 / 256px 256px,
    #f3e5c2;
  box-shadow: 0 26px 40px -22px rgba(36, 20, 4, .75), 0 8px 18px -10px rgba(36, 20, 4, .45);
  outline: 1px solid rgba(160, 110, 38, .3);
  outline-offset: calc(-1 * (var(--sv-in) + 16px));     /* the inner, fainter rule */
}

/* the two rods: carved wood, a gold filet along the middle, gold bands near the ends, gold finials with a mana gem */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv::before,
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv::after {
  content: "";
  display: block;
  position: absolute;
  left: -13px;
  right: -13px;
  height: 30px;
  z-index: 3;
  inset-block: auto;
  pointer-events: none;
  border: 0;
  border-image: none;
  border-radius: 0;
  opacity: 1;
  clip-path: none;
  transform: none;
  background:
    radial-gradient(closest-side, #f2fffd 0 16%, #8beee2 30%, #22a3a6 54%, rgba(34, 163, 166, 0) 66%) left center / 24px 30px no-repeat,
    radial-gradient(closest-side, #f2fffd 0 16%, #8beee2 30%, #22a3a6 54%, rgba(34, 163, 166, 0) 66%) right center / 24px 30px no-repeat,
    radial-gradient(closest-side, #fff8d8 0, #f3cf72 30%, #c08a30 66%, #6f4a12 92%, rgba(111, 74, 18, 0) 100%) left center / 24px 30px no-repeat,
    radial-gradient(closest-side, #fff8d8 0, #f3cf72 30%, #c08a30 66%, #6f4a12 92%, rgba(111, 74, 18, 0) 100%) right center / 24px 30px no-repeat,
    linear-gradient(180deg, rgba(36, 18, 4, .55) 0%, rgba(36, 18, 4, 0) 28%, rgba(255, 238, 196, .42) 40%, rgba(255, 238, 196, 0) 52%, rgba(36, 18, 4, 0) 70%, rgba(36, 18, 4, .62) 100%) center / calc(100% - 18px) 20px no-repeat,
    linear-gradient(180deg, transparent 0 9px, rgba(246, 214, 128, .85) 9px 10.5px, transparent 10.5px) center / calc(100% - 60px) 20px no-repeat,
    linear-gradient(90deg, transparent 0 13px, #f1cf72 13px 18px, #8a5c1a 18px 20px, #f1cf72 20px 23px, transparent 23px calc(100% - 23px), #f1cf72 calc(100% - 23px) calc(100% - 20px), #8a5c1a calc(100% - 20px) calc(100% - 18px), #f1cf72 calc(100% - 18px) calc(100% - 13px), transparent calc(100% - 13px)) center / calc(100% - 18px) 20px no-repeat,
    repeating-linear-gradient(90deg, rgba(60, 28, 6, 0) 0 11px, rgba(60, 28, 6, .16) 11px 12px, rgba(255, 220, 170, .06) 12px 13px, rgba(60, 28, 6, 0) 13px 29px) center / calc(100% - 18px) 20px no-repeat,
    linear-gradient(90deg, #7d4620, #a9693a 22%, #b77a46 50%, #a9693a 78%, #7d4620) center / calc(100% - 18px) 20px no-repeat;
  filter: drop-shadow(0 5px 5px rgba(50, 28, 6, .45));
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv::before { top: -16px; bottom: auto; }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv::after { top: auto; bottom: -16px; }

/* the gold rule and its filigree corners (frame-corners.svg: the rosette sits on the rule's corner) */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-list::before {
  content: "";
  position: absolute;
  inset: var(--sv-in);
  z-index: -1;
  pointer-events: none;
  border: 1px solid transparent;
  border-image: url(../assets/ui/mana/frame-corners.svg) 33 / 46px / 0 stretch;
  outline: 1.5px solid var(--sv-rule);
  outline-offset: -10px;
}

/* title: gold ink, the existing vine divider under it */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-pane-h {
  margin: 0 0 4px;
  text-align: center;
  font: 700 calc(20px * var(--txt-h, 1)) / 1.2 'Cinzel', Georgia, 'Times New Roman', serif;
  letter-spacing: .08em;
  color: #8a5a1c;
  background: linear-gradient(180deg, #c08a34 10%, #7a4e16 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-pane-h::after { width: min(240px, 70%); margin: 6px auto 0; -webkit-text-fill-color: initial; }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-hd { display: none; }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-list { position: static; display: flex; flex-direction: column; gap: 10px; }

/* a realm row: a lighter leaf of paper; name + tags, then where it is hosted (full width), then status · population · ping */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-srv-row {
  display: grid;
  grid-template-columns: 46px auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  grid-template-areas: "flag name name name" "flag status pop ping";
  align-items: center;
  gap: 9px 12px;
  width: 100%;
  min-height: 0;
  padding: 12px 14px 12px 12px;
  text-align: left;
  white-space: normal;
  font: 500 calc(10.4px * var(--txt)) / 1.3 'DM Sans', system-ui, sans-serif;
  color: var(--sv-ink);
  text-shadow: none;
  background: linear-gradient(180deg, rgba(255, 253, 245, .9), rgba(251, 242, 218, .82));
  border: 1px solid rgba(166, 116, 40, .55);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 0 rgba(255, 250, 230, .5), 0 8px 16px -12px rgba(90, 55, 12, .6);
  clip-path: none;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
  animation: sv-row-in .5s cubic-bezier(.2, .8, .2, 1) backwards;
  animation-delay: calc(var(--i, 0) * 90ms + 120ms);
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-srv-row:hover {
  color: var(--sv-ink);
  background: linear-gradient(180deg, #fffef8, #fff3d2);
  border-color: var(--sv-gold);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(246, 220, 142, .5), 0 10px 20px -12px rgba(90, 55, 12, .7);
  transform: translateY(-1px);
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-srv-row:focus-visible {
  color: var(--sv-ink);
  background: linear-gradient(180deg, #fffef8, #fff3d2);
  border-color: var(--sv-gold);
  outline: 3px solid var(--sv-mana);
  outline-offset: 3px;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 6px rgba(120, 236, 218, .28), 0 10px 20px -12px rgba(90, 55, 12, .7);
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-srv-row:active { transform: translateY(1px); box-shadow: inset 0 2px 6px rgba(138, 95, 30, .28); }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-srv-row:disabled { cursor: default; opacity: .7; transform: none; }

/* flags: the realm colours (title.css) in a gold frame */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-flag {
  grid-area: flag;
  align-self: start;
  width: 46px;
  height: 32px;
  font: 800 calc(9.6px * var(--txt)) / 1 'DM Sans', system-ui, sans-serif;
  letter-spacing: .06em;
  color: #fffbe8;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .65);
  border: 1.5px solid #c9953a;
  border-radius: 6px;
  clip-path: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 -6px 8px rgba(0, 0, 0, .12), 0 2px 4px rgba(74, 46, 20, .35);
}

:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-name { grid-area: name; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-name b {
  order: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 calc(13.6px * var(--txt)) / 1.15 'Cinzel', Georgia, 'Times New Roman', serif;
  letter-spacing: .02em;
  color: var(--sv-ink);
  text-shadow: none;
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-name .tg-srv-tags { order: 1; gap: 5px; }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-name small {
  order: 2;
  flex: 1 0 100%;
  font: 500 calc(9.6px * var(--txt)) / 1.35 'DM Sans', system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sv-ink-3);
}

/* tags: "Recomendado" in mana teal, "Sua conta" / "Último" in gold ink */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-tag {
  padding: 3px 8px 2px;
  border-radius: 999px;
  font: 800 calc(7.2px * var(--txt)) / 1.2 'DM Sans', system-ui, sans-serif;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: none;
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-tag.rec {
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, #4cc3ba, #1d8789);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(20, 100, 104, .45), 0 0 10px rgba(80, 210, 200, .45);
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-tag.last { color: #7a4e16; background: rgba(255, 249, 226, .92); border: 1px solid #c9953a; box-shadow: none; }

/* status (entry.js: Online / Offline / Manutenção / Cheio) */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-st {
  grid-area: status;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 calc(10.4px * var(--txt)) / 1 'DM Sans', system-ui, sans-serif;
  color: var(--sv-leaf);
  white-space: nowrap;
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-st.pre { color: var(--sv-amber); }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-gem {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  clip-path: none;
  background: radial-gradient(circle at 35% 30%, #e6f7c4, #6aa84f 55%, #2f7a3a);
  box-shadow: 0 0 0 2px rgba(106, 168, 79, .2), 0 0 6px rgba(106, 168, 79, .55);
  animation: sv-live 2.4s ease-in-out infinite;
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-st.pre .tg-srv-gem {
  background: radial-gradient(circle at 35% 30%, #fff0d0, #f0a040 55%, #b5620f);
  box-shadow: 0 0 0 2px rgba(240, 160, 64, .2);
  animation: none;
}

/* population: three leaf pills (entry.js turns them on: low 1, mid 2, high 3) and "N online" */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-pop { grid-area: pop; display: inline-flex; align-items: center; justify-self: start; gap: 7px; min-width: 0; }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-bar { display: inline-flex; gap: 3px; padding: 2px; border-radius: 999px; background: rgba(230, 208, 161, .6); border: 1px solid rgba(166, 116, 40, .45); }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-bar i { width: 13px; height: 6px; border-radius: 999px; background: rgba(150, 108, 48, .2); }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-bar i.on { background: linear-gradient(180deg, #d8f5a8, #6aa84f 55%, #2f7a3a); }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-pop small {
  display: block;                      /* title.css hides it on phones; here it fits */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 calc(9.6px * var(--txt)) / 1 'DM Sans', system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sv-ink-3);
}

/* ping: "PING 142 ms" (the median of the last samples: js/ui.js measurePings); "…" while measuring, "—" when it did not
   answer. DM Sans, not Cinzel: Cinzel has no lower case and would print the unit as "MS" */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-ping {
  grid-area: ping;
  display: inline-flex;
  align-items: baseline;
  justify-self: end;
  gap: 6px;
  min-width: 0;
  font: 800 calc(12.8px * var(--txt)) / 1 'DM Sans', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  color: #7a4e16;
  text-align: right;
  white-space: nowrap;
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-ping::before {
  content: "Ping";
  font: 800 calc(6.8px * var(--txt)) / 1 'DM Sans', system-ui, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sv-ink-3);
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-ping.wait { color: var(--sv-ink-3); animation: sv-wait 1.2s ease-in-out infinite; }

/* the note and the status line ("Levando sua conta…" / why a pick failed) */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-note {
  margin: 2px 8px 0;
  text-align: center;
  font: 400 calc(9.6px * var(--txt)) / 1.5 'DM Sans', system-ui, sans-serif;
  color: var(--sv-ink-2);
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-note:empty { margin: -10px 0 0; }   /* no gap for the empty status line */

/* Voltar: a paper button with a gold edge (concept A's "Escolher servidor") */
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-plq {
  min-height: 46px;
  margin-top: 2px;
  font: 700 calc(10.4px * var(--txt)) / 1 'DM Sans', system-ui, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sv-ink);
  text-shadow: none;
  background: rgba(255, 250, 236, .82);
  border: 1.5px solid rgba(170, 122, 48, .75);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(90, 55, 12, .6);
}
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-plq:hover { background: #fffaf0; border-color: var(--sv-gold); color: var(--sv-gold-deep); }
:root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-plq:focus-visible { background: #fffaf0; border-color: var(--sv-gold); color: var(--sv-gold-deep); outline: 3px solid var(--sv-mana); outline-offset: 3px; }

@keyframes sv-row-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sv-live { 0%, 100% { box-shadow: 0 0 0 2px rgba(106, 168, 79, .2), 0 0 4px rgba(106, 168, 79, .4); } 50% { box-shadow: 0 0 0 3px rgba(106, 168, 79, .28), 0 0 9px rgba(106, 168, 79, .7); } }
@keyframes sv-wait { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* phones: the name on top, status · population · ping below it */
@media (max-width: 560px) {
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv { --sv-in: 9px; margin: 28px 2px 20px; padding: 30px 20px 26px; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv::before,
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv::after { left: -9px; right: -9px; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-list::before { border-image-width: 38px; outline-offset: -8px; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-pane-h { font-size: calc(15.5px * var(--txt-h, 1)); letter-spacing: .06em; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-srv-row {
    grid-template-columns: 40px auto minmax(0, 1fr) auto;
    gap: 8px 9px;
    padding: 11px 12px 11px 10px;
  }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-flag { width: 40px; height: 28px; }
  /* room for "N online": slimmer pills, the "PING" label above the number */
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-pop { gap: 5px; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-bar { gap: 2px; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-bar i { width: 10px; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-ping { flex-direction: column; align-items: flex-end; gap: 3px; }
}
/* short landscape: the list is a scrolling column at most 280px wide (title.css) under the site header; the rods would be
   cut, so the paper alone, and each row stacks: name, where, status · ping, population */
@media (max-height: 500px) and (min-width: 561px) {
  :root body.portal-entry #ui.mode-title .title.st-gate .t-gate { justify-content: flex-start; }   /* the gate overflows here: start under the header */
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv { --sv-in: 6px; margin: 0; padding: 16px 14px 12px; gap: 7px; max-height: calc(100vh - 104px); }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv::before,
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv::after { display: none; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-list::before { border-image-width: 30px; outline-offset: -6px; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-pane-h { font-size: calc(14px * var(--txt-h, 1)); letter-spacing: .05em; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-srv-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-areas: "flag name name" "flag status ping" "flag pop pop";
    padding: 8px 10px 8px 8px;
    gap: 5px 8px;
  }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-flag { width: 34px; height: 24px; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-name b { white-space: normal; font-size: calc(11.5px * var(--txt)); }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-plq { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-srv-row { animation: none; transition: none; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .btn.tg-srv-row:hover { transform: none; }
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-gem,
  :root #ui.mode-title .tg-srv.tg-srv.tg-srv.tg-srv .tg-srv-ping.wait { animation: none; }
}
