.champions-page { --cp-muted:#b6b0c7; --cp-line:rgba(206,190,255,.16); color:#f7f4ff; min-height:100vh; min-height:100dvh; position:relative; padding-bottom:88px; }
.champions-page {
    isolation: isolate;
    background:
        radial-gradient(ellipse at 5% 42%, rgba(157, 36, 118, .10), transparent 44%),
        radial-gradient(ellipse at 95% 68%, rgba(111, 58, 191, .12), transparent 46%),
        #08070c;
    clip-path: inset(0);
}

.champions-stars {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    opacity: .58;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, .6), #000 76%);
}

.champion-member { display: block; }
.champion-member:hover { border-color: #c4a3ff; }

.champions-stars canvas {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .champions-stars { display: none; }
}

.champions-page *, .champions-page *::before, .champions-page *::after { box-sizing:border-box; }
.champions-page [hidden] { display:none !important; }
.champions-page h1,.champions-page h2,.champions-page h3,.champions-page h4,.champions-page h5,.champions-page p { color:inherit; margin:0; letter-spacing:0; text-transform:none; font-family:inherit; }
.champions-page[dir="rtl"] { font-family:var(--site-fa-font),IRANSans,Tahoma,sans-serif; text-align:right; }
.champions-page[dir="ltr"] { font-family:"Montserrat Variable",Montserrat,Arial,sans-serif; text-align:left; }
.champions-page a { color:inherit; text-decoration:none; }
.champions-page a:focus-visible,.champion-members:focus-visible { outline:3px solid #e9d5ff; outline-offset:5px; }
.champions-container { width:100%; max-width:1240px; margin:0 auto; padding-inline:28px; }
.champions-hero { padding:112px 0 18px; border-bottom:1px solid var(--cp-line); position:relative; }
.champions-hero h1 { font-size:clamp(22px,3vw,34px); line-height:1.4; font-weight:800; max-width:960px; }
.champions-hero h1 span { display:inline; color:#bf9cfa; font-weight:500; }
.competition-icon { display:block; width:24px; height:24px; flex-shrink:0; }
.champions-back { display:inline-flex; align-items:center; gap:9px; font-size:13px; margin-bottom:12px; color:#ddd1f8 !important; }
.champions-content { padding-top:22px; }
.champion-team { --rank-color:#c4b5fd; border:1px solid var(--cp-line); border-radius:24px; margin-bottom:24px; padding:28px; background:linear-gradient(150deg,rgba(255,255,255,.045),rgba(255,255,255,.015)); position:relative; }
.champion-team.rank-1 { --rank-color:#f9cc68; border-color:rgba(249,204,104,.3); background:radial-gradient(ellipse at 95% 0,rgba(249,204,104,.085),transparent 60%),rgba(255,255,255,.015); }
.champion-team.rank-2 { --rank-color:#cbd5e1; }
.champion-team.rank-3 { --rank-color:#ecaa80; }
.champion-team-heading { display:flex; gap:18px; align-items:center; padding-bottom:24px; border-bottom:1px solid var(--cp-line); }
.champion-rank { width:68px; min-width:68px; height:80px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; color:var(--rank-color); background:rgba(255,255,255,.04); border:1px solid var(--rank-color); border-radius:18px; }
.champion-rank .competition-icon { width:30px; height:30px; }
.champion-rank > span { font:700 17px/1 Arial,sans-serif; }
.champion-team-title { min-width:0; flex:1; }
.champion-place { display:block; color:var(--rank-color); font-size:12px; font-weight:600; margin-bottom:6px; }
.champion-team-title h3 { font-size:25px; line-height:1.6; font-weight:800; overflow-wrap:anywhere; }
.champion-team-title p { color:var(--cp-muted); font-size:13px; line-height:1.9; margin-top:5px; overflow-wrap:anywhere; }
.champion-team-logo { width:62px; height:62px; object-fit:contain; background:rgba(255,255,255,.04); border-radius:14px; }
.champion-members-heading { display:flex; gap:9px; align-items:center; padding:22px 0 16px; color:#c9bfd9; }
.champion-members-heading .competition-icon { width:18px; height:18px; }
.champion-members-heading h4 { font-size:13px; font-weight:500; }
.champion-members-heading > span { display:grid; place-items:center; font-size:11px; min-width:23px; height:23px; background:rgba(255,255,255,.07); border-radius:7px; }
.champion-members-heading small { margin-inline-start:auto; color:var(--cp-muted); font-size:10px; display:none; }
.champion-team.has-overflow .champion-members-heading small { display:block; }
.champion-members { display:flex; gap:18px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scroll-padding-inline:0; scrollbar-width:thin; scrollbar-color:#615073 transparent; padding:0 0 14px; -webkit-overflow-scrolling:touch; }
.champion-member { flex:0 0 220px; width:220px; scroll-snap-align:start; border-radius:16px; overflow:hidden; border:1px solid var(--cp-line); background:#171220; }
.champion-member { padding:0; color:inherit; font:inherit; text-align:start; cursor:pointer; }
.champion-member-photo { display:block; position:relative; width:220px; height:220px; background:radial-gradient(circle at 50% 35%,#35234e,#191321); }
.champion-member-placeholder { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#ab91cb; }
.champion-member-placeholder .competition-icon { width:64px; height:64px; opacity:.8; }
.champion-member-photo img,.champion-profile-avatar img { position:relative; width:100%; height:100%; display:block; object-fit:cover; object-position:center top; }
.champion-member-info { display:block; padding:16px; }
.champion-member-info strong { display:block; font-size:15px; line-height:1.8; overflow-wrap:anywhere; }
.champion-member-info small { display:block; color:var(--cp-muted); font-size:11px; margin-top:5px; line-height:1.8; overflow-wrap:anywhere; }
.champion-profile-dialog {
    position:fixed; inset:0; margin:auto; width:min(560px,calc(100% - 32px));
    max-height:calc(100dvh - 32px); overflow:auto; padding:clamp(20px,5vw,36px);
    border:1px solid #735296; border-radius:22px; color:#fff;
    background:radial-gradient(ellipse at 90% 0,#302044,transparent 70%),#131018;
    text-align:start; font:inherit;
}
.champion-profile-dialog::backdrop { background:rgba(6,4,10,.78); }
.champion-profile-close {
    position:absolute; inset-block-start:12px; inset-inline-end:12px;
    width:38px; height:38px; border:1px solid var(--cp-line); border-radius:50%;
    color:inherit; background:#211831; line-height:1; font-size:24px; cursor:pointer;
}
.champion-profile-header { display:flex; align-items:center; gap:16px; padding-inline-end:34px; overflow-wrap:anywhere; }
.champion-profile-header h2 { font-size:clamp(18px,4vw,24px); }
.champion-profile-header p { margin-block-start:4px; font-size:.875rem; color:#eadef7; }
.champion-profile-avatar {
    display:grid; place-items:center; flex:0 0 auto; width:clamp(64px,18vw,104px);
    aspect-ratio:1; overflow:hidden; border:1px solid var(--cp-line); border-radius:16px;
    background:#2c1d3d; color:#e0c7ff;
}
.champion-profile-avatar .competition-icon { width:42%; height:42%; }
.champion-profile-details { margin:24px 0 0; }
.champion-profile-details > div { border-top:1px solid var(--cp-line); padding-block:12px; }
.champion-profile-details dt { color:#dec4ff; font-size:.85rem; margin-block-end:4px; }
.champion-profile-details dd { margin:0; line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; }
.champions-empty { padding:64px 22px; border:1px dashed var(--cp-line); border-radius:22px; text-align:center; color:var(--cp-muted); }
@media (max-width:767.98px) {
    .champions-container { padding-inline:18px; }
    .champions-hero { padding:108px 0 14px; }
    .champions-hero h1 { font-size:clamp(19px,5vw,26px); }
    .champions-content { padding-top:16px; }
    .champion-team { padding:20px 16px 12px; border-radius:20px; }
    .champion-team-heading { gap:12px; }
    .champion-team-title h3 { font-size:21px; }
    .champion-rank { width:52px; min-width:52px; height:68px; border-radius:14px; }
    .champion-rank .competition-icon { width:25px; height:25px; }
    .champion-team-logo { width:40px; height:40px; }
    .champion-members { gap:12px; }
    .champion-members-heading { flex-wrap:wrap; }
    .champion-members-heading small { width:100%; margin-inline-start:0; }
}

.champions-page .champions-hero { text-align:center; }
.champions-page .champions-hero h1 { margin-inline:auto; }
.champions-step { max-width:1040px; margin-inline:auto; }
.champions-step > h2 { margin:0 auto 18px; text-align:center; font-size:clamp(19px,2.5vw,26px); line-height:1.6; }
.champions-step[data-step="years"] > h2 { font-size:clamp(18px,2vw,23px); }
.champions-page[dir="rtl"] [data-step="years"] .champions-choice-grid { direction:rtl; }
.champions-step > h2 > span:not(:empty) { display:block; color:#bf9cfa; font-size:.65em; }
.champions-choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(12px,2vw,24px); }
.champions-choice {
    min-width:0; min-height:116px; display:grid; place-content:center; justify-items:center; gap:16px;
    padding:20px 12px; border:1px solid var(--cp-line); border-radius:22px;
    background:radial-gradient(ellipse at 50% 0,#33214d,#141020 80%);
    color:inherit; font:inherit; font-size:clamp(15px,2vw,23px); font-weight:700;
    cursor:pointer; overflow-wrap:anywhere; transition:border-color .2s,background-color .2s;
}
.champions-choice .competition-icon { color:#c4a6ff; width:30px; height:30px; }
.champions-year-choice { min-height:clamp(120px,19vh,195px); font-size:clamp(27px,6vw,66px); font-variant-numeric:tabular-nums; }
.champions-choice:hover,.champions-step-button:hover { border-color:#c4a6ff; }
.champions-page button:focus-visible { outline:3px solid #e9d5ff; outline-offset:4px; }
.champions-step-button { border:1px solid var(--cp-line); border-radius:12px; padding:10px 20px; background:#211731; color:inherit; font:inherit; cursor:pointer; }
.champions-placement { margin-bottom:32px; }
.champions-placement > h3 { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.champions-placement.rank-1 > h3 { color:#ffd782; }
.champions-placement.rank-2 > h3 { color:#dbe5fa; }
.champions-placement.rank-3 > h3 { color:#f2ad8d; }
.champions-restart { display:flex; justify-content:center; margin-top:36px; }
@media (max-width:600px) {
    .champions-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    [data-step="years"] .champions-choice-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
    .champions-choice { border-radius:16px; gap:8px; padding-block:10px; }
}

.champions-league-choice {
    --category-color:#a78bfa;
    min-height:clamp(114px,18vh,156px);
    position:relative;
    isolation:isolate;
    overflow:hidden;
    background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--category-color) 33%,#141020),#141020 82%);
    border-color:color-mix(in srgb,var(--category-color) 43%,#141020);
}
.champions-league-choice::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(0deg,#100d19,transparent 95%);
}
.champions-league-choice:hover { border-color:var(--category-color); }
.champions-league-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.34; z-index:-2; }
.champions-league-icon {
    display:grid;
    place-items:center;
    width:clamp(48px,6vw,66px);
    aspect-ratio:1;
    border:1px solid var(--category-color);
    border-radius:16px;
    background:color-mix(in srgb,var(--category-color) 17%,#120d1c);
}
.champions-league-icon .competition-icon { color:var(--category-color); }
.champions-league-name { position:relative; }

@media (max-width:600px) {
    .champions-league-choice { min-height:96px; }
    .champions-league-icon { width:40px; }
    .champions-league-icon .competition-icon { width:23px; height:23px; }
}
