/* Flashcard session — SaaS native (cream / teal) */

body:has(.flashcard-module.fc-native) {
  margin: 0;
  background: #faf8f5;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.flashcard-module.fc-native {
  min-height: 100dvh;
  background: transparent;
  color: #1c1917;
}

.flashcard-module.fc-native .header-glow,
.flashcard-module.fc-native .fc-mascot,
.flashcard-module.fc-native .theme-bg-overlay {
  display: none !important;
}

/* ── Game HUD header v2 ── */

.flashcard-module.fc-native .flashcard-header.fc-hud {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 8px 10px 10px;
  padding-top: max(8px, env(safe-area-inset-top));
  background: linear-gradient(180deg, #fef3c7 0%, #faf8f5 55%, rgba(250, 248, 245, 0.96) 100%);
  border-bottom: 3px solid #d97706;
  box-shadow: 0 6px 0 rgba(217, 119, 6, 0.12), 0 12px 32px rgba(28, 25, 23, 0.06);
}

.flashcard-module.fc-native .fc-hud__ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.flashcard-module.fc-native .fc-hud__back {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid rgba(120, 113, 108, 0.15);
  border-radius: 10px;
  background: #fff;
  color: #57534e;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(120, 113, 108, 0.12);
}

.flashcard-module.fc-native .fc-hud__player {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 38%;
  padding: 3px 8px 3px 3px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(254,243,199,0.85) 100%);
  border: 2px solid rgba(217, 119, 6, 0.28);
  box-shadow: 0 2px 0 rgba(217, 119, 6, 0.12);
}

.flashcard-module.fc-native .fc-hud__portrait {
  position: relative;
  flex-shrink: 0;
}

.flashcard-module.fc-native .fc-hud__avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid #0d9488;
  box-shadow: 0 0 0 2px #fff, 0 3px 0 rgba(13, 148, 136, 0.35);
  background: linear-gradient(135deg, #ecfdf5, #fff);
  display: grid;
  place-items: center;
}

.flashcard-module.fc-native .fc-hud__avatar.is-guest {
  border-color: #a8a29e;
  box-shadow: 0 0 0 2px #fff, 0 3px 0 rgba(120, 113, 108, 0.2);
}

.flashcard-module.fc-native .fc-hud__avatar-rim {
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  pointer-events: none;
}

