/* A compact speed toggle and a scrollable, illustrated mothership hangar. */
.toy-gui .game-top{gap:9px}
.toy-gui .game-top .speed-button{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:52px;min-width:52px;height:52px;min-height:52px;margin:0;padding:2px;border:2px solid #b6c7d1;border-bottom:5px solid #466278;border-radius:15px;background:linear-gradient(#4a7087,#254058);box-shadow:inset 0 2px #b5d6e94d,0 3px #142d43;color:#d9e7e7;text-shadow:0 2px #1b354c}
.toy-gui .game-top .speed-button span{font-size:15px;letter-spacing:-5px;line-height:15px;padding-right:5px}
.toy-gui .game-top .speed-button b{font-size:20px;line-height:22px}
.toy-gui .game-top .speed-button[aria-pressed='true']{background:linear-gradient(#ffe7a4,#f6b94b 48%,#dc8d2d 52%,#f6c765);border-color:#fff3bd;border-bottom-color:#a2672b;color:#56351a;text-shadow:0 1px #fff1ba;box-shadow:inset 0 2px #fff9d6,0 3px #583c30,0 0 12px #ffc95355}
.toy-gui #queue-dialog{width:calc(100% - 28px);max-width:430px;max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 32px);padding:12px 12px 16px;overflow:hidden;gap:8px}
.toy-gui #queue-dialog .dialog-heading{min-height:88px;height:88px;flex:none;margin:0;padding:36px 48px 12px;background-size:100% 100%}
.toy-gui #queue-dialog .dialog-heading h2{font-size:22px}
.toy-gui #queue-dialog .gui-close{top:10px;right:10px}
.hangar-legend{flex:none;display:flex;align-items:center;justify-content:center;gap:6px;margin:-2px 0 0;color:#6b4829;font-size:13px;font-weight:850}
.hangar-legend span{color:#b67724;font-size:20px;line-height:22px}
#queue-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#93a8a6 #18354e;border:2px solid #b68e50;border-bottom:4px solid #a3783e;border-radius:16px;background:radial-gradient(ellipse at 50% 0,#37617b,#172d45 70%);box-shadow:inset 0 3px 8px #07192d;scroll-padding-top:44px;flex:1 1 auto}
.toy-gui #queue-plan{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;padding:0 4px 12px}
.hangar-lane{position:relative;min-width:0}
.toy-gui #queue-plan h3{position:sticky;top:0;z-index:2;display:grid;place-items:center;height:36px;margin:0 0 6px;padding:0;background:linear-gradient(#34566e,#213e56);border:0;border-bottom:1px solid #6c929d;border-radius:0;color:#fce3a2;font-size:15px;text-shadow:0 2px #12283e;box-shadow:0 5px 8px #122a4644}
.hangar-line{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px;min-height:92px;padding:2px 0 8px}
.hangar-line:before{content:'';position:absolute;top:20px;bottom:22px;left:50%;border-left:2px dashed #90c3cf55}
.toy-gui .plan-ship{position:relative;isolation:isolate;flex:none;width:100%;height:75px;display:block;margin:0;padding:0;border:0;background:none;box-shadow:none;border-radius:0}
.plan-ship:before{content:'';position:absolute;left:10%;right:10%;bottom:9px;height:24px;border:2px solid #7eabc2;border-bottom:4px solid #0c1b32;border-radius:50%;background:radial-gradient(ellipse,#183955 45%,#6fa4bc 55%,#3b5c79 67%,#172d49 70%);box-shadow:0 3px 0 #091c31;z-index:-1}
.plan-ship.is-next:before{border-color:#f7d379;box-shadow:0 3px 0 #091c31,0 0 10px #f5cf6d55}
.hangar-ship-art{position:absolute;inset:0 0 7px;background:url('art/motherships-v4.png') var(--sx) var(--sy)/300% 200% no-repeat;filter:drop-shadow(0 3px 2px #07182c88)}
.toy-gui .plan-ship .hangar-count{position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);display:grid;place-items:center;min-width:29px;height:27px;padding:0 5px;border:2px solid #fff0bc;border-bottom:4px solid #a88a50;border-radius:8px;background:linear-gradient(#fff4ca,#edd597);box-shadow:0 2px #11283b;color:#4c3423;font-size:18px;font-weight:950;line-height:21px}
.toy-gui .plan-ship .color-code{left:2px;top:1px;bottom:auto;font-size:12px}
.hangar-empty{display:grid;place-items:center;width:45px;height:45px;margin-top:12px;border:2px dashed #7496a2;border-radius:50%;background:#19374f;color:#93b8bf;font-size:22px}
.cargo-worker .worker-body{filter:none}
@media(max-height:700px){.toy-gui .game-top .speed-button{height:48px;min-height:48px}.toy-gui #queue-dialog{padding:8px 10px 12px;gap:5px}.toy-gui #queue-dialog .dialog-heading{min-height:76px;height:76px;padding-top:30px}.toy-gui #queue-dialog .dialog-heading h2{font-size:20px}.toy-gui .plan-ship{height:68px}.hangar-line{gap:12px}.hangar-legend{font-size:12px}}
@media(max-width:350px){.toy-gui .game-top{gap:7px}.toy-gui .game-top h2{font-size:19px}.toy-gui #queue-dialog .dialog-heading h2{font-size:18px}.toy-gui #queue-plan{gap:2px;padding-left:2px;padding-right:2px}.toy-gui .plan-ship{height:64px}.toy-gui .plan-ship .hangar-count{font-size:16px;min-width:26px;height:25px}.hangar-line{gap:14px}}
