@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root{
  --bg:#0d0f10;
  --surface:#141719;
  --surface2:#181c1f;
  --line:#292f32;
  --line2:#202527;
  --text:#f3f5f6;
  --muted:#929a9f;
  --muted2:#687176;
  --primary:#1689e8;
  --primary-soft:rgba(22,137,232,.12);
  --green:#67c889;
  --green-soft:rgba(103,200,137,.11);
  --amber:#d7ad69;
  --amber-soft:rgba(215,173,105,.11);
  --orange:#d48a59;
  --orange-soft:rgba(212,138,89,.11);
  --red:#db7068;
  --red-soft:rgba(219,112,104,.11);
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,calc(100% - 32px));margin:auto}

.unofficial-banner{background:#171b1d;border-bottom:1px solid #2a3033}
.unofficial-banner-inner{
  min-height:34px;display:flex;align-items:center;justify-content:center;gap:9px;
  color:var(--muted);font-size:10px;text-align:center
}
.unofficial-banner-inner p{margin:0}
.unofficial-badge{
  padding:3px 6px;border:1px solid #3b4448;border-radius:4px;
  color:#d7dcdf;font-size:8px;font-weight:850;letter-spacing:.13em
}

.site-header{
  height:64px;position:sticky;top:0;z-index:20;
  background:rgba(13,15,16,.94);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line2)
}
.nav{height:100%;display:flex;align-items:center;gap:8px}
.brand{display:flex;align-items:center;gap:7px}
.brand-word{font-size:16px;font-weight:850;color:var(--primary);letter-spacing:-.03em}
.brand-separator{color:#485055}.brand-sub{font-size:13px;color:var(--muted);font-weight:650}
.updated{margin-left:auto;margin-right:12px;color:var(--muted2);font-size:10px}
.nav-primary{
  padding:7px 10px;border-radius:6px;background:var(--primary);
  color:#fff;font-size:10px;font-weight:750
}

.dashboard{padding:24px 0 34px}
.quick-grid{display:grid;grid-template-columns:1.25fr .9fr 1fr .9fr;gap:8px}
.quick-card,.panel{
  background:var(--surface);border:1px solid var(--line);border-radius:8px
}
.quick-card{min-height:126px;padding:15px 16px}
.quick-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}
.eyebrow{font-size:8px;font-weight:850;letter-spacing:.15em;color:var(--primary)}
.mini-muted{font-size:9px;color:var(--muted2)}
.quick-card>strong{display:block;font-size:25px;line-height:1.05;letter-spacing:-.04em}
.quick-card .big-number{font-size:39px;line-height:.85}
.quick-card p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.45}
.state-dot{width:8px;height:8px;border-radius:50%;background:var(--muted2)}
.overall.operational .state-dot{background:var(--green)}
.overall.partial_outage .state-dot{background:var(--amber)}
.overall.major_outage .state-dot{background:var(--red)}
.status-chip{
  padding:3px 6px;border-radius:4px;font-size:8px;font-weight:750;
  background:#22282b;color:var(--muted)
}
.status-chip.low{background:var(--green-soft);color:var(--green)}
.status-chip.moderate{background:var(--amber-soft);color:var(--amber)}
.status-chip.high{background:var(--orange-soft);color:var(--orange)}
.status-chip.severe{background:var(--red-soft);color:var(--red)}

.panel{margin-top:8px}
.panel-head{
  min-height:54px;padding:13px 15px;display:flex;align-items:end;justify-content:space-between;
  border-bottom:1px solid var(--line2)
}
.panel-head.compact{min-height:50px}
.panel-head h2{margin:4px 0 0;font-size:15px;line-height:1;font-weight:720;letter-spacing:-.025em}

.service-strip{display:grid;grid-template-columns:repeat(5,1fr)}
.service-card{
  min-width:0;padding:13px 14px;border-right:1px solid var(--line2)
}
.service-card:last-child{border-right:0}
.service-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.service-name{font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.service-dot{width:6px;height:6px;border-radius:50%;background:var(--green)}
.service-card.down .service-dot{background:var(--red)}
.service-card.unknown .service-dot{background:var(--muted2)}
.service-bottom{display:flex;align-items:end;justify-content:space-between;margin-top:13px;gap:7px}
.service-latency{font-size:18px;font-weight:760;letter-spacing:-.04em}
.service-latency small{font-size:8px;color:var(--muted2);font-weight:500;margin-left:2px}
.service-uptime{text-align:right}
.service-uptime strong{display:block;font-size:10px}.service-uptime span{font-size:8px;color:var(--muted2)}

.main-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:8px}
.side-stack{min-width:0}
.side-stack .panel{margin-top:8px}

.traffic-list{min-height:320px}
.traffic-row{
  min-height:49px;padding:0 14px;display:grid;
  grid-template-columns:32px minmax(0,1fr) 92px 68px 45px;
  gap:8px;align-items:center;border-bottom:1px solid var(--line2)
}
.traffic-row:last-child{border-bottom:0}
.rank{font-size:9px;color:var(--muted2)}
.city strong{display:block;font-size:10px}.city small{display:block;margin-top:2px;font-size:8px;color:var(--muted2)}
.congestion-pill{justify-self:start;padding:3px 6px;border-radius:4px;font-size:8px;font-weight:750}
.congestion-pill.low{background:var(--green-soft);color:var(--green)}
.congestion-pill.moderate{background:var(--amber-soft);color:var(--amber)}
.congestion-pill.high{background:var(--orange-soft);color:var(--orange)}
.congestion-pill.severe{background:var(--red-soft);color:var(--red)}
.trend{font-size:8px;color:var(--muted2)}.trend.up{color:var(--red)}.trend.down{color:var(--green)}
.player-number{text-align:right;font-size:11px;font-weight:760}
.empty{padding:18px;color:var(--muted2);font-size:10px}

