/* Choices.js Light Mode - Vuexy Theme */
.choices {
    margin-bottom: 0;
}

.choices__inner {
    background-color: #fff;
    border: 1px solid #d8d6de;
    border-radius: 0.357rem;
    min-height: 38px;
    padding: 4px 8px;
}

.choices__input {
    background-color: #fff !important;
    color: #6e6b7b !important;
}

.choices__list--single {
    padding: 4px 16px 4px 4px;
}

    .choices__list--single .choices__item {
        color: #6e6b7b;
    }

.choices__list--dropdown,
.choices__list[aria-expanded] {
    background-color: #fff;
    border: 1px solid #d8d6de;
    z-index: 99999 !important;
}

    .choices__list--dropdown .choices__item,
    .choices__list[aria-expanded] .choices__item {
        color: #6e6b7b;
        padding: 10px 12px;
    }

    .choices__list--dropdown .choices__item--selectable.is-highlighted,
    .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
        background-color: #ff8833;
        color: #fff;
    }

    .choices__list--dropdown .choices__input,
    .choices__list[aria-expanded] .choices__input {
        background-color: #fff !important;
        border-bottom: 1px solid #d8d6de;
        color: #6e6b7b !important;
        padding: 10px 12px;
    }

.choices[data-type*=select-one]::after {
    border-color: #6e6b7b transparent transparent transparent;
    right: 12px;
}

.choices__placeholder {
    color: #b9b9c3 !important;
    opacity: 1 !important;
}

/* Choices.js Dark Mode - Vuexy Theme */
.dark-layout .choices__inner {
    background-color: #283046;
    border-color: #8b8e96;
}

.dark-layout .choices__input {
    background-color: #283046 !important;
    color: #d0d2d6 !important;
}

.dark-layout .choices__list--single .choices__item {
    color: #d0d2d6;
}

.dark-layout .choices__list--dropdown,
.dark-layout .choices__list[aria-expanded] {
    background-color: #283046;
    border-color: #8b8e96;
}

    .dark-layout .choices__list--dropdown .choices__item,
    .dark-layout .choices__list[aria-expanded] .choices__item {
        color: #d0d2d6;
    }

    .dark-layout .choices__list--dropdown .choices__item--selectable.is-highlighted,
    .dark-layout .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
        background-color: #ff8833;
        color: #fff;
    }

    .dark-layout .choices__list--dropdown .choices__input,
    .dark-layout .choices__list[aria-expanded] .choices__input {
        background-color: #283046 !important;
        border-bottom-color: #8b8e96;
        color: #d0d2d6 !important;
    }

.dark-layout .choices[data-type*=select-one]::after {
    border-color: #d0d2d6 transparent transparent transparent;
}

.dark-layout .choices__placeholder {
    color: #8b8e96 !important;
}

/* Mobile: Constrain Choices.js width within table cell */
@media (max-width: 767.98px) {
    .choices-cell {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

        .choices-cell .choices {
            max-width: 100% !important;
            min-width: 0 !important;
        }

        .choices-cell .choices__inner {
            max-width: 100% !important;
            min-width: 0 !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        .choices-cell .choices__list--single .choices__item {
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
            max-width: 100% !important;
        }

    /* Fixed position dropdown at bottom of screen */
    .choices__list--dropdown,
    .choices__list[aria-expanded] {
        position: fixed !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-height: 60vh !important;
        border-radius: 0.5rem 0.5rem 0 0 !important;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2) !important;
        margin: 0 !important;
    }

        .choices__list--dropdown .choices__list,
        .choices__list[aria-expanded] .choices__list {
            max-height: calc(60vh - 60px) !important;
            overflow-y: auto !important;
        }

        .choices__list--dropdown .choices__input,
        .choices__list[aria-expanded] .choices__input {
            font-size: 16px !important;
            padding: 12px !important;
        }

        .choices__list--dropdown .choices__item,
        .choices__list[aria-expanded] .choices__item {
            padding: 14px 12px !important;
        }
}

/* Backdrop overlay for mobile */
.choices-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(34, 41, 47, 0.5);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.2s ease;
}

    .choices-backdrop.active {
        display: block;
        opacity: 1;
    }

/* Dark mode backdrop */
.dark-layout .choices-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

