* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0b0d12;
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

[hidden] { display: none !important; }

#game {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- HUD ---------- */

#hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
  font-variant-numeric: tabular-nums;
}

.label {
  font-size: 11px;
  letter-spacing: .18em;
  opacity: .7;
  margin-right: 10px;
}

.hud-top-left {
  position: absolute;
  top: 20px;
  left: 24px;
  display: flex;
  gap: 28px;
}

.stat { font-size: 44px; font-weight: 800; font-style: italic; line-height: 1; }
.stat small { font-size: 18px; opacity: .7; margin-left: 2px; }
.stat .label { display: block; font-style: normal; font-weight: 600; margin-bottom: 6px; }

.hud-top-right {
  position: absolute;
  top: 20px;
  right: 24px;
  text-align: right;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.time-row:first-child { font-size: 28px; font-weight: 800; }

.speedo {
  position: absolute;
  right: 28px;
  bottom: 22px;
  font-size: 84px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}
.speedo small { font-size: 18px; font-weight: 600; opacity: .75; margin-left: 8px; }

#minimap {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 180px;
  height: 180px;
  background: rgba(10, 12, 18, .45);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

#banner {
  position: absolute;
  top: 28%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 120px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .02em;
}

/* ---------- Pause ---------- */

#pause-btn {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 40px;
  font: inherit;
  font-size: 14px;
  color: #fff;
  background: rgba(10, 12, 18, .45);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  pointer-events: auto;
}
#pause-btn:hover { background: rgba(10, 12, 18, .7); }

#pause {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 9, 14, .6);
  backdrop-filter: blur(4px);
}
.pause-card { width: min(320px, 100%); text-align: center; }
.pause-card h2 { margin: 0 0 18px; font-size: 44px; font-weight: 900; font-style: italic; }
.pause-card button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  cursor: pointer;
}
.pause-card button:hover { background: rgba(255, 255, 255, .2); }
#pause-resume { color: #16100a; background: linear-gradient(180deg, #ffa55e, #ff7a1f); border: 0; }
#pause-resume:hover { background: linear-gradient(180deg, #ffa55e, #ff7a1f); filter: brightness(1.08); }
.pause-card p { margin: 14px 0 0; font-size: 13px; opacity: .75; }

/* ---------- Overlay (menu / results) ---------- */

#overlay, #garage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 24px clamp(16px, 6vw, 96px);
  background: linear-gradient(90deg, rgba(8, 9, 14, .78) 0%, rgba(8, 9, 14, .35) 55%, rgba(8, 9, 14, 0) 100%);
  overflow-y: auto;
}

