/* ═══════════════════════════════════════════════════════════════
   PUBLIC PAGES — shared design system
   Loaded on all pages where $GLOBALS['fullwidth'] = true.

   Design tokens sourced from fightcard-live-landing/src/index.css:
     --background : hsl(220 25%  3%) ≈ #060b0e
     --card       : hsl(220 20%  6%) ≈ #0d1117
     --primary    : hsl( 22 100% 55%) = #ff7a16
     --border     : hsl(220 15% 15%) ≈ #1e2530
     --radius     : 0.75rem / 12px
   ═══════════════════════════════════════════════════════════════ */

/* ── Background — match landing page hsl(220 25% 3%) ≈ #06070a ─ */
body.public-menu-active,
body.public-menu-active #page,
body.public-menu-active .page-content {
    background: hsl(220, 25%, 3%) !important;
}

/* ── padding-top: 0 for fullwidth pages is set as an inline style on
   .page-content directly in header.php (inline !important beats all stylesheets) ── */

/* ── Buttons ────────────────────────────────────────────────── */
.ph-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, #ff7616 0%, #d95f00 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(255,118,22,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.ph-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,118,22,0.45);
    opacity: 0.93;
}
.ph-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: rgba(255,255,255,0.75) !important;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.ph-btn-ghost:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.4);
    color: #fff !important;
}

/* ── Full hero (platform.php) ───────────────────────────────── */
.ph-hero {
    padding-top: calc(78px + 48px);
    padding-bottom: 56px;
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
    background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255,118,22,0.22) 0%, transparent 65%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 992px) {
    .ph-hero { padding-top: calc(83px + 48px); }
}
@media (max-width: 768px) {
    .ph-hero { padding-top: calc(68px + 36px); }
}
.ph-hero-logo {
    display: block;
    height: 54px;
    margin: 0 auto 28px;
    opacity: 0.9;
}
.ph-hero-title {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 20px;
}
.ph-hero-title-accent {
    color: #ff7616;
    display: block;
}
.ph-hero-tagline {
    font-size: 18px;
    color: rgba(255,255,255,0.48);
    margin-bottom: 36px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}
.ph-hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Page hero (inner pages: events, fighters, federations) ─── */
.ph-page-hero {
    padding-top: calc(78px + 40px);
    padding-bottom: 44px;
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,118,22,0.18) 0%, transparent 60%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 992px) {
    .ph-page-hero { padding-top: calc(83px + 40px); }
}
@media (max-width: 768px) {
    .ph-page-hero { padding-top: calc(68px + 30px); }
}
.ph-page-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,118,22,0.7);
    margin-bottom: 10px;
}
.ph-page-hero-title {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 12px;
}
.ph-page-hero-title-accent {
    color: #ff7616;
}
.ph-page-hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.48);
    max-width: 380px;
    margin: 0 auto 0;
    line-height: 1.6;
}

/* ── Stats bar ──────────────────────────────────────────────── */
.ph-stats {
    display: flex;
    justify-content: center;
    background: rgba(255,255,255,0.025);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ph-stat {
    flex: 0 1 180px;
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.ph-stat:last-child { border-right: none; }
.ph-stat-number {
    font-size: 38px;
    font-weight: 800;
    color: #ff7616;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1.5px;
}
.ph-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ── Content sections ───────────────────────────────────────── */
.ph-section {
    padding: 52px 24px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}
.ph-section + .ph-section { padding-top: 0; }
.ph-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}
.ph-section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 10px;
}
.ph-section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 8px;
}
.ph-section-title-accent {
    color: #ff7616;
}
.ph-section-link {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,118,22,0.8) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.ph-section-link:hover { color: #ff7616 !important; }

/* ── Event poster strip ─────────────────────────────────────── */
.ph-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
@media (min-width: 900px) {
    .ph-events-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
}
@media (max-width: 500px) {
    .ph-events-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.ph-event-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    background: #1a1a24;
    aspect-ratio: 9 / 13;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ph-event-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 36px rgba(0,0,0,0.6), 0 0 0 1.5px rgba(255,118,22,0.4);
}
.ph-event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ph-event-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}
.ph-event-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 2px;
}
.ph-event-date {
    font-size: 10px;
    color: rgba(255,255,255,0.55);
}

/* ── Feature cards ──────────────────────────────────────────── */
.ph-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 540px) {
    .ph-features { grid-template-columns: 1fr; }
}
.ph-feature-card {
    display: block;
    text-decoration: none !important;
    padding: 26px 22px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.22s ease;
}
.ph-feature-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.ph-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,118,22,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
    color: #ff7616;
}
.ph-feature-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 8px;
    display: block;
    letter-spacing: -0.3px;
}
.ph-feature-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.55;
    margin-bottom: 14px;
}
.ph-soon-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.42);
}

