/* FSRO Clubs & Teams frontend v7
   Loaded after the Alchemists and premium styles so directory/profile rules win. */

.fsro-directory-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 0;
    color: #fff;
    background:
        radial-gradient(circle at 86% 18%, rgba(227,27,35,.22), transparent 25%),
        linear-gradient(118deg, #07192d 0%, #102c4b 64%, #172c45 100%);
}

.fsro-directory-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -110px;
    bottom: -210px;
    border: 42px solid rgba(255,255,255,.035);
    border-radius: 50%;
    pointer-events: none;
}

.fsro-directory-hero--teams {
    background:
        radial-gradient(circle at 85% 10%, rgba(49,143,255,.2), transparent 28%),
        linear-gradient(118deg, #07192d 0%, #113152 65%, #1a314c 100%);
}

.fsro-directory-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
}

.fsro-directory-breadcrumb a { color: #fff; }
.fsro-directory-breadcrumb i { font-size: 7px; opacity: .55; }

.fsro-directory-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 0 36px;
}

.fsro-directory-hero__content h1 {
    max-width: 820px;
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.fsro-directory-hero__content p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.75;
}

.fsro-directory-hero__action {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 210px;
    padding: 16px 18px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(8px);
    transition: .2s ease;
}

.fsro-directory-hero__action:hover {
    color: #fff;
    border-color: rgba(255,255,255,.38);
    transform: translateY(-2px);
    background: rgba(255,255,255,.1);
}

.fsro-directory-hero__action > i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 10px;
    background: #e31b23;
}

