/* © 2026 Ardent Realty Group, LLC. All rights reserved. */
/* Uptown Heirs welcome video overlay (intro.js) */
.tti { position: fixed; inset: 0; z-index: 1000; background: #0e1626; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
.tti.hidden { display: none !important; }
.tti-box { width: min(980px, 100%); margin: auto; }
.tti-frame { position: relative; }
.tti video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 14px; background: #000; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.tti-sound { display: block; width: max-content; max-width: 100%; margin: 10px auto 0; font: inherit; font-weight: 800; font-size: .95rem; color: #22304a; background: #f2c14e; border: 0; border-radius: 999px; padding: .4em 1.05em; box-shadow: 0 4px 14px rgba(0,0,0,.35); cursor: pointer; min-height: 40px; }
.tti-sound.hidden { display: none; }
.tti-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.tti-title { color: #fff; font-weight: 700; opacity: .9; }
.tti-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
body.tti-open { overflow: hidden; }
.tti-home { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tti-home .tti-replay:not(.primary) { background: rgba(255,255,255,.95); }
#modalBody .tti-replay { margin: 0 0 12px; }
#ttiJoin { margin-left: 0; }

/* Share the game (not the room) under the Skip / Join controls — never over the video or captions. */
.tti-share, #ttIntro .uh-share { margin: 8px 0 0; padding: 10px 0 0; max-width: none; color: #fff; background: transparent; border: 0; }
.tti-share .uhs-lbl { color: rgba(255,255,255,.9); }
.tti-share .uhs-a.btn { background: #2a3a58; color: #fff; border: 1px solid rgba(255,255,255,.32); }
.tti-end { margin-top: 10px; }
.tti-end.hidden { display: none; }
.tti-end-msg { color: #fff; font-weight: 700; margin: 0; text-align: center; }
.tti.tti-ended .tti-share { padding-top: 8px; }

@media (max-width: 600px) {
  .tti-sound { font-size: .9rem; padding: .35em .95em; min-height: 36px; }
  .tti-title { font-size: .9rem; flex: 1 1 100%; }
  .tti-actions { margin-left: 0; width: 100%; justify-content: flex-end; }
}
@media (max-height: 700px) { .tti { justify-content: flex-start; } }
