/* 英语小公主的专属样式。色板、字体、圆角全部复用 styles.css 的 tokens，
   这里只放英语王国自己的组件：地图、岛、批、见面卡、练习卡与家长看板。 */

.en-app {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.en-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== 顶栏 ===== */
.en-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 6px;
}

.en-top .en-back {
  all: unset;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 12px;
}

.en-top .en-back:active {
  background: var(--rose-soft);
}

.en-top .en-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}

.en-top .en-pill {
  margin-left: auto;
}

.en-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 253, 248, 0.9);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}

/* ===== 王国地图 ===== */
.en-map {
  position: relative;
  flex: 1;
  min-height: 78dvh;
  overflow: hidden;
  background: linear-gradient(180deg, #dff0fb 0%, #bfe0f2 34%, #a8cfe8 52%, #8fc4e4 100%);
}

.en-map-sun {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 30px;
}

.en-map-cloud {
  position: absolute;
  font-size: 22px;
  opacity: 0.8;
}

.en-island {
  /* 不 unset 的话，浏览器默认按钮样式会在地图上给每座岛套一个白底灰框，
     把「blob + 名字」的设计压成一张卡片。其他按钮（dock / greet）也是这么处理的。 */
  all: unset;
  position: absolute;
  width: 108px;
  cursor: pointer;
  text-align: center;
  transform: translate(-50%, -50%);
  -webkit-tap-highlight-color: transparent;
}

.en-island-blob {
  height: 66px;
  border-radius: 52% 48% 55% 45% / 60% 55% 45% 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(160deg, var(--mint-soft), var(--gold-soft));
  border: 2.5px solid var(--line-strong);
  box-shadow: 0 4px 10px rgba(63, 138, 107, 0.18);
}

.en-island-castle .en-island-blob {
  background: linear-gradient(160deg, var(--rose-soft), #fbd3da);
  border-color: var(--rose);
}

.en-island-locked {
  cursor: default;
}

.en-island-locked .en-island-blob {
  background: #e8e4e0;
  border-color: #cfc6c0;
  filter: grayscale(0.9);
  opacity: 0.8;
  font-size: 22px;
}

.en-island-name {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.85);
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-block;
}

.en-island-locked .en-island-name {
  color: var(--ink-faint);
}

.en-island-sub {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.en-island-now .en-island-blob {
  animation: en-pulse 1.6s ease-in-out infinite;
}

@keyframes en-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 136, 150, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(233, 136, 150, 0); }
}

.en-princess {
  position: absolute;
  left: 24%;
  top: 4px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2.5px solid var(--paper);
  box-shadow: 0 3px 8px rgba(71, 54, 56, 0.3);
  object-fit: cover;
  pointer-events: none;
}

.en-bell {
  position: absolute;
  right: -6px;
  top: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 2px solid var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(169, 116, 32, 0.35);
}

.en-map-paw {
  position: absolute;
  font-size: 14px;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.en-map-more {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #5b7d95;
  opacity: 0.85;
  white-space: nowrap;
}

/* 地图问候气泡 */
.en-greet {
  position: absolute;
  top: 14px;
  left: 12px;
  right: 96px; /* 给右上角的贴纸角标留位 */
  background: var(--paper);
  border: 2px solid var(--rose);
  border-radius: 18px 18px 18px 4px;
  padding: 10px 12px;
  box-shadow: 0 6px 18px rgba(71, 54, 56, 0.18);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  z-index: 5;
}

.en-greet .en-greet-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.en-greet button {
  all: unset;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 14px;
}

.en-greet .en-greet-go {
  background: linear-gradient(135deg, #ed91a0, var(--rose-deep));
  color: #fffdf9;
}

.en-greet .en-greet-later {
  background: var(--paper-warm);
  border: 1.5px solid var(--line-strong);
  color: var(--ink-soft);
}

.en-map-badge {
  position: absolute;
  top: 14px;
  right: 14px;
}

/* 地图底部 dock */
.en-dock {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(255, 253, 248, 0.95);
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow: 0 6px 18px rgba(71, 54, 56, 0.22);
  white-space: nowrap;
}

.en-dock button {
  all: unset;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
}

.en-dock button:active {
  background: var(--rose-soft);
}

/* ===== 岛内：批列表 ===== */
.en-batch-list {
  flex: 1;
  padding: 8px 16px 120px;
}

.en-batch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 12px 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.en-batch:active {
  transform: scale(0.99);
}

.en-batch-passed {
  border-color: var(--mint-deep);
  background: var(--mint-soft);
}

.en-batch-now {
  border-color: var(--rose);
  box-shadow: 0 6px 18px rgba(233, 136, 150, 0.28);
}

.en-batch-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pinyin-font);
  font-weight: 700;
  font-size: 16px;
  background: var(--paper-warm);
  border: 2px solid var(--line-strong);
  color: var(--ink-soft);
}