.dark-layout .choices__list--dropdown,
.dark-layout .choices__list[aria-expanded] {
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Add to Roster table - desktop cell widths */
@media (min-width: 768px) {
    .add-roster-table .cell-shrink {
        width: 1%;
        white-space: nowrap;
    }
}

/* Add to Roster table - mobile spacing */
@media (max-width: 767.98px) {
    .add-roster-table .table th.pt-mobile-1 {
        padding-top: 0.5rem !important;
    }

    .add-roster-table .table th.pb-mobile-1 {
        padding-bottom: 0.5rem !important;
    }
}

/* Probability row styling */
.table--statistics .probability-row th {
    font-weight: 600 !important;
    text-align: center;
    vertical-align: middle;
    --bs-table-accent-bg: none !important;
}

    /* Probability color classes - high specificity to override table-striped */
    .table--statistics .probability-row th.prob-elite {
        background-color: #079b00 !important;
        color: #22292f !important;
    }

    .table--statistics .probability-row th.prob-vgood {
        background-color: #5cd856 !important;
        color: #22292f !important;
    }

    .table--statistics .probability-row th.prob-good {
        background-color: #abe5a8 !important;
        color: #22292f !important;
    }

    .table--statistics .probability-row th.prob-avg {
        background-color: #f8f9fa !important;
        color: #22292f !important;
    }

    .table--statistics .probability-row th.prob-bavg {
        background-color: #db9d9d !important;
        color: #22292f !important;
    }

    .table--statistics .probability-row th.prob-ngood {
        background-color: #e70b0b !important;
        color: #22292f !important;
    }

/* Dark mode overrides */
.dark-layout .table--statistics .probability-row th {
    --bs-table-accent-bg: none !important;
}

    .dark-layout .table--statistics .probability-row th.prob-elite {
        background-color: #056200 !important;
        color: #fff !important;
    }

    .dark-layout .table--statistics .probability-row th.prob-vgood {
        background-color: #11820c !important;
        color: #fff !important;
    }

    .dark-layout .table--statistics .probability-row th.prob-good {
        background-color: #4e894b !important;
        color: #fff !important;
    }

    .dark-layout .table--statistics .probability-row th.prob-avg {
        background-color: rgba(0, 0, 0, 0.15) !important;
        color: #b4b7bd !important;
    }

    .dark-layout .table--statistics .probability-row th.prob-bavg {
        background-color: #8d4c4c !important;
        color: #fff !important;
    }

    .dark-layout .table--statistics .probability-row th.prob-ngood {
        background-color: #720505 !important;
        color: #fff !important;
    }


/* ========================================
   HOME PAGE - LEAGUE MANAGEMENT
   Modern SaaS Card Design
   ======================================== */

/* Platform Accent Colors */
:root {
    --platform-yahoo: #7c3aed;
    --platform-espn: #dc2626;
    --platform-fantrax: #2563eb;
    --platform-sleeper: #57534e;
    --platform-custom: #ea580c;
}

.dark-layout {
    --platform-yahoo: #a78bfa;
    --platform-espn: #f87171;
    --platform-fantrax: #93c5fd;
    --platform-sleeper: #a8a29e;
    --platform-custom: #fdba74;
}

/* Header Row */
.home-header-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-header-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.25rem;
    width: 100%;
}

.home-header-left-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-header-left h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #5e5873;
}

.dark-layout .home-header-left h5 {
    color: #d0d2d6;
}

.home-league-count {
    background: rgba(255, 136, 51, 0.12);
    color: #ff8833;
    padding: 0.35rem 0.85rem;
    border-radius: 0.358rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Import Button & Dropdown */
.home-header-right {
    position: relative;
}

.home-import-btn {
    background: #ff8833;
    border: none;
    color: white;
    padding: 0.65rem 1rem;
    border-radius: 0.428rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
}

    .home-import-btn:hover {
        box-shadow: 0 8px 25px -8px #ff8833;
        color: white;
    }

.home-import-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--bs-card-bg, #fff);
    min-width: 180px;
    box-shadow: 0 5px 25px rgba(34, 41, 47, 0.15);
    border-radius: 0.428rem;
    z-index: 1000;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ebe9f1;
}

.dark-layout .home-import-dropdown {
    background: #283046;
    border-color: #3b4253;
}

.home-import-dropdown.show {
    display: block;
}

.home-import-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    color: #6e6b7b;
    text-decoration: none;
    border-radius: 0.358rem;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.dark-layout .home-import-dropdown a {
    color: #b4b7bd;
}

.home-import-dropdown a.yahoo {
    color: var(--platform-yahoo);
}

.home-import-dropdown a.espn {
    color: var(--platform-espn);
}

.home-import-dropdown a.fantrax {
    color: var(--platform-fantrax);
}

