/* New game_app old log pages */

body.gaol-standalone-log {
  margin: 0;
  background:
    linear-gradient(180deg, #eef5ff 0%, #dbe7f5 100%);
  color: #111827;
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 14px;
}

.gaol-standalone-log * {
  box-sizing: border-box;
}

.gaol-log-page {
  width: 100%;
  min-width: 980px;
  padding: 14px;
}

.gaol-log-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.gaol-log-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid #c6d3e6;
}

.gaol-log-titlebox {
  min-width: 0;
}

.gaol-log-kicker {
  color: #52657c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.gaol-log-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
}

.gaol-log-titlebox h2 {
  margin: 2px 0 0;
  color: #102033;
  font-size: 22px;
  line-height: 1.25;
}

.gaol-log-title-row h2 {
  margin: 0;
}

.gaol-log-subtitle,
.gaol-log-meta {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.gaol-header-options {
  margin-top: 4px;
}

.gaol-log-back {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #8fa7c5;
  border-radius: 8px;
  background: #eef5ff;
  color: #17406f;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.gaol-log-back:hover {
  background: #dcecff;
}

.gaol-list-page {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 24px 26px;
  box-sizing: border-box;
}

.gaol-list-page .old-log-head,
.gaol-list-page .old-log-search,
.gaol-list-page .old-log-meta,
.gaol-list-page .old-log-pager,
.gaol-list-page .old-log-empty {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.gaol-list-page .old-log-table-wrap {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}

.gaol-list-table {
  width: 100%;
  min-width: 0;
  max-width: 900px;
  table-layout: fixed;
}

.gaol-list-table .col-options {
  text-align: left;
}

.gaol-list-table .col-no { width: 48px; }
.gaol-list-table .col-name { width: 165px; }
.gaol-list-table .col-time { width: 130px; }
.gaol-list-table .col-count { width: 58px; }
.gaol-list-table .col-win { width: 44px; }
.gaol-list-table .col-options { width: auto; }

.gaol-list-table th,
.gaol-list-table td {
  padding-left: 6px;
  padding-right: 6px;
}

.gaol-list-table .log-name {
  min-width: 0;
  width: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}

.gaol-list-table .log-room-link {
  display: inline;
  max-width: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.gaol-list-table .log-time {
  width: auto;
  font-size: 11px;
}

.gaol-list-table .log-win {
  width: auto;
}

.gaol-list-table .log-options {
  min-width: 0;
}


.gaol-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  line-height: 1.6;
}

.gaol-options small {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.gaol-options img {
  width: auto;
  height: 16px;
  max-width: none;
  vertical-align: -3px;
}

.gaol-count-chip,
.gaol-win-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.gaol-win-human { color: #166534; background: rgba(220, 252, 231, 0.86); }
.gaol-win-wolf { color: #991b1b; background: rgba(254, 226, 226, 0.86); }
.gaol-win-fox { color: #6b21a8; background: rgba(243, 232, 255, 0.86); }
.gaol-win-lover { color: #be185d; background: rgba(252, 231, 243, 0.86); }
.gaol-win-draw { color: #475569; }
.gaol-win-custo { color: #1d4ed8; background: rgba(219, 234, 254, 0.86); }

.gaol-view-page {
  padding: 24px;
}

.gaol-view-card {
  padding: 20px;
}

.gaol-room-head {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.72);
}

.gaol-room-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.gaol-room-title h2 {
  margin: 0;
  color: #111827;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 900;
}

.gaol-room-title span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.gaol-control-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0 12px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.gaol-control-panel label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.gaol-control-panel select,
.gaol-control-panel button {
  min-height: 28px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  padding: 0 10px;
  font-weight: 900;
}

.gaol-control-panel button {
  border-color: transparent;
  background: #2563eb;
  color: #fff;
}

.gaol-section {
  margin-top: 12px;
}

.gaol-section-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.gaol-player-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.gaol-player-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.gaol-player-card.is-dead {
  background: rgba(107, 114, 128, 0.18);
  border-color: rgba(107, 114, 128, 0.32);
}

.gaol-player-card.is-sudden-death-1 {
  color: #111827;
  background: linear-gradient(180deg, #c7d2fe 0%, #8080ff 100%);
  border-color: rgba(100, 100, 255, 0.5);
}

.gaol-player-card.is-sudden-death-2 {
  color: #111827;
  background: linear-gradient(180deg, #fecaca 0%, #ff8080 100%);
  border-color: rgba(255, 120, 120, 0.5);
}

.gaol-player-card.is-gm {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.5);
}

.gaol-player-card.is-marked {
  box-shadow: inset 0 0 0 2px rgba(245, 158, 11, 0.6);
}

.gaol-avatar-wrap {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.gaol-avatar {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
  border: 2px solid;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.45);
}

.gaol-avatar-stack {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.gaol-avatar-stack .gaol-avatar-real {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
}

.gaol-avatar-stack:hover .gaol-avatar-ghost {
  opacity: 0;
}

.gaol-avatar-stack:hover .gaol-avatar-real {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gaol-player-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.gaol-player-name {
  min-width: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.gaol-player-trip {
  min-width: 0;
  margin-top: -1px;
  font-size: 11px;
  line-height: 1.15;
  word-break: break-all;
  opacity: 0.88;
}

.gaol-player-trip a {
  color: inherit;
  text-decoration: none;
}

.gaol-player-trip span {
  margin-right: 2px;
}

.gaol-player-trip a:hover {
  text-decoration: underline;
}

.gaol-player-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.gaol-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.84);
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.gaol-role-GM {
  background: rgba(255, 128, 0, 0.14);
  color: #ff8000;
  box-shadow: inset 0 0 0 1px rgba(255, 128, 0, 0.35);
}

.gaol-role-human {
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.18);
}

.gaol-role-wolf,
.gaol-role-wfbig,
.gaol-role-mad {
  background: rgba(255, 0, 0, 0.10);
  color: #ff0000;
  box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.32);
}

.gaol-role-wfbsk {
  background: rgba(208, 0, 0, 0.12);
  color: #d00000;
  box-shadow: inset 0 0 0 1px rgba(208, 0, 0, 0.34);
}

.gaol-role-wfasm,
.gaol-role-wfpdt {
  background: rgba(255, 48, 0, 0.13);
  color: #ff3000;
  box-shadow: inset 0 0 0 1px rgba(255, 48, 0, 0.34);
}

.gaol-role-wfwtr {
  background: #111827;
  color: #ccffff;
  box-shadow: inset 0 0 0 1px rgba(204, 255, 255, 0.65);
}

.gaol-role-mage {
  background: rgba(153, 51, 255, 0.12);
  color: #9933ff;
  box-shadow: inset 0 0 0 1px rgba(153, 51, 255, 0.32);
}

.gaol-role-necromancer {
  background: rgba(0, 153, 0, 0.12);
  color: #009900;
  box-shadow: inset 0 0 0 1px rgba(0, 153, 0, 0.34);
}

.gaol-role-common {
  background: rgba(204, 153, 102, 0.16);
  color: #cc9966;
  box-shadow: inset 0 0 0 1px rgba(204, 153, 102, 0.42);
}

.gaol-role-guard {
  background: rgba(51, 153, 255, 0.13);
  color: #3399ff;
  box-shadow: inset 0 0 0 1px rgba(51, 153, 255, 0.36);
}

.gaol-role-fox,
.gaol-role-fosi,
.gaol-role-betr,
.gaol-role-foxism,
.gaol-role-fxism {
  background: rgba(204, 0, 153, 0.12);
  color: #cc0099;
  box-shadow: inset 0 0 0 1px rgba(204, 0, 153, 0.34);
}

.gaol-role-poison,
.gaol-role-cat {
  background: rgba(0, 102, 51, 0.13);
  color: #006633;
  box-shadow: inset 0 0 0 1px rgba(0, 102, 51, 0.36);
}

.gaol-role-mytho,
.gaol-role-mimic {
  background: rgba(255, 128, 0, 0.14);
  color: #ff8000;
  box-shadow: inset 0 0 0 1px rgba(255, 128, 0, 0.36);
}

.gaol-role-owlman {
  background: rgba(255, 255, 255, 0.94);
  color: #000080;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 128, 0.36);
}

.gaol-role-pengu {
  background: rgba(255, 153, 51, 0.16);
  color: #ff9933;
  box-shadow: inset 0 0 0 1px rgba(255, 153, 51, 0.40);
}

.gaol-role-lovers {
  background: rgba(60, 0, 60, 0.84);
  color: #ff80ff;
  box-shadow: inset 0 0 0 1px rgba(255, 128, 255, 0.60);
}

.gaol-role-authority,
.gaol-role-decide {
  background: rgba(15, 23, 42, 0.86);
  color: #999999;
  box-shadow: inset 0 0 0 1px rgba(153, 153, 153, 0.55);
}

.gaol-log-stream {
  display: grid;
  gap: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid #a9b8cf;
  border-radius: 10px;
  overflow: hidden;
}

.gaol-log-row {
  background: floralwhite;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.32);
  padding: 5px 8px;
  color: #111827;
  font-size: 13px;
  line-height: 1.45;
}

.gaol-log-row:last-child {
  border-bottom: 0;
}

.gaol-log-row.gaol-phase-beforegame {
  background: seashell;
  border-bottom-color: #e8d6c8;
}

.gaol-log-row.gaol-phase-day {
  background: floralwhite;
  border-bottom-color: #eadfc9;
}

.gaol-log-row.gaol-phase-night {
  background: #000030;
  color: #f8fafc;
  border-bottom-color: #202054;
}

.gaol-log-row.gaol-phase-aftergame {
  background: aliceblue;
  border-bottom-color: #cfe0ef;
}

.gaol-log-row.gaol-phase-heaven {
  background: #cccccc;
  border-bottom-color: #b8b8b8;
  color: #111827;
}

.gaol-talk-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 12.5em) minmax(0, 1fr);
  column-gap: 6px;
  align-items: start;
}

.gaol-talk-name {
  min-width: 0;
  font-weight: 900;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.gaol-talk-time {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gaol-phase-night .gaol-talk-time {
  color: #cbd5e1;
}

.gaol-talk-body {
  min-width: 0;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.gaol-channel-label {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  vertical-align: 1px;
}

.gaol-talk-line.gaol-channel-wolf { color: #ffccff; }
.gaol-talk-line.gaol-channel-common { color: #ccffcc; }
.gaol-talk-line.gaol-channel-fox { color: #c084fc; }
.gaol-talk-line.gaol-channel-lovers { color: #ff80ff; }
.gaol-talk-line.gaol-channel-self { color: #f8fafc; }
.gaol-talk-line.gaol-channel-gm { color: #67e8f9; }
.gaol-talk-line.gaol-channel-heaven { color: #111827; }
.gaol-log-row.gaol-phase-heaven.gaol-channel-gm {
  background: #cccccc;
  color: #b91c1c;
}

.gaol-channel-label.gaol-channel-wolf { color: #7f1d1d; background: #ffe4f4; }
.gaol-channel-label.gaol-channel-common { color: #14532d; background: #dcfce7; }
.gaol-channel-label.gaol-channel-fox { color: #86198f; background: #fae8ff; }
.gaol-channel-label.gaol-channel-lovers { color: #9d174d; background: #fce7f3; }
.gaol-channel-label.gaol-channel-self { color: #334155; background: #e2e8f0; }
.gaol-channel-label.gaol-channel-gm { color: #155e75; background: #cffafe; }
.gaol-channel-label.gaol-channel-heaven { color: #111827; background: rgba(229, 231, 235, 0.92); }

.gaol-system-row {
  display: flex;
  justify-content: center;
  font-weight: 900;
  text-align: center;
}

.gaol-system-pill {
  max-width: min(860px, 100%);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(148, 163, 184, 0.18);
  color: inherit;
  line-height: 1.35;
  word-break: break-word;
}

.gaol-system-info .gaol-system-pill { background: rgba(59, 130, 246, 0.14); border-color: rgba(59, 130, 246, 0.28); color: #1e3a8a; }
.gaol-system-vote .gaol-system-pill { background: rgba(99, 102, 241, 0.16); border-color: rgba(99, 102, 241, 0.34); color: #312e81; }
.gaol-system-wolf .gaol-system-pill { background: rgba(204, 0, 0, 0.22); border-color: rgba(204, 0, 0, 0.46); color: #991b1b; }
.gaol-system-mage .gaol-system-pill { background: rgba(153, 0, 153, 0.18); border-color: rgba(153, 0, 153, 0.38); color: #6b21a8; }
.gaol-system-guard .gaol-system-pill { background: rgba(0, 153, 255, 0.18); border-color: rgba(0, 153, 255, 0.38); color: #075985; }
.gaol-system-cat .gaol-system-pill { background: rgba(0, 102, 51, 0.18); border-color: rgba(0, 102, 51, 0.38); color: #166534; }
.gaol-system-mad .gaol-system-pill { background: rgba(255, 128, 0, 0.18); border-color: rgba(255, 128, 0, 0.40); color: #9a3412; }
.gaol-system-danger .gaol-system-pill { background: rgba(220, 38, 38, 0.18); border-color: rgba(220, 38, 38, 0.36); color: #991b1b; }

.gaol-log-row.gaol-phase-night.gaol-system-row {
  background: #000030;
  border-bottom-color: #202054;
}

.gaol-phase-night.gaol-system-info .gaol-system-pill { color: #bcd7ff; background: rgba(30, 64, 175, 0.42); }
.gaol-phase-night.gaol-system-vote .gaol-system-pill { color: #fff0a6; background: rgba(113, 63, 18, 0.42); }
.gaol-phase-night.gaol-system-wolf .gaol-system-pill { color: #ffb7c5; background: rgba(127, 29, 29, 0.52); }
.gaol-phase-night.gaol-system-mage .gaol-system-pill { color: #dfc5ff; background: rgba(88, 28, 135, 0.44); }
.gaol-phase-night.gaol-system-guard .gaol-system-pill { color: #9ee8ff; background: rgba(12, 74, 110, 0.44); }
.gaol-phase-night.gaol-system-cat .gaol-system-pill { color: #b8ffc8; background: rgba(20, 83, 45, 0.44); }
.gaol-phase-night.gaol-system-mad .gaol-system-pill { color: #ffd0a8; background: rgba(124, 45, 18, 0.44); }
.gaol-phase-night.gaol-system-danger .gaol-system-pill { color: #ffb7b7; background: rgba(127, 29, 29, 0.58); }

.gaol-daybreak {
  background: #e0edff;
  border-color: rgba(37, 99, 235, 0.25);
  color: #1d4ed8;
  font-weight: 900;
  text-align: center;
}

.gaol-death-block,
.gaol-lastwords-block,
.gaol-vote-block {
  display: grid;
  gap: 4px;
  padding: 8px;
}

.gaol-death-block {
  margin: 4px;
  border: 1px solid rgba(220, 38, 38, 0.20);
  border-left: 4px solid rgba(220, 38, 38, 0.72);
  background: rgba(254, 242, 242, 0.92);
}

.gaol-lastwords-block {
  margin: 4px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-left: 4px solid rgba(37, 99, 235, 0.54);
  background: rgba(239, 246, 255, 0.88);
}

.gaol-vote-block {
  width: min(680px, calc(100% - 8px));
  margin: 4px auto;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(248, 250, 252, 0.86);
}

.gaol-death-title,
.gaol-lastwords-title,
.gaol-vote-title {
  font-size: 13px;
  font-weight: 900;
}

.gaol-death-line {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  color: #7f1d1d;
  font-weight: 900;
}

.gaol-death-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #991b1b;
}

.gaol-death-special {
  color: #1d4ed8;
}

.gaol-death-special .gaol-death-dot {
  background: #2563eb;
}

.gaol-death-detail {
  margin-top: 1px;
  color: #374151;
  font-size: 12px;
}

.gaol-lastword-line {
  display: grid;
  grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr);
  gap: 8px;
  padding: 6px 8px;
  border-top: 1px dashed rgba(148, 163, 184, 0.48);
  background: rgba(255, 255, 255, 0.48);
  line-height: 1.4;
}

.gaol-lastword-name {
  font-weight: 900;
  color: #1d4ed8;
  overflow-wrap: anywhere;
}

.gaol-lastword-name small {
  font-size: 11px;
  color: rgba(30, 64, 175, 0.78);
}

.gaol-lastword-body {
  min-width: 0;
  color: #111827;
  overflow-wrap: anywhere;
}

.gaol-victory-row {
  padding: 6px;
  background: floralwhite;
}

.gaol-victory-banner {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  text-align: center;
  color: #fff;
  background: #111827;
}

.gaol-victory-banner strong {
  font-size: 17px;
  line-height: 1.25;
}

.gaol-victory-banner span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.gaol-victory-wolf { background: #b91c1c; }
.gaol-victory-fox { background: #7e22ce; }
.gaol-victory-human {
  background: #f8fafc;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.14);
}
.gaol-victory-lover { background: #db2777; }
.gaol-victory-draw { background: #111827; }
.gaol-victory-custo { background: #047857; }
.gaol-victory-night { background: #020617; }

.gaol-vote-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.gaol-vote-table td {
  padding: 4px 6px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.36);
}

.gaol-vote-table .name {
  font-weight: 900;
  overflow-wrap: anywhere;
}

.gaol-empty {
  padding: 22px 16px;
  color: #64748b;
  text-align: center;
  font-weight: 900;
}

@media (max-width: 900px) {
  .gaol-log-page {
    min-width: 0;
    padding: 8px;
  }

  .gaol-log-shell {
    padding: 10px;
  }

  .gaol-talk-line {
    grid-template-columns: 64px minmax(0, 7.8em) minmax(0, 1fr);
    column-gap: 5px;
  }

  .gaol-lastword-line {
    grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr);
  }

  .gaol-view-page {
    padding: 12px;
  }

  .gaol-player-grid {
    min-width: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
  }

  .gaol-player-wrap {
    overflow-x: visible;
  }

  .gaol-player-card {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
    min-height: 96px;
  }

  .gaol-avatar-wrap {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .gaol-avatar,
  .gaol-avatar-stack {
    max-width: 36px;
    max-height: 36px;
  }

  .gaol-avatar-stack {
    width: 36px;
    height: 36px;
  }

  .gaol-avatar-stack .gaol-avatar-ghost {
    width: 36px !important;
    height: 36px !important;
  }

  img.gaol-avatar {
    max-width: 36px !important;
    max-height: 36px !important;
  }

  .gaol-player-info {
    width: 100%;
    gap: 2px;
  }

  .gaol-player-name {
    width: 100%;
    text-align: center;
    font-size: 11px;
    line-height: 1.15;
    max-height: 2.3em;
    overflow: hidden;
  }

  .gaol-player-trip {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 9.5px;
    line-height: 1.08;
    max-height: 2.2em;
    overflow: hidden;
    opacity: 0.86;
  }

  .gaol-player-trip span {
    margin-right: 1px;
  }

  .gaol-player-trip a {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .gaol-player-badges {
    justify-content: center;
    width: 100%;
    gap: 2px;
    max-height: 18px;
    overflow: hidden;
  }

  .gaol-player-badges > .gaol-badge:not([class*="gaol-role-"]) {
    display: none;
  }

  .gaol-player-badges > .gaol-badge[class*="gaol-role-"] {
    max-width: 100%;
    min-height: 17px;
    padding: 2px 5px;
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
