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

/* Author `display: flex` etc. must not override the HTML [hidden] attribute. */
[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #0f1419;
  color: #f2f5f8;
}

body.dialog-open {
  overflow: hidden;
}

.wrap {
  max-width: min(100%, 48rem);
  margin: 0 auto;
  padding: max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1.25rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

.app-brand {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 7.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.12;
  text-align: center;
  color: #ffffff;
}

.app-title-row {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr) 2.8rem;
  align-items: center;
  gap: 0.3rem 0.45rem;
  margin-bottom: 0.85rem;
}

.app-title-row .app-brand {
  grid-column: 2;
}

.app-header-nav-btn[hidden] {
  display: none !important;
}

.app-header-nav-btn--back {
  grid-column: 1;
  justify-self: start;
}

.app-header-nav-btn--help {
  grid-column: 3;
  justify-self: end;
}

.app-header-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* SnakkSnakkSnakk: farge på de tre S-ene */
h1.app-brand .brand-notenorsk-n--first {
  color: #fca5a5;
}

h1.app-brand .brand-notenorsk-n--second {
  color: #93c5fd;
}

h1.app-brand .brand-notenorsk-n--third {
  color: #c4b5fd;
}

h1.app-brand .brand-notenorsk-rest {
  color: #ffffff;
}

.wrap > .err {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.view-detect {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.detect-language-field {
  width: 100%;
  min-height: 4rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(143, 163, 189, 0.2);
  border-radius: 1rem;
  background: #1a222c;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(107, 149, 255, 0.25);
}

.detect-language-field:hover {
  border-color: rgba(107, 149, 255, 0.38);
  box-shadow: 0 0 0 1px rgba(107, 149, 255, 0.18);
}

.detect-language-field:focus-visible {
  outline: 2px solid #6b95ff;
  outline-offset: 2px;
}

.detect-language-field-label {
  flex: 1;
  min-width: 0;
  color: #dfe8f5;
  word-break: break-word;
}

.detect-language-field-arrow {
  color: #8fa3bd;
  font-size: 1.1rem;
}

.detect-hero {
  margin-bottom: 0.9rem;
  text-align: center;
}

.detect-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ea6c2;
}

.detect-title {
  margin: 0;
  font-size: clamp(1.45rem, 7vw, 2.15rem);
  line-height: 1.15;
}

.detect-copy {
  margin: 0.55rem auto 0;
  max-width: 24rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #9fb0c4;
}

.flag-strip {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

button.flag-strip-marquee-btn {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: block;
  border-radius: 999px;
}

button.flag-strip-marquee-btn:focus-visible {
  outline: 2px solid #6b95ff;
  outline-offset: 2px;
}

button.flag-strip-marquee-btn .flag-strip-marquee,
button.flag-strip-marquee-btn .flag-strip-track {
  pointer-events: none;
}

.flag-strip-marquee {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(143, 163, 189, 0.18);
  background: linear-gradient(180deg, rgba(30, 42, 58, 0.96), rgba(22, 31, 43, 0.92));
}

.flag-strip-marquee::before,
.flag-strip-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3rem;
  z-index: 1;
  pointer-events: none;
}

.flag-strip-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #0f1419, rgba(15, 20, 25, 0));
}

.flag-strip-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #0f1419, rgba(15, 20, 25, 0));
}

.flag-strip-track {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  padding: 0.45rem 0.55rem;
  animation: flagStripDrift 24s linear infinite;
}

.flag-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
  color: #d8e4f3;
  background: rgba(58, 74, 97, 0.44);
  border: 1px solid rgba(143, 163, 189, 0.16);
}

button.flag-chip--sami {
  flex-shrink: 0;
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(107, 149, 255, 0.35);
  background: rgba(77, 124, 255, 0.2);
  color: #e8f0ff;
  min-height: 2rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  align-self: center;
}

button.flag-chip--sami:hover {
  filter: brightness(1.08);
}

button.flag-chip--sami:focus-visible {
  outline: 2px solid #6b95ff;
  outline-offset: 2px;
}

.area {
  width: 100%;
  min-height: 9rem;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  line-height: 1.45;
  padding: 1rem 1rem;
  border-radius: 1rem;
  border: 2px solid #2a3544;
  background: #1a222c;
  color: inherit;
  resize: vertical;
}

.area:focus {
  outline: none;
  border-color: #4d7cff;
  box-shadow: 0 0 0 3px rgba(77, 124, 255, 0.25);
}

