.fer-v13-lab,
.fer-v13-compare {
    --fer-v13-navy: #071a2d;
    --fer-v13-blue: #0969da;
    --fer-v13-cyan: #12b8b0;
    --fer-v13-green: #12824c;
    --fer-v13-line: #dce5ee;
    --fer-v13-soft: #f4f8fb;
}

.fer-v13-lab {
    overflow: hidden;
    border-top: 4px solid var(--fer-v13-cyan);
}

.fer-v13-compare-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #b9d5e3;
    border-radius: 8px;
    color: #075c72;
    background: #eefbfc;
    font-weight: 800;
    text-decoration: none;
}

.fer-v13-lead {
    max-width: 860px;
    margin: -4px 0 20px;
    color: #536475;
    line-height: 1.65;
}

.fer-v13-workload {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.fer-v13-workload article {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--fer-v13-line);
    border-radius: 10px;
    background: linear-gradient(145deg, #fff, var(--fer-v13-soft));
}

.fer-v13-workload article > span,
.fer-v13-workload article > small {
    display: block;
    color: #637486;
    font-size: 12px;
}

.fer-v13-workload article > strong {
    display: block;
    margin: 7px 0 8px;
    color: var(--fer-v13-navy);
    font-size: clamp(19px, 2vw, 28px);
    line-height: 1.1;
}

.fer-v13-workload article > strong small {
    font-size: 12px;
    font-weight: 700;
}

.fer-v13-workload .is-consistency {
    border-color: #bce2d0;
    background: linear-gradient(145deg, #fff, #effbf5);
}

.fer-v13-window-wrap {
    overflow-x: auto;
    margin: 0 -2px 22px;
    border: 1px solid var(--fer-v13-line);
    border-radius: 10px;
}

.fer-v13-window-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    font-size: 13px;
}

.fer-v13-window-table th,
.fer-v13-window-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5edf3;
    text-align: center;
    white-space: nowrap;
}

.fer-v13-window-table thead th {
    color: #496175;
    background: #f2f6f9;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fer-v13-window-table tbody th {
    color: var(--fer-v13-navy);
    text-align: left;
}

.fer-v13-window-table tbody tr:last-child th,
.fer-v13-window-table tbody tr:last-child td {
    border-bottom: 0;
}

.fer-v13-splits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.fer-v13-splits article {
    padding: 15px;
    border: 1px solid var(--fer-v13-line);
    border-radius: 10px;
    background: #fff;
}

