:root {
  --bg: #f3eadc;
  --panel: #ffffff;
  --text: #111a3a;
  --muted: #647084;
  --line: #d9dfeb;
  --accent: #0f6f5c;
  --accent-soft: #e5f4f0;
  --gold: #f2c94c;
  --gold-dark: #c99618;
  --danger: #a33a3a;
  --font-body: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  --font-script: "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    linear-gradient(180deg, #fbf3e5 0%, var(--bg) 100%);
  color: var(--text);
  font-family: var(--font-body);
}

button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font: inherit;
  cursor: pointer;
}

button:hover {
  filter: brightness(0.95);
}

button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.58;
}

.app-shell {
  width: min(960px, calc(100% - 20px));
  margin: 0 auto;
  padding: 10px 0 24px;
}

.welcome-screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: center;
  align-content: stretch;
  gap: 0;
  height: calc(100svh - 20px);
  max-height: calc(100svh - 20px);
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 4px 8px 18px;
  border: 1px solid rgba(201, 150, 24, 0.28);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 18px 44px rgba(54, 43, 21, 0.1);
  overflow: hidden;
}

.welcome-logo {
  display: block;
  width: min(82%, 310px);
  height: auto;
  aspect-ratio: 700 / 466;
  object-fit: contain;
  margin-top: -34px;
  margin-bottom: -64px;
}

.welcome-center {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  width: 100%;
  min-height: 0;
  padding: clamp(0px, 2svh, 18px) 8px;
}

.welcome-hero {
  display: block;
  width: min(112%, 430px);
  max-height: min(42svh, 430px);
  height: auto;
  margin: -14px 0 -4px;
  object-fit: contain;
}

.welcome-copy {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: -4px;
  text-align: center;
}

.welcome-copy h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-script);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.welcome-copy p {
  max-width: 17rem;
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

.welcome-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 270px);
  align-self: end;
  margin-top: 0;
}

.welcome-actions button {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0;
}

