/* AU88 – bố cục trang chủ kiểu J88 (hero + các dải mục ngang, bỏ cột Danh mục), giữ nguyên màu AU88: nền đen, nhấn cam (04/12).
   File này nạp sau style.css và chỉ đổi khung bố cục; màu, nút, bảng, thẻ… vẫn lấy từ style.css. */

/* ---------- hero ---------- */
body#top .jhero{background:radial-gradient(70% 60% at 50% 0%,rgba(253,139,0,.16) 0%,rgba(253,139,0,0) 60%),linear-gradient(180deg,#151515 0%,#050505 100%);border-bottom:1px solid rgba(253,139,0,.28);padding:20px 0 28px}
body#top .jhero .wrap{display:flex;flex-direction:column}
body#top .jhero__top,body#top .jhero__side{display:contents}
body#top .jhero__txt{display:contents}
body#top .jhero .eb{order:1;align-self:flex-start}
body#top .jhero .ttl{order:2}
body#top .jhero .src{order:3;align-self:flex-start}
body#top .jhero .hero__btns{order:4;margin:14px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:none}
body#top .jhero .hero__btns .rbtn{min-height:48px;justify-content:center}
body#top .jhero__ban{order:5;margin:16px 0 0;border-radius:14px;overflow:hidden;line-height:0;border:1px solid rgba(253,139,0,.3);box-shadow:0 14px 34px rgba(0,0,0,.45)}
body#top .jhero__ban a{display:block}
body#top .jhero__ban img{display:block;width:100%;height:auto}
body#top .jhero .lead.prose{order:6;margin-top:16px}
body#top .jhero .linkbox{order:7}
body#top .jhero ul.badges{order:8;grid-template-columns:repeat(2,minmax(0,1fr))}
body#top .jhero .jneed__t{order:9}
body#top .jhero .jgames{order:10}
body#top .jhero .jneed__t~.jneed__t{order:11}
body#top .jhero .wrap>nav{order:12}
body#top .jhero h1{font-size:clamp(1.55rem,1.15rem + 2vw,2.5rem)}
body#top .jhero .jhero__txt{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;margin:0!important}

body#top .jneed__t{margin:26px 0 10px;font-weight:800;font-size:1.02rem;color:#fff}
body#top .jgames{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body#top .jgames a{position:relative;display:block;aspect-ratio:1/1;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#111;text-decoration:none}
body#top .jgames img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body#top .jgames span{position:absolute;left:0;right:0;bottom:0;padding:22px 8px 9px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.88));color:#fff;font-weight:800;font-size:.86rem;line-height:1.25;text-align:center}
body#top .jgames a:hover{border-color:rgba(253,139,0,.6)}
body#top .jneed{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;border-top:1px solid rgba(255,255,255,.12)}
body#top .jneed a{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:start;min-height:56px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.12);color:#cfcfcf;text-decoration:none}
body#top .jneed a svg{grid-row:1/3;color:#FFB257;margin-top:2px}
body#top .jneed a b{color:#fff;font-weight:800;line-height:1.3}
body#top .jneed a span{font-size:.86rem;line-height:1.35;color:#9e9e9e}
body#top .jneed a:hover b{color:#FFB257}

/* ---------- các mục: dải ngang, không còn khung thẻ ---------- */
body#top main>section.card.jsec{margin:0!important;padding:34px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#0A0A0A!important;border-top:1px solid rgba(255,255,255,.06)!important}
body#top main>section.card.jsec.jsec--alt{background:#111111!important}
body#top .jsec__in{display:grid;gap:14px}
body#top .jsec__head,body#top .jsec__body{min-width:0}
body#top .jsec__head .sec__head{margin:0}
body#top .jsec__body>.prose:first-child>:first-child{margin-top:0}

/* ---------- dải đăng ký cuối trang ---------- */
body#top main>section.card.band.jband{margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;padding:32px 0!important}

/* ---------- từ 768px: hero 2 cột ---------- */
@media(min-width:48rem){
body#top .jhero{padding:36px 0 44px}
body#top .jhero__top{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,42%);gap:36px;align-items:start}
body#top .jhero__txt,body#top .jhero__side{display:block}
body#top .jhero__ban{margin:0}
body#top .jhero .hero__btns{display:flex;max-width:440px;margin-top:18px}
body#top .jhero .hero__btns .rbtn{flex:1}
body#top .jhero .linkbox{margin-top:14px}
body#top .jhero ul.badges{grid-template-columns:repeat(2,minmax(0,1fr))}
body#top .jgames{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
body#top .jgames a{aspect-ratio:4/3}
body#top .jgames span{font-size:.92rem}
body#top .jneed{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px}
body#top main>section.card.jsec{padding:48px 0!important}
}
/* ---------- từ 960px: tiêu đề mục cột trái, nội dung cột phải ---------- */
@media(min-width:60rem){
body#top .jsec__in{grid-template-columns:minmax(0,17rem) minmax(0,1fr);gap:48px;align-items:start}
body#top .jsec__head{position:sticky;top:calc(var(--hdr,80px) + 20px)}
body#top .jsec__head .sec__head h2{font-size:clamp(1.35rem,1.1rem + .8vw,1.7rem)}
body#top .jsec--one .jsec__in{grid-template-columns:minmax(0,1fr);gap:18px}
body#top .jsec--one .jsec__head{position:static}
}
