/* Mike: the photo's smoke cycles through colour looks; the page's accents follow it.
   All local, no web fonts, no outside requests. */
/* Space Grotesk (SIL Open Font License, see fonts/OFL.txt), served from this site */
@font-face {
  font-family: "Space Grotesk";
  src: url(fonts/sg-latin.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url(fonts/sg-latin-ext.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@property --hot    { syntax: "<color>"; inherits: true; initial-value: #ff2fa8; }
@property --pink    { syntax: "<color>"; inherits: true; initial-value: #ff5fc8; }
@property --magenta { syntax: "<color>"; inherits: true; initial-value: #c2168e; }
@property --blush   { syntax: "<color>"; inherits: true; initial-value: #ffc2ea; }
@property --spin    { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
  transition: --hot 2.5s ease, --pink 2.5s ease, --magenta 2.5s ease, --blush 2.5s ease;
  --ink: #0b0710;
  --hot: #ff2fa8;
  --pink: #ff5fc8;
  --magenta: #c2168e;
  --blush: #ffc2ea;
  --white: #fff4fb;
  --jumper: #3e4547;
  --chunky: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --goofy: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-family: var(--goofy);
  font-weight: 500;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--pink) 7%, transparent) 2px, transparent 2.5px) 0 0 / 28px 28px,
    radial-gradient(ellipse at 30% 40%, color-mix(in srgb, var(--magenta) 20%, #0b0710) 0%, var(--ink) 60%);
  overflow-x: hidden;
}

/* soft pink smoke glow behind everything */
.glow {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 28% 45%, color-mix(in srgb, var(--hot) 35%, transparent), transparent),
    radial-gradient(closest-side at 75% 20%, color-mix(in srgb, var(--magenta) 25%, transparent), transparent),
    radial-gradient(closest-side at 70% 85%, color-mix(in srgb, var(--pink) 18%, transparent), transparent);
  filter: blur(30px);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: .9; }
  50%      { transform: scale(1.08) translate(2%, -2%); opacity: 1; }
}

main {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: 3vh 1.5rem 1rem;
}

/* ---------- the photo, slapped on like a sticker ---------- */
.photo {
  margin: 0;
  flex: none;
  height: min(76vh, 760px);
  aspect-ratio: 640 / 1092;          /* the photo's own shape: nothing is cropped, the credit stays visible */
  position: relative;
  isolation: isolate;
  border: 6px solid var(--ink);
  outline: 4px solid var(--hot);
  outline-offset: 0;
  border-radius: 28px 10px 34px 12px;
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 14px 16px 0 var(--magenta), 0 0 60px 10px color-mix(in srgb, var(--hot) 35%, transparent);
  animation: sway 6s ease-in-out infinite;
}
.photo img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* invisible markers on Mike's lips and the way he's facing (for the vape easter egg) */
.mouth, .mouth-dir, .nostril, .nostril-dir { position: absolute; width: 2px; height: 2px; margin: -1px 0 0 -1px; pointer-events: none; }
.mouth       { left: 30.5%; top: 42.8%; }
.mouth-dir   { left: 18.5%; top: 38.5%; }
.nostril     { left: 35.8%; top: 39.6%; }
.nostril-dir { left: 30.5%; top: 45.0%; }   /* nostril smoke falls down and a little forward */

/* the vape on a phone: drag on his photo without the page scrolling */
.photo { touch-action: none; }

/* holding his breath too long: his face flushes pink */
.flush {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(ellipse 25% 21% at 52% 38%, #ff2f86 0%, rgba(255, 47, 134, .75) 50%, transparent 100%);
  mix-blend-mode: multiply;
  opacity: var(--flush, 0);
  transition: opacity .25s linear;
}
.photo.cooling .flush { transition: opacity 3s ease; }

/* passed out: the photo keels over and dims... */
.photo.out, .photo.out:hover {
  animation: none;
  transform: rotate(24deg) translate(7%, 7%);
  filter: brightness(.72) saturate(.75);
  transition: transform 1.4s cubic-bezier(.5, 0, .75, 1), filter 1.4s ease;
}
/* ...then springs back up with a wobble */
.photo.wake { animation: springup 1.05s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes springup {
  0%   { transform: rotate(24deg) translate(7%, 7%); filter: brightness(.72) saturate(.75); }
  45%  { transform: rotate(-9deg) translate(0, -2%); filter: none; }
  70%  { transform: rotate(3deg); }
  85%  { transform: rotate(-5deg); }
  100% { transform: rotate(-3deg); }
}

/* colour looks: two layers crossfade; a stencil keeps the colour on the smoke and glow only */
.tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: url(mike2-mask.png);
  mask-image: url(mike2-mask.png);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 2.5s ease;
}
.tint.glowy { mix-blend-mode: screen; }
.tint.show { opacity: .72; }
.tint.glowy.show { opacity: .3; }
.tint.iri { animation: cdspin 9s linear infinite; }
@keyframes cdspin { to { --spin: 360deg; } }
.photo:hover { animation-play-state: paused; transform: rotate(1deg) scale(1.02); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(-1deg) translateY(-6px); }
}

.side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(.5rem, 1.8vh, 1.2rem);
}

/* ---------- the name ---------- */
.name {
  margin: 0;
  font-family: var(--chunky);
  font-weight: 700;
  font-size: clamp(4.5rem, min(14vw, 22vh), 12rem);
  line-height: .9;
  letter-spacing: -.01em;
  display: flex;
  user-select: none;
}
.l {
  display: inline-block;
  -webkit-text-stroke: .06em var(--ink);
  paint-order: stroke fill;
  text-shadow: .07em .07em 0 var(--magenta), 0 0 .35em color-mix(in srgb, var(--hot) 55%, transparent);
  animation: bob 2.4s ease-in-out infinite;
  cursor: default;
}
.l1 { color: var(--hot);   --r: -8deg; animation-delay: 0s; }
.l2 { color: var(--white); --r: 6deg;  animation-delay: .15s; font-size: .8em; align-self: flex-end; }
.l3 { color: var(--blush); --r: -4deg; animation-delay: .3s; }
.l4 { color: var(--pink);  --r: 10deg; animation-delay: .45s; font-size: 1.1em; }
.l:hover, .l.boing { animation: spinboing .7s cubic-bezier(.3, 1.6, .5, 1); }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50%      { transform: translateY(-.08em) rotate(calc(var(--r) * -1)); }
}
@keyframes spinboing {
  0%   { transform: rotate(var(--r)) scale(1); }
  40%  { transform: translateY(-.25em) rotate(200deg) scale(1.25, .8); }
  100% { transform: rotate(calc(var(--r) + 360deg)) scale(1); }
}

/* ---------- sticker ---------- */
.sticker {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.2rem, 3.4vw, 2rem);
  color: var(--ink);
  background: var(--blush);
  padding: .35em .9em .45em;
  border: 4px solid var(--ink);
  border-radius: 1.2em .4em 1.4em .5em;
  box-shadow: 6px 6px 0 var(--hot);
  transform: rotate(-3deg);
  animation: wobble 3.2s ease-in-out infinite;
}
@keyframes wobble {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(2.5deg) scale(1.04); }
}

