:root {
    --mobile-page-pad: 12px;
}

html {
    min-width: 0;
}

body {
    overflow-x: hidden;
}

img,
svg,
canvas,
video {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

.dashboard-menu-toggle {
    display: none;
}

@media (max-width: 760px) {
    body {
        background: #f1f2f8;
    }

    .app-shell {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .sidebar {
        position: sticky;
        top: 0;
        z-index: 30;
        padding: 12px var(--mobile-page-pad);
        gap: 10px;
        border-radius: 0;
    }

    .brand-wrap {
        margin: 0 0 10px;
        gap: 10px;
    }

    .brand-logo {
        width: 42px;
        min-width: 42px;
        height: 42px;
        font-size: 26px;
    }

    .brand-title {
        font-size: 24px !important;
        line-height: 1.05;
    }

    .brand-subtitle {
        display: none;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-item {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 9px 12px;
        border-radius: 12px;
        font-size: 14px !important;
        white-space: nowrap;
    }

    .nav-item i {
        font-size: 18px;
    }

    .premium-box {
        display: none !important;
    }

    .main-panel,
    .page-shell,
    .page-main,
    .config-shell,
    .form-side {
        width: 100%;
        padding: var(--mobile-page-pad) !important;
    }

    .topbar {
        align-items: stretch;
        gap: 12px;
        margin-bottom: 12px;
    }

    .topbar h1,
    .auth-head h1 {
        font-size: clamp(26px, 8vw, 34px) !important;
        line-height: 1.08;
        letter-spacing: 0;
    }

    .topbar p,
    .subtitle,
    .auth-head p {
        font-size: 14px !important;
        line-height: 1.4;
    }

    .topbar-actions,
    .toolbar-actions,
    .actions,
    .modal-actions,
    .form-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .btn-primary,
    .primary-btn,
    .secondary-btn,
    .ghost-btn,
    .danger-btn,
    .next-btn,
    .submit-btn,
    .month-btn,
    .copy-public-link-btn {
        width: 100%;
        min-height: 46px;
        justify-content: center;
        text-align: center;
        font-size: 15px !important;
    }

    .icon-btn {
        flex: 0 0 auto;
    }

    .profile-menu,
    .profile-btn {
        width: 100%;
    }

    .profile-dropdown {
        position: fixed;
        left: var(--mobile-page-pad);
        right: var(--mobile-page-pad);
        top: auto;
        bottom: var(--mobile-page-pad);
        min-width: 0;
        z-index: 1000;
    }

    .content-grid,
    .dashboard-grid,
    .layout-grid,
    .info-grid,
    .sports-grid,
    .summary-grid,
    .stats-row,
    .format-grid,
    .options-grid,
    .three-cols,
    .four-cols,
    .modal-grid,
    .modal-body-grid,
    .confirm-grid,
    .facility-grid,
    .mini-grid,
    .form-grid,
    .form-grid.two,
    .grid-2,
    .date-grid,
    .days-grid {
        grid-template-columns: 1fr !important;
    }

    .steps {
        width: 100%;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 2px;
        padding: 6px 0 !important;
    }

    .step {
        min-width: 0;
        min-height: 68px;
        display: grid !important;
        justify-items: center;
        align-content: start;
        text-align: center;
        padding: 0 1px;
    }

    .step:not(:last-child)::after {
        display: block !important;
        left: calc(50% + 15px) !important;
        top: 14px !important;
        width: calc(100% - 30px) !important;
    }

    .step span {
        width: 28px !important;
        height: 28px !important;
        margin: 0 auto 4px !important;
        font-size: 12px !important;
    }

    .step > div {
        width: 100%;
        min-width: 0;
    }

    .step strong {
        max-width: 100%;
        font-size: 8px !important;
        line-height: 1.08;
        letter-spacing: 0;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .step small {
        display: block !important;
        max-width: 100%;
        margin-top: 1px !important;
        font-size: 7px !important;
        line-height: 1.08;
        letter-spacing: 0;
        color: inherit;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .left-card,
    .right-card,
    .inner,
    .content-grid > * {
        width: 100%;
        min-width: 0;
    }

    .card,
    .side-card,
    .form-card,
    .right-card,
    .table-card,
    .public-card,
    .auth-card {
        border-radius: 12px !important;
        padding: 12px !important;
    }

    .sport-scene {
        height: 160px;
    }

    .sport-meta h3,
    .summary-title,
    .event-date strong {
        font-size: clamp(24px, 9vw, 34px) !important;
    }

    .toolbar-row,
    .filters-form,
    .public-link-notice,
    .activity-head,
    .table-footer,
    .players-panel-head {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .search-box,
    .filters-form label,
    .filters-form select,
    .filters-form input {
        width: 100% !important;
        min-width: 0 !important;
    }

    .table-card,
    .table-wrap,
    .standings-table-wrap,
    .players-modal-body {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-row,
    .players-table-row,
    .match-card,
    .upcoming-row,
    .activity-row,
    .upcoming-item,
    .venue-list li {
        min-width: 0;
    }

    .team-col,
    .team-inline,
    .event-info,
    .championship-name,
    .player-name-cell {
        min-width: 0;
    }

    .team-col strong,
    .team-inline span,
    .event-info strong,
    .championship-name strong,
    .player-name-cell span {
        overflow-wrap: anywhere;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .modal,
    .modal-panel,
    .dialog,
    .players-modal {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 24px);
    }

    .modal-actions {
        display: flex;
    }

    .modal-actions > *,
    .form-actions > * {
        width: 100%;
    }

    .result-live-score,
    .scoreboard,
    .versus-row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        gap: 4px;
    }

    .result-live-card {
        padding: 10px 6px;
        overflow: hidden;
    }

    .result-side {
        min-width: 0;
    }

    .result-condition-select {
        width: 72px;
        height: 26px;
        margin-bottom: 6px;
        border-radius: 7px;
        font-size: 10px;
    }

    .result-side strong {
        max-width: 100%;
        font-size: 11px !important;
        line-height: 1.12;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .result-initial-box {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .result-score-spinner {
        gap: 3px;
        min-width: 70px;
        justify-content: center;
    }

    .result-score-spinner span,
    .result-score-spinner input[type="number"],
    .result-live-score em {
        font-size: clamp(20px, 7.2vw, 27px) !important;
    }

    .result-score-spinner input[type="number"] {
        width: 28px;
        min-height: 34px;
    }

    .result-state-badge {
        margin-top: 6px;
        padding: 4px 9px;
        font-size: 10px;
    }

    .matches-card,
    .match-date-item,
    .date-matches-group,
    .date-match-row {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .matches-card {
        overflow: visible;
    }

    .match-date-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
        align-items: center;
        gap: 4px;
        padding: 7px 6px;
        overflow: visible;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }

    .match-date-text {
        min-width: 0;
        font-size: 11px;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .match-date-actions-right {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(48px, 1fr) 26px 26px;
        gap: 3px;
        align-items: center;
    }

    .date-actions-dropdown,
    .date-actions-toggle {
        width: auto;
        min-width: 0;
    }

    .date-actions-toggle {
        justify-content: center;
        min-height: 28px;
        padding: 4px 3px;
        white-space: nowrap;
        gap: 2px;
        overflow: visible;
    }

    .date-actions-toggle .date-actions-label,
    .date-actions-toggle .ri-arrow-down-s-line {
        display: none;
    }

    .date-actions-toggle i {
        font-size: 16px;
    }

    .date-icon-btn {
        width: 26px;
        height: 28px;
        min-width: 26px;
        border-radius: 7px;
        font-size: 13px;
    }

    .date-actions-menu {
        left: 0;
        right: auto;
        width: 116px;
        min-width: 116px;
        z-index: 1200;
    }

    .date-actions-menu a,
    .date-actions-menu button {
        min-height: 40px;
        text-align: center;
    }

    .date-match-row.table-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-areas:
            "match match match"
            "meta meta meta"
            "home result away"
            "date status actions";
        gap: 8px;
        padding: 10px;
        border: 1px solid #d7deeb;
        border-radius: 12px;
        margin: 8px 8px 10px;
        background: #fff;
        box-shadow: 0 6px 16px rgba(19, 31, 58, 0.06);
    }

    .date-match-row > div {
        min-width: 0;
    }

    .date-match-row > div:nth-child(1) {
        grid-area: match;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        align-items: center;
        padding-bottom: 6px;
        border-bottom: 1px dashed #edf1f8;
    }

    .date-match-row > div:nth-child(2) {
        grid-area: meta;
    }

    .date-match-row > div:nth-child(3) {
        grid-area: home;
    }

    .date-match-row > div:nth-child(4) {
        grid-area: result;
        text-align: center;
        align-self: center;
    }

    .date-match-row > div:nth-child(5) {
        grid-area: away;
        justify-content: flex-end;
        text-align: right;
    }

    .date-match-row > div:nth-child(6) {
        grid-area: date;
    }

    .date-match-row > div:nth-child(7) {
        grid-area: status;
        text-align: center;
        align-self: center;
    }

    .date-match-row > div:nth-child(8) {
        grid-area: actions;
        justify-self: end;
        align-self: center;
    }

    .date-match-row .category-sex-col {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding-bottom: 6px;
        border-bottom: 1px dashed #edf1f8;
        color: #65758f;
    }

    .date-match-row .category-sex-col strong,
    .date-match-row .category-sex-col small {
        display: inline;
        font-size: 10px;
        line-height: 1.1;
    }

    .date-match-row .team-col {
        gap: 5px;
    }

    .date-match-row .team-col .crest {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 10px;
        flex: 0 0 auto;
    }

    .date-match-row .team-col strong {
        min-width: 0;
        font-size: 11px;
        line-height: 1.12;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .date-match-row .result-col strong {
        font-size: 18px;
        line-height: 1;
        white-space: nowrap;
    }

    .date-match-row .result-col small {
        font-size: 10px;
    }

    .date-match-row .match-col span,
    .date-match-row .match-col strong,
    .date-match-row .date-col strong,
    .date-match-row .date-col small {
        display: inline;
        font-size: 11px;
    }

    .date-match-row .status-chip {
        padding: 5px 7px;
        font-size: 9px;
        white-space: nowrap;
    }

    .standings-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 12px 0 4px;
        overflow: hidden;
    }

    .standings-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .standings-head h3 {
        font-size: 16px;
    }

    .standings-head small {
        font-size: 10px;
        line-height: 1.25;
    }

    .standings-view-form {
        width: 100%;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .standings-view-form select {
        width: 100%;
        min-width: 0;
    }

    .standings-card,
    .standings-table-wrap,
    .standings-table {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .standings-table-wrap {
        overflow-x: hidden;
    }

    .standings-card > header {
        min-height: 0;
        padding: 8px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .standings-card > header strong,
    .standings-card > header span {
        font-size: 11px;
    }

    .standings-card-actions {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .standings-table {
        table-layout: fixed;
    }

    .standings-table th,
    .standings-table td {
        padding: 6px 3px;
        font-size: 9px;
        line-height: 1.1;
    }

    .standings-table th:nth-child(2),
    .standings-table td:nth-child(2) {
        width: 26%;
        overflow-wrap: anywhere;
    }

    .standings-table th:first-child,
    .standings-table td:first-child {
        width: 24px;
    }

    .standings-table input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }

    .volley-sets-head,
    .volley-set-row {
        grid-template-columns: 58px 1fr 1fr;
    }

    .login-shell {
        width: 100%;
        min-height: 100vh;
    }

    .login-shell .hero-side {
        display: none;
    }

    .login-shell .form-side {
        min-height: 100vh;
        display: grid;
        place-items: center;
    }

    .hero-side {
        padding: 14px 12px 0 !important;
    }

    .hero-features {
        grid-template-columns: 1fr !important;
    }

    .auth-tabs,
    .auth-options,
    .auth-foot {
        flex-wrap: wrap;
    }

    .auth-page {
        display: block;
        min-height: 100vh;
        padding: var(--mobile-page-pad);
    }

    .auth-panel {
        width: 100%;
        border-radius: 12px;
        padding: 14px;
        box-shadow: none;
    }

    .auth-panel h1 {
        font-size: 26px;
    }

    .panel-actions {
        flex-direction: column;
    }

    .panel-actions .btn,
    .btn {
        width: 100%;
        min-height: 44px;
    }

    .dashboard-page.menu-open {
        overflow: hidden;
    }

    .dashboard-page.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(8, 17, 38, 0.48);
    }

    .dashboard-page .app-shell {
        display: block;
    }

    .dashboard-page .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 90;
        width: min(82vw, 310px);
        padding: 18px 14px;
        transform: translateX(-104%);
        transition: transform 0.22s ease;
        overflow-y: auto;
        box-shadow: 18px 0 34px rgba(4, 12, 30, 0.28);
    }

    .dashboard-page.menu-open .sidebar {
        transform: translateX(0);
    }

    .dashboard-page .sidebar-nav {
        flex-direction: column;
        overflow: visible;
        padding-bottom: 0;
    }

    .dashboard-page .nav-item {
        width: 100%;
        justify-content: flex-start;
    }

    .dashboard-page .brand-wrap {
        margin-bottom: 18px;
    }

    .dashboard-menu-toggle {
        width: 46px;
        height: 46px;
        margin: 0;
        border: 1px solid #dfe4f0;
        border-radius: 12px;
        background: #fff;
        color: #24324e;
        display: inline-grid;
        place-content: center;
        font-size: 24px;
        box-shadow: 0 8px 18px rgba(18, 30, 58, 0.08);
    }

    .dashboard-page .topbar {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) auto;
        grid-template-areas:
            "menu title profile"
            "subtitle subtitle subtitle"
            "create create create";
        align-items: center;
        column-gap: 10px;
        row-gap: 8px;
    }

    .dashboard-page .topbar > div:first-child,
    .dashboard-page .topbar-actions {
        display: contents;
    }

    .dashboard-page .dashboard-menu-toggle {
        grid-area: menu;
    }

    .dashboard-page .topbar h1 {
        grid-area: title;
        margin: 0;
        font-size: 22px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dashboard-page .topbar p {
        grid-area: subtitle;
        margin: 0;
    }

    .dashboard-page .topbar-actions > .btn-primary {
        grid-area: create;
        margin-top: 2px;
    }

    .dashboard-page .topbar-actions > .icon-btn {
        display: none;
    }

    .dashboard-page .profile-menu {
        grid-area: profile;
        width: auto;
        justify-self: end;
    }

    .dashboard-page .profile-btn {
        width: auto;
        min-height: 46px;
        padding: 5px 8px 5px 5px;
        gap: 6px;
        border-radius: 12px;
    }

    .dashboard-page .profile-btn img {
        width: 34px;
        height: 34px;
    }

    .dashboard-page .profile-btn strong {
        max-width: 72px;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dashboard-page .profile-btn small {
        display: none;
    }

    .dashboard-page .profile-btn i {
        font-size: 16px;
    }

    .dashboard-page .profile-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        bottom: auto;
        left: auto;
        min-width: 220px;
        max-width: calc(100vw - (var(--mobile-page-pad) * 2));
        z-index: 1000;
    }

    .dashboard-page .sports-card,
    .dashboard-page .summary-card {
        padding: 10px !important;
    }

    .dashboard-page .sports-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .dashboard-page .sport-tile {
        border-radius: 12px;
    }

    .dashboard-page .sport-scene {
        height: 64px;
    }

    .dashboard-page .sport-meta {
        padding: 8px 6px;
        text-align: center;
    }

    .dashboard-page .sport-meta p {
        justify-content: center;
        gap: 4px;
        font-size: 11px;
    }

    .dashboard-page .sport-meta p span {
        width: 7px;
        height: 7px;
    }

    .dashboard-page .sport-meta h3 {
        margin-top: 5px;
        font-size: 22px !important;
    }

    .dashboard-page .sport-meta small {
        font-size: 10px;
    }

    .dashboard-page .sport-meta button {
        display: none;
    }

    .dashboard-page .summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px;
    }

    .dashboard-page .mini-stat {
        min-width: 0;
        min-height: 96px;
        padding: 8px 4px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }

    .dashboard-page .mini-icon {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: 15px;
    }

    .dashboard-page .mini-stat strong {
        font-size: 18px;
    }

    .dashboard-page .mini-stat span {
        display: block;
        font-size: 9px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .campeonatos-page.menu-open {
        overflow: hidden;
    }

    .campeonatos-page.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(8, 17, 38, 0.48);
    }

    .campeonatos-page .app-shell {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .campeonatos-page .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 90;
        width: min(82vw, 310px);
        padding: 18px 14px;
        transform: translateX(-104%);
        transition: transform 0.22s ease;
        overflow-y: auto;
        box-shadow: 18px 0 34px rgba(4, 12, 30, 0.28);
    }

    .campeonatos-page.menu-open .sidebar {
        transform: translateX(0);
    }

    .campeonatos-page .sidebar-nav {
        flex-direction: column;
        overflow: visible;
        padding-bottom: 0;
    }

    .campeonatos-page .nav-item {
        width: 100%;
        justify-content: flex-start;
    }

    .campeonatos-page .brand-wrap {
        margin-bottom: 18px;
    }

    .campeonatos-page .main-panel {
        width: 100%;
        padding: var(--mobile-page-pad) !important;
        overflow: visible;
    }

    .campeonatos-page .topbar {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) auto;
        grid-template-areas:
            "menu title profile"
            "subtitle subtitle subtitle";
        align-items: center;
        column-gap: 10px;
        row-gap: 8px;
    }

    .campeonatos-page .title-wrap,
    .campeonatos-page .topbar-actions {
        display: contents;
    }

    .campeonatos-page .title-wrap > div {
        display: contents;
    }

    .campeonatos-page .dashboard-menu-toggle {
        grid-area: menu;
    }

    .campeonatos-page .title-icon,
    .campeonatos-page .topbar-actions > .icon-btn {
        display: none;
    }

    .campeonatos-page .title-wrap h1 {
        grid-area: title;
        margin: 0;
        font-size: 22px !important;
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .campeonatos-page .title-wrap p {
        grid-area: subtitle;
        margin: 0;
    }

    .campeonatos-page .profile-menu {
        grid-area: profile;
        width: auto;
        justify-self: end;
    }

    .campeonatos-page .profile-btn {
        width: auto;
        min-height: 46px;
        padding: 5px 8px 5px 5px;
        gap: 6px;
        border-radius: 12px;
    }

    .campeonatos-page .profile-btn img {
        width: 34px;
        height: 34px;
    }

    .campeonatos-page .profile-btn strong {
        max-width: 72px;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .campeonatos-page .profile-btn small {
        display: none;
    }

    .campeonatos-page .profile-btn i {
        font-size: 16px;
    }

    .campeonatos-page .profile-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        bottom: auto;
        left: auto;
        min-width: 220px;
        max-width: calc(100vw - (var(--mobile-page-pad) * 2));
        z-index: 1000;
    }

    .campeonatos-page .toolbar-row,
    .campeonatos-page .toolbar-actions,
    .campeonatos-page .filters-form {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 8px;
    }

    .campeonatos-page .tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
        width: 100%;
    }

    .campeonatos-page .tab-btn {
        min-width: 0;
        width: 100%;
        justify-content: center;
        min-height: 36px;
        padding: 0 3px;
        font-size: 11px;
        text-align: center;
        white-space: nowrap;
    }

    .campeonatos-page .search-box,
    .campeonatos-page #toggleFilters,
    .campeonatos-page .filters-panel {
        display: none !important;
    }

    .campeonatos-page .search-box,
    .campeonatos-page .ghost-btn,
    .campeonatos-page .primary-btn,
    .campeonatos-page .filters-form label,
    .campeonatos-page .filters-form select {
        width: 100%;
        min-width: 0;
    }

    .campeonatos-page .content-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .campeonatos-page .table-card {
        overflow: visible;
        border-radius: 12px !important;
        padding: 0 !important;
        background: transparent;
        border: none;
    }

    .campeonatos-page .table-head {
        display: none;
    }

    .campeonatos-page .table-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
        margin-bottom: 10px;
        border: 1px solid #e8ebf5;
        border-radius: 12px;
        background: #fff;
    }

    .campeonatos-page .table-row > div {
        min-width: 0;
        border-bottom: 1px dashed #edf1f8;
        padding-bottom: 8px;
    }

    .campeonatos-page .table-row > div:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .campeonatos-page .table-row > div:not(.camp-col):not(.actions-col) {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
    }

    .campeonatos-page .table-row > div:not(.camp-col):not(.actions-col)::before {
        color: #667590;
        font-size: 12px;
        font-weight: 700;
    }

    .campeonatos-page .table-row > div:nth-child(2)::before {
        content: 'Deporte';
    }

    .campeonatos-page .table-row > div:nth-child(3)::before {
        content: 'Categoria';
    }

    .campeonatos-page .table-row > div:nth-child(4)::before {
        content: 'Equipos';
    }

    .campeonatos-page .table-row > div.sport-col:not(.camp-col):not(.actions-col),
    .campeonatos-page .table-row > div.teams-col:not(.camp-col):not(.actions-col) {
        display: flex !important;
        grid-template-columns: none !important;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .campeonatos-page .table-row > div.sport-col::before,
    .campeonatos-page .table-row > div.teams-col::before {
        flex: 0 0 auto;
        margin-right: 2px;
    }

    .campeonatos-page .sport-col i {
        flex: 0 0 auto;
    }

    .campeonatos-page .teams-col strong {
        display: inline;
        font-size: 16px;
    }

    .campeonatos-page .teams-col small {
        text-transform: capitalize;
        white-space: nowrap;
    }

    .campeonatos-page .table-row > div:nth-child(5)::before {
        content: 'Estado';
    }

    .campeonatos-page .table-row > div:nth-child(6)::before {
        content: 'Fechas';
    }

    .campeonatos-page .camp-col {
        align-items: flex-start;
    }

    .campeonatos-page .camp-col img {
        width: 64px;
        height: 52px;
        flex: 0 0 auto;
    }

    .campeonatos-page .camp-col strong,
    .campeonatos-page .camp-col p,
    .campeonatos-page .dates-col,
    .campeonatos-page .upcoming-item strong,
    .campeonatos-page .upcoming-item small {
        overflow-wrap: anywhere;
    }

    .campeonatos-page .actions-col {
        position: static;
        justify-content: flex-end;
    }

    .campeonatos-page .table-footer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 0 0;
        background: transparent;
    }

    .campeonatos-page .pagination {
        justify-content: center;
    }

    .campeonatos-page .right-col,
    .campeonatos-page .side-card,
    .campeonatos-page .donut-wrap,
    .campeonatos-page .upcoming-item {
        width: 100%;
        min-width: 0;
    }

    .campeonatos-page .donut-wrap {
        align-items: flex-start;
    }

    .create-page.menu-open {
        overflow: hidden;
    }

    .create-page.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(8, 17, 38, 0.48);
    }

    .create-page .app-shell {
        display: block;
    }

    .create-page .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 90;
        width: min(82vw, 310px);
        padding: 18px 14px;
        transform: translateX(-104%);
        transition: transform 0.22s ease;
        overflow-y: auto;
        box-shadow: 18px 0 34px rgba(4, 12, 30, 0.28);
    }

    .create-page.menu-open .sidebar {
        transform: translateX(0);
    }

    .create-page .sidebar-nav {
        flex-direction: column;
        overflow: visible;
        padding-bottom: 0;
    }

    .create-page .nav-item {
        width: 100%;
        justify-content: flex-start;
    }

    .create-page .brand-wrap {
        margin-bottom: 18px;
    }

    .create-page .page-main {
        width: 100%;
        padding: var(--mobile-page-pad) !important;
        overflow: visible;
    }

    .create-page .topbar {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) auto;
        grid-template-areas:
            "menu title profile"
            "subtitle subtitle subtitle";
        align-items: center;
        column-gap: 10px;
        row-gap: 8px;
    }

    .create-page .title-wrap,
    .create-page .topbar-actions,
    .create-page .title-wrap > div {
        display: contents;
    }

    .create-page .dashboard-menu-toggle {
        grid-area: menu;
    }

    .create-page .back-link,
    .create-page .topbar-actions > .icon-btn {
        display: none;
    }

    .create-page .title-wrap h1 {
        grid-area: title;
        margin: 0;
        font-size: 22px !important;
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .create-page .title-wrap p {
        grid-area: subtitle;
        margin: 0;
    }

    .create-page .profile-menu {
        grid-area: profile;
        width: auto;
        justify-self: end;
    }

    .create-page .profile-btn {
        width: auto;
        min-height: 46px;
        padding: 5px 8px 5px 5px;
        gap: 6px;
        border-radius: 12px;
    }

    .create-page .profile-btn img {
        width: 34px;
        height: 34px;
    }

    .create-page .profile-btn strong {
        max-width: 72px;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .create-page .profile-btn small {
        display: none;
    }

    .create-page .profile-btn i {
        font-size: 16px;
    }

    .create-page .profile-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        bottom: auto;
        left: auto;
        min-width: 220px;
        max-width: calc(100vw - (var(--mobile-page-pad) * 2));
        z-index: 1000;
    }

    .create-page .content-grid {
        width: 100%;
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .create-page .left-card,
    .create-page .right-card,
    .create-page .inner {
        width: 100%;
        min-width: 0;
        border-radius: 12px !important;
    }

    .create-page .inner {
        margin-top: 10px;
        padding: 12px !important;
    }

    .create-page h2 {
        font-size: 24px !important;
        line-height: 1.12;
    }

    .create-page .field-title {
        font-size: 20px !important;
    }

    .create-page .sports-select,
    .create-page .format-grid,
    .create-page .form-grid,
    .create-page .form-grid.two,
    .create-page .stats-row,
    .create-page .toolbar,
    .create-page .modal-body-grid,
    .create-page .modal-bottom-grid,
    .create-page .mini-grid,
    .create-page .facility-grid,
    .create-page .days-options {
        grid-template-columns: 1fr !important;
    }

    .create-page input,
    .create-page select,
    .create-page textarea,
    .create-page .upload-box,
    .create-page .sport-option,
    .create-page .format-card,
    .create-page .venue-card,
    .create-page .summary-row,
    .create-page .footer-row,
    .create-page .actions {
        max-width: 100%;
        min-width: 0;
    }

    .create-page .footer-row,
    .create-page .actions,
    .create-page .form-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .create-page .footer-row > *,
    .create-page .actions > *,
    .create-page .form-actions > *,
    .create-page .next-btn,
    .create-page .submit-btn,
    .create-page .ghost-btn,
    .create-page .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .create-page .right-card .banner,
    .create-page .banner {
        width: 100%;
        height: auto;
        max-height: 180px;
        object-fit: cover;
    }

    .create-page .summary-row {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
        align-items: center;
    }

    .create-page .summary-row strong {
        grid-column: 1 / -1;
        justify-self: start;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .create-page .sports-select {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px;
    }

    .create-page .sport-option {
        min-height: 112px;
        padding: 8px 4px;
        border-radius: 12px;
    }

    .create-page .sport-option img {
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
        margin-bottom: 5px !important;
    }

    .create-page .sport-option strong {
        font-size: 12px !important;
        line-height: 1.1;
    }

    .create-page .sport-option small {
        font-size: 9px !important;
        line-height: 1.1;
    }

    .create-page .sport-option .check,
    .create-page .format-card .check {
        width: 18px;
        height: 18px;
        top: 6px;
        right: 6px;
        font-size: 12px;
    }

    .create-page .format-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px;
    }

    .create-page .format-card {
        min-height: 132px;
        padding: 10px 4px 8px;
        border-radius: 12px;
    }

    .create-page .format-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 5px;
        font-size: 16px;
    }

    .create-page .format-card strong {
        font-size: 9px !important;
        line-height: 1.12;
        margin-bottom: 4px;
        overflow-wrap: normal;
    }

    .create-page .format-card p {
        font-size: 7px !important;
        line-height: 1.15;
    }

    .create-page .stats-row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px;
    }

    .create-page .stat-card {
        min-width: 0;
        min-height: 88px;
        padding: 8px 4px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }

    .create-page .stat-card i {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-size: 15px;
    }

    .create-page .stat-card strong {
        font-size: 20px !important;
    }

    .create-page .stat-card small {
        display: block;
        font-size: 8px !important;
        line-height: 1.12;
    }

    .create-page .date-grid:not(.info) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .create-page .date-grid:not(.info) label {
        min-width: 0;
    }

    .create-page .date-grid:not(.info) label > span {
        font-size: 11px;
        line-height: 1.15;
    }

    .create-page .date-grid:not(.info) .input-wrap {
        min-width: 0;
        padding: 0 8px;
    }

    .create-page .date-grid:not(.info) .input-wrap i {
        display: none;
    }

    .create-page .date-grid:not(.info) input[type="date"] {
        padding: 0;
        font-size: 12px;
    }

    .create-page .days-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
        gap: 4px;
    }

    .create-page .day-chip {
        min-width: 0;
        min-height: 34px;
        justify-content: center;
        gap: 3px;
        padding: 5px 2px;
        border-radius: 8px;
        font-size: 8px;
        text-align: center;
    }

    .create-page .day-chip input {
        width: 12px;
        height: 12px;
        flex: 0 0 auto;
    }

    .mobile-sidebar-page.menu-open {
        overflow: hidden;
    }

    .mobile-sidebar-page.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(8, 17, 38, 0.48);
    }

    .mobile-sidebar-page .app-shell {
        display: block;
    }

    .mobile-sidebar-page .sidebar {
        display: flex;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 90;
        width: min(82vw, 310px);
        padding: 18px 14px;
        transform: translateX(-104%);
        transition: transform 0.22s ease;
        overflow-y: auto;
        box-shadow: 18px 0 34px rgba(4, 12, 30, 0.28);
    }

    .mobile-sidebar-page.menu-open .sidebar {
        transform: translateX(0);
    }

    .mobile-sidebar-page .sidebar-nav {
        flex-direction: column;
        overflow: visible;
        padding-bottom: 0;
    }

    .mobile-sidebar-page .nav-item {
        width: 100%;
        justify-content: flex-start;
    }

    .mobile-sidebar-page .brand-wrap {
        margin-bottom: 18px;
    }

    .mobile-sidebar-page .main-panel {
        width: 100%;
        padding: var(--mobile-page-pad) !important;
        overflow: visible;
    }

    .mobile-sidebar-page .topbar {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) auto;
        grid-template-areas:
            "menu title profile"
            "subtitle subtitle subtitle";
        align-items: center;
        column-gap: 10px;
        row-gap: 8px;
    }

    .mobile-sidebar-page .title-wrap,
    .mobile-sidebar-page .title-wrap > div,
    .mobile-sidebar-page .topbar-actions,
    .mobile-sidebar-page .profile-area {
        display: contents;
    }

    .mobile-sidebar-page .dashboard-menu-toggle {
        grid-area: menu;
    }

    .mobile-sidebar-page .title-icon,
    .mobile-sidebar-page .championship-title-logo,
    .mobile-sidebar-page .back-link,
    .mobile-sidebar-page .topbar-actions > .icon-btn,
    .mobile-sidebar-page .profile-area > .icon-btn {
        display: none;
    }

    .mobile-sidebar-page .title-wrap h1 {
        grid-area: title;
        margin: 0;
        font-size: 22px !important;
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-sidebar-page .title-wrap p {
        grid-area: subtitle;
        margin: 0;
    }

    .mobile-sidebar-page .profile-menu {
        grid-area: profile;
        width: auto;
        justify-self: end;
    }

    .mobile-sidebar-page .profile-btn {
        width: auto;
        min-height: 46px;
        padding: 5px 8px 5px 5px;
        gap: 6px;
        border-radius: 12px;
    }

    .mobile-sidebar-page .profile-btn img {
        width: 34px;
        height: 34px;
    }

    .mobile-sidebar-page .profile-btn strong {
        max-width: 72px;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-sidebar-page .profile-btn small {
        display: none;
    }

    .mobile-sidebar-page .profile-btn i {
        font-size: 16px;
    }

    .mobile-sidebar-page .profile-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        bottom: auto;
        left: auto;
        min-width: 220px;
        max-width: calc(100vw - (var(--mobile-page-pad) * 2));
        z-index: 1000;
    }
}

@media (max-width: 420px) {
    :root {
        --mobile-page-pad: 10px;
    }

    .brand-title {
        font-size: 22px !important;
    }

    .nav-item {
        padding: 8px 10px;
        font-size: 13px !important;
    }

    .card,
    .side-card,
    .form-card,
    .right-card,
    .table-card,
    .public-card,
    .auth-card {
        padding: 10px !important;
    }

    .mini-stat,
    .summary-row,
    .upcoming-row,
    .activity-row {
        gap: 8px;
    }

    .profile-btn img {
        width: 40px;
        height: 40px;
    }

    .steps {
        gap: 1px;
    }

    .step {
        min-height: 64px;
    }

    .step:not(:last-child)::after {
        left: calc(50% + 14px) !important;
        top: 13px !important;
        width: calc(100% - 28px) !important;
    }

    .step span {
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }

    .step strong {
        font-size: 7px !important;
    }

    .step small {
        font-size: 6.5px !important;
    }

    .volley-sets-head,
    .volley-set-row {
        grid-template-columns: 48px 1fr 1fr;
        gap: 6px;
    }
}
