.fighter-profile {
    --fighter-panel-corner-cut: 22px;
    min-height: 100vh;
    padding: clamp(132px, 11vw, 158px) 24px 72px;
    overflow-x: hidden;
    background-color: #06100f;
    background-image:
        radial-gradient(circle at 18% 10%, rgba(201, 168, 76, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(3, 10, 11, 0.96), rgba(8, 19, 31, 0.88) 48%, rgba(26, 38, 24, 0.92)),
        url('../images/backgrounds/navys-camouflage-texture.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.fighter-profile__shell {
    width: min(1420px, 100%);
    margin: 0 auto;
}

.fighter-frame-corner {
    position: absolute;
    z-index: 3;
    width: clamp(48px, 4.8vw, 76px);
    aspect-ratio: 1;
    background-image: url('../images/ui/category-frame-corner.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.fighter-frame-corner--top-left {
    top: -7px;
    left: -7px;
}

.fighter-frame-corner--top-right {
    top: -7px;
    right: -7px;
    transform: rotate(90deg);
}

.fighter-frame-corner--bottom-right {
    right: -7px;
    bottom: -7px;
    transform: rotate(180deg);
}

.fighter-frame-corner--bottom-left {
    bottom: -7px;
    left: -7px;
    transform: rotate(270deg);
}

.fighter-profile__portrait .fighter-frame-corner,
.fighter-dossier .fighter-frame-corner {
    z-index: 5;
}

.fighter-profile__portrait .fighter-frame-corner--top-left,
.fighter-dossier .fighter-frame-corner--top-left {
    top: -10px;
    left: -10px;
}

.fighter-profile__portrait .fighter-frame-corner--top-right,
.fighter-dossier .fighter-frame-corner--top-right {
    top: -10px;
    right: -10px;
}

.fighter-profile__portrait .fighter-frame-corner--bottom-right,
.fighter-dossier .fighter-frame-corner--bottom-right {
    right: -10px;
    bottom: -10px;
}

.fighter-profile__portrait .fighter-frame-corner--bottom-left,
.fighter-dossier .fighter-frame-corner--bottom-left {
    bottom: -10px;
    left: -10px;
}

.fighter-profile__hero {
    display: grid;
    grid-template-columns: minmax(310px, 0.34fr) minmax(0, 0.66fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: stretch;
}

.fighter-profile__portrait {
    position: relative;
    isolation: isolate;
    min-height: 0;
    aspect-ratio: 4 / 5;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.38);
    overflow: visible;
}

.fighter-profile__portrait::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background: rgba(226, 201, 120, 0.92);
    clip-path: polygon(
        var(--fighter-panel-corner-cut) 0,
        calc(100% - var(--fighter-panel-corner-cut)) 0,
        100% var(--fighter-panel-corner-cut),
        100% calc(100% - var(--fighter-panel-corner-cut)),
        calc(100% - var(--fighter-panel-corner-cut)) 100%,
        var(--fighter-panel-corner-cut) 100%,
        0 calc(100% - var(--fighter-panel-corner-cut)),
        0 var(--fighter-panel-corner-cut)
    );
    pointer-events: none;
}

.fighter-profile__portrait::after {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 14px;
    border: 1px solid rgba(226, 201, 120, 0.3);
    clip-path: polygon(
        calc(var(--fighter-panel-corner-cut) - 8px) 0,
        calc(100% - var(--fighter-panel-corner-cut) + 8px) 0,
        100% calc(var(--fighter-panel-corner-cut) - 8px),
        100% calc(100% - var(--fighter-panel-corner-cut) + 8px),
        calc(100% - var(--fighter-panel-corner-cut) + 8px) 100%,
        calc(var(--fighter-panel-corner-cut) - 8px) 100%,
        0 calc(100% - var(--fighter-panel-corner-cut) + 8px),
        0 calc(var(--fighter-panel-corner-cut) - 8px)
    );
    pointer-events: none;
}

.fighter-profile__portrait img,
.fighter-profile__portrait-placeholder {
    position: absolute;
    z-index: 1;
    inset: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    clip-path: polygon(
        var(--fighter-panel-corner-cut) 0,
        calc(100% - var(--fighter-panel-corner-cut)) 0,
        100% var(--fighter-panel-corner-cut),
        100% calc(100% - var(--fighter-panel-corner-cut)),
        calc(100% - var(--fighter-panel-corner-cut)) 100%,
        var(--fighter-panel-corner-cut) 100%,
        0 calc(100% - var(--fighter-panel-corner-cut)),
        0 var(--fighter-panel-corner-cut)
    );
}

.fighter-profile__portrait img {
    display: block;
    object-fit: cover;
    object-position: center top;
}

.fighter-profile__portrait-placeholder {
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(8, 19, 31, 0.08), rgba(4, 10, 12, 0.68)),
        radial-gradient(circle at 50% 22%, rgba(226, 201, 120, 0.2), transparent 30%),
        linear-gradient(145deg, rgba(82, 99, 58, 0.54), rgba(8, 19, 31, 0.9));
}

.fighter-profile__portrait-placeholder span {
    color: rgba(226, 201, 120, 0.58);
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(5rem, 10vw, 9rem);
    line-height: 1;
}

.fighter-profile__identity {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.fighter-profile__eyebrow {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.fighter-profile__title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin-bottom: 22px;
}

.fighter-profile__name {
    max-width: none;
    color: var(--gold-light);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(3.2rem, 5vw, 5.9rem);
    line-height: 0.92;
    letter-spacing: 0;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.72);
}

.fighter-profile__badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid rgba(226, 201, 120, 0.95);
    background:
        linear-gradient(180deg, rgba(226, 201, 120, 0.98), rgba(139, 111, 39, 0.98)),
        linear-gradient(90deg, rgba(7, 16, 15, 0.22), transparent);
    color: #07100f;
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.42rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow:
        inset 0 0 0 1px rgba(7, 16, 15, 0.16),
        0 12px 26px rgba(0, 0, 0, 0.34);
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
}

.fighter-dossier,
.fighter-panel {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(226, 201, 120, 0.64);
    background-color: rgba(5, 13, 15, 0.78);
    background-image:
        linear-gradient(135deg, rgba(8, 19, 31, 0.84), rgba(15, 29, 23, 0.78)),
        url('../images/backgrounds/navys-camouflage-texture.jpg');
    background-position: center;
    background-size: cover;
    box-shadow:
        inset 0 0 0 1px rgba(226, 201, 120, 0.12),
        0 18px 44px rgba(0, 0, 0, 0.28);
}

.fighter-dossier {
    flex: 1 1 auto;
    border: 0;
    background: transparent;
    background-image: none;
    overflow: visible;
}

.fighter-dossier::before,
.fighter-dossier::after {
    content: '';
    position: absolute;
    pointer-events: none;
    clip-path: polygon(
        var(--fighter-panel-corner-cut) 0,
        calc(100% - var(--fighter-panel-corner-cut)) 0,
        100% var(--fighter-panel-corner-cut),
        100% calc(100% - var(--fighter-panel-corner-cut)),
        calc(100% - var(--fighter-panel-corner-cut)) 100%,
        var(--fighter-panel-corner-cut) 100%,
        0 calc(100% - var(--fighter-panel-corner-cut)),
        0 var(--fighter-panel-corner-cut)
    );
}

.fighter-dossier::before {
    z-index: 0;
    inset: 0;
    background: rgba(226, 201, 120, 0.72);
}

.fighter-dossier::after {
    z-index: 1;
    inset: 2px;
    background-color: rgba(5, 13, 15, 0.88);
    background-image:
        linear-gradient(135deg, rgba(8, 19, 31, 0.88), rgba(15, 29, 23, 0.82)),
        url('../images/backgrounds/navys-camouflage-texture.jpg');
    background-position: center;
    background-size: cover;
}

.fighter-dossier__header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(226, 201, 120, 0.38);
    background: linear-gradient(90deg, rgba(47, 59, 34, 0.46), rgba(8, 19, 31, 0.18));
}

.fighter-dossier__header span {
    color: var(--gold-light);
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.62rem;
    letter-spacing: 0.12em;
}

.fighter-dossier__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fighter-dossier__item {
    min-width: 0;
    padding: 18px 22px;
    border-right: 1px solid rgba(201, 168, 76, 0.28);
    border-bottom: 1px solid rgba(201, 168, 76, 0.28);
}

.fighter-dossier__item:nth-child(3n) {
    border-right: 0;
}

.fighter-dossier__item span,
.fighter-dossier__performance span,
.fighter-media-card__body span,
.fighter-related-card__body span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.fighter-dossier__item strong {
    display: block;
    color: var(--paper);
    font-size: clamp(1rem, 1.12vw, 1.16rem);
    line-height: 1.35;
}

.fighter-dossier__performance {
    position: relative;
    z-index: 2;
    padding: 18px 22px 22px;
    background: linear-gradient(90deg, rgba(47, 59, 34, 0.38), rgba(8, 19, 31, 0.18));
}

.fighter-dossier__performance h2,
.fighter-panel__heading h2 {
    color: var(--gold-light);
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 400;
    letter-spacing: 0.09em;
    line-height: 0.95;
}

.fighter-dossier__performance h2 {
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 2vw, 2.2rem);
}

.fighter-dossier__performance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(226, 201, 120, 0.36);
}

.fighter-dossier__performance-grid > div {
    min-width: 0;
    padding: 16px 20px 0;
    border-right: 1px solid rgba(226, 201, 120, 0.3);
}