.home-import-dropdown a.sleeper {
    color: var(--platform-sleeper);
}

.home-import-dropdown a.custom {
    color: var(--platform-custom);
}

.home-import-dropdown a:hover {
    background: rgba(255, 136, 51, 0.12);
    color: #ff8833 !important;
}

/* YouTube Card */
.youtube-card {
    background: #dc2626;
    border-radius: 0.428rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 24px 0 rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.dark-layout .youtube-card {
    background: #ef4444;
    box-shadow: 0 4px 24px 0 rgba(239, 68, 68, 0.25);
}

.youtube-card-content {
    position: relative;
    z-index: 1;
}

.youtube-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

    .youtube-card-header i {
        font-size: 1.1rem;
        color: white;
        opacity: 0.9;
    }

.youtube-card-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.youtube-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.youtube-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 0.358rem;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

    .youtube-card-btn:hover {
        background: #fff;
        color: #b91c1c;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .youtube-card-btn i {
        font-size: 0.7rem;
    }

/* Playbook Card */
.playbook-card {
    background: var(--bs-card-bg, #fff);
    border-radius: 0.625rem;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.dark-layout .playbook-card {
    background: #283046;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);
}

.playbook-card-inner {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    gap: 0.75rem;
}

.playbook-label {
    font-weight: 600;
    color: #ff8833;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.dark-layout .playbook-label {
    color: #fdba74;
}

.playbook-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex: 1;
}

.playbook-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 136, 51, 0.08);
    border-radius: 0.358rem;
    color: #6e6b7b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

.dark-layout .playbook-tool-btn {
    background: rgba(253, 186, 116, 0.15);
    color: #fdba74;
}

.playbook-tool-btn:hover {
    background: #ff8833;
    color: white !important;
}

.dark-layout .playbook-tool-btn:hover {
    background: #ff8833;
    color: white !important;
}

.playbook-tool-btn i {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* League Cards Container - 2 Column Grid */
.league-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 1400px) {
    .league-cards-container {
        grid-template-columns: 1fr;
    }
}

/* Modern League Card */
.league-card {
    background: var(--bs-card-bg, #fff);
    border-radius: 0.625rem;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.dark-layout .league-card {
    background: #283046;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);
}

.league-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px 0 rgba(34, 41, 47, 0.15);
}

.dark-layout .league-card:hover {
    box-shadow: 0 8px 32px 0 rgba(34, 41, 47, 0.35);
}

/* League Card Header */
.league-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #ebe9f1;
}

.dark-layout .league-card-header {
    border-bottom-color: #3b4253;
}

.league-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

/* Platform Badge */
.platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
    width: fit-content;
}

    .platform-badge.yahoo {
        background: rgba(124, 58, 237, 0.12);
        color: var(--platform-yahoo);
    }

    .platform-badge.espn {
        background: rgba(220, 38, 38, 0.12);
        color: var(--platform-espn);
    }

    .platform-badge.fantrax {
        background: rgba(37, 99, 235, 0.12);
        color: var(--platform-fantrax);
    }

    .platform-badge.sleeper {
        background: rgba(87, 83, 78, 0.12);
        color: var(--platform-sleeper);
    }

    .platform-badge.custom {
        background: rgba(234, 88, 12, 0.12);
        color: var(--platform-custom);
    }

.dark-layout .platform-badge.yahoo {
    background: rgba(167, 139, 250, 0.15);
}

.dark-layout .platform-badge.espn {
    background: rgba(248, 113, 113, 0.15);
}

.dark-layout .platform-badge.fantrax {
    background: rgba(147, 197, 253, 0.15);
}

.dark-layout .platform-badge.sleeper {
    background: rgba(168, 162, 158, 0.15);
}

.dark-layout .platform-badge.custom {
    background: rgba(253, 186, 116, 0.15);
}

.league-card-name {
    font-weight: 600;
    font-size: 1rem;
    color: #5e5873;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark-layout .league-card-name {
    color: #d0d2d6;
}

.league-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    font-size: 0.75rem;
    color: #b9b9c3;
}

    .league-card-meta span {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .league-card-meta i {
        font-size: 0.65rem;
    }

    .league-card-meta a {
        color: #b9b9c3;
        text-decoration: none;
        cursor: pointer;
    }

        .league-card-meta a:hover {
            color: #ff8833;
        }

.league-card-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.league-action-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(115, 103, 240, 0.08);
    border: none;
    border-radius: 0.428rem;
    color: #6e6b7b;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    font-size: 0.85rem;
}