.welcome-actions .welcome-primary {
  border-color: rgba(201, 150, 24, 0.45);
  background: linear-gradient(180deg, #ffe88a 0%, var(--gold) 100%);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(201, 150, 24, 0.22);
}

.welcome-actions .welcome-secondary {
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  font-size: 1.08rem;
}

.audio-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(201, 150, 24, 0.4);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.88);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(54, 43, 21, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.audio-toggle.is-on {
  background: linear-gradient(180deg, #ffe88a 0%, var(--gold) 100%);
}

.session-pill {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(201, 150, 24, 0.45);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe88a 0%, var(--gold) 100%);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(201, 150, 24, 0.18);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.session-checkout {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
}

.live-badge {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  margin: -2px 0 -6px;
  padding: 0 12px;
  border: 1px solid rgba(201, 150, 24, 0.45);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe88a 0%, var(--gold) 100%);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(201, 150, 24, 0.18);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.choose-screen {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: start;
  justify-items: center;
  gap: 12px;
  height: calc(100svh - 20px);
  max-height: calc(100svh - 20px);
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 14px 14px 24px;
  border: 1px solid rgba(201, 150, 24, 0.28);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 18px 44px rgba(54, 43, 21, 0.1);
  overflow: hidden;
}

.choose-back {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.choose-header {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 100%;
}

.choose-logo {
  display: block;
  width: min(58%, 210px);
  height: auto;
  aspect-ratio: 700 / 466;
  object-fit: contain;
  margin-top: -18px;
  margin-bottom: -28px;
}

.choose-title {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--gold-dark);
}

.choose-title h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-script);
  font-size: 2.45rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.choose-title span {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(64%, 180px);
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

.choose-title span::before,
.choose-title span::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(201, 150, 24, 0.38);
}

.choose-status {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: min(100%, 300px);
  min-height: 0;
  margin-top: -2px;
  padding: 10px 14px;
  border: 1px solid rgba(242, 201, 76, 0.5);
  border-radius: 22px;
  background: rgba(255, 248, 223, 0.62);
  text-align: center;
}

.choose-status span {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.choose-status strong {
  color: var(--text);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

.choose-status small {
  max-width: 17rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.choose-status-live,
.choose-status-finishing {
  background: linear-gradient(180deg, #ffe88a 0%, rgba(242, 201, 76, 0.72) 100%);
}

.circle-choice-list {
  display: grid;
  align-content: start;
  gap: 18px;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin-top: 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.circle-choice {
  display: grid;
  grid-template-columns: 38% 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: clamp(128px, 18svh, 156px);
  height: auto;
  padding: 14px 18px 14px 12px;
  border: 1px solid rgba(242, 201, 76, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 248, 223, 0.68));
  color: var(--text);
  text-align: left;
  box-shadow: 0 10px 24px rgba(201, 150, 24, 0.08);
  overflow: hidden;
}

.circle-choice-figure {
  display: block;
  justify-self: center;
  width: clamp(84px, 12svh, 112px);
  height: clamp(84px, 12svh, 112px);
  overflow: hidden;
  border-radius: 50%;
  background: #fff4bd;
}

.circle-choice-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.circle-choice[data-circle="dance"] .circle-choice-figure img,
.circle-choice[data-circle="laugh"] .circle-choice-figure img {
  width: 138%;
  transform: translateX(-14%);
}

.circle-choice-copy {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-width: 0;
}

.circle-choice-copy strong {
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.circle-choice-copy span {
  max-width: 10rem;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
}

.circle-choice-copy small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.learn-screen {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: center;
  gap: 10px;
  height: calc(100svh - 20px);
  max-height: calc(100svh - 20px);
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 10px 22px 24px;
  border: 1px solid rgba(201, 150, 24, 0.28);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 18px 44px rgba(54, 43, 21, 0.1);
  overflow: hidden;
  text-align: center;
}

.learn-logo {
  display: block;
  width: min(58%, 210px);
  height: auto;
  aspect-ratio: 700 / 466;
  object-fit: contain;
  margin-top: -18px;
  margin-bottom: -26px;
}

.learn-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}

.learn-copy h1 {
  max-width: 18rem;
  margin: 0;
  color: var(--text);
  font-family: var(--font-script);
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1;
}

.learn-copy p {
  max-width: 19.5rem;
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.42;
}

.learn-copy p:nth-of-type(2) {
  padding: 12px 14px;
  border: 1px solid rgba(242, 201, 76, 0.5);
  border-radius: 22px;
  background: rgba(255, 248, 223, 0.68);
}

.learn-actions {
  display: grid;
  justify-items: center;
  width: min(100%, 270px);
}

.learn-primary {
  width: 100%;
  min-height: 48px;
  border-color: rgba(201, 150, 24, 0.45);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe88a 0%, var(--gold) 100%);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(201, 150, 24, 0.22);
  font-weight: 700;
}

.session-screen {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  justify-items: center;
  gap: 10px;
  height: calc(100svh - 20px);
  max-height: calc(100svh - 20px);
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 6px 12px 24px;
  border: 1px solid rgba(201, 150, 24, 0.28);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 18px 44px rgba(54, 43, 21, 0.1);
  overflow: hidden;
}

.session-logo {
  display: block;
  width: min(50%, 180px);
  height: auto;
  aspect-ratio: 700 / 466;
  object-fit: contain;
  margin-top: -24px;
  margin-bottom: -32px;
}

.session-copy {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.session-copy h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-script);
  font-size: 2.55rem;
  font-weight: 400;
  line-height: 1;
}

.session-copy p {
  max-width: 16rem;
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.session-countdown,
.session-get-ready,
.session-live {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.session-main {
  display: grid;
  grid-template-rows: auto minmax(8px, 1fr) auto minmax(8px, 1fr) auto;
  justify-items: center;
  align-items: center;
  align-self: stretch;
  width: 100%;
  min-height: 0;
}

.session-main-subtitle {
  max-width: 16rem;
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.session-main-title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-script);
  font-size: 2.55rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.session-art {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  width: calc(100% - 16px);
  min-height: 0;
}

.session-art img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.session-art-wide {
  width: min(calc(100% - 16px), 48svh, 440px);
  overflow: visible;
  aspect-ratio: 1;
}

.session-art-wide img {
  width: 100%;
}

.session-art-live {
  width: min(calc(100% - 16px), 48svh, 390px);
  overflow: visible;
  aspect-ratio: 1;
}

.session-art-live img {
  width: 100%;
}

.session-art-timer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(255, 250, 240, 0.9);
}

.field-count-pill {
  position: absolute;
  left: 50%;
  bottom: -8px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: min(72%, 210px);
  padding: 8px 18px 10px;
  border: 2px solid rgba(201, 150, 24, 0.58);
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 12px 28px rgba(54, 43, 21, 0.16);
  color: var(--text);
  transform: translateX(-50%);
}

.field-count-pill strong {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
}

.field-count-pill span {
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.session-status {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}

.session-status strong {
  color: var(--text);
  font-size: 3.1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

.session-status span {
  max-width: 17rem;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.session-status small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.live-timer-row {
  display: grid;
  grid-template-columns: auto minmax(0, auto) auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.live-timer-row .live-badge {
  margin: 0;
}

.complete-screen {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  justify-items: center;
  gap: 12px;
  height: calc(100svh - 20px);
  max-height: calc(100svh - 20px);
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 6px 18px 24px;
  border: 1px solid rgba(201, 150, 24, 0.28);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 18px 44px rgba(54, 43, 21, 0.1);
  overflow: hidden;
  text-align: center;
}

.complete-logo {
  display: block;
  width: min(50%, 180px);
  height: auto;
  aspect-ratio: 700 / 466;
  object-fit: contain;
  margin-top: -24px;
  margin-bottom: -30px;
}

.complete-screen h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-script);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}

.complete-main {
  display: grid;
  grid-template-rows: auto minmax(8px, 1fr) auto minmax(8px, 1fr) auto;
  justify-items: center;
  align-items: center;
  align-self: stretch;
  width: 100%;
  min-height: 0;
}

.complete-art {
  display: grid;
  place-items: center;
  align-self: center;
  width: min(calc(100% - 16px), 42svh, 394px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
}

.complete-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.complete-screen p {
  max-width: 18rem;
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.42;
}

.complete-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.complete-metrics div {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid rgba(242, 201, 76, 0.45);
  border-radius: 18px;
  background: rgba(255, 248, 223, 0.7);
}

.complete-screen strong {
  color: var(--text);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
}

.complete-screen span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.complete-button {
  width: min(100%, 270px);
  min-height: 48px;
  border-color: rgba(201, 150, 24, 0.45);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe88a 0%, var(--gold) 100%);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(201, 150, 24, 0.22);
  font-weight: 700;
}

.screen,
.debug-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.screen {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 320px;
  padding: 24px;
  align-content: start;
}

.screen h1,
.debug-panel h2,
.debug-panel h3,
.circle-row h2 {
  margin: 0;
  letter-spacing: 0;
}

.screen h1 {
  font-size: 2rem;
}

.screen p {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.actions button:not(:first-child),
.circle-row button {
  background: white;
  color: var(--accent);
}

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

.circle-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.circle-row h2 {
  font-size: 1.1rem;
}

.circle-row p {
  margin-top: 4px;
  font-size: 0.95rem;
}

.data-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.data-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfd;
}

.data-list dt {
  color: var(--muted);
  font-weight: 700;
}

.data-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.debug-panel {
  margin-top: 16px;
  padding: 18px;
}

.debug-panel h2 {
  font-size: 1.2rem;
}

.debug-panel h3 {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.debug-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

pre {
  min-height: 140px;
  max-height: 360px;
  margin: 0;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111827;
  color: #e5e7eb;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 12px, 960px);
    padding: 6px 0 18px;
  }

  .welcome-screen {
    height: calc(100svh - 12px);
    max-height: calc(100svh - 12px);
    padding: 4px 6px 18px;
  }

  .welcome-logo {
    width: min(84%, 310px);
  }

  .welcome-hero {
    width: min(116%, 430px);
  }

  .welcome-copy h1 {
    font-size: 2.8rem;
  }

  .choose-screen {
    height: calc(100svh - 12px);
    max-height: calc(100svh - 12px);
    gap: 10px;
    padding: 12px 12px 22px;
  }

  .choose-logo {
    width: min(60%, 205px);
  }

  .choose-title h1 {
    font-size: 2.35rem;
  }

  .choose-status {
    width: min(100%, 290px);
    padding: 8px 12px;
  }

  .choose-status span {
    font-size: 0.78rem;
  }

  .choose-status strong {
    font-size: 1.75rem;
  }

  .choose-status small {
    font-size: 0.76rem;
  }

  .circle-choice-list {
    gap: 12px;
  }

  .circle-choice {
    min-height: clamp(118px, 16svh, 142px);
    height: auto;
    padding: 12px 16px 12px 10px;
  }

  .circle-choice-figure {
    width: clamp(78px, 11svh, 102px);
    height: clamp(78px, 11svh, 102px);
  }

  .learn-screen {
    height: calc(100svh - 12px);
    max-height: calc(100svh - 12px);
    padding: 8px 18px 22px;
  }

  .learn-logo {
    width: min(60%, 205px);
  }

  .learn-copy {
    gap: 12px;
  }

  .learn-copy h1 {
    font-size: 2.5rem;
  }

  .learn-copy p {
    font-size: 0.92rem;
  }

  .session-screen {
    height: calc(100svh - 12px);
    max-height: calc(100svh - 12px);
    padding: 4px 10px 22px;
  }

  .session-logo {
    width: min(52%, 175px);
  }

  .session-copy h1 {
    font-size: 2.4rem;
  }

  .session-main-title {
    font-size: 2.4rem;
  }

  .session-main-subtitle {
    font-size: 0.95rem;
  }

  .session-art-wide {
    width: min(calc(100% - 12px), 48svh, 430px);
  }

  .session-art-live {
    width: min(calc(100% - 12px), 48svh, 390px);
  }

  .field-count-pill {
    bottom: -8px;
    min-width: min(74%, 210px);
    padding: 7px 16px 8px;
  }

  .field-count-pill strong {
    font-size: 2.45rem;
  }

  .field-count-pill span {
    font-size: 0.72rem;
  }

  .session-status strong {
    font-size: 2.8rem;
  }

  .live-timer-row {
    gap: 8px;
  }

  .complete-screen {
    height: calc(100svh - 12px);
    max-height: calc(100svh - 12px);
    padding: 4px 14px 22px;
  }

  .complete-logo {
    width: min(52%, 175px);
  }

  .complete-screen h1 {
    font-size: 2.25rem;
  }

  .complete-main {
    grid-template-rows: auto minmax(8px, 1fr) auto minmax(8px, 1fr) auto;
  }

  .complete-art {
    width: min(calc(100% - 12px), 42svh, 390px);
  }

  .screen,
  .debug-panel {
    padding: 16px;
  }

  .circle-row,
  .data-list div,
  .debug-grid {
    grid-template-columns: 1fr;
  }
}
