[v-cloak] { display: none !important; }

/* 进度条 */
.top-progress-container {
  position: fixed; top: 0; left: 0; right: 0; height: 8px;
  background: #e2e8f0; z-index: 100;
}
.top-progress-bar {
  height: 100%; background: #3b82f0; transition: width 0.3s ease;
}

/* 遮罩 */
.mask-overlay {
  position: absolute; inset: 0; background: #e2e8f0;
  z-index: 50; border-radius: 6px; pointer-events: none;
  transition: 0.2s;
}

/* 头部 */
.header {
  background: #1e293b; color: white; padding: 0.75rem; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 0.5rem;
}
.logo-icon {
  color: #93c5fd; font-size: 1.25rem;
}
.title {
  font-size: 1.1rem; font-weight: bold;
}
.counter-badge {
  background: #2563eb; color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 99px; font-weight: bold;
}

/* 按钮 */
.btn-sm {
  font-size: 0.7rem; padding: 0.25rem 0.5rem; border-radius: 0.5rem; transition: 0.2s; border: none; cursor: pointer;
}
.btn-dark { background: #334155; color: white; }
.btn-blue { background: #2563eb; color: white; }
.btn-green { background: #10b981; color: white; }
.btn-orange { background: #f97316; color: white; }
.btn-purple { background: #a855f7; color: white; }
.btn-rose { background: #e11d48; color: white; }

/* 卡片 */
.card {
  background: white; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0; margin-bottom: 2rem;
}
.card-header {
  background: #1e3a8a; color: white; text-align: center; padding: 2.5rem 1rem;
}
.word-title {
  font-size: 3rem; font-weight: bold;
}
.phonetic {
  color: #93c5fd; font-style: italic; margin-bottom: 2rem;
}
.pos {
  color: #93c5fd; font-size: 0.75rem; margin-left: 0.25rem;
}
.audio-btn {
  width: 2.25rem; height: 2.25rem; background: rgba(255,255,255,0.1); border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: none; color: #93c5fd; cursor: pointer;
}
.audio-label {
  font-size: 0.5rem; opacity: 0.6;
}

/* 输入框 */
.input-container {
  max-width: 320px; margin: 0 auto 2rem auto;
}
.input-primary {
  width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.3);
  color: white; text-align: center; font-size: 1.5rem; padding: 0.5rem; outline: none;
}
.is-correct {
  color: #4ade80 !important; border-color: #4ade80 !important;
}

/* 模块 */
.card-body { padding: 2rem; }
.module-card {
  padding: 1.25rem; border-radius: 0.5rem; border-left: 4px solid;
}
.module-amber { background: #fffbeb; border-color: #f59e0b; }
.module-blue { background: #eff6ff; border-color: #3b82f6; }
.module-purple { background: #faf5ff; border-color: #a855f7; }
.module-title {
  font-size: 0.7rem; color: #334155; font-weight: bold; margin-bottom: 0.5rem;
}
.module-content {
  color: #334155; font-size: 0.9rem; line-height: 1.5;
}

/* 例句卡片 */
.example-card {
  border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: hidden;
}
.example-header {
  background: #f1f5f9; padding: 0.5rem 1rem; font-weight: bold; color: #475569; font-size: 0.8rem;
}
.example-en {
  font-style: italic; font-size: 1.1rem; color: #1e293b;
}
.example-zh {
  font-size: 0.85rem; color: #475569;
}
.example-core {
  font-size: 0.85rem; color: #1e40af; font-weight: bold;
}

/* 底部按钮 */
.card-footer {
  background: #f8fafc; padding: 1.5rem; border-top: 1px solid #e2e8f0;
}
.btn-mark {
  flex: 1; padding: 0.75rem; border-radius: 0.75rem; font-weight: bold; cursor: pointer; border: none; transition: 0.2s;
}
.btn-red { background: white; color: #ef4444; border: 1px solid #fecaca; }
.btn-amber { background: white; color: #d97706; border: 1px solid #fde68a; }
.btn-green-fill { background: #22c55e; color: white; }

/* 弹窗 */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1rem; z-index: 100;
}
.modal-content {
  background: white; width: 100%; max-width: 500px; border-radius: 1rem; padding: 1.5rem;
  max-height: 90vh; overflow-y: auto;
}
.modal-title {
  font-weight: bold; font-size: 1.25rem; margin-bottom: 1rem; color: #1e3a8a;
}
.btn-modal-primary {
  flex: 1; padding: 0.75rem; background: #1d4ed8; color: white; border-radius: 0.75rem; border: none; cursor: pointer;
}
.btn-modal-dark {
  padding: 0.5rem 1.5rem; background: #e2e8f0; color: #334155; border: none; border-radius: 0.5rem; cursor: pointer;
}
.btn-modal-rose {
  width: 100%; padding: 0.75rem; background: #e11d48; color: white; border: none; border-radius: 0.75rem; cursor: pointer;
}
.btn-modal-rose-dark {
  padding: 0.75rem; background: #be123c; color: white; border: none; border-radius: 0.75rem; cursor: pointer;
}
.btn-modal-amber {
  padding: 0.75rem; background: #d97706; color: white; border: none; border-radius: 0.75rem; cursor: pointer;
}

/* 滚动条 */
.custom-scroll::-webkit-scrollbar { width: 6px; }
.custom-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }