/* ── GLAU Fight Detail Page ── */

/* ── Page shell ─────────────────────────────────────────────────────────────── */
.fd-page {
    padding-bottom: 80px;
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.fd-hero {
    background: linear-gradient(180deg, #0c0c1e 0%, #0a0a0a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 36px 0 0;
}

.fd-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 14px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .45);
}
.fd-hero__event {
    font-weight: 700;
    color: #c9a227;
    text-decoration: none;
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.fd-hero__event:hover { color: #e0b940; }
.fd-hero__sep { color: rgba(255, 255, 255, .2); }

.fd-hero__context {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.fd-ctx-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(201, 162, 39, .12);
    border: 1px solid rgba(201, 162, 39, .3);
    border-radius: 100px;
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #c9a227;
}

/* ── Matchup grid ────────────────────────────────────────────────────────────── */
.fd-matchup {
    display: grid;
    grid-template-columns: 1fr 160px 1fr;
    grid-template-areas: "red center blue";
    align-items: stretch;
    gap: 0;
}
.fd-fighter--red   { grid-area: red; }
.fd-fighter--blue  { grid-area: blue; }
.fd-matchup__center { grid-area: center; }

/* ── Fighter card ────────────────────────────────────────────────────────────── */
.fd-fighter {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.fd-fighter--red  { border-top: 3px solid rgba(220, 38, 38, .7); }
.fd-fighter--blue { border-top: 3px solid rgba(59, 130, 246, .7); }

/* Image container */
.fd-fighter__img-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: rgba(255, 255, 255, .02);
    flex-shrink: 0;
}
.fd-fighter--red  .fd-fighter__img-wrap { background: linear-gradient(160deg, rgba(220,38,38,.08) 0%, transparent 60%); }
.fd-fighter--blue .fd-fighter__img-wrap { background: linear-gradient(200deg, rgba(59,130,246,.08) 0%, transparent 60%); }

.fd-fighter__img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}
.fd-fighter__img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    color: rgba(255, 255, 255, .1);
    font-size: 4rem;
}
.fd-fighter__img-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 10, 10, .85), transparent);
    pointer-events: none;
}

/* Fighter info */
.fd-fighter__info {
    flex: 1;
    padding: 14px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fd-fighter--red  .fd-fighter__info { align-items: flex-start; }
.fd-fighter--blue .fd-fighter__info { align-items: flex-end; text-align: right; }

.fd-fighter__corner-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.fd-fighter--red  .fd-fighter__corner-label { color: rgba(220, 38, 38, .8); }
.fd-fighter--blue .fd-fighter__corner-label { color: rgba(59, 130, 246, .8); }

.fd-fighter__name {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    text-transform: uppercase;
    word-break: break-word;
}
.fd-fighter--winner .fd-fighter__name { color: #fff; }
.fd-fighter--loser  .fd-fighter__name { color: rgba(255, 255, 255, .5); }

.fd-fighter__nickname {
    font-size: .78rem;
    color: rgba(255, 255, 255, .35);
    font-style: italic;
    margin-top: 2px;
}

.fd-fighter__record {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
    margin-top: 6px;
    letter-spacing: .02em;
}
.fd-fighter__record-note {
    font-size: .68rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fd-fighter__player {
    font-size: .75rem;
    color: rgba(255, 255, 255, .35);
    margin-top: 6px;
    line-height: 1.4;
}

/* Winner highlight */
.fd-fighter--winner .fd-fighter__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.fd-fighter--red.fd-fighter--winner  { border-top-color: rgba(220, 38, 38, 1); }
.fd-fighter--blue.fd-fighter--winner { border-top-color: rgba(59, 130, 246, 1); }
.fd-fighter--loser .fd-fighter__img-wrap { opacity: .65; }

/* ── Centre column ───────────────────────────────────────────────────────────── */
.fd-matchup__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 8px;
    border-left: 1px solid rgba(255, 255, 255, .06);
    border-right: 1px solid rgba(255, 255, 255, .06);
    text-align: center;
    min-height: 200px;
}

.fd-vs {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .18);
    letter-spacing: .05em;
    line-height: 1;
}

/* Result display */
.fd-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
}
.fd-result__label {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 2px;
}
.fd-result__winner {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    word-break: break-word;
}
.fd-result__def {
    font-size: .7rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 1px 0;
}
.fd-result__loser {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    line-height: 1.1;
    word-break: break-word;
}
.fd-result__divider {
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, .12);
    margin: 7px 0;
}
.fd-result__method {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: .88rem;
    font-weight: 700;
    color: #c9a227;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.fd-result__detail {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    letter-spacing: .04em;
    word-break: break-word;
    line-height: 1.3;
}
.fd-result__time {
    font-size: .72rem;
    color: rgba(255, 255, 255, .38);
}
.fd-result--draw .fd-result__label,
.fd-result--draw .fd-result__method { color: rgba(255, 255, 255, .6); }
.fd-result--nc .fd-result__label,
.fd-result--nc .fd-result__method { color: rgba(255, 255, 255, .45); }

/* ── Body (below hero) ───────────────────────────────────────────────────────── */
.fd-body {
    padding-top: 40px;
}

/* ── Sections ────────────────────────────────────────────────────────────────── */
.fd-section {
    margin-bottom: 36px;
}
.fd-section__title {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Scorecards ──────────────────────────────────────────────────────────────── */
.fd-scorecards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.fd-scorecard {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    overflow: hidden;
}
.fd-scorecard__judge {
    padding: 12px 14px 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.fd-scorecard__table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.fd-scorecard__table th,
.fd-scorecard__table td {
    padding: 8px 14px;
    text-align: center;
    border: none;
}
.fd-scorecard__table thead th {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
    padding-top: 10px;
    padding-bottom: 8px;
}
.fd-scorecard__table thead th:first-child { text-align: left; }
.fd-scorecard__table td:first-child {
    text-align: left;
    color: rgba(255, 255, 255, .35);
    font-size: .8rem;
}
.fd-scorecard__table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, .025);
}
.fd-scorecard__table tfoot tr {
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.fd-scorecard__table tfoot td {
    font-weight: 700;
    padding-top: 10px;
    padding-bottom: 10px;
}
.fd-scorecard__table tfoot td:first-child {
    font-size: .65rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
}

.fd-score--red  { color: rgba(220, 80, 80, .9); }
.fd-score--blue { color: rgba(100, 160, 240, .9); }
.fd-score--total-win {
    font-size: 1rem;
    color: #fff;
}
.fd-score--total-win.fd-score--red  { color: rgba(240, 120, 120, 1); }
.fd-score--total-win.fd-score--blue { color: rgba(120, 180, 255, 1); }

/* ── Awards ──────────────────────────────────────────────────────────────────── */
.fd-awards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.fd-award {
    background: rgba(201, 162, 39, .07);
    border: 1px solid rgba(201, 162, 39, .22);
    border-radius: 10px;
    padding: 14px 20px;
    min-width: 200px;
}
.fd-award__type {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #c9a227;
    margin-bottom: 6px;
}
.fd-award__name {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
}
.fd-award__sub {
    font-size: .72rem;
    color: rgba(255, 255, 255, .38);
    margin-top: 3px;
}

/* ── Fight details (dl) ──────────────────────────────────────────────────────── */
.fd-details {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 10px 20px;
    margin: 0;
}
.fd-details dt {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
    padding-top: 2px;
}
.fd-details dd {
    font-size: .92rem;
    color: rgba(255, 255, 255, .8);
    margin: 0;
    line-height: 1.45;
}
.fd-details dd a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}
.fd-details dd a:hover { color: #c9a227; }

/* ── Navigation links ────────────────────────────────────────────────────────── */
.fd-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    margin-top: 36px;
}

/* ── Not found ───────────────────────────────────────────────────────────────── */
.fd-not-found {
    text-align: center;
    padding: 80px 0;
}
.fd-not-found__icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, .15);
    margin-bottom: 20px;
}
.fd-not-found__title {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    margin: 0 0 10px;
}
.fd-not-found__sub {
    color: rgba(255, 255, 255, .3);
    font-size: .9rem;
    margin: 0 0 28px;
}

/* ── Fouls / notes ───────────────────────────────────────────────────────────── */
.fd-fouls-note {
    background: rgba(220, 38, 38, .06);
    border: 1px solid rgba(220, 38, 38, .18);
    border-left: 3px solid rgba(220, 38, 38, .5);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: .85rem;
    color: rgba(255, 200, 200, .8);
    line-height: 1.5;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
    .fd-matchup {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "red blue"
            "center center";
    }
    .fd-matchup__center {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, .07);
        padding: 20px 16px;
        min-height: 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .fd-vs { font-size: 1.6rem; }
    .fd-result { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px 8px; }
    .fd-result__label { width: 100%; text-align: center; }
    .fd-result__winner { width: 100%; text-align: center; }
    .fd-result__def { display: none; }
    .fd-result__loser { display: none; }
    .fd-result__divider { display: none; }
    .fd-result__method { width: 100%; text-align: center; margin-top: 6px; }
    .fd-result__detail { width: 100%; text-align: center; }
    .fd-result__time   { width: 100%; text-align: center; }

    .fd-fighter__img-wrap { height: 180px; }
    .fd-fighter__name { font-size: 1.05rem; }
    .fd-fighter__record { font-size: .88rem; }
    .fd-fighter__player-sep { display: none; }
    .fd-fighter__player-name,
    .fd-fighter__player-psn { display: block; }

    .fd-details {
        grid-template-columns: 120px 1fr;
        gap: 8px 12px;
    }

    .fd-scorecards {
        grid-template-columns: 1fr;
    }

    .fd-hero {
        padding-top: 24px;
    }
}

@media (max-width: 400px) {
    .fd-fighter__img-wrap { height: 140px; }
    .fd-fighter__name { font-size: .9rem; }
    .fd-fighter__info { padding: 10px 10px 14px; }
    .fd-fighter__record { font-size: .8rem; }
    .fd-fighter__record-note { display: none; }
}

/* ── Fight related news ──────────────────────────────────────────────────────── */
.ev-rn-section { padding-top: 0; }

.ev-rn-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--color-border);
}

.ev-rn-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 0;
}

.ev-rn-viewall {
    font-size: 0.72rem;
    color: var(--color-red);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
}
.ev-rn-viewall:hover { opacity: .75; }

.ev-rn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.ev-rn-card {
    display: block;
    padding: 1rem 1.1rem;
    background: var(--color-bg-2);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-red);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background .15s;
}
.ev-rn-card:hover { background: var(--color-bg-3); }

.ev-rn-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.ev-rn-card__date {
    font-size: 0.7rem;
    color: var(--color-text-3);
}

.ev-rn-card__tag {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-red);
    padding: 0.15rem 0.4rem;
    border: 1px solid currentColor;
    border-radius: 2px;
}

.ev-rn-card__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.ev-rn-card__excerpt {
    margin: 0;
    font-size: 0.78rem;
    color: var(--color-text-3);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 600px) {
    .ev-rn-grid { grid-template-columns: 1fr; }
    .ev-rn-header { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}