.dark-layout .league-action-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #b4b7bd;
}

.league-action-btn:hover {
    background: #82868b;
    color: white;
}

/* Refresh Button - Platform Colors */
.league-card.yahoo .league-action-btn.refresh {
    background: var(--platform-yahoo);
    color: white;
}

.league-card.espn .league-action-btn.refresh {
    background: var(--platform-espn);
    color: white;
}

.league-card.fantrax .league-action-btn.refresh {
    background: var(--platform-fantrax);
    color: white;
}

.league-card.sleeper .league-action-btn.refresh {
    background: var(--platform-sleeper);
    color: white;
}

.league-card.custom .league-action-btn.refresh {
    background: var(--platform-custom);
    color: white;
}

.league-action-btn.refresh:hover {
    opacity: 0.85;
}

/* League Card Tools */
/*.league-card-tools {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.4rem;
    padding: 0.85rem 1.15rem;
    background: #fafafa;
    flex: 1;
}*/

/* League Card Tools */
.league-card-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: start;
    gap: 0.4rem;
    padding: 0.85rem 1.15rem;
    background: #fafafa;
    flex: 1;
}

.dark-layout .league-card-tools {
    background: rgba(0, 0, 0, 0.15);
}

/*.league-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.65rem;
    border-radius: 0.358rem;
    text-decoration: none;
    font-size: 0.78rem;
    transition: all 0.15s;
    white-space: nowrap;
    font-weight: 500;
    background: var(--bs-card-bg, #fff);
    color: #6e6b7b;
    cursor: pointer;
    border: 1px solid #ebe9f1;
}*/

.league-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.358rem;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.15s;
    white-space: nowrap;
    font-weight: 500;
    background: var(--bs-card-bg, #fff);
    color: #6e6b7b;
    cursor: pointer;
    border: 1px solid #ebe9f1;
}

.dark-layout .league-tool-btn {
    background: #283046;
    color: #b4b7bd;
    border-color: #3b4253;
}

.league-tool-btn:hover {
    background: #ff8833;
    color: white !important;
    border-color: #ff8833;
}

.dark-layout .league-tool-btn:hover {
    background: #ff8833;
    color: white !important;
    border-color: #ff8833;
}

.league-tool-btn i {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Player Update Feed */
.player-feed-card {
    height: fit-content;
}

.player-feed-header {
    background: rgba(255, 136, 51, 0.12) !important;
    border-bottom: 1px solid #ebe9f1 !important;
    padding: 1rem !important;
}

.dark-layout .player-feed-header {
    background: rgba(253, 186, 116, 0.15) !important;
    border-bottom-color: #3b4253 !important;
}

    .dark-layout .player-feed-header h5 {
        color: #fdba74;
    }

.player-feed-header h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff8833;
}

.player-feed-body {
    padding: 0 !important;
    max-height: 500px;
    overflow-y: auto;
}

.player-update-item {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #ebe9f1;
    transition: background 0.15s;
}

.dark-layout .player-update-item {
    border-bottom-color: #3b4253;
}

.player-update-item:last-child {
    border-bottom: none;
}

.player-update-item:hover {
    background: rgba(255, 136, 51, 0.06);
}

.player-update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2rem;
}

.player-update-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: #5e5873;
}

.dark-layout .player-update-name {
    color: #d0d2d6;
}

.player-update-text {
    font-size: 0.875rem;
    color: #6e6b7b;
    line-height: 1.45;
    margin-bottom: 0.25rem;
}

.dark-layout .player-update-text {
    color: #b4b7bd;
}

.player-update-date {
    font-size: 0.7rem;
    color: #a5a3ae;
    white-space: nowrap;
}

/* ========================================
   HOME PAGE - MOBILE STYLES
   ======================================== */
.mobile-home-header {
    margin-bottom: 1rem;
}

.mobile-home-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

    .mobile-home-header-top h5 {
        margin: 0;
        font-weight: 600;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #5e5873;
    }

.dark-layout .mobile-home-header-top h5 {
    color: #d0d2d6;
}

.mobile-youtube-banner {
    background: #dc2626;
    border-radius: 0.428rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: white;
    margin-bottom: 0.75rem;
}

.dark-layout .mobile-youtube-banner {
    background: #ef4444;
}

