#crewDialog{color:#eff8fa;border:1px solid #4bcaba;border-radius:19px;background:linear-gradient(150deg,#101b34,#142b40);width:min(92vw,790px);max-height:91dvh;overflow:auto;padding:clamp(13px,3vw,25px);box-shadow:0 18px 60px #000c}#crewDialog::backdrop{background:#000a;backdrop-filter:blur(6px)}
.crewHead{background:#112f45;border-radius:14px;padding:17px}.crewHead small{font-size:11px;font-weight:800;color:#a3ffe3}.crewHead h2{font-size:clamp(22px,4vw,34px);color:#ffdb91;margin:6px 0}.crewHead p{line-height:1.5}.crewHead span{font-weight:800;color:#80e3ef}
.crewTrail{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.crewTrail>div{border:1px solid #325a68;background:#162438;border-radius:11px;padding:11px;min-width:0}.crewTrail>div.done{background:#163c38;border-color:#4fbf88}.crewTrail>div.current{background:#344028;border-color:#f5c55a}.crewTrail b{font-size:13px;display:block}.crewTrail small{display:block;margin-top:6px;opacity:.8;font-size:11px}.crewAction{padding:13px;background:#102f3f;border-radius:13px}.crewAction h3{margin:0 0 8px;color:#fff4be}.crewAction p{line-height:1.5}.crewAction button,.crewReturn{border:1px solid #64cdb5;background:#166457;color:white;border-radius:10px;padding:13px;margin:4px 5px 4px 0;font-weight:800;min-height:44px;cursor:pointer}.crewAction button:disabled{opacity:.4;cursor:not-allowed}.crewNotice{padding:12px;border-radius:11px;background:#293b56;color:#fff2b4}.crewReturn{width:100%;background:linear-gradient(90deg,#226d95,#168e7c);font-size:16px}.crewFoot{opacity:.7;line-height:1.45;display:block;margin-top:9px}
#crewHud{position:fixed;top:158px;left:12px;z-index:9;padding:8px 11px;border:1px solid #57dcb4;border-radius:12px;background:#073f4fdc;color:#fff;font-weight:800;cursor:pointer} @media(max-width:790px){#crewHud{top:122px;font-size:11px}.crewTrail{grid-template-columns:1fr}.crewAction button{width:100%}}

body:has(#home:not([hidden])) #crewHud{display:none}

.crewHeadLayout{display:flex;gap:16px;align-items:center}.crewHeadLayout>div{flex:1;min-width:0}.crewCoach{width:115px;height:137px;object-fit:cover;object-position:center 15%;border:2px solid #d5c38b;border-radius:15px;box-shadow:0 8px 18px #0006}.crewEvents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.crewEvents button{display:flex;flex-direction:column;gap:6px;text-align:left;padding:11px 13px;border:1px solid #3b7480;border-radius:13px;background:#0e283a;color:#f9f8ed;cursor:pointer;min-height:106px}.crewEvents button.selected{border:2px solid #fbd17d;background:#304153}.crewEvents button:disabled{opacity:.66;cursor:default}.crewEvents button strong{font-size:14px}.crewEvents button small{font-size:11px;line-height:1.4;opacity:.9}.crewEvents button span{color:#ffdd94;font-size:10px}@media(max-width:600px){.crewHeadLayout{gap:9px}.crewCoach{width:73px;height:90px}.crewHeadLayout p{font-size:12px}.crewEvents{grid-template-columns:1fr}.crewEvents button{min-height:70px;padding:10px}}