.panel { width: min(400px, 100%); margin: auto 0; }

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 900;
  font-style: italic;
  line-height: .95;
  letter-spacing: -.01em;
}
h1 em { color: #ff8a3c; font-style: inherit; display: block; }

.sub { margin: 12px 0 22px; opacity: .8; font-size: 15px; }

.name-field {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .9;
}

.name-field input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  font: inherit;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
}
.name-field input:focus { border-color: #ff8a3c; }

#start, #g-action {
  width: 100%;
  margin: 14px 0 12px;
  padding: 15px;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .08em;
  color: #16100a;
  background: linear-gradient(180deg, #ffa55e, #ff7a1f);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
#start:hover, #g-action:hover:not(:disabled) { filter: brightness(1.08); }
#g-action:disabled { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); cursor: default; }

/* ---------- Accounts ---------- */

.link {
  margin-top: 8px;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: #ffb37a;
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}
#acct-form, #acct-devform { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#acct-form input, #acct-devform input {
  flex: 1 1 140px;
  min-width: 0;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
}
#acct-form input:focus, #acct-devform input:focus { border-color: #ff8a3c; }
.acct-buttons { display: flex; gap: 8px; flex: 1 1 100%; }
.acct-buttons button, #acct-redeem {
  flex: 1;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  cursor: pointer;
}
#acct-redeem { flex: none; }
.acct-buttons button:hover, #acct-redeem:hover { background: rgba(255, 255, 255, .2); }
#acct-user-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 15px; }
#acct-user-row .link { margin-top: 0; }
.badge { padding: 2px 7px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #16100a; background: #ff8a3c; border-radius: 6px; }
#acct-msg { min-height: 18px; margin: 6px 0 0; font-size: 13px; color: #ffb37a; }

/* ---------- Track and lap pickers ---------- */

.pick { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.pick-label { width: 52px; flex: none; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
#track-name { flex: 1; text-align: center; font-weight: 800; font-style: italic; font-size: 17px; }
#track-prev, #track-next {
  padding: 7px 12px;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  cursor: pointer;
}
#track-prev:hover, #track-next:hover { background: rgba(255, 255, 255, .2); }

/* ---------- Garage ---------- */

.garage-row, .online-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.online-row { margin-bottom: 10px; }
#online-status { font-size: 13px; color: #ffb37a; }
#wallet, #g-credits { font-weight: 700; font-variant-numeric: tabular-nums; color: #ffb37a; }

#open-garage, #online-btn, #ta-btn, #gp-btn, #g-back, #g-prev, #g-next {
  padding: 10px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  cursor: pointer;
}
#open-garage:hover, #online-btn:hover, #ta-btn:hover, #gp-btn:hover, #g-back:hover, #g-prev:hover, #g-next:hover { background: rgba(255, 255, 255, .2); }

.g-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.g-car { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.g-car > div { flex: 1; text-align: center; min-width: 0; }
.g-car h2 { margin: 0; font-size: 24px; font-weight: 900; font-style: italic; line-height: 1.1; }
.g-car p { margin: 4px 0 0; font-size: 12px; opacity: .75; }
#garage.busy #g-tag::after { content: ' · loading…'; }
#start:disabled { filter: grayscale(.6); cursor: default; }

.stat-row { margin-bottom: 10px; }
.stat-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.stat-head > span:first-child { opacity: .75; }
.stat-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-val .up { color: #5fe08a; }
.stat-val .down { color: #ff7b6b; }
.bar { height: 6px; background: rgba(255, 255, 255, .14); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffa55e, #ff7a1f); border-radius: 3px; transition: width .25s; }

.g-heading { margin: 16px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.up-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.up-info { flex: 1; display: grid; grid-template-columns: 98px 1fr; align-items: center; row-gap: 3px; }
.up-stage { font-size: 13px; font-weight: 700; }
.pips { grid-column: 2; display: flex; gap: 4px; }
.pips i { width: 26px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.pips i.on { background: #ff8a3c; }
.up-buy {
  flex: none;
  min-width: 132px;
  padding: 8px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #16100a;
  background: linear-gradient(180deg, #ffa55e, #ff7a1f);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.up-buy:disabled { color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .12); cursor: default; }

.opt-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.opt-label { width: 74px; flex: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  cursor: pointer;
}
.chip {
  padding: 4px 10px;
  font: inherit;
  font-size: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
}
.swatch.on { border-color: #fff; box-shadow: 0 0 0 2px #ff8a3c; }
.chip.on { border-color: #ff8a3c; }

.controls {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  opacity: .85;
}

kbd {
  display: inline-block;
  min-width: 22px;
  padding: 2px 6px;
  margin-right: 3px;
  font: inherit;
  font-size: 12px;
  text-align: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 5px;
}

.board h2, #results h2 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
}

#board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
#board-list li {
  display: flex;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
#board-list .rank { width: 20px; opacity: .55; }
#board-list .who { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#board-list .empty { opacity: .6; border: 0; }

#results { margin-bottom: 20px; }
#results .place { font-size: 56px; font-weight: 900; font-style: italic; line-height: 1; color: #ff8a3c; }
#results dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 12px 0 0; font-size: 15px; font-variant-numeric: tabular-nums; }
#results dt { opacity: .65; }
#results dd { margin: 0; font-weight: 700; }

/* ---------- Touch controls ---------- */

#touch {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px max(16px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.touch-group { display: flex; gap: 12px; }
#touch button {
  pointer-events: auto;
  width: 78px;
  height: 78px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: rgba(20, 22, 30, .45);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  touch-action: none;
}
#touch button.on { background: rgba(255, 138, 60, .7); }

@media (max-width: 720px) {
  .stat { font-size: 30px; }
  .hud-top-right { font-size: 14px; }
  .time-row:first-child { font-size: 20px; }
  .speedo { font-size: 48px; right: 50%; transform: translateX(50%); bottom: 110px; }
  #minimap { width: 110px; height: 110px; top: 84px; bottom: auto; left: 16px; }
  #banner { font-size: 72px; }
}

/* ---------- Start screen ----------
   The car is the centrepiece: title and account along the top, a dock of choices along the
   bottom, the leaderboard down the right. These rules override the panel styles above. */

#overlay {
  display: grid;
  grid-template: "top top" auto "mid side" 1fr "dock dock" auto / 1fr minmax(230px, 290px);
  align-items: start;
  justify-content: stretch;
  gap: 14px 18px;
  padding: 22px clamp(16px, 3vw, 44px) max(20px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(8, 9, 14, .72) 0%, rgba(8, 9, 14, 0) 26%, rgba(8, 9, 14, 0) 56%, rgba(8, 9, 14, .86) 100%);
}

.card, .dock-card, .popover, #overlay #results {
  background: rgba(12, 14, 20, .58);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

#overlay .top { grid-area: top; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
#overlay h1 { font-size: clamp(30px, 4.6vw, 52px); letter-spacing: .01em; text-shadow: 0 3px 18px rgba(0, 0, 0, .5); }
#overlay h1 em { display: inline; }
#overlay .sub { margin: 6px 0 0; font-size: 14px; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }

/* account, top right */
#account { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#overlay:has(#menu[hidden]) #account { visibility: hidden; }
#acct-guest { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
#account .name-field { display: flex; align-items: center; gap: 8px; }
#account .name-field input { width: 150px; margin: 0; padding: 8px 12px; font-size: 14px; }
.chip-btn, #open-garage {
  padding: 9px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  cursor: pointer;
}
.chip-btn:hover { background: rgba(255, 255, 255, .22); }
#acct-user-row { padding: 8px 14px; background: rgba(12, 14, 20, .58); border: 1px solid rgba(255, 255, 255, .13); border-radius: 12px; align-items: center; }
#acct-user-row .who { font-size: 15px; }
.popover { position: absolute; top: 100%; right: 0; z-index: 2; width: min(300px, 88vw); margin-top: 8px; padding: 12px; }
#acct-form.popover, #acct-devform.popover { margin-top: 8px; }
.popover-note { flex: 1 1 100%; margin: 0; font-size: 12px; opacity: .75; }
#acct-msg { min-height: 0; margin: 0; text-align: right; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }

/* results, shown over the car after a race */
#overlay #results { grid-area: mid; justify-self: start; min-width: min(320px, 100%); margin: 0; padding: 16px 20px; }
#overlay #results .place { font-size: clamp(38px, 5vw, 56px); }

/* leaderboard and help, right side */
#overlay .side { grid-area: side; display: flex; flex-direction: column; gap: 10px; }
#overlay .side .card { padding: 12px 14px; }
.help summary { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .8; cursor: pointer; }
.help .controls { margin: 10px 0 0; flex-direction: column; gap: 6px; }

/* the dock */
.dock { grid-area: dock; display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.dock-card { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 16px; }
.dock-label { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .65; }
.dock .pick { margin: 0; gap: 8px; }
.dock #track-name { min-width: 170px; font-size: 18px; }
.dock .chip { padding: 6px 13px; font-size: 14px; font-weight: 700; }
.dock .garage-row { margin: 0; gap: 12px; }
.dock-go { flex: 1 1 260px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-width: 240px; }
.dock #start {
  margin: 0;
  padding: 18px;
  font-size: 22px;
  letter-spacing: .1em;
  border-radius: 12px;
  transform: skewX(-8deg);
  box-shadow: 0 8px 28px rgba(255, 122, 31, .35);
  transition: transform .12s, filter .12s;
}
.dock #start:hover:not(:disabled) { transform: skewX(-8deg) translateY(-2px); }
.dock .online-row { margin: 0; justify-content: flex-end; flex-wrap: wrap; }
.dock #online-btn { background: rgba(42, 212, 255, .16); border-color: rgba(42, 212, 255, .55); }
.dock #online-btn:hover { background: rgba(42, 212, 255, .3); }
#online-status { text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }

@media (max-width: 820px) {
  #overlay { grid-template: "top" auto "mid" auto "side" auto "dock" auto / 1fr; }
  #account { align-items: flex-start; }
  #acct-guest { justify-content: flex-start; }
  .popover { right: auto; left: 0; }
  #acct-msg { text-align: left; }
  .dock-card { flex: 1 1 100%; }
  .help { display: none; }
}

#lap-choices.off { opacity: .35; pointer-events: none; }

.gfx h2 { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
#quality-now { float: right; letter-spacing: .04em; text-transform: none; color: #ffb37a; opacity: 1; }
.gfx .chip { padding: 4px 9px; }

/* start lights, mirrored from the gantry */
#lights { position: absolute; top: 76px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; padding: 10px 14px; background: rgba(10, 12, 18, .7); border-radius: 12px; }
#lights i { width: 26px; height: 26px; border-radius: 50%; background: #2a0808; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .5); }
#lights i.on { background: #ff2a1a; box-shadow: 0 0 18px #ff2a1a, inset 0 0 0 2px rgba(0, 0, 0, .2); }

/* online panel */
#online-panel { grid-area: mid; justify-self: start; align-self: start; width: min(380px, 100%); padding: 16px 18px; }
.online-head { display: flex; justify-content: space-between; align-items: baseline; }
.online-head h2 { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.online-head .link { margin: 0; }
#online-panel button {
  padding: 10px 14px; font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px; cursor: pointer;
}
#online-panel button:hover:not(:disabled) { background: rgba(255, 255, 255, .22); }
#online-panel button.big { width: 100%; padding: 14px; font-size: 16px; color: #062a33; background: linear-gradient(180deg, #6fe6ff, #2ad4ff); border: 0; }
#online-panel button.big:disabled { opacity: .5; cursor: default; }
#online-panel .link { padding: 0; background: none; border: 0; color: #ffb37a; font-weight: 400; letter-spacing: 0; }
.hint { margin: 6px 0 0; font-size: 12px; opacity: .7; }
.or { margin: 14px 0 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.code-row { display: flex; gap: 8px; margin-top: 10px; }
.code-row .big { flex: 1; }
#room-join-code {
  width: 86px; padding: 10px; font: inherit; font-size: 16px; font-weight: 800; letter-spacing: .2em; text-align: center;
  text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px; outline: none; -webkit-user-select: text; user-select: text;
}
#online-error { min-height: 16px; margin: 8px 0 0; font-size: 13px; color: #ff9d8a; }
.room-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
#room-code { font-size: 22px; letter-spacing: .2em; color: #6fe6ff; }
#room-track { margin: 4px 0 10px; font-size: 13px; opacity: .8; }
#room-players { list-style: none; margin: 0; padding: 0; }
#room-players li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
#room-players .who { flex: 1; font-weight: 700; }
#room-players .car { font-size: 12px; opacity: .7; }
#room-players .empty { opacity: .4; }
#room-status { min-height: 18px; margin: 10px 0 0; font-size: 13px; color: #6fe6ff; }

.dock #gp-btn { background: rgba(255, 138, 60, .18); border-color: rgba(255, 138, 60, .6); }
/* grand prix timing tower */
#tower { position: absolute; top: 110px; left: 24px; width: 190px; font-size: 13px; font-variant-numeric: tabular-nums; }
#tower div { display: flex; gap: 8px; align-items: center; padding: 5px 9px; margin-bottom: 2px; background: rgba(10, 12, 18, .66); border-left: 3px solid rgba(255, 255, 255, .25); }
#tower div.me { border-left-color: #ff8a3c; background: rgba(255, 138, 60, .25); }
#tower b { width: 16px; }
#tower span { flex: 1; font-weight: 700; }
#tower i { font-style: normal; opacity: .75; }
@media (max-width: 720px) { #tower { display: none; } }

#online-panel #room-gp.on { color: #16100a; background: linear-gradient(180deg, #ffa55e, #ff7a1f); border: 0; }
