.res-shell {
    max-width: 1820px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.res-main {
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
}

.res-rail {
    display: none;
}

@media (min-width: 1440px) {
    .res-rail {
        display: block;
        flex: 0 0 160px;
        min-height: 600px;
        margin-top: 14px;
        position: sticky;
        top: 16px;
    }
}

.res-title {
    margin: 0;
    font-family: var(--iot-font-heading);
    font-size: 30px;
    line-height: 1.15;
    color: var(--iot-text);
    letter-spacing: -.01em;
}

.res-lead {
    margin: 14px 0 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--iot-text-secondary);
    max-width: 96ch;
}

.res-datebar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.res-datebar .res-ctas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    order: 1;
}

.res-datebar .tarih-secim {
    margin-left: auto;
    order: 2;
}

.res-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--iot-font-heading);
    font-size: 15px;
    font-weight: 700;
    padding: 11px 18px;
    border-radius: 9px;
    min-height: var(--iot-touch-target);
    box-sizing: border-box;
    color: #fff;
}

.res-cta:hover,
.res-cta:focus {
    color: #fff;
    text-decoration: none;
}

.res-cta svg {
    flex: none;
}

.res-cta--primary {
    background: var(--iot-green);
}

.res-cta--primary:hover {
    background: #00641c;
}

.res-cta--dark {
    gap: 8px;
    background: var(--iot-navy-700);
}

.res-cta--dark:hover {
    background: var(--iot-navy-600);
}

.res-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.res-stat {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 11px;
    box-shadow: var(--iot-shadow-card);
    padding: 13px 16px 14px;
    border-left: 4px solid var(--res-accent, var(--iot-navy-700));
}

.res-stat--total { --res-accent: #0b4c86; }
.res-stat--goals { --res-accent: var(--iot-green); }
.res-stat--over  { --res-accent: #d2352c; }
.res-stat--turn  { --res-accent: #a9821c; }

.res-stat__label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--iot-text-muted-2);
}

.res-stat__value-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 3px;
}

.res-stat__value {
    font-family: var(--iot-font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--iot-text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.res-stat__unit {
    font-size: 11.5px;
    color: var(--iot-text-muted-2);
}

.res-stat__note {
    font-size: 11px;
    color: var(--iot-text-muted-2);
    margin-top: 3px;
}

.res-filters {
    background: linear-gradient(135deg, var(--iot-navy-700), var(--iot-navy-950));
    border-radius: 13px;
    margin-top: 14px;
    padding: 17px 20px 19px;
    color: #fff;
}

.res-filters__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.res-filters__row--tools {
    margin-top: 14px;
}

.res-search {
    position: relative;
    flex: 1 1 250px;
    min-width: 210px;
}

.res-search__icon {
    position: absolute;
    left: 11px;
    top: 13px;
    color: #8fa5bf;
    pointer-events: none;
}

.res-search__input {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    border: 1px solid var(--iot-navy-500);
    border-radius: 8px;
    background: #0f2137;
    color: #fff;
    font: inherit;
    font-size: 13.5px;
    padding: 0 12px 0 34px;
}

.res-search__input::placeholder {
    color: #6d829c;
}

.res-search__input:focus {
    outline: 2px solid var(--iot-blue-accent);
    outline-offset: 1px;
}

.res-chips {
    display: flex;
    gap: 6px;
    flex: 2 1 380px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
}

.res-chips--seg {
    flex: none;
    gap: 3px;
    background: rgba(255, 255, 255, .07);
    padding: 3px;
    border-radius: 8px;
    overflow: visible;
}

.res-chip {
    flex: none;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .07);
    color: #dce6f2;
    font: inherit;
    font-family: var(--iot-font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 13px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    min-height: 38px;
}

.res-chips--seg .res-chip {
    border: 0;
    background: transparent;
    color: #8fa5bf;
    border-radius: 6px;
}

.res-chip--pill {
    border-radius: var(--iot-radius-pill);
    font-family: var(--iot-font-body);
    font-size: 12px;
}

.res-chip.is-active {
    background: var(--iot-blue-accent);
    border-color: var(--iot-blue-accent);
    color: var(--iot-navy-950);
}

.res-chip__count {
    font-weight: 400;
    color: #8fa5bf;
}

.res-chip.is-active .res-chip__count {
    color: rgba(11, 26, 45, .85);
}

.res-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .07);
    color: #dce6f2;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 13px;
    border-radius: 8px;
    cursor: pointer;
    min-height: 40px;
}

