/* V14.22 — Giữ bảng xếp hạng tối giản, thêm xem nhanh truyện. */
.tg-v1421{--tg-rank-gold:#f0ca80;position:relative;margin:22px 0 32px;padding:21px clamp(12px,2vw,24px) 23px;border:1px solid #77603880;border-radius:17px;min-width:0;scroll-margin-top:115px;background:linear-gradient(150deg,#191b2e,#131825 62%,#111826);box-shadow:0 12px 34px #0004}
.tg-v1421 *{box-sizing:border-box}
.tg-v1421-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:2px 3px 16px;border-bottom:1px solid #a68b552d}
.tg-v1421-eyebrow{display:block;letter-spacing:2px;color:#c7a978;font-size:10px;font-weight:750;margin-bottom:5px}
.tg-v1421-heading h2{margin:0;color:#ffe1a2;font:800 clamp(22px,2.2vw,29px)/1.24 Georgia,serif;text-shadow:0 1px 13px #91652b55}
.tg-v1421-heading p{margin:7px 0 0;color:#c3bfc4;font-size:13px}
.tg-v1421-tabs{display:flex;gap:7px;flex-wrap:wrap}
.tg-v1421-tabs button{font-size:12px;font-weight:750;line-height:1.2;border:1px solid #77654b;background:#25273a;color:#e2d5c2;padding:10px 13px;border-radius:24px;cursor:pointer;min-height:40px}
.tg-v1421-tabs button[aria-pressed="true"]{background:linear-gradient(110deg,#f6d995,#c69146);color:#261909;border-color:#e6bd72}
.tg-v1421-tabs button:focus-visible,.tg-v1421-card:focus-visible,.tg-v1421-more:focus-visible{outline:3px solid #d5bb8e;outline-offset:3px}
.tg-v1421-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:clamp(10px,1.7vw,22px);padding-top:22px}
.tg-v1421-card{--tg-accent:#e9c576;--tg-accent2:#9b682b;position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;text-decoration:none!important;color:#f2efe9!important;background:linear-gradient(160deg,#2d2831 0%,#1e2232 65%,#171c2b 100%);border:1px solid #9e743d99;border-radius:15px;overflow:hidden;padding:15px 15px 16px;box-shadow:0 10px 25px #0003;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.tg-v1421-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,transparent,var(--tg-accent),transparent)}
.tg-v1421-card:hover{transform:translateY(-5px);border-color:var(--tg-accent);box-shadow:0 14px 28px #0007}
.tg-v1421-card--1{order:2;background:linear-gradient(150deg,#3c302e,#292330 64%,#1a2231);border-color:#ce9c56;box-shadow:0 0 0 1px #f1c77e44,0 17px 36px #0005}
.tg-v1421-card--2{order:1;--tg-accent:#b5d3e9;--tg-accent2:#5b7e9e;background:linear-gradient(155deg,#223144,#1b2434 68%,#1a1e2e)}
.tg-v1421-card--3{order:3;--tg-accent:#e2a18b;--tg-accent2:#a45b4c;background:linear-gradient(155deg,#382829,#242130 68%,#1c1e2c)}
.tg-v1421-card-top{display:flex;justify-content:space-between;align-items:center;width:100%;gap:5px;margin-bottom:12px;min-height:26px}
.tg-v1421-rank{font-size:clamp(14px,1.4vw,19px);font-weight:900;color:var(--tg-accent)}
.tg-v1421-medal{font:700 10px/1.1 system-ui,sans-serif;color:var(--tg-accent);white-space:nowrap;border:1px solid currentColor;border-radius:20px;padding:5px 7px;opacity:.9}
.tg-v1421-cover-wrap{display:block;position:relative;width:min(100%,210px);aspect-ratio:3/4;overflow:hidden;flex-shrink:0;background:#101828;border:2px solid var(--tg-accent);border-radius:8px;box-shadow:0 9px 24px #0009,0 0 15px color-mix(in srgb,var(--tg-accent),transparent 77%)}
.tg-v1421-cover{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .25s ease}
.tg-v1421-card:hover .tg-v1421-cover{transform:scale(1.045)}
.tg-v1421-card-info{display:flex;flex-direction:column;text-align:center;align-items:center;min-width:0;width:100%;flex:1;padding-top:13px}
.tg-v1421-card-info strong{color:#fff0c8;line-height:1.4;font-size:clamp(13px,1.36vw,17px);min-height:2.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.tg-v1421-count{font-size:12px;color:#cdd3df;margin:8px 0 9px}
.tg-v1421-count b{color:var(--tg-accent);font-size:15px}
.tg-v1421-read{margin-top:auto;display:inline-flex;gap:5px;align-items:center;color:var(--tg-accent);font-size:12px;font-weight:800;border-bottom:1px solid currentColor;padding-bottom:2px}
.tg-v1421-description{margin:17px 1px 0;color:#bec5d1;font-size:12px;text-align:center}
.tg-v1421-empty{margin-top:16px;padding:16px;border-radius:9px;border:1px dashed #8f7954;background:#221f2c;color:#f0d09e;text-align:center;font-size:13px}
.tg-v1421-more{display:block;width:max-content;max-width:100%;margin:18px auto 0;color:#f0cd90!important;font-size:13px;font-weight:750;text-decoration:none!important}
.tg-v1421-more:hover{text-decoration:underline!important}
@media(min-width:950px){.tg-v1421-card--1{margin-top:0}.tg-v1421-card--2,.tg-v1421-card--3{margin-top:25px;margin-bottom:10px}}
@media(min-width:681px) and (max-width:949px){.tg-v1421-podium{gap:10px}.tg-v1421-card{padding:12px 9px}.tg-v1421-card-top{flex-wrap:wrap}.tg-v1421-medal{font-size:9px}.tg-v1421-cover-wrap{width:min(100%,175px)}}
@media(max-width:680px){.tg-v1421{margin:16px 0 24px;padding:16px 11px 20px;border-radius:12px}.tg-v1421-heading{display:block;padding-bottom:14px}.tg-v1421-heading h2{font-size:22px}.tg-v1421-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px}.tg-v1421-tabs button{padding:9px 4px;font-size:12px}.tg-v1421-podium{grid-template-columns:1fr;gap:10px;padding-top:15px}.tg-v1421-card{flex-direction:row;align-items:stretch;min-height:154px;padding:10px;gap:12px}.tg-v1421-card--1{order:1}.tg-v1421-card--2{order:2}.tg-v1421-card--3{order:3}.tg-v1421-card-top{position:absolute;top:11px;left:113px;width:auto;right:11px;justify-content:flex-start;gap:9px;margin:0;min-height:0}.tg-v1421-rank{font-size:14px}.tg-v1421-medal{font-size:9px}.tg-v1421-cover-wrap{width:92px;min-width:92px;aspect-ratio:3/4;align-self:center}.tg-v1421-card-info{align-items:flex-start;text-align:left;padding:34px 0 2px;justify-content:flex-start}.tg-v1421-card-info strong{min-height:0;font-size:15px}.tg-v1421-count{margin:7px 0 10px;font-size:11px}.tg-v1421-count b{font-size:14px}.tg-v1421-read{font-size:11px}.tg-v1421-description{text-align:left}}
@media(max-width:350px){.tg-v1421-card{gap:8px}.tg-v1421-cover-wrap{width:78px;min-width:78px}.tg-v1421-card-top{left:98px}.tg-v1421-medal{display:none}}
@media(prefers-reduced-motion:reduce){.tg-v1421-card,.tg-v1421-cover{transition:none}}

/* V14.22 — Preview modal, không thêm ảnh nền và không thay đổi bố cục Top 1–3. */
.tg-v1421-card .tg-v1422-title{color:#fff0c8!important;text-decoration:none!important;font-size:clamp(13px,1.36vw,17px);font-weight:800;line-height:1.4;min-height:2.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.tg-v1421-card .tg-v1422-title:hover{color:var(--tg-accent)!important}
.tg-v1421-card .tg-v1422-title:focus-visible,.tg-v1421-cover-wrap:focus-visible,.tg-v1422-quick:focus-visible,.tg-v1422-dialog button:focus-visible,.tg-v1422-dialog a:focus-visible{outline:3px solid #e8bd79;outline-offset:3px}
.tg-v1422-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;margin-top:auto;width:100%}
.tg-v1422-quick{border:1px solid var(--tg-accent);border-radius:8px;color:var(--tg-accent);background:#101727;cursor:pointer;min-height:36px;font:750 12px/1.3 system-ui,sans-serif;padding:8px 11px}
.tg-v1422-quick:hover{background:#ffffff19}
.tg-v1421-read{margin-top:0;white-space:nowrap;min-height:36px;align-content:center}
.tg-v1422-dialog{position:fixed;inset:0;margin:auto;max-width:min(660px,calc(100vw - 24px));width:660px;max-height:min(85dvh,740px);padding:0;border:1px solid #b18b51;border-radius:15px;color:#f0e8de;background:#151d2d;box-shadow:0 25px 100px #000d;overflow:auto}
.tg-v1422-dialog::backdrop{background:#060914cc;backdrop-filter:blur(4px)}
.tg-v1422-preview-inner{padding:20px;box-sizing:border-box}
.tg-v1422-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px;border-bottom:1px solid #ffffff25;padding-bottom:12px}
.tg-v1422-preview-heading h3{margin:0;color:#f8d392;font:800 21px/1.25 Georgia,serif}
.tg-v1422-close{border:1px solid #ffffff33;border-radius:9px;background:#ffffff0d;color:#f8e3c1;font-size:26px;width:37px;height:37px;cursor:pointer;line-height:1}
.tg-v1422-preview-main{display:flex;align-items:start;gap:18px}
.tg-v1422-preview-cover{width:148px;aspect-ratio:3/4;object-fit:cover;border-radius:8px;border:1px solid #d4b476;flex-shrink:0;background:#0e1420}
.tg-v1422-preview-meta{min-width:0;overflow-wrap:anywhere}
.tg-v1422-preview-tag{display:inline-block;border-radius:20px;padding:5px 9px;background:#70532666;color:#ffdd9b;font:750 11px/1.4 system-ui,sans-serif}
.tg-v1422-preview-meta h4{margin:11px 0;color:#fff0c6;font:800 clamp(17px,3.8vw,23px)/1.3 Georgia,serif}
.tg-v1422-preview-meta p{margin:8px 0;color:#ddd8d3;font-size:13px}
.tg-v1422-genres{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.tg-v1422-genres span{border:1px solid #e4c58a66;border-radius:14px;padding:5px 8px;font-size:11px;color:#e9d3a6}
.tg-v1422-synopsis{margin:19px 0 17px;color:#e4e2e1;font-size:13px;line-height:1.7;border-top:1px solid #ffffff20;padding-top:15px}
.tg-v1422-synopsis strong{font-size:14px;color:#ffdb9f}
.tg-v1422-synopsis p{margin:7px 0 0;white-space:pre-line;overflow-wrap:anywhere}
.tg-v1422-preview-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.tg-v1422-read-now,.tg-v1422-preview-dismiss{display:inline-flex;align-items:center;justify-content:center;min-height:41px;border-radius:9px;padding:9px 14px;text-decoration:none!important;font:800 12px/1.3 system-ui,sans-serif;cursor:pointer}
.tg-v1422-read-now{background:linear-gradient(110deg,#eace96,#c69345);color:#231805!important}
.tg-v1422-preview-dismiss{border:1px solid #b6a48a77;background:transparent;color:#e6dac9}
@media(max-width:680px){.tg-v1421-card .tg-v1422-title{font-size:15px;min-height:0}.tg-v1422-actions{justify-content:flex-start;gap:9px}.tg-v1422-quick,.tg-v1421-read{font-size:11px;padding:7px 9px}.tg-v1422-preview-inner{padding:14px}.tg-v1422-preview-main{gap:12px}.tg-v1422-preview-cover{width:96px}.tg-v1422-dialog{max-height:88dvh}.tg-v1422-preview-heading h3{font-size:18px}}
@media(max-width:360px){.tg-v1422-quick{min-height:32px}.tg-v1421-read{min-height:32px}.tg-v1422-preview-cover{width:78px}}
@media(prefers-reduced-motion:reduce){.tg-v1422-dialog::backdrop{backdrop-filter:none}}
