.maya-v2-home-frame {
  overflow: hidden;
  border-radius: 10px;
}

.maya-v2-home-frame .maya-v2-content,
.maya-v2-home-frame .maya-v2-content > #content { border-radius: inherit; }

.maya-v2-home-page {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--maya-v2-bg);
}

.maya-v2-home-heading {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--maya-v2-border);
  background: var(--maya-v2-surface);
}

.maya-v2-home-heading { display: none; }

.maya-v2-home-heading h1 { margin: 0; color: #293852; font-size: 18px; font-weight: 650; line-height: 1.3; }
.maya-v2-home-heading p { margin: 4px 0 0; color: #8a95a5; font-size: 12px; }
.maya-v2-home-scene-count { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e5e9f0; border-radius: 20px; color: #687589; background: #fff; font-size: 11px; white-space: nowrap; }
.maya-v2-home-scene-count i { color: #6654dd; }

.maya-v2-home-tour-card {
  position: absolute;
  inset: 0;
  flex: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #1d2738;
  box-shadow: none;
}

.maya-v2-home-page #pano { position: absolute; inset: 0; width: 100%; height: 100%; }
.maya-v2-home-tour-card #titleBar { top: 12px; right: 108px; left: 58px; z-index: 2; height: 36px; background: transparent; }
.maya-v2-home-tour-card #titleBar .sceneName { display: inline-block; width: max-content; max-width: 100%; height: 36px; box-sizing: border-box; padding: 5px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(21, 27, 43, .72); font-size: 13px; line-height: 24px; vertical-align: top; backdrop-filter: blur(8px); }
.maya-v2-home-tour-card #autorotateToggle,
.maya-v2-home-tour-card #fullscreenToggle,
.maya-v2-home-tour-card #sceneListToggle { z-index: 4; border-radius: 8px; background: rgba(21, 27, 43, .78); backdrop-filter: blur(8px); }
.maya-v2-home-tour-card #autorotateToggle { top: 12px !important; right: 60px !important; }
.maya-v2-home-tour-card #fullscreenToggle { top: 12px !important; right: 12px !important; }
.maya-v2-home-tour-card #sceneListToggle { top: 12px; left: 12px; }
.maya-v2-home-tour-card #sceneList {
  top: 60px !important;
  left: 12px !important;
  z-index: 10;
  width: 260px !important;
  max-width: calc(100% - 24px) !important;
  height: auto !important;
  max-height: calc(100% - 120px) !important;
  margin: 0 !important;
  padding: 8px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  background: rgba(21, 27, 43, .94);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  transform: translateX(calc(-100% - 20px));
  transition: transform .22s ease;
}
.maya-v2-home-tour-card #sceneList.enabled { margin-left: 0 !important; transform: translateX(0); }
.maya-v2-home-tour-card #sceneList .scenes { width: 100%; height: auto !important; margin: 0; padding: 0; background: transparent; list-style: none; }
.maya-v2-home-tour-card #sceneList .maya-v2-scene-row { display: block; width: 100%; margin: 2px 0; }
.maya-v2-home-tour-card #sceneList .scene { display: block; width: 100%; height: 36px; border-radius: 7px; background: transparent; }
.maya-v2-home-tour-card #sceneList .scene .text { display: block; width: 100%; height: 100%; padding: 0 11px; line-height: 36px; }
.maya-v2-home-tour-card #sceneList .scene.current,
.maya-v2-home-tour-card #sceneList .scene:hover { background: rgba(103, 115, 131, .58); }
.maya-v2-scene-drawer-heading { display: none; }
.maya-v2-home-tour-card .viewControlButton { z-index: 2; border-radius: 8px 8px 0 0; background: rgba(21, 27, 43, .7); }

@media (max-width: 760px) {
  .maya-v2-home-frame { border-radius: 0; }
  .maya-v2-home-heading { min-height: 60px; padding: 10px 14px; }
  .maya-v2-home-heading h1 { font-size: 16px; }
  .maya-v2-home-heading p { font-size: 11px; }
  .maya-v2-home-tour-card { min-height: 0; margin: 0; border-radius: 0; }
  .maya-v2-home-tour-card #autorotateToggle,
  .maya-v2-home-tour-card #fullscreenToggle,
  .maya-v2-home-tour-card #sceneListToggle { width: 38px !important; height: 38px !important; padding: 4px !important; }
  .maya-v2-home-tour-card #autorotateToggle .icon,
  .maya-v2-home-tour-card #fullscreenToggle .icon,
  .maya-v2-home-tour-card #sceneListToggle .icon { top: 7px !important; right: 7px !important; width: 24px !important; height: 24px !important; }
  .maya-v2-home-tour-card #titleBar { top: 60px; right: 12px; left: 12px; height: 34px; }
  .maya-v2-home-tour-card #titleBar .sceneName { height: 34px; line-height: 22px; }
  .maya-v2-home-tour-card #autorotateToggle,
  .maya-v2-home-tour-card #fullscreenToggle,
  .maya-v2-home-tour-card #sceneListToggle { top: 8px; }
  .maya-v2-home-tour-card #autorotateToggle { top: 8px !important; right: 66px !important; }
  .maya-v2-home-tour-card #fullscreenToggle { top: 8px !important; right: 8px !important; }
  .maya-v2-home-tour-card #sceneListToggle { left: 8px; }
  body.mobile.multiple-scenes .maya-v2-home-tour-card #titleBar { top: 8px !important; right: 104px !important; left: 54px !important; z-index: 12; width: auto; height: 38px; text-align: center; }
  body.mobile.multiple-scenes .maya-v2-home-tour-card #titleBar .sceneName { display: inline-block; max-width: 100%; height: 38px; line-height: 26px; }
  body.mobile.multiple-scenes .maya-v2-home-tour-card.scene-list-open #titleBar { display: block; z-index: 12; }
  body.mobile .maya-v2-home-tour-card #sceneList { top: 52px !important; left: 8px !important; right: auto !important; width: 200px !important; max-width: calc(100vw - 24px) !important; height: auto !important; max-height: calc(100% - 64px) !important; padding: 9px !important; border-radius: 10px; }
  .maya-v2-home-tour-card.scene-list-open::before { content: ""; position: absolute; z-index: 3; inset: 50px 0 0; background: rgba(9, 15, 30, .2); pointer-events: none; }
  .maya-v2-home-tour-card #sceneList.enabled { transform: translateX(0); }
  .maya-v2-home-tour-card #sceneList .maya-v2-scene-drawer-heading { display: block; margin: 0 0 5px; padding: 2px 9px 7px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.65); font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
  .maya-v2-home-tour-card #sceneList .scenes { height: auto !important; }
  .maya-v2-home-tour-card #sceneList .scene,
  .maya-v2-home-tour-card #sceneList .scene .text { height: 38px !important; line-height: 38px !important; }
  .maya-v2-home-tour-card #sceneList .scene .text { padding: 0 9px !important; font-size: 13px !important; }
}