/* ---------- the deck ---------- */
.deck {
  position: relative;
  width: clamp(120px, min(22vw, 24vh), 210px);
  aspect-ratio: 1;
  margin-top: .4rem;
}
.record {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--ink), 8px 10px 0 6px var(--magenta), 0 0 40px color-mix(in srgb, var(--hot) 40%, transparent);
  animation: spin 3s linear infinite;
}
.rec-label { font-family: var(--chunky); font-weight: 700; font-size: 17px; fill: var(--ink); }
.rec-sub   { font-family: var(--goofy); font-size: 11px; fill: var(--ink); }
.arm {
  position: absolute;
  top: -10%;
  right: -22%;
  width: 34%;
  transform-origin: 75% 9%;
  animation: needle 4s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes needle {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(6deg); }
}

/* ---------- equaliser ---------- */
.eq {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: clamp(32px, 6vh, 56px);
}
.eq span {
  width: 12px;
  height: 100%;
  border: 3px solid var(--ink);
  border-radius: 4px 4px 2px 2px;
  transform-origin: bottom;
  box-shadow: 0 0 10px color-mix(in srgb, var(--hot) 50%, transparent);
  animation: eq 1s ease-in-out infinite alternate;
}
.eq span:nth-child(4n+1) { background: var(--hot); }
.eq span:nth-child(4n+2) { background: var(--blush); }
.eq span:nth-child(4n+3) { background: var(--magenta); }
.eq span:nth-child(4n)   { background: var(--white); }
.eq span:nth-child(1)  { animation-duration: .9s; }
.eq span:nth-child(2)  { animation-duration: .55s; }
.eq span:nth-child(3)  { animation-duration: .8s; }
.eq span:nth-child(4)  { animation-duration: .45s; }
.eq span:nth-child(5)  { animation-duration: .7s; }
.eq span:nth-child(6)  { animation-duration: .6s; }
.eq span:nth-child(7)  { animation-duration: 1.1s; }
.eq span:nth-child(8)  { animation-duration: .5s; }
.eq span:nth-child(9)  { animation-duration: .85s; }
.eq span:nth-child(10) { animation-duration: .65s; }
.eq span:nth-child(11) { animation-duration: .95s; }
.eq span:nth-child(12) { animation-duration: .4s; }
@keyframes eq {
  0%   { transform: scaleY(.15); }
  100% { transform: scaleY(1); }
}