.en-batch-passed .en-batch-icon {
  background: var(--white);
  border-color: var(--mint-deep);
  color: var(--mint-deep);
}

.en-batch-now .en-batch-icon {
  background: var(--rose-soft);
  border-color: var(--rose);
  color: var(--rose-deep);
}

.en-batch-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.en-batch-letters {
  font-family: var(--pinyin-font);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--rose-deep);
  font-size: 15px;
}

.en-batch-sub {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.en-batch-state {
  margin-left: auto;
  font-size: 18px;
}

/* ===== 批详情 ===== */
.en-batch-body {
  flex: 1;
  padding: 8px 18px 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.en-letter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.en-letter-card {
  background: var(--paper);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.en-letter-card .en-abc {
  font-size: 26px;
  color: var(--rose-deep);
}

.en-letter-card .en-letter-meta {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.en-stars {
  color: var(--gold-deep);
  font-size: 12px;
  letter-spacing: 1px;
}

.en-sound-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.en-sound-panel {
  grid-column: 1 / -1;
}

/* 高频词街：纯词形，不配图 */
.en-wordcard {
  font-family: var(--pinyin-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  background: var(--paper-warm);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  padding: 3px 10px;
}

.en-sight {
  font-family: var(--pinyin-font);
  font-weight: 700;
  color: var(--rose-deep);
  letter-spacing: 2px;
}

.en-spell {
  font-family: var(--pinyin-font);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--ink);
}

.en-btn {
  all: unset;
  display: block;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.en-btn-main {
  background: linear-gradient(135deg, #ed91a0, var(--rose-deep));
  color: #fffdf9;
  padding: 14px;
  font-size: 17px;
  box-shadow: 0 4px 0 rgba(210, 102, 121, 0.35);
}

.en-btn-gold {
  background: var(--gold-soft);
  border: 2px solid #efd9b6;
  color: #81540e;
  padding: 12px;
  font-size: 15px;
}

.en-btn-ghost {
  background: var(--paper);
  border: 2px solid var(--line-strong);
  color: var(--ink);
  padding: 12px;
  font-size: 15px;
}

.en-btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

.en-btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* ===== 见面卡 ===== */
.en-meet {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 24px 130px;
}

.en-meet-card {
  width: 100%;
  background: var(--paper);
  border: 2.5px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
}

.en-meet-card .en-abc {
  font-size: 56px;
  color: var(--rose-deep);
}

.en-meet-card .en-meet-emoji {
  font-size: 64px;
}

.en-meet-card .en-meet-word {
  font-family: var(--pinyin-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 6px;
}

.en-meet-card .en-meet-zh {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.en-meet-card .en-meet-note {
  font-size: 12px;
  color: var(--gold-deep);
  margin-top: 6px;
}

/* 每天一句生活英语：句子是主角，所以字号比见面卡的词大得多 */
.en-daily-line {
  font-family: var(--pinyin-font);
  font-size: 30px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--rose-deep);
  margin-bottom: 6px;
}

.en-daily-zh {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.en-meet-sounds {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.en-snd {
  all: unset;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--mint-deep);
  background: var(--mint-soft);
  border: 2px solid var(--mint);
  border-radius: 999px;
  padding: 9px 16px;
}

.en-snd:active {
  background: var(--white);
}

.en-meet-count {
  font-size: 13px;
  color: var(--ink-faint);
}

/* ===== 练习/小测/回炉共用 ===== */
.en-round-body {
  flex: 1;
  padding: 8px 18px 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.en-round-progress {
  display: flex;
  align-items: center;
  gap: 6px;
}

.en-round-progress .en-dot {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--line);
}

.en-round-progress .en-dot.done {
  background: var(--mint);
}

.en-round-progress .en-dot.now {
  background: var(--rose);
}

.en-round-progress .en-round-label {
  font-size: 12px;
  color: var(--ink-faint);
  margin-left: 6px;
  white-space: nowrap;
}

.en-prompt {
  background: var(--paper);
  border: 2.5px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
}

.en-prompt .en-abc {
  font-size: 54px;
  color: var(--rose-deep);
  font-family: var(--pinyin-font);
  font-weight: 700;
}

.en-prompt .en-pic-emoji {
  font-size: 58px;
}

.en-prompt .en-pic-word {
  font-family: var(--pinyin-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}

.en-speaker-btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--rose-deep);
  background: var(--rose-soft);
  border: 3px solid var(--rose);
  border-radius: 999px;
  padding: 16px 26px;
}

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

.en-speaker-btn .en-speaker-icon {
  font-size: 26px;
}

.en-speaker-btn .en-speaker-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
  text-align: left;
}

.en-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.en-option {
  all: unset;
  cursor: pointer;
  background: var(--paper);
  border: 2.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  text-align: center;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.en-option:active {
  transform: scale(0.98);
}

.en-option .en-abc {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
}

.en-option .en-pic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.en-option .en-pic-emoji {
  font-size: 34px;
}

.en-option .en-pic-word {
  font-size: 14px;
  color: var(--ink-soft);
}

.en-option.right {
  border-color: var(--correct);
  background: var(--correct-soft);
}

.en-option.wrong {
  border-color: var(--wrong);
  background: #fdeaea;
}

/* 家长判 */
.en-parent-judge {
  background: var(--gold-soft);
  border: 2px solid #efd9b6;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.en-parent-judge .en-parent-txt {
  flex: 1;
  font-size: 13px;
  color: #81540e;
  line-height: 1.5;
}

.en-parent-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.en-parent-btns button {
  all: unset;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  padding: 9px 16px;
  white-space: nowrap;
}

.en-parent-yes {
  background: var(--correct-soft);
  border: 2px solid var(--correct);
  color: var(--correct);
}

.en-parent-no {
  background: #fdeaea;
  border: 2px solid var(--wrong);
  color: var(--wrong);
}

/* 反馈条 */
.en-feedback {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
}

.en-feedback.good {
  background: var(--correct-soft);
  border: 2px solid var(--correct);
  color: var(--correct);
}

.en-feedback.bad {
  background: #fdeaea;
  border: 2px solid var(--wrong);
  color: var(--wrong);
}

.en-feedback .en-feedback-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.en-feedback .en-feedback-actions button {
  all: unset;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
}

.en-feedback.good .en-feedback-actions button,
.en-feedback.bad .en-feedback-actions button {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid currentColor;
}

/* ===== 结果页 ===== */
.en-done {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 24px 130px;
  text-align: center;
}

.en-done .en-done-emoji {
  font-size: 72px;
}

.en-done h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}

.en-done p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.en-done .en-btn {
  width: 100%;
}

/* ===== 家长看板 ===== */
.en-parent-body {
  flex: 1;
  padding: 8px 18px 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.en-panel {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.en-panel h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--ink);
}

.en-panel .en-panel-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 4px 0;
}

.en-panel .en-panel-row b {
  color: var(--ink);
}

.en-switch {
  margin-left: auto;
  all: unset;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 14px;
  border: 2px solid var(--line-strong);
  background: var(--paper-warm);
  color: var(--ink-soft);
}

.en-switch.on {
  border-color: var(--mint-deep);
  background: var(--mint-soft);
  color: var(--mint-deep);
}

.en-mini-progress {
  display: flex;
  gap: 4px;
}

.en-mini-progress span {
  width: 18px;
  height: 8px;
  border-radius: 99px;
  background: var(--line);
}

.en-mini-progress span.done {
  background: var(--mint);
}

.en-parent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
}

.en-mastery-cell {
  background: var(--paper-warm);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.en-mastery-cell .en-abc {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

/* ===== 今日推荐卡（地图顶部） ===== */
.en-today {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 2px solid var(--mint);
  border-radius: 16px;
  padding: 8px 10px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.06);
}

.en-today-emoji {
  font-size: 26px;
  line-height: 1;
}

.en-today-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
}

.en-today-text b {
  font-size: 14px;
}

.en-today-hint {
  font-size: 11px;
  color: var(--ink-faint);
}

.en-today-go {
  flex-shrink: 0;
  border: none;
  background: var(--mint);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
}

.en-today-go:active {
  transform: translateY(1px);
}

@media (min-width: 520px) {
  .en-today {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(92%, 360px);
  }
}

/* ===== 字母城堡：每格一个字母 ===== */
.en-letter-grid-castle {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.en-letter-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  border: 2px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  padding: 8px 10px;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
}

.en-letter-cell:active {
  transform: translateY(1px);
}

.en-letter-cell.en-letter-passed {
  border-color: var(--mint);
}

.en-letter-cell.en-letter-today {
  border-color: var(--gold);
  background: #fffdf5;
}

.en-letter-sound {
  font-size: 12px;
  color: var(--ink-soft);
  font-family: var(--pinyin-font);
}

.en-letter-words {
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
}

.en-todo {
  color: #c07a1a;
  font-size: 11px;
}

.en-done-tag {
  color: var(--mint-deep, #3d9a6a);
  font-size: 11px;
  font-weight: 700;
}

.en-today-tag {
  color: #b8860b;
  font-size: 11px;
  font-weight: 700;
}

/* ===== 单字母见面卡 ===== */
.en-abc-big {
  font-size: 64px;
}

.en-letter-meet {
  gap: 8px;
}

.en-meet-line {
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.en-word-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}

.en-word-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  align-items: center;
  background: var(--paper-warm);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
}

.en-word-emoji {
  grid-row: span 2;
  font-size: 34px;
}

.en-word-text {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--pinyin-font);
  color: var(--ink);
}

.en-word-zh {
  font-size: 12px;
  color: var(--ink-soft);
}

.en-word-card .en-snd {
  grid-column: 1 / -1;
}

.en-sentence-text {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--pinyin-font);
}

/* ===== 句型卡与补全句 ===== */
.en-sentence-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.en-sentence-fill {
  font-size: 24px;
  font-family: var(--pinyin-font);
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.5px;
}

.en-blank {
  display: inline-block;
  min-width: 68px;
  border-bottom: 3px solid var(--mint);
  color: var(--ink-faint);
}

/* ===== 家长看板：待复习与通过标记 ===== */
.en-review-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
}

.en-review-chip {
  background: var(--paper-warm);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--ink-soft);
}

