:root {
  --bg: #000000;
  --ink: #f2f4f8;
  --soft: rgba(242, 244, 248, 0.55);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #6ea8ff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 10px 12px;
}

.ck { position: relative; width: min(312px, 100%); }
/* the pass: dark lacquer with a cold light from the top left */
.ck__card { position: relative; padding: 14px 16px 12px; border-radius: 22px; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 26%, #14161b) 0%, #14161b 55%, #0c0d10 100%); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 30px 50px -30px rgba(0, 0, 0, 0.95); overflow: hidden; transition: box-shadow 0.5s ease; }
.ck[data-state="unlocked"] .ck__card { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 50px -30px rgba(0, 0, 0, 0.95), 0 0 34px -10px var(--accent); }
.ck__top { display: flex; align-items: flex-start; justify-content: space-between; }
.ck__name { display: grid; gap: 1px; }
.ck__name b { font-size: 16px; line-height: 21px; font-weight: 720; font-stretch: 104%; letter-spacing: -0.008em; }
.ck__status { display: block; height: 17px; overflow: hidden; font-size: 12.500px; line-height: 17px; font-weight: 560; color: var(--soft); transition: color 0.4s ease; }
.ck[data-state="unlocked"] .ck__status { color: var(--accent); }
.ck__status span { display: block; white-space: nowrap; }
.ck__lock { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: background-color 0.4s ease, color 0.4s ease; }
.ck[data-state="unlocked"] .ck__lock { background: var(--accent); color: #0b1220; }
.ck__lock svg, .ck__ico svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.600; stroke-linecap: round; stroke-linejoin: round; }

.ck__car { display: block; width: 100%; height: auto; max-height: 26vh; margin-top: 4px; overflow: visible; }
.ck__body { fill: rgba(255, 255, 255, 0.06); stroke: rgba(242, 244, 248, 0.9); stroke-width: 1.500; stroke-linejoin: round; }
.ck__glass { fill: color-mix(in srgb, var(--accent) 22%, transparent); stroke: rgba(242, 244, 248, 0.55); stroke-width: 1.200; stroke-linejoin: round; }
.ck__seam { fill: none; stroke: rgba(242, 244, 248, 0.3); stroke-width: 1.200; stroke-linecap: round; }
.ck__lid { fill: none; stroke: var(--ink); stroke-width: 2.200; stroke-linecap: round; }
.ck__tail { fill: none; stroke: #ff5d5d; stroke-width: 2.600; stroke-linecap: round; opacity: 0.55; }
.ck__lamp { fill: none; stroke: #ffffff; stroke-width: 2.600; stroke-linecap: round; opacity: 0.6; }
.ck__wheel { fill: #101216; stroke: rgba(242, 244, 248, 0.9); stroke-width: 1.500; }
.ck__hub { fill: none; stroke: rgba(242, 244, 248, 0.5); stroke-width: 1.200; }
.ck__ground { fill: none; stroke: rgba(242, 244, 248, 0.16); stroke-width: 1; stroke-linecap: round; }
.ck__beam { fill: color-mix(in srgb, #ffffff 70%, var(--accent)); opacity: 0; filter: blur(3px); }
.ck__meta { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11.500px; line-height: 15px; color: var(--soft); font-variant-numeric: tabular-nums; }
.ck__shine { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14) 50%, transparent); opacity: 0; pointer-events: none; }

.ck__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ck__actions button { display: grid; justify-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--soft); font: inherit; cursor: pointer; outline: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ck__ico { display: grid; place-items: center; width: 100%; height: 44px; border-radius: 15px; background: #17191e; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.1); transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.ck__actions button[aria-pressed="true"] .ck__ico { background: var(--ink); color: #0b0d12; box-shadow: inset 0 1px 0 #ffffff, 0 8px 14px -8px rgba(255, 255, 255, 0.5); }
.ck__actions button[aria-pressed="true"] { color: var(--ink); }
.ck__actions button:focus-visible .ck__ico { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
@media (hover: hover) { .ck__actions button[aria-pressed="false"]:hover .ck__ico { background: #20232a; } }
.ck__actions b { font-size: 12px; line-height: 15px; font-weight: 620; }

.live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ghost { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -3px 0 0 -5px; transform-origin: 20% 15%; pointer-events: none; opacity: 0; fill: #ffffff; stroke: #101014; stroke-width: 1.300; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); z-index: 6; }