.mobile-youtube-banner-content {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    /* Add these 4 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-youtube-banner .btn-watch {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 0.35rem 0.65rem;
    border-radius: 0.358rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}

    .mobile-youtube-banner .btn-watch i {
        font-size: 0.6rem;
        margin-right: 0.3rem;
    }

.mobile-home-header-top .btn i {
    font-size: 0.65rem;
    margin-right: 0.3rem;
}

/* Mobile League Card */
.mobile-league-card {
    background: var(--bs-card-bg, #fff);
    border-radius: 0.625rem;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    margin-bottom: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dark-layout .mobile-league-card {
    background: #283046;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);
}

.mobile-league-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #ebe9f1;
}

.dark-layout .mobile-league-header {
    border-bottom-color: #3b4253;
}

.mobile-league-header .league-info {
    flex: 1;
    min-width: 0;
}

.mobile-league-header .league-card-name {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.mobile-league-actions {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

/* Mobile Refresh Buttons - Platform Colors */
.mobile-league-card.yahoo .league-action-btn.refresh {
    background: var(--platform-yahoo);
    color: white;
}

.mobile-league-card.espn .league-action-btn.refresh {
    background: var(--platform-espn);
    color: white;
}

.mobile-league-card.fantrax .league-action-btn.refresh {
    background: var(--platform-fantrax);
    color: white;
}

.mobile-league-card.sleeper .league-action-btn.refresh {
    background: var(--platform-sleeper);
    color: white;
}

.mobile-league-card.custom .league-action-btn.refresh {
    background: var(--platform-custom);
    color: white;
}

/* Mobile Tools Grid */
.mobile-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: #fafafa;
}

.dark-layout .mobile-tools-grid {
    background: rgba(0, 0, 0, 0.15);
}

.mobile-tools-grid .mobile-tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.55rem 0.4rem;
    font-size: 0.75rem;
    border-radius: 0.358rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s;
    background: var(--bs-card-bg, #fff);
    color: #6e6b7b;
    border: 1px solid #ebe9f1;
}

    .mobile-tools-grid .mobile-tool-btn i {
        font-size: 0.65rem;
        opacity: 0.8;
    }

.dark-layout .mobile-tools-grid .mobile-tool-btn {
    background: #283046;
    color: #b4b7bd;
    border-color: #3b4253;
}

.mobile-tools-grid .mobile-tool-btn:hover,
.mobile-tools-grid .mobile-tool-btn:active {
    background: #ff8833;
    color: white !important;
    border-color: #ff8833;
}

/* Mobile Import Bottom Sheet */
.mobile-import-wrapper {
    position: relative;
}

.mobile-import-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.mobile-import-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

    .mobile-import-overlay.show {
        display: block;
    }

.mobile-import-sheet {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bs-card-bg, #fff);
    border-radius: 1rem 1rem 0 0;
    z-index: 1050;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.dark-layout .mobile-import-sheet {
    background: #283046;
}

.mobile-import-sheet.show {
    display: block;
    transform: translateY(0);
}

.mobile-import-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #ebe9f1;
}

.dark-layout .mobile-import-sheet-header {
    border-bottom-color: #3b4253;
}

.mobile-import-sheet-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    color: #5e5873;
}

.dark-layout .mobile-import-sheet-header h6 {
    color: #d0d2d6;
}

.mobile-import-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #6e6b7b;
    padding: 0.25rem;
    cursor: pointer;
}

.dark-layout .mobile-import-close {
    color: #b4b7bd;
}

.mobile-import-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-import-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.428rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.15s;
    background: #f8f8f8;
    border: 1px solid #ebe9f1;
}

.dark-layout .mobile-import-option {
    background: rgba(255, 255, 255, 0.05);
    border-color: #3b4253;
}

.mobile-import-option:active {
    transform: scale(0.98);
}

.mobile-import-option.yahoo {
    color: var(--platform-yahoo);
}

.mobile-import-option.espn {
    color: var(--platform-espn);
}

.mobile-import-option.fantrax {
    color: var(--platform-fantrax);
}

.mobile-import-option.sleeper {
    color: var(--platform-sleeper);
}

.mobile-import-option.custom {
    color: var(--platform-custom);
}

.mobile-import-option:hover,
.mobile-import-option:active {
    background: rgba(255, 136, 51, 0.12);
    border-color: rgba(255, 136, 51, 0.3);
}

/* Home Page Responsive */
@media (max-width: 767px) {
    .desktop-home-view {
        display: none !important;
    }

    .mobile-home-view {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .desktop-home-view {
        display: block !important;
    }

    .mobile-home-view {
        display: none !important;
    }
}

