:root {
  --bg: #0c0c0f;
  --card: #17171c;
  --ink: #f4f2ee;
  --soft: rgba(244, 242, 238, 0.56);
  --line: rgba(244, 242, 238, 0.1);
  --accent: #ff7a59;
}

*, *::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;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 62%);
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; outline: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.mk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; width: min(348px, 100%); padding: 16px 16px 14px; border-radius: 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--card) 92%, #ffffff), var(--card) 42%); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 40px 60px -36px rgba(0, 0, 0, 0.9), 0 30px 70px -40px color-mix(in srgb, var(--accent) 50%, transparent); }

.mk__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.mk__ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #6b2bd9)); color: #17100c; font-size: 13.500px; font-weight: 800; letter-spacing: 0.01em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 16px -8px var(--accent); }
.mk__ava span { display: block; line-height: 1; }
.mk__who { display: grid; gap: 2px; min-width: 0; }
.mk__who strong { font-size: 15px; line-height: 18px; font-weight: 720; letter-spacing: -0.008em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk__who span { font-size: 11.500px; line-height: 14px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk__tag { display: grid; place-items: center; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 10.500px; font-weight: 700; color: var(--soft); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }

.mk__tabs { position: relative; display: grid; grid-template-columns: 1fr 1.25fr 1.15fr; height: 36px; padding: 3px; border-radius: 18px; background: rgba(0, 0, 0, 0.34); box-shadow: inset 0 0 0 1px var(--line); }
.mk__tabs button { position: relative; z-index: 1; height: 30px; border-radius: 15px; font-size: 12.500px; font-weight: 680; color: var(--soft); white-space: nowrap; transition: color 0.25s; }
.mk__tabs button[aria-selected="true"] { color: var(--ink); }
.mk__tabs button:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.mk__pill { position: absolute; left: 0; top: 3px; width: 80px; height: 30px; border-radius: 15px; background: rgba(244, 242, 238, 0.12); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 12px -6px rgba(0, 0, 0, 0.8); }

.mk__stats { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 104px; align-items: center; gap: 8px; padding: 0 2px; }
.mk__stat { display: grid; gap: 3px; }
.mk__lab { display: block; height: 14px; overflow: hidden; font-size: 11px; line-height: 14px; font-weight: 620; color: var(--soft); white-space: nowrap; }
.mk__lab span { display: block; }
.mk__stat strong { font-size: 25px; line-height: 28px; font-weight: 740; font-stretch: 92%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk__stat--eng strong { display: flex; align-items: center; gap: 6px; }
.mk__stat--eng svg { display: block; flex: none; width: 22px; height: 22px; fill: none; }
.mk__track { stroke: rgba(244, 242, 238, 0.13); stroke-width: 4; }
.mk__arc { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }

.mk__chart { position: relative; height: min(92px, 22vh); border-radius: 14px; background: rgba(0, 0, 0, 0.26); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; touch-action: pan-y; cursor: crosshair; }
.mk__chart svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.mk__line { fill: none; stroke: var(--accent); stroke-width: 2.200; stroke-linecap: round; stroke-linejoin: round; }
.mk__hair { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(244, 242, 238, 0.28); opacity: 0; }
.mk__mark { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.mk__mark b { position: absolute; left: -5.500px; top: -5.500px; display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2.500px var(--accent), 0 0 0 3px rgba(12, 12, 15, 0.5); }
.mk__tip { position: absolute; left: 0; top: 7px; height: 20px; padding: 0 8px; border-radius: 10px; background: var(--ink); color: #111114; font-size: 10.500px; line-height: 20px; font-weight: 720; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, 0.9); }
.mk__tip span { display: block; }

.mk__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 16px; font-size: 11px; line-height: 16px; font-weight: 620; color: var(--soft); white-space: nowrap; }
.mk__rate { display: block; height: 16px; overflow: hidden; color: var(--ink); font-variant-numeric: tabular-nums; }
.mk__rate span { display: block; }

.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: #f4f2ee; stroke: #0c0c0f; stroke-width: 1.300; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); z-index: 6; }

@media (max-width: 360px) { .mk__tag { display: none; } .mk__head { grid-template-columns: auto minmax(0, 1fr); } .mk__stat strong { font-size: 21.500px; } .mk__stats { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 92px; } .mk__foot > span:first-child { display: none; } .mk__foot { justify-content: flex-end; } }
@media (prefers-reduced-motion: reduce) { .mk__tabs button { transition: none; } }
