*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #0d1b2a;
  color: #d4a017;
  font-family: "Georgia", serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.container {
  width: 100%;
  max-width: 780px;
}

h1 {
  font-size: 1.3rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  color: #d4a017;
}

.subtitle {
  font-size: 0.85rem;
  color: rgba(212, 160, 23, 0.6);
  margin-bottom: 1.5rem;
}

.stats-row {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  flex: 1;
  text-align: center;
}

.stat-label {
  font-size: 11px;
  color: rgba(212, 160, 23, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 26px;
  font-weight: 500;
  color: #d4a017;
}

.legend {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(212, 160, 23, 0.8);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-bar {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #39ff14;
}

.legend-line {
  width: 20px;
  height: 0;
  border-top: 2px dashed #d4a017;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  margin-bottom: 4px;
}

#face-pcts {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 1px;
  font-size: 9px;
  color: rgba(212, 160, 23, 0.5);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

button {
  background: transparent;
  border: 1px solid rgba(212, 160, 23, 0.6);
  color: #d4a017;
  border-radius: 4px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

button:hover {
  background: rgba(212, 160, 23, 0.1);
  border-color: #d4a017;
}

#btn-reset {
  margin-left: auto;
  border-color: rgba(212, 160, 23, 0.3);
  color: rgba(212, 160, 23, 0.5);
}

#btn-reset:hover {
  border-color: rgba(212, 160, 23, 0.6);
  color: #d4a017;
  background: transparent;
}

#callout-100 {
  display: none;
  padding: 0.875rem 1rem;
  border-left: 3px solid #d4a017;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: rgba(212, 160, 23, 0.75);
  line-height: 1.7;
}

#callout-100 strong {
  color: #d4a017;
  font-weight: 600;
}

.branding {
  margin-top: 1.5rem;
  font-size: 11px;
  color: rgba(212, 160, 23, 0.3);
  text-align: right;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}