/* TARTEEL preview mode v2 - 2026-10-05 */
.phone-mockup-wrapper{
  width:100% !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
}
.preview-panel .phone{
  width:100% !important;
  max-width:350px !important;
  aspect-ratio:9/16 !important;
  border-radius:34px !important;
  border:8px solid #15231f !important;
  background:#071b15 !important;
  overflow:hidden !important;
  position:relative !important;
  box-shadow:0 24px 55px rgba(4,44,33,.16),0 0 0 1px rgba(255,255,255,.6) inset !important;
  transition:max-width .25s ease,aspect-ratio .25s ease,border-radius .25s ease,box-shadow .25s ease !important;
}
.preview-panel .phone canvas{
  display:block !important;
  width:100% !important;
  height:100% !important;
  aspect-ratio:9/16 !important;
  object-fit:cover !important;
}
.preview-panel .phone .phone-notch{
  display:block !important;
}

/* Landscape is deliberately a video player, not a stretched phone. */
.preview-panel.landscape-mode{
  padding:26px !important;
}
.preview-panel.landscape-mode .phone-mockup-wrapper{
  width:100% !important;
  padding:4px 0 2px !important;
}
.preview-panel.landscape-mode .phone{
  width:100% !important;
  max-width:720px !important;
  aspect-ratio:16/9 !important;
  border-radius:20px !important;
  border:7px solid #12201c !important;
  background:#061712 !important;
  box-shadow:0 24px 60px rgba(3,42,31,.2),0 0 0 1px rgba(212,175,55,.18) !important;
}
.preview-panel.landscape-mode .phone canvas{
  width:100% !important;
  height:100% !important;
  aspect-ratio:16/9 !important;
}
.preview-panel.landscape-mode .phone .phone-notch{
  display:none !important;
}
.preview-panel.landscape-mode .phone-top{
  top:16px !important;
  left:20px !important;
  right:20px !important;
  font-size:9px !important;
}
.preview-panel.landscape-mode .phone-bottom{
  bottom:16px !important;
  left:20px !important;
  right:20px !important;
}
.preview-panel.landscape-mode #playBtn{
  left:50% !important;
  bottom:50% !important;
  transform:translate(-50%,50%) !important;
  width:50px !important;
  height:50px !important;
  border-radius:50% !important;
}
.preview-panel.landscape-mode .playback{
  width:100% !important;
  max-width:720px !important;
  margin:16px auto 0 !important;
}
.preview-panel.landscape-mode .preview-note{
  max-width:720px !important;
  margin:18px auto !important;
}
.preview-panel.landscape-mode .format-note{
  max-width:720px !important;
  margin-inline:auto !important;
}
.preview-panel.landscape-mode .ratio-badge{
  color:#8b6b11 !important;
  background:#fff9e8 !important;
  border-color:#ead590 !important;
  font-weight:800 !important;
}

@media (max-width:760px){
  .preview-panel .phone{max-width:220px !important;border-width:6px !important;border-radius:24px !important}
  .preview-panel.landscape-mode{display:block !important;padding:16px !important}
  .preview-panel.landscape-mode .phone{max-width:100% !important;border-width:5px !important;border-radius:15px !important}
  .preview-panel.landscape-mode .preview-heading{margin-bottom:12px !important}
  .preview-panel.landscape-mode .playback{margin-top:12px !important}
  .preview-panel.landscape-mode .preview-note{margin:14px 0 !important}
  .preview-panel.landscape-mode .phone-top,.preview-panel.landscape-mode .phone-bottom{font-size:7px !important}
}