.res-toggle--goals.is-active {
    background: rgba(0, 124, 35, .22);
    border-color: rgba(139, 232, 163, .45);
    color: #8be8a3;
}

.res-toggle--turn.is-active {
    background: rgba(255, 228, 0, .16);
    border-color: rgba(255, 228, 0, .45);
    color: var(--iot-yellow);
}

.res-reset {
    border: 0;
    background: none;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: #8fa5bf;
    cursor: pointer;
    text-decoration: underline;
    min-height: 40px;
}

.res-note {
    margin: 0 0 0 auto;
    font-size: 11.5px;
    color: #8fa5bf;
}

.res-layout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.res-col-main {
    flex: 1 1 640px;
    min-width: 0;
}

.res-col-side {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.res-list {
    position: relative;
    background: #fff;
    border-radius: 11px;
    box-shadow: var(--iot-shadow-card);
    overflow: hidden;
}

.res-list__head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 20px 0;
    flex-wrap: wrap;
}

.res-list__title {
    margin: 0;
    font-family: var(--iot-font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--iot-text);
}

.res-list__note {
    font-size: 12.5px;
    color: var(--iot-text-muted-2);
}

.res-table-wrap {
    overflow-x: auto;
    margin-top: 12px;
}

.res-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 880px;
    margin: 0;
}

.res-table thead tr {
    background: var(--iot-bg-panel);
    color: #4d5f74;
}

.res-table th {
    padding: 11px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    border: 0;
}

.res-table th.res-c-date {
    width: 126px;
    padding-left: 20px;
}

.res-table th.res-c-home {
    text-align: right;
}

.res-table th.res-c-score {
    width: 92px;
    text-align: center;
    padding: 11px 4px;
}

.res-table th.res-c-iy {
    width: 82px;
    text-align: center;
}

.res-table th.res-c-analysis {
    width: 112px;
    text-align: right;
    padding-right: 20px;
}

.res-table td {
    border: 0;
    border-top: 1px solid #eef2f6;
    vertical-align: middle;
}

.res-row:hover {
    background: #f4f9fd;
}

.res-row td {
    padding: 10px 8px;
}

.res-row .res-c-date {
    padding-left: 20px;
}

.res-row .res-c-home {
    text-align: right;
}

.res-row .res-c-score {
    text-align: center;
    padding-left: 2px;
    padding-right: 2px;
}

.res-row .res-c-score--home {
    text-align: right;
    padding-left: 4px;
}

.res-row .res-c-score--away {
    text-align: left;
    padding-right: 4px;
}

.res-row .res-c-iy {
    text-align: center;
}

.res-row .res-c-analysis {
    text-align: right;
    padding-right: 20px;
}

.res-date,
.res-hour,
.res-code {
    display: block;
    font-variant-numeric: tabular-nums;
}

.res-date {
    font-size: 12.5px;
    color: #4d5f74;
}

.res-hour {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--iot-text);
}

.res-code {
    font-size: 11px;
    color: var(--iot-text-muted-2);
}

.res-team {
    display: inline-block;
    max-width: 100%;
    font-size: 13.5px;
    color: #0b4c86;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    padding: 2px 0;
}

.res-team--win {
    font-weight: 700;
    color: var(--iot-text);
}

.res-score {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 28px;
    background: var(--iot-text-muted-2);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.res-score--home {
    border-radius: 6px 0 0 6px;
}

.res-score--away {
    border-radius: 0 6px 6px 0;
}

.res-iy {
    font-size: 12.5px;
    color: var(--iot-text-muted-2);
    font-variant-numeric: tabular-nums;
}

.res-turn {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #856013;
}

.res-analysis {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: #0b4c86;
    border: 1px solid #cfe0ee;
    background: #f2f8fc;
    border-radius: 6px;
    padding: 5px 9px;
}

.res-analysis:hover {
    background: #e4f1fa;
    text-decoration: none;
}

.res-group td {
    padding: 0;
}

.res-group__btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-top: 1px solid #eef2f6;
    background: var(--iot-bg-panel-alt);
    font: inherit;
    padding: 10px 20px;
    cursor: pointer;
    text-align: left;
    min-height: var(--iot-touch-target);
}

.res-group__btn--card {
    padding: 10px 13px;
    gap: 8px;
}

.res-group__caret {
    flex: none;
    font-size: 11px;
    color: var(--iot-text-muted-2);
    transition: transform .15s ease;
}

.res-group__btn[aria-expanded="false"] .res-group__caret {
    transform: rotate(-90deg);
}