.fighter-dossier__performance-grid > div:first-child {
    padding-left: 0;
}

.fighter-dossier__performance-grid > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.fighter-dossier__performance strong {
    display: block;
    color: var(--paper);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(2.05rem, 2.7vw, 3rem);
    line-height: 0.95;
}

.fighter-dossier__performance small {
    display: block;
    margin-top: 8px;
    color: var(--gold-light);
    font-weight: 900;
}

.fighter-profile__panels {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: 24px;
    margin-top: 24px;
}

.fighter-panel {
    padding: clamp(20px, 2.2vw, 28px);
}

.fighter-panel--related {
    margin-top: 24px;
}

.fighter-panel__heading {
    position: relative;
    z-index: 2;
    margin-bottom: 22px;
}

.fighter-panel__heading h2 {
    font-size: clamp(2.15rem, 3vw, 3.05rem);
}

.fighter-skills {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.fighter-skill {
    min-width: 0;
}

.fighter-skill__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    color: var(--paper);
    font-weight: 900;
}

.fighter-skill__meta span {
    min-width: 0;
}

.fighter-skill__meta strong {
    color: var(--gold-light);
}

.fighter-skill__track {
    height: 12px;
    padding: 2px;
    border: 1px solid rgba(226, 201, 120, 0.3);
    background: rgba(2, 7, 8, 0.86);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.58);
    overflow: hidden;
}

.fighter-skill__track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #465935, #747b42 58%, #c9a84c);
    box-shadow: 0 0 14px rgba(201, 168, 76, 0.24);
}

.fighter-skills__legend {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 201, 120, 0.22);
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fighter-skills__legend span:last-child {
    color: var(--gold-light);
}

.fighter-fights,
.fighter-related {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
}

.fighter-fights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fighter-media-card,
.fighter-related-card {
    border: 1px solid rgba(201, 168, 76, 0.54);
    background: rgba(4, 10, 12, 0.74);
    box-shadow: inset 0 0 0 1px rgba(226, 201, 120, 0.08);
    overflow: hidden;
}

.fighter-media-card {
    display: grid;
    grid-template-rows: minmax(132px, 0.8fr) auto;
    min-height: 292px;
}

.fighter-media-card img,
.fighter-media-card__placeholder,
.fighter-related-card img,
.fighter-related-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    background:
        linear-gradient(180deg, rgba(4, 10, 12, 0.05), rgba(4, 10, 12, 0.64)),
        linear-gradient(135deg, rgba(82, 99, 58, 0.58), rgba(8, 19, 31, 0.9)),
        url('../images/backgrounds/navys-camouflage-texture.jpg');
    background-position: center;
    background-size: cover;
}

.fighter-media-card__placeholder,
.fighter-related-card__placeholder {
    display: grid;
    place-items: center;
}

.fighter-media-card__placeholder span {
    color: rgba(226, 201, 120, 0.22);
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 4rem;
}

.fighter-media-card__body,
.fighter-related-card__body {
    min-width: 0;
    padding: 18px;
}

.fighter-media-card__body strong,
.fighter-related-card__body strong {
    display: block;
    color: var(--paper);
    font-size: 1.04rem;
    line-height: 1.38;
}

.fighter-media-card__body small {
    display: block;
    margin-top: 10px;
    color: var(--gold-light);
    font-weight: 900;
}

.fighter-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fighter-related-card {
    display: grid;
    grid-template-columns: minmax(170px, 0.36fr) minmax(0, 0.64fr);
    min-height: 210px;
}

