/* Full-screen studio: pictures on top, Emma in the middle, mic at the bottom. */

body.is-pron-studio { background: #0B7C95; }
body.is-pron-studio .site-header,
body.is-pron-studio .site-footer,
body.is-pron-studio .footer-shore,
body.is-pron-studio .cookie-bar { display: none !important; }
body.is-pron-studio main { padding: 0; display: block; }

.pron-studio {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0B7C95;
  padding:
    max(8px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
}

.pron-top {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.pron-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
}
.pron-titles { text-align: center; min-width: 0; }
.pron-titles h1 { margin: 0; font-size: clamp(16px, 4.2vw, 22px); color: #fff; }
.pron-titles p { margin: 2px 0 0; font-weight: 800; color: rgba(255,255,255,.78); }
.pron-badge {
  padding: 7px 12px;
  border-radius: 999px;
  background: #FFD24A;
  color: #2A2140;
  font-size: 13px;
  font-weight: 800;
}

.pron-pics {
  width: min(560px, 100%);
  align-self: stretch;
  flex: 0 0 auto;
}
.pron-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: start;
  gap: 12px 28px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.pron-pair.is-live {
  max-height: 280px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transition: max-height .4s ease, opacity .35s ease;
}
.pron-card {
  margin: 0;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  color: #fff;
}
.pron-card-art {
  width: min(168px, 42vw);
  height: min(168px, 42vw);
  display: block;
  background: none;
  overflow: visible;
  opacity: 0;
  transform: scale(.86);
}
.pron-pair.is-live .pron-card-art {
  opacity: 1;
  transform: none;
  transition: opacity .4s ease, transform .4s ease, box-shadow .16s ease;
}
.pron-card.is-on .pron-card-art {
  box-shadow: 0 0 0 5px #FFD24A;
  border-radius: 28px;
}
.pron-card figcaption {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.pron-card strong,
.pron-card em {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .32s ease, transform .32s ease;
}
.pron-card.is-on strong,
.pron-card.is-on em,
.pron-card.is-said strong,
.pron-card.is-said em {
  opacity: 1;
  transform: none;
}
.pron-card strong {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-size: clamp(22px, 6vw, 32px);
  letter-spacing: -.02em;
  line-height: 1;
}
.pron-card em {
  font-style: normal;
  font-weight: 800;
  font-size: 14px;
  color: #FFD24A;
}

.pron-emma {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  min-height: 0;
  width: 100%;
}
.pron-emma-svg {
  width: auto;
  height: clamp(300px, 54vh, 560px);
  filter: drop-shadow(0 18px 28px rgba(0, 30, 40, .28));
}

.pron-hint,
.pron-fb {
  margin: 0;
  text-align: center;
  font-weight: 800;
  font-size: clamp(15px, 3.6vw, 18px);
}
.pron-fb { color: #FFD24A; }

.pron-dock {
  display: grid;
  place-items: center;
  padding: 8px 0 4px;
}
.pron-mic {
  appearance: none;
  position: relative;
  isolation: isolate;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #F07D20;
  box-shadow: 0 14px 32px rgba(80, 30, 0, .28);
  cursor: pointer;
}
.pron-mic-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 210, 74, .55);
  animation: pron-ring 1.8s ease-out infinite;
  pointer-events: none;
}
.pron-mic-glow::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 210, 74, .28);
  animation: pron-ring 1.8s ease-out infinite .9s;
}
.pron-mic:hover { transform: scale(1.04); }
.pron-mic.is-listen {
  background: #C25E10;
  animation: pron-pulse 1s ease-in-out infinite;
}
.pron-mic.is-busy { opacity: .55; pointer-events: none; animation: none; }
.pron-mic:disabled { opacity: .4; cursor: default; }

@keyframes pron-ring {
  0%   { transform: scale(.92); opacity: .7; }
  100% { transform: scale(1.28); opacity: 0; }
}
@keyframes pron-pulse { 50% { transform: scale(1.06); } }

@media (max-width: 640px) and (orientation: portrait) {
  .pron-card-art { width: min(150px, 42vw); height: min(150px, 42vw); }
  .pron-emma-svg { height: clamp(260px, 48vh, 420px); }
}

@media (max-height: 520px) and (orientation: landscape) {
  .pron-studio { padding-top: 4px; padding-bottom: 6px; }
  .pron-pics { width: min(360px, 42vw); align-self: flex-start; }
  .pron-emma-svg { height: clamp(180px, 58vh, 280px); }
  .pron-card-art { width: 72px; height: 72px; }
  .pron-card strong { font-size: 18px; }
  .pron-mic { width: 68px; height: 68px; }
}
