/* Màn hình chào – Nhà Truyền thống Thủ Đức */

@font-face { font-family: "NTT Lora"; src: url("fonts/lora-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "NTT Lato"; src: url("fonts/lato-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "NTT Lato"; src: url("fonts/lato-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "NTT Lato"; src: url("fonts/lato-700i.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "NTT Lato"; src: url("fonts/lato-900.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

.ntt-splash {
  font-family: "NTT Lato", "Segoe UI", Arial, sans-serif;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 55% at 78% 30%, rgba(140, 210, 255, 0.55), transparent 70%),
    radial-gradient(ellipse 50% 45% at 92% 92%, rgba(90, 180, 255, 0.35), transparent 70%),
    linear-gradient(165deg, #2a9af5 0%, #1673e0 38%, #0d55c4 72%, #0a3f9e 100%);
}

.ntt-splash::before {
  /* tia sáng mềm */
  background:
    repeating-conic-gradient(from 200deg at 80% -10%, rgba(255, 255, 255, 0.07) 0deg 4deg, transparent 4deg 11deg);
  background-size: auto;
  opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

.ntt-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ntt-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 58%;
  background: url("img/splash/toan-canh.jpg") 42% 50% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.5) 74%, transparent 94%);
          mask-image: linear-gradient(90deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.5) 74%, transparent 94%);
}

.ntt-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 130, 240, 0.35) 0%, transparent 18%),
    radial-gradient(ellipse 30% 60% at 56% 50%, rgba(120, 200, 255, 0.35), transparent 70%);
}

/* ---------- Sân khấu 1600 x 900, co giãn theo màn hình ---------- */
.ntt-stage {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1600px;
  height: 900px;
  transform-origin: 100% 100%;
  transform: scale(var(--ntt-s, 1));
  z-index: 2;
}

.ntt-curves {
  position: absolute;
  left: -900px;
  top: -200px;
  width: 3400px;
  height: 1300px;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.ntt-film {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.ntt-film-band {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: visible;
}

.ntt-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 236px;
  height: 133px;
  border-radius: 3px;
  will-change: transform;
  backface-visibility: hidden;
}

.ntt-pic {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background-color: #2a1a05;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 2px rgba(110, 62, 0, 0.75), 0 2px 6px rgba(60, 30, 0, 0.35);
}

/* ---------- Nội dung bên phải ---------- */
.ntt-content {
  position: absolute;
  left: 778px;
  top: 0;
  width: 800px;
  height: 660px;
  z-index: 4;
}

.ntt-skyline {
  position: absolute;
  left: 352px;
  top: 2px;
  width: 440px;
  height: 92px;
  opacity: 0.92;
}

.ntt-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 70px;
  margin: 0;
  text-align: center;
  font-family: "NTT Lora", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1;
}

.ntt-title span {
  display: block;
  background: linear-gradient(180deg, #fffbe0 0%, #ffe589 24%, #f7c23d 48%, #d98e17 70%, #ffe08a 88%, #fff4c4 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 1px rgba(110, 58, 2, 0.9)) drop-shadow(0 3px 0 #7a4304) drop-shadow(0 8px 12px rgba(0, 25, 90, 0.55));
}

.ntt-title-1 {
  font-size: 60px;
  letter-spacing: 0.5px;
  padding-top: 0.23em;
}

.ntt-title-2 {
  margin-top: -0.24em;
  padding-top: 0.25em;
  font-size: 118px;
  line-height: 0.96;
  letter-spacing: 2px;
}

.ntt-slogan {
  position: absolute;
  left: -12px;
  top: 246px;
  width: 790px;
  height: 70px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 10px rgba(60, 0, 0, 0.35));
}

.ntt-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ntt-slogan-text {
  position: relative;
  padding: 0 34px 4px 46px;
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  white-space: nowrap;
  text-shadow: 0 2px 3px rgba(90, 0, 0, 0.6);
}