/* ── Coming soon card (fighters, federations) ───────────────── */
.ph-coming-soon-card {
    border-radius: 16px;
    padding: 52px 28px;
    text-align: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    max-width: 520px;
    margin: 0 auto;
}
.ph-coming-soon-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255,118,22,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 26px;
    color: #ff7616;
}
.ph-coming-soon-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}
.ph-coming-soon-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    max-width: 360px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.ph-coming-soon-ctas {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Promoters CTA block ────────────────────────────────────── */
.ph-promoters-cta {
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    background: rgba(255,118,22,0.07);
    border: 1px solid rgba(255,118,22,0.18);
}
.ph-promoters-cta-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,118,22,0.7);
    margin-bottom: 10px;
}
.ph-promoters-cta h3 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.ph-promoters-cta p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    max-width: 380px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* ── Fighter image protection ───────────────────────────────── */
/* Applied to every <img> served through fighter_image.php */
.ph-fighter-img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ── Filter bar (fighters directory) ────────────────────────── */
.ph-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 0 32px;
    align-items: center;
}
.ph-filter-input,
.ph-filter-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 8px 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}
.ph-filter-input::placeholder { color: rgba(255,255,255,0.3); }
.ph-filter-input:focus,
.ph-filter-select:focus {
    border-color: rgba(255,118,22,0.5);
    background: rgba(255,255,255,0.07);
}
.ph-filter-input { min-width: 200px; }
.ph-filter-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.ph-filter-select option { background: #1a1f28; color: #fff; }
.ph-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    text-decoration: none !important;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.ph-filter-chip:hover {
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
}
.ph-filter-chip.active {
    background: rgba(255,118,22,0.15);
    border-color: rgba(255,118,22,0.45);
    color: #ff8c35;
}
.ph-filter-chips-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.28);
    white-space: nowrap;
}

/* ── Featured / top-ranked fighter cards ─────────────────────── */
.ph-fighter-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 860px) {
    .ph-fighter-featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .ph-fighter-featured-grid { grid-template-columns: 1fr; }
}
.ph-fighter-featured-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #101116;
    border: 1px solid rgba(255,255,255,0.08);
    aspect-ratio: 3 / 4;
    display: block;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ph-fighter-featured-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 40px rgba(0,0,0,0.65), 0 0 0 1.5px rgba(255,118,22,0.45);
}
.ph-fighter-featured-card .ph-fighter-img {
    position: absolute;
    inset: 0;
}
.ph-fighter-featured-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 52px 14px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.45) 60%, transparent 100%);
}
.ph-fighter-featured-badge {
    position: absolute;
    top: 11px; left: 11px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,118,22,0.88);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    line-height: 1.2;
}
.ph-fighter-featured-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.3px;
}
.ph-fighter-featured-name .fname { display: block; font-weight: 500; font-size: 12px; opacity: 0.75; }
.ph-fighter-featured-nick {
    font-size: 11px;
    font-style: italic;
    color: rgba(255,255,255,0.55);
    margin: 2px 0 6px;
}
.ph-fighter-featured-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}
.ph-fighter-featured-record {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}
.ph-fighter-featured-streak {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,165,30,0.9);
    background: rgba(255,118,22,0.15);
    border-radius: 10px;
    padding: 2px 8px;
}

/* ── Promoter badge (on fighter cards) ───────────────────────── */
.ph-promoter-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    border-radius: 20px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ph-promoter-badge img {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    object-fit: contain;
    flex-shrink: 0;
    pointer-events: none;
}
.ph-promoter-badge-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Fighter directory grid ──────────────────────────────────── */
.ph-fighter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 640px) {
    .ph-fighter-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .ph-fighter-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (min-width: 1280px) {
    .ph-fighter-grid { grid-template-columns: repeat(5, 1fr); }
}
.ph-fighter-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #101116;
    border: 1px solid rgba(255,255,255,0.07);
    aspect-ratio: 3 / 4;
    display: block;
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ph-fighter-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.55), 0 0 0 1.5px rgba(255,118,22,0.35);
}
.ph-fighter-card .ph-fighter-img {
    position: absolute;
    inset: 0;
}
.ph-fighter-card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ph-fighter-card-name {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.2px;
}
.ph-fighter-card-name .fname {
    display: block;
    font-size: 10px;
    font-weight: 500;
    opacity: 0.7;
}
.ph-fighter-card-nick {
    font-size: 10px;
    font-style: italic;
    color: rgba(255,255,255,0.5);
}
.ph-fighter-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-top: 2px;
}
.ph-fighter-card-record {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}
.ph-fighter-card-flag {
    width: 16px;
    height: 11px;
    object-fit: cover;
    border-radius: 1px;
    pointer-events: none;
    flex-shrink: 0;
}
.ph-fighter-card-wc {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.45);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90px;
}

/* ── Empty state ─────────────────────────────────────────────── */
.ph-empty-state {
    text-align: center;
    padding: 64px 24px;
    color: rgba(255,255,255,0.35);
}
.ph-empty-state i {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
    opacity: 0.4;
}
.ph-empty-state p { font-size: 15px; margin-bottom: 16px; }

