.wf-page,.wf-dialog{font-family:Arial,Helvetica,sans-serif;color:#234654;letter-spacing:0}
.wf-page *,.wf-dialog *{box-sizing:border-box;letter-spacing:0}
.wf-page{max-width:1220px;margin:0 auto;padding:26px 24px 34px}
.wf-page [hidden],.wf-dialog [hidden]{display:none!important}
.wf-page h1{font-size:34px;font-weight:800;line-height:1.15;color:#176c87;margin:5px 0}
.wf-page h2,.wf-dialog h2{font-size:23px;line-height:1.25;font-weight:700;color:#234654;margin:0 0 12px}
.wf-page p{line-height:1.5}
.wf-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:16px;flex-wrap:wrap}
.wf-heading nav{margin-left:auto}
.wf-heading p{margin:4px 0 0;color:#5b7179;font-size:16px}
.wf-eyebrow{font-size:11px;font-weight:700;line-height:1.5;color:#4c7775;letter-spacing:0;text-decoration:none}
.wf-heading nav{display:flex;gap:8px}
.wf-page button,.wf-dialog button{font:inherit;box-shadow:none;margin:0;cursor:pointer;text-transform:none;letter-spacing:0;border-radius:5px}
.wf-page button:disabled,.wf-dialog button:disabled{cursor:default;opacity:.55}
.wf-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;min-height:42px;border:1px solid #c5dce3;background:#f2f8fa;color:#146d8e;font-size:19px;padding:0}
.wf-page :focus-visible,.wf-dialog :focus-visible{outline:3px solid #df8100;outline-offset:3px}
.wf-daily{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:11px;font-weight:700;color:#516c73;border-top:1px solid #d9e7ea;border-bottom:1px solid #d9e7ea;padding:10px 0}
.wf-daily #wf-identity{margin-left:auto;font-weight:400}
.wf-daily #wf-practice{color:#874b12;background:#fff0cf;padding:2px 7px}
.wf-play{display:grid;grid-template-columns:1.1fr 1fr;border-bottom:1px solid #d9e7ea;background:#fff}
.wf-scene{position:relative;min-width:0;height:450px;overflow:hidden;background:#c8eced;--nova-width:126px;--nova-height:160px;--rescue-top:82px}
.wf-scene canvas{display:block;width:100%;height:100%}
.wf-scene-caption{position:absolute;top:16px;left:16px;display:flex;flex-direction:column;color:#234654;background:#ffffffed;padding:8px 11px;border-left:3px solid #f5a31e;max-width:45%}
.wf-scene-caption span{font-size:9px;font-weight:700}
.wf-scene-caption strong{font-size:13px;font-weight:700}
.wf-nova-altitude{position:absolute;width:var(--nova-width);height:var(--nova-height);left:56%;margin-left:calc(var(--nova-width)/-2);bottom:calc(22px + (100% - var(--rescue-top) - var(--nova-height) - 22px)*var(--altitude));transition:bottom .7s cubic-bezier(.33,.04,.35,1)}
.wf-nova-turn{width:100%;height:100%;transition:transform .8s cubic-bezier(.3,.1,.3,1)}
.wf-nova-body{position:relative;width:100%;height:100%;animation:wf-hover 2.6s ease-in-out infinite}
.wf-nova-body>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
/* Animate clipped parts of the unchanged original artwork, not extra graphics. */
.wf-nova-character{clip-path:inset(0 0 18% 0);filter:drop-shadow(0 3px 1px #144e431d)}
.wf-propulsion{animation:wf-propulsion 1.05s ease-in-out infinite;pointer-events:none;filter:saturate(2) brightness(1.12) drop-shadow(0 0 1px #0091e3) drop-shadow(0 0 3px #c2ffff)}
.wf-propulsion-1{clip-path:inset(82% 0 12% 0);transform-origin:52% 86%;animation-delay:0s}
.wf-propulsion-2{clip-path:inset(89% 0 5% 0);transform-origin:52% 93%;animation-delay:-.35s}
.wf-propulsion-3{clip-path:inset(96% 0 0 0);transform-origin:52% 99%;animation-delay:-.7s}
.wf-scene.lost .wf-nova-turn{transform:rotate(180deg)}
.wf-scene.lost .wf-nova-body{animation:none}
.wf-scene.lost .wf-propulsion{display:none}
.wf-ash-perch{position:absolute;top:10px;left:67%;width:100px;height:116px}
.wf-ash{position:absolute;left:0;bottom:8px;width:76px;height:110px;object-fit:contain;transform:scaleX(-1) rotate(-7deg);transform-origin:50% 90%;filter:drop-shadow(0 3px 1px #174b3522)}
.wf-platform{position:absolute;left:0;bottom:0;width:92px;height:10px;border:2px solid #956627;border-radius:3px;background:#f9ce68;box-shadow:0 3px 0 #825a3026}
.wf-platform:after{content:"";position:absolute;top:8px;left:13px;width:62px;height:9px;background:#c1934b;clip-path:polygon(0 0,100% 0,80% 100%,20% 100%)}
.wf-ground-speech{position:absolute;left:14px;bottom:13px;max-width:58%;font-size:11px;line-height:1.4;font-weight:700;color:#244b48;background:#ffffffeb;padding:5px 8px;border-radius:4px}
.wf-console{min-width:0;padding:24px 25px 18px;display:flex;flex-direction:column}
.wf-fuel-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:#53736f;font-weight:700}
.wf-fuel-heading strong{font-size:14px;color:#246f51}
.wf-fuel{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:9px 0 14px}
.wf-fuel>span{height:12px;border-radius:3px;background:#4cb77c;box-shadow:inset 0 -2px #26825733}
.wf-fuel>span.empty{background:#e3ebed;box-shadow:none}
.wf-fuel.low>span:not(.empty){background:#efa63c}
.wf-fuel.critical>span:not(.empty){background:#e05d6b}
.wf-flight-stats{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:#627981}
.wf-flight-stats>span{white-space:nowrap}
.wf-flight-stats i{color:#629b9a}
.wf-flight-stats .wf-category{font-size:12px;line-height:1.4;color:#53727a;margin-left:auto;white-space:normal}
.wf-page .wf-objective{text-align:center;font-size:18px;line-height:1.2;color:#53727a;margin:17px 0 0}
.wf-objective strong{display:block;font-size:30px;line-height:1.2;color:#176c87;margin-top:3px}
.wf-mission{display:block;font-size:14px;font-weight:400;line-height:1.4;color:#53727a;margin-top:6px}
.wf-word{display:flex;flex-wrap:wrap;justify-content:center;align-items:end;gap:12px 16px;margin:18px 0 16px;min-height:43px}
.wf-word[role=button]{cursor:pointer}
.wf-word[role=button]:hover .wf-letter,.wf-word[role=button]:focus-visible .wf-letter{border-bottom-color:#176c87}
.wf-word[aria-disabled=true]{cursor:wait}
.wf-word-group{display:flex;gap:4px;justify-content:center;max-width:100%}
.wf-letter{display:flex;align-items:center;justify-content:center;width:29px;height:38px;font-weight:700;font-size:21px;line-height:1;border-bottom:3px solid #7ba8b6;color:#176c87;background:#f3f8fa;border-radius:3px 3px 0 0;flex:0 1 29px;min-width:0}
.wf-letter.missed{color:#bc5a39;border-color:#dfaa98}
.wf-launch{text-align:center;margin:auto 0}
.wf-launch p{font-size:14px;color:#5f7880;margin:0 0 16px}
.wf-primary,.wf-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;font-weight:700;font-size:14px;padding:10px 17px;border:1px solid #187e64;background:#187e64;color:white}
.wf-secondary{background:white;color:#196b84;border-color:#bbd3dc}
.wf-primary:hover{background:#126b53}
.wf-secondary:hover,.wf-icon:hover{background:#e7f3f6}
.wf-keyboard{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0 -4px 8px}
.wf-key-row{display:flex;justify-content:center;gap:5px;width:100%}
.wf-page .wf-key{padding:0;width:36px;height:40px;min-height:40px;min-width:0;background:white;border:1px solid #bad1da;border-bottom:3px solid #adc7d1;color:#254e60;font-size:14px;font-weight:700;flex:0 1 36px}
.wf-page .wf-key:disabled{opacity:1}
.wf-page .wf-key.correct{background:#e4f5e7;border-color:#7db38a;color:#277042}
.wf-page .wf-key.wrong{background:#edf0f2;border-color:#d9e0e3;color:#a6afb4}
.wf-page .wf-key:hover:not(:disabled){background:#e2f3f7;transform:translateY(-1px)}
.wf-status{font-size:12px;color:#56747b;margin:12px 0 0;min-height:36px;line-height:1.5}
.wf-status.error{color:#a24132}
.wf-result{margin:3px 0 0}
.wf-result h2{font-size:24px;margin:5px 0 6px}
.wf-result p{font-size:13px;margin:6px 0;color:#56747b}
.wf-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.wf-result .wf-next{font-size:11px;margin-top:12px}
.wf-scorecard{display:grid;grid-template-columns:1.5fr 1fr 1fr;align-items:center;gap:20px;padding:24px 0 17px;margin:0;background:none;border-bottom:1px solid #d9e7ea}
.wf-scorecard h2{font-size:20px;margin:4px 0}
.wf-scorecard p{font-size:11px;color:#6c8289;margin:0}
.wf-scorecard>div:not(:first-child){position:relative;padding-left:38px;border-left:1px solid #d9e7ea}
.wf-scorecard>div>i{position:absolute;left:16px;top:4px;color:#d28b20;font-size:18px}
.wf-scorecard strong{display:block;font-size:25px;font-weight:700;color:#277c75;line-height:1.2}
.wf-scorecard>div>span{font-size:12px;color:#6c8289}
.wf-footnote{font-size:11px;color:#668087;margin:14px 0 0}
.wf-page .wf-text-button{font-size:11px;color:#176e8d;border:0;background:none;padding:2px 0;text-decoration:underline;min-height:24px}
.wf-dialog{width:min(560px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #bfd4dc;border-top:4px solid #f4a22b;border-radius:7px;padding:24px;background:#fff}
.wf-dialog::backdrop{background:#183f4c88}
.wf-dialog .wf-close{float:right;margin:-10px -10px 8px 12px;width:34px;height:34px;min-height:34px}
.wf-dialog p{font-size:14px;line-height:1.6}
.wf-dialog>a{display:block;border-bottom:1px solid #dfebee;padding:12px 0;color:#196c86}
.wf-dialog>a[aria-current]{font-weight:700}
#pb-chat-frame{display:none!important}
@keyframes wf-hover{0%,100%{transform:translateY(0) rotate(-2deg)}
50%{transform:translateY(-5px) rotate(2deg)}}
@keyframes wf-propulsion{0%,100%{transform:translateY(-1px) scaleX(.86);opacity:.92}50%{transform:translateY(2px) scaleX(1.06);opacity:1}}
@media(max-width:900px){.wf-play{grid-template-columns:1fr 1fr}
.wf-console{padding:18px 16px}
.wf-heading h1{font-size:30px}
.wf-objective strong{font-size:26px}
.wf-nova-altitude{left:56%}
.wf-scene-caption{max-width:48%}}
@media(max-width:680px){.wf-page{padding:18px 12px 28px}
.wf-heading{gap:9px}
.wf-heading h1{font-size:27px}
.wf-heading p{font-size:14px}
.wf-heading nav{gap:5px}
.wf-icon{width:34px;height:36px;min-height:36px;font-size:16px}
.wf-play{grid-template-columns:1fr}
.wf-scene{height:340px;--nova-width:96px;--nova-height:122px;--rescue-top:66px}
.wf-nova-altitude{left:54%}
.wf-scene-caption{top:12px;left:12px;padding:6px 8px;max-width:43%}
.wf-scene-caption strong{font-size:12px}
.wf-scene-caption span{font-size:8px}
.wf-ash-perch{top:8px;height:92px;width:80px}
.wf-ash{width:60px;height:86px}
.wf-platform{width:76px;height:9px}
.wf-platform:after{width:48px;left:12px;top:7px}
.wf-ground-speech{font-size:10px;max-width:61%;left:10px;bottom:10px}
.wf-console{padding:18px 9px 12px}
.wf-word{margin:20px 0 18px}
.wf-flight-stats{gap:10px}
.wf-keyboard{margin:0;gap:5px}
.wf-key-row{gap:4px}
.wf-page .wf-key{height:39px;min-height:39px;font-size:13px}
.wf-scorecard{grid-template-columns:1fr 1fr;gap:16px;padding:18px 0}
.wf-record-intro{grid-column:1/-1}
.wf-scorecard>div:not(:first-child){padding-left:32px}
.wf-scorecard>div>i{left:10px}
.wf-scorecard strong{font-size:23px}
.wf-daily{font-size:10px;gap:8px}
.wf-daily #wf-identity{max-width:50%;overflow-wrap:anywhere}
.wf-dialog{padding:20px}}
@media(max-width:360px){.wf-heading{align-items:flex-start;flex-wrap:wrap}
.wf-heading h1{font-size:26px}
.wf-heading nav{margin-left:auto}
.wf-page .wf-key{font-size:12px}
.wf-ground-speech{max-width:57%}
.wf-letter{width:25px;flex-basis:25px;font-size:18px}
.wf-category{margin-left:0}}
@media(prefers-reduced-motion:reduce){.wf-nova-body,.wf-propulsion{animation:none}
.wf-nova-altitude,.wf-nova-turn{transition:none}}
@media(max-width:680px),(max-width:1024px) and (max-height:500px) and (orientation:landscape){
 body.wf-flight-active>header{opacity:1;background:#fff}
 .wf-page{--mobile-scene-height:clamp(190px,42dvh,300px)}
 .wf-play{scroll-margin-top:62px}
 .wf-scene{height:var(--mobile-scene-height);--nova-height:clamp(64px,calc(var(--mobile-scene-height)*.34),106px);--nova-width:clamp(50px,calc(var(--mobile-scene-height)*.268),84px);--rescue-top:clamp(34px,calc(var(--mobile-scene-height)*.18),56px);--ash-height:clamp(46px,calc(var(--mobile-scene-height)*.24),76px)}
 .wf-ash-perch{top:6px;height:calc(var(--ash-height) + 8px);width:78px}
 .wf-ash{width:calc(var(--ash-height)*.706);height:var(--ash-height)}
 .wf-platform{width:calc(var(--ash-height)*.9 + 10px);height:8px}
 .wf-platform:after{width:60%;height:7px;left:20%;top:6px}
 .wf-scene-caption{top:8px;left:8px;padding:4px 6px}
 .wf-scene-caption strong{font-size:11px}
 .wf-scene-caption span{font-size:8px}
 .wf-ground-speech{font-size:9px;line-height:1.3;padding:3px 5px;left:7px;bottom:7px}
 .wf-page[data-phase=playing]{padding-top:8px}
 .wf-page[data-phase=playing] .wf-heading{padding-bottom:7px;align-items:center;flex-wrap:nowrap}
 .wf-page[data-phase=playing] .wf-heading h1{font-size:20px;margin:0}
 .wf-page[data-phase=playing] .wf-heading .wf-eyebrow,.wf-page[data-phase=playing] .wf-daily{display:none}
 .wf-page[data-phase=playing] .wf-console{padding:8px 6px 4px}
 .wf-page[data-phase=playing] .wf-fuel-heading{font-size:9px}
 .wf-page[data-phase=playing] .wf-fuel-heading strong{font-size:12px}
 .wf-page[data-phase=playing] .wf-fuel{margin:4px 0 6px;gap:4px}
 .wf-page[data-phase=playing] .wf-fuel>span{height:7px}
 .wf-page[data-phase=playing] .wf-flight-stats{font-size:11px;gap:3px 9px}
 .wf-page[data-phase=playing] .wf-category{font-size:11px}
 .wf-page[data-phase=playing] #wf-clock{display:inline-block;min-width:7ch;font-variant-numeric:tabular-nums}
 .wf-page[data-phase=playing] #wf-count{display:inline-block;min-width:2ch;font-variant-numeric:tabular-nums}
 .wf-page[data-phase=playing] .wf-objective{margin:7px 0 0;line-height:1.2}
 .wf-page[data-phase=playing] .wf-objective strong{font-size:20px;margin:0;line-height:1.2}
 .wf-page[data-phase=playing] .wf-objective-lead,.wf-page[data-phase=playing] .wf-mission{display:none}
 .wf-page[data-phase=playing] .wf-word{min-height:32px;margin:8px 0 10px;gap:7px 10px}
 .wf-page[data-phase=playing] .wf-word-group{gap:3px}
 .wf-page[data-phase=playing] .wf-letter{height:32px;width:25px;flex-basis:25px;font-size:18px}
 .wf-page[data-phase=playing] .wf-keyboard{margin:0;gap:4px}
 .wf-page[data-phase=playing] .wf-key{height:38px;min-height:38px}
 .wf-page[data-phase=playing] .wf-status{min-height:28px;margin:6px 0 0;font-size:11px;line-height:1.3}
}
@media(max-width:360px){
 .wf-page[data-phase=playing] .wf-heading h1{font-size:18px}
 .wf-page[data-phase=playing] .wf-heading .wf-icon{width:28px;height:32px;min-height:32px}
}
@media(max-width:1024px) and (max-height:500px) and (orientation:landscape){
 .wf-page[data-phase=playing]{padding:6px 10px 20px}
 .wf-page[data-phase=playing] .wf-play{grid-template-columns:1fr 1fr}
 .wf-page[data-phase=playing] .wf-console{padding:4px 10px}
 .wf-page[data-phase=playing] .wf-flight-stats{font-size:10px;gap:2px 6px}
 .wf-page[data-phase=playing] .wf-category{font-size:10px}
 .wf-page[data-phase=playing] .wf-key{height:34px;min-height:34px}
 .wf-page[data-phase=playing] .wf-word{margin:5px 0 7px}
 .wf-page[data-phase=playing] .wf-objective{margin-top:4px}
}
@media(max-width:1024px) and (max-height:350px) and (orientation:landscape){
 .wf-page[data-phase=playing] .wf-objective{margin-top:0}
 .wf-page[data-phase=playing] .wf-objective strong{font-size:16px;line-height:18px}
 .wf-page[data-phase=playing] .wf-word{min-height:26px;margin:3px 0 4px;gap:5px 8px}
 .wf-page[data-phase=playing] .wf-letter{height:26px;font-size:16px}
}
@media(max-width:680px) and (max-height:550px) and (orientation:portrait){
 .wf-page[data-phase=playing] .wf-console{padding-top:6px}
 .wf-page[data-phase=playing] .wf-fuel{margin:3px 0 4px}
 .wf-page[data-phase=playing] .wf-objective{margin-top:3px}
 .wf-page[data-phase=playing] .wf-objective strong{font-size:18px;line-height:20px}
 .wf-page[data-phase=playing] .wf-word{min-height:26px;margin:4px 0 6px;gap:5px 8px}
 .wf-page[data-phase=playing] .wf-letter{height:26px}
 .wf-page[data-phase=playing] .wf-key{height:36px;min-height:36px}
}