.hint {
  margin: .3rem 0 0;
  font-size: 1rem;
  color: var(--blush);
  transform: rotate(1.5deg);
}

/* ---------- pink vape clouds drifting up ---------- */
.clouds { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.clouds span {
  position: absolute;
  bottom: -160px;
  width: 150px;
  height: 95px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pink) 20%, transparent);
  filter: blur(16px);
  animation: drift 18s linear infinite;
}
.clouds span::before, .clouds span::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}
.clouds span::before { width: 70%; height: 90%; left: -30%; top: 20%; }
.clouds span::after  { width: 80%; height: 100%; right: -35%; top: -25%; }
.clouds span:nth-child(1) { left: 5%;  animation-duration: 19s; animation-delay: -2s; }
.clouds span:nth-child(2) { left: 22%; animation-duration: 24s; animation-delay: -12s; }
.clouds span:nth-child(3) { left: 40%; animation-duration: 16s; animation-delay: -6s; }
.clouds span:nth-child(4) { left: 58%; animation-duration: 22s; animation-delay: -16s; }
.clouds span:nth-child(5) { left: 74%; animation-duration: 18s; animation-delay: -9s; }
.clouds span:nth-child(6) { left: 88%; animation-duration: 26s; animation-delay: -20s; }
.clouds span:nth-child(7) { left: 50%; animation-duration: 30s; animation-delay: -1s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(.6); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(40px, -60vh) scale(1.3); }
  100% { transform: translate(-30px, -125vh) scale(2); opacity: 0; }
}

/* ---------- squishy blobs ---------- */
.blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute;
  border: 4px solid var(--ink);
  opacity: .85;
  animation: float 9s ease-in-out infinite, morph 7s ease-in-out infinite;
}
.b1 { width: 90px; height: 90px; background: var(--magenta); top: 8%; left: 4%; }
.b2 { width: 70px; height: 70px; background: var(--jumper);  top: 74%; left: 88%; animation-delay: -3s, -2s; }
.b3 { width: 46px; height: 46px; background: var(--pink);    top: 12%; left: 90%; animation-delay: -5s, -4s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(18px, -26px) rotate(160deg); }
}
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  50%      { border-radius: 63% 37% 38% 62% / 57% 36% 64% 43%; }
}

/* ---------- click smoke (drawn by app.js) ---------- */
.smoke {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* ---------- the vape cursor (vape.js, mouse only) ---------- */
html.has-vape, html.has-vape * { cursor: none !important; }
html.has-vape body { -webkit-user-select: none; user-select: none; }   /* holding to blow shouldn't select text */
.vape {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 6;
  pointer-events: none;
  margin: -6px 0 0 -10px;          /* puts the mouthpiece tip exactly on the pointer */
  opacity: 0;
  transition: opacity .2s;
  will-change: transform;
}
.vape.on { opacity: 1; }
.vape svg {
  display: block;
  overflow: visible;
  transform-origin: 10px 6px;
  filter: drop-shadow(0 0 1.5px color-mix(in srgb, var(--pink) 90%, transparent)) drop-shadow(0 0 6px color-mix(in srgb, var(--hot) 45%, transparent)) drop-shadow(3px 5px 4px rgba(0, 0, 0, .55));
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.vape .vape-led { opacity: .4; transition: opacity .25s; }
.vape.draw .vape-led { opacity: 1; animation: ledpulse 1.1s ease-in-out infinite; }
.vape.draw svg { transform: rotate(-4deg) translate(1px, 2px); }
/* at Mike's lips the vape swings round so its mouthpiece points into his mouth */
.vape.at-mouth svg { transform: rotate(112deg); }
.vape.at-mouth.draw svg { transform: rotate(114deg) translate(2px, 0); }
@keyframes ledpulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .7; }
}

