/* Trang danh sách và chi tiết VR360 — bám prototype, toàn bộ thành phần hiển thị ngay khi vào trang */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------- Banner ---------------- */
.vr-hero {
  min-height: 0;
  padding: calc(72px + clamp(8px, 2vh, 22px)) clamp(10px, 2vw, 28px) 50px;
  background-position: center 40%;
}
.vr-hero .hero-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0;
}
.vr-hero h1 {
  font-size: clamp(30px, 4vw, 50px);
  margin: 2px 0 2px;
  line-height: 1.1;
}
.vr-hero h1 em {
  font-size: clamp(42px, 5.3vw, 66px);
}
.vr-hero .hero-subtitle {
  margin: 4px 0 6px;
  font-size: clamp(15px, 1.4vw, 19px);
}
.vr-hero .hero-copy {
  max-width: 540px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  text-shadow: 0 1px 8px #0008;
}
.vr-intro {
  position: absolute;
  top: 6px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: clamp(250px, 21vw, 320px);
  padding: 14px 16px;
  border: 1.5px solid #ffffff99;
  border-radius: 14px;
  background: #0b2d2a80;
  backdrop-filter: blur(6px);
  color: #fff;
  text-align: left;
}
.vr-intro:hover {
  background: #0b2d2aa6;
}
.vr-intro-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.vr-intro-play .icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.vr-intro-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
}
.vr-intro-text strong {
  font-size: 15px;
}
.vr-intro > .icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.vr-hero-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(10px, 2vh, 18px);
}
.vr-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1 1 520px;
}
.vr-chips a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 9px;
  background: #fffffff0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 2px 8px #0003;
}
.vr-chips a:hover {
  color: var(--teal-dark);
}
.vr-chips a .icon {
  width: 16px;
  height: 16px;
}
.vr-chips a.active {
  background: var(--teal);
  color: #fff;
}
.vr-chips a.active .icon {
  filter: brightness(0) invert(1);
}
.vr-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 310px;
  margin: 0;
  padding: 0 12px;
  height: 40px;
  border-radius: 10px;
  background: #fffffff2;
  box-shadow: 0 2px 8px #0003;
}
.vr-search > .icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}
.vr-search input {
  flex: 1;
  margin: 0;
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  min-width: 0;
}
.vr-search input:focus {
  outline: 0;
}
.vr-search button {
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
}
.vr-search button .icon {
  width: 16px;
  height: 16px;
}

/* ---------------- Danh sách ---------------- */
.vr-list-layout {
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(10px, 2vw, 28px) 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}
.vr-list-layout .results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.vr-list-layout .results-toolbar select {
  width: auto;
  margin: 0;
  font-size: 12px;
}
.vr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vr-place-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.vr-place-card[hidden] {
  display: none;
}
.vr-place-card:hover {
  box-shadow: 0 10px 26px #0f766e26;
  transform: translateY(-2px);
}
.vr-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.vr-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.vr-place-card:hover .vr-card-image img {
  transform: scale(1.05);
}
.pill-360 {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 11px;
  border: 1.5px solid #fff;
  border-radius: 16px;
  background: #0b2d2acc;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.vr-open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px #0004;
}
.vr-open .icon {
  width: 15px;
  height: 15px;
}
.vr-place-card .favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fffffff0;
}
.vr-place-card .favorite .icon {
  width: 16px;
  height: 16px;
}
.vr-place-card .favorite[aria-pressed="true"] {
  background: #ffe0e4;
}
.vr-card-body {
  padding: 12px 14px 14px;
}
.vr-card-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.35;
}
.vr-card-body .location {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  margin: 0 0 10px;
  font-size: 11.5px;
}
.vr-card-body .location .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  flex: none;
}
.tag-blue,
.tags .tag-blue {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f1fd;
  color: #0b5cad;
}
.tags .tag-blue .icon {
  width: 11px;
  height: 11px;
  filter: invert(21%) sepia(97%) saturate(1900%) hue-rotate(196deg);
}
.tag-gold,
.tags .tag-gold {
  background: #fdf3dc;
  color: #8a5a00;
}
.vr-guide ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.vr-guide li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  color: #44525a;
}
.vr-guide li .icon {
  width: 18px;
  height: 18px;
  flex: none;
  padding: 3px;
  border-radius: 6px;
  background: #e3f1ee;
}

