:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#edf2f7;background:#080d18;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at 15% 0%,rgba(44,94,160,.25),transparent 35%),radial-gradient(circle at 90% 10%,rgba(35,150,140,.12),transparent 30%),#080d18}button,input{font:inherit}.shell{min-height:100vh}.center{display:grid;place-items:center;padding:30px}.loader,.error-card{padding:28px;border:1px solid #253149;border-radius:18px;background:#101827;box-shadow:0 20px 60px #0000004d}.error-card{max-width:620px}.error-card p{color:#aab6c8;line-height:1.6}header{max-width:820px;margin:auto;padding:48px 24px 28px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:#64d7c7}h1{margin:7px 0 4px;font-size:clamp(34px,7vw,54px);letter-spacing:-.05em}h1 span{color:#72d9ca}.subtitle{margin:0;color:#9ba9bd}.how-btn,.share{border:1px solid #2a3850;background:#111b2c;color:#dce5f2;padding:10px 14px;border-radius:10px;cursor:pointer}.how-btn:hover,.share:hover{background:#17243a}.how-card{max-width:820px;margin:0 auto 18px;padding:18px 22px;border:1px solid #26364e;border-radius:14px;background:#0f1828;color:#aebacc;font-size:14px}.how-card p{margin:6px 0}.how-card strong{color:#fff}main{max-width:820px;margin:auto;padding:0 24px 50px}.game-card{background:#101928e6;border:1px solid #26364e;border-radius:20px;padding:22px;box-shadow:0 25px 70px #00000040}.attempts{display:flex;gap:7px;margin-bottom:22px}.attempts span{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#172235;color:#728198;font-size:12px;font-weight:800}.attempts span.used{background:#274b4a;color:#9be8dc}label{display:block;margin-bottom:9px;font-size:13px;font-weight:700;color:#cbd5e3}.search-wrap{position:relative}.search-wrap input{width:100%;padding:15px 16px;color:#eef4fc;background:#0a111e;border:1px solid #31415a;border-radius:12px;outline:none}.search-wrap input:focus{border-color:#54cfc0;box-shadow:0 0 0 3px #54cfc01a}.search-wrap input::placeholder{color:#64738a}.suggestions{position:absolute;z-index:10;left:0;right:0;top:calc(100% + 7px);background:#111c2c;border:1px solid #2b3a52;border-radius:12px;overflow:hidden;box-shadow:0 20px 50px #00000073}.suggestions button{width:100%;display:grid;grid-template-columns:52px 1fr;gap:1px 10px;padding:11px 14px;text-align:left;border:0;border-bottom:1px solid #202d42;background:transparent;color:#e7edf5;cursor:pointer}.suggestions button:last-child{border-bottom:0}.suggestions button:hover{background:#18263b}.suggestions strong{grid-row:span 2;color:#6fddd0;font-size:17px}.suggestions span{font-size:13px}.suggestions small{color:#73839a;font-size:11px}.submit{width:100%;margin-top:12px;padding:13px;border:0;border-radius:11px;background:#57cfc0;color:#07131a;font-weight:900;cursor:pointer}.submit:disabled{opacity:.35;cursor:not-allowed}.attempt-number{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;background:#18253a;color:#8998ad;font-size:12px;font-weight:800}.badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.badge{padding:5px 8px;border-radius:7px;background:#18263a;color:#b8c5d7;font-size:11px;font-weight:700}.badge.good{background:#28534e;color:#a5eee4}.badge.muted{color:#7f8da1}.win-pill{align-self:center;padding:5px 8px;border-radius:7px;background:#28534e;color:#a5eee4;font-size:10px;font-weight:900;letter-spacing:.08em}.route-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px;padding-top:11px;border-top:1px solid #202d41;color:#d9e2ee;font-size:12px}.route-line .arrow{color:#5ccebf}.route-line small{color:#8291a6;padding-right:5px;border-right:1px solid #2a374c}.empty{text-align:center;border:1px dashed #29384e;border-radius:15px;color:#718097}.empty div{font-size:28px;margin-bottom:8px}.empty p{margin:0}.finish{display:flex;align-items:center;gap:14px}.finish-icon{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;background:#29544f;color:#9eece1;font-size:21px}.finish h2{margin:0 0 3px;font-size:18px}.finish p{margin:0;color:#8e9cb0;font-size:13px}.finish p strong{color:#fff;letter-spacing:.1em}.finish .share{margin-left:auto}footer{display:flex;justify-content:space-between;gap:20px;margin-top:26px;color:#526177;font-size:10px;line-height:1.5}@media(max-width:620px){header{padding-top:30px;flex-direction:column}.how-btn{align-self:flex-start}main{padding:0 14px 35px}.game-card{padding:16px}.attempts{overflow:hidden}.attempts span{flex:0 0 27px}.win-pill{grid-column:2;justify-self:start}.finish{flex-wrap:wrap}.finish .share{margin-left:0;width:100%}footer{flex-direction:column;gap:5px}}.hidden-route{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #202d41;color:#aebacc;font-size:12px}.hidden-route .plane{font-size:16px;color:#6fddd0}.route-arrow{color:#52647d}.route-line.revealed{margin-top:12px}.results{margin-top:18px;display:grid;gap:7px}.result{display:grid;grid-template-columns:108px minmax(0,1fr) 70px 90px;gap:10px;align-items:center;padding:9px 11px;border:1px solid #243249;border-radius:11px;background:#0e1726}.result.correct{border-color:#3a8d82;background:#0e211f}.code-boxes{display:flex;gap:4px;margin:0}.code-box{width:27px;height:27px;display:grid;place-items:center;border-radius:5px;background:#18263a;border:1px solid #2b3a50;color:#dce5f2;font-size:12px;font-weight:900}.code-box.green{background:#285b55;border-color:#3b9b8e;color:#b4f4eb}.code-box.amber{background:#665322;border-color:#aa8b32;color:#ffe7a0}.guess-main{min-width:0}.guess-title{display:flex;gap:7px;align-items:baseline;min-width:0;white-space:nowrap}.guess-title strong{font-size:16px;letter-spacing:.08em;color:#fff}.guess-title span{overflow:hidden;text-overflow:ellipsis;color:#91a0b4;font-size:12px}.result-flights,.result-duration{white-space:nowrap;text-align:right;color:#c3cedd;font-size:12px;font-weight:700}.result-flights{color:#a5eee4}.result-flights .plane{margin-right:3px}.route-line.revealed{grid-column:1 / -1;display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:2px;padding-top:7px;border-top:1px solid #202d41;color:#d9e2ee;font-size:11px}.route-line.revealed .arrow{color:#5ccebf}.route-line.revealed small{color:#8291a6;padding-right:5px;border-right:1px solid #2a374c}.attempt-number,.badges,.hidden-route,.win-pill{display:none}.result{display:grid;grid-template-columns:90px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:9px 11px;border:1px solid #243249;border-radius:11px;background:#0e1726}.flight-count{color:#a5eee4;font-size:12px;font-weight:800}.flight-times{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}.result-duration{white-space:nowrap;text-align:right;color:#dce5f2;font-size:12px;font-weight:800}.result-flights{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.flight-time{display:inline-flex;align-items:center;gap:3px;padding:3px 5px;border-radius:5px;background:#18263a;color:#9aa8ba;font-size:10px;font-weight:700;white-space:nowrap}.flight-time .plane{color:#6fddd0;font-size:11px}
