.team-welcome.match-hero {background:#10151b;display:grid;grid-template-columns:1fr 1fr;align-items:center;max-width:1440px;margin:auto;padding:clamp(24px,4vw,60px) 5%;gap:4%;text-align:left}
.match-intro>p:not(.eyebrow){line-height:1.55;max-width:41ch;color:#d7e0e7}
.team-welcome.match-hero h1 {font:italic 800 clamp(42px,5.7vw,84px)/.98 Arial,sans-serif;letter-spacing:-.055em;margin:14px 0 18px;color:#fff}
.match-hero .masthead-actions{justify-content:flex-start;margin:22px 0 8px;gap:18px}
.match-intro .size-link-note{font-size:14px;margin-bottom:0}
.match-feature{position:relative;min-width:0;margin:0;background:#31383f;border:1px solid #435462;border-radius:6px;overflow:hidden}
.match-front{display:block;width:100%;height:clamp(230px,29vw,435px);object-fit:contain}
.back-study{position:absolute;bottom:55px;right:12px;width:22%;max-width:120px;border:1px solid #6e7880;background:#19232b;color:#eef3f6;text-align:center}
.back-study img{width:100%;height:auto;display:block}.back-study span,.match-feature figcaption span{font:600 12px/1.4 Arial,sans-serif}
.match-feature figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:#1c242c;color:white;font-weight:bold}
body .active-lineup{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
.active-lineup .product{min-width:0}.active-lineup .product-image img{display:block;width:100%;height:100%;object-fit:contain;background:#31383f}
.active-lineup .product-info{display:block}.active-lineup .product-info .choose{display:inline-flex;width:auto;height:auto;min-height:44px;padding:8px 13px;border-radius:3px;font:700 14px/1.3 Arial,sans-serif;margin-top:10px}
.drawing-archive,.order-answers{border-block-start:1px solid #475360;padding:15px 0;color:#e0e8ef}
.drawing-archive>summary,.order-answers>summary{font-weight:bold;cursor:pointer;padding:8px 0}
.drawing-archive>summary span{font-size:13px;font-weight:400;margin-left:8px}.order-answers dl{max-width:72ch}.order-answers dt{margin-top:16px;color:white;font-weight:bold}.order-answers dd{margin:5px 0;line-height:1.55}
@media(max-width:760px){.team-welcome.match-hero{grid-template-columns:1fr;padding:18px 5%;gap:18px}.team-welcome.match-hero h1 br{display:none}.team-welcome.match-hero h1 br::after{content:" "}.match-feature{grid-row:1}.match-front{height:200px}.match-feature figcaption{font-size:14px}.match-intro .eyebrow{margin:0}.match-hero .masthead-actions{margin:14px 0 6px}.back-study{width:68px;bottom:45px}.team-welcome.match-hero h1{font-size:36px}.active-lineup .product-info{padding:10px}.active-lineup .product-detail{padding-inline:10px}body .active-lineup{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.active-lineup .product-image{min-height:0;height:145px}.active-lineup .product-info h3{font-size:19px}.drawing-archive>summary span{display:block;margin:4px 0 0 18px}}
@media(max-width:700px){
 body #forgeArcade.tavern-dialog{box-sizing:border-box;width:100%;max-width:100%;height:100dvh;max-height:100dvh;inset:0;margin:0;padding: max(12px,env(safe-area-inset-top)) 14px max(20px,env(safe-area-inset-bottom));border:0;border-top:3px solid #0eeffb;overflow:auto;overscroll-behavior:contain}
 body #forgeArcade .arcade-top{position:sticky;top:0;z-index:3;background:#101720;padding:4px 0}
 body #forgeArcade .tavern-choice,body #forgeArcade .tavern-story-cards button{width:100%;min-height:48px;text-align:left;white-space:normal}
 body #forgeArcade .tavern-scene canvas{display:block;width:100%;max-height:150px;object-fit:contain}
 body #forgeArcade .tavern-stats{display:flex;flex-wrap:wrap;gap:6px 12px}
 body #forgeArcade .tavern-actions{padding-bottom:env(safe-area-inset-bottom)}
 body #forgeArcade :is(input,select){font-size:16px}
}

/* Collection photography shares the same framing across all four core styles. */
body .active-lineup .core-photo {
  position: relative; display:block; width:100%; height:auto; min-height:0; aspect-ratio:1;
  padding:0; overflow:hidden; border:0; border-bottom:1px solid #37444e; cursor:zoom-in;
  background:#33383c;
}
body .active-lineup .core-photo img {display:block;width:100%;height:100%;padding:0;object-fit:contain}
.core-photo:focus-visible {outline:3px solid #0eeffb;outline-offset:-4px}
.core-enlarge {position:absolute;right:9px;bottom:9px;display:grid;place-items:center;width:26px;height:26px;background:#0c121acc;color:#e7eff5;border:1px solid #65727c;border-radius:50%;font:18px/1 system-ui}
body .active-lineup .product-info .choose {color:#e6f6fa;background:#14212a;border:1px solid #5e8392}
body .active-lineup .is-selected .choose {color:#a0f6fc;border-color:#44c6d0}
body .match-front {padding:0}
body.wca-app-mode[data-app-view=lineup] #armory {display:block!important;padding:24px 5% 48px;margin:auto;max-width:1440px}
.wca-app-mode #armory > :is(.order-answers,.drawing-archive,.team-studio,.collection-credit,.collection-catalog) {display:none}
.wca-app-mode .app-welcome .app-lineup-link {display:inline-flex;align-items:center;min-height:44px;margin-inline:12px;padding-inline:4px;background:transparent;border:0;box-shadow:none;color:#c3e6ed;font:600 14px/1.3 system-ui;text-decoration:underline;text-underline-offset:4px}
.wca-app-mode .app-dock [data-open-arcade] {color:#a7eff6;border-color:#466a76;background:#15242e}

/* The tournament gets its own stadium marquee. The tavern art belongs to the side quests. */
body #forgeArcade .arcade-ballpark {display:none}
body #forgeArcade[data-arcade-story=cup] .forge-sign {
  position:relative;isolation:isolate;overflow:hidden;background:#17212e;border-color:#3e505e;
  border-inline-start:3px solid #0eeffb;
}
body #forgeArcade[data-arcade-story=cup] .arcade-ballpark {
  display:block;position:absolute;right:0;top:0;width:76%;height:100%;object-fit:cover;object-position:center 50%;image-rendering:pixelated;opacity:.92;
}
body #forgeArcade[data-arcade-story=cup] .forge-sign::before {
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(104deg,#111a24 9%,#19242c 22%,transparent 48%);
}
body #forgeArcade[data-arcade-story=cup] .forge-sign-shield {position:relative;z-index:2}
body #club-arcade {border-top:1px solid #3e4a54;background:#151c24;color:#e2eaf0}
body #club-arcade .eyebrow,body #club-arcade .dice-sigil {color:#73e6ef}
body #club-arcade h2 {font:italic 800 clamp(28px,4vw,54px)/1.05 Arial,sans-serif;letter-spacing:-.035em}
body #club-arcade [data-open-arcade] {color:#0c171c;background:#0eeffb;border:1px solid #0eeffb;font:700 15px/1.25 system-ui;min-height:44px}

/* Don’s original banner sits above the hoodie and scales at its original 8:3 ratio. */
.club-home-banner {width:100%;background:#0b0d10;border-bottom:1px solid #34424c}
.club-home-banner .masthead-art {display:block;width:100%;max-width:1440px;height:auto;margin:0 auto}
.wca-app-mode .club-home-banner {display:none}
.wca-app-mode .app-home-banner {margin:0 0 18px}
.wca-app-mode .app-home-banner .masthead-art {width:100%;height:auto;margin:0}
@media(max-width:760px){.wca-app-mode .app-home-banner{margin:-24px -5.5556% 18px}}

/* Match the action and caption rows within each pair of product cards. */
@supports (grid-template-rows:subgrid){
 body .active-lineup .product {display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;align-items:start;overflow:hidden}
 body .active-lineup .product-info {display:contents}
 body .active-lineup .product-info>div {padding:12px 12px 6px}
 body .active-lineup .product-info .choose {justify-self:start;align-self:start;margin:4px 12px 10px}
}
body .active-lineup .product-detail {padding:0 12px 14px;margin:0;color:#ced9e0;font:400 13px/1.45 system-ui}
@media(min-width:761px) and (max-width:960px){body .active-lineup{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.match-feature figcaption{display:grid;justify-content:start;gap:2px}.match-feature figcaption span{color:#c5d2da}}
@media(max-width:900px){body header nav#mainNavigation.is-open{inset-inline:0;max-height:calc(100dvh - 94px);overflow-y:auto}}
body #request .request-output-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:660px;align-items:stretch}
body #request .request-output-actions>button {min-width:0;margin:0;min-height:44px;height:auto;white-space:normal}
body #request .request-output-actions>button[hidden]{display:none!important}
body #request .request-output-actions #submitReviewedRequest{grid-column:1/-1;margin-bottom:6px}
body #request .request-output-actions :is(#downloadBrief,#saveAccountDraft){color:#d8edf3;background:#16232c;border:1px solid #56717e;box-shadow:none}
@media(max-width:460px){body #request .request-output-actions{grid-template-columns:1fr}}

/* Give controls room for their real labels, including at intermediate widths. */
body .forge .standards {grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));align-items:stretch}
body .forge .standards button {min-width:0;height:auto;white-space:normal;box-sizing:border-box;align-items:stretch}
body .forge .standards button > * {min-width:0;max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
body .forge .standards strong {line-height:1.15}
body #club-arcade {display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:18px 24px}
body #club-arcade [data-open-arcade] {justify-self:start;width:auto;min-width:0;max-width:100%;height:auto;white-space:normal;gap:8px;padding:12px 18px}
body #club-arcade .quiet-forge-controls {grid-column:1/-1;min-width:0;flex-wrap:wrap}
body .kit-editor {min-width:0;container-type:inline-size}
body .kit-navigation {grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
body .kit-navigation :is(#kitBack,#kitNext),body .kit-view-controls button,body .kit-save-options button {min-width:0;max-width:100%;height:auto;white-space:normal;overflow-wrap:break-word}
body .kit-view-controls {display:flex;flex-wrap:wrap;gap:8px}
body .kit-view-controls .view-switch {display:flex;flex-wrap:wrap;max-width:100%}
body .kit-view-controls .view-switch button {min-width:0;flex:1 1 auto}
@container(max-width:24rem){
 body .kit-navigation {grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:6px 12px}
 body .kit-navigation #kitProgress {grid-column:1/-1;grid-row:1;text-align:center;justify-self:center}
 body .kit-navigation #kitBack {grid-column:1;grid-row:2}
 body .kit-navigation #kitNext {grid-column:2;grid-row:2}
}
@media(max-width:650px){
 body #club-arcade {grid-template-columns:minmax(0,1fr)}
 body .forge .standards button {min-height:0}
}
@media(max-width:460px){
 body .forge .standards button {display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:14px;row-gap:3px;text-align:left;padding:12px}
 body .forge .standards button .direction-sample {grid-column:1;grid-row:1/4;width:48px;height:54px;margin:0}
 body .forge .standards button :is(strong,small,.direction-brand,.direction-choice){grid-column:2;margin:0}
 body .forge .standards button .direction-choice {padding-top:6px;margin-top:3px}
}