.row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.view-detect .actions {
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.view-detect .actions .send {
  flex: 0 1 auto;
  min-width: min(100%, 11rem);
  max-width: 20rem;
}

.actions .send {
  flex: 1;
  min-height: 3.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: #4d7cff;
  color: #fff;
}

.actions .send:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.actions .send:not(:disabled):active {
  filter: brightness(1.08);
}

.btn {
  font: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 999px;
  min-height: 3.25rem;
  padding: 0 1.1rem;
  background: #2a3544;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn:active {
  transform: scale(0.98);
}

.mic {
  width: 3.75rem;
  min-width: 3.75rem;
  padding: 0;
  font-size: 1.05rem;
  opacity: 0.78;
  background: rgba(47, 63, 92, 0.45);
  border-color: rgba(143, 163, 189, 0.2);
}

.mic.is-recording {
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(229, 85, 85, 0.65);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.clear {
  width: 3.75rem;
  min-width: 3.75rem;
  padding: 0;
  font-size: 1.15rem;
  opacity: 0.78;
  background: rgba(47, 63, 92, 0.45);
  border-color: rgba(143, 163, 189, 0.2);
}

.clear:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.out {
  margin-top: 1.25rem;
}

.chips-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}

.chips-toolbar .speak {
  flex-shrink: 0;
  width: 3.25rem;
  min-width: 3.25rem;
  min-height: 3.25rem;
  height: 3.25rem;
  padding: 0;
  font-size: 1rem;
  opacity: 0.95;
  border-radius: 999px;
  background: linear-gradient(180deg, #a8d9ff 0%, #62acef 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0.1rem 0.35rem rgba(12, 40, 72, 0.35);
}

.alts {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
}

.alt {
  font-size: clamp(1rem, 4vw, 1.15rem);
  padding: 0.65rem 1rem;
  min-height: 2.85rem;
}

.alt.is-detected {
  background: #1e7a4a;
  border: 2px solid #2ea862;
  color: #fff;
}

.alt.is-detected.is-picked {
  box-shadow: 0 0 0 3px rgba(46, 168, 98, 0.45);
}

.alt:not(.is-detected).is-picked {
  background: #4d7cff;
  border: 2px solid #4d7cff;
  color: #fff;
}

.out.is-confirmed .alt {
  opacity: 0.85;
}

.confirmed {
  text-align: center;
  font-size: clamp(2rem, 8vw, 2.75rem);
  margin: 0.75rem 0 0;
  color: #8fd4a8;
  user-select: none;
}

.err {
  color: #ff8a8a;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.wait-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  min-height: 1.75rem;
  font-size: 0.95rem;
  color: #9fb0c4;
}

.wait-banner[hidden] {
  display: none !important;
}

/* Synlig ved scrolling: nær inndata/knapper, ikke langt oppe på siden */
.wait-banner--detect {
  position: sticky;
  top: 0;
  z-index: 4;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  background: rgba(18, 24, 32, 0.92);
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.wait-banner--minimal .wait-label {
  display: none;
}

.wait-label:empty {
  display: none;
}

.wait-stop-btn {
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  line-height: 1;
  border-radius: 999px;
  font-size: 1rem;
}

.spinner {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(159, 176, 196, 0.35);
  border-top-color: rgba(107, 149, 255, 0.95);
  border-radius: 50%;
  animation: spinnerRotate 0.65s linear infinite;
}

@keyframes spinnerRotate {
  to {
    transform: rotate(360deg);
  }
}

.btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.88;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  margin: -0.575rem 0 0 -0.575rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  animation: spinnerRotate 0.65s linear infinite;
}

.actions .send.is-loading,
.composer-actions .send.is-loading {
  color: transparent;
}

.mic.is-loading::after {
  border-top-color: rgba(200, 215, 235, 0.95);
}

.speak.is-loading::after {
  border-top-color: rgba(200, 215, 235, 0.95);
}

.word-dialog-play.is-loading::after {
  border-top-color: rgba(200, 215, 235, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .spinner,
  .btn.is-loading::after {
    animation: none;
    border-top-color: rgba(107, 149, 255, 0.65);
    opacity: 0.85;
  }
}

.practice-head {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.practice-head-spacer {
  width: 3.25rem;
  min-width: 3.25rem;
  pointer-events: none;
}

.practice-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.45rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.15rem;
}

.practice-toolbar > * {
  flex-shrink: 0;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.3rem;
  border-radius: 999px;
}

.toolbar-group--modes {
  background: rgba(15, 118, 110, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.15);
}

.toolbar-group--tools {
  background: rgba(109, 40, 217, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.15);
}

.toolbar-group--stats {
  background: rgba(194, 65, 12, 0.15);
  border: 1px solid rgba(251, 146, 60, 0.15);
}

.toolbar-group:empty {
  display: none;
}

.back {
  width: 3.25rem;
  min-width: 3.25rem;
  padding: 0;
  font-size: 1.35rem;
  background: #2f3f5c;
}

.mode-switch {
  display: flex;
  gap: 0.35rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.mode-btn {
  min-height: 2.55rem;
  min-width: 2.55rem;
  padding: 0 0.5rem;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
  color: #dce7f6;
}

.mode-btn.is-active {
  background: linear-gradient(180deg, #0f766e 0%, #0d9488 100%);
  border-color: rgba(45, 212, 191, 0.55);
  color: #f0fdfa;
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.35);
}

.game-restart-btn {
  min-height: 2.55rem;
  min-width: 2.55rem;
  padding: 0 0.45rem;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
  color: #ede9fe;
}

.game-restart-btn:hover {
  filter: brightness(1.08);
}

.practice-mother-cover-btn {
  min-height: 2.55rem;
  min-width: 2.55rem;
  padding: 0 0.45rem;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
  color: #ccfbf1;
  font-weight: 600;
  max-width: 100%;
}

.practice-mother-cover-btn:hover {
  filter: brightness(1.08);
}

.practice-mother-cover-btn[aria-pressed="true"] {
  background: linear-gradient(180deg, #0f766e 0%, #0d9488 100%);
  border-color: rgba(45, 212, 191, 0.55);
  color: #f0fdfa;
}

.streak-toolbar-btn {
  min-height: 2.55rem;
  padding: 0.2rem 0.45rem 0.2rem 0.35rem;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
  color: #dce7f6;
}

.streak-toolbar-icon {
  font-size: 1.05rem;
  line-height: 1;
  user-select: none;
}

.streak-toolbar-btn:hover {
  filter: brightness(1.06);
}

.streak-toolbar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #c2410c 0%, #ea580c 100%);
  color: #fff7ed;
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.speech-points-open {
  min-height: 2.55rem;
  padding: 0.2rem 0.45rem 0.2rem 0.35rem;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
  color: #dce7f6;
}

.speech-points-open-icon {
  font-size: 1.05rem;
  line-height: 1;
  user-select: none;
}

.speech-points-open:hover {
  filter: brightness(1.06);
}

.speech-points-open-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f766e 0%, #0d9488 100%);
  color: #f0fdfa;
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.practice-help-btn {
  min-height: 2.55rem;
  min-width: 2.55rem;
  padding: 0 0.45rem;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1;
  background: linear-gradient(180deg, #b45309 0%, #d97706 100%);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fffbeb;
  font-weight: 600;
}

.practice-help-btn:hover {
  filter: brightness(1.06);
}

.practice-help-btn:active {
  filter: brightness(0.98);
}

.game-score-bar {
  margin-bottom: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(30, 61, 47, 0.45);
  border: 1px solid rgba(45, 212, 191, 0.28);
}

.game-score-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.game-score-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #9fb0c4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.game-score-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #5eead4;
  font-variant-numeric: tabular-nums;
}

.game-score-delta {
  font-size: 1.05rem;
  font-weight: 800;
  color: #86efac;
  min-width: 2.25rem;
}

.game-score-delta--pop {
  animation: gameScorePop 0.55s ease-out;
}

@keyframes gameScorePop {
  0% {
    transform: scale(0.88);
    opacity: 0.35;
  }
  45% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-score-delta--pop {
    animation: none;
  }
}

.game-encouragement {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #d1e3f0;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
  min-height: min(50vh, 22rem);
}

.practice-col-chat {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.chat-column-stack {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 12rem;
  max-height: min(50vh, 22rem);
}

.chat-column-stack .chat-scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.chat-l1-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.65rem;
  text-align: center;
  border-radius: 1rem;
  border: 2px solid #2a3544;
  background: linear-gradient(165deg, rgba(20, 26, 34, 0.97) 0%, rgba(12, 16, 22, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: auto;
  cursor: pointer;
}

.chat-l1-cover[hidden] {
  display: none !important;
}

.chat-l1-cover-icon {
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0.9;
}

.chat-l1-cover-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #e2e8f0;
}

.chat-l1-cover-hint {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #8fa3bd;
  max-width: 16rem;
}

.chat-scroll {
  position: relative;
  isolation: isolate;
  flex: 1;
  min-height: 12rem;
  max-height: min(50vh, 22rem);
  overflow-y: auto;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 2px solid #2a3544;
  background: #1a222c;
  -webkit-overflow-scrolling: touch;
}

.chat-scroll::before {
  content: attr(data-flag);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(5rem, 16vw, 8rem);
  line-height: 1;
  opacity: 0.09;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.chat-scroll > * {
  position: relative;
  z-index: 1;
}

.chat-scroll#chat-no {
  background: #1b2430;
  border-color: #3a4a5a;
}

body[data-mic-target="mother"] .chat-scroll#chat-l1 {
  border-color: rgba(74, 222, 128, 0.95);
  box-shadow: inset 0 0 0 2px rgba(74, 222, 128, 0.28);
  background: linear-gradient(180deg, rgba(21, 50, 37, 0.48), rgba(21, 50, 37, 0.28));
}

body[data-mic-target="no"] .chat-scroll#chat-no {
  border-color: rgba(74, 222, 128, 0.95);
  box-shadow: inset 0 0 0 2px rgba(74, 222, 128, 0.28);
  background: linear-gradient(180deg, rgba(21, 50, 37, 0.48), rgba(21, 50, 37, 0.28));
}

.chat-msg {
  font-size: clamp(1rem, 4vw, 1.15rem);
  line-height: 1.45;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 0.75rem;
  background: #243049;
  word-break: break-word;
}

.chat-emoji {
  font-size: 1.75em;
  line-height: 1;
  vertical-align: middle;
}

.chat-scroll#chat-l1 .chat-msg {
  cursor: default;
}

.chat-msg:last-child {
  margin-bottom: 0;
}

.chat-msg--welcome {
  border-style: dashed;
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(30, 61, 47, 0.92);
}

.chat-msg--welcome .chat-welcome-title {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1em;
  font-weight: 700;
}

.chat-msg--welcome .chat-welcome-prompt {
  margin: 0;
  font-size: 1em;
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.45;
}

.game-chooser-title {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.02em;
  font-weight: 800;
}

.game-chooser-prompt {
  margin: 0 0 0.7rem;
  font-size: 0.96em;
  line-height: 1.45;
  color: #d7e1ed;
}

.game-choice-list {
  display: grid;
  gap: 0.6rem;
}

.game-choice-card {
  padding: 0.7rem;
  border-radius: 0.8rem;
  background: rgba(11, 18, 26, 0.2);
  border: 1px solid rgba(143, 163, 189, 0.14);
}

.game-choice-btn {
  width: 100%;
  justify-content: center;
  font-weight: 800;
}

.chat-topic-chooser-intro {
  margin-bottom: 0.35rem;
}

.chat-topic-suggestion-display {
  margin: 0.15rem 0 0.9rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  font-size: clamp(1.32rem, 5.2vw, 1.62rem);
  font-weight: 800;
  line-height: 1.28;
  color: #f4fbff;
  text-align: center;
  word-break: break-word;
}

.game-chooser--chat-topic .game-choice-btn {
  font-size: 0.9rem;
  font-weight: 700;
}

.game-choice-desc {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #a9b9cb;
}

.emoji-game-card {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}

.emoji-game-question {
  font-size: 1rem;
  font-weight: 800;
}

.emoji-game-status {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.emoji-game-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #dce7f5;
  background: rgba(24, 37, 56, 0.78);
  border: 1px solid rgba(143, 163, 189, 0.28);
}

.emoji-game-status-chip--lives {
  color: #ffe4e6;
  letter-spacing: 0.01em;
}

.emoji-game-emoji {
  font-size: clamp(4rem, 14vw, 5rem);
  line-height: 1;
}

.emoji-game-toggle {
  min-height: 2.15rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.86rem;
}

.emoji-game-feedback {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.emoji-game-mic-hint {
  margin: 0;
  font-size: 0.78rem;
  color: #c7d5e5;
}

.emoji-game-feedback--correct {
  color: #34d399;
}

.emoji-game-feedback--wrong {
  color: #fca5a5;
}

.emoji-game-options {
  width: 100%;
  display: grid;
  gap: 0.5rem;
}

.emoji-game-option {
  width: 100%;
  min-height: 2.8rem;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.emoji-game-option--wrong {
  opacity: 0.45;
  text-decoration: line-through;
}

.emoji-game-option--correct {
  border-color: rgba(74, 222, 128, 0.65);
  background: rgba(20, 83, 45, 0.55);
}

.emoji-game-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #9fb0c4;
}

.emoji-game-next-btn {
  width: 100%;
  min-height: 2.55rem;
  justify-content: center;
  font-weight: 800;
}

.emoji-game-next-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.emoji-game-next-actions--single {
  grid-template-columns: minmax(0, 16rem);
  justify-content: center;
}

.emoji-game-retry-btn {
  width: 100%;
  min-height: 2.55rem;
  justify-content: center;
}

.chat-msg--welcome-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
}

.chat-msg--welcome-loading .chat-welcome-loading-inner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #b8c9dc;
  font-size: 0.92rem;
}

.chat-msg--welcome-loading .chat-welcome-loading-label {
  font-weight: 600;
}

.chat-scroll#chat-l1 .chat-msg--welcome,
.chat-scroll#chat-no .chat-msg--welcome.chat-msg--no {
  font-size: clamp(1rem, 4vw, 1.15rem);
}

.chat-msg-row--welcome {
  margin-bottom: 0;
}

.chat-msg--assistant {
  background: #1e3d2f;
  border: 1px solid #2d5c45;
}

.chat-scroll#chat-no .chat-msg--assistant {
  background: #1a3328;
  border-color: #2a5040;
}