/* ---------------- Chi tiết: vừa khung nhìn ---------------- */
.vr-detail-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 660px;
}
.vr-detail-page .vr-hero {
  flex: none;
}
.vr-detail-page .vr-hero .hero-inner {
  position: relative;
}
.vr-body {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  max-width: 1540px;
  margin: -34px auto 0;
  padding: 0 clamp(10px, 2vw, 28px) 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vr-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 23vw, 360px);
  gap: 14px;
  min-height: 0;
}
.vr-row-main {
  flex: 1 1 0;
}
.vr-row-more {
  flex: none;
  height: clamp(168px, 21vh, 240px);
}
.vr-row > .panel {
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

/* Màn hình khám phá */
.vr-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.vr-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.vr-ring {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 5px solid #b45f2b;
  background: radial-gradient(circle, #fff 35%, transparent 37%);
}
.vr-title h2 {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.25;
}
.vr-title p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.vr-title p .icon {
  width: 13px;
  height: 13px;
}
.vr-title .dot {
  opacity: 0.5;
}
.vr-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vr-head-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 12px;
  white-space: nowrap;
}
.vr-head-actions .btn .icon {
  width: 15px;
  height: 15px;
}
.vr-head-actions .btn:not(.light) .icon {
  filter: brightness(0) invert(1);
}
.vr-head-actions .vr-help {
  background: #fbeee4;
  color: #b4571a;
}
.vr-head-actions .vr-help .icon {
  filter: invert(36%) sepia(70%) saturate(1200%) hue-rotate(345deg);
}
.vr-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 8px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.vr-lang .icon {
  width: 15px;
  height: 15px;
}
.vr-lang select {
  margin: 0;
  padding: 0 2px;
  border: 0;
  background: none;
  font-size: 12px;
  width: auto;
}
.vr-cc {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.vr-cc[aria-pressed="true"] {
  background: #e3f1ee;
  border-color: var(--teal);
}
.vr-tour-switch {
  flex: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.vr-tour-switch button {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 11.5px;
  background: #fff;
}
.vr-tour-switch button small {
  color: var(--muted);
  margin-left: 4px;
}
.vr-tour-switch button.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.vr-tour-switch button.active small {
  color: #ffffffcc;
}

.viewer-shell {
  container-type: size;
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #09252b;
}
.vr-stage .vr-viewer {
  position: absolute;
  inset: 0;
  height: auto;
  border-radius: 0;
}
.vr-stage .viewer-overlay {
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  background: #0b2d2a99;
  border: 1px solid #ffffff44;
  border-radius: 18px;
  padding: 5px 14px;
  font-size: 12px;
  max-width: 40%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sơ đồ điểm tham quan + FOV */
.viewer-map-card {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  width: clamp(150px, 13vw, 196px);
  padding: 8px 9px 9px;
  border: 1.5px solid #ffffffcc;
  border-radius: 10px;
  background: #0b2d2ac2;
  backdrop-filter: blur(5px);
  color: #fff;
}
.viewer-map-card > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
}
.mm-map {
  position: relative;
  aspect-ratio: 17 / 10;
  border-radius: 7px;
  overflow: hidden;
  background: linear-gradient(135deg, #2f5f50, #1d3f37);
}
.mm-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mm-sector {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from calc(var(--a, -40) * 1deg),
    #ffd24de6 0deg,
    #ffd24d33 calc(var(--w, 80) * 1deg),
    transparent calc(var(--w, 80) * 1deg)
  );
  -webkit-mask-image: radial-gradient(
    circle,
    #000 0,
    #000 12%,
    transparent 40%
  );
  mask-image: radial-gradient(circle, #000 0, #000 12%, transparent 40%);
  pointer-events: none;
}
.mm-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -88%);
  pointer-events: none;
  filter: drop-shadow(0 1px 3px #000a);
}
.mm-pin .icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.viewer-map-card .scene-minimap {
  min-height: 0;
  max-height: 58px;
  margin-top: 7px;
  overflow: auto;
  padding: 5px;
  gap: 4px;
  background: #ffffff1f;
  border-radius: 7px;
  scrollbar-width: none;
}
.viewer-map-card .scene-minimap button {
  width: 20px;
  height: 20px;
  border: 1.5px solid #fff;
  background: #ffffff33;
  color: #fff;
  font-size: 9px;
}
.viewer-map-card .scene-minimap button.active {
  background: #f5b13d;
  border-color: #f5b13d;
  color: #1c1a10;
}
.mm-note {
  display: block;
  margin-top: 6px;
  font-size: 9.5px;
  opacity: 0.85;
  line-height: 1.3;
}

.vr-stage .viewer-tools {
  top: 12px;
  right: 12px;
  gap: 8px;
}
.vr-stage .viewer-tools .icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #0b2d2ab8;
  border: 1.5px solid #ffffffcc;
}
.vr-stage .viewer-tools .icon-btn .icon {
  filter: brightness(0) invert(1);
}
.viewer-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(86px, 13vh, 118px);
  z-index: 5;
  max-width: min(70%, 640px);
  margin: 0;
  padding: 8px 14px;
  border-radius: 8px;
  background: #000000b8;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.viewer-caption[hidden] {
  display: none;
}
.viewer-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 26px 10px 10px;
  background: linear-gradient(transparent, #000000b3 55%);
}
.viewer-strip .strip-nav {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fffffff0;
}
.viewer-strip .strip-nav .icon {
  width: 16px;
  height: 16px;
}
.viewer-strip .scene-strip {
  flex: 1;
  min-width: 0;
  padding: 0;
  gap: 8px;
  scrollbar-width: none;
}
.viewer-strip .scene-strip::-webkit-scrollbar {
  display: none;
}
.viewer-strip .scene-strip button {
  flex: 0 0 clamp(84px, 7.6vw, 116px);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  background: none;
  color: #fff;
  font-size: 10.5px;
  line-height: 1.35;
  text-shadow: 0 1px 4px #000;
}
.viewer-strip .scene-strip button.active {
  border-color: #3fd2b0;
  background: none;
}
.viewer-strip .scene-strip img {
  height: clamp(38px, 5.2vw, 62px);
  border-radius: 5px;
  margin-bottom: 3px;
  display: block;
}
.viewer-strip .scene-strip button span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px 2px;
}