/* ---------- footer ---------- */
footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem 1rem 1.4rem;
  font-size: 1rem;
}
footer p {
  display: inline-block;
  margin: 0;
  padding: .5em 1em;
  background: var(--ink);
  border: 3px solid var(--hot);
  border-radius: 999px;
  box-shadow: 0 0 18px color-mix(in srgb, var(--hot) 45%, transparent);
  transform: rotate(-1deg);
}
footer strong { color: var(--pink); }

/* ---------- phones and narrow screens: photo on top, the rest underneath ---------- */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  main { flex-direction: column; gap: clamp(.8rem, 2.5vh, 1.6rem); padding-top: 2.5vh; }
  .photo { height: min(32vh, 420px); border-radius: 22px 8px 26px 10px; box-shadow: 9px 10px 0 var(--magenta), 0 0 40px 6px color-mix(in srgb, var(--hot) 35%, transparent); }
  .name { font-size: clamp(3.6rem, min(22vw, 11vh), 7rem); }
  .deck { width: clamp(100px, min(30vw, 15vh), 160px); }
  .arm { right: -26%; }
  .eq span { width: 9px; }
  .blob.b1 { width: 60px; height: 60px; }
}

/* People who've asked for less motion get a calm Mike. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .clouds { display: none; }
}

/* record parts that follow the colour look */
.rec-shine  { stroke: var(--pink); }
.rec-centre { fill: var(--hot); }
.rec-dash   { stroke: var(--blush); }
.arm-head   { fill: var(--hot); }

