.fph-hero {
    background: linear-gradient(135deg, #0f172a, #111827);
    color: #f8fafc;
    border-radius: 22px;
    padding: 28px;
    max-width: 980px;
    margin: 24px auto;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.fph-hero-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 22px;
}

.fph-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #60a5fa;
    margin-bottom: 8px;
}

.fph-player-id h1 {
    font-size: 42px;
    line-height: 1.05;
    margin: 0 0 8px;
}

.fph-meta {
    color: #cbd5e1;
    font-size: 15px;
}

.fph-hero-stats,
.fph-hero-context-row,
.fph-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fph-hero-stats {
    margin-top: 12px;
}

.fph-hero-context-row {
    margin-top: 10px;
}

.fph-hero-stats span,
.fph-hero-context-row span,
.fph-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.fph-hero-stats span {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #cbd5e1;
}

.fph-hero-context-row span {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #dbeafe;
}

.fph-score-mini {
    min-width: 150px;
    max-width: 180px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    text-align: left;
}

.fph-score-mini-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    margin-bottom: 6px;
}

.fph-score-mini-main {
    font-size: 22px;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 6px;
}

.fph-score-mini-sub {
    font-size: 12px;
    line-height: 1.35;
    color: #cbd5e1;
    font-weight: 600;
}

.fph-hero-lower {
    margin-top: 18px;
}

.fph-signals {
    margin-bottom: 18px;
}

.fph-badge {
    font-size: 11px;
    text-transform: none;
}

.fph-badge-positive {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
}

.fph-badge-neutral {
    background: rgba(59, 130, 246, 0.16);
    color: #bfdbfe;
}

.fph-badge-negative {
    background: rgba(244, 63, 94, 0.18);
    color: #fecdd3;
}

.fph-trend {
    margin-bottom: 12px;
    font-size: 13px;
    color: #e5e7eb;
}

.fph-trend-label {
    display: inline-block;
    margin-right: 6px;
    color: #60a5fa;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fph-hero-outlook-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.fph-hero-outlook-block {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    padding: 14px;
    min-height: 120px;
}

.fph-hero-outlook-block span {
    display: block;
    margin-bottom: 8px;
    color: #60a5fa;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.fph-hero-outlook-block p {
    margin: 0;
    color: #e5e7eb;
    font-size: 13px;
    line-height: 1.55;
}

.fph-score-elite {
    border-color: rgba(59,130,246,0.55);
}

.fph-score-strong {
    border-color: rgba(34,197,94,0.55);
}

.fph-score-good {
    border-color: rgba(234,179,8,0.50);
}

.fph-score-risk {
    border-color: rgba(239,68,68,0.55);
}

.fph-score-none {
    border-color: rgba(148,163,184,0.25);
}

.fph-hero-empty {
    background: #111827;
    color: #fca5a5;
}

@media (max-width: 800px) {
    .fph-hero-main {
        flex-direction: column;
    }

    .fph-player-id h1 {
        font-size: 32px;
    }

    .fph-score-mini {
        width: 100%;
        max-width: none;
    }

    .fph-hero-outlook-grid {
        grid-template-columns: 1fr;
    }
}

