/* V11 — bình chọn gọn, KHÔNG viền/khung. Nút dọc, nét mảnh, số ở giữa. */
.ha-vote,.ha-vote.ha-vote--list,.ha-vote.ha-vote--compact,.ha-vote.ha-vote--detail{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;vertical-align:middle!important;
 width:46px!important;min-width:46px!important;height:78px!important;min-height:78px!important;
 padding:0!important;margin:0!important;gap:0!important;flex:0 0 46px!important;
 border:0!important;border-radius:0!important;background:transparent!important;
 box-shadow:none!important;outline:0!important;color:#273849!important;overflow:visible!important;text-decoration:none!important;
}
.ha-vote .ha-vote-btn,.ha-vote.ha-vote--detail .ha-vote-btn{
 appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;
 position:static!important;flex:0 0 26px!important;width:42px!important;height:26px!important;
 min-width:42px!important;min-height:26px!important;padding:0!important;margin:0!important;
 border:0!important;border-radius:7px!important;background:transparent!important;
 box-shadow:none!important;outline:0!important;cursor:pointer!important;line-height:1!important;font:inherit!important;
}
.ha-vote .ha-vote-btn .ha-vote-icon{
 display:block!important;flex:none!important;width:19px!important;height:19px!important;
 fill:none!important;stroke:currentColor!important;stroke-width:1.75!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;
}
.ha-vote .ha-vote-up{color:#4d9c80!important}
.ha-vote .ha-vote-down{color:#d38a88!important}
.ha-vote .ha-vote-up:hover,.ha-vote .ha-vote-up[aria-pressed="true"]{background:transparent!important;color:#19815d!important}
.ha-vote .ha-vote-down:hover,.ha-vote .ha-vote-down[aria-pressed="true"]{background:transparent!important;color:#c85655!important}
.ha-vote .ha-vote-score,.ha-vote.ha-vote--detail .ha-vote-score{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;height:26px!important;min-width:0!important;min-height:26px!important;
 margin:0!important;padding:0!important;flex:0 0 26px!important;gap:0!important;
 background:transparent!important;border:0!important;color:#253349!important;
 font-size:17px!important;line-height:1!important;font-weight:600!important;
 font-variant-numeric:tabular-nums!important;white-space:nowrap!important;
}
.ha-vote .ha-vote-score strong,.ha-vote.ha-vote--detail .ha-vote-score strong{
 font-size:17px!important;line-height:1!important;font-weight:600!important;color:#253349!important;
}
.ha-vote.ha-vote--detail{width:52px!important;min-width:52px!important;height:88px!important;min-height:88px!important;flex:0 0 52px!important;margin:9px 0 15px!important}
.ha-vote.ha-vote--detail .ha-vote-btn{width:48px!important;min-width:48px!important;height:29px!important;min-height:29px!important;flex-basis:29px!important}
.ha-vote.ha-vote--detail .ha-vote-btn .ha-vote-icon{width:21px!important;height:21px!important}
.ha-vote.ha-vote--detail .ha-vote-score{height:30px!important;min-height:30px!important;flex-basis:30px!important}
.ha-vote.ha-vote--detail .ha-vote-score strong{font-size:20px!important}
.ha-vote .ha-vote-btn:focus-visible{outline:2px solid currentColor!important;outline-offset:1px!important}
.ha-vote .ha-vote-btn:disabled{opacity:.5!important;cursor:wait!important}
/* Không bình chọn video, kể cả nếu HTML cũ bị cache. */
.ak-video-tile .ha-vote,.ha-video-no-vote .ha-vote,.ha-native .ha-card.ha-video-no-vote .ha-vote{display:none!important}
/* Vị trí Vote: cuối dòng, không thêm nút Chi tiết. */
.ha-native .ha-card>.ha-vote{margin:0!important;align-self:center!important}
.ak-list-item>.ha-vote,.ak-resource-row>.ha-vote{grid-column:3;grid-row:1;align-self:center;justify-self:end}
.ak-prompt-row>.ak-prompt-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap;min-width:0}
.ak-prompt-row>.ak-prompt-actions>.ha-vote{margin:0!important}
.ak-v9-app-meta>.ha-vote{margin:4px 0 0!important}
.ak-v9-photo-grid>.ha-vote-tile{min-width:0}
.ha-vote-tile{min-width:0;display:flex;flex-direction:column;gap:6px}
.ha-vote-tile>.ha-vote{align-self:center;margin:0!important}
.ha-vote-tile>.ak-v6-workshop,.ha-vote-tile>.ak-v9-photo{flex:1}
.ha-screenreader-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
@media(max-width:780px){
 .ha-vote,.ha-vote.ha-vote--list,.ha-vote.ha-vote--compact{width:43px!important;min-width:43px!important;height:74px!important;min-height:74px!important;flex-basis:43px!important}
 .ha-vote .ha-vote-btn{width:39px!important;min-width:39px!important;height:25px!important;min-height:25px!important;flex-basis:25px!important}
 .ha-vote .ha-vote-btn .ha-vote-icon{width:17px!important;height:17px!important}
 .ha-vote .ha-vote-score{height:24px!important;min-height:24px!important;flex-basis:24px!important}
 .ha-vote .ha-vote-score strong{font-size:16px!important}
 .ha-native .ha-card{display:grid;grid-template-columns:85px minmax(0,1fr);gap:7px 12px;align-items:start}
 .ha-native .ha-card>.ha-thumb{grid-column:1;grid-row:1 / span 2}
 .ha-native .ha-card>.ha-card-copy{grid-column:2;grid-row:1}
 .ha-native .ha-card>.ha-vote{grid-column:2;grid-row:2;justify-self:start}
 .ak-v6-workshops>.ha-vote-tile{flex:0 0 74%}
 .ak-list-item.ak-post-row,.ak-list-item.ak-workbook-row,.ak-list-item.ak-workshop-row,.ak-resource-row{grid-template-columns:76px minmax(0,1fr) 43px!important;gap:8px!important;align-items:center!important}
 .ak-list-item.ak-prompt-row{grid-template-columns:44px minmax(0,1fr) 43px!important;gap:8px!important;align-items:center!important}
 .ak-list-item>.ha-vote,.ak-resource-row>.ha-vote{grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:center!important}
 .ak-list-item.ak-post-row .ak-cover-img,.ak-list-item.ak-workbook-row .ak-cover-img{width:70px!important;height:70px!important;min-width:70px!important}
 .ak-prompt-row>.ak-prompt-actions{grid-column:3!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important}
 .ak-prompt-row .ak-copy-inline{font-size:10px!important;padding:4px 2px!important;white-space:nowrap!important}
 .ha-native .ha-card{grid-template-columns:76px minmax(0,1fr) 43px!important;align-items:center!important}
 .ha-native .ha-card>.ha-thumb{grid-column:1!important;grid-row:1!important}
 .ha-native .ha-card>.ha-card-copy{grid-column:2!important;grid-row:1!important}
 .ha-native .ha-card>.ha-vote{grid-column:3!important;grid-row:1!important;justify-self:end!important}
}
@media(max-width:430px){
 .ak-list-item.ak-post-row,.ak-list-item.ak-workbook-row,.ak-list-item.ak-workshop-row,.ak-resource-row{grid-template-columns:66px minmax(0,1fr) 41px!important;gap:7px!important}
 .ak-list-item.ak-prompt-row{grid-template-columns:39px minmax(0,1fr) 41px!important;gap:7px!important}
 .ha-vote,.ha-vote.ha-vote--list,.ha-vote.ha-vote--compact{width:41px!important;min-width:41px!important;flex-basis:41px!important}
 .ha-native .ha-card{grid-template-columns:66px minmax(0,1fr) 41px!important}
 .ak-list-item.ak-post-row .ak-cover-img,.ak-list-item.ak-workbook-row .ak-cover-img{width:62px!important;height:62px!important;min-width:62px!important}
}

/* V12 — Không đặt bình chọn trên mọi card dạng ô / slider ngang của website Học AI. */
.ak-v9-app-grid .ha-vote,
.ak-v9-photo-grid .ha-vote,
.ak-v6-workshops .ha-vote,
.ak-track-grid .ha-vote,
.ak-card-grid .ha-vote,
.ak-simple-paths .ha-vote,
.ha-vote-tile>.ha-vote{display:none!important}
/* Giữ bình chọn trong .ak-list-item và .ak-resource-row (listing), trang đơn và danh sách WordPress. */