/* ── Pagination ──────────────────────────────────────────────── */
.ph-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding-top: 36px;
    flex-wrap: wrap;
}
.ph-pagination a,
.ph-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.6);
    transition: all 0.18s;
}
.ph-pagination a:hover {
    border-color: rgba(255,118,22,0.4);
    color: #fff;
    background: rgba(255,255,255,0.07);
}
.ph-pagination span.current {
    background: rgba(255,118,22,0.18);
    border-color: rgba(255,118,22,0.5);
    color: #ff8c35;
    cursor: default;
}
.ph-pagination span.disabled {
    opacity: 0.3;
    cursor: default;
}

/* ── Fighter public profile page ─────────────────────────────── */
.ph-fighter-profile-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 52px;
}
@media (max-width: 768px) {
    .ph-fighter-profile-wrap { padding-top: 56px; }
}
.ph-fighter-profile-hero {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 680px) {
    .ph-fighter-profile-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.ph-fighter-profile-photo {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #101116;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(255,118,22,0.25);
}
.ph-fighter-profile-photo .ph-fighter-img {
    position: absolute;
    inset: 0;
}
.ph-fighter-profile-info {
    padding-top: 8px;
}
.ph-fighter-profile-firstname {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.ph-fighter-profile-lastname {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 0.95;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.ph-fighter-profile-nick {
    font-size: 16px;
    font-style: italic;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
}
.ph-fighter-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}
.ph-fighter-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.ph-fighter-profile-badge.rank {
    background: rgba(255,118,22,0.15);
    border: 1px solid rgba(255,118,22,0.4);
    color: #ff8c35;
}
.ph-fighter-profile-badge.flag-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
}
.ph-fighter-profile-badge.wc-badge {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}
.ph-fighter-profile-record-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.ph-fighter-profile-record-toggle button {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.5);
    transition: all 0.18s;
    font-family: inherit;
}
.ph-fighter-profile-record-toggle button.active {
    background: rgba(255,118,22,0.15);
    border-color: rgba(255,118,22,0.4);
    color: #ff8c35;
}
.ph-fighter-profile-record {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
}
.ph-fighter-profile-record-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.3);
    margin-top: 4px;
}

/* Fighter physical stats row */
.ph-fighter-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}
.ph-fighter-stat {
    flex: 1 1 100px;
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.ph-fighter-stat:last-child { border-right: none; }
.ph-fighter-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.ph-fighter-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Promoters list on profile */
.ph-fighter-promoters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.ph-fighter-promoter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    flex: 1 1 220px;
    max-width: 320px;
}
.ph-fighter-promoter-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
    background: rgba(255,255,255,0.06);
    flex-shrink: 0;
    pointer-events: none;
}
.ph-fighter-promoter-logo-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255,118,22,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(255,118,22,0.7);
    flex-shrink: 0;
}
.ph-fighter-promoter-name {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    line-height: 1.2;
}
.ph-fighter-promoter-date {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-top: 2px;
}

/* Fight history on profile */
.ph-fight-history {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ph-fight-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.18s;
}
.ph-fight-row:hover { background: rgba(255,255,255,0.055); }
.ph-fight-result {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    flex-shrink: 0;
}
.ph-fight-result.win  { background: rgba(40,200,90,0.15); color: #4ecb6e; }
.ph-fight-result.loss { background: rgba(220,60,60,0.15); color: #e55c5c; }
.ph-fight-result.draw,
.ph-fight-result.nc   { background: rgba(180,180,180,0.1); color: rgba(255,255,255,0.45); }
.ph-fight-opponent {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.ph-fight-details {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    margin-top: 2px;
}
.ph-fight-event {
    text-align: right;
}
.ph-fight-event-name {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    line-height: 1.2;
}
.ph-fight-event-date {
    font-size: 10px;
    color: rgba(255,255,255,0.25);
    margin-top: 2px;
}
@media (max-width: 520px) {
    .ph-fight-row { grid-template-columns: 36px 1fr; }
    .ph-fight-event { display: none; }
}

/* Social links on profile */
.ph-fighter-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ph-fighter-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.18s;
}
.ph-fighter-social-link:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.2);
    color: #fff !important;
}

/* ── Page footer ────────────────────────────────────────────── */
/* ── White-label isolated hero ──────────────────────────────── */
.ph-wl-hero-logo {
    display: block;
    height: 72px;
    max-width: 260px;
    object-fit: contain;
    margin: 0 auto 28px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

@media (max-width: 768px) {
    .ph-wl-hero-logo { height: 52px; max-width: 180px; margin-bottom: 20px; }
}

/* ── Footer ─────────────────────────────────────────────────── */
.ph-footer {
    text-align: center;
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ph-footer a {
    font-size: 12px;
    color: rgba(255,255,255,0.25) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.ph-footer a:hover { color: rgba(255,255,255,0.5) !important; }
.ph-footer-powered {
    font-size: 12px;
    color: rgba(255,255,255,0.18);
}
