    .weapon-lab {
        --wl-bg: #0b1220;
        --wl-panel: #121d2e;
        --wl-panel-2: #172438;
        --wl-panel-3: #1c2b41;
        --wl-line: rgba(38, 53, 74, 0.92);
        --wl-line-strong: rgba(243, 201, 105, 0.38);
        --wl-text: #f8fafc;
        --wl-soft: #cbd5e1;
        --wl-muted: #94a3b8;
        --wl-dim: #64748b;
        --wl-gold: #f3c969;
        --wl-gold-soft: rgba(243, 201, 105, 0.14);
        --wl-blue: #38bdf8;
        --wl-green: #55c2a3;
        --wl-red: #f07d73;
        --wl-purple: #a78bfa;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        color: var(--wl-text);
    }

    .weapon-lab a { color: inherit; }
    .weapon-lab [hidden] { display: none !important; }

    .wl-shell {
        display: grid;
        gap: 18px;
    }

    .wl-shell > * {
        min-width: 0;
    }

    .wl-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
        align-items: end;
        padding: 22px 0 8px;
        border-bottom: 1px solid var(--wl-line);
    }

    .wl-kicker {
        color: var(--wl-gold);
        font-size: 0.76rem;
        font-weight: 900;
        letter-spacing: 0;
        margin-bottom: 8px;
    }

    .wl-title {
        margin: 0;
        color: var(--wl-text);
        font-size: clamp(1.85rem, 3vw, 3rem);
        line-height: 1.02;
        font-weight: 950;
        letter-spacing: 0;
        word-break: keep-all;
    }

    .wl-subtitle {
        max-width: 760px;
        margin: 10px 0 0;
        color: var(--wl-soft);
        line-height: 1.6;
        word-break: keep-all;
    }

    .wl-actions {
        display: flex;
        gap: 8px;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .wl-action,
    .wl-chip,
    .wl-icon-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 38px;
        border-radius: 8px;
        border: 1px solid var(--wl-line);
        background: rgba(15, 23, 42, 0.72);
        color: var(--wl-soft);
        padding: 0 12px;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 900;
        cursor: pointer;
        white-space: nowrap;
    }

    .wl-action.primary {
        border-color: var(--wl-gold);
        background: var(--wl-gold);
        color: #020617;
    }

    .wl-action:hover,
    .wl-action:focus-visible,
    .wl-chip:hover,
    .wl-chip:focus-visible,
    .wl-icon-action:hover,
    .wl-icon-action:focus-visible {
        border-color: rgba(255, 188, 5, 0.58);
        color: var(--wl-gold);
        outline: none;
    }

    .wl-action.primary:hover,
    .wl-action.primary:focus-visible {
        background: #ffd35a;
        color: #020617;
    }

    .wl-panel {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(11, 18, 32, 0.98));
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 18px;
    }

    .wl-section-head {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 14px;
    }

    .wl-section-title {
        margin: 0;
        color: var(--wl-text);
        font-size: 1.08rem;
        font-weight: 950;
        letter-spacing: 0;
    }

    .wl-section-copy {
        margin: 5px 0 0;
        color: var(--wl-muted);
        font-size: 0.84rem;
        line-height: 1.55;
        word-break: keep-all;
    }

    .wl-filter-card {
        position: relative;
        overflow: hidden;
        padding: 16px;
        background:
            linear-gradient(135deg, rgba(255, 188, 5, 0.08), transparent 34%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(7, 12, 24, 0.98));
    }

    .wl-filter-card::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 3px;
        background: linear-gradient(180deg, var(--wl-gold), rgba(56, 189, 248, 0.26));
    }

    .wl-filter-panel {
        display: grid;
        grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
        gap: 12px 16px;
        align-items: stretch;
        position: relative;
    }

    .wl-filter-panel.three {
        grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    }

    .wl-filter-group {
        min-width: 0;
    }

    .wl-filter-search-group {
        display: grid;
        gap: 8px;
        align-content: center;
        grid-row: span 2;
        padding: 12px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 8px;
        background: rgba(2, 6, 23, 0.34);
    }

    .wl-filter-row-group {
        display: grid;
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
        padding: 10px;
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 8px;
        background: rgba(2, 6, 23, 0.3);
    }

    .wl-field-label {
        color: var(--wl-soft);
        font-size: 0.78rem;
        font-weight: 950;
        line-height: 1.2;
    }

    .wl-filter-row-group .wl-field-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 10px;
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 7px;
        background: rgba(15, 23, 42, 0.68);
        color: #e2e8f0;
        white-space: nowrap;
    }

    .wl-search {
        position: relative;
        display: block;
    }

    .wl-search i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--wl-dim);
        font-size: 1rem;
    }

    .wl-search input {
        width: 100%;
        min-height: 54px;
        border-radius: 8px;
        border: 1px solid rgba(148, 163, 184, 0.22);
        background: rgba(2, 6, 23, 0.68);
        color: var(--wl-text);
        padding: 0 16px 0 46px;
        font-weight: 900;
        outline: none;
    }

    .wl-search input:focus {
        border-color: rgba(255, 188, 5, 0.72);
        box-shadow: 0 0 0 3px rgba(255, 188, 5, 0.14);
    }

    .wl-chip-row {
        display: flex;
        gap: 7px;
        flex-wrap: wrap;
        min-width: 0;
    }

    .wl-filter-card .wl-chip {
        min-height: 36px;
        border-radius: 7px;
        color: var(--wl-muted);
        background: rgba(15, 23, 42, 0.62);
        padding-inline: 13px;
    }

    .wl-filter-card .wl-chip.active {
        color: #020617;
        background: linear-gradient(180deg, #ffd35a, var(--wl-gold));
        border-color: rgba(255, 188, 5, 0.95);
        box-shadow: 0 8px 22px rgba(255, 188, 5, 0.16);
    }

    .wl-filter-status {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        margin-top: 12px;
        padding: 6px 10px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 7px;
        background: rgba(15, 23, 42, 0.52);
        color: var(--wl-soft);
        font-size: 0.82rem;
        font-weight: 850;
    }

    .wl-mode-overview {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
    }

    .wl-mode-stat {
        min-width: 0;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.34);
    }

    .wl-mode-stat strong {
        display: block;
        color: var(--wl-text);
        font-size: 0.86rem;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wl-mode-stat span {
        color: var(--wl-muted);
        font-size: 0.73rem;
        font-weight: 800;
    }

    .wl-tier-rubric {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
    }

    .wl-tier-rubric.compact {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .wl-tier-rule {
        min-width: 0;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.24);
    }

    .wl-tier-rule strong {
        display: block;
        margin-top: 9px;
        color: var(--wl-text);
        font-size: 0.86rem;
        font-weight: 950;
    }

    .wl-tier-rule p {
        margin: 5px 0 0;
        color: var(--wl-muted);
        font-size: 0.74rem;
        line-height: 1.45;
        word-break: keep-all;
    }

    .wl-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .wl-progressive-load {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
        color: var(--wl-muted);
        font-size: 0.78rem;
        font-weight: 850;
    }

    .wl-progressive-load[hidden] {
        display: none;
    }

    .wl-weapon-card {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        min-height: 132px;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        background: rgba(15, 23, 42, 0.84);
        padding: 14px;
        text-decoration: none;
        transition: border-color 0.16s ease, transform 0.16s ease;
    }

    .wl-weapon-card.is-hidden {
        display: none !important;
    }

    .wl-weapon-card:hover,
    .wl-weapon-card:focus-visible {
        border-color: rgba(255, 188, 5, 0.6);
        transform: translateY(-1px);
        outline: none;
    }

    .wl-weapon-icon,
    .wl-passport-icon {
        border-radius: 8px;
        background: #020617;
        border: 1px solid rgba(255, 188, 5, 0.25);
        object-fit: contain;
    }

    .wl-weapon-icon {
        width: 58px;
        height: 58px;
    }

    .wl-weapon-name {
        color: var(--wl-text);
        font-size: 1rem;
        font-weight: 950;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wl-weapon-meta {
        margin-top: 4px;
        color: var(--wl-muted);
        font-size: 0.76rem;
        font-weight: 800;
    }

    .wl-tier-strip {
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .wl-tier,
    .wl-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        border-radius: 6px;
        padding: 0 8px;
        font-size: 0.72rem;
        font-weight: 950;
        color: var(--wl-soft);
        background: rgba(148, 163, 184, 0.13);
        border: 1px solid transparent;
        white-space: nowrap;
    }

    .wl-tier.s { color: var(--wl-gold); background: rgba(255, 188, 5, 0.13); border-color: rgba(255, 188, 5, 0.22); }
    .wl-tier.a { color: #86efac; background: rgba(34, 197, 94, 0.13); border-color: rgba(34, 197, 94, 0.2); }
    .wl-tier.b { color: #7dd3fc; background: rgba(56, 189, 248, 0.13); border-color: rgba(56, 189, 248, 0.2); }
    .wl-tier.c { color: #c4b5fd; background: rgba(139, 92, 246, 0.13); border-color: rgba(139, 92, 246, 0.2); }
    .wl-tier.d { color: #fda4af; background: rgba(251, 113, 133, 0.12); border-color: rgba(251, 113, 133, 0.2); }
    .wl-label.high, .wl-label.strong, .wl-label.proof { color: #86efac; background: rgba(34, 197, 94, 0.12); }
    .wl-label.medium, .wl-label.build, .wl-label.beginner { color: #7dd3fc; background: rgba(56, 189, 248, 0.12); }
    .wl-label.low, .wl-label.sample, .wl-label.cost, .wl-label.difficulty { color: #fda4af; background: rgba(251, 113, 133, 0.12); }
    .wl-label.neutral { color: var(--wl-muted); background: rgba(148, 163, 184, 0.12); }

    .wl-passport {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr) 260px;
        gap: 18px;
        align-items: center;
        background:
            linear-gradient(135deg, rgba(255, 188, 5, 0.16), transparent 34%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.94));
        border: 1px solid var(--wl-line-strong);
        border-radius: 8px;
        padding: 20px;
    }

    .wl-passport-icon {
        width: 132px;
        height: 132px;
    }

    .wl-passport-title {
        margin: 0;
        font-size: clamp(1.75rem, 3.2vw, 3.1rem);
        line-height: 1.02;
        font-weight: 950;
        letter-spacing: 0;
    }

    .wl-passport-sub {
        margin: 8px 0 0;
        color: var(--wl-soft);
        line-height: 1.6;
        word-break: keep-all;
    }

    .wl-passport-sub strong {
        color: var(--wl-text);
    }

    .wl-passport-side {
        display: grid;
        gap: 8px;
    }

    .wl-metric-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .wl-metric {
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.28);
    }

    .wl-metric span {
        display: block;
        color: var(--wl-muted);
        font-size: 0.72rem;
        font-weight: 900;
        margin-bottom: 5px;
    }

    .wl-metric strong {
        display: block;
        color: var(--wl-text);
        font-size: 1.1rem;
        font-weight: 950;
        white-space: nowrap;
    }

    .wl-preview .wl-metric strong {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .wl-two-col {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
        gap: 14px;
        align-items: start;
    }

    .wl-mode-table {
        display: grid;
        gap: 8px;
    }

    .wl-mode-row {
        display: grid;
        grid-template-columns: 1.2fr 0.6fr 0.7fr 0.7fr 0.8fr 0.8fr;
        gap: 8px;
        align-items: center;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 11px;
        background: rgba(2, 6, 23, 0.25);
    }

    .wl-mode-row.header {
        min-height: 34px;
        color: var(--wl-muted);
        font-size: 0.72rem;
        font-weight: 950;
        background: rgba(15, 23, 42, 0.84);
    }

    .wl-mode-name {
        min-width: 0;
    }

    .wl-mode-name strong {
        display: block;
        color: var(--wl-text);
        font-size: 0.9rem;
        font-weight: 950;
    }

    .wl-mode-name span,
    .wl-mode-cell {
        color: var(--wl-muted);
        font-size: 0.76rem;
        font-weight: 850;
    }

    .wl-reason-list,
    .wl-route-list,
    .wl-build-list,
    .wl-master-list,
    .wl-signal-list,
    .wl-matchup-stack {
        display: grid;
        gap: 10px;
    }

    .wl-master-overview {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 12px;
    }

    .wl-master-summary {
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 12px;
        background: rgba(255, 188, 5, 0.06);
    }

    .wl-master-summary span {
        display: block;
        color: var(--wl-muted);
        font-size: 0.72rem;
        font-weight: 900;
    }

    .wl-master-summary strong {
        display: block;
        margin-top: 4px;
        color: var(--wl-text);
        font-size: 1.04rem;
        font-weight: 950;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wl-master-summary p {
        margin: 4px 0 0;
        color: var(--wl-muted);
        font-size: 0.76rem;
        line-height: 1.45;
        word-break: keep-all;
    }

    .wl-reason {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.28);
    }

    .wl-reason i {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: var(--wl-gold-soft);
        color: var(--wl-gold);
    }

    .wl-reason strong {
        display: block;
        color: var(--wl-text);
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .wl-reason p {
        margin: 0;
        color: var(--wl-muted);
        font-size: 0.8rem;
        line-height: 1.5;
        word-break: keep-all;
    }

    .wl-signal-card {
        display: grid;
        gap: 10px;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.28);
    }

    .wl-signal-card.high {
        border-color: rgba(34, 197, 94, 0.28);
        background: rgba(34, 197, 94, 0.07);
    }

    .wl-signal-card.medium {
        border-color: rgba(56, 189, 248, 0.25);
        background: rgba(56, 189, 248, 0.07);
    }

    .wl-signal-card span {
        display: block;
        color: var(--wl-gold);
        font-size: 0.68rem;
        font-weight: 950;
    }

    .wl-signal-card strong {
        display: block;
        margin-top: 4px;
        color: var(--wl-text);
        font-size: 0.88rem;
        font-weight: 950;
        line-height: 1.35;
        word-break: keep-all;
    }

    .wl-signal-card p {
        margin: 5px 0 0;
        color: var(--wl-muted);
        font-size: 0.78rem;
        line-height: 1.5;
        word-break: keep-all;
    }

    .wl-matchup-mode {
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        background: rgba(2, 6, 23, 0.25);
        padding: 12px;
    }

    .wl-matchup-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

    .wl-matchup-head strong {
        color: var(--wl-text);
        font-size: 0.9rem;
        font-weight: 950;
    }

    .wl-matchup-head a {
        color: var(--wl-gold);
        font-size: 0.72rem;
        font-weight: 950;
        text-decoration: none;
    }

    .wl-matchup-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .wl-matchup-label {
        display: block;
        margin-bottom: 7px;
        font-size: 0.7rem;
        font-weight: 950;
    }

    .wl-matchup-label.strong {
        color: var(--wl-green);
    }

    .wl-matchup-label.weak {
        color: var(--wl-red);
    }

    .wl-matchup-list {
        display: grid;
        gap: 7px;
    }

    .wl-matchup-item {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        border: 1px solid rgba(148, 163, 184, 0.13);
        border-radius: 8px;
        background: rgba(15, 23, 42, 0.55);
        color: inherit;
        text-decoration: none;
        padding: 7px;
    }

    .wl-matchup-item:hover,
    .wl-matchup-item:focus-visible {
        border-color: rgba(255, 188, 5, 0.48);
        outline: none;
    }

    .wl-matchup-item img {
        width: 30px;
        height: 30px;
        object-fit: contain;
        border-radius: 7px;
        background: #020617;
    }

    .wl-matchup-item span {
        color: var(--wl-soft);
        font-size: 0.74rem;
        font-weight: 900;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-matchup-item strong {
        color: var(--wl-text);
        font-size: 0.74rem;
        font-weight: 950;
    }

    .wl-matchup-board {
        display: grid;
        gap: 14px;
    }

    .wl-matchup-board-mode {
        position: relative;
        overflow: hidden;
    }

    .wl-matchup-board-mode::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
            linear-gradient(90deg, rgba(34, 197, 94, 0.07), transparent 38%),
            linear-gradient(270deg, rgba(251, 113, 133, 0.07), transparent 38%);
    }

    .wl-matchup-board-mode > * {
        position: relative;
    }

    .wl-matchup-columns {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .wl-matchup-column {
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        background: rgba(2, 6, 23, 0.22);
        padding: 12px;
        min-width: 0;
    }

    .wl-matchup-column.strong {
        border-color: rgba(34, 197, 94, 0.24);
    }

    .wl-matchup-column.weak {
        border-color: rgba(251, 113, 133, 0.24);
    }

    .wl-matchup-column-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

    .wl-matchup-column-head span {
        color: var(--wl-muted);
        font-size: 0.74rem;
        font-weight: 950;
    }

    .wl-matchup-column.strong .wl-matchup-column-head strong {
        color: var(--wl-green);
    }

    .wl-matchup-column.weak .wl-matchup-column-head strong {
        color: var(--wl-red);
    }

    .wl-matchup-radar-list {
        display: grid;
        gap: 8px;
    }

    .wl-matchup-radar {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-height: 58px;
        border: 1px solid rgba(148, 163, 184, 0.13);
        border-radius: 8px;
        background: rgba(15, 23, 42, 0.62);
        color: inherit;
        padding: 8px;
        text-decoration: none;
    }

    .wl-matchup-radar:hover,
    .wl-matchup-radar:focus-visible {
        border-color: rgba(255, 188, 5, 0.5);
        outline: none;
    }

    .wl-matchup-radar img {
        width: 42px;
        height: 42px;
        object-fit: contain;
        border-radius: 8px;
        background: #020617;
    }

    .wl-matchup-radar-body {
        display: grid;
        gap: 5px;
        min-width: 0;
    }

    .wl-matchup-radar-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-width: 0;
    }

    .wl-matchup-radar-title strong {
        color: var(--wl-text);
        font-size: 0.82rem;
        font-weight: 950;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-matchup-radar-title span {
        flex: 0 0 auto;
        border-radius: 999px;
        padding: 3px 7px;
        font-size: 0.68rem;
        font-weight: 950;
        background: rgba(148, 163, 184, 0.12);
        color: var(--wl-soft);
    }

    .wl-matchup-radar.strong .wl-matchup-radar-title span {
        background: rgba(34, 197, 94, 0.13);
        color: var(--wl-green);
    }

    .wl-matchup-radar.weak .wl-matchup-radar-title span {
        background: rgba(251, 113, 133, 0.13);
        color: var(--wl-red);
    }

    .wl-matchup-meter {
        height: 6px;
        border-radius: 999px;
        overflow: hidden;
        background: rgba(148, 163, 184, 0.14);
    }

    .wl-matchup-meter span {
        display: block;
        width: var(--rate, 0%);
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--wl-gold), var(--wl-green));
    }

    .wl-matchup-radar.weak .wl-matchup-meter span {
        background: linear-gradient(90deg, var(--wl-red), #f97316);
    }

    .wl-matchup-radar p {
        margin: 0;
        color: var(--wl-muted);
        font-size: 0.74rem;
        font-weight: 850;
    }

    .wl-matchup-hotspots {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .wl-matrix-stage {
        overflow: hidden;
    }

    .wl-matrix-scroll {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-color: rgba(255, 188, 5, 0.5) rgba(15, 23, 42, 0.8);
    }

    .wl-matrix-grid {
        display: grid;
        gap: 6px;
        align-items: stretch;
    }

    .wl-matrix-corner,
    .wl-matrix-head,
    .wl-matrix-source,
    .wl-matrix-cell {
        min-height: 70px;
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 8px;
        background: rgba(2, 6, 23, 0.38);
    }

    .wl-matrix-corner {
        display: flex;
        align-items: center;
        color: var(--wl-muted);
        font-size: 0.74rem;
        font-weight: 950;
        padding: 10px;
    }

    .wl-matrix-head,
    .wl-matrix-source {
        display: grid;
        align-items: center;
        color: var(--wl-soft);
        text-decoration: none;
    }

    .wl-matrix-head {
        justify-items: center;
        gap: 5px;
        padding: 8px 6px;
        text-align: center;
    }

    .wl-matrix-head img,
    .wl-matrix-source img {
        width: 34px;
        height: 34px;
        object-fit: contain;
        border-radius: 7px;
        background: #020617;
    }

    .wl-matrix-head span,
    .wl-matrix-source span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.72rem;
        font-weight: 950;
    }

    .wl-matrix-source {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 8px;
        padding: 9px;
    }

    .wl-matrix-cell {
        display: grid;
        place-items: center;
        gap: 2px;
        padding: 7px;
        color: var(--wl-muted);
        text-align: center;
        text-decoration: none;
        transition: border-color 0.16s ease, transform 0.16s ease;
    }

    .wl-matrix-cell:hover,
    .wl-matrix-cell:focus-visible,
    .wl-matrix-head:hover,
    .wl-matrix-head:focus-visible,
    .wl-matrix-source:hover,
    .wl-matrix-source:focus-visible {
        border-color: rgba(255, 188, 5, 0.55);
        outline: none;
    }

    .wl-matrix-cell:hover,
    .wl-matrix-cell:focus-visible {
        transform: translateY(-1px);
    }

    .wl-matrix-cell strong {
        color: var(--wl-soft);
        font-size: 0.72rem;
        font-weight: 950;
    }

    .wl-matrix-cell span {
        color: var(--wl-text);
        font-size: 0.83rem;
        font-weight: 950;
    }

    .wl-matrix-cell em {
        color: var(--wl-dim);
        font-size: 0.66rem;
        font-style: normal;
        font-weight: 900;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-matrix-cell.strong {
        border-color: rgba(34, 197, 94, 0.28);
        background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(15, 23, 42, 0.72));
    }

    .wl-matrix-cell.strong strong {
        color: #86efac;
    }

    .wl-matrix-cell.weak {
        border-color: rgba(251, 113, 133, 0.3);
        background: linear-gradient(180deg, rgba(251, 113, 133, 0.16), rgba(15, 23, 42, 0.72));
    }

    .wl-matrix-cell.weak strong {
        color: #fda4af;
    }

    .wl-matrix-cell.empty {
        background: rgba(15, 23, 42, 0.36);
        color: var(--wl-dim);
    }

    .wl-matrix-cell.empty.self {
        background: rgba(255, 188, 5, 0.08);
    }

    .wl-matrix-cell.empty strong {
        color: var(--wl-dim);
        font-size: 0.68rem;
    }

    .wl-matchup-row-list {
        display: grid;
        gap: 10px;
    }

    .wl-matchup-row-card {
        display: grid;
        grid-template-columns: minmax(190px, 0.78fr) minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        align-items: stretch;
        border: 1px solid rgba(148, 163, 184, 0.15);
        border-radius: 8px;
        background: rgba(2, 6, 23, 0.26);
        padding: 10px;
    }

    .wl-matchup-row-card.is-hidden {
        display: none;
    }

    .wl-matchup-row-weapon {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
        min-width: 0;
        color: inherit;
        text-decoration: none;
    }

    .wl-matchup-row-weapon img {
        width: 46px;
        height: 46px;
        object-fit: contain;
        border-radius: 8px;
        background: #020617;
        border: 1px solid rgba(255, 188, 5, 0.22);
    }

    .wl-matchup-row-weapon span {
        min-width: 0;
    }

    .wl-matchup-row-weapon strong,
    .wl-matchup-row-weapon em {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-matchup-row-weapon strong {
        color: var(--wl-text);
        font-size: 0.9rem;
        font-weight: 950;
    }

    .wl-matchup-row-weapon em {
        margin-top: 3px;
        color: var(--wl-muted);
        font-size: 0.72rem;
        font-style: normal;
        font-weight: 850;
    }

    .wl-matchup-row-side {
        display: grid;
        gap: 7px;
        min-width: 0;
        border: 1px solid rgba(148, 163, 184, 0.12);
        border-radius: 8px;
        padding: 9px;
        background: rgba(15, 23, 42, 0.45);
    }

    .wl-matchup-row-side.strong {
        border-color: rgba(34, 197, 94, 0.2);
    }

    .wl-matchup-row-side.weak {
        border-color: rgba(251, 113, 133, 0.2);
    }

    .wl-matchup-chip-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        min-width: 0;
    }

    .wl-matchup-chip {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-height: 28px;
        max-width: 100%;
        border-radius: 7px;
        border: 1px solid rgba(148, 163, 184, 0.14);
        background: rgba(15, 23, 42, 0.78);
        color: var(--wl-soft);
        padding: 0 8px;
        text-decoration: none;
        font-size: 0.74rem;
        font-weight: 950;
    }

    .wl-matchup-chip span {
        color: var(--wl-muted);
        font-size: 0.68rem;
        font-weight: 900;
        white-space: nowrap;
    }

    .wl-matchup-chip.strong {
        border-color: rgba(34, 197, 94, 0.22);
        color: #86efac;
    }

    .wl-matchup-chip.weak {
        border-color: rgba(251, 113, 133, 0.22);
        color: #fda4af;
    }

    .wl-matchup-chip.empty {
        color: var(--wl-dim);
    }

    .wl-route-step {
        border-left: 3px solid var(--wl-gold);
        padding: 10px 12px;
        background: rgba(2, 6, 23, 0.24);
        border-radius: 0 8px 8px 0;
    }

    .wl-route-step span {
        color: var(--wl-gold);
        font-size: 0.72rem;
        font-weight: 950;
    }

    .wl-route-step strong {
        display: block;
        margin-top: 3px;
        color: var(--wl-text);
        font-size: 0.9rem;
    }

    .wl-route-step p {
        margin: 5px 0 8px;
        color: var(--wl-muted);
        line-height: 1.5;
        font-size: 0.8rem;
    }

    .wl-build,
    .wl-master {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.25);
        text-decoration: none;
    }

    .wl-build:hover,
    .wl-build:focus-visible,
    .wl-master:hover,
    .wl-master:focus-visible {
        border-color: rgba(255, 188, 5, 0.54);
        outline: none;
    }

    .wl-build img,
    .wl-master img {
        width: 52px;
        height: 52px;
        border-radius: 8px;
        background: #020617;
        border: 1px solid var(--wl-line);
        object-fit: contain;
    }

    .wl-build strong,
    .wl-master strong {
        display: block;
        color: var(--wl-text);
        font-size: 0.92rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wl-build span,
    .wl-master span {
        color: var(--wl-muted);
        font-size: 0.76rem;
        font-weight: 800;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .wl-master-title {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .wl-master-title strong {
        min-width: 0;
    }

    .wl-master-title em {
        color: var(--wl-muted);
        font-size: 0.72rem;
        font-style: normal;
        font-weight: 850;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wl-build.compact {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .wl-build.compact img {
        width: 44px;
        height: 44px;
    }

    .wl-player-tabs .wl-chip span {
        color: var(--wl-muted);
        font-size: 0.68rem;
        font-weight: 950;
    }

    .wl-player-tabs .wl-chip.active span {
        color: #111827;
    }

    .wl-master-list-full {
        gap: 9px;
    }

    .wl-master-large {
        grid-template-columns: 56px minmax(0, 1fr) auto;
    }

    .wl-master-large img {
        width: 56px;
        height: 56px;
    }

    .wl-compare-picks,
    .wl-compare-builds {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .wl-compare-pick {
        display: grid;
        grid-template-columns: 70px minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 14px;
        background: rgba(15, 23, 42, 0.78);
    }

    .wl-compare-pick img {
        width: 70px;
        height: 70px;
        object-fit: contain;
        border-radius: 8px;
        border: 1px solid rgba(255, 188, 5, 0.2);
        background: #020617;
    }

    .wl-compare-pick strong,
    .wl-compare-build-head strong {
        display: block;
        color: var(--wl-text);
        font-size: 0.95rem;
        font-weight: 950;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wl-compare-pick span {
        display: block;
        margin-top: 4px;
        color: var(--wl-muted);
        font-size: 0.78rem;
        font-weight: 800;
    }

    .wl-compare-pick-actions {
        display: grid;
        gap: 6px;
    }

    .wl-compare-callout {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        border: 1px solid rgba(255, 188, 5, 0.28);
        border-radius: 8px;
        padding: 12px;
        background: rgba(255, 188, 5, 0.08);
    }

    .wl-compare-callout .wl-tier {
        min-height: 44px;
        font-size: 1rem;
    }

    .wl-compare-callout strong {
        display: block;
        color: var(--wl-text);
        font-size: 0.96rem;
        font-weight: 950;
    }

    .wl-compare-callout p {
        margin: 4px 0 0;
        color: var(--wl-muted);
        font-size: 0.8rem;
    }

    .wl-compare-callout.decision {
        margin-bottom: 12px;
    }

    .wl-decision-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .wl-decision-card {
        min-width: 0;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.28);
    }

    .wl-decision-card span {
        display: block;
        color: var(--wl-muted);
        font-size: 0.72rem;
        font-weight: 900;
    }

    .wl-decision-card strong {
        display: block;
        margin-top: 4px;
        color: var(--wl-text);
        font-size: 0.95rem;
        font-weight: 950;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wl-decision-card p {
        margin: 5px 0 0;
        color: var(--wl-muted);
        font-size: 0.76rem;
        line-height: 1.45;
        word-break: keep-all;
    }

    .wl-compare-scroll {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .wl-compare-grid {
        display: grid;
        gap: 8px;
        min-width: 760px;
    }

    .wl-compare-head,
    .wl-compare-mode,
    .wl-compare-cell {
        min-width: 0;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        background: rgba(2, 6, 23, 0.25);
        padding: 11px;
    }

    .wl-compare-head {
        color: var(--wl-muted);
        font-size: 0.75rem;
        font-weight: 950;
        background: rgba(15, 23, 42, 0.86);
    }

    .wl-compare-head.weapon {
        color: var(--wl-text);
    }

    .wl-compare-mode strong {
        display: block;
        color: var(--wl-text);
        font-size: 0.88rem;
        font-weight: 950;
    }

    .wl-compare-mode span {
        display: block;
        margin-top: 4px;
        color: var(--wl-muted);
        font-size: 0.72rem;
        font-weight: 800;
    }

    .wl-compare-cell.winner {
        border-color: rgba(255, 188, 5, 0.52);
        background: rgba(255, 188, 5, 0.08);
    }

    .wl-compare-cell.empty {
        display: flex;
        align-items: center;
    }

    .wl-compare-cell-top {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        align-items: center;
        margin-bottom: 8px;
    }

    .wl-compare-cell-top strong {
        color: var(--wl-text);
        font-size: 0.95rem;
        font-weight: 950;
    }

    .wl-compare-cell dl {
        display: grid;
        gap: 5px;
        margin: 0 0 9px;
    }

    .wl-compare-cell dl div {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        color: var(--wl-muted);
        font-size: 0.74rem;
        font-weight: 800;
    }

    .wl-compare-cell dt,
    .wl-compare-cell dd {
        margin: 0;
    }

    .wl-compare-build-column {
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.24);
    }

    .wl-compare-build-head {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
        margin-bottom: 10px;
    }

    .wl-compare-build-head a {
        color: var(--wl-gold);
        font-size: 0.78rem;
        font-weight: 950;
        text-decoration: none;
        white-space: nowrap;
    }

    .wl-compare-empty {
        display: grid;
        justify-items: start;
        gap: 10px;
    }

    .wl-empty {
        border: 1px dashed rgba(148, 163, 184, 0.26);
        border-radius: 8px;
        padding: 18px;
        color: var(--wl-muted);
        line-height: 1.55;
        background: rgba(2, 6, 23, 0.18);
    }

    .wl-preview {
        border-color: rgba(56, 189, 248, 0.36);
        background: rgba(8, 47, 73, 0.28);
    }

    .wl-preview-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .wl-compare-tray {
        position: fixed;
        left: 50%;
        bottom: 14px;
        z-index: 50;
        width: min(680px, calc(100% - 24px));
        transform: translateX(-50%) translateY(120%);
        transition: transform 0.2s ease;
        visibility: hidden;
        pointer-events: none;
        border: 1px solid rgba(255, 188, 5, 0.38);
        border-radius: 8px;
        background: rgba(2, 6, 23, 0.96);
        color: var(--wl-text);
        padding: 12px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
    }

    .wl-compare-tray.visible {
        transform: translateX(-50%) translateY(0);
        visibility: visible;
        pointer-events: auto;
    }

    .wl-compare-tray strong {
        display: block;
        margin-bottom: 4px;
    }

    .wl-compare-tray span {
        color: var(--wl-muted);
        font-size: 0.82rem;
    }

    .wl-compare-tray .wl-icon-action {
        margin-top: 9px;
        min-height: 32px;
    }

    .weapon-lab .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .wl-section-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .wl-quick-section {
        padding: 2px 0 0;
    }

    .wl-quick-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .wl-quick-lane {
        min-width: 0;
        border: 1px solid var(--wl-line);
        border-top: 3px solid var(--wl-blue);
        border-radius: 8px;
        padding: 12px;
        background: rgba(11, 18, 32, 0.9);
    }

    .wl-quick-lane.beginner { border-top-color: var(--wl-green); }
    .wl-quick-lane.experimental { border-top-color: var(--wl-red); }

    .wl-quick-lane-head {
        min-height: 48px;
        margin-bottom: 8px;
    }

    .wl-quick-lane-head strong {
        display: block;
        color: var(--wl-text);
        font-size: 0.9rem;
        font-weight: 950;
    }

    .wl-quick-lane-head span,
    .wl-quick-empty {
        color: var(--wl-muted);
        font-size: 0.74rem;
        font-weight: 800;
    }

    .wl-quick-pick {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 9px;
        align-items: center;
        min-height: 58px;
        padding: 8px;
        border-top: 1px solid var(--wl-line);
        text-decoration: none;
    }

    .wl-quick-pick:hover strong,
    .wl-quick-pick:focus-visible strong {
        color: var(--wl-gold);
    }

    .wl-quick-pick:focus-visible {
        outline: 2px solid var(--wl-gold);
        outline-offset: 2px;
    }

    .wl-quick-pick img {
        width: 42px;
        height: 42px;
        object-fit: contain;
        border: 1px solid var(--wl-line);
        border-radius: 7px;
        background: #020617;
    }

    .wl-quick-pick strong,
    .wl-quick-pick small {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-quick-pick strong {
        color: var(--wl-text);
        font-size: 0.82rem;
    }

    .wl-quick-pick small {
        margin-top: 3px;
        color: var(--wl-muted);
        font-size: 0.69rem;
    }

    .wl-rubric-disclosure summary,
    .wl-ranking-method summary {
        color: var(--wl-text);
        font-size: 0.92rem;
        font-weight: 950;
        cursor: pointer;
    }

    .wl-rubric-disclosure[open] summary,
    .wl-ranking-method[open] summary {
        margin-bottom: 12px;
    }

    .wl-related-builds {
        border-color: rgba(56, 189, 248, 0.26);
    }

    .wl-master-hub-summary {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-bottom: 0;
    }

.wl-stale-notice {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border: 1px solid rgba(240, 125, 115, 0.35);
        border-radius: 8px;
        background: rgba(240, 125, 115, 0.08);
        color: var(--wl-soft);
        font-size: 0.78rem;
        font-weight: 850;
    }

    .wl-stale-notice i { color: var(--wl-red); }

    .wl-data-state.empty {
        border-color: rgba(148, 163, 184, 0.35);
        background: rgba(148, 163, 184, 0.08);
    }

    .wl-data-state.empty i { color: var(--wl-muted); }

    .wl-master-summary.accent {
        border-color: rgba(243, 201, 105, 0.5);
        background: rgba(243, 201, 105, 0.1);
    }

    .wl-crown-line {
        display: grid;
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 14px;
        align-items: stretch;
        padding: 14px;
        border: 1px solid rgba(243, 201, 105, 0.42);
        border-radius: 8px;
        background: linear-gradient(90deg, rgba(243, 201, 105, 0.11), rgba(11, 18, 32, 0.92) 34%);
    }

    .wl-crown-line-head {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .wl-crown-line-head span {
        color: var(--wl-gold);
        font-size: 0.72rem;
        font-weight: 950;
    }

    .wl-crown-line-head h2 {
        margin: 4px 0 0;
        color: var(--wl-text);
        font-size: 1rem;
    }

    .wl-crown-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .wl-crown-change {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 9px;
        align-items: center;
        min-width: 0;
        padding: 8px;
        border-left: 1px solid rgba(243, 201, 105, 0.25);
        text-decoration: none;
    }

    .wl-crown-change img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        border-radius: 7px;
        background: #020617;
    }

    .wl-crown-change strong,
    .wl-crown-change small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-crown-change strong { color: var(--wl-text); font-size: 0.8rem; }
    .wl-crown-change small { margin-top: 3px; color: var(--wl-muted); font-size: 0.68rem; }
    .wl-crown-change i { color: var(--wl-gold); }

    .wl-master-controls {
        display: grid;
        gap: 12px;
    }

    .wl-master-mode-tabs {
        display: flex;
        gap: 7px;
        flex-wrap: wrap;
    }

    .wl-master-mode-tabs .wl-chip.active,
    .wl-master-controls [data-master-role].active {
        color: #020617;
        border-color: var(--wl-gold);
        background: var(--wl-gold);
    }

    .wl-master-filter-row {
        display: grid;
        grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
        gap: 12px;
        align-items: center;
    }

    .wl-master-search input {
        min-height: 44px;
    }

    .wl-master-board {
        min-width: 0;
    }

    .wl-master-board-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .wl-master-weapon-card {
        min-width: 0;
        border: 1px solid var(--wl-line);
        border-radius: 8px;
        background: rgba(11, 18, 32, 0.94);
        overflow: hidden;
    }

    .wl-master-weapon-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 72px;
        padding: 10px 12px;
        border-bottom: 1px solid var(--wl-line);
        background: rgba(18, 29, 46, 0.74);
    }

    .wl-master-weapon-name {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
        min-width: 0;
        text-decoration: none;
    }

    .wl-master-weapon-name img {
        width: 50px;
        height: 50px;
        border: 1px solid rgba(243, 201, 105, 0.3);
        border-radius: 8px;
        background: #020617;
        object-fit: contain;
    }

    .wl-master-weapon-name strong,
    .wl-master-weapon-name small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-master-weapon-name strong { color: var(--wl-text); font-size: 0.94rem; }
    .wl-master-weapon-name small { margin-top: 4px; color: var(--wl-muted); font-size: 0.71rem; }

    .wl-crown-status {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        flex: 0 0 auto;
        padding: 5px 7px;
        border-radius: 6px;
        color: var(--wl-muted);
        background: rgba(148, 163, 184, 0.09);
        font-size: 0.68rem;
        font-weight: 950;
    }

    .wl-crown-status.changed {
        color: var(--wl-gold);
        background: rgba(243, 201, 105, 0.12);
    }

    .wl-master-standing {
        display: grid;
    }

    .wl-master-rank-row {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr) auto 34px;
        gap: 8px;
        align-items: center;
        min-height: 58px;
        padding: 8px 12px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.11);
        text-decoration: none;
    }

    .wl-master-rank-row.is-crown {
        background: linear-gradient(90deg, rgba(243, 201, 105, 0.1), transparent 55%);
    }

    .wl-master-rank-row:hover,
    .wl-master-rank-row:focus-visible {
        background-color: rgba(56, 189, 248, 0.06);
        outline: none;
    }

    .wl-master-rank-number {
        color: var(--wl-muted);
        font-size: 0.86rem;
        font-weight: 950;
        text-align: center;
        font-variant-numeric: tabular-nums;
    }

    .wl-master-rank-row.is-crown .wl-master-rank-number { color: var(--wl-gold); }

    .wl-master-player {
        min-width: 0;
    }

    .wl-master-player strong,
    .wl-master-player small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-master-player strong { color: var(--wl-text); font-size: 0.82rem; }
    .wl-master-player small { margin-top: 3px; color: var(--wl-muted); font-size: 0.68rem; }

    .wl-rank-movement {
        min-width: 30px;
        color: var(--wl-dim);
        font-size: 0.68rem;
        font-weight: 950;
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .wl-rank-movement.up,
    .wl-rank-movement.new { color: #55c2a3; }
    .wl-rank-movement.down { color: #f07d73; }

    .wl-master-card-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 40px;
        padding: 0 12px;
        color: var(--wl-soft);
        font-size: 0.74rem;
        font-weight: 900;
        text-decoration: none;
    }

    .wl-master-card-link:hover,
    .wl-master-card-link:focus-visible { color: var(--wl-gold); outline: none; }

    .wl-ranking-method-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .wl-ranking-method-grid p {
        margin: 0;
        color: var(--wl-muted);
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .wl-ranking-method-grid strong {
        display: block;
        margin-bottom: 4px;
        color: var(--wl-text);
    }

    @media (max-width: 1060px) {
        .wl-grid,
        .wl-mode-overview,
        .wl-tier-rubric,
        .wl-tier-rubric.compact,
        .wl-decision-grid,
        .wl-compare-picks,
        .wl-compare-builds,
        .wl-matchup-grid,
        .wl-matchup-hotspots {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .wl-quick-grid,
        .wl-crown-track,
        .wl-ranking-method-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .wl-matchup-row-card {
            grid-template-columns: 1fr;
        }
        .wl-passport,
        .wl-two-col {
            grid-template-columns: 1fr;
        }
        .wl-passport-side {
            display: flex;
            flex-wrap: wrap;
        }
    }

    @media (max-width: 760px) {
        .wl-hero,
        .wl-filter-panel,
        .wl-filter-panel.three,
        .wl-metric-list,
        .wl-preview-grid {
            grid-template-columns: 1fr;
        }
        .wl-quick-grid,
        .wl-crown-line,
        .wl-crown-track,
        .wl-master-filter-row,
        .wl-master-board-grid,
        .wl-ranking-method-grid {
            grid-template-columns: 1fr;
        }
        .wl-actions {
            justify-content: flex-start;
        }
        .wl-filter-card {
            padding: 14px;
        }
        .wl-filter-search-group {
            grid-row: auto;
            padding: 10px;
        }
        .wl-filter-row-group {
            grid-template-columns: 1fr;
        }
        .wl-filter-row-group .wl-field-label {
            justify-content: flex-start;
            width: fit-content;
        }
        .wl-section-head {
            align-items: flex-start;
            flex-direction: column;
        }
        .wl-section-head .wl-icon-action {
            align-self: stretch;
        }
        .wl-grid,
        .wl-mode-overview,
        .wl-tier-rubric,
        .wl-tier-rubric.compact,
        .wl-decision-grid,
        .wl-compare-picks,
        .wl-compare-builds,
        .wl-matchup-grid,
        .wl-matchup-columns,
        .wl-matchup-hotspots {
            grid-template-columns: 1fr;
        }
        .wl-matchup-row-card {
            grid-template-columns: 1fr;
        }
        .wl-matchup-row-side {
            padding: 8px;
        }
        .wl-compare-pick {
            grid-template-columns: 58px minmax(0, 1fr);
        }
        .wl-compare-pick img {
            width: 58px;
            height: 58px;
        }
        .wl-compare-pick-actions {
            grid-column: 1 / -1;
            display: flex;
            flex-wrap: wrap;
        }
        .wl-passport {
            padding: 16px;
        }
        .wl-passport-icon {
            width: 104px;
            height: 104px;
        }
        .wl-mode-row,
        .wl-mode-row.header {
            grid-template-columns: 1fr 1fr;
        }
        .wl-mode-row.header {
            display: none;
        }
        .wl-master-overview {
            grid-template-columns: 1fr;
        }
        .wl-master-hub-summary {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .wl-crown-line-head {
            min-height: 52px;
        }
        .wl-crown-change {
            border-left: 0;
            border-top: 1px solid rgba(243, 201, 105, 0.2);
        }
        .wl-master-rank-row {
            grid-template-columns: 24px minmax(0, 1fr) 34px;
        }
        .wl-master-rank-row .wl-label {
            display: none;
        }
        .wl-section-actions {
            width: 100%;
            justify-content: stretch;
        }
        .wl-section-actions .wl-icon-action {
            flex: 1 1 150px;
        }
        .wl-build,
        .wl-master,
        .wl-master-large {
            grid-template-columns: 46px minmax(0, 1fr);
        }
        .wl-build .wl-icon-action,
        .wl-master .wl-icon-action {
            grid-column: 1 / -1;
            justify-content: flex-start;
        }
    }
    .wl-evidence-spine {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin-top: 18px;
        border-left: 3px solid #e8b84a;
        background: linear-gradient(90deg, rgba(232, 184, 74, 0.09), rgba(16, 28, 45, 0.38));
    }
    .wl-evidence-spine > span {
        display: grid;
        gap: 4px;
        min-width: 0;
        padding: 11px 14px;
        border-right: 1px solid rgba(148, 163, 184, 0.12);
    }
    .wl-evidence-spine small {
        color: #65c7e8;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.04em;
    }
    .wl-evidence-spine strong {
        overflow: hidden;
        color: #f8fafc;
        font-size: 0.82rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .wl-subnav {
        display: flex;
        gap: 4px;
        margin: -6px 0 18px;
        padding: 5px;
        overflow-x: auto;
        border: 1px solid rgba(148, 163, 184, 0.13);
        border-radius: 10px;
        background: rgba(7, 17, 31, 0.92);
        scrollbar-width: none;
    }
    .wl-subnav a {
        min-height: 40px;
        padding: 10px 14px;
        border-radius: 7px;
        color: #94a3b8;
        font-size: 0.82rem;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
    }
    .wl-subnav-button {
        min-height: 40px;
        padding: 10px 14px;
        border: 0;
        border-radius: 7px;
        color: #94a3b8;
        background: transparent;
        font: inherit;
        font-size: 0.82rem;
        font-weight: 800;
        white-space: nowrap;
        cursor: pointer;
    }
    .wl-subnav-button:hover,
    .wl-subnav-button:focus-visible {
        color: #07111f;
        background: #65c7e8;
    }
    .wl-mode-row.is-active {
        border-left: 3px solid #65c7e8;
        background: rgba(101, 199, 232, 0.06);
    }
    .wl-compare-head {
        position: sticky;
        z-index: 4;
        top: 0;
    }
    .wl-compare-head:first-child,
    .wl-compare-mode {
        position: sticky;
        z-index: 3;
        left: 0;
        background: #101c2d;
    }
    .wl-compare-mode.is-active {
        color: #f8fafc;
        box-shadow: inset 3px 0 #65c7e8;
    }
    .wl-subnav a:hover,
    .wl-subnav a.active {
        color: #07111f;
        background: #e8b84a;
    }
    .wl-decision-picks {
        margin-bottom: 18px;
        padding: 18px;
        border: 1px solid rgba(101, 199, 232, 0.2);
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(16, 28, 45, 0.96), rgba(7, 17, 31, 0.96));
    }
    .wl-decision-pick-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .wl-decision-pick {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr) auto;
        gap: 11px;
        align-items: center;
        min-width: 0;
        padding: 13px;
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 9px;
        color: inherit;
        background: rgba(2, 6, 23, 0.44);
        text-decoration: none;
    }
    .wl-decision-pick:hover {
        transform: translateY(-2px);
        border-color: rgba(101, 199, 232, 0.5);
    }
    .wl-decision-pick .wl-weapon-icon {
        width: 52px;
        height: 52px;
    }
    .wl-decision-pick > span {
        display: grid;
        gap: 3px;
        min-width: 0;
    }
    .wl-decision-pick small {
        color: #65c7e8;
        font-size: 0.7rem;
        font-weight: 800;
    }
    .wl-decision-pick strong {
        overflow: hidden;
        color: #f8fafc;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .wl-decision-pick em {
        overflow: hidden;
        color: #94a3b8;
        font-size: 0.73rem;
        font-style: normal;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .wl-coverage-disclosure {
        margin-bottom: 18px;
    }
    .wl-coverage-disclosure > summary {
        min-height: 44px;
        padding: 12px 14px;
        cursor: pointer;
        color: #cbd5e1;
        font-size: 0.82rem;
        font-weight: 800;
    }
    .wl-action,
    .wl-chip,
    .wl-search input {
        min-height: 44px;
    }
    @media (max-width: 760px) {
        .wl-evidence-spine,
        .wl-decision-pick-grid {
            grid-template-columns: 1fr;
        }
        .wl-evidence-spine > span {
            border-right: 0;
            border-bottom: 1px solid rgba(148, 163, 184, 0.12);
        }
        .wl-evidence-spine > span:last-child {
            border-bottom: 0;
        }
        .wl-decision-picks {
            padding: 14px;
        }
        .wl-subnav {
            position: sticky;
            z-index: 8;
            top: var(--header-height, 56px);
        }
        .wl-mode-row:not(.header) > div[data-label]::before {
            display: block;
            margin-bottom: 4px;
            color: #64748b;
            content: attr(data-label);
            font-size: 0.66rem;
            font-weight: 800;
        }
    }

    .wl-entry-rail {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .wl-entry-card {
        display: grid;
        gap: 5px;
        min-height: 138px;
        padding: 18px;
        border: 1px solid rgba(56, 189, 248, 0.26);
        border-top: 3px solid var(--wl-blue);
        border-radius: 10px;
        color: inherit;
        background: linear-gradient(145deg, rgba(18, 29, 46, 0.98), rgba(7, 17, 31, 0.96));
        text-decoration: none;
    }
    .wl-entry-card.beginner {
        border-color: rgba(85, 194, 163, 0.25);
        border-top-color: var(--wl-green);
    }
    .wl-entry-card:hover,
    .wl-entry-card:focus-visible {
        border-right-color: rgba(243, 201, 105, 0.55);
        border-bottom-color: rgba(243, 201, 105, 0.55);
        border-left-color: rgba(243, 201, 105, 0.55);
        outline: 2px solid transparent;
        transform: translateY(-1px);
    }
    .wl-entry-card span,
    .wl-change-card small {
        color: var(--wl-blue);
        font-size: 0.72rem;
        font-weight: 900;
    }
    .wl-entry-card.beginner span { color: #7dd3bc; }
    .wl-entry-card strong { color: var(--wl-text); font-size: 1rem; }
    .wl-entry-card p { margin: 0; color: var(--wl-muted); font-size: 0.8rem; line-height: 1.55; }

    .wl-change-rail { overflow: hidden; }
    .wl-change-track {
        display: grid;
        grid-auto-columns: minmax(270px, 0.72fr);
        grid-auto-flow: column;
        gap: 10px;
        overflow-x: auto;
        padding: 2px 2px 8px;
        scroll-snap-type: x proximity;
        scrollbar-color: rgba(243, 201, 105, 0.48) rgba(15, 23, 42, 0.7);
    }
    .wl-change-card {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        min-height: 112px;
        padding: 12px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-left: 3px solid var(--wl-blue);
        border-radius: 9px;
        color: inherit;
        background: rgba(2, 6, 23, 0.4);
        text-decoration: none;
        scroll-snap-align: start;
    }
    .wl-change-card.positive,
    .wl-change-card.up,
    .wl-change-card.new { border-left-color: var(--wl-green); }
    .wl-change-card.negative,
    .wl-change-card.down { border-left-color: var(--wl-red); }
    .wl-change-card:hover,
    .wl-change-card:focus-visible {
        border-color: rgba(243, 201, 105, 0.5);
        outline: 2px solid transparent;
    }
    .wl-change-card img {
        width: 50px;
        height: 50px;
        border-radius: 8px;
        background: #020617;
        object-fit: contain;
    }
    .wl-change-card > span { display: grid; gap: 2px; min-width: 0; }
    .wl-change-card strong,
    .wl-change-card em,
    .wl-change-card p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .wl-change-card strong { color: var(--wl-text); font-size: 0.9rem; }
    .wl-change-card em { color: var(--wl-soft); font-size: 0.76rem; font-style: normal; font-weight: 850; }
    .wl-change-card p { margin: 0; color: var(--wl-muted); font-size: 0.7rem; }
    .wl-change-card b { color: var(--wl-gold); font-family: Consolas, monospace; font-size: 0.75rem; white-space: nowrap; }

    .wl-subnav-disabled {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 10px 14px;
        border-radius: 7px;
        color: var(--wl-dim);
        font-size: 0.82rem;
        font-weight: 800;
        white-space: nowrap;
        cursor: not-allowed;
    }
    .wl-empty-with-actions p { margin: 0 0 10px; }
    .wl-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .wl-mobile-matchup-note {
        display: none;
        margin-bottom: 12px;
        padding: 10px 12px;
        border-left: 3px solid var(--wl-blue);
        color: var(--wl-soft);
        background: rgba(56, 189, 248, 0.08);
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .wl-decision-stephead {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        margin-bottom: 14px;
    }
    .wl-decision-stephead.compact {
        grid-template-columns: 34px minmax(0, 1fr);
        margin-bottom: 0;
    }
    .wl-step-number {
        display: inline-grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border: 1px solid rgba(243, 201, 105, 0.55);
        border-radius: 9px;
        color: #07111f;
        background: var(--wl-gold);
        font-family: Consolas, monospace;
        font-size: 0.92rem;
        font-weight: 950;
        box-shadow: 0 0 0 4px rgba(243, 201, 105, 0.08);
    }
    .wl-decision-stephead.compact .wl-step-number {
        width: 34px;
        height: 34px;
    }
    .weapon-lab-index .wl-filter-card {
        border-color: rgba(243, 201, 105, 0.34);
        box-shadow: 0 16px 36px rgba(2, 6, 23, 0.2);
    }
    .weapon-lab-index .wl-decision-picks {
        border-color: rgba(101, 199, 232, 0.3);
    }
    .weapon-lab-index .wl-entry-rail,
    .weapon-lab-index .wl-change-rail {
        opacity: 0.94;
    }

    .wl-compare-builder {
        border-color: rgba(243, 201, 105, 0.34);
        background:
            linear-gradient(135deg, rgba(243, 201, 105, 0.08), transparent 42%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(7, 17, 31, 0.98));
    }
    .wl-compare-add-row {
        display: grid;
        grid-template-columns: minmax(240px, 1fr) auto;
        gap: 10px;
        align-items: center;
    }
    .wl-compare-add-row .wl-search input {
        min-height: 48px;
    }
    .wl-compare-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 11px;
        border: 1px solid rgba(101, 199, 232, 0.26);
        border-radius: 999px;
        color: var(--wl-blue);
        background: rgba(101, 199, 232, 0.08);
        font-family: Consolas, monospace;
        font-size: 0.76rem;
        font-weight: 900;
        white-space: nowrap;
    }
    .wl-compare-mode-picker {
        display: grid;
        gap: 12px;
        border-left: 3px solid var(--wl-blue);
    }
    .wl-subnav-button[aria-pressed="true"] {
        color: #07111f;
        background: var(--wl-blue);
    }

    @media (max-width: 760px) {
        .wl-entry-rail { grid-template-columns: 1fr; }
        .wl-entry-card { min-height: 0; padding: 15px; }
        .wl-change-track { grid-auto-columns: minmax(258px, 88%); }
        .weapon-lab-detail .wl-metric-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .weapon-lab-detail .wl-metric-duplicate { display: none; }
        .weapon-lab-matchup-matrix .wl-matrix-stage { display: none; }
        .weapon-lab-matchup-matrix .wl-mobile-matchup-note { display: block; }
        .weapon-lab-matchup-matrix .wl-shell > * { order: 8; }
        .weapon-lab-matchup-matrix .wl-shell > .wl-matrix-hero { order: 1; }
        .weapon-lab-matchup-matrix .wl-shell > .wl-data-state { order: 2; }
        .weapon-lab-matchup-matrix .wl-shell > .wl-matchup-overview { order: 3; }
        .weapon-lab-matchup-matrix .wl-shell > .wl-filter-card { order: 4; }
        .weapon-lab-matchup-matrix .wl-shell > .wl-matchup-list-panel { order: 5; }
        .weapon-lab-matchup-matrix .wl-shell > .wl-matchup-hotspots { order: 6; }
        .wl-matchup-row-weapon { min-height: 48px; }
        .wl-matchup-chip { min-height: 40px; }
        .wl-decision-stephead {
            grid-template-columns: 34px minmax(0, 1fr);
            gap: 10px;
        }
        .wl-decision-stephead > .wl-compare-count {
            grid-column: 2;
            justify-self: start;
        }
        .wl-step-number,
        .wl-decision-stephead.compact .wl-step-number {
            width: 34px;
            height: 34px;
        }
        .wl-compare-add-row {
            grid-template-columns: minmax(0, 1fr);
        }
        .wl-compare-add-row .wl-action {
            width: 100%;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .wl-entry-card,
        .wl-change-card,
        .wl-decision-pick,
        .wl-matrix-cell { transition: none; }
        .wl-entry-card:hover,
        .wl-entry-card:focus-visible,
        .wl-decision-pick:hover,
        .wl-matrix-cell:hover,
        .wl-matrix-cell:focus-visible { transform: none; }
    }

    /* P1 decision workspace: cards stay readable while comparison remains one tap away. */
    .wl-weapon-card {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 0;
        overflow: hidden;
    }

    .wl-weapon-card-main {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        min-height: 98px;
        padding: 14px 14px 46px;
        color: inherit;
        text-decoration: none;
    }

    .wl-weapon-card:hover,
    .wl-weapon-card:focus-within {
        border-color: rgba(255, 188, 5, 0.6);
        transform: translateY(-1px);
        outline: none;
    }

    .wl-weapon-card.is-compared {
        border-color: rgba(101, 199, 232, 0.55);
        box-shadow: inset 0 0 0 1px rgba(101, 199, 232, 0.14);
    }

    .wl-card-compare {
        position: absolute;
        right: 10px;
        bottom: 10px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 30px;
        border: 1px solid rgba(101, 199, 232, 0.28);
        border-radius: 7px;
        padding: 0 9px;
        color: var(--wl-blue);
        background: rgba(2, 6, 23, 0.76);
        font-size: 0.7rem;
        font-weight: 950;
        cursor: pointer;
    }

    .wl-card-compare:hover,
    .wl-card-compare:focus-visible,
    .wl-card-compare[aria-pressed="true"] {
        border-color: rgba(101, 199, 232, 0.65);
        color: #07111f;
        background: var(--wl-blue);
        outline: none;
    }

    .wl-my-saved-badge {
        position: absolute;
        top: 9px;
        right: 9px;
        display: inline-flex;
        min-height: 22px;
        align-items: center;
        border: 1px solid rgba(243, 201, 105, 0.3);
        border-radius: 999px;
        padding: 0 7px;
        color: var(--wl-gold);
        background: rgba(7, 17, 31, 0.92);
        font-size: 0.64rem;
        font-weight: 950;
        pointer-events: none;
    }

    .wl-change-card.is-my-saved {
        border-color: rgba(243, 201, 105, 0.48);
        box-shadow: inset 0 0 0 1px rgba(243, 201, 105, 0.08);
    }

    .wl-saved-change-brief {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        margin: 0 0 12px;
        border: 1px solid rgba(243, 201, 105, 0.28);
        border-left: 3px solid var(--wl-gold);
        border-radius: 8px;
        padding: 10px 12px;
        color: var(--wl-soft);
        background: rgba(243, 201, 105, 0.07);
        text-decoration: none;
        font-size: 0.78rem;
    }

    .wl-saved-change-brief i,
    .wl-saved-change-brief strong,
    .wl-saved-change-brief b {
        color: var(--wl-gold);
    }

    .wl-saved-change-brief b {
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .wl-decision-pick-shell {
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
        border: 1px solid rgba(101, 199, 232, 0.2);
        border-radius: 8px;
        overflow: hidden;
        background: rgba(2, 6, 23, 0.28);
    }

    .wl-decision-pick-shell .wl-decision-pick {
        border: 0;
        border-radius: 0;
    }

    .wl-pick-compare {
        min-height: 36px;
        border: 0;
        border-top: 1px solid rgba(101, 199, 232, 0.16);
        color: var(--wl-blue);
        background: rgba(101, 199, 232, 0.06);
        font-size: 0.72rem;
        font-weight: 950;
        cursor: pointer;
    }

    .wl-pick-compare:hover,
    .wl-pick-compare:focus-visible,
    .wl-pick-compare[aria-pressed="true"] {
        color: #07111f;
        background: var(--wl-blue);
        outline: none;
    }

    .wl-compare-dock {
        position: fixed;
        z-index: 45;
        right: 20px;
        bottom: 20px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        width: min(720px, calc(100vw - 40px));
        gap: 10px;
        border: 1px solid rgba(101, 199, 232, 0.45);
        border-top: 3px solid var(--wl-blue);
        border-radius: 10px;
        padding: 13px;
        background: rgba(7, 17, 31, 0.98);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
    }

    .wl-compare-dock-title,
    .wl-compare-dock-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .wl-compare-dock-title span {
        color: var(--wl-text);
        font-weight: 950;
        white-space: nowrap;
    }

    .wl-compare-dock-title strong {
        color: var(--wl-blue);
        font-family: Consolas, monospace;
        font-size: 0.74rem;
    }

    .wl-compare-dock-items {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        min-width: 0;
        overflow-x: auto;
    }

    .wl-compare-dock-chip,
    .wl-compare-dock-actions button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 31px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 7px;
        padding: 0 9px;
        color: var(--wl-soft);
        background: rgba(15, 23, 42, 0.86);
        font-size: 0.7rem;
        font-weight: 900;
        cursor: pointer;
    }

    .wl-compare-dock-chip:hover,
    .wl-compare-dock-chip:focus-visible,
    .wl-compare-dock-actions button:hover,
    .wl-compare-dock-actions button:focus-visible {
        border-color: rgba(243, 201, 105, 0.5);
        color: var(--wl-gold);
        outline: none;
    }

    .wl-compare-dock-open.disabled,
    .wl-compare-dock .wl-action.disabled {
        opacity: 0.58;
        cursor: not-allowed;
    }

    @media (max-width: 760px) {
        .wl-weapon-card-main {
            grid-template-columns: 42px minmax(0, 1fr);
            min-height: 106px;
            padding: 9px 9px 42px;
        }

        .wl-card-compare {
            right: 7px;
            bottom: 7px;
            min-height: 30px;
        }

        .wl-my-saved-badge {
            top: 6px;
            right: 6px;
        }

        .wl-compare-dock {
            right: 8px;
            bottom: max(8px, env(safe-area-inset-bottom));
            grid-template-columns: 1fr;
            align-items: stretch;
            width: calc(100vw - 16px);
            padding: 11px;
        }

        .wl-compare-dock-items {
            flex-wrap: nowrap;
            overflow-x: auto;
        }

        .wl-compare-dock-chip {
            flex: 0 0 auto;
        }
    }

    /* Detail page follows the decision sequence: verdict, usable build, matchup, proof. */
    .weapon-lab-detail .wl-shell > * { order: 20; }
    .weapon-lab-detail .wl-shell > .wl-passport { order: 1; }
    .weapon-lab-detail .wl-shell > .wl-subnav { order: 2; }
    .weapon-lab-detail .wl-shell > .wl-data-state,
    .weapon-lab-detail .wl-shell > .wl-stale-notice { order: 3; }
    .weapon-lab-detail .wl-shell > .wl-detail-metrics { order: 4; }
    .weapon-lab-detail .wl-shell > .wl-detail-verdicts { order: 5; }
    .weapon-lab-detail .wl-shell > .wl-detail-builds { order: 6; }
    .weapon-lab-detail .wl-shell > .wl-detail-evidence { order: 7; }
    .weapon-lab-detail .wl-shell > .wl-detail-masters { order: 8; }
    .weapon-lab-detail .wl-shell > .wl-detail-guidance { order: 9; }
    .weapon-lab-detail .wl-shell > .wl-related-builds { order: 10; }
    .weapon-lab-detail .wl-shell > .journey-rail { order: 11; }
    .weapon-lab-detail .wl-shell > .wl-detail-rubric { order: 12; }
    .weapon-lab-detail .wl-shell > .wl-preview { order: 13; }
    .weapon-lab-detail .wl-detail-evidence > #weapon-matchups { order: 1; }
    .weapon-lab-detail .wl-detail-evidence > #weapon-patch-impact { order: 2; }

    /* Master proof language deliberately favors repeatability over flashy raw rates. */
    .wl-master-trust-legend {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .wl-master-trust-legend article {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        border: 1px solid var(--wl-line);
        border-top: 3px solid var(--wl-blue);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.3);
    }

    .wl-master-trust-legend article.high { border-top-color: var(--wl-green); }
    .wl-master-trust-legend article.low { border-top-color: var(--wl-red); }
    .wl-master-trust-legend strong {
        display: block;
        color: var(--wl-text);
        font-size: 0.84rem;
    }
    .wl-master-trust-legend p {
        margin: 4px 0 0;
        color: var(--wl-muted);
        font-size: 0.73rem;
        line-height: 1.5;
    }

    .wl-proof-seal {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-height: 27px;
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: 6px;
        padding: 0 7px;
        color: var(--wl-muted);
        background: rgba(148, 163, 184, 0.08);
        font-size: 0.66rem;
        font-weight: 950;
        white-space: nowrap;
    }

    .wl-proof-seal.high {
        border-color: rgba(34, 197, 94, 0.34);
        color: #86efac;
        background: rgba(34, 197, 94, 0.1);
    }
    .wl-proof-seal.medium {
        border-color: rgba(56, 189, 248, 0.34);
        color: #7dd3fc;
        background: rgba(56, 189, 248, 0.1);
    }
    .wl-proof-seal.low {
        border-color: rgba(251, 113, 133, 0.32);
        color: #fda4af;
        background: rgba(251, 113, 133, 0.09);
    }

    .wl-master-player em {
        display: block;
        margin-top: 3px;
        color: var(--wl-dim);
        font-size: 0.67rem;
        font-style: normal;
        font-weight: 850;
    }

    .wl-master-default-note {
        display: flex;
        gap: 8px;
        align-items: center;
        margin-bottom: 12px;
        border-left: 3px solid var(--wl-blue);
        border-radius: 0 7px 7px 0;
        padding: 9px 11px;
        color: var(--wl-soft);
        background: rgba(56, 189, 248, 0.08);
        font-size: 0.76rem;
        line-height: 1.5;
    }

    .wl-master-default-note i,
    .wl-master-default-note strong {
        color: var(--wl-blue);
    }

    @media (max-width: 760px) {
        .wl-master-trust-legend {
            grid-template-columns: 1fr;
        }

        .wl-master-trust-legend article {
            padding: 10px;
        }

        .wl-master-rank-row {
            grid-template-columns: 24px minmax(0, 1fr) auto 34px;
        }

        .wl-proof-seal {
            padding-inline: 6px;
            font-size: 0.62rem;
        }
    }

    .wl-section-kicker {
        display: block;
        margin-bottom: 4px;
        color: var(--wl-blue);
        font-size: 0.68rem;
        font-weight: 950;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .wl-matchup-pair-finder {
        border-color: rgba(101, 199, 232, 0.32);
        background:
            linear-gradient(135deg, rgba(101, 199, 232, 0.07), transparent 42%),
            rgba(15, 23, 42, 0.84);
    }

    .wl-matchup-pair-fields {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 12px;
        align-items: end;
    }

    .wl-matchup-pair-fields > i {
        display: grid;
        width: 34px;
        height: 44px;
        place-items: center;
        color: var(--wl-gold);
    }

    .wl-matchup-pair-fields label {
        display: grid;
        gap: 7px;
        min-width: 0;
    }

    .wl-matchup-pair-fields label > span {
        color: var(--wl-muted);
        font-size: 0.72rem;
        font-weight: 950;
    }

    .wl-matchup-pair-fields select {
        width: 100%;
        min-height: 44px;
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: 8px;
        padding: 0 38px 0 12px;
        color: var(--wl-text);
        background: #07111f;
        font: inherit;
        font-size: 0.82rem;
        font-weight: 850;
    }

    .wl-matchup-pair-fields select:focus {
        border-color: var(--wl-blue);
        outline: 2px solid rgba(101, 199, 232, 0.12);
    }

    .wl-matchup-pair-fields select:disabled {
        color: var(--wl-dim);
        cursor: not-allowed;
    }

    .wl-matchup-pair-result {
        display: grid;
        grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.7fr) auto;
        gap: 14px;
        align-items: center;
        margin-top: 14px;
        border: 1px solid rgba(101, 199, 232, 0.22);
        border-left: 3px solid var(--wl-blue);
        border-radius: 8px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.42);
    }

    .wl-matchup-pair-weapons {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 8px;
        align-items: center;
    }

    .wl-matchup-pair-weapons > span {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px;
        align-items: center;
        min-width: 0;
    }

    .wl-matchup-pair-weapons img {
        width: 42px;
        height: 42px;
        border: 1px solid rgba(243, 201, 105, 0.22);
        border-radius: 8px;
        background: #020617;
        object-fit: contain;
    }

    .wl-matchup-pair-weapons strong {
        overflow: hidden;
        color: var(--wl-text);
        font-size: 0.8rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-matchup-pair-weapons > i {
        color: var(--wl-gold);
    }

    .wl-matchup-pair-verdict {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 4px 8px;
        align-items: center;
    }

    .wl-matchup-pair-verdict > strong {
        color: var(--wl-text);
        font-family: Consolas, monospace;
        font-size: 1.1rem;
    }

    .wl-matchup-pair-verdict p {
        grid-column: 1 / -1;
        margin: 0;
        color: var(--wl-muted);
        font-size: 0.72rem;
    }

    @media (max-width: 760px) {
        .weapon-lab-matchup-matrix .wl-shell > .wl-matchup-pair-finder { order: 5; }
        .weapon-lab-matchup-matrix .wl-shell > .wl-matchup-list-panel { order: 6; }
        .weapon-lab-matchup-matrix .wl-shell > .wl-matchup-hotspots { order: 7; }

        .wl-matchup-pair-fields {
            grid-template-columns: 1fr;
            gap: 8px;
        }

        .wl-matchup-pair-fields > i {
            width: 100%;
            height: 20px;
            transform: rotate(90deg);
        }

        .wl-matchup-pair-result {
            grid-template-columns: 1fr;
        }

        .wl-matchup-pair-result > .wl-icon-action {
            justify-content: center;
            min-height: 42px;
        }
    }

    /* P2-A: a compact combat brief that turns four real choices into three candidates. */
    .wl-fit-finder {
        position: relative;
        overflow: hidden;
        border-color: rgba(243, 201, 105, 0.38);
        background:
            linear-gradient(115deg, rgba(243, 201, 105, 0.09), transparent 31%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(7, 17, 31, 0.98));
        box-shadow: 0 20px 52px rgba(2, 6, 23, 0.25);
    }

    .wl-fit-finder::before {
        position: absolute;
        top: 0;
        right: 24px;
        width: 120px;
        height: 4px;
        content: "";
        background: repeating-linear-gradient(90deg, var(--wl-gold) 0 12px, transparent 12px 18px);
        opacity: 0.82;
    }

    .wl-fit-head {
        align-items: flex-start;
    }

    .wl-fit-progress {
        display: inline-flex;
        min-height: 34px;
        align-items: center;
        border: 1px solid rgba(101, 199, 232, 0.28);
        border-radius: 999px;
        padding: 0 12px;
        color: var(--wl-blue);
        background: rgba(101, 199, 232, 0.07);
        font-family: Consolas, monospace;
        font-size: 0.74rem;
        font-weight: 950;
        white-space: nowrap;
    }

    .wl-fit-question-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        counter-reset: fit-question;
    }

    .wl-fit-question {
        min-width: 0;
        margin: 0;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-top: 3px solid rgba(101, 199, 232, 0.44);
        border-radius: 9px;
        padding: 12px;
        background: rgba(2, 6, 23, 0.34);
    }

    .wl-fit-question:first-child {
        border-top-color: var(--wl-gold);
    }

    .wl-fit-question legend {
        display: grid;
        width: 100%;
        gap: 3px;
        margin: 0 0 10px;
        padding: 0;
    }

    .wl-fit-question legend small {
        color: var(--wl-blue);
        font-family: Consolas, monospace;
        font-size: 0.65rem;
        font-weight: 950;
        letter-spacing: 0.05em;
    }

    .wl-fit-question:first-child legend small {
        color: var(--wl-gold);
    }

    .wl-fit-question legend strong {
        color: var(--wl-text);
        font-size: 0.82rem;
        font-weight: 950;
    }

    .wl-fit-options {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .wl-fit-options button {
        min-height: 34px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 7px;
        padding: 0 9px;
        color: var(--wl-muted);
        background: rgba(15, 23, 42, 0.76);
        font-size: 0.69rem;
        font-weight: 900;
        cursor: pointer;
    }

    .wl-fit-options button:hover,
    .wl-fit-options button:focus-visible {
        border-color: rgba(101, 199, 232, 0.55);
        color: var(--wl-soft);
        outline: none;
    }

    .wl-fit-options button.active {
        border-color: rgba(243, 201, 105, 0.72);
        color: #07111f;
        background: var(--wl-gold);
        box-shadow: 0 0 0 3px rgba(243, 201, 105, 0.08);
    }

    .wl-fit-command {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        margin-top: 12px;
        border: 1px dashed rgba(243, 201, 105, 0.32);
        border-radius: 9px;
        padding: 10px;
        background: rgba(243, 201, 105, 0.035);
    }

    .wl-fit-receipt {
        display: flex;
        min-width: 0;
        flex-wrap: wrap;
        gap: 6px;
    }

    .wl-fit-receipt span {
        display: inline-flex;
        min-height: 28px;
        align-items: center;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 6px;
        padding: 0 8px;
        color: var(--wl-dim);
        background: rgba(2, 6, 23, 0.36);
        font-family: Consolas, monospace;
        font-size: 0.68rem;
        font-weight: 900;
    }

    .wl-fit-receipt span.locked {
        border-color: rgba(101, 199, 232, 0.25);
        color: var(--wl-blue);
    }

    .wl-fit-command .wl-action:disabled {
        opacity: 0.48;
        cursor: not-allowed;
        filter: grayscale(0.55);
    }

    .wl-fit-results {
        margin-top: 16px;
        border-top: 1px solid rgba(243, 201, 105, 0.2);
        padding-top: 16px;
    }

    .wl-fit-result-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .wl-fit-result-card {
        position: relative;
        display: grid;
        grid-template-rows: auto auto auto auto 1fr;
        min-width: 0;
        overflow: hidden;
        border: 1px solid rgba(148, 163, 184, 0.17);
        border-top: 3px solid var(--wl-blue);
        border-radius: 9px;
        padding: 14px;
        background: linear-gradient(150deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.86));
    }

    .wl-fit-result-card:first-child {
        border-top-color: var(--wl-gold);
    }

    .wl-fit-rank {
        position: absolute;
        top: 10px;
        right: 10px;
        color: rgba(243, 201, 105, 0.56);
        font-family: Consolas, monospace;
        font-size: 1.3rem;
        font-weight: 950;
    }

    .wl-fit-result-identity {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
        padding-right: 30px;
    }

    .wl-fit-result-identity .wl-weapon-icon {
        width: 54px;
        height: 54px;
    }

    .wl-fit-result-identity h4 {
        margin: 0;
        overflow: hidden;
        color: var(--wl-text);
        font-size: 0.98rem;
        font-weight: 950;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-fit-evidence,
    .wl-fit-reason,
    .wl-fit-caution {
        margin: 10px 0 0;
        line-height: 1.5;
        word-break: keep-all;
    }

    .wl-fit-evidence {
        color: var(--wl-soft);
        font-size: 0.76rem;
        font-weight: 850;
    }

    .wl-fit-reason {
        color: var(--wl-muted);
        font-size: 0.73rem;
    }

    .wl-fit-caution {
        border-left: 2px solid rgba(101, 199, 232, 0.35);
        padding-left: 8px;
        color: var(--wl-dim);
        font-size: 0.68rem;
    }

    .wl-fit-result-actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
        align-self: end;
        margin-top: 12px;
    }

    .wl-fit-action {
        display: inline-flex;
        min-height: 34px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 6px;
        padding: 0 6px;
        color: var(--wl-muted);
        background: rgba(15, 23, 42, 0.82);
        font-size: 0.68rem;
        font-weight: 900;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
    }

    .wl-fit-action:hover,
    .wl-fit-action:focus-visible {
        border-color: rgba(101, 199, 232, 0.52);
        color: var(--wl-blue);
        outline: none;
    }

    .wl-fit-action.primary {
        border-color: rgba(243, 201, 105, 0.42);
        color: var(--wl-gold);
        background: rgba(243, 201, 105, 0.08);
    }

    .wl-fit-method {
        margin: 12px 0 0;
        color: var(--wl-dim);
        font-size: 0.7rem;
        line-height: 1.55;
    }

    @media (max-width: 1040px) {
        .wl-fit-question-grid,
        .wl-fit-result-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .wl-fit-result-card:first-child {
            grid-column: 1 / -1;
        }
    }

    @media (max-width: 760px) {
        .wl-fit-finder {
            padding: 13px;
        }

        .wl-fit-question-grid,
        .wl-fit-result-grid {
            grid-template-columns: 1fr;
        }

        .wl-fit-result-card:first-child {
            grid-column: auto;
        }

        .wl-fit-question {
            padding: 11px;
        }

        .wl-fit-options {
            flex-wrap: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .wl-fit-options::-webkit-scrollbar {
            display: none;
        }

        .wl-fit-options button {
            flex: 0 0 auto;
            min-height: 42px;
        }

        .wl-fit-command {
            grid-template-columns: 1fr;
        }

        .wl-fit-command .wl-action {
            width: 100%;
            min-height: 46px;
        }

        .wl-fit-receipt {
            flex-wrap: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .wl-fit-receipt span {
            flex: 0 0 auto;
        }

        .wl-fit-result-actions {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .wl-fit-action {
            min-height: 42px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .wl-fit-options button,
        .wl-fit-result-card {
            transition: none;
        }
    }
