  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=JetBrains+Mono:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700;900&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap');

  :root {
    --bg-primary: #faf8f5;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-muted: #999;
    --accent: #2563eb;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { background: var(--bg-primary); scrollbar-width: none; -ms-overflow-style: none; }
  html::-webkit-scrollbar { display: none; }
  body { font-family: 'Inter','Noto Sans SC',sans-serif; background: var(--bg-primary); color: var(--text-primary);  overflow-x: hidden; -webkit-font-smoothing: antialiased; }
  body::-webkit-scrollbar { display: none; }

  /* ── 页面布局 ── */
  .word-section { padding: 80px 24px; background: #faf8f5; }
  .word-container { position: relative; z-index: 1; }
  .word-title { font-size: clamp(28px,4vw,48px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }

  /* ── 日历触发按钮 ── */
  .word-cal-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 32px; border-radius: 12px;
    border: 1.5px solid rgba(201,164,75,0.3);
    background: linear-gradient(135deg, rgba(26,26,42,0.95), rgba(15,23,42,0.95));
    color: #e2c170; font-size: 15px; font-weight: 600; cursor: pointer;
    font-family: 'Source Serif 4', 'Georgia', serif; letter-spacing: 0.04em;
    box-shadow: 0 0 20px rgba(180,130,40,0.12), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: all 0.35s cubic-bezier(0.25,0.1,0.25,1);
  }
  .word-cal-btn:hover {
    box-shadow: 0 0 32px rgba(180,130,40,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
    border-color: rgba(226,193,112,0.6); transform: translateY(-1px);
  }
  .word-cal-btn__label { font-family: 'Source Serif 4', 'Georgia', serif; }

  /* ── 日历弹窗 ── */
  .cal-overlay { display: none; position: fixed; inset: 0; z-index: 100000; background: rgba(10,10,20,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); align-items: center; justify-content: center; font-family: 'Inter','Noto Sans SC',sans-serif; }
  .cal-box { position: relative; background: #fff; width: 440px; max-width: 95%; border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04); overflow: hidden; }
  .cal-header { background: linear-gradient(135deg, rgba(26,26,42,0.96), rgba(15,23,42,0.96)); padding: 24px 32px 20px; color: #fff; position: relative; overflow: hidden; }
  .cal-header__decor--tr { position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(201,164,75,0.06); pointer-events: none; }
  .cal-header__decor--bl { position: absolute; bottom: -30px; left: -20px; width: 80px; height: 80px; border-radius: 50%; background: rgba(201,164,75,0.04); pointer-events: none; }
  .cal-header__row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
  .cal-header__title { font-family: 'Source Serif 4','Georgia',serif; font-size: 28px; font-weight: 700; letter-spacing: 0.03em; color: #e2c170; margin-bottom: 2px; }
  .cal-header__sub { font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; font-weight: 400; }
  .cal-header__date { font-family: 'Source Serif 4','Georgia',serif; font-size: 28px; font-weight: 700; letter-spacing: 0.03em; color: #f59e0b; white-space: nowrap; }
  .cal-year-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px 8px; }
  .cal-year-nav__btn { cursor: pointer; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: #94a3b8; font-size: 18px; user-select: none; transition: all 0.2s; }
  .cal-year-nav__btn:hover { background: #f5f5f4; color: #1a1a1a; }
  .cal-year-nav__label { font-family: 'Source Serif 4','Georgia',serif; font-size: 26px; font-weight: 700; color: #1a1a1a; letter-spacing: 0.02em; }
  .cal-month-nav { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 0 28px 12px; }
  .cal-month-nav__btn { cursor: pointer; padding: 6px 14px; border-radius: 9999px; border: 1px solid rgba(0,0,0,0.08); font-size: 12px; color: #78716c; user-select: none; letter-spacing: 0.03em; font-weight: 500; transition: all 0.2s; font-family: 'Inter','Noto Sans SC',sans-serif; }
  .cal-month-nav__btn:hover { background: #faf8f5; border-color: rgba(201,164,75,0.4); color: #1a1a1a; }
  .cal-month-nav__label { cursor: pointer; font-size: 30px; color: #c9a44b; font-weight: 700; padding: 4px 0; user-select: none; letter-spacing: 0.04em; font-family: 'Source Serif 4','Georgia',serif; transition: opacity 0.2s; }
  .cal-month-nav__label:hover { opacity: 0.7; }
  .cal-divider { margin: 4px 28px 0; border-top: 1px solid rgba(0,0,0,0.05); }
  .cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; padding: 12px 24px 6px; }
  .cal-weekdays__day { font-size: 10px; font-weight: 500; letter-spacing: 0.06em; font-family: 'Inter','Noto Sans SC',sans-serif; color: #a8a29e; }
  .cal-weekdays__day--sun, .cal-weekdays__day--sat { color: #c9a44b; font-weight: 600; letter-spacing: 0.08em; }
  .cal-grid { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; padding: 4px 24px 16px; row-gap: 4px; }
  /* mac 风格关闭: 右上角红点带 × */
  .cal-close__btn { position: absolute; top: 12px; right: 12px; z-index: 10; width: 16px; height: 16px; padding: 0; margin: 0; border: none; border-radius: 50%; background: #ff5f57; color: rgba(0,0,0,0.5); font-size: 12px; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, transform 0.15s; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.12); }
  .cal-close__btn:hover { background: #ff453a; color: rgba(0,0,0,0.72); transform: scale(1.12); }

  .btn-capsule { display:inline-flex;align-items:center;gap:8px;padding:10px 22px;border-radius:9999px;font-size:14px;font-weight:500;border:1px solid rgba(0,0,0,0.08);background:rgba(0,0,0,0.02);color:var(--text-secondary);transition:all .35s;white-space:nowrap;text-decoration:none; }
  .btn-capsule:hover { border-color:rgba(37,99,235,0.3);color:#1a1a1a;background:rgba(37,99,235,0.04); }
  .btn-capsule.accent { background:var(--accent);border-color:var(--accent);font-weight:600;color:#fff; }
  .btn-capsule.accent:hover { background:#3b82f6; }
  .btn-capsule.nav-active { background:rgba(37,99,235,0.1);border-color:rgba(37,99,235,0.3);color:#2563eb;font-weight:600; }
  .btn-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; background: rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.06); color: #555; transition: all .3s;  }
  .btn-icon:hover { background: rgba(0,0,0,0.06); color: #1a1a1a; }
  .btn-icon.active { background: var(--accent); border-color: var(--accent); color: #fff; }

  .custom-scrollbar { position: fixed; right: 6px; top: 10%; bottom: 10%; width: 4px; z-index: 9999; transition: width .35s; }
  .custom-scrollbar-track { width: 100%; height: 100%; border-radius: 2px; background: rgba(0,0,0,0.06); }
  .custom-scrollbar-thumb { position: absolute; top: 0; width: 100%; min-height: 20px; border-radius: 2px; background: rgba(0,0,0,0.15); transition: background .35s,width .35s; cursor: pointer; }
  .custom-scrollbar:hover { width: 8px; }
  .custom-scrollbar:hover .custom-scrollbar-thumb { background: rgba(0,0,0,0.3); }
  .custom-scrollbar.dragging { width: 8px; }
  .custom-scrollbar.dragging .custom-scrollbar-thumb { background: rgba(0,0,0,0.4); }

  .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 100000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .modal-overlay.open { opacity: 1; pointer-events: auto; }
  .modal-box { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 20px; padding: 36px; max-width: 520px; width: 90%; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,0.1); }
  .modal-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
  .modal-box .modal-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
  .modal-logos { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
  .modal-logo-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: transform 0.3s; }
  .modal-logo-item:hover { transform: translateY(-4px); }
  .modal-logo-item .logo-circle { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; border: 1px solid rgba(255,255,255,0.08); }
  .modal-logo-item .logo-label { font-size: 12px; color: var(--text-muted); }
  .modal-qr { width: 120px; height: 120px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--text-muted); }
  .modal-close { margin-top: 24px; padding: 8px 28px; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: var(--text-secondary); font-size: 13px; cursor: pointer; transition: all 0.3s; }
  .modal-close:hover { background: rgba(255,255,255,0.08); color: #fff; }

  .card-scroll-wrapper { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .card-scroll-wrapper::-webkit-scrollbar { display: none; }
  .card-scroll-inner { display: flex; gap: 14px; padding: 0 2px; }
  .vocab-lib-card { flex-shrink: 0; width: 260px; scroll-snap-align: start; }
  .vocab-lib-card .vocab-thumb { height: 160px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; position: relative; overflow: hidden; }
  .vocab-lib-card .vocab-thumb .v-word { font-size: 18px; font-weight: 700; font-family: 'Source Serif 4', 'Georgia', serif; color: rgba(255,255,255,0.9); position: relative; z-index: 1; }
  .vocab-lib-card .vocab-thumb .v-ipa { font-size: 10px; font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.35); margin-top: 4px; position: relative; z-index: 1; }
  .vocab-lib-card .card-info { padding: 10px 4px 4px; }
  .vocab-lib-card .card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
  .vocab-lib-card .card-title { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.4; }
  .vocab-lib-card .card-excerpt { font-size: 11px; color: var(--text-muted); line-height: 1.5; margin-top: 2px; }

  .toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px); background: rgba(30,30,35,0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 9999px; padding: 10px 24px; font-size: 13px; color: var(--text-primary); z-index: 9999; transition: transform 0.4s cubic-bezier(0.25,0.1,0.25,1); display: flex; align-items: center; gap: 8px; pointer-events: none; }
  .toast.show { transform: translateX(-50%) translateY(0); }

  .wide-container { width: min(96%, 2200px); margin-left: auto; margin-right: auto; padding-left: max(12px, 1.5vw); padding-right: max(12px, 1.5vw); }

  /* ── Flashcard ── */
  .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
  @media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
  @media (min-width: 1440px) { .card-grid { grid-template-columns: repeat(5, 1fr); } }

  .flashcard { perspective: 800px; height: 220px;  }
  .flashcard-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.25,0.1,0.25,1); transform-style: preserve-3d; }
  .flashcard.flipped .flashcard-inner { transform: rotateY(180deg); }

  .flashcard-front, .flashcard-back {
    position: absolute; inset: 0; backface-visibility: hidden;
    border-radius: 16px; padding: 24px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  }
  .flashcard-front { background: transparent; border: none; }
  .flashcard-back { background: transparent; border: none; transform: rotateY(180deg); }

  .flashcard .word-en { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; font-family: 'Source Serif 4', 'Georgia', serif; color: #1a1a1a; }
  .flashcard .word-ipa { font-size: 13px; color: #888; font-family: 'JetBrains Mono',monospace; margin-bottom: 4px; }
  .flashcard .word-zh { font-size: 20px; font-weight: 600; color: #1a1a1a; margin-bottom: 10px; font-family: 'Source Serif 4', 'Noto Serif SC', serif; }
  .flashcard .word-example { font-size: 13px; color: #666; line-height: 1.6; font-style: italic; font-family: 'Source Serif 4', 'Noto Serif SC', serif; }
  .flashcard .word-grammar { font-size: 11px; color: #999; margin-top: 8px; font-family: 'Source Serif 4', 'Noto Serif SC', serif; }
  .flashcard-front, .flashcard-back { font-family: 'Source Serif 4', 'Noto Serif SC', serif; }
  .flashcard .flip-hint { font-size: 10px; color: rgba(0,0,0,0.15); position: absolute; bottom: 12px; right: 16px; }

  .tag-filter-btn { padding: 6px 14px; border-radius: 9999px; font-size: 12px; font-weight: 500; border: 1px solid rgba(0,0,0,0.08); background: transparent; color: #888;  transition: all 0.3s; white-space: nowrap; }
  .tag-filter-btn:hover { border-color: rgba(0,0,0,0.2); color: #555; }
  .tag-filter-btn.active { background: rgba(37,99,235,0.1); border-color: rgba(37,99,235,0.3); color: #2563eb; }

  /* ── Shimmer ── */
  @keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
  .shimmer-text { user-select:none;cursor:default; background:linear-gradient(90deg,#0c1929,#1a365d,#1e4d8c,#2563eb,#3b82f6,#1e4d8c,#0c1929);background-size:300% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:shimmer 10s linear infinite; }

  /* ── Particle ── */
  .particle { position: absolute; border-radius: 50%; pointer-events: none; animation: floatUp 8s linear infinite; opacity: 0; }
  @keyframes floatUp { 0% { transform: translateY(0) scale(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 0.3; } 100% { transform: translateY(-100vh) scale(1); opacity: 0; } }

  @media (max-width: 768px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .flashcard { height: 180px; }
    .flashcard .word-en { font-size: 18px; }
    .flashcard .word-zh { font-size: 16px; }
  }
  /* ═══ 手机端全面适配 ═══ */
  @media (max-width: 640px) {
    .card-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .flashcard { height: 160px; }
    .flashcard-front, .flashcard-back { padding: 16px; }
    /* 1. 标题清出导航栏 + 一行铺满(对齐 vlog) */
    .word-section{padding:calc(138px + env(safe-area-inset-top,0px)) 0 24px!important;overflow-x:hidden!important}
    .word-section .wide-container,.footer .wide-container{width:100%!important;padding-left:8px!important;padding-right:8px!important;box-sizing:border-box!important}
    .word-title{font-size:4.5vw!important;white-space:nowrap!important;margin-bottom:6px!important}
    /* 2. 日历按钮缩小(对齐 vlog) + 标题区间距收窄 */
    .word-cal-btn{transform:scale(0.8)!important;transform-origin:center center!important}
    .cal-overlay{z-index:999999!important}
    .text-center.mb-6{margin-bottom:10px!important}
    /* 3. 容器左右边距对齐 vlog(12px) */
    .word-container{width:100%!important;padding-left:8px!important;padding-right:8px!important}
    /* 4. 隐藏自定义滚动条 */
    .custom-scrollbar{display:none!important}
  }
  @media (max-width: 400px) {
    .word-section{padding:calc(122px + env(safe-area-inset-top,0px)) 0 24px!important}
    .card-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .flashcard { height: 140px; }
    .flashcard .word-en { font-size: 17px; }
    .flashcard .word-zh { font-size: 15px; }
  }
@keyframes drift{0%,100%{transform:translate(0,0) scale(1)}25%{transform:translate(12px,-8px) scale(1.04)}50%{transform:translate(-6px,-16px) scale(0.96)}75%{transform:translate(-14px,6px) scale(1.02)}}
.float-logo{position:fixed;pointer-events:none;z-index:9999;border-radius:50%;filter:blur(1px)}
.float-logo--tl{opacity:.07;width:140px;height:140px;top:12%;left:3%;transform:rotate(-18deg);animation:drift 18s ease-in-out infinite}
.float-logo--br{opacity:.065;width:120px;height:120px;bottom:12%;right:3%;transform:rotate(-8deg);animation:drift 17s ease-in-out infinite;animation-delay:-5s}
@media(max-width:640px){.float-logo{display:none}}
/* ── 单词搜索工具栏（所有用户可用，不受锁限制）── */
.word-search-bar {
  display: flex; align-items: center; gap: 8px;
  max-width: 520px; margin: 0 auto 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.word-search-bar:focus-within {
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.word-search-bar__input {
  flex: 1; min-width: 0; border: none; outline: none;
  background: transparent; font-size: 15px; font-weight: 400;
  font-family: 'Inter','Noto Sans SC',sans-serif;
  color: var(--text-primary);
  padding: 12px 0 12px 16px;
}
.word-search-bar__input::placeholder { color: #bfbfbf; font-weight: 400; font-size: 14px; }
.word-search-bar__btn {
  flex-shrink: 0; padding: 8px 20px; margin-right: 4px;
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  color: #555; font-size: 13px; font-weight: 500; cursor: pointer;
  font-family: inherit; letter-spacing: 0.06em;
  transition: all 0.2s ease;
}
.word-search-bar__btn:hover {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.2);
  color: #1a1a1a;
}
.word-search-bar__btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── 搜索结果弹窗 ── */
.word-results-overlay {
  display: none; position: fixed; inset: 0; z-index: 100001;
  background: rgba(10,10,20,0.5); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.word-results-overlay.show { display: flex; }
.word-results-box {
  position: relative; background: #fff; width: 500px; max-width: 92%;
  max-height: 80vh; overflow-y: auto; border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 28px 32px;
  scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.12) transparent;
}
.word-results-box::-webkit-scrollbar { width: 4px; }
.word-results-box::-webkit-scrollbar-thumb { border-radius: 2px; background: rgba(0,0,0,0.15); }

/* mac红点关闭按钮 */
.word-results-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 16px; height: 16px; padding: 0; margin: 0;
  border: none; border-radius: 50%; background: #ff5f57;
  color: rgba(0,0,0,0.5); font-size: 12px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.12);
}
.word-results-close:hover { background: #ff453a; color: rgba(0,0,0,0.72); transform: scale(1.12); }

.word-results-word {
  font-family: 'Source Serif 4','Georgia',serif;
  font-size: 32px; font-weight: 700; letter-spacing: -0.01em;
  color: #1a1a1a; margin-bottom: 2px;
}
.word-results-phonetic {
  font-family: 'JetBrains Mono',monospace; font-size: 15px; color: #888;
  margin-bottom: 14px;
}
.word-results-pos {
  display: inline-block; padding: 3px 12px; border-radius: 9999px;
  background: rgba(37,99,235,0.08); color: #2563eb;
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.word-results-definition {
  font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 8px;
  padding: 14px 16px; background: rgba(0,0,0,0.02);
  border-radius: 10px; font-style: italic;
}
.word-results-translation {
  font-size: 15px; color: #1a1a1a; line-height: 1.9;
  padding: 14px 16px; background: rgba(37,99,235,0.02);
  border-radius: 10px; border: 1px solid rgba(37,99,235,0.06);
}
.word-results-meta {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px;
}
.word-results-meta span {
  font-size: 11px; color: #94a3b8; padding: 3px 10px;
  border-radius: 6px; background: rgba(0,0,0,0.02);
}
.word-results-empty {
  text-align: center; padding: 40px 20px; color: #94a3b8; font-size: 14px;
}
.word-results-spinner {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; color: #94a3b8;
}

/* 搜索栏手机端适配 */
@media(max-width:640px){
  .word-search-bar{padding:0;border-radius:0;margin-left:8px;margin-right:8px;gap:6px}
  .word-search-bar__input{font-size:13px;padding:8px 0 8px 12px}
  .word-search-bar__btn{padding:7px 12px;font-size:11px;margin-right:2px;white-space:nowrap}
  .word-results-box{padding:22px 18px}
  .word-results-word{font-size:26px}
}

/* ═══ Landscape phone ═══ */
@media(max-height:500px) and (orientation:landscape){
  .card-grid{gap:8px!important}
  .flashcard{height:120px!important}
  .flashcard .word-en{font-size:15px!important}
  .flashcard .word-zh{font-size:13px!important}
}



.word-lvl { font-size: 10px; font-weight:600; padding:2px 8px; border-radius:9999px; letter-spacing:0.04em; text-transform:uppercase; }
.word-pos { font-size: 11px; color: #888; font-weight: 500; }
.word-pos { font-size: 11px; color: #888; font-weight: 500; margin-bottom: 10px; }
.word-speak { display:block; margin:0 auto 2px; width:26px; height:26px; cursor:pointer; font-size:12px; text-align:center; line-height:26px; color:#6366f1; transition:all 0.2s; flex-shrink:0; background:none; border:none; opacity:0.6; }
.word-speak:hover { opacity:1; }
.word-def-full { font-size:12px; color:#666; margin-top:6px; line-height:1.6; }
.type-input { width:80%; text-align:center; border:none; border-bottom:1px solid #ddd; padding:4px 0; font-size:12px; outline:none; background:transparent; color:#555; margin-top:0; font-family:'JetBrains Mono',monospace; }
.type-input--back { margin-top:12px; }
/* 等级仅保留文字颜色，无框无背景 */
.lvl-gaokao { color:#16a34a; }
.lvl-cet4   { color:#0d9488; }
.lvl-cet6   { color:#2563eb; }
.lvl-kaoyan { color:#7c3aed; }
.lvl-toefl  { color:#ea580c; }
.lvl-ielts  { color:#ea580c; }
.lvl-gre    { color:#dc2626; }
.lvl-collins{ color:#b91c1c; }

/* 等级小圆点 — 卡片右上角 5px 精致标识 */
.flashcard-front[class*="card-lvl-"]::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0.45;
}
.card-lvl-gaokao::after { background: #16a34a; }
.card-lvl-cet4::after   { background: #0d9488; }
.card-lvl-cet6::after   { background: #2563eb; }
.card-lvl-kaoyan::after { background: #7c3aed; }
.card-lvl-toefl::after  { background: #ea580c; }
.card-lvl-ielts::after  { background: #ea580c; }
.card-lvl-gre::after    { background: #dc2626; }
.card-lvl-collins::after{ background: #b91c1c; }
.word-en.lvl-gaokao { color: #16a34a; }
.word-en.lvl-cet4   { color: #0d9488; }
.word-en.lvl-cet6   { color: #2563eb; }
.word-en.lvl-kaoyan { color: #7c3aed; }
.word-en.lvl-toefl  { color: #ea580c; }
.word-en.lvl-ielts  { color: #ea580c; }
.word-en.lvl-gre    { color: #dc2626; }
.word-en.lvl-collins{ color: #b91c1c; }


.flashcard--locked { pointer-events: none; }
/* 卡片内容模糊 — 锁遮罩在上层不受影响 */
.flashcard-front__body--blur { filter: blur(2px); }
/* 锁遮罩 15% */
.flashcard--locked .pl-card-overlay { background: rgba(10,10,20,0.01); cursor: default; }
.flashcard--locked .pl-card-overlay__sweep { display: none; }
.flashcard--locked .pl-card-overlay__icon { opacity: 1; }
.flashcard--locked .pl-card-overlay__text { color: #d2c3aa; opacity: 1; }
/* 手机端 footer 统一(vlog基准) */
@media (max-width: 640px){ .footer__inner{flex-direction:column!important;align-items:center!important;text-align:center!important;gap:6px!important} .footer__brand,.footer__icp,.footer__copyright{flex:none!important;order:1} .footer__icp{order:2;white-space:nowrap!important;flex-wrap:nowrap!important} .footer__copyright{order:3;justify-content:center!important} .footer{padding:14px 0!important;font-size:10px!important;overflow-x:hidden!important} .footer .wide-container{padding-left:8px!important;padding-right:8px!important} }
