/* First mobile study: the accepted logo is the focus; action precedes options. */
html{scroll-behavior:smooth}.intro{margin:30px 0 20px}.world-entry{text-align:center;margin:18px auto 24px}.world-entry button,.named-actions button{font:15px Arial,sans-serif;min-height:52px;border:1px solid #dec18888;border-radius:32px;padding:14px 25px;color:var(--paper);background:#132c22;cursor:pointer;touch-action:manipulation}.world-entry #open-world{background:var(--gold);color:var(--deep);font-weight:600;min-width:250px;font-size:18px;box-shadow:0 5px 40px #dec1881c}.world-entry #open-world span{margin-left:20px}.world-entry p{font-size:13px;line-height:1.5;color:var(--muted);margin:10px 0}.world-entry #sound-toggle{font-size:13px;min-height:44px;padding:10px 18px;background:transparent}.world-entry #music-status:empty{display:none}.world-open #open-world,.world-open #entry-note{display:none}.world-open .world-entry{margin:8px auto}.play-layout{display:block;max-width:920px;margin:12px auto 25px}.play-area{position:relative;top:auto;background:transparent;padding:0}.play-layout .scene{max-width:850px;overflow:hidden;border-radius:24px;touch-action:pan-y}.world-open .scene{touch-action:none}.scene::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at var(--light-x,50%) var(--light-y,55%),#a8bb9330,transparent 52%),radial-gradient(ellipse at 24% 40%,#dec1880f,transparent 60%);opacity:.3;transition:opacity 1s;pointer-events:none}.world-open .scene::before{opacity:1}.world-open #art{filter:drop-shadow(0 12px 25px #0005) drop-shadow(0 0 14px #dec1880c)}#touch-light{position:absolute;inset:0;z-index:2;pointer-events:none;filter:none;mix-blend-mode:screen}#network{display:none}#world-actions{display:none!important}.controls #awaken{position:static;transform:none;aspect-ratio:auto;width:auto;z-index:auto;visibility:visible!important}.play-layout .controls{margin:16px 0 0}.controls .touch-instruction{color:var(--paper);font-size:14px;line-height:1.6;margin:0 0 18px}.named-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}.named-actions #again{order:-1;font-size:15px;min-height:52px;padding:14px 25px;letter-spacing:0;border-color:var(--gold);background:#dec18810}.named-actions #awaken{font-size:15px}.named-actions button span{margin-left:10px;color:var(--gold)}.named-actions button:hover{background:#dec18823}.named-actions button:disabled{opacity:.4;cursor:wait}.figure-options{margin:28px auto 35px;max-width:430px;color:var(--muted);font-size:13px;text-align:center}.figure-options summary{cursor:pointer;padding:14px;min-height:44px}.figure-options .figure-choices{margin-top:10px}.figure-options .figure-choices button{min-height:55px;font-size:14px}.figure-options #variant-note{line-height:1.5}.music-credit{max-width:760px;margin:15px auto;color:var(--muted);font-size:11px;line-height:1.7}.music-credit summary{padding:12px 0;cursor:pointer}.music-credit a{color:var(--gold)}button:focus-visible{outline:2px solid var(--paper);outline-offset:5px}.making-note{margin-top:30px}.play-layout .names{margin:8px 12% 0}
@media(max-width:600px){main{padding:18px 18px 24px}.brand{font-size:11px;letter-spacing:2px}.brand span{font-size:8px}.play-languages{font-size:12px;gap:14px}.intro{margin:25px 0 15px}.intro .eyebrow{display:none}h1{font-size:clamp(32px,9vw,43px);margin:12px auto;letter-spacing:-1.5px;max-width:none}.sub{font-size:12px;line-height:1.5;max-width:300px;margin:8px auto}.world-entry{margin:16px auto}.world-entry #open-world{font-size:17px;min-width:250px}.world-entry p{font-size:12px}.play-layout{margin-top:8px}.play-area{margin:0 -8px;padding:0}.play-layout .scene{max-width:600px;border-radius:16px}.play-layout .theatre{margin:0}.play-layout .controls{margin:18px 0 0;padding:0 8px}.play-layout #message{font-size:18px;min-height:24px;margin-bottom:8px}.controls .touch-instruction{font-size:13px;margin:8px auto 15px;max-width:310px}.named-actions{gap:10px;display:grid;grid-template-columns:1fr;width:100%;max-width:330px;margin:auto}.named-actions #again,.named-actions #awaken{width:100%;font-size:16px;min-height:52px}.figure-options{margin:22px 0}.play-layout .names{font-size:9px;letter-spacing:2px}.making-note{margin-top:24px}.world-open .world-entry{margin:6px auto 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.scene::before{transition:none}}
/* Second study: enter a landscape, keep the logo and every tap target readable. */
.theatre{isolation:isolate;overflow:hidden;padding:75px 0 56px;transition:padding 1.3s cubic-bezier(.2,.7,.2,1);border-radius:24px;background:#0b1e18}#paper-landscape{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}.theatre .scene{z-index:1;overflow:visible}.theatre .aura{display:none}.theatre .names{position:relative;z-index:2}.world-open .theatre{padding-top:100px;padding-bottom:75px;touch-action:none}.world-open .scene{animation:world-unfold 1.7s cubic-bezier(.15,.7,.2,1) both}.world-open #art{filter:drop-shadow(0 25px 24px #0009) drop-shadow(0 0 18px #dec18816)}.theatre .scene::before{background:none}.world-entry{position:relative;z-index:4}.music-playing #sound-toggle{border-color:#dec18899;box-shadow:0 0 25px #dec1880c}.controls .touch-instruction{color:#c8d4c5}.figure-options{display:none}.names{opacity:.75}.world-open .names{opacity:.6}#world-music{display:none}.world-open .play-layout #message{font-size:22px}.world-open .play-layout .controls{margin-top:10px}@keyframes world-unfold{from{opacity:.5;scale:.92;translate:0 16px}to{opacity:1;scale:1;translate:0 0}}
@media(max-width:600px){.play-layout .theatre{padding:42px 0 32px;margin:0 -10px;border-radius:18px}.world-open .play-layout .theatre{padding:65px 0 55px}.play-layout .scene{width:94%;margin:0 auto}.world-open .play-layout #message{font-size:20px;line-height:1.35;max-width:330px;margin:0 auto 10px}.named-actions{grid-template-columns:1fr 1fr;max-width:360px;gap:8px}.named-actions #again,.named-actions #awaken{font-size:14px;line-height:1.35;padding:12px 10px;min-height:56px}.making-note{margin-top:45px}.controls .touch-instruction{font-size:13px;max-width:330px}}
@media(max-width:350px){.named-actions{grid-template-columns:1fr}.play-layout .theatre{padding-top:30px}.world-open .play-layout .theatre{padding-top:48px;padding-bottom:40px}}
@media(prefers-reduced-motion:reduce){.theatre{transition:none}.world-open .scene{animation:none}}
.world-open .theatre:not([data-gestures])::before{content:"Beweeg hier je vinger ↔";position:absolute;top:22px;left:50%;translate:-50% 0;z-index:3;padding:8px 15px;border:1px solid #dec18840;border-radius:30px;background:#0b1e1870;color:#e4d5af;font:12px Arial,sans-serif;white-space:nowrap;pointer-events:none;animation:invitation 2.6s ease-in-out infinite}html[lang="en"] .world-open .theatre:not([data-gestures])::before{content:"Move your finger here ↔"}@media(hover:hover) and (pointer:fine){.world-open .theatre:not([data-gestures])::before{content:"Beweeg hier je muis ↔"}html[lang="en"] .world-open .theatre:not([data-gestures])::before{content:"Move your mouse here ↔"}}@keyframes invitation{0%,100%{opacity:.6}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.world-open .theatre:not([data-gestures])::before{animation:none}}
#world-traces{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;mix-blend-mode:screen}.theatre .names{z-index:3}
/* The gesture is the invitation; the two scene actions are deliberately secondary. */
#gesture-guide{display:none}.world-open #gesture-guide{display:block;max-width:650px;margin:16px auto 10px;padding:16px 20px 16px 52px;border-left:3px solid var(--gold);border-radius:0 16px 16px 0;background:linear-gradient(90deg,#dec1881f,#dec18806);position:relative;color:#fff4d6;font:600 19px/1.45 Arial,sans-serif;white-space:pre-line;text-align:left;box-shadow:0 8px 35px #0002}.world-open #gesture-guide::before{content:"↔";position:absolute;left:17px;top:22px;font-size:25px;color:var(--gold)}.play-layout .controls #message,.world-open .play-layout #message{font:14px/1.55 Arial,sans-serif;color:var(--muted);margin:6px auto 13px;min-height:24px;max-width:540px}.named-actions{display:flex;gap:10px;max-width:none}.named-actions #again,.named-actions #awaken{font-size:13px;min-height:44px;padding:9px 17px;width:auto;border-color:#dec18855;background:transparent;flex:0 1 auto}.agent-hit{position:absolute;z-index:2;border:0;border-radius:38%;background:transparent;padding:0;touch-action:none;cursor:pointer}.agent-hit:disabled{pointer-events:none;opacity:1}#codex-hit{left:10%;top:13%;width:27%;height:70%}#claude-hit{left:67%;top:22%;width:23%;height:61%}#ball{z-index:7}.agent-hit:focus-visible{outline:2px solid #f5d68f;outline-offset:0}.agent-hit:not(:disabled):hover{background:radial-gradient(ellipse,#dec18818,transparent 65%)}#agent-effects{position:absolute;inset:0;width:100%;height:100%;z-index:6;pointer-events:none;filter:none}.names button{color:var(--paper);background:#0b1e1840;border:1px solid #dec18838;border-radius:24px;min-height:44px;padding:9px 14px;font:11px Arial,sans-serif;letter-spacing:1px;cursor:pointer}.names button:disabled{opacity:.5}.names #connection{font-size:22px;min-width:44px;padding:3px 8px;border-color:transparent;background:transparent;color:var(--gold)}.names{opacity:1!important;align-items:center}.scene[data-next-agent="claude"]:not([data-agent-reaction]) #claude-hit:not(:disabled),.scene[data-next-agent="codex"]:not([data-agent-reaction]) #codex-hit:not(:disabled){box-shadow:inset 0 0 20px #dec18830;animation:next-agent 2.8s ease-in-out infinite}@keyframes next-agent{50%{box-shadow:inset 0 0 35px #dec18866}}
@media(max-width:600px){.world-open #gesture-guide{font-size:18px;margin:12px 0 6px;padding:13px 13px 13px 45px}.world-open #gesture-guide::before{left:13px;top:20px;font-size:23px}.world-open .play-layout .controls{margin-top:5px}.named-actions{gap:8px}.named-actions #again,.named-actions #awaken{font-size:12px;padding:8px 12px;min-height:44px}.play-layout .names{margin:9px 8% 0}.names button{font-size:10px;padding:8px 11px}.world-open .play-layout #message{font-size:13px;max-width:340px}.world-open .play-layout .theatre{padding-top:45px;padding-bottom:24px}.theatre::before{display:none!important}}
@media(prefers-reduced-motion:reduce){.scene .agent-hit{animation:none!important}}
/* A compact, readable gesture cue; the image gets the space again. */
.world-open #gesture-guide{font:500 14px/1.5 Arial,sans-serif;white-space:normal;padding:9px 13px 9px 34px;max-width:650px;border-left-width:2px;border-radius:0 10px 10px 0;box-shadow:none;background:linear-gradient(90deg,#dec18812,transparent);margin:10px auto 4px;color:#efdfba}.world-open #gesture-guide::before{font-size:18px;left:10px;top:9px}
@media(max-width:600px){.world-open #gesture-guide{font-size:13px;padding:9px 10px 9px 32px;margin:8px 0 3px}.world-open #gesture-guide::before{top:9px;left:9px;font-size:17px}}
