body.room-intro-open { overflow: hidden; }
#roomIntro {
  position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh;
  max-width: none; max-height: none; margin: 0; padding: 0; overflow: hidden;
  border: 0; color: #fff4dc; background: #09100f; box-shadow: none;
}
#roomIntro::backdrop { background: #09100f; }
#roomIntro[open] { animation: intro-arrive 1.1s ease-out both; }
.intro-stage { position: absolute; inset: 0; overflow: hidden; }
.intro-camera { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform 1.35s ease-in-out; }
.intro-room { display: block; width: 100%; height: 100%; }
.intro-light { position: absolute; inset: 0; background: radial-gradient(ellipse at 18% 40%, #ffcd7938, transparent 40%); animation: intro-lamplight 5s ease-in-out infinite alternate; }
.intro-dust { position: absolute; inset: 0; pointer-events: none; }
.intro-dust i { position: absolute; left: 22%; top: 52%; width: 3px; height: 3px; border-radius: 50%; background: #ffe2a1; box-shadow: 0 0 12px #ffd588; animation: intro-drift 7s ease-in-out infinite; }
.intro-dust i:nth-child(2) { left: 36%; top: 64%; animation-delay: -2s; }
.intro-dust i:nth-child(3) { left: 47%; top: 36%; animation-delay: -4s; }
.intro-dust i:nth-child(4) { left: 68%; top: 56%; animation-delay: -1s; }
.intro-dust i:nth-child(5) { left: 80%; top: 30%; animation-delay: -5s; }
.intro-monitor { position: absolute; left: 41%; top: 28%; width: 21%; height: 30%; background: linear-gradient(180deg, transparent, #8befe51c, transparent); opacity: 0; transform: skewY(-3deg); transition: opacity 1s; }
.intro-monitor svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 3px #90fff3); }
.intro-monitor path { fill: none; stroke: #a3f8df; stroke-width: 1; stroke-dasharray: 3 4; animation: intro-route 3s linear infinite; }
#roomIntro[data-step="watch"] .intro-monitor { opacity: .8; }
.intro-board { position: absolute; left: 75%; top: 17%; display: flex; gap: 4%; width: 12%; opacity: 0; transition: opacity .6s; }
.intro-board img { width: 30%; padding: 4%; background: #263831; border: 1px solid #e8cb82; box-shadow: 0 3px 10px #1119; }
#roomIntro[data-step="prepare"] .intro-board { opacity: 1; }
#roomIntro[data-step="prepare"] .intro-board img { animation: intro-token .9s .25s both; }
#roomIntro[data-step="prepare"] .intro-board img:nth-child(2) { animation-delay: .45s; }
#roomIntro[data-step="prepare"] .intro-board img:nth-child(3) { animation-delay: .65s; }
.intro-shade { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(#030908b3, transparent 22% 57%, #040a08ed 94%), radial-gradient(ellipse at center, transparent 25%, #02070573); }
.intro-top { position: absolute; z-index: 3; top: max(22px, env(safe-area-inset-top)); left: max(28px, env(safe-area-inset-left)); right: max(28px, env(safe-area-inset-right)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.intro-brand { font: 600 15px/1.3 Georgia, serif; letter-spacing: .22em; color: #e7d7b1; text-shadow: 0 2px 8px #000; }
#roomIntro .intro-skip, #roomIntro .intro-back { min-height: 44px; padding: 8px 12px; border: 0; background: #08100d66; color: #e6ddc8; font-size: 12px; }
#roomIntro .intro-skip:hover, #roomIntro .intro-back:hover { background: #08100dcc; }
#roomIntro .intro-target {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 76px; height: 76px;
  min-height: 76px; padding: 0; transform: translate(-50%, -50%); border: 1px solid #f5d593;
  border-radius: 50%; background: #121d17a6; color: #fff2c6; box-shadow: 0 0 32px #e1b96433, inset 0 0 20px #d9b76922;
  transition: left 1.35s ease-in-out, top 1.35s ease-in-out, background .2s;
}
.intro-target::before, .intro-target::after { content: ''; position: absolute; inset: -9px; border: 1px solid #f6d49088; border-radius: 50%; pointer-events: none; animation: intro-beacon 2.8s ease-out infinite; }
.intro-target::after { animation-delay: 1.4s; }
#roomIntro .intro-target:hover { background: #715b2de6; }
#roomIntro button:focus-visible { outline: 3px solid #fff5ca; outline-offset: 6px; }
.intro-target svg { grid-area: 1 / 1; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: none; }
#roomIntro[data-step="meet"] .intro-greeting, #roomIntro[data-step="watch"] .intro-play, #roomIntro[data-step="prepare"] .intro-plan { display: block; }
.intro-target span { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); width: max-content; padding: 4px 12px; color: #fff0c7; background: #09110ede; border-radius: 2px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.intro-caption { position: absolute; z-index: 2; bottom: max(48px, env(safe-area-inset-bottom)); left: 24px; right: 24px; display: grid; justify-items: center; text-align: center; pointer-events: none; text-shadow: 0 3px 14px #000; }
.intro-speaker { display: flex; align-items: center; gap: 12px; max-width: 100%; font-size: 13px; color: #e0be75; }
.intro-speaker::before, .intro-speaker::after { content: ''; width: 24px; height: 1px; background: #cfa75c88; }
.intro-speaker b { overflow-wrap: anywhere; }
.intro-speaker small { white-space: nowrap; font-size: 10px; font-weight: 400; letter-spacing: .14em; }
.intro-caption p { max-width: 36ch; margin: 12px 0 0; color: #fff4dc; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.55; word-break: keep-all; text-wrap: balance; }
#roomIntro .intro-back { position: absolute; z-index: 3; left: 24px; bottom: 20px; }
@keyframes intro-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-lamplight { to { opacity: .55; } }
@keyframes intro-drift { 0%, 100% { opacity: 0; transform: translate(0, 8px); } 40% { opacity: .6; } 80% { opacity: .3; transform: translate(24px, -50px); } }
@keyframes intro-beacon { from { transform: scale(.9); opacity: .8; } to { transform: scale(1.45); opacity: 0; } }
@keyframes intro-route { to { stroke-dashoffset: -28; } }
@keyframes intro-token { from { opacity: 0; transform: translateY(35px) rotate(-12deg); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .intro-top { top: max(14px, env(safe-area-inset-top)); left: 16px; right: 12px; }
  .intro-brand { font-size: 12px; letter-spacing: .16em; }
  .intro-caption { bottom: max(76px, env(safe-area-inset-bottom)); left: 22px; right: 22px; }
  .intro-caption p { max-width: 23ch; font-size: 20px; }
  #roomIntro .intro-target { width: 64px; height: 64px; min-height: 64px; }
  #roomIntro .intro-back { left: 12px; bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-height: 500px) and (orientation: landscape) {
  .intro-top { top: 8px; left: 18px; right: 18px; }
  .intro-caption { bottom: 18px; left: 100px; right: 100px; }
  .intro-caption p { margin-top: 4px; font-size: 18px; }
  #roomIntro .intro-target { width: 54px; height: 54px; min-height: 54px; }
  .intro-target span { top: calc(100% + 10px); font-size: 12px; }
  #roomIntro .intro-back { left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #roomIntro, #roomIntro *, #roomIntro *::before, #roomIntro *::after { animation: none !important; transition: none !important; }
  .intro-dust { display: none; }
}