.fer-v13-splits header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.fer-v13-splits header strong { color: var(--fer-v13-navy); }
.fer-v13-splits header span { color: #6a7885; font-size: 12px; }

.fer-v13-splits article > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.fer-v13-splits article > div span {
    display: block;
    padding: 9px;
    border-radius: 7px;
    background: var(--fer-v13-soft);
    text-align: center;
}

.fer-v13-splits b,
.fer-v13-splits small { display: block; }
.fer-v13-splits b { color: var(--fer-v13-navy); font-size: 17px; }
.fer-v13-splits small { margin-top: 3px; color: #6c7b89; font-size: 10px; }

.fer-v13-trend {
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid var(--fer-v13-line);
    border-radius: 10px;
    background: #fbfdff;
}

.fer-v13-trend header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.fer-v13-trend header strong { color: var(--fer-v13-navy); }
.fer-v13-trend header span { color: #6b7b8a; font-size: 12px; }

.fer-v13-trend ol {
    display: grid;
    grid-template-columns: repeat(10, minmax(24px, 1fr));
    align-items: end;
    gap: 7px;
    height: 170px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.fer-v13-trend li {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-width: 0;
}

.fer-v13-trend li > span {
    position: relative;
    display: block;
    height: var(--fer-v13-height);
    min-height: 10px;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--fer-v13-cyan), var(--fer-v13-blue));
}

.fer-v13-trend li b {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #354d61;
    font-size: 10px;
}

.fer-v13-trend li small {
    overflow: hidden;
    margin-top: 6px;
    color: #748391;
    font-size: 9px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fer-v13-compare-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: clamp(24px, 4vw, 48px);
    margin: 14px 0 18px;
    border-radius: 12px;
    color: #fff;
    background: radial-gradient(circle at 88% 15%, rgba(18,184,176,.35), transparent 33%), linear-gradient(135deg, #071a2d, #0b3558 62%, #075c72);
}

.fer-v13-compare-hero h1 {
    margin: 8px 0;
    color: #fff;
    font-size: clamp(28px, 5vw, 50px);
    letter-spacing: -.03em;
}

.fer-v13-compare-hero p {
    max-width: 760px;
    margin: 0;
    color: #d9eaf5;
    line-height: 1.65;
}

.fer-v13-compare-hero > div:last-child {
    min-width: 126px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(0,0,0,.14);
    text-align: center;
}

.fer-v13-compare-hero > div:last-child strong,
.fer-v13-compare-hero > div:last-child span { display: block; }
.fer-v13-compare-hero > div:last-child strong { font-size: 34px; }
.fer-v13-compare-hero > div:last-child span { color: #bfe9e7; font-size: 12px; }

.fer-v13-picker {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid var(--fer-v13-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7,26,45,.08);
}

.fer-v13-player-picker {
    position: relative;
    display: block;
    min-width: 0;
}

.fer-v13-player-picker > span,
.fer-v13-player-picker > small { display: block; }
.fer-v13-player-picker > span { margin-bottom: 6px; color: #344b60; font-size: 12px; font-weight: 800; }
.fer-v13-player-picker > small { min-height: 17px; margin-top: 5px; color: #6b7c8c; font-size: 11px; }

.fer-v13-player-picker input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #bfcbd5;
    border-radius: 8px;
    color: var(--fer-v13-navy);
    background: #fff;
    font: inherit;
    font-weight: 700;
}

.fer-v13-picker > button {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--fer-v13-blue);
    font-weight: 900;
    cursor: pointer;
}

.fer-v13-versus {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 23px;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: var(--fer-v13-navy);
    font-size: 11px;
    font-weight: 900;
}

.fer-v13-suggest {
    position: absolute;
    top: calc(100% - 12px);
    right: 0;
    left: 0;
    overflow-y: auto;
    max-height: 330px;
    padding: 6px;
    border: 1px solid #cbd7e1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(7,26,45,.18);
}

.fer-v13-suggest button {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.fer-v13-suggest button:hover,
.fer-v13-suggest button:focus { background: #eef6fb; }
.fer-v13-suggest img,
.fer-v13-suggest i { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.fer-v13-suggest i { display: grid; place-items: center; color: #fff; background: #496e8e; font-style: normal; font-weight: 900; }
.fer-v13-suggest strong,
.fer-v13-suggest small { display: block; }
.fer-v13-suggest strong { color: var(--fer-v13-navy); }
.fer-v13-suggest small { margin-top: 2px; color: #6a7c8d; font-size: 10px; }

.fer-v13-picker-error {
    grid-column: 1 / -1;
    padding: 10px 12px;
    border-radius: 7px;
    color: #8c2d22;
    background: #fff0ee;
    font-size: 12px;
    font-weight: 700;
}

.fer-v13-start > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.fer-v13-start article {
    padding: 18px;
    border: 1px solid var(--fer-v13-line);
    border-radius: 9px;
    background: var(--fer-v13-soft);
}

.fer-v13-start article b {
    display: grid;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: var(--fer-v13-blue);
}
.fer-v13-start article strong { color: var(--fer-v13-navy); }
.fer-v13-start article p { margin-bottom: 0; color: #607181; font-size: 13px; line-height: 1.55; }

.fer-v13-popular > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.fer-v13-popular a { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--fer-v13-line); border-radius: 9px; color: var(--fer-v13-navy); text-decoration: none; }
.fer-v13-popular a > span:last-child { text-align: right; }
.fer-v13-popular strong,
.fer-v13-popular small { display: block; }
.fer-v13-popular small { margin-top: 3px; color: #718292; font-size: 10px; }
.fer-v13-popular b { display: grid; width: 34px; height: 34px; border-radius: 50%; place-items: center; color: #fff; background: var(--fer-v13-navy); font-size: 9px; }

.fer-v13-duel-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    margin-bottom: 18px;
}

.fer-v13-duel-head > article {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--fer-v13-line);
    border-top: 4px solid var(--fer-v13-blue);
    border-radius: 10px;
    background: #fff;
}

.fer-v13-duel-head > article.is-b { border-top-color: var(--fer-v13-cyan); }
.fer-v13-duel-head img,
.fer-v13-avatar { width: 92px; height: 92px; flex: 0 0 92px; border-radius: 50%; object-fit: cover; }
.fer-v13-avatar { display: grid; place-items: center; color: #fff; background: #426b8c; font-size: 32px; font-weight: 900; }
.fer-v13-duel-head article div { min-width: 0; }
.fer-v13-duel-head article span { color: #718292; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.fer-v13-duel-head h2 { overflow: hidden; margin: 4px 0; font-size: clamp(19px, 2.2vw, 29px); text-overflow: ellipsis; white-space: nowrap; }
.fer-v13-duel-head h2 a { color: var(--fer-v13-navy); text-decoration: none; }
.fer-v13-duel-head p,
.fer-v13-duel-head small { overflow: hidden; margin: 0; color: #536779; text-overflow: ellipsis; white-space: nowrap; }
.fer-v13-duel-head small { display: block; margin-top: 6px; font-size: 11px; }
.fer-v13-injury {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 8px;
    margin-top: 8px;
    border-radius: 999px;
    color: #496174;
    background: #edf3f6;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
}
.fer-v13-injury::before { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #8ca0ae; content: ""; }
.fer-v13-injury.is-not_reported_injured { color: #236347; background: #e6f5ec; }
.fer-v13-injury.is-not_reported_injured::before { background: #31a86e; }
.fer-v13-injury.is-reported_injured { color: #8b3029; background: #ffebe8; }
.fer-v13-injury.is-reported_injured::before { background: #d34a40; }

.fer-v13-duel-head > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 10px;
    color: #fff;
    background: var(--fer-v13-navy);
    text-align: center;
}
.fer-v13-duel-head > div span { color: #9eb6c9; font-size: 9px; letter-spacing: .1em; }
.fer-v13-duel-head > div strong { margin: 3px 0 8px; font-size: 36px; }
.fer-v13-duel-head > div small { color: #cfdee9; font-size: 10px; line-height: 1.45; }

.fer-v13-mode-tabs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 5px;
    margin-bottom: 14px;
    border: 1px solid var(--fer-v13-line);
    border-radius: 10px;
    background: #fff;
}

.fer-v13-mode-tabs button {
    flex: 1 0 auto;
    min-height: 42px;
    padding: 8px 15px;
    border: 0;
    border-radius: 7px;
    color: #4f6476;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
}
.fer-v13-mode-tabs button.is-active { color: #fff; background: var(--fer-v13-navy); }

.fer-v13-metric-list { border: 1px solid var(--fer-v13-line); border-radius: 10px; overflow: hidden; }
.fer-v13-metric-list article {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(150px, .8fr) minmax(120px, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 8px 14px;
    border-bottom: 1px solid #e5edf3;
}
.fer-v13-metric-list article:last-child { border-bottom: 0; }
.fer-v13-metric-list article:nth-child(even) { background: #f8fafc; }
.fer-v13-metric-list h3 { margin: 0; color: #657584; font-size: 12px; text-align: center; }
.fer-v13-metric-list h3 small { display: block; color: var(--fer-v13-green); font-size: 9px; text-transform: uppercase; }
.fer-v13-value { padding: 8px 12px; border-radius: 7px; }
.fer-v13-value:last-child { text-align: right; }
.fer-v13-value span,
.fer-v13-value strong { display: block; }
.fer-v13-value span { overflow: hidden; color: #748391; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.fer-v13-value strong { color: var(--fer-v13-navy); font-size: 21px; }
.fer-v13-value.is-leading { background: #e9f8f0; box-shadow: inset 3px 0 0 var(--fer-v13-green); }
.fer-v13-value:last-child.is-leading { box-shadow: inset -3px 0 0 var(--fer-v13-green); }

.fer-v13-method { border-left: 4px solid #d6a11d; }

@media (max-width: 900px) {
    .fer-v13-workload { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fer-v13-picker { grid-template-columns: 1fr auto 1fr; }
    .fer-v13-picker > button { grid-column: 1 / -1; }
    .fer-v13-duel-head { grid-template-columns: 1fr 100px 1fr; }
    .fer-v13-duel-head > article { flex-direction: column; align-items: flex-start; padding: 16px; }
    .fer-v13-duel-head img,
    .fer-v13-avatar { width: 72px; height: 72px; flex-basis: 72px; }
}

@media (max-width: 680px) {
    .fer-v13-workload,
    .fer-v13-splits,
    .fer-v13-start > div,
    .fer-v13-popular > div { grid-template-columns: 1fr; }
    .fer-v13-splits article > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fer-v13-compare-hero { grid-template-columns: 1fr; padding: 24px 18px; }
    .fer-v13-compare-hero > div:last-child { width: 100%; }
    .fer-v13-picker { grid-template-columns: 1fr; }
    .fer-v13-versus { margin: -3px auto; }
    .fer-v13-picker > button { grid-column: auto; }
    .fer-v13-duel-head { grid-template-columns: 1fr; }
    .fer-v13-duel-head > div { min-height: 88px; }
    .fer-v13-duel-head > article { flex-direction: row; }
    .fer-v13-metric-list article { grid-template-columns: minmax(80px, 1fr) 104px minmax(80px, 1fr); padding: 7px; }
    .fer-v13-value { padding: 7px; }
    .fer-v13-value strong { font-size: 17px; }
    .fer-v13-trend ol { gap: 4px; height: 145px; }
    .fer-v13-trend li small { display: none; }
}

@media (prefers-color-scheme: dark) {
    .fer-theme-auto .fer-v13-lab,
    .fer-theme-auto .fer-v13-picker,
    .fer-theme-auto .fer-v13-start article,
    .fer-theme-auto .fer-v13-duel-head > article,
    .fer-theme-auto .fer-v13-mode-tabs,
    .fer-theme-auto .fer-v13-mode-panel,
    .fer-theme-auto .fer-v13-splits article,
    .fer-theme-auto .fer-v13-trend { background: #10283a; border-color: #29465b; }
}

.fer-dark .fer-v13-lab,
.fer-dark .fer-v13-picker,
.fer-dark .fer-v13-start article,
.fer-dark .fer-v13-duel-head > article,
.fer-dark .fer-v13-mode-tabs,
.fer-dark .fer-v13-mode-panel,
.fer-dark .fer-v13-splits article,
.fer-dark .fer-v13-trend {
    background: #10283a;
    border-color: #29465b;
}