/* ---------- the bus minigame (bus.js): click the k ---------- */
.l3[role="button"] { cursor: pointer; }
.l3[role="button"]:focus-visible { outline: 3px dashed var(--blush); outline-offset: 6px; border-radius: 8px; }
html.bus-open .vape, html.bus-open .smoke { display: none; }
html.bus-open, html.bus-open * { cursor: auto !important; }
html.bus-open body { overflow: hidden; -webkit-user-select: none; user-select: none; }
.bus-game {
  position: fixed; inset: 0; z-index: 20;
  background: #14121a; color: #1d1d1d;
  font-family: var(--goofy); font-weight: 500;
  display: flex; flex-direction: column;
  animation: busin .35s cubic-bezier(.3, 1.3, .5, 1);
}
@keyframes busin { from { transform: translateY(6%); opacity: 0; } }
.bus-x {
  position: absolute; top: 10px; right: 12px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid #1d1d1d; background: #ffcc00; color: #1d1d1d;
  font: 700 28px/1 var(--goofy); cursor: pointer;
}
.bus-pick {
  margin: auto; width: min(680px, 94vw); max-height: 92vh; display: flex; flex-direction: column; gap: .8rem;
  background: #fffdf3; border: 4px solid #1d1d1d; border-radius: 18px; padding: 1.2rem 1.2rem .9rem;
  box-shadow: 10px 10px 0 #ffcc00;
}
.bus-title { margin: 0; font-weight: 700; font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: -.01em; }
.bus-sub { margin: 0; color: #444; }
.bus-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.bus-search {
  flex: 1; min-width: 180px; font: 500 1rem var(--goofy); padding: .65rem .8rem;
  border: 3px solid #1d1d1d; border-radius: 10px; background: #fff;
}
.bus-btn {
  font: 700 1rem var(--goofy); padding: .65rem 1rem; border-radius: 10px; cursor: pointer;
  border: 3px solid #1d1d1d; background: #ffcc00; color: #1d1d1d; box-shadow: 3px 3px 0 #1d1d1d;
}
.bus-btn.ghost { background: #fff; }
.bus-btn:active, .bus-item:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #1d1d1d; }
.bus-list { overflow: auto; display: flex; flex-direction: column; gap: .4rem; padding-right: .2rem; min-height: 120px; }
.bus-item {
  display: flex; align-items: center; gap: .8rem; text-align: left; cursor: pointer;
  border: 2px solid #1d1d1d; border-radius: 10px; background: #fff; padding: .45rem .6rem; font: inherit; color: inherit;
}
.bus-item:hover, .bus-item:focus-visible { background: #fff4c2; }
.bus-num {
  flex: none; min-width: 3.2rem; text-align: center; font-weight: 700; font-size: 1.15rem;
  background: #ffcc00; border: 2px solid #1d1d1d; border-radius: 8px; padding: .2rem .4rem;
}
.bus-itxt { display: flex; flex-direction: column; }
.bus-itxt small { color: #555; }
.bus-credit { margin: 0; font-size: .75rem; color: #555; }
.bus-loading { margin: auto; color: #fff; font-size: 1.2rem; }

.bus-stage { position: relative; flex: 1; overflow: hidden; touch-action: none; }
.bus-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bus-hud {
  position: absolute; top: 10px; left: 10px; right: 66px; display: flex; gap: .6rem; align-items: stretch;
  pointer-events: none;
}
.bus-badge {
  flex: none; min-width: 3.4rem; display: grid; place-items: center; font-weight: 700; font-size: 1.5rem;
  background: #ffcc00; border: 3px solid #1d1d1d; border-radius: 10px; padding: 0 .5rem;
}
.bus-info, .bus-right {
  background: rgba(255, 253, 243, .94); border: 3px solid #1d1d1d; border-radius: 10px; padding: .35rem .7rem;
}
.bus-info { flex: 1; min-width: 0; }
.bus-next { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bus-small { font-size: .85rem; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bus-right { text-align: right; }
.bus-time { font-weight: 700; font-size: 1.1rem; }
.bus-time.late { color: #c0182f; } .bus-time.early { color: #127a2e; } .bus-time.ok { color: #b86e00; }
.bus-speedo {
  position: absolute; left: 10px; bottom: 10px; pointer-events: none;
  background: #1d1d1d; color: #ffcc00; font-weight: 700; font-size: 1.2rem; padding: .3rem .7rem; border-radius: 8px;
}
.bus-mapcredit {
  position: absolute; right: 6px; bottom: 4px; font-size: .7rem; color: #333;
  background: rgba(255, 255, 255, .75); padding: 1px 5px; border-radius: 4px; pointer-events: none;
}
.bus-toast {
  position: absolute; left: 50%; top: 84px; transform: translate(-50%, -10px); opacity: 0; transition: .25s;
  background: #1d1d1d; color: #fff; padding: .5rem 1rem; border-radius: 999px; font-weight: 600;
  max-width: 90%; text-align: center; pointer-events: none;
}
.bus-toast.show { opacity: 1; transform: translate(-50%, 0); }
.bus-toast.good { background: #127a2e; } .bus-toast.bad { background: #c0182f; }
.bus-pads { display: none; }
@media (pointer: coarse) {
  .bus-pads { display: block; }
  .bus-speedo { bottom: 120px; }
  .bus-pad {
    position: absolute; bottom: 18px; width: 78px; height: 78px; border-radius: 18px;
    border: 3px solid #1d1d1d; background: rgba(255, 253, 243, .9); color: #1d1d1d;
    font: 700 1.1rem var(--goofy); touch-action: none;
  }
  .bus-pad.pl { left: 14px; } .bus-pad.pr { left: 104px; }
  .bus-pad.pb { right: 104px; background: #ffd6d6; } .bus-pad.pg { right: 14px; background: #ffcc00; }
}
.bus-end {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, 92vw);
  background: #fffdf3; border: 4px solid #1d1d1d; border-radius: 18px; padding: 1.2rem; text-align: center;
  box-shadow: 10px 10px 0 #ffcc00; display: flex; flex-direction: column; gap: .7rem; align-items: center;
}
.bus-end p { margin: 0; }
.bus-stars { font-size: 2.4rem; color: #e0a800; letter-spacing: .1em; }
.bus-cam {
  position: absolute; left: 10px; top: 78px; z-index: 2;
  font: 700 .95rem var(--goofy); padding: .45rem .8rem; border-radius: 10px; cursor: pointer;
  border: 3px solid #1d1d1d; background: #fffdf3; color: #1d1d1d; box-shadow: 3px 3px 0 #1d1d1d;
}
.bus-mini {
  position: absolute; right: 10px; top: 78px; border: 3px solid #1d1d1d; border-radius: 12px;
  background: #f2efe9; pointer-events: none; box-shadow: 3px 3px 0 rgba(0, 0, 0, .35);
}
@media (max-width: 600px) {
  .bus-hud { flex-wrap: wrap; right: 60px; }
  .bus-info { flex-basis: calc(100% - 4.2rem); }
  .bus-right { flex: 1; text-align: left; display: flex; gap: .6rem; align-items: baseline; padding: .2rem .6rem; }
  .bus-cam { top: auto; bottom: 108px; left: 10px; }
  .bus-mini { top: auto; bottom: 108px; }
  .bus-toast { top: 130px; font-size: .9rem; }
}
