/* =========================================================================
   Lär dig svenska — Duolingo-inspired design system
   Vanilla CSS, no build step. Mobile-first, responsive.
   ========================================================================= */

:root {
  /* Brand palette (Duolingo-ish, our own values) */
  --green:        #58cc02;
  --green-dark:   #4aa802;   /* button "underside" */
  --green-hover:  #61e002;
  --blue:         #1cb0f6;
  --blue-dark:    #1899d6;
  --purple:       #ce82ff;
  --purple-dark:  #a568cc;
  --gold:         #ffc800;
  --gold-dark:    #e6a800;
  --red:          #ff4b4b;
  --red-dark:     #e63f3f;
  --orange:       #ff9600;

  /* Neutrals */
  --ink:          #3c3c3c;
  --ink-soft:     #777777;
  --line:         #e5e5e5;
  --line-dark:    #cfcfcf;
  --bg:           #ffffff;
  --bg-soft:      #f7f7f7;
  --locked:       #e5e5e5;
  --locked-dark:  #cfcfcf;
  --locked-ink:   #afafaf;

  --radius:       16px;
  --radius-lg:    22px;
  --shadow-btn:   0 4px 0;      /* used with a color */
  --maxw:         480px;

  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}

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

.app {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100%;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0,0,0,.06);
}

/* ---------------------------------------------------------------- Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-top, 0px));
  padding-top: max(12px, env(safe-area-inset-top, 0px));
  background: var(--bg);
  border-bottom: 2px solid var(--line);
}
.topbar__brand {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0; color: var(--ink);
  font-weight: 900; font-size: 20px;
  flex-shrink: 0;
}
.topbar__moose { font-size: 26px; }
.topbar__title { color: var(--green); letter-spacing: .3px; }
@media (max-width: 380px) {
  .topbar__title { display: none; }
}

/* Scrolls internally (instead of pushing the settings button off-screen)
   if the stat values ever get wide — the settings button lives outside
   this container so it always stays fully on-screen and clickable. */
.topbar__stats {
  display: flex; align-items: center; gap: 10px;
  flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  margin: 0 -2px; padding: 0 2px;
}
.topbar__stats::-webkit-scrollbar { display: none; }
.stat { display: flex; align-items: center; gap: 5px; font-weight: 800; font-size: 17px; flex-shrink: 0; }
.stat__icon { font-size: 20px; line-height: 1; }
.stat--streak .stat__val { color: var(--orange); }
.stat--xp .stat__val { color: var(--gold-dark); }
.stat--hearts .stat__val { color: var(--red); }

/* ---------------------------------------------------------------- View */
.view {
  flex: 1;
  width: 100%;
  padding-bottom: 90px; /* room for tabbar */
}
.wrap { padding: 16px; max-width: var(--maxw); margin: 0 auto; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  box-shadow: 0 4px 0 var(--green-dark);
  transition: transform .05s ease, box-shadow .05s ease, filter .1s ease, background .1s ease;
  user-select: none;
  width: 100%;
}
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--green-dark); }
.btn--blue   { background: var(--blue);   box-shadow: 0 4px 0 var(--blue-dark); }
.btn--blue:active { box-shadow: 0 0 0 var(--blue-dark); }
.btn--gold   { background: var(--gold);   box-shadow: 0 4px 0 var(--gold-dark); color:#4b3b00;}
.btn--gold:active { box-shadow: 0 0 0 var(--gold-dark); }
.btn--red    { background: var(--red);    box-shadow: 0 4px 0 var(--red-dark); }
.btn--red:active { box-shadow: 0 0 0 var(--red-dark); }
.btn--ghost  {
  background: #fff; color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--line), 0 2px 0 var(--line);
  border-bottom: 2px solid var(--line);
}
.btn--ghost:active { transform: translateY(2px); }
.btn[disabled], .btn--disabled {
  background: var(--line) !important;
  color: var(--locked-ink) !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
}
.btn--sm { padding: 10px 14px; font-size: 14px; width: auto; }
.btn--auto { width: auto; }

/* ---------------------------------------------------------------- Mascot */
.mascot { width: 120px; height: 120px; display: block; }
.mascot--sm { width: 64px; height: 64px; }
.mascot--lg { width: 168px; height: 168px; }
.speech {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-weight: 800;
  color: var(--ink);
  max-width: 280px;
}
.speech small { display:block; color: var(--ink-soft); font-weight: 700; font-size: 13px; margin-top: 2px;}
.speech::after {
  content:""; position:absolute; left:-10px; top:22px;
  border: 10px solid transparent; border-right-color: #fff;
}
.speech::before {
  content:""; position:absolute; left:-13px; top:21px;
  border: 11px solid transparent; border-right-color: var(--line);
}

/* ---------------------------------------------------------------- Home / Path */
.home-hero {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 16px 6px;
}
.path {
  position: relative;
  padding: 8px 0 40px;
}

.unit-banner {
  margin: 10px 16px 6px;
  border-radius: var(--radius);
  padding: 16px 18px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 4px 0 rgba(0,0,0,.15);
}
.unit-banner__meta { display: flex; flex-direction: column; gap: 2px; }
.unit-banner__kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing:.8px; opacity:.85;}
.unit-banner__title { font-size: 20px; font-weight: 900; }
.unit-banner__icon { font-size: 34px; }