/* Thông tin điểm */
.vr-info-head {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.vr-info-head h2 {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.25;
}
.vr-info-actions-top {
  display: flex;
  gap: 4px;
  flex: none;
}
.vr-info-actions-top .icon-btn {
  background: none;
  box-shadow: none;
}
.vr-info-actions-top [aria-pressed="true"] .icon {
  filter: invert(22%) sepia(95%) saturate(4500%) hue-rotate(345deg);
}
.vr-info .tags {
  flex: none;
  margin: 8px 0 10px;
}
.vr-desc {
  flex: 0 1 auto;
  min-height: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #4a5860;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 6px;
}
.info-list {
  flex: none;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.info-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.45;
  color: #44525a;
}
.info-list li .icon {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
}
.info-list a {
  color: var(--teal);
  font-weight: 500;
}
.vr-info-actions {
  flex: none;
  margin-top: auto;
  padding-top: 12px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
}
.vr-info-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 13px;
  white-space: nowrap;
}
.vr-info-actions .btn:not(.light) .icon {
  filter: brightness(0) invert(1);
}

/* Điểm nổi bật + bản đồ */
.vr-featured-panel .section-heading,
.vr-map-panel .section-heading {
  flex: none;
  margin: 0 0 10px;
}
.vr-featured-panel .section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 18px;
}
.vr-featured-panel .section-heading h2 .icon {
  width: 22px;
  height: 22px;
}
.vr-map-panel .section-heading h3 {
  margin: 0;
  font-size: 15px;
}
.see-all {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ink);
}
.see-all .icon {
  width: 14px;
  height: 14px;
}
.vr-carousel {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.car-nav {
  align-self: center;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px #0003;
  border: 1px solid var(--line);
  z-index: 2;
}
.car-nav .icon {
  width: 16px;
  height: 16px;
}
.vr-featured {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 3px 2px;
}
.vr-featured::-webkit-scrollbar {
  display: none;
}
.vr-featured .vr-card {
  position: relative;
  flex: 0 0 clamp(168px, 16.5vw, 214px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
  scroll-snap-align: start;
  min-width: 0;
  color: inherit;
}
.vr-featured .vr-card:hover {
  box-shadow: 0 8px 22px #0f766e26;
}
.vr-featured .vr-card.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px #0f766e33;
}
.vr-card-img {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-height: 48px;
}
.vr-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vr-featured .vr-card .pill-360 {
  left: 8px;
  bottom: 8px;
  font-size: 11px;
  padding: 2px 9px;
}
.card-img-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #ffffffe6;
}
.card-img-badge .icon {
  width: 13px;
  height: 13px;
}
.vr-featured .vr-card strong {
  flex: none;
  display: block;
  margin: 8px 34px 1px 11px;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vr-featured .vr-card small {
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 34px 9px 11px;
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vr-featured .vr-card small .icon {
  width: 11px;
  height: 11px;
  flex: none;
}
.card-go {
  position: absolute;
  right: 9px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef2f1;
}
.card-go .icon {
  width: 13px;
  height: 13px;
}
.vr-map-panel .mini-map {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  border-radius: 10px;
}
.map-marker.is-current {
  z-index: 3;
  transform: scale(1.25);
  filter: drop-shadow(0 0 6px #f5b13d);
}
.vr-viewer .a-enter-vr,
.vr-viewer .a-enter-vr-button,
.vr-viewer .a-orientation-modal {
  display: none !important;
}

/* ---------------- Màn hình thấp: nén banner ---------------- */
@media (min-width: 1101px) and (max-height: 1099px) {
  .vr-hero {
    padding-bottom: 44px;
  }
  .vr-hero .hero-copy {
    display: none;
  }
  .vr-hero .eyebrow {
    margin-bottom: 0;
  }
  .vr-hero h1 {
    font-size: 34px;
  }
  .vr-hero h1 em {
    font-size: 44px;
  }
  .vr-hero .hero-subtitle {
    margin: 2px 0 0;
    font-size: 15px;
  }
  .vr-chips a {
    padding: 7px 12px;
  }
  .vr-search {
    height: 36px;
  }
  .vr-desc {
    -webkit-line-clamp: 3;
  }
  .viewer-map-card .scene-minimap {
    display: none;
  }
}
@media (min-width: 1101px) and (max-height: 860px) {
  .vr-hero .eyebrow,
  .vr-hero .hero-subtitle,
  .vr-intro {
    display: none;
  }
  .vr-hero {
    padding-bottom: 36px;
  }
  .vr-hero h1 {
    font-size: 30px;
  }
  .vr-hero h1 em {
    font-size: 40px;
  }
  .vr-row-more {
    height: clamp(150px, 21vh, 190px);
  }
  .vr-info .info-list li:nth-child(n + 3) {
    display: none;
  }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
  .vr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .vr-detail-page {
    height: auto;
    min-height: 0;
  }
  .vr-body {
    flex: none;
  }
  .vr-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .vr-row-main {
    flex: none;
  }
  .vr-row-more {
    height: auto;
  }
  .vr-row > .panel {
    height: auto;
  }
  .viewer-shell {
    flex: none;
    height: clamp(340px, 62vw, 560px);
  }
  .vr-carousel {
    height: 230px;
    flex: none;
  }
  .vr-map-panel .mini-map {
    height: 240px;
    flex: none;
  }
  .vr-intro {
    display: none;
  }
}
@media (max-width: 960px) {
  .vr-list-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .vr-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vr-head-actions {
    width: 100%;
  }
  .vr-head-actions .btn {
    flex: 1;
    justify-content: center;
  }
  .viewer-shell {
    height: 360px;
  }
  .viewer-map-card {
    width: 128px;
  }
  .viewer-map-card .scene-minimap,
  .mm-note {
    display: none;
  }
  .vr-stage .viewer-overlay {
    display: none;
  }
  .vr-search {
    flex-basis: 100%;
  }
  .vr-info-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Lớp phủ trong khung xem tự co theo chiều cao khung (container query) */
@container (max-height: 430px) {
  .viewer-map-card {
    width: 138px;
    padding: 6px 7px 7px;
  }
  .viewer-map-card .scene-minimap,
  .mm-note {
    display: none;
  }
  .viewer-tools {
    top: 8px !important;
    right: 8px !important;
    gap: 6px !important;
  }
  .viewer-tools .icon-btn {
    width: 32px !important;
    height: 32px !important;
  }
  .viewer-strip {
    padding-top: 18px;
  }
  .viewer-strip .scene-strip img {
    height: 34px;
  }
  .viewer-strip .scene-strip button {
    flex-basis: 78px;
    font-size: 9.5px;
  }
}
@container (max-height: 330px) {
  #vr-sound,
  #vr-fullscreen2,
  #vr-enter {
    display: none;
  }
  .viewer-map-card {
    width: 118px;
  }
  .viewer-strip .scene-strip img {
    height: 28px;
  }
  .viewer-strip .scene-strip button span {
    font-size: 9px;
  }
}
@container (max-height: 270px) {
  .viewer-map-card > strong {
    display: none;
  }
  .viewer-map-card {
    width: 104px;
  }
  .viewer-strip .scene-strip button {
    flex-basis: 66px;
  }
}

/* Đã bỏ hàng điểm nổi bật: khung 360° chiếm toàn bộ chiều cao; bản đồ nằm trong cột thông tin */
.vr-detail-page .vr-row-main {
  flex: 1 1 0;
}
.vr-info-map {
  flex: 1 1 0;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.vr-info-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}
.vr-info-map .mini-map {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  border-radius: 10px;
}
.vr-info-actions {
  margin-top: 0;
}
@media (max-width: 1100px) {
  .vr-info-map {
    flex: none;
  }
  .vr-info-map .mini-map {
    height: 240px;
    flex: none;
  }
}
@media (min-width: 1101px) and (max-height: 860px) {
  .vr-info-map {
    min-height: 90px;
  }
}

/* Bản đồ mini: điểm đang xem + FOV */
.vr-here {
  position: relative;
  width: 0;
  height: 0;
}
.vr-here-pin {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #e53935;
  box-shadow: 0 2px 8px #0008;
}
.vr-here-pulse {
  position: absolute;
  left: -16px;
  top: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5393555;
  animation: vr-pulse 1.8s ease-out infinite;
}
@keyframes vr-pulse {
  from {
    transform: scale(0.5);
    opacity: 1;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}
.vr-here b {
  position: absolute;
  left: 12px;
  top: -30px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fffffff2;
  box-shadow: 0 1px 6px #0004;
  font-size: 11px;
  white-space: nowrap;
}
.vr-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1e88e5;
  box-shadow: 0 1px 4px #0006;
  cursor: pointer;
  opacity: 0.8;
}
.vr-dot.is-near {
  width: 13px;
  height: 13px;
  background: #ffb300;
  opacity: 1;
}

.vr-here b {
  left: auto;
  right: 14px;
  top: -12px;
}
