/* v0.91.41: Join invitation fits directly under the existing featured-story carousel.
   Scoped to the public home hub. Does not change car feeds or challenge mechanics. */
#smrSocialHome8680 #smr09141JoinPanel{box-sizing:border-box;min-width:0;border-radius:15px;background:#fff;border:1px solid #b7d7e9;box-shadow:0 6px 20px rgba(18,56,81,.1);padding:15px 17px;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1fr);gap:16px;color:#142b3e;overflow:hidden;align-self:stretch}
#smr09141JoinPanel *{box-sizing:border-box}
#smr09141JoinPanel .smr09141-kicker{font-size:10px;font-weight:900;letter-spacing:.1em;color:#147099;text-transform:uppercase;margin:0 0 6px}
#smr09141JoinPanel h2{font:800 clamp(18px,2vw,23px)/1.12 system-ui,sans-serif!important;margin:0 0 7px!important;color:#112e42!important}
#smr09141JoinPanel p{font-size:12px;line-height:1.4;margin:0 0 10px;color:#385267}
#smr09141JoinPanel .smr09141-cta{background:linear-gradient(110deg,#ffad52,#fa6c3e);border:0;color:#092238;border-radius:10px;cursor:pointer;font:900 13px system-ui;padding:11px 14px;box-shadow:0 3px 7px #10334a29;max-width:100%;width:100%}
#smr09141JoinPanel .smr09141-cta:focus-visible{outline:3px solid #136f9a;outline-offset:2px}
#smr09141JoinPanel .smr09141-small{font-size:10px;margin-top:7px;margin-bottom:0;color:#527085}
#smr09141JoinPanel .smr09141-right{border-left:1px solid #dbeaf3;padding-left:13px}
#smr09141JoinPanel .smr09141-right strong{display:block;font:900 13px system-ui;margin-bottom:8px}
#smr09141JoinPanel ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
#smr09141JoinPanel li{font:600 11.5px/1.35 system-ui;color:#274358}
#smr09141JoinPanel li:before{content:'✓';font-weight:900;color:#14865e;margin-right:7px}
@media(min-width:901px){
 #smrSocialHome8680 #smr113FeatureGrid{grid-template-rows:auto minmax(0,1fr)!important;align-items:stretch!important}
 #smrSocialHome8680 #smr113FeatureGrid > #smr8812ChallengeFrontDoor{grid-row:1 / span 2!important;grid-column:1!important}
 #smrSocialHome8680 #smr113FeatureGrid > #smr9099Spotlight{grid-row:1!important;grid-column:2!important;align-self:start!important}
 #smrSocialHome8680 #smr113FeatureGrid > #smr09141JoinPanel{grid-row:2!important;grid-column:2!important}
 #smrSocialHome8680 #smr112FeatureRow > #smr8812ChallengeFrontDoor{grid-row:1 / span 2!important;grid-column:1!important}
 #smrSocialHome8680 #smr112FeatureRow > #smr9099Spotlight{grid-row:1!important;grid-column:2!important;height:auto!important;align-self:start!important;min-height:0!important}
 #smrSocialHome8680 #smr112FeatureRow > #smr09141JoinPanel{grid-row:2!important;grid-column:2!important}
 #smrSocialHome8680 #smr113FeatureGrid,#smrSocialHome8680 #smr112FeatureRow{row-gap:12px!important}
}
@media(max-width:900px){#smrSocialHome8680 #smr09141JoinPanel{margin:11px 0!important;width:100%!important;display:grid!important;grid-column:1/-1!important;grid-row:auto!important}}
@media(max-width:520px){#smrSocialHome8680 #smr09141JoinPanel{grid-template-columns:1fr;gap:11px}#smr09141JoinPanel .smr09141-right{border-left:0;border-top:1px solid #dbeaf3;padding:10px 0 0}#smr09141JoinPanel ul{grid-template-columns:1fr 1fr;column-gap:10px}}
/* Also support the later declarative layout where both feature cards are direct home children. */
@media(min-width:950px){
 #smrSocialHome8680:has(> #smr8812ChallengeFrontDoor + #smr9099Spotlight) > #smr8812ChallengeFrontDoor{grid-column:1!important;grid-row:1 / span 2!important}
 #smrSocialHome8680:has(> #smr8812ChallengeFrontDoor + #smr9099Spotlight) > #smr9099Spotlight{grid-column:2!important;grid-row:1!important}
 #smrSocialHome8680:has(> #smr8812ChallengeFrontDoor + #smr9099Spotlight) > #smr09141JoinPanel{grid-column:2!important;grid-row:2!important;margin:0!important}
}
/* v0.91.42: direct accessible signup link and unambiguous desktop grid placement. */
#smr09141JoinPanel a.smr09141-cta{display:block;text-align:center;text-decoration:none;line-height:1.4;touch-action:manipulation}
#smr09141JoinPanel a.smr09141-cta:hover{filter:brightness(1.06)}
@media(min-width:901px){
 #smrSocialHome8680 #smr113FeatureGrid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;align-items:stretch!important}
 #smrSocialHome8680 #smr113FeatureGrid>#smr8812ChallengeFrontDoor{grid-column:1!important;grid-row:1/3!important;height:100%!important}
 #smrSocialHome8680 #smr113FeatureGrid>#smr9099Spotlight{grid-column:2!important;grid-row:1!important;align-self:start!important;height:auto!important}
 #smrSocialHome8680 #smr113FeatureGrid>#smr09141JoinPanel{grid-column:2!important;grid-row:2!important;margin:0!important;align-self:stretch!important}
}

/* v0.91.43: final grid has exactly 3 items. Keep the lower-right cell filled. */
@media(min-width:901px){
 #smrSocialHome8680 #smr113FeatureGrid:has(> #smr09141JoinPanel){display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:12px 16px!important;align-items:stretch!important}
 #smrSocialHome8680 #smr113FeatureGrid:has(> #smr09141JoinPanel)>#smr8812ChallengeFrontDoor{grid-column:1!important;grid-row:1 / 3!important;align-self:stretch!important}
 #smrSocialHome8680 #smr113FeatureGrid:has(> #smr09141JoinPanel)>#smr9099Spotlight{grid-column:2!important;grid-row:1!important;align-self:start!important}
 #smrSocialHome8680 #smr113FeatureGrid:has(> #smr09141JoinPanel)>#smr09141JoinPanel{grid-column:2!important;grid-row:2!important;align-self:stretch!important;min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:12px!important;gap:10px!important}
 #smrSocialHome8680 #smr113FeatureGrid #smr09141JoinPanel h2{font-size:18px!important}
 #smrSocialHome8680 #smr113FeatureGrid #smr09141JoinPanel .smr09141-right{padding-left:9px!important}
}
@media(max-width:900px){#smrSocialHome8680 #smr113FeatureGrid > #smr09141JoinPanel{display:grid!important;width:100%!important;margin-top:12px!important}}