.fsro-directory-hero__action small,
.fsro-directory-hero__action strong { display: block; }
.fsro-directory-hero__action small { color: rgba(255,255,255,.58); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.fsro-directory-hero__action strong { margin-top: 3px; color: #fff; font-size: 13px; }

.fsro-directory-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    border-top: 1px solid rgba(255,255,255,.11);
}

.fsro-directory-stats > span {
    position: relative;
    display: grid;
    grid-template-columns: 42px auto;
    grid-template-rows: auto auto;
    column-gap: 13px;
    align-items: center;
    min-height: 86px;
    padding: 18px 24px;
    border-right: 1px solid rgba(255,255,255,.11);
}

.fsro-directory-stats > span:last-child { border-right: 0; }
.fsro-directory-stats i { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; color: #ff5560; border-radius: 10px; background: rgba(255,255,255,.07); }
.fsro-directory-stats b { color: #fff; font-size: 20px; line-height: 1; }
.fsro-directory-stats small { margin-top: 5px; color: rgba(255,255,255,.52); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.fsro-directory-page { padding-top: 42px; padding-bottom: 70px; }

.fsro-directory-filter {
    display: grid;
    grid-template-columns: 1.45fr .8fr 1.1fr auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 38px;
    padding: 19px;
    border: 1px solid #dde4ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(11,31,55,.055);
}

.fsro-directory-filter--teams { grid-template-columns: 1.25fr .8fr .75fr 1.05fr auto auto; }
.fsro-directory-filter label { margin: 0; }
.fsro-directory-filter label > span { display: block; margin: 0 0 7px; color: #7b8798; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.fsro-directory-filter input,
.fsro-directory-filter select {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    color: #142238;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #dbe2eb;
    border-radius: 9px;
    background: #f9fbfd;
    outline: none;
}
.fsro-directory-filter input:focus,
.fsro-directory-filter select:focus { border-color: #e31b23; box-shadow: 0 0 0 3px rgba(227,27,35,.09); }
.fsro-directory-filter__search > div { position: relative; }
.fsro-directory-filter__search i { position: absolute; z-index: 1; left: 14px; top: 50%; color: #9ba6b5; transform: translateY(-50%); }
.fsro-directory-filter__search input { padding-left: 39px; }
.fsro-directory-filter button,
.fsro-directory-filter__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 112px;
    height: 46px;
    padding: 0 17px;
    border: 0;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.fsro-directory-filter button { color: #fff; background: #e31b23; box-shadow: 0 10px 22px rgba(227,27,35,.2); cursor: pointer; }
.fsro-directory-filter button:hover { background: #c9151d; }
.fsro-directory-filter__reset { color: #536074; border: 1px solid #dbe2eb; background: #fff; }
.fsro-directory-filter__reset:hover { color: #e31b23; border-color: rgba(227,27,35,.3); }

.fsro-directory-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 19px;
    border-bottom: 1px solid #dce3ec;
}
.fsro-directory-heading > div > span { color: #e31b23; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.fsro-directory-heading h2 { margin: 8px 0 6px; color: #101d31; font-size: clamp(25px,3vw,36px); letter-spacing: -.03em; }
.fsro-directory-heading p { margin: 0; color: #718095; font-size: 12px; }
.fsro-directory-heading > strong { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.fsro-directory-heading > strong b { color: #e31b23; font-size: 34px; line-height: 1; }
.fsro-directory-heading > strong small { color: #69768a; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }

.fsro-directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.fsro-directory-grid--teams { grid-template-columns: repeat(3,minmax(0,1fr)); }

.fsro-directory-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #dfe6ee;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(14,31,53,.055);
    transition: transform .23s ease, box-shadow .23s ease, border-color .23s ease;
}
.fsro-directory-card:hover { transform: translateY(-5px); border-color: rgba(227,27,35,.28); box-shadow: 0 23px 48px rgba(14,31,53,.11); }
.fsro-directory-card::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:var(--club-primary,#e31b23); }

.fsro-directory-card__visual {
    position: relative;
    display: block;
    min-height: 205px;
    padding: 25px 24px 22px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, color-mix(in srgb, var(--club-primary) 34%, transparent), transparent 30%),
        linear-gradient(145deg, var(--club-secondary) 0%, #102d4d 100%);
}
.fsro-directory-card__visual:hover { color:#fff; }
.fsro-directory-card__crest { display:grid; place-items:center; width:82px; height:82px; margin:0 auto 16px; border:1px solid rgba(255,255,255,.18); border-radius:20px; background:#fff; box-shadow:0 13px 28px rgba(0,0,0,.22); }
.fsro-directory-card__crest img { width:66px; height:66px; object-fit:contain; }
.fsro-directory-card__crest b { color:var(--club-primary); font-size:18px; }
.fsro-directory-card__eyebrow { display:block; margin-bottom:6px; color:rgba(255,255,255,.54); font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.11em; }
.fsro-directory-card__visual > strong { display:block; overflow:hidden; color:#fff; font-size:18px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.fsro-directory-card__visual > small { display:block; margin-top:9px; color:rgba(255,255,255,.65); font-size:10px; }
.fsro-directory-card__visual > small i { margin-right:5px; color:#ff5b65; }
.fsro-directory-card__body { padding:19px 21px 20px; }
.fsro-directory-card__facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid #e4e9f0; border-radius:10px; background:#f8fafc; }
.fsro-directory-card__facts > span { padding:11px 8px; text-align:center; border-right:1px solid #e4e9f0; }
.fsro-directory-card__facts > span:last-child { border-right:0; }
.fsro-directory-card__facts b,.fsro-directory-card__facts small { display:block; }
.fsro-directory-card__facts b { color:#132138; font-size:14px; }
.fsro-directory-card__facts small { margin-top:3px; color:#8994a4; font-size:7px; font-weight:900; text-transform:uppercase; letter-spacing:.07em; }
.fsro-directory-card__stadium { overflow:hidden; margin:15px 0 0; color:#637187; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.fsro-directory-card__stadium i { margin-right:7px; color:#e31b23; }
.fsro-directory-card__tags { display:flex; gap:6px; flex-wrap:wrap; margin-top:13px; }
.fsro-directory-card__tags span { max-width:100%; overflow:hidden; padding:6px 8px; color:#536177; font-size:7px; font-weight:800; text-transform:uppercase; text-overflow:ellipsis; white-space:nowrap; border-radius:6px; background:#f0f3f7; }
.fsro-directory-card__cta { display:flex; align-items:center; justify-content:space-between; margin-top:17px; padding-top:15px; color:#142238; font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; border-top:1px solid #e8edf3; }
.fsro-directory-card__cta i { color:#e31b23; transition:transform .2s ease; }
.fsro-directory-card:hover .fsro-directory-card__cta i { transform:translateX(4px); }

.fsro-directory-card--team { padding:22px; }
.fsro-directory-card__team-head { display:grid; grid-template-columns:68px minmax(0,1fr); gap:15px; align-items:center; }
.fsro-directory-card__team-logo { display:grid; place-items:center; width:68px; height:68px; border:1px solid #e0e7ef; border-radius:17px; background:#f8fafc; }
.fsro-directory-card__team-logo img { width:53px; height:53px; object-fit:contain; }
.fsro-directory-card__team-logo b { color:var(--club-primary); font-size:15px; }
.fsro-directory-card__team-head > div > span { display:block; margin-bottom:4px; color:#e31b23; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.fsro-directory-card__team-head > div > a { display:block; overflow:hidden; color:#152238; font-size:16px; font-weight:900; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.fsro-directory-card__team-head small { display:block; margin-top:5px; }
.fsro-directory-card__team-head small a { color:#8994a5; font-size:9px; font-weight:700; }
.fsro-directory-card__team-competition { min-height:58px; margin:20px -22px 0; padding:13px 22px; border-top:1px solid #e8edf3; border-bottom:1px solid #e8edf3; background:#f8fafc; }
.fsro-directory-card__team-competition small,.fsro-directory-card__team-competition strong { display:block; }
.fsro-directory-card__team-competition small { color:#929dac; font-size:7px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.fsro-directory-card__team-competition strong { overflow:hidden; margin-top:5px; color:#203049; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.fsro-directory-card__facts--team { margin-top:17px; }
.fsro-directory-card__facts--team .is-points { background:rgba(227,27,35,.045); }
.fsro-directory-card__facts--team .is-points b { color:#e31b23; }
.fsro-directory-card__team-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:17px; }
.fsro-directory-card__team-footer > span { overflow:hidden; color:#8490a1; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.fsro-directory-card__team-footer > span i { margin-right:5px; color:#e31b23; }
.fsro-directory-card__team-footer > a { flex:none; color:#142238; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.05em; }
.fsro-directory-card__team-footer > a i { margin-left:5px; color:#e31b23; }

.fsro-directory-pagination { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:35px; padding-top:23px; border-top:1px solid #dce3eb; }
.fsro-directory-pagination > a { display:flex; align-items:center; gap:9px; color:#58667a; font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.05em; }
.fsro-directory-pagination > div { display:flex; align-items:center; gap:7px; }
.fsro-directory-pagination > div a { display:grid; place-items:center; min-width:37px; height:37px; padding:0 9px; color:#536074; font-size:11px; font-weight:900; border:1px solid #dce3eb; border-radius:8px; background:#fff; }
.fsro-directory-pagination > div a:hover,.fsro-directory-pagination > div a.is-active { color:#fff; border-color:#e31b23; background:#e31b23; }
.fsro-directory-pagination > div span { color:#96a0ae; }

/* Entity profile anchor navigation */
.fsro-profile-nav { position:relative; z-index:5; margin-top:-1px; background:#fff; border-bottom:1px solid #dce4ed; box-shadow:0 8px 25px rgba(10,27,48,.055); }
.fsro-profile-nav .container { display:flex; align-items:center; overflow-x:auto; scrollbar-width:none; }
.fsro-profile-nav .container::-webkit-scrollbar { display:none; }
.fsro-profile-nav a { position:relative; display:flex; align-items:center; justify-content:center; gap:8px; min-width:145px; height:58px; padding:0 19px; color:#69768a; font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.05em; border-right:1px solid #e3e8ef; white-space:nowrap; }
.fsro-profile-nav a:first-child { border-left:1px solid #e3e8ef; }
.fsro-profile-nav a:hover,.fsro-profile-nav a.is-active { color:#e31b23; background:#fff8f8; }
.fsro-profile-nav a.is-active::after { content:""; position:absolute; left:18px; right:18px; bottom:0; height:3px; background:#e31b23; }
.fsro-entity-page [id] { scroll-margin-top:90px; }

.fsro-roster-player__avatar { overflow:hidden; }
.fsro-roster-player__avatar img { display:block; width:100%; height:100%; object-fit:cover; }

/* Ensure profile sections maintain premium spacing after the anchor nav. */
.fsro-profile-nav + .site-content { padding-top:42px; }
.fsro-entity-card .card__header > a { color:#e31b23; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }

@media (max-width:1199px) {
    .fsro-directory-grid,.fsro-directory-grid--teams { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .fsro-directory-filter { grid-template-columns:1fr 1fr 1fr auto; }
    .fsro-directory-filter--teams { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .fsro-directory-filter__reset { min-width:0; }
}

@media (max-width:767px) {
    .fsro-directory-hero { padding-top:25px; }
    .fsro-directory-hero__content { display:block; padding-bottom:27px; }
    .fsro-directory-hero__content h1 { font-size:34px; }
    .fsro-directory-hero__action { width:100%; margin-top:22px; }
    .fsro-directory-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .fsro-directory-stats > span { min-height:75px; padding:13px; border-bottom:1px solid rgba(255,255,255,.1); }
    .fsro-directory-stats > span:nth-child(2n) { border-right:0; }
    .fsro-directory-page { padding-top:27px; }
    .fsro-directory-filter,.fsro-directory-filter--teams { grid-template-columns:1fr; padding:15px; }
    .fsro-directory-filter button,.fsro-directory-filter__reset { width:100%; }
    .fsro-directory-heading { align-items:flex-start; }
    .fsro-directory-heading > strong { display:none; }
    .fsro-directory-grid,.fsro-directory-grid--teams { grid-template-columns:1fr; }
    .fsro-directory-card__visual { min-height:190px; }
    .fsro-directory-pagination { align-items:center; }
    .fsro-directory-pagination > a span { display:none; }
    .fsro-directory-pagination > div a { min-width:34px; height:34px; }
    .fsro-profile-nav .container { padding-left:0; padding-right:0; }
    .fsro-profile-nav a { min-width:128px; height:52px; padding:0 13px; }
}

/* =========================================================
   V7.1 — Premium match cards on club and team profiles
   ========================================================= */
.fsro-profile-match-card .card__content { padding: 0; }
.fsro-profile-match-list { display: grid; gap: 13px; padding: 17px; background: #f6f8fb; }
.fsro-profile-match {
    position: relative;
    overflow: hidden;
    border: 1px solid #dde4ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11,31,55,.045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fsro-profile-match:hover { transform: translateY(-2px); border-color: rgba(227,27,35,.25); box-shadow: 0 16px 34px rgba(11,31,55,.085); }
.fsro-profile-match::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:#a9b3c1; }
.fsro-profile-match.is-win::before { background:#21a36a; }
.fsro-profile-match.is-loss::before { background:#e31b23; }
.fsro-profile-match.is-draw::before { background:#e3a51b; }
.fsro-profile-match.is-postponed::before { background:#c78b13; }

.fsro-profile-match__meta {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:51px;
    padding:10px 17px 10px 19px;
    border-bottom:1px solid #edf1f5;
    background:linear-gradient(90deg,#fbfcfe 0%,#f5f8fb 100%);
}
.fsro-profile-match__meta > div:first-child { min-width:0; }
.fsro-profile-match__meta > div:first-child span { display:block; overflow:hidden; color:#16243a; font-size:10px; font-weight:900; text-overflow:ellipsis; white-space:nowrap; }
.fsro-profile-match__meta > div:first-child small { display:block; margin-top:3px; color:#8b96a6; font-size:7px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.fsro-profile-match__meta-bottom { display:flex; align-items:center; justify-content:flex-end; gap:9px; flex:none; }
.fsro-profile-match__meta-bottom strong { color:#687589; font-size:8px; white-space:nowrap; }
.fsro-profile-match__meta-bottom strong i { margin-right:6px; color:#e31b23; }
.fsro-profile-match__meta-bottom em { padding:5px 7px; color:#59677a; font-size:7px; font-style:normal; font-weight:900; text-transform:uppercase; border-radius:5px; background:#e9eef4; }

.fsro-profile-match__contest {
    display:grid;
    grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);
    align-items:center;
    gap:13px;
    min-height:103px;
    padding:16px 19px;
}
.fsro-profile-match__team { display:flex; align-items:center; gap:12px; min-width:0; color:#17253b; }
.fsro-profile-match__team:hover { color:#e31b23; }
.fsro-profile-match__team.is-home { justify-content:flex-end; text-align:right; }
.fsro-profile-match__team.is-away { justify-content:flex-start; text-align:left; }
.fsro-profile-match__team-copy { min-width:0; }
.fsro-profile-match__team-copy small { display:block; margin-bottom:4px; color:#a0a9b5; font-size:7px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.fsro-profile-match__team-copy strong { display:block; overflow:hidden; color:inherit; font-size:12px; font-weight:900; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.fsro-profile-match__team.is-current .fsro-profile-match__team-copy strong { color:#101e33; }
.fsro-profile-match__team.is-current .fsro-profile-match__team-copy small { color:#e31b23; }
.fsro-profile-match__crest { display:grid; place-items:center; width:49px; height:49px; flex:0 0 49px; border:1px solid #e0e6ee; border-radius:50%; background:#f8fafc; }
.fsro-profile-match__crest img { width:37px; height:37px; object-fit:contain; }
.fsro-profile-match__crest b { color:#647187; font-size:9px; }
.fsro-profile-match__team.is-current .fsro-profile-match__crest { border-color:rgba(227,27,35,.22); background:#fff7f8; box-shadow:0 0 0 4px rgba(227,27,35,.045); }

.fsro-profile-match__score {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:71px;
    padding:10px 8px;
    color:#fff;
    border-radius:12px;
    background:linear-gradient(145deg,#07192d 0%,#163454 100%);
    box-shadow:0 10px 22px rgba(9,30,54,.18);
}
.fsro-profile-match__score:hover { color:#fff; transform:translateY(-1px); }
.fsro-profile-match__score > span { display:flex; align-items:center; justify-content:center; gap:7px; }
.fsro-profile-match__score > span b { min-width:22px; color:#fff; font-size:24px; font-weight:950; line-height:1; text-align:center; }
.fsro-profile-match__score > span i { color:#ff5b64; font-size:16px; font-style:normal; font-weight:900; }
.fsro-profile-match__score > span.is-time b { font-size:18px; }
.fsro-profile-match__score small { margin-top:7px; color:rgba(255,255,255,.58); font-size:6px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }

.fsro-profile-match__footer {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:14px;
    min-height:43px;
    padding:8px 16px 8px 19px;
    border-top:1px solid #edf1f5;
    background:#fbfcfe;
}
.fsro-profile-match__outcome { display:inline-flex; align-items:center; gap:6px; padding:6px 8px; color:#657286; font-size:7px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; border-radius:6px; background:#edf1f5; white-space:nowrap; }
.fsro-profile-match__outcome i { width:6px; height:6px; border-radius:50%; background:#9ba5b3; }
.fsro-profile-match__outcome.is-win { color:#168251; background:#eaf8f1; }
.fsro-profile-match__outcome.is-win i { background:#21a36a; }
.fsro-profile-match__outcome.is-loss { color:#bd1b22; background:#fff0f1; }
.fsro-profile-match__outcome.is-loss i { background:#e31b23; }
.fsro-profile-match__outcome.is-draw { color:#966609; background:#fff7df; }
.fsro-profile-match__outcome.is-draw i { background:#e3a51b; }
.fsro-profile-match__outcome.is-postponed { color:#8d6410; background:#fff7df; }
.fsro-profile-match__outcome.is-postponed i { background:#c78b13; }
.fsro-profile-match__venue { overflow:hidden; color:#778397; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.fsro-profile-match__venue i { margin-right:6px; color:#e31b23; }
.fsro-profile-match__footer > a { color:#17253b; font-size:7px; font-weight:900; text-transform:uppercase; letter-spacing:.05em; white-space:nowrap; }
.fsro-profile-match__footer > a i { margin-left:6px; color:#e31b23; transition:transform .18s ease; }
.fsro-profile-match__footer > a:hover i { transform:translateX(3px); }

@media (max-width: 767px) {
    .fsro-profile-match-list { padding:11px; }
    .fsro-profile-match__meta { align-items:flex-start; flex-direction:column; gap:7px; padding:11px 13px 10px 15px; }
    .fsro-profile-match__meta-bottom { width:100%; justify-content:space-between; }
    .fsro-profile-match__contest { grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr); gap:7px; min-height:91px; padding:13px 10px; }
    .fsro-profile-match__team { gap:6px; }
    .fsro-profile-match__team.is-home { flex-direction:column-reverse; text-align:center; }
    .fsro-profile-match__team.is-away { flex-direction:column; text-align:center; }
    .fsro-profile-match__team-copy small { display:none; }
    .fsro-profile-match__team-copy strong { max-width:105px; font-size:9px; white-space:normal; }
    .fsro-profile-match__crest { width:40px; height:40px; flex-basis:40px; }
    .fsro-profile-match__crest img { width:30px; height:30px; }
    .fsro-profile-match__score { min-height:61px; border-radius:10px; }
    .fsro-profile-match__score > span b { min-width:17px; font-size:19px; }
    .fsro-profile-match__score small { font-size:5px; }
    .fsro-profile-match__footer { grid-template-columns:auto 1fr; padding:8px 11px 8px 14px; }
    .fsro-profile-match__venue { grid-column:1 / 3; grid-row:2; }
    .fsro-profile-match__footer > a { justify-self:end; }
}

/* --------------------------------------------------------------------------
   FSRO Team profile V7.3
   Solid club colour hero + reliable anchor navigation + visible empty states.
   -------------------------------------------------------------------------- */

.fsro-entity-hero--team.fsro-entity-hero--solid {
    color: var(--entity-ink, #fff);
    background-color: var(--entity-solid, #0b1f35) !important;
    background-image: none !important;
}

.fsro-entity-hero--team.fsro-entity-hero--solid::before,
.fsro-entity-hero--team.fsro-entity-hero--solid::after {
    display: none !important;
    content: none !important;
}

.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    color: var(--entity-muted, rgba(255,255,255,.72));
    white-space: nowrap;
    scrollbar-width: none;
}

.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-breadcrumb::-webkit-scrollbar {
    display: none;
}

.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-breadcrumb a,
.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-breadcrumb span,
.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-breadcrumb i,
.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-hero__copy h1,
.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-hero__copy p a,
.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-facts strong {
    color: var(--entity-ink, #fff) !important;
}

.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-hero__copy > small,
.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-hero__copy p,
.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-facts small {
    color: var(--entity-muted, rgba(255,255,255,.72)) !important;
}

.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-hero__back {
    color: var(--entity-ink, #fff);
    border-color: var(--entity-border, rgba(255,255,255,.16));
    background: var(--entity-chip, rgba(255,255,255,.1));
}

.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-hero__back:hover {
    color: var(--entity-solid, #0b1f35);
    border-color: #fff;
    background: #fff;
}

.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-facts {
    border-color: var(--entity-border, rgba(255,255,255,.16));
}

.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-facts > div {
    border-color: var(--entity-border, rgba(255,255,255,.16));
}

.fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-facts i {
    color: var(--entity-ink, #fff);
    background: var(--entity-chip, rgba(255,255,255,.1));
}

/* The profile navigation is anchor navigation, not a fake tab bar. It now
   follows the reader, exposes item counts and updates the active item. */
.fsro-profile-nav[data-profile-nav] {
    position: sticky;
    top: 0;
    z-index: 40;
}

.fsro-profile-nav[data-profile-nav] a {
    min-width: 160px;
}

.fsro-profile-nav[data-profile-nav] a > b {
    display: inline-grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    color: #748197;
    font-size: 8px;
    border-radius: 999px;
    background: #eef2f6;
}

.fsro-profile-nav[data-profile-nav] a.is-active > b {
    color: #fff;
    background: #e31b23;
}

.fsro-profile-nav[data-profile-nav] a:focus-visible {
    outline: 3px solid rgba(227,27,35,.18);
    outline-offset: -3px;
}

.fsro-team-page #pregled,
.fsro-team-page #sastav,
.fsro-team-page #utakmice,
.fsro-team-page #strucni-stab,
.fsro-profile-section {
    scroll-margin-top: 88px;
}

.fsro-profile-match-group {
    margin-bottom: 22px;
}

.fsro-profile-match-group > .card:last-child {
    margin-bottom: 0;
}

.fsro-profile-empty {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 110px;
    padding: 22px;
    border: 1px dashed #d9e1eb;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbfcfe 0%, #f5f8fb 100%);
}

.fsro-profile-empty > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    color: #e31b23;
    font-size: 17px;
    border-radius: 13px;
    background: #fff0f1;
}

.fsro-profile-empty strong,
.fsro-profile-empty span {
    display: block;
}

.fsro-profile-empty strong {
    color: #17253b;
    font-size: 13px;
    font-weight: 900;
}

.fsro-profile-empty span {
    margin-top: 5px;
    color: #7d8999;
    font-size: 10px;
    line-height: 1.55;
}

.fsro-profile-empty--compact {
    min-height: 92px;
    padding: 17px;
}

.fsro-profile-empty--compact > i {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 14px;
}

.fsro-profile-section:target {
    animation: fsro-profile-section-focus .9s ease both;
}

@keyframes fsro-profile-section-focus {
    0% { box-shadow: 0 0 0 0 rgba(227,27,35,.22); }
    55% { box-shadow: 0 0 0 5px rgba(227,27,35,.08); }
    100% { box-shadow: inherit; }
}

@media (max-width: 991px) {
    .fsro-profile-nav[data-profile-nav] {
        top: 58px;
    }

    .fsro-profile-nav[data-profile-nav] a {
        min-width: 132px;
        height: 54px;
        padding: 0 14px;
    }
}

@media (max-width: 575px) {
    .fsro-entity-hero--team.fsro-entity-hero--solid .fsro-entity-breadcrumb {
        gap: 7px;
        padding-bottom: 4px;
        font-size: 7px;
    }

    .fsro-profile-nav[data-profile-nav] a {
        min-width: 116px;
        gap: 6px;
        font-size: 8px;
    }

    .fsro-profile-nav[data-profile-nav] a > b {
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 7px;
    }

    .fsro-profile-empty {
        align-items: flex-start;
        min-height: 0;
        padding: 17px;
    }
}
