.word-batch-bar{display:none;position:sticky;top:0;z-index:20;align-items:center;gap:9px;margin:0 0 14px;padding:12px 14px;border:1px solid #dcd5fb;border-radius:15px;background:rgba(250,248,255,.97);box-shadow:0 10px 28px rgba(80,62,155,.14);backdrop-filter:blur(12px)}
.word-batch-bar.open{display:flex}
.word-batch-summary{min-width:210px;margin-right:auto}.word-batch-summary b,.word-batch-summary span{display:block}.word-batch-summary b{font-size:14px;color:#4f42b7}.word-batch-summary span{margin-top:4px;color:#85899e;font-size:10px}
.word-batch-bar button,.word-batch-bar select{min-height:39px;border:0;border-radius:11px;padding:9px 13px;font-size:12px;font-weight:700;white-space:nowrap}
.word-batch-bar select,.word-batch-bar .batch-secondary{border:1px solid #ddd9ef;background:#fff;color:#565a72}
.word-batch-bar .batch-study{background:#e7f7f1;color:#16896e}.word-batch-bar .batch-test{background:linear-gradient(90deg,#7052ed,#8c60eb);color:#fff}
.select-visible-btn{border:1px solid #ddd9ef;background:#fff;color:#6358be;border-radius:16px;padding:9px 13px;font-weight:700;white-space:nowrap}
.card{position:relative;transition:border-color .16s,box-shadow .16s,transform .16s}.card.selected{border-color:#8068ed;box-shadow:0 0 0 2px rgba(112,79,241,.12),0 10px 24px rgba(84,61,178,.1)}
.word-select{position:absolute;z-index:3;right:12px;top:43px;display:flex;align-items:center;gap:5px;cursor:pointer;color:#74798f;font-size:10px}.word-select input{position:absolute;opacity:0;pointer-events:none}.word-select span{width:20px;height:20px;border:1.5px solid #cfcde0;border-radius:7px;background:#fff;display:grid;place-items:center;box-shadow:0 2px 6px rgba(44,42,76,.06)}.word-select span:after{content:'✓';color:#fff;font-size:13px;font-weight:900;opacity:0;transform:scale(.6);transition:.14s}.word-select input:checked+span{border-color:#7052ed;background:#7052ed}.word-select input:checked+span:after{opacity:1;transform:scale(1)}.word-select em{font-style:normal}.card .source{margin-right:0}
@media(max-width:1000px){.word-batch-bar{flex-wrap:wrap}.word-batch-summary{width:100%;min-width:0}.word-batch-bar button,.word-batch-bar select{flex:1 1 auto}}
@media(max-width:680px){.word-batch-bar{top:0;margin:0 -2px 10px;padding:10px;gap:7px;border-radius:13px}.word-batch-summary span{display:none}.word-batch-bar button,.word-batch-bar select{min-height:42px;padding:8px 9px}.word-batch-bar .batch-study,.word-batch-bar .batch-test{flex-basis:calc(50% - 4px)}.select-visible-btn{flex:1 1 calc(50% - 4px);min-height:42px}.word-select{top:42px;right:10px}.word-select em{display:none}.word-select span{width:24px;height:24px}.card-head{padding-right:42px}}

/* 单词卡操作：四项始终保持同一行 */
.actions{grid-template-columns:repeat(4,minmax(0,1fr))}
.actions>button,.actions>.card-status-select{min-width:0}
.actions .card-status-select{width:100%;border:0;border-left:1px solid var(--line);border-radius:0;background:#fff;color:#6253d8;padding:10px 1px;font-size:10px;text-align:center;text-align-last:center;cursor:pointer;outline:0}
.actions .card-status-select:focus{background:#f5f2ff;color:#543fd4}
.actions .delete-word{display:block;color:#a66b72}
@media(max-width:360px){.actions button,.actions .card-status-select{font-size:9px;padding-left:0;padding-right:0}}
