/* hộp thoại xem web thật (.hop) — chép nguyên từ thu/chung.css; bảng 11 mẫu (.bang) — từ thu/truyen.css */
.hop {
  width: min(1320px, 96vw); max-width: none; height: min(92svh, 980px); padding: 0; border: 0;
  border-radius: 20px; background: var(--nen-2); color: var(--chu); overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
}
.hop::backdrop { background: rgba(4, 5, 8, .82); backdrop-filter: blur(6px); }
.hop__dau {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .85rem 1rem; border-bottom: 1px solid var(--vien);
}
.hop__ten b { display: block; font-size: 1rem; }
.hop__ten span { font-size: .82rem; color: var(--chu-mo); }
.hop__nut { display: flex; align-items: center; gap: .5rem; }
.hop__kho { display: flex; border: 1px solid var(--vien); border-radius: 999px; overflow: hidden; }
.hop__kho button {
  border: 0; background: transparent; color: var(--chu-mo); cursor: pointer;
  padding: .45em 1em; font: inherit; font-size: .84rem;
}
.hop__kho button.dang { background: var(--nhan); color: #fff; }
.hop__ra { color: var(--chu-mo); text-decoration: none; font-size: .84rem; padding: .45em .6em; }
.hop__ra:hover { color: var(--chu); }
.hop__dong {
  border: 1px solid var(--vien); background: transparent; color: var(--chu); cursor: pointer;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; font-size: .9rem; line-height: 1;
}
.hop__than { display: grid; grid-template-columns: 1fr 17rem; height: calc(100% - 3.6rem); }
.hop__khung { position: relative; overflow: hidden; background: #fff; }
.hop__khung iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Khổ điện thoại: thu iframe về đúng 390px rồi đặt giữa — xem được y như trên máy khách. */
.hop__khung[data-kho="dt"] { background: #101218; display: grid; place-items: center; }
.hop__khung[data-kho="dt"] iframe {
  position: static; width: 390px; height: 96%; border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff;
}
.hop__ben {
  border-left: 1px solid var(--vien); padding: 1.1rem; overflow-y: auto;
  display: flex; flex-direction: column; gap: .8rem;
}
.hop__nho { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nhan-2); }
.hop__y { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.hop__y li { padding-left: 1.4rem; position: relative; font-size: .92rem; color: var(--chu-mo); }
.hop__y li::before { content: '→'; position: absolute; left: 0; color: var(--nhan); }
.hop__ben .nut { justify-content: center; margin-top: auto; }


.bang {
  width: min(1180px, 94vw); max-width: none; max-height: 90svh; padding: 0; border: 0; border-radius: 20px;
  background: #11131a; color: var(--chu); overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
}
.bang::backdrop { background: rgba(4, 5, 8, .84); backdrop-filter: blur(6px); }
.bang__dau { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-bottom: 1px solid var(--vien); }
.bang__dau b { display: block; }
.bang__dau span { font-size: .84rem; color: var(--chu-mo); }
.bang__dong { width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--vien); background: none; color: var(--chu); cursor: pointer; }
.bang__luoi {
  display: grid; gap: .8rem; padding: 1rem; overflow-y: auto; max-height: calc(90svh - 4.2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.bang__the {
  display: block; text-align: left; padding: 0 0 .8rem; border: 1px solid var(--vien); border-radius: 14px;
  overflow: hidden; background: #171a22; color: inherit; font: inherit; cursor: pointer;
  transition: transform .3s var(--tho), border-color .3s;
}
.bang__the:hover, .bang__the:focus-visible { transform: translateY(-4px); border-color: var(--nhan); }
.bang__the img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: top center; display: block; }
.bang__ten { display: block; padding: .7rem .8rem 0; font-weight: 600; }
.bang__nganh { display: block; padding: 0 .8rem; font-size: .82rem; color: var(--chu-mo); }

