.flesh-page { max-width: 1500px; margin: 0 auto; padding: 24px 18px; color: #e6e8eb; letter-spacing: 0; }
.flesh-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.flesh-heading h1 { font-size: 26px; margin: 0; }
.flesh-muted { color: #a5adb6; font-size: 13px; }
.flesh-filters { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 24px; padding: 18px 0; border-block: 1px solid #3a4149; }
.flesh-filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.flesh-filters legend, .flesh-field { font-size: 13px; color: #bec7d0; }
.flesh-calibers { flex-basis: 100%; }
.flesh-calibers legend { float: left; width: auto; margin: 3px 16px 8px 0; }
.flesh-filter-actions { display: flex; gap: 12px; margin-bottom: 10px; }
.flesh-filter-actions button { border: 0; background: transparent; color: #7bd4c6; padding: 2px 0; font-size: 13px; }
.flesh-options { display: flex; flex-wrap: wrap; gap: 8px 18px; clear: both; }
.flesh-options label { display: flex; align-items: center; gap: 6px; color: #edf0f3; font-size: 14px; margin: 0; }
.flesh-options input { accent-color: #57c8b6; width: 16px; height: 16px; }
.flesh-level { display: inline-block; flex: 0 0 auto; padding: 2px 7px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.flesh-level.lv0 { color: #b0b4ba; background: rgba(176, 180, 186, .14); }
.flesh-level.lv1 { color: #4ade80; background: rgba(74, 222, 128, .14); }
.flesh-level-option.lv0 input { accent-color: #b0b4ba; }
.flesh-level-option.lv1 input { accent-color: #4ade80; }
.flesh-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.flesh-field input, .flesh-field select { background: #22282e; color: #edf0f3; border: 1px solid #505a64; border-radius: 4px; padding: 7px 8px; min-height: 36px; }
.flesh-field input { width: 90px; }
.flesh-field select { min-width: 140px; max-width: 100%; }
.flesh-status { min-height: 46px; padding: 14px 0; font-size: 13px; color: #adb7c1; }
.flesh-table-scroll { max-height: 72vh; margin-top: 0; border-radius: 8px; }
.flesh-table { width: 100%; min-width: 885px; }
.flesh-table .build-axis-header, .flesh-table .build-axis-cell { width: 285px; min-width: 285px; max-width: 285px; white-space: normal; overflow-wrap: anywhere; }
.flesh-table .build-axis-cell { font-weight: normal; }
.flesh-table .flesh-part-header { white-space: normal; }
.flesh-part-name { color: #f8fafc; font-size: 14px; font-weight: 800; }
.flesh-table .build-bullet > span:not(.flesh-level) { min-width: 0; }
.flesh-ammo-icon { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
.flesh-table .matrix-result-cell { vertical-align: middle; }
.flesh-table-scroll .table-watermark { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 11; background-repeat: repeat; }
.flesh-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 16px 0 28px; font-size: 14px; }
.flesh-pager button { width: 34px; height: 34px; border: 1px solid #55606c; border-radius: 4px; background: #2c333a; color: #f2f4f6; }
.flesh-pager button:disabled { opacity: .4; }
.flesh-page button:focus-visible, .flesh-page input:focus-visible, .flesh-page select:focus-visible { outline: 2px solid #7bd4c6; outline-offset: 3px; }
.flesh-notes { border-top: 1px solid #3a4149; padding-top: 20px; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.flesh-notes h2 { font-size: 17px; margin: 0 0 12px; }
.flesh-notes p { margin: 8px 0; }
.flesh-formula { color: #eadb9a; }
@media (max-width: 600px) {
    .flesh-page { padding: 18px 10px; }
    .flesh-heading h1 { font-size: 22px; }
    .flesh-filters { gap: 16px; }
    .flesh-field { flex: 1 1 42%; min-width: 0; }
    .flesh-table { display: block; min-width: 0; }
    .flesh-table thead, .flesh-table tbody { display: block; }
    .flesh-table thead { position: sticky; top: 0; z-index: 20; }
    .flesh-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .flesh-table thead th { position: static; width: auto; min-width: 0; max-width: none; padding: 10px 6px; text-align: center !important; }
    .flesh-table thead th:first-child { display: none; }
    .flesh-table .armor-header-meta, .flesh-table .armor-header-metrics { justify-content: center; }
    .flesh-table tbody th:first-child { position: static; width: auto; min-width: 0; max-width: none; grid-column: 1 / -1; border: 0; padding: 12px 10px 8px; box-shadow: none; }
    .flesh-table .matrix-result-cell { width: auto; min-width: 0; max-width: none; padding: 10px 3px 14px; }
    .flesh-table .matrix-result-main { font-size: 12px; }
    .flesh-table .matrix-result-main span, .flesh-table .matrix-result-main em { white-space: normal; overflow-wrap: anywhere; }
}
