:root {
  --ivory: #FAF6EC;
  --ivory-dim: #F1EADA;
  --pine: #1F4D3D;
  --pine-deep: #14332A;
  --ink: #222A28;
  --gold: #D9A441;
  --gold-deep: #B9822A;
  --coral: #E3593F;
  --line: rgba(34, 42, 40, 0.12);
  --shadow: 0 10px 30px rgba(20, 51, 42, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "Space Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(circle at 15% 8%, rgba(217, 164, 65, 0.10), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(31, 77, 61, 0.08), transparent 45%);
  min-height: 100vh;
}

button {
  font-family: inherit;
  cursor: pointer;
}

#app {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 20px 24px;
}

/* ---------- TOPBAR ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 2px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ivory);
  background: var(--pine);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -1px;
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--pine-deep);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(34, 42, 40, 0.55);
  text-transform: uppercase;
}

.icon-btn {
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  color: var(--pine-deep);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, background .15s ease;
}

.icon-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.text-btn {
  background: none;
  border: none;
  color: var(--pine-deep);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 4px;
}

.text-btn:hover {
  text-decoration: underline;
}

/* ---------- SCREENS ---------- */
.screen {
  display: none;
  flex: 1;
  flex-direction: column;
}

.screen.active {
  display: flex;
}

/* ---------- ACCOUNT ---------- */
.auth-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 8px 0 52px;
}

.auth-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.auth-inner h1 {
  margin: 0;
  color: var(--pine-deep);
  font-family: var(--font-display);
  font-size: 34px;
}

.auth-inner p {
  margin: 0;
  color: rgba(34, 42, 40, 0.65);
  font-size: 15px;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--pine-deep);
  font-size: 13px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.auth-form input:focus {
  border-color: var(--pine);
  outline: 2px solid rgba(31, 77, 61, 0.14);
  outline-offset: 1px;
}

.auth-message {
  min-height: 24px;
}

.auth-message.error {
  color: #A6402A;
}

.signout-btn {
  align-self: flex-start;
  color: var(--coral);
  margin-top: 2px;
}

/* ---------- SETUP ---------- */
.setup-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 8px;
  flex: 1;
}

.setup-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--pine-deep);
  margin: 6px 0 0;
  letter-spacing: -0.01em;
}

.setup-lede {
  margin: -14px 0 4px;
  color: rgba(34, 42, 40, 0.65);
  font-size: 15px;
  line-height: 1.5;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 42, 40, 0.5);
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.pill-row.wrap {
  flex-wrap: wrap;
}

.pill {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  transition: all .15s ease;
}

.pill:hover {
  border-color: var(--pine);
}

.pill.active {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--ivory);
}

.pill-row:not(.wrap) .pill {
  flex: 1;
  text-align: center;
}

/* ---------- DECK PICKER ---------- */
.deck-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deck-all {
  width: 100%;
  text-align: center;
}

.level-group {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease;
}

.level-group.has-selection {
  border-color: var(--pine);
}

.level-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  text-align: left;
  color: var(--pine-deep);
  transition: background .15s ease;
}

.level-head:hover {
  background: var(--ivory-dim);
}

.level-chevron {
  flex: none;
  color: var(--gold-deep);
  transition: transform .2s ease;
}

.level-group.open .level-chevron {
  transform: rotate(90deg);
}

.level-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.2;
}

.level-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--pine-deep);
}

.level-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(34, 42, 40, 0.5);
}

.level-group.has-selection .level-meta {
  color: var(--gold-deep);
}

.level-body {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 14px 16px;
}

.level-group.open .level-body {
  display: flex;
}

.deck-pill {
  font-size: 13px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.deck-count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(34, 42, 40, 0.4);
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.deck-pill.active .deck-count {
  color: rgba(250, 246, 236, 0.7);
  border-left-color: rgba(250, 246, 236, 0.3);
}

.deck-pill[data-type="level"] {
  border-style: dashed;
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  font-weight: 700;
}

.deck-pill[data-type="level"] .deck-count {
  color: rgba(185, 130, 42, 0.65);
  border-left-color: rgba(185, 130, 42, 0.3);
}

.deck-pill[data-type="level"].active {
  background: var(--gold);
  border-style: solid;
  border-color: var(--gold);
  color: var(--pine-deep);
}

.deck-pill[data-type="level"].active .deck-count {
  color: rgba(31, 77, 61, 0.7);
  border-left-color: rgba(31, 77, 61, 0.25);
}

.start-btn {
  margin-top: 8px;
  border: none;
  background: var(--gold);
  color: var(--pine-deep);
  font-weight: 800;
  font-size: 16.5px;
  padding: 17px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(217, 164, 65, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217, 164, 65, 0.45);
}

.start-btn:active {
  transform: translateY(0px);
}

/* Setup CTA hovers at the bottom so long deck lists don't bury it. */
#startBtn {
  position: sticky;
  bottom: 12px;
  margin-top: auto;
}