.composer {
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin-top: 0.75rem;
  padding-top: 0.35rem;
  background: linear-gradient(to top, #0f1419 85%, rgba(15, 20, 25, 0));
}

.composer-input {
  min-height: 5rem;
  margin-top: 0;
}

.view-practice .composer-actions {
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chat-topic-suggest-btn--welcome {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.chat-topic-welcome-own-hint {
  margin-top: 0.5rem;
  text-align: center;
}

.chat-msg--welcome-loading .chat-topic-suggest-btn--welcome {
  display: none;
}

.composer-mic-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.composer-mic-lang-toggle {
  min-height: 3.5rem;
  min-width: 2.85rem;
  padding: 0 0.45rem;
  border-radius: 0.95rem;
  background: rgba(36, 50, 75, 0.6);
  border-color: rgba(143, 163, 189, 0.24);
  color: #dce7f6;
  flex-shrink: 0;
}

.composer-mic-lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.7;
  transition: opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.composer-mic-lang-opt--active {
  opacity: 1;
  border-color: rgba(74, 222, 128, 0.95);
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.32);
  background: rgba(22, 101, 52, 0.28);
}

.composer-mic-lang-toggle:disabled .composer-mic-lang-opt {
  opacity: 0.45;
  box-shadow: none;
}

.composer-actions .send {
  flex: 1;
  min-height: 3.5rem;
  font-size: 1.35rem;
  background: #4d7cff;
  color: #fff;
}

.composer-actions .send:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.composer-actions .send:not(:disabled):active {
  filter: brightness(1.08);
}

.translate-dir-btn {
  min-height: 3.5rem;
  padding: 0 0.7rem;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  background: rgba(47, 63, 92, 0.55);
  border-color: rgba(143, 163, 189, 0.22);
  color: #dce7f6;
  white-space: nowrap;
  flex-shrink: 0;
}

.translate-dir-btn[hidden] {
  display: none;
}

.translate-dir-btn:active {
  filter: brightness(1.08);
}

@keyframes flagStripDrift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 36rem) {
  .app-title-row {
    margin-bottom: 0.65rem;
  }

  .app-title-row .app-brand {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .app-header-nav-btn:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .app-title-row .back,
  .app-title-row .practice-help-btn,
  .app-title-row .practice-ai-alert-btn {
    width: 2.8rem;
    min-width: 2.8rem;
    min-height: 2.8rem;
    margin: 0;
  }

  .view-detect .actions {
    gap: 0.5rem;
  }

  .practice-head {
    width: 100%;
  }

  .practice-toolbar {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    overflow-y: visible;
    gap: 0.28rem 0.32rem;
    padding-bottom: 0.1rem;
  }

  .toolbar-group {
    gap: 0.18rem;
    padding: 0.12rem 0.2rem;
  }

  .toolbar-group--stats {
    width: 100%;
    justify-content: center;
  }

  .mode-btn,
  .game-restart-btn,
  .practice-mother-cover-btn,
  .practice-layout-toggle {
    min-height: 2.2rem;
    min-width: 2.2rem;
    font-size: 1rem;
    padding: 0 0.32rem;
  }

  .streak-toolbar-btn,
  .speech-points-open {
    min-height: 2.2rem;
    gap: 0.22rem;
    padding: 0.1rem 0.3rem 0.1rem 0.24rem;
  }

  .streak-toolbar-count,
  .speech-points-open-count {
    min-width: 1.7rem;
    height: 1.7rem;
    padding: 0 0.3rem;
    font-size: 0.86rem;
  }

  .practice-help-btn {
    min-height: 2.2rem;
    min-width: 2.2rem;
    font-size: 1rem;
    padding: 0 0.3rem;
  }

  .composer-input {
    font-size: 1rem;
    line-height: 1.4;
    min-height: 4.4rem;
  }

  .actions .send {
    min-width: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.practice-grid--stacked {
  grid-template-columns: 1fr;
}

.practice-layout-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
}

@media (max-width: 36rem) {
  .practice-layout-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    min-height: 2.2rem;
    min-width: 2.2rem;
    padding: 0 0.32rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flag-strip-track {
    animation: none;
  }
}

/* Norsk kolonne: klikkbare bobler */
.chat-msg-row {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.chat-msg-row:last-child {
  margin-bottom: 0;
}

.chat-msg-row .chat-msg {
  margin-bottom: 0;
}

.chat-tip {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(200, 215, 240, 0.7);
  padding: 0.3rem 0.6rem;
  margin: 0.2rem 0 0.5rem;
  font-style: italic;
}

.chat-msg--no {
  flex: 1;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  display: block;
  transition: box-shadow 0.15s ease, filter 0.15s ease;
}

/* Samme glød som toppunktet i engageGlow (hvert 10. s), fast ved hover */
.chat-msg--no:hover {
  box-shadow: 0 0 16px 4px rgba(107, 149, 255, 0.42);
  filter: brightness(1.07);
  animation: none;
}

.chat-msg--no:focus-visible {
  outline: 2px solid #6b95ff;
  outline-offset: 2px;
}

.chat-msg--no[aria-busy="true"] {
  pointer-events: none;
}

/* Rund lys blå avspillingsknapp med hvit «play»-trekant (chatbobler, ordmodal, bilder) */
.audio-play-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #a8d9ff 0%, #62acef 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0.1rem 0.35rem rgba(12, 40, 72, 0.35);
  flex-shrink: 0;
  vertical-align: middle;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

.audio-play-icon {
  display: block;
  width: 0.48rem;
  height: 0.62rem;
  margin-left: 0.06rem;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  flex-shrink: 0;
}

.image-level-earned-quote-play.audio-play-round .audio-play-icon {
  width: 0.52rem;
  height: 0.68rem;
}

.chat-speak-btn.audio-play-round {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  margin-left: 0.35rem;
  opacity: 0.95;
}

.chat-speak-btn.audio-play-round:hover,
.chat-speak-btn.audio-play-round:focus-visible {
  opacity: 1;
  transform: scale(1.05);
  filter: brightness(1.05);
}

.chat-speak-btn.audio-play-round:focus-visible {
  outline: 2px solid #b8e0ff;
  outline-offset: 2px;
}

.btn.audio-play-round.is-loading .audio-play-icon,
.word-dialog-play.is-loading .audio-play-icon {
  opacity: 0;
}

.ai-disclaimer {
  margin-top: 0.5rem;
  padding: 0.65rem 0.5rem;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  font-size: 0.8rem;
  line-height: 1.45;
  color: #9ec9ff;
  text-align: center;
  border-top: 1px solid rgba(143, 163, 189, 0.12);
  background: rgba(30, 58, 95, 0.28);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.ai-disclaimer:hover,
.ai-disclaimer:focus-visible {
  background: rgba(30, 58, 95, 0.42);
  color: #dbeafe;
}

.ai-disclaimer[hidden] {
  display: none !important;
}

.sami-dialog {
  max-width: min(100%, 28rem);
  width: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1rem;
  background: #1a222c;
  color: #f2f5f8;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
}

.sami-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.sami-dialog-inner {
  position: relative;
  padding: 1rem 1.1rem 1.15rem;
  padding-right: 3rem;
}

.sami-dialog-inner > .sami-dialog-close {
  position: absolute;
  top: 0.55rem;
  right: 0.85rem;
  z-index: 2;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: #2a3544;
}

.sami-dialog-title {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  padding-right: 0.5rem;
}

.sami-dialog-intro {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #b8c9dc;
}

.sami-dialog-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.sami-dialog-buttons .btn {
  flex: 1 1 auto;
  min-width: min(100%, 11rem);
  justify-content: flex-start;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.25;
  padding: 0.45rem 0.75rem;
  min-height: 2.6rem;
  border-radius: 0.75rem;
  white-space: normal;
}

.sami-dialog-ki {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #9fb0c4;
}

.language-picker-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 1rem;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  color: #f2f5f8;
  z-index: 10000;
  box-sizing: border-box;
}

.language-picker-dialog[hidden] {
  display: none !important;
}

.language-picker-inner {
  position: relative;
  width: min(100%, 26rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1rem 1.1rem 1.15rem;
  padding-right: 3rem;
  border-radius: 1rem;
  background: #1a222c;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
}

.language-picker-inner > .language-picker-close {
  position: absolute;
  top: 0.55rem;
  right: 0.85rem;
  z-index: 2;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: #2a3544;
}

.language-picker-title {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  padding-right: 0.5rem;
}

.language-picker-intro {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #9fb0c4;
}

.language-picker-scroll {
  max-height: min(60vh, 22rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.15rem 0 0;
  padding-right: 0.35rem;
  scrollbar-gutter: stable;
}

.language-picker-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.language-picker-divider {
  flex-shrink: 0;
  height: 0;
  margin: 0.45rem 0 0.5rem;
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.42);
}

.language-picker-chip {
  min-height: 3rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.25;
  border-radius: 0.65rem;
  white-space: normal;
  text-align: left;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.65rem;
  hyphens: auto;
  word-break: break-word;
}

.language-picker-chip-flag {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.language-picker-chip-label {
  display: block;
  flex: 1;
  min-width: 0;
}

.badge-earned-dialog {
  max-width: min(100%, 22rem);
  width: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1.25rem;
  background: linear-gradient(165deg, #2a1f3d 0%, #1a2433 45%, #152a2e 100%);
  color: #f8f4ff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1.25rem 3rem rgba(0, 0, 0, 0.55),
    0 0 4rem rgba(167, 139, 250, 0.12);
}

.badge-earned-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.badge-earned-inner {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem;
  text-align: center;
}

.badge-earned-inner > .badge-earned-close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  z-index: 2;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  color: #f2f5f8;
}

.badge-earned-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e9d5ff;
}

.badge-earned-icon-wrap {
  margin: 0 auto 0.75rem;
  width: 5.5rem;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(139, 92, 246, 0.35), rgba(45, 212, 191, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-earned-icon {
  font-size: 2.75rem;
  line-height: 1;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .badge-earned-dialog[open] .badge-earned-icon {
    animation: badge-earned-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}

@keyframes badge-earned-pop {
  0% {
    transform: scale(0.35);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.badge-earned-name {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  font-family: Nunito, system-ui, sans-serif;
  color: #fff;
}

.badge-earned-translation {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #a7f3d0;
}

.badge-earned-desc {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #d8cee8;
}

.badge-earned-milestone {
  margin: 0 0 1.1rem;
  font-size: 0.82rem;
  color: #b8a8d0;
}

.badge-earned-ok {
  width: 100%;
  max-width: 14rem;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
  color: #faf5ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0.35rem 1rem rgba(91, 33, 182, 0.45);
}

.badge-earned-ok:hover {
  filter: brightness(1.08);
}

.image-level-earned-dialog {
  max-width: min(100%, 22rem);
  width: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1.2rem;
  background: linear-gradient(170deg, #102029 0%, #1b2433 48%, #261b36 100%);
  color: #eef6ff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1.25rem 3rem rgba(0, 0, 0, 0.55),
    0 0 3.5rem rgba(34, 211, 238, 0.16);
}

.image-level-earned-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(2px);
}

.image-level-earned-inner {
  position: relative;
  text-align: center;
  padding: 1.3rem 1.2rem 1.2rem;
}

.image-level-earned-close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  z-index: 2;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  color: #f2f5f8;
}

.image-level-earned-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #67e8f9;
}

.image-level-earned-title {
  margin: 0 0 0.3rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  font-family: Nunito, system-ui, sans-serif;
}

.image-level-earned-body {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #cfe1f3;
}

.image-level-earned-open {
  width: 100%;
  max-width: 14rem;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(180deg, #22d3ee 0%, #0ea5b7 100%);
  color: #082f49;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0.35rem 1rem rgba(14, 165, 183, 0.35);
}

.image-level-earned-open:hover {
  filter: brightness(1.07);
}

.image-campaign-done-dialog {
  max-width: min(100%, 24rem);
  width: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1.2rem;
  background: linear-gradient(170deg, #13232f 0%, #1d2136 46%, #2f1d3e 100%);
  color: #edf5ff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1.25rem 3rem rgba(0, 0, 0, 0.58),
    0 0 3.5rem rgba(14, 165, 183, 0.2);
}

.image-campaign-done-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(2px);
}

.image-campaign-done-inner {
  position: relative;
  text-align: center;
  padding: 1.35rem 1.15rem 1.2rem;
}

.image-campaign-done-close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  z-index: 2;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  color: #f2f5f8;
}

.image-campaign-done-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #67e8f9;
}

.image-campaign-done-title {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  font-family: Nunito, system-ui, sans-serif;
}

.image-campaign-done-body {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #d3e3f5;
}

.image-campaign-done-preview-wrap {
  margin: 0 0 0.9rem;
  display: flex;
  justify-content: center;
}

.image-campaign-done-preview {
  --image-reveal-src: none;
  width: min(15.5rem, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 0.85rem;
  background-image: var(--image-reveal-src);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0.5rem 1.2rem rgba(0, 0, 0, 0.35);
}

.image-campaign-done-actions {
  display: grid;
  gap: 0.45rem;
}

.image-campaign-done-continue,
.image-campaign-done-reset {
  width: 100%;
  margin: 0;
}

.image-campaign-done-reset {
  background: linear-gradient(180deg, #22d3ee 0%, #0ea5b7 100%);
  color: #082f49;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0.35rem 1rem rgba(14, 165, 183, 0.35);
}

.image-campaign-done-reset:hover {
  filter: brightness(1.07);
}

.image-reveal-next-cycle-btn {
  width: 100%;
  margin-top: 0.3rem;
  border-radius: 0.85rem;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.22) 0%, rgba(14, 165, 183, 0.2) 100%);
  color: #a5f3fc;
  border: 1px solid rgba(103, 232, 249, 0.34);
}

.image-reveal-next-cycle-btn:hover {
  filter: brightness(1.08);
}

.badge-dialog {
  max-width: min(100%, 28rem);
  width: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1rem;
  background: #1a222c;
  color: #f2f5f8;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
}

.badge-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.badge-dialog-inner {
  position: relative;
  padding: 1rem 0.75rem 1.15rem;
  padding-right: 3rem;
}

.badge-dialog-inner > .badge-dialog-close {
  position: absolute;
  top: 0.55rem;
  right: 0.85rem;
  z-index: 2;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: #2a3544;
}

.badge-dialog-title {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  padding-right: 0.5rem;
}

.badge-dialog-intro {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #b8c9dc;
}

.badge-dialog-summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(15, 118, 110, 0.2);
  border: 1px solid rgba(45, 212, 191, 0.24);
}

.badge-dialog-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f766e 0%, #0d9488 100%);
  color: #f0fdfa;
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.badge-dialog-summary-text {
  font-size: 0.92rem;
  color: #d1e3f0;
}

.badge-dialog-speech-section {
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.speech-reveal-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.6rem;
}

.speech-reveal-topline-level {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.05rem 0.55rem;
  min-width: min(15rem, 70vw);
  padding: 0.38rem 0.62rem 0.42rem;
  border-radius: 0.78rem;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: linear-gradient(180deg, rgba(91, 33, 182, 0.28) 0%, rgba(76, 29, 149, 0.2) 100%);
}

.speech-reveal-topline-level-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ddd6fe;
}

.speech-reveal-topline-level-state {
  justify-self: end;
  font-size: 0.76rem;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 0.01em;
}

.speech-reveal-topline-progress {
  grid-column: 1 / -1;
  height: 0.33rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(196, 181, 253, 0.24);
}

.speech-reveal-topline-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a78bfa 0%, #22d3ee 100%);
}

.speech-reveal-topline-level--complete .speech-reveal-topline-level-state {
  color: #67e8f9;
}

.badge-dialog-speech-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.badge-dialog-speech-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.badge-dialog-speech-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #c4b5fd;
}

.badge-dialog-speech-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-dialog-speech-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #7c3aed 0%, #8b5cf6 100%);
  color: #f5f3ff;
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.badge-dialog-speech-label {
  font-size: 0.84rem;
  color: #a78bfa;
}

.badge-dialog-speech-hint {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #8b7ec8;
  font-style: italic;
}

.badge-dialog-speech-hint[hidden] {
  display: none;
}

.speech-badge-list {
  margin-top: 0.55rem;
}

.image-reveal-card {
  width: 100%;
}

.image-reveal-card--slide-next {
  animation: imageRevealSlideInFromRight 260ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.image-reveal-card--slide-prev {
  animation: imageRevealSlideInFromLeft 260ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.image-reveal-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  overflow: hidden;
  background-image: var(--image-reveal-src);
  background-size: cover;
  background-position: center;
  background-color: rgba(15, 23, 42, 0.72);
}

.image-reveal-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--image-reveal-cols, 10), minmax(0, 1fr));
  grid-template-rows: repeat(var(--image-reveal-rows, 10), minmax(0, 1fr));
}

.image-reveal-cell {
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: #020617;
}

.image-reveal-cell--open {
  opacity: 0;
  pointer-events: none;
}

.image-reveal-card--compact .image-reveal-image {
  max-height: 23.5rem;
}

.image-gallery-slots {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.image-gallery-slot {
  aspect-ratio: 1 / 1;
  border-radius: 0.55rem;
  border: 1px solid rgba(143, 163, 189, 0.35);
  background: rgba(24, 34, 53, 0.55);
  background-image: var(--image-reveal-src);
  background-size: cover;
  background-position: center;
}

.image-gallery-slot--locked {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c9d6e5;
  font-weight: 800;
  font-size: 0.9rem;
  background-image: none;
}

/* Nivå som nå avsløres: ikke vis motiv i miniatyr, kun lys blå + ? */
.image-gallery-slot--reveal-question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: none;
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.42) 0%,
    rgba(14, 165, 233, 0.22) 100%
  );
  color: #0c4a6e;
  font-weight: 800;
  font-size: 0.9rem;
  border-color: rgba(56, 189, 248, 0.65);
  animation: imageRevealActivePulse 1.9s ease-in-out infinite;
}

