/* A fourth compact tile beside the three Instagram cards. */
.banner-community{display:grid;grid-template-columns:minmax(0,3fr) minmax(190px,1fr);gap:24px;align-items:start;margin:58px 0 24px}
.banner-community .banner-social{max-width:none;min-width:0;margin:0;padding:24px 0 0}
.merch-window{min-width:0;padding-top:24px;border-top:1px solid #ffffff30}
.banner-community .banner-social-top{min-height:58px}
.merch-heading{min-height:58px;margin-bottom:16px;display:flex;flex-direction:column;justify-content:flex-end}
.merch-heading h2{font:700 27px/1 var(--athletic);letter-spacing:.6px;margin-top:8px}
.merch-tile{position:relative;isolation:isolate;display:block;aspect-ratio:1.65;overflow:hidden;border:1px solid #ffffff30;background:radial-gradient(ellipse at 50% 45%,#393a3e,#191a1e 72%);color:#fff;transition:border-color 240ms ease,box-shadow 240ms ease}
.merch-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform:scale(1.12);filter:drop-shadow(0 5px 7px #0007);transition:transform 400ms cubic-bezier(.2,.7,.2,1)}
.merch-tile-link{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:24px 12px 10px;background:linear-gradient(transparent,#08090de8);font:600 10px var(--tech);letter-spacing:.8px}
.merch-tile-link>span{font:20px/1 Arial;transition:transform 240ms ease}
.merch-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;min-height:20px;color:#93939d;font-size:10px}
.merch-provider-logo{background:#e9e9e5;padding:4px 6px;display:flex;align-items:center;justify-content:center}.merch-provider-logo svg{display:block;width:65px;height:15px}
.merch-tile:focus-visible{outline:2px solid white;outline-offset:4px}
@media(hover:hover) and (pointer:fine){.merch-tile:hover{border-color:#ffffffa6;box-shadow:0 8px 18px #0003}.merch-tile:hover>img{transform:scale(1.17)}.merch-tile:hover .merch-tile-link>span{transform:translate(3px,-3px)}}
@media(max-width:1100px){.banner-community{gap:20px;margin-top:50px}.merch-heading h2{font-size:25px}.merch-heading .banner-section-code{font-size:7px;letter-spacing:.8px}.merch-tile-link{font-size:9px}}
@media(max-width:850px){
 .banner-community{grid-template-columns:minmax(0,1fr);gap:22px;margin-top:42px}
 .merch-window{position:relative;min-height:152px;padding:20px 170px 18px 20px;border:1px solid #ffffff25;background:#15161ade}
 .merch-heading{min-height:0;margin:0}.merch-heading h2{font-size:30px;margin-top:10px}
 .merch-tile{position:absolute;right:12px;top:12px;width:128px;height:128px;aspect-ratio:1;border-color:#ffffff15;background:radial-gradient(ellipse,#ffffff0c,transparent 75%)}
 .merch-tile-link{padding:20px 9px 6px;font-size:8px;letter-spacing:.4px}.merch-tile-link>span{font-size:18px}
 .merch-meta{margin-top:22px;max-width:210px}.merch-provider-logo svg{width:60px;height:14px}
}
@media(max-width:500px){
 .banner-community{margin-top:36px;margin-bottom:22px;gap:20px}
 .merch-window{padding:18px 144px 18px 16px;min-height:142px}
 .merch-heading h2{font-size:27px}.merch-heading .banner-section-code{font-size:6px;letter-spacing:.6px}
 .merch-tile{right:8px;top:8px;width:124px;height:124px}.merch-meta{flex-wrap:wrap;gap:5px 10px;margin-top:17px;font-size:9px}.merch-provider-logo svg{width:56px;height:13px}
}
@media(prefers-reduced-motion:reduce){.merch-tile,.merch-tile>img,.merch-tile-link>span{transition:none!important}.merch-tile:hover>img{transform:scale(1.12)}.merch-tile:hover .merch-tile-link>span{transform:none}}



/* All five motifs remain visible together without scrolling or controls. */
.merch-static-products{position:absolute;inset:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px;padding:10px 12px 34px}
.merch-static-products svg{display:block;grid-column:span 2;width:100%;height:100%;min-width:0;overflow:visible;filter:drop-shadow(0 3px 5px #0005)}
.merch-static-products svg:nth-child(4){grid-column:2 / span 2}.merch-static-products svg:nth-child(5){grid-column:4 / span 2}
.merch-tile>.merch-tile-link{min-height:34px;padding-top:10px;padding-bottom:9px}
@media(max-width:850px){.merch-static-products{gap:5px;padding:6px 6px 30px}}

/* Match the full Instagram panel while keeping all five products visible. */
@media(min-width:851px){
 .banner-community{align-items:stretch}
 .merch-window{position:relative;display:flex;flex-direction:column}
 .merch-heading{flex:none}
 .merch-window .merch-tile{flex:1;min-height:0;aspect-ratio:auto}
 .merch-static-products{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px;padding:14px 14px 82px}
 .merch-static-products svg{grid-column:auto}
 .merch-static-products svg:nth-child(4){grid-column:auto}
 .merch-static-products svg:nth-child(5){grid-column:1 / -1;width:56%;justify-self:center}
 .merch-meta{position:absolute;bottom:46px;left:12px;right:12px;margin:0;min-height:22px;font-size:9px;pointer-events:none}
}
.merch-window .merch-tile-link{min-height:44px;background:linear-gradient(transparent,#08090df5);font-size:11px}
.merch-window .merch-tile-link:focus-visible{outline:2px solid #fff;outline-offset:-4px}
@media(hover:hover) and (pointer:fine){.merch-window .merch-tile-link:hover{background:#ffffff14;color:#fff}}
@media(max-width:850px){
 .merch-window{display:flex;flex-direction:column;padding:22px 0 0;min-height:0;border:0;border-top:1px solid #ffffff30;background:transparent}
 .merch-heading{margin-bottom:16px}
 .merch-window .merch-tile{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1.8}
 .merch-static-products{padding:12px 16px 48px;gap:10px}
 .merch-meta{margin-top:12px;max-width:none;flex-wrap:nowrap;font-size:10px}
}
@media(max-width:500px){.merch-window .merch-tile{aspect-ratio:1.4}}

/* A clear shop action and individual product highlights. */
.merch-window .merch-tile>.merch-tile-link{
 inset:auto 12px 12px;min-height:48px;padding:12px 15px;
 border:1px solid #ffffffc9;background:#eeeeeb;color:#101114;
 box-shadow:0 3px 14px #0004;
 font:800 18px/1 var(--athletic);letter-spacing:1.4px;
 transition:background 220ms ease,border-color 220ms ease,box-shadow 220ms ease;
 z-index:3;
}
.merch-window .merch-tile-link>span{font-size:23px}
.merch-window .merch-tile-link:focus-visible{outline:2px solid #fff;outline-offset:4px}
.merch-static-products svg{
 position:relative;transform-origin:center;
 transition:transform 320ms cubic-bezier(.22,.68,.25,1),filter 320ms ease;
}
@media(min-width:851px){
 .merch-static-products{padding-bottom:108px}
 .merch-meta{bottom:76px}
}
@media(max-width:850px){.merch-static-products{padding-bottom:78px}}
@media(hover:hover) and (pointer:fine){
 .merch-window .merch-tile-link:hover{
  background:#fff;color:#08090b;border-color:#fff;
  box-shadow:0 0 22px #ffffff30,0 5px 18px #0005;
 }
 .merch-static-products svg:hover{
  transform:translateY(-3px) scale(1.07);
  filter:drop-shadow(0 0 5px #ffffff65) drop-shadow(0 0 13px #ffffff25) drop-shadow(0 6px 8px #0008);
  z-index:2;
 }
}
@media(prefers-reduced-motion:reduce){
 .merch-static-products svg,.merch-window .merch-tile-link{transition:none}
 .merch-static-products svg:hover{transform:none}
}

/* Transparent provider logo: white lettering and the original red accent on dark. */
.merch-provider-logo{background:transparent;padding:0;flex:none}
.merch-provider-logo img{display:block;width:92px;height:auto;filter:none;object-fit:contain}
@media(max-width:500px){.merch-provider-logo img{width:82px}}

/* Preserve the uploaded black/red original at full contrast. */
.merch-provider-logo{background:#f4f4f1;padding:5px 7px;border-radius:2px}
.merch-provider-logo img{opacity:1;filter:none}

#team-shop-notice {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(380px, calc(100vw - 32px));
  height: fit-content;
  padding: 28px;
  border: 1px solid #565659;
  background: #171719;
  color: #fafafa;
  box-shadow: 0 16px 56px #0008;
}
#team-shop-notice::backdrop { background: #0009; }
#team-shop-notice h2 { margin: 0 0 20px; font: 700 28px/1.15 var(--athletic); }
#team-shop-notice button { padding: 10px 16px; border: 0; background: #eee; color: #111; cursor: pointer; }
#team-shop-notice button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
