.reference-main{padding-bottom:24px}.reference-card{border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:18px}.reference-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.reference-tabs [aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-bg)}.key-badge{color:var(--accent);font-weight:650}.reference-note{border-left:3px solid var(--accent);background:var(--surface);padding:16px 20px;font-size:14px;line-height:1.7;margin:22px 0}.reference-note p{margin:8px 0 0}.reference-note a,.reference-links a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.weapon-controls{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:20px 0 14px}.weapon-controls>label:not(.checkbox-label){display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--muted);min-width:150px;flex:1}.weapon-controls input[type=search]{min-width:180px}.weapon-controls .checkbox-label{font-size:14px;align-self:center}.weapon-table{min-width:850px}.weapon-table th:first-child,.weapon-table td:first-child{position:sticky;left:0;z-index:1;background:var(--surface)}.weapon-table th:first-child{background:var(--soft)}.weapon-table td{padding-top:12px;padding-bottom:12px}.weapon-name{border:0;background:transparent;color:var(--accent);font-size:15px;font-weight:650;padding:4px 0;text-align:left}.weapon-status{display:block;color:var(--muted);font-size:12px}.weapon-explorer{margin-top:38px;scroll-margin-top:20px}.reference-caption{font-size:13px;line-height:1.7;margin:12px 0}.reference-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.reference-summary strong{display:block;font-size:34px;margin:8px 0 0;color:var(--accent)}.reference-summary span,.reference-summary p{display:block;font-size:13px;color:var(--muted);line-height:1.7}.reference-summary>div:nth-child(2) strong{color:#e7b15f}.reference-links{display:flex;gap:20px;flex-wrap:wrap;font-size:14px;margin:20px 0}.distance-control{display:flex;gap:18px;align-items:center;margin:20px 0}.distance-control label{white-space:nowrap;font-size:14px}.distance-control input{flex:1;min-width:100px;accent-color:var(--accent);padding:0;background:transparent;border:0}.damage-chart{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px;min-height:250px}.damage-chart svg{width:100%;height:210px;display:block}.damage-chart text{font-size:12px;fill:var(--muted)}.damage-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;padding:0 12px}.damage-legend span:first-child{color:var(--accent)}.damage-legend span:nth-child(2){color:#e7b15f}.damage-legend small{color:var(--muted);margin-left:auto}.distance-marker{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 4}
@media(max-width:760px){.reference-summary{grid-template-columns:1fr 1fr}.weapon-controls{gap:10px}.weapon-controls>label:not(.checkbox-label){min-width:calc(50% - 10px)}.damage-legend small{margin-left:0;width:100%}.reference-note{padding:12px 14px}}
@media(max-width:440px){.reference-summary{grid-template-columns:1fr}.reference-card{padding:14px}.reference-main .page-heading{padding-bottom:20px}}
.weapon-catalog{max-height:550px}
.weapon-catalog thead{position:sticky;top:0;z-index:3}
.reference-main .table-container tbody td:first-child,.reference-main .table-container thead tr:first-child th:first-child{position:sticky;left:0;z-index:1;background:var(--surface)}
.reference-main .table-container thead tr:first-child th:first-child{background:var(--soft)}
.reference-note details{margin-top:8px}
.reference-note summary{cursor:pointer;color:var(--muted)}

.reference-summary>div:nth-child(2) strong,.damage-legend span:nth-child(2){color:var(--trend)}












