@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
.tether-page{--ink:#194458;--blue:#067eae;--line:#c9e5ee;--muted:#526e7a;--shadow:0 12px 35px #236c9020;font-family:'Nunito',sans-serif;color:var(--ink);max-width:1280px;margin:0 auto;padding:28px 20px 55px;box-sizing:border-box}.tether-page *{box-sizing:border-box}.tether-page h1{text-align:center;font-size:clamp(2.3rem,5vw,3.2rem);font-weight:900;color:#0877a0;margin:0}.tether-page .tagline{text-align:center;margin:8px 0 24px;color:var(--muted)}.tether-page h2{font-size:1.35rem;margin:0 0 10px;font-weight:900}.tether-page h3{font-size:1.05rem;margin:0 0 8px}.tether-page p{line-height:1.6;margin:8px 0}.tether-page button,.tether-page input,.tether-page select{font:inherit}.tether-page button,.tether-page select,.tether-page input[type=number],.tether-page input[type=file]{min-height:44px}.tether-page button{border:1px solid #ffffffd9;border-radius:24px;padding:10px 18px;font-weight:800;cursor:pointer;background:linear-gradient(#c5f3fb,#3bafca 43%,#0786af 52%,#006699);box-shadow:inset 0 1px 2px white,0 3px 8px #00577922;color:white}.tether-page button:hover{filter:brightness(1.06)}.tether-page button:disabled{cursor:not-allowed;opacity:.48}.tether-page button.secondary{background:linear-gradient(#fff,#e7f7fc);color:#17617f;border-color:#c1e1ec;box-shadow:0 2px 5px #0057790d}.tether-page button.active{box-shadow:inset 0 0 0 2px #067fa8,0 2px 5px #00577920}.tether-page button:focus-visible,.tether-page select:focus-visible,.tether-page input:focus-visible{outline:3px solid #ffb640;outline-offset:3px}.tether-page .panel{background:linear-gradient(130deg,#ffffffed,#f1fcffca);border:1px solid white;border-radius:23px;padding:22px;box-shadow:var(--shadow);min-width:0}.tether-page .toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.tether-page .row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tether-page .resources{display:flex;gap:18px;flex-wrap:wrap}.tether-page .resources b{font-size:1.15rem;display:block;color:#006d98}.tether-page .resources small{font-size:.73rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.tether-page .objective{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;border-left:5px solid #22b5d4;margin-bottom:18px}.tether-page .chapter{font-size:.78rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#007e9b}.tether-page .objective p{max-width:900px}.tether-page .progress{height:7px;background:#d8eaf0;border-radius:12px;overflow:hidden;margin:13px 0 6px}.tether-page .progress span{height:100%;display:block;background:linear-gradient(90deg,#22a8ce,#5bd4bd)}.tether-page .muted{color:var(--muted);font-size:.9rem}.tether-page .layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(315px,1fr);gap:18px;align-items:start}.tether-page .stack{display:grid;gap:18px}.tether-page .map-panel{padding:0;overflow:hidden}.tether-page .map-top{display:flex;justify-content:space-between;padding:18px 22px 8px;align-items:center}.tether-page .map{height:340px;position:relative;background:radial-gradient(ellipse at 30% 85%,#d5f8ff,transparent 60%),linear-gradient(140deg,#edfaff,#d8effb);overflow:hidden}.tether-page .map svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.tether-page .world{position:absolute;transform:translate(-50%,-50%);min-width:66px;padding:5px 7px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#215a71!important;font-size:.82rem;display:grid;justify-items:center;gap:5px}.tether-page .world.locked{opacity:.45}.tether-page .planet{width:38px;height:38px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#ffffffbb,transparent 45%),var(--planet);box-shadow:inset -7px -5px 10px #17354933,0 0 0 4px #ffffff88,0 5px 12px #24688a29;display:block}.tether-page .world.active .planet{outline:3px solid #0098bd;outline-offset:5px}.tether-page .world.locked .planet{filter:grayscale(.9)}.tether-page .world b{background:#f7fdffc9;border-radius:8px;padding:1px 5px}.tether-page .map-note{padding:10px 22px;font-size:.78rem;color:var(--muted);border-top:1px solid #c9e2ed}.tether-page .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.tether-page .stat{background:#e9f7fc;border:1px solid #d5ecf4;border-radius:12px;padding:10px}.tether-page .stat b{display:block;font-size:1rem;color:#096e93}.tether-page .stat small{display:block;font-size:.72rem;color:var(--muted)}.tether-page .energy{display:grid;grid-template-columns:70px 1fr 45px;align-items:center;gap:8px;margin:10px 0;font-size:.78rem}.tether-page .energy .progress{margin:0;height:10px}.tether-page .energy .integrity span{background:#8cbccc}.tether-page label{display:block;font-size:.85rem;font-weight:800;margin:12px 0 5px}.tether-page select,.tether-page input[type=number]{width:100%;border:1px solid #b9d8e4;border-radius:12px;background:#fff;color:var(--ink);padding:8px 10px}.tether-page input[type=range]{width:100%;accent-color:#098ab1;min-height:30px}.tether-page .fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.tether-page .full{grid-column:1/-1}.tether-page output{float:right;color:#087da4;font-variant-numeric:tabular-nums}.tether-page .check{border-radius:12px;padding:10px 12px;background:#e5f6f0;color:#1f6c58;margin:9px 0;font-size:.84rem}.tether-page .check.bad{background:#fff1da;color:#805315}.tether-page .builds{display:grid;gap:8px}.tether-page .build{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid #d6eaf2;border-radius:14px}.tether-page .build small{display:block;color:var(--muted);font-size:.75rem;line-height:1.5}.tether-page .build button{padding:8px 12px;font-size:.8rem}.tether-page .tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}.tether-page .tabs button{padding:8px 14px;font-size:.86rem}.tether-page .notice{background:#d9f2fc;border:1px solid #a8dbe9;border-radius:14px;padding:12px 16px;margin-bottom:15px;line-height:1.6}.tether-page .notice:empty{display:none}.tether-page .log{margin:0;padding:0;list-style:none;font-size:.82rem}.tether-page .log li{border-bottom:1px solid #d9e9ef;padding:10px 0;line-height:1.5}.tether-page .log li:last-child{border:0}.tether-page details{margin-top:18px}.tether-page summary{cursor:pointer;font-weight:800;padding:4px}.tether-page details li{margin:8px 0;line-height:1.6}.tether-page a{color:#06779c}.tether-page .flight{position:fixed;inset:0;z-index:10000;background:#0b3854b8;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(6px)}.tether-page .flight-card{width:min(960px,100%);max-height:95vh;overflow:auto;background:#f2fbff;border:2px solid white;border-radius:26px;box-shadow:0 25px 90px #001e4488;padding:22px}.tether-page canvas{width:100%;height:360px;display:block;background:linear-gradient(#04243e,#0b587a);border:1px solid #397994;border-radius:18px;margin:12px 0}.tether-page .flight-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.tether-page .flight-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.tether-page .flight-actions button{min-width:150px}.tether-page .timing{width:100%;height:14px;border-radius:20px;background:#d6e9f0;position:relative;overflow:hidden;margin:12px 0}.tether-page .timing .zone{position:absolute;left:44%;width:12%;height:100%;background:#53c8a4}.tether-page .timing .needle{position:absolute;top:0;bottom:0;width:4px;background:#163f5e;left:50%}.tether-page .small{font-size:.78rem}.tether-page .win{background:linear-gradient(120deg,#d7fbf1,#e3f5ff);border:1px solid #afe0d7;border-radius:18px;padding:20px;margin-bottom:18px}.tether-page .save-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tether-page .save-tools button{font-size:.8rem}.tether-page .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
body:has(.preview-header){margin:0;background:#e5f7ff}.preview-header{text-align:center;background:linear-gradient(#c9f5ff,#199cca 55%,#006c9c);padding:26px 10px;color:white;font-family:'Nunito',sans-serif}.preview-header a{font-size:2.2rem;color:white;text-decoration:none;font-weight:900}.preview-header nav{padding:16px 0 3px;font-weight:800}@media(max-width:950px){.tether-page .layout{grid-template-columns:1fr}.tether-page .map{height:310px}.tether-page .objective{grid-template-columns:1fr}.tether-page .objective>div:last-child{justify-self:start}}@media(max-width:550px){.tether-page{padding:20px 10px 40px}.tether-page .panel{padding:16px;border-radius:18px}.tether-page .map-panel{padding:0}.tether-page .resources{gap:10px}.tether-page .resources b{font-size:.95rem}.tether-page .map{height:300px}.tether-page .world{min-width:48px;font-size:.68rem}.tether-page .planet{width:29px;height:29px}.tether-page .fields{gap:0 8px}.tether-page .flight-card{padding:14px}.tether-page canvas{height:285px}.tether-page .flight-actions button{min-width:100px}.tether-page .stats{gap:5px}.tether-page .stat{padding:8px}.tether-page .stat b{font-size:.9rem}.tether-page .build{grid-template-columns:1fr}.tether-page .build button{justify-self:start}.preview-header a{font-size:1.6rem}}@media(prefers-reduced-motion:reduce){.tether-page *{scroll-behavior:auto!important}}
