/* One catalog-driven three-column workspace. No clipping or page scaling. */
.weapon-profile-document{--profile-header:var(--nav-height,70px);padding-top:var(--profile-header)}
.weapon-profile-document main.weapon-profile{box-sizing:border-box;width:100%;max-width:var(--workspace-max-width);margin:0 auto;padding:var(--site-header-content-gap,18px) 28px 0;display:flex;flex-direction:column;gap:8px;height:auto;min-height:calc(100dvh - var(--profile-header));--profile-copy:12px;--profile-gap:10px;--profile-video-width:360px}
.weapon-profile{font-family:var(--mono)}
.weapon-profile :is(h1,h2,h3,p,dl){margin:0}
.weapon-profile .profile-workspace{display:grid;grid-template-columns:minmax(0,28fr) minmax(0,47fr) minmax(0,25fr);gap:var(--desktop-gap,16px);padding:var(--desktop-panel-padding,14px);border:1px solid var(--line);border-radius:var(--surface-radius,12px);background:var(--surface-panel);min-width:0;min-height:0}
.weapon-profile .profile-panel{min-width:0;min-height:0;padding:0;border:0;background:transparent}
.weapon-profile :is(.profile-center,.profile-identity,.profile-fit){display:flex;flex-direction:column;min-width:0;gap:var(--profile-gap)}
.weapon-profile .profile-center,.weapon-profile .profile-fit{border-left:1px solid var(--line);padding-left:var(--desktop-gap,16px)}
.weapon-profile h2,.weapon-profile h3{font:700 calc((10px) * var(--desktop-font-scale, 1))/1.3 var(--mono);letter-spacing:.06em;color:var(--accent)}
.weapon-profile p{font-size:calc((var(--profile-copy)) * var(--desktop-font-scale, 1));line-height:1.35;color:var(--muted);overflow-wrap:break-word}
.weapon-profile .profile-hero-body{display:flex;flex-direction:column;flex:1;min-height:0;gap:10px}
.weapon-profile .profile-hero-heading{flex:none;min-width:0}
.weapon-profile .profile-eyebrow{font:700 calc((10px) * var(--desktop-font-scale, 1))/1.3 var(--mono);letter-spacing:.12em;margin-bottom:7px}
.weapon-profile h1,.weapon-profile h1.header-title-source{display:block!important;font:400 var(--profile-name-size,clamp(48px,5vw,86px))/1.05 var(--mono);letter-spacing:.015em;color:var(--text);overflow-wrap:anywhere}
.weapon-profile .profile-class{margin-top:7px;font:700 calc((10px) * var(--desktop-font-scale, 1))/1.4 var(--mono);color:var(--muted)}
.weapon-profile .profile-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.weapon-profile .profile-tags span{padding:4px 7px;border:1px solid var(--line);border-radius:4px;font:700 calc((9px) * var(--desktop-font-scale, 1))/1.2 var(--mono);color:var(--muted)}
.weapon-profile .profile-tags span:last-child,.weapon-profile .profile-s2{color:var(--accent)}
.weapon-profile .profile-s2{display:block;margin-top:6px;font:700 calc((10px) * var(--desktop-font-scale, 1))/1.3 var(--mono)}
.weapon-profile .profile-art{position:relative;flex:1;min-height:120px;min-width:0}
.weapon-profile .profile-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.weapon-profile .profile-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:none;gap:0;border-top:1px solid var(--line);padding-top:10px}
.weapon-profile .profile-facts>div{min-width:0;padding:0 8px}
.weapon-profile .profile-facts>div:first-child{padding-left:0}
.weapon-profile .profile-facts>div+div{border-left:1px solid var(--line)}
.weapon-profile dt{font:calc((9px) * var(--desktop-font-scale, 1))/1.3 var(--mono);letter-spacing:.04em;color:var(--muted)}
.weapon-profile dd{margin:5px 0 0;font-size:calc((12px) * var(--desktop-font-scale, 1));line-height:1.3;color:var(--text);overflow-wrap:anywhere}
.weapon-profile .profile-community{display:flex;flex-direction:column;gap:var(--profile-gap);flex:none}
.weapon-profile .profile-favorite{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 10px}
.weapon-profile .profile-favorite-copy{display:flex;align-items:center;flex-wrap:wrap;gap:0 7px;min-height:36px}
.weapon-profile #profile-favorite-total{display:inline-block;margin:0;font:600 calc((30px) * var(--desktop-font-scale, 1))/1 var(--mono);color:var(--accent);font-variant-numeric:tabular-nums}
.weapon-profile .profile-favorite p{display:inline;margin:0;font-size:calc((11px) * var(--desktop-font-scale, 1));text-transform:uppercase}
.weapon-profile #profile-favorite-vote{max-width:230px;padding:8px;border:1px solid var(--accent);border-radius:4px;background:transparent;color:var(--accent);font:700 calc((9px) * var(--desktop-font-scale, 1))/1.3 var(--mono);cursor:pointer;text-align:center}
.weapon-profile #profile-favorite-vote:hover{background:var(--surface-raised)}
.weapon-profile #profile-favorite-vote[aria-pressed=true]{background:var(--accent);color:var(--surface-page)}
.weapon-profile #profile-favorite-vote:disabled{opacity:.55;cursor:default}
.weapon-profile #profile-favorite-status{grid-column:1/-1;font:calc((9px) * var(--desktop-font-scale, 1))/1.3 var(--mono);color:var(--muted)}
.weapon-profile #profile-favorite-status:empty{margin:0}
.weapon-profile .profile-video{flex:none;padding-top:7px;border-top:1px solid var(--line)}
.weapon-profile .profile-video-frame{position:relative;width:min(100%,var(--profile-video-live-width,var(--profile-video-width)));aspect-ratio:16/9;margin:5px auto 0;flex:none}
.weapon-profile .profile-video iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;border-radius:4px;background:var(--surface-page)}
.weapon-profile .profile-video-credit{display:block;margin-top:4px;font:calc((8px) * var(--desktop-font-scale, 1))/1.3 var(--mono);color:var(--muted);text-align:center;text-decoration:none;overflow-wrap:anywhere}
.weapon-profile .profile-about{display:flex;flex-direction:column;gap:var(--profile-gap);flex:1}
.weapon-profile .profile-section-title{font:400 calc((24px) * var(--desktop-font-scale, 1))/1.05 var(--mono);letter-spacing:.015em;color:var(--text)}
.weapon-profile .profile-section-title span{color:var(--accent)}
.weapon-profile .profile-about-copy{display:flex;flex:1;flex-direction:column;justify-content:center;gap:6px}
.weapon-profile .profile-about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px}
.weapon-profile .profile-about-grid>div{min-width:0}
.weapon-profile .profile-about-grid h3{margin-bottom:3px}
.weapon-profile .profile-game{grid-column:1/-1}
.weapon-profile .profile-role,.weapon-profile .profile-unlock{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px;margin:4px 10px 0 0;font-size:calc((10px) * var(--desktop-font-scale, 1));line-height:1.3;color:var(--text)}
.weapon-profile .profile-role span,.weapon-profile .profile-unlock span{font:calc((8px) * var(--desktop-font-scale, 1))/1.3 var(--mono);color:var(--muted)}
.weapon-profile .profile-about-bottom{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:8px;border-top:1px solid var(--line)}
.weapon-profile .profile-game-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.weapon-profile .profile-stat{display:flex;flex-direction:column;gap:3px;min-width:0;padding:0 7px}
.weapon-profile .profile-stat:first-child{padding-left:0}
.weapon-profile .profile-stat+.profile-stat{border-left:1px solid var(--line)}
.weapon-profile .profile-stat-label{font:700 calc((9px) * var(--desktop-font-scale, 1))/1.2 var(--mono);letter-spacing:.04em;color:var(--muted)}
.weapon-profile .profile-stat strong{font:400 calc((25px) * var(--desktop-font-scale, 1))/1 var(--mono);color:var(--text);white-space:nowrap;font-variant-numeric:tabular-nums}
.weapon-profile .profile-stat small{font:calc((8px) * var(--desktop-font-scale, 1))/1.25 var(--mono);color:var(--muted)}
.weapon-profile .profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.weapon-profile .profile-actions a{display:flex;align-items:center;justify-content:center;padding:7px 5px;border:1px solid var(--accent);border-radius:4px;background:var(--accent);color:var(--surface-page);font:700 calc((9px) * var(--desktop-font-scale, 1))/1.3 var(--mono);text-align:center;text-decoration:none}
.weapon-profile .profile-actions a+a{background:transparent;color:var(--accent)}
.weapon-profile .profile-actions a:hover{filter:brightness(1.1)}
.weapon-profile :is(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.weapon-profile .profile-video-credit:hover,.weapon-profile .profile-sources a:hover{color:var(--accent)}
.weapon-profile .profile-fit-heading{display:flex;flex-direction:column;gap:7px}
.weapon-profile .profile-fit-heading p{font:calc((9px) * var(--desktop-font-scale, 1))/1.4 var(--mono);text-transform:uppercase}
.weapon-profile .profile-fit-grid{display:flex;flex-direction:column;gap:12px;flex:1}
.weapon-profile .profile-fit-grid>div{padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--surface-page);min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center}
.weapon-profile .profile-fit-grid h3{margin-bottom:7px}
.weapon-profile ul{display:grid;gap:6px;list-style:none;margin:0;padding:0}
.weapon-profile li{position:relative;padding-left:11px;font-size:calc((12px) * var(--desktop-font-scale, 1));line-height:1.35;color:var(--muted);overflow-wrap:break-word}
.weapon-profile li:before{content:'';position:absolute;left:0;top:.55em;width:3px;height:3px;border-radius:50%;background:var(--accent)}
.weapon-profile .profile-sources{display:flex;flex-wrap:wrap;gap:3px 8px;font:calc((8px) * var(--desktop-font-scale, 1))/1.3 var(--mono);color:var(--muted)}
.weapon-profile .profile-sources a{color:var(--muted);text-decoration:none}
.weapon-profile .workspace-bottom{flex:none;margin:0;position:static;min-width:0}
/* Premium presentation uses existing identity, type and surface tokens only. */
.weapon-profile .profile-hero-heading{padding-bottom:9px;border-bottom:1px solid var(--line)}
.weapon-profile .profile-eyebrow{display:flex;align-items:center;gap:8px;color:var(--accent)}
.weapon-profile .profile-eyebrow:before{content:'';width:22px;height:2px;background:var(--accent)}
.weapon-profile .profile-class{letter-spacing:.07em}
.weapon-profile .profile-tags span{background:var(--surface-page)}
.weapon-profile .profile-art{container-type:inline-size}
.weapon-profile .profile-art:before,.weapon-profile .profile-art:after{content:'';position:absolute;left:0;right:0;height:1px;background:var(--line);pointer-events:none}
.weapon-profile .profile-art:before{top:24px}
.weapon-profile .profile-art:after{bottom:26px}
.weapon-profile .profile-art img{z-index:1;filter:none}
.weapon-profile .profile-art-caption{position:absolute;bottom:4px;left:0;right:0;text-align:center;font:calc((9px) * var(--desktop-font-scale, 1))/1.3 var(--mono);letter-spacing:.15em;color:var(--muted);pointer-events:none}
.weapon-profile .profile-facts{padding:10px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface-page)}
.weapon-profile .profile-facts dd{font-weight:600;font-size:calc((14px) * var(--desktop-font-scale, 1))}
.weapon-profile .profile-favorite{padding:10px 12px;border:1px solid var(--line);border-left:2px solid var(--accent);border-radius:6px;background:var(--surface-page);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text) 3%,transparent)}
.weapon-profile #profile-favorite-vote{background:var(--surface-panel);box-shadow:0 0 9px color-mix(in srgb,var(--accent) 7%,transparent)}
.weapon-profile .profile-stat{background:var(--surface-page);border:1px solid var(--line);border-radius:4px;padding:6px 7px}
.weapon-profile .profile-stat:first-child{padding-left:7px}
.weapon-profile .profile-game-stats{gap:5px}
.weapon-profile .profile-stat strong{font-size:calc((29px) * var(--desktop-font-scale, 1))}
.weapon-profile .profile-stat-label{color:var(--accent)}
.weapon-profile .profile-about-grid h3{display:flex;align-items:center;gap:8px}
.weapon-profile .profile-about-grid h3:after{content:'';height:1px;flex:1;background:var(--line)}
@media(min-width:1101px){
 html:not(.wardogs-ipad) .weapon-profile-document main.weapon-profile{height:calc(100dvh - var(--profile-header));min-height:0}
 html:not(.wardogs-ipad) .weapon-profile .profile-workspace{flex:1}
 html:not(.wardogs-ipad) .weapon-profile .profile-art img{left:calc(var(--desktop-gap,16px) / -2);right:auto;top:22px;width:calc(100% + var(--desktop-gap,16px));height:calc(100% - 48px)}
}
@media(min-width:1101px) and (min-height:951px){
 html:not(.wardogs-ipad) .weapon-profile .profile-workspace{grid-template-columns:minmax(0,32fr) minmax(0,43fr) minmax(0,25fr)}
}
@media(min-width:1101px) and (max-height:950px){
 html:not(.wardogs-ipad) .weapon-profile{--profile-gap:7px;--profile-video-width:320px}
 html:not(.wardogs-ipad) .weapon-profile .profile-favorite{padding-block:4px}
 html:not(.wardogs-ipad) .weapon-profile .profile-stat{padding-block:0}
 html:not(.wardogs-ipad) .weapon-profile .profile-stat strong{font-size:calc((25px) * var(--desktop-font-scale, 1))}
 html:not(.wardogs-ipad) .weapon-profile .profile-fit-grid{gap:8px}
 html:not(.wardogs-ipad) .weapon-profile .profile-fit-grid>div{padding:9px}
 html:not(.wardogs-ipad) .weapon-profile ul{gap:4px}
}
@media(min-width:1101px) and (max-height:820px){
 html:not(.wardogs-ipad) .weapon-profile{--profile-gap:5px;--profile-video-width:260px;--profile-copy:11px}
 html:not(.wardogs-ipad) .weapon-profile .profile-favorite{padding-block:1px}
 html:not(.wardogs-ipad) .weapon-profile .profile-workspace{padding-block:10px}
 html:not(.wardogs-ipad) .weapon-profile .profile-about-copy{gap:4px}
 html:not(.wardogs-ipad) .weapon-profile .profile-about-grid{gap:5px 12px}
 html:not(.wardogs-ipad) .weapon-profile .profile-about-bottom{gap:6px;padding-top:6px}
 html:not(.wardogs-ipad) .weapon-profile .profile-fit-grid>div{padding:8px}
 html:not(.wardogs-ipad) .weapon-profile li{font-size:calc((12px) * var(--desktop-font-scale, 1))}
 html:not(.wardogs-ipad) .weapon-profile .profile-video{padding-top:5px}
}
@media(max-width:1100px){
 .weapon-profile .profile-workspace{grid-template-columns:1fr;gap:20px;padding:16px}
 .weapon-profile .profile-center,.weapon-profile .profile-fit{border-left:0;padding-left:0;padding-top:16px;border-top:1px solid var(--line)}
 .weapon-profile .profile-art{flex:none;height:280px}
 .weapon-profile .profile-fit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .weapon-profile .profile-video-frame{--profile-video-width:420px}
}
@media(max-width:760px){
 .weapon-profile-document main.weapon-profile{padding:12px 12px 0;--profile-copy:14px}
 .weapon-profile h1,.weapon-profile h1.header-title-source{font-size:calc((clamp(34px,calc(10 * var(--type-reference-vw, 1vw)),52px)) * var(--desktop-font-scale, 1))}
 .weapon-profile .profile-workspace{padding:14px}
 .weapon-profile .profile-art{height:clamp(190px,56vw,300px)}
 .weapon-profile .profile-facts{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px}
 .weapon-profile .profile-facts>div:nth-child(odd){padding-left:0;border-left:0}
 .weapon-profile .profile-favorite{grid-template-columns:1fr}
 .weapon-profile #profile-favorite-vote{max-width:none;width:100%}
 .weapon-profile .profile-about-grid{grid-template-columns:1fr;gap:12px}
 .weapon-profile .profile-game{grid-column:auto}
 .weapon-profile .profile-game-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0}
 .weapon-profile .profile-stat:nth-child(odd){padding-left:0;border-left:0}
 .weapon-profile .profile-stat:last-child{grid-column:1/-1}
 .weapon-profile .profile-stat strong{font-size:calc((30px) * var(--desktop-font-scale, 1))}
 .weapon-profile .profile-actions{grid-template-columns:1fr}
 .weapon-profile .profile-fit-grid{grid-template-columns:1fr}
 .weapon-profile li{font-size:calc((13px) * var(--desktop-font-scale, 1))}
}
.wardogs-ipad .weapon-profile .profile-workspace{grid-template-columns:1fr}
.wardogs-ipad .weapon-profile .profile-center,.wardogs-ipad .weapon-profile .profile-fit{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:16px}
.wardogs-ipad .weapon-profile .profile-art{flex:none;height:280px}

/* Compact crawlable profile navigation and native stock-data disclosure. */
.weapon-profile .profile-breadcrumb{font:inherit;letter-spacing:0;text-transform:none;display:flex;flex-wrap:wrap;gap:4px}
.weapon-profile .profile-breadcrumb a{color:inherit;text-decoration:none}
.weapon-profile .profile-breadcrumb a:hover{text-decoration:underline}
.weapon-profile .profile-stock-details{font:calc((11px) * var(--desktop-font-scale, 1))/1.4 var(--mono);color:var(--muted)}
.weapon-profile .profile-stock-details summary{cursor:pointer}
.weapon-profile .profile-stock-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin:6px 0}
.weapon-profile .profile-stock-details dl div{display:flex;justify-content:space-between;gap:6px}
.weapon-profile .profile-stock-details dd{margin:0;color:var(--text)}