.node-row {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 6px 0;
}
.node-row--first { margin-top: 34px; } /* room for the START/COMEÇAR bubble above the first node */
.node-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.node {
  --node: var(--green);
  --node-dark: var(--green-dark);
  width: 74px; height: 66px;
  border: 0;
  border-radius: 50%;
  background: var(--node);
  box-shadow: 0 7px 0 var(--node-dark);
  display: grid; place-items: center;
  font-size: 32px;
  position: relative;
  transition: transform .06s ease, box-shadow .06s ease;
}
.node:active { transform: translateY(6px); box-shadow: 0 1px 0 var(--node-dark); }
.node--locked {
  --node: var(--locked); --node-dark: var(--locked-dark);
  color: var(--locked-ink);
  filter: none;
}
.node--locked .node__icon { filter: grayscale(1) opacity(.55); }
.node--done { --node: var(--gold); --node-dark: var(--gold-dark); }
.node__check {
  position:absolute; inset:0; display:grid; place-items:center; font-size: 30px; color:#fff;
}
.node__ring {
  position: absolute; inset: -7px;
  border-radius: 50%;
  border: 4px solid var(--node);
  opacity: .35;
}
.node--active::after {
  content:""; position:absolute; inset:-10px; border-radius:50%;
  border: 4px solid var(--node);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity:.6;}
  100% { transform: scale(1.35); opacity:0;}
}
.start-bubble {
  position: absolute; top: -42px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--green);
  font-size: 12px; font-weight: 900; letter-spacing: .6px;
  padding: 6px 12px; border-radius: 12px;
  box-shadow: 0 2px 0 var(--line);
  border: 2px solid var(--line);
  white-space: nowrap;
}
.start-bubble::after {
  content:""; position:absolute; bottom:-8px; left:50%; transform:translateX(-50%);
  border: 6px solid transparent; border-top-color:#fff;
}
.node__label {
  margin-top: 8px; font-size: 12px; color: var(--ink-soft);
  max-width: 110px; text-align: center; font-weight: 800;
}

/* card list (culture / phrasebook) */
.card {
  background: #fff;
  border: 2px solid var(--line);
  border-bottom-width: 3px;
  border-radius: var(--radius);
  padding: 16px;
  margin: 12px 16px;
}
.card__row { display:flex; align-items:center; gap:14px; }
.card__emoji { font-size: 34px; }
.card__title { font-weight: 900; font-size: 17px; }
.card__sub { color: var(--ink-soft); font-weight: 700; font-size: 14px; }
.card__body { margin-top: 10px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.sv-hl { color: var(--blue-dark); font-weight: 900; }

.section-title { font-size: 22px; font-weight: 900; margin: 18px 16px 4px; }
.section-sub { color: var(--ink-soft); font-weight: 700; margin: 0 16px 8px; }

/* phrasebook / vocab rows */
.vrow {
  display:flex; align-items:center; gap: 12px;
  background:#fff; border:2px solid var(--line); border-bottom-width:3px;
  border-radius: var(--radius);
  padding: 12px 14px; margin: 8px 16px;
}
.vrow__emoji { font-size: 28px; width: 34px; text-align:center; }
.vrow__text { flex:1; min-width:0; }
.vrow__sv { font-weight: 900; font-size: 17px; }
.vrow__en { color: var(--ink-soft); font-weight: 700; font-size: 14px; }
.vrow__play {
  border:0; background: var(--blue); color:#fff; border-radius: 50%;
  width: 40px; height: 40px; font-size: 18px; display:grid; place-items:center;
  box-shadow: 0 3px 0 var(--blue-dark);
}
.vrow__play:active { transform: translateY(3px); box-shadow:none; }

/* ---------------------------------------------------------------- Lesson / exercises */
.lesson {
  position: fixed; inset: 0; z-index: 50;
  background: #fff;
  display: flex; flex-direction: column;
  max-width: var(--maxw); margin: 0 auto;
}
.lesson__header {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top, 0px));
}
.lesson__close {
  border:0; background:none; font-size: 26px; color: var(--locked-ink); font-weight: 900;
  line-height: 1; padding: 4px;
}
.progress-track {
  flex: 1; height: 16px; background: var(--line); border-radius: 999px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--green); border-radius: 999px;
  width: 0%; transition: width .3s ease;
  position: relative;
}
.progress-fill::after {
  content:""; position:absolute; top:3px; left:8px; right:8px; height:5px;
  background: rgba(255,255,255,.35); border-radius:999px;
}
.lesson__hearts { display:flex; align-items:center; gap:4px; color: var(--red); font-weight: 900; }

