.crew-builder{color:#f7f7f9;font:16px/1.6 Arial,sans-serif;max-width:1250px;margin:25px auto}.crew-builder[hidden]{display:none}.crew-builder h1{font-size:clamp(30px,5vw,48px);letter-spacing:-1px;margin:0}.crew-builder h2{font-size:22px}.crew-builder .crew-kicker{color:#ff4b6c;font-weight:800;font-size:12px;letter-spacing:2px}.crew-builder .crew-box,.crew-home{padding:24px;border:1px solid #4c4c55;border-top:3px solid #ff2446;border-radius:15px;background:linear-gradient(135deg,#1b1b20,#101013);margin:20px 0}.crew-builder .crew-steps,.crew-builder .crew-rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.crew-builder .crew-steps article,.crew-builder .crew-rewards article{padding:18px;background:#18181d;border:1px solid #44444f;border-radius:12px}.crew-builder p{color:#bfc0ca}.crew-builder input,.crew-builder textarea{box-sizing:border-box;width:100%;background:#09090d;border:1px solid #686872;color:#fff;padding:13px;border-radius:8px;font:inherit}.crew-builder button,.crew-home button,.crew-owner button{min-height:44px;padding:10px 15px;border:1px solid #ed153e;border-radius:8px;background:#be0c2e;color:white;font:700 14px Arial;cursor:pointer;margin:6px 8px 6px 0}.crew-builder button:disabled,.crew-owner button:disabled{opacity:.5;cursor:wait}.crew-builder button:focus-visible,.crew-builder input:focus-visible{outline:2px solid #ff6380;outline-offset:3px}.crew-builder label{display:block}.crew-builder .crew-metrics{display:flex;flex-wrap:wrap;gap:20px}.crew-builder .crew-metrics strong{display:block;font-size:30px;color:#fff}.crew-builder .crew-row{padding:16px 0;border-bottom:1px solid #3e3e47}.crew-builder .crew-pill,.crew-earned{display:inline-block;padding:5px 9px;border:1px solid #b72744;border-radius:6px;color:#ffb5c4;font:800 11px/1.4 Arial;letter-spacing:1px;margin:5px 7px 5px 0}.crew-frame .rider-initials,.crew-frame .rider-showcase-avatar{outline:3px solid #ff2446;outline-offset:4px;box-shadow:0 0 18px #ff244633}.crew-builder .crew-complete{border-color:#ff2446;background:#2a151d}.crew-builder .crew-fine{font-size:13px}.crew-owner{padding:20px;border:1px solid #555;border-radius:12px;background:#15151b;color:white;margin:20px 0}.crew-owner table{min-width:900px}.crew-owner td{vertical-align:top}.crew-owner .crew-scroll{overflow:auto}.crew-owner input{color:white;background:#101013;border:1px solid #666;padding:10px;min-width:200px}.crew-owner [hidden]{display:none!important}@media(max-width:700px){.crew-builder .crew-steps,.crew-builder .crew-rewards{grid-template-columns:1fr}.crew-builder .crew-box{padding:18px}}

#dashboard:has(.crew-builder:not([hidden]))>.passport-layout{display:none}

/* prominent crew invites */
body>header{flex-wrap:wrap}
body>header #crew-header-invite{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 17px;margin:0 8px;background:#e30b34;border:1px solid #ff4567;border-radius:9px;color:white;font:800 14px/1.2 Arial,sans-serif;cursor:pointer;white-space:nowrap;box-shadow:0 0 18px #f20b3520}
body>header #crew-header-invite[hidden]{display:none!important}
body>header #crew-header-invite:hover{background:#fa204b}
body>header #crew-header-invite:focus-visible{outline:2px solid #ff9bb0;outline-offset:3px}
#dashboard .passport-layout>.crew-home{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;flex-wrap:wrap;grid-column:1/-1;padding:24px 28px;background:linear-gradient(110deg,#3b111c,#181318 70%);border:1px solid #ed2449;border-left:5px solid #ff2446;border-radius:14px;margin:16px 0}
#dashboard .crew-home h2{font:900 25px/1.1 Arial,sans-serif;margin:0;color:white;flex:1 1 220px}
#dashboard .crew-home p{font:15px/1.5 Arial,sans-serif;color:#ded3d7;margin:0;flex:2 1 280px}
#dashboard .crew-home button{margin:0;min-height:50px;padding:14px 20px;background:#ed103b;border:1px solid #ff5273;font-size:14px}
@media(max-width:650px){body>header #crew-header-invite{margin:0;min-height:44px;padding:10px 12px;font-size:12px}#dashboard .passport-layout>.crew-home{padding:20px}#dashboard .crew-home button{width:100%}}

/* cumulative crew milestones */
#dashboard .crew-builder .crew-rewards h2{font:800 20px/1.3 Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.crew-builder .crew-rewards progress{display:block;width:100%;height:9px;margin:20px 0 12px;accent-color:#ff2446;border:0;border-radius:8px;overflow:hidden}
.crew-builder progress::-webkit-progress-bar{background:#38383f;border-radius:8px}
.crew-builder progress::-webkit-progress-value{background:#ff2446;border-radius:8px}
.crew-builder progress::-moz-progress-bar{background:#ff2446}
.crew-builder [data-next-reward]{color:#ffafbf;font-weight:800}
.crew-builder .crew-trip-goal{border-color:#aa824a;background:linear-gradient(125deg,#2c2115,#141215)}
.crew-captain .rider-initials,.crew-captain .rider-showcase-avatar{outline-color:#f3c06b;box-shadow:0 0 20px #f3c06b33}
.crew-profile-banner{padding:12px 16px;margin:0 0 15px;border:1px solid #b88d50;border-radius:8px;background:linear-gradient(110deg,#37151d,#342718);color:#ffdda0;font:800 12px/1.4 Arial,sans-serif;letter-spacing:1px;overflow-wrap:anywhere}
.crew-legend{border-color:#d7a655!important;box-shadow:inset 0 3px #dd1d43,0 0 18px #d7a65512}
.crew-legend .crew-earned{border-color:#d7a655;color:#ffe0a6}
@media(min-width:701px) and (max-width:1000px){.crew-builder .crew-rewards{grid-template-columns:repeat(2,minmax(0,1fr))}}
