/* 课表 → 3D / 二手教材 入口 */
.course-route-btn { color: var(--green) !important; font-weight: 650; }
.cs-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 10px; }
.cs-quick-btn { min-height: 44px; padding: 0 10px; border: 1px solid color-mix(in srgb, var(--line) 55%, transparent); border-radius: 13px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); font: inherit; font-size: 12px; font-weight: 600; }
.cs-quick-btn.primary { grid-column: 1 / -1; border-color: transparent; background: var(--green); color: #fff; }
.cs-quick-btn[data-cs-action="textbook"] { grid-column: 1 / -1; }
.cs-quick-btn:active { transform: scale(.985); }
.cs-quick-note { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
@media (max-width: 380px) { .cs-quick { grid-template-columns: 1fr; } .cs-quick-btn.primary { grid-column: auto; } }

/* 2026.11.25.506 — 今日课程「去上课」：可点击的轻玻璃 CTA，不再像小号状态标签 */
.td-page .course-route-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto !important;
  min-width: 0 !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 9px 0 0 !important;
  padding: 0 12px 0 7px !important;
  border: 1px solid rgba(255, 255, 255, .78) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .80), rgba(226, 237, 255, .58)) !important;
  box-shadow:
    0 4px 12px rgba(36, 92, 255, .10),
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -1px 0 rgba(36, 92, 255, .06) !important;
  color: #245cff !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  letter-spacing: .01em;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  filter: none !important;
  position: relative;
  vertical-align: middle;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), background .18s ease, box-shadow .18s ease;
}
.td-page .course-route-btn::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
}
.td-page .course-route-btn .cr-ico {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #5c88ff, #245cff);
  color: #fff;
  box-shadow: 0 2px 6px rgba(36, 92, 255, .22);
}
.td-page .course-route-btn .cr-ico svg {
  display: block;
  width: 11px;
  height: 11px;
}
.td-page .course-route-btn .cr-label {
  display: block;
  line-height: 1;
  transform: translateY(.2px);
}
.td-page .course-route-btn:active {
  transform: scale(.96) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(218, 231, 255, .75)) !important;
}
.td-page .course-route-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, #245cff 48%, transparent);
  outline-offset: 2px;
}
@media (hover: hover) {
  .td-page .course-route-btn:hover {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(218, 231, 255, .72)) !important;
    box-shadow:
      0 6px 16px rgba(36, 92, 255, .14),
      inset 0 1px 0 #fff,
      inset 0 -1px 0 rgba(36, 92, 255, .08) !important;
  }
}
html[data-scheme="dark"] .td-page .course-route-btn {
  border-color: rgba(157, 188, 255, .20) !important;
  background:
    linear-gradient(180deg, rgba(128, 162, 255, .16), rgba(56, 90, 168, .12)) !important;
  color: #a9c4ff !important;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, .20),
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 -1px 0 rgba(120, 156, 255, .08) !important;
}
html[data-scheme="dark"] .td-page .course-route-btn .cr-ico {
  background: linear-gradient(180deg, #8aadff, #4f7eff);
  color: #fff;
  box-shadow: 0 2px 7px rgba(44, 91, 220, .32);
}
html[data-scheme="dark"] .td-page .course-route-btn:active {
  background:
    linear-gradient(180deg, rgba(138, 171, 255, .24), rgba(70, 108, 194, .18)) !important;
}
@media (prefers-reduced-motion: reduce) {
  .td-page .course-route-btn { transition: none; }
}