.res-group__name {
    flex: 1;
    min-width: 0;
    font-family: var(--iot-font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--iot-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.res-group__region {
    flex: none;
    font-size: 11px;
    color: var(--iot-text-muted-2);
}

.res-group__count {
    flex: none;
    min-width: 22px;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: #4d5f74;
    font-variant-numeric: tabular-nums;
}

.res-cards {
    display: flex;
    flex-direction: column;
    margin-top: 9px;
}

.res-card {
    padding: 10px 13px;
    border-top: 1px solid #eef2f6;
}

.res-card__top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.res-card__hour {
    flex: none;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--iot-text);
    font-variant-numeric: tabular-nums;
}

.res-card__league {
    flex: 1;
    min-width: 0;
    font-size: 10.5px;
    color: var(--iot-text-muted-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.res-card__code {
    flex: none;
    font-size: 10px;
    color: var(--iot-text-muted-2);
    font-variant-numeric: tabular-nums;
}

.res-card__mid {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.res-card__side {
    flex: 1 1 0;
    min-width: 0;
}

.res-card__side--home {
    text-align: right;
}

.res-card__mid .res-team {
    font-size: 13px;
}

.res-card__scores {
    flex: none;
    display: flex;
    gap: 2px;
}

.res-card__scores .res-score {
    min-width: 26px;
    height: 26px;
    font-size: 13px;
}

.res-card__bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.res-card__bottom .res-iy {
    flex: none;
    font-size: 10.5px;
}

.res-card__bottom .res-turn {
    display: inline;
    flex: none;
}

.res-card__bottom .res-analysis {
    margin-left: auto;
    flex: none;
    font-size: 11px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

.res-empty {
    margin: 0;
    padding: 40px 20px 44px;
    text-align: center;
    font-size: 14px;
    color: var(--iot-text-muted-2);
}

.res-empty__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: var(--iot-bg-panel);
    font-size: 22px;
}

.res-empty__reset {
    display: block;
    margin: 10px auto 0;
    border: 1px solid var(--iot-border-strong);
    background: var(--iot-bg-panel-alt);
    color: #0b4c86;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 15px;
    border-radius: 8px;
    cursor: pointer;
    min-height: 40px;
}

.res-more {
    width: 100%;
    border: 0;
    border-top: 1px solid #eef2f6;
    background: var(--iot-bg-panel-alt);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #0b4c86;
    padding: 14px;
    cursor: pointer;
    min-height: 48px;
}

.res-more.is-busy {
    opacity: .55;
    pointer-events: none;
}

.res-spinner {
    background-color: var(--iot-navy-700) !important;
}

.res-panel {
    background: #fff;
    border-radius: 11px;
    box-shadow: var(--iot-shadow-card);
    padding: 15px 17px 17px;
}

.res-panel--dark {
    background: var(--iot-navy-700);
    color: #fff;
    padding: 15px 17px 15px;
}

.res-panel__title {
    margin: 0 0 3px;
    font-family: var(--iot-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--iot-text);
}

.res-panel__title--dark {
    font-size: 17px;
    color: #fff;
}

.res-panel__note {
    margin: 0 0 12px;
    font-size: 11.5px;
    color: var(--iot-text-muted-2);
    line-height: 1.5;
}

.res-panel__note--dark {
    margin: 3px 0 0;
    color: #8fa5bf;
}

.res-high__list {
    display: flex;
    flex-direction: column;
    margin-top: 11px;
}

.res-high__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #22384f;
    min-height: var(--iot-touch-target);
    box-sizing: border-box;
}

.res-high__item:hover {
    text-decoration: none;
}

.res-high__icon {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
}

.res-high__main {
    flex: 1;
    min-width: 0;
}

.res-high__teams,
.res-high__note {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.res-high__teams {
    font-size: 12.5px;
    font-weight: 700;
    color: #dce6f2;
}

.res-high__note {
    font-size: 10.5px;
    color: #8fa5bf;
}

.res-high__score {
    flex: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--iot-blue-accent);
    font-variant-numeric: tabular-nums;
}

.res-high__empty {
    margin: 12px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: #8fa5bf;
}

.res-hist {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 100px;
}

.res-hist__col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    height: 100px;
}

.res-hist__count {
    font-size: 10.5px;
    font-weight: 700;
    color: #4d5f74;
    font-variant-numeric: tabular-nums;
}

.res-hist__bar {
    width: 100%;
    height: calc(4px + var(--val, 0) * 0.64px);
    border-radius: 5px 5px 0 0;
    background: #0b4c86;
}

.res-hist__col[data-empty="1"] .res-hist__bar {
    background: var(--iot-border);
}

.res-hist__col[aria-pressed="true"] .res-hist__bar {
    background: var(--iot-blue-accent);
}

.res-hist__short {
    font-size: 9.5px;
    color: var(--iot-text-muted-2);
    white-space: nowrap;
}

.res-dist__foot {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #eef2f6;
    font-size: 12px;
    color: var(--iot-text-muted-2);
}

.res-dist__foot strong {
    margin-left: auto;
    font-family: var(--iot-font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--iot-text);
    font-variant-numeric: tabular-nums;
}

.res-league__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.res-league__row {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    border-radius: 7px;
    padding: 8px 9px;
    cursor: pointer;
    text-align: left;
    min-height: 38px;
}

.res-league__row[aria-pressed="true"] {
    background: #eef6fc;
}

.res-league__name {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    color: #4d5f74;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.res-league__row[aria-pressed="true"] .res-league__name {
    color: #0b4c86;
}

.res-league__count {
    flex: none;
    min-width: 30px;
    text-align: right;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--iot-text);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1199.98px) {
    .res-col-side {
        max-width: none;
        flex: 1 1 100%;
    }
}

@media (max-width: 991.98px) {
    .res-title {
        font-size: 20px;
        line-height: 1.22;
    }

    .res-datebar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-top: 11px;
    }

    .res-datebar .tarih-secim {
        margin-left: 0;
        order: 1;
    }

    .res-datebar .tarih-nav-secim {
        display: flex;
    }

    .res-datebar .tarih-nav-trigger {
        flex: 1;
        min-width: 0;
    }

    .res-datebar .res-ctas {
        display: flex;
        flex-direction: column;
        gap: 7px;
        margin-top: 8px;
        order: 2;
    }

    .res-cta {
        justify-content: center;
        gap: 8px;
        font-size: 14px;
        padding: 12px;
        min-height: 46px;
    }

    .res-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 11px;
    }

    .res-stat {
        border-radius: 9px;
        padding: 10px 12px 11px;
    }

    .res-stat__label {
        font-size: 9.5px;
    }

    .res-stat__value {
        font-size: 21px;
    }

    .res-stat__note {
        display: none;
    }

    .res-filters {
        border-radius: 12px;
        margin-top: 11px;
        padding: 13px 12px 15px;
    }

    .res-filters__row {
        display: block;
    }

    .res-filters__row--tools {
        margin-top: 9px;
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }

    .res-search {
        min-width: 0;
    }

    .res-chips {
        margin-top: 9px;
    }

    .res-chips--seg {
        flex: 1 1 100%;
        margin-top: 0;
    }

    .res-chips--seg .res-chip {
        flex: 1;
        text-align: center;
    }

    .res-toggle {
        flex: 1;
        justify-content: center;
        font-size: 11.5px;
        padding: 10px 6px;
        min-height: 42px;
    }

    .res-reset {
        flex: none;
        border: 1px solid rgba(255, 255, 255, .2);
        background: rgba(255, 255, 255, .07);
        color: #dce6f2;
        text-decoration: none;
        font-size: 11.5px;
        padding: 10px 11px;
        border-radius: 8px;
        min-height: 42px;
    }

    .res-note {
        flex: 1 1 100%;
        margin: 2px 0 0;
    }

    .res-layout {
        margin-top: 11px;
        gap: 11px;
    }

    .res-col-main,
    .res-col-side {
        flex: 1 1 100%;
        min-width: 0;
    }

    .res-col-side {
        gap: 11px;
    }

    .res-list {
        border-radius: 10px;
    }

    .res-list__head {
        padding: 12px 13px 0;
    }

    .res-list__title {
        font-size: 15.5px;
    }

    .res-list__note {
        font-size: 11px;
    }

    .res-panel {
        border-radius: 10px;
        padding: 13px 13px 15px;
    }

    .res-panel--dark {
        padding: 13px 13px 13px;
    }

    .res-panel__title {
        font-size: 15px;
    }

    .res-panel__note {
        font-size: 11px;
    }

    .res-hist,
    .res-hist__col {
        height: 88px;
    }

    .res-hist__bar {
        height: calc(4px + var(--val, 0) * 0.54px);
    }

    .res-empty {
        padding: 30px 13px 34px;
        font-size: 13px;
    }

    .res-more {
        font-size: 12.5px;
        padding: 13px;
        min-height: 46px;
    }
}