.ntt-intro {
  position: absolute;
  left: 12px;
  top: 322px;
  width: 776px;
  padding: 20px 28px 20px 14px;
  border: 1.5px solid rgba(210, 235, 255, 0.85);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 118, 226, 0.78) 0%, rgba(12, 72, 180, 0.8) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 22px rgba(140, 210, 255, 0.25),
    0 0 20px rgba(120, 200, 255, 0.45),
    0 14px 30px rgba(0, 25, 90, 0.35);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.ntt-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
}

.ntt-row + .ntt-row {
  margin-top: 12px;
}

.ntt-icon {
  justify-self: center;
  width: 66px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 20, 80, 0.45));
}

.ntt-icon-360 {
  width: 92px;
}

.ntt-row p {
  margin: 0;
  padding: 2px 0 2px 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.42;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 20, 70, 0.45);
}

.ntt-row strong {
  font-weight: 700;
}

/* ---------- Nút bắt đầu ---------- */
.ntt-actions {
  position: absolute;
  left: 0;
  top: 578px;
  width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.ntt-start {
  position: relative;
  flex: none;
  width: 584px;
  height: 76px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 3px solid #ffd76c;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, #ff5a5c 0%, #e01d24 38%, #b10d14 70%, #8a070c 100%);
  box-shadow:
    0 0 0 2px #a8620c,
    0 0 26px rgba(255, 205, 90, 0.7),
    0 10px 22px rgba(70, 0, 10, 0.45),
    inset 0 3px 0 rgba(255, 255, 255, 0.4),
    inset 0 -8px 14px rgba(70, 0, 0, 0.45);
  font-family: "NTT Lato", "Segoe UI", Arial, sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.3px;
  touch-action: manipulation;
  animation: ntt-glow 2.8s ease-in-out infinite alternate;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.ntt-start::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10%;
  bottom: -10%;
  left: -40%;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-22deg);
  animation: ntt-sheen 4.2s ease-in-out infinite;
}

.ntt-start-label {
  text-shadow: 0 2px 2px rgba(80, 0, 0, 0.65);
  white-space: nowrap;
}

.ntt-play {
  width: 26px;
  height: 30px;
  flex: none;
  filter: drop-shadow(0 1px 1px rgba(80, 0, 0, 0.6));
}

.ntt-chev {
  width: 38px;
  height: 30px;
  flex: none;
  filter: drop-shadow(0 1px 1px rgba(80, 0, 0, 0.6));
}

.no-touch .ntt-start:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.ntt-start:active {
  transform: translateY(1px);
}

.ntt-start:focus-visible {
  outline: 3px solid #fff4c4;
  outline-offset: 4px;
}

