.fg-module {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--font-ui);
}

.fg-card,
.fg-chapter-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: var(--shadow-card);
}

.fg-card {
  width: 100%;
  padding: 24px;
}

.fg-eyebrow {
  margin: 0 0 5px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.fg-hint {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.fg-message-card {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.fg-track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fg-track-card.card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  min-height: 126px;
  padding: 20px;
  align-items: center;
  border-color: var(--line-strong);
  background: var(--panel);
  color: var(--ink);
  text-align: left;
}

.fg-track-icon {
  grid-row: 1 / 3;
  min-width: 54px;
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.fg-track-copy strong,
.fg-track-copy small {
  display: block;
}

.fg-track-copy strong {
  font-size: 18px;
}

.fg-track-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.fg-track-progress {
  grid-column: 2;
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.fg-weak-keys {
  margin: 8px 0 0;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 700;
}

.fg-menu-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.fg-menu-heading {
  min-width: 0;
}

.fg-menu-heading h2,
.fg-practice-top h2,
.fg-result-card h2 {
  margin: 0;
}

.fg-chapter-card {
  margin-top: 12px;
  overflow: hidden;
}

.fg-chapter-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.fg-chapter-index {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
}

.fg-chapter-title {
  min-width: 0;
}

.fg-chapter-title strong,
.fg-chapter-title small,
.fg-chapter-completion strong,
.fg-chapter-completion small {
  display: block;
}

.fg-chapter-title strong {
  color: var(--ink);
  font-size: 16px;
}

.fg-chapter-title small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.fg-chapter-completion {
  min-width: 52px;
  text-align: right;
}

.fg-chapter-completion strong {
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 14px;
}

.fg-chapter-completion small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.fg-lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--line);
  background: var(--panel2);
}

.fg-lesson-btn.fg-lesson-node {
  display: flex;
  min-width: 0;
  min-height: 76px;
  padding: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-color: var(--line-strong);
  background: var(--panel);
  box-shadow: 0 4px 0 var(--line-strong);
  color: var(--ink);
  text-align: center;
}

.fg-lesson-btn.fg-lesson-node.completed {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 4px 0 var(--amber-ink);
  color: var(--ink);
}

.fg-lesson-btn.fg-lesson-node:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--line-strong);
}

.fg-lesson-btn.fg-lesson-node.completed:active:not(:disabled) {
  box-shadow: 0 2px 0 var(--amber-ink);
}

.fg-lesson-number {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.fg-lesson-title {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.fg-lesson-score {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.fg-lesson-btn.completed .fg-lesson-score {
  color: var(--ink);
}

.fg-keyboard-notice {
  display: none;
  margin: 0 0 12px;
  padding: 9px 12px;
  border: 1px solid var(--amber);
  border-radius: 10px;
  background: var(--amber-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
}

.fg-practice-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.fg-practice-top h2 {
  overflow: hidden;
  font-size: 19px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fg-small-button {
  min-height: 38px;
  padding: 7px 13px;
  font-size: 13px;
}

.fg-practice-status {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.fg-timer {
  color: var(--primary-deep);
}

.fg-progress-bar {
  height: 9px;
  margin: 14px 0 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel2);
}

.fg-progress-fill {
  width: 0;
  height: 100%;
  background: var(--amber);
  transition: width .18s ease-out;
}

.fg-zh-live-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 auto 14px;
}

.fg-zh-live-stat {
  display: flex;
  min-width: 0;
  padding: 9px 8px;
  align-items: center;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel2);
  text-align: center;
}

.fg-zh-live-stat strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 19px;
  line-height: 1.2;
}

.fg-zh-live-stat small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.fg-zh-combo-stat strong,
.fg-zh-time-stat strong {
  color: var(--primary-deep);
}

.fg-zh-focus-region {
  display: flex;
  min-height: 176px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 18px 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--panel2);
}

.fg-zh-focus-slot {
  position: relative;
  display: grid;
  width: 138px;
  height: 138px;
  flex: 0 0 138px;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--amber-ink);
  border-radius: 10px;
  background:
    linear-gradient(to right, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(to bottom, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)),
    var(--white);
  box-shadow: 0 5px 0 var(--amber);
}