.start-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: rgba(20, 51, 42, 0.12);
  padding: 4px 9px;
  border-radius: 999px;
}

/* ---------- STUDY ---------- */
.study-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 2px 8px;
}

.study-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.study-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(34, 42, 40, 0.6);
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.study-tag.dir {
  color: var(--gold-deep);
  border-color: rgba(185, 130, 42, 0.35);
}

.study-deck {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  padding: 2px 8px 10px;
}

.study-level {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.study-category {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  color: var(--pine-deep);
}

.study-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 2px;
}

.progress-track {
  flex: 1;
  height: 6px;
  background: var(--ivory-dim);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 999px;
  transition: width .35s ease;
}

.study-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(34, 42, 40, 0.55);
  min-width: 46px;
  text-align: right;
}

/* ---------- OVERVIEW ---------- */
.overview-list {
  flex: 1;
  columns: 146px;
  column-gap: 18px;
  column-rule: 1px solid rgba(217, 164, 65, 0.45);
  padding: 6px 2px 84px;
}

.overview-item {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 5px 0;
  font-size: 13.5px;
  line-height: 1.35;
}

.overview-item::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.overview-term {
  font-weight: 600;
  color: var(--pine-deep);
}

.overview-sep {
  color: rgba(34, 42, 40, 0.3);
}

.overview-def {
  color: rgba(34, 42, 40, 0.62);
}

.overview-empty {
  color: rgba(34, 42, 40, 0.55);
  font-size: 14.5px;
  line-height: 1.5;
  padding: 24px 2px;
}

/* review list: single column so each row can carry a Leitner-box badge */
#reviewList {
  columns: 1;
  column-rule: none;
}

.overview-box {
  margin-left: auto;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  background: rgba(217, 164, 65, 0.16);
  border-radius: 999px;
  padding: 2px 8px;
}

/* guest limitation notice on the review screen */
.guest-note {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 2px;
}

.guest-note-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--pine-deep);
}

.guest-note-body {
  margin: 0;
  color: rgba(34, 42, 40, 0.68);
  font-size: 14.5px;
  line-height: 1.55;
}

.guest-note .start-btn {
  position: static;
  align-self: flex-start;
  margin-top: 2px;
}

.guest-link {
  color: rgba(34, 42, 40, 0.55);
}

/* ---------- WORD SEARCH + LOCATION POPUP ---------- */
[hidden] {
  display: none !important;
}

.overview-search-wrap {
  padding: 2px 2px 10px;
}

.overview-search {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
}

.overview-search:focus {
  border-color: var(--pine);
  outline: 2px solid rgba(31, 77, 61, 0.14);
  outline-offset: 1px;
}

.overview-item {
  cursor: pointer;
}

.overview-item:hover .overview-term {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 51, 42, 0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  max-height: 100%;
  overflow-y: auto;
  background:
    radial-gradient(circle at 85% 12%, rgba(227, 89, 63, 0.07), transparent 40%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 22px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(31, 77, 61, 0.18);
  border-radius: 20px;
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 1;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: rgba(34, 42, 40, 0.5);
}

.modal-close:hover {
  color: var(--coral);
}

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.modal-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--pine-deep);
  margin-top: 8px;
  word-break: break-word;
}

.modal-def {
  color: rgba(34, 42, 40, 0.62);
  font-size: 15px;
  margin-top: 2px;
}

.modal-loc {
  align-self: flex-end;
  margin-top: 18px;
  padding-right: 6px;
  text-align: right;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(34, 42, 40, 0.55);
}

.modal-loc-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(34, 42, 40, 0.38);
}

.overview-start {
  position: sticky;
  bottom: 12px;
  margin-top: 6px;
}

.overview-direction {
  padding: 2px 2px 8px;
}

.dash-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--pine-deep);
}

.card-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 4px;
  perspective: 1400px;
}

.tile-wrap {
  width: 100%;
  max-width: 340px;
}

.tile {
  position: relative;
  width: 100%;
  aspect-ratio: 7/6;
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.4, .2, .2, 1);
  cursor: pointer;
}

