:root {
  color-scheme: light;
  --ink: #22212a;
  --muted: #8d8a99;
  --line: #d8d8e2;
  --paper: #f7f5ff;
  --panel: #ffffff;
  --purple: #6d4aff;
  --deep: #4b2e83;
  --gold: #d8b76a;
  --silver: #c9ccd6;
  --shadow: 0 22px 60px rgba(75, 46, 131, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(247, 245, 255, 0.68), #ffffff 42%),
    var(--paper);
  color: var(--ink);
  font-family: Satoshi, Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button {
  font: inherit;
  cursor: pointer;
}

.app-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 20px 16px 104px;
}

.topbar,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 1.72rem;
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.04rem;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.status-pill {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--purple);
  font-weight: 850;
}

.field-band {
  margin: 8px 0 14px;
  min-height: 144px;
  display: grid;
  align-items: end;
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(75, 46, 131, 0.95), rgba(109, 74, 255, 0.82)),
    linear-gradient(45deg, #4b2e83, #6d4aff);
  color: #fff;
  box-shadow: var(--shadow);
}

.field-band p {
  margin-bottom: 8px;
  font-weight: 850;
  opacity: 0.88;
}

.field-band strong {
  display: block;
  max-width: 30rem;
  font-size: 1.42rem;
  line-height: 1.08;
}

.practice-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mode-button,
.nav-button,
.check-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 850;
}

.mode-button {
  min-height: 42px;
  border-radius: 999px;
}

.mode-button.active {
  border-color: rgba(109, 74, 255, 0.32);
  background: #f1eeff;
  color: var(--purple);
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.section-heading {
  margin-bottom: 10px;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.cue-list {
  display: grid;
  gap: 10px;
}

.cue-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  padding: 14px;
}

.cue-card.seen {
  border-color: rgba(109, 74, 255, 0.34);
  background: linear-gradient(180deg, #ffffff, #fbfaff);
}

.check-button {
  width: 44px;
  height: 34px;
  border-radius: 999px;
  color: var(--purple);
  font-size: 0.66rem;
}

.cue-card p {
  margin-bottom: 7px;
  color: var(--ink);
  line-height: 1.38;
}

.cue-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 5;
  width: min(calc(100% - 24px), 760px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  transform: translateX(-50%);
  border: 1px solid rgba(216, 216, 226, 0.86);
  border-radius: 24px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.nav-button {
  min-height: 38px;
  border-radius: 18px;
  padding: 7px 5px;
  font-size: 0.78rem;
}

.nav-button.active {
  border-color: rgba(109, 74, 255, 0.28);
  background: var(--purple);
  color: #fff;
}

@media (max-width: 560px) {
  .app-shell {
    padding-inline: 12px;
  }

  h1 {
    font-size: 1.38rem;
  }

  .field-band strong {
    font-size: 1.2rem;
  }

  .bottom-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
