/* The Jar Pit (pit.html): one dark lab room on a canvas, HUD and the jar picker on top. */
.pit-page { background: #0d1311; color: #e8eeea; }
.pit-page .top { background: color-mix(in srgb, #0d1311 88%, transparent); border-bottom-color: #22302a; }
.pit-page .top .mark, .pit-page .top .nav a { color: #e8eeea; }
.pit-page .foot { background: #0a0f0d; border-top: 1px solid #1d2925; color: #9aa8a1; }
.pit-page .foot a { color: #cfdad4; }
.pit-main { padding: 18px 0 40px; }
.pit-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
.pit-kick { font-family: var(--pixel); text-transform: uppercase; font-size: 16px; color: #5fdcab; margin: 0 0 4px; letter-spacing: .04em; }
.pit-head h1 { font-family: 'Anton', var(--font); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: .95; margin: 0; letter-spacing: .01em; text-transform: uppercase;
  color: #f2d58c; text-shadow: 0 3px 0 #7d5e21, 0 6px 0 #000, 0 0 28px rgba(242, 194, 48, .25); }
.pit-lede { max-width: 560px; color: #b8c6bf; margin: 8px 0 0; }
.pit-keys { display: flex; flex-wrap: wrap; gap: 6px 14px; max-width: 520px; font-size: 13px; color: #9aa8a1; }
.pit-keys kbd { font-family: var(--pixel); font-size: 13px; display: inline-block; min-width: 20px; padding: 1px 5px; margin-right: 3px; text-align: center; color: #e8eeea;
  background: #1c2723; border-radius: 3px; box-shadow: 0 0 0 1px #000, 0 2px 0 #000, inset 0 1px 0 #2f3d37; }

.pit-stage-wrap { position: relative; }
.pit-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); margin: 0 auto; background: #0b100e; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 2px #000, 0 0 0 5px #2a3530, 0 0 0 7px #000, 0 24px 60px rgba(0, 0, 0, .6); touch-action: none; user-select: none; -webkit-user-select: none; }
.pit-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; outline: none; }
.pit-stage:fullscreen { max-height: none; border-radius: 0; aspect-ratio: auto; }
@media (max-width: 700px) { .pit-stage { aspect-ratio: 4 / 5; max-height: calc(100svh - 90px); border-radius: 10px; } .pit-head h1 { font-size: 44px; } .pit-keys { display: none; } .pit-stage.touchy { aspect-ratio: 9 / 14; } .pit-board { min-width: 0; font-size: 11px; top: 48px; right: 8px; } .pit-board li:nth-child(n+5) { display: none; } }

.pit-hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--pixel); }
.pit-hud button, .pit-hud .pit-emotes { pointer-events: auto; }
.pit-status { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 8px; font-size: 14px; color: #e8eeea; text-transform: uppercase;
  background: rgba(8, 12, 10, .78); border-radius: 4px; box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 255, .06); max-width: calc(100% - 200px); }
.pit-status span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pit-status i { width: 10px; height: 10px; flex: none; border-radius: 2px; background: #9aa8a1; box-shadow: 0 0 0 1px #000; }
.pit-status.on i { background: #2fc48f; box-shadow: 0 0 0 1px #000, 0 0 10px #2fc48f; animation: pitBlink 1.6s steps(2) infinite; }
.pit-status.wait i { background: #f2c230; animation: pitBlink .5s steps(2) infinite; }
.pit-status.off i { background: #ef6b52; }
.pit-status.solo i { background: #8db4ff; }
.pit-status.idle i { background: #8db4ff; }
@keyframes pitBlink { 50% { opacity: .35; } }
.pit-tools { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; }
.pit-ico { width: 34px; height: 34px; border: 0; border-radius: 4px; cursor: pointer; font: 16px/1 var(--pixel); color: #e8eeea; background: rgba(8, 12, 10, .78);
  box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .08s; }
.pit-ico:hover { background: #1f2c27; } .pit-ico:active { transform: translateY(1px); }
.pit-ico[aria-pressed='true'] { color: #ef6b52; text-decoration: line-through; }
.pit-board { position: absolute; right: 12px; top: 56px; margin: 0; padding: 6px 8px; list-style: none; min-width: 150px; font-size: 13px; color: #cfdad4;
  background: rgba(8, 12, 10, .7); border-radius: 4px; box-shadow: 0 0 0 1px #000; }
.pit-board:empty { display: none; }
.pit-board li { display: flex; justify-content: space-between; gap: 12px; padding: 1px 0; text-transform: uppercase; }
.pit-board li.me { color: #5fdcab; } .pit-board li.bot { color: #7d8a84; }
.pit-board li b { font-weight: 400; color: #f2c164; }
.pit-board .hd { color: #7d8a84; font-size: 11px; border-bottom: 1px solid #22302a; margin-bottom: 2px; }
.pit-feed { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pit-feed div { font-size: 15px; text-transform: uppercase; color: #fff; padding: 3px 10px; background: rgba(8, 12, 10, .8); border-radius: 3px; box-shadow: 0 0 0 1px #000; white-space: nowrap;
  animation: pitFeed 3.4s ease forwards; }
.pit-feed div b { color: #f2c164; font-weight: 400; } .pit-feed div em { color: #5fdcab; font-style: normal; }
@keyframes pitFeed { 0% { opacity: 0; transform: translateY(-6px) scale(.9); } 8% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }
.pit-emotes { position: absolute; right: 12px; top: 52px; display: flex; gap: 4px; z-index: 2; }
.pit-emotes button { font: 14px/1 var(--pixel); padding: 7px 9px; border: 0; border-radius: 3px; cursor: pointer; color: #17201c; background: #f2d58c; box-shadow: 0 0 0 1px #000, 0 2px 0 #7d5e21; }

.pit-touch { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 10px; pointer-events: none; }
.pit-pad { display: flex; gap: 10px; pointer-events: auto; }
.pit-pad.right { align-items: flex-end; }
.pit-pad button { width: 64px; height: 64px; border: 0; border-radius: 50%; font: 22px/1 var(--pixel); color: #e8eeea; background: rgba(20, 30, 26, .72);
  box-shadow: 0 0 0 2px #000, inset 0 2px 0 rgba(255, 255, 255, .1), 0 4px 0 rgba(0, 0, 0, .5); touch-action: none; -webkit-tap-highlight-color: transparent; }
.pit-pad button.jump { width: 78px; height: 78px; font-size: 16px; background: rgba(18, 147, 106, .8); }
.pit-pad button.ram { font-size: 15px; background: rgba(198, 61, 39, .8); }
.pit-pad button.sm { width: 52px; height: 52px; font-size: 12px; }
.pit-pad button.on { transform: translateY(3px) scale(.96); filter: brightness(1.3); }

.pit-pick { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: radial-gradient(ellipse at center, rgba(5, 8, 7, .55), rgba(5, 8, 7, .85)); overflow: auto; z-index: 5; }
.pit-pick[hidden] { display: none; }
.pit-card { width: min(640px, 100%); max-height: 100%; overflow: auto; padding: 18px 20px 16px; color: #e8eeea; background: #141c19; border-radius: 10px;
  box-shadow: 0 0 0 2px #000, 0 0 0 4px #33423b, 0 0 0 6px #000, 0 20px 50px rgba(0, 0, 0, .6); animation: pitPop .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pitPop { from { transform: scale(.92) translateY(10px); opacity: 0; } }
.pit-card h2 { font-family: 'Anton', var(--font); font-weight: 400; text-transform: uppercase; font-size: 30px; margin: 0; color: #f2d58c; letter-spacing: .02em; }
.pit-card h3 { font-family: var(--pixel); font-weight: 400; text-transform: uppercase; font-size: 15px; color: #9aa8a1; margin: 12px 0 6px; }
.pit-sub { margin: 4px 0 4px; color: #9aa8a1; font-size: 14px; }
.pit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.pit-jar { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 5px; border: 0; border-radius: 6px; cursor: pointer; color: #cfdad4;
  background: #1b2521; box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 255, .05); font: 11px/1.1 var(--pixel); text-transform: uppercase; transition: transform .12s, background .12s; }
.pit-jar img { width: 72px; height: 72px; image-rendering: pixelated; transition: transform .15s; }
.pit-jar:hover { background: #22302a; } .pit-jar:hover img { transform: translateY(-3px) rotate(-3deg); }
.pit-jar[aria-pressed='true'] { background: #173a2c; box-shadow: 0 0 0 2px #2fc48f, 0 0 16px rgba(47, 196, 143, .35); color: #fff; }
.pit-jar[aria-pressed='true'] img { animation: pitHop .6s ease-in-out infinite; }
.pit-jar .tag { position: absolute; top: 4px; left: 4px; padding: 1px 3px; font-size: 9px; border-radius: 2px; color: #3a2a0c; background: #f2d58c; }
.pit-jar .tag.real { color: #06261a; background: #5fdcab; }
@keyframes pitHop { 0%, 100% { transform: translateY(0) scale(1, 1); } 40% { transform: translateY(-8px) scale(.95, 1.06); } 85% { transform: translateY(0) scale(1.08, .92); } }
.pit-go { display: flex; gap: 10px; align-items: flex-end; margin-top: 14px; flex-wrap: wrap; }
.pit-name { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 4px; font: 13px var(--pixel); text-transform: uppercase; color: #9aa8a1; }
.pit-name input { font: 18px var(--pixel); padding: 9px 10px; color: #fff; background: #0c1210; border: 0; border-radius: 4px; box-shadow: 0 0 0 1px #000, inset 0 2px 0 rgba(0, 0, 0, .5), 0 0 0 3px #26332e; }
.pit-name input:focus { outline: none; box-shadow: 0 0 0 1px #000, 0 0 0 3px #2fc48f; }
.pit-join { font-size: 18px; padding: 12px 22px; }
.pit-connect { margin-top: 10px; }
.pit-note { margin: 10px 0 0; font-size: 12px; color: #7d8a84; }

.pit-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.pit-how div { padding: 12px 14px; background: #121a17; border-radius: 8px; box-shadow: 0 0 0 1px #1f2b26; }
.pit-how b { font-family: var(--pixel); font-weight: 400; text-transform: uppercase; color: #f2c164; font-size: 16px; }
.pit-how p { margin: 4px 0 0; font-size: 14px; color: #9aa8a1; }

@media (prefers-reduced-motion: reduce) {
  .pit-card, .pit-feed div { animation: none; }
  .pit-jar[aria-pressed='true'] img, .pit-status i { animation: none !important; }
}

/* ------------------------------------------------------------------ high scores: a brass arcade cabinet */
.pit-toast { position: absolute; left: 50%; top: 22%; z-index: 4; display: grid; justify-items: center; gap: 2px; padding: 12px 22px 10px; text-align: center; pointer-events: none;
  color: var(--brass-ink, #3a2a0c); background: linear-gradient(180deg, #fff1bf, #f2d58c 45%, #c9a14b); border-radius: 6px;
  box-shadow: 0 0 0 2px #000, 0 0 0 4px #7d5e21, 0 0 0 6px #000, 0 0 40px rgba(242, 194, 48, .55), 0 14px 30px rgba(0, 0, 0, .5);
  transform: translate(-50%, -10px) scale(.6); opacity: 0; transition: transform .35s cubic-bezier(.2, 1.6, .4, 1), opacity .25s; }
.pit-toast.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
.pit-toast[hidden] { display: none; }
.pit-toast i { font-style: normal; font-size: 22px; color: #b5361f; text-shadow: 0 1px 0 #fff6c4; animation: hsSpin 1.2s steps(8) infinite; }
.pit-toast b { font: 400 30px/1 'Anton', var(--font); text-transform: uppercase; letter-spacing: .03em; color: #3a1a0c; text-shadow: 0 2px 0 #fff6c4; animation: hsGlowTxt .5s steps(2) 6; }
.pit-toast span { font-size: 14px; text-transform: uppercase; }
@keyframes hsSpin { 50% { transform: scale(1.3) rotate(20deg); } }
@keyframes hsGlowTxt { 50% { color: #b5361f; } }
#scoresBtn { color: #f2d58c; }

.pit-scores { margin-top: 26px; scroll-margin-top: 80px; }
.hs-cab { position: relative; padding: 0 0 14px; border-radius: 14px;
  background: var(--rivets), linear-gradient(180deg, #2a3231, #171c1b);
  box-shadow: 0 0 0 2px #000, 0 0 0 6px #7d5e21, 0 0 0 7px #c9a14b, 0 0 0 9px #000, 0 24px 60px rgba(0, 0, 0, .55); }
.hs-marquee { position: relative; padding: 22px 20px 16px; text-align: center; border-radius: 12px 12px 0 0; overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, rgba(242, 194, 48, .28), transparent 60%), linear-gradient(180deg, #1c1407, #0d0a05);
  box-shadow: inset 0 -3px 0 #7d5e21, inset 0 -4px 0 #000; }
.hs-bulbs { position: absolute; inset: 6px; border-radius: 8px; pointer-events: none;
  background: radial-gradient(circle, #fff6c4 0 2px, #f2c230 2.5px, rgba(242, 194, 48, .25) 4px, transparent 5px) 0 0 / 22px 22px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 10px no-repeat, linear-gradient(#000 0 0) bottom / 100% 10px no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% 10px no-repeat, linear-gradient(#000 0 0) bottom / 100% 10px no-repeat;
  animation: hsBulbs .9s steps(2) infinite; }
@keyframes hsBulbs { to { background-position: 11px 0; } }
.hs-marquee h2 { margin: 6px 0 0; font: 400 clamp(40px, 6vw, 64px)/.95 'Anton', var(--font); text-transform: uppercase; letter-spacing: .04em; color: #f2d58c;
  text-shadow: 0 3px 0 #7d5e21, 0 6px 0 #000, 0 0 30px rgba(242, 194, 48, .45); }
.hs-marquee h2 span:last-child { color: #fff1bf; animation: hsNeon 4s steps(1) infinite; }
@keyframes hsNeon { 0%, 100% { opacity: 1; } 91% { opacity: 1; } 92% { opacity: .35; } 93% { opacity: 1; } 95% { opacity: .5; } 96% { opacity: 1; } }
.hs-sub { margin: 6px 0 0; font: 14px var(--pixel); text-transform: uppercase; color: #c9a14b; letter-spacing: .06em; }

.hs-screen { position: relative; margin: 14px 14px 0; padding: 14px 16px 16px; border-radius: 10px; background: #070b09; overflow: hidden;
  box-shadow: inset 0 0 0 2px #000, inset 0 0 0 4px #1a2420, inset 0 0 50px rgba(79, 227, 154, .07), 0 1px 0 #3a4542; }
.hs-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.hs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 14px; }
.hs-tabs { display: flex; gap: 4px; padding: 3px; background: #0d1311; border-radius: 6px; box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 255, .04); }
.hs-tabs button { font: 15px/1 var(--pixel); text-transform: uppercase; padding: 8px 12px 7px; border: 0; border-radius: 4px; cursor: pointer; color: #7d8a84; background: transparent; }
.hs-tabs button:hover { color: #e8eeea; background: #17201c; }
.hs-tabs button[aria-selected='true'] { color: var(--brass-ink, #3a2a0c); background: linear-gradient(180deg, #f2d58c, #c9a14b); box-shadow: 0 0 0 1px #000, inset 0 -2px 0 #7d5e21; }
.hs-tabs button:focus-visible { outline: 2px solid #ffd23a; outline-offset: 2px; }
.hs-tabs button[hidden] { display: none; }
.hs-reset { margin: 0; font: 13px var(--pixel); text-transform: uppercase; color: #5fdcab; text-shadow: 0 0 8px rgba(79, 227, 154, .45); }

.hs-podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 12px; margin: 8px 0 14px; }
.hs-plate { --metal: linear-gradient(180deg, #e1e7ea, #a9b4ba 55%, #7d888e); --edge: #4f5a60; --glow: rgba(205, 220, 228, .3);
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 12px 8px 12px; border-radius: 8px; text-align: center;
  background: linear-gradient(180deg, #19221f, #0f1513); box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 255, .05);
  animation: hsRise .55s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * 90ms); }
.hs-plate.gold { --metal: linear-gradient(180deg, #fff1bf, #f2c230 50%, #b88317); --edge: #7d5e21; --glow: rgba(242, 194, 48, .55); padding-top: 18px; }
.hs-plate.bronze { --metal: linear-gradient(180deg, #f3c4a0, #c47a45 55%, #8a4c25); --edge: #5c3014; --glow: rgba(214, 128, 70, .4); }
.hs-plate.gold .hs-ped { width: 120px; height: 120px; }
.hs-plate.gold::before { content: ''; position: absolute; inset: -2px; border-radius: 10px; pointer-events: none; box-shadow: 0 0 0 2px #f2c230, 0 0 26px rgba(242, 194, 48, .45); animation: hsPulse 2.4s ease-in-out infinite; }
@keyframes hsPulse { 50% { box-shadow: 0 0 0 2px #fff1bf, 0 0 40px rgba(242, 194, 48, .7); } }
@keyframes hsRise { from { opacity: 0; transform: translateY(18px) scale(.94); } }
.hs-medal { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); display: flex; align-items: baseline; gap: 1px; padding: 3px 8px 2px; border-radius: 3px;
  font-family: var(--pixel); color: #1a1408; background: var(--metal); box-shadow: 0 0 0 1px #000, inset 0 -2px 0 var(--edge); }
.hs-medal b { font-weight: 400; font-size: 18px; } .hs-medal span { font-size: 11px; text-transform: uppercase; }
.hs-ped { position: relative; width: 100px; height: 100px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 70%, var(--glow), transparent 65%), #0a0f0d; box-shadow: inset 0 0 0 2px #000, inset 0 -6px 0 rgba(0, 0, 0, .5), 0 0 0 3px var(--edge); overflow: hidden; }
.hs-ped img { width: 88%; height: 88%; image-rendering: pixelated; animation: pitHop 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.3s); }
.hs-plate.gold .hs-ped img { animation-duration: .8s; }
.hs-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: hsShine 3.5s ease-in-out infinite; z-index: 1; pointer-events: none; }
@keyframes hsShine { 60%, 100% { background-position: 150% 0; } }
.hs-q { font: 40px var(--pixel); color: #2b3632; }
.hs-nameplate { max-width: 100%; padding: 4px 8px 3px; font: 15px/1 var(--pixel); text-transform: uppercase; color: #1a1408; background: var(--metal); border-radius: 2px;
  box-shadow: inset 0 -1px 0 var(--edge), 0 1px 0 #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-nameplate i, .hs-list i { font-style: normal; margin-left: 6px; padding: 1px 4px; font-size: 10px; color: #062014; background: #4fe39a; border-radius: 2px; vertical-align: 2px; }
.hs-score { display: flex; align-items: baseline; gap: 5px; color: #f2d58c; }
.hs-score small { font: 12px var(--pixel); text-transform: uppercase; color: #7d8a84; }
.hs-meta { font: 12px var(--pixel); text-transform: uppercase; color: #7d8a84; }
.hs-plate.you { background: linear-gradient(180deg, #123222, #0c1a14); }
.hs-plate.ghost { opacity: .55; } .hs-plate.ghost .hs-nameplate { color: #3c4743; background: #1b2420; box-shadow: none; }
.hs-plate.local .hs-score { font-size: 1.2em; }

.flaps { display: inline-flex; gap: 2px; perspective: 200px; }
.flap { position: relative; display: inline-block; min-width: .78em; padding: 3px 2px 2px; font: 22px/1 var(--pixel); text-align: center; color: #fff1bf; border-radius: 2px;
  background: linear-gradient(180deg, #232c29 0 49%, #000 49% 52%, #1a211f 52%); box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 255, .07); text-shadow: 0 0 8px rgba(242, 194, 48, .55); }
.flap.blank { color: transparent; text-shadow: none; }
.hs-plate.gold .flap { font-size: 28px; }
.flap.flip { animation: hsFlip .42s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: var(--d); transform-origin: 50% 50%; }
@keyframes hsFlip { 0% { transform: rotateX(90deg); filter: brightness(2); } 60% { transform: rotateX(-20deg); } 100% { transform: none; } }

.hs-records { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; margin-bottom: 12px; }
.hs-records:empty { display: none; }
.hs-rec { display: flex; align-items: center; gap: 8px; padding: 6px 10px; font: 13px var(--pixel); text-transform: uppercase; color: #cfdad4; background: #0d1311; border-radius: 4px; box-shadow: 0 0 0 1px #1d2925; }
.hs-rec span { color: #c9a14b; min-width: 96px; }
.hs-rec img { width: 28px; height: 28px; image-rendering: pixelated; }
.hs-rec b { font-weight: 400; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-rec b.none { color: #4a5852; }
.hs-rec em { font-style: normal; color: #f2d58c; }
.hs-rec.you { box-shadow: 0 0 0 1px #4fe39a; }

.hs-list { list-style: none; margin: 0; padding: 0; font-family: var(--pixel); text-transform: uppercase; }
.hs-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr) 78px 64px 64px 110px; align-items: center; gap: 8px; padding: 4px 8px; font-size: 15px; color: #cfdad4; border-radius: 4px;
  animation: hsRow .4s ease both; animation-delay: calc(var(--i) * 45ms); }
.hs-list li:nth-child(even) { background: rgba(255, 255, 255, .025); }
.hs-list li.hd { font-size: 11px; color: #4a5852; animation: none; background: none; padding-bottom: 2px; }
@keyframes hsRow { from { opacity: 0; transform: rotateX(-80deg); } }
.hs-list .c-r { color: #c9a14b; text-align: right; }
.hs-list .c-n { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hs-list .c-n img { width: 32px; height: 32px; image-rendering: pixelated; flex: none; }
.hs-list .c-n b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-list .c-h, .hs-list .c-k, .hs-list .c-l { text-align: right; color: #9aa8a1; }
.hs-list .c-s { text-align: right; }
.hs-list li:not(.hd) .c-s .flap { font-size: 16px; }
.hs-list li.you { color: #e9fff3; background: linear-gradient(90deg, rgba(79, 227, 154, .22), rgba(79, 227, 154, .06)); box-shadow: inset 3px 0 0 #4fe39a, 0 0 0 1px rgba(79, 227, 154, .35); }
.hs-list li.hs-empty { display: block; padding: 18px 8px; text-align: center; color: #7d8a84; font-size: 14px; }
.hs-more { display: block; margin: 8px auto 0; font: 13px var(--pixel); text-transform: uppercase; padding: 6px 12px; border: 0; border-radius: 4px; cursor: pointer; color: #c9a14b; background: #0d1311; box-shadow: 0 0 0 1px #2a3530; }
.hs-more:hover { color: #f2d58c; }
.hs-more[hidden] { display: none; }
.hs-you { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #22302a; }
.hs-you[hidden] { display: none; }
.hs-you-empty { margin: 0; font: 13px/1.5 var(--pixel); text-transform: uppercase; color: #7d8a84; text-align: center; }
.hs-you-empty b { font-weight: 400; color: #4fe39a; }
.hs-note { margin: 12px 18px 0; font-size: 13px; color: #9aa8a1; }
.hs-note b { color: #c9a14b; } .hs-note em { font-style: normal; font-family: var(--pixel); color: #f2d58c; }
.pit-scores.solo .hs-records, .pit-scores.solo .hs-list { display: none; }

@media (max-width: 700px) {
  .hs-screen { margin: 10px 8px 0; padding: 12px 8px; }
  .hs-podium { gap: 6px; }
  .hs-ped, .hs-plate.gold .hs-ped { width: 72px; height: 72px; }
  .hs-plate { padding: 12px 4px 10px; } .hs-plate.gold { padding-top: 16px; }
  .hs-nameplate { font-size: 12px; padding: 3px 5px 2px; }
  .flap, .hs-plate.gold .flap { font-size: 17px; }
  .hs-meta { font-size: 10px; }
  .hs-list li { grid-template-columns: 26px minmax(0, 1fr) 54px 92px; gap: 6px; font-size: 13px; padding: 4px; }
  .hs-list .c-k, .hs-list .c-l { display: none; }
  .hs-list .c-n img { width: 26px; height: 26px; }
  .hs-tabs button { font-size: 13px; padding: 7px 9px 6px; }
  .pit-toast b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-bulbs, .hs-marquee h2 span, .hs-plate, .hs-plate.gold::before, .hs-ped img, .hs-shine, .flap.flip, .hs-list li, .pit-toast i, .pit-toast b { animation: none !important; }
  .pit-toast { transition: opacity .2s; transform: translate(-50%, 0); }
}
.pit-scores.solo .hs-tabs { display: none; }
@media (max-width: 700px) { .hs-marquee { padding: 20px 14px 18px; } .hs-sub { font-size: 11px; } }
.hs-you-empty { max-width: 62ch; margin: 0 auto; }
