@font-face{font-family:Jua;src:url('/Jua-Regular.ttf');font-display:swap}
:root{--ink:#254a6b;--edge:#285375;--yellow:#ffda65;--blue:#218bbd}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#a6dded;color:var(--ink);font-family:Jua,system-ui,sans-serif}body{overscroll-behavior-y:none;background:radial-gradient(ellipse at 20% 0,#e3f8ff,transparent 60%),#93d5e9}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:3px solid var(--edge);border-radius:17px;background:linear-gradient(#fff0a1,#ffd052);color:var(--ink);padding:12px 20px;box-shadow:0 5px 0 var(--edge),inset 0 3px 0 #ffffff99;transition:transform .1s,box-shadow .1s;touch-action:manipulation}button:hover{filter:brightness(1.04)}button:active,button.active{transform:translateY(4px);box-shadow:0 1px 0 var(--edge),inset 0 3px 6px #173b6622}button:disabled{cursor:default;filter:saturate(.45);opacity:.6}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #ed7e39;outline-offset:4px}[hidden]{display:none!important}.shell{width:min(1180px,100%);height:100svh;min-height:540px;margin:auto;padding:12px 26px max(8px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;height:58px}.wordmark{font-size:30px;text-decoration:none;color:#fff9d8;text-shadow:2px 3px 0 var(--edge);-webkit-text-stroke:1px var(--edge);display:flex;align-items:center;gap:8px;white-space:nowrap}.brand-plane{font-size:30px;transform:rotate(-22deg);color:white}.brand-en{font:9px system-ui;letter-spacing:2px;align-self:flex-end;margin-bottom:7px;color:#437393;text-shadow:none;-webkit-text-stroke:0}.header-tools{display:flex;align-items:center;gap:10px}.best{border:2px solid #d6a742;border-radius:12px;background:#fff4c8;padding:6px 14px;color:#886020;font-size:11px;box-shadow:0 3px 0 #d6a742;white-space:nowrap}.best strong{font-size:21px;margin-left:7px;color:#654725}.best small{font-size:12px}#help-open,#sound{background:#effaff;border-width:2px;box-shadow:0 3px 0 var(--edge);height:42px;padding:7px 11px;font-size:12px}#help-open{font-size:22px;width:42px}.field{flex:1;min-height:300px;position:relative;border-radius:28px;overflow:hidden;border:4px solid var(--edge);background:#8cdbf1;box-shadow:0 7px 0 #45778c,inset 0 0 0 3px white}canvas{width:100%;height:100%;display:block;touch-action:none}.hud{position:absolute;inset:18px 18px auto;display:flex;align-items:flex-start;gap:10px;pointer-events:none}.distance{background:#fffdf0;border:3px solid var(--edge);border-radius:16px;padding:8px 20px;box-shadow:0 4px 0 #305b7380;min-width:120px;transform:rotate(-2deg)}.distance>span{display:block;font-size:11px;color:#66859b;letter-spacing:1px}.distance strong{font-size:35px;line-height:1.15;font-weight:400}.distance small{font-size:15px}.wind{margin-left:auto;text-align:center;padding:9px 14px;background:#ffffffc9;border:2px solid #71a8c0;border-radius:14px;box-shadow:0 3px 0 #71a8c066}.wind span{display:block;font-size:12px}.wind b{font-size:18px;font-weight:400;display:block;margin-top:3px}#pause{pointer-events:auto;padding:8px;width:44px;height:44px;border-width:2px;background:#fff9e0;font-size:20px}.launch-guide{position:absolute;inset:20% 0 auto;text-align:center;pointer-events:none}.pill{display:inline-block;padding:6px 16px;border:2px solid #cf9650;border-radius:20px;background:#fff0b3;color:#886025;font-size:12px;box-shadow:0 2px 0 #cf965044}h1{font-size:clamp(46px,6vw,72px);line-height:1;margin:12px 0 0;color:#fffdf0;letter-spacing:-3px;font-weight:400;-webkit-text-stroke:2px #285375;paint-order:stroke fill;text-shadow:0 5px 0 #285375,3px 7px 0 #28537530;transform:rotate(-5deg)}h1 span{color:#ffda65}.hero-plane{width:160px;height:86px;margin:16px auto 0;position:relative;transform:rotate(-8deg);filter:drop-shadow(0 9px 0 #24638520)}.hero-plane svg{width:100%;height:100%}.hero-plane i{position:absolute;right:-24px;top:13px;font-style:normal;color:#fff7a2;font-size:30px;text-shadow:1px 2px #bf9437}h2{font-size:25px;font-weight:400;margin:12px 0 7px}.launch-guide p{font-family:system-ui;font-size:12px;font-weight:600;line-height:1.7;margin:6px 0 15px;color:#416e8b}.launch-guide button{pointer-events:auto;min-width:235px;font-size:23px;padding:12px 26px;border-radius:19px;transform:rotate(-2deg)}.launch-guide button:active{transform:rotate(-2deg) translateY(4px)}.launch-guide button span{font-size:17px;margin-left:22px}.launch-guide small{display:block;font-size:11px;margin-top:14px;color:#426e83}.flight-bottom{position:absolute;bottom:13px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}#status{background:#fffef0e8;border:2px solid #6e9b88;border-radius:12px;padding:7px 12px;font-size:12px;max-width:70%}.telemetry{display:flex;gap:8px;font-size:11px;white-space:nowrap}.telemetry>span{background:#edf8e9e0;border-radius:9px;padding:7px 9px;border:1px solid #78a78b}.telemetry b{font-size:16px;font-weight:400}.controls{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:none;padding:6px 5px 0}.control-copy{display:flex;align-items:center;gap:12px}.key{width:46px;height:46px;border-radius:50%;background:#eefaff;border:2px solid #56889f;display:grid;place-items:center;font-size:30px;box-shadow:0 3px 0 #56889f}.control-copy strong{font-size:17px;font-weight:400}.control-copy p{margin:6px 0 0;display:flex;gap:5px}.wind-chip{font-size:10px;border-radius:6px;padding:3px 8px;border:1px solid #ffffff90}.fan-chip{background:#ffe3a5;color:#8b5823}.thermal-chip{background:#b6ecd1;color:#287952}.whirl-chip{background:#dfcff9;color:#74439b}#lift{touch-action:none;user-select:none;min-width:300px;font-size:23px;padding:14px 24px;background:linear-gradient(#ffec8e,#ffc149);border-radius:22px}#lift b{font-size:28px;margin-right:6px}#lift span{display:block;font-size:11px;color:#876235;margin-top:2px}#lift.active{background:linear-gradient(#ffcc56,#ffac36)}footer{display:flex;justify-content:space-between;padding:2px 5px 0;font-size:10px;color:#56829b;flex:none}.result,.pause-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(370px,90%);background:#fffbea;border:4px solid var(--edge);box-shadow:0 9px 0 #264b6a55,0 0 0 999px #28456828;border-radius:27px;text-align:center;padding:23px;z-index:3}.result-medal{font-size:44px;color:#ffbd3e;text-shadow:0 3px #b77b29;line-height:1}.result .pill{font-size:11px;margin-top:8px}.result h2{font-size:57px;line-height:1;margin:14px 0}.result h2 small{font-size:22px}.result p{font-family:system-ui;font-size:12px;line-height:1.7;color:#617286;margin:12px 0}.result button{display:block;width:100%;font-size:18px;margin-top:14px;padding:11px 10px}.result .secondary{background:linear-gradient(#f3fbff,#d1eafa);font-size:15px}.result #result-stats{font-size:11px;color:#748692;margin:12px 0}.pause-card button{width:100%;margin:14px 0 5px}dialog{width:min(440px,90%);background:#fffbea;color:var(--ink);border:4px solid var(--edge);border-radius:24px;padding:25px;box-shadow:0 8px 0 #254a6b70}dialog::backdrop{background:#193e6370}#help-close{float:right;width:40px;height:40px;padding:0;background:#edf8ff}.notes>div{margin-top:20px}.notes span{font-size:10px;color:#8099a5}.notes h3{font-size:19px;margin:4px 0}.notes p{font:13px/1.7 system-ui;color:#607988;margin:5px 0}.pause-card h2{margin:10px 0}
@media(max-width:650px){.shell{padding:8px 10px max(8px,env(safe-area-inset-bottom));gap:9px;min-height:520px}header{height:46px;gap:6px}.wordmark{font-size:23px;gap:4px}.brand-plane{font-size:23px}.brand-en{display:none}.header-tools{gap:6px}.best{font-size:9px;padding:4px 7px}.best strong{font-size:18px;display:block;margin:0}.best small{font-size:10px}#sound{font-size:10px;padding:5px 7px;height:38px}#help-open{width:34px;height:38px;font-size:20px;padding:0}.field{border-width:3px;border-radius:22px;min-height:290px}.hud{inset:12px 11px auto;gap:7px}.distance{padding:7px 12px;min-width:92px;border-width:2px;border-radius:12px}.distance strong{font-size:30px}.distance>span{font-size:10px}.wind{padding:6px 9px}.wind b{font-size:16px}.wind span{font-size:10px}#pause{width:38px;height:38px;font-size:18px}.launch-guide{top:21%}h1{font-size:57px}.hero-plane{width:135px;height:70px;margin-top:12px}h2{font-size:22px}.launch-guide p{font-size:11px;margin-bottom:13px}.launch-guide button{font-size:22px;min-width:220px;padding:10px 20px}.launch-guide small{font-size:10px}.flight-bottom{left:10px;right:10px;bottom:10px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}#status{max-width:100%;font-size:10px;padding:5px 8px}.telemetry{font-size:9px;gap:5px}.telemetry>span{padding:3px 8px}.telemetry b{font-size:13px}.controls{gap:8px;padding:4px 2px 0}.control-copy{display:block;min-width:110px}.key{display:none}.control-copy strong{font-size:12px}.control-copy p{gap:3px;flex-wrap:wrap;max-width:140px}.wind-chip{font-size:9px;padding:3px 5px}#lift{min-width:0;flex:1;font-size:20px;padding:10px 8px;border-radius:18px;white-space:nowrap}#lift b{font-size:23px;margin:0}#lift span{font-size:10px}footer{font-size:9px;padding-top:3px}.result{padding:18px}.result h2{font-size:48px}.result-medal{font-size:34px}.result p{font-size:11px}.result button{font-size:17px;margin-top:11px}}
@media(max-height:740px){.launch-guide{top:23%}.hero-plane{display:none}.launch-guide h1{font-size:48px;margin-top:8px}.launch-guide h2{font-size:20px;margin-top:13px}.launch-guide p{margin:5px 0 10px}.launch-guide small{margin-top:10px}.result{padding:14px 20px}.result-medal{display:none}.result h2{font-size:42px;margin:9px 0}.result #result-stats{margin:7px 0}.result p{margin:8px 0}}
@media(orientation:landscape) and (max-height:550px){.shell{min-height:420px}.launch-guide{top:22%}.launch-guide h1{display:none}.launch-guide p{display:none}.launch-guide h2{font-size:20px}.launch-guide button{padding:7px 20px;font-size:20px}.controls{padding:0}#lift{padding:6px 20px;font-size:18px}.field{min-height:240px}footer{display:none}.result{top:50%;padding:10px 20px}.result .pill{margin:0;font-size:10px}.result h2{font-size:30px;margin:4px}.result p{font-size:10px;margin:5px}.result button{padding:5px;font-size:14px;margin-top:8px}.result #result-stats{font-size:10px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
@media(max-width:650px) and (max-height:640px){.launch-guide{top:25%}.launch-guide .pill{display:none}.launch-guide h1{font-size:40px;margin:0}.launch-guide h2{font-size:18px;margin:10px 0 4px}.launch-guide p{font-size:10px;line-height:1.5;margin:5px 0 9px}.launch-guide button{font-size:20px;padding:8px 18px;min-width:200px}.launch-guide small{font-size:9px;margin-top:10px}}
@media(orientation:landscape) and (max-height:550px){.shell{min-height:0;gap:7px;padding-top:6px;padding-bottom:8px}header{height:38px}.field{min-height:150px}.controls{height:60px}.launch-guide{top:40%}.launch-guide .pill,.launch-guide h2,.launch-guide small{display:none}.launch-guide button{min-width:200px}.result{max-height:96%;overflow:auto;scrollbar-width:thin}.distance{padding:4px 12px}.distance strong{font-size:22px}.wind{padding:4px 10px}.wind b{font-size:14px}.flight-bottom{bottom:7px}#status{font-size:10px}}
/* Keep mobile start artwork compact and result text inside its own scroll area. */
@media(max-width:650px){
  .hero-plane{width:90px;height:48px;margin-top:10px}
  .hero-plane svg{display:block;max-width:100%;max-height:100%}
  .hero-plane i{font-size:20px;right:-15px;top:8px}
  .result,.pause-card{max-height:calc(100% - 24px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  .result h2{font-size:clamp(32px,10vw,46px);line-height:1.15;white-space:nowrap}
  .result p{word-break:keep-all;overflow-wrap:anywhere}
  #result-stats{line-height:1.6;word-break:keep-all}
  .result button{line-height:1.35;white-space:normal}
}
.record-invite{border-top:1px solid #d5cbb1;margin-top:12px;padding-top:6px}.record-invite p{margin:4px 0!important;font-family:Jua,system-ui!important}.record-invite small{display:block;font:10px/1.5 system-ui;color:#6d7e8c;margin-top:9px}.result .record-invite button{margin-top:7px}.result{max-height:calc(100% - 24px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}#record-dialog{max-height:calc(100svh - 28px);overflow:auto}#record-score{font-size:32px;display:block;margin:12px 0}#record-form label{display:block;font-size:14px;margin:15px 0 8px}#record-nickname{box-sizing:border-box;width:100%;font:16px system-ui;padding:12px;border:2px solid #77a2b8;border-radius:10px;color:#254a6b;background:white}#record-form p{font:12px/1.7 system-ui;color:#607988}#record-form button{width:100%;display:block;margin-top:14px}#record-close{background:#edf7fb;font-size:14px}#record-message:empty{display:none}#record-message{color:#365d83;font-weight:600}
#record-dialog>label{display:block;font-size:13px;margin:12px 0 7px}#record-card{display:block;width:100%;max-height:36svh;object-fit:contain;margin:14px auto;border-radius:12px}#record-dialog>button{display:block;width:100%;margin-top:14px}#record-dialog>p,#history-dialog>p{font:12px/1.6 system-ui;color:#607988}.share-tools{display:flex;gap:10px;margin-top:14px}.share-tools button{flex:1;font-size:13px;background:#edf7fb;padding:10px 6px}#record-copy-fallback{width:100%;height:95px;margin-top:15px;font:14px/1.5 system-ui}#history-dialog{max-height:85svh;overflow:auto}#history-list{font:13px/1.8 system-ui}#history-list .history-record{width:100%;margin:6px 0 10px;font-size:14px;padding:10px;background:#edf7fb}#history-close{width:100%;margin-top:15px}.best{cursor:pointer}
/* The guide and reserved ad live outside the fixed-height play screen. */
.below-game{width:min(1128px,calc(100% - 40px));margin:40px auto 0;padding-bottom:max(40px,env(safe-area-inset-bottom));color:#254a6b}
.flight-guide{background:#fffdf0;border:3px solid #46738c;border-radius:24px;padding:32px;box-shadow:0 6px 0 #46738c38;scroll-margin-top:20px}
.guide-heading{margin-bottom:26px}.guide-badge{font:700 10px system-ui;letter-spacing:2px;color:#71929f}.guide-heading h2{font-size:30px;margin:10px 0}.guide-heading p{font:14px/1.8 system-ui;color:#647c89;margin:0;word-break:keep-all}
.guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.guide-number{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#ffdf7a;font-size:16px;color:#6c572c}.guide-steps h3{font-size:19px;font-weight:400;margin:12px 0 8px}.guide-steps p,.guide-winds dd{font:13px/1.9 system-ui;color:#536f7c;margin:0;word-break:keep-all;overflow-wrap:anywhere}
.guide-winds{border-top:1px solid #dbe4dc;margin-top:28px;padding-top:22px}.guide-winds h3{font-size:21px;font-weight:400;margin:0 0 16px}.guide-winds dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.guide-winds dl>div{padding:18px;border-radius:16px}.guide-fan{background:#fff0cb}.guide-thermal{background:#e0f2e6}.guide-whirl{background:#ece5f8}.guide-winds dt{font-size:16px;margin-bottom:10px}.guide-winds dt span{margin-right:5px}.guide-footnote{font:12px/1.8 system-ui;color:#778894;margin:25px 0 0}
.ad-reservation{width:min(728px,100%);margin:44px auto 0;color:#72858a;font:11px system-ui}.ad-label{display:block;text-align:center;margin-bottom:8px}.ad-slot{height:280px;background:#edf4f166;border:1px dashed #88aaa780;border-radius:4px;overflow:hidden}
@media(max-width:650px){.below-game{width:calc(100% - 24px);margin-top:28px;padding-bottom:28px}.flight-guide{padding:23px 19px;border-radius:20px;border-width:2px}.guide-heading h2{font-size:25px}.guide-heading p{font-size:13px}.guide-steps,.guide-winds dl{grid-template-columns:1fr;gap:20px}.guide-steps h3{margin-top:9px}.guide-winds dl{gap:12px}.guide-winds dl>div{padding:16px}.guide-footnote{font-size:11px}.ad-reservation{margin-top:32px}.ad-slot{height:280px}}

footer{align-items:center;gap:12px}.games-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:7px 14px;border:2px solid var(--edge);border-radius:12px;background:#fff4c8;box-shadow:0 3px 0 var(--edge);color:var(--ink);font-size:13px;text-decoration:none;white-space:nowrap}.games-link:active{transform:translateY(2px);box-shadow:0 1px 0 var(--edge)}

footer{flex-wrap:wrap}.languages{display:flex;gap:3px;margin-left:auto}.languages a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;border:2px solid transparent;border-radius:10px;text-decoration:none;font:600 12px system-ui;color:var(--ink)}.languages a[aria-current="page"]{background:#fff4c8;border-color:var(--edge)}#course-label{white-space:nowrap}
html:not([lang="ko"]) .brand-en{display:none}html:not([lang="ko"]) .wordmark{font-size:24px}html:not([lang="ko"]) .launch-guide h1{font-size:clamp(38px,6vw,74px)}html:not([lang="ko"]) .control-copy strong{font-size:14px}html:not([lang="ko"]) #lift{font-size:24px}
@media(max-width:650px){#course-label{display:none}html:not([lang="ko"]) .wordmark{font-size:19px;gap:3px}html:not([lang="ko"]) .brand-plane{font-size:20px}html:not([lang="ko"]) .header-tools{gap:5px}html:not([lang="ko"]) #sound{font-size:10px;padding:6px}html:not([lang="ko"]) .control-copy{min-width:0;max-width:43%}html:not([lang="ko"]) .control-copy strong{font-size:10px}html:not([lang="ko"]) #lift{font-size:17px}html:not([lang="ko"]) #lift span{font-size:9px}html:not([lang="ko"]) .share-tools button{font-size:11px;padding:10px 5px}}
@media(orientation:landscape) and (max-height:550px){footer{display:flex}#course-label{display:none}}
