.number-feature {
  margin-block-end: 0;
  border-color: #e9c673;
  background: #ffebad;
}
.number-sample { border-color: #ddc379; }
.number-sample strong {
  display: grid;
  place-items: center;
  min-width: 60px;
  min-height: 60px;
  border-radius: 12px;
  background: #f6d576;
  font-size: 1.85rem;
}
.number-sample > span:last-child { font-weight: 700; }

.number-heading {
  padding: clamp(19px, 4vw, 31px);
  border: 1px solid #e6c574;
  border-radius: 22px;
  background: #ffebad;
}
.number-heading h1 {
  font-size: clamp(2.25rem, 6vw, 3.45rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.number-heading p { line-height: 1.5; color: #483654; }
.number-lesson-links { display: flex; flex-wrap: wrap; gap: 8px; }
.number-lesson-link {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #c9a951;
  border-radius: 10px;
  background: #fff8e0;
  font-weight: 700;
}
.number-lesson-link:hover { background: #f9d784; }
.number-explorer { margin-block-start: 16px; }
.number-explorer h2 { font-size: 1.4rem; }
.number-ranges { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 13px 12px; }
.number-note { margin-block: 0 13px; }
.number-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  justify-content: space-between;
  margin-block: 0 13px;
}
.number-tools label { display: flex; align-items: center; min-height: 44px; font-weight: 700; }
.number-tools input { min-width: 18px; min-height: 18px; margin-inline: 0 7px; accent-color: var(--violet); }
.number-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.number-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
  min-height: 94px;
  padding: 9px 11px;
  border: 1px solid #dbc9ed;
  border-radius: 12px;
  background: #f5efff;
  text-align: start;
}
.number-entry strong {
  grid-column: 1;
  justify-self: start;
  font-variant-numeric: tabular-nums;
  font-size: 1.24rem;
}
.number-entry span[lang] {
  grid-column: 1;
  justify-self: start;
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.number-speaker {
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #eadec9;
  color: #35254e;
}
.number-speaker svg { width: 17px; height: 17px; }
.number-entry:hover { border-color: #7762b5; }
.number-entry[aria-pressed="true"] { border-color: var(--violet); background: #e6ddff; }
.number-entry[aria-pressed="true"] .number-speaker { background: var(--violet); color: #fff; }

.annotated-photo { display: block; position: relative; }
.annotated-photo > span {
  position: absolute;
  inset-inline-start: 7px;
  inset-block-end: 7px;
  padding: 4px 7px;
  border-radius: 7px;
  background: #fffaf0;
  color: #272042;
  font-weight: 750;
  box-shadow: 0 2px 7px #19163533;
}
.number-visual {
  display: grid;
  place-items: center;
  width: 100%;
  background: #eadfff;
  color: #30205c;
  font-weight: 800;
}
.topic-card > .number-visual { aspect-ratio: 2.06; background: #f9df8d; font-size: clamp(1.55rem, 4.5vw, 2.7rem); }
.number-visual.feature-img { min-height: 126px; font-size: clamp(1.8rem, 8vw, 3.3rem); }
.choice > .number-visual { aspect-ratio: 1.1; border-radius: 9px; font-size: clamp(.88rem, 3.4vw, 1.7rem); }
.number-visual.dictionary-photo { width: 100%; font-size: .83rem; }
.numeric-options .choice { font-size: 1.16rem; text-align: center; font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
  .number-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .topic-card > .number-visual { min-height: 115px; aspect-ratio: auto; }
}
@media (max-width: 520px) {
  .number-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number-heading .prompt { margin-block-end: 13px; }
  .number-entry { padding-inline: 9px; }
}

@media (max-width: 420px) {
  .number-entry strong { font-size: clamp(.81rem, 4vw, 1.12rem); }
  .number-visual.dictionary-photo { font-size: .73rem; }
}