.image-gallery-slot:not(.image-gallery-slot--locked) {
  cursor: pointer;
}

.image-gallery-slot--active {
  border-color: rgba(125, 211, 252, 0.95);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 0 10px rgba(56, 189, 248, 0.35);
}

/* Hovedvisning: hvilket nivå som for øyeblikket vises under rutenettet. */
.image-gallery-slot--preview:not(.image-gallery-slot--active) {
  box-shadow: 0 0 0 2px rgba(196, 181, 253, 0.55), 0 0 8px rgba(116, 85, 170, 0.35);
  border-color: rgba(199, 210, 254, 0.7);
}

.image-reveal-viewer {
  position: relative;
  touch-action: pan-y;
  user-select: none;
  padding: 0 1.55rem;
}

.image-reveal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 1.45rem;
  height: 1.45rem;
  min-width: 1.45rem;
  min-height: 1.45rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(1.6px);
  box-shadow: 0 2px 10px rgba(2, 6, 23, 0.35);
  cursor: pointer;
  pointer-events: auto;
  line-height: 1;
  font-size: 0.8rem;
  gap: 0;
  transition:
    transform 160ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.image-reveal-nav[hidden] {
  display: none !important;
}

.image-reveal-nav:hover,
.image-reveal-nav:focus-visible {
  background: rgba(30, 41, 59, 0.62);
  border-color: rgba(148, 163, 184, 0.72);
  transform: translateY(-50%) scale(1.07);
  box-shadow: 0 3px 14px rgba(2, 6, 23, 0.45), 0 0 0 1px rgba(148, 163, 184, 0.22);
}