.tile.flipped {
  transform: rotateY(180deg);
}

.tile.resetting {
  transition: none;
}

.tile-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
  text-align: center;
}

.tile-front {
  background:
    radial-gradient(circle at 85% 12%, rgba(227, 89, 63, 0.07), transparent 40%),
    #fff;
}

/* scalloped ceramic-tile edge, drawn with a repeating radial mask */
.tile-front::before,
.tile-back::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1.5px dashed rgba(31, 77, 61, 0.18);
  border-radius: 20px;
  pointer-events: none;
}

.tile-back {
  transform: rotateY(180deg);
  background: var(--pine);
  color: var(--ivory);
}

.tile-back::before {
  border-color: rgba(250, 246, 236, 0.25);
}

.tile-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.tile-back .tile-eyebrow {
  color: var(--gold);
}

.tile-visual {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.tile-visual.swatch {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1.5px var(--line), var(--shadow);
}

.tile-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--pine-deep);
  word-break: break-word;
}

.tile-answer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--ivory);
  margin-bottom: 14px;
  word-break: break-word;
}

/* grammar paradigm table on the Italian face */
.tile-table {
  margin-top: 16px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pine-deep);
}

.tile-table th,
.tile-table td {
  padding: 3px 10px;
  text-align: center;
  white-space: nowrap;
  line-height: 1.35;
}

.tile-table thead th {
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}

.tile-table td.k {
  text-align: right;
  font-weight: 700;
  color: rgba(34, 42, 40, 0.4);
}

.tile-back .tile-table {
  color: var(--ivory);
}

.tile-back .tile-table thead th {
  color: var(--gold);
  border-bottom-color: rgba(250, 246, 236, 0.28);
}

.tile-back .tile-table td.k {
  color: rgba(250, 246, 236, 0.6);
}

.audio-btn {
  margin-top: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--ivory-dim);
  color: var(--pine-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, background .15s ease;
}

.audio-btn:hover {
  background: #fff;
  transform: scale(1.06);
}

.audio-btn.playing {
  background: var(--gold);
  color: var(--pine-deep);
}

.tile-back .audio-btn {
  background: rgba(250, 246, 236, 0.16);
  border-color: rgba(250, 246, 236, 0.35);
  color: var(--ivory);
}

.tile-back .audio-btn:hover {
  background: rgba(250, 246, 236, 0.28);
}

.tile-back .audio-btn.playing {
  background: var(--gold);
  color: var(--pine-deep);
}

.tap-hint {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(34, 42, 40, 0.4);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.answer-row {
  display: flex;
  gap: 12px;
  padding: 14px 0 6px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.answer-row.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.answer-btn {
  flex: 1;
  border: none;
  padding: 16px 10px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: transform .15s ease;
}

.answer-btn:active {
  transform: scale(0.97);
}

.answer-btn.miss {
  background: #FBE9E5;
  color: #A6402A;
}

.answer-btn.hit {
  background: #E4EFE9;
  color: var(--pine-deep);
}

.answer-icon {
  font-size: 17px;
}

/* ---------- DONE ---------- */
.done-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding-bottom: 40px;
}

.done-mark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  box-shadow: var(--shadow);
  margin-bottom: 6px;
}

.done-inner h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--pine-deep);
  margin: 0;
}

.done-stats {
  color: rgba(34, 42, 40, 0.6);
  font-size: 15px;
  max-width: 280px;
}

.done-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
}

/* ---------- DASHBOARD ---------- */
.dash-inner {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dash-cards {
  display: flex;
  gap: 10px;
}

.dash-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
}

.dash-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--pine-deep);
}

.dash-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(34, 42, 40, 0.5);
  text-align: center;
}

.dash-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-bar-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(34, 42, 40, 0.5);
}

.dash-bar {
  height: 14px;
  background: var(--ivory-dim);
  border-radius: 999px;
  overflow: hidden;
}

.dash-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pine), var(--gold));
  border-radius: 999px;
  transition: width .4s ease;
}

.reset-btn {
  margin-top: 10px;
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--coral);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 2px;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {

  .tile,
  .progress-fill,
  .dash-bar-fill,
  .answer-row,
  .icon-btn,
  .start-btn,
  .level-chevron {
    transition: none !important;
  }
}

@media (max-width: 380px) {
  .setup-title {
    font-size: 28px;
  }

  .tile-word {
    font-size: 26px;
  }

  .tile-answer {
    font-size: 24px;
  }
}