/* Tiên Giới Truyện 3D V15.72.2 – Hoàn Thiện Trang Chủ Hoàng Kim.
   Giữ khối giới thiệu + Spotlight V15.72; nâng cấp các khối bên dưới.
   Không tác động tới các trang đọc, tài khoản, quản trị. */
body.tg722-home-active{background:radial-gradient(ellipse 62% 480px at 28% 5%,rgba(194,139,50,.12),transparent 85%),#080a0f}
body.tg722-home-active .shell.tg722-shell{max-width:1440px;padding:18px 22px 28px;box-sizing:border-box}
body.tg722-home-active .tg72-home-shell{margin-bottom:20px}
body.tg722-home-active .main-grid{grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
body.tg722-home-active .main-grid>div{min-width:0}
body.tg722-home-active .sidebar{position:static;min-width:0}
body.tg722-home-active .section,
body.tg722-home-active .sidebar-panel,
body.tg722-home-active .updates-section,
body.tg722-home-active .tg-v139-all-preview{
  border:1px solid rgba(221,174,83,.19);border-radius:20px;
  background:linear-gradient(165deg,#15171d,#0b0e14 85%);box-shadow:0 12px 42px rgba(0,0,0,.24)
}
body.tg722-home-active .section,
body.tg722-home-active .updates-section,
body.tg722-home-active .tg-v139-all-preview{margin-bottom:18px;padding:19px}
body.tg722-home-active .sidebar-panel{padding:19px;margin-bottom:17px}
body.tg722-home-active .section-title{display:flex;gap:12px;justify-content:space-between;align-items:flex-end;margin-bottom:15px}
body.tg722-home-active .section-title h2{font:700 22px/1.22 'Times New Roman',serif;color:#f7da99;margin:4px 0 0}
body.tg722-home-active .section-title>a{color:#eec980;text-decoration:none;white-space:nowrap;font-size:13px}
.tg722-eyebrow{display:block;font:700 10px/1.5 'Times New Roman',serif;letter-spacing:.16em;color:#b9965c}
body.tg722-home-active .tg722-recommend{position:relative;overflow:hidden}
body.tg722-home-active .tg722-recommend:before{content:'✦';position:absolute;right:16px;top:-18px;font-size:78px;color:rgba(241,196,106,.06);pointer-events:none}
body.tg722-home-active .tg722-recommend-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
body.tg722-home-active .tg722-recommend-grid .featured{min-width:0;border:1px solid rgba(225,181,93,.17);border-radius:13px;background:linear-gradient(#1b1b21,#10131a);overflow:hidden;transition:transform .22s,border-color .22s,box-shadow .22s}
body.tg722-home-active .tg722-recommend-grid .featured:hover{transform:translateY(-4px);border-color:rgba(244,204,122,.64);box-shadow:0 14px 30px rgba(0,0,0,.3)}
body.tg722-home-active .tg722-recommend-grid .featured img{display:block;aspect-ratio:3/4;width:100%;height:auto;object-fit:cover;background:#18171b}
body.tg722-home-active .tg722-recommend-grid .card-body{padding:10px 9px}
body.tg722-home-active .tg722-recommend-grid .card-title{font-size:13px;line-height:1.35;min-height:2.7em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#f8e8c5}
body.tg722-home-active .tg722-recommend-grid .tg-story-meta{font-size:10px;gap:5px;color:#cdbb9d}
.tg722-rail-title{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-bottom:17px;padding-bottom:13px;border-bottom:1px solid rgba(225,184,106,.18)}
.tg722-rail-title h3{font:700 19px/1.2 'Times New Roman',serif;color:#ffe0a0;margin:4px 0 0}
.tg722-rail-title>a{color:#e8c57f;font-size:11px;white-space:nowrap;text-decoration:none}
.tg722-rank-list{display:grid;gap:12px}
.tg722-rank-row{display:flex;align-items:center;gap:10px;min-width:0;padding:9px 8px;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid rgba(221,174,83,.12);text-decoration:none;transition:background .2s,border-color .2s}
.tg722-rank-row:hover{background:rgba(235,193,107,.06);border-color:rgba(255,219,156,.4)}
.tg722-rank-no{width:29px;height:29px;flex:0 0 29px;display:grid;place-items:center;border-radius:9px;color:#1a160e;font-size:14px;font-weight:700;background:linear-gradient(140deg,#d9b36e,#9a702e);box-shadow:0 4px 12px rgba(0,0,0,.25)}
.tg722-rank-1{background:linear-gradient(135deg,#fff0b4,#d49c38)}
.tg722-rank-2{background:linear-gradient(135deg,#fff,#9cabb8)}
.tg722-rank-3{background:linear-gradient(135deg,#eac4a0,#9d6236)}
.tg722-rank-row img{flex:0 0 48px;width:48px;height:66px;object-fit:cover;border-radius:7px;border:1px solid rgba(255,255,255,.08)}
.tg722-rank-meta{min-width:0;display:block}
.tg722-rank-meta strong{font-size:12px;color:#f5e7d2;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.tg722-rank-meta small{display:block;margin-top:5px;color:#bfaf96;font-size:10px;line-height:1.4}
.tg722-rank-more{display:block;color:#efcf8d;font-size:12px;text-decoration:none;margin-top:17px;padding-top:12px;border-top:1px solid rgba(221,174,83,.13)}
.tg722-category-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tg722-category-grid a{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:5px;padding:10px 8px;background:rgba(255,255,255,.025);border:1px solid rgba(221,174,83,.13);border-radius:9px;text-decoration:none;color:#e9d7b2;font-size:11px}
.tg722-category-grid a:hover{border-color:rgba(221,174,83,.48)}
.tg722-category-grid span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tg722-category-grid b{font-size:10px;color:#f4c979}
.tg722-continue-panel h3{margin:5px 0 10px;color:#ffe0a0}
.tg722-continue-panel p{font-size:12px;color:#c7bba9;line-height:1.6;margin:0}
body.tg722-home-active .latest-grid{display:grid;gap:11px}
body.tg722-home-active .latest-card{border:1px solid rgba(221,174,83,.13);border-radius:13px;background:rgba(255,255,255,.024);transition:border-color .2s;overflow:hidden}
body.tg722-home-active .latest-card:hover{border-color:rgba(244,204,122,.46)}
body.tg722-home-active .latest-cover img{border-radius:8px}
body.tg722-home-active .latest-name{color:#ffebc0}
body.tg722-home-active .latest-chapter{color:#c9c1b4}
body.tg722-home-active .latest-read{color:#f1d18c}
body.tg722-home-active .tg-r17-home{margin-top:12px;max-width:100%}
body.tg722-home-active .tg72-home-shell .tg72-spotlight-card{min-height:360px}
body.tg722-home-active .tg72-home-actions a:focus-visible,
body.tg722-home-active .tg722-rank-row:focus-visible,
body.tg722-home-active .tg722-category-grid a:focus-visible,
body.tg722-home-active .tg722-recommend-grid a:focus-visible{outline:2px solid #ffe8a4;outline-offset:3px}
@media(max-width:1280px){body.tg722-home-active .main-grid{grid-template-columns:minmax(0,1fr) 270px}body.tg722-home-active .tg722-recommend-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){body.tg722-home-active .main-grid{grid-template-columns:minmax(0,1fr)}body.tg722-home-active .tg722-recommend-grid{grid-template-columns:repeat(4,minmax(0,1fr))}body.tg722-home-active .tg722-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:14px}body.tg722-home-active .tg722-continue-panel{grid-column:1/-1}}
@media(max-width:690px){body.tg722-home-active .shell.tg722-shell{padding:10px 12px 24px}body.tg722-home-active .tg722-recommend-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}body.tg722-home-active .tg722-sidebar{display:block}body.tg722-home-active .section,body.tg722-home-active .updates-section{padding:14px;border-radius:16px}body.tg722-home-active .section-title h2{font-size:20px}body.tg722-home-active .tg72-home-shell{margin-bottom:15px}body.tg722-home-active .tg72-home-shell .tg72-spotlight-card{min-height:320px}}
@media(max-width:420px){body.tg722-home-active .tg722-recommend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.tg722-home-active .tg722-recommend-grid .card-title{font-size:13px}}
@media(prefers-reduced-motion:reduce){body.tg722-home-active .tg722-recommend-grid .featured,body.tg722-home-active .tg722-rank-row{transition:none!important;transform:none!important}}
