/* Match the homepage's notebook cards within the course center. */
[data-catalog-mode="center"] .course-card {position:relative;min-width:0;border-radius:13px;background:#39342d;border:1px solid #8a7862;}
[data-catalog-mode="center"] .course-card[data-subject="物理"] {background:#35362e;border-color:#777c66;}
[data-catalog-mode="center"] .course-card[data-subject="化学"] {background:#35313a;border-color:#817789;}
[data-catalog-mode="center"] .course-card-body {display:flex;flex-direction:column;min-height:224px;height:100%;padding:20px;}
[data-catalog-mode="center"] .course-meta {max-width:calc(100% - 120px);font-size:11px;line-height:1.6;color:#d4cebd;}
[data-catalog-mode="center"] .course-card h3 {max-width:calc(100% - 120px);font-size:23px;line-height:1.35;margin:8px 0;}
[data-catalog-mode="center"] .course-card p {max-width:calc(100% - 120px);margin:0;font-size:13px;line-height:1.75;color:#d4cebd;}
[data-catalog-mode="center"] .course-art {position:absolute;right:10px;top:22px;width:130px;height:132px;background:none;pointer-events:none;}
[data-catalog-mode="center"] .course-art img {display:block;width:100%;height:118px;object-fit:contain;}
[data-catalog-mode="center"] .art-label {display:block;text-align:center;color:#d4cebd;font-size:10px;line-height:1.4;}
[data-catalog-mode="center"] .course-bottom {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:20px;}
[data-catalog-mode="center"] .price {font-size:20px;color:#e8bf88;}
[data-catalog-mode="center"] .mini-btn {display:grid;place-items:center;width:31px;height:31px;border-radius:9px;color:#f0ead9;background:#6f5640;}
[data-catalog-mode="center"] .pill {border-radius:8px;}
@media(max-width:1100px) and (min-width:741px) {[data-catalog-mode="center"] .course-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:740px) {[data-catalog-mode="center"] .course-grid {grid-template-columns:minmax(0,1fr);}}
@media(max-width:380px) {
  [data-catalog-mode="center"] .course-card-body {padding:17px;min-height:236px;}
  [data-catalog-mode="center"] .course-card :is(h3,p,.course-meta) {max-width:calc(100% - 100px);}
  [data-catalog-mode="center"] .course-card h3 {font-size:22px;}
  [data-catalog-mode="center"] .course-art {width:108px;right:6px;}
}
