:root {
  --bg: #111614;
  --panel: #171f1c;
  --ink: #f4f1e9;
  --muted: #9eb1a7;
  --accent: #6fd08c;
  --line: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(111, 208, 140, 0.18), transparent 32%),
    linear-gradient(180deg, #101614 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "Arial Narrow", Arial, sans-serif;
}

.display-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 18px;
}

.display-header,
.display-card,
.display-footer {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(23, 31, 28, 0.9);
}

.display-header,
.display-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.display-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
}

.display-weight {
  font-size: clamp(5rem, 22vw, 11rem);
  line-height: 0.85;
  font-weight: 700;
}

.display-unit {
  margin-top: 8px;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--muted);
}

.display-meta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: var(--muted);
}

button,
a {
  font: inherit;
}

button {
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--accent);
  color: #102017;
  font-weight: 700;
}

a {
  color: var(--accent);
  text-decoration: none;
}

@media (orientation: portrait) {
  .display-card {
    padding-top: 10vh;
    padding-bottom: 10vh;
  }
}