.lesson__body {
  flex: 1; overflow-y: auto;
  padding: 8px 20px 20px;
  display: flex; flex-direction: column;
}
.ex { max-width: 420px; width:100%; margin: 0 auto; flex:1; display:flex; flex-direction:column; }
.ex__title { font-size: 22px; font-weight: 900; margin: 8px 0 18px; }

.ex__stage {
  display:flex; flex-direction:column; align-items:center; gap: 6px; margin-bottom: 16px;
}
.ex__image {
  width: 160px; height: 160px; border-radius: var(--radius-lg);
  background: var(--bg-soft); border: 2px solid var(--line);
  display: grid; place-items: center; font-size: 88px;
}
.ex__image--sm { width: 96px; height: 96px; font-size: 52px; }

.bigword {
  display:flex; align-items:center; gap: 12px; justify-content:center;
  margin: 8px 0;
}
.bigword__sv { font-size: 30px; font-weight: 900; }
.ipa {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  font-family: "Charis SIL", "Doulos SIL", "Segoe UI", "Noto Sans", "DejaVu Sans", Arial, sans-serif;
  font-style: italic;
}
.ipa--sm { font-size: 11px; margin-top: 1px; }
.speaker {
  border:0; background: var(--blue); color:#fff; border-radius: 14px;
  width: 52px; height: 52px; font-size: 22px; display:grid; place-items:center;
  box-shadow: 0 4px 0 var(--blue-dark);
}
.speaker:active { transform: translateY(4px); box-shadow:none; }
.speaker--lg { width:64px; height:64px; font-size:26px; }
.speaker.is-playing { animation: wiggle .4s ease; }
@keyframes wiggle { 25%{transform:rotate(-8deg);} 75%{transform:rotate(8deg);} }