.chart-panel{padding-bottom:11px}
#playerChart{display:block;width:100%;height:150px;padding:8px 12px 0}
.chart-grid{stroke:#242a2c;stroke-width:1}
.chart-area{fill:rgba(22,137,232,.07)}
.chart-line{fill:none;stroke:var(--primary);stroke-width:2;vector-effect:non-scaling-stroke}
.chart-axis{display:flex;justify-content:space-between;padding:0 13px;color:var(--muted2);font-size:8px}

.incident-list{max-height:190px;overflow:auto}
.incident-row{
  padding:11px 13px;display:grid;grid-template-columns:7px 1fr auto;
  gap:9px;border-bottom:1px solid var(--line2)
}
.incident-row:last-child{border-bottom:0}
.incident-row i{width:6px;height:6px;border-radius:50%;background:var(--red);margin-top:4px}
.incident-row.resolved i{background:var(--green)}
.incident-row strong{display:block;font-size:9px}
.incident-row p{margin:3px 0 0;color:var(--muted2);font-size:8px}
.incident-row time{color:var(--muted2);font-size:8px}

footer{border-top:1px solid var(--line2);padding:18px 0 24px}
.footer-inner{display:flex;justify-content:space-between;color:var(--muted2);font-size:9px}
.footer-inner div{display:flex;gap:14px}.footer-inner a:hover{color:var(--text)}

@media(max-width:900px){
  .quick-grid{grid-template-columns:repeat(2,1fr)}
  .main-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .wrap{width:min(100% - 20px,1180px)}
  .unofficial-banner-inner{min-height:46px;padding:6px 0;align-items:flex-start;text-align:left;line-height:1.35}
  .updated{display:none}
  .quick-grid{grid-template-columns:1fr 1fr}
  .quick-card{min-height:112px;padding:13px}
  .quick-card .big-number{font-size:32px}
  .service-strip{grid-template-columns:1fr}
  .service-card{border-right:0;border-bottom:1px solid var(--line2)}
  .service-card:last-child{border-bottom:0}
  .traffic-row{grid-template-columns:27px 1fr 42px}
  .traffic-row .congestion-pill,.traffic-row .trend{display:none}
}


.chart-panel-head{align-items:center}
.chart-stats{display:flex;gap:16px}
.chart-stats div{min-width:44px;text-align:right}
.chart-stats span{display:block;color:var(--muted2);font-size:7px;text-transform:uppercase;letter-spacing:.08em}
.chart-stats strong{display:block;margin-top:2px;font-size:11px}
.chart-wrap{position:relative}
#playerChart{touch-action:none;cursor:crosshair}
.chart-hover-line{stroke:#49545a;stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.chart-hover-dot{fill:var(--primary);stroke:#0d0f10;stroke-width:2;vector-effect:non-scaling-stroke}
.chart-tooltip{
  position:absolute;
  z-index:4;
  pointer-events:none;
  min-width:92px;
  padding:7px 8px;
  border:1px solid #353d41;
  border-radius:6px;
  background:#101315;
  transform:translate(-50%,-100%);
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}
.chart-tooltip strong{display:block;font-size:10px}
.chart-tooltip span{display:block;margin-top:2px;color:var(--muted);font-size:8px}
@media(max-width:650px){
  .chart-panel-head{align-items:flex-start}
  .chart-stats{gap:10px}
  .chart-stats div{min-width:36px}
}


.chart-panel-head{gap:12px;flex-wrap:wrap}
.chart-controls{margin-left:auto}
.range-switch{
  display:flex;gap:3px;padding:3px;border:1px solid var(--line2);
  border-radius:6px;background:#101315
}
.range-btn{
  border:0;background:transparent;color:var(--muted2);
  padding:5px 7px;border-radius:4px;cursor:pointer;
  font-size:8px;font-weight:750
}
.range-btn:hover{color:var(--text)}
.range-btn.active{background:var(--primary);color:white}
@media(max-width:650px){
  .chart-controls{order:3;width:100%;margin-left:0}
  .range-switch{width:100%;justify-content:space-between}
  .range-btn{flex:1}
}


/* V8 navigation + detailed pages */
.page-nav{display:flex;gap:2px;margin-left:24px}
.page-nav a{
  padding:6px 8px;border-radius:5px;color:var(--muted);
  font-size:9px;font-weight:650
}
.page-nav a:hover,.page-nav a.active{background:var(--primary-soft);color:#fff}

.detail-page{padding:28px 0 44px}
.detail-hero{
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
  margin-bottom:16px
}
.detail-hero h1{margin:4px 0 8px;font-size:32px;line-height:1;letter-spacing:-.045em}
.detail-hero p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}
.detail-actions{display:flex;gap:6px;flex-wrap:wrap}
.control,.link-button{
  min-height:32px;border:1px solid var(--line);border-radius:6px;
  background:var(--surface);color:var(--muted);padding:7px 10px;
  font:inherit;font-size:9px
}
.link-button:hover,.control:hover{color:#fff;border-color:#3c464b}
.link-button.primary{background:var(--primary);border-color:var(--primary);color:#fff}

.metric-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:8px
}
.metric{
  background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:15px
}
.metric span{display:block;color:var(--muted2);font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.metric strong{display:block;margin-top:10px;font-size:26px;letter-spacing:-.05em}
.metric small{display:block;margin-top:4px;color:var(--muted);font-size:9px}

.data-table-wrap{overflow:auto}
.data-table{width:100%;border-collapse:collapse;font-size:10px}
.data-table th{
  padding:10px 12px;text-align:left;color:var(--muted2);
  font-size:8px;letter-spacing:.08em;text-transform:uppercase;
  border-bottom:1px solid var(--line2);white-space:nowrap
}
.data-table td{
  padding:11px 12px;border-bottom:1px solid var(--line2);white-space:nowrap
}
.data-table tbody tr:last-child td{border-bottom:0}
.data-table tbody tr:hover{background:#171b1d}
.data-table a{color:#fff;font-weight:700}
.data-table a:hover{color:var(--primary)}
.number{text-align:right}
.muted{color:var(--muted)}
.code-panel{
  background:#0b0d0e;border:1px solid var(--line);border-radius:7px;padding:12px;
  overflow:auto;color:#d8dee2;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:9px;line-height:1.55
}
.docs-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:8px}
.docs-sidebar{align-self:start;position:sticky;top:78px}
.docs-sidebar a{
  display:block;padding:8px 10px;color:var(--muted);font-size:9px;
  border-left:2px solid transparent
}
.docs-sidebar a:hover{color:#fff;border-left-color:var(--primary)}
.docs-content{display:grid;gap:8px}
.doc-block{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:17px}
.doc-block h2{margin:0 0 8px;font-size:16px}
.doc-block h3{margin:18px 0 7px;font-size:11px}
.doc-block p,.doc-block li{color:var(--muted);font-size:10px;line-height:1.6}
.endpoint{
  display:flex;gap:8px;align-items:center;margin:9px 0;padding:8px 9px;
  background:#101315;border:1px solid var(--line2);border-radius:6px;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px
}
.method{color:var(--green);font-weight:800}
.badge-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.badge-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:16px}
.badge-card h2{margin:0 0 4px;font-size:14px}
.badge-card p{color:var(--muted);font-size:9px;margin:0 0 13px}
.badge-preview{
  min-height:55px;display:flex;align-items:center;padding:10px;
  background:#0b0d0e;border:1px solid var(--line2);border-radius:6px
}
.badge-preview img{max-width:100%;height:auto}
.badge-url-row{display:flex;gap:6px;margin-top:8px}
.badge-url-row input{
  min-width:0;flex:1;background:#101315;color:var(--muted);
  border:1px solid var(--line);border-radius:5px;padding:7px 8px;font-size:9px
}
.copy-btn{
  border:1px solid var(--line);border-radius:5px;background:#191e20;
  color:#fff;padding:7px 9px;font-size:9px;cursor:pointer
}
.copy-btn:hover{background:#202629}

.detail-chart{height:230px!important;padding:10px 14px 0!important}
.city-link-row{cursor:pointer}
.events-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.event-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:14px}
.event-card strong{display:block;font-size:11px}
.event-card span{display:block;margin-top:4px;color:var(--muted);font-size:9px}
.service-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.service-detail{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:15px}
.service-detail-head{display:flex;justify-content:space-between;align-items:center}
.service-detail h2{margin:0;font-size:14px}
.service-detail .status-text{font-size:9px;color:var(--green)}
.service-detail.down .status-text{color:var(--red)}
.service-detail dl{display:grid;grid-template-columns:1fr auto;gap:8px;margin:15px 0 0;font-size:9px}
.service-detail dt{color:var(--muted)}.service-detail dd{margin:0}

@media(max-width:1000px){
  .page-nav{display:none}
  .metric-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .detail-hero{align-items:flex-start;flex-direction:column}
  .docs-grid{grid-template-columns:1fr}
  .docs-sidebar{position:static;display:flex;overflow:auto;border-bottom:1px solid var(--line2)}
  .docs-sidebar a{white-space:nowrap;border-left:0;border-bottom:2px solid transparent}
  .badge-grid,.events-grid,.service-detail-grid{grid-template-columns:1fr}
}


/* V9 — stronger outage visibility */
.service-card.down{
  background:rgba(219,112,104,.22);
  box-shadow:inset 3px 0 0 var(--red);
}
.service-card.down .service-name,
.service-card.down .service-latency,
.service-card.down .service-uptime strong{
  color:#fff;
}
.service-card.down .service-dot{
  background:var(--red);
  box-shadow:0 0 0 3px rgba(219,112,104,.10);
}

/* Detailed Status page */
.service-detail.down{
  background:rgba(219,112,104,.18);
  border-color:rgba(219,112,104,.34);
  box-shadow:inset 3px 0 0 var(--red);
}
.service-detail.down h2,
.service-detail.down dd{
  color:#fff;
}
.service-detail.down .status-text{
  color:#f08b83;
  font-weight:750;
}

/* Slightly stronger global outage card */
.quick-card.overall.major_outage{
  background:rgba(219,112,104,.12);
  border-color:rgba(219,112,104,.28);
}
.quick-card.overall.partial_outage{
  background:rgba(215,173,105,.08);
  border-color:rgba(215,173,105,.22);
}


.footer-credit-link{
  color:var(--text);
  font-weight:700;
  text-decoration:none;
}
.footer-credit-link:hover{
  color:var(--primary);
  text-decoration:underline;
  text-underline-offset:2px;
}


.footer-left{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.footer-disclaimer{
  color:var(--muted2);
  font-size:9px;
}
.footer-credit{
  color:var(--muted);
  font-size:9px;
}
.footer-credit-link{
  color:var(--text);
  font-weight:700;
}
.footer-credit-link:hover{
  color:var(--primary);
  text-decoration:underline;
  text-underline-offset:2px;
}


.language-switch{
  display:flex;
  gap:2px;
  margin-left:auto;
  margin-right:8px;
  padding:2px;
  border:1px solid var(--line2);
  border-radius:6px;
  background:#101315;
}
.lang-btn{
  border:0;
  background:transparent;
  color:var(--muted2);
  min-width:28px;
  height:24px;
  padding:0 6px;
  border-radius:4px;
  cursor:pointer;
  font-size:8px;
  font-weight:800;
}
.lang-btn:hover{color:#fff}
.lang-btn.active{
  background:var(--primary);
  color:#fff;
}
@media(max-width:1000px){
  .language-switch{margin-left:auto}
}


/* V13 — visible global language selector */
.language-switch{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:4px;
  margin-left:auto;
  margin-right:8px;
  padding:3px 5px;
  min-height:30px;
  border:1px solid var(--line);
  border-radius:6px;
  background:#111416;
  flex:0 0 auto;
}
.lang-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:24px;
  padding:0 6px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font-size:9px;
  font-weight:800;
  line-height:1;
}
.lang-btn:hover{
  color:#fff;
  background:#1a2023;
}
.lang-btn.active{
  color:#fff;
  background:var(--primary);
}
.lang-separator{
  color:var(--muted2);
  font-size:9px;
  user-select:none;
}
@media(max-width:1000px){
  .language-switch{
    margin-left:auto;
    margin-right:6px;
  }
}
@media(max-width:650px){
  .language-switch{
    padding:2px 4px;
    min-height:28px;
  }
  .lang-btn{
    min-width:27px;
    height:22px;
    padding:0 4px;
    font-size:8px;
  }
}


.footer-right{
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:5px;
}
.footer-legal{
  color:var(--text);
  font-size:9px;
  font-weight:700;
}
.footer-legal:hover{
  color:var(--primary);
}
.footer-updated{
  color:var(--muted2);
  font-size:8px;
}
.footer-language{
  margin:0;
}
@media(max-width:650px){
  .footer-inner{
    align-items:flex-start;
  }
  .footer-right{
    margin-left:0;
    align-items:flex-start;
  }
}


/* V16 — targeted navbar/footer fix */

/* Keep HaulMP.com pinned to the far right without touching the rest of the navbar. */
.nav-primary-right{
  margin-left:auto !important;
  flex:0 0 auto;
}

/* Clean footer: one balanced row on desktop. */
.site-footer{
  border-top:1px solid var(--line2);
  padding:16px 0 18px;
}

.footer-inner.footer-clean{
  display:grid;
  grid-template-columns:minmax(320px,1.55fr) auto minmax(300px,1fr);
  align-items:center;
  gap:24px;
  color:var(--muted2);
  font-size:9px;
}

.footer-disclaimer-block{
  min-width:0;
}

.footer-disclaimer{
  display:block;
  max-width:620px;
  color:var(--muted2);
  font-size:8px;
  line-height:1.45;
}

.footer-credit-block{
  justify-self:center;
  white-space:nowrap;
}

.footer-credit{
  color:var(--muted);
  font-size:9px;
}

.footer-credit-link{
  color:var(--text);
  font-weight:700;
  text-decoration:none;
}

.footer-credit-link:hover{
  color:var(--primary);
}

.footer-meta-block{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}

.footer-legal{
  color:var(--text);
  font-size:9px;
  font-weight:700;
  text-decoration:none;
}

.footer-legal:hover{
  color:var(--primary);
}

.footer-updated{
  color:var(--muted2);
  font-size:8px;
}

.footer-meta-separator{
  color:#3e474c;
  font-size:8px;
}

.footer-language{
  margin:0 !important;
  padding:2px 4px !important;
  min-height:24px !important;
}

.footer-language .lang-btn{
  min-width:25px;
  height:20px;
  padding:0 4px;
  font-size:8px;
}

.footer-language .lang-separator{
  font-size:8px;
}

@media(max-width:1050px){
  .footer-inner.footer-clean{
    grid-template-columns:1fr auto;
    row-gap:10px;
  }

  .footer-disclaimer-block{
    grid-column:1 / -1;
  }

  .footer-credit-block{
    justify-self:start;
  }

  .footer-meta-block{
    justify-self:end;
  }
}

@media(max-width:650px){
  .footer-inner.footer-clean{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .footer-credit-block,
  .footer-meta-block{
    justify-self:auto;
  }

  .footer-meta-block{
    flex-wrap:wrap;
    justify-content:flex-start;
  }
}


/* V19 — repaired compact footer */
.footer-inner.footer-v19{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding-top:18px;
  padding-bottom:18px;
}

.footer-v19-left{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

.footer-v19-left .footer-disclaimer{
  display:block;
  color:var(--muted2);
  font-size:10px !important;
  line-height:1.5;
}

.footer-v19-left .footer-credit{
  display:block;
  color:var(--muted);
  font-size:10px !important;
  line-height:1.5;
}

.footer-credit-link{
  color:var(--text);
  font-size:10px;
  font-weight:750;
  text-decoration:none;
}

.footer-credit-link:hover{
  color:var(--primary);
}

.footer-v19-right{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}

.lang-flag-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:30px;
  padding:0;
  border:1px solid var(--line);
  border-radius:6px;
  background:#111416;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}

.lang-flag-btn:hover{
  background:#181d20;
  border-color:#364046;
}

.footer-v19-right .footer-legal{
  color:var(--text);
  font-size:10px !important;
  font-weight:700;
  text-decoration:none;
}

.footer-v19-right .footer-legal:hover{
  color:var(--primary);
}

@media(max-width:650px){
  .footer-inner.footer-v19{
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }
}


/* V20 — real SVG language flags */
.lang-flag-btn{
  overflow:hidden;
}
.lang-flag-image{
  display:block;
  width:22px;
  height:15px;
  object-fit:cover;
  border-radius:2px;
  pointer-events:none;
  box-shadow:0 0 0 1px rgba(255,255,255,.10);
}

/* V20 — dark, minimal scrollbars */
html{
  scrollbar-width:thin;
  scrollbar-color:#485158 #111416;
}

*{
  scrollbar-width:thin;
  scrollbar-color:#485158 transparent;
}

/* Chromium / Edge / Safari */
*::-webkit-scrollbar{
  width:7px;
  height:7px;
}

*::-webkit-scrollbar-track{
  background:transparent;
}

*::-webkit-scrollbar-thumb{
  background:#485158;
  border-radius:999px;
  border:2px solid transparent;
  background-clip:padding-box;
}

*::-webkit-scrollbar-thumb:hover{
  background:#657078;
  border:1px solid transparent;
  background-clip:padding-box;
}

*::-webkit-scrollbar-corner{
  background:transparent;
}

*::-webkit-scrollbar-button{
  width:0;
  height:0;
  display:none;
}

/* Incident panel gets a little breathing room from its scrollbar */
.incident-list{
  padding-right:6px;
  scrollbar-gutter:stable;
}


/* V21 — Emojipedia/Twemoji flag artwork */
.lang-flag-btn{
  width:34px;
  height:30px;
  padding:3px;
}

.lang-flag-image{
  width:24px;
  height:18px;
  object-fit:contain;
  border-radius:3px;
  box-shadow:none;
}


/* V22 — UptimeRobot-inspired status page */
.status-page-v22{
  max-width:1180px;
}
.status-hero-v22{
  margin-bottom:14px;
}
.uptime-overall{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 20px;
  margin-bottom:10px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--surface);
}
.uptime-overall-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  flex:0 0 auto;
  background:var(--muted2);
  box-shadow:0 0 0 5px rgba(139,151,168,.08);
}
.uptime-overall strong{
  display:block;
  font-size:16px;
  letter-spacing:-.025em;
}
.uptime-overall span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:9px;
}
.uptime-overall.operational{
  background:rgba(103,200,137,.06);
  border-color:rgba(103,200,137,.22);
}
.uptime-overall.operational .uptime-overall-dot{
  background:var(--green);
  box-shadow:0 0 0 5px rgba(103,200,137,.09);
}
.uptime-overall.partial_outage{
  background:rgba(215,173,105,.07);
  border-color:rgba(215,173,105,.24);
}
.uptime-overall.partial_outage .uptime-overall-dot{
  background:#d7ad69;
}
.uptime-overall.major_outage{
  background:rgba(219,112,104,.09);
  border-color:rgba(219,112,104,.28);
}
.uptime-overall.major_outage .uptime-overall-dot{
  background:var(--red);
}

.uptime-panel{
  overflow:hidden;
  margin-bottom:10px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--surface);
}
.uptime-panel-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:15px 16px;
  border-bottom:1px solid var(--line2);
}
.uptime-panel-head h2{
  margin:4px 0 0;
  font-size:14px;
}
.uptime-window{
  color:var(--muted2);
  font-size:8px;
}

.monitor-list{
  display:flex;
  flex-direction:column;
}
.monitor-row{
  display:grid;
  grid-template-columns:190px minmax(0,1fr) 100px;
  align-items:center;
  gap:16px;
  padding:15px 16px;
  border-bottom:1px solid var(--line2);
}
.monitor-row:last-child{
  border-bottom:0;
}
.monitor-row.down{
  background:rgba(219,112,104,.08);
}
.monitor-main{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.monitor-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green);
  flex:0 0 auto;
}
.monitor-row.down .monitor-dot{
  background:var(--red);
}
.monitor-name{
  min-width:0;
}
.monitor-name strong{
  display:block;
  overflow:hidden;
  color:var(--text);
  font-size:10px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.monitor-name span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:8px;
}
.monitor-history{
  display:grid;
  grid-template-columns:repeat(90,minmax(1px,1fr));
  gap:2px;
  height:22px;
  align-items:stretch;
}
.uptime-segment{
  min-width:1px;
  border-radius:2px;
  background:#31383c;
}
.uptime-segment.up{background:var(--green)}
.uptime-segment.partial{background:#d7ad69}
.uptime-segment.down{background:var(--red)}
.uptime-segment.unknown{background:#2a3033}
.monitor-uptime{
  text-align:right;
}
.monitor-uptime strong{
  display:block;
  font-size:11px;
}
.monitor-uptime span{
  display:block;
  margin-top:3px;
  color:var(--muted2);
  font-size:7px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.incidents-simple .incident-row{
  padding-left:16px;
  padding-right:16px;
}

@media(max-width:800px){
  .monitor-row{
    grid-template-columns:minmax(150px,1fr) 80px;
  }
  .monitor-history{
    grid-column:1 / -1;
    grid-row:2;
  }
}
@media(max-width:520px){
  .monitor-row{
    grid-template-columns:1fr auto;
    gap:10px;
  }
  .monitor-history{
    gap:1px;
  }
}


/* V23 — Network chart uses the full panel width */
.network-chart-v23{
  display:block;
  width:100% !important;
  max-width:none !important;
  height:245px !important;
  padding:10px 12px 0 !important;
  box-sizing:border-box;
}

.status-page-v22 .uptime-panel:first-of-type{
  position:relative;
}

/* V23 — UptimeRobot-style hover details */
.uptime-segment{
  cursor:help;
  transition:transform .08s ease, filter .08s ease;
}

.uptime-segment:hover{
  transform:scaleY(1.16);
  filter:brightness(1.18);
}

.uptime-tooltip-v23{
  position:absolute;
  z-index:50;
  width:160px;
  padding:9px 10px;
  border:1px solid #384146;
  border-radius:7px;
  background:#0d1012;
  box-shadow:0 10px 28px rgba(0,0,0,.34);
  pointer-events:none;
}

.uptime-tooltip-v23 strong{
  display:block;
  color:var(--text);
  font-size:9px;
  margin-bottom:4px;
}

.uptime-tooltip-v23 span{
  display:block;
  color:var(--muted);
  font-size:8px;
  line-height:1.5;
}

.uptime-tooltip-v23 #uptimeTooltipStatus{
  color:#fff;
  font-weight:700;
}


/* V24 — tooltip positioning fix */
.uptime-tooltip-v23{
  position:fixed !important;
  z-index:9999 !important;
  margin:0 !important;
  transform:none !important;
}


/* V26 — uptime severity thresholds */
.uptime-segment.issues{
  background:#d98f4e;
}

.uptime-segment.major{
  background:var(--red);
}


/* V27 — official project branding assets */
.brand.brand-logo{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 auto;
  width:auto;
  height:38px;
  padding:0;
  text-decoration:none;
}

.brand-logo-image{
  display:block;
  width:auto;
  height:34px;
  max-width:72px;
  object-fit:contain;
}

.brand.brand-logo:hover .brand-logo-image{
  opacity:.9;
}

@media(max-width:650px){
  .brand.brand-logo{
    height:34px;
  }

  .brand-logo-image{
    height:30px;
    max-width:64px;
  }
}


/* V29 — global typography scale-up */
html{
  font-size:17px;
}

/* Navigation / small UI */
.page-nav a,
.nav-primary,
.control,
.link-button,
.copy-btn,
.badge-url-row input{
  font-size:10px !important;
}

/* Labels / meta */
.eyebrow,
.metric span,
.data-table th,
.mini-muted,
.updated,
.footer-disclaimer,
.footer-credit,
.footer-legal,
.footer-updated,
.monitor-name span,
.monitor-uptime span{
  font-size:9px !important;
}

/* Body-level text */
.detail-hero p,
.doc-block p,
.doc-block li,
.badge-card p,
.data-table,
.service-detail dl,
.incident-row,
.empty,
.metric small,
.monitor-name strong,
.monitor-uptime strong{
  font-size:10px !important;
}

/* Cards / important values */
.metric strong{
  font-size:28px;
}

.panel h2,
.uptime-panel-head h2{
  font-size:15px;
}

/* Footer */
.footer-v19-left .footer-disclaimer,
.footer-v19-left .footer-credit,
.footer-credit-link,
.footer-v19-right .footer-legal{
  font-size:11px !important;
}

/* Status tooltip */
.uptime-tooltip-v23 strong{
  font-size:10px;
}
.uptime-tooltip-v23 span{
  font-size:9px;
}

/* Tables */
.data-table td{
  font-size:10px;
}

/* API/code */
.code-panel,
.endpoint{
  font-size:10px;
}

/* Mobile: keep the scale readable without getting oversized */
@media(max-width:650px){
  html{
    font-size:16px;
  }
}


/* V30 — HaulMP blue unofficial banner */
.unofficial-banner{
  background:#1689e8 !important;
  border-bottom-color:#1689e8 !important;
}

.unofficial-banner-inner{
  color:#fff !important;
}

.unofficial-banner p{
  color:#fff !important;
}

.unofficial-badge{
  background:rgba(255,255,255,.16) !important;
  border-color:rgba(255,255,255,.28) !important;
  color:#fff !important;
}


/* V1.0.0 — anonymous unique visitor counter */
.footer-visitor-count{
  display:block;
  margin-top:2px;
  color:var(--muted2);
  font-size:9px;
  line-height:1.4;
}

.footer-visitor-count[hidden]{
  display:none !important;
}


/* V1.1.0 — SEO/accessibility additions */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.seo-about-copy{
  margin-top:10px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
}
.seo-about-copy h2{
  margin:0 0 5px;
  font-size:12px;
}
.seo-about-copy p{
  margin:0;
  color:var(--muted);
  font-size:10px;
  line-height:1.6;
}
.seo-about-copy a{color:var(--primary)}
.error-page{min-height:45vh}


/* v1.1.1 — clickable city discovery on overview */
.traffic-city-link{
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:background .12s ease, border-color .12s ease;
}
.traffic-city-link:hover{
  background:rgba(22,137,232,.06);
}
.traffic-city-link:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:-2px;
}
.traffic-city-link .city strong{
  display:flex;
  align-items:center;
  gap:5px;
}
.city-link-arrow{
  color:var(--primary);
  font-size:9px;
  opacity:.8;
  transition:transform .12s ease, opacity .12s ease;
}
.traffic-city-link:hover .city-link-arrow{
  opacity:1;
  transform:translate(1px,-1px);
}

.busiest-city-link{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  color:var(--text);
  font-size:25px;
  line-height:1.05;
  font-weight:700;
  letter-spacing:-.04em;
  text-decoration:none;
}
.busiest-city-link::after{
  content:"↗";
  margin-left:7px;
  color:var(--primary);
  font-size:11px;
  letter-spacing:0;
}
.busiest-city-link:hover{
  color:var(--primary);
}

/* v1.1.1 — city detail chart fills the panel */
.detail-page .chart-wrap{
  width:100%;
  min-width:0;
  overflow:hidden;
}
#cityChart.detail-chart{
  display:block;
  width:100% !important;
  max-width:none !important;
  height:245px !important;
  box-sizing:border-box;
  padding:10px 12px 0 !important;
}

/* v1.1.1 — larger Infrastructure service widgets */
.services-panel .service-card{
  padding:16px 16px;
}
.services-panel .service-name{
  font-size:12px;
  font-weight:750;
}
.services-panel .service-latency{
  font-size:22px;
}
.services-panel .service-latency small{
  font-size:9px;
}
.services-panel .service-uptime strong{
  font-size:12px;
}
.services-panel .service-uptime span{
  font-size:9px;
}
.services-panel .service-bottom{
  margin-top:15px;
}
.services-panel .service-dot{
  width:7px;
  height:7px;
}

@media(max-width:650px){
  .busiest-city-link{
    font-size:23px;
  }
}


/* v1.2.0 — live player badge generator */
.badge-player-panel{margin-top:18px}
.badge-player-help{max-width:760px;color:var(--muted);font-size:10px;line-height:1.6}
.badge-player-controls{
  display:grid;
  grid-template-columns:minmax(220px,1fr) 220px auto;
  gap:10px;
  align-items:end;
  margin-top:14px;
}
.badge-player-controls .control{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.badge-player-controls input,
.badge-player-controls select{
  width:100%;
  box-sizing:border-box;
}
.badge-player-result{margin-top:16px}
.badge-preview-box{
  min-height:54px;
  display:flex;
  align-items:center;
  padding:12px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#0d1012;
}
.badge-preview-box img{max-width:100%;height:28px}
@media(max-width:760px){
  .badge-player-controls{grid-template-columns:1fr}
}


/* v1.2.1 — polished live player badge controls */
.badge-player-panel{
  position:relative;
  overflow:visible;
  padding:18px;
}
.badge-player-panel .panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.player-badge-live-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:25px;
  padding:0 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#111518;
  color:var(--muted);
  font-size:9px;
  font-weight:700;
  white-space:nowrap;
}
.player-badge-live-pill::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#68737b;
}
.player-badge-live-pill[data-state="online"]{
  color:#a8d9b6;
  border-color:rgba(103,200,137,.3);
  background:rgba(103,200,137,.08);
}
.player-badge-live-pill[data-state="online"]::before{background:#67c889}
.player-badge-live-pill[data-state="error"]{
  color:#e0aaa6;
  border-color:rgba(219,112,104,.3);
  background:rgba(219,112,104,.08);
}
.player-badge-live-pill[data-state="error"]::before{background:#db7068}

.badge-player-help{
  max-width:780px;
  margin:7px 0 0;
  color:var(--muted);
  font-size:10px;
  line-height:1.6;
}

.badge-player-controls{
  display:grid;
  grid-template-columns:minmax(260px,1.4fr) minmax(190px,.8fr) auto;
  gap:12px;
  align-items:end;
  margin-top:18px;
}
.player-field-wrap{
  position:relative;
  min-width:0;
}
.player-field-label{
  display:block;
  margin-bottom:7px;
  color:#b6c0c7;
  font-size:9px;
  font-weight:750;
  letter-spacing:.035em;
  text-transform:uppercase;
}

.player-search-shell,
.player-select-shell{
  position:relative;
  display:flex;
  align-items:center;
  min-height:42px;
  border:1px solid #2b3338;
  border-radius:7px;
  background:#101416;
  transition:border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
.player-search-shell:hover,
.player-select-shell:hover{
  border-color:#3c474e;
  background:#121719;
}
.player-search-shell:focus-within,
.player-select-shell:focus-within{
  border-color:#1689e8;
  box-shadow:0 0 0 3px rgba(22,137,232,.12);
  background:#11171a;
}

.player-search-icon{
  flex:0 0 auto;
  padding-left:13px;
  color:#71808a;
  font-size:17px;
  line-height:1;
}
.player-input,
.player-select,
.player-output-input{
  appearance:none;
  -webkit-appearance:none;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#e8edf0!important;
  font-family:inherit;
  font-size:11px!important;
}
.player-input{
  width:100%;
  min-width:0;
  height:40px;
  padding:0 38px 0 10px!important;
}
.player-input::placeholder{color:#64717a}
.player-lookup-state{
  position:absolute;
  right:12px;
  color:#1689e8;
  font-size:13px;
  font-weight:700;
}

.player-select-shell{padding-right:34px}
.player-select{
  width:100%;
  height:40px;
  padding:0 12px!important;
  cursor:pointer;
}
.player-select option{
  background:#151a1d;
  color:#e8edf0;
}
.player-select-arrow{
  position:absolute;
  right:12px;
  pointer-events:none;
  color:#798790;
  font-size:14px;
}

.player-generate-btn{
  min-height:42px;
  padding:0 17px;
  border:1px solid #1689e8;
  border-radius:7px;
  background:#1689e8;
  color:#fff;
  font-family:inherit;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  transition:filter .12s ease, transform .12s ease;
}
.player-generate-btn:hover{filter:brightness(1.08)}
.player-generate-btn:active{transform:translateY(1px)}
.player-generate-btn:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}

.player-suggestions{
  position:absolute;
  z-index:50;
  left:0;
  right:0;
  top:calc(100% + 6px);
  overflow:hidden;
  border:1px solid #303a40;
  border-radius:7px;
  background:#111619;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.player-suggestion{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:8px 11px;
  border:0;
  border-bottom:1px solid #20282c;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.player-suggestion:last-child{border-bottom:0}
.player-suggestion:hover,
.player-suggestion:focus-visible{
  outline:0;
  background:rgba(22,137,232,.09);
}
.player-suggestion-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:2px;
}
.player-suggestion-copy strong{
  overflow:hidden;
  color:#edf2f4;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.player-suggestion-copy small{
  color:#71808a;
  font-size:9px;
}
.player-suggestion-online{
  flex:0 0 auto;
  color:#67c889;
  font-size:8px;
  font-weight:800;
  letter-spacing:.06em;
}
.player-suggestion-empty{
  padding:14px 12px;
  color:#7d8991;
  font-size:10px;
}

.player-selected{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:13px;
  padding:10px 12px;
  border:1px solid rgba(103,200,137,.22);
  border-radius:7px;
  background:rgba(103,200,137,.06);
}
.player-selected-dot{
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:#67c889;
}
.player-selected div{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:2px;
}
.player-selected strong{
  color:#eaf2ed;
  font-size:11px;
}
.player-selected small{
  color:#83928a;
  font-size:9px;
}

.player-badge-message{
  margin-top:12px;
  padding:9px 11px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#111518;
  color:var(--muted);
  font-size:10px;
}
.player-badge-message[data-state="error"]{
  border-color:rgba(219,112,104,.26);
  background:rgba(219,112,104,.07);
  color:#d9aaa7;
}
.player-badge-message[data-state="offline"]{
  color:#9aa5ad;
}

.badge-player-result{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.player-badge-preview-box{
  min-height:64px;
  margin-top:7px;
  padding:13px 14px;
  border:1px solid #293136;
  background:#0c1012;
}
.player-badge-preview-box img{
  display:block;
  max-width:100%;
  height:28px;
}
.player-badge-url-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  margin-top:9px;
}
.player-output-input{
  min-width:0;
  height:38px;
  padding:0 11px!important;
  border:1px solid #293136!important;
  border-radius:7px!important;
  background:#101416!important;
  color:#9daab2!important;
}
.player-copy-btn{
  min-width:78px;
}

@media(max-width:760px){
  .badge-player-panel .panel-head{align-items:flex-start}
  .badge-player-controls{grid-template-columns:1fr}
  .player-generate-btn{width:100%}
}
@media(max-width:480px){
  .badge-player-panel .panel-head{flex-direction:column}
  .player-badge-live-pill{align-self:flex-start}
  .player-badge-url-row{grid-template-columns:1fr}
  .player-copy-btn{min-height:38px}
}


/* v1.3.0 — large HaulMP profile widget */
.profile-widget-panel{
  position:relative;
  overflow:visible;
  margin-top:18px;
  padding:18px;
}
.profile-widget-source{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 9px;
  border:1px solid rgba(22,137,232,.28);
  border-radius:999px;
  background:rgba(22,137,232,.075);
  color:#79baf0;
  font-size:8px;
  font-weight:800;
  letter-spacing:.06em;
}
.profile-widget-controls{
  display:grid;
  grid-template-columns:minmax(260px,1fr) auto;
  gap:12px;
  align-items:end;
  max-width:620px;
  margin-top:18px;
}
.profile-at{
  flex:0 0 auto;
  padding-left:13px;
  color:#1689e8;
  font-size:13px;
  font-weight:800;
}
.profile-handle-input{padding-left:7px!important}
.profile-widget-result{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.profile-widget-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:9px;
}
.profile-widget-meta>div{
  display:flex;
  align-items:baseline;
  min-width:0;
  gap:8px;
}
.profile-widget-meta strong{
  overflow:hidden;
  color:#edf2f5;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.profile-widget-meta span{
  color:#75838d;
  font-size:9px;
}
.profile-widget-online{
  flex:0 0 auto;
  padding:4px 7px;
  border:1px solid #333d44;
  border-radius:999px;
  font-size:8px!important;
  font-weight:800;
}
.profile-widget-online[data-state="online"]{
  border-color:rgba(103,200,137,.3);
  color:#67c889!important;
  background:rgba(103,200,137,.07);
}
.profile-widget-preview{
  overflow:auto hidden;
  padding:14px;
  border:1px solid #29333a;
  border-radius:8px;
  background:#090d10;
}
.profile-widget-preview img{
  display:block;
  width:720px;
  max-width:none;
  height:auto;
}
.profile-widget-embed-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  margin-top:8px;
}
.profile-widget-embed-row code{
  overflow:hidden;
  min-height:38px;
  display:flex;
  align-items:center;
  padding:0 11px;
  border:1px solid #293136;
  border-radius:7px;
  background:#101416;
  color:#85939d;
  font-size:9px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media(max-width:760px){
  .profile-widget-controls{grid-template-columns:1fr}
  .profile-widget-preview img{width:660px}
  .profile-widget-embed-row{grid-template-columns:1fr}
}


/* v1.3.1 — premium profile widget styling */
.profile-widget-preview{
  padding:16px;
  border:1px solid #2d3941;
  background:
    radial-gradient(circle at top right, rgba(22,137,232,.08), transparent 34%),
    linear-gradient(180deg, #0a0f12 0%, #0c1216 100%);
}
.profile-widget-preview img{
  width:760px;
}
.profile-widget-source{
  border-color:rgba(22,137,232,.34);
  background:rgba(22,137,232,.10);
  color:#8fcbff;
}
.profile-widget-meta strong{
  font-size:13px;
}
.profile-widget-meta span{
  font-size:9.5px;
}
.profile-widget-embed-row code{
  font-size:9.5px;
}
@media(max-width:760px){
  .profile-widget-preview img{width:700px}
}


/* v1.3.3 — clean premium profile card */
.profile-widget-preview{
  padding:18px;
  background:#0a0e12;
  border-color:#25313a;
  border-radius:10px;
}
.profile-widget-preview img{
  width:760px;
  border-radius:18px;
  box-shadow:0 12px 34px rgba(0,0,0,.32);
}


/* v1.3.5 — refined profile widget preview */
.profile-widget-preview{
  padding:20px;
  background:
    radial-gradient(circle at top right, rgba(22,137,232,.10), transparent 28%),
    linear-gradient(180deg, #0a0f13 0%, #0d1217 100%);
}
.profile-widget-preview img{
  width:800px;
  border-radius:18px;
  box-shadow:0 16px 42px rgba(0,0,0,.34);
}
@media(max-width:820px){
  .profile-widget-preview img{width:760px}
}


/* v1.3.6 — compact premium profile widget */
.profile-widget-preview{
  padding:18px;
  background:
    radial-gradient(circle at top right, rgba(22,137,232,.09), transparent 30%),
    linear-gradient(180deg, #0a0f13 0%, #0c1216 100%);
}
.profile-widget-preview img{
  width:760px;
  border-radius:18px;
  box-shadow:0 14px 38px rgba(0,0,0,.32);
}
@media(max-width:780px){
  .profile-widget-preview img{width:720px}
}


/* v1.4.0 — player badge editor */
.badge-editor-hero{margin-bottom:16px}
.badge-editor-layout{
  display:grid;
  grid-template-columns:310px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.badge-editor-controls,
.badge-editor-preview-panel{padding:18px}
.badge-editor-controls{
  position:sticky;
  top:18px;
}
.badge-editor-field{margin-top:14px}
.badge-editor-field>label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:7px;
  color:#aebac3;
  font-size:9px;
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.badge-editor-field>label small{
  color:#65737d;
  font-size:8px;
  font-weight:650;
  text-transform:none;
  letter-spacing:0;
}
.badge-editor-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.badge-color-control{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:7px;
}
.badge-color-control input[type="color"]{
  width:42px;
  height:42px;
  padding:4px;
  border:1px solid #2b3338;
  border-radius:7px;
  background:#101416;
  cursor:pointer;
}
.badge-color-text{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  border:1px solid #2b3338;
  border-radius:7px;
  background:#101416;
  color:#dfe7ec;
  padding:0 9px;
  font:inherit;
  font-size:10px;
  outline:none;
}
.badge-color-text:focus{
  border-color:#1689e8;
  box-shadow:0 0 0 3px rgba(22,137,232,.12);
}
.badge-editor-toggles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:14px;
}
.badge-editor-toggles label{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:0 10px;
  border:1px solid #273138;
  border-radius:7px;
  background:#101519;
  color:#aab6be;
  font-size:9px;
  font-weight:700;
  cursor:pointer;
}
.badge-editor-toggles input{
  accent-color:#1689e8;
}
.badge-stat-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}
.badge-stat-select{
  width:100%;
  height:37px;
  padding:0 9px!important;
  border:1px solid #2b3338!important;
  border-radius:7px!important;
  background:#101416!important;
  color:#dfe7ec!important;
  font-size:9.5px!important;
  outline:none;
}
.badge-editor-generate{
  width:100%;
  margin-top:16px;
}
.badge-editor-preview-panel{min-width:0}
.badge-editor-preview-stage{
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:auto hidden;
  margin-top:12px;
  padding:22px;
  border:1px solid #263139;
  border-radius:10px;
  background:
    radial-gradient(circle at top right, rgba(22,137,232,.10), transparent 32%),
    linear-gradient(180deg,#090e12,#0c1217);
}
.badge-editor-preview-stage img{
  display:block;
  width:760px;
  max-width:none;
  height:auto;
  border-radius:18px;
  box-shadow:0 15px 42px rgba(0,0,0,.38);
}
.badge-preview-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  color:#788690;
  text-align:center;
}
.badge-preview-empty strong{
  color:#c5d0d7;
  font-size:12px;
}
.badge-preview-empty span{font-size:9px}
.badge-export{
  margin-top:16px;
  padding-top:2px;
}
.badge-export-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}
@media(max-width:900px){
  .badge-editor-layout{grid-template-columns:1fr}
  .badge-editor-controls{position:static}
}
@media(max-width:560px){
  .badge-editor-row,
  .badge-stat-grid,
  .badge-editor-toggles{grid-template-columns:1fr}
  .badge-export-row{grid-template-columns:1fr}
}


/* v1.4.1 — badge editor visibility fix */
.badge-preview-empty[hidden],
.badge-editor-preview-stage img[hidden],
.badge-export[hidden],
.player-badge-message[hidden]{
  display:none!important;
}


/* v1.4.2 — modular stat widgets */
.badge-editor-toggles{
  grid-template-columns:1fr 1fr;
}
#badgeStatsField.is-disabled{
  opacity:.55;
}
#badgeStatsField.is-disabled .badge-stat-select{
  cursor:not-allowed;
}


/* v1.4.3 — compact badge proportions */
.badge-editor-preview-stage{
  min-height:275px;
}
.badge-editor-preview-stage img{
  width:620px;
  border-radius:16px;
}


/* v1.5.0 — hero badge preview */
.badge-editor-preview-stage{
  min-height:250px;
}
.badge-editor-preview-stage img{
  width:620px;
  border-radius:18px;
  box-shadow:0 18px 46px rgba(0,0,0,.38);
}


/* v1.6.1 hotfix — responsive nav + safe history range UI */
.nav-toggle{
  display:none;
  width:38px;height:34px;padding:0;
  border:1px solid var(--line);
  border-radius:7px;background:#121719;
  align-items:center;justify-content:center;
  flex-direction:column;gap:4px;cursor:pointer;
}
.nav-toggle span{width:16px;height:2px;border-radius:2px;background:#e8eef2;display:block}
.nav-mobile-haulmp{display:none!important}
.history-availability{display:block;margin-top:7px;color:var(--muted);font-size:8.5px}
.range-btn:disabled,.range-btn.disabled{opacity:.35;cursor:not-allowed}
.control option:disabled{color:#626c72}

@media(max-width:860px){
  .site-header .nav{position:relative;min-height:58px;gap:10px}
  .nav-toggle{display:flex;margin-left:auto}
  .nav-primary-right{display:none!important}
  .page-nav{
    display:none!important;
    position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:100;
    padding:8px;flex-direction:column;align-items:stretch!important;gap:3px!important;
    background:#101416;border:1px solid #2b3338;border-radius:10px;
    box-shadow:0 18px 42px rgba(0,0,0,.42);
  }
  .site-header.nav-open .page-nav{display:flex!important}
  .page-nav a{width:100%;box-sizing:border-box;padding:11px 12px!important;border-radius:7px;font-size:10px!important}
  .page-nav a.active{background:rgba(22,137,232,.10)}
  .nav-mobile-haulmp{display:block!important;margin-top:5px;border-top:1px solid #293137;color:#76bcf5!important}
  .network-range-actions{width:100%;margin-top:12px}
  .network-range-actions .control{width:100%}
  .history-availability{white-space:normal;line-height:1.4}
}


/* v1.6.2 — global readability / typography pass */
html{font-size:16px}
body{font-size:14px;line-height:1.5}

.page-nav a{font-size:11px!important}
.nav-primary{font-size:10px!important}
.unofficial-banner{font-size:10px}
.unofficial-badge{font-size:9px!important}

.eyebrow{font-size:10px!important;letter-spacing:.10em}
.muted{font-size:10px!important}
.status-chip,.congestion-pill{font-size:9px!important}
.control,button,input,select{font-size:11px}

.quick-card .label,.quick-card small,.quick-card p{font-size:10px!important}
.quick-card strong{font-size:15px}
.quick-card.overall strong,#overallTitle{font-size:22px!important}
#playersNow,#overallUptime{font-size:34px!important}

.panel-head h2,.service-section h2,.chart-panel h2,.badge-card h2{font-size:16px!important}
.detail-hero h1{font-size:30px!important}
.detail-hero p{font-size:12px!important}

.service-name{font-size:12px!important}
.service-latency{font-size:22px!important}
.service-latency small{font-size:9px!important}
.service-uptime strong{font-size:12px!important}
.service-uptime span{font-size:9px!important}

.traffic-row{min-height:48px}
.traffic-row .rank{font-size:9px!important}
.traffic-row .city strong{font-size:11px!important}
.traffic-row .city small{font-size:9px!important}
.traffic-row .trend{font-size:9px!important}
.player-number{font-size:12px!important}

.chart-stat span,.chart-summary span,.metric span{font-size:9px!important}
.chart-stat strong,.chart-summary strong{font-size:12px!important}
.chart-axis,.chart-tooltip,.chart-tooltip span{font-size:9px!important}

.metric strong{font-size:26px!important}
.metric small{font-size:10px!important}
.event-card strong,.incident-row strong{font-size:11px!important}
.event-card span,.incident-row p,.incident-row time{font-size:9px!important}

table{font-size:11px}
th{font-size:9px!important}
td{font-size:10px!important}

.site-footer{font-size:10px!important}
.footer-disclaimer,.footer-credit,.footer-visitor-count,.footer-legal{font-size:10px!important}

.badge-editor-field>label,.player-field-label{font-size:10px!important}
.player-input,.player-select,.player-output-input,.badge-color-text,.badge-stat-select{font-size:11px!important}
.badge-editor-toggles label{font-size:10px!important}
.copy-btn,.player-generate-btn{font-size:10px!important}
.badge-preview-empty strong{font-size:13px!important}
.badge-preview-empty span{font-size:10px!important}

.code-panel,pre,code{font-size:10px;line-height:1.55}
.endpoint{font-size:11px}

.detail-page p,.panel p{font-size:11px}
.detail-page li,.panel li{font-size:11px;line-height:1.55}

@media(max-width:860px){
  body{font-size:14px}
  .page-nav a{font-size:12px!important}
  .detail-hero h1{font-size:27px!important}
  .detail-hero p{font-size:12px!important}
  .panel-head h2{font-size:16px!important}
}

@media(max-width:560px){
  body{font-size:13px}
  .eyebrow{font-size:9.5px!important}
  .detail-hero h1{font-size:24px!important}
  #playersNow,#overallUptime{font-size:30px!important}
  .service-latency{font-size:20px!important}
  .traffic-row .city strong{font-size:10.5px!important}
}


/* v1.6.3 — typography pass, one step larger */
body{font-size:15px}

.page-nav a{font-size:12px!important}
.nav-primary{font-size:11px!important}
.unofficial-banner{font-size:11px}
.unofficial-badge{font-size:10px!important}

.eyebrow{font-size:11px!important}
.muted{font-size:11px!important}
.status-chip,.congestion-pill{font-size:10px!important}
.control,button,input,select{font-size:12px}

.quick-card .label,.quick-card small,.quick-card p{font-size:11px!important}
.quick-card strong{font-size:16px}
.quick-card.overall strong,#overallTitle{font-size:24px!important}
#playersNow,#overallUptime{font-size:38px!important}

.panel-head h2,.service-section h2,.chart-panel h2,.badge-card h2{font-size:17px!important}
.detail-hero h1{font-size:32px!important}
.detail-hero p{font-size:13px!important}

.service-name{font-size:13px!important}
.service-latency{font-size:24px!important}
.service-latency small{font-size:10px!important}
.service-uptime strong{font-size:13px!important}
.service-uptime span{font-size:10px!important}

.traffic-row{min-height:52px}
.traffic-row .rank{font-size:10px!important}
.traffic-row .city strong{font-size:12px!important}
.traffic-row .city small{font-size:10px!important}
.traffic-row .trend{font-size:10px!important}
.player-number{font-size:13px!important}

.chart-stat span,.chart-summary span,.metric span{font-size:10px!important}
.chart-stat strong,.chart-summary strong{font-size:13px!important}
.chart-axis,.chart-tooltip,.chart-tooltip span{font-size:10px!important}

.metric strong{font-size:28px!important}
.metric small{font-size:11px!important}
.event-card strong,.incident-row strong{font-size:12px!important}
.event-card span,.incident-row p,.incident-row time{font-size:10px!important}

table{font-size:12px}
th{font-size:10px!important}
td{font-size:11px!important}

.site-footer{font-size:11px!important}
.footer-disclaimer,.footer-credit,.footer-visitor-count,.footer-legal{font-size:11px!important}

.badge-editor-field>label,.player-field-label{font-size:11px!important}
.player-input,.player-select,.player-output-input,.badge-color-text,.badge-stat-select{font-size:12px!important}
.badge-editor-toggles label{font-size:11px!important}
.copy-btn,.player-generate-btn{font-size:11px!important}
.badge-preview-empty strong{font-size:14px!important}
.badge-preview-empty span{font-size:11px!important}

.code-panel,pre,code{font-size:11px;line-height:1.6}
.endpoint{font-size:12px!important}

.detail-page p,.panel p{font-size:12px!important}
.detail-page li,.panel li{font-size:12px!important}

@media(max-width:860px){
  body{font-size:15px}
  .page-nav a{font-size:13px!important}
  .detail-hero h1{font-size:29px!important}
  .detail-hero p{font-size:13px!important}
}

@media(max-width:560px){
  body{font-size:14px}
  .eyebrow{font-size:10px!important}
  .detail-hero h1{font-size:26px!important}
  #playersNow,#overallUptime{font-size:33px!important}
  .service-latency{font-size:22px!important}
  .traffic-row .city strong{font-size:11.5px!important}
}


/* v1.7.0 — online players page */
.players-hero{align-items:center}
.players-summary{
  display:flex;align-items:center;gap:8px;
  min-height:42px;padding:0 14px;
  border:1px solid var(--line);border-radius:8px;background:var(--surface);
}
.players-summary strong{font-size:20px}
.players-summary span:last-child{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase}
.players-live-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(103,200,137,.08)}

.players-toolbar{
  display:grid;grid-template-columns:minmax(240px,1fr) 180px auto;
  gap:12px;align-items:end;padding:14px;margin-bottom:8px;
}
.players-search-wrap,.players-filter-wrap{min-width:0}
.players-search-wrap label,.players-filter-wrap label{
  display:block;margin-bottom:6px;color:var(--muted2);
  font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase
}
.players-search{
  width:100%;height:38px;box-sizing:border-box;
  border:1px solid var(--line);border-radius:7px;background:#101416;color:#fff;
  padding:0 11px;outline:none;
}
.players-search:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(22,137,232,.10)}
.players-filter-wrap .control{width:100%;height:38px}
.players-refresh-meta{text-align:right;padding-bottom:4px}
.players-refresh-meta span{display:block;color:var(--muted2);font-size:9px;font-weight:800;letter-spacing:.08em}
.players-refresh-meta strong{display:block;margin-top:3px;font-size:11px}

.players-panel{overflow:hidden}
.players-table-head,.player-row{
  display:grid;
  grid-template-columns:minmax(190px,1.55fr) minmax(100px,.8fr) 105px minmax(135px,1fr) minmax(125px,1fr) 24px;
  gap:12px;align-items:center;
}
.players-table-head{
  padding:11px 16px;border-bottom:1px solid var(--line2);
  color:var(--muted2);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}
.player-row{
  min-height:64px;padding:0 16px;
  color:inherit;border-bottom:1px solid var(--line2);
  transition:background .12s ease;
}
.player-row:last-child{border-bottom:0}
.player-row:hover{background:#171c1f}
.player-main{min-width:0}
.player-main strong{
  display:block;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.player-main small{
  display:block;margin-top:3px;color:var(--muted2);font-size:9px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.player-vtc b{font-size:11px;color:#a8cfff}
.player-online-pill,.player-activity{
  display:inline-flex;align-items:center;gap:6px;
  min-height:26px;padding:0 9px;border-radius:13px;
  font-size:9px;font-weight:800;white-space:nowrap
}
.player-online-pill{color:var(--green);background:var(--green-soft)}
.player-online-pill i{width:6px;height:6px;border-radius:50%;background:var(--green)}
.player-activity.driving{color:#77c2ff;background:rgba(22,137,232,.12)}
.player-activity.safe{color:var(--green);background:var(--green-soft)}
.player-activity.idling{color:#b2bdc5;background:#1b2227}
.player-near{font-size:11px;font-weight:700}
.player-near small{display:block;margin-top:3px;color:var(--muted2);font-size:9px;font-weight:500}
.player-open{text-align:right;color:var(--primary);font-size:14px}
.players-loading,.players-empty{padding:28px;text-align:center;color:var(--muted);font-size:12px}
.players-error{color:#d99691}

@media(max-width:900px){
  .players-toolbar{grid-template-columns:1fr 160px}
  .players-refresh-meta{display:none}
  .players-table-head{display:none}
  .players-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}
  .player-row{
    min-height:0;padding:14px;display:grid;
    grid-template-columns:1fr auto;gap:10px;
    border:1px solid var(--line2)!important;border-radius:8px;background:#121719
  }
  .player-main{grid-column:1/-1}
  .player-vtc{grid-column:1/2}
  .player-open{grid-column:2/3;grid-row:2}
  .player-row>span:nth-child(3),
  .player-row>span:nth-child(4),
  .player-near{grid-column:1/-1}
}

@media(max-width:600px){
  .players-toolbar{grid-template-columns:1fr}
  .players-list{grid-template-columns:1fr}
  .players-summary{width:100%;box-sizing:border-box;justify-content:center}
}


/* v1.7.1 — players list cleanup */
.players-table-head,.player-row{
  grid-template-columns:minmax(220px,1.65fr) minmax(110px,.8fr) minmax(150px,1fr) minmax(150px,1fr) 24px;
}
.player-main strong{
  margin:0;
}
.player-main small{
  display:none!important;
}
.player-online-pill{
  display:none!important;
}

@media(max-width:900px){
  .player-row>span:nth-child(3),
  .player-near{
    grid-column:1/-1;
  }
}


/* v1.7.2 — more compact Players rows */
.player-row{
  min-height:48px;
  padding-top:0;
  padding-bottom:0;
}
.player-main strong{
  line-height:1.15;
}
.player-online-pill,
.player-activity{
  min-height:22px;
  padding:0 8px;
}

@media(max-width:900px){
  .player-row{
    min-height:0;
    padding:11px 12px;
    gap:7px 10px;
  }
}

@media(max-width:600px){
  .player-row{
    padding:10px 11px;
  }
}


/* v1.7.3 — Manrope typography + navbar restyle */
html, body, button, input, select, textarea{
  font-family:"Manrope","Segoe UI",Arial,sans-serif;
}

.page-nav a{
  font-size:12px!important;
  text-transform:uppercase;
  font-weight:700;
  border-bottom:5px solid transparent;
  background:transparent;
  transition:all .25s;
}

.page-nav a:hover,
.page-nav a.active{
  border-bottom:2px solid rgb(0 140 255);
  color:#fff;
  background:linear-gradient(
    0deg,
    rgb(0 140 255 / 16%),
    transparent
  );
  transition:all .25s;
}


/* v1.7.4 — navbar spacing refinement */
.page-nav a{
  padding:20px 8px;
  border-radius:0;
  color:var(--muted);
  font-size:9px;
  font-weight:650;
}

/* Keep the v1.7.3 interaction styling */
.page-nav a:hover,
.page-nav a.active{
  border-bottom:2px solid rgb(0 140 255);
  color:#fff;
  background:linear-gradient(
    0deg,
    rgb(0 140 255 / 16%),
    transparent
  );
  transition:all .25s;
}


/* v1.7.5 — dismissible unofficial notice */
.unofficial-floating{
  position:fixed;
  left:16px;
  bottom:16px;
  z-index:120;
  width:220px;
  box-sizing:border-box;
  padding:14px 14px 13px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  background:linear-gradient(145deg,#617cf4,#5571e8);
  color:#fff;
  text-align:center;
  box-shadow:0 14px 34px rgba(0,0,0,.34);
  transition:opacity .18s ease,transform .18s ease;
}
.unofficial-floating.is-hiding{
  opacity:0;
  transform:translateY(8px);
}
.unofficial-floating .unofficial-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:0 8px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:4px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:9px!important;
  font-weight:800;
  letter-spacing:.08em;
}
.unofficial-floating p{
  margin:10px 6px 0;
  color:#fff;
  font-size:9px!important;
  line-height:1.45;
  font-weight:600;
}
.unofficial-close{
  position:absolute;
  top:6px;
  right:7px;
  width:24px;
  height:24px;
  padding:0;
  border:0;
  border-radius:5px;
  background:transparent;
  color:rgba(255,255,255,.75);
  font-size:17px;
  line-height:1;
  cursor:pointer;
  transition:background .15s ease,color .15s ease;
}
.unofficial-close:hover{
  background:rgba(0,0,0,.12);
  color:#fff;
}

@media(max-width:650px){
  .unofficial-floating{
    left:10px;
    right:10px;
    bottom:10px;
    width:auto;
    padding:12px 38px 11px 12px;
    text-align:left;
  }
  .unofficial-floating p{
    margin:7px 0 0;
    font-size:9px!important;
  }
}


/* v1.7.6 — navbar alignment + unofficial tag fix */
.page-nav a{
  position:relative;
  box-sizing:border-box;
  padding:20px 8px;
  border-radius:0;
  border-bottom:5px solid transparent;
  color:var(--muted);
  font-size:9px;
  font-weight:650;
  background:transparent;
  transition:color .25s, background .25s;
}

/* Keep every nav item exactly the same height.
   The blue line is drawn with ::after instead of changing border width. */
.page-nav a:hover,
.page-nav a.active{
  border-bottom-color:transparent;
  color:#fff;
  background:linear-gradient(
    0deg,
    rgb(0 140 255 / 16%),
    transparent
  );
}

.page-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-5px;
  height:2px;
  background:rgb(0 140 255);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .25s;
  pointer-events:none;
}

.page-nav a:hover::after,
.page-nav a.active::after{
  transform:scaleX(1);
}

/* v1.7.7 — navbar hover/active without borders */
.page-nav a{
  border:0!important;
}

.page-nav a:hover,
.page-nav a.active{
  border:0!important;
  color:#fff;
  background:linear-gradient(
    0deg,
    rgb(0 140 255 / 16%),
    transparent
  );
  transition:all .25s;
}

.page-nav a::after{
  display:none!important;
}


/* v1.7.8 — real navbar underline, no ::after */
.page-nav a{
  padding:20px 8px;
  border-radius:0;
  color:var(--muted);
  font-size:9px;
  font-weight:650;
  border:0!important;
  border-bottom:2px solid transparent!important;
  background:transparent;
  transition:all .25s;
}

.page-nav a:hover,
.page-nav a.active{
  border-bottom:2px solid rgb(0 140 255)!important;
  color:#fff;
  background:linear-gradient(
    0deg,
    rgb(0 140 255 / 16%),
    transparent
  );
  transition:all .25s;
}

.page-nav a::after{
  content:none!important;
  display:none!important;
}


/* v1.7.9 — panel aesthetic refresh + unofficial toast redesign */

/* ---------- Global surfaces ---------- */
:root{
  --panel-blue:#1689e8;
  --panel-blue-soft:rgba(22,137,232,.12);
  --panel-blue-softer:rgba(22,137,232,.06);
  --panel-glow:rgba(22,137,232,.18);
}

body{
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(22,137,232,.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(22,137,232,.06), transparent 60%),
    #090b0f;
}

/* Generic panel refresh without changing structure/layout */
.panel,
.quick-card,
.service-card,
.chart-panel,
.badge-card,
.metric,
.players-toolbar,
.players-panel,
.detail-card,
.info-card,
.status-card{
  position:relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.008)),
    linear-gradient(180deg, rgba(22,137,232,.02), rgba(22,137,232,0));
  border:1px solid rgba(255,255,255,.075)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.028),
    0 10px 30px rgba(0,0,0,.24);
  backdrop-filter: blur(2px);
}

.panel::before,
.quick-card::before,
.service-card::before,
.chart-panel::before,
.badge-card::before,
.metric::before,
.players-toolbar::before,
.players-panel::before,
.detail-card::before,
.info-card::before,
.status-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(22,137,232,.08), transparent 18%),
    linear-gradient(90deg, rgba(255,255,255,.02), transparent 18%, transparent 82%, rgba(255,255,255,.02));
  opacity:.95;
}

.panel:hover,
.quick-card:hover,
.service-card:hover,
.chart-panel:hover,
.badge-card:hover,
.metric:hover,
.players-toolbar:hover,
.players-panel:hover{
  border-color:rgba(22,137,232,.20)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 14px 40px rgba(0,0,0,.28),
    0 0 0 1px rgba(22,137,232,.06);
}

.panel > *,
.quick-card > *,
.service-card > *,
.chart-panel > *,
.badge-card > *,
.metric > *,
.players-toolbar > *,
.players-panel > *{
  position:relative;
  z-index:1;
}

/* Titles / meta style polish */
.eyebrow{
  color:#4f8fff!important;
  text-shadow:0 0 18px rgba(22,137,232,.16);
}
.panel-head h2,
.service-section h2,
.chart-panel h2,
.badge-card h2,
.detail-hero h1,
.metric strong{
  letter-spacing:-.02em;
}
.muted,
.quick-card p,
.detail-hero p,
.panel p{
  color:rgba(202,212,226,.8)!important;
}

/* Small chips / pills look nicer */
.status-chip,
.congestion-pill,
.player-activity,
.player-online-pill{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.player-activity.driving{
  background:linear-gradient(180deg, rgba(22,137,232,.18), rgba(22,137,232,.10));
  color:#93c8ff;
}
.player-activity.safe{
  background:linear-gradient(180deg, rgba(89,177,117,.18), rgba(89,177,117,.10));
}
.player-activity.idling{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  color:#b8c2cc;
}

/* Table/list aesthetics */
.player-row,
.traffic-row,
.incident-row{
  transition:background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.player-row:hover,
.traffic-row:hover,
.incident-row:hover{
  background:
    linear-gradient(90deg, rgba(22,137,232,.055), transparent 28%),
    rgba(255,255,255,.012);
}

/* Inputs/buttons polish */
.players-search,
.control,
input[type="text"],
input[type="search"],
input[type="url"],
input[type="color"],
select,
textarea{
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
    #0d1117!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}
.players-search:focus,
.control:focus,
input:focus,
select:focus,
textarea:focus{
  border-color:rgba(22,137,232,.48)!important;
  box-shadow:
    0 0 0 4px rgba(22,137,232,.10),
    inset 0 1px 0 rgba(255,255,255,.03)!important;
}

/* Buttons with primary DA */
button,
.copy-btn,
.player-generate-btn{
  box-shadow:0 10px 26px rgba(22,137,232,.14);
}
.player-generate-btn,
.copy-btn.primary{
  background:linear-gradient(180deg, #3d9ef0, #1689e8)!important;
  border-color:#1689e8!important;
}
.player-generate-btn:hover,
.copy-btn.primary:hover{
  filter:brightness(1.05);
  box-shadow:0 14px 30px rgba(22,137,232,.20);
}

/* ---------- Unofficial floating notice redesign ---------- */
.unofficial-floating{
  width:245px;
  padding:14px 16px 14px;
  overflow:hidden;
  border:1px solid rgba(22,137,232,.28)!important;
  border-radius:14px;
  background:
    radial-gradient(180px 110px at 18% 0%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(160deg, rgba(63,127,255,.94), rgba(22,137,232,.96) 55%, rgba(10,80,170,.96));
  box-shadow:
    0 18px 40px rgba(0,0,0,.34),
    0 0 0 1px rgba(22,137,232,.08),
    inset 0 1px 0 rgba(255,255,255,.16);
  text-align:left;
}
.unofficial-floating::before{
  content:"";
  position:absolute;
  inset:auto -22px -36px auto;
  width:116px;
  height:116px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
  pointer-events:none;
}
.unofficial-floating::after{
  content:"";
  position:absolute;
  left:-24px;
  bottom:-34px;
  width:118px;
  height:118px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.10), transparent 68%);
  pointer-events:none;
}
.unofficial-floating .unofficial-badge{
  min-height:24px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.30);
  border-radius:999px;
  background:rgba(255,255,255,.14);
  font-size:9px!important;
  font-weight:800;
  letter-spacing:.11em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
.unofficial-floating p{
  margin:12px 0 0;
  max-width:190px;
  color:#f4f8ff!important;
  font-size:10px!important;
  line-height:1.45;
  font-weight:650;
  text-align:left;
  text-wrap:balance;
}
.unofficial-close{
  top:8px;
  right:8px;
  width:28px;
  height:28px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(7,14,30,.15);
  color:rgba(255,255,255,.88);
  backdrop-filter:blur(4px);
}
.unofficial-close:hover{
  background:rgba(7,14,30,.28);
  border-color:rgba(255,255,255,.18);
}
.unofficial-floating.is-hiding{
  opacity:0;
  transform:translateY(10px) scale(.98);
}

@media(max-width:650px){
  .unofficial-floating{
    left:12px;
    right:12px;
    bottom:12px;
    width:auto;
    padding:14px 44px 13px 14px;
  }
  .unofficial-floating p{
    max-width:none;
  }
}


/* v1.8.0 — flat / sober visual refinement */

/* Remove shadows and glow from the v1.7.9 visual pass */
.panel,
.quick-card,
.service-card,
.chart-panel,
.badge-card,
.metric,
.players-toolbar,
.players-panel,
.detail-card,
.info-card,
.status-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.006)),
    #111518;
  border:1px solid rgba(255,255,255,.075)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}

.panel::before,
.quick-card::before,
.service-card::before,
.chart-panel::before,
.badge-card::before,
.metric::before,
.players-toolbar::before,
.players-panel::before,
.detail-card::before,
.info-card::before,
.status-card::before{
  background:linear-gradient(180deg, rgba(22,137,232,.035), transparent 26%);
  opacity:1;
}

.panel:hover,
.quick-card:hover,
.service-card:hover,
.chart-panel:hover,
.badge-card:hover,
.metric:hover,
.players-toolbar:hover,
.players-panel:hover{
  border-color:rgba(22,137,232,.22)!important;
  box-shadow:none!important;
}

/* No text glow */
.eyebrow{
  text-shadow:none!important;
}

/* Flat pills */
.status-chip,
.congestion-pill,
.player-activity,
.player-online-pill{
  box-shadow:none!important;
}

/* Flat inputs */
.players-search,
.control,
input[type="text"],
input[type="search"],
input[type="url"],
input[type="color"],
select,
textarea{
  box-shadow:none!important;
}

.players-search:focus,
.control:focus,
input:focus,
select:focus,
textarea:focus{
  border-color:rgba(22,137,232,.5)!important;
  box-shadow:none!important;
}

/* Flat buttons */
button,
.copy-btn,
.player-generate-btn{
  box-shadow:none!important;
}
.player-generate-btn:hover,
.copy-btn.primary:hover{
  box-shadow:none!important;
}

/* Flat unofficial toast */
.unofficial-floating{
  border:1px solid rgba(22,137,232,.42)!important;
  background:
    linear-gradient(160deg, #177fce, #1689e8 58%, #126dbb);
  box-shadow:none!important;
  backdrop-filter:none!important;
}

.unofficial-floating::before,
.unofficial-floating::after{
  display:none!important;
}

.unofficial-floating .unofficial-badge{
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:none!important;
}

.unofficial-close{
  background:rgba(0,0,0,.10);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:none!important;
}

.unofficial-close:hover{
  background:rgba(0,0,0,.18);
  box-shadow:none!important;
}

/* Keep page background clean and understated */
body{
  background:#090b0f!important;
}
