/* ========================================
   COACH FINDER PAGE - CLEAN REWORK
   ======================================== */

:root {
    --header-red: #ef3e4a;
    --header-red-hover: #d6323d;
    --surface-primary: #141417;
    --surface-secondary: #1b1c20;
    --surface-void: #0d0d0d;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
}

/* Header */
.coach-finder-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo {
    display: block;
    width: 150px;
}

.header-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: #ffffff;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    padding: 10px 24px;
    background: #ffffff;
    color: #0d0d0d;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    color: #0d0d0d;
}

.btn-signup {
    padding: 10px 24px;
    background: var(--header-red);
    color: #ffffff;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-signup:hover {
    background: var(--header-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 62, 74, 0.3);
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 900px) {
    .header-nav,
    .header-auth {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* Main */
.coach-finder-main {
    min-height: 100vh;
    background: #0d0d0d;
}

.finder-hero {
    padding: 48px 0 28px;
    border-bottom: 1px solid #5c5c5c;
    background: radial-gradient(circle at 20% 0%, hsl(var(--base) / 0.35), transparent 60%), #0d0d0d;
}

.finder-hero__content {
    max-width: 720px;
}

.finder-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.finder-hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.finder-hero p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.finder-shell {
    padding: 36px 0 80px;
}

.finder-hero .container,
.finder-shell .container {
    max-width: 1680px;
    padding-left: 24px;
    padding-right: 24px;
}

.finder-grid {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 32px;
}
.coach-finder-main .filters-panel {
    background: #1b1c1f !important;
    border: 1px solid #2f2f2f !important;
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

@media (max-width: 801px) {
    .coach-finder-main .filters-panel {
        position: static;
        top: auto;
    }
}
.live-profiles .member__details {
    display: none;
}

.coach-finder-main .membar__info {
    gap: 10px;
    align-items: flex-start;
}

.coach-finder-main .profile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.coach-finder-main .profile-status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9aa0a6;
    background: #1a1a1a;
    border: 1px solid #2f2f2f;
    border-radius: 999px;
    padding: 4px 10px;
    letter-spacing: 0.4px;
}

.coach-finder-main .profile-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
}

.coach-finder-main .profile-rating {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.coach-finder-main .profile-main {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.coach-finder-main .profile-avatar {
    width: 78px;
    height: 78px;
    border-radius: 100px;
    border: 2px solid hsl(var(--base));
    object-fit: cover;
}

.coach-finder-main .profile-info {
    flex: 1;
}

.coach-finder-main .profile-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.coach-finder-main .profile-highlights li {
    margin-bottom: 4px;
}

.coach-finder-main .profile-roles {
    margin-top: 6px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    text-align: left;
    width: 100%;
}

.coach-finder-main .profile-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.coach-finder-main .profile-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.coach-finder-main .profile-avatar-sm {
    width: 56px;
    height: 56px;
    border-radius: 100px;
    border: 2px solid hsl(var(--base));
    object-fit: cover;
}

.coach-finder-main .profile-meta h4 {
    font-size: 18px;
    margin: 0;
}

.coach-finder-main .rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: hsl(var(--base) / 0.2);
    border: 1px solid hsl(var(--base) / 0.6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
}

.coach-finder-main .profile-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.coach-finder-main .online-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.6);
    animation: onlinePulse 1.6s ease-out infinite;
    flex: 0 0 auto;
}

.coach-finder-main .booking-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #facc15;
    box-shadow: 0 0 0 rgba(250, 204, 21, 0.6);
    animation: bookingPulse 1.6s ease-out infinite;
    flex: 0 0 auto;
}

@keyframes onlinePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes bookingPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(250, 204, 21, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }
}

.coach-finder-main .profile-name-row .truncate-1 {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
}

.coach-finder-main .profile-languages {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.coach-finder-main .profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.coach-finder-main .favorite-heart {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    padding: 4px;
    cursor: pointer;
}

.coach-finder-main .favorite-heart:hover {
    color: var(--header-red);
}

.coach-finder-main .favorite-heart.favorited {
    color: #ff4d8f;
}

.coach-finder-main .favorite-heart:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.coach-finder-main .profile-row--meta {
    justify-content: flex-start;
    gap: 16px;
    margin-top: var(--profile-row-gap);
}

.coach-finder-main .profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #1a1a1a;
    border: 1px solid #2f2f2f;
    font-size: 13px;
    color: var(--text-secondary);
}

.coach-finder-main .profile-chip i {
    color: hsl(var(--base));
    font-size: 12px;
}

.coach-finder-main .profile-row--roles {
    align-items: center;
}

.coach-finder-main .profile-roles {
    display: flex;
    gap: 6px;
    margin-top: var(--profile-row-gap);
    justify-content: flex-start;
    align-items: center;
    align-self: flex-start;
    text-align: left;
    width: 100%;
}