/* ---------- Nút xem video ---------- */
.ntt-video {
  flex: none;
  height: 64px;
  padding: 0 20px 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid rgba(255, 222, 130, 0.95);
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, rgba(40, 125, 232, 0.85), rgba(10, 66, 172, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 18px rgba(120, 200, 255, 0.45), 0 8px 18px rgba(0, 25, 90, 0.35);
  font-family: "NTT Lato", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 20, 70, 0.5);
  touch-action: manipulation;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.ntt-video[hidden] { display: none; }

a.ntt-video,
a.ntt-video:hover,
a.ntt-video:visited {
  color: #fff;
  text-decoration: none;
}

.ntt-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ntt-side[hidden] { display: none; }

/* Hai nút phụ xếp chồng bên cạnh nút chính */
.ntt-side.is-pair .ntt-video {
  height: 34px;
  padding: 0 16px 0 6px;
  gap: 8px;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 12px rgba(120, 200, 255, 0.4), 0 5px 12px rgba(0, 25, 90, 0.3);
}

.ntt-side.is-pair .ntt-video-icon {
  width: 24px;
  height: 24px;
}

.ntt-video-icon {
  width: 32px;
  height: 32px;
  flex: none;
  filter: drop-shadow(0 2px 3px rgba(80, 0, 0, 0.4));
}

.no-touch .ntt-video:hover { filter: brightness(1.12); transform: translateY(-2px); }
.ntt-video:focus-visible { outline: 3px solid #fff4c4; outline-offset: 4px; }

.has-side .ntt-start {
  width: 472px;
  gap: 12px;
  padding: 0 18px;
  font-size: 26px;
}

.has-side .ntt-play { width: 22px; height: 26px; }
.has-side .ntt-chev { width: 32px; height: 26px; }

.ntt-video-modal {
  position: fixed;
  inset: 0;
  z-index: 31000;
  display: grid;
  place-items: center;
  padding: 90px 4vw 40px;
  background: rgba(14, 4, 4, 0.74);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  animation: ntt-modal-in .22s ease-out;
}

.ntt-video-modal[hidden] { display: none; }

@keyframes ntt-modal-in { from { opacity: 0; } to { opacity: 1; } }

.ntt-video-box {
  position: static;
  width: min(1680px, 70vw, calc((100vh - 150px) * 16 / 9));
}

.ntt-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid #e2b64c;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(80, 20, 0, 0.5);
}

.ntt-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ntt-video-close {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 2;
  width: 64px;
  height: 64px;
  border: 3px solid #d9a93f;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #7a1016, #4a0509 70%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  font-size: 40px;
  font-weight: 700;
  line-height: 54px;
  text-align: center;
  padding: 0;
  transition: transform .15s ease, filter .15s ease;
}

.no-touch .ntt-video-close:hover { transform: scale(1.06); filter: brightness(1.2); }

@media (max-width: 760px), (max-height: 520px) {
  .ntt-video-modal { padding: 70px 12px 16px; }
  .ntt-video-box { width: min(100%, calc((100vh - 90px) * 16 / 9)); }
  .ntt-video-frame { border-width: 2px; border-radius: 12px; }
  .ntt-video-close { top: 12px; right: 12px; width: 48px; height: 48px; font-size: 30px; line-height: 40px; }
}
@media (max-height: 520px) {
  .ntt-video-modal { padding: 12px 70px 12px 12px; }
  .ntt-video-box { width: min(100%, calc((100vh - 24px) * 16 / 9)); }
}

.ntt-video-close:focus-visible { outline: 3px solid #fff4c4; outline-offset: 3px; }

@keyframes ntt-sheen {
  0%, 55% { left: -40%; }
  100% { left: 120%; }
}

@keyframes ntt-glow {
  from { box-shadow: 0 0 0 2px #a8620c, 0 0 16px rgba(255, 205, 90, 0.45), 0 10px 22px rgba(70, 0, 10, 0.45), inset 0 3px 0 rgba(255, 255, 255, 0.4), inset 0 -8px 14px rgba(70, 0, 0, 0.45); }
  to { box-shadow: 0 0 0 2px #a8620c, 0 0 34px rgba(255, 215, 110, 0.9), 0 10px 22px rgba(70, 0, 10, 0.45), inset 0 3px 0 rgba(255, 255, 255, 0.4), inset 0 -8px 14px rgba(70, 0, 0, 0.45); }
}

/* ---------- Hoa sen góc trái ---------- */
.ntt-lotus {
  position: absolute;
  left: calc(-18px * var(--ntt-s, 1));
  bottom: 0;
  width: calc(520px * var(--ntt-s, 1));
  height: calc(260px * var(--ntt-s, 1));
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0, 30, 60, 0.35));
}

/* ---------- Điện thoại: bố cục dọc ---------- */
.ntt-splash.is-mobile {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  place-items: start stretch;
  align-content: start;
}

.is-mobile .ntt-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  min-height: 100%;
}

.is-mobile .ntt-photo {
  width: 100%;
  height: 40vh;
  min-height: 200px;
  bottom: auto;
  background-position: 46% 55%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}

.is-mobile .ntt-stage {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  height: auto;
  min-height: 100%;
  transform: none;
  padding: max(28vh, 150px) 16px 18px;
  display: flex;
  flex-direction: column;
}

.is-mobile .ntt-curves,
.is-mobile .ntt-lotus {
  display: none;
}

.is-mobile .ntt-content {
  flex: none;
  margin-bottom: 20px !important;
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.is-mobile .ntt-skyline {
  position: relative;
  left: auto;
  top: auto;
  width: 62%;
  height: auto;
  margin-bottom: -4px;
}

.is-mobile .ntt-title,
.is-mobile .ntt-slogan,
.is-mobile .ntt-intro,
.is-mobile .ntt-start {
  position: relative;
  left: auto;
  top: auto;
}

.is-mobile .ntt-title-1 { font-size: clamp(25px, 7.6vw, 58px); }
.is-mobile .ntt-title-2 { font-size: clamp(46px, 14.5vw, 112px); letter-spacing: 1px; }

.is-mobile .ntt-slogan {
  width: calc(100% + 8px);
  height: auto;
  min-height: 44px;
  margin-top: 6px;
}

.is-mobile .ntt-slogan-text {
  white-space: normal;
  text-wrap: balance;
  text-align: center;
  font-size: clamp(14px, 3.4vw, 22px);
  line-height: 1.25;
  padding: 10px 26px 12px 30px;
}

.is-mobile .ntt-intro {
  width: 100%;
  margin-top: 12px;
  padding: 14px 14px 14px 6px;
  border-radius: 18px;
}

.is-mobile .ntt-row { grid-template-columns: 58px 1fr; }
.is-mobile .ntt-icon { width: 36px; }
.is-mobile .ntt-icon-360 { width: 50px; }
.is-mobile .ntt-row p { font-size: clamp(14px, 2.2vw, 18px); line-height: 1.45; padding-left: 12px; }

.is-mobile .ntt-actions {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  margin-top: 16px;
  flex-direction: column;
  gap: 10px;
}

.is-mobile .ntt-side,
.is-mobile .ntt-side.is-pair {
  width: 100%;
  max-width: 540px;
  flex-direction: row;
  gap: 10px;
}

.is-mobile .ntt-video,
.is-mobile .ntt-side.is-pair .ntt-video {
  flex: 1 1 0;
  min-width: 0;
  height: clamp(48px, 6.5vw, 58px);
  padding: 0 12px 0 8px;
  gap: 8px;
  justify-content: center;
  font-size: clamp(15px, 4vw, 21px);
}

.is-mobile .ntt-video-icon,
.is-mobile .ntt-side.is-pair .ntt-video-icon { width: 28px; height: 28px; }

.is-mobile .ntt-video > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.is-mobile:not(.is-landscape) .ntt-side.is-pair .ntt-more { display: none; }

.is-mobile .ntt-start,
.is-mobile.has-side .ntt-start {
  width: 100%;
  max-width: 540px;
  height: clamp(56px, 8vw, 70px);
  margin-top: 0;
  gap: 12px;
  padding: 0 16px;
  font-size: clamp(17px, 4.6vw, 28px);
}

.is-mobile .ntt-play,
.is-mobile.has-side .ntt-play { width: 18px; height: 22px; }
.is-mobile .ntt-chev,
.is-mobile.has-side .ntt-chev { width: 28px; height: 22px; }

.is-mobile .ntt-film {
  position: relative;
  inset: auto;
  order: 2;
  flex: none;
  width: calc(100% + 32px);
  margin: auto -16px 0;
  min-height: 124px;
  height: 124px;
  overflow: hidden;
}

/* Điện thoại nằm ngang: ảnh bên trái, nội dung bên phải */
.is-mobile.is-landscape .ntt-photo {
  width: 44%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
}

.is-mobile.is-landscape .ntt-stage {
  padding: 10px 14px 10px 40%;
}

.is-mobile.is-landscape .ntt-skyline { display: none; }
.is-mobile.is-landscape .ntt-title-1 { font-size: clamp(20px, 6.4vh, 34px); }
.is-mobile.is-landscape .ntt-title-2 { font-size: clamp(36px, 12.5vh, 64px); }
.is-mobile.is-landscape .ntt-slogan { margin-top: 2px; min-height: 34px; }
.is-mobile.is-landscape .ntt-slogan-text { font-size: 13px; padding: 7px 20px 8px 24px; }
.is-mobile.is-landscape .ntt-intro { margin-top: 8px; padding: 8px 10px 8px 4px; }
.is-mobile.is-landscape .ntt-row { grid-template-columns: 46px 1fr; }
.is-mobile.is-landscape .ntt-row + .ntt-row { margin-top: 6px; }
.is-mobile.is-landscape .ntt-icon { width: 28px; }
.is-mobile.is-landscape .ntt-icon-360 { width: 40px; }
.is-mobile.is-landscape .ntt-row p { font-size: 12px; line-height: 1.38; padding-left: 10px; }
.is-mobile.is-landscape .ntt-actions { margin-top: 10px; gap: 8px; }
.is-mobile.is-landscape .ntt-start,
.is-mobile.is-landscape.has-side .ntt-start { height: 48px; font-size: 16px; padding: 0 12px; gap: 8px; }
.is-mobile.is-landscape .ntt-video,
.is-mobile.is-landscape .ntt-side.is-pair .ntt-video { height: 40px; font-size: 14px; }
.is-mobile.is-landscape .ntt-video-icon,
.is-mobile.is-landscape .ntt-side.is-pair .ntt-video-icon { width: 24px; height: 24px; }
.is-mobile.is-landscape .ntt-content { margin-bottom: 12px !important; }
.is-mobile.is-landscape .ntt-film { min-height: 96px; height: 96px; width: calc(100% + 14px); margin: auto -14px 0 0; }

/* Giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
  .ntt-start,
  .ntt-start::before {
    animation: none !important;
  }
  .ntt-start::before {
    display: none;
  }
}

/* ---------- Nút trong tour: Video giới thiệu & Chỉ đường ---------- */
.tour-control[hidden] { display: none !important; }

.tour-control.tour-pill {
  width: auto;
  padding: 0 18px 0 8px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "NTT Lato", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #fff9df;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(60, 0, 0, 0.6);
}

.tour-pill .pill-icon {
  width: 34px;
  height: 34px;
  flex: none;
  filter: drop-shadow(0 1px 2px rgba(60, 0, 0, 0.5));
}

a.tour-control.map-control,
a.tour-control.map-control:visited {
  text-decoration: none;
  color: #fff9df;
}

.map-control .map-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 2px rgba(60, 0, 0, 0.55));
}