/* choices */
.choices { display: grid; gap: 12px; margin-top: 4px; }
.choices--grid { grid-template-columns: 1fr 1fr; }
.choice {
  border: 2px solid var(--line); border-bottom-width: 4px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 16px; font-size: 17px; font-weight: 800;
  text-align: center; transition: all .08s ease;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.choice:active { transform: translateY(2px); }
.choice.is-selected { border-color: var(--blue); background: #ddf4ff; color: var(--blue-dark); }
.choice.is-correct  { border-color: var(--green); background: #d7ffb8; color: #4c8a02; }
.choice.is-wrong    { border-color: var(--red); background: #ffdfe0; color: var(--red-dark); }
.choice[disabled] { cursor: default; }
.choice__emoji { font-size: 44px; }
.choice__num { font-weight:900; font-size:18px; opacity:.6; }

/* match pairs */
.match { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.match-tile {
  border:2px solid var(--line); border-bottom-width:4px; background:#fff;
  border-radius: var(--radius); padding: 14px 10px; font-weight: 800; font-size: 15px;
  min-height: 56px; display:flex; align-items:center; justify-content:center; gap:6px;
  text-align:center;
}
.match-tile__word { display:flex; flex-direction:column; align-items:center; line-height:1.2; }
.match-tile.is-selected { border-color: var(--blue); background:#ddf4ff; color: var(--blue-dark); }
.match-tile.is-cleared  { visibility: hidden; }
.match-tile.is-bad { animation: shake .3s; border-color: var(--red); }
@keyframes shake { 0%,100%{transform:translateX(0);} 25%{transform:translateX(-6px);} 75%{transform:translateX(6px);} }

/* word bank (fill blank / build sentence) */
.sentence {
  font-size: 20px; font-weight: 800; text-align:center; margin: 6px 0 18px; line-height: 1.8;
}
.blank {
  display:inline-block; min-width: 90px; border-bottom: 3px solid var(--line-dark);
  margin: 0 4px; color: var(--blue-dark);
}
.answer-row {
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
  min-height: 56px; padding: 8px; border-bottom: 2px dashed var(--line);
  margin-bottom: 20px;
}
.wordbank { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.chip {
  border:2px solid var(--line); border-bottom-width:4px; background:#fff;
  border-radius: 14px; padding: 10px 14px; font-weight:800; font-size:16px;
}
.chip:active { transform: translateY(2px); }
.chip.is-used { opacity:.25; pointer-events:none; }

/* flashcards */
.flashcard {
  perspective: 1200px; width: 100%; max-width: 340px; height: 300px; margin: 0 auto;
}
.flashcard__inner {
  position: relative; width:100%; height:100%;
  transition: transform .5s; transform-style: preserve-3d;
}
.flashcard.is-flipped .flashcard__inner { transform: rotateY(180deg); }
.flashcard__face {
  position:absolute; inset:0; backface-visibility:hidden;
  border:2px solid var(--line); border-radius: var(--radius-lg);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  background:#fff; padding: 16px;
}
.flashcard__face--back { transform: rotateY(180deg); background: #f0fbff; }
.flashcard__emoji { font-size: 84px; }
.flashcard__word { display:flex; flex-direction:column; align-items:center; gap:4px; }
.flashcard__sv { font-size: 30px; font-weight:900; }
.flashcard__en { font-size: 22px; font-weight:800; color: var(--ink-soft); }
.flashcard__hint { font-size: 13px; color: var(--ink-soft); font-weight:700; }
.dots { display:flex; gap:6px; justify-content:center; margin: 14px 0; }
.dot { width:8px; height:8px; border-radius:50%; background: var(--line); }
.dot.is-on { background: var(--blue); }

/* ---------------------------------------------------------------- Foot bar / feedback */
.footbar {
  border-top: 2px solid var(--line);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  transition: background .15s ease;
}
.footbar--correct { background: #d7ffb8; border-top-color: #bfe89a; }
.footbar--wrong   { background: #ffdfe0; border-top-color: #f4b8ba; }
.feedback { display:flex; align-items:flex-start; gap:12px; margin-bottom: 14px; }
.feedback__icon {
  width:44px; height:44px; border-radius:50%; display:grid; place-items:center;
  font-size:24px; flex: none; background:#fff;
}
.footbar--correct .feedback__icon { color: var(--green); }
.footbar--wrong   .feedback__icon { color: var(--red); }
.feedback__title { font-weight:900; font-size:18px; }
.footbar--correct .feedback__title { color:#4c8a02; }
.footbar--wrong   .feedback__title { color: var(--red-dark); }
.feedback__answer { font-weight:800; font-size:15px; margin-top:2px; }
.footbar--wrong .feedback__answer { color: var(--red-dark); }

/* ---------------------------------------------------------------- Celebration */
.celebrate {
  position: fixed; inset:0; z-index: 60; background:#fff;
  max-width: var(--maxw); margin: 0 auto;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding: 24px; gap: 8px;
}
.celebrate h1 { font-size: 30px; color: var(--gold-dark); margin: 6px 0 0; }
.celebrate .sv { font-size: 20px; color: var(--ink-soft); }
.reward-row { display:flex; gap:14px; margin: 20px 0; }
.reward {
  border:2px solid var(--gold); border-radius: var(--radius); padding: 12px 18px;
  min-width: 100px;
}
.reward__label { font-size:12px; text-transform:uppercase; letter-spacing:.6px; color: var(--gold-dark);}
.reward__val { font-size: 24px; font-weight:900; color: var(--ink); }
.stars { font-size: 40px; letter-spacing: 6px; }

.confetti { position: fixed; inset:0; pointer-events:none; z-index: 70; display:none; }
.confetti.is-on { display:block; }

/* ---------------------------------------------------------------- Tabbar */
.tabbar {
  position: fixed; left:50%; transform: translateX(-50%); bottom: 0;
  width: 100%; max-width: var(--maxw);
  display: flex; background:#fff; border-top: 2px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 25;
}
.tab {
  flex:1; border:0; background:none; padding: 10px 4px;
  display:flex; flex-direction:column; align-items:center; gap:2px;
  color: var(--ink-soft); font-weight:800; font-size: 11px;
}
.tab__icon { font-size: 22px; }
.tab.is-active { color: var(--blue-dark); }
.tab.is-active .tab__icon { transform: scale(1.12); }

/* ---------------------------------------------------------------- Misc */
.empty { text-align:center; color: var(--ink-soft); padding: 40px 20px; font-weight:700; }
.center { text-align:center; }
.muted { color: var(--ink-soft); font-weight:700; }
.spacer { height: 12px; }
.fadein { animation: fadein .25s ease; }
@keyframes fadein { from { opacity:0; transform: translateY(6px);} to {opacity:1; transform:none;} }

.legal { font-size:12px; color: var(--locked-ink); text-align:center; padding: 20px; font-weight:700; }

/* settings button (topbar) — lives outside .topbar__stats so it always
   stays full-size & on-screen (see .topbar__stats above). Shows the active
   profile's initials, so it also doubles as "who's using this device". */
.avatar-btn {
  flex-shrink: 0;
  border: 2px solid var(--blue); background: var(--blue); color: #fff;
  border-radius: 50%; width: 34px; height: 34px; font-size: 13px; font-weight: 900;
  line-height: 1; padding: 0; display: grid; place-items: center;
  box-shadow: 0 2px 0 var(--blue-dark);
}
.avatar-btn:active { transform: translateY(2px); box-shadow: none; }

/* welcome & setup (onboarding) */
.onboard {
  position: fixed; inset: 0; z-index: 55; background: #fff;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
.onboard--center { justify-content: center; text-align: center; gap: 4px; }
.onboard h1 { font-size: 30px; color: var(--green); margin: 14px 0 2px; }
.onboard .lead { color: var(--ink-soft); font-weight: 700; max-width: 320px; margin: 0 0 8px; }
.onboard__flags { font-size: 30px; letter-spacing: 4px; margin-bottom: 4px; }
.onboard__spacer { flex: 1; }
.onboard__footer { width: 100%; max-width: 400px; margin-top: 18px; }

.setup-head { display:flex; align-items:center; justify-content:space-between; width:100%; max-width: 400px; margin-bottom: 6px; }
.setup-head h1 { font-size: 24px; margin: 0; color: var(--ink); }
.setup-close { border:0; background:none; font-size: 24px; color: var(--locked-ink); font-weight:900; }
.setup-group { width: 100%; max-width: 400px; margin: 14px 0 4px; }
.setup-group__label { font-weight: 800; color: var(--ink-soft); font-size: 14px; text-transform: uppercase; letter-spacing:.6px; margin-bottom: 8px; }
.lang-option {
  width: 100%; display:flex; align-items:center; gap: 14px;
  border: 2px solid var(--line); border-bottom-width: 4px; background:#fff;
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px;
  font-weight: 800; font-size: 17px; color: var(--ink);
}
.lang-option:active { transform: translateY(2px); }
.lang-option.is-selected { border-color: var(--blue); background: #ddf4ff; color: var(--blue-dark); }
.lang-option[disabled] { opacity: .5; }
.lang-option__flag { font-size: 28px; }
.lang-option__meta { flex:1; text-align:left; }
.lang-option__sub { display:block; font-size:12px; color: var(--ink-soft); font-weight:700; }
.lang-option__check { color: var(--blue); font-weight: 900; }

.text-input {
  width: 100%; box-sizing: border-box;
  border: 2px solid var(--line); border-bottom-width: 4px; border-radius: var(--radius);
  padding: 14px 16px; font-weight: 800; font-size: 17px; color: var(--ink);
  font-family: inherit; background: #fff;
}
.text-input:focus { outline: none; border-color: var(--blue); }
.text-input--error { border-color: var(--red); }

.profile-row {
  width: 100%; display: flex; align-items: center; gap: 14px;
  border: 2px solid var(--line); border-bottom-width: 4px; background: #fff;
  border-radius: var(--radius); padding: 10px 16px; margin-bottom: 10px;
  font-weight: 800; font-size: 17px; color: var(--ink);
}
.profile-row:active { transform: translateY(2px); }
.profile-row.is-active { border-color: var(--blue); background: #ddf4ff; color: var(--blue-dark); }
.profile-row[disabled] { opacity: 1; }
.profile-row__avatar {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 900;
  display: grid; place-items: center;
}
.profile-row__name { flex: 1; text-align: left; }
.profile-row__check { color: var(--blue); font-weight: 900; }
.profile-row__go { color: var(--locked-ink); font-weight: 900; font-size: 22px; line-height: 1; }

.setup-danger {
  width: 100%; max-width: 400px; margin: 22px 0 4px; padding: 14px;
  border: 2px solid #ffd2d2; border-radius: var(--radius); background: #fff6f6;
}
.setup-danger__label { font-weight: 800; color: var(--red-dark); font-size: 14px; text-transform: uppercase; letter-spacing:.6px; margin-bottom: 6px; }
.setup-danger__desc { color: var(--ink-soft); font-weight: 700; font-size: 14px; margin-bottom: 12px; }

@media (min-width: 481px) {
  .app { min-height: 100vh; }
}