/* Overstyrer global .btn:active (scale) så pilene ikke "hopper". */
.image-reveal-nav:active {
  transform: translateY(-50%) scale(1.07);
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(148, 163, 184, 0.85);
  box-shadow: 0 3px 16px rgba(2, 6, 23, 0.5), 0 0 0 1px rgba(148, 163, 184, 0.3);
}

.image-reveal-nav--left {
  left: 0;
}

.image-reveal-nav--right {
  right: 0;
}

@keyframes imageRevealActivePulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 0 8px rgba(56, 189, 248, 0.22);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.58), 0 0 14px rgba(56, 189, 248, 0.45);
  }
}

@keyframes imageRevealSlideInFromRight {
  from {
    opacity: 0.65;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes imageRevealSlideInFromLeft {
  from {
    opacity: 0.65;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.speech-badge-card {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 0.7rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.18);
}

.speech-badge-card-icon {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  font-size: 1rem;
}

.speech-badge-card-body {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.speech-badge-card-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ddd6fe;
}

.speech-badge-card-meta {
  font-size: 0.75rem;
  color: #a78bfa;
}

.badge-dialog-list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.badge-dialog-empty {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #9fb0c4;
}

.badge-card {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(47, 63, 92, 0.3);
  border: 1px solid rgba(143, 163, 189, 0.14);
}

.badge-card-icon {
  width: 2.6rem;
  min-width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.25rem;
}

.badge-card-body {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.badge-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f2f5f8;
}

.badge-card-translation {
  font-size: 0.82rem;
  color: #8fe6d7;
}

.badge-card-meta {
  font-size: 0.8rem;
  color: #9fb0c4;
}

.speech-next-badge-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.7rem;
  background: rgba(34, 45, 67, 0.45);
  border: 1px solid rgba(122, 139, 165, 0.22);
  max-width: 20rem;
}

.speech-next-badge-icon {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 23, 0.9);
  color: #d6deea;
  font-size: 1rem;
  font-weight: 800;
}

.speech-next-badge-body {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.speech-next-badge-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #e7edf6;
}

.speech-next-badge-meta {
  font-size: 0.76rem;
  color: #9fb0c4;
}

.image-reveal-quote {
  margin-top: 0.75rem;
  font-weight: 700;
  color: #f2f5f8;
}

/* Ordspill / uttrykk (nivå med idiomTitle): bilde uten beskæring + tekst under */
.image-reveal-card--idiom {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 0.5rem 1.75rem rgba(15, 23, 42, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.09);
}

.image-reveal-image.image-reveal-image--contain {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f3f0ff;
}

.image-gallery-slot.image-gallery-slot--idiom {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(237, 233, 254, 0.45);
}

.image-reveal-idiom-card {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem 0.95rem;
  border-radius: 1rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(91, 33, 182, 0.22) 0%, rgba(30, 41, 59, 0.55) 100%);
  border: 1px solid rgba(167, 139, 250, 0.28);
  box-shadow: 0 0.35rem 1.15rem rgba(15, 23, 42, 0.28);
}

