:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #180f27;
  color: #fff3e7;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; background: radial-gradient(ellipse at top, #392044, transparent 70%); }
main { width: min(100% - 32px, 480px); margin: auto; padding: 24px 0; }
header { padding: 0 0 16px; }
header span { color: #ffb79d; letter-spacing: .24em; font-size: .875rem; font-weight: 750; }
h1 { margin: 6px 0 0; font-family: Georgia, serif; font-size: clamp(2.6rem, 11vw, 4.65rem); line-height: .96; letter-spacing: -.055em; font-weight: 500; }
.scene { position: relative; aspect-ratio: 1.65; overflow: hidden; isolation: isolate; border-radius: 20px; border: 1px solid #ee9fb475; background: linear-gradient(170deg, #7147a1, #e966a3 48%, #ffad79 72%, #87386d); }
.sun { position: absolute; width: 23%; aspect-ratio: 1; background: #ffce8f; border-radius: 50%; left: 39%; top: 17%; box-shadow: 0 0 42px #ffae83b0; }
.skyline { position: absolute; inset: 20% 0 27%; background: #593664; opacity: .8; clip-path: polygon(0 100%,0 58%,5% 58%,5% 30%,11% 30%,11% 75%,16% 75%,16% 45%,23% 45%,23% 72%,30% 72%,30% 61%,36% 61%,36% 87%,63% 87%,63% 61%,70% 61%,70% 75%,75% 75%,75% 15%,82% 15%,82% 62%,87% 62%,87% 38%,91% 38%,91% 64%,95% 64%,95% 50%,100% 50%,100% 100%); }
.railing { position: absolute; inset: 58% 0 24%; border-block: 4px solid #3d203e; background: repeating-linear-gradient(90deg, transparent 0 27px, #3d203e 28px 31px); }
.floor { position: absolute; inset: 76% 0 0; background: repeating-linear-gradient(0deg,#4b2948 0 2px,transparent 3px 15px),linear-gradient(#6f3a5b,#321b39); }
figure { margin: 0; position: absolute; display: grid; justify-items: center; gap: 4px; transform: translateX(-50%); transition: left .65s ease, bottom .65s ease; bottom: 8%; }
figure img { width: clamp(58px, 18vw, 90px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid #ffc7a6; box-shadow: 0 4px 16px #2c142a99; }
figcaption { border-radius: 20px; background: #22132b; padding: 2px 9px; font-size: .875rem; font-weight: 700; }
.silvio { left: 15%; }
.lori { left: 85%; }
.host { left: 50%; bottom: 37%; animation: appear .5s ease both; }
.host img { border-color: #ffe4a3; }
[data-step="1"] .silvio { left: 38%; }
[data-step="1"] .lori { left: 62%; }
[data-step="2"] .silvio, [data-step="3"] .silvio { left: 23%; bottom: 13%; }
[data-step="2"] .lori, [data-step="3"] .lori { left: 77%; bottom: 13%; }
@keyframes appear { from { opacity: 0; translate: 0 12px; } }
.chat { margin: 14px 0 12px; border: 1px solid #a477a35e; border-radius: 16px; background: #2a1a36; padding: 12px 15px; }
.chat p { margin: 0; line-height: 1.4; }
#speaker { color: #ffb79d; font-weight: 750; margin-bottom: 4px; }
#date { color: #ffe0aa; font-weight: 750; margin-top: 8px; }
button, a { display: block; width: 100%; padding: 12px; min-height: 46px; border: 0; border-radius: 12px; text-align: center; background: #ffba97; color: #281530; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
[data-step="3"] button { background: transparent; color: #ffcab0; }
:focus-visible { outline: 3px solid #ffe4a3; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { figure { transition: none; animation: none; } }