.flashcard-module.fc-native .fc-hud__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.flashcard-module.fc-native .fc-hud__avatar-fallback { font-size: 0.95rem; font-weight: 900; color: #0d9488; }
.flashcard-module.fc-native .fc-hud__avatar.is-guest .fc-hud__avatar-fallback { color: #78716c; }

.flashcard-module.fc-native .fc-hud__player-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.flashcard-module.fc-native .fc-hud__player-tag {
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d97706;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flashcard-module.fc-native .fc-hud__name {
  font-size: 0.76rem;
  font-weight: 900;
  color: #1c1917;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.flashcard-module.fc-native .fc-hud__name.is-guest {
  color: #57534e;
}

.flashcard-module.fc-native .fc-hud__mode-tag {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #78716c;
}

.flashcard-module.fc-native .fc-hud__mode-tag[data-mode="quiz"] { color: #2563eb; }
.flashcard-module.fc-native .fc-hud__mode-tag[data-mode="flip"] { color: #0d9488; }

.flashcard-module.fc-native .fc-hud__level {
  font-size: 0.68rem;
  font-weight: 800;
  color: #57534e;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flashcard-module.fc-native .fc-hud__scoreboard {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  min-width: 0;
}

.flashcard-module.fc-native .fc-hud__score {
  padding: 4px 2px;
  border-radius: 9px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(120, 113, 108, 0.1);
  box-shadow: inset 0 -2px 0 rgba(120, 113, 108, 0.06);
}

.flashcard-module.fc-native .fc-hud__score b {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
}

.flashcard-module.fc-native .fc-hud__score small {
  display: block;
  font-size: 0.48rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #78716c;
}

.flashcard-module.fc-native .fc-hud__score--xp b { color: #d97706; }
.flashcard-module.fc-native .fc-hud__score--pts b { color: #2563eb; }
.flashcard-module.fc-native .fc-hud__score--time b { color: #57534e; font-size: 0.68rem; }
.flashcard-module.fc-native .fc-hud__score--streak b { color: #0d9488; }

.flashcard-module.fc-native .fc-hud__gear {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid rgba(13, 148, 136, 0.22);
  border-radius: 9px;
  background: #fff;
  color: #0f766e;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.flashcard-module.fc-native .fc-hud__collapse {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid rgba(180, 83, 9, 0.22);
  border-radius: 9px;
  background: #fff;
  color: #92400e;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 0 rgba(180, 83, 9, 0.12);
}

.flashcard-module.fc-native .fc-hud__collapse-icon {
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease;
}

.flashcard-module.fc-native .fc-hud.is-collapsed .fc-hud__collapse-icon {
  transform: rotate(-90deg);
}

.flashcard-module.fc-native .fc-hud__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flashcard-module.fc-native .fc-hud.is-collapsed .fc-hud__panel {
  display: none;
}

.flashcard-module.fc-native .fc-hud__trail {
  padding: 8px 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid rgba(180, 83, 9, 0.14);
}

.flashcard-module.fc-native .fc-hud__trail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.flashcard-module.fc-native .fc-hud__trail-lbl {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92400e;
}

.flashcard-module.fc-native .fc-hud__count {
  font-size: 0.72rem;
  font-weight: 800;
  color: #78716c;
}

.flashcard-module.fc-native .fc-hud__map-wrap {
  width: 100%;
  min-height: 56px;
}

.flashcard-module.fc-native .fc-hud__map-svg {
  display: block;
  width: 100%;
  height: 56px;
  overflow: visible;
}

.flashcard-module.fc-native .fc-hud__path-bg {
  fill: none;
  stroke: rgba(120, 113, 108, 0.18);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flashcard-module.fc-native .fc-hud__path-fill {
  fill: none;
  stroke: url(#fcTrailGrad);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.4s ease;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.35));
}

.flashcard-module.fc-native .fc-hud__node {
  fill: #d6d3d1;
  stroke: #fff;
  stroke-width: 2;
  transition: fill 0.2s, r 0.2s;
}

.flashcard-module.fc-native .fc-hud__node.is-done { fill: #0d9488; }
.flashcard-module.fc-native .fc-hud__node.is-here {
  fill: #fbbf24;
  stroke: #d97706;
  stroke-width: 2.5;
  r: 7;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.flashcard-module.fc-native .fc-hud__node.is-todo { fill: rgba(120, 113, 108, 0.2); }

.flashcard-module.fc-native .fc-hud__bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flashcard-module.fc-native .fc-hud__nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.flashcard-module.fc-native .fc-hud__nav-btn {
  padding: 8px 6px;
  border-radius: 10px;
  border: 2px solid rgba(120, 113, 108, 0.12);
  background: #fff;
  color: #57534e;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(120, 113, 108, 0.08);
}

.flashcard-module.fc-native .fc-hud__nav-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
.flashcard-module.fc-native .fc-hud__nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.flashcard-module.fc-native .fc-hud__nav [data-action="flip"] {
  color: #0f766e;
  border-color: rgba(13, 148, 136, 0.25);
  background: linear-gradient(180deg, #fff, #ecfdf5);
}

.flashcard-module.fc-native .mode-tabs-row {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(120, 113, 108, 0.1);
}

.flashcard-module.fc-native .mode-tab {
  flex: 1;
  padding: 7px 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  color: #78716c;
  cursor: pointer;
}

.flashcard-module.fc-native .mode-tab.active {
  background: linear-gradient(180deg, #fff, #ecfdf5);
  color: #0d9488;
  box-shadow: 0 2px 0 rgba(13, 148, 136, 0.15);
}

.flashcard-module.fc-native[data-mode="quiz"] .fc-hud__trail { border-color: rgba(37, 99, 235, 0.2); }
.flashcard-module.fc-native[data-mode="quiz"] .fc-hud__trail-lbl { color: #2563eb; }

/* ── Play layout ── */

.flashcard-module.fc-native .flashcard-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 16px 24px;
  min-height: calc(100dvh - 220px);
  max-width: 440px;
  margin: 0 auto;
}

.flashcard-module.fc-native .fc-play {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.flashcard-module.fc-native .fc-play__card-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(48vh, 400px);
  padding: 8px 0;
}

.flashcard-module.fc-native .card-display {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  position: relative;
}

.flashcard-module.fc-native .card-stage {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: unset !important;
  width: 100% !important;
}

.flashcard-module.fc-native .card-navigation {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.flashcard-module.fc-native .nav-side,
.flashcard-module.fc-native .nav-actions {
  display: none !important;
}

.flashcard-module.fc-native .fc-play__dock {
  position: sticky;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 10;
}

.flashcard-module.fc-native .fc-play__row {
  display: grid;
  gap: 10px;
}

.flashcard-module.fc-native .fc-play__row--main {
  grid-template-columns: 1fr 1fr;
}

.flashcard-module.fc-native .fc-play__row--sub {
  display: none !important;
}

.flashcard-module.fc-native .fc-play__btn {
  padding: 14px 10px;
  border-radius: 14px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}

.flashcard-module.fc-native .fc-play__btn--unknown {
  color: #fff;
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
  border-color: #9a3412;
  box-shadow: 0 4px 0 #9a3412;
}

.flashcard-module.fc-native .fc-play__btn--known {
  color: #fff;
  background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%);
  border-color: #0a5c54;
  box-shadow: 0 4px 0 #0a5c54;
}

.flashcard-module.fc-native .fc-play__btn--flip {
  color: #0f766e;
  background: #fff;
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: 0 3px 0 rgba(13, 148, 136, 0.15);
}

.flashcard-module.fc-native .fc-play__btn--nav {
  color: #57534e;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(120, 113, 108, 0.15);
  box-shadow: 0 2px 0 rgba(120, 113, 108, 0.08);
  font-size: 0.8rem;
}

.flashcard-module.fc-native .fc-play__btn:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: none;
}

.flashcard-module.fc-native .fc-play__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── Flashcard game frame ── */

.flashcard-module.fc-native .fc-card {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 24px rgba(28, 25, 23, 0.1));
}

.flashcard-module.fc-native .fc-card .flashcard-inner {
  border-radius: 18px;
}

.flashcard-module.fc-native .flashcard-front,
.flashcard-module.fc-native .flashcard-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  border: 2px solid rgba(180, 83, 9, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.flashcard-module.fc-native .flashcard-front {
  background: linear-gradient(165deg, #fff 0%, #fffbeb 40%, #f0fdfa 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 24px 16px 14px;
}

.flashcard-module.fc-native .fc-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-bottom: 8px;
}

.flashcard-module.fc-native .fc-card__toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 8px;
  flex-shrink: 0;
  width: 100%;
  z-index: 3;
}

.flashcard-module.fc-native .fc-card__tool {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0;
  border: 2px solid rgba(120, 113, 108, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.95);
  color: #57534e;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(120, 113, 108, 0.1);
  transition: transform 0.1s, border-color 0.12s, background 0.12s, color 0.12s;
}

.flashcard-module.fc-native .fc-card__tool svg {
  width: 20px;
  height: 20px;
  display: block;
}

.flashcard-module.fc-native .fc-card__tool:active {
  transform: translateY(2px);
  box-shadow: none;
}

.flashcard-module.fc-native .fc-card__tool.is-active,
.flashcard-module.fc-native .fc-card__tool[data-revealed="true"] {
  border-color: #0d9488;
  color: #0d9488;
  background: #ecfdf5;
}

.flashcard-module.fc-native .fc-card__tool--audio {
  color: #fff;
  background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%);
  border-color: #0a5c54;
  box-shadow: 0 3px 0 #0a5c54;
}

.flashcard-module.fc-native .fc-card__tool--audio:active {
  background: linear-gradient(180deg, #14b8a6 0%, #0f766e 100%);
}

.flashcard-module.fc-native .btn-audio,
.flashcard-module.fc-native .card-reveal-hints,
.flashcard-module.fc-native .reveal-hint {
  display: none !important;
}

.flashcard-module.fc-native .flashcard-back {
  background: linear-gradient(165deg, #fff 0%, #faf8f5 100%);
}

.flashcard-module.fc-native .card-hanzi {
  font-family: 'Noto Serif SC', 'Ma Shan Zheng', serif;
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  font-weight: 600;
  color: #1c1917;
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.15;
}

.flashcard-module.fc-native .card-pinyin {
  padding: 7px 16px;
  border-radius: 99px;
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.flashcard-module.fc-native .card-pinyin[data-reveal="pinyin"]:not([data-revealed="true"]) {
  filter: blur(5px);
  opacity: 0.55;
}

.flashcard-module.fc-native .card-pinyin[data-revealed="true"] {
  filter: none;
  opacity: 1;
}

.flashcard-module.fc-native .flashcard-back {
  padding: 20px 18px;
}

/* ── Quiz game UI ── */

.flashcard-module.fc-native .quiz-display {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  position: relative;
}

.flashcard-module.fc-native .fc-points-pop {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 8px 18px;
  border-radius: 99px;
  background: linear-gradient(180deg, #fbbf24, #d97706);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 0 #92400e, 0 8px 24px rgba(217, 119, 6, 0.35);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.15s, transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.flashcard-module.fc-native .fc-points-pop.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(-12px);
}

.flashcard-module.fc-native .fc-points-pop.is-minus {
  background: linear-gradient(180deg, #fb923c, #ea580c);
  box-shadow: 0 4px 0 #9a3412, 0 8px 24px rgba(234, 88, 12, 0.3);
}

.flashcard-module.fc-native .fc-quiz-win {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92);
  transition: opacity 0.3s, transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), visibility 0.3s;
}

.flashcard-module.fc-native .fc-quiz-win.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.flashcard-module.fc-native .fc-quiz-win__medal {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 4px solid #fbbf24;
  background: radial-gradient(circle at 35% 30%, #fff, #fef3c7);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 0 #d97706;
  animation: fcMedalSwing 2s ease-in-out infinite;
}

.flashcard-module.fc-native .fc-quiz-win__medal span {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #92400e;
}

.flashcard-module.fc-native .fc-quiz-win__tag {
  margin: 0 0 6px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}

.flashcard-module.fc-native .fc-quiz-win__score {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #1c1917;
}

.flashcard-module.fc-native .fc-quiz-win__sub {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #57534e;
}

.flashcard-module.fc-native .fc-quiz {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flashcard-module.fc-native .fc-quiz__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flashcard-module.fc-native .fc-quiz__mode {
  padding: 4px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 0 #1e3a8a;
}

.flashcard-module.fc-native .fc-quiz__step {
  font-size: 0.78rem;
  font-weight: 800;
  color: #57534e;
}

.flashcard-module.fc-native .fc-quiz__type {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
  font-size: 0.68rem;
  font-weight: 800;
}

.flashcard-module.fc-native .fc-quiz__card {
  padding: 20px 18px;
  border-radius: 16px;
  background: linear-gradient(165deg, #fff 0%, #fffbeb 50%, #f0fdfa 100%);
  border: 2px solid rgba(180, 83, 9, 0.14);
  box-shadow: 0 6px 0 rgba(180, 83, 9, 0.1), 0 12px 28px rgba(28, 25, 23, 0.06);
  text-align: center;
}

.flashcard-module.fc-native .fc-quiz__prompt {
  margin: 0 0 10px;
  word-break: break-word;
}

.flashcard-module.fc-native .fc-quiz__prompt.is-han {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 600;
  color: #1c1917;
  line-height: 1.2;
}

.flashcard-module.fc-native .fc-quiz__prompt.is-meaning {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: #1c1917;
  text-align: left;
}

.flashcard-module.fc-native .fc-quiz__prompt.is-pinyin {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0d9488;
}

.flashcard-module.fc-native .fc-quiz__meaning-line {
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid rgba(120, 113, 108, 0.08);
}

.flashcard-module.fc-native .fc-quiz__meaning-line:last-child { border-bottom: none; }
.flashcard-module.fc-native .fc-quiz__meaning-more { opacity: 0.45; font-size: 0.85rem; }

.flashcard-module.fc-native .fc-quiz__pinyin {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d9488;
  margin-bottom: 8px;
}

.flashcard-module.fc-native .fc-quiz__hint {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flashcard-module.fc-native .fc-quiz__audio {
  margin-top: 10px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  margin-right: auto;
}

.flashcard-module.fc-native .fc-quiz__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flashcard-module.fc-native .fc-quiz__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(120, 113, 108, 0.12);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 3px 0 rgba(120, 113, 108, 0.08);
  transition: transform 0.1s, border-color 0.12s, background 0.12s;
}

.flashcard-module.fc-native .fc-quiz__opt:hover:not(.answered) {
  border-color: rgba(13, 148, 136, 0.35);
  transform: translateY(-1px);
}

.flashcard-module.fc-native .fc-quiz__opt:active:not(.answered) {
  transform: translateY(2px);
  box-shadow: none;
}

.flashcard-module.fc-native .fc-quiz__opt-key {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
  font-size: 0.82rem;
  font-weight: 900;
}

.flashcard-module.fc-native .fc-quiz__opt-val {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.35;
}

.flashcard-module.fc-native .fc-quiz__opt-val.compact {
  font-size: 0.8rem;
  line-height: 1.45;
}

.flashcard-module.fc-native .fc-quiz__opt-val.is-han,
.flashcard-module.fc-native .fc-quiz__opt-val:not(.compact) {
  font-family: 'Noto Serif SC', serif;
}

.flashcard-module.fc-native .fc-quiz__opt.answered { pointer-events: none; }

.flashcard-module.fc-native .fc-quiz__opt.correct {
  border-color: #0d9488;
  background: #ecfdf5;
  box-shadow: 0 3px 0 rgba(13, 148, 136, 0.25);
}

.flashcard-module.fc-native .fc-quiz__opt.correct .fc-quiz__opt-key {
  background: #0d9488;
  color: #fff;
}

.flashcard-module.fc-native .fc-quiz__opt.incorrect {
  border-color: #ea580c;
  background: #fff7ed;
  box-shadow: 0 3px 0 rgba(234, 88, 12, 0.2);
}

.flashcard-module.fc-native .fc-quiz__opt.incorrect .fc-quiz__opt-key {
  background: #ea580c;
  color: #fff;
}

.flashcard-module.fc-native .flashcard-front::before,
.flashcard-module.fc-native .flashcard-front::after,
.flashcard-module.fc-native .flashcard-back::before,
.flashcard-module.fc-native .flashcard-back::after {
  display: none !important;
  content: none !important;
}

.flashcard-module.fc-native .flashcard {
  width: 100%;
  height: 100%;
  perspective: 1200px;
  cursor: pointer;
}

.flashcard-module.fc-native .flashcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.flashcard-module.fc-native .flashcard-back {
  transform: rotateY(180deg);
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 6px;
  overflow-y: auto;
}

.flashcard-module.fc-native .back-pinyin {
  color: #0d9488;
  font-weight: 700;
  font-size: 1rem;
}

.flashcard-module.fc-native .back-meaning-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78716c;
}

.flashcard-module.fc-native .back-meaning-body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #1c1917;
}

.flashcard-module.fc-native .hint-icon { display: none; }

.flashcard-module.fc-native .card-thumbnails {
  max-width: 440px;
  margin: 0 auto;
  padding: 0 16px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.flashcard-module.fc-native .card-thumbnails::-webkit-scrollbar { display: none; }

.flashcard-module.fc-native[data-state="quiz"] .flashcard-content {
  justify-content: flex-start;
  min-height: calc(100dvh - 240px);
}

.flashcard-module.fc-native[data-state="quiz"] .card-thumbnails {
  display: none;
}

/* ── Results ── */

.flashcard-module.fc-native .session-result {
  text-align: center;
  padding: 20px 4px;
}

.flashcard-module.fc-native .result-title {
  margin: 0 0 20px;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.flashcard-module.fc-native .result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.flashcard-module.fc-native .stat-item {
  padding: 12px 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(120, 113, 108, 0.1);
}

.flashcard-module.fc-native .stat-value {
  font-size: 1.25rem;
  font-weight: 900;
}

.flashcard-module.fc-native .stat-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #78716c;
}

.flashcard-module.fc-native .result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flashcard-module.fc-native .result-actions .btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.flashcard-module.fc-native .result-actions .btn svg { display: none; }

.flashcard-module.fc-native .result-actions .btn-primary {
  background: linear-gradient(180deg, #2dd4bf, #0d9488);
  color: #fff;
  box-shadow: 0 4px 0 #0a5c54;
}

.flashcard-module.fc-native .result-actions .btn-secondary {
  background: #fff;
  border: 2px solid rgba(120, 113, 108, 0.15);
  color: #57534e;
}

.flashcard-module.fc-native .result-actions .btn-outline {
  background: transparent;
  border: 2px solid rgba(120, 113, 108, 0.15);
  color: #78716c;
}

/* ── Modals ── */

.flashcard-module.fc-native .modal-content {
  border-radius: 20px;
  font-family: inherit;
}

.flashcard-module.fc-native .modal-theme .theme-card-emoji,
.flashcard-module.fc-native .modal-theme .theme-card-bgm {
  display: none;
}

@media (max-width: 380px) {
  .flashcard-module.fc-native .card-display {
    max-width: 100%;
  }

  .flashcard-module.fc-native .fc-play__btn {
    font-size: 0.8rem;
    padding: 12px 8px;
  }
}

/* ── Game loading screen ── */

body {
  margin: 0;
  background: #faf8f5;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1c1917;
}

.fc-load {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.fc-load--boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(254, 243, 199, 0.55), transparent 55%),
    #faf8f5;
}

.fc-load--boot.fade-out {
  animation: fcLoadOut 0.35s ease-out forwards;
  pointer-events: none;
}

@keyframes fcLoadOut {
  to { opacity: 0; visibility: hidden; }
}

.fc-load--inline {
  width: 100%;
  min-height: min(52vh, 400px);
  padding: 24px 16px;
}

.flashcard-module.fc-native .state-loading.fc-load {
  flex-direction: column;
  gap: 0;
}

/* Fullscreen splash — no card */
.fc-load__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(100%, 360px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.fc-load__badge {
  width: 80px;
  height: 80px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  animation: fcLoadBadge 2.4s ease-in-out infinite;
}

@keyframes fcLoadBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.fc-load__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.fc-load__brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #92400e;
}

.fc-load__map {
  display: block;
  width: 100%;
  height: 72px;
  overflow: visible;
}

.fc-load__path-bg {
  fill: none;
  stroke: rgba(120, 113, 108, 0.16);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-load__path-fill {
  fill: none;
  stroke: url(#fcLoadGrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: fcLoadPath 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.45));
}

.fc-load__path-fill--boot {
  stroke: url(#fcLoadGradBoot);
}

@keyframes fcLoadPath {
  0% { stroke-dashoffset: 100; opacity: 0.5; }
  45% { stroke-dashoffset: 0; opacity: 1; }
  55% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0.5; }
}

.fc-load__node {
  fill: #d6d3d1;
  stroke: #fff;
  stroke-width: 2;
  animation: fcLoadNode 2.4s ease-in-out infinite;
}

.fc-load__node--d1 { animation-delay: 0.35s; }
.fc-load__node--d2 { animation-delay: 0.7s; }
.fc-load__node--d3 { animation-delay: 1.05s; }

@keyframes fcLoadNode {
  0%, 100% { fill: #d6d3d1; }
  25%, 45% { fill: #0d9488; }
  55% { fill: #fbbf24; }
}

.fc-load__runner {
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.45));
}

.fc-load__msg {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: #57534e;
  letter-spacing: -0.01em;
  animation: fcLoadMsg 1.6s ease-in-out infinite;
}

@keyframes fcLoadMsg {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* ── Dealing (game table) ── */

.flashcard-module.fc-native .fc-deal {
  width: 100%;
  min-height: min(52vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.flashcard-module.fc-native .fc-deal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(100%, 320px);
}

.flashcard-module.fc-native .fc-deal__felt {
  width: 220px;
  height: 300px;
  position: relative;
  border-radius: 20px;
  background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 40%, #fde68a 100%);
  border: 3px solid #d97706;
  box-shadow:
    inset 0 4px 12px rgba(180, 83, 9, 0.12),
    0 10px 0 rgba(180, 83, 9, 0.15),
    0 20px 40px rgba(28, 25, 23, 0.1);
}

.flashcard-module.fc-native .fc-deal__stack {
  position: absolute;
  inset: 18px;
  perspective: 900px;
}

.flashcard-module.fc-native .fc-deal__card,
.flashcard-module.fc-native .fc-deal__stack .stack-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 148px;
  height: 196px;
  margin-left: -74px;
  margin-top: -98px;
  transform: translateY(var(--stack-offset, 0)) rotate(var(--deal-rotate, 0deg));
  filter: drop-shadow(0 6px 16px rgba(28, 25, 23, 0.12));
}

.flashcard-module.fc-native .fc-deal__face,
.flashcard-module.fc-native .fc-deal__stack .stack-card-front {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 2px solid rgba(180, 83, 9, 0.18);
  background: linear-gradient(165deg, #fff 0%, #fffbeb 45%, #f0fdfa 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.flashcard-module.fc-native .fc-deal__hanzi,
.flashcard-module.fc-native .fc-deal__stack .stack-card-hanzi {
  font-family: 'Noto Serif SC', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #1c1917;
}

.flashcard-module.fc-native .fc-deal__stack .stack-card {
  background: none !important;
  box-shadow: none !important;
}

.flashcard-module.fc-native .fc-deal__stack .stack-card.dealing-in,
.flashcard-module.fc-native .fc-deal__card.dealing-in {
  animation: fcDealDrop 0.45s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
  animation-delay: var(--deal-delay, 0ms);
  opacity: 0;
}

@keyframes fcDealDrop {
  0% { transform: translateY(-100px) rotate(-10deg) scale(0.72); opacity: 0; }
  65% { transform: translateY(calc(var(--stack-offset, 0px) + 8px)) rotate(calc(var(--deal-rotate, 0deg) + 2deg)) scale(1.03); opacity: 1; }
  100% { transform: translateY(var(--stack-offset, 0)) rotate(var(--deal-rotate, 0deg)) scale(1); opacity: 1; }
}

.flashcard-module.fc-native .fc-deal__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #92400e;
}

.flashcard-module.fc-native .fc-deal__count {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: #1c1917;
}

.flashcard-module.fc-native .fc-deal__sep {
  margin: 0 4px;
  color: #78716c;
  font-weight: 700;
}

/* ── Rank-up ceremony ── */

.flashcard-module.fc-native .fc-rankup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.flashcard-module.fc-native .fc-rankup.is-active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.flashcard-module.fc-native .fc-rankup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  backdrop-filter: blur(6px);
}

.flashcard-module.fc-native .fc-rankup__scene {
  position: relative;
  width: min(100%, 340px);
  padding: 28px 22px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fef3c7 0%, #fff 35%, #faf8f5 100%);
  border: 3px solid #d97706;
  box-shadow: 0 16px 48px rgba(28, 25, 23, 0.25);
  text-align: center;
  animation: fcRankUpIn 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes fcRankUpIn {
  from { transform: translateY(24px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.flashcard-module.fc-native .fc-rankup__podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 100px;
  margin-bottom: 16px;
}

.flashcard-module.fc-native .fc-rankup__step {
  width: 72px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #fde68a, #d97706);
  border: 2px solid #92400e;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.flashcard-module.fc-native .fc-rankup__step--l { height: 48px; opacity: 0.75; }
.flashcard-module.fc-native .fc-rankup__step--r { height: 56px; opacity: 0.85; }
.flashcard-module.fc-native .fc-rankup__step--c {
  height: 72px;
  width: 88px;
  display: grid;
  place-items: start center;
  padding-top: 4px;
}

.flashcard-module.fc-native .fc-rankup__medal,
.flashcard-module.fc-native .fc-result__medal {
  position: relative;
  width: 56px;
  height: 56px;
  margin: -36px auto 0;
  display: grid;
  place-items: center;
  animation: fcMedalSwing 2.2s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes fcMedalSwing {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

.flashcard-module.fc-native .fc-rankup__medal-ring,
.flashcard-module.fc-native .fc-result__medal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid #fbbf24;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #fef3c7 45%, #fbbf24 100%);
  box-shadow: 0 4px 0 #d97706, 0 0 0 3px #fff;
}

.flashcard-module.fc-native .fc-rankup__medal-ring::before,
.flashcard-module.fc-native .fc-result__medal-ring::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: 4px;
  height: 16px;
  margin-left: -2px;
  background: #dc2626;
  border-radius: 2px;
  box-shadow: -14px 2px 0 #dc2626, 14px 2px 0 #dc2626;
}

.flashcard-module.fc-native .fc-rankup__medal-char,
.flashcard-module.fc-native .fc-result__medal-char {
  position: relative;
  z-index: 1;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #92400e;
}

.flashcard-module.fc-native .fc-rankup__tag {
  margin: 0 0 4px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d97706;
}

.flashcard-module.fc-native .fc-rankup__han {
  margin: 0;
  font-family: 'Noto Serif SC', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1c1917;
}

.flashcard-module.fc-native .fc-rankup__vi {
  margin: 0 0 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #57534e;
}

.flashcard-module.fc-native .fc-rankup__btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #2dd4bf, #0d9488);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 #0a5c54;
}

/* ── Session result (podium) ── */

.flashcard-module.fc-native .fc-result {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 8px 0 24px;
  text-align: center;
}

.flashcard-module.fc-native .fc-result__stage {
  margin-bottom: 20px;
}

.flashcard-module.fc-native .fc-result__podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 88px;
  margin-bottom: 12px;
}

.flashcard-module.fc-native .fc-result__podium-step {
  width: 64px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #fde68a, #d97706);
  border: 2px solid #92400e;
}

.flashcard-module.fc-native .fc-result__podium-step--l { height: 40px; opacity: 0.7; }
.flashcard-module.fc-native .fc-result__podium-step--r { height: 48px; opacity: 0.8; }
.flashcard-module.fc-native .fc-result__podium-step--c {
  height: 64px;
  width: 80px;
  position: relative;
}

.flashcard-module.fc-native .fc-result__ribbon {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 #1e3a8a;
}

.flashcard-module.fc-native .fc-result__rank {
  margin: 0 0 4px;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1c1917;
}

.flashcard-module.fc-native .fc-result__gain {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0d9488;
}

.flashcard-module.fc-native .fc-result__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.flashcard-module.fc-native .fc-result__stat {
  padding: 10px 4px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid rgba(120, 113, 108, 0.1);
}

.flashcard-module.fc-native .fc-result__stat b {
  display: block;
  font-size: 0.9rem;
  font-weight: 900;
}

.flashcard-module.fc-native .fc-result__stat small {
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #78716c;
}

.flashcard-module.fc-native .fc-result__stat--ok b { color: #0d9488; }
.flashcard-module.fc-native .fc-result__stat--bad b { color: #ea580c; }

.flashcard-module.fc-native .fc-result__level {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(120, 113, 108, 0.1);
  text-align: left;
}

.flashcard-module.fc-native .fc-result__level-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #57534e;
}

.flashcard-module.fc-native .fc-result__level-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(13, 148, 136, 0.12);
  overflow: hidden;
  margin-bottom: 8px;
}

.flashcard-module.fc-native .fc-result__level-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fbbf24, #0d9488);
}

.flashcard-module.fc-native .fc-result__level-note {
  margin: 0;
  font-size: 0.78rem;
  color: #78716c;
  line-height: 1.45;
}

.flashcard-module.fc-native .fc-result__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flashcard-module.fc-native .fc-result__btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid transparent;
}

.flashcard-module.fc-native .fc-result__btn--primary {
  background: linear-gradient(180deg, #2dd4bf, #0d9488);
  color: #fff;
  box-shadow: 0 4px 0 #0a5c54;
}

.flashcard-module.fc-native .fc-result__btn--ghost {
  background: #fff;
  border-color: rgba(120, 113, 108, 0.15);
  color: #57534e;
}

.flashcard-module.fc-native .fc-result__btn--outline {
  background: transparent;
  border-color: rgba(120, 113, 108, 0.15);
  color: #78716c;
}

@media (max-width: 380px) {
  .flashcard-module.fc-native .fc-result__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