.image-reveal-idiom-title {
  margin: 0 0 0.45rem;
  font-family: Nunito, system-ui, sans-serif;
  font-size: clamp(1.05rem, 3.8vw, 1.38rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #fafafa;
}

.image-reveal-idiom-explanation {
  margin: 0;
  font-size: clamp(0.82rem, 2.9vw, 0.96rem);
  font-weight: 500;
  line-height: 1.48;
  color: #a8b8cc;
}

.image-level-earned-idiom-title {
  margin: 0.35rem 0 0.45rem;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.32;
  color: #fff;
}

.image-level-earned-idiom-explanation {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.48;
  color: #b5c6d8;
  font-weight: 500;
}

.image-reveal-points {
  margin-top: 0.45rem;
}

.image-reveal-ai-note {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 176, 196, 0.22);
  background: rgba(159, 176, 196, 0.12);
  color: #d6deea;
}

/* ── Streak dialog ── */

.streak-dialog {
  max-width: min(100%, 26rem);
  width: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1rem;
  background: #1a222c;
  color: #f2f5f8;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
}

.streak-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.streak-dialog-inner {
  position: relative;
  padding: 1.2rem 1.3rem 1.4rem;
  text-align: center;
}

.streak-dialog-close {
  position: absolute;
  top: 0.55rem;
  right: 0.85rem;
  z-index: 2;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: #2a3544;
}

.streak-dialog-title {
  margin: 0 0 0.8rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.streak-dialog-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.22);
}

.streak-dialog-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.streak-dialog-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ea580c 0%, #c2410c 100%);
  color: #fff7ed;
  font-size: 1.1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.streak-dialog-days {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fdba74;
}

.streak-dialog-motivation {
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #b8c9dc;
}

.streak-dialog-badge {
  margin-bottom: 0.6rem;
}

.streak-dialog-best {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(143, 163, 189, 0.12);
}

.streak-dialog-best-icon {
  font-size: 1rem;
  line-height: 1;
}

.streak-dialog-best-text {
  font-size: 0.88rem;
  color: #94a3b8;
}

.help-dialog {
  max-width: min(100%, 32rem);
  width: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1rem;
  background: #1a222c;
  color: #f2f5f8;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
}

.help-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.help-dialog-inner {
  position: relative;
  padding: 1rem 1.1rem 1.2rem;
  padding-right: 3rem;
}

.help-dialog-inner > .help-dialog-close {
  position: absolute;
  top: 0.6rem;
  right: 0.85rem;
  z-index: 2;
}

.help-dialog-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  padding-right: 0.5rem;
}

.help-dialog-body {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #d5e0ef;
}

.help-dialog-body p {
  margin: 0 0 0.75rem;
}

.help-dialog-body p:last-child {
  margin-bottom: 0;
}

.help-accordion {
  margin: 0 0 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.72rem;
  background: rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.help-accordion:last-child {
  margin-bottom: 0;
}

.help-accordion-summary {
  cursor: pointer;
  list-style: none;
  padding: 0.62rem 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.55);
}

.help-accordion-summary::-webkit-details-marker {
  display: none;
}

.help-accordion-summary::after {
  content: "▾";
  float: right;
  color: #93c5fd;
  transition: transform 140ms ease;
}

.help-accordion[open] .help-accordion-summary::after {
  transform: rotate(180deg);
}

.help-accordion-body {
  padding: 0.6rem 0.75rem 0.2rem;
}

.help-accordion-body p {
  margin: 0 0 0.52rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #d5e0ef;
}

.help-accordion--alert {
  border-color: rgba(251, 191, 36, 0.42);
  background: rgba(120, 53, 15, 0.2);
}

.help-accordion--alert .help-accordion-summary {
  background: rgba(146, 64, 14, 0.38);
  color: #fde68a;
}

.help-accordion--alert .help-accordion-summary::after {
  color: #fcd34d;
}

.help-accordion--alert .help-accordion-body p {
  color: #ffedd5;
}

.help-dialog-close {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: #2a3544;
}

.onboarding-dialog {
  max-width: min(100%, 24rem);
  width: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1rem;
  background: linear-gradient(165deg, #172437 0%, #1c2a40 48%, #2a1f3e 100%);
  color: #f2f5f8;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
}

.onboarding-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.onboarding-dialog-inner {
  position: relative;
  padding: 1rem 1.05rem 1.1rem;
  padding-right: 3rem;
}

.onboarding-dialog-close {
  position: absolute;
  top: 0.6rem;
  right: 0.85rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.1);
}

