@font-face{font-family:Loop;src:url('./fonts/noto-display-regular.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:Loop;src:url('./fonts/noto-display-bold.woff') format('woff');font-weight:650 900;font-display:swap}
:root{--ink:#073e45;--muted:#52736d;--paper:#f9f8f1;--mint:#dcebe1;--gold:#ebce8e;--line:#b4c8bd;font-family:Loop,system-ui,sans-serif;color:var(--ink);background:var(--mint);scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0;font:400 16px/1.65 Loop,system-ui,sans-serif;-webkit-font-smoothing:antialiased;background:linear-gradient(180deg,#ecf1e9,#bed8cc);overflow-x:clip}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;border:0}a{color:inherit;text-decoration:none}button,a{outline-offset:5px}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #aa7627}h1,h2,h3,p{margin:0}img{display:block;max-width:100%;height:auto}svg{display:block}[hidden]{display:none!important}::selection{background:#f4dba2;color:#133f42}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:12px;z-index:100;transform:translateY(-170%);background:var(--ink);color:#fff;padding:10px 20px;border-radius:20px}.skip-link:focus{transform:none}


.topbar{position:absolute;inset:0 0 auto;z-index:20;pointer-events:none;background:linear-gradient(90deg,#faf9f2ef 0%,#faf9f2c9 23%,#faf9f200 30%,#faf9f200 75%,#faf9f2ef 100%)}
.topbar-inner{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:20px;height:76px;max-width:1540px;width:calc(100% - 64px);margin:auto}
.topbar-inner>*{pointer-events:auto}
.brand-lockup{display:flex;align-items:center;justify-self:start;min-height:48px;gap:18px;background:none;min-width:0}
.brand-lockup>img{width:141px;height:auto;max-width:none;object-fit:contain}
.brand-divider{width:1px;height:35px;background:#507e7c55}
.brand-team{display:flex;flex-direction:column;gap:5px;line-height:1.1}
.brand-team>span{font-weight:750;font-size:21px;letter-spacing:-.035em;white-space:nowrap}
.brand-team small{font-size:11px;letter-spacing:.01em;color:#52746e;white-space:nowrap}
.ukraine-flag{display:inline-block;position:relative;width:25px;height:17px;flex-shrink:0;vertical-align:middle;margin:0 0 2px 4px;background:linear-gradient(to bottom,#176bc7 0 50%,#f5cd42 50% 100%);border-radius:1px;box-shadow:0 1px 3px #173f4010;transform-origin:0 50%;animation:flag-wave 6s ease-in-out infinite}
.ukraine-flag:before{content:'';position:absolute;inset:0;background:linear-gradient(105deg,#fff0,#fff5 35%,#10253c22 63%,#fff3);background-size:190% 100%;animation:flag-light 6s ease-in-out infinite}
.languages{display:flex;gap:2px;padding:4px;border:1px solid #ffffffb3;background:#dce7df9e;border-radius:50px;box-shadow:inset 0 1px 4px #48736508}
.languages a{display:grid;place-items:center;min-width:47px;min-height:42px;border-radius:50px;font-size:13px;font-weight:750;line-height:1}
.languages a[aria-current]{background:linear-gradient(145deg,#0b4248,#082d34);color:#fff;box-shadow:inset 0 1px 2px #fff3,0 4px 10px #173f401c}
.languages a:not([aria-current]):hover{background:#fff9}
.sound-control{position:relative;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;border:1px solid #d5c99e;background:linear-gradient(145deg,#fffdf2,#eef2e7);color:#175559;box-shadow:0 2px 8px #37615316,inset 0 1px 0 #fff;transition:background .2s,box-shadow .2s}
.sound-control:hover{box-shadow:0 0 0 3px #f9e7b85e,0 3px 12px #37615321}
.sound-control[aria-pressed=true]{background:linear-gradient(145deg,#286963,#123f46);color:#fff8dd;border-color:#f0d491;box-shadow:0 0 0 2px #f7e6be73,0 2px 12px #3761531c}
.sound-control svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.sound-control[aria-pressed=true] .sound-slash,.sound-control[aria-pressed=false] .sound-waves{display:none}
#sound-text{position:absolute;top:calc(100% + 7px);left:0;white-space:nowrap;font-size:10px;line-height:1.3;padding:5px 9px;border-radius:10px;background:#f6f8eedb;border:1px solid #fff8;color:#466b60;box-shadow:0 2px 7px #2e655505;pointer-events:none}


.playground{position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 42%,#f4f5e9 0%,#e1ece3 37%,#bfd8cd 76%,#a9ccc1 100%)}
.world-space{--instruction-top:218px;position:relative;isolation:isolate;min-width:0;width:100%;height:clamp(760px,86svh,940px)}
.world-space canvas{position:relative;z-index:1;display:block;width:100%;height:100%;touch-action:pan-y;outline-offset:-5px}
.world-space canvas.scene-effects{position:absolute;inset:0;z-index:2;pointer-events:none;touch-action:auto}
.scene-architecture{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.scene-arch{position:absolute;inset:0;width:100%;height:94%;overflow:visible}
.scene-glow{position:absolute;top:28%;width:18%;height:42%;border-radius:50%;background:radial-gradient(ellipse,#fff5d659,transparent 70%);filter:blur(18px)}
.scene-glow-left{left:1%}.scene-glow-right{right:1%}
.scene-heading{position:absolute;top:96px;left:50%;transform:translateX(-50%);width:calc(100% - 100px);max-width:1090px;z-index:3;text-align:center;pointer-events:none}
.scene-flourish{position:absolute;left:50%;top:-60px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:15px;height:57px;color:#164d4d}
.scene-flourish>span{position:relative;width:90px;height:1px;background:linear-gradient(90deg,transparent,#315f5b)}
.scene-flourish>span:after{content:'';position:absolute;right:-2px;top:-2px;width:5px;height:5px;background:#315f5b;transform:rotate(45deg)}
.scene-flourish>span:last-child{transform:rotate(180deg)}
.scene-flourish svg{width:62px;height:53px;fill:currentColor;filter:drop-shadow(0 1px 0 #fff8)}
.scene-heading h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(48px,4.55vw,72px);font-weight:700;letter-spacing:-.035em;line-height:1.05;text-wrap:balance;color:#073e45;text-shadow:0 2px 0 #ffffff8c}
.scene-heading p{font-size:18px;line-height:1.4;letter-spacing:-.012em;color:#254f50;margin:10px auto 0;max-width:890px;text-wrap:balance}
.scene-instruction{position:absolute;top:218px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;justify-content:center;gap:9px;max-width:calc(100% - 44px);width:max-content;padding:10px 20px;min-height:44px;border:1px solid #fffffff0;border-radius:30px;background:#ffffffe0;color:#16494b;font-size:14px;font-weight:650;line-height:1.4;text-align:center;pointer-events:auto;cursor:pointer;box-shadow:0 3px 18px #31554806}
.tap-spark{color:#9b7323;font-size:19px;line-height:1;text-shadow:0 0 7px #f6d99e}
.guardian-perch{position:absolute;right:4%;top:22%;width:104px;height:136px;z-index:4;pointer-events:none}
.guardian-perch img,.guardian-perch video,.guardian-perch canvas{width:100%;height:100%;object-fit:contain;background:transparent}
.guardian-perch button{pointer-events:auto;min-width:48px;min-height:48px;background:none;padding:0}

.boot-characters{display:none;position:absolute;inset:0;z-index:2;pointer-events:none}
.boot-characters[data-alpha-ready=true]{display:block}
.boot-characters img{position:absolute;max-width:none;bottom:24%;left:50%;width:min(36%,480px);transform:translateX(-50%)}
.boot-characters [data-boot-character=lada]{left:30%;width:min(29%,380px)}
.boot-characters [data-boot-character=klik]{left:70%;width:min(29%,380px)}
.boot-characters [data-boot-character=iskra],.boot-characters [data-boot-character=hrim]{display:none}
.world-loading{position:absolute;z-index:6;right:24px;top:90px;display:flex;align-items:center;gap:7px;max-width:min(260px,calc(100% - 48px));padding:7px 11px;border:1px solid #ffffffa6;border-radius:14px;background:#f8f9edc9;color:#547268;font-size:11px;line-height:1.4;pointer-events:none}
.world-loading.is-ready{display:none}.loading-spark{color:#b39448;font-size:15px}
#retry-loading{pointer-events:auto;border:1px solid #d5dfc8;border-radius:16px;background:#fff;padding:5px 12px;min-height:44px;font-size:12px}
.world-loading:has(#retry-loading:not([hidden])){flex-wrap:wrap;justify-content:center;padding:10px 13px}


.character-labels{position:absolute;inset:0;z-index:4;pointer-events:none}
.world-space:not([data-renderer]) .character-labels{visibility:hidden}
.character-label{pointer-events:auto;position:absolute;top:75%;left:50%;transform:translate(-50%,0);display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:174px;max-width:220px;min-height:76px;padding:10px 24px 12px;border:1px solid #fffdf2;border-radius:42px;background:linear-gradient(145deg,#fffffff5,#f5f4e6f5);box-shadow:0 5px 16px #486e5221,0 0 0 1px #dfd9b770;color:#10484a;line-height:1.2;text-align:center;touch-action:pan-y;transition:background .2s,box-shadow .2s,color .2s}
.character-label strong{font-family:Georgia,'Times New Roman',serif;font-size:27px;font-weight:700;letter-spacing:-.035em;display:block}
.character-label-title{display:flex;align-items:center;justify-content:center;gap:8px;max-width:100%}
.nameplate-icon{display:block;flex:0 0 24px;width:24px;height:24px;fill:none;stroke:#235859;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.nameplate-icon .icon-wash{fill:#e8c970;fill-opacity:.35}.nameplate-icon .icon-accent{stroke:#a68136}
.character-label.is-focused .nameplate-icon{stroke:#ffedb3}.character-label.is-focused .nameplate-icon .icon-wash{fill:#f2d381;fill-opacity:.28}.character-label.is-focused .nameplate-icon .icon-accent{stroke:#f2d381}
.character-label>span:last-child{display:block;margin-top:5px;font-size:12px;line-height:1.25;color:#456a64;max-width:172px}
.character-label:hover{box-shadow:0 0 0 2px #f5e4b5b8,0 7px 20px #29514b24}
.character-label.is-focused{min-width:214px;background:linear-gradient(150deg,#28625e,#153f44 74%);border-color:#fff1c0;color:#fffbed;box-shadow:0 0 0 2px #fff3d078,0 0 18px #f5df9875,0 8px 22px #284b422b}
.character-label.is-focused>span:last-child{color:#f4eccb}
.character-invite{display:none!important}
.tap-hint{position:absolute;z-index:5;pointer-events:auto;transform:translate(-50%,-100%);display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;max-width:200px;padding:6px 13px;border:1px solid #fff9da;border-radius:20px;background:#fcfbefed;color:#41695b;box-shadow:0 3px 12px #5f7d5321;font-size:11px;line-height:1.25;text-align:center;white-space:nowrap}
.tap-hint:before{content:'✦';font-size:13px;color:#aa843a}.tap-hint:hover{background:#fff;border-color:#ebce8e}
.carousel-controls{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);z-index:5;text-align:center;max-width:100%}
.carousel-row{display:flex;align-items:center;justify-content:center;gap:16px}
.carousel-arrow{display:grid;place-items:center;width:52px;height:52px;border:1px solid #fff4c9;border-radius:50%;color:#fff8df;background:linear-gradient(145deg,#3a7771,#154b50);box-shadow:0 0 0 2px #fff4c939,0 6px 16px #345b4f29}
.carousel-arrow:hover{background:linear-gradient(145deg,#44857d,#114247);box-shadow:0 0 0 3px #ffedb58c,0 7px 18px #345b4f29}
.carousel-arrow svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.carousel-dots{display:flex;padding:1px 5px;border:1px solid #f9edc2;border-radius:30px;background:#f8f9f17a;box-shadow:inset 0 1px 5px #2a6a5c0c,0 1px 5px #fff7d270}
.carousel-dots button{display:grid;place-items:center;width:44px;min-width:44px;min-height:44px;background:none;border-radius:22px}
.carousel-dots button>span{width:12px;height:12px;border-radius:50%;background:#80a69c;border:1px solid #f7f7dc;box-shadow:inset 0 1px 3px #1a514f26;transition:background .2s,box-shadow .2s,transform .2s}
.carousel-dots button[aria-pressed=true]>span{background:#fff8da;box-shadow:0 0 0 2px #f4dc9a70,0 0 14px #efca77,0 0 24px #fff8d8;transform:scale(1.06)}
.carousel-controls>p{font-size:13px;font-weight:650;color:#1c4e50;margin-top:7px;white-space:nowrap}
.swipe-hint{display:none;font-size:10px;color:#53796f;letter-spacing:.01em;margin-top:3px}
.scene-bottom{position:absolute;z-index:5;bottom:28px;left:28px;right:28px;display:flex;justify-content:flex-start;align-items:center;min-height:20px;pointer-events:none}
.discovery-progress{font-size:11px;line-height:1.4;color:#4e7469;padding:6px 10px;border:1px solid #fff7;border-radius:14px;background:#f7f9ec77;white-space:nowrap}.discovery-progress:empty{display:none}


.conversation{position:absolute;right:24px;top:96px;bottom:28px;width:366px;z-index:8;border:1px solid #fffdf2;border-radius:30px;background:linear-gradient(155deg,#fffef8f7,#f4f8eef5);box-shadow:0 22px 65px #1e534029,0 0 0 1px #d3cda180;padding:26px;overflow:auto;overscroll-behavior:contain;animation:panel-in .25s ease both;scrollbar-width:thin;scrollbar-color:#c1d1c4 transparent}
.speaker-row{display:flex;align-items:center;gap:12px;position:relative;padding-bottom:20px;border-bottom:1px solid #d8e3d7}
.speaker-avatar{position:relative;display:block;width:52px;height:52px;flex-shrink:0;border-radius:50%;overflow:hidden;background:var(--portrait-bg,#e4ece0);box-shadow:0 0 0 2px #fff,0 0 0 3px #dce2cd}
.speaker-avatar img{position:absolute;display:block;max-width:none;width:var(--portrait-width,100%);height:auto;left:var(--portrait-left,0);top:var(--portrait-top,0);transform:none;margin:0;pointer-events:none}
.speaker-row h2{font-family:Georgia,'Times New Roman',serif;font-size:28px;font-weight:700;letter-spacing:-.04em;line-height:1.2;color:#15494b}
.speaker-row h2:focus-visible{outline:3px solid #a67827;outline-offset:4px;border-radius:4px}
.speaker-row p{font-size:12px;line-height:1.4;color:var(--muted);margin-top:4px}
.close-conversation{display:grid;place-items:center;margin-left:auto;flex-shrink:0;width:44px;height:44px;border:1px solid #d7e1d3;border-radius:50%;background:#edf2e5;align-self:flex-start}
.close-conversation svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.close-conversation:hover{background:#e0eacf}
.fact-label{font-size:10px;font-weight:750;letter-spacing:.12em;color:#7a855f;margin-top:22px}
.fact-visual{height:138px;margin:17px 0 20px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(140deg,#edf3e4,#f5f0df);overflow:hidden;position:relative;border:1px solid #fff8}
.fact-visual svg{width:100%;height:100%;max-height:138px}
.fact-content h3{font-size:25px;font-weight:750;line-height:1.25;letter-spacing:-.035em;margin-bottom:15px;overflow-wrap:anywhere;text-wrap:balance}
.fact-text{font-size:16px;line-height:1.75;color:#47665b}
.fact-pagination{margin-top:20px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#71806a}
.fact-dots{display:flex;gap:5px}.fact-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#d6dfcf}.fact-dots i.active{width:15px;border-radius:5px;background:#90ad7b}
.next-fact,.profile-talk{width:100%;margin-top:17px;background:linear-gradient(145deg,#1f5a5a,#123c43);color:#fff8df;border:1px solid #e0ce9d;border-radius:18px;min-height:51px;padding:12px 18px;font-size:15px;font-weight:750;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 4px 12px #13464017}
.next-fact:hover,.profile-talk:hover{background:linear-gradient(145deg,#2b6c68,#154c50)}.next-fact>span:last-child{font-size:25px;line-height:1;color:#f5d993}
.fact-source{display:flex;justify-content:center;align-items:center;min-height:44px;font-size:11px;text-decoration:underline;text-underline-offset:3px;color:#6f816a;margin-top:8px}
.story-audio{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:10px}.text-control{background:none;min-height:44px;padding:6px 0;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:3px;color:#466756}.audio-status{font-size:12px;color:#8b6044;margin-top:8px}.audio-status:empty{display:none}
.voice-meter{display:flex;gap:3px;align-items:center;height:22px}.voice-meter i{width:3px;height:calc(4px + var(--speech-level,0) * 10px);background:#8ca96b;border-radius:3px}.voice-meter i:nth-child(2),.voice-meter i:nth-child(4){height:calc(4px + var(--speech-level,0) * 15px)}.voice-meter i:nth-child(3){height:calc(5px + var(--speech-level,0) * 18px)}.voice-disclosure{font-size:11px;line-height:1.45;color:#748477;margin-top:5px}
.character-profile{padding-top:19px;color:#45675f}.character-profile h3{font-family:Georgia,'Times New Roman',serif;font-size:24px;line-height:1.25;margin:0 0 13px;color:#164a4b}.profile-role{display:inline-block;margin:0 0 14px;padding:6px 11px;border:1px solid #d3dcc6;border-radius:15px;background:#edf2df;color:#466b52;font-size:12px;line-height:1.45}.profile-story{font-size:15px;line-height:1.8}.profile-story p+p{margin-top:13px}.profile-connections{margin-top:21px;padding-top:17px;border-top:1px solid #dce3d3;display:flex;flex-wrap:wrap;gap:8px}.profile-connections h3,.profile-connections h4,.profile-connections>p{width:100%;margin:0 0 4px;font-family:Loop,system-ui,sans-serif;font-size:12px;line-height:1.5;font-weight:650;color:#6a7f6d}.profile-friend{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 13px;border:1px solid #d9dec9;border-radius:22px;background:#f8f8ec;color:#285a54;font-size:13px}.profile-friend:hover{background:#edf2de;border-color:#b8caac}.profile-friend img{width:28px;height:28px;border-radius:50%;object-fit:cover}.profile-talk{justify-content:center;margin-top:22px}.character-profile .profile-note{margin-top:14px;font-size:12px;color:#748477;line-height:1.55}


.project-footer{position:relative;isolation:isolate;max-width:1440px;width:calc(100% - 96px);margin:0 auto;padding:30px 48px 22px;border:1px solid #ffffffe8;border-bottom:0;border-radius:76px 76px 0 0;background:#fcfbf4f2;box-shadow:0 -8px 40px #5b857815}
.footer-story{display:grid;grid-template-columns:260px 1fr;gap:32px;align-items:center}
.footer-emblem{display:flex;justify-content:center;align-items:center;padding:0}
.fair-society-logo{position:relative;width:250px;aspect-ratio:895/225;overflow:hidden}
.fair-society-logo img{position:absolute;max-width:none;width:242.682%;height:auto;left:-18.435%;top:-216.889%}
html[lang=en] .fair-society-logo{aspect-ratio:780/225}html[lang=en] .fair-society-logo img{width:278.462%;left:-156.41%;top:-216.889%}

.fair-society-logo[data-alpha-ready=true]{height:auto;min-height:64px;overflow:visible}
.fair-society-logo[data-alpha-ready=true] img{position:static;max-width:100%;width:100%;height:auto}
.footer-description{border-left:1px solid #71918a66;padding-left:31px}
.footer-story h2{font-size:22px;font-weight:750;letter-spacing:-.04em;line-height:1.3;margin-bottom:9px;color:#12474c}
.footer-story p{max-width:960px;font-size:14px;line-height:1.7;color:#4f7068}
.footer-story .legend{font-size:12px;color:#708676;line-height:1.65;margin-top:10px}
.support-line{display:flex;align-items:center;gap:28px;margin-top:21px;padding-top:18px;border-top:1px solid #b9cbc280}
.support-line>p{flex:1;max-width:800px;font-size:12px;line-height:1.7;color:#5c786a}
.support-actions{position:relative;display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}
.donation-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 16px;border:1px solid #cbd6bc;border-radius:24px;background:#e6eddb;color:#264f45;font-size:13px;font-weight:650;line-height:1.35;box-shadow:0 2px 6px #46654308}
.donation-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linejoin:round}.donation-link:hover{background:#dce8cd;border-color:#b0c29c}
.copy-card{display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #d5deca;border-radius:50%;background:#f2f5e8;color:#436653}.copy-card svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.copy-card:hover{background:#e3edd6;border-color:#b0c29c}
#copy-status{flex-basis:100%;max-width:100%;font-size:11px;line-height:1.45;color:#466b55;white-space:normal;overflow-wrap:anywhere}#copy-status:empty{display:none}.card-number{width:100%;font-family:ui-monospace,SFMono-Regular,monospace;font-size:13px;letter-spacing:.05em;padding:8px 12px;border:1px solid #dce4cf;border-radius:12px;background:#f2f5e9;user-select:all;text-align:center}
.footer-last{display:flex;justify-content:flex-end;margin-top:16px;min-height:28px}
.contact-email{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:12px;line-height:1.5;color:#53746a;text-decoration:underline;text-underline-offset:3px}
.contact-email svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}.contact-email:hover{color:#193c35}

.release-note{max-width:900px;margin:22px 0 0;color:#58756d;font-size:12px;line-height:1.7}
.fallback-characters{touch-action:pan-y;position:absolute;inset:29% 0 23%;z-index:2}.fallback-characters button{position:absolute;bottom:0;width:32%;max-width:340px;transform:translateX(-50%) scale(.76);background:none}.fallback-characters button.is-focused{transform:translateX(-50%);z-index:2}.fallback-characters video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.fallback-characters img{width:100%}
@keyframes panel-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes flag-wave{0%,100%{clip-path:polygon(0 0,25% 2%,50% 6%,75% 3%,100% 0,100% 94%,75% 98%,50% 100%,25% 97%,0 94%);transform:perspective(180px) rotateY(-7deg) skewY(1deg)}50%{clip-path:polygon(0 0,25% 5%,50% 1%,75% 4%,100% 7%,100% 100%,75% 97%,50% 94%,25% 99%,0 94%);transform:perspective(180px) rotateY(7deg) skewY(-1deg)}}
@keyframes flag-light{0%,100%{background-position:100% 0}50%{background-position:0 0}}
@keyframes orbit{to{transform:rotate(360deg)}}.fact-visual .planet{transform-origin:150px 70px;animation:orbit 50s linear infinite}

@media(min-width:1201px){.playground.has-conversation .world-space{width:calc(100% - 418px)}.playground.has-conversation .scene-heading h1{font-size:clamp(42px,4vw,62px)}.playground.has-conversation .scene-heading p{font-size:15px;max-width:720px}.playground.has-conversation .scene-instruction{font-size:13px}.playground.has-conversation .character-label{min-width:142px;max-width:180px;padding-inline:15px}.playground.has-conversation .character-label.is-focused{min-width:172px}.playground.has-conversation .character-label strong{font-size:25px}}
@media(max-width:1200px){
  .topbar-inner{width:calc(100% - 44px);gap:16px}.brand-lockup{gap:13px}.brand-lockup>img{width:130px}.brand-team>span{font-size:19px}
  .scene-heading{top:99px;max-width:850px}.scene-heading h1{font-size:58px}.scene-heading p{font-size:16px;max-width:780px}.scene-instruction{font-size:13px;top:218px}
  .character-label{min-width:146px;max-width:190px;padding:10px 18px 12px}.character-label.is-focused{min-width:180px}.character-label strong{font-size:26px}.character-label>span:last-child{font-size:11px}
  .conversation{position:relative;inset:auto;width:calc(100% - 48px);max-width:720px;height:auto;max-height:none;margin:0 auto 28px;padding:28px;overflow:visible;overscroll-behavior:auto;border-radius:28px}
  .playground.has-conversation .world-space{width:100%}
  .project-footer{width:calc(100% - 48px);padding:29px 34px 22px;border-radius:58px 58px 0 0}.footer-story{grid-template-columns:210px 1fr;gap:26px}.fair-society-logo{width:205px}.footer-description{padding-left:25px}.footer-story h2{font-size:21px}.footer-story p{font-size:13px}
  .support-line{gap:22px}.donation-link{font-size:12px}
}
@media(max-width:900px){
  .character-label-title{gap:6px}.nameplate-icon{width:19px;height:19px;flex-basis:19px}.character-label:not(.is-focused) .nameplate-icon{display:none}
  .topbar-inner{height:74px;width:calc(100% - 32px);grid-template-columns:48px 1fr auto;gap:13px}.sound-control{width:48px;height:48px}.sound-control svg{width:23px;height:23px}#sound-text{display:none}.brand-lockup{gap:10px}.brand-lockup>img{width:116px}.brand-divider{height:30px}.brand-team>span{font-size:18px}.brand-team small{font-size:10px}.brand-team .ukraine-flag{width:21px;height:14px}.languages a{min-width:43px}
  .world-space,.playground.has-conversation .world-space{--instruction-top:194px;height:clamp(700px,92svh,850px);width:100%}.playground{padding-bottom:1px}
  .scene-heading{top:94px;width:calc(100% - 36px);max-width:650px}.scene-flourish{display:none}.scene-heading h1{font-size:46px;line-height:1.06}.scene-heading p{font-size:14px;line-height:1.35;max-width:480px;margin-top:10px}
  .scene-instruction{top:194px;padding:9px 15px;max-width:calc(100% - 36px);font-size:13px;min-height:44px}
  .scene-arch{inset:0;height:90%}.scene-glow{top:28%;height:40%;width:25%;filter:blur(12px)}
  .guardian-perch{right:3%;top:238px;width:76px;height:100px}
  .character-label{min-width:112px;max-width:146px;padding:9px 15px 11px;min-height:67px;border-radius:32px}.character-label.is-focused{min-width:144px}.character-label strong{font-size:24px}.character-label>span:last-child{font-size:11px;line-height:1.25;max-width:120px}.character-label:not(.is-focused){min-width:93px;max-width:120px;padding:8px 12px}.character-label:not(.is-focused) strong{font-size:21px}.character-label:not(.is-focused)>span:last-child{font-size:10px}
  .tap-hint{font-size:10px;max-width:170px;padding:6px 11px;min-height:44px}
  .carousel-controls{bottom:28px}.carousel-row{gap:12px}.carousel-arrow{width:48px;height:48px}.carousel-controls>p{font-size:12px;margin-top:6px}.swipe-hint{display:block}.scene-bottom{left:16px;right:16px;bottom:16px;justify-content:center}.discovery-progress{font-size:10px;padding:5px 9px}
  .world-space.has-mobile-controls .carousel-controls{bottom:auto}.world-space.has-mobile-controls .scene-bottom{bottom:auto}.world-space.has-mobile-controls .discovery-progress{position:static;text-align:center}
  .conversation{width:calc(100% - 36px);max-width:650px;margin-bottom:24px;padding:25px}.speaker-row{padding-bottom:17px}.fact-label{margin-top:18px}.fact-visual{height:150px;margin:15px 0 18px}.fact-visual svg{max-height:150px}.fact-content h3{font-size:26px}.fact-text{font-size:16px;line-height:1.8}
  .project-footer{width:calc(100% - 28px);padding:27px 27px 21px;border-radius:42px 42px 0 0}.footer-story{grid-template-columns:1fr;gap:20px}.footer-emblem{justify-content:flex-start}.fair-society-logo{width:205px}.footer-description{border:0;padding:0}.footer-story h2{font-size:22px}.footer-story p{font-size:13px;line-height:1.75}.footer-story .legend{font-size:12px;line-height:1.65}.support-line{flex-direction:column;align-items:flex-start;gap:14px;margin-top:18px;padding-top:17px}.support-line>p{font-size:12px}.support-actions{gap:8px}.donation-link{font-size:13px;min-height:46px}.footer-last{justify-content:flex-start;margin-top:18px}
}
@media(max-width:660px){
  .character-label-title{gap:4px}.nameplate-icon{width:16px;height:16px;flex-basis:16px}
  .world-space,.playground.has-conversation .world-space{height:clamp(660px,calc(340px + 110vw),820px)}
  .topbar-inner{width:calc(100% - 26px);gap:10px}.brand-lockup{gap:9px}.brand-lockup>img{width:96px}.brand-divider{display:none}.brand-team>span{font-size:16px}.brand-team small{display:none}.brand-team .ukraine-flag{width:19px;height:13px;margin-left:3px}.languages{padding:3px;gap:1px}.languages a{min-width:44px;min-height:44px;font-size:12px}
  .scene-heading{top:94px;width:calc(100% - 28px)}.scene-heading h1{font-size:39px}.scene-heading p{font-size:12px;line-height:1.45;max-width:300px;margin-top:8px}.scene-instruction{top:194px;font-size:12px;padding:9px 13px;max-width:calc(100% - 28px)}.tap-spark{font-size:17px}
  .scene-arch{inset:0 -5% auto;width:110%;height:86%}.guardian-perch{right:12px;top:242px;width:58px;height:76px}
  .character-label{min-width:112px;max-width:132px;padding:9px 12px 11px;min-height:65px}.character-label.is-focused{min-width:128px}.character-label strong{font-size:23px}.character-label>span:last-child{font-size:10px;max-width:112px}.character-label:not(.is-focused){min-width:72px;max-width:91px;padding:8px 10px;min-height:47px}.character-label:not(.is-focused) strong{font-size:20px}.character-label:not(.is-focused)>span:last-child{display:none}
  .carousel-row{gap:9px}.carousel-dots{padding:1px 3px}.carousel-dots button{width:44px;min-width:44px;min-height:44px}.carousel-arrow{width:46px;height:46px}.carousel-controls>p{font-size:12px}
  .tap-hint{max-width:155px;font-size:10px;min-height:44px;padding:6px 10px}.world-loading{top:auto;right:auto;left:50%;bottom:16px;transform:translateX(-50%);max-width:calc(100% - 30px);white-space:nowrap;font-size:10px;padding:6px 10px}
  .conversation{width:calc(100% - 28px);margin-bottom:22px;padding:23px;border-radius:25px}.speaker-row h2{font-size:28px}.fact-content h3{font-size:25px}.profile-story{font-size:15px}
  .project-footer{width:calc(100% - 20px);padding:25px 23px 20px;border-radius:35px 35px 0 0}.fair-society-logo{width:190px}.footer-story{gap:18px}.footer-story h2{font-size:22px}.footer-story p{font-size:13px}.footer-story .legend{font-size:12px}.support-line>p{font-size:12px;line-height:1.75}.support-actions{width:100%}.donation-link{flex:1}.copy-card{flex:0 0 46px}.contact-email{font-size:12px}.footer-last{margin-top:21px}
}
@media(max-width:370px){
  .character-label-title{gap:3px}.nameplate-icon{width:15px;height:15px;flex-basis:15px}
  .topbar-inner{width:calc(100% - 24px);gap:6px}.brand-lockup>img{width:64px}.brand-lockup{gap:5px}.brand-team>span{font-size:12px}.brand-team .ukraine-flag{width:12px;height:8px;margin-left:2px}.languages a{min-width:44px}.languages{padding:3px}.sound-control{width:48px;height:48px}
  .scene-heading h1{font-size:35px}.scene-heading p{max-width:270px;font-size:11px;line-height:1.5}.scene-instruction{top:190px;font-size:11px;min-height:44px;padding:9px 11px;max-width:calc(100% - 28px)}
  .guardian-perch{top:240px;width:54px;height:70px;right:10px}.character-label strong{font-size:22px}.character-label.is-focused{min-width:116px;max-width:126px}.character-label:not(.is-focused){min-width:65px;max-width:78px;padding:8px}.character-label:not(.is-focused) strong{font-size:18px}
  .carousel-row{display:flex;gap:8px;width:max-content;max-width:calc(100vw - 32px)}.carousel-arrow{width:44px;height:44px;flex:0 0 44px}.carousel-dots{padding:1px 3px}.carousel-dots button{width:32px;min-width:32px;min-height:44px}.carousel-controls>p{margin-top:5px}.swipe-hint{font-size:9px}
  .conversation{width:calc(100% - 24px);padding:20px}.speaker-row{gap:9px}.speaker-row h2{font-size:26px}.speaker-avatar{width:46px;height:46px}.fact-content h3{font-size:23px}.fact-text{font-size:15px}.profile-story{font-size:14px}.project-footer{padding:23px 19px 19px}.fair-society-logo{width:180px}.footer-story h2{font-size:21px}.donation-link{padding:10px 12px;font-size:12px}.support-actions{gap:7px}
}
@media(max-width:900px) and (orientation:landscape){.world-space,.playground.has-conversation .world-space{height:740px}.scene-heading{top:91px}.scene-heading h1{font-size:40px}.scene-heading p{max-width:530px;font-size:13px}.scene-instruction{top:183px}.guardian-perch{top:222px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


.scene-bottom{flex-wrap:wrap;gap:8px}
.character-load-errors{display:flex;flex-wrap:wrap;gap:6px;max-width:100%;pointer-events:auto}
.character-load-errors[hidden]{display:none}
.character-load-error{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:5px 9px;border-radius:12px;background:#faf9eddf;border:1px solid #e0ddc8;color:#4d655d;font-size:11px;line-height:1.4;max-width:100%}
.character-load-error button{min-height:36px;padding:5px 9px;border-radius:9px;background:#e5eee4;color:#16494b;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.character-load-error button:disabled{opacity:.6;cursor:wait}
.scene-instruction{touch-action:pan-y;user-select:none}
.fallback-characters button{aspect-ratio:1}
.fallback-characters img{display:block;width:100%;height:100%;object-fit:contain}


.guardian-greeting{font-size:15px;line-height:1.7;margin:0 0 18px}
.archon-bookshelf{margin:0 0 24px;padding:18px 16px;border:1px solid #ddcfaa;border-radius:20px;background:linear-gradient(140deg,#fffaf0,#edf3e7);box-shadow:0 6px 20px #204b4310;overflow-wrap:anywhere}
.bookshelf-heading{margin:0;font-size:13px;line-height:1.5;font-weight:750;letter-spacing:.025em;color:#58705f}
.book-position{margin:5px 0 15px;font-size:11px;color:#718473}
.book-title{font-family:Georgia,'Times New Roman',serif;font-size:24px;line-height:1.22;color:#164a4b;margin:0 0 7px}
.book-author{font-size:13px;line-height:1.55;margin:0;color:#4d6f63}
.book-age{font-size:11px;line-height:1.6;margin:7px 0 15px;color:#758477}
.book-hook{font-size:15px;line-height:1.8;margin:0 0 15px;color:#345d56}
.book-question{font-size:14px;line-height:1.65;padding:12px 13px;border-left:2px solid #c9b67b;background:#fffdf790;margin:0 0 16px;color:#315e54}
.book-friend{max-width:100%;white-space:normal;text-align:left;line-height:1.5;margin-bottom:15px}
.book-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px 14px}
.book-next{min-height:44px;padding:10px 16px;border:1px solid #d8c491;border-radius:14px;background:#174c4c;color:#fff8e5;font-size:14px;font-weight:700;line-height:1.5}
.book-next:hover{background:#24645d}.book-source{display:inline-flex;align-items:center;min-height:44px;font-size:13px;text-underline-offset:4px;color:#486d5f;line-height:1.5}
.book-voice-note{font-size:11px;color:#788676;line-height:1.6;margin:12px 0 0}
@media(max-width:380px){.archon-bookshelf{padding:16px 13px}.book-title{font-size:22px}.book-hook{font-size:14px}}

.text-control .play-icon{display:inline-block;width:14px;height:14px;margin-right:4px;vertical-align:-2px;fill:currentColor}


:root{--quiet-ink:#46655c}
.topbar-inner{grid-template-columns:52px minmax(0,1fr) auto}
.brand-lockup{max-width:100%}
.scene-architecture{background:radial-gradient(ellipse at 50% 57%,#fffff333 0%,#f9f7e514 37%,transparent 65%)}
.scene-glow{background:radial-gradient(ellipse,#fff9dc6b,transparent 70%)}
.character-label{background:linear-gradient(165deg,#fffffff7,#f4f3e6f7);box-shadow:inset 0 1px 0 #fff,0 5px 16px #486e5221,0 0 0 1px #dfd9b770}
.character-label.is-focused{background:radial-gradient(ellipse at 50% 0%,#70978755,transparent 70%),linear-gradient(150deg,#28625e,#153f44 74%);box-shadow:inset 0 1px 0 #fff5d499,0 0 0 2px #fff3d078,0 0 18px #f5df9875,0 8px 22px #284b422b}
.fact-label,.fact-source,.fact-pagination,.voice-disclosure,
.character-profile .profile-note,.profile-connections h3,.profile-connections h4,.profile-connections>p,
.book-position,.book-age,.book-voice-note,.bookshelf-heading,
.footer-story .legend,.swipe-hint{color:var(--quiet-ink)}
.swipe-hint{color:#35574f}
.discovery-progress,.world-loading{color:var(--quiet-ink)}
.speaker-row>div{min-width:0}
.speaker-row h2,.speaker-row p,.profile-role,.book-title,.book-author{overflow-wrap:anywhere}
.book-source{text-decoration:underline;text-underline-offset:4px}
.book-next,.profile-friend{max-width:100%;white-space:normal}
.world-loading p,.character-load-error>span{min-width:0;overflow-wrap:anywhere}
.character-load-error button{min-height:44px}
.discovery-progress{max-width:100%;white-space:normal;text-align:center}
.project-footer{padding-bottom:74px;overflow:hidden;background:linear-gradient(150deg,#fffef8f7,#f9f8f0f5)}
.footer-landscape{position:absolute;inset:auto -1px -1px;width:calc(100% + 2px);height:54px;z-index:-1;pointer-events:none}

@media(max-width:900px){
  .topbar-inner{grid-template-columns:48px minmax(0,1fr) auto}
  #sound-text{display:block;top:calc(100% + 4px);font-size:11px;line-height:1.25;padding:3px 7px;color:#315b50;background:#fbfcf2f2;border-color:#ffffffd9}
  .swipe-hint{font-size:11px;line-height:1.4}
  .project-footer{padding-bottom:68px}
  .footer-landscape{height:46px}
}
@media(max-width:660px){
  .world-loading{white-space:normal;flex-wrap:wrap;justify-content:center;text-align:center}
  .project-footer{padding-bottom:64px}
  .footer-landscape{height:40px}
}
@media(forced-colors:active){
  .character-label,.character-label.is-focused,.carousel-arrow,.carousel-dots,.languages,
  .sound-control,.scene-instruction,.conversation,.archon-bookshelf,.project-footer{border-color:CanvasText}
  .carousel-dots button>span{background:ButtonText;border-color:ButtonText;box-shadow:none}
  .carousel-dots button[aria-pressed=true]>span{background:Highlight;outline:2px solid ButtonText;outline-offset:2px}
  .footer-landscape,.scene-architecture{display:none}
}
