/* Bo sung cho trang WAP (trang chu, gioi thieu) — phan template.css goc khong co */

:root { --accent: #ffaf4c; }

/* an bo icon sprite (khong thi no chiem cho, day noi dung xuong) */
.icon-sprite { display: none; }
.ic { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }

/* icon canh bao trong div-12 (thay cho 18-1.png) */
.div-12 .ic { width: 12px; height: 12px; stroke: #fff; vertical-align: middle; margin-right: 3px; }

/* nut len dau trang */
#backTop {
  position: fixed; right: 12px; bottom: 12px;
  width: 34px; height: 34px;
  display: none; align-items: center; justify-content: center;
  background: #561d00; border: 2px solid #e5e5e5; border-radius: 4px;
  z-index: 60;
}
#backTop.show { display: flex; }
#backTop .ic { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; transform: rotate(-90deg); }

/* anh minh hoa Co Ban / VIP trong box gioi thieu (120x90, 3 anh mot hang) */
.shots { text-align: center; padding: 4px 0 2px; }
.shots-label { color: #e73d00; text-align: center; margin: 6px 0 3px; font-weight: bold; }
.shot { display: inline-block; width: 120px; height: 90px; margin: 0 2px 4px; vertical-align: top; }
.shot-slot {
  border: 1px dashed #b8763a; background: #f0a54a; color: #6b3200; font-size: 9px;
  display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 0 4px;
}

/* anh thu vien trang gioi thieu (full width) */
.screen { display: block; width: 100%; margin: 4px 0; }
.screen-slot {
  aspect-ratio: 1024 / 600; border: 1px dashed #b8763a; background: #f0a54a; color: #6b3200;
  font-size: 11px; display: flex; align-items: center; justify-content: center;
}

/* ---------- Carousel Class nhan vat (gioi-thieu) ---------- */
.parent { position: relative; max-width: 620px; height: 384px; margin: 8px auto; overflow: hidden; border-radius: 16px; box-shadow: 0 0 40px 4px rgba(0,0,0,.55); }
.slider { position: absolute; inset: 0; background: #000; overflow: hidden; }
.slide { position: absolute; inset: 0; background-position: center; background-size: cover; z-index: 10; transition: transform 1.4s; color: #fff; text-align: center; padding: 28px 26px 0; font-size: 17px; font-weight: 800; text-shadow: 0 2px 6px rgba(0,0,0,.85); }
.slide.on { z-index: 20; }
.slide.zoom { transform: scale(1.3); }
.slide-empty { background: repeating-linear-gradient(45deg,#4a4a4a,#4a4a4a 14px,#3d3d3d 14px,#3d3d3d 28px); }
.slide span { display: block; max-width: 460px; margin: 0 auto; }
.slide-file { font-size: 11px; font-weight: normal; opacity: .75; margin-top: 10px; }
.ripple { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
.ripple circle { stroke: #fff; fill: none; stroke-width: 0; transition: stroke-width .3s linear; }
.ripple circle.streak { stroke-width: 82px; }
.ripple circle:nth-child(1){transition-delay:.05s} .ripple circle:nth-child(2){transition-delay:.10s} .ripple circle:nth-child(3){transition-delay:.15s}
.ripple circle:nth-child(4){transition-delay:.20s} .ripple circle:nth-child(5){transition-delay:.25s} .ripple circle:nth-child(6){transition-delay:.30s}
.ripple circle:nth-child(7){transition-delay:.35s} .ripple circle:nth-child(8){transition-delay:.40s} .ripple circle:nth-child(9){transition-delay:.45s}
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 50; width: 40px; height: 40px; border: 1px solid #849494; border-radius: 50%; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .5s; }
.slider-nav:hover { background: #fff; }
.slider-nav.prev { left: 8px; }
.slider-nav.next { right: 8px; }
.slider-nav svg { width: 16px; height: 16px; fill: none; stroke: #9d9d9d; stroke-width: 2.4; stroke-linecap: round; }
.slider-nav:hover svg { stroke: #444; }

.tabshots img { display: block; width: 100%; }
.tabshots .frame { display: none; }
.tabshots .frame.on { display: block; }
.tabnums { text-align: center; padding: 6px 0 2px; }
.tabnums a { display: inline-block; min-width: 20px; padding: 2px 6px; margin: 0 2px; border-radius: 50%; background: #000; color: #fff; font-size: 11px; cursor: pointer; }
.tabnums a:hover { text-decoration: none; }
.tabnums a.on { background: #fff; color: #000; }
