/*
 * auth.css — AL Builder
 * Supabase auth modal, leaderboard tables, profile avatar/dropdown,
 * settings modal, and the all-leaderboards tab.
 */

/* ============================================================
   AUTH + LEADERBOARD UI
   ============================================================ */

/* Auth bar — sits in the site nav, pushed to the right */
#auth-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 0 8px;
  flex-shrink: 0;
}

.auth-username {
  color: #aaaaff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.auth-btn {
  background: #2a2a5a;
  color: #ccccff;
  border: 1px solid #4444aa;
  border-radius: 5px;
  padding: 4px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.auth-btn:hover  { background: #3a3a7a; }
.auth-btn-sm { padding: 3px 9px; font-size: 11px; }
.auth-btn-out { border-color: #664444; color: #ffaaaa; }
.auth-btn-out:hover { background: #3a2a2a; }
.auth-btn-reject { background: #2a2a2a; border-color: #555; color: #ccc; }
.auth-btn-reject:hover { background: #383838; }

/* Leaderboard button inside QTE panel headers */
.lb-open-btn {
  background: none;
  border: none;
  color: #aaaaff;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s;
  font-family: inherit;
}
.lb-open-btn:hover { background: #2a2a5a; }

/* Shared modal overlay */
#sb-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Dynamically-created overlays (donation modal, thank-you modal) */
.sb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.sb-modal-box {
  background: #1a1a2e;
  border: 1px solid #3a3a6a;
  border-radius: 10px;
  padding: 28px 24px 22px;
  min-width: 280px;
  max-width: 400px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none; border: none;
  color: #888; font-size: 20px;
  cursor: pointer; line-height: 1;
}
.sb-close:hover { color: #ccc; }

.sb-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: #ccccff;
  text-align: center;
}

.sb-input {
  background: #12121e;
  border: 1px solid #3a3a6a;
  border-radius: 5px;
  color: #ddd;
  font-family: inherit;
  font-size: 14px;
  padding: 8px 10px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.sb-input:focus { border-color: #6666cc; }

.sb-err {
  color: #ff8888;
  font-size: 12px;
  min-height: 16px;
  text-align: center;
}

.sb-submit {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  font-weight: 600;
}

.sb-divider {
  display: flex; align-items: center; gap: 8px;
  margin: 8px 0; color: #666; font-size: 12px;
}
.sb-divider::before, .sb-divider::after {
  content: ''; flex: 1; height: 1px; background: #444;
}
.sb-discord-btn {
  width: 100%; background: #5865f2; color: #fff;
  border: none; border-radius: 6px; padding: 8px 12px;
  font-size: 14px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}
.sb-discord-btn:hover { background: #4752c4; }
.sb-switch {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin: 0;
}
.sb-link {
  background: none; border: none;
  color: #aaaaff; cursor: pointer;
  font-size: 12px; text-decoration: underline;
  padding: 0; font-family: inherit;
}

/* Leaderboard table */
.sb-loading, .sb-empty {
  text-align: center;
  color: #888;
  font-size: 13px;
  padding: 12px 0;
  margin: 0;
}

.sb-lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #ccc;
}
.sb-lb-table th {
  color: #888;
  font-weight: 600;
  border-bottom: 1px solid #2a2a4a;
  padding: 4px 8px;
  text-align: left;
}
.sb-lb-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #1e1e38;
}
.sb-lb-table tr:last-child td { border-bottom: none; }
.sb-lb-me td { color: #aaffaa; font-weight: 600; }
.sb-lb-table th:first-child,
.sb-lb-table td:first-child { text-align: center; width: 28px; }
.sb-lb-table th:last-child,
.sb-lb-table td:last-child  { text-align: right; }
.sb-my-rank { margin: 10px 0 0; font-size: 13px; color: #aaffaa; text-align: center; }

/* ---- Current Highest — inline record row ---- */
.sb-lb-record-row td { background: #16120a; border-color: #3a2e0a !important; }
.sb-lb-record-row td:first-child { font-size: 14px; }
.sb-lb-record-row .lb-player-cell span:first-of-type { color: #d4a830; font-weight: 700; }
.lb-inline-record {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a6010;
  background: #2a1e04;
  border: 1px solid #3a2e0a;
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---- Profile avatar (nav bar) ---- */
.sb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.12s;
  letter-spacing: 0;
}
.sb-avatar:hover { opacity: 0.85; transform: scale(1.07); }

/* ---- Profile dropdown menu ---- */
.sb-profile-menu {
  position: fixed;
  background: #1a1a2e;
  border: 1px solid #3a3a6a;
  border-radius: 10px;
  min-width: 190px;
  z-index: 9100;
  box-shadow: 0 8px 28px rgba(0,0,0,0.55);
  overflow: hidden;
  padding: 0;
}

.sb-menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
}

.sb-menu-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.sb-menu-name {
  font-weight: 700;
  color: #ccccff;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-menu-divider {
  height: 1px;
  background: #252540;
  margin: 0;
}

.sb-menu-item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 11px 16px;
  color: #aaa;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.sb-menu-item:hover { background: #242448; color: #ddd; }
.sb-menu-item-danger { color: #ff9999; }
.sb-menu-item-danger:hover { background: #2a1a1a; color: #ffbbbb; }
.sb-menu-item-admin { color: #f4a460; }
.sb-menu-item-admin:hover { background: #2a1e0a; color: #ffcc80; }
.sb-menu-item-venia { color: #a090e0; }
.sb-menu-item-venia:hover { background: #18102a; color: #c4b5fd; }
.sb-menu-item-petent { color: #88bbaa; }
.sb-menu-item-petent:hover { background: #0e1a18; color: #aaddcc; }
.sb-menu-item-astra { color: #aaa870; }
.sb-menu-item-astra:hover { background: #1a1a0e; color: #dddd99; }

/* ---- Admin panel ---- */
.sb-admin-modal-box {
  max-width: 520px !important;
  width: 100% !important;
}
.sb-admin-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.sb-admin-crown { font-size: 22px; }
.sb-admin-title {
  font-size: 18px;
  font-weight: 700;
  color: #f4a460;
  letter-spacing: 0.5px;
}
.sb-admin-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #333;
  padding-bottom: 0;
  margin-bottom: 12px;
}
.sb-admin-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #777;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.sb-admin-tab:hover { color: #bbb; }
.sb-admin-tab.active { color: #f4a460; border-bottom-color: #f4a460; }
.sb-admin-status {
  font-size: 12px;
  min-height: 16px;
  margin-bottom: 8px;
  text-align: center;
}
.sb-admin-search-row {
  display: flex;
  gap: 8px;
}
.sb-admin-search-btn {
  background: #2a2a5a;
  border: 1px solid #4444aa;
  border-radius: 6px;
  color: #ccccff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 0 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.sb-admin-search-btn:hover { background: #3a3a7a; }
.sb-admin-user-card {
  background: #12121e;
  border: 1px solid #2a2a4a;
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
}
.sb-admin-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sb-admin-uname-display {
  font-size: 15px;
  font-weight: 700;
  color: #ddd;
}
.sb-admin-user-meta {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}
.sb-admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.sb-admin-action-btn {
  background: #1e1e2e;
  border: 1px solid #333;
  border-radius: 6px;
  color: #ccc;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.sb-admin-action-btn:hover { background: #2a2a3e; border-color: #555; color: #eee; }
.sb-admin-btn-ban  { border-color: #7b3030; color: #ff9999; }
.sb-admin-btn-ban:hover  { background: #2a1010; border-color: #aa4444; color: #ffbbbb; }
.sb-admin-btn-perma { border-color: #6a2080; color: #dd88ff; }
.sb-admin-btn-perma:hover { background: #1e0a2a; border-color: #9944cc; color: #eebeff; }
.sb-admin-btn-perma:disabled { border-color: #444; color: #555; background: none; cursor: default; }
.sb-admin-perma-btn {
  background: #1e0a2a;
  border: 1px solid #6a2080;
  border-radius: 4px;
  color: #dd88ff;
  font-size: 12px;
  padding: 3px 9px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.sb-admin-perma-btn:hover { background: #2a1040; color: #eebeff; }
.sb-admin-btn-scores { border-color: #2a4a7b; color: #99bbff; }
.sb-admin-btn-scores:hover { background: #101a2a; border-color: #4466aa; color: #bbddff; }
.sb-admin-btn-scores-one { border-color: #2a5a5a; color: #88dddd; }
.sb-admin-btn-scores-one:hover { background: #0a1e1e; border-color: #3a8888; color: #aaffff; }
.sb-admin-btn-listings { border-color: #4a4a20; color: #dddd88; }
.sb-admin-btn-listings:hover { background: #1a1a08; border-color: #777730; color: #eeeeaa; }
.sb-admin-btn-wipe {
  grid-column: 1 / -1;
  border-color: #6b2020;
  background: #1a0808;
  color: #ff7777;
  font-size: 14px;
}
.sb-admin-btn-wipe:hover { background: #2a1010; border-color: #cc3333; color: #ffaaaa; }
.sb-admin-ban-list {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-admin-ban-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #12121e;
  border: 1px solid #2a2a3a;
  border-radius: 6px;
  font-size: 13px;
  color: #ccc;
}
.sb-admin-unban-btn {
  background: #1e1e2e;
  border: 1px solid #3a5a3a;
  border-radius: 4px;
  color: #88cc88;
  font-size: 12px;
  font-family: inherit;
  padding: 3px 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.sb-admin-unban-btn:hover { background: #1a3a1a; color: #aaffaa; }
.sb-admin-empty { font-size: 13px; color: #555; font-style: italic; padding: 8px 0; }
.sb-admin-listing-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 340px;
  overflow-y: auto;
}
.sb-admin-listing-list::-webkit-scrollbar { width: 4px; }
.sb-admin-listing-list::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.sb-admin-listing-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  background: #0f0f1a;
  border: 1px solid #1e1e30;
  border-radius: 6px;
}
.sb-admin-listing-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.sb-admin-listing-user  { font-size: 12px; font-weight: 600; color: #c0b8e8; }
.sb-admin-listing-type  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.sb-listing-selling { color: #66bb6a; }
.sb-listing-buying  { color: #ffb74d; }
.sb-admin-listing-items { font-size: 12px; color: #ccc; }
.sb-admin-listing-lf    { font-size: 11px; color: #888; }
.sb-admin-listing-age   { font-size: 11px; color: #444; }
.sb-admin-del-listing-btn {
  background: #2a1616;
  border: 1px solid #4a2020;
  border-radius: 4px;
  color: #ef5350;
  font-size: 13px;
  padding: 3px 7px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s;
}
.sb-admin-del-listing-btn:hover { background: #3a1e1e; }
.sb-admin-results {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #2a2a3e;
  border-radius: 6px;
  background: #0f0f1a;
}
.sb-admin-results::-webkit-scrollbar { width: 4px; }
.sb-admin-results::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.sb-admin-result-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 13px;
  color: #ccc;
  cursor: pointer;
  transition: background 0.1s;
}
.sb-admin-result-row:hover { background: #1e1e30; color: #eee; }
.sb-admin-tool-btn {
  width: 100%;
  background: #1e1a08;
  border: 1px solid #6a5500;
  border-radius: 8px;
  color: #ddbb66;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.sb-admin-tool-btn:hover { background: #2a2408; border-color: #aa8800; color: #ffdd88; }

/* ---- Settings modal extras ---- */
.sb-field-label {
  font-size: 11px;
  color: #666;
  margin: 0 0 5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.sb-btn-full {
  width: 100%;
  padding: 9px;
  font-size: 13px;
  text-align: center;
}

.sb-consent-status {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.sb-consent-withdraw-btn,
.sb-consent-grant-btn {
  background: none;
  border: 1px solid #333;
  color: #888;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.sb-consent-withdraw-btn:hover { border-color: #883333; color: #ff8888; }
.sb-consent-grant-btn:hover    { border-color: #336633; color: #88cc88; }

.sb-btn-delete-account {
  border-color: #4a1a1a;
  color: #cc4444;
  margin-top: 2px;
}
.sb-btn-delete-account:hover { background: #2a0a0a; border-color: #883333; color: #ff6666; }

.sb-delete-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sb-delete-confirm-box {
  background: #111;
  border: 1px solid #3a1a1a;
  border-radius: 10px;
  padding: 28px 24px 20px;
  width: 100%;
  max-width: 360px;
}
.sb-delete-confirm-title {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #cc4444;
  margin: 0 0 12px;
}
.sb-delete-confirm-body {
  font-size: 13px;
  color: #999;
  margin: 0;
  line-height: 1.5;
}
.sb-delete-confirm-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

/* ---- Avatar image (inside circle) ---- */
.sb-avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.sb-avatar { position: relative; overflow: hidden; }

/* ---- Avatar upload in settings ---- */
.sb-avatar-upload-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.sb-avatar-upload-label {
  position: relative;
  cursor: pointer;
  display: inline-block;
  border-radius: 50%;
}
.sb-avatar-upload-label:hover .sb-avatar-cam { opacity: 1; }

.sb-avatar-cam {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.18s;
  pointer-events: none;
}

.sb-avatar-hint {
  font-size: 11px;
  color: #666;
  text-align: center;
}

/* ============================================================
   ALL LEADERBOARDS TAB
   ============================================================ */

#qte-panel-leaderboards {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.all-lb-wrap {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.all-lb-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.all-lb-title {
  margin: 0;
  font-size: 20px;
  font-family: 'Rajdhani', sans-serif;
  color: #e0d8c8;
  letter-spacing: 0.04em;
}

.all-lb-refresh-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid #333;
  color: #aaa;
  border-radius: 5px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}
.all-lb-refresh-btn:hover {
  background: rgba(255,255,255,0.13);
  color: #e0d8c8;
}

.all-lb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.all-lb-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.all-lb-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #c8a96e;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 6px;
}

.all-lb-table {
  width: 100%;
  font-size: 12px;
}

.all-lb-rank { color: #666; width: 24px; }
.all-lb-name { color: #ccc; }
.all-lb-score { color: #e0d8c8; text-align: right; white-space: nowrap; }

.dc-vastic-active {
  background: rgba(255,255,255,0.04);
  border-left: 2px solid #666;
}
.dc-vastic-formula {
  font-size: 11px;
  color: #666;
  padding: 1px 10px 6px;
}

.lb-player-cell {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lb-player-cell .sb-avatar {
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-player-cell .sb-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.all-lb-empty {
  color: #555;
  text-align: center;
  font-style: italic;
  padding: 6px 0;
}

#page-leaderboards.active {
  overflow-y: auto;
  padding: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

/* --- Platform filter tabs (all-leaderboards page) --- */
.all-lb-plat-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.all-lb-plat-tab {
  padding: 4px 16px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: #111118;
  border: 1.5px solid #252535;
  border-radius: 6px;
  color: #666;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.all-lb-plat-tab.active         { background: #1a1a35; border-color: #4444aa; color: #9999ee; }
.all-lb-plat-tab[data-platform="M"].active { border-color: #2a7a4a; color: #55cc88; background: #0d1e14; }
.all-lb-plat-tab[data-platform="C"].active { border-color: #2a5a8a; color: #55aadd; background: #0d1420; }

/* --- Platform filter tabs (per-QTE leaderboard modal) --- */
.lb-plat-tabs {
  display: flex;
  gap: 5px;
  margin: -6px 0 10px;
}

.lb-plat-tab {
  flex: 1;
  padding: 3px 8px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #111118;
  border: 1.5px solid #252535;
  border-radius: 5px;
  color: #555;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.lb-plat-tab.active             { background: #1a1a35; border-color: #4444aa; color: #9999ee; }
.lb-plat-tab.lb-plat-m.active  { border-color: #2a7a4a; color: #55cc88; background: #0d1e14; }
.lb-plat-tab.lb-plat-c.active  { border-color: #2a5a8a; color: #55aadd; background: #0d1420; }

/* --- M / C badge next to scores --- */
.lb-plat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1px 4px;
  border-radius: 3px;
  vertical-align: middle;
  line-height: 1.4;
  margin-left: 3px;
}

.lb-plat-m { background: #0d1e14; color: #55cc88; border: 1px solid #2a7a4a; }
.lb-plat-c { background: #0d1420; color: #55aadd; border: 1px solid #2a5a8a; }

