/* League and knockout tournament dashboards */
body:has(#page-knockout-tournament),body:has(#page-league-tournament) { background:#fbfaf6; }
#page-knockout-tournament,#page-league-tournament { --tourney-ink:#1c3024; --tourney-green:#1c4b36; color:var(--tourney-ink); }
#page-knockout-tournament .breadcrumbs,#page-league-tournament .breadcrumbs { padding:44px 0 24px; background:#183f31; }
#page-knockout-tournament .breadcrumbs .page-title,#page-league-tournament .breadcrumbs .page-title { overflow-wrap:anywhere; color:#fff; font:700 clamp(32px,4vw,47px)/1.08 Georgia,serif; letter-spacing:-.035em; }
#page-knockout-tournament .breadcrumb-nav,#page-league-tournament .breadcrumb-nav { color:#e8c97c; font-size:12px; }
#page-knockout-tournament .breadcrumb-nav a,#page-league-tournament .breadcrumb-nav a { color:#c5d5ca; }
#page-knockout-tournament>.section-block,#page-league-tournament>.section-block { padding:34px 0 70px!important; background:#fbfaf6; }
#page-knockout-tournament .section-block>.row,#page-league-tournament .section-block>.row { align-items:flex-start; }
#page-knockout-tournament .gameControlsButtons,#page-league-tournament .gameControlsButtons { min-height:42px; padding:9px 17px; border:1px solid #dce4da; border-radius:4px; background:#fff; color:#36563f; font-size:12px; font-weight:700; transition:.2s; }
#page-knockout-tournament .gameControlsButtons:hover,#page-league-tournament .gameControlsButtons:hover { border-color:#91b197; background:#eff4ed; }
#page-knockout-tournament .gameControlsButtons.active,#page-league-tournament .gameControlsButtons.active { border-color:#1d573b; background:#1d573b; color:#fff; box-shadow:0 4px 10px #1d573b26; }
#page-knockout-tournament #pills-tab,#page-league-tournament #pills-tab { gap:6px; margin-bottom:18px!important; padding:8px; border:1px solid #e4e8e0; border-radius:5px; background:#f0f3ed; }
#page-knockout-tournament .tab-content,#page-league-tournament .tab-content { margin-top:0!important; }
#page-knockout-tournament .tab-content>.tab-pane,#page-league-tournament .tab-content>.tab-pane { min-width:0; }
#page-knockout-tournament .inner-block-bg,#page-league-tournament .inner-block-bg { overflow:hidden; border:1px solid #e3e7df; border-radius:5px; background:#fff; box-shadow:0 8px 24px #1a2e1e0b; }
#page-knockout-tournament .list-style-bg,#page-league-tournament .list-style-bg { padding:18px; background:transparent; }
#page-knockout-tournament .chat-box,#page-league-tournament .chat-box { overflow:hidden; border:1px solid #e3e7df; border-radius:5px; background:#fff; box-shadow:0 8px 24px #1a2e1e0b; }
#page-knockout-tournament .chat-box .accordion-item,#page-league-tournament .chat-box .accordion-item { border:0; border-bottom:1px solid #e8ebe5; }
#page-knockout-tournament .chat-box .accordion-item:last-child,#page-league-tournament .chat-box .accordion-item:last-child { border-bottom:0; }
#page-knockout-tournament .chat-box .accordion-button,#page-league-tournament .chat-box .accordion-button { padding:17px 18px; color:#244a32; font-size:13px; font-weight:800; }
#page-knockout-tournament .chat-box .accordion-button:not(.collapsed),#page-league-tournament .chat-box .accordion-button:not(.collapsed) { background:#eff4ed; color:#1d573b; box-shadow:none; }
#page-knockout-tournament .chat-box .accordion-body,#page-league-tournament .chat-box .accordion-body { padding:15px; }
#page-knockout-tournament .chat-box table,#page-league-tournament .chat-box table { color:#536358; font-size:12px; }
#page-knockout-tournament .chat-box th,#page-league-tournament .chat-box th { color:#35533e; }
#page-knockout-tournament .btn-primary,#page-league-tournament .btn-primary { border-color:#1d573b; background:#1d573b; }
#page-knockout-tournament .btn-primary:hover,#page-league-tournament .btn-primary:hover { border-color:#286b48; background:#286b48; }
#page-knockout-tournament .alert,#page-league-tournament .alert { border:0; border-radius:4px; font-size:13px; }
#page-knockout-tournament .empty-result,#page-league-tournament .empty-result { color:#65756a!important; }
@media(max-width:767px) {
 #page-knockout-tournament .breadcrumbs,#page-league-tournament .breadcrumbs { padding:35px 0 21px; }
 #page-knockout-tournament>.section-block,#page-league-tournament>.section-block { padding:25px 0 48px!important; }
 #page-knockout-tournament #pills-tab,#page-league-tournament #pills-tab { gap:5px; }
 #page-knockout-tournament .gameControlsButtons,#page-league-tournament .gameControlsButtons { min-height:38px; margin:0!important; padding:8px 12px; }
 #page-knockout-tournament .list-style-bg,#page-league-tournament .list-style-bg { padding:12px; }
}

/* Tournament detail page refinements */
#page-knockout-tournament>.section-block>.row,
#page-league-tournament>.section-block>.row { row-gap:20px; }
#page-knockout-tournament .countdown-timer,
#page-league-tournament .countdown-timer {
    margin:0 0 22px;
    padding:22px 16px;
    border:1px solid #dfe8dc;
    border-radius:5px;
    background:#f1f5ef;
}
#page-knockout-tournament .countdown-timer .container,
#page-league-tournament .countdown-timer .container { width:100%; max-width:none; padding:0; }
#page-knockout-tournament .countdown-timer h2,
#page-league-tournament .countdown-timer h2 { margin:0 0 14px; color:#214e35; font:700 20px/1.2 Georgia,serif; }
#page-knockout-tournament .time-countdown,
#page-league-tournament .time-countdown { gap:9px; margin:0; }
#page-knockout-tournament .time-entry,
#page-league-tournament .time-entry {
    min-width:76px;
    padding:10px 12px;
    border:1px solid #dce5da;
    border-radius:4px;
    background:#fff;
    color:#647368;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
}
#page-knockout-tournament .time-entry span,
#page-league-tournament .time-entry span { display:block; margin-bottom:3px; color:#1d573b; font-size:20px; font-weight:800; }
#page-knockout-tournament #pills-tabContent,
#page-league-tournament #pills-tabContent { margin-top:0!important; }
#page-knockout-tournament #accordionKnockoutTournament,
#page-league-tournament #accordionLeagueTournament { margin-top:0; }
#page-knockout-tournament .section-block h4,
#page-league-tournament .section-block h4 { color:#8b4a30; font:700 17px/1.3 Georgia,serif; }
#page-knockout-tournament .section-block table,
#page-league-tournament .section-block table { color:#536358; font-size:12px; }
#page-knockout-tournament .section-block table th,
#page-league-tournament .section-block table th { color:#35533e; font-weight:750; }
@media(max-width:767px) {
    #page-knockout-tournament .countdown-timer,
    #page-league-tournament .countdown-timer { padding:16px 10px; }
    #page-knockout-tournament .time-entry,
    #page-league-tournament .time-entry { min-width:64px; padding:8px 7px; }
    #page-knockout-tournament .time-entry span,
    #page-league-tournament .time-entry span { font-size:17px; }
}