#titleBar { right: 318px !important; }
body.has-tour-video #titleBar { right: 520px !important; }

@media (max-width: 760px), (max-height: 520px) {
  .tour-control.tour-pill {
    width: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .tour-pill .pill-label { display: none; }
  .tour-pill .pill-icon { width: 30px; height: 30px; }
  .map-control .map-icon { width: 24px; height: 24px; }

  #titleBar,
  body.fullscreen-enabled.mobile #titleBar,
  body.has-tour-video #titleBar { right: 248px !important; }
  body.has-tour-video #titleBar,
  body.has-tour-video.fullscreen-enabled.mobile #titleBar { right: 296px !important; }
}

/* Điện thoại dọc: tên cảnh xuống hàng dưới thanh nút */
@media (max-width: 560px) {
  #titleBar,
  body.fullscreen-enabled.mobile #titleBar,
  body.has-tour-video #titleBar,
  body.has-tour-video.fullscreen-enabled.mobile #titleBar {
    top: 56px;
    left: 0 !important;
    right: 0 !important;
    height: 38px;
  }
  #titleBar .sceneName,
  .mobile #titleBar .sceneName {
    height: 38px;
    padding: 6px 10px;
    line-height: 26px;
    font-size: 13px;
    background: linear-gradient(180deg, rgba(57, 1, 4, 0.78), rgba(57, 1, 4, 0.35) 70%, transparent);
  }
}

@media (max-width: 360px) {
  #tourAudioControls { gap: 3px; }
  .tour-control,
  .tour-control.tour-pill { width: 40px; height: 40px; font-size: 17px; }
}