.fph-confidence-mini {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.fph-confidence-mini span {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.fph-confidence-mini strong {
    display: block;
    color: #e5e7eb;
    font-size: 12px;
    line-height: 1.35;
}

.fph-hero-risk {
    margin-top: 18px;
    border-radius: 14px;
    padding: 14px;
    border: 1px solid rgba(148,163,184,.18);
    background: rgba(15,23,42,.55);
}

.fph-risk-summary {
    color: #fecaca;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.fph-hero-risk ul {
    margin: 0;
    padding-left: 18px;
}

.fph-hero-risk li {
    color: #e5e7eb;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 4px;
}

.fph-risk-panel-low {
    border-color: rgba(34,197,94,.28);
    background: rgba(34,197,94,.05);
}

.fph-risk-panel-moderate {
    border-color: rgba(250,204,21,.28);
    background: rgba(250,204,21,.05);
}

.fph-risk-panel-high {
    border-color: rgba(249,115,22,.30);
    background: rgba(249,115,22,.05);
}

.fph-risk-panel-extreme {
    border-color: rgba(239,68,68,.30);
    background: rgba(239,68,68,.05);
}

.fph-hero-snapshot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.fph-current-line {
    margin-top: 14px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.fph-current-line strong {
    font-size: 34px;
    line-height: 1;
}

.fph-current-line span {
    font-size: 15px;
    font-weight: 800;
    color: #e5e7eb;
}

.fph-hero-snapshot-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-width: 240px;
}

.fph-hero-snapshot-metrics div {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

.fph-hero-snapshot-metrics span {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fph-hero-snapshot-metrics strong {
    font-size: 20px;
    color: #f8fafc;
}

.fph-hero-role-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.fph-hero-role-signals span {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #dbeafe;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.fph-hero-block {
    margin-top: 16px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 14px;
    padding: 14px;
}

.fph-hero-block-title {
    color: #60a5fa;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.fph-hero-block p {
    margin: 0;
    color: #e5e7eb;
    font-size: 13px;
    line-height: 1.55;
}

.fph-signal-placeholder {
    color: #94a3b8;
    font-size: 13px;
    font-style: italic;
}

.fph-future-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.fph-future-grid div {
    background: rgba(30, 41, 59, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    padding: 10px;
}

.fph-future-grid span {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fph-future-grid strong {
    color: #f8fafc;
    font-size: 13px;
}

.fph-hero-deep-data {
    margin-top: 16px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    padding: 12px 14px;
}

.fph-hero-deep-data summary {
    cursor: pointer;
    color: #60a5fa;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.fph-deep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.fph-deep-grid span {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fph-deep-grid p {
    margin: 0;
    color: #e5e7eb;
    font-size: 13px;
}

@media (max-width: 800px) {
    .fph-hero {
        padding: 18px;
        margin: 12px auto;
        border-radius: 18px;
    }

    .fph-hero-snapshot {
        flex-direction: column;
    }

    .fph-player-id h1,
    .fph-hero h1 {
        font-size: 32px;
    }

    .fph-current-line strong {
        font-size: 30px;
    }

    .fph-current-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .fph-hero-snapshot-metrics {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(3, 1fr);
    }

    .fph-future-grid,
    .fph-deep-grid {
        grid-template-columns: 1fr;
    }
}

.fph-recent-signal-list {
    display: grid;
    gap: 10px;
}

.fph-recent-signal {
    display: block;
    background: rgba(30, 41, 59, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: inherit;
}

a.fph-recent-signal:hover {
    border-color: rgba(96,165,250,.35);
    background: rgba(30,41,59,.82);
}

.fph-signal-topline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fph-signal-direction {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    background: rgba(148, 163, 184, 0.15);
}

.fph-signal-up .fph-signal-direction {
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
}

.fph-signal-down .fph-signal-direction {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
}

.fph-signal-warn .fph-signal-direction {
    background: rgba(250, 204, 21, 0.14);
    color: #facc15;
}

.fph-signal-topline strong {
    flex: 1;
    color: #f8fafc;
    font-size: 13px;
}

.fph-signal-impact {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.fph-recent-signal p {
    margin: 6px 0 0;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.45;
}

.fph-signal-source {
    margin-top: 6px;
    color: #64748b;
    font-size: 11px;
}

.fph-recent-signal {
    display: block;
    text-decoration: none;
    transition: all .18s ease;
}

.fph-recent-signal:hover {
    transform: translateY(-1px);
    border-color: rgba(96,165,250,.35);
    background: rgba(30,41,59,.82);
}

.fph-signal-category {
    color: #60a5fa;
    background: rgba(96,165,250,.10);
    border: 1px solid rgba(96,165,250,.18);
    border-radius: 999px;
    padding: 3px 7px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.fph-current-signal-meta {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:8px 0 12px;
}

.fph-signal-badge {
    padding:4px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.fph-maturity-badge {
    background:rgba(255,255,255,.08);
}

.fph-value-insight {
    margin-top:16px;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.08);
}

.fph-value-insight-title {
    font-size:11px;
    text-transform:uppercase;
    opacity:.7;
    margin-bottom:4px;
}

.fph-value-insight-label {
    font-weight:700;
    margin-bottom:8px;
}

.fph-hero-v2-snapshot {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 24px;
    align-items: start;
}

.fph-player-photo-wrap {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
}

.fph-player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fph-player-photo-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 800;
    opacity: .55;
}

.fph-hero-v2-main {
    min-width: 0;
}

.fph-hero-v2-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.fph-team-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: .95;
}

.fph-hero-v2-identity {
    margin-top: 18px;
    display: grid;
    gap: 6px;
}

.fph-identity-line {
    font-size: 16px;
    font-weight: 800;
    color: #f8fafc;
}

.fph-hero-v2-current-signal {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: grid;
    gap: 4px;
}

.fph-hero-v2-current-signal span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #60a5fa;
    font-weight: 800;
}

.fph-hero-v2-current-signal strong {
    font-size: 17px;
    color: #f8fafc;
}

@media (max-width: 640px) {
    .fph-hero-v2-snapshot {
        grid-template-columns: 1fr 86px;
        gap: 14px;
    }

    .fph-player-photo-wrap {
        width: 86px;
        height: 86px;
        border-radius: 14px;
    }
}

.fph-player-photo-wrap {
    position: relative;
}

.fph-player-logo-overlay {
    position: absolute;
    right: 6px;
    bottom: 6px;

    width: 64px;
    height: 64px;

    object-fit: contain;
    z-index: 20;

    filter: drop-shadow(0 3px 8px rgba(0,0,0,.6));
}

.fph-status-badge {
    display:inline-flex;
    padding:8px 14px;
    border-radius:999px;
    background:#163825;
    color:#6ef0a6;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:16px;
}

.fph-scout-identity {
    font-size:24px;
    font-weight:800;
    margin-top:12px;
}

.fph-scout-description {
    margin-top:8px;
    max-width:650px;
    color:rgba(255,255,255,.72);
    line-height:1.5;
}

.fph-tier-card-row {
    display:flex;
    gap:14px;
    margin-top:24px;
}

.fph-tier-card {
    min-width:170px;
    padding:16px;
    border-radius:16px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.10);
}

.fph-tier-card-title {
    font-size:11px;
    text-transform:uppercase;
    opacity:.6;
}

.fph-tier-card-main {
    margin-top:8px;
    font-size:30px;
    font-weight:900;
}

.fph-tier-card-sub {
    margin-top:6px;
    font-size:13px;
    opacity:.85;
}

.fph-outlook-panel {
    margin-top:24px;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.08);
}

.fph-outlook-title {
    font-size:11px;
    text-transform:uppercase;
    font-weight:800;
    letter-spacing:.1em;
    opacity:.6;
    margin-bottom:10px;
}

.fph-player-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 14px;
    background: #0b1628;
    color: #fff;
}

.fph-player-selector label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    opacity: .65;
}

.fph-player-selector select {
    min-width: 280px;
    padding: 9px 12px;
    border-radius: 10px;
}

.fph-player-selector button {
    padding: 9px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.fph-scout-db {
    max-width: 1200px;
}

.fph-scout-db-search {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 22px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: #071426;
    color: #fff;
}

.fph-scout-db-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.fph-scout-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: #071426;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.08);
}

.fph-scout-card-photo-wrap {
    position: relative;
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    border-radius: 16px;
    overflow: hidden;
    background: #111827;
}

.fph-scout-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fph-scout-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 900;
}

.fph-scout-card-logo {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.55));
}

