.qx-course-switcher {
  position: relative;
  z-index: 9000;
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(280px, 1.2fr);
  align-items: center;
  gap: 10px 22px;
  max-width: 1180px;
  margin: 18px auto 0;
  border: 1px solid rgba(185, 138, 69, .38);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 253, 248, .98), rgba(250, 245, 236, .98));
  box-shadow: 0 12px 36px rgba(44, 34, 26, .10);
  padding: 16px 20px;
  color: #2d2a26;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.qx-course-switcher-copy { display: grid; gap: 3px; }
.qx-course-switcher-copy span { color: #8e342c; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.qx-course-switcher-copy strong { font-family: "Songti SC", "STSong", serif; font-size: 20px; }
.qx-course-switcher-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qx-course-switcher-buttons button {
  min-height: 44px;
  border: 1px solid #d7ccc0;
  border-radius: 12px;
  background: #fff;
  color: #4b443d;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.qx-course-switcher-buttons button:hover { border-color: #a75a4f; color: #8e342c; }
.qx-course-switcher-buttons button.is-active {
  border-color: #8e342c;
  background: #8e342c;
  box-shadow: 0 6px 18px rgba(142, 52, 44, .20);
  color: #fff;
}
.qx-course-switcher > small { grid-column: 1 / -1; color: #756d64; font-size: 11px; line-height: 1.5; }

@media (max-width: 760px) {
  .qx-course-switcher { grid-template-columns: 1fr; margin: 10px 12px 0; padding: 14px; }
  .qx-course-switcher > small { grid-column: auto; }
}

@media (max-width: 420px) {
  .qx-course-switcher-buttons { grid-template-columns: 1fr; }
}