.fg-zh-focus-text {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 104px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.fg-zh-focus-slot.is-error {
  border-color: var(--err-deep);
  box-shadow: 0 5px 0 var(--err);
  animation: fg-zh-slot-error 140ms ease-out;
}

.fg-zh-feed {
  display: flex;
  min-width: 200px;
  align-items: center;
  gap: 24px;
}

.fg-zh-feed-item {
  display: inline-grid;
  min-width: 46px;
  place-items: center;
  color: var(--ink);
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.fg-zh-feed-item-1 {
  font-size: 48px;
  opacity: .62;
}

.fg-zh-feed-item-2 {
  font-size: 39px;
  opacity: .4;
}

.fg-zh-feed-item-3 {
  font-size: 32px;
  opacity: .24;
}

.fg-fly-out-ghost {
  position: absolute;
  z-index: 9999;
  pointer-events: none;
  color: var(--ok);
  font-family: var(--font-mono);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  transform: translate(-50%, -50%);
  animation: fg-zh-fly-out 160ms ease-out forwards;
}

.fg-en-focus-region {
  display: flex;
  min-height: 176px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 18px 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--panel2);
}

.fg-en-char-slot,
.fg-en-pill-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 3px solid var(--amber-ink);
  background: var(--white);
  box-shadow: 0 5px 0 var(--amber);
  font-family: var(--font-mono);
  font-size: 62px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

.fg-en-char-slot {
  width: 138px;
  height: 138px;
  flex: 0 0 138px;
  border-radius: 10px;
}

.fg-en-pill-slot {
  width: max-content;
  min-width: 210px;
  height: 94px;
  flex: 0 0 auto;
  padding: 0 28px;
  border-radius: 999px;
}

.fg-en-unit-done {
  color: var(--ok);
}

.fg-en-unit-current {
  min-width: .62em;
  border-radius: 6px;
  background: var(--amber);
  box-shadow: inset 0 0 0 2px var(--amber-ink);
  color: var(--ink);
  text-align: center;
}

.fg-en-unit-pending {
  color: var(--ink);
}

.fg-en-char-slot.is-error,
.fg-en-pill-slot.is-error {
  border-color: var(--err-deep);
  box-shadow: 0 5px 0 var(--err);
  animation: fg-zh-slot-error 140ms ease-out;
}

.fg-en-feed {
  display: flex;
  min-width: 260px;
  align-items: center;
  gap: 24px;
}

.fg-en-feed-item {
  display: inline-grid;
  min-width: max-content;
  place-items: center;
  color: var(--ink);
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.fg-en-feed-item-1 {
  font-size: 48px;
  opacity: .62;
}

.fg-en-feed-item-2 {
  font-size: 39px;
  opacity: .4;
}

.fg-en-feed-item-3 {
  font-size: 32px;
  opacity: .24;
}

.fg-en-fly-out-ghost {
  font-size: 58px;
  white-space: nowrap;
  animation-duration: 140ms;
}

.fg-en-sentence-region {
  min-height: 176px;
  padding: 18px 24px;
  overflow: visible;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--panel2);
  font-family: var(--font-mono);
}

.fg-en-sentence-line {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.7;
  overflow: visible;
  overflow-wrap: normal;
  text-overflow: clip;
  white-space: normal;
}

.fg-en-sentence-line + .fg-en-sentence-line {
  margin-top: 3px;
}

.fg-en-sentence-line.is-current-sentence {
  color: var(--ink);
}

.fg-en-sentence-word {
  display: inline-block;
  border-radius: 6px;
  color: inherit;
  opacity: 1;
  white-space: nowrap;
}

.fg-en-sentence-word.is-done {
  color: var(--ok);
  opacity: .48;
}

.fg-en-sentence-word.is-current {
  padding: 0 5px;
  background: var(--amber);
  box-shadow: inset 0 0 0 2px var(--amber-ink);
  color: var(--ink);
  opacity: 1;
}

.fg-en-sentence-word.is-error {
  background: var(--err);
  box-shadow: inset 0 0 0 2px var(--err-deep);
  color: var(--white);
  animation: fg-zh-slot-error 140ms ease-out;
}

.fg-en-sentence-word.is-complete {
  animation: fg-en-word-complete 140ms ease-out;
}

.fg-hint-level-button:disabled {
  cursor: default;
  opacity: .72;
}

.fg-target {
  min-height: 152px;
  padding: 22px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--panel2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: .045em;
  line-height: 1.85;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.fg-target .pending {
  color: var(--muted);
}

.fg-target .done {
  color: var(--ok);
}

.fg-target .bad {
  color: var(--err);
  text-decoration: underline;
  text-decoration-color: var(--err-deep);
}

.fg-target .cur {
  border-radius: 4px;
  background: var(--amber);
  box-shadow: inset 0 0 0 2px var(--amber-ink);
  color: var(--ink);
}

.fg-target .cur.err {
  background: var(--err);
  box-shadow: inset 0 0 0 2px var(--err-deep);
  color: var(--white);
  animation: fg-type-error-flash .2s ease-out;
}

.fg-target-group {
  display: inline-block;
  white-space: nowrap;
}

.fg-live {
  min-height: 24px;
  margin: 12px 0 3px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.fg-finger-hint {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 17px;
  text-align: center;
}

.fg-finger-hint strong {
  color: var(--primary-deep);
}

.fg-finger-hint kbd {
  display: inline-block;
  min-width: 34px;
  margin-left: 3px;
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--panel2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
}

.fg-keyboard-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 8px 4px 12px;
}

.fg-keyboard {
  width: 760px;
  min-width: 760px;
  margin: 0 auto;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel2);
}

.fg-key-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.fg-key-row:first-child {
  margin-top: 0;
}

.fg-key-row-2 {
  padding-left: 12px;
}

.fg-key-row-3 {
  padding-left: 30px;
}

.fg-key-row-4 {
  padding-left: 52px;
}

.fg-key {
  position: relative;
  display: flex;
  width: 48px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 3px 0 var(--line-strong);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transform-origin: center;
  transition: transform .08s, box-shadow .08s, background .08s;
}

.fg-zh-keyboard .fg-key {
  height: 52px;
  flex-direction: column;
  gap: 2px;
}

.fg-key-main {
  font-size: 20px;
  line-height: 1;
}

.fg-zh-keyboard .fg-key-main {
  visibility: hidden;
}

.fg-zh-keyboard .fg-key.show-symbol .fg-key-main {
  visibility: visible;
}

.fg-key-sub {
  align-self: flex-end;
  padding-right: 4px;
  font-size: 8px;
  line-height: 1;
}

.fg-tone-key .fg-key-main {
  font-weight: 800;
}

.fg-finger-l-pinky,
.fg-finger-r-pinky {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.fg-finger-l-ring,
.fg-finger-r-ring {
  background: var(--ok-soft);
  color: var(--ink);
}

.fg-finger-l-middle,
.fg-finger-r-middle {
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.fg-finger-l-index,
.fg-finger-r-index {
  background: var(--err-soft);
  color: var(--err-deep);
}

.fg-finger-thumb {
  background: var(--panel2);
  color: var(--muted);
}

.fg-space-key {
  width: 320px;
}

.fg-home-mark {
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.fg-key.next {
  z-index: 1;
  background: var(--amber);
  box-shadow: inset 0 0 0 2px var(--amber-ink), 0 3px 0 var(--amber-ink);
  color: var(--ink);
  transform: scale(1.06);
}

.fg-key.error {
  background: var(--err);
  box-shadow: 0 3px 0 var(--err-deep);
  color: var(--white);
  animation: fg-key-error-flash .2s ease-out;
}

.fg-zh-keyboard .fg-key.error {
  animation-duration: 140ms;
}

.fg-hand-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.fg-result-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.fg-result-verdict {
  display: inline-block;
  margin: 14px 0 4px;
  padding: 4px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 700;
}

.fg-result-verdict.passed {
  border-color: var(--ok);
  background: var(--ok-soft);
  color: var(--ink);
}

.fg-result-verdict.retry {
  border-color: var(--err);
  background: var(--err-soft);
  color: var(--err-deep);
}

.fg-result-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.fg-result-stat {
  min-width: 0;
  padding: 11px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel2);
}

.fg-result-stat strong,
.fg-result-stat small {
  display: block;
}

.fg-result-stat strong {
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 21px;
}

.fg-result-stat small {
  color: var(--muted);
  font-size: 11px;
}

.fg-save-wrap {
  min-height: 54px;
  margin-bottom: 14px;
}

.fg-save-status {
  min-height: 22px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.fg-result-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fg-feedback {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel2);
  color: var(--ink);
  text-align: left;
}

.fg-feedback p {
  margin: 4px 0;
}

.fg-zh-test-path {
  margin-top: 18px;
  text-align: center;
}

.fg-zh-test-path .fg-hint {
  margin: 0;
}

.fg-ime-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes fg-type-error-flash {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes fg-key-error-flash {
  0% { transform: translateX(0); }
  35% { transform: translateX(-3px); }
  70% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

@keyframes fg-zh-slot-error {
  0% { transform: scale(1); }
  50% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

@keyframes fg-zh-fly-out {
  0% { opacity: .9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -105%) scale(.82); }
}

@keyframes fg-en-word-complete {
  0% { opacity: 1; transform: scale(1); }
  55% { opacity: .66; transform: scale(1.055); }
  100% { opacity: .48; transform: scale(1); }
}

@media (min-width: 901px) {
  .fg-practice-card {
    padding: 24px;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .fg-lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fg-practice-card {
    padding: 20px;
  }

  .fg-result-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fg-track-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fg-card {
    padding: 16px;
  }

  .fg-menu-top {
    align-items: stretch;
    flex-direction: column;
  }

  .fg-menu-top > button {
    align-self: flex-start;
  }

  .fg-chapter-head {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 12px;
  }

  .fg-chapter-completion {
    grid-column: 2;
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    text-align: left;
  }

  .fg-lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  .fg-track-grid {
    grid-template-columns: 1fr;
  }

  .fg-track-card.card {
    min-height: 112px;
    padding: 15px;
  }

  .fg-keyboard-notice {
    display: block;
  }

  .fg-practice-top {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
  }

  .fg-practice-top h2 {
    font-size: 16px;
    text-align: left;
  }

  .fg-practice-status {
    grid-column: 1 / -1;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .fg-zh-live-stats {
    gap: 5px;
  }

  .fg-zh-live-stat {
    padding: 7px 4px;
  }

  .fg-zh-live-stat strong {
    font-size: 15px;
  }

  .fg-zh-focus-region {
    min-height: 142px;
    gap: 16px;
    padding: 14px 12px;
  }

  .fg-zh-focus-slot {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }

  .fg-zh-focus-text {
    font-size: 88px;
  }

  .fg-en-focus-region {
    min-height: 142px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 12px;
  }

  .fg-en-char-slot {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
    font-size: 44px;
  }

  .fg-en-pill-slot {
    min-width: 150px;
    height: 78px;
    padding: 0 14px;
    font-size: 44px;
  }

  .fg-zh-feed {
    min-width: 140px;
    gap: 12px;
  }

  .fg-zh-feed-item {
    min-width: 34px;
  }

  .fg-zh-feed-item-1 { font-size: 38px; }
  .fg-zh-feed-item-2 { font-size: 31px; }
  .fg-zh-feed-item-3 { font-size: 25px; }

  .fg-en-feed {
    flex-wrap: wrap;
    min-width: 120px;
    justify-content: center;
    gap: 12px;
  }

  .fg-en-feed-item {
    min-width: max-content;
  }

  .fg-en-feed-item-1 { font-size: 38px; }
  .fg-en-feed-item-2 { font-size: 31px; }
  .fg-en-feed-item-3 { font-size: 25px; }

  .fg-en-sentence-region {
    min-height: 142px;
    padding: 14px 12px;
  }

  .fg-en-sentence-line {
    font-size: 18px;
    line-height: 1.65;
  }

  .fg-target {
    min-height: 126px;
    padding: 14px;
    font-size: 18px;
  }

  .fg-finger-hint {
    font-size: 15px;
  }

  .fg-keyboard-scroll {
    padding-bottom: 14px;
  }

  .fg-keyboard {
    width: 620px;
    min-width: 620px;
    padding: 10px;
  }

  .fg-key-row {
    gap: 4px;
    margin-top: 5px;
  }

  .fg-key {
    width: 39px;
    height: 38px;
    font-size: 12px;
  }

  .fg-zh-keyboard .fg-key {
    height: 46px;
  }

  .fg-key-main {
    font-size: 17px;
  }

  .fg-space-key {
    width: 270px;
  }

  .fg-result-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fg-result-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fg-module *,
  .fg-module *::before,
  .fg-module *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
