/* [project]/styles/globals.css [client] (css) */
:root {
  color: #111;
  --panel-bg: linear-gradient(165deg, #1a1e26fa 0%, #0e1218fc 100%);
  --panel-shadow: 0 8px 32px #00000059, inset 0 1px 0 #ffffff0f;
  --content-accent-border: #7abeff30;
  --steam-accent-border: var(--content-accent-border);
  --panel-border: var(--content-accent-border);
  --leaderboard-accent-border: var(--content-accent-border);
  --nav-bg: #17171e80;
  background-color: #050505;
  font-family: Inter, Segoe UI, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #ffffff2e transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: #ffffff2e;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff4d;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 100%;
  overflow-x: hidden;
}

body {
  overscroll-behavior-y: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: none;
  flex-direction: column;
  height: 100%;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  overflow-x: hidden;
}

#__next {
  flex-direction: column;
  flex: auto;
  width: 100%;
  min-height: 0;
  display: flex;
}

.site-header-sticky {
  z-index: 100;
  flex-shrink: 0;
  align-self: flex-start;
  width: 100%;
  position: sticky;
  top: 0;
}

.active-events-banner {
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  background: linear-gradient(90deg, #c8a05038 0%, #3c78dc1f 45%, #1e2634a6 100%);
  border-bottom: 1px solid #c8a05059;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  box-shadow: 0 2px 12px #0003;
}

.active-events-banner-inner {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: .35rem 2rem;
  display: flex;
  overflow: visible;
}

.active-events-banner-left {
  flex-wrap: wrap;
  flex: auto;
  align-items: center;
  gap: .5rem 1rem;
  min-width: 0;
  display: flex;
}

.active-events-banner-headline {
  letter-spacing: .04em;
  color: #f0d080;
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 700;
}

.active-events-banner-headline--idle {
  color: #c8c8d2bf;
  font-weight: 600;
}

.active-events-banner-stats {
  letter-spacing: .03em;
  color: #e8ecf2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 1.65rem;
  margin-left: auto;
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
}

.active-events-banner-stats-money-block {
  color: #f0d080;
  letter-spacing: .02em;
  align-items: center;
  gap: .35rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
}

.active-events-banner-stats-euro-logo {
  box-sizing: border-box;
  letter-spacing: .02em;
  color: #f0d080;
  text-shadow: 0 0 14px #f0d08066;
  background: #00000061;
  border: 3px solid #f0d0807a;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-self: center;
  align-items: center;
  width: 2em;
  min-width: 2em;
  height: 2em;
  font-size: .58em;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  box-shadow: inset 0 1px #ffe6b41a, 0 1px 4px #00000059, 0 0 14px #f0d08038;
}

.active-events-banner-stats-euro-char {
  font-size: 1.35em;
  line-height: 1;
  display: block;
}

.active-events-banner-stats-money {
  color: inherit;
  font-weight: inherit;
  text-shadow: 0 0 18px #f0d08059;
}

.active-events-banner-stats-sr-block {
  align-items: center;
  gap: .45em;
  line-height: 1;
  display: inline-flex;
}

.active-events-banner-stats-sr-logo {
  box-sizing: border-box;
  letter-spacing: .05em;
  color: #d0dce8;
  background: #00000061;
  border: 3px solid #82b9ff6b;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-self: center;
  align-items: center;
  width: 2em;
  min-width: 2em;
  height: 2em;
  font-size: .58em;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  box-shadow: inset 0 1px #ffffff12, 0 1px 4px #00000059;
}

.active-events-banner-stats-sr-value {
  color: #c8d0dceb;
  align-self: center;
  font-weight: 700;
  line-height: 1;
}

.active-events-banner-chips {
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .65rem;
  display: flex;
  overflow: visible;
}

.active-events-banner-chip {
  z-index: 1;
  box-sizing: border-box;
  background: #00000040;
  border: 1px solid #82b9ff59;
  border-radius: 6px;
  flex-wrap: nowrap;
  align-items: center;
  gap: .2rem .35rem;
  height: 1.875rem;
  min-height: 0;
  max-height: 1.875rem;
  padding: 0 .65rem;
  display: inline-flex;
  position: relative;
  overflow: visible;
}

.active-events-banner-chip-label {
  color: #c7d5e0;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
}

.active-events-banner-chip-value {
  color: #f0d080;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px #f0d08059;
  flex-shrink: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
}

.active-events-banner-chip--fallback {
  color: #f0d080;
  white-space: nowrap;
  justify-content: flex-start;
  align-items: center;
  font-size: .82rem;
  font-weight: 600;
}

.navbar {
  border-bottom: 1px solid var(--nav-border-bottom);
  z-index: 1;
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  background: linear-gradient(165deg, #182030eb 0%, #0e121af5 100%);
  padding: 0;
  position: relative;
  box-shadow: 0 3px 18px #00000038, inset 0 -1px #78afff33;
}

.nav-container {
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
}

.nav-logo {
  color: #fff;
  align-items: center;
  height: 60px;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
}

.nav-logo-img {
  width: auto;
  height: 75px;
  margin-left: -30px;
}

.discord-logo-link {
  border-radius: 4px;
  align-items: center;
  padding: .5rem;
  transition: all .2s;
  display: flex;
}

.discord-logo-link svg {
  color: #fff;
  fill: currentColor;
}

.discord-logo-link:hover {
  transform: scale(1.1);
}

.nav-links {
  align-items: center;
  gap: 2rem;
  display: flex;
}

.nav-link {
  color: #ccc;
  cursor: pointer;
  background: none;
  border: 0 solid #0000;
  border-radius: 4px;
  padding: .5rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
  transition: all .2s;
}

button.nav-link {
  color: #ccc;
  font-family: inherit;
  font-size: 1rem;
}

.nav-link:hover {
  color: #fff;
  background: #ffffff1a;
  border-color: #555;
}

.nav-link.active {
  color: #fff;
  background: #1f2c3deb;
}

.nav-link--disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-steam-login-btn {
  color: #66c0f4;
  cursor: pointer;
  white-space: nowrap;
  background: #66c0f426;
  border: 1px solid #66c0f466;
  border-radius: 6px;
  margin-left: 1rem;
  padding: .45rem 1rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
}

.nav-steam-login-btn:hover {
  color: #fff;
  background: #66c0f440;
  border-color: #66c0f499;
}

.logout-btn {
  margin-left: 1rem;
}

.profile-button-container {
  position: relative;
}

.profile-avatar-btn {
  cursor: pointer;
  background: #ffffff1a;
  border: 2px solid #fff3;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  transition: all .2s;
  display: flex;
  overflow: hidden;
}

.profile-avatar-btn:hover {
  border-color: #66c0f480;
  transform: scale(1.05);
  box-shadow: 0 0 10px #66c0f44d;
}

.profile-avatar-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.profile-avatar-placeholder {
  color: #ccc;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.profile-dropdown {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  min-width: 150px;
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none;
  z-index: 1000;
  border-radius: 8px;
  flex-direction: column;
  display: flex;
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  overflow: hidden;
}

.profile-dropdown-item {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  padding: .75rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  transition: background .2s;
}

.profile-dropdown-item:hover {
  background: #ffffff1a;
}

.profile-dropdown-item:first-child {
  border-bottom: 1px solid #333;
}

.settings-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.settings-header {
  color: #fff;
  margin-bottom: 2rem;
}

.settings-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.settings-content {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none;
  border-radius: 12px;
  padding: 2rem;
}

.settings-section {
  margin-bottom: 2rem;
}

.settings-section:last-child {
  margin-bottom: 0;
}

.settings-section h2 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.settings-item {
  margin-bottom: 1.5rem;
}

.settings-item:last-child {
  margin-bottom: 0;
}

.settings-item-content {
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  display: flex;
}

.settings-item-content h3 {
  color: #fff;
  margin: 0 0 .5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.settings-item-content p {
  color: #888;
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.delete-account-button {
  color: #ef4444;
  cursor: pointer;
  white-space: nowrap;
  background: #ef444433;
  border: 1px solid #ef444480;
  border-radius: 6px;
  padding: .75rem 1.5rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
}

.delete-account-button:hover {
  background: #ef44444d;
  border-color: #ef4444;
}

.delete-account-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.settings-delete-account-blocked-hint {
  color: #888;
  max-width: 36rem;
  margin: .5rem 0 0;
  font-size: .9rem;
  line-height: 1.45;
}

.admin-page__header {
  margin-bottom: 1.25rem;
}

.admin-page__header h1 {
  margin-bottom: 0;
}

.admin-page__panel {
  padding: 1.5rem 1.75rem;
}

.admin-page__title {
  color: #fff;
  border-bottom: 1px solid var(--steam-accent-border, #333);
  margin: 0 0 1.25rem;
  padding-bottom: .75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.admin-page__status {
  color: #8b98a5;
  margin: 0;
  font-size: .95rem;
}

.admin-page__error {
  color: #fecaca;
  background: #ef44441f;
  border: 1px solid #ef444459;
  border-radius: 8px;
  margin: 0 0 1rem;
  padding: .65rem .85rem;
  font-size: .9rem;
}

.admin-page__empty {
  color: #8b98a5;
  margin: 0;
  font-size: .95rem;
}

.admin-board-table-wrap {
  border: 1px solid var(--steam-accent-border, #333);
  border-radius: 8px;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.admin-board-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .95rem;
}

.admin-board-table thead {
  background: #00000040;
}

.admin-board-table th {
  text-align: left;
  color: #c7d5e0;
  border-bottom: 1px solid var(--steam-accent-border, #333);
  padding: .65rem 1rem;
  font-weight: 600;
}

.admin-board-table td {
  color: #e5e9ef;
  vertical-align: middle;
  border-bottom: 1px solid #ffffff0f;
  padding: .6rem 1rem;
}

.admin-board-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-board-table tbody tr:hover td {
  background: #ffffff08;
}

.admin-board-table__server {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 14rem;
  font-weight: 500;
  overflow: hidden;
}

.admin-board-radios {
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1.25rem;
  display: flex;
}

.admin-board-radio {
  cursor: pointer;
  color: #c7d5e0;
  -webkit-user-select: none;
  user-select: none;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  display: inline-flex;
}

.admin-board-radio input[type="radio"] {
  accent-color: #66c0f4;
  cursor: pointer;
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.admin-board-radio span {
  line-height: 1.2;
}

.admin-page__actions {
  justify-content: flex-end;
  display: flex;
}

.admin-page__save {
  color: #fff;
  background: #66c0f41f;
  border: 1px solid #66c0f473;
}

.admin-page__save:hover:not(:disabled) {
  background: #66c0f438;
  border-color: #66c0f4a6;
}

.admin-page__save:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.admin-emult-grid {
  flex-wrap: wrap;
  gap: 1.5rem;
  display: flex;
}

.admin-emult-item {
  flex-direction: column;
  gap: .4rem;
  display: flex;
}

.admin-emult-label {
  color: #aaa;
  font-size: .85rem;
}

.admin-emult-input-row {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.admin-emult-input {
  color: #fff;
  text-align: center;
  background: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  width: 3.5rem;
  padding: .4rem .5rem;
  font-size: 1.1rem;
}

.admin-emult-input:focus {
  border-color: #66c0f4;
  outline: none;
}

.admin-emult-hint {
  color: #888;
  min-width: 2rem;
  font-size: .9rem;
}

.admin-emult-footer {
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  display: flex;
}

.admin-emult-code {
  color: #666;
  font-family: monospace;
  font-size: .9rem;
}

.admin-active-cars-table .admin-car-internal {
  color: #8b98a5;
  word-break: break-all;
  font-size: .85rem;
}

.admin-car-num-input {
  border: 1px solid var(--steam-accent-border, #444);
  color: #e5e9ef;
  background: #00000059;
  border-radius: 4px;
  width: 7.5rem;
  max-width: 100%;
  padding: .35rem .45rem;
  font-size: .9rem;
}

.admin-car-num-input:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.admin-car-num-input:focus {
  border-color: #66c0f499;
  outline: none;
}

button.admin-car-row-save {
  white-space: nowrap;
  padding: .35rem .75rem;
  font-size: .82rem;
}

.admin-car-cost-cell {
  vertical-align: middle;
}

.admin-car-autosave-status {
  color: #8b98a5;
  white-space: nowrap;
  font-size: .82rem;
}

.admin-sort-th {
  vertical-align: bottom;
  padding: 0 !important;
}

.admin-sort-th--status {
  vertical-align: bottom;
  padding: .65rem .85rem !important;
}

.admin-sort-th--actions {
  padding: .65rem 1rem !important;
}

.admin-sort-th-btn {
  width: 100%;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
  color: #c7d5e0;
  background: none;
  border: none;
  border-radius: 4px;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: .65rem 1rem;
  display: flex;
}

.admin-sort-th-btn:hover {
  color: #eaf2f9;
  background: #ffffff0f;
}

.admin-sort-th-btn:focus-visible {
  outline-offset: -2px;
  outline: 2px solid #66c0f4b3;
}

.admin-sort-th-btn--rcost-grow {
  flex: auto;
  min-width: 0;
}

.admin-th-rcostbase-head.admin-sort-th {
  padding: 0 !important;
}

.admin-th-rcostbase-inner {
  align-items: stretch;
  gap: 0;
  width: 100%;
  display: flex;
}

.admin-rcost-bulk-btn {
  color: #eaf2f9;
  cursor: pointer;
  background: #66c0f41a;
  border: none;
  border-left: 1px solid #ffffff1a;
  flex: none;
  align-self: stretch;
  width: 1.75rem;
  min-height: 2.5rem;
  margin: 0;
  padding: 0;
  font-size: .85rem;
  font-weight: 600;
}

.admin-rcost-bulk-btn:hover:not(:disabled) {
  background: #66c0f438;
}

.admin-rcost-bulk-btn:focus-visible {
  outline-offset: -2px;
  outline: 2px solid #66c0f4cc;
}

.admin-rcost-bulk-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.admin-th-pi-inner {
  align-items: stretch;
  gap: 0;
  width: 100%;
  display: flex;
}

.admin-sort-th-btn--pi-grow {
  flex: auto;
}

.admin-pi-recalc-btn {
  color: #eaf2f9;
  cursor: pointer;
  background: #66c0f41a;
  border: none;
  border-left: 1px solid #ffffff1a;
  flex: none;
  width: 1.75rem;
  min-height: 2.5rem;
  margin: 0;
  padding: 0;
  font-size: .95rem;
  transition: background .15s;
}

.admin-pi-recalc-btn:hover:not(:disabled) {
  background: #66c0f438;
}

.admin-pi-recalc-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.admin-wr-btn {
  white-space: nowrap;
  padding: .2rem .5rem;
  font-size: .8rem;
}

.admin-wr-overlay.modal-overlay {
  z-index: 10050;
  align-items: flex-start;
  padding-top: 10vh;
}

.admin-wr-dialog {
  background: #16181cfa;
  border: 1px solid #ffffff29;
  border-radius: 10px;
  min-width: 360px;
  max-width: 560px;
  max-height: 80vh;
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: 0 12px 48px #0009;
}

.admin-wr-dialog-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  display: flex;
}

.admin-wr-dialog-header h3 {
  color: #e0e0e0;
  margin: 0;
  font-size: 1.05rem;
}

.admin-wr-dialog-close {
  color: #888;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: .2rem .4rem;
  font-size: 1.1rem;
}

.admin-wr-dialog-close:hover {
  color: #fff;
  background: #ffffff1a;
}

.admin-wr-popup-table {
  width: 100%;
}

.admin-wr-popup-table td {
  padding: .3rem .6rem;
}

.admin-wr-popup-table td:first-child {
  color: #aaa;
  white-space: nowrap;
}

.admin-wr-popup-table td:last-child {
  text-align: right;
  font-family: monospace;
}

.admin-wr-popup-subheader {
  color: #aaa;
  margin: 1rem 0 .5rem;
  font-size: .95rem;
}

.admin-rcost-bulk-overlay.modal-overlay {
  z-index: 10050;
  align-items: flex-start;
  padding-top: 10vh;
}

.admin-rcost-bulk-dialog {
  background: #16181cfa;
  border: 1px solid #ffffff29;
  border-radius: 10px;
  width: calc(100% - 2rem);
  max-width: 26rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 16px 48px #0000008c;
}

.admin-rcost-bulk-dialog h3 {
  color: #fff;
  margin: 0 0 .85rem;
  font-size: 1.1rem;
}

.admin-rcost-bulk-explained, .admin-rcost-bulk-example {
  color: #b8c5d3;
  margin: 0 0 1rem;
  font-size: .92rem;
  line-height: 1.45;
}

.admin-rcost-bulk-example {
  background: #00000059;
  border-radius: 6px;
  margin-bottom: 0;
  padding: .55rem .65rem;
}

.admin-rcost-bulk-slider-label {
  color: #c7d5e0;
  margin-bottom: .4rem;
  font-size: .93rem;
  display: block;
}

.admin-rcost-bulk-slider {
  accent-color: #66c0f4;
  width: 100%;
  margin: .25rem 0 1rem;
}

.admin-rcost-bulk-actions {
  border-top: 1px solid #ffffff14;
  justify-content: flex-end;
  gap: .65rem;
  margin-top: 1.1rem;
  padding-top: .75rem;
  display: flex;
}

.admin-repair-clamp-panel {
  background: #0003;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem .75rem;
  margin-top: .75rem;
  padding: .75rem .95rem;
  display: flex;
}

.admin-repair-clamp-panel--in-modal {
  width: 100%;
  margin-top: 0;
  margin-bottom: .35rem;
}

.admin-repair-clamp-label {
  color: #c7d5e0;
  margin-right: .35rem;
  font-size: .92rem;
  font-weight: 500;
}

.admin-repair-clamp-input {
  border: 1px solid var(--steam-accent-border, #444);
  color: #e5e9ef;
  background: #00000059;
  border-radius: 4px;
  width: 8.5rem;
  max-width: 100%;
  padding: .35rem .5rem;
  font-size: .9rem;
}

.admin-repair-clamp-save {
  padding: .35rem .85rem !important;
  font-size: .82rem !important;
}

.admin-repair-clamp-roster-btn {
  color: #c7d5e0;
  cursor: pointer;
  background: none;
  border: 1px solid #fff3;
  border-radius: 4px;
  padding: .35rem .85rem;
  font-size: .82rem;
}

.admin-repair-clamp-roster-btn:hover:not(:disabled) {
  color: #eaf2f9;
  background: #ffffff0f;
  border-color: #66c0f473;
}

.admin-repair-clamp-roster-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.admin-repair-clamp-hint {
  margin-top: .5rem !important;
}

.modal-overlay {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 10000;
  background: #000000b3;
  justify-content: center;
  align-items: center;
  animation: .2s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

.delete-modal {
  background: #141414f2;
  border: 1px solid #fff3;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  animation: .3s slideUp;
  position: relative;
  box-shadow: 0 8px 32px #00000080;
}

.delete-modal-header {
  margin-bottom: 1.5rem;
}

.delete-modal-header h2 {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.delete-modal-content {
  margin-bottom: 1.5rem;
}

.delete-warning {
  color: #ef4444;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.delete-modal-content p {
  color: #fff;
  margin-bottom: 1rem;
  font-size: .95rem;
  line-height: 1.6;
}

.delete-confirm-input {
  color: #fff;
  box-sizing: border-box;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 6px;
  width: 100%;
  margin-top: .5rem;
  padding: .75rem;
  font-family: inherit;
  font-size: 1rem;
}

.delete-confirm-input:focus {
  background: #ffffff26;
  border-color: #ef4444;
  outline: none;
}

.delete-confirm-input:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.delete-error {
  color: #ef4444;
  margin-top: .5rem;
  font-size: .9rem;
}

.delete-modal-actions {
  justify-content: flex-end;
  gap: 1rem;
  display: flex;
}

.delete-modal-cancel, .delete-modal-confirm {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  min-width: 120px;
  padding: .75rem 2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  transition: all .2s;
}

.delete-modal-cancel {
  color: #ffffffb3;
  background: #ffffff0d;
  border: 1px solid #fff3;
}

.delete-modal-cancel:hover:not(:disabled) {
  color: #fff;
  background: #ffffff1a;
  border-color: #ffffff4d;
}

.delete-modal-confirm {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.delete-modal-confirm:hover:not(:disabled) {
  background: #ef44444d;
  border-color: #ef4444;
}

.delete-modal-cancel:disabled, .delete-modal-confirm:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.settings-toggle {
  flex-shrink: 0;
  width: 50px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.settings-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.settings-toggle-slider {
  cursor: pointer;
  background-color: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 24px;
  transition: all .3s;
  position: absolute;
  inset: 0;
}

.settings-toggle-slider:before {
  content: "";
  background-color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  transition: all .3s;
  position: absolute;
  bottom: 2px;
  left: 2px;
}

.settings-toggle input:checked + .settings-toggle-slider {
  background-color: #66c0f44d;
  border-color: #66c0f4;
}

.settings-toggle input:checked + .settings-toggle-slider:before {
  background-color: #66c0f4;
  transform: translateX(26px);
}

.settings-toggle input:disabled + .settings-toggle-slider {
  opacity: .5;
  cursor: not-allowed;
}

.settings-loading {
  color: #888;
  padding: .5rem 0;
  font-size: .9rem;
}

.main-content {
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  background: none;
  flex: auto;
  min-height: 0;
  padding: 2rem;
  position: relative;
  overflow: hidden auto;
}

.main-content--car-dealer {
  flex-direction: column;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.main-content--car-dealer .page-content {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.main-content--servers {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  overflow: hidden;
}

.main-content--servers .servers-page {
  flex-direction: column;
  flex: auto;
  width: 100%;
  min-height: 0;
  display: flex;
}

.main-content--servers .servers-page .dashboard-header {
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.page-content {
  width: 100%;
}

.main-content:before {
  content: "";
  filter: blur(12px) brightness(.44);
  z-index: -1;
  background-image: url("/bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  inset: 0;
}

.main-content:after {
  content: "";
  z-index: -1;
  background: linear-gradient(#1620306b 0%, #0e142085 100%);
  position: fixed;
  inset: 0;
}

.page {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
}

.login-page {
  background: #1b2838;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  position: relative;
}

.login-page:before {
  content: "";
  filter: blur(8px);
  z-index: 0;
  background-image: url("/wp2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  inset: 0;
}

.login-card {
  text-align: center;
  z-index: 1;
  background: linear-gradient(135deg, #1e2329 0%, #2a475e 100%);
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  width: min(460px, 100%);
  padding: 3rem;
  position: relative;
  box-shadow: 0 8px 32px #00000080;
}

.login-logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  display: block;
}

.login-card p {
  color: #c7d5e0;
  margin-bottom: 2rem;
  font-size: .95rem;
}

.card {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  -webkit-backdrop-filter: none;
  text-align: center;
  width: min(460px, 100%);
  box-shadow: var(--panel-shadow);
  color: #fff;
  border-radius: 16px;
  padding: 3rem;
}

.card h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.card p {
  color: #c7d5e0;
  margin-bottom: 2rem;
}

.card.error {
  color: #c33;
  background: #fee;
}

.steam-btn {
  color: #1b2838;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: linear-gradient(#a4d007 0%, #80a005 100%);
  border: none;
  border-radius: 2px;
  justify-content: center;
  align-items: center;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
  display: inline-flex;
  box-shadow: 0 2px 4px #0000004d;
}

.steam-btn:hover {
  background: linear-gradient(#b8e00a 0%, #8fb006 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px #0006;
}

.steam-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px #0000004d;
}

.grey-screen {
  background: #bcbcbc;
  min-height: 100vh;
}

.dashboard-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.dashboard-welcome-box {
  background: linear-gradient(135deg, #66c0f426 0%, #66c0f40d 100%);
  border: 2px solid #66c0f44d;
  border-radius: 16px;
  margin-bottom: 2rem;
  padding: 2.5rem;
  box-shadow: 0 8px 32px #66c0f433;
}

.dashboard-welcome-content {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  display: flex;
}

.dashboard-welcome-title {
  color: #66c0f4;
  text-shadow: 0 2px 10px #66c0f44d;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.dashboard-welcome-message {
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  display: flex;
}

.dashboard-welcome-text {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.dashboard-welcome-text strong {
  color: #66c0f4;
  font-weight: 600;
}

.dashboard-welcome-button {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #66c0f4 0%, #4a9cd4 100%);
  border: none;
  border-radius: 8px;
  margin-top: .5rem;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all .3s;
  box-shadow: 0 4px 15px #66c0f466;
}

.dashboard-welcome-button:hover {
  background: linear-gradient(135deg, #7acff4 0%, #5aacf4 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #66c0f480;
}

.dashboard-header {
  color: #fff;
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.dashboard-header--guide {
  padding-right: 7rem;
  position: relative;
}

.guide-header-edit-btn {
  color: #ccc;
  cursor: pointer;
  background: #2a2a2a;
  border: 1px solid #555;
  border-radius: 4px;
  padding: .35rem .75rem;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 600;
  position: absolute;
  top: .35rem;
  right: 0;
}

.guide-header-edit-btn.is-active {
  color: #fff;
  background: #ffffff14;
  border-color: #ffffff47;
}

@media (max-width: 520px) {
  .dashboard-header--guide {
    padding-bottom: 2.5rem;
    padding-right: 0;
  }

  .guide-header-edit-btn {
    inset: auto auto 0 0;
  }
}

.dashboard-overview-content {
  flex-direction: column;
  width: 100%;
  display: flex;
}

.player-id {
  color: #888;
  font-size: .9rem;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.accolade-card {
  flex-direction: column;
  gap: .75rem;
  display: flex;
  overflow: hidden;
}

.accolade-list {
  flex-direction: column;
  gap: 0;
  width: calc(100% + 3rem);
  margin: 0 -1.5rem -1.5rem;
  display: flex;
}

.accolade-row {
  background: linear-gradient(135deg, #ffffff0d 0%, #ffffff05 100%);
  border: none;
  border-top: 1px solid #ffffff0d;
  border-radius: 0;
  flex-direction: column;
  padding: .75rem 1.5rem;
  transition: all .2s;
  display: flex;
  position: relative;
  box-shadow: inset 0 1px #ffffff1a, 0 2px 8px #0003;
}

.accolade-row:before {
  content: "";
  background: linear-gradient(90deg, #0000 0%, #fff3 50%, #0000 100%);
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.accolade-row:first-child {
  border-top: none;
}

.accolade-row:last-child {
  border-bottom: none;
}

.accolade-row:hover {
  background: linear-gradient(135deg, #ffffff14 0%, #ffffff0a 100%);
  box-shadow: inset 0 1px #ffffff26, 0 4px 12px #0000004d;
}

.accolade-label {
  color: #e5e7eb;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: .15rem;
  font-weight: 600;
  display: flex;
}

.accolade-reward {
  color: #a0e554;
  flex-shrink: 0;
  margin-left: auto;
  font-size: .92rem;
  font-weight: 600;
}

.accolade-values {
  color: #9ca3af;
  justify-content: space-between;
  align-items: center;
  font-size: .95rem;
  display: flex;
}

.accolade-progress {
  font-weight: 600;
}

.accolade-remaining {
  color: #9ca3af;
}

.dashboard-tabs {
  grid-column: 2;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 0;
  display: flex;
}

.tab-btn {
  color: #fff;
  cursor: pointer;
  text-align: center;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-right: none;
  border-radius: 0;
  margin: 0;
  padding: .75rem 2rem;
  font-weight: 500;
  transition: all .2s;
}

.tab-btn:first-child {
  border-left: 1px solid #ffffff1a;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.tab-btn:last-child {
  border-right: 1px solid #ffffff1a;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.tab-btn + .tab-btn {
  margin-left: -1px;
}

.tab-btn.active {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
  border-right: 1px solid #66c0f4 !important;
}

.tab-btn:hover {
  background: #ffffff1a;
  border-color: #fff3;
}

.owned-cars-panel {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  box-shadow: var(--panel-shadow);
  color: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.owned-cars-list {
  flex-direction: column;
  gap: .35rem;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.owned-cars-list li {
  background: #11151d;
  border: 1px solid #1f2933;
  border-radius: 8px;
  padding: .45rem .65rem;
}

.stat-card {
  background: var(--panel-bg);
  border: 1px solid var(--content-accent-border);
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none;
  color: #fff;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 12px;
  padding: 1.5rem;
  transition: opacity .2s, transform .2s;
}

.stat-card-online {
  background: #4ade8026;
  border: 1px solid #4ade8080;
  animation: 2s ease-in-out infinite alternate onlineGlow;
  box-shadow: 0 0 20px #4ade804d, 0 0 40px #4ade8026;
}

@keyframes onlineGlow {
  0% {
    box-shadow: 0 0 20px #4ade804d, 0 0 40px #4ade8026;
  }

  100% {
    box-shadow: 0 0 30px #4ade8066, 0 0 60px #4ade8033;
  }
}

.stat-card[draggable="true"], .stat-card[draggable] {
  cursor: grab;
}

.stat-card[draggable="true"]:hover, .stat-card[draggable]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #0000004d;
}

.stat-card[draggable="true"]:active, .stat-card[draggable]:active {
  cursor: grabbing;
  transform: scale(.98);
}

.stat-card h3, .stat-card p, .stat-card .stat-value, .stat-card .stat-label {
  -webkit-user-select: none;
  user-select: none;
}

.stat-card-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  display: flex;
}

.stat-edit-button {
  color: #fff;
  cursor: pointer;
  opacity: .7;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  padding: .25rem .5rem;
  font-size: .9rem;
  transition: all .2s;
}

.stat-edit-button:hover {
  opacity: 1;
  background: #fff3;
}

.stat-edit-controls {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.stat-edit-input {
  color: #fff;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  width: 100%;
  padding: .5rem;
  font-size: 1.5rem;
  font-weight: 300;
}

.stat-edit-input:focus {
  border-color: #66c0f4;
  outline: none;
}

.stat-edit-actions {
  justify-content: flex-end;
  gap: .5rem;
  display: flex;
}

.stat-save-button, .stat-cancel-button {
  color: #fff;
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  padding: .4rem .8rem;
  font-size: .9rem;
  transition: all .2s;
}

.stat-save-button:hover {
  background: #4caf504d;
  border-color: #4caf50;
}

.stat-cancel-button:hover {
  background: #f443364d;
  border-color: #f44336;
}

.stat-save-button:disabled, .stat-cancel-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.stat-card h3 {
  text-transform: uppercase;
  color: #888;
  letter-spacing: .5px;
  margin: 0 0 1rem;
  font-size: .9rem;
}

.stat-value {
  color: #fff;
  margin: .5rem 0;
  font-size: 2rem;
  font-weight: bold;
}

.stat-value.money {
  color: #4ade80;
}

.stat-value.repair-cost {
  color: #f87171;
}

.stat-value-favorite-car {
  white-space: nowrap;
  max-width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 0% calc(100% - 40px), #0000 100%);
  mask-image: linear-gradient(to right, #000 0% calc(100% - 40px), #0000 100%);
}

.stat-label {
  color: #888;
  margin: .5rem 0 0;
  font-size: .85rem;
}

.leaderboards-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.leaderboards-header {
  color: #fff;
  margin-bottom: 2rem;
}

.leaderboards-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.leaderboard-panel {
  border: 1px solid var(--leaderboard-accent-border);
  box-shadow: var(--panel-shadow);
  background: var(--panel-bg);
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.leaderboard-panel .leaderboard-controls {
  border: none;
  border-bottom: 1px solid var(--content-accent-border);
  background: none;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: inset 0 -1px #00000040;
}

.leaderboard-panel .leaderboard-content {
  box-shadow: none;
  background: linear-gradient(#0c101673 0%, #0c101614 100%);
  border: none;
  border-radius: 0;
  min-height: 280px;
}

.leaderboard-panel .leaderboard-table thead {
  background: #10141c;
  box-shadow: inset 0 1px #66c0f424;
}

.leaderboard-controls {
  background: var(--panel-bg);
  border: 1px solid var(--leaderboard-accent-border);
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none;
  border-radius: 12px;
  margin-bottom: 2rem;
  padding: 0;
  overflow: hidden;
}

.leaderboard-controls-split {
  flex-wrap: wrap;
  align-items: stretch;
  display: flex;
}

.leaderboard-controls-period {
  border-right: 1px solid var(--leaderboard-accent-border);
  box-sizing: border-box;
  background: linear-gradient(165deg, #6666681f 0%, #48484a14 100%);
  flex: 0 0 25%;
  align-self: stretch;
  width: 25%;
  max-width: 25%;
  padding: 0;
  display: flex;
}

.leaderboard-period-buttons {
  flex: 1;
  align-items: stretch;
  width: 100%;
  min-height: 3.25rem;
  display: flex;
}

.leaderboard-period-buttons .control-btn {
  color: #151516;
  letter-spacing: .02em;
  text-shadow: 0 1px #ffffff47;
  background: linear-gradient(#cdcdce 0%, #b4b4b6 40%, #9c9c9f 100%);
  border: none;
  border-right: 1px solid #36363866;
  border-radius: 0;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-weight: 600;
  transition: background .18s, box-shadow .18s, color .18s;
  box-shadow: inset 0 1px #ffffff38, inset 0 -1px #0003;
}

.leaderboard-period-buttons .control-btn:hover {
  color: #0f0f10;
  background: linear-gradient(#d7d7d8 0%, #bdbfc1 42%, #a5a6a9 100%);
  border-right-color: #30303270;
  box-shadow: inset 0 1px #ffffff47, inset 0 -1px #00000029, 0 1px 2px #0000001a;
}

.leaderboard-period-buttons .control-btn.active {
  color: #0a0a0b;
  text-shadow: 0 1px #fff3;
  background: linear-gradient(#a5a5a8 0%, #8c8c90 45%, #76767a 100%);
  border-right-color: #2626287a;
  box-shadow: inset 0 2px 8px #0000003d, inset 0 1px #ffffff1f, inset 0 -1px #00000038;
}

.leaderboard-period-buttons .control-btn:last-child {
  border-right: none;
}

.leaderboard-controls-types {
  box-sizing: border-box;
  background: linear-gradient(#182030eb 0%, #0e121af5 100%);
  flex: 0 0 75%;
  width: 75%;
  min-width: 0;
  max-width: 75%;
  padding: 1rem 1rem 1rem 2rem;
  position: relative;
}

.leaderboard-controls-types .leaderboard-types-label, .leaderboard-controls-types h3.leaderboard-types-label {
  z-index: 1;
  color: #888888bf;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: center;
  margin: 0;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  position: absolute;
  top: 50%;
  bottom: auto;
  left: 1rem;
  transform: translate(-50%, -50%)rotate(-90deg);
}

.control-group {
  margin-bottom: 1.5rem;
}

.control-group:last-child {
  margin-bottom: 0;
}

.control-group h3 {
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 1rem;
  font-size: .9rem;
}

.button-group {
  flex-wrap: wrap;
  gap: .75rem;
  display: flex;
}

.leaderboard-controls-types .stat-buttons {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 2rem;
  display: grid;
}

.stat-buttons {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .75rem;
  display: grid;
}

@media (max-width: 720px) {
  .leaderboard-controls-period {
    border-right: none;
    border-bottom: 1px solid var(--leaderboard-accent-border);
    flex: 100%;
    width: 100%;
    max-width: none;
  }

  .leaderboard-controls-types {
    flex: 100%;
    width: 100%;
  }
}

.control-btn {
  color: #c7d5e0;
  cursor: pointer;
  background: #fff0;
  border: 0 solid #444;
  border-radius: 4px;
  padding: .5rem 0;
  font-size: .95rem;
  transition: all .2s;
}

.control-btn:hover {
  background: #ffffff1a;
  border-color: #555;
}

.control-btn.active {
  color: #fff;
  background: #1f2c3deb;
}

.leaderboard-content {
  background: var(--panel-bg);
  border: 1px solid var(--leaderboard-accent-border);
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none;
  border-radius: 12px;
  min-height: 400px;
  padding: 0;
  overflow: hidden;
}

.leaderboard-loading, .leaderboard-error, .leaderboard-empty {
  text-align: center;
  color: #888;
  margin: 0 2rem;
  padding: 3rem 0;
}

.leaderboard-error {
  color: #f44;
}

.leaderboard-results-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.leaderboard-results-layout {
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
  display: flex;
}

.leaderboard-results-layout--split .leaderboard-results-col--monthly {
  flex: 62%;
  min-width: 0;
}

.leaderboard-results-layout--split .leaderboard-results-col--weekly {
  flex: 34%;
  min-width: 0;
  max-width: 38%;
}

.leaderboard-results-layout--monthly-only .leaderboard-results-col--monthly, .leaderboard-results-layout--weekly-only .leaderboard-results-col--weekly {
  flex: 100%;
  max-width: none;
}

@media (max-width: 1100px) {
  .leaderboard-results-layout--split {
    flex-direction: column;
  }

  .leaderboard-results-layout--split .leaderboard-results-col--weekly {
    width: 100%;
    max-width: none;
  }
}

.leaderboard-results-empty {
  text-align: center;
  color: #7a8a9a;
  background: #ffffff08;
  border: 1px dashed #333;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  font-size: 1rem;
}

.results-section {
  border: 1px solid var(--panel-border);
  -webkit-backdrop-filter: none;
  border-radius: 14px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.results-section--monthly {
  background: linear-gradient(165deg, #1e232df2 0%, #12161cfa 100%);
  border-color: #c8a05059;
  box-shadow: 0 8px 32px #00000059, inset 0 1px #ffc87814;
}

.results-section-header--monthly {
  background: linear-gradient(90deg, #b48c3c2e 0%, #282d3780 100%);
  border-bottom: 1px solid #c8a05040;
  padding: 1.25rem 1.5rem 1rem;
}

.results-section--weekly {
  background: linear-gradient(165deg, #182030eb 0%, #0e121af5 100%);
  border-color: #508cc859;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 24px #00000047;
}

.results-section-header--weekly {
  background: linear-gradient(90deg, #3c78dc1f 0%, #1e263499 100%);
  border-bottom: 1px solid #508cc838;
  padding: .9rem 1.25rem .75rem;
}

.results-section-header--weekly-collapsible {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.results-section-header--weekly-collapsible:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #78b4ff8c;
}

.results-week-header-main {
  flex: 1;
  min-width: 0;
}

.results-week-header-aside {
  flex-shrink: 0;
  align-items: center;
  gap: .45rem;
  display: flex;
}

.results-week-expand-icon {
  color: #8a9aaf;
  font-size: .65rem;
  line-height: 1;
}

.results-week-collapsed-preview {
  background: linear-gradient(#0c121c8c 0%, #12182259 100%);
  border-top: 1px solid #508cc838;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-items: start;
  gap: .45rem .75rem;
  padding: .55rem .85rem .65rem;
  display: grid;
}

.results-week-collapsed-card {
  background: none;
  border: none;
  border-radius: 0;
  flex-direction: row;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  padding: 0;
  display: flex;
}

.results-week-collapsed-avatar-wrap {
  width: 30px;
  height: 30px;
  box-shadow: none;
  border: 1px solid #506e9680;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.results-week-collapsed-avatar-img {
  object-fit: cover;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

.results-week-collapsed-avatar-placeholder {
  z-index: 0;
  background: linear-gradient(145deg, #3d4a5c 0%, #283038 100%);
  display: block;
  position: absolute;
  inset: 0;
}

.results-week-collapsed-text {
  flex: 1;
  grid-template-rows: auto auto auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .06rem .35rem;
  min-width: 0;
  display: grid;
}

.results-week-collapsed-cat {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7eb8ff;
  grid-area: 1 / 1 / auto / -1;
  font-size: .55rem;
  font-weight: 700;
  line-height: 1.15;
}

.results-week-collapsed-name-row {
  display: contents;
}

.results-week-collapsed-name {
  color: #eef3f8;
  word-break: break-word;
  grid-area: 2 / 1;
  align-self: center;
  min-width: 0;
  max-width: 100%;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;
}

.results-week-prize {
  --results-week-prize-surface: #d4a524;
  flex-shrink: 0;
  grid-area: 2 / 2 / span 2;
  justify-content: center;
  place-self: center end;
  align-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-left: 0;
  display: inline-flex;
  position: relative;
  transform: translateY(-.14rem);
}

.results-week-prize-cog {
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.results-week-prize-jagged {
  fill: var(--results-week-prize-surface);
}

.results-week-prize-core {
  z-index: 1;
  background: var(--results-week-prize-surface, #d4a524);
  color: #fff;
  letter-spacing: -.06em;
  text-align: center;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 66%;
  min-width: 1.55rem;
  height: 66%;
  min-height: 1.55rem;
  padding: 0;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  position: relative;
}

.results-week-prize--long .results-week-prize-core {
  letter-spacing: -.08em;
  font-size: .72rem;
}

.results-week-collapsed-val {
  color: #9aacbf;
  font-variant-numeric: tabular-nums;
  grid-area: 3 / 1;
  font-size: .68rem;
  line-height: 1.15;
}

.results-section--weekly-collapsed .results-section-header--weekly {
  border-bottom: none;
}

.results-section-badge {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #e8c97a;
  margin-bottom: .35rem;
  font-size: .7rem;
  font-weight: 700;
  display: inline-block;
}

.results-section-badge--week {
  color: #7eb8ff;
  letter-spacing: .08em;
}

.results-section-title {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.results-section-title--week {
  color: #c7d5e0;
  font-size: 1.15rem;
  font-weight: 600;
}

.results-section-desc {
  color: #8a9aaa;
  margin: .5rem 0 0;
  font-size: .88rem;
}

.results-section-body {
  padding: 1rem 1.25rem 1.5rem;
}

.results-section-body--monthly {
  padding: 1.25rem 1.5rem 1.75rem;
}

.results-period-heading {
  color: #8a9aaf;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .75rem;
  font-size: .95rem;
  font-weight: 700;
}

.results-weeks-stack {
  margin-top: 0;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) {
  background: linear-gradient(165deg, #141824c9 0%, #0c0f16e9 100%);
  border-color: #4b78ac21;
  box-shadow: 0 2px 14px #00000039;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-section-header--weekly {
  background: linear-gradient(90deg, #376bb90b 0%, #1a1f2a73 100%);
  border-bottom-color: #4977aa16;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-week-collapsed-preview {
  background: linear-gradient(#0b0e165e 0%, #0f121b3b 100%);
  border-top-color: #4977aa17;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-section-title--week {
  color: #9aa9bd;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-week-expand-icon {
  color: #616f84;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-week-collapsed-cat {
  color: #4b81c2;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-week-collapsed-name {
  color: #dbdde8;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-week-collapsed-val {
  color: #7f919f;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-week-prize {
  --results-week-prize-surface: #94821d;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-week-collapsed-avatar-wrap {
  filter: saturate(.87) brightness(.93);
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-stat-headline-title {
  color: #e0e6f2;
  text-shadow: 0 1px 2px #0000005d;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-name, .results-weeks-stack > .results-section--weekly:nth-child(2) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .results-player-name {
  color: #a7b6ca;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-val, .results-weeks-stack > .results-section--weekly:nth-child(2) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-car {
  color: #becadf;
}

.results-weeks-stack > .results-section--weekly:nth-child(2) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .results-period-reward {
  color: #82ce72;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) {
  background: linear-gradient(165deg, #10121ab8 0%, #0a0b10e0 100%);
  border-color: #44648c18;
  box-shadow: 0 2px 11px #00000036;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-section-header--weekly {
  background: linear-gradient(90deg, #30589607 0%, #16182066 100%);
  border-bottom-color: #4162870f;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-week-collapsed-preview {
  background: linear-gradient(#0a0b1052 0%, #0c0d122e 100%);
  border-top-color: #41628711;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-section-title--week {
  color: #7f8fa2;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-week-expand-icon {
  color: #535f70;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-week-collapsed-cat {
  color: #3d6a9a;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-week-collapsed-name {
  color: #c4ccd8;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-week-collapsed-val {
  color: #6a7b8e;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-week-prize {
  --results-week-prize-surface: #806a18;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-week-collapsed-avatar-wrap {
  filter: saturate(.72) brightness(.9);
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-stat-headline-title {
  color: #c5d2e4;
  text-shadow: 0 1px 2px #00000061;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-name, .results-weeks-stack > .results-section--weekly:nth-child(3) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .results-player-name {
  color: #9aaec2;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-val, .results-weeks-stack > .results-section--weekly:nth-child(3) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-car {
  color: #b0c2d8;
}

.results-weeks-stack > .results-section--weekly:nth-child(3) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .results-period-reward {
  color: #7bc96a;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) {
  background: linear-gradient(165deg, #0e0f16a8 0%, #090a0ed6 100%);
  border-color: #3a587812;
  box-shadow: 0 1px 9px #0003;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-section-header--weekly {
  background: linear-gradient(90deg, #2a4b8204 0%, #14161c57 100%);
  border-bottom-color: #3755760b;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-week-collapsed-preview {
  background: linear-gradient(#09090d47 0%, #0b0b0f26 100%);
  border-top-color: #3755760d;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-section-title--week {
  color: #6c7b8e;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-week-expand-icon {
  color: #4a5564;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-week-collapsed-cat {
  color: #325c84;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-week-collapsed-name {
  color: #a8b4c4;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-week-collapsed-val {
  color: #5a6a7c;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-week-prize {
  --results-week-prize-surface: #6a5814;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-week-collapsed-avatar-wrap {
  filter: saturate(.55) brightness(.84);
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-stat-headline-title {
  color: #aab8ca;
  text-shadow: 0 1px 2px #0000006b;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-name, .results-weeks-stack > .results-section--weekly:nth-child(4) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .results-player-name {
  color: #8296aa;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-val, .results-weeks-stack > .results-section--weekly:nth-child(4) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-car {
  color: #96aac0;
}

.results-weeks-stack > .results-section--weekly:nth-child(4) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .results-period-reward {
  color: #6bbd5c;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) {
  background: linear-gradient(165deg, #0c0d1299 0%, #08080bcc 100%);
  border-color: #324b660d;
  box-shadow: 0 1px 7px #00000030;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-section-header--weekly {
  background: linear-gradient(90deg, #26416e03 0%, #12131847 100%);
  border-bottom-color: #30486208;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-week-collapsed-preview {
  background: linear-gradient(#08080b38 0%, #0a0a0d1f 100%);
  border-top-color: #3048620a;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-section-title--week {
  color: #5d6c7e;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-week-expand-icon {
  color: #424c5a;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-week-collapsed-cat {
  color: #2a5074;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-week-collapsed-name {
  color: #8e9cac;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-week-collapsed-val {
  color: #4c5c6e;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-week-prize {
  --results-week-prize-surface: #5c4c12;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-week-collapsed-avatar-wrap {
  filter: saturate(.4) brightness(.78);
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-stat-headline-title {
  color: #8fa0b4;
  text-shadow: 0 1px 2px #00000073;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-name, .results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .results-player-name {
  color: #6a7d92;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-val, .results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .col-car {
  color: #7e92a8;
}

.results-weeks-stack > .results-section--weekly:nth-child(n+5) .results-stat-table tbody tr:not(.rank-gold):not(.rank-silver):not(.rank-bronze) .results-period-reward {
  color: #5aad4e;
}

.results-weekly-column .results-section--weekly {
  margin-bottom: .85rem;
}

.results-weekly-column .results-section--weekly:last-child {
  margin-bottom: 0;
}

.results-weekly-column .results-section-header--weekly {
  padding: .5rem .65rem .45rem;
}

.results-weekly-column .results-section-header--weekly-collapsible {
  gap: .5rem;
  padding: .45rem .55rem .4rem;
}

.results-weekly-column .results-week-collapsed-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .35rem .45rem;
  padding: .45rem .5rem .55rem;
}

.results-weekly-column .results-week-collapsed-card {
  gap: .35rem;
}

.results-weekly-column .results-week-collapsed-avatar-wrap {
  width: 26px;
  height: 26px;
}

.results-weekly-column .results-week-collapsed-name {
  font-size: .72rem;
}

.results-weekly-column .results-week-collapsed-val {
  font-size: .62rem;
}

.results-weekly-column .results-week-collapsed-cat {
  font-size: .5rem;
}

.results-weekly-column .results-week-prize {
  width: 2.5rem;
  height: 2.5rem;
  margin-left: .08rem;
  transform: translateY(-.1rem);
}

.results-weekly-column .results-week-prize-core {
  min-width: 1.45rem;
  min-height: 1.45rem;
  font-size: .78rem;
}

.results-weekly-column .results-week-prize--long .results-week-prize-core {
  font-size: .64rem;
}

.results-weekly-column .results-week-expand-icon {
  font-size: .55rem;
}

.results-weekly-column .results-section-title--week {
  font-size: .88rem;
  line-height: 1.25;
}

.results-weekly-column .results-section-badge--week {
  margin-bottom: .2rem;
  font-size: .6rem;
}

.results-weekly-column .results-section-body {
  padding: .55rem .65rem .7rem;
}

.results-weekly-column .results-stat-card--week {
  margin-bottom: .65rem;
}

.results-weekly-column .results-stat-headline {
  margin-bottom: .45rem;
  padding-bottom: .45rem;
}

.results-weekly-column .results-stat-headline-title {
  font-weight: 700;
  font-size: 1.02rem !important;
}

.results-stat-row--table-only {
  display: block;
}

.results-stat-row--table-only .results-stat-table-wrap {
  width: 100%;
  max-width: 100%;
}

.results-weekly-column .results-stat-table {
  font-size: .72rem;
}

.results-weekly-column .results-stat-table thead th {
  padding: .25rem .35rem .3rem 0;
  font-size: .6rem;
}

.results-weekly-column .results-stat-table tbody td {
  padding: .22rem .35rem .22rem 0;
}

.results-stat-table--weekly-ranks tbody tr.rank-gold, .results-stat-table--monthly-ranks tbody tr.rank-gold {
  transition: background .2s;
  background: linear-gradient(90deg, #ffd70026 0%, #ffd7000d 100%) !important;
}

.results-stat-table--weekly-ranks tbody tr.rank-gold:hover, .results-stat-table--monthly-ranks tbody tr.rank-gold:hover {
  background: linear-gradient(90deg, #ffd70040 0%, #ffd70026 100%) !important;
}

.results-stat-table--weekly-ranks tbody tr.rank-gold .col-rank, .results-stat-table--weekly-ranks tbody tr.rank-gold .col-name, .results-stat-table--weekly-ranks tbody tr.rank-gold .col-car, .results-stat-table--weekly-ranks tbody tr.rank-gold .col-val, .results-stat-table--weekly-ranks tbody tr.rank-gold .col-prize, .results-stat-table--monthly-ranks tbody tr.rank-gold .col-rank, .results-stat-table--monthly-ranks tbody tr.rank-gold .col-name, .results-stat-table--monthly-ranks tbody tr.rank-gold .col-car, .results-stat-table--monthly-ranks tbody tr.rank-gold .col-val, .results-stat-table--monthly-ranks tbody tr.rank-gold .col-prize {
  color: gold;
  font-weight: bold;
}

.results-stat-table--weekly-ranks tbody tr.rank-silver, .results-stat-table--monthly-ranks tbody tr.rank-silver {
  transition: background .2s;
  background: linear-gradient(90deg, #c0c0c026 0%, #c0c0c00d 100%) !important;
}

.results-stat-table--weekly-ranks tbody tr.rank-silver:hover, .results-stat-table--monthly-ranks tbody tr.rank-silver:hover {
  background: linear-gradient(90deg, #c0c0c040 0%, #c0c0c026 100%) !important;
}

.results-stat-table--weekly-ranks tbody tr.rank-silver .col-rank, .results-stat-table--weekly-ranks tbody tr.rank-silver .col-name, .results-stat-table--weekly-ranks tbody tr.rank-silver .col-car, .results-stat-table--weekly-ranks tbody tr.rank-silver .col-val, .results-stat-table--weekly-ranks tbody tr.rank-silver .col-prize, .results-stat-table--monthly-ranks tbody tr.rank-silver .col-rank, .results-stat-table--monthly-ranks tbody tr.rank-silver .col-name, .results-stat-table--monthly-ranks tbody tr.rank-silver .col-car, .results-stat-table--monthly-ranks tbody tr.rank-silver .col-val, .results-stat-table--monthly-ranks tbody tr.rank-silver .col-prize {
  color: silver;
  font-weight: bold;
}

.results-stat-table--weekly-ranks tbody tr.rank-bronze, .results-stat-table--monthly-ranks tbody tr.rank-bronze {
  transition: background .2s;
  background: linear-gradient(90deg, #cd7f3226 0%, #cd7f320d 100%) !important;
}

.results-stat-table--weekly-ranks tbody tr.rank-bronze:hover, .results-stat-table--monthly-ranks tbody tr.rank-bronze:hover {
  background: linear-gradient(90deg, #cd7f3240 0%, #cd7f3226 100%) !important;
}

.results-stat-table--weekly-ranks tbody tr.rank-bronze .col-rank, .results-stat-table--weekly-ranks tbody tr.rank-bronze .col-name, .results-stat-table--weekly-ranks tbody tr.rank-bronze .col-car, .results-stat-table--weekly-ranks tbody tr.rank-bronze .col-val, .results-stat-table--weekly-ranks tbody tr.rank-bronze .col-prize, .results-stat-table--monthly-ranks tbody tr.rank-bronze .col-rank, .results-stat-table--monthly-ranks tbody tr.rank-bronze .col-name, .results-stat-table--monthly-ranks tbody tr.rank-bronze .col-car, .results-stat-table--monthly-ranks tbody tr.rank-bronze .col-val, .results-stat-table--monthly-ranks tbody tr.rank-bronze .col-prize {
  color: #cd7f32;
  font-weight: bold;
}

.results-stat-card {
  margin-bottom: 1.25rem;
}

.results-stat-card:last-child {
  margin-bottom: 0;
}

.results-stat-card--week {
  margin-bottom: .85rem;
}

.results-stat-block {
  margin: 0;
}

.results-stat-headline {
  border-bottom: 1px solid #66c0f433;
  margin: 0 0 .75rem;
  padding-bottom: .65rem;
}

.results-stat-headline-title {
  color: #fff;
  letter-spacing: -.02em;
  text-shadow: 0 1px 2px #0006;
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.results-section--weekly .results-stat-headline-title {
  font-size: 1.3rem;
}

.results-stat-row {
  background: #0003;
  border: 1px solid #2a323c;
  border-radius: 10px;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.results-stat-row--reverse {
  flex-direction: row-reverse;
}

.results-stat-table-wrap {
  flex-direction: column;
  flex: 2 1 0;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
}

.results-stat-row:not(.results-stat-row--table-only) .results-stat-table-wrap:has( > .results-stat-table-inner--scroll) {
  align-self: stretch;
  position: relative;
  overflow: hidden;
}

.results-stat-row:not(.results-stat-row--table-only) .results-stat-table-inner--scroll {
  flex: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  position: absolute;
  inset: 0;
}

.results-stat-empty {
  color: #5a6570;
  margin: 0;
  padding: .5rem .75rem;
  font-size: .85rem;
}

.results-stat-table-inner {
  flex: auto;
  align-self: stretch;
  width: 100%;
  min-height: 0;
}

.results-stat-table-inner--scroll {
  width: 100%;
  min-height: 0;
  box-shadow: none;
  background: none;
  border: none;
  border-radius: 0;
  flex: auto;
  overflow: hidden auto;
}

.results-stat-row--table-only .results-stat-table-inner--scroll {
  max-height: 150px;
  position: static;
}

.results-stat-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  font-size: .82rem;
}

.results-stat-table thead th {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6a7580;
  text-align: left;
  border-bottom: 1px solid #333;
  margin: 0;
  padding: .35rem .5rem .45rem 0;
  font-size: .68rem;
  font-weight: 600;
}

.results-stat-table thead th.col-val, .results-stat-table thead th.col-car, .results-stat-table thead th.col-prize {
  color: #c7d5e0;
}

.results-stat-table-inner--scroll .results-stat-table thead th {
  z-index: 1;
  background: #1a1f26;
  position: sticky;
  top: 0;
  box-shadow: 0 1px #333;
}

.results-stat-table .col-rank {
  text-align: center;
  color: #66c0f4;
  width: 2.25rem;
  font-weight: 700;
}

.results-stat-table .col-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c7d5e0;
  max-width: 0;
  padding-right: .5rem;
  overflow: hidden;
}

.results-col-name-inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  width: 100%;
  min-width: 0;
  display: flex;
}

.results-stat-table .col-name .results-player-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.results-period-reward {
  color: #9ee88a;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
}

.results-stat-table .col-prize {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
  width: 22%;
}

.results-stat-table .col-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
  width: 32%;
}

.results-stat-table .col-car {
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c7d5e0;
  max-width: 0;
  font-size: .92em;
  overflow: hidden;
}

.results-stat-table tbody .col-car {
  color: #d8e2ee;
}

.results-stat-table--fastest-lap .col-name {
  width: 28%;
}

.results-stat-table--fastest-lap .col-car {
  width: 34%;
}

.results-stat-table--fastest-lap .col-val {
  width: 22%;
}

.results-stat-table tbody .col-val {
  color: #fff;
}

.results-stat-table tbody td {
  vertical-align: middle;
  border-bottom: 1px solid #252a32;
  padding: .35rem .5rem .35rem 0;
}

.results-stat-table tbody tr:last-child td {
  border-bottom: none;
}

.results-stat-podium {
  background: linear-gradient(#23282df2 0%, #121418fa 100%);
  border-left: 1px solid #333;
  flex-direction: column;
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  padding: .75rem 1rem;
  display: flex;
}

.results-stat-row--reverse .results-stat-podium {
  border-left: none;
  border-right: 1px solid #333;
}

.results-stat-podium--empty {
  opacity: .5;
}

.results-podium-placeholder {
  text-align: center;
  color: #444;
  font-size: 1.35rem;
}

.results-podium-list {
  flex-direction: column;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.results-podium-item {
  border-radius: 6px;
  flex-direction: column;
  gap: .1rem;
  padding: .35rem .25rem;
  display: flex;
}

.results-podium-item--1 {
  background: linear-gradient(135deg, #c8a03c38 0%, #503c1426 100%);
  border: 1px solid #c8a05059;
  padding: .5rem .45rem;
}

.results-podium-item--2 {
  background: #b4b4be14;
  border: 1px solid #c8c8d233;
}

.results-podium-item--3 {
  background: #b478461a;
  border: 1px solid #c8825038;
}

.results-podium-item--rest {
  opacity: .92;
}

.results-podium-rank {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #a0aab8;
  font-size: .75rem;
  font-weight: 800;
}

.results-podium-item--1 .results-podium-rank {
  color: #f0d080;
  font-size: .85rem;
}

.results-podium-name-row {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  display: flex;
}

.results-podium-name-main {
  flex-direction: row;
  flex: 1;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  display: flex;
}

.results-podium-avatar-wrap {
  border: 1px solid #374152f2;
  border-radius: 50%;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px #00000059;
}

.results-podium-avatar-img {
  object-fit: cover;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

.results-podium-avatar-placeholder {
  z-index: 0;
  background: linear-gradient(145deg, #3d4a5c 0%, #283038 100%);
  display: block;
  position: absolute;
  inset: 0;
}

.results-podium-name {
  color: #fff;
  word-break: break-word;
  flex: 1;
  min-width: 0;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.25;
}

.results-podium-item--1 .results-podium-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.results-podium-item--1 .results-podium-avatar-wrap {
  width: 34px;
  height: 34px;
}

.results-podium-value {
  color: #8a9aaa;
  font-variant-numeric: tabular-nums;
  font-size: .75rem;
}

@media (max-width: 900px) {
  .results-stat-row, .results-stat-row--reverse {
    flex-direction: column;
  }

  .results-stat-podium {
    border-top: 1px solid #333;
    border-left: none;
  }

  .results-stat-row--reverse .results-stat-podium {
    border-top: 1px solid #333;
    border-right: none;
  }

  .results-stat-row--reverse .results-stat-table-wrap {
    order: -1;
  }

  .results-stat-row:not(.results-stat-row--table-only) .results-stat-table-wrap:has( > .results-stat-table-inner--scroll) {
    min-height: 0;
    position: static;
    overflow: visible;
  }

  .results-stat-row:not(.results-stat-row--table-only) .results-stat-table-inner--scroll {
    flex: auto;
    height: auto;
    max-height: 240px;
    position: static;
  }
}

.leaderboard-table {
  overflow-x: auto;
}

.leaderboard-table table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.leaderboard-table thead {
  background: #2a2a2a;
}

.leaderboard-table th {
  text-align: left;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid #333;
  padding: 1rem;
  font-size: .9rem;
  font-weight: 500;
}

.leaderboard-table th:first-child {
  width: 80px;
  padding-left: 2rem;
}

.leaderboard-table th:nth-child(2), .leaderboard-table th:nth-child(3) {
  padding-left: 2rem;
}

.leaderboard-table th.leaderboard-col-value {
  text-align: right;
  width: 180px;
  padding-right: 2rem;
}

.leaderboard-table th.leaderboard-col-delete {
  text-align: center;
  width: 52px;
  min-width: 52px;
  padding: 1rem .5rem;
}

.leaderboard-table td.leaderboard-delete-cell {
  text-align: center;
  vertical-align: middle;
  width: 52px;
  min-width: 52px;
  padding: .5rem !important;
}

.leaderboard-table .value-cell {
  padding-right: 2rem !important;
}

.leaderboard-delete-btn {
  color: #e06c75;
  cursor: pointer;
  background: #e06c751f;
  border: 1px solid #e06c7559;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: .25rem .45rem;
  font-size: .75rem;
  display: inline-flex;
}

.leaderboard-delete-btn:hover:not(:disabled) {
  color: #ff8a93;
  background: #e06c7538;
}

.leaderboard-delete-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.leaderboard-table tbody tr {
  background: #ffffff05;
  transition: background .2s;
}

.leaderboard-table td {
  color: #fff;
  border-bottom: 1px solid #2a2a2a;
  padding: 1rem;
}

.leaderboard-table tbody tr:hover {
  background: #ffffff0d;
}

.leaderboard-table tbody tr.rank-gold:hover, .leaderboard-table tbody tr.rank-silver:hover, .leaderboard-table tbody tr.rank-bronze:hover {
  background: none !important;
}

.leaderboard-table tbody tr.rank-gold:hover td:not(.car-cell) {
  background: linear-gradient(90deg, #ffd7001f 0%, #ffd7000b 100%);
}

.leaderboard-table tbody tr.rank-silver:hover td:not(.car-cell) {
  background: linear-gradient(90deg, #c0c0c01f 0%, #c0c0c00b 100%);
}

.leaderboard-table tbody tr.rank-bronze:hover td:not(.car-cell) {
  background: linear-gradient(90deg, #cd7f321f 0%, #cd7f320b 100%);
}

.rank-cell {
  color: #66c0f4;
  width: 80px;
  font-weight: bold;
  padding-left: 2rem !important;
}

.player-cell, .car-cell {
  font-weight: 500;
  padding-left: 2rem !important;
}

.leaderboard-table tbody td.car-cell {
  vertical-align: top;
  background-color: #1e222c;
  position: relative;
  padding: 0 !important;
}

.leaderboard-table tbody td.car-cell .car-cell-inner {
  z-index: 1;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1rem 1rem 2rem;
  display: flex;
  position: relative;
}

.leaderboard-table tbody td.car-cell .car-cell-car-preview {
  opacity: .5;
  pointer-events: none;
  z-index: 0;
  justify-content: flex-end;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.leaderboard-table tbody td.car-cell .car-cell-car-preview img {
  flex-shrink: 0;
  width: 40%;
  height: auto;
  display: block;
}

.value-cell {
  text-align: right;
  width: 180px;
  min-width: 180px;
  font-weight: bold;
}

.rank-gold {
  transition: background .2s;
  background: linear-gradient(90deg, #ffd70018 0%, #ffd70008 100%) !important;
}

.rank-gold .rank-cell, .rank-gold .player-cell, .rank-gold .car-cell, .rank-gold .value-cell {
  color: gold;
  font-weight: bold;
}

.rank-silver {
  transition: background .2s;
  background: linear-gradient(90deg, #c0c0c018 0%, #c0c0c008 100%) !important;
}

.rank-silver .rank-cell, .rank-silver .player-cell, .rank-silver .car-cell, .rank-silver .value-cell {
  color: silver;
  font-weight: bold;
}

.rank-bronze {
  transition: background .2s;
  background: linear-gradient(90deg, #cd7f3218 0%, #cd7f3208 100%) !important;
}

.rank-bronze .rank-cell, .rank-bronze .player-cell, .rank-bronze .car-cell, .rank-bronze .value-cell {
  color: #cd7f32;
  font-weight: bold;
}

.leaderboard-table tbody tr.rank-gold {
  background: none !important;
}

.leaderboard-table tbody tr.rank-gold td:not(.car-cell) {
  background: linear-gradient(90deg, #ffd70017 0%, #ffd70007 100%);
}

.leaderboard-table tbody tr.rank-silver {
  background: none !important;
}

.leaderboard-table tbody tr.rank-silver td:not(.car-cell) {
  background: linear-gradient(90deg, #c0c0c017 0%, #c0c0c007 100%);
}

.leaderboard-table tbody tr.rank-bronze {
  background: none !important;
}

.leaderboard-table tbody tr.rank-bronze td:not(.car-cell) {
  background: linear-gradient(90deg, #cd7f3217 0%, #cd7f3207 100%);
}

.leaderboard-table tbody tr.rank-gold td.car-cell {
  background: linear-gradient(90deg, #ffd7001a 0%, #ffd70008 100%), #1e222c !important;
}

.leaderboard-table tbody tr.rank-silver td.car-cell {
  background: linear-gradient(90deg, #c0c0c01a 0%, #c0c0c008 100%), #1e222c !important;
}

.leaderboard-table tbody tr.rank-bronze td.car-cell {
  background: linear-gradient(90deg, #cd7f321a 0%, #cd7f3208 100%), #1e222c !important;
}

.crown-icon {
  margin-right: .5rem;
  font-size: 1.2rem;
}

.leaderboard-pagination {
  border-top: 1px solid #333;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
}

.pagination-btn {
  color: #c7d5e0;
  cursor: pointer;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  padding: .5rem 1rem;
  transition: all .2s;
}

.pagination-btn:hover:not(:disabled) {
  background: #333;
  border-color: #555;
}

.pagination-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.pagination-info {
  color: #888;
  font-size: .9rem;
}

.cars-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.cars-header {
  color: #fff;
  margin-bottom: 2rem;
}

.cars-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.cars-layout {
  align-items: flex-start;
  gap: 2rem;
  display: flex;
}

.cars-list-panel {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  box-shadow: var(--panel-shadow);
  scrollbar-gutter: stable;
  border-radius: 12px;
  flex-direction: column;
  flex: 0 0 350px;
  max-height: calc(100vh - 260px);
  padding: 1.5rem;
  display: flex;
  overflow: hidden auto;
}

.cars-search-container {
  margin-bottom: 1.5rem;
}

.cars-search-input {
  color: #fff;
  background: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  width: 100%;
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: all .2s;
}

.cars-search-input::placeholder {
  color: #888;
}

.cars-search-input:focus {
  background: #ffffff1f;
  border-color: #66c0f4;
  outline: none;
}

.cars-sort-container {
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  padding: 0;
  display: flex;
}

.cars-sort-label {
  color: #888;
  white-space: nowrap;
  margin-right: .25rem;
  font-size: .85rem;
}

.cars-sort-btn {
  color: #888;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: .35rem .75rem;
  font-size: .85rem;
  transition: all .2s;
}

.cars-sort-btn:hover {
  color: #ccc;
  background: #ffffff0d;
}

.cars-sort-btn.active {
  color: #66c0f4;
  background: #66c0f41a;
  font-weight: 600;
}

.manufacturer-filter {
  margin-bottom: 1.5rem;
}

.manufacturer-logos {
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  margin-bottom: .5rem;
  display: flex;
}

.manufacturer-logo {
  cursor: pointer;
  background: none;
  border: none;
  flex: 0 0 20%;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 0;
  transition: all .2s;
  display: flex;
  position: relative;
}

.manufacturer-logo:hover {
  opacity: .8;
  transform: scale(1.1);
}

.manufacturer-logo.active {
  opacity: 1;
}

.manufacturer-logo.active:after {
  content: "";
  background: #66c0f4;
  border-radius: 2px;
  width: 80%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.manufacturer-logo:not(.active) {
  opacity: .6;
}

.manufacturer-icon {
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70px;
  display: flex;
}

.manufacturer-logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.manufacturer-logo.active img {
  opacity: 1;
}

.manufacturer-text-fallback {
  color: #888;
  background: #ffffff1a;
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: .7rem;
  font-weight: 600;
  display: flex;
}

.manufacturer-logo.active .manufacturer-text-fallback {
  color: #66c0f4;
  background: #66c0f44d;
}

.manufacturer-name {
  display: none;
}

.manufacturer-clear {
  color: #ff6464;
  cursor: pointer;
  background: #ff646433;
  border: 1px solid #ff646480;
  border-radius: 4px;
  padding: .4rem .75rem;
  font-size: .85rem;
  transition: all .2s;
}

.manufacturer-clear:hover {
  background: #ff64644d;
  border-color: #ff6464;
}

.cars-stats-panel {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  box-shadow: var(--panel-shadow);
  border-radius: 12px;
  flex: 1;
  min-height: 500px;
  padding: 2rem;
}

.server-groups {
  flex-direction: column;
  flex: 1;
  gap: 2rem;
  display: flex;
}

.server-group {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.server-title-button {
  cursor: pointer;
  color: #66c0f4;
  background: none;
  border: none;
  border-bottom: 1px solid #ffffff1a;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: .5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.server-title-button:hover {
  color: #88d0ff;
  border-bottom-color: #66c0f44d;
}

.server-title {
  text-align: left;
  flex: 1;
  margin: 0;
}

.server-toggle {
  text-align: center;
  min-width: 20px;
  margin: 0 .5rem;
  font-size: 1.5rem;
  font-weight: 300;
}

.server-count {
  color: #888;
  font-size: .9rem;
  font-weight: 400;
}

.cars-list {
  flex-direction: column;
  gap: .5rem;
  padding-bottom: 1rem;
  display: flex;
}

.car-item {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  align-items: center;
  gap: .75rem;
  width: 100%;
  height: auto;
  min-height: auto;
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: all .2s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.car-item-logo {
  object-fit: contain;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-top: -8px;
  margin-bottom: -8px;
  margin-left: -8px;
}

.car-item-name {
  flex: 1;
}

.car-item:hover {
  background: #ffffff1a;
  border-color: #66c0f480;
  transform: translateX(4px);
}

.car-item.active {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
  font-weight: 500;
}

.car-item.current-car {
  background: linear-gradient(135deg, #4caf5033 0%, #4caf501a 100%) !important;
  border: 3px solid #4caf50 !important;
  position: relative !important;
  box-shadow: 0 0 0 1px #4caf504d, 0 2px 8px #4caf5066 !important;
}

.car-item.current-car:before {
  content: "";
  background: #4caf50;
  border-radius: 4px 0 0 4px;
  width: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.car-item.current-car:hover {
  transform: translateX(4px)translateY(-2px);
  background: linear-gradient(135deg, #4caf5026 0%, #4caf501a 100%) !important;
  border-color: #4caf50 !important;
  box-shadow: 0 4px 12px #4caf5066 !important;
}

.car-item.current-car.active {
  color: #4caf50 !important;
  background: linear-gradient(135deg, #4caf5026 0%, #66c0f41a 100%) !important;
  border: 2px solid #4caf50 !important;
  box-shadow: 0 2px 8px #4caf504d !important;
}

.car-item.current-car.active:hover {
  color: #4caf50 !important;
  background: linear-gradient(135deg, #4caf5033 0%, #66c0f426 100%) !important;
  border-color: #4caf50 !important;
  box-shadow: 0 4px 12px #4caf5066 !important;
}

.car-item-wrapper {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.car-item-wrapper.active .car-item {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
  font-weight: 500;
}

.car-owned-badge {
  color: #4caf50;
  background: #4caf5033;
  border-radius: 4px;
  margin-left: auto;
  padding: .25rem .5rem;
  font-size: .75rem;
  font-weight: 600;
}

.car-buy-button {
  color: #4caf50;
  cursor: pointer;
  text-align: center;
  background: #4caf5033;
  border: 1px solid #4caf5080;
  border-radius: 4px;
  width: 100%;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  transition: all .2s;
}

.car-buy-button:hover:not(.disabled):not(:disabled) {
  background: #4caf504d;
  border-color: #4caf50;
  transform: translateY(-1px);
}

.car-buy-button.disabled, .car-buy-button:disabled {
  color: #fff6;
  cursor: not-allowed;
  opacity: .6;
  background: #ffffff0d;
  border-color: #ffffff1a;
}

.car-buy-button.purchasing {
  color: #66c0f4;
  cursor: wait;
  background: #66c0f433;
  border-color: #66c0f4;
}

.car-purchase-section {
  text-align: center;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  margin: 1.5rem 0;
  padding: 1rem;
}

.car-buy-button-large {
  color: #4caf50;
  cursor: pointer;
  text-align: center;
  background: #4caf5033;
  border: 2px solid #4caf5080;
  border-radius: 8px;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all .2s;
}

.car-buy-button-large:hover:not(.disabled):not(:disabled) {
  background: #4caf504d;
  border-color: #4caf50;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px #4caf5033;
}

.car-buy-button-large.disabled, .car-buy-button-large:disabled {
  color: #fff6;
  cursor: not-allowed;
  opacity: .6;
  background: #ffffff0d;
  border-color: #ffffff1a;
}

.car-buy-button-large.purchasing {
  color: #66c0f4;
  cursor: wait;
  background: #66c0f433;
  border-color: #66c0f4;
}

.car-sell-button-large {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #8b2e2e 0%, #6b1e1e 100%);
  border: 2px solid #a03a3a;
  border-radius: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  transition: all .2s;
}

.car-sell-button-large:hover:not(.selling):not(:disabled) {
  background: linear-gradient(135deg, #9b3e3e 0%, #7b2e2e 100%);
  border-color: #b04a4a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px #8b2e2e4d;
}

.car-sell-button-large.selling, .car-sell-button-large:disabled {
  opacity: .6;
  cursor: not-allowed;
  background: linear-gradient(135deg, #6b2e2e 0%, #4b1e1e 100%);
}

.car-owned-message {
  color: #4caf50;
  background: #4caf501a;
  border: 1px solid #4caf504d;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
}

.car-owned-icon {
  font-size: 1.5rem;
  font-weight: bold;
}

.custom-modal-overlay {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 10000;
  background: #000000b3;
  justify-content: center;
  align-items: center;
  animation: .2s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.custom-modal {
  background: #141414f2;
  border: 1px solid #fff3;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  animation: .3s slideUp;
  position: relative;
  box-shadow: 0 8px 32px #00000080;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-modal-icon {
  border: 3px solid;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
}

.custom-modal-icon.success {
  color: #4caf50;
  background: #4caf5033;
  border-color: #4caf50;
}

.custom-modal-icon.error {
  color: #f44336;
  background: #f4433633;
  border-color: #f44336;
}

.custom-modal-icon.confirm, .custom-modal-icon.info {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
}

.custom-modal-content {
  margin-bottom: 1.5rem;
}

.custom-modal-message {
  color: #fff;
  text-align: center;
  white-space: pre-line;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.custom-modal-actions {
  justify-content: center;
  gap: 1rem;
  display: flex;
}

.custom-modal-button {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  min-width: 120px;
  padding: .75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all .2s;
}

.custom-modal-button.confirm {
  color: #4caf50;
  background: #4caf5033;
  border: 1px solid #4caf5080;
}

.custom-modal-button.confirm:hover {
  background: #4caf504d;
  border-color: #4caf50;
  transform: translateY(-1px);
}

.custom-modal-button.cancel {
  color: #ffffffb3;
  background: #ffffff0d;
  border: 1px solid #fff3;
}

.custom-modal-button.cancel:hover {
  color: #fff;
  background: #ffffff1a;
  border-color: #ffffff4d;
}

.cars-loading, .cars-error, .cars-empty {
  text-align: center;
  color: #888;
  padding: 2rem;
}

.cars-list-empty {
  text-align: center;
  color: #666;
  padding: 1rem;
  font-size: .9rem;
  font-style: italic;
}

.cars-section-group {
  margin-bottom: 1rem;
}

.cars-section-header {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: .5rem;
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.cars-section-header:hover {
  background: #ffffff14;
  border-color: #fff3;
}

.cars-section-title {
  text-align: left;
  flex: 1;
}

.cars-section-toggle {
  opacity: .7;
  font-size: .8rem;
  transition: transform .2s;
}

.cars-section-content {
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.cars-section-header-owned {
  color: #4ade80 !important;
  background: #4ade801a !important;
  border-color: #4ade804d !important;
}

.cars-section-header-owned:hover {
  background: #4ade8026 !important;
  border-color: #4ade8066 !important;
}

.cars-section-header-non-owned {
  color: #f87171 !important;
  background: #f871711a !important;
  border-color: #f871714d !important;
}

.cars-section-header-non-owned:hover {
  background: #f8717126 !important;
  border-color: #f8717166 !important;
}

.cars-error {
  color: #f44;
}

.cars-stats-placeholder, .cars-stats-loading {
  color: #888;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 1.1rem;
  display: flex;
}

.cars-stats-error {
  color: #f44;
  text-align: center;
  padding: 2rem;
}

.cars-stats-content {
  overflow: auto;
}

.cars-stats-panel .cars-stats-content {
  overflow: visible;
}

.cars-stats-content h2 {
  color: #fff;
  margin: 0 0 2rem;
  font-size: 2rem;
  font-weight: 600;
}

.car-name-header-container {
  z-index: 10;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  display: flex;
  position: relative;
}

.car-edit-button {
  color: #fff;
  cursor: pointer;
  opacity: .7;
  z-index: 11;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: center;
  margin-left: .5rem;
  padding: .25rem .5rem;
  font-size: .9rem;
  transition: all .2s;
  position: relative;
}

.car-edit-button:hover {
  opacity: 1;
  background: #fff3;
}

.car-edit-modal {
  z-index: 1000;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.car-edit-modal-overlay {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #000000b3;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.car-edit-modal-content {
  z-index: 1001;
  color: #fff;
  background: #1a1a1a;
  border: 1px solid #fff3;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  position: relative;
}

.car-edit-modal-content h3 {
  color: #fff;
  margin: 0 0 1.5rem;
  font-size: 1.2rem;
}

.car-edit-fields {
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.car-edit-field {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.car-edit-field label {
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: .9rem;
}

.car-edit-input {
  color: #fff;
  box-sizing: border-box;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  width: 100%;
  padding: .75rem;
  font-size: 1rem;
}

.car-edit-input:focus {
  border-color: #66c0f4;
  outline: none;
}

.car-edit-actions {
  justify-content: flex-end;
  gap: .5rem;
  display: flex;
}

.car-save-button, .car-cancel-button {
  color: #fff;
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  padding: .6rem 1.2rem;
  font-size: .9rem;
  transition: all .2s;
}

.car-save-button:hover {
  background: #4caf504d;
  border-color: #4caf50;
}

.car-cancel-button:hover {
  background: #f443364d;
  border-color: #f44336;
}

.car-save-button:disabled, .car-cancel-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.car-name-header {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.car-name-logo {
  object-fit: contain;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  transform: scale(1.3);
}

.car-image-container {
  shape-outside: margin-box;
  z-index: 1;
  pointer-events: none;
  justify-self: center;
  width: auto;
  max-width: 35em;
  position: relative;
  transform: translateY(-62px)translateX(0%)scale(1.1);
}

.car-image-container img {
  pointer-events: none;
}

.car-image {
  object-fit: contain;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
}

.car-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.car-stat-card {
  border: 1px solid var(--content-accent-border);
  box-sizing: border-box;
  background: #ffffff08;
  border-radius: 6px;
  width: 100%;
  padding: 1.5rem;
  transition: all .2s;
}

.car-stat-card:hover {
  background: #ffffff0d;
  border-color: #7abeff6b;
}

.car-stat-card h3 {
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 .75rem;
  font-size: .9rem;
  font-weight: 500;
}

.car-stat-card .stat-value {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.car-stat-card .stat-card-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  display: flex;
}

.car-stat-card .stat-label {
  color: #888;
  margin: .5rem 0 0;
  font-size: .85rem;
}

.car-leaderboard-section {
  border-top: 1px solid #ffffff1a;
  margin-top: 3rem;
  padding-top: 2rem;
}

.car-leaderboard-title {
  color: #66c0f4;
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.car-leaderboard-loading, .car-leaderboard-empty, .car-leaderboard-error {
  text-align: center;
  color: #888;
  padding: 2rem;
}

.car-leaderboard-error {
  color: #f44;
}

.car-leaderboard-table {
  overflow-x: auto;
}

.car-leaderboard-table table {
  border-collapse: collapse;
  width: 100%;
}

.car-leaderboard-table thead {
  background: #2a2a2a80;
}

.car-leaderboard-table th {
  text-align: left;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid #ffffff1a;
  padding: 1rem;
  font-size: .9rem;
  font-weight: 500;
}

.car-leaderboard-table th:first-child {
  width: 80px;
}

.car-leaderboard-table th:nth-child(2) {
  width: auto;
}

.car-leaderboard-table th:nth-child(3), .car-leaderboard-table th:nth-child(4) {
  text-align: right;
  width: 150px;
}

.car-leaderboard-table td {
  color: #fff;
  border-bottom: 1px solid #2a2a2a80;
  padding: 1rem;
}

.car-leaderboard-table tbody tr:hover {
  background: #ffffff0d;
}

.car-leaderboard-table .rank-cell {
  color: #66c0f4;
  font-weight: bold;
}

.car-leaderboard-table .player-cell {
  font-weight: 500;
}

.car-leaderboard-table .value-cell {
  text-align: right;
}

.car-leaderboard-pagination {
  border-top: 1px solid #ffffff1a;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  display: flex;
}

.car-leaderboard-pagination .pagination-btn {
  color: #fff;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  padding: .5rem 1rem;
  font-size: .9rem;
  transition: all .2s;
}

.car-leaderboard-pagination .pagination-btn:hover:not(:disabled) {
  background: #ffffff1a;
  border-color: #66c0f480;
}

.car-leaderboard-pagination .pagination-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.car-leaderboard-pagination .pagination-info {
  color: #888;
  font-size: .9rem;
}

.suggestions-section {
  color: #fff;
  margin-top: 3rem;
}

.suggestions-header {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
}

.server-suggestions-wrapper {
  margin-bottom: 2.5rem;
}

.server-suggestions-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  display: flex;
}

.server-suggestions-title {
  color: #ccc;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.suggestions-arrows {
  gap: .5rem;
  display: flex;
}

.suggestions-arrow {
  color: #fff;
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
  transition: all .2s;
  display: flex;
}

.suggestions-arrow:hover {
  background: #ffffff26;
  border-color: #66c0f480;
}

.suggestions-arrow:active {
  background: #fff3;
}

.suggestions-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.suggestions-arrow.disabled {
  opacity: .3;
  cursor: not-allowed;
  pointer-events: none;
}

.suggestions-arrow.disabled:hover {
  background: #ffffff1a;
  border-color: #fff3;
}

.suggestions-scroll-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  width: 100%;
  padding-top: 2px;
  padding-bottom: .5rem;
  overflow: auto visible;
}

.suggestions-scroll-container::-webkit-scrollbar {
  display: none;
}

.suggestions-horizontal {
  flex-direction: row;
  gap: 1rem;
  width: max-content;
  padding-top: 2px;
  padding-right: 1rem;
  display: flex;
}

.suggestion-card.current-car {
  background: linear-gradient(135deg, #4caf501a 0%, #4caf500d 100%);
  border: 2px solid #4caf50;
  box-shadow: 0 2px 8px #4caf504d;
}

.suggestion-card.current-car:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #4caf5066;
}

.current-car-badge {
  color: #4caf50;
  margin-left: 4px;
  font-size: .85em;
  font-weight: 600;
}

.suggestion-card.suggested-car {
  background: linear-gradient(135deg, #2196f31a 0%, #2196f30d 100%);
  border: 2px solid #2196f3;
  box-shadow: 0 2px 8px #2196f34d;
}

.suggestion-card.suggested-car:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #2196f366;
}

.suggested-car-badge {
  color: #2196f3;
  margin-left: 4px;
  font-size: .85em;
  font-weight: 600;
}

.suggestion-card.next-unlock-car {
  opacity: .85;
  background: linear-gradient(135deg, #f443361a 0%, #f443360d 100%);
  border: 2px solid #f44336;
  box-shadow: 0 2px 8px #f443364d;
}

.suggestion-card.next-unlock-car:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #f4433666;
}

.next-unlock-badge {
  color: #f44336;
  margin-left: 4px;
  font-size: .85em;
  font-weight: 600;
}

.suggestion-profit.locked {
  color: #f44336;
  font-weight: 500;
}

.suggestion-card.current-car.suggested-car {
  background: linear-gradient(135deg, #4caf5026 0%, #2196f31a 100%);
  border: 2px solid #4caf50;
}

.suggestion-card.current-car.next-unlock-car {
  background: linear-gradient(135deg, #4caf5026 0%, #f443361a 100%);
  border: 2px solid #4caf50;
}

.suggestion-card {
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex-shrink: 0;
  min-width: 200px;
  padding: 1rem;
  transition: all .2s;
}

.suggestion-card:hover {
  background: #ffffff14;
  border-color: #66c0f480;
  transform: translateY(-2px);
}

.suggestion-car-name {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 600;
}

.suggestion-details {
  flex-direction: column;
  gap: .25rem;
  font-size: .85rem;
  display: flex;
}

.suggestion-cost {
  color: #888;
}

.suggestion-profit {
  color: #4ade80;
  font-weight: 500;
}

.suggestions-loading {
  text-align: center;
  color: #888;
  margin-top: 3rem;
  padding: 2rem;
}

.social-container {
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.social-tab-menu {
  z-index: 10;
  pointer-events: none;
  justify-content: center;
  gap: 0;
  width: 100%;
  display: flex;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.social-tab-menu .social-tab-button {
  pointer-events: auto;
}

.social-tab-button {
  border: 1px solid var(--content-accent-border);
  color: #fff;
  cursor: pointer;
  text-align: center;
  background: #ffffff0d;
  border-radius: 0;
  width: 180px;
  padding: .75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all .2s;
}

.social-tab-button:not(:last-child) {
  border-right: none;
}

.social-tab-button:not(:first-child) {
  border-left: none;
}

.social-tab-button:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.social-tab-button:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.social-tab-button:hover {
  background: #ffffff1a;
  border-color: #fff3;
}

.social-tab-button.active {
  background: linear-gradient(90deg, #35322b 0%, #151c29 100%);
}

.social-tab-content {
  width: 100%;
}

.social-tab-placeholder {
  text-align: center;
  color: #888;
  padding: 4rem 2rem;
  font-size: 1.1rem;
}

.clubs-tab {
  padding-top: 0;
}

.clubs-panel {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  box-shadow: var(--panel-shadow);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.clubs-hero {
  background: linear-gradient(67deg, #423c2d -110%, #151c29 80%);
  border-bottom: 1px solid #c8a05040;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.clubs-hero-actions {
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.clubs-hero-main {
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  display: flex;
}

.clubs-avatar-lg {
  border-radius: 10px 0 0 10px;
  flex-shrink: 0;
  height: 140px;
  margin: -20px 0 -20px -24px;
}

.clubs-avatar-placeholder-lg {
  color: #9fdcff;
  background: #67c1f51f;
  border: 1px solid #67c1f547;
  border-radius: 14px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
}

.clubs-hero-text {
  flex: 1;
  min-width: 0;
}

.clubs-heading {
  color: #fff;
  margin: 0 0 .35rem;
  font-size: 1.5rem;
}

.clubs-subheading {
  color: #e8e8e8;
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.clubs-muted {
  color: #ffffff8c;
  margin: .25rem 0 0;
  font-size: .95rem;
}

.clubs-desc-readonly {
  color: #ffffffc7;
  margin: .75rem 0 0;
  line-height: 1.45;
}

.clubs-toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
}

.clubs-pending-banner {
  margin-bottom: 1rem;
  padding: .85rem 1.25rem;
}

.clubs-pending-banner-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.clubs-pending-banner-text {
  color: #ffffffb8;
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: .95rem;
}

.clubs-pending-banner-text strong {
  color: #fffffff2;
}

.clubs-pending-combined .clubs-pending-combined-title {
  margin: 0 0 .35rem;
}

.clubs-pending-combined .clubs-pending-combined-intro {
  margin: 0 0 1rem;
  font-size: .92rem;
}

.clubs-pending-block {
  align-items: flex-start;
}

.clubs-pending-block-main {
  flex: 1;
  min-width: 200px;
}

.clubs-pending-kind {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffffff73;
  margin-bottom: .35rem;
  font-size: .72rem;
  font-weight: 600;
  display: block;
}

.clubs-pending-block .clubs-pending-banner-text {
  margin-top: 0;
}

.clubs-pending-divider {
  border: none;
  border-top: 1px solid #7abeff2e;
  margin: .85rem 0;
}

.clubs-pending-invite-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.clubs-outgoing-invites-hint {
  margin: 0 0 .75rem;
  font-size: .92rem;
}

.clubs-pending-club-panel .clubs-pending-club-intro {
  margin: 0 0 1rem;
  font-size: .92rem;
}

.clubs-pending-subsection-title {
  color: #ffffffeb;
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 600;
}

.clubs-pending-subsection-hint {
  margin: 0 0 .65rem;
  font-size: .88rem;
}

.clubs-pending-club-panel .clubs-pending-subsection-title:not(:first-of-type) {
  margin-top: .25rem;
}

.clubs-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  display: grid;
}

.clubs-card {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  box-shadow: var(--panel-shadow);
  border-radius: 12px;
  flex-direction: column;
  height: 100%;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.clubs-card-cover {
  aspect-ratio: 1;
  background: #00000059;
  flex-shrink: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.clubs-card-cover-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

.clubs-card-cover-placeholder {
  color: #b8e6ff;
  background: linear-gradient(145deg, #67c1f52e 0%, #141c28f2 100%);
  justify-content: center;
  align-items: center;
  font-size: clamp(2.25rem, 12vw, 4rem);
  font-weight: 700;
  display: flex;
  position: absolute;
  inset: 0;
}

.clubs-card-content {
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  min-height: 0;
  padding: 1rem 1.25rem 1.15rem;
  display: flex;
}

.clubs-card-content .clubs-btn-secondary, .clubs-card-content .clubs-btn-invite-only {
  text-align: center;
  align-self: stretch;
  margin-top: auto;
}

.clubs-card-head {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: .75rem;
  display: flex;
}

.clubs-card-titles {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  display: flex;
}

.clubs-card-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.clubs-tag {
  color: #9fdcff;
  text-transform: uppercase;
  background: #67c1f526;
  border: 1px solid #67c1f559;
  border-radius: 4px;
  padding: .15rem .45rem;
  font-size: .75rem;
}

.clubs-card-desc {
  color: #ffffffa6;
  margin: 0;
  font-size: .9rem;
  line-height: 1.4;
}

.clubs-card-meta {
  color: #ffffff73;
  font-size: .85rem;
}

.clubs-btn-primary, .clubs-btn-secondary, .clubs-btn-ghost, .clubs-btn-invite-only {
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 6px;
  padding: .55rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  transition: background .15s, border-color .15s;
}

.clubs-btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #3a6ea5 0%, #2c5282 100%);
  border-color: #ffffff1f;
}

.clubs-btn-primary:hover:not(:disabled) {
  filter: brightness(1.08);
}

.clubs-btn-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.clubs-btn-secondary {
  color: #fff;
  border-color: var(--content-accent-border);
  background: #ffffff14;
}

.clubs-btn-secondary:hover:not(:disabled) {
  background: #ffffff1f;
}

.clubs-btn-invite-only {
  color: #ffffff61;
  cursor: not-allowed;
  opacity: .9;
  background: #ffffff0a;
  border-color: #ffffff1a;
}

.clubs-btn-ghost {
  color: #ffffffd9;
  background: none;
  border-color: #ffffff26;
}

.clubs-btn-ghost:hover:not(:disabled) {
  background: #ffffff0f;
}

.clubs-alert {
  color: #ffb4b4;
  background: #dc50501f;
  border: 1px solid #dc505059;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
}

.clubs-modal-overlay {
  z-index: 200;
  background: #0000008c;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.clubs-modal {
  border: 1px solid var(--steam-accent-border);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--panel-shadow);
  background: #1a2230;
  border-radius: 12px;
  padding: 1.5rem;
}

.clubs-modal-wide {
  max-width: 520px;
}

.clubs-modal-settings {
  flex-direction: column;
  max-width: min(640px, 100vw - 2rem);
  max-height: min(90vh, 920px);
  padding: 0;
  display: flex;
  overflow: hidden;
}

.clubs-modal-settings > h3 {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem 0;
}

.clubs-settings-scroll {
  flex: 1;
  min-height: 0;
  padding: 0 1.5rem 1rem;
  overflow-y: auto;
}

.clubs-settings-section {
  padding-top: 1rem;
}

.clubs-settings-section:first-child {
  padding-top: .25rem;
}

.clubs-settings-section + .clubs-settings-section {
  border-top: 1px solid #ffffff14;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.clubs-settings-section-title {
  color: #e8e8e8;
  margin: 0 0 .75rem;
  font-size: 1rem;
  font-weight: 600;
}

.clubs-modal-settings .clubs-modal-actions {
  background: #0003;
  border-top: 1px solid #ffffff14;
  flex-shrink: 0;
  margin: 0;
  padding: 1rem 1.5rem 1.25rem;
}

.clubs-modal h3 {
  color: #fff;
  margin: 0 0 1rem;
}

.clubs-field {
  color: #ffffffbf;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: .75rem;
  font-size: .9rem;
  display: flex;
}

.clubs-field input, .clubs-field textarea, .clubs-invite-row input, .clubs-new-role input {
  color: #fff;
  background: #00000059;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  padding: .5rem .65rem;
  font-family: inherit;
}

.clubs-field-wide {
  grid-column: 1 / -1;
}

.clubs-edit-grid {
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1rem;
  margin-bottom: 1rem;
  display: grid;
}

@media (max-width: 600px) {
  .clubs-edit-grid {
    grid-template-columns: 1fr;
  }
}

.clubs-check {
  color: #ffffffd9;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
  font-size: .9rem;
  display: flex;
}

.clubs-modal-actions {
  justify-content: flex-end;
  gap: .5rem;
  margin-top: 1rem;
  display: flex;
}

.clubs-warning {
  color: #ffb08a;
  margin: .5rem 0 0;
  font-size: .9rem;
}

.clubs-invite-row {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.clubs-invite-row input {
  flex: 1;
  min-width: 200px;
}

.clubs-app-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clubs-app-list li {
  color: #fff;
  border-bottom: 1px solid #ffffff0f;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
  display: flex;
}

.clubs-app-list li.clubs-app-item {
  align-items: flex-start;
}

.clubs-app-item-main {
  flex: 1;
  min-width: 0;
}

.clubs-app-name {
  font-weight: 600;
  display: block;
}

.clubs-app-message {
  color: #ffffffc7;
  white-space: pre-wrap;
  word-break: break-word;
  margin: .4rem 0 0;
  font-size: .9rem;
  line-height: 1.45;
}

.clubs-pending-app-message {
  color: #ffffffd1;
  white-space: pre-wrap;
  word-break: break-word;
  background: #0003;
  border-left: 3px solid #7abeff59;
  margin: .5rem 0 0;
  padding: .5rem .65rem;
  font-size: .9rem;
  line-height: 1.45;
}

.clubs-apply-char-count {
  color: #ffffff73;
  margin: -.15rem 0 .75rem;
  font-size: .85rem;
}

.clubs-app-actions {
  gap: .35rem;
  display: flex;
}

.clubs-body-layout {
  align-items: flex-start;
  gap: 1.25rem;
  display: flex;
}

.clubs-body-main {
  flex: 3;
  min-width: 0;
}

.clubs-body-side {
  flex: 1;
  min-width: 0;
}

.clubs-members-panel {
  position: sticky;
  top: 1rem;
}

.clubs-table-wrap {
  overflow-x: auto;
}

.clubs-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .95rem;
}

.clubs-table th, .clubs-table td {
  text-align: left;
  color: #ffffffe6;
  border-bottom: 1px solid #ffffff14;
  padding: .5rem .65rem;
}

.clubs-table th {
  color: #ffffff73;
  font-size: .85rem;
  font-weight: 500;
}

.clubs-table select {
  color: #fff;
  background: #00000059;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  padding: .35rem .5rem;
  font-family: inherit;
}

.clubs-actions {
  text-align: right;
  white-space: nowrap;
}

.clubs-new-role {
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
  display: flex;
}

.clubs-new-role input {
  flex: 1;
  min-width: 180px;
}

.clubs-roles-list {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.clubs-role-card {
  background: #0003;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  padding: 1rem;
}

.clubs-role-head {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  display: flex;
}

.clubs-role-head strong {
  color: #fff;
}

.clubs-badge {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #ffffff8c;
  background: #ffffff0f;
  border-radius: 4px;
  padding: .12rem .4rem;
  font-size: .7rem;
}

.clubs-role-delete {
  margin-left: auto;
}

.clubs-perm-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .35rem .75rem;
  margin-bottom: .75rem;
  display: grid;
}

.clubs-avatar-upload {
  margin-bottom: 1.25rem;
}

.clubs-avatar-preview-wrap {
  margin-bottom: .65rem;
}

.clubs-avatar-preview {
  object-fit: cover;
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  width: 96px;
  height: 96px;
  display: block;
}

.clubs-avatar-placeholder-preview {
  color: #9fdcff;
  background: #67c1f51a;
  border: 1px solid #67c1f540;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 96px;
  height: 96px;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
}

.clubs-avatar-upload-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
  display: flex;
}

.clubs-avatar-hint {
  margin: 0;
  font-size: .85rem;
}

.clubs-sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.clubs-file-label {
  cursor: pointer;
  align-items: center;
  margin: 0;
  display: inline-flex;
}

.social-header {
  color: #fff;
  margin-bottom: 2rem;
}

.social-header h1 {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.guide-layout-flex {
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  display: flex;
}

.guide-sidebar-panel {
  background: var(--panel-bg);
  border: 1px solid var(--content-accent-border);
  height: fit-content;
  box-shadow: var(--panel-shadow);
  border-radius: 12px;
  flex: 0 0 350px;
  padding: 2rem;
  position: sticky;
  top: 5.5rem;
}

.guide-main-panel {
  color: #fff;
  background: var(--panel-bg);
  border: 1px solid var(--content-accent-border);
  min-height: 600px;
  box-shadow: var(--panel-shadow);
  border-radius: 12px;
  flex: 1;
  padding: 2rem;
}

.guide-add-category-inline {
  color: #ffffffbf;
  cursor: pointer;
  background: none;
  border: 1px dashed #ffffff38;
  border-radius: 4px;
  flex-shrink: 0;
  padding: .2rem .5rem;
  font-family: inherit;
  font-size: .75rem;
}

.guide-add-category-inline:hover {
  color: #fff;
  background: #ffffff0f;
  border-style: solid;
  border-color: #ffffff47;
}

.guide-readonly-html.ql-editor {
  height: auto;
  min-height: unset;
  max-height: none;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  overflow: visible;
}

.guide-readonly-html.ql-editor.ql-blank:before {
  display: none;
}

.guide-readonly-html--empty {
  min-height: 0;
}

.ql-snow .guide-readonly-html.ql-editor a {
  color: #7ac8f0;
  text-underline-offset: 2px;
  text-decoration: underline;
}

.ql-snow .guide-readonly-html.ql-editor a:hover {
  color: #a6dcff;
}

.guide-link-embed {
  max-width: 520px;
  color: inherit;
  background: #00000059;
  border: 1px solid #ffffff24;
  border-radius: 10px;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  margin: .65rem 0 1rem;
  text-decoration: none;
  transition: border-color .15s, background .15s;
  display: flex;
  overflow: hidden;
}

.guide-link-embed:hover {
  background: #00000073;
  border-color: #66c0f473;
}

.guide-link-embed--loading {
  pointer-events: none;
  gap: .75rem;
  padding: .65rem .85rem;
}

.guide-link-embed__shimmer {
  background: linear-gradient(110deg, #ffffff0f 0%, #ffffff1f 45%, #ffffff0f 90%) 0 0 / 200% 100%;
  flex-shrink: 0;
  width: 96px;
  animation: 1.2s ease-in-out infinite guide-link-shimmer;
}

@keyframes guide-link-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.guide-link-embed__text {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: .35rem;
  min-width: 0;
  display: flex;
}

.guide-link-embed__host {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #ffffff73;
  font-size: .72rem;
}

.guide-link-embed__title-skel {
  background: #ffffff14;
  border-radius: 4px;
  width: 72%;
  height: .95rem;
}

.guide-link-embed--fallback {
  flex-direction: column;
  align-items: flex-start;
  padding: .65rem .85rem;
}

.guide-link-embed__mini {
  color: #ffffff8c;
  word-break: break-all;
  font-size: .8rem;
}

.guide-link-embed__thumb {
  aspect-ratio: 16 / 10;
  background: #24262a;
  flex: 0 0 200px;
  align-self: stretch;
  width: 200px;
  max-height: none;
  position: relative;
}

.guide-link-embed--has-visual {
  max-width: min(560px, 100%);
}

.guide-link-embed__thumb-img {
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: 100%;
  display: block;
}

.guide-link-embed__thumb-img--missing {
  opacity: 0;
  position: absolute;
  inset: 0;
}

.guide-link-embed__body {
  flex-direction: column;
  flex: 1;
  gap: .25rem;
  min-width: 0;
  padding: .65rem .85rem;
  display: flex;
}

.guide-link-embed__site {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #ffffff80;
  font-size: .72rem;
}

.guide-link-embed__title {
  color: #fffffff2;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
}

.guide-link-embed__desc {
  color: #ffffff9e;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: .82rem;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
}

.guide-link-embed__hint {
  color: #ffffff6b;
  margin-top: .35rem;
  font-size: .72rem;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .guide-link-embed--card {
    flex-direction: column;
  }

  .guide-link-embed__thumb {
    aspect-ratio: 16 / 9;
    flex-basis: auto;
    width: 100%;
    max-height: 200px;
  }
}

.guide-quill-wrap {
  background: #00000059;
  border: 1px solid #ffffff1f;
  border-radius: 8px;
  overflow: hidden;
}

.guide-quill-wrap .ql-toolbar {
  background: #141820f2;
  border: none;
  border-bottom: 1px solid #ffffff1a;
}

.guide-quill-wrap .ql-toolbar .ql-stroke {
  stroke: #ccc;
}

.guide-quill-wrap .ql-toolbar .ql-fill {
  fill: #ccc;
}

.guide-quill-wrap .ql-toolbar button:hover .ql-stroke, .guide-quill-wrap .ql-toolbar button.ql-active .ql-stroke {
  stroke: #fff;
}

.guide-quill-wrap .ql-toolbar button:hover .ql-fill, .guide-quill-wrap .ql-toolbar button.ql-active .ql-fill {
  fill: #fff;
}

.guide-quill-wrap .ql-container {
  color: #fff;
  background: #00000040;
  border: none;
  min-height: 320px;
  font-family: inherit;
  font-size: 1rem;
}

.guide-quill-wrap .ql-editor {
  min-height: 320px;
}

.guide-quill-wrap .ql-editor.ql-blank:before {
  color: #ffffff59;
}

.social-layout {
  align-items: flex-start;
  gap: 2rem;
  display: flex;
}

.players-list-panel {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  box-shadow: var(--panel-shadow);
  border-radius: 12px;
  flex-direction: column;
  flex: 0 0 350px;
  max-height: calc(100vh - 260px);
  padding: 1.5rem;
  display: flex;
  overflow: hidden auto;
}

.players-content-panel {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  box-shadow: var(--panel-shadow);
  border-radius: 12px;
  flex: 1;
  min-height: 500px;
  padding: 2rem;
}

.players-search-container {
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.players-search-clear {
  color: #555;
  cursor: default;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: all .2s;
  display: flex;
}

.players-search-clear.active {
  color: #e74c3c;
  cursor: pointer;
  background: #c8323240;
  border-color: #c8323280;
}

.players-search-clear.active:hover {
  color: #ff6b6b;
  background: #c8323266;
  border-color: #c83232b3;
}

.players-search-input {
  color: #fff;
  background: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  width: 100%;
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: all .2s;
}

.players-search-input::placeholder {
  color: #888;
}

.players-search-input:focus {
  background: #ffffff1f;
  border-color: #66c0f4;
  outline: none;
}

.players-section {
  margin-bottom: 1rem;
}

.players-section-header {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: .5rem;
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}

.players-section-header:hover {
  background: #ffffff14;
  border-color: #fff3;
}

.players-section-title {
  text-align: left;
  flex: 1;
}

.players-section-toggle {
  opacity: .7;
  font-size: .8rem;
  transition: transform .2s;
}

.players-section-content {
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.players-list {
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  display: flex;
}

.player-item {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: #ffffff0d;
  border: none;
  border-radius: 4px;
  align-items: center;
  gap: .75rem;
  width: 100%;
  height: auto;
  min-height: auto;
  padding: 0 0 0 0;
  font-size: .95rem;
  transition: all .2s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.player-item:hover {
  background: #ffffff1a;
  border-color: #66c0f480;
  transform: translateX(4px);
}

.player-item.active {
  color: #66c0f4;
  background: #66c0f433;
  border-color: #66c0f4;
  font-weight: 500;
}

.player-item.online {
  background: #4ade8026;
  border-left: 3px solid #4ade80;
}

.player-item.online:hover {
  background: #4ade8033;
}

.player-item.online.active {
  background: #66c0f440;
  border-left-color: #4ade80;
}

.player-avatar-container {
  border: 2px solid #66c0f4;
  border-radius: 4px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-left: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 6px #66c0f480, inset 0 0 10px #66c0f433;
}

.player-avatar {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.player-avatar-placeholder {
  color: #888;
  background: #ffffff1a;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
}

.player-name {
  color: inherit;
  flex: 1;
  font-size: .95rem;
}

.players-loading, .players-error, .players-empty {
  text-align: center;
  color: #888;
  padding: 2rem;
}

.players-error {
  color: #f44;
}

.players-content-empty, .players-content-loading, .players-content-error {
  text-align: center;
  color: #888;
  padding: 3rem;
}

.players-content-stats {
  width: 100%;
}

.players-content-header {
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
}

.players-content-header h2 {
  color: #fff;
  flex-shrink: 0;
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.players-content-header-new {
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
}

.player-profile-avatar-large {
  border: 3px solid #66c0f4;
  border-radius: 8px;
  flex-shrink: 0;
  width: 136px;
  height: 136px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 12px #66c0f480, inset 0 0 20px #66c0f433;
}

.player-profile-avatar-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.player-profile-avatar-placeholder {
  color: #888;
  background: #ffffff1a;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 4rem;
  font-weight: 600;
  display: flex;
}

.player-profile-info {
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  min-height: 136px;
  display: flex;
}

.player-profile-name-section {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.player-profile-name {
  color: #fff;
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.player-online-status-inline {
  color: #888;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  display: flex;
}

.player-online-status-inline .status-indicator {
  border-radius: 50%;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.player-online-status-inline .status-indicator.online {
  background: #4ade80;
  box-shadow: 0 0 8px #4ade8080;
}

.player-online-status-inline .status-indicator.offline {
  background: #888;
}

.player-profile-actions {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
}

.player-header-actions {
  flex-shrink: 0;
  align-items: center;
  gap: .75rem;
  margin-left: auto;
  display: flex;
}

.player-online-status {
  color: #4ade80;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  display: inline-flex;
}

.player-online-status span:first-child {
  font-size: .875rem;
}

.player-online-status span:last-child {
  font-weight: 500;
}

.player-offline-status {
  color: #888;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  display: flex;
}

.player-offline-status div:first-child {
  font-size: .875rem;
}

.player-offline-status div:last-child {
  font-weight: 500;
}

.player-join-button {
  color: #66c0f4;
  cursor: pointer;
  white-space: nowrap;
  background: #66c0f433;
  border: 1px solid #66c0f480;
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  display: inline-block;
}

.player-join-button:hover {
  color: #fff;
  background: #66c0f44d;
  border-color: #66c0f4b3;
}

.player-club-invite-button {
  color: #c4b5fd;
  cursor: pointer;
  white-space: nowrap;
  background: #a78bfa2e;
  border: 1px solid #a78bfa73;
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
}

.player-club-invite-button:hover:not(:disabled) {
  color: #ede9fe;
  background: #a78bfa47;
  border-color: #a78bfaa6;
}

.player-club-invite-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.player-club-revoke-invite-button {
  color: #fdba74;
  background: #fb923c24;
  border-color: #fb923c73;
}

.player-club-revoke-invite-button:hover:not(:disabled) {
  color: #ffedd5;
  background: #fb923c3d;
  border-color: #fb923ca6;
}

.player-friend-button {
  color: #4ade80;
  cursor: pointer;
  white-space: nowrap;
  background: #4ade8033;
  border: 1px solid #4ade8080;
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
}

.player-friend-button:hover {
  color: #fff;
  background: #4ade804d;
  border-color: #4ade80b3;
}

.player-friend-button.remove-friend {
  color: #ef4444;
  background: #ef444433;
  border-color: #ef444480;
}

.player-friend-button.remove-friend:hover {
  color: #fff;
  background: #ef44444d;
  border-color: #ef4444b3;
}

.player-friend-button.revoke-friend {
  color: #fbbf24;
  background: #fbbf2433;
  border-color: #fbbf2480;
}

.player-friend-button.revoke-friend:hover {
  color: #fff;
  background: #fbbf244d;
  border-color: #fbbf24b3;
}

.chat-button {
  color: #66c0f4;
  cursor: pointer;
  white-space: nowrap;
  background: #66c0f433;
  border: 1px solid #66c0f480;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
  display: flex;
  position: relative;
}

.chat-button:hover {
  color: #fff;
  background: #66c0f44d;
  border-color: #66c0f4b3;
}

.chat-button svg {
  flex-shrink: 0;
}

.chat-button-badge {
  color: #fff;
  text-align: center;
  background: #ef4444;
  border-radius: 10px;
  min-width: 18px;
  padding: 2px 6px;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.2;
  position: absolute;
  top: -6px;
  right: -6px;
}

.chat-window-slide-up {
  width: 380px;
  max-width: calc(100vw - 40px);
  animation: .3s ease-out slideUpChat;
  position: fixed;
  bottom: 70px;
  right: 20px;
}

@keyframes slideUpChat {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-window {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  width: 100%;
  height: 500px;
  max-height: calc(100vh - 90px);
  box-shadow: 0 -4px 24px #00000073, var(--panel-shadow);
  -webkit-backdrop-filter: none;
  border-radius: 12px 12px 0 0;
  flex-direction: column;
  display: flex;
}

.chat-window-header {
  background: #ffffff0d;
  border-bottom: 1px solid #333;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  display: flex;
}

.chat-window-header-info {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.chat-header-avatar {
  object-fit: cover;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.chat-header-name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.chat-window-close {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 2rem;
  transition: background .2s;
  display: flex;
}

.chat-window-close:hover {
  background: #ffffff1a;
}

.chat-window-messages {
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  min-height: 0;
  padding: 1rem;
  display: flex;
  overflow-y: auto;
}

.chat-message {
  word-wrap: break-word;
  flex-direction: column;
  max-width: 70%;
  display: flex;
}

.chat-message.sent {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-message.received {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-message-content {
  word-wrap: break-word;
  border-radius: 12px;
  padding: .75rem 1rem;
  font-size: .95rem;
  line-height: 1.4;
}

.chat-message.sent .chat-message-content {
  color: #fff;
  background: #66c0f44d;
  border-bottom-right-radius: 4px;
}

.chat-message.received .chat-message-content {
  color: #fff;
  background: #ffffff1a;
  border-bottom-left-radius: 4px;
}

.chat-message-time {
  color: #666;
  margin-top: .25rem;
  padding: 0 .5rem;
  font-size: .75rem;
}

.chat-loading, .chat-empty {
  text-align: center;
  color: #666;
  padding: 2rem;
}

.chat-window-input-container {
  background: #ffffff08;
  border-top: 1px solid #333;
  padding: 1rem;
}

.chat-emoji-picker {
  background: #1e1e1ef2;
  border: 1px solid #333;
  border-radius: 8px;
  max-height: 200px;
  margin-bottom: 1rem;
  padding: 1rem;
  overflow-y: auto;
}

.chat-emoji-grid {
  grid-template-columns: repeat(10, 1fr);
  gap: .5rem;
  display: grid;
}

.chat-emoji-button {
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: .25rem;
  font-size: 1.5rem;
  transition: background .2s;
}

.chat-emoji-button:hover {
  background: #ffffff1a;
}

.chat-input-wrapper {
  align-items: flex-end;
  gap: .5rem;
  display: flex;
}

.chat-emoji-toggle {
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 4px;
  flex-shrink: 0;
  padding: .5rem;
  font-size: 1.25rem;
  transition: all .2s;
}

.chat-emoji-toggle:hover {
  background: #ffffff26;
}

.chat-input {
  color: #fff;
  resize: none;
  background: #ffffff0d;
  border: 1px solid #fff3;
  border-radius: 8px;
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  padding: .75rem;
  font-family: inherit;
  font-size: .95rem;
}

.chat-input:focus {
  background: #ffffff14;
  border-color: #66c0f480;
  outline: none;
}

.chat-send-button {
  color: #66c0f4;
  cursor: pointer;
  background: #66c0f433;
  border: 1px solid #66c0f480;
  border-radius: 8px;
  flex-shrink: 0;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
}

.chat-send-button:hover:not(:disabled) {
  color: #fff;
  background: #66c0f44d;
  border-color: #66c0f4b3;
}

.chat-send-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.chat-window-header-actions {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.chat-window-minimize {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  transition: background .2s;
  display: flex;
}

.chat-window-minimize:hover {
  background: #ffffff1a;
}

.chat-windows-container {
  z-index: 1501;
  pointer-events: none;
  position: fixed;
  bottom: 0;
  right: 20px;
}

.chat-window-wrapper {
  pointer-events: auto;
  width: 380px;
  max-width: calc(100vw - 40px);
  transition: all .3s ease-out;
  position: absolute;
  bottom: 0;
}

.chat-window-wrapper:not(.chat-window-minimized-wrapper) {
  animation: .3s ease-out slideUpChat;
}

.chat-window-minimized-wrapper {
  width: 380px;
  height: auto;
  bottom: 0;
}

.chat-window-minimized-bar {
  cursor: pointer;
  background: #141414f2;
  border: 1px solid #333;
  border-radius: 8px 8px 0 0;
  width: 100%;
  min-width: 380px;
  max-width: 380px;
  transition: all .3s ease-out;
  box-shadow: 0 -4px 12px #0000004d;
}

.chat-window-minimized-bar:hover {
  background: #1e1e1efa;
}

.chat-window-minimized-content {
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  display: flex;
}

.chat-minimized-avatar {
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.chat-minimized-avatar-placeholder {
  color: #66c0f4;
  background: #66c0f44d;
  justify-content: center;
  align-items: center;
  font-size: .9rem;
  font-weight: 600;
  display: flex;
}

.chat-minimized-name {
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: .9rem;
  font-weight: 500;
  overflow: hidden;
}

.chat-window-minimized-close {
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  transition: all .2s;
  display: flex;
}

.chat-window-minimized-close:hover {
  color: #fff;
  background: #ffffff1a;
}

.chat-list-tab {
  cursor: pointer;
  border: 1px solid var(--steam-accent-border);
  background: var(--panel-bg);
  -webkit-backdrop-filter: none;
  z-index: 1500;
  border-bottom: 2px solid #0000;
  border-radius: 12px 12px 0 0;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  gap: .5rem;
  min-width: 150px;
  height: 70px;
  padding: .5rem .75rem;
  transition: all .2s;
  display: flex;
  position: fixed;
  bottom: 0;
  right: 20px;
  box-shadow: 0 -4px 20px #00000059;
}

.chat-list-tab:hover {
  background: #ffffff0d;
}

.chat-list-tab.active {
  background: #66c0f426;
  border-bottom-color: #66c0f4cc;
}

.chat-tab-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  position: relative;
}

.chat-tab-avatar img {
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.chat-tab-avatar-placeholder {
  color: #66c0f4;
  background: #66c0f44d;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
}

.chat-tab-unread-badge {
  color: #fff;
  text-align: center;
  background: #ef4444;
  border: 2px solid #141414f2;
  border-radius: 10px;
  min-width: 16px;
  padding: 2px 5px;
  font-size: .65rem;
  font-weight: 600;
  line-height: 1.2;
  position: absolute;
  top: -4px;
  right: -4px;
}

.chat-tab-name {
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: .85rem;
  font-weight: 500;
  overflow: hidden;
}

@media (max-width: 768px) {
  .chat-list-tab {
    min-width: 120px;
    padding: .4rem .5rem;
    right: 10px;
  }

  .chat-windows-container {
    right: 10px;
  }

  .chat-window-wrapper {
    width: calc(100vw - 20px);
    right: 0 !important;
  }

  .chat-window {
    height: 400px;
    max-height: calc(100vh - 80px);
  }

  .chat-list-tab {
    min-width: 50px;
    max-width: 50px;
    padding: .4rem;
  }

  .chat-tab-avatar {
    width: 32px;
    height: 32px;
  }

  .chat-tab-name {
    max-width: 50px;
    font-size: .6rem;
  }
}

.head-to-head-section {
  background: #66c0f41a;
  border: 1px solid #66c0f44d;
  border-radius: 8px;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.head-to-head-section h3 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.head-to-head-stats {
  flex-wrap: wrap;
  gap: 2rem;
  display: flex;
}

.head-to-head-item {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.head-to-head-label {
  color: #aaa;
  font-size: .875rem;
}

.head-to-head-value {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.servers-section {
  color: #fff;
}

.servers-layout {
  flex: auto;
  gap: 2rem;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.servers-sidebar {
  flex-shrink: 0;
  width: 350px;
  min-height: 0;
  padding-right: .5rem;
  overflow-y: auto;
}

.servers-content {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.servers-content > .track-map-placeholder {
  flex: auto;
  min-height: 0;
  overflow: hidden;
}

.servers-content > .track-map-container {
  flex: 1;
  height: auto;
  min-height: 0;
}

.servers-players-inline {
  color: #fff;
  border-left: 1px solid #ffffff1f;
  flex-direction: column;
  flex: 0 0 min(300px, 34%);
  min-width: 200px;
  max-width: 340px;
  min-height: 0;
  margin: 0 0 0 1rem;
  padding: 0 0 0 1rem;
  display: flex;
}

.servers-players-inline-title {
  color: #fffffff2;
  letter-spacing: .02em;
  flex-shrink: 0;
  margin: 0 0 .65rem;
  padding-top: .15rem;
  font-size: .95rem;
  font-weight: 600;
}

.servers-players-empty {
  color: #888;
  margin: 0;
  padding: .5rem 0 1rem;
  font-size: .9rem;
}

.servers-players-list {
  scrollbar-gutter: stable;
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0 0 .25rem;
  list-style: none;
  overflow-y: auto;
}

.servers-players-list-item {
  cursor: pointer;
  border-bottom: 1px solid #ffffff0f;
  border-radius: 6px;
  align-items: center;
  gap: .65rem;
  margin: 0 -.25rem;
  padding: .55rem .5rem;
  font-size: .9rem;
  transition: background .15s;
  display: flex;
}

.servers-players-list-item:hover {
  background: #ffffff0a;
}

.servers-players-list-item:focus-visible {
  outline-offset: 1px;
  outline: 2px solid #66c0f48c;
}

.servers-players-list-item--selected {
  background: #ffffff14;
}

.servers-players-list-trailing {
  flex-shrink: 0;
  justify-content: flex-end;
  align-items: center;
  min-width: 2rem;
  margin-left: auto;
  display: flex;
}

.servers-players-list-item:last-child {
  border-bottom: none;
}

.servers-players-color-swatch {
  border-radius: 50%;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 1px #0006;
}

.servers-players-pits {
  box-sizing: border-box;
  letter-spacing: .02em;
  color: #ffffffeb;
  text-align: center;
  background: #ffffff14;
  border: none;
  border-radius: 4px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 2.125rem;
  height: 2.125rem;
  padding: 0;
  font-size: .52rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
}

.servers-players-list-text {
  flex-direction: column;
  flex: auto;
  gap: .15rem;
  min-width: 0;
  display: flex;
}

.servers-players-name {
  color: #fff;
  word-break: break-word;
  font-weight: 500;
}

.servers-players-car {
  color: #aaa;
  word-break: break-word;
  font-size: .8rem;
  line-height: 1.3;
}

.servers-header {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
}

.servers-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.servers-list {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.server-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none;
  color: #fff;
  cursor: pointer;
  border-radius: 12px;
  flex-direction: column;
  min-height: 180px;
  padding: 1.5rem;
  transition: all .2s;
  display: flex;
}

.server-card:hover {
  border-color: #555;
  transform: translateX(4px);
}

.server-card.selected {
  background: linear-gradient(90deg, #35322b 0%, #151c29 100%);
  border-color: #c8a05059;
  box-shadow: 0 0 20px #c8a05012;
}

.server-card-content {
  flex-direction: column;
  flex: 1;
  gap: .75rem;
  display: flex;
}

.server-card-footer {
  margin-top: auto;
  padding-top: 1rem;
}

.server-card-actions {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.server-primary-actions {
  flex: 1;
  align-items: stretch;
  gap: .5rem;
  min-width: 0;
  display: flex;
}

.server-card-title {
  color: #fff;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.server-status {
  background: #ffffff08;
  border-radius: 20px;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  padding: .25rem .75rem;
  display: inline-flex;
}

.server-status.online {
  background: #22c55e22;
}

.server-status.offline {
  background: #ef444422;
}

.server-status-dot {
  background: currentColor;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.server-status.online .server-status-dot {
  color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.server-status.offline .server-status-dot {
  color: #ef4444;
}

.server-status-text {
  font-size: .875rem;
  font-weight: 500;
}

.server-player-count {
  color: #aaa;
  font-size: .875rem;
}

.server-join-button {
  color: #fff;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  background: linear-gradient(135deg, #1c344c 0%, #5a4335 100%);
  border: none;
  border-radius: 8px;
  flex: 1;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: .75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  display: flex;
}

.server-download-button {
  aspect-ratio: 1;
  color: #d8e9ff;
  box-sizing: border-box;
  background: linear-gradient(135deg, #1e354ef2 0%, #131e2dfa 100%);
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-self: stretch;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: .15rem .2rem;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
}

.server-download-button-lines {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .06rem;
  line-height: 1.05;
  display: flex;
}

.server-download-button-line {
  letter-spacing: .01em;
  font-size: .58rem;
  font-weight: 600;
}

.server-download-button:hover {
  border-color: #90c1f18c;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px #00000038;
}

.server-download-button:active {
  transform: translateY(0);
}

.server-join-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #0002;
}

.server-join-button:active {
  transform: translateY(0);
}

.servers-loading {
  text-align: center;
  color: #888;
  margin-top: 3rem;
  font-size: 1rem;
}

.servers-empty {
  text-align: center;
  color: #888;
  grid-column: 1 / -1;
  padding: 2rem;
  font-size: 1rem;
}

.track-map-container {
  background: var(--panel-bg);
  border: 1px solid var(--leaderboard-accent-border);
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none;
  color: #fff;
  border-radius: 12px;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  display: flex;
}

.track-map-container--with-side .track-map-loading {
  flex: 1;
  min-height: 200px;
}

.servers-map-unified-body {
  flex-direction: row;
  flex: 1;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  display: flex;
}

.servers-map-unified-canvas-wrap {
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.track-map-container--with-side .servers-map-unified-canvas-wrap .track-map-canvas {
  flex: 1;
  width: 100%;
  min-height: 0;
}

@media (max-width: 1024px) {
  .track-map-container--with-side .servers-map-unified-body {
    flex-direction: column;
  }

  .track-map-container--with-side .servers-map-unified-canvas-wrap {
    flex: auto;
    min-height: min(48vh, 440px);
    max-height: min(55vh, 520px);
  }

  .servers-players-inline {
    border-top: 1px solid #ffffff1f;
    border-left: none;
    flex: none;
    width: 100%;
    max-width: none;
    max-height: min(40vh, 380px);
    margin: 1rem 0 0;
    padding: 1rem 0 0;
  }
}

.track-map-header {
  border-bottom: 1px solid #333;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  display: flex;
}

.track-map-header h3 {
  color: #fff;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.track-map-legend {
  gap: 1.5rem;
  font-size: .875rem;
  display: flex;
}

.legend-item {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.legend-dot {
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

.legend-dot.online {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.legend-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.track-map-canvas {
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 8px;
  flex: 1;
  width: 100%;
}

.car-dealer-container {
  z-index: 1;
  flex-direction: column;
  flex: auto;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.car-dealer-split {
  flex-direction: row;
  flex: 1;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.car-dealer-sidebar {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  min-width: 280px;
  max-width: 380px;
  min-height: 0;
  box-shadow: var(--panel-shadow);
  flex-direction: column;
  flex: 0 0 min(320px, 32vw);
  gap: 1rem;
  padding: 1.5rem;
  display: flex;
  overflow: hidden;
}

.car-dealer-sidebar-title {
  color: #fff;
  letter-spacing: .02em;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.car-dealer-manufacturer-list {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex-direction: column;
  flex: 1;
  gap: .35rem;
  min-height: 0;
  padding-right: .25rem;
  display: flex;
  overflow: hidden auto;
}

.car-dealer-main {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.car-dealer-main:not(:has(.car-dealer-showroom)) {
  padding: 0 1rem .5rem;
}

.car-dealer-main-wallpaper-bg {
  z-index: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.car-dealer-wallpaper-layer {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 1.7s ease-in-out;
  position: absolute;
  inset: 0;
}

.car-dealer-main-empty {
  flex: 1;
  justify-content: center;
  align-items: center;
  min-height: 12rem;
  display: flex;
}

@media (max-width: 900px) {
  .car-dealer-split {
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .car-dealer-sidebar {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 0;
    max-height: min(38vh, 280px);
    overflow: hidden;
  }

  .car-dealer-manufacturer-list {
    flex-flow: column;
    gap: .35rem;
    overflow: hidden auto;
  }

  .car-dealer-manufacturer-item {
    width: 100%;
  }
}

.car-dealer-loading, .car-dealer-error, .car-dealer-empty {
  text-align: center;
  color: #fff;
  padding: 3rem;
  font-size: 1.1rem;
}

.car-dealer-error {
  color: #ff6464;
}

.car-dealer-manufacturers {
  width: 100%;
}

.car-dealer-title {
  text-align: center;
  color: #fff;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: 600;
}

.car-dealer-manufacturer-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  display: grid;
}

.car-dealer-filters {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: none;
  border: none;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0;
  display: flex;
}

.car-dealer-filter-button {
  border: 1px solid var(--content-accent-border);
  color: #fff;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(90deg, #35322b 0%, #151c29 100%);
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all .3s;
}

.car-dealer-filter-button:hover {
  background: #66c0f433;
  border-color: #66c0f480;
  transform: translateY(-2px);
}

.car-dealer-filter-button.active {
  background: linear-gradient(135deg, #66c0f44d 0%, #66c0f426 100%);
  border-color: #66c0f4;
  box-shadow: 0 4px 15px #66c0f44d;
}

.car-dealer-manufacturer-item {
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  background: #ffffff0a;
  border: 1px solid #0000;
  border-radius: 8px;
  flex-direction: row;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .85rem .75rem;
  transition: background .2s, border-color .2s, transform .2s;
  display: flex;
}

.car-dealer-manufacturer-item:hover:not(.active) {
  background: #1f2c3deb;
  border-color: #0000;
}

.car-dealer-manufacturer-item.active, .car-dealer-manufacturer-item.active:hover {
  background: linear-gradient(90deg, #35322b 0%, #151c29 100%);
  border-color: #c8a05059;
  box-shadow: 0 0 20px #c8a05012;
}

.car-dealer-manufacturer-logo {
  object-fit: contain;
  filter: brightness(.9);
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  transition: filter .3s;
}

.car-dealer-manufacturer-item:hover .car-dealer-manufacturer-logo, .car-dealer-manufacturer-item.active .car-dealer-manufacturer-logo {
  filter: brightness(1.1);
}

.car-dealer-affordable-logos {
  box-sizing: border-box;
  flex-wrap: wrap;
  flex-shrink: 0;
  place-content: center;
  gap: 4px 6px;
  width: 120px;
  height: 80px;
  padding: 2px;
  display: flex;
}

.car-dealer-affordable-logo {
  object-fit: contain;
  filter: brightness(.9);
  width: 54px;
  height: 36px;
  transition: filter .3s;
}

.car-dealer-manufacturer-item:hover .car-dealer-affordable-logo, .car-dealer-manufacturer-item.active .car-dealer-affordable-logo {
  filter: brightness(1.1);
}

.car-dealer-manufacturer-item-text {
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  min-width: 0;
  display: flex;
}

.car-dealer-manufacturer-name {
  color: #fff;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
}

.car-dealer-manufacturer-count {
  color: #66c0f4;
  opacity: .9;
  font-size: .8rem;
}

.car-dealer-showroom {
  z-index: 1;
  box-sizing: border-box;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 0 1rem .5rem 2rem;
  display: flex;
  position: relative;
}

.car-dealer-back-button {
  border: 1px solid var(--content-accent-border);
  color: #fff;
  cursor: pointer;
  z-index: 20;
  background: linear-gradient(90deg, #35322b 0%, #151c29 100%);
  border-radius: 6px;
  margin-bottom: 1rem;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  transition: all .2s;
  position: relative;
}

.car-dealer-back-button:hover {
  background: #66c0f44d;
  border-color: #66c0f4;
}

.car-dealer-showroom-manufacturer-logo {
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: absolute;
  top: .5rem;
  left: .5rem;
}

.car-dealer-showroom-manufacturer-logo-img {
  object-fit: contain;
  filter: brightness(.9);
  opacity: .72;
  width: auto;
  max-width: min(320px, 40vw);
  height: min(240px, 26vh);
}

.car-dealer-showroom-content {
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  gap: .5rem;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  display: flex;
  position: relative;
  left: auto;
  overflow: hidden;
  transform: none;
}

.car-dealer-showroom-main {
  background: none;
  border: none;
  flex: 1 1 0;
  align-items: stretch;
  gap: 2rem;
  min-height: 0;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.car-dealer-nav-button {
  z-index: 30;
  width: auto;
  min-width: 48px;
  height: auto;
  min-height: 48px;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  color: #fffffff2;
  text-shadow: 0 2px 16px #000000bf, 0 0 2px #000000e6;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 0;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: clamp(2.75rem, 7vmin, 4.25rem);
  font-weight: 300;
  line-height: 1;
  transition: color .2s, opacity .2s, transform .2s;
  display: flex;
  position: fixed;
  top: 50vh;
  transform: translateY(-50%);
}

.car-dealer-nav-button.car-dealer-nav-left {
  left: calc(min(320px, 32vw) + .75rem);
}

.car-dealer-nav-button.car-dealer-nav-right {
  right: 1rem;
}

.car-dealer-nav-button:hover:not(:disabled) {
  color: #fff;
  opacity: .92;
}

.car-dealer-nav-button.car-dealer-nav-left:hover:not(:disabled) {
  transform: translateY(-50%)translateX(-4px);
}

.car-dealer-nav-button.car-dealer-nav-right:hover:not(:disabled) {
  transform: translateY(-50%)translateX(4px);
}

.car-dealer-nav-button:disabled {
  opacity: .3;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .car-dealer-nav-button.car-dealer-nav-left {
    left: 1rem;
  }

  .car-dealer-nav-button.car-dealer-nav-right {
    right: 1rem;
  }
}

.car-dealer-showroom-display {
  flex: 1;
  width: 100%;
  min-height: 12rem;
  position: relative;
  overflow: hidden;
}

.car-dealer-wallpaper-dots {
  z-index: 2;
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: flex-end;
  align-items: center;
  gap: .45rem;
  width: 100%;
  max-width: 100%;
  padding: .35rem .25rem .35rem 0;
  display: flex;
  position: relative;
}

.car-dealer-wallpaper-dot {
  cursor: pointer;
  background: #ffffff59;
  border: none;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  transition: transform .2s, background .2s;
  box-shadow: 0 0 0 1px #00000059;
}

.car-dealer-wallpaper-dot:hover {
  background: #ffffff8c;
}

.car-dealer-wallpaper-dot.active {
  background: #66c0f4;
  transform: scale(1.15);
  box-shadow: 0 0 10px #66c0f473;
}

.car-dealer-car-image-wrapper {
  z-index: 1;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: .5rem;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.car-dealer-car-image {
  object-fit: contain;
  filter: drop-shadow(0 10px 30px #00000080);
  opacity: 1;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: 100%;
}

.car-dealer-detail-panel {
  text-align: left;
  z-index: 2;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-shadow: none;
  background: none;
  border: none;
  border-radius: 0;
  flex-direction: column;
  flex-shrink: 0;
  align-self: stretch;
  align-items: flex-start;
  gap: .65rem;
  padding: 0 0 .35rem;
  display: flex;
  position: relative;
}

.car-dealer-car-name-row {
  flex-wrap: wrap;
  place-content: flex-start;
  align-items: center;
  gap: .5rem .75rem;
  width: 100%;
  min-width: 0;
  display: flex;
}

.car-dealer-detail-panel .car-dealer-car-name {
  color: #fff;
  text-align: left;
  flex: 0 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
}

.car-dealer-detail-panel .car-dealer-pi-pill {
  letter-spacing: .02em;
  color: #b8c5d9;
  background: #ffffff14;
  border: 1px solid #66c0f459;
  border-radius: 999px;
  flex: none;
  align-items: center;
  padding: .2em .6em;
  font-size: clamp(.75rem, 1.5vw, .9rem);
  font-weight: 600;
  line-height: 1.2;
  display: inline-flex;
}

.car-dealer-detail-price-row {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: .75rem 1.5rem;
  width: 100%;
  min-width: 0;
  display: flex;
}

.car-dealer-detail-panel .car-dealer-car-price {
  background: none;
  border: none;
  border-radius: 0;
  flex-wrap: wrap;
  flex: 0 auto;
  align-items: baseline;
  gap: .5rem .75rem;
  min-width: 0;
  padding: 0;
  display: flex;
}

.car-dealer-detail-panel .car-dealer-price-label {
  color: #8c94a6;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
}

.car-dealer-detail-panel .car-dealer-price-value {
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 700;
}

.car-dealer-detail-panel .car-dealer-detail-buy {
  flex-shrink: 0;
  padding: .85rem 2rem;
  font-size: 1.1rem;
}

.car-dealer-detail-panel .car-dealer-detail-login-hint {
  text-align: left;
  flex-shrink: 0;
  max-width: min(100%, 16rem);
  margin: 0;
  font-size: .95rem;
  line-height: 1.35;
}

.car-dealer-detail-panel .car-dealer-used-on {
  align-self: flex-start;
  width: 100%;
  max-width: 100%;
}

.car-dealer-used-on .used-on-servers-list {
  flex-flow: wrap;
  align-items: center;
  gap: .35rem 1rem;
  display: flex;
}

.car-dealer-used-on .used-on-servers-row {
  align-items: center;
  margin-bottom: 0;
}

.car-dealer-used-on .used-on-servers-dot {
  margin-top: 0;
}

.car-dealer-buy-button {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #66c0f4 0%, #4a9cd4 100%);
  border: none;
  border-radius: 8px;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all .3s;
  box-shadow: 0 4px 15px #66c0f44d;
}

.car-dealer-buy-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #7acff4 0%, #5aacf4 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #66c0f466;
}

.car-dealer-buy-button:disabled, .car-dealer-buy-button.disabled {
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
  background: #6464644d;
}

.car-dealer-buy-button.purchasing {
  cursor: wait;
  background: #66c0f480;
}

.car-dealer-login-prompt {
  color: #888;
  margin: 0;
  font-size: 1rem;
}

.car-dealer-detail-panel .car-dealer-login-prompt {
  text-align: left;
}

.used-on-servers-block {
  text-align: left;
  align-self: stretch;
  width: 100%;
}

.used-on-servers-title {
  color: #8c94a6;
  margin: 0 0 .5rem;
  font-size: .95rem;
  font-weight: 500;
}

.used-on-servers-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.used-on-servers-row {
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .35rem;
  display: flex;
}

.used-on-servers-row:last-child {
  margin-bottom: 0;
}

.used-on-servers-dot {
  background: #59bfff;
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: .35em;
  margin-left: 2px;
  box-shadow: 0 0 12px 4px #3385ff6b;
}

.used-on-servers-name {
  color: #9ea8bd;
  word-break: break-word;
  font-size: .9rem;
  line-height: 1.35;
}

.cars-stats-panel .used-on-servers-block {
  margin-bottom: 1rem;
}

.cars-stats-panel .cars-stats-hero {
  z-index: 2;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: visible;
}

.cars-stats-panel .cars-stats-hero .cars-stats-image-float {
  float: none;
  justify-self: unset;
  z-index: 1;
  pointer-events: none;
  width: auto;
  max-width: min(700px, 90vw);
  margin: 0;
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  transform: scale(1.4)translate(-30px);
}

.cars-stats-panel .cars-stats-hero .cars-stats-image-float .car-image {
  object-fit: contain;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(360px, 55vh);
  display: block;
}

.cars-stats-panel .cars-stats-hero-text {
  z-index: 2;
  min-width: 0;
  position: relative;
  overflow: visible;
}

.cars-stats-panel .cars-stats-name-row {
  margin-bottom: .75rem;
}

.cars-stats-panel .cars-stats-content .cars-stats-name-row + .cars-best-lap-row {
  margin-top: 0;
}

.cars-stats-panel .cars-best-lap-row {
  flex-flow: wrap;
  align-items: flex-end;
  gap: .65rem 1.15rem;
  margin-bottom: .25rem;
  display: flex;
}

.cars-stats-panel .cars-best-lap-row .cars-best-lap-block {
  flex: 10rem;
  min-width: 0;
  margin-bottom: 0;
}

.cars-stats-panel .cars-lap-rank-badge {
  letter-spacing: -.04em;
  text-shadow: 0 0 28px #ffc85059, 0 2px #00000073;
  flex-shrink: 0;
  font-size: clamp(2.75rem, 5.5vw, 3.85rem);
  font-weight: 800;
  line-height: .95;
}

.cars-stats-panel .cars-lap-rank-badge--1 {
  color: #ffd54a;
  text-shadow: 0 0 32px #ffd25a73, 0 1px #7850008c, 0 2px #0006;
}

.cars-stats-panel .cars-lap-rank-badge--2 {
  color: #e8e8ec;
  text-shadow: 0 0 24px #c8d2e659, 0 2px #0006;
}

.cars-stats-panel .cars-lap-rank-badge--3 {
  color: #e8a06a;
  text-shadow: 0 0 22px #e8a06a59, 0 2px #0006;
}

.cars-stats-panel .cars-lap-rank-badge--other {
  color: #e6c060;
  text-shadow: 0 0 20px #e6c0604d, 0 2px #0006;
}

.cars-stats-panel .cars-best-lap-block {
  margin-bottom: .25rem;
}

.cars-stats-panel .cars-best-lap-label {
  color: #858b98;
  margin: 0 0 .35rem;
  font-size: .95rem;
  font-weight: 500;
}

.cars-stats-panel .cars-best-lap-value {
  color: #fff;
  letter-spacing: .02em;
  margin: 0;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.15;
}

.cars-stats-panel .cars-stats-trade-actions {
  text-align: left;
  margin-top: 1.35rem;
  margin-bottom: .25rem;
}

.cars-stats-panel .cars-stats-trade-actions .car-sell-button-large {
  width: 220px;
  max-width: 100%;
}

.cars-stats-panel .used-on-servers-block.cars-used-on-under-actions {
  clear: none;
  margin-top: 4rem;
  margin-bottom: 1rem;
}

.cars-stats-panel .car-stats-grid.car-stats-grid--three-cols {
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

@media (max-width: 1024px) {
  .cars-stats-panel .car-stats-grid.car-stats-grid--three-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cars-stats-panel .car-stats-grid.car-stats-grid--three-cols {
    grid-template-columns: 1fr;
  }
}

.cars-stats-panel .cars-stats-content > .car-leaderboard-section {
  z-index: 1;
  position: relative;
}

.cars-stats-panel .car-stat-card {
  flex-direction: column;
  align-items: stretch;
  min-height: 5.5rem;
  display: flex;
  position: relative;
}

.cars-stats-panel .car-stat-card .stat-value {
  text-align: right;
  align-self: stretch;
  margin-top: auto;
  font-size: 1.05rem;
  font-weight: 700;
}

.cars-stats-panel .car-stat-card.editable-stat-card .stat-value {
  margin-top: auto;
}

.cars-stats-panel .car-stat-card .stat-card-header {
  margin-bottom: .35rem;
}

.cars-stats-panel .car-stat-card .stat-edit-controls {
  margin-top: auto;
}

.cars-stats-panel .car-purchase-section--left {
  text-align: left;
}

.cars-stats-panel .car-purchase-owned {
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  display: flex;
}

.cars-stats-panel .car-owned-message--left {
  justify-content: flex-start;
  width: 100%;
  padding-left: 0;
}

.cars-stats-panel .car-sell-button-large {
  box-sizing: border-box;
  width: 220px;
  max-width: 100%;
  margin-top: 50px;
}

.cars-stats-panel .car-buy-button-large--sized {
  box-sizing: border-box;
  width: 220px;
  max-width: 100%;
}

.car-dealer-car-list {
  background: none;
  border: none;
  flex-shrink: 0;
  width: 100%;
  margin-top: 0;
  padding: .5rem 0 0;
  position: relative;
  left: auto;
  overflow: hidden;
  container: car-dealer-strip / inline-size;
}

.car-dealer-list-title {
  display: none;
}

.car-dealer-car-list-items {
  --cd-card-w: clamp(152px, 26cqw, 250px);
  padding: .75rem max(.75rem, calc(50% - var(--cd-card-w) * .5)) 1rem;
  scroll-behavior: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-direction: row;
  display: flex;
  overflow-x: auto;
}

@supports not (container-type: inline-size) {
  .car-dealer-car-list-items {
    --cd-card-w: clamp(168px, 28vw, 250px);
    gap: clamp(1rem, 3vw, 2rem);
  }
}

.car-dealer-list-item {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
  cursor: pointer;
  flex-direction: column;
  flex: 0 0 var(--cd-card-w, 250px);
  max-width: var(--cd-card-w, 250px);
  scroll-snap-align: center;
  opacity: .6;
  border-radius: 12px;
  align-items: center;
  gap: clamp(.45rem, 2cqw, 1rem);
  max-height: 17em;
  padding: clamp(.65rem, 2.5cqw, 1rem);
  transition: all .2s;
  display: flex;
  transform: scale(.85);
}

.car-dealer-list-item:hover {
  box-shadow: var(--panel-shadow);
  border-color: #555;
  transform: scale(.85)translateX(4px);
}

.car-dealer-list-item:hover:not(.active) {
  background: linear-gradient(90deg, #35322b 0%, #151c29 100%);
}

.car-dealer-list-item.active {
  opacity: 1;
  z-index: 10;
  background: linear-gradient(90deg, #35322b 0%, #151c29 100%);
  border-color: #c8a05059;
  max-height: 17em;
  box-shadow: 0 0 20px #c8a05012;
}

.car-dealer-list-item.active:hover {
  border-color: #c8a05059;
  transform: scale(.85)translateX(4px);
  box-shadow: 0 0 20px #c8a05012;
}

.car-dealer-list-item-image {
  object-fit: contain;
  border-radius: 8px;
  width: 100%;
  height: clamp(88px, 15cqw, 150px);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

@supports not (container-type: inline-size) {
  .car-dealer-list-item {
    gap: clamp(.5rem, 1.2vw, 1rem);
    padding: clamp(.75rem, 2vw, 1.5rem);
  }

  .car-dealer-list-item-image {
    height: clamp(96px, 16vw, 150px);
  }
}

.car-dealer-list-item.active .car-dealer-list-item-image {
  transform: scale(1.1);
}

.car-dealer-list-item-info {
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 100%;
  display: flex;
}

.car-dealer-list-item-name-row {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .35rem .5rem;
  width: 100%;
  min-width: 0;
  display: flex;
}

.car-dealer-list-item-name {
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.car-dealer-pi-pill--list {
  letter-spacing: .02em;
  color: #9eb0c8;
  background: #ffffff12;
  border: 1px solid #66c0f44d;
  border-radius: 999px;
  flex-shrink: 0;
  align-items: center;
  padding: .1em .45em;
  font-size: clamp(.6rem, 1.6cqw, .68rem);
  font-weight: 600;
  line-height: 1.2;
  display: inline-flex;
}

.car-dealer-list-item-price {
  color: #66c0f4;
  font-size: clamp(.72rem, 2.5cqw, .85rem);
  font-weight: 500;
}

@supports not (container-type: inline-size) {
  .car-dealer-list-item-name {
    font-size: clamp(.78rem, 1.9vw, .9rem);
  }

  .car-dealer-list-item-price {
    font-size: clamp(.75rem, 1.7vw, .85rem);
  }
}

.car-dealer-navigation-hint {
  text-align: center;
  color: #888;
  background: #ffffff08;
  border-radius: 6px;
  padding: 1rem;
  font-size: .9rem;
}

.track-map-loading {
  color: #888;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 1rem;
  display: flex;
}

.track-map-placeholder {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  height: 100%;
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none;
  color: #888;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  display: flex;
}

.friends-list-content {
  padding: 2rem;
}

.friends-list-header {
  margin-bottom: 2rem;
}

.friends-list-header h2 {
  color: #fff;
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.friends-section {
  margin-bottom: 3rem;
}

.friends-section h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.friends-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  display: grid;
}

.friend-card {
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  transition: all .2s;
  display: flex;
}

.friend-card:hover {
  background: #ffffff14;
  border-color: #66c0f480;
  transform: translateY(-2px);
}

.friend-card.online {
  background: #4ade801a;
  border-color: #4ade8080;
}

.friend-request-card {
  cursor: default;
}

.friend-avatar {
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.friend-info {
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  min-width: 0;
  display: flex;
}

.friend-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.friend-status {
  color: #888;
  font-size: .875rem;
}

.status-online {
  color: #4ade80;
  font-weight: 500;
}

.status-offline {
  color: #888;
}

.friend-actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.friend-action-btn {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
}

.friend-action-btn.accept {
  color: #4ade80;
  background: #4ade8033;
  border: 1px solid #4ade8080;
}

.friend-action-btn.accept:hover {
  background: #4ade804d;
}

.friend-action-btn.reject {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.friend-action-btn.reject:hover {
  background: #ef44444d;
}

.friend-action-btn.remove {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.friend-action-btn.remove:hover {
  background: #ef44444d;
}

.friends-loading, .friends-empty {
  text-align: center;
  color: #888;
  padding: 3rem;
}

.player-actions {
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  display: flex;
}

.player-action-btn {
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-radius: 4px;
  padding: .375rem .75rem;
  font-size: .8rem;
  font-weight: 500;
  transition: all .2s;
}

.player-action-btn.add-friend {
  color: #66c0f4;
  background: #66c0f433;
  border: 1px solid #66c0f480;
}

.player-action-btn.add-friend:hover {
  background: #66c0f44d;
}

.player-action-btn.remove-friend {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.player-action-btn.remove-friend:hover {
  background: #ef44444d;
}

.player-action-pending {
  color: #888;
  white-space: nowrap;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-style: italic;
}

.pending-friend-requests-section {
  background: #1e1e1e99;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  margin: 1.5rem 0;
  padding: 1rem;
}

.pending-friend-requests-title {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.pending-friend-requests-list {
  flex-flow: wrap;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.pending-friend-request-item {
  background: #28282899;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: .75rem;
  min-width: 150px;
  padding: 1rem;
  display: flex;
}

.pending-friend-request-avatar {
  border-radius: 50%;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
}

.pending-friend-request-avatar-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.pending-friend-request-avatar-placeholder {
  color: #66c0f4;
  background: #66c0f44d;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
}

.pending-friend-request-name {
  color: #fff;
  text-align: center;
  word-break: break-word;
  max-width: 150px;
  font-size: .95rem;
  font-weight: 500;
}

.pending-friend-request-actions {
  gap: .5rem;
  width: 100%;
  display: flex;
}

.pending-friend-request-btn {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  flex: 1;
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
}

.pending-friend-request-btn.accept {
  color: #4ade80;
  background: #4ade8033;
  border: 1px solid #4ade8080;
}

.pending-friend-request-btn.accept:hover {
  background: #4ade804d;
}

.pending-friend-request-btn.reject {
  color: #ef4444;
  background: #ef444433;
  border: 1px solid #ef444480;
}

.pending-friend-request-btn.reject:hover {
  background: #ef44444d;
}

.notification-bell-container {
  align-items: center;
  width: auto;
  height: auto;
  margin: 0;
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
}

.notification-bell-button {
  color: #ccc;
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: .5rem 1rem;
  font-family: inherit;
  transition: all .2s;
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
}

.notification-bell-button:hover {
  color: #fff;
  background: #333;
  border-color: #555;
}

.notification-bell-button svg {
  pointer-events: none;
  flex-shrink: 0;
  display: block;
}

.notification-badge {
  color: #fff;
  text-align: center;
  background: #ef4444;
  border-radius: 10px;
  min-width: 18px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.2;
  position: absolute;
  top: 2px;
  right: 2px;
}

.notification-dropdown {
  background: var(--panel-bg);
  border: 1px solid var(--steam-accent-border);
  width: 350px;
  max-height: 500px;
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none;
  z-index: 1000;
  border-radius: 8px;
  flex-direction: column;
  margin-top: .5rem;
  display: flex;
  position: absolute;
  top: 100%;
  right: 0;
}

.notification-dropdown-header {
  border-bottom: 1px solid #333;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  display: flex;
}

.notification-dropdown-header h3 {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
}

.notification-dropdown-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .35rem .5rem;
  max-width: 70%;
  display: flex;
}

.notification-clear-all {
  color: #f87171;
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem .5rem;
  font-size: .875rem;
  transition: opacity .2s;
}

.notification-clear-all:hover {
  opacity: .85;
}

.notification-mark-all-read {
  color: #60a5fa;
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem .5rem;
  font-size: .875rem;
  transition: opacity .2s;
}

.notification-mark-all-read:hover {
  opacity: .8;
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
}

.notification-item {
  cursor: pointer;
  border-bottom: 1px solid #333;
  gap: .75rem;
  padding: 1rem;
  transition: background .2s;
  display: flex;
  position: relative;
}

.notification-item:hover {
  background: #ffffff0d;
}

.notification-item.unread {
  background: #60a5fa1a;
}

.notification-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  color: #fff;
  margin-bottom: .25rem;
  font-size: .9rem;
  font-weight: 600;
}

.notification-message {
  color: #aaa;
  margin-bottom: .25rem;
  font-size: .85rem;
}

.notification-time {
  color: #666;
  font-size: .75rem;
}

.notification-unread-indicator {
  background: #60a5fa;
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: .5rem;
}

.notification-loading, .notification-empty {
  text-align: center;
  color: #666;
  padding: 2rem;
}

@media (max-width: 768px) {
  .notification-dropdown {
    width: 300px;
    right: -50px;
  }

  .friends-grid {
    grid-template-columns: 1fr;
  }
}

.stage-pill {
  letter-spacing: .04em;
  vertical-align: middle;
  white-space: nowrap;
  border-radius: 999px;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.6;
  display: inline-block;
}

.stage-pill--stock {
  color: #9aa3b2;
  background: #78829638;
  border: 1px solid #7882964d;
}

.stage-pill--active {
  color: #5ddf8a;
  background: #3ca05a2e;
  border: 1px solid #3ca05a59;
}

/* [project]/node_modules/quill/dist/quill.snow.css [client] (css) */
.ql-container {
  box-sizing: border-box;
  height: 100%;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  position: relative;
}

.ql-container.ql-disabled .ql-tooltip {
  visibility: hidden;
}

.ql-container:not(.ql-disabled) li[data-list="checked"] > .ql-ui, .ql-container:not(.ql-disabled) li[data-list="unchecked"] > .ql-ui {
  cursor: pointer;
}

.ql-clipboard {
  height: 1px;
  position: absolute;
  top: 50%;
  left: -100000px;
  overflow-y: hidden;
}

.ql-clipboard p {
  margin: 0;
  padding: 0;
}

.ql-editor {
  box-sizing: border-box;
  counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  tab-size: 4;
  text-align: left;
  white-space: pre-wrap;
  word-wrap: break-word;
  outline: none;
  height: 100%;
  padding: 12px 15px;
  line-height: 1.42;
  overflow-y: auto;
}

.ql-editor > * {
  cursor: text;
}

.ql-editor p, .ql-editor ol, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 {
  margin: 0;
  padding: 0;
}

@supports (counter-set: none) {
  .ql-editor p, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 {
    counter-set: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor p, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 {
    counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

.ql-editor table {
  border-collapse: collapse;
}

.ql-editor td {
  border: 1px solid #000;
  padding: 2px 5px;
}

.ql-editor ol {
  padding-left: 1.5em;
}

.ql-editor li {
  padding-left: 1.5em;
  list-style-type: none;
  position: relative;
}

.ql-editor li > .ql-ui:before {
  text-align: right;
  white-space: nowrap;
  width: 1.2em;
  margin-left: -1.5em;
  margin-right: .3em;
  display: inline-block;
}

.ql-editor li[data-list="checked"] > .ql-ui, .ql-editor li[data-list="unchecked"] > .ql-ui {
  color: #777;
}

.ql-editor li[data-list="bullet"] > .ql-ui:before {
  content: "•";
}

.ql-editor li[data-list="checked"] > .ql-ui:before {
  content: "☑";
}

.ql-editor li[data-list="unchecked"] > .ql-ui:before {
  content: "☐";
}

@supports (counter-set: none) {
  .ql-editor li[data-list] {
    counter-set: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor li[data-list] {
    counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

.ql-editor li[data-list="ordered"] {
  counter-increment: list-0;
}

.ql-editor li[data-list="ordered"] > .ql-ui:before {
  content: counter(list-0, decimal) ". ";
}

.ql-editor li[data-list="ordered"].ql-indent-1 {
  counter-increment: list-1;
}

.ql-editor li[data-list="ordered"].ql-indent-1 > .ql-ui:before {
  content: counter(list-1, lower-alpha) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-1 {
    counter-set: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-1 {
    counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

.ql-editor li[data-list="ordered"].ql-indent-2 {
  counter-increment: list-2;
}

.ql-editor li[data-list="ordered"].ql-indent-2 > .ql-ui:before {
  content: counter(list-2, lower-roman) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-2 {
    counter-set: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-2 {
    counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

.ql-editor li[data-list="ordered"].ql-indent-3 {
  counter-increment: list-3;
}

.ql-editor li[data-list="ordered"].ql-indent-3 > .ql-ui:before {
  content: counter(list-3, decimal) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-3 {
    counter-set: list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-3 {
    counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
  }
}

.ql-editor li[data-list="ordered"].ql-indent-4 {
  counter-increment: list-4;
}

.ql-editor li[data-list="ordered"].ql-indent-4 > .ql-ui:before {
  content: counter(list-4, lower-alpha) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-4 {
    counter-set: list-5 list-6 list-7 list-8 list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-4 {
    counter-reset: list-5 list-6 list-7 list-8 list-9;
  }
}

.ql-editor li[data-list="ordered"].ql-indent-5 {
  counter-increment: list-5;
}

.ql-editor li[data-list="ordered"].ql-indent-5 > .ql-ui:before {
  content: counter(list-5, lower-roman) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-5 {
    counter-set: list-6 list-7 list-8 list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-5 {
    counter-reset: list-6 list-7 list-8 list-9;
  }
}

.ql-editor li[data-list="ordered"].ql-indent-6 {
  counter-increment: list-6;
}

.ql-editor li[data-list="ordered"].ql-indent-6 > .ql-ui:before {
  content: counter(list-6, decimal) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-6 {
    counter-set: list-7 list-8 list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-6 {
    counter-reset: list-7 list-8 list-9;
  }
}

.ql-editor li[data-list="ordered"].ql-indent-7 {
  counter-increment: list-7;
}

.ql-editor li[data-list="ordered"].ql-indent-7 > .ql-ui:before {
  content: counter(list-7, lower-alpha) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-7 {
    counter-set: list-8 list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-7 {
    counter-reset: list-8 list-9;
  }
}

.ql-editor li[data-list="ordered"].ql-indent-8 {
  counter-increment: list-8;
}

.ql-editor li[data-list="ordered"].ql-indent-8 > .ql-ui:before {
  content: counter(list-8, lower-roman) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-8 {
    counter-set: list-9;
  }
}

@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-8 {
    counter-reset: list-9;
  }
}

.ql-editor li[data-list="ordered"].ql-indent-9 {
  counter-increment: list-9;
}

.ql-editor li[data-list="ordered"].ql-indent-9 > .ql-ui:before {
  content: counter(list-9, decimal) ". ";
}

.ql-editor .ql-indent-1:not(.ql-direction-rtl) {
  padding-left: 3em;
}

.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {
  padding-left: 4.5em;
}

.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {
  padding-right: 3em;
}

.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {
  padding-right: 4.5em;
}

.ql-editor .ql-indent-2:not(.ql-direction-rtl) {
  padding-left: 6em;
}

.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {
  padding-left: 7.5em;
}

.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {
  padding-right: 6em;
}

.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {
  padding-right: 7.5em;
}

.ql-editor .ql-indent-3:not(.ql-direction-rtl) {
  padding-left: 9em;
}

.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {
  padding-left: 10.5em;
}

.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {
  padding-right: 9em;
}

.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {
  padding-right: 10.5em;
}

.ql-editor .ql-indent-4:not(.ql-direction-rtl) {
  padding-left: 12em;
}

.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {
  padding-left: 13.5em;
}

.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {
  padding-right: 12em;
}

.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {
  padding-right: 13.5em;
}

.ql-editor .ql-indent-5:not(.ql-direction-rtl) {
  padding-left: 15em;
}

.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {
  padding-left: 16.5em;
}

.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {
  padding-right: 15em;
}

.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {
  padding-right: 16.5em;
}

.ql-editor .ql-indent-6:not(.ql-direction-rtl) {
  padding-left: 18em;
}

.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {
  padding-left: 19.5em;
}

.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {
  padding-right: 18em;
}

.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {
  padding-right: 19.5em;
}

.ql-editor .ql-indent-7:not(.ql-direction-rtl) {
  padding-left: 21em;
}

.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {
  padding-left: 22.5em;
}

.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {
  padding-right: 21em;
}

.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {
  padding-right: 22.5em;
}

.ql-editor .ql-indent-8:not(.ql-direction-rtl) {
  padding-left: 24em;
}

.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {
  padding-left: 25.5em;
}

.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {
  padding-right: 24em;
}

.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {
  padding-right: 25.5em;
}

.ql-editor .ql-indent-9:not(.ql-direction-rtl) {
  padding-left: 27em;
}

.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {
  padding-left: 28.5em;
}

.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {
  padding-right: 27em;
}

.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
  padding-right: 28.5em;
}

.ql-editor li.ql-direction-rtl {
  padding-right: 1.5em;
}

.ql-editor li.ql-direction-rtl > .ql-ui:before {
  text-align: left;
  margin-left: .3em;
  margin-right: -1.5em;
}

.ql-editor table {
  table-layout: fixed;
  width: 100%;
}

.ql-editor table td {
  outline: none;
}

.ql-editor .ql-code-block-container {
  font-family: monospace;
}

.ql-editor .ql-video {
  max-width: 100%;
  display: block;
}

.ql-editor .ql-video.ql-align-center {
  margin: 0 auto;
}

.ql-editor .ql-video.ql-align-right {
  margin: 0 0 0 auto;
}

.ql-editor .ql-bg-black {
  background-color: #000;
}

.ql-editor .ql-bg-red {
  background-color: #e60000;
}

.ql-editor .ql-bg-orange {
  background-color: #f90;
}

.ql-editor .ql-bg-yellow {
  background-color: #ff0;
}

.ql-editor .ql-bg-green {
  background-color: #008a00;
}

.ql-editor .ql-bg-blue {
  background-color: #06c;
}

.ql-editor .ql-bg-purple {
  background-color: #93f;
}

.ql-editor .ql-color-white {
  color: #fff;
}

.ql-editor .ql-color-red {
  color: #e60000;
}

.ql-editor .ql-color-orange {
  color: #f90;
}

.ql-editor .ql-color-yellow {
  color: #ff0;
}

.ql-editor .ql-color-green {
  color: #008a00;
}

.ql-editor .ql-color-blue {
  color: #06c;
}

.ql-editor .ql-color-purple {
  color: #93f;
}

.ql-editor .ql-font-serif {
  font-family: Georgia, Times New Roman, serif;
}

.ql-editor .ql-font-monospace {
  font-family: Monaco, Courier New, monospace;
}

.ql-editor .ql-size-small {
  font-size: .75em;
}

.ql-editor .ql-size-large {
  font-size: 1.5em;
}

.ql-editor .ql-size-huge {
  font-size: 2.5em;
}

.ql-editor .ql-direction-rtl {
  text-align: inherit;
  direction: rtl;
}

.ql-editor .ql-align-center {
  text-align: center;
}

.ql-editor .ql-align-justify {
  text-align: justify;
}

.ql-editor .ql-align-right {
  text-align: right;
}

.ql-editor .ql-ui {
  position: absolute;
}

.ql-editor.ql-blank:before {
  color: #0009;
  content: attr(data-placeholder);
  pointer-events: none;
  font-style: italic;
  position: absolute;
  left: 15px;
  right: 15px;
}

.ql-snow.ql-toolbar:after, .ql-snow .ql-toolbar:after {
  clear: both;
  content: "";
  display: table;
}

.ql-snow.ql-toolbar button, .ql-snow .ql-toolbar button {
  cursor: pointer;
  float: left;
  background: none;
  border: none;
  width: 28px;
  height: 24px;
  padding: 3px 5px;
  display: inline-block;
}

.ql-snow.ql-toolbar button svg, .ql-snow .ql-toolbar button svg {
  float: left;
  height: 100%;
}

.ql-snow.ql-toolbar button:active:hover, .ql-snow .ql-toolbar button:active:hover {
  outline: none;
}

.ql-snow.ql-toolbar input.ql-image[type="file"], .ql-snow .ql-toolbar input.ql-image[type="file"] {
  display: none;
}

.ql-snow.ql-toolbar button:hover, .ql-snow .ql-toolbar button:hover, .ql-snow.ql-toolbar button:focus, .ql-snow .ql-toolbar button:focus, .ql-snow.ql-toolbar button.ql-active, .ql-snow .ql-toolbar button.ql-active, .ql-snow.ql-toolbar .ql-picker-label:hover, .ql-snow .ql-toolbar .ql-picker-label:hover, .ql-snow.ql-toolbar .ql-picker-label.ql-active, .ql-snow .ql-toolbar .ql-picker-label.ql-active, .ql-snow.ql-toolbar .ql-picker-item:hover, .ql-snow .ql-toolbar .ql-picker-item:hover, .ql-snow.ql-toolbar .ql-picker-item.ql-selected, .ql-snow .ql-toolbar .ql-picker-item.ql-selected {
  color: #06c;
}

.ql-snow.ql-toolbar button:hover .ql-fill, .ql-snow .ql-toolbar button:hover .ql-fill, .ql-snow.ql-toolbar button:focus .ql-fill, .ql-snow .ql-toolbar button:focus .ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {
  fill: #06c;
}

.ql-snow.ql-toolbar button:hover .ql-stroke, .ql-snow .ql-toolbar button:hover .ql-stroke, .ql-snow.ql-toolbar button:focus .ql-stroke, .ql-snow .ql-toolbar button:focus .ql-stroke, .ql-snow.ql-toolbar button.ql-active .ql-stroke, .ql-snow .ql-toolbar button.ql-active .ql-stroke, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke, .ql-snow.ql-toolbar button:hover .ql-stroke-miter, .ql-snow .ql-toolbar button:hover .ql-stroke-miter, .ql-snow.ql-toolbar button:focus .ql-stroke-miter, .ql-snow .ql-toolbar button:focus .ql-stroke-miter, .ql-snow.ql-toolbar button.ql-active .ql-stroke-miter, .ql-snow .ql-toolbar button.ql-active .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {
  stroke: #06c;
}

@media (pointer: coarse) {
  .ql-snow.ql-toolbar button:hover:not(.ql-active), .ql-snow .ql-toolbar button:hover:not(.ql-active) {
    color: #444;
  }

  .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill, .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {
    fill: #444;
  }

  .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke, .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {
    stroke: #444;
  }
}

.ql-snow, .ql-snow * {
  box-sizing: border-box;
}

.ql-snow .ql-hidden {
  display: none;
}

.ql-snow .ql-out-bottom, .ql-snow .ql-out-top {
  visibility: hidden;
}

.ql-snow .ql-tooltip {
  position: absolute;
  transform: translateY(10px);
}

.ql-snow .ql-tooltip a {
  cursor: pointer;
  text-decoration: none;
}

.ql-snow .ql-tooltip.ql-flip {
  transform: translateY(-10px);
}

.ql-snow .ql-formats {
  vertical-align: middle;
  display: inline-block;
}

.ql-snow .ql-formats:after {
  clear: both;
  content: "";
  display: table;
}

.ql-snow .ql-stroke {
  fill: none;
  stroke: #444;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
}

.ql-snow .ql-stroke-miter {
  fill: none;
  stroke: #444;
  stroke-miterlimit: 10;
  stroke-width: 2px;
}

.ql-snow .ql-fill, .ql-snow .ql-stroke.ql-fill {
  fill: #444;
}

.ql-snow .ql-empty {
  fill: none;
}

.ql-snow .ql-even {
  fill-rule: evenodd;
}

.ql-snow .ql-thin, .ql-snow .ql-stroke.ql-thin {
  stroke-width: 1px;
}

.ql-snow .ql-transparent {
  opacity: .4;
}

.ql-snow .ql-direction svg:last-child {
  display: none;
}

.ql-snow .ql-direction.ql-active svg:last-child {
  display: inline;
}

.ql-snow .ql-direction.ql-active svg:first-child {
  display: none;
}

.ql-snow .ql-editor h1 {
  font-size: 2em;
}

.ql-snow .ql-editor h2 {
  font-size: 1.5em;
}

.ql-snow .ql-editor h3 {
  font-size: 1.17em;
}

.ql-snow .ql-editor h4 {
  font-size: 1em;
}

.ql-snow .ql-editor h5 {
  font-size: .83em;
}

.ql-snow .ql-editor h6 {
  font-size: .67em;
}

.ql-snow .ql-editor a {
  text-decoration: underline;
}

.ql-snow .ql-editor blockquote {
  border-left: 4px solid #ccc;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-left: 16px;
}

.ql-snow .ql-editor code, .ql-snow .ql-editor .ql-code-block-container {
  background-color: #f0f0f0;
  border-radius: 3px;
}

.ql-snow .ql-editor .ql-code-block-container {
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 5px 10px;
}

.ql-snow .ql-editor code {
  padding: 2px 4px;
  font-size: 85%;
}

.ql-snow .ql-editor .ql-code-block-container {
  color: #f8f8f2;
  background-color: #23241f;
  overflow: visible;
}

.ql-snow .ql-editor img {
  max-width: 100%;
}

.ql-snow .ql-picker {
  color: #444;
  float: left;
  vertical-align: middle;
  height: 24px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  position: relative;
}

.ql-snow .ql-picker-label {
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding-left: 8px;
  padding-right: 2px;
  display: inline-block;
  position: relative;
}

.ql-snow .ql-picker-label:before {
  line-height: 22px;
  display: inline-block;
}

.ql-snow .ql-picker-options {
  white-space: nowrap;
  background-color: #fff;
  min-width: 100%;
  padding: 4px 8px;
  display: none;
  position: absolute;
}

.ql-snow .ql-picker-options .ql-picker-item {
  cursor: pointer;
  padding-top: 5px;
  padding-bottom: 5px;
  display: block;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label {
  color: #ccc;
  z-index: 2;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {
  fill: #ccc;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
  stroke: #ccc;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-options {
  z-index: 1;
  margin-top: -1px;
  display: block;
  top: 100%;
}

.ql-snow .ql-color-picker, .ql-snow .ql-icon-picker {
  width: 28px;
}

.ql-snow .ql-color-picker .ql-picker-label, .ql-snow .ql-icon-picker .ql-picker-label {
  padding: 2px 4px;
}

.ql-snow .ql-color-picker .ql-picker-label svg, .ql-snow .ql-icon-picker .ql-picker-label svg {
  right: 4px;
}

.ql-snow .ql-icon-picker .ql-picker-options {
  padding: 4px 0;
}

.ql-snow .ql-icon-picker .ql-picker-item {
  width: 24px;
  height: 24px;
  padding: 2px 4px;
}

.ql-snow .ql-color-picker .ql-picker-options {
  width: 152px;
  padding: 3px 5px;
}

.ql-snow .ql-color-picker .ql-picker-item {
  float: left;
  border: 1px solid #0000;
  width: 16px;
  height: 16px;
  margin: 2px;
  padding: 0;
}

.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
  width: 18px;
  margin-top: -9px;
  position: absolute;
  top: 50%;
  right: 0;
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before, .ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before, .ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before, .ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before, .ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before {
  content: attr(data-label);
}

.ql-snow .ql-picker.ql-header {
  width: 98px;
}

.ql-snow .ql-picker.ql-header .ql-picker-label:before, .ql-snow .ql-picker.ql-header .ql-picker-item:before {
  content: "Normal";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before {
  content: "Heading 1";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before {
  content: "Heading 2";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before {
  content: "Heading 3";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before {
  content: "Heading 4";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before {
  content: "Heading 5";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before {
  content: "Heading 6";
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before {
  font-size: 2em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before {
  font-size: 1.5em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before {
  font-size: 1.17em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before {
  font-size: 1em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before {
  font-size: .83em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before {
  font-size: .67em;
}

.ql-snow .ql-picker.ql-font {
  width: 108px;
}

.ql-snow .ql-picker.ql-font .ql-picker-label:before, .ql-snow .ql-picker.ql-font .ql-picker-item:before {
  content: "Sans Serif";
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="serif"]:before, .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]:before {
  content: "Serif";
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="monospace"]:before, .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]:before {
  content: "Monospace";
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]:before {
  font-family: Georgia, Times New Roman, serif;
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]:before {
  font-family: Monaco, Courier New, monospace;
}

.ql-snow .ql-picker.ql-size {
  width: 98px;
}

.ql-snow .ql-picker.ql-size .ql-picker-label:before, .ql-snow .ql-picker.ql-size .ql-picker-item:before {
  content: "Normal";
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="small"]:before, .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]:before {
  content: "Small";
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="large"]:before, .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]:before {
  content: "Large";
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="huge"]:before, .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]:before {
  content: "Huge";
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]:before {
  font-size: 10px;
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]:before {
  font-size: 18px;
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]:before {
  font-size: 32px;
}

.ql-snow .ql-color-picker.ql-background .ql-picker-item {
  background-color: #fff;
}

.ql-snow .ql-color-picker.ql-color .ql-picker-item {
  background-color: #000;
}

.ql-code-block-container {
  position: relative;
}

.ql-code-block-container .ql-ui {
  top: 5px;
  right: 5px;
}

.ql-toolbar.ql-snow {
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 8px;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.ql-toolbar.ql-snow .ql-formats {
  margin-right: 15px;
}

.ql-toolbar.ql-snow .ql-picker-label {
  border: 1px solid #0000;
}

.ql-toolbar.ql-snow .ql-picker-options {
  border: 1px solid #0000;
  box-shadow: 0 2px 8px #0003;
}

.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label, .ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {
  border-color: #ccc;
}

.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected, .ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {
  border-color: #000;
}

.ql-toolbar.ql-snow + .ql-container.ql-snow {
  border-top: 0;
}

.ql-snow .ql-tooltip {
  color: #444;
  white-space: nowrap;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 5px 12px;
  box-shadow: 0 0 5px #ddd;
}

.ql-snow .ql-tooltip:before {
  content: "Visit URL:";
  margin-right: 8px;
  line-height: 26px;
}

.ql-snow .ql-tooltip input[type="text"] {
  border: 1px solid #ccc;
  width: 170px;
  height: 26px;
  margin: 0;
  padding: 3px 5px;
  font-size: 13px;
  display: none;
}

.ql-snow .ql-tooltip a.ql-preview {
  text-overflow: ellipsis;
  vertical-align: top;
  max-width: 200px;
  display: inline-block;
  overflow-x: hidden;
}

.ql-snow .ql-tooltip a.ql-action:after {
  content: "Edit";
  border-right: 1px solid #ccc;
  margin-left: 16px;
  padding-right: 8px;
}

.ql-snow .ql-tooltip a.ql-remove:before {
  content: "Remove";
  margin-left: 8px;
}

.ql-snow .ql-tooltip a {
  line-height: 26px;
}

.ql-snow .ql-tooltip.ql-editing a.ql-preview, .ql-snow .ql-tooltip.ql-editing a.ql-remove {
  display: none;
}

.ql-snow .ql-tooltip.ql-editing input[type="text"] {
  display: inline-block;
}

.ql-snow .ql-tooltip.ql-editing a.ql-action:after {
  content: "Save";
  border-right: 0;
  padding-right: 0;
}

.ql-snow .ql-tooltip[data-mode="link"]:before {
  content: "Enter link:";
}

.ql-snow .ql-tooltip[data-mode="formula"]:before {
  content: "Enter formula:";
}

.ql-snow .ql-tooltip[data-mode="video"]:before {
  content: "Enter video:";
}

.ql-snow a {
  color: #06c;
}

.ql-container.ql-snow {
  border: 1px solid #ccc;
}

/*# sourceMappingURL=_e03fcdbf._.css.map*/