.onboarding-dialog-title {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.onboarding-dialog-intro {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: #dbe7f5;
}

.onboarding-dialog-list {
  margin: 0 0 0.75rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: #d5e0ef;
  font-size: 0.93rem;
}

.onboarding-dialog-remember {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.onboarding-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.word-dialog {
  max-width: min(100%, 36rem);
  width: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1rem;
  background: #1a222c;
  color: #f2f5f8;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
}

.word-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.speech-support-dialog {
  max-width: min(100%, 30rem);
  width: calc(100% - 2.4rem);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 1rem;
  background: #1a222c;
  color: #f2f5f8;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
}

.speech-support-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.speech-support-inner {
  position: relative;
  padding: 1rem 1.05rem 1.05rem;
  padding-right: 3rem;
}

.speech-support-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  background: #2a3544;
}

.speech-support-title {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

.speech-support-body {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
  color: #d5e0ef;
  white-space: pre-line;
}

.word-dialog-inner {
  position: relative;
  padding: 1rem 1.1rem 1.15rem;
}

.word-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  flex-wrap: nowrap;
}

.word-dialog-head .word-dialog-close {
  margin-left: auto;
  flex-shrink: 0;
}

.word-dialog-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.word-dialog-close {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  background: #2a3544;
}

.word-dialog-step {
  margin: 0 0 0.55rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  color: #c8d6e8;
  background: rgba(47, 63, 92, 0.35);
  border: 1px solid rgba(143, 163, 189, 0.18);
  border-radius: 0.45rem;
}

.word-range-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.6rem;
}

.word-dialog-reward-open--toolbar {
  margin-left: 0.5rem;
  flex-shrink: 0;
  min-height: 2.2rem;
  padding: 0 0.65rem;
  font-size: 0.82rem;
}

.word-range-btn {
  min-height: 2.35rem;
  padding: 0 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 999px;
  background: rgba(47, 63, 92, 0.62);
  border: 1px solid rgba(143, 163, 189, 0.28);
  box-shadow: 0 0.08rem 0.2rem rgba(8, 16, 28, 0.2);
  transition: filter 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.word-range-btn:hover,
.word-range-btn:focus-visible {
  filter: brightness(1.08);
  border-color: rgba(147, 197, 253, 0.45);
}

.word-range-btn:focus-visible {
  outline: 2px solid #6b95ff;
  outline-offset: 2px;
}

.word-range-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.word-range-status {
  font-size: 0.82rem;
  color: #9eb4cc;
  margin-left: auto;
}

.word-dialog-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.word-dialog-actions--tools {
  margin-bottom: 0.35rem;
  min-height: 0;
}

.word-dialog-actions--tools:has(#word-practice-cyrillic-toggle[hidden]) {
  display: none;
}

/* Avspilling og mikrofon rett over ordlinjene; pille-/chip-formede knapper (tydelig, avrundet) */
.word-dialog-media-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
  padding: 0.45rem 0 0.55rem;
  border-bottom: 1px solid rgba(143, 163, 189, 0.2);
}

.word-dialog-play.audio-play-chip {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.85rem;
  height: 2.65rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #a8d9ff 0%, #62acef 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0.1rem 0.35rem rgba(12, 40, 72, 0.32);
  opacity: 1;
  flex-shrink: 0;
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.word-dialog-play.audio-play-chip .audio-play-icon {
  width: 0.58rem;
  height: 0.76rem;
  margin-left: 0.04rem;
}

.word-dialog-play.audio-play-chip:hover,
.word-dialog-play.audio-play-chip:focus-visible {
  filter: brightness(1.07);
  box-shadow: 0 0.12rem 0.45rem rgba(12, 40, 72, 0.38);
}

.word-dialog-play.audio-play-chip:focus-visible {
  outline: 2px solid #b8e0ff;
  outline-offset: 2px;
}

.word-dialog-speak-icon {
  display: block;
  font-size: 1.22rem;
  line-height: 1;
}

.word-dialog-speak.word-dialog-speak--chip {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.85rem;
  min-height: 2.65rem;
  height: 2.65rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: 1rem;
  flex-shrink: 0;
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.word-dialog-speak.word-dialog-speak--chip:hover,
.word-dialog-speak.word-dialog-speak--chip:focus-visible {
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .word-dialog-speak.word-dialog-speak--chip:not(.is-recording) {
    animation: none;
  }
}

.word-dialog-speed-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  max-width: calc(100% - 3.25rem);
  padding: 0.45rem 0.6rem;
  font-size: 0.88rem;
  color: #c8d4e6;
  background: rgba(24, 32, 44, 0.85);
  border: 1px solid rgba(143, 163, 189, 0.28);
  border-radius: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.word-dialog-speed-label {
  flex: 0 0 auto;
  margin: 0;
  font-weight: 500;
  color: #9eb4cc;
}

.word-dialog-speed-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.word-dialog-speed-value {
  min-width: 2.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #e2e8f0;
}

.word-dialog-speed-btn {
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0 0.35rem;
  font-size: 1.1rem;
  line-height: 1;
  background: rgba(47, 63, 92, 0.55);
  border: 1px solid rgba(143, 163, 189, 0.22);
}

.word-dialog-speed-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.image-level-earned-quote-play.audio-play-round {
  min-width: 2.35rem;
  min-height: 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}

.image-level-earned-quote-play.audio-play-round:hover,
.image-level-earned-quote-play.audio-play-round:focus-visible {
  filter: brightness(1.06);
}

.word-dialog-speak {
  min-width: 2.9rem;
  min-height: 2.9rem;
  padding: 0;
  font-size: 1.08rem;
  opacity: 1;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  border: 1px solid rgba(134, 239, 172, 0.62);
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.4), 0 0 14px rgba(22, 163, 74, 0.35);
  animation: wordSpeakPulse 2.1s ease-in-out infinite;
}

.word-dialog-speak.is-recording {
  background: rgba(153, 27, 27, 0.65);
  border-color: rgba(252, 165, 165, 0.45);
  animation: none;
}

.word-dialog-reward-open {
  margin-left: auto;
  min-height: 2.3rem;
  padding: 0 0.85rem;
  font-size: 0.86rem;
  color: #ecfdf3;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  border: 1px solid rgba(134, 239, 172, 0.62);
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.3);
}

.word-dialog-reward-open::before {
  content: "⭐ ";
}

.word-dialog-points {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: #c7f9cc;
  white-space: pre-line;
  font-weight: 700;
}

@keyframes wordSpeakPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.42), 0 0 12px rgba(22, 163, 74, 0.28);
  }
  50% {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.65), 0 0 20px rgba(74, 222, 128, 0.45);
  }
}

.word-dialog-heard {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #9eb4cc;
}

.practice-tip {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #8fa3bd;
}

.practice-tip--attention {
  animation: practiceTipPulse 1.8s ease-in-out infinite;
}

.chat-msg-row--spotlight .chat-msg--no {
  animation: latestBlockPulse 1.8s ease-in-out infinite;
}

.chat-msg-row--spotlight .chat-msg--no {
  box-shadow: 0 0 0 2px rgba(107, 149, 255, 0.18);
}

.chat-msg-row--spotlight .chat-msg--no:hover {
  box-shadow: 0 0 16px 4px rgba(107, 149, 255, 0.42);
  filter: brightness(1.07);
  animation: none;
}

/* Siste bruker- og assistent-melding (kun norsk): tre milde glød-pulser per 10 s */
.chat-msg-row--engage .chat-msg--no {
  animation: engageGlow 10s ease-in-out infinite;
}

/* Må ligge etter animasjonsregelen — ellers vinner engageGlow og nullstiller glød ved hover */
.chat-msg-row--engage .chat-msg--no:hover {
  animation: none;
  box-shadow: 0 0 16px 4px rgba(107, 149, 255, 0.42);
  filter: brightness(1.07);
}

.chat-msg-row--engage.chat-msg-row--spotlight .chat-msg--no {
  box-shadow: none;
}

