@media (max-width: 768px) {

  /* ════════════════════════════
     全域
  ════════════════════════════ */
  .main-wrapper, .main-container,
  .main-content, .main-content-page {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .main-content-page {
    background: #fff !important;
  }
  .index-title, .lesson-intro-small, .lesson-intro-normal,
  .padbt12, .padbt18, .main-content-page > p,
  .thelist, .m-section {
    display: none !important;
  }

  /* ════════════════════════════
     首頁標題區
  ════════════════════════════ */
  .mb-hero {
    padding: 18px 12px 12px;
  }
  .mb-headline {
    font-size: 1.7rem;
    font-weight: 700;
    color: #29365b;
  }
  .mb-headline span {
    color: #ab6010;
    padding-left: 6px;
  }
  .mb-hero-sub {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
    line-height: 1.6;
  }

  /* ════════════════════════════
     聽力卡片
  ════════════════════════════ */
  .mb-listen-card {
    box-sizing: border-box;
    margin: 12px 12px 28px;
    padding: 16px 16px 18px;
    border-radius: 12px;
    border: 2px solid #c6d3e0;
    position: relative;
    overflow: hidden;
  }
  .mb-listen-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 90px; height: 90px;
    border-radius: 50%;
    border: 18px solid #d0e8e0;
    opacity: 0.3;
  }
  .mb-listen-card::after {
    content: '';
    position: absolute;
    bottom: -20px; right: 20px;
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 10px solid #f5e8d5;
    opacity: 0.4;
  }
  .mb-listen-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #5b7398;
    border: 1px solid #bac7da;
    padding: 3px 12px;
    border-radius: 99px;
    margin-bottom: 12px;
  }
  .mb-listen-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #344269;
    line-height: 1.3;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
  }
  .mb-listen-title span { color: #2681af; }
  .mb-listen-sub {
    font-size: 1rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
  }
  .mb-listen-btns {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 1;
  }
  .mb-listen-btn-left,
  .mb-listen-btn-right {
    flex: 1;
    background-color: #f5feff;
    color: #546382;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    border: 2px solid #86a9c9;
  }
  .mb-listen-btn-left:active,
  .mb-listen-btn-right:active { background: #e8f4ff; }

  /* ════════════════════════════
     農場卡片
  ════════════════════════════ */
  .mb-myfarm-card {
    display: block;
    text-decoration: none;
    margin: 16px 12px 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ccc;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
  }
  .mb-myfarm-card:active { background: #fdf6ee; }
  .mb-myfarm-top-img {
    width: 100%;
    height: auto;
    display: block;
    padding: 6px;
    box-sizing: border-box;
    border-radius: 12px;
  }
  .mb-myfarm-body {
    padding: 16px 12px 3px;
  }
  .mb-myfarm-card-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #29365b;
    margin-bottom: 6px;
  }
  .mb-myfarm-card-desc {
    font-size: 1.05rem;
    color: #777;
    line-height: 1.8;
  }
  .mb-myfarm-color { color: #8c755d; }
  .mb-myfarm-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0 16px 6px;
    color: #bbb;
    font-size: 1rem;
  }

  /* ════════════════════════════
     通用卡片（自訂單字本 / KK音標）
  ════════════════════════════ */
  .mb-mybook-card {
    box-sizing: border-box;
    margin: 0 12px 18px;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #c6d3e0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    background: #fff;
  }
  a.mb-mybook-card:active { background: #f5f8ff; }

  .mb-mybook-tag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
  }
  .mb-mybook-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a6a85;
    border: 1px solid #86a9c9;
    padding: 3px 12px;
    border-radius: 99px;
    margin-bottom: 9px;
  }
  .mb-mybook-arrow {
    width: 22px;
    height: 22px;
    object-fit: contain;
    position: relative;
    top: -6px;
  }
  .mb-mybook-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #29365b;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .mb-mybook-title span {
    color: #2681af;
    padding-right: 9px;
  }
  .mb-mybook-desc-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 12px 0 12px;
  }
  .mb-mybook-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .mb-unit-img {
    width: 60px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
  }
  .mb-mybook-desc {
    font-size: 1rem;
    color: #777;
    line-height: 1.6;
    flex: 1;
    min-width: 0;
  }
  .mb-mybook-note {
    font-size: 1rem;
    color: #557087;
    line-height: 1.6;
  }

  /* 單元課程卡片（無 active，因為有兩個按鈕） */
  .mb-unit-card {
    box-sizing: border-box;
    margin: 0 12px 18px;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #c6d3e0;
    background: #fff;
    -webkit-tap-highlight-color: transparent;
  }

  /* ════════════════════════════
     Game Zone
  ════════════════════════════ */
  .mb-game-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #d2dce8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 14px 12px;
    margin: 10px 12px 16px;
  }
  .mb-game-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }
  .mb-game-card-line {
    flex: 1;
    height: 1px;
    background: #d2dce8;
  }
  .mb-game-card-label {
    font-size: 13px;
    font-weight: 700;
    color: #7a9ab5;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .mb-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mb-game-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 4px;
    border-radius: 12px;
    border: 1px solid #e4ecf4;
    background: #f7fafd;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: border-color 0.15s, background 0.15s;
  }
  .mb-game-cell:active {
    border-color: #7a9ab5;
    background: #eaf2f8;
  }
  .mb-game-cell img {
    width: 58%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
  }
  .mb-game-cell-subtitle {
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
    pointer-events: none;
  }
  .mb-game-cell-title {
    font-size: 1rem;
    font-weight: 600;
    color: #3f5568;
    text-align: center;
    pointer-events: none;
  }

  /* ════════════════════════════
     免費課程
  ════════════════════════════ */
  .mb-free-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #d2dce8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 14px 12px;
    margin: 10px 12px 16px;
  }
  .mb-free-header { margin-bottom: 4px; }
  .mb-free-label {
    font-size: 13px;
    font-weight: 700;
    color: #40617c;
    letter-spacing: 0.08em;
  }
  .mb-free-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 4px;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
  }
  .mb-free-item:last-child { border-bottom: none; }
  .mb-free-item:active { background: #f5f8ff; }
  .mb-free-num {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #7fa1bb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #465e84;
    flex-shrink: 0;
  }
  .mb-free-text { flex: 1; }
  .mb-free-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #29365b;
    line-height: 1.3;
    margin-bottom: 3px;
  }
  .mb-free-desc {
    font-size: 0.82rem;
    color: #aaa;
    line-height: 1.5;
  }

  /* ════════════════════════════
     底部說明
  ════════════════════════════ */
  .mb-about {
    padding: 24px 20px 32px;
  }
  .mb-about-title {
    font-size: 13px;
    font-weight: 700;
    color: #2a1f14;
    margin-bottom: 10px;
  }
  .mb-about-text {
    font-size: 12px;
    color: #666;
    line-height: 1.9;
  }
  .mb-about-text + .mb-about-text { margin-top: 12px; }

/* 單字.遊戲 小圓點 */
.dot-divider + .dot-divider::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  margin: 0 5px 2px;
  vertical-align: middle;
}

} /* end @media */
