.crew-rewards,.drone-workshop,.reward-staff{border:1px solid #51446d;border-radius:20px;padding:clamp(20px,3vw,38px);background:linear-gradient(140deg,#171a30,#15101f);color:#eeeaf7;margin:28px auto;max-width:1160px;scroll-margin-top:110px}.crew-rewards h2,.drone-workshop h2,.reward-staff h2{font-size:clamp(24px,3vw,36px);line-height:1.15;margin:8px 0 14px}.reward-intro{display:flex;gap:24px;justify-content:space-between;align-items:center}.reward-intro p{max-width:64ch}.reward-shelf{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.reward-summary{display:flex;align-items:center;gap:18px;border:1px solid #4b415f;background:#0b0e1c80;border-radius:14px;padding:18px}.reward-summary img{width:92px;height:92px;object-fit:contain}.reward-summary strong,.reward-summary small{display:block}.reward-summary small{color:#bdb4cf;margin-top:7px}.reward-collection{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:12px;max-height:400px;overflow:auto;padding:14px 4px}.reward-badge{text-align:center;border-radius:12px;background:#101222;padding:12px 5px;border:1px solid #43345b}.reward-badge img{width:80px;height:80px;max-width:100%}.reward-badge small,.reward-badge strong{display:block}.reward-badge small{font-size:12px;color:#bfb6cf;margin-top:5px}.reward-badge.is-locked img{filter:grayscale(1);opacity:.46}.reward-badge.is-earned{border-color:#87d6dd}.reward-message{color:#c7bfda;min-height:1.5em;font-size:14px}.reward-note{font-size:13px;color:#c3bbd1;line-height:1.6}.crew-rewards summary{cursor:pointer;font-weight:700;padding:14px 0}.drone-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,1fr);gap:28px;align-items:center}.drone-preview{display:flex;align-items:center;justify-content:center;min-height:320px;background:radial-gradient(ellipse,#20365188,transparent 65%);border:1px solid #4b415f;border-radius:16px;overflow:hidden}.drone-preview>svg{display:block;width:100%;max-height:430px}.drone-selector{display:grid;grid-template-columns:44px minmax(100px,1fr) 44px;gap:12px;align-items:center;margin:7px 0 22px;text-align:center}.drone-selector button{height:44px;border:1px solid #7d6499;background:#2c2241;color:#fff;border-radius:10px;font-size:24px;cursor:pointer}.drone-selector button:hover,.drone-selector button:focus-visible{border-color:#8ce2e4;background:#3f3259}.drone-selector span{font-size:18px;font-weight:700}.drone-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.reward-staff input,.reward-staff select,.reward-staff textarea{width:100%;max-width:100%;padding:12px;border-radius:9px;border:1px solid #75638d;background:#0c1020;color:#f4efff;min-height:46px;font:inherit}.reward-staff label{display:block;margin:16px 0 7px;font-weight:700}.reward-people{display:flex;flex-direction:column;gap:5px;margin:8px 0}.reward-people button{background:#28233b;color:#fff;text-align:left;padding:10px 14px;border:1px solid #5c4c74;border-radius:8px;cursor:pointer}.reward-staff-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.reward-staff button:disabled{opacity:.5}.reward-staff audit{display:block}.reward-staff ol{font-size:13px;line-height:1.6;padding-left:20px}.drone-page{max-width:1160px;margin:auto;padding:30px 18px}.drone-page header{display:flex;justify-content:space-between;align-items:center;gap:20px}.drone-page a{color:#91e1e7}.drone-page{font-family:Arial,Helvetica,sans-serif;background:#0b0d18;color:#f2eff8}.drone-page .button{border:1px solid #aef0e8;background:#9be3df;color:#101721;border-radius:8px;padding:12px 18px;text-decoration:none;font-weight:700;cursor:pointer}.drone-page .button.secondary{background:#2f2543;color:#fff;border-color:#74538f}@media(max-width:680px){.reward-shelf,.drone-layout,.reward-staff-grid{grid-template-columns:1fr}.reward-intro{align-items:flex-start;flex-direction:column;gap:4px}.reward-summary img{width:76px;height:76px}.drone-preview{min-height:260px}.drone-selector{margin-bottom:16px}}

/* Independent badge and drone kiosks; existing wallet controller keeps its DOM. */
.drone-outfit-label{display:grid;gap:8px;margin:0 0 18px;font-weight:700}.drone-outfit-label select{width:100%;min-height:46px;padding:10px 12px;background:#20182f;color:#fff;border:1px solid #88709f;border-radius:9px;font:inherit}.crew-profile-tabs{display:flex;gap:8px;border-bottom:1px solid #69527b;margin:16px 0 24px;padding-bottom:10px}.crew-profile-tabs button{font:inherit;font-weight:700;border:1px solid #6a547d;border-radius:10px;background:#191524;color:#cbbfd9;padding:12px 25px;cursor:pointer}.crew-profile-tabs button[aria-selected=true]{background:#b9e7ec;border-color:#b9e7ec;color:#181323}.crew-profile-views>[role=tabpanel]:not([hidden]){animation:crew-profile-sweep .25s ease-out}.crew-inline-drone{min-width:0}.crew-inline-drone .reward-intro{margin-bottom:16px}.crew-inline-drone .drone-preview{min-height:300px}.crew-inline-drone h3{font-size:30px}.crew-inline-drone .text-link{white-space:nowrap}.casting-drone img{display:block;width:100%;max-height:340px;object-fit:contain;background:radial-gradient(ellipse,#2f2846,transparent 70%)}.casting-drone[hidden]{display:none}.reward-staff .casting-drone input{font-size:13px}.crew-rewards[hidden],[data-drone-casting][hidden]{display:none!important}@keyframes crew-profile-sweep{from{opacity:.2;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.crew-profile-views>[role=tabpanel]:not([hidden]){animation:none}}


/* Category progression within the third profile tab. Explicit hidden wins over wallet grid styles. */
.crew-profile-views>[data-profile-panel][hidden]{display:none!important}
.crew-profile-tabs{flex-wrap:wrap}.crew-profile-tabs button{min-height:44px}
.crew-profile-tabs button:focus-visible,.reward-collection:focus-visible,.reward-ladder:focus-visible{outline:2px solid #8ce2e4;outline-offset:3px}
#crew-badges-panel{min-width:0}.crew-profile-views #crew-recognition{margin:0;max-width:none;padding:0;border:0;border-radius:0;background:transparent}
.reward-collection-hint{font-size:13px;color:#c5bfd0;line-height:1.5}
.reward-collection{display:flex;flex-direction:column;gap:18px;max-height:600px;max-height:min(70vh,680px);overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding:4px 10px 12px 4px;scrollbar-color:#7e669b #211b30;scrollbar-width:thin}
.reward-category{min-width:0;flex:0 0 auto;padding:16px;border:1px solid #514165;border-radius:14px;background:#101323}
.reward-category-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px}.crew-hub .reward-category h3,.reward-category h3{font-size:20px;line-height:1.3;margin:0;color:#ecf8fa;overflow-wrap:anywhere}
.reward-category-count{font-size:12px;color:#9de8df;white-space:nowrap}.reward-category-description{font-size:13px;color:#c7bfd5;line-height:1.5;margin:8px 0}.reward-category-progress,.reward-category-next{font-size:12px;line-height:1.5;margin:6px 0;color:#d7cbe4}
.reward-category progress{display:block;width:100%;height:9px;margin:10px 0 12px;accent-color:#94e2dc}
.reward-ladder{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:8px 2px 12px;scrollbar-color:#7e669b #211b30;scrollbar-width:thin}
.reward-ladder .reward-badge{flex:0 0 104px;box-sizing:border-box;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:10px 6px}
.reward-ladder .reward-badge img{flex:0 0 auto}.reward-badge.is-suppressed{border-style:dashed}.reward-badge.is-earned small{color:#bdece1}.reward-badge.is-locked small{color:#c3bbd1}
@media(max-width:680px){.crew-profile-tabs{gap:6px}.crew-profile-tabs button{flex:1;min-width:0;padding:12px 8px;font-size:14px}.reward-category{padding:12px}.reward-ladder .reward-badge{flex-basis:94px}.reward-collection{max-height:65vh;padding-right:7px}.reward-shelf{gap:10px}.reward-summary{padding:12px;gap:12px}}