.coach-finder-main .membar__info img {
    width: 78px;
    height: 78px;
    border-width: 2px;
}

.coach-finder-main .membar__info h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.coach-finder-main .coach-flags {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    font-size: 14px;
    line-height: 1;
}

.coach-finder-main .membar__info p {
    margin-bottom: 8px;
    font-size: 13px;
}

.coach-finder-main .membar__info ul li {
    font-size: 12px;
    line-height: 1.3;
}

.coach-finder-main .member__wr {
    padding: 18px;
    background-color: #242428;
    text-align: left;
    --profile-row-gap: 10px;
}

/* Card layout consistency */
.coach-finder-main .live-profiles {
    --profile-card-max: 360px;
    grid-template-columns: repeat(auto-fit, minmax(320px, var(--profile-card-max)));
    justify-items: stretch;
}

.live-profiles > [class*="col-"] > .membar__card {
  width: 100%;
  max-width: none;
}


.coach-finder-main .membar__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: var(--profile-card-max);
}

.coach-finder-main .member__topbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
}

.coach-finder-main .member__desc {
    flex: 1 1 auto;
    min-height: 0;
}

.coach-finder-main .member__bottombar {
    margin-top: auto;
}

.coach-finder-main .member__desc span,
.coach-finder-main .member__desc p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.coach-finder-main .member__desc span {
    -webkit-line-clamp: 1;
}

.coach-finder-main .member__desc p {
    -webkit-line-clamp: 3;
    min-height: 3.9em;
}

@media (max-width: 767px) {
    .coach-finder-main .profile-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .coach-finder-main .profile-status {
        align-self: flex-start;
    }
}


.coach-finder-main .team__online {
    color: #9aa0a6 !important;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.filters-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.filters-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.filters-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.filters-toggle:hover {
    color: #fff;
}

#filtersHiddenBar .filters-toggle {
    color: var(--header-red);
}

#filtersHiddenBar .filters-toggle:hover {
    color: var(--header-red-hover);
}

.filters-panel.is-collapsed {
    display: none;
}

.results-panel.filters-hidden {
    grid-column: 1 / -1;
}
.filters-panel__header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters-panel__header h3 i {
    color: var(--header-red);
}

.filters-reset {
    background: none;
    border: none;
    color: var(--header-red);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.filter-group {
    margin-bottom: 20px;
}

.coach-finder-main .filter-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: hsl(var(--body-color));
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.coach-finder-main .role-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: #141417;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.coach-finder-main .role-option:hover {
    border-color: #3b3b3b;
}

.role-option input {
    display: none;
}

.role-option input:checked + .role-icon {
    opacity: 1;
}

.role-option:has(input:checked) {
    border-color: hsl(var(--base));
    background: hsl(var(--base) / 0.15);
}