.chat-msg-row--engage.chat-msg-row--spotlight .chat-msg--no:hover {
  box-shadow: 0 0 16px 4px rgba(107, 149, 255, 0.42);
  filter: brightness(1.07);
}

@keyframes engageGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
    filter: brightness(1);
  }
  0.8% {
    box-shadow: 0 0 16px 4px rgba(107, 149, 255, 0.42);
    filter: brightness(1.07);
  }
  1.6% {
    box-shadow: 0 0 0 0 transparent;
    filter: brightness(1);
  }
  33% {
    box-shadow: 0 0 16px 4px rgba(107, 149, 255, 0.42);
    filter: brightness(1.07);
  }
  33.8% {
    box-shadow: 0 0 0 0 transparent;
    filter: brightness(1);
  }
  66% {
    box-shadow: 0 0 16px 4px rgba(107, 149, 255, 0.42);
    filter: brightness(1.07);
  }
  66.8% {
    box-shadow: 0 0 0 0 transparent;
    filter: brightness(1);
  }
}

@keyframes practiceTipPulse {
  0%,
  100% {
    opacity: 0.85;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@keyframes latestBlockPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.015);
    opacity: 1;
  }
}

.word-dialog-body {
  font-size: clamp(1.05rem, 4vw, 1.2rem);
  line-height: 1.65;
  word-break: break-word;
  min-height: 3rem;
  max-height: min(45vh, 20rem);
  overflow-y: auto;
  padding-right: 0.2rem;
}

.word-chunk {
  margin: 0 0 0.55rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(143, 163, 189, 0.2);
  background: rgba(32, 44, 62, 0.45);
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.word-chunk:last-child {
  margin-bottom: 0;
}

.word-chunk--active {
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
  background: rgba(30, 64, 175, 0.18);
}

.word-chunk--active:not(.word-chunk--active-start) {
  border-top-left-radius: 0.28rem;
  border-top-right-radius: 0.28rem;
}

.word-chunk--active:not(.word-chunk--active-end) {
  border-bottom-left-radius: 0.28rem;
  border-bottom-right-radius: 0.28rem;
  margin-bottom: 0.15rem;
}

.word-chunk--completed {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(22, 101, 52, 0.12);
  opacity: 0.78;
}

.word-chunk--completed.word-chunk--active {
  opacity: 1;
  border-color: rgba(74, 222, 128, 0.75);
  background: rgba(22, 101, 52, 0.2);
}

.word-chunk-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.word-chunk-side-controls {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.word-chunk-trim {
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  background: rgba(47, 63, 92, 0.55);
  border: 1px solid rgba(143, 163, 189, 0.28);
  box-shadow: 0 0.08rem 0.18rem rgba(8, 16, 28, 0.18);
  transition: filter 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.word-chunk-trim:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.word-chunk-trim:not(:disabled):hover,
.word-chunk-trim:not(:disabled):focus-visible {
  filter: brightness(1.08);
  border-color: rgba(147, 197, 253, 0.65);
  transform: scale(1.04);
}

.word-chunk-trim:not(:disabled):focus-visible {
  outline: 2px solid #6b95ff;
  outline-offset: 2px;
}

.word-chunk-tokens {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.word-dialog-word-tip {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #9eb4cc;
  font-style: italic;
}

.word-dialog-word-tip--speech {
  font-style: normal;
  color: #c8d6e8;
  white-space: pre-wrap;
}

.word-dialog-word-tip[hidden] {
  display: none !important;
}

.word-dialog-translation {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #8fa3bd;
}

.word-dialog-translation-token {
  display: inline-block;
  margin: 0 0.08rem;
  padding: 0.04rem 0.14rem;
  border-radius: 0.32rem;
}

.word-dialog-translation-token--active {
  background: rgba(59, 130, 246, 0.22);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.35);
}

.word-dialog-translation[hidden] {
  display: none !important;
}

.word-dialog-help {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #8fa3bd;
}

.word-dialog-help.word-dialog-help--intro {
  margin: 0 0 0.75rem;
  padding-right: 0;
}

.word-dialog-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.word-dialog-nav[hidden] {
  display: none !important;
}

.word-dialog-nav .btn[hidden] {
  display: none !important;
}

.word-dialog-nav .btn {
  flex: 1;
  min-width: 8rem;
  min-height: 2.85rem;
  font-weight: 500;
  border-radius: 999px;
  background: linear-gradient(180deg, #3a4f72 0%, #2f3f5c 100%);
  border: 1px solid rgba(143, 163, 189, 0.28);
  box-shadow: 0 0.1rem 0.25rem rgba(8, 16, 28, 0.22);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.word-dialog-nav .btn:hover,
.word-dialog-nav .btn:focus-visible {
  filter: brightness(1.08);
}

.word-dialog-nav .btn:focus-visible {
  outline: 2px solid #6b95ff;
  outline-offset: 2px;
}

.word-dialog-nav .word-dialog-prev,
.word-dialog-nav .word-dialog-next {
  flex: 0 0 auto;
  min-width: 2.85rem;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  font-size: 1.25rem;
  line-height: 1;
}

/* Én synlig pil: neste til høyre, forrige til venstre */
.word-dialog-nav:has(#word-practice-prev[hidden]):not(:has(#word-practice-next[hidden])) {
  justify-content: flex-end;
}

.word-dialog-nav:has(#word-practice-next[hidden]):not(:has(#word-practice-prev[hidden])) {
  justify-content: flex-start;
}

.word-token {
  display: inline-block;
  margin: 0.1rem 0.12rem;
  padding: 0.15rem 0.35rem;
  font: inherit;
  color: inherit;
  vertical-align: baseline;
  background: #2a3544;
  border: 1px solid #3d4d62;
  border-radius: 0.4rem;
  cursor: pointer;
}

.word-token:hover {
  background: #354558;
}

.word-token--hit {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.72) 0%, rgba(21, 128, 61, 0.68) 100%);
  border: 1px solid rgba(134, 239, 172, 0.72);
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.38), 0 0 12px rgba(22, 163, 74, 0.32);
}

/* Teksttreff men lav Whisper-konfidens / fuzzy — teller ikke som «sterkt» treff for poeng */
.word-token--hit-weak {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(252, 211, 77, 0.55);
  color: #fef3c7;
}

.word-token--muted.word-token--hit {
  padding: 0.06rem 0.3rem;
  border: 1px solid rgba(134, 239, 172, 0.72);
  border-radius: 0.35rem;
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.72) 0%, rgba(21, 128, 61, 0.68) 100%);
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.38), 0 0 10px rgba(22, 163, 74, 0.28);
}

.word-token--muted.word-token--hit-weak {
  padding: 0.06rem 0.3rem;
  border: 1px solid rgba(252, 211, 77, 0.55);
  border-radius: 0.35rem;
  background: rgba(251, 191, 36, 0.14);
  color: #fef3c7;
}

.word-token:focus-visible {
  outline: 2px solid #6b95ff;
  outline-offset: 1px;
}

.word-token--muted {
  display: inline-block;
  margin: 0.1rem 0.12rem;
  padding: 0;
  font: inherit;
  color: #8a9aac;
  cursor: default;
  background: transparent;
  border: none;
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .chat-msg-row--engage .chat-msg--no {
    animation: none;
  }

  .chat-msg--no {
    transition: none;
  }
}

/* ── Streak welcome card ── */

.streak-welcome {
  margin: 1.5rem auto 0;
  max-width: 22rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(143, 163, 189, 0.18);
  text-align: center;
}

.streak-welcome-today {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.streak-welcome-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.streak-welcome-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fdba74;
}

.streak-welcome-best {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(143, 163, 189, 0.12);
}

.streak-welcome-best-icon {
  font-size: 1rem;
  line-height: 1;
}

.streak-welcome-best-text {
  font-size: 0.88rem;
  color: #94a3b8;
}