.fph-scout-card-status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(61,220,151,.14);
    color: #71f0b5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.fph-scout-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.1;
}

.fph-scout-card-meta {
    margin-top: 5px;
    font-size: 12px;
    opacity: .65;
    text-transform: uppercase;
}

.fph-scout-card-tier-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.fph-scout-tier {
    min-width: 82px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
}

.fph-scout-tier span {
    display: block;
    font-size: 10px;
    opacity: .55;
    text-transform: uppercase;
}

.fph-scout-tier strong {
    display: block;
    margin-top: 4px;
    font-size: 20px;
    line-height: 1;
}

.fph-scout-tier em {
    display: block;
    margin-top: 3px;
    font-style: normal;
    font-size: 11px;
    opacity: .78;
}

.fph-scout-card h3 {
    color: #ffffff;
    margin: 0;
    font-size: 18px;
    line-height: 1.1;
}

.fph-scout-card:hover h3 {
    color: #71f0b5;
}

.fph-scout-tier,
.fph-scout-tier span,
.fph-scout-tier strong,
.fph-scout-tier em {
    color: #ffffff;
}

.fph-scout-card:hover .fph-scout-tier,
.fph-scout-card:hover .fph-scout-tier span,
.fph-scout-card:hover .fph-scout-tier strong,
.fph-scout-card:hover .fph-scout-tier em {
    color: #ffffff;
}

.fph-scout-card {
    transition: .2s ease;
}

.fph-scout-card:hover {
    transform: translateY(-2px);
    border-color: rgba(113,240,181,.35);
}

.fph-scout-card:hover {
    transform: translateY(-2px);
    border-color: rgba(113,240,181,.35);
}
.fph-scout-card h3 {
    color: #ffffff;
    transition: .2s ease;
}

.fph-scout-card:hover h3 {
    color: #71f0b5;
}

.fph-scout-card-meta {
    color: rgba(255,255,255,.70);
}

.fph-scout-card:hover .fph-scout-card-meta {
    color: rgba(255,255,255,.70);
}

.fph-scout-card h3 {
    color: #ffffff;
    margin: 0;
    font-size: 18px;
    line-height: 1.1;
}

.fph-scout-card:hover h3 {
    color: #71f0b5;
}

.fph-scout-db-toolbar {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.fph-scout-db-toolbar select {
    min-width:170px;
}

.fph-scout-db-toolbar input,
.fph-scout-db-toolbar select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: #071426;
    color: #ffffff;
}

@media (max-width: 900px) {
    .fph-scout-db-toolbar {
        grid-template-columns: 1fr;
    }
}

.fph-filter-group {
    margin-top: 10px;
}

.fph-filter-title {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    opacity: .65;
}

.fph-filter-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fph-filter-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fph-filter-chip span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #071426;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.14);
    font-size: 12px;
    cursor: pointer;
}

.fph-filter-chip input:checked + span {
    background: rgba(61,220,151,.18);
    border-color: rgba(61,220,151,.55);
    color: #71f0b5;
}

.fph-scout-card-archetype {
    margin-top: 7px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.82);
}