@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #071229;
  --ink-soft: #0b1b38;
  --panel: rgba(12, 29, 58, 0.76);
  --panel-light: rgba(14, 38, 72, 0.7);
  --cyan: #75f4e7;
  --blue: #55bdff;
  --aqua: #a6fff0;
  --white: #f1fbff;
  --muted: #aec2da;
  --line: rgba(176, 224, 255, 0.19);
  --font: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body {
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.backdrop {
  position: fixed; inset: 0; z-index: -5;
  background-image:
    linear-gradient(90deg, rgba(4, 12, 29, .05) 0%, rgba(4, 13, 31, .23) 35%, rgba(5, 15, 34, .77) 67%, rgba(5, 14, 31, .96) 100%),
    linear-gradient(0deg, rgba(5, 14, 31, .82) 0%, rgba(5, 14, 31, .08) 42%, rgba(5, 14, 31, .58) 100%),
    url('/manus-storage/async-images/4mHLjvDmmC9EdX5twKszTQ/image-1.webp');
  background-size: cover;
  background-position: center center;
  transform: scale(1.015);
  animation: backdrop-arrive 1.5s cubic-bezier(.2,.7,.2,1) both;
}
.backdrop::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 27% 51%, rgba(38, 161, 229, .14), transparent 38%); }
.ambient-orb { position: fixed; z-index: -3; width: 25rem; height: 25rem; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .12; }
.ambient-orb-one { top: 5%; left: -12rem; background: #137eff; animation: orb-drift 17s ease-in-out infinite alternate; }
.ambient-orb-two { right: -14rem; bottom: 0; background: #1bdbd0; animation: orb-drift 19s ease-in-out infinite alternate-reverse; }
.grain { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.app-shell { min-height: 100svh; display: flex; flex-direction: column; padding: 1.45rem clamp(1.25rem, 5.4vw, 5.75rem) 1.15rem; position: relative; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 3.1rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; min-width: 12rem; }
.brand-mark { position: relative; width: 2.45rem; height: 2.45rem; display: inline-flex; justify-content: center; align-items: center; gap: .18rem; border: 1px solid rgba(117,244,231,.65); border-radius: .88rem; background: rgba(20, 68, 103, .36); box-shadow: 0 0 22px rgba(77, 210, 224, .16), inset 0 0 18px rgba(77, 210, 224, .12); transform: rotate(-8deg); }
.brand-mark span { width: .2rem; border-radius: 1rem; background: linear-gradient(var(--cyan), var(--blue)); box-shadow: 0 0 8px rgba(117,244,231,.65); }
.brand-mark span:nth-child(1) { height: .67rem; }.brand-mark span:nth-child(2) { height: 1.08rem; }.brand-mark span:nth-child(3) { height: .82rem; }
.brand-copy { display: grid; gap: .07rem; }.brand-copy strong { font-size: .94rem; letter-spacing: .015em; font-weight: 600; }.brand-copy small { font-size: .68rem; color: #8ea8c7; letter-spacing: .08em; }
.topbar-center { border: 1px solid rgba(147,199,231,.15); background: rgba(8,20,42,.42); border-radius: 999px; padding: .55rem .9rem; display: flex; align-items: center; gap: .55rem; font-size: .73rem; color: #b9cadc; backdrop-filter: blur(12px); }
.live-dot, .footer-dot { width: .4rem; height: .4rem; border-radius: 50%; display: inline-block; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.icon-button { width: 2.55rem; height: 2.55rem; border-radius: 50%; border: 1px solid var(--line); background: rgba(7,20,42,.48); display: grid; place-items: center; cursor: pointer; transition: .2s ease; }
.icon-button:hover { border-color: var(--cyan); background: rgba(40,110,137,.35); transform: translateY(-1px); }
.icon-button svg { width: 1.12rem; stroke: #cfecf4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.progress-nav { display: flex; align-items: center; justify-content: flex-start; gap: .55rem; margin: 2.3rem 0 1rem; max-width: 36rem; color: #8095b1; }
.progress-step { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; font-size: .72rem; transition: color .3s ease; }
.progress-step i { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border: 1px solid rgba(150,191,223,.25); border-radius: 50%; font-style: normal; font-size: .67rem; }
.progress-step.is-current { color: var(--aqua); }.progress-step.is-current i, .progress-step.is-done i { border-color: rgba(117,244,231,.72); color: var(--cyan); background: rgba(66,206,210,.12); box-shadow: 0 0 15px rgba(79,219,221,.12); }.progress-step.is-done { color: #9ddfdd; }.progress-line { width: clamp(1rem, 3.4vw, 3.6rem); height: 1px; background: linear-gradient(90deg, rgba(117,244,231,.45), rgba(161,194,226,.1)); }
.stage { flex: 1; position: relative; min-height: 0; display: flex; align-items: center; }
.scene { width: 100%; animation: scene-enter .65s cubic-bezier(.18,.74,.25,1) both; }
.scene[hidden] { display: none; }
.scene.is-active { display: block; }
.scene-copy { width: min(52%, 41rem); position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.1rem; display: flex; align-items: center; gap: .7rem; color: #9bc5dc; font-size: .76rem; letter-spacing: .05em; }
.eyebrow-line { display: inline-block; width: 1.55rem; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.eyebrow.centered { justify-content: center; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-weight: 600; letter-spacing: -.035em; }
h1 { margin-bottom: 1.15rem; font-size: clamp(3.1rem, 6.2vw, 6rem); line-height: 1.18; }
h1 em, h2 em { font-style: normal; color: var(--cyan); text-shadow: 0 0 36px rgba(93,226,222,.18); }
.lead { max-width: 34rem; margin-bottom: 1.6rem; color: #ced9e9; font-size: clamp(.96rem, 1.25vw, 1.13rem); line-height: 1.95; font-weight: 300; }
.room-note { display: flex; align-items: center; gap: .72rem; max-width: 31rem; margin-bottom: 1.7rem; padding: .8rem 1rem; border-inline-start: 2px solid rgba(117,244,231,.72); border-radius: 0 10px 10px 0; color: #b7c8d9; background: linear-gradient(270deg, rgba(26,63,89,.42), rgba(8,22,43,.12)); font-size: .78rem; line-height: 1.8; }
.note-icon { color: var(--cyan); font-size: 1.1rem; }
.primary-button { min-height: 3.15rem; display: inline-flex; align-items: center; justify-content: center; gap: 1.35rem; padding: .72rem 1.45rem; border: 1px solid rgba(170,255,242,.54); border-radius: .7rem; background: linear-gradient(115deg, #77f5e0 0%, #55c7e5 50%, #4e9df2 100%); color: #04162a; font-size: .88rem; font-weight: 700; cursor: pointer; box-shadow: 0 8px 30px rgba(36,204,206,.16), inset 0 1px 0 rgba(255,255,255,.52); transition: transform .22s ease, box-shadow .22s ease, filter .22s ease; }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 12px 36px rgba(36,204,206,.28), inset 0 1px 0 rgba(255,255,255,.58); }.primary-button:active { transform: translateY(0); }
.button-arrow { font-size: 1.3rem; font-family: Arial, sans-serif; line-height: .7; transition: transform .2s ease; }.primary-button:hover .button-arrow { transform: translateX(-3px); }
.micro-note { color: #7890ab; font-size: .68rem; margin: .72rem 0 0; }
.welcome-copy { padding-block: 1rem; }
.welcome-aside { position: absolute; left: 3%; top: 50%; width: 34vw; height: min(60vh, 30rem); transform: translateY(-44%); pointer-events: none; }
.orbit { position: absolute; border: 1px solid rgba(99,219,238,.27); border-radius: 50%; top: 15%; left: 14%; width: 73%; aspect-ratio: 1; transform: rotate(-28deg) scaleY(.52); box-shadow: 0 0 26px rgba(51,197,223,.11), inset 0 0 22px rgba(51,197,223,.09); }
.orbit-large::before, .orbit-small::before { content: ''; position: absolute; inset: 8%; border: 1px dashed rgba(115,236,230,.2); border-radius: 50%; }
.orbit-small { top: 26%; left: 24%; width: 53%; border-color: rgba(109,155,255,.28); transform: rotate(42deg) scaleY(.55); }.orbit-small::before { inset: 17%; }
.spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #9bfff5; box-shadow: 0 0 15px 4px rgba(87,255,233,.55); animation: twinkle 2.4s ease-in-out infinite; }.spark-one { top: 20%; left: 40%; }.spark-two { top: 58%; left: 13%; animation-delay: .7s; }.spark-three { top: 70%; left: 75%; animation-delay: 1.15s; }
.hero-caption { position: absolute; bottom: 2%; right: 9%; display: flex; gap: .5rem; align-items: center; font-size: .7rem; color: #a1bac9; letter-spacing: .07em; }
.caption-dot { width: .33rem; height: .33rem; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 9px var(--cyan); }

.scene-countdown { display: grid; place-items: center; min-height: min(56vh, 34rem); }.countdown-panel { text-align: center; }.countdown-panel h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom: 1.3rem; }.countdown-ring { width: clamp(12rem, 25vw, 18rem); aspect-ratio: 1; margin: 0 auto 1.25rem; display: grid; place-items: center; position: relative; border: 1px solid rgba(124,239,240,.31); border-radius: 50%; background: radial-gradient(circle, rgba(63,205,222,.12) 0%, rgba(5,24,51,.48) 56%, rgba(5,24,51,.13) 100%); box-shadow: 0 0 42px rgba(68,200,226,.14), inset 0 0 42px rgba(68,200,226,.1); }.countdown-ring::before, .countdown-ring::after { content: ''; position: absolute; border: 1px solid rgba(105,215,232,.3); border-radius: 50%; }.countdown-ring::before { inset: .8rem; border-top-color: var(--cyan); border-right-color: transparent; animation: orbit-spin 5s linear infinite; }.countdown-ring::after { inset: -.55rem; border-style: dashed; border-color: rgba(116,166,236,.22); animation: orbit-spin 22s linear infinite reverse; }.countdown-ring span { font-family: var(--font); font-size: clamp(5.7rem, 12vw, 8rem); font-weight: 300; line-height: 1; color: #f1ffff; text-shadow: 0 0 34px rgba(117,244,231,.5); }.countdown-glow { position: absolute; inset: 25%; border-radius: 50%; background: rgba(48,214,215,.13); filter: blur(28px); }.countdown-hint { color: #aac5d5; font-size: .9rem; }

.scene-robot { display: flex; align-items: center; min-height: 49vh; }.robot-copy { width: min(60%, 46rem); }.system-chip { display: inline-flex; align-items: center; gap: .5rem; margin: -.2rem 0 1rem; padding: .48rem .8rem; border: 1px solid rgba(111,239,223,.19); border-radius: 99px; background: rgba(29,92,106,.24); color: #b7f7ec; font-size: .68rem; }.scene-robot h2 { max-width: 43rem; margin-bottom: .5rem; font-size: clamp(2.6rem, 5.2vw, 4.9rem); line-height: 1.3; color: var(--aqua); text-shadow: 0 0 33px rgba(80,230,214,.15); }.robot-intro { color: #cbdded; font-size: 1.05rem; margin-bottom: 1.15rem; }.voice-card { width: min(100%, 42rem); display: flex; align-items: flex-start; gap: .9rem; padding: .95rem 1.05rem; border: 1px solid rgba(140,218,244,.18); border-radius: .9rem; background: linear-gradient(135deg, rgba(11,28,56,.82), rgba(9,28,52,.6)); box-shadow: 0 20px 50px rgba(0,0,0,.15); backdrop-filter: blur(12px); }.voice-icon { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; flex: 0 0 2.35rem; margin-top: .18rem; border: 1px solid rgba(117,244,231,.3); border-radius: .75rem; background: rgba(58,178,189,.13); }.voice-icon svg { width: 1.15rem; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }.voice-content { flex: 1; }.voice-label { display: block; margin-bottom: .35rem; color: var(--cyan); font-size: .68rem; }.voice-content p { margin: 0; color: #e0ecf5; font-size: .81rem; line-height: 1.9; font-weight: 300; }.voice-bars { align-self: center; display: flex; align-items: center; gap: 3px; height: 1.6rem; }.voice-bars i { width: 3px; border-radius: 8px; height: 30%; background: var(--cyan); animation: bars 1s ease-in-out infinite alternate; }.voice-bars i:nth-child(2) { animation-delay: .2s; }.voice-bars i:nth-child(3) { height: 85%; animation-delay: .35s; }.voice-bars i:nth-child(4) { height: 50%; animation-delay: .1s; }.voice-bars i:nth-child(5) { animation-delay: .5s; }.scene-robot:not(.is-speaking) .voice-bars i { animation-play-state: paused; transform: scaleY(.7); }.robot-aside { position: absolute; left: 2%; top: 49%; transform: translateY(-50%); width: 32%; height: 54vh; pointer-events: none; }.robot-halo { position: absolute; left: 14%; top: 12%; width: 73%; aspect-ratio: 1; border: 1px solid rgba(118,229,240,.16); border-radius: 50%; box-shadow: 0 0 54px rgba(37,188,234,.12), inset 0 0 45px rgba(44,180,232,.11); }.robot-halo::before, .robot-halo::after { content: ''; position: absolute; border-radius: 50%; inset: 7%; border: 1px dashed rgba(117,244,231,.22); transform: scaleY(.56) rotate(30deg); }.robot-halo::after { inset: 14%; transform: scaleY(.7) rotate(-25deg); border-style: solid; opacity: .5; }.robot-label { position: absolute; bottom: -4%; left: 16%; color: rgba(197,228,240,.65); font-size: .7rem; line-height: 1.8; letter-spacing: .05em; }

.scene-question, .scene-challenge { max-width: 75rem; margin-inline: auto; }.section-kicker { display: flex; align-items: center; gap: .65rem; color: #87a2bc; font-size: .68rem; margin-bottom: .8rem; }.kicker-line { width: 2.7rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(123,228,234,.55)); }.question-content { width: min(100%, 40rem); margin-inline: auto; text-align: center; padding-block: .4rem 1rem; }.question-content h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1.25; margin-bottom: .25rem; }.question-prompt { color: #bbcad9; font-size: .98rem; margin-bottom: 1.1rem; }.choice-list { display: grid; gap: .55rem; max-width: 34rem; margin: 0 auto; }.choice-button { min-height: 3.25rem; display: flex; align-items: center; gap: .75rem; text-align: right; padding: .65rem .9rem; border: 1px solid rgba(155,198,229,.16); border-radius: .72rem; background: rgba(8,25,49,.66); color: #dce9f1; font-size: .79rem; cursor: pointer; transition: .2s ease; backdrop-filter: blur(12px); }.choice-button:hover, .choice-button.is-selected { border-color: rgba(117,244,231,.58); background: rgba(18,82,95,.47); transform: translateX(-2px); }.choice-symbol { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid rgba(122,204,223,.3); border-radius: .5rem; color: var(--cyan); font-size: .7rem; }.choice-button span:nth-child(2) { flex: 1; }.choice-check { color: var(--cyan); opacity: 0; }.choice-button.is-selected .choice-check { opacity: 1; }.choice-feedback { min-height: 1.3rem; margin: .6rem 0 .7rem; color: #8facc1; font-size: .68rem; }.next-button { min-height: 2.8rem; font-size: .78rem; }.quote-ribbon { display: flex; align-items: center; justify-content: center; gap: .7rem; max-width: 49rem; margin: .1rem auto 0; padding: .7rem 1.05rem; border-top: 1px solid rgba(117,244,231,.2); color: #bbd5de; font-size: .77rem; text-align: center; }.ribbon-mark { color: var(--cyan); font-family: Georgia, serif; font-size: 2rem; line-height: .6; }

.challenge-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }.challenge-heading .eyebrow { margin-bottom: .55rem; }.challenge-heading h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: .3rem; }.challenge-lead { margin: 0; color: #cfdeeb; font-size: .91rem; }.challenge-index { display: grid; text-align: left; color: #8da6bd; gap: .06rem; padding: .38rem 0 0 1rem; border-inline-start: 1px solid rgba(144,204,226,.17); }.challenge-index strong { color: var(--cyan); font-size: 1.8rem; line-height: 1.2; font-weight: 400; }.challenge-index span, .challenge-index small { font-size: .64rem; }.challenge-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(17rem,.75fr); gap: 1rem; }.challenge-brief, .timer-card { border: 1px solid rgba(149,203,232,.17); border-radius: 1rem; background: linear-gradient(135deg, rgba(11,29,58,.86), rgba(12,36,64,.66)); backdrop-filter: blur(14px); box-shadow: 0 22px 60px rgba(0,0,0,.14); }.challenge-brief { padding: 1.05rem 1.25rem .95rem; }.brief-heading { display: flex; align-items: center; gap: .75rem; padding-bottom: .75rem; border-bottom: 1px solid rgba(156,198,220,.12); }.brief-icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .7rem; background: rgba(69,184,192,.12); border: 1px solid rgba(117,244,231,.24); color: var(--cyan); }.brief-heading div { display: grid; gap: .12rem; }.brief-heading strong { font-size: .86rem; font-weight: 600; }.brief-heading small { font-size: .65rem; color: #8faac1; }.requirements-list { list-style: none; padding: .2rem 0; margin: .25rem 0 .45rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }.requirements-list li { display: flex; align-items: center; min-height: 2.4rem; gap: .55rem; border-bottom: 1px solid rgba(146,190,219,.1); color: #e0eaf2; font-size: .75rem; }.requirement-number { color: #729ab1; font-size: .62rem; font-family: Arial, sans-serif; }.requirement-spark { color: rgba(117,244,231,.8); margin-right: auto; font-size: .68rem; }.team-note { display: flex; align-items: flex-start; gap: .55rem; padding: .6rem .7rem; border-radius: .65rem; color: #aad1d4; background: rgba(45,142,150,.11); font-size: .67rem; line-height: 1.8; }.team-note-icon { color: var(--cyan); font-size: 1rem; line-height: 1.2; }
.timer-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 17rem; padding: 1.15rem; }.timer-card::before { content: ''; position: absolute; width: 17rem; height: 17rem; top: -10rem; right: -8rem; border: 1px solid rgba(117,244,231,.15); border-radius: 50%; box-shadow: 0 0 40px rgba(67,191,219,.1); }.timer-orbit { position: absolute; inset: 1rem; border: 1px dashed rgba(142,204,232,.12); border-radius: .72rem; pointer-events: none; }.timer-label { color: #a9c2d5; font-size: .72rem; }.timer-display { color: #f3ffff; font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 300; letter-spacing: .045em; line-height: 1.2; direction: ltr; font-family: var(--font), sans-serif; text-shadow: 0 0 25px rgba(98,232,231,.26); font-variant-numeric: tabular-nums; }.timer-state { min-height: 1.2rem; margin: .2rem 0 .75rem; color: #8faac0; font-size: .67rem; }.timer-actions { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; position: relative; }.timer-start { min-height: 2.6rem; padding-inline: 1rem; font-size: .72rem; }.timer-secondary { border: 1px solid rgba(157,206,231,.21); border-radius: .6rem; padding: .58rem .8rem; min-height: 2.55rem; color: #cde0e7; background: rgba(9,25,49,.64); cursor: pointer; font-size: .68rem; transition: .2s ease; }.timer-secondary:hover { border-color: var(--cyan); color: var(--cyan); }.challenge-footer { display: flex; align-items: center; gap: .55rem; color: #8ea6ba; font-size: .65rem; margin-top: .82rem; }.footer-light { width: .35rem; height: .35rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }.footer-divider { height: .75rem; width: 1px; background: rgba(141,192,212,.35); margin-inline: .3rem; }
.scene-finish { display: grid; place-items: center; min-height: 48vh; }.finish-card { text-align: center; width: min(100%, 46rem); padding: 2rem 1.5rem; border: 1px solid rgba(147,207,233,.17); border-radius: 1.2rem; background: linear-gradient(135deg, rgba(8,24,48,.83), rgba(12,32,59,.62)); box-shadow: 0 24px 70px rgba(0,0,0,.18); backdrop-filter: blur(16px); }.finish-symbol { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border: 1px solid rgba(117,244,231,.42); border-radius: 1rem; color: var(--cyan); font-size: 1.4rem; box-shadow: 0 0 32px rgba(78,230,223,.12); }.finish-card h2 { margin-bottom: .8rem; font-size: clamp(2.5rem, 5.5vw, 4.8rem); line-height: 1.28; }.finish-message { max-width: 35rem; margin: 0 auto; color: #ccdae8; font-size: 1rem; line-height: 1.9; }.finish-rule { height: 1px; width: 4rem; margin: 1.15rem auto; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }.finish-signoff { color: #92dcd7; font-size: .82rem; margin-bottom: 1.3rem; }
.pause-overlay { position: absolute; inset: -1rem -2rem; z-index: 5; display: grid; place-items: center; background: rgba(3,10,24,.69); backdrop-filter: blur(11px); border-radius: 1rem; }.pause-overlay[hidden] { display: none; }.pause-card { text-align: center; padding: 2rem; }.pause-mark { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: auto auto 1rem; border: 1px solid rgba(117,244,231,.4); border-radius: 50%; color: var(--cyan); font-size: 1.4rem; }.pause-card p { font-size: 1.4rem; margin-bottom: .3rem; }.pause-card small { display: block; color: #99aec1; margin-bottom: 1.3rem; }.resume-overlay-button { min-height: 2.7rem; }
.controlbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding-top: .75rem; border-top: 1px solid rgba(155,193,216,.12); }.controlbar-left { display: flex; align-items: center; gap: .35rem; }.control-button { display: inline-flex; align-items: center; gap: .48rem; padding: .4rem .55rem; border: 0; border-radius: .5rem; background: transparent; color: #a4b5c6; font-size: .68rem; cursor: pointer; transition: .2s ease; }.control-button:hover { color: var(--cyan); background: rgba(44,143,156,.12); }.control-icon { font-family: Arial, sans-serif; font-size: 1rem; color: #88b6c8; }.pause-icon { font-size: .75rem; }.audio-control { display: flex; align-items: center; gap: .58rem; color: #95abc0; font-size: .66rem; }.audio-icon { color: var(--cyan); font-size: 1rem; }.audio-control input { appearance: none; width: clamp(4rem, 9vw, 7rem); height: 2px; margin: 0 .1rem; background: linear-gradient(90deg, var(--cyan), rgba(150,189,217,.25)); cursor: pointer; direction: rtl; }.audio-control input::-webkit-slider-thumb { appearance: none; width: 10px; height: 10px; border: 2px solid #b9fff5; border-radius: 50%; background: #228caa; box-shadow: 0 0 8px rgba(117,244,231,.48); }.audio-control input::-moz-range-thumb { width: 8px; height: 8px; border: 2px solid #b9fff5; border-radius: 50%; background: #228caa; box-shadow: 0 0 8px rgba(117,244,231,.48); }.volume-value { min-width: 2rem; color: #6e90a8; font-variant-numeric: tabular-nums; }.footer-brand { display: flex; align-items: center; gap: .42rem; color: #6f879e; font-size: .65rem; }.footer-dot { width: .3rem; height: .3rem; opacity: .75; }

@keyframes scene-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes backdrop-arrive { from { opacity: .55; transform: scale(1.05); } to { opacity: 1; transform: scale(1.015); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.75); } 50% { opacity: 1; transform: scale(1.4); } }
@keyframes bars { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes orb-drift { from { transform: translate3d(0, 1rem, 0); } to { transform: translate3d(2rem, -1.3rem, 0); } }

@media (min-width: 1500px) { .app-shell { padding-inline: 7vw; } }
@media (max-width: 900px) {
  body { overflow: auto; }
  .app-shell { min-height: 100svh; padding: 1.05rem 1.35rem .9rem; }
  .progress-nav { margin-top: 1.65rem; }
  .scene-copy { width: min(67%, 42rem); }
  .welcome-aside { width: 38vw; left: 0; opacity: .78; }
  .robot-aside { width: 34%; left: 0; opacity: .75; }
  .robot-copy { width: min(68%, 44rem); }
  .challenge-layout { grid-template-columns: minmax(0,1.1fr) minmax(16rem,.9fr); }
}
@media (max-width: 640px) {
  body { overflow: auto; }
  .backdrop { background-position: 37% center; background-image: linear-gradient(0deg, rgba(4,13,31,.96) 0%, rgba(4,13,31,.78) 44%, rgba(4,13,31,.5) 100%), linear-gradient(90deg, rgba(4,13,31,.3), rgba(4,13,31,.72)), url('/manus-storage/async-images/4mHLjvDmmC9EdX5twKszTQ/image-1.webp'); }
  .app-shell { padding: .85rem 1rem .75rem; }
  .topbar { min-height: 2.7rem; }.brand { min-width: 0; }.brand-mark { width: 2.15rem; height: 2.15rem; border-radius: .7rem; }.brand-copy strong { font-size: .8rem; }.brand-copy small { font-size: .57rem; }.topbar-center { font-size: .61rem; padding: .45rem .65rem; }.icon-button { width: 2.25rem; height: 2.25rem; }
  .progress-nav { justify-content: center; margin: 1.4rem 0 .9rem; gap: .35rem; }.progress-step { gap: .28rem; font-size: .57rem; }.progress-step i { width: 1.2rem; height: 1.2rem; font-size: .58rem; }.progress-line { width: .8rem; }
  .stage { min-height: 65vh; align-items: center; }.scene-copy { width: 100%; }.welcome-copy { padding: 2rem 0; }.welcome-aside { width: 65vw; height: 40vh; left: -11%; top: 46%; opacity: .23; }.hero-caption { display: none; }.eyebrow { font-size: .68rem; margin-bottom: .8rem; }.welcome-copy h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }.lead { max-width: 27rem; font-size: .9rem; line-height: 1.85; }.room-note { max-width: 100%; font-size: .7rem; }.primary-button { min-height: 2.95rem; font-size: .8rem; }
  .scene-countdown { min-height: 58vh; }.countdown-ring { width: 12rem; }.countdown-ring span { font-size: 5.7rem; }.countdown-panel h2 { font-size: 1.6rem; }
  .scene-robot { min-height: 58vh; }.robot-copy { width: 100%; }.robot-aside { width: 70vw; left: -18%; top: 38%; height: 38vh; opacity: .28; }.scene-robot h2 { font-size: clamp(2.4rem, 11vw, 3.8rem); }.robot-intro { font-size: .9rem; }.voice-card { gap: .6rem; padding: .8rem; }.voice-content p { font-size: .73rem; line-height: 1.85; }.voice-bars { display: none; }
  .section-kicker { margin-top: .5rem; }.question-content { padding-block: .45rem; }.question-content h2 { font-size: clamp(2.4rem, 12vw, 3.6rem); }.question-prompt { font-size: .85rem; }.choice-button { font-size: .72rem; min-height: 3.05rem; }.quote-ribbon { font-size: .67rem; padding: .55rem .6rem; }
  .challenge-heading { margin-top: .3rem; }.challenge-heading h2 { font-size: 2.2rem; }.challenge-lead { font-size: .78rem; line-height: 1.7; }.challenge-layout { grid-template-columns: 1fr; gap: .7rem; }.challenge-brief { padding: .8rem .85rem; }.requirements-list { column-gap: .7rem; }.requirements-list li { font-size: .68rem; min-height: 2.15rem; }.team-note { font-size: .62rem; }.timer-card { min-height: 14rem; }.timer-display { font-size: 3.5rem; }.timer-orbit { inset: .7rem; }.challenge-footer { flex-wrap: wrap; font-size: .58rem; }
  .scene-finish { min-height: 54vh; }.finish-card { padding: 1.5rem 1rem; }.finish-card h2 { font-size: 2.75rem; }.finish-message { font-size: .86rem; }
  .pause-overlay { inset: -.4rem -.3rem; }.controlbar { flex-wrap: wrap; justify-content: center; gap: .15rem .65rem; padding-top: .6rem; }.controlbar-left { flex: 1 1 auto; justify-content: center; }.control-button { font-size: .61rem; }.audio-control { flex: 0 0 auto; }.footer-brand { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.ribbon-copy { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .72rem; justify-content: center; }
.ribbon-copy strong { color: var(--cyan); font-size: .68rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .ribbon-copy { gap: .1rem .4rem; } .ribbon-copy strong { font-size: .62rem; } }
