/* ========== 列表页 ========== */
.tb-list-body { background: #f5f6f8; }
.tb-topbar { background: #077F83; height: 64px; }
.tb-topbar-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 64px; }
.tb-brand { color: #fff; font-size: 28px; font-weight: 700; font-style: italic; letter-spacing: 1px; }
.tb-sub { color: rgba(255,255,255,.85); margin-left: 18px; font-size: 14px; }
.tb-list-wrap { max-width: 1100px; margin: 24px auto 60px; padding: 0 20px; }
.tb-set-title { margin: 28px 0 12px; border-left: 4px solid #077F83; padding-left: 10px; }
.tb-set-title .list-title { font-size: 20px; font-weight: 700; color: #222; }
.tb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tb-card { background: #fff; border-radius: 8px; padding: 18px 20px; box-shadow: 0 1px 4px rgba(0,0,0,.06); position: relative; transition: box-shadow .2s; }
.tb-card:hover { box-shadow: 0 4px 14px rgba(7,127,131,.15); }
.tb-card .practice-title { display: block; font-size: 16px; font-weight: 700; color: #077F83; text-decoration: none; }
.tb-card-title { font-size: 14px; color: #333; margin: 6px 0 10px; min-height: 20px; }
.tb-card-meta { font-size: 12px; color: #999; margin-top: 10px; }
.tb-go-btn { position: absolute; right: 18px; bottom: 16px; background: #077F83; color: #fff; border-radius: 4px; padding: 5px 16px; font-size: 13px; text-decoration: none; }
.tb-go-btn:hover { background: #0a9ba0; color: #fff; }
.practice-tags.mid { background: #fff3e0; color: #e68a00; }

/* ========== 做题页补充 ========== */
html, body { height: 100%; }
.exam-container { height: 100%; }
#questionBox { padding: 24px 28px; overflow-y: auto; height: 100%; }
.timu_1 > p { font-size: 16px; line-height: 26px; color: #222; margin-bottom: 16px; }
.tb-insert-sentence { background: #f2f8f8; border-left: 3px solid #077F83; padding: 10px 14px; }
.tb-insert-tip { color: #888; font-size: 13px; }

/* 插入题方块 */
#Post .zwstring { display: inline-block; padding: 0 4px; color: #333; font-weight: 700; }
#Post .zwstring:hover { background: #d8ecec; }
#Post .zwstring.tb-square-active { background: #077F83; color: #fff; border-radius: 2px; }

/* 词汇高亮 */
#Post .dfstring, #Post .dfstring_1 { border-bottom: 2px solid #077F83; font-weight: 600; }

/* 摘要题 */
.tb-slot textarea { cursor: pointer; }
.tb-slot { margin-bottom: 12px; }
.tb-drag { cursor: grab; border: 1px solid #d9d9d9; border-radius: 4px; padding: 10px 14px; background: #fafafa; margin-bottom: 10px; line-height: 22px; }
.tb-drag:hover { border-color: #077F83; }
.tb-drag.tb-selected { border-color: #077F83; background: #eef7f7; box-shadow: 0 0 0 2px rgba(7,127,131,.2); }

/* Review 表格 */
.tb-review-row { cursor: pointer; }
.tb-review-row:hover { background: #f0f7f7; }
.tb-review-row.tb-review-cur { background: #d8ecec; }

/* 字号切换 */
.tb-font-large #Post p, .tb-font-large .timu_1 > p, .tb-font-large .ans-line { font-size: 18px !important; line-height: 30px !important; }
.tb-font-extra #Post p, .tb-font-extra .timu_1 > p, .tb-font-extra .ans-line { font-size: 21px !important; line-height: 34px !important; }

/* ========== 结果页 ========== */
#resultPanel { overflow-y: auto; }
.tb-score-card { text-align: center; padding: 30px 0 24px; border-bottom: 1px solid #eee; margin-bottom: 24px; }
.tb-score-num { font-size: 56px; font-weight: 700; color: #077F83; }
.tb-score-num span { font-size: 24px; color: #999; }
.tb-score-label { color: #666; margin: 8px 0 16px; }
.tb-btn { display: inline-block; border: 1px solid #077F83; color: #077F83; background: #fff; border-radius: 4px; padding: 6px 18px; margin: 0 6px; font-size: 14px; cursor: pointer; text-decoration: none; }
.tb-btn:hover { background: #eef7f7; }
.tb-btn-primary { background: #077F83; color: #fff; }
.tb-btn-primary:hover { background: #0a9ba0; color: #fff; }
#tb-article-view { text-align: left; max-width: 760px; margin: 20px auto; padding: 20px 30px; background: #fbfbfb; border-radius: 6px; }
#tb-article-view p { text-indent: 0; margin-bottom: 14px; line-height: 26px; }

.tb-result-item { border: 1px solid #e8e8e8; border-left-width: 4px; border-radius: 6px; padding: 16px 20px; margin-bottom: 16px; background: #fff; }
.tb-result-item.tb-ok { border-left-color: #2fae60; }
.tb-result-item.tb-wrong { border-left-color: #e5533f; }
.tb-result-head { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.tb-tag { display: inline-block; background: #eef7f7; color: #077F83; border-radius: 3px; font-size: 12px; font-weight: 400; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }
.tb-result-mark { float: right; font-size: 13px; }
.tb-ok .tb-result-mark { color: #2fae60; }
.tb-wrong .tb-result-mark { color: #e5533f; }
.tb-result-stem { color: #333; line-height: 24px; margin-bottom: 8px; }
.tb-result-ans { font-size: 14px; color: #555; margin-bottom: 8px; }
.tb-right-ans { color: #077F83; }
.tb-result-expl { font-size: 13px; color: #888; line-height: 22px; border-top: 1px dashed #eee; padding-top: 8px; }
