@layer components {
  .hero-side {
    display: grid;
    grid-area: stats;
    grid-row: auto;
    gap: 0;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
  
  .hero-side-compact {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(118px, 0.68fr);
    gap: 8px;
  }
  
  .hero-online-card-inline {
    min-height: 136px;
    justify-content: flex-start;
  }
  
  .hero-online-card-inline .hero-online-chart,
  .hero-online-card-inline .hero-online-scale {
    height: 100%;
    min-height: 0;
  }
  
  .hero-online-card-inline .hero-online-chart {
    gap: 7px;
    padding-top: 0;
  }
  
  .hero-online-card-inline .hero-online-head {
    margin-bottom: 0;
  }
  
  .hero-online-card-inline .hero-online-chart-wrap {
    flex: 1 1 auto;
    align-items: stretch;
  }
  
  .mini-stat {
    min-height: 58px;
    padding: 7px 10px 5px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
      rgba(16, 22, 31, 0.88);
    margin-top: 0;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  }
  
  .mini-stat-bestlap {
    min-height: 58px;
    border-color: rgba(172, 97, 255, 0.28);
    background:
      radial-gradient(circle at top left, rgba(173, 82, 255, 0.24), transparent 42%),
      linear-gradient(180deg, rgba(25, 21, 38, 0.96), rgba(15, 20, 29, 0.92));
  }
  
  .hero-side-compact .mini-stat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    row-gap: 2px;
    align-content: center;
    align-items: center;
    min-height: 58px;
    padding: 8px 12px;
  }
  
  .hero-side-compact .mini-label {
    grid-column: 1;
    margin: 0;
  }
  
  .hero-side-compact .mini-value {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: center;
    text-align: right;
    white-space: nowrap;
  }
  
  .hero-side-compact .mini-note {
    grid-column: 1 / -1;
    margin: 0;
    align-self: center;
  }
  
  .hero-side-compact .mini-stat-bestlap .mini-value {
    font-size: 1.16rem;
  }
  
  .hero-side-compact .mini-stat-drivers-count {
    align-content: center;
    grid-template-rows: auto auto;
  }
  
  .hero-side-compact .mini-stat-drivers-count .mini-label,
  .hero-side-compact .mini-stat-drivers-count .mini-value {
    align-self: center;
  }
  
  .hero-side-compact #drivers-count {
    font-size: 1.18rem;
  }
  
  .mini-stat:hover,
  .driver-stat-card:hover,
  .driver-highlight-card:hover,
  .race-summary-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 209, 102, 0.2);
    background: rgba(255, 255, 255, 0.06);
  }
  
  .mini-label {
    margin-bottom: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(218, 229, 245, 0.62);
  }
  
  .mini-value {
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.05;
  }
  
  .mini-note {
    font-size: 10px;
    line-height: 1.16;
    color: rgba(218, 229, 245, 0.68);
  }
  
  .mini-stat-bestlap {
    min-height: 86px;
  }
  
  .hero-stats-row {
    display: contents;
  }
  
  .hero-top3-panel {
    min-width: 0;
    align-self: end;
  }
  
  .cards-top3.cards-top3-hero {
    gap: 8px;
  }
  
  .cards-top3-hero .pilot-card {
    min-height: 0;
    padding: 9px 10px;
    border-radius: 14px;
    box-shadow: none;
  }
  
  .cards-top3-hero .pilot-topline {
    gap: 6px;
    margin-bottom: 5px;
  }
  
  .cards-top3-hero .pilot-rank {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .cards-top3-hero .pilot-rank-wrap {
    gap: 4px;
  }
  
  .cards-top3-hero .pilot-name {
    font-size: 14px;
  }
  
  .cards-top3-hero .pilot-topline-car {
    width: 46px;
    height: 28px;
  }
  
  .cards-top3-hero .pilot-card .muted {
    font-size: 11px;
    line-height: 1.2;
  }
  
  .cards-top3-hero .pilot-lap-line {
    gap: 6px;
  }
  
  .cards-top3-hero .pilot-meta {
    gap: 5px;
    margin-top: 7px;
  }
  
  .cards-top3-hero .meta-box {
    padding: 5px 6px;
    border-radius: 10px;
  }
  
  .cards-top3-hero .meta-label {
    margin-bottom: 2px;
    font-size: 9px;
  }
  
  .cards-top3-hero .meta-value {
    font-size: 13px;
  }
  
  .hero-card-page {
    display: block;
  }
  
  .cars-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(240px, 0.8fr);
    gap: 18px;
    align-items: start;
  }
  
  .cars-hero-copy-card {
    display: grid;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
      rgba(15, 19, 26, 0.44);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(8, 11, 17, 0.18);
  }
  
  .cars-hero-card .page-hero-copy {
    display: grid;
    gap: 12px;
    align-content: start;
  }
  
  .cars-hero-card .page-hero-subtitle {
    max-width: 760px;
  }
  
  .page-hero-copy .hero-subtitle {
    margin-bottom: 0;
  }
  
  .page-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
  }
  
  .cars-hero-spotlight {
    display: grid;
    gap: 12px;
    min-height: 100%;
    margin-top: 0;
    padding: 16px 18px;
    align-self: start;
  }
  
  .cars-hero-spotlight-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  
  .cars-hero-spotlight-image {
    width: min(100%, 240px);
    height: auto;
    max-height: 132px;
    object-fit: contain;
  }
  
  .cars-hero-spotlight-name {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
  }
  
  .cars-hero-spotlight-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  
  .cars-hero-spotlight-stat {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
  }
  
  .cars-hero-spotlight-stat-label {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.1;
  }
  
  .cars-hero-spotlight-stat-value {
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1;
  }
  
  @media (max-width: 900px) {
    .cars-hero-card {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 640px) {
    .page-hero-stats,
    .cars-hero-spotlight-meta {
      grid-template-columns: 1fr;
    }
  }
  
  .driver-hero-card {
    padding: 18px 20px;
  }
  
  .driver-title-name {
    display: inline;
  }
  
  #driver-page-name {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .driver-rank-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    margin-left: auto;
    color: var(--text);
  }
  
  .driver-rank-label {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  
  .driver-rank-value {
    color: inherit;
  }
  
  .driver-rank-pill.rank-1 {
    color: var(--gold);
    border-color: rgba(245, 196, 81, 0.34);
    background: rgba(245, 196, 81, 0.12);
  }
  
  .driver-rank-pill.rank-2 {
    color: var(--silver);
    border-color: rgba(184, 196, 212, 0.34);
    background: rgba(184, 196, 212, 0.12);
  }
  
  .driver-rank-pill.rank-3 {
    color: var(--bronze);
    border-color: rgba(210, 139, 95, 0.34);
    background: rgba(210, 139, 95, 0.12);
  }
  
  .driver-rank-pill.rank-default {
    color: #e8eef8;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
  }
  
  .elo-badge {
    --elo-bg: rgba(255, 255, 255, 0.06);
    --elo-border: rgba(255, 255, 255, 0.16);
    --elo-fg: var(--text);
    --elo-accent: var(--accent-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--elo-border);
    border-radius: 999px;
    background: var(--elo-bg);
    color: var(--elo-fg);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  
  .elo-badge:hover,
  .elo-badge:focus-visible {
    transform: translateY(-1px);
    border-color: var(--elo-accent);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  
  .elo-badge-compact {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.78rem;
  }
  
  .elo-badge-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    color: var(--elo-accent);
    background: rgba(255, 255, 255, 0.12);
  }
  
  .elo-badge-value {
    color: inherit;
  }
  
  .sr-badge {
    --sr-bg: rgba(255, 255, 255, 0.06);
    --sr-border: rgba(255, 255, 255, 0.16);
    --sr-fg: var(--text);
    --sr-accent: #78e6b0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--sr-border);
    border-radius: 999px;
    background: var(--sr-bg);
    color: var(--sr-fg);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  
  .sr-badge:hover,
  .sr-badge:focus-visible {
    transform: translateY(-1px);
    border-color: var(--sr-accent);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  
  .sr-badge-compact {
    min-height: 26px;
    padding: 0 8px;
    font-size: 0.72rem;
  }
  
  .top-nav-link-championship,
  .top-nav-more-link-championship {
    background: linear-gradient(135deg, rgba(126, 34, 206, 0.96), rgba(168, 85, 247, 0.92));
    border-color: rgba(216, 180, 254, 0.6);
    color: #ffffff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 12px 26px rgba(126, 34, 206, 0.28);
  }
  
  .sr-badge-rank {
    display: contents;
    color: var(--sr-accent);
  }
  
  .sr-badge-value,
  .sr-badge-delta {
    color: inherit;
  }
  
  .sr-badge-delta.positive {
    color: #27ff86;
  }
  
  .sr-badge-delta.negative {
    color: #ff4f5e;
  }
  
  .sr-cat-A {
    --sr-bg: linear-gradient(135deg, rgba(89, 218, 154, 0.9), rgba(29, 134, 96, 0.74));
    --sr-border: rgba(127, 246, 183, 0.58);
    --sr-fg: #071c13;
    --sr-accent: #06442b;
  }
  
  .sr-cat-B {
    --sr-bg: linear-gradient(135deg, rgba(255, 213, 112, 0.9), rgba(188, 129, 43, 0.76));
    --sr-border: rgba(255, 220, 126, 0.54);
    --sr-fg: #241707;
    --sr-accent: #7a4300;
  }
  
  .sr-cat-C {
    --sr-bg: linear-gradient(135deg, rgba(255, 118, 104, 0.86), rgba(153, 54, 62, 0.72));
    --sr-border: rgba(255, 150, 139, 0.5);
    --sr-fg: #fff6f5;
    --sr-accent: #ffe3df;
  }
  
  .safety-row.sr-cat-A td {
    background: rgba(89, 218, 154, 0.035);
  }
  
  .safety-row.sr-cat-B td {
    background: rgba(255, 213, 112, 0.035);
  }
  
  .safety-row.sr-cat-C td {
    background: rgba(255, 118, 104, 0.04);
  }
  
  .elo-cat-1 {
    --elo-bg: linear-gradient(135deg, rgba(196, 169, 255, 0.94), rgba(137, 104, 218, 0.82));
    --elo-border: rgba(213, 194, 255, 0.66);
    --elo-fg: #171124;
    --elo-accent: #4b2c8a;
  }
  
  .elo-cat-2 {
    --elo-bg: linear-gradient(135deg, rgba(213, 238, 255, 0.95), rgba(132, 182, 218, 0.86));
    --elo-border: rgba(216, 244, 255, 0.72);
    --elo-fg: #102232;
    --elo-accent: #0b536e;
  }
  
  .elo-cat-3 {
    --elo-bg: linear-gradient(135deg, rgba(255, 214, 128, 0.86), rgba(196, 137, 45, 0.72));
    --elo-border: rgba(255, 215, 126, 0.56);
    --elo-fg: #20160a;
    --elo-accent: #6a3d00;
  }
  
  .elo-cat-4 {
    --elo-bg: linear-gradient(135deg, rgba(184, 205, 230, 0.8), rgba(88, 121, 158, 0.62));
    --elo-border: rgba(202, 223, 244, 0.42);
    --elo-fg: #f6fbff;
    --elo-accent: #dcecff;
  }
  
  .elo-cat-5 {
    --elo-bg: linear-gradient(135deg, rgba(205, 127, 50, 0.86), rgba(124, 73, 34, 0.72));
    --elo-border: rgba(226, 153, 79, 0.48);
    --elo-fg: #fff8ee;
    --elo-accent: #ffe0b6;
  }
  
  .elo-cat-6 {
    --elo-bg: linear-gradient(135deg, rgba(239, 97, 97, 0.68), rgba(113, 52, 73, 0.62));
    --elo-border: rgba(255, 139, 139, 0.34);
    --elo-fg: #fff5f5;
    --elo-accent: #ffd6d6;
  }
  
  .driver-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }
  
  .driver-stat-card,
  .driver-highlight-card {
    min-height: 40px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }
  
  .driver-stat-label,
  .driver-highlight-label,
  .driver-stat-note {
    font-size: 11px;
    line-height: 1.25;
    color: var(--muted);
  }
  
  .driver-stat-value,
  .driver-highlight-value {
    margin-top: 6px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
  }
  
  .driver-stat-badge,
  .driver-highlight-value {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .stat-with-trend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .driver-stat-mainline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
  
  .driver-stat-side {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: right;
  }
  
  .driver-stat-note {
    margin-top: 4px;
  }
  
  .driver-stat-meta {
    margin-top: 5px;
    color: rgba(210, 226, 247, 0.68);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.25;
  }
  
  .driver-stat-bestlap-mainline {
    align-items: center;
  }
  
  .driver-stat-value-bestlap {
    text-shadow: 0 0 18px rgba(168, 85, 247, 0.24);
  }
  
  .driver-stat-bestlap-car {
    max-width: 46%;
    overflow: hidden;
    color: rgba(232, 221, 255, 0.78);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .driver-stat-label-with-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  
  .driver-stat-track-select {
    max-width: 128px;
    min-width: 86px;
    height: 26px;
    border: 1px solid rgba(216, 180, 254, 0.34);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(33, 23, 48, 0.95), rgba(18, 24, 34, 0.94));
    color: var(--text);
    color-scheme: dark;
    padding: 0 22px 0 9px;
    font-size: 0.72rem;
    font-weight: 800;
    outline: none;
  }
  
  .driver-stat-track-select:focus {
    border-color: rgba(216, 180, 254, 0.78);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
  }
  
  .driver-stat-track-select option {
    background: #111821;
    color: var(--text);
    font-weight: 700;
  }
  
  .driver-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
  }
  
  .form-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    margin-right: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    font-size: 0.92rem;
    font-weight: 800;
  }
  
  .empty-inline {
    color: var(--muted);
  }
  
  .driver-penalties-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  
  .driver-penalty-card {
    overflow: hidden;
  }
  
  .driver-penalty-head {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
  }
  
  .driver-penalty-list {
    padding: 12px 16px 16px;
  }
  
  .penalty-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .penalty-item:last-child {
    border-bottom: none;
  }
  
  .penalty-name {
    color: var(--text);
  }
  
  .penalty-value {
    color: var(--accent-2);
    font-weight: 800;
  }
  
  .server-status-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }
  
  .server-status-wrap-total {
    align-items: baseline;
  }
  
  .server-total-label {
    font-size: 13px;
    font-weight: 700;
    color: #edf2ff;
  }
  
  .server-status {
    font-weight: 600;
  }
  
  .server-status.online {
    color: #22c55e;
  }
  
  .server-status.offline {
    color: #ef4444;
  }
  
  .server-status.degraded {
    color: #f59e0b;
  }
  
  .server-players {
    opacity: 0.8;
    font-size: 14px;
  }
  
  .server-sticky-widget {
    position: fixed;
    top: 106px;
    right: 22px;
    z-index: var(--layer-floating);
    width: min(190px, calc(100vw - 44px));
    display: grid;
    gap: 7px;
  }
  
  .server-sticky-head {
    padding: 0 2px;
  }
  
  .server-sticky-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(237, 242, 255, 0.78);
  }
  
  .server-sticky-cards {
    display: grid;
    gap: 7px;
  }
  
  .server-sticky-card {
    --server-card-bg: none;
    position: relative;
    overflow: hidden;
    min-height: 76px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
      linear-gradient(180deg, rgba(8, 12, 19, 0.165), rgba(8, 12, 19, 0.585)),
      var(--server-card-bg);
    background-position: center;
    background-size: cover;
    box-shadow:
      0 20px 44px rgba(0, 0, 0, 0.24),
      0 8px 24px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
  }

  .server-sticky-card-main,
  .server-sticky-card-monza {
    --server-card-bg: url("../../assets/main.jpg");
    background-image:
      linear-gradient(180deg, rgba(8, 12, 19, 0.1), rgba(8, 12, 19, 0.42)),
      url("../../assets/main.jpg");
  }

  .server-sticky-card-sunset {
    --server-card-bg: url("../../assets/sunset.jpg");
    background-image:
      linear-gradient(180deg, rgba(8, 12, 19, 0.1), rgba(8, 12, 19, 0.42)),
      url("../../assets/sunset.jpg");
  }

  .server-sticky-card-spa {
    --server-card-bg: url("../../assets/spa.jpg");
    background-image:
      linear-gradient(180deg, rgba(8, 12, 19, 0.1), rgba(8, 12, 19, 0.42)),
      url("../../assets/spa.jpg");
  }

  .server-sticky-card-nurburgring {
    --server-card-bg: url("../../assets/nurburgring.jpg");
    background-image:
      linear-gradient(180deg, rgba(8, 12, 19, 0.1), rgba(8, 12, 19, 0.42)),
      url("../../assets/nurburgring.jpg");
  }

  .server-sticky-card-nurburgring24h {
    --server-card-bg: url("../../assets/Nurburgring24h.jpg");
    background-image:
      linear-gradient(180deg, rgba(8, 12, 19, 0.1), rgba(8, 12, 19, 0.42)),
      url("../../assets/Nurburgring24h.jpg");
  }

  .server-sticky-card-silverstone {
    --server-card-bg: url("../../assets/silverstone.jpg");
    background-image:
      linear-gradient(180deg, rgba(8, 12, 19, 0.1), rgba(8, 12, 19, 0.42)),
      url("../../assets/silverstone.jpg");
  }
  
  .server-sticky-card-clickable {
    cursor: pointer;
  }
  
  .server-sticky-card-clickable::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  }
  
  .server-sticky-card-clickable:hover::after,
  .server-sticky-card-clickable:focus-visible::after {
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 3px rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
  }
  
  .server-sticky-card-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%),
      linear-gradient(180deg, rgba(8, 12, 19, 0.06), rgba(8, 12, 19, 0.3));
  }
  
  .server-sticky-card-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    padding: 10px 12px;
  }
  
  .server-sticky-card-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    text-align: right;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
  
  .server-sticky-card-status {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
  }
  
  .server-sticky-card-status .server-status {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  
  .server-sticky-card-status .server-players {
    font-size: 0.98rem;
    font-weight: 900;
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
  }
  
  .server-session-mini {
    font-size: 0.68em;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.84);
    white-space: nowrap;
  }
  
  .server-sticky-actions {
    display: grid;
    gap: 6px;
  }
  
  .server-connect-btn,
  .server-connect-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition:
      transform 0.18s ease,
      background 0.18s ease,
      opacity 0.18s ease;
  }
  
  .server-connect-btn {
    border: 1px solid rgba(255, 209, 102, 0.48);
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.92), rgba(255, 91, 46, 0.92));
    color: #101418;
    box-shadow: 0 10px 22px rgba(255, 91, 46, 0.22);
  }
  
  .server-connect-help {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(236, 243, 255, 0.9);
  }
  
  .server-connect-btn:hover,
  .server-connect-btn:focus-visible,
  .server-connect-help:hover,
  .server-connect-help:focus-visible {
    transform: translateY(-1px);
  }
  
  .server-connect-btn.is-disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.58;
    filter: grayscale(0.35);
  }
}