.en-mastery-cell.en-mastery-passed {
  border-color: var(--mint);
  background: #f4fbf6;
}

.en-mastery-cell .en-todo {
  display: block;
  margin-top: 2px;
  font-size: 10px;
}

/* toast */
.en-toast {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  background: #3d2f31;
  color: #fff8ef;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  max-width: 86%;
  text-align: center;
}

.en-toast.is-on {
  opacity: 0.95;
}

.en-boot {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 15px;
}

/* ===== 平板横向 / 桌面放大档 =====
   同时卡宽高：手机横屏（如 932×430）高度不够，继续用手机版。
   地图岛屿按百分比定位，容器变宽后自动铺开，只需放大岛本身。 */
@media (min-width: 900px) and (min-height: 600px) {
  .en-app {
    max-width: 880px;
  }

  /* 顶栏 */
  .en-top {
    padding: 16px 22px 8px;
  }

  .en-top .en-back {
    font-size: 26px;
    padding: 6px 10px;
  }

  .en-top .en-title {
    font-size: 24px;
  }

  .en-pill {
    font-size: 16px;
    padding: 6px 14px;
  }

  /* 王国地图 */
  .en-map-sun {
    font-size: 42px;
  }

  .en-map-cloud {
    font-size: 32px;
  }

  .en-island {
    width: 148px;
  }

  .en-island-blob {
    height: 84px;
    font-size: 38px;
  }

  .en-island-locked .en-island-blob {
    font-size: 32px;
  }

  .en-island-name {
    font-size: 17px;
    padding: 3px 10px;
  }

  .en-island-sub {
    font-size: 14px;
  }

  /* 平板地图更高更宽，岛也更大，纵向位置按 768 高度重新排：
     避开顶部问候气泡（约 130px）和底部 dock（bottom 34px）。 */
  .en-island[data-island="letter"] {
    top: 27% !important;
  }

  .en-island[data-island="phonics"] {
    top: 37% !important;
  }

  .en-island[data-island="sight"] {
    top: 49% !important;
  }

  .en-island[data-island="sentence"] {
    top: 59% !important;
  }

  .en-island[data-island="theme"] {
    top: 70% !important;
  }

  .en-map-more {
    font-size: 14px;
    bottom: 128px;
  }

  /* 问候气泡 */
  .en-greet {
    padding: 14px 16px;
    font-size: 17px;
    right: auto;
    width: min(520px, calc(100% - 190px));
  }

  .en-greet button {
    font-size: 16px;
    padding: 9px 18px;
  }

  /* 底部 dock */
  .en-dock {
    bottom: 34px;
    gap: 10px;
    padding: 10px 14px;
  }

  .en-dock button {
    font-size: 16px;
    padding: 10px 16px;
  }

  /* 今日推荐卡 */
  .en-today {
    padding: 12px 16px;
    gap: 12px;
    border-radius: 20px;
    width: min(86%, 520px);
  }

  .en-today-emoji {
    font-size: 34px;
  }

  .en-today-text {
    font-size: 16px;
  }

  .en-today-text b {
    font-size: 18px;
  }

  .en-today-hint {
    font-size: 14px;
  }

  .en-today-go {
    font-size: 16px;
    padding: 10px 18px;
  }

  /* 岛内批列表 */
  .en-batch-list {
    padding: 12px 24px 140px;
  }

  .en-batch {
    width: 100%;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
  }

  .en-batch-icon {
    width: 58px;
    height: 58px;
    font-size: 20px;
  }

  .en-batch-title {
    font-size: 19px;
  }

  .en-batch-letters {
    font-size: 19px;
    letter-spacing: 4px;
  }

  .en-batch-sub {
    font-size: 15px;
  }

  .en-batch-state {
    font-size: 22px;
  }

  /* 批详情：一批 6-7 个字母正好 3 列两行 */
  .en-batch-body {
    gap: 14px;
    padding: 12px 24px 140px;
  }

  .en-letter-grid,
  .en-letter-grid-castle {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .en-letter-card {
    padding: 14px;
    border-radius: var(--radius-lg);
  }

  .en-letter-card .en-abc {
    font-size: 34px;
  }

  .en-letter-card .en-letter-meta {
    font-size: 15px;
  }

  .en-stars {
    font-size: 15px;
  }

  .en-letter-cell {
    padding: 12px 14px;
    border-radius: 18px;
  }

  .en-letter-sound,
  .en-letter-words {
    font-size: 15px;
  }

  .en-todo,
  .en-done-tag,
  .en-today-tag {
    font-size: 13px;
  }

  /* 通用按钮 */
  .en-btn {
    padding: 16px;
    font-size: 20px;
  }

  .en-btn-main {
    font-size: 21px;
  }

  .en-btn-gold,
  .en-btn-ghost {
    padding: 14px;
    font-size: 17px;
  }

  /* 见面卡 */
  .en-meet {
    gap: 18px;
    padding: 16px 32px 150px;
  }

  .en-meet-card {
    padding: 32px 26px;
  }

  .en-meet-card .en-abc {
    font-size: 78px;
  }

  .en-abc-big {
    font-size: 88px;
  }

  .en-meet-card .en-meet-emoji {
    font-size: 84px;
  }

  .en-meet-card .en-meet-word {
    font-size: 29px;
  }

  .en-meet-card .en-meet-zh {
    font-size: 18px;
  }

  .en-meet-card .en-meet-note {
    font-size: 15px;
  }

  .en-meet-line {
    font-size: 19px;
  }

  .en-word-emoji {
    font-size: 44px;
  }

  .en-word-text {
    font-size: 26px;
  }

  .en-word-zh {
    font-size: 15px;
  }

  .en-word-card .en-sentence-text {
    font-size: 17px;
  }

  .en-sentence-fill {
    font-size: 30px;
  }

  .en-blank {
    min-width: 84px;
  }

  .en-daily-line {
    font-size: 40px;
  }

  .en-daily-zh {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .en-snd {
    font-size: 16px;
    padding: 11px 19px;
  }

  .en-meet-sounds {
    gap: 12px;
  }

  .en-meet-count {
    font-size: 15px;
  }

  /* 练习 / 小测 / 回炉 */
  .en-round-body {
    gap: 16px;
    padding: 12px 26px 150px;
  }

  .en-round-progress .en-dot {
    height: 10px;
  }

  .en-round-progress .en-round-label {
    font-size: 15px;
  }

  .en-prompt {
    padding: 28px 22px;
  }

  .en-prompt .en-abc {
    font-size: 68px;
  }

  .en-prompt .en-pic-emoji {
    font-size: 74px;
  }

  .en-prompt .en-pic-word {
    font-size: 26px;
  }

  .en-speaker-btn {
    gap: 12px;
    padding: 18px 32px;
    font-size: 24px;
  }

  .en-speaker-btn .en-speaker-icon {
    font-size: 30px;
  }

  .en-speaker-btn .en-speaker-sub {
    font-size: 15px;
  }

  .en-options {
    gap: 14px;
  }

  .en-option {
    min-height: 100px;
    border-radius: 24px;
  }

  .en-option .en-abc {
    font-size: 40px;
  }

  .en-option .en-pic-emoji {
    font-size: 44px;
  }

  .en-option .en-pic-word {
    font-size: 17px;
  }

  /* 家长判 / 反馈条 */
  .en-parent-judge {
    gap: 16px;
    padding: 18px;
  }

  .en-parent-judge .en-parent-txt {
    font-size: 16px;
  }

  .en-parent-btns button {
    padding: 12px 20px;
    font-size: 16px;
  }

  .en-feedback {
    padding: 16px 18px;
    font-size: 17px;
  }

  .en-feedback .en-feedback-actions button {
    padding: 10px 18px;
    font-size: 15px;
  }

  /* 结果页 */
  .en-done .en-done-emoji {
    font-size: 92px;
  }

  .en-done h2 {
    font-size: 30px;
  }

  .en-done p {
    font-size: 17px;
  }

  /* 家长看板 */
  .en-parent-body {
    padding: 12px 24px 140px;
  }

  .en-panel {
    padding: 18px 20px;
  }

  .en-panel h3 {
    font-size: 18px;
  }

  .en-panel .en-panel-row {
    padding: 6px 0;
    font-size: 15px;
  }

  .en-switch {
    padding: 8px 16px;
    font-size: 15px;
  }

  .en-parent-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

  .en-mastery-cell {
    padding: 8px 10px;
    font-size: 14px;
  }

  .en-mastery-cell .en-abc {
    font-size: 18px;
  }

  .en-review-chip {
    padding: 5px 12px;
    font-size: 14px;
  }

  /* 其它 */
  .en-toast {
    bottom: 90px;
    font-size: 15px;
  }

  .en-boot {
    font-size: 17px;
  }
}
