/* TrustCome Headquarters — Mobile Gold Pass v1.0, Phase A.2
   Landscape Suite Engine. No desktop/tablet changes. */

:root {
  --tc-phone-w: 100vw;
  --tc-phone-h: 100dvh;
}

html.tc-phone-gold,
html.tc-phone-gold body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0 !important;
  overflow: hidden !important;
  background: #020202 !important;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.tc-phone-gold .app-shell,
html.tc-phone-gold #scene-root {
  position: fixed !important;
  inset: 0 !important;
  width: var(--tc-phone-w) !important;
  height: var(--tc-phone-h) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  background: #020202 !important;
}

html.tc-phone-gold .app-header { display: none !important; }

/* Phase A.2 deliberately removes the A.1 portrait compression camera.
   In landscape the original Gold Master room CSS remains in control. */
html.tc-phone-landscape #scene-root > .scene,
html.tc-phone-landscape #scene-root > .phase2-scene,
html.tc-phone-landscape #scene-root > .command-centre-layout {
  margin: 0 !important;
  max-width: none !important;
  max-height: none !important;
}

/* Opening crest remains safely contained in either orientation. */
html.tc-phone-gold.tc-room-crest .crest-scene {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  transform: none !important;
}
html.tc-phone-gold.tc-room-crest .crest-scene .phase2-scene__art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: none !important;
}

/* Reception in portrait: preserve the artwork ratio and crop naturally,
   never stretch it. The rotate request sits on top of the approved scene. */
html.tc-phone-portrait.tc-room-reception .reception-scene,
html.tc-phone-portrait.tc-room-reception .reception-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  background: #020202 !important;
}
html.tc-phone-portrait.tc-room-reception .reception-scene::before,
html.tc-phone-portrait.tc-room-reception .reception-scene::after {
  display: none !important;
}
html.tc-phone-portrait.tc-room-reception .reception-canvas .phase2-scene__art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}

/* Portrait suites remain available; the Reception notice is advisory only. */

.tc-mobile-rotate-panel {
  display: none;
  opacity: 0;
}

html.tc-phone-gold .tc-mobile-rotate-panel.is-visible {
  animation: tc-reception-notice-in .35s ease-out both;
}

html.tc-phone-gold .tc-mobile-rotate-panel.is-visible {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 20px));
  width: min(86vw, 430px);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px 24px 20px;
  border: 1px solid rgba(212, 171, 76, .78);
  background: rgba(5, 5, 5, .90);
  box-shadow: 0 0 0 1px rgba(255, 224, 139, .10) inset,
              0 18px 55px rgba(0, 0, 0, .55);
  color: #ead7a0;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: .07em;
  box-sizing: border-box;
}

html.tc-phone-gold .tc-mobile-rotate-panel.is-gate {
  inset: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  transform: none;
  align-content: center;
  padding: 28px;
  border: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(120, 83, 18, .18), transparent 32%),
    #020202;
  box-shadow: none;
}


@keyframes tc-reception-notice-in {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.tc-mobile-rotate-panel.is-dismissing {
  animation: tc-reception-notice-out .35s ease-in both !important;
}

@keyframes tc-reception-notice-out {
  from { opacity: 1; transform: translate(-50%, 0); }
  to { opacity: 0; transform: translate(-50%, 10px); }
}
.tc-mobile-rotate-panel__crest {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(225, 190, 101, .8);
  border-radius: 50%;
  color: #e1bd65;
  font-size: 18px;
  letter-spacing: .04em;
}
.tc-mobile-rotate-panel__title {
  color: #f0d893;
  font-size: 17px;
  text-transform: uppercase;
}
.tc-mobile-rotate-panel__rule {
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #caa650, transparent);
}
.tc-mobile-rotate-panel__message {
  max-width: 330px;
  color: #f3ead1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: .02em;
}
.tc-mobile-rotate-panel__phone {
  position: relative;
  width: 54px;
  height: 30px;
  margin-top: 2px;
  border: 2px solid #d7b65f;
  border-radius: 7px;
  animation: tc-phone-rotate 2.6s ease-in-out infinite;
}
.tc-mobile-rotate-panel__phone span {
  position: absolute;
  right: 4px;
  top: 50%;
  width: 3px;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #d7b65f;
}

@keyframes tc-phone-rotate {
  0%, 20% { transform: rotate(90deg); }
  55%, 100% { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .tc-mobile-rotate-panel__phone { animation: none; }
}

html.tc-phone-gold button,
html.tc-phone-gold [role="button"],
html.tc-phone-gold [data-go] {
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}
