/* VietSCI - popup xem văn bản (dùng chung website và App). Mọi lớp bắt đầu bằng .dv để không ảnh hưởng trang. */
.dv { box-sizing: border-box; width: min(940px, calc(100vw - 24px)); height: calc(100vh - 24px); max-width: none; max-height: none; margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 30px 70px rgba(12,5,97,.35); font-family: "Be Vietnam Pro", system-ui, sans-serif; }
.dv[open] { display: flex; flex-direction: column; }
.dv::backdrop { background: rgba(12,5,97,.55); }
.dv__h { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid #e6e5f0; background: #fff; }
.dv__h strong { min-width: 0; overflow: hidden; color: #16133d; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.dv__a { flex: none; display: flex; align-items: center; gap: 6px; }
.dv__b { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid #e6e5f0; border-radius: 8px; background: #fff; color: #1800ad; font: inherit; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s; }
.dv__b:hover { border-color: #1800ad; background: #f1efff; }
.dv__b[hidden] { display: none; }
.dv__x { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #e6e5f0; border-radius: 50%; background: #fff; color: #6b6a80; cursor: pointer; transition: border-color .15s, color .15s; }
.dv__x:hover { border-color: #c02626; color: #c02626; }
.dv__w { position: relative; flex: 1; min-height: 0; background: #e8e7ef; }
.dv__w iframe { display: block; width: 100%; height: 100%; border: 0; }
.dv__l { position: absolute; top: 40%; left: 0; right: 0; margin: 0; color: #6b6a80; font-size: 13px; text-align: center; }
.dv__l[hidden] { display: none; }
@media (max-width: 600px) { .dv { width: 100vw; height: 100vh; border-radius: 0; } .dv__h { padding-left: 12px; } .dv__b[data-dv-open] { display: none; } }