.fighter-related-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fighter-related-card__body strong {
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(2.05rem, 2.7vw, 2.9rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.96;
}

.fighter-related-card__body a {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(226, 201, 120, 0.76);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease;
}

.fighter-related-card__body a:hover,
.fighter-related-card__body a:focus-visible {
    background: var(--gold-light);
    color: var(--ink);
}

@media (max-width: 1180px) {
    .fighter-profile__shell {
        width: min(1120px, 100%);
    }

    .fighter-profile__hero {
        grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
    }

    .fighter-profile__title-row,
    .fighter-profile__panels,
    .fighter-fights {
        grid-template-columns: 1fr;
    }

    .fighter-profile__badge {
        width: fit-content;
    }

    .fighter-fights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    .fighter-profile {
        --fighter-panel-corner-cut: 16px;
        padding: 174px 16px 52px;
        background-attachment: scroll;
    }

    .fighter-frame-corner {
        width: 44px;
    }

    .fighter-profile__hero,
    .fighter-profile__panels,
    .fighter-fights,
    .fighter-related {
        grid-template-columns: 1fr;
    }

    .fighter-profile__portrait {
        aspect-ratio: 5 / 6;
    }

    .fighter-profile__name {
        font-size: clamp(2.75rem, 14vw, 4.6rem);
    }

    .fighter-dossier__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fighter-dossier__item:nth-child(3n) {
        border-right: 1px solid rgba(201, 168, 76, 0.28);
    }

    .fighter-dossier__item:nth-child(2n) {
        border-right: 0;
    }

    .fighter-dossier__performance-grid,
    .fighter-skills {
        grid-template-columns: 1fr;
    }

    .fighter-dossier__performance-grid > div {
        padding: 16px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(226, 201, 120, 0.22);
    }

    .fighter-dossier__performance-grid > div:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .fighter-media-card {
        grid-template-rows: minmax(180px, auto) auto;
        min-height: 0;
    }

    .fighter-related-card {
        grid-template-columns: 1fr;
    }

    .fighter-related-card img,
    .fighter-related-card__placeholder {
        min-height: 190px;
    }
}

@media (max-width: 560px) {
    .fighter-profile {
        --fighter-panel-corner-cut: 12px;
        padding-top: 188px;
    }

    .fighter-frame-corner {
        width: 32px;
    }

    .fighter-frame-corner--top-left {
        top: -4px;
        left: -4px;
    }

    .fighter-frame-corner--top-right {
        top: -4px;
        right: -4px;
    }

    .fighter-frame-corner--bottom-right {
        right: -4px;
        bottom: -4px;
    }

    .fighter-frame-corner--bottom-left {
        bottom: -4px;
        left: -4px;
    }

    .fighter-profile__portrait .fighter-frame-corner--top-left,
    .fighter-dossier .fighter-frame-corner--top-left {
        top: -6px;
        left: -6px;
    }

    .fighter-profile__portrait .fighter-frame-corner--top-right,
    .fighter-dossier .fighter-frame-corner--top-right {
        top: -6px;
        right: -6px;
    }

    .fighter-profile__portrait .fighter-frame-corner--bottom-right,
    .fighter-dossier .fighter-frame-corner--bottom-right {
        right: -6px;
        bottom: -6px;
    }

    .fighter-profile__portrait .fighter-frame-corner--bottom-left,
    .fighter-dossier .fighter-frame-corner--bottom-left {
        bottom: -6px;
        left: -6px;
    }

    .fighter-profile__title-row {
        gap: 16px;
    }

    .fighter-profile__badge {
        width: 100%;
    }

    .fighter-dossier__grid {
        grid-template-columns: 1fr;
    }

    .fighter-dossier__item,
    .fighter-dossier__item:nth-child(2n),
    .fighter-dossier__item:nth-child(3n) {
        border-right: 0;
    }

    .fighter-panel {
        padding: 18px;
    }

    .fighter-skills__legend {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fighter-panel-frame {
    position: relative;
    isolation: isolate;
    overflow: visible;
    border: 0;
    background: transparent;
    background-image: none;
}

.fighter-panel-frame.fighter-panel,
.fighter-panel-frame.fighter-dossier {
    padding: 0;
    border: 0;
    background: transparent;
    background-image: none;
    box-shadow: none;
}

.fighter-panel-frame .fighter-frame-corner {
    z-index: 5;
}

.fighter-panel-frame .fighter-frame-corner--top-left {
    top: -10px;
    left: -10px;
}

.fighter-panel-frame .fighter-frame-corner--top-right {
    top: -10px;
    right: -10px;
}

.fighter-panel-frame .fighter-frame-corner--bottom-right {
    right: -10px;
    bottom: -10px;
}

.fighter-panel-frame .fighter-frame-corner--bottom-left {
    bottom: -10px;
    left: -10px;
}

.fighter-panel-surface {
    position: relative;
    z-index: 1;
    min-height: 100%;
    overflow: hidden;
    background: rgba(226, 201, 120, 0.72);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    clip-path: polygon(
        var(--fighter-panel-corner-cut) 0,
        calc(100% - var(--fighter-panel-corner-cut)) 0,
        100% var(--fighter-panel-corner-cut),
        100% calc(100% - var(--fighter-panel-corner-cut)),
        calc(100% - var(--fighter-panel-corner-cut)) 100%,
        var(--fighter-panel-corner-cut) 100%,
        0 calc(100% - var(--fighter-panel-corner-cut)),
        0 var(--fighter-panel-corner-cut)
    );
}

.fighter-panel-surface::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 2px;
    background-color: rgba(5, 13, 15, 0.9);
    background-image:
        linear-gradient(135deg, rgba(8, 19, 31, 0.88), rgba(15, 29, 23, 0.82)),
        url('../images/backgrounds/navys-camouflage-texture.jpg');
    background-position: center;
    background-size: cover;
    clip-path: polygon(
        calc(var(--fighter-panel-corner-cut) - 2px) 0,
        calc(100% - var(--fighter-panel-corner-cut) + 2px) 0,
        100% calc(var(--fighter-panel-corner-cut) - 2px),
        100% calc(100% - var(--fighter-panel-corner-cut) + 2px),
        calc(100% - var(--fighter-panel-corner-cut) + 2px) 100%,
        calc(var(--fighter-panel-corner-cut) - 2px) 100%,
        0 calc(100% - var(--fighter-panel-corner-cut) + 2px),
        0 calc(var(--fighter-panel-corner-cut) - 2px)
    );
    pointer-events: none;
}

.fighter-panel-surface > * {
    position: relative;
    z-index: 1;
}

.fighter-panel.fighter-panel-frame > .fighter-panel-surface {
    padding: clamp(20px, 2.2vw, 28px);
}

.fighter-dossier > .fighter-panel-surface,
.fighter-profile__portrait > .fighter-panel-surface {
    padding: 0;
}

.fighter-dossier::before,
.fighter-dossier::after,
.fighter-profile__portrait::before,
.fighter-profile__portrait::after {
    content: none;
}

.fighter-profile__portrait {
    box-shadow: none;
}

.fighter-profile__portrait-surface {
    height: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.fighter-profile__portrait-surface::before {
    inset: 2px;
}

.fighter-profile__portrait-surface img,
.fighter-profile__portrait-surface .fighter-profile__portrait-placeholder {
    position: relative;
    z-index: 1;
    inset: auto;
    width: 100%;
    height: 100%;
    clip-path: none;
}

@media (max-width: 560px) {
    .fighter-panel-frame .fighter-frame-corner--top-left {
        top: -6px;
        left: -6px;
    }

    .fighter-panel-frame .fighter-frame-corner--top-right {
        top: -6px;
        right: -6px;
    }

    .fighter-panel-frame .fighter-frame-corner--bottom-right {
        right: -6px;
        bottom: -6px;
    }

    .fighter-panel-frame .fighter-frame-corner--bottom-left {
        bottom: -6px;
        left: -6px;
    }

    .fighter-panel.fighter-panel-frame > .fighter-panel-surface {
        padding: 18px;
    }
}

/* Compact fighter profile layout */
.fighter-profile {
    --fighter-panel-corner-cut: 18px;
    padding: clamp(118px, 9vw, 132px) 20px 50px;
}

.fighter-profile__shell {
    width: min(1220px, 100%);
}

.fighter-frame-corner {
    width: clamp(40px, 3.8vw, 58px);
}

.fighter-profile__hero {
    grid-template-columns: minmax(250px, 0.31fr) minmax(0, 0.69fr);
    gap: clamp(18px, 2.3vw, 28px);
    align-items: start;
}

.fighter-profile__portrait {
    max-width: 350px;
    width: 100%;
    justify-self: start;
}

.fighter-profile__portrait-surface {
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
}

.fighter-profile__portrait-placeholder span {
    font-size: clamp(4rem, 7vw, 6.2rem);
}

.fighter-profile__eyebrow {
    margin-bottom: 7px;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
}

.fighter-profile__title-row {
    gap: 14px;
    margin-bottom: 14px;
}

.fighter-profile__name {
    font-size: clamp(2.6rem, 4vw, 4.15rem);
    line-height: 0.94;
}

.fighter-profile__badge {
    min-width: 126px;
    min-height: 40px;
    padding: 0 16px;
    font-size: 1.08rem;
}

.fighter-dossier__header {
    min-height: 40px;
    padding: 0 18px;
}

.fighter-dossier__header span {
    font-size: 1.28rem;
}

.fighter-dossier__item {
    padding: 12px 16px;
}

.fighter-dossier__item span,
.fighter-dossier__performance span,
.fighter-media-card__body span,
.fighter-related-card__body span {
    margin-bottom: 4px;
    font-size: 0.64rem;
    letter-spacing: 0.11em;
}

.fighter-dossier__item strong {
    font-size: 0.96rem;
    line-height: 1.25;
}

.fighter-dossier__performance {
    padding: 12px 18px 16px;
}

.fighter-dossier__performance h2 {
    margin-bottom: 8px;
    font-size: clamp(1.34rem, 1.6vw, 1.7rem);
}

.fighter-dossier__performance-grid > div {
    padding: 11px 16px 0;
}

.fighter-dossier__performance strong {
    font-size: clamp(1.55rem, 2vw, 2.15rem);
}

.fighter-dossier__performance small {
    margin-top: 5px;
    font-size: 0.78rem;
}

.fighter-profile__panels {
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
    gap: 18px;
    margin-top: 18px;
}

.fighter-panel.fighter-panel-frame > .fighter-panel-surface {
    padding: 16px;
}

.fighter-panel--related {
    margin-top: 18px;
}

.fighter-panel__heading {
    margin-bottom: 12px;
}

.fighter-panel__heading h2 {
    font-size: clamp(1.72rem, 2.35vw, 2.35rem);
}

.fighter-skills {
    gap: 11px 16px;
}

.fighter-skill__meta {
    margin-bottom: 5px;
    font-size: 0.84rem;
}

.fighter-skill__track {
    height: 8px;
    padding: 1px;
}

.fighter-skills__legend {
    gap: 6px;
    margin-top: 13px;
    padding-top: 10px;
    font-size: 0.62rem;
}

.fighter-panel--fights .fighter-fights {
    grid-template-columns: 1fr;
    gap: 10px;
}

.fighter-media-card {
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 86px;
}

.fighter-media-card img,
.fighter-media-card__placeholder {
    min-height: 86px;
}

.fighter-media-card__placeholder span {
    font-size: 2.3rem;
}

.fighter-media-card__body,
.fighter-related-card__body {
    padding: 12px;
}

.fighter-media-card__body strong,
.fighter-related-card__body strong {
    font-size: 0.92rem;
    line-height: 1.25;
}

.fighter-media-card__body small {
    margin-top: 6px;
    font-size: 0.78rem;
}

.fighter-related {
    gap: 12px;
}

.fighter-related-card {
    grid-template-columns: minmax(120px, 0.32fr) minmax(0, 0.68fr);
    min-height: 132px;
}

.fighter-related-card__body strong {
    font-size: clamp(1.55rem, 2vw, 2.05rem);
}

.fighter-related-card__body a {
    margin-top: 12px;
    padding: 8px 12px;
    font-size: 0.68rem;
}

@media (max-width: 940px) {
    .fighter-profile {
        --fighter-panel-corner-cut: 14px;
        padding: 164px 16px 42px;
    }

    .fighter-profile__hero,
    .fighter-profile__panels,
    .fighter-related {
        grid-template-columns: 1fr;
    }

    .fighter-profile__portrait {
        max-width: 420px;
        justify-self: center;
    }

    .fighter-profile__title-row {
        grid-template-columns: 1fr;
    }

    .fighter-profile__badge {
        width: fit-content;
    }

    .fighter-dossier__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fighter-panel--fights .fighter-fights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .fighter-profile {
        --fighter-panel-corner-cut: 12px;
        padding-top: 178px;
    }

    .fighter-profile__name {
        font-size: clamp(2.25rem, 12vw, 3.25rem);
    }

    .fighter-profile__badge {
        width: 100%;
    }

    .fighter-dossier__grid,
    .fighter-dossier__performance-grid,
    .fighter-skills {
        grid-template-columns: 1fr;
    }

    .fighter-dossier__item,
    .fighter-dossier__item:nth-child(2n),
    .fighter-dossier__item:nth-child(3n) {
        border-right: 0;
    }

    .fighter-dossier__performance-grid > div {
        padding: 10px 0;
    }

    .fighter-panel.fighter-panel-frame > .fighter-panel-surface {
        padding: 14px;
    }

    .fighter-media-card,
    .fighter-related-card {
        grid-template-columns: 1fr;
    }

    .fighter-media-card img,
    .fighter-media-card__placeholder,
    .fighter-related-card img,
    .fighter-related-card__placeholder {
        min-height: 130px;
    }
}

/* Dashboard-style compact profile composition */
.fighter-profile {
    padding-top: clamp(112px, 8vw, 124px);
}

.fighter-profile__shell {
    width: min(1280px, 100%);
}

.fighter-profile__hero {
    grid-template-columns: 260px minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: stretch;
}

.fighter-profile__portrait {
    max-width: 260px;
    aspect-ratio: 260 / 330;
    align-self: stretch;
}

.fighter-profile__portrait-surface {
    height: 100%;
}

.fighter-profile__identity {
    justify-content: start;
}

.fighter-profile__title-row {
    align-items: start;
    margin-bottom: 12px;
}

.fighter-profile__name {
    font-size: clamp(2.8rem, 3.35vw, 3.6rem);
    line-height: 0.9;
}

.fighter-profile__badge {
    min-width: 112px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.98rem;
}

.fighter-dossier__surface {
    min-height: 0;
}

.fighter-dossier__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fighter-dossier__item {
    padding: 10px 14px;
}

.fighter-dossier__header {
    min-height: 36px;
}

.fighter-performance > .fighter-panel-surface {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 16px;
}

.fighter-performance__heading {
    margin-bottom: 12px;
}

.fighter-performance__heading h2 {
    margin: 0;
    color: var(--gold-light);
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(1.7rem, 2vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.09em;
    line-height: 0.95;
    text-transform: uppercase;
}

.fighter-performance__grid {
    display: grid;
    flex: 1 1 auto;
    gap: 10px;
}

.fighter-performance__grid > div {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(226, 201, 120, 0.22);
    background: rgba(4, 10, 12, 0.44);
}

.fighter-performance__grid span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fighter-performance__grid strong {
    display: block;
    color: var(--paper);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    line-height: 0.95;
}

.fighter-performance__grid small {
    display: block;
    margin-top: 4px;
    color: var(--gold-light);
    font-weight: 900;
}

.fighter-profile__panels {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    margin-top: 18px;
}

.fighter-panel--fights .fighter-fights {
    gap: 9px;
}

.fighter-media-card {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 72px;
}

.fighter-media-card img,
.fighter-media-card__placeholder {
    min-height: 72px;
}

.fighter-media-card__body {
    display: grid;
    align-content: center;
    padding: 10px 12px;
}

.fighter-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fighter-related-card {
    grid-template-columns: 138px minmax(0, 1fr);
    min-height: 150px;
}

.fighter-related-card img,
.fighter-related-card__placeholder {
    min-height: 150px;
}

@media (max-width: 1120px) {
    .fighter-profile__hero {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .fighter-performance {
        grid-column: 1 / -1;
    }

    .fighter-performance__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    .fighter-profile__hero,
    .fighter-profile__panels,
    .fighter-related {
        grid-template-columns: 1fr;
    }

    .fighter-profile__portrait {
        max-width: 320px;
        justify-self: center;
    }

    .fighter-performance {
        grid-column: auto;
    }

    .fighter-performance__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .fighter-dossier__grid {
        grid-template-columns: 1fr;
    }

    .fighter-media-card,
    .fighter-related-card {
        grid-template-columns: 1fr;
    }
}

/*
 * The rules below came from the later dynamic-profile redesign (9f812c4).
 * They stay neutralized so d54b1c1 remains the sole visual authority.
 *
.fighter-profile__hero--without-performance {
    grid-template-columns: 260px minmax(0, 1fr);
}

.fighter-profile__panels--single {
    grid-template-columns: minmax(0, 1fr);
}

.fighter-media-card--featured img {
    object-position: center;
}

@media (max-width: 940px) {
    .fighter-profile__hero--without-performance {
        grid-template-columns: 1fr;
    }
}

Basic public profile polish
.fighter-profile {
    padding-top: clamp(112px, 8vw, 124px);
    padding-bottom: 54px;
}

.fighter-profile__shell {
    width: min(1240px, 100%);
}

.fighter-profile__hero {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    gap: clamp(22px, 3vw, 36px);
    align-items: stretch;
}

.fighter-profile__portrait {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    align-self: start;
}

.fighter-profile__body {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 18px;
}

.fighter-profile__identity {
    display: block;
    min-width: 0;
    padding: 2px 6px 0;
}

.fighter-profile__identity .fighter-profile__eyebrow {
    margin-bottom: 8px;
}

.fighter-profile__name {
    max-width: 900px;
    margin: 0;
    font-size: clamp(3.15rem, 5.5vw, 5.7rem);
    line-height: 0.88;
    text-wrap: balance;
}

.fighter-profile__nickname {
    margin: 9px 0 0;
    color: var(--gold-light);
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    letter-spacing: 0.08em;
    line-height: 1;
}

.fighter-profile__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
}

.fighter-profile__facts > div {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(226, 201, 120, 0.35);
    background: rgba(4, 11, 12, 0.52);
}

.fighter-profile__facts dt {
    color: var(--muted);
    font-size: 0.59rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fighter-profile__facts dd {
    margin: 0;
    color: var(--paper);
    font-size: 0.82rem;
    font-weight: 900;
}

.fighter-profile__overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
    gap: 16px;
    min-width: 0;
}

.fighter-profile__overview--single {
    grid-template-columns: minmax(0, 1fr);
}

.fighter-dossier {
    min-width: 0;
}

.fighter-dossier__header {
    min-height: 38px;
    padding: 0 16px;
}

.fighter-dossier__header span {
    font-size: 1.22rem;
    letter-spacing: 0.1em;
}

.fighter-dossier__grid {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.fighter-dossier__item,
.fighter-dossier__item:nth-child(2n),
.fighter-dossier__item:nth-child(3n) {
    min-height: 64px;
    padding: 11px 14px;
    border-right: 1px solid rgba(201, 168, 76, 0.24);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.fighter-dossier__item span {
    margin-bottom: 5px;
}

.fighter-dossier__item strong {
    font-size: 0.92rem;
}

.fighter-record > .fighter-panel-surface {
    display: grid;
    min-height: 100%;
    align-content: center;
    padding: 18px;
}

.fighter-record__header {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(226, 201, 120, 0.24);
}

.fighter-record__header .fighter-profile__eyebrow {
    margin-bottom: 4px;
}

.fighter-record__header h2 {
    margin: 0;
    color: var(--gold-light);
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.fighter-record__score {
    margin-top: 12px;
    color: var(--paper);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    letter-spacing: 0.05em;
    line-height: 0.9;
}

.fighter-record__knockouts {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 10px 0 0;
    color: var(--gold-light);
}

.fighter-record__knockouts strong {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.45rem;
}

.fighter-record__knockouts span {
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.fighter-profile__panels {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 20px;
    margin-top: 22px;
    align-items: stretch;
}

.fighter-profile__panels--single {
    grid-template-columns: minmax(0, 1fr);
}

.fighter-panel--skills > .fighter-panel-surface,
.fighter-panel--media > .fighter-panel-surface {
    min-height: 100%;
    padding: 20px;
}

.fighter-panel__heading {
    margin-bottom: 14px;
}

.fighter-skills {
    gap: 12px 18px;
}

.fighter-skill__meta {
    margin-bottom: 6px;
}

.fighter-skill__track {
    height: 9px;
}

.fighter-profile-media {
    display: grid;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(226, 201, 120, 0.42);
    background: rgba(3, 9, 10, 0.62);
}

.fighter-profile-media img {
    display: block;
    width: 100%;
    height: clamp(230px, 24vw, 330px);
    object-fit: cover;
    object-position: center;
}

.fighter-profile-media figcaption {
    padding: 12px 14px;
    border-top: 1px solid rgba(226, 201, 120, 0.28);
    color: var(--paper);
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.3;
}

@media (max-width: 1040px) {
    .fighter-profile__hero {
        grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    }

    .fighter-profile__overview {
        grid-template-columns: minmax(0, 1fr);
    }

    .fighter-record > .fighter-panel-surface {
        grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
        align-items: center;
        column-gap: 18px;
    }

    .fighter-record__header {
        grid-column: 1 / -1;
    }

    .fighter-profile__panels {
        grid-template-columns: 1fr;
    }

    .fighter-profile-media img {
        height: clamp(250px, 48vw, 410px);
    }
}

@media (max-width: 760px) {
    .fighter-profile {
        padding-top: 166px;
    }

    .fighter-profile__hero {
        grid-template-columns: 1fr;
    }

    .fighter-profile__portrait {
        width: min(340px, 100%);
        max-width: none;
        justify-self: center;
    }

    .fighter-profile__identity {
        padding-inline: 2px;
        text-align: center;
    }

    .fighter-profile__name {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .fighter-profile__facts {
        justify-content: center;
    }

    .fighter-profile__overview {
        gap: 14px;
    }

    .fighter-dossier__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .fighter-profile {
        padding-top: 178px;
        padding-inline: 14px;
    }

    .fighter-profile__facts {
        display: grid;
        grid-template-columns: 1fr;
    }

    .fighter-profile__facts > div {
        justify-content: space-between;
    }

    .fighter-dossier__grid {
        grid-template-columns: 1fr;
    }

    .fighter-dossier__item,
    .fighter-dossier__item:nth-child(2n),
    .fighter-dossier__item:nth-child(3n) {
        border-right: 0;
    }

    .fighter-record > .fighter-panel-surface {
        display: block;
        padding: 16px;
    }

    .fighter-record__score {
        margin-top: 14px;
    }

    .fighter-skills {
        grid-template-columns: 1fr;
    }

    .fighter-profile-media img {
        height: 220px;
    }
}
*/

.fighter-related-card > img,
.fighter-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fighter-related-card__action {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(226, 201, 120, 0.76);
    background: transparent;
    color: var(--gold-light);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: normal;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
}

.fighter-related-card__action:hover,
.fighter-related-card__action:focus-visible {
    background: var(--gold-light);
    color: var(--ink);
}

.fighter-media-modal[hidden],
.fighter-media-modal [hidden] {
    display: none;
}

.fighter-media-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.fighter-media-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 5, 6, 0.9);
}

.fighter-media-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    padding: 52px 20px 20px;
    border: 1px solid rgba(226, 201, 120, 0.76);
    background: #06100f;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.72);
}

.fighter-media-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(226, 201, 120, 0.76);
    background: transparent;
    color: var(--gold-light);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.fighter-media-modal__title {
    margin: 0 42px 14px 0;
    color: var(--gold-light);
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1;
}

.fighter-media-modal__content {
    display: grid;
    place-items: center;
    overflow: hidden;
}

.fighter-media-modal__video,
.fighter-media-modal__image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(92vw, 960px);
    max-height: min(86vh, calc(100vh - 144px));
    object-fit: contain;
}

@media (max-width: 560px) {
    .fighter-media-modal {
        padding: 12px;
    }

    .fighter-media-modal__dialog {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 48px 12px 12px;
    }
}