/* Tournament dashboard partials */
#page-knockout-tournament .tab-content .inner-block-bg,
#page-league-tournament .tab-content .inner-block-bg { margin-bottom:16px; }
#page-knockout-tournament .tab-content .list-style-bg,
#page-league-tournament .tab-content .list-style-bg { padding:18px; }
#page-knockout-tournament .tab-content .gamecreateform,
#page-league-tournament .tab-content .gamecreateform {
    padding:20px;
    border:1px solid #e3e7df;
    border-radius:5px;
    background:#fff;
    box-shadow:0 5px 18px #1a2e1e0a;
}
#page-knockout-tournament .tab-content .gamecreateform h5,
#page-league-tournament .tab-content .gamecreateform h5 { margin:0 0 16px!important; color:#244a32!important; font:700 18px/1.25 Georgia,serif; }
#page-knockout-tournament .tab-content label,
#page-league-tournament .tab-content label { color:#405746; font-size:12px; font-weight:700; }
#page-knockout-tournament .tab-content .form-control,
#page-league-tournament .tab-content .form-control,
#page-knockout-tournament .tab-content .form-select,
#page-league-tournament .tab-content .form-select { border-color:#dce4da; border-radius:4px; color:#263b2c; font-size:13px; }
#page-knockout-tournament .tab-content .form-control:focus,
#page-league-tournament .tab-content .form-control:focus,
#page-knockout-tournament .tab-content .form-select:focus,
#page-league-tournament .tab-content .form-select:focus { border-color:#77a184; box-shadow:0 0 0 3px #1d573b18; }
#page-knockout-tournament .tab-content .game-list-items-block,
#page-league-tournament .tab-content .game-list-items-block { display:flex; flex-direction:column; gap:8px; }
#page-knockout-tournament .tab-content .game-list-items,
#page-league-tournament .tab-content .game-list-items { margin:0; padding:12px 15px; border:1px solid #e4e9e1; border-radius:4px; background:#fff; color:#536358; font-size:12px; box-shadow:0 2px 7px #1a2e1e06; }
#page-knockout-tournament .tab-content .game-list-items.table-heading,
#page-league-tournament .tab-content .game-list-items.table-heading { border-color:#1d573b; background:#1d573b; color:#fff; font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; box-shadow:none; }
#page-knockout-tournament .tab-content .game-list-items .green-txt,
#page-league-tournament .tab-content .game-list-items .green-txt { color:#28573a; font-weight:700; text-decoration:none; }
#page-knockout-tournament .tab-content .game-list-items .green-txt:hover,
#page-league-tournament .tab-content .game-list-items .green-txt:hover { text-decoration:underline; }
#page-knockout-tournament .tab-content table,
#page-league-tournament .tab-content table { margin-bottom:16px; border-color:#e4e9e1; color:#536358; font-size:12px; }
#page-knockout-tournament .tab-content table thead,
#page-league-tournament .tab-content table thead { background:#eff4ed; color:#35533e; }
#page-knockout-tournament .tab-content table th,
#page-knockout-tournament .tab-content table td,
#page-league-tournament .tab-content table th,
#page-league-tournament .tab-content table td { padding:10px 12px; border-color:#e4e9e1; vertical-align:middle; }
#page-knockout-tournament .tab-content .btn,
#page-league-tournament .tab-content .btn { border-radius:3px; font-size:11px; font-weight:700; }
#page-knockout-tournament .tab-content .btn-primary,
#page-league-tournament .tab-content .btn-primary { border-color:#1d573b; background:#1d573b; }
#page-knockout-tournament .tab-content .btn-primary:hover,
#page-league-tournament .tab-content .btn-primary:hover { border-color:#286b48; background:#286b48; color:#f1c363; }
#page-knockout-tournament .tab-content .pagination,
#page-league-tournament .tab-content .pagination { gap:4px; }
#page-knockout-tournament .tab-content .page-link,
#page-league-tournament .tab-content .page-link { border-color:#dce4da; color:#28573a; }
#page-knockout-tournament .tab-content .page-item.active .page-link,
#page-league-tournament .tab-content .page-item.active .page-link { border-color:#1d573b; background:#1d573b; color:#fff; }
#page-knockout-tournament #accordionKnockoutTournament,
#page-league-tournament #accordionLeagueTournament { overflow:hidden; border:1px solid #e3e7df; border-radius:5px; background:#fff; }
#page-knockout-tournament #accordionKnockoutTournament .accordion-body,
#page-league-tournament #accordionLeagueTournament .accordion-body { background:#fff; }
#page-knockout-tournament #accordionKnockoutTournament #detailsTable td:first-child,
#page-league-tournament #accordionLeagueTournament #detailsTable td:first-child { width:42%; color:#607164; font-weight:700; }
#page-knockout-tournament .tab-content .promotions img,
#page-league-tournament .tab-content .promotions img { display:block; max-width:100%; height:auto; border:1px solid #e3e7df; border-radius:5px; }
@media(max-width:767px) {
 #page-knockout-tournament .tab-content .list-style-bg,
 #page-league-tournament .tab-content .list-style-bg { padding:11px; }
 #page-knockout-tournament .tab-content .gamecreateform,
 #page-league-tournament .tab-content .gamecreateform { padding:14px; }
 #page-knockout-tournament .tab-content .game-list-items,
 #page-league-tournament .tab-content .game-list-items { padding:10px; }
 #page-knockout-tournament .tab-content table,
 #page-league-tournament .tab-content table { min-width:540px; }
}
