:root {
  --bg: #0a0a0c;
  --card: #131316;
  --ink: #f4f2ee;
  --soft: rgba(244, 242, 238, 0.54);
  --line: rgba(244, 242, 238, 0.1);
  --accent: #c8f542;
}

*, *::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(110% 70% at 50% 100%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%);
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; outline: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }

.lu { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; width: min(344px, 100%); padding: 16px 16px 12px; border-radius: 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--card) 92%, #ffffff), var(--card) 40%); 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); overflow: hidden; }
.lu__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.lu__head strong { font-size: 15px; line-height: 20px; font-weight: 760; letter-spacing: 0.02em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.lu__head span { font-size: 11.500px; line-height: 15px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lu__days { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; height: 34px; padding: 3px; border-radius: 17px; background: rgba(0, 0, 0, 0.36); box-shadow: inset 0 0 0 1px var(--line); }
.lu__days button { position: relative; z-index: 1; height: 28px; border-radius: 14px; font-size: 12px; font-weight: 700; color: var(--soft); white-space: nowrap; transition: color 0.25s; }
.lu__days button[aria-selected="true"] { color: #10130a; }
.lu__days button:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.lu__pill { position: absolute; left: 0; top: 3px; width: 90px; height: 28px; border-radius: 14px; background: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 14px -6px var(--accent); }

.lu__top { display: grid; }
.lu__top button { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; width: 100%; height: 36px; text-align: left; border-radius: 8px; }
.lu__top [data-name] { display: block; font-size: 29px; line-height: 36px; letter-spacing: -0.02em; white-space: nowrap; transform-origin: 0 60%; }
.lu__top em { font-style: normal; font-size: 11px; font-weight: 660; font-variant-numeric: tabular-nums; color: var(--soft); white-space: nowrap; transition: color 0.3s, opacity 0.3s; }
.lu__top button.is-in em { color: var(--accent); }
.lu__top button.is-out em { opacity: 0.4; }
.lu__rest { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 8px; padding-top: 9px; box-shadow: inset 0 1px 0 var(--line); }
.lu__rest button { display: block; width: 100%; height: 25px; text-align: left; border-radius: 6px; }
.lu__rest [data-name] { display: block; font-size: 15.500px; line-height: 25px; letter-spacing: -0.005em; white-space: nowrap; }
.lu button:focus-visible { box-shadow: 0 0 0 2px var(--accent); }

.lu__foot { height: 30px; margin: 0 -16px -12px; padding: 0 16px; overflow: hidden; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 1px 0 var(--line); font-size: 12px; line-height: 30px; font-weight: 640; color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lu__foot span { display: block; overflow: hidden; text-overflow: ellipsis; }

.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; pointer-events: none; opacity: 0; fill: #f4f2ee; stroke: #0a0a0c; 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: 350px) { .lu__top [data-name] { font-size: 26px; } .lu__rest [data-name] { font-size: 14.500px; } }
@media (max-height: 380px) { .lu { gap: 8px; padding-top: 12px; } .lu__top button { height: 32px; } .lu__top [data-name] { font-size: 25px; line-height: 32px; } .lu__rest button { height: 23px; } .lu__rest [data-name] { line-height: 23px; } }
@media (prefers-reduced-motion: reduce) { .lu__days button, .lu__top em { transition: none; } }