.role-name {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.role-icon {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.role-icon[data-role="top"] {
    background-image: url('https://raw.communitydragon.org/latest/plugins/rcp-fe-lol-champ-select/global/default/svg/position-top.svg');
}

.role-icon[data-role="jungle"] {
    background-image: url('https://raw.communitydragon.org/latest/plugins/rcp-fe-lol-champ-select/global/default/svg/position-jungle.svg');
}

.role-icon[data-role="mid"] {
    background-image: url('https://raw.communitydragon.org/latest/plugins/rcp-fe-lol-champ-select/global/default/svg/position-middle.svg');
}

.role-icon[data-role="adc"] {
    background-image: url('https://raw.communitydragon.org/latest/plugins/rcp-fe-lol-champ-select/global/default/svg/position-bottom.svg');
}

.role-icon[data-role="support"] {
    background-image: url('https://raw.communitydragon.org/latest/plugins/rcp-fe-lol-champ-select/global/default/svg/position-utility.svg');
}

.role-icon.small {
    width: 18px;
    height: 18px;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coach-finder-main .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #141417;
    border: 1px solid #2f2f2f;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.coach-finder-main .pill:hover {
    border-color: #3b3b3b;
    color: var(--text-primary);
}

.pill input {
    display: none;
}

.pill input:checked + span {
    color: #ffffff;
}

.pill:has(input:checked) {
    background: hsl(var(--base) / 0.15);
    border-color: hsl(var(--base));
}

.online-dot {
    color: #22c55e;
    font-size: 8px;
}

.online-dot-yellow {
    color: #facc15;
    font-size: 8px;
}

.language-search {
    position: relative;
    margin-bottom: 12px;
}

.coach-finder-main .language-search input {
    width: 100%;
    padding: 10px 34px 10px 12px;
    background: #141417;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
}

.language-search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.name-search {
    position: relative;
    margin-bottom: 12px;
}

.coach-finder-main .name-search input {
    width: 100%;
    padding: 10px 34px 10px 12px;
    background: #141417;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
}

.name-search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.region-search {
    position: relative;
    margin-bottom: 12px;
}

.coach-finder-main .region-search input {
    width: 100%;
    padding: 10px 34px 10px 12px;
    background: #141417;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
}

.region-search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.coach-finder-main .region-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: #141417;
    border: 1px solid #2f2f2f;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.coach-finder-main .region-pill.region-hidden {
    display: none;
}

.region-pill input {
    display: none;
}

.region-pill:has(input:checked) {
    background: hsl(var(--base) / 0.15);
    border-color: hsl(var(--base));
    color: #ffffff;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.coach-finder-main .language-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: #141417;
    border: 1px solid #2f2f2f;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.coach-finder-main .language-pill.language-hidden {
    display: none;
}

.coach-finder-main .champion-pill.champion-hidden {
    display: none;
}

.highlight-on-champ {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.highlight-on-champ:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.highlight-on-champ.is-highlighted {
    border-color: hsl(var(--base));
    box-shadow: 0 0 0 2px hsl(var(--base) / 0.5), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.language-pill input {
    display: none;
}

.language-pill:has(input:checked) {
    background: hsl(var(--base) / 0.15);
    border-color: hsl(var(--base));
    color: #ffffff;
}

.champion-search {
    position: relative;
    margin-bottom: 12px;
}

.coach-finder-main .champion-search input {
    width: 100%;
    padding: 10px 34px 10px 12px;
    background: #141417;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
}

.champion-search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.champion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.champion-grid.is-hidden {
    display: none;
}

.coach-finder-main .champion-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: #141417;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.champion-pill img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

.champion-pill input {
    display: none;
}

.champion-pill:has(input:checked) {
    border-color: hsl(var(--base));
    background: hsl(var(--base) / 0.15);
    color: #ffffff;
}

.coach-finder-main .price-slider {
    width: 100%;
    height: 6px;
    background: #141417;
    border-radius: 3px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: hsl(var(--base));
    border-radius: 50%;
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: hsl(var(--base));
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.price-slider::-moz-range-track {
    height: 6px;
    background: #141417;
    border-radius: 3px;
}

.price-output {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.price-checkpoints {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    gap: 8px;
}

.price-checkpoint {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.price-checkpoint:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.price-checkpoint.active {
    color: #fff;
    border-color: hsl(var(--base));
    background: hsl(var(--base) / 0.15);
}

/* Results */
.results-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filters-hidden-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #1b1c1f;
    border: 1px solid #2f2f2f;
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 13px;
}

.filters-hidden-bar i {
    color: var(--header-red);
    margin-right: 8px;
}

.results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--text-secondary);
}

.results-count {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.results-sort label {
    white-space: nowrap;
}

.results-sort select {
    background: var(--surface-void);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}

/* Live profile cards use main.css */
.live-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.live-profiles > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.live-profiles.row {
    display: grid;
    margin: 0;
}

@media (max-width: 768px) {
    .live-profiles {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .finder-hero .container,
    .finder-shell .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .coach-finder-main .filters-panel {
        padding: 16px;
        border-radius: 12px;
    }

    .filters-panel__header {
        gap: 8px;
    }

    .pill-group {
        gap: 6px;
    }

    .coach-finder-main .pill {
        padding: 6px 10px;
        font-size: 11px;
    }

    .coach-finder-main .language-pill {
        padding: 6px 8px;
        font-size: 11px;
    }

    .coach-finder-main .role-option {
        padding: 10px 8px;
    }

    .coach-finder-main .role-name {
        font-size: 11px;
    }

    .champion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .coach-finder-main .champion-pill {
        padding: 5px 6px;
        font-size: 11px;
    }

    .results-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .results-sort {
        width: 100%;
    }

    .results-sort select {
        width: 100%;
    }
}

@media (max-width: 350px) {
    .finder-hero .container,
    .finder-shell .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .coach-finder-main .filters-panel {
        padding: 12px;
    }

    .language-grid {
        grid-template-columns: 1fr;
    }

    .champion-grid {
        grid-template-columns: 1fr;
    }

    .coach-finder-main .pill,
    .coach-finder-main .language-pill,
    .coach-finder-main .champion-pill {
        font-size: 10px;
    }

    .coach-finder-main .live-profiles {
        grid-template-columns: 1fr;
    }
}

/* Force stacked layout on smaller widths */
@media (max-width: 801px) {
    .finder-grid {
        grid-template-columns: 1fr;
    }

    .coach-finder-main .filters-panel {
        position: static;
        top: auto;
        z-index: auto;
    }

    .results-panel {
        position: relative;
        z-index: 0;
    }

    .coach-finder-main .live-profiles.row {
        justify-content: center;
    }

}
