.bi-hn__wrapper {
    /* background: linear-gradient(341.21deg, #f0f3f7 27.62%, #ffffff 87.31%); */
    container-type: inline-size;
    container-name: naps-table;
}

.bi-hn__naps--nap-of-the-day {
    padding: 16px;
    background: linear-gradient(341.21deg, #f0f3f7 27.62%, #ffffff 87.31%);
}

.bi-hn__nap-row {
    background-color: #fff;
    border: 2px solid #F0F3F7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 15px;
}

.bi-hn__nap-tipster {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
}

.bi-hn__nap-tipster-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bi-hn__tipster-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #F0F3F7;
    padding: 8px;
    border: 1px solid #DCDFE3;
    border-radius: 4px;
}

.bi-hn__tipster-name {
    color: #66669C;
    font-weight: 500;
    line-height: 115%;
}

.bi-hn__horse-racing-icon {
    height: 20px;
    width: 20px;
}

.bi-hn__nap-tipster-text-wrapper {
    display: flex;
    align-items: center;
}

.bi-hn__nap-tipster-right .bi-hn__nap-tipster-stat {
    display: none;
}

.bi-hn__nap-tipster-right .bi-hn__nap-tipster-stat.is-visible {
    display: inline;
}

.bi-hn__nap-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.bi-hn__tipster-detail-section .bi-hn__nap-columns {
    align-items: center;
}

.bi-hn__nap-horse {
    display: flex;
    align-items: center;
}

.bi-hn__nap-horse-silk-image {
    width: 40px;
    height: auto;
    padding: 20px 14px;
    box-sizing: content-box;
}

.bi-hn__nap-horse-name {
    color: #00005A;
    font-size: 17px;
    font-weight: 600;
    line-height: 115%;
}

.bi-hn__nap-course {
    color: #66669C;
    font-size: 12px;
    font-weight: 500;
    line-height: 115%;
}

.bi-hn__nap-date {
    color: #00005A;
    font-weight: 700;
}

.bi-hn__nap-odds-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #DCDFE3;
    background-color: #F0F3F7;
    border-radius: 8px;
    padding: 12px;
    min-width: 76px;
    width: 76px;
    box-sizing: border-box;
    gap: 4px;
}

.bi-hn__nap-odds-title {
    color: #66669C;
    font-size: 12px;
    font-weight: 500;
    line-height: 115%;
}

.bi-hn__nap-odds {
    font-size: 18px;
    font-weight: 700;
    line-height: 115%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.bi-hn__nap-odds-button--outcome {
    padding: 6px;
    gap: 2px;
}

.bi-hn__nap-odds--outcome-value {
    color: #00005A;
}

.bi-hn__nap-odds-outcome-divider {
    display: block;
    align-self: stretch;
    border: 0;
    border-top: 1px solid #DCDFE3;
    margin: 2px 0 0;
    width: 100%;
}

.bi-hn__nap-odds-footer {
    color: #66669C;
    font-size: 12px;
    font-weight: 500;
    line-height: 115%;
    padding-top: 2px;
    text-align: center;
}

/* Container queries for main naps table - adapts to container width */
@container naps-table (min-width: 808px) {
    .bi-hn__wrapper .bi-hn__horse-racing-icon {
        height: 29px;
        width: 29px;
    }
    .bi-hn__wrapper .bi-hn__nap-tipster {
        font-size: 18px;
    }
    .bi-hn__wrapper .bi-hn__nap-horse-silk-image {
        width: 75px;
        padding: 40px 28px;
    }
    .bi-hn__wrapper .bi-hn__nap-horse-name {
        font-size: 26px;
    }
    .bi-hn__wrapper .bi-hn__nap-course {
        font-size: 18px;
    }
    .bi-hn__wrapper .bi-hn__nap-odds-button {
        padding: 24px 22px;
        min-width: 112px;
        width: 112px;
    }
    .bi-hn__wrapper .bi-hn__nap-odds-button--outcome {
        padding: 12px;
    }
    .bi-hn__wrapper .bi-hn__nap-odds-title {
        font-size: 14px;
    }
    .bi-hn__wrapper .bi-hn__nap-odds {
        font-size: 26px;
    }
    .bi-hn__wrapper .bi-hn__nap-odds-footer {
        font-size: 14px;
        padding-top: 4px;
    }
}

/* Container queries for Nap of the Day widget - adapts to container width */
@container nap-of-day (min-width: 808px) {
    .bi-hn__nap-of-day-wrapper .bi-hn__horse-racing-icon {
        height: 29px;
        width: 29px;
    }
    .bi-hn__nap-of-day-wrapper .bi-hn__nap-tipster {
        font-size: 18px;
    }
    .bi-hn__nap-of-day-wrapper .bi-hn__nap-horse-silk-image {
        width: 75px;
        padding: 40px 28px;
    }
    .bi-hn__nap-of-day-wrapper .bi-hn__nap-horse-name {
        font-size: 26px;
    }
    .bi-hn__nap-of-day-wrapper .bi-hn__nap-course {
        font-size: 18px;
    }
    .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds-button {
        padding: 24px 22px;
        min-width: 112px;
        width: 112px;
    }
    .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds-button--outcome {
        padding: 12px;
    }
    .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds-title {
        font-size: 14px;
    }
    .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds {
        font-size: 26px;
    }
    .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds-footer {
        font-size: 14px;
        padding-top: 4px;
    }
}

/* Fallback media queries for browsers without container query support */
@supports not (container-type: inline-size) {
    @media (min-width: 808px) {
        .bi-hn__wrapper .bi-hn__horse-racing-icon,
        .bi-hn__nap-of-day-wrapper .bi-hn__horse-racing-icon {
            height: 29px;
            width: 29px;
        }
        .bi-hn__wrapper .bi-hn__nap-tipster,
        .bi-hn__nap-of-day-wrapper .bi-hn__nap-tipster {
            font-size: 18px;
        }
        .bi-hn__wrapper .bi-hn__nap-horse-silk-image,
        .bi-hn__nap-of-day-wrapper .bi-hn__nap-horse-silk-image {
            width: 75px;
            padding: 40px 28px;
        }
        .bi-hn__wrapper .bi-hn__nap-horse-name,
        .bi-hn__nap-of-day-wrapper .bi-hn__nap-horse-name {
            font-size: 26px;
        }
        .bi-hn__wrapper .bi-hn__nap-course,
        .bi-hn__nap-of-day-wrapper .bi-hn__nap-course {
            font-size: 18px;
        }
        .bi-hn__wrapper .bi-hn__nap-odds-button,
        .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds-button {
            padding: 24px 22px;
            min-width: 112px;
            width: 112px;
        }
        .bi-hn__wrapper .bi-hn__nap-odds-button--outcome,
        .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds-button--outcome {
            padding: 12px;
        }
        .bi-hn__wrapper .bi-hn__nap-odds-title,
        .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds-title {
            font-size: 14px;
        }
        .bi-hn__wrapper .bi-hn__nap-odds,
        .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds {
            font-size: 26px;
        }
        .bi-hn__wrapper .bi-hn__nap-odds-footer,
        .bi-hn__nap-of-day-wrapper .bi-hn__nap-odds-footer {
            font-size: 14px;
            padding-top: 4px;
        }
    }
}

/* Filters */
.bi-hn__filter-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.bi-hn__filter-button {
    border: 1px solid #00005A66;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00005A;
    background-color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 115%;
    padding: 8px 12px;
    cursor: pointer;
}
.bi-hn__show-filters {
    border-radius: 50%;
    padding: 8px;
}
.bi-hn__filter-button.is-active {
    background-color: #00005A;
    color: #fff;
}
.bi-hn__filter-icon {
    height: 20px;
    width: 20px;
}
.bi-hn__show-filters.is-active .bi-hn__filter-icon path {
    fill: #fff;
}
.bi-hn__filter-popup {
    display: none;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    left: 0;
    z-index: 999;
    align-items: flex-end;
    justify-content: center;
    padding: 0 24px 24px;
    background-color: #00005A33;
}
.bi-hn__filter-popup.is-open {
    display: flex;
}

.bi-hn__filter-options-container {
    background-color: #fff;
    border-radius: 48px;
    padding: 36px 32px;
    width: 100%;
    max-width: 800px;
}
.bi-hn__filter-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.bi-hn__filter-heading {
    font-size: 20px;
    font-weight: 600;
    line-height: 115%;
}
.bi-hn__filter-close {
    background-color: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.bi-hn__close-icon {
    height: 30px;
    width: 30px;
}
.bi-hn__filter-options {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.bi-hn__filter-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bi-hn__filter-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 115%;
}
.bi-hn__filter-input[type="radio"] {
    height: 20px;
    width: 20px;
    margin: 0;
}

.bi-hn__filter-search {
    width: 100%;
}

input[type=search].bi-hn__search-input {
    background-color: #F0F3F7;
    border: 1px solid #00005A66;
    border-radius: 16px;
    color: #66669C;
    line-height: 115%;
    font-size: 12px;
    font-weight: 500;
    padding: 10px 24px 10px 40px;
    height: 100%;
    width: 100%;
    background-image: url('../images/bi-hn--icon-search.svg');
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 34px 40%;
}

/* Container queries for filters and search - adapts to container width */
@container naps-table (min-width: 808px) {
    .bi-hn__wrapper .bi-hn__filter-buttons {
        gap: 16px;
        margin-bottom: 38px;
    }
    .bi-hn__wrapper .bi-hn__filter-button {
        font-size: 22px;
        padding: 12px 18px;
    }
    .bi-hn__wrapper .bi-hn__show-filters {
        padding: 12px;
    }
    .bi-hn__wrapper .bi-hn__filter-icon {
        height: 30px;
        width: 30px;
    }
    .bi-hn__wrapper .bi-hn__filter-heading {
        font-size: 22px;
    }
    .bi-hn__wrapper .bi-hn__filter-text {
        font-size: 18px;
    }
    .bi-hn__wrapper .bi-hn__filter-input[type="radio"] {
        height: 30px;
        width: 30px;
    }
    .bi-hn__wrapper input[type=search].bi-hn__search-input {
        font-size: 18px;
        padding-left: 56px;
        background-position: 15px center;
    }
}

/* Fallback media queries for filters and search - browsers without container query support */
@supports not (container-type: inline-size) {
    @media (min-width: 808px) {
        .bi-hn__wrapper .bi-hn__filter-buttons,
        .bi-hn__filter-buttons {
            gap: 16px;
            margin-bottom: 38px;
        }
        .bi-hn__wrapper .bi-hn__filter-button,
        .bi-hn__filter-button {
            font-size: 22px;
            padding: 12px 18px;
        }
        .bi-hn__wrapper .bi-hn__show-filters,
        .bi-hn__show-filters {
            padding: 12px;
        }
        .bi-hn__wrapper .bi-hn__filter-icon,
        .bi-hn__filter-icon {
            height: 30px;
            width: 30px;
        }
        .bi-hn__wrapper .bi-hn__filter-heading,
        .bi-hn__filter-heading {
            font-size: 22px;
        }
        .bi-hn__wrapper .bi-hn__filter-text,
        .bi-hn__filter-text {
            font-size: 18px;
        }
        .bi-hn__wrapper .bi-hn__filter-input[type="radio"],
        .bi-hn__filter-input[type="radio"] {
            height: 30px;
            width: 30px;
        }
        .bi-hn__wrapper input[type=search].bi-hn__search-input,
        input[type=search].bi-hn__search-input {
            font-size: 18px;
            padding-left: 56px;
            background-position: 15px center;
        }
    }
}

/* Nap of the Day Widget */
.bi-hn__nap-of-day-wrapper {
    container-type: inline-size;
    container-name: nap-of-day;
    border: 1px solid #F0F3F7;
    border-radius: 8px;
}

.bi-hn__nap-of-day-banner {
    overflow: hidden;
}

.bi-hn__nap-of-day-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.bi-hn__nap-of-day-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bi-hn__nap-of-day-banner-link:hover,
.bi-hn__nap-of-day-banner-link:focus {
    text-decoration: none;
}

/* Tipster Detail Page Styles */
.bi-hn__tipster-detail-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    container-type: inline-size;
    container-name: tipster-detail;
}

/* Container queries for tipster detail - adapts to container width */
@container tipster-detail (min-width: 808px) {
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-section-no-border {
        padding: 0;
    }
    
    .bi-hn__tipster-detail-wrapper .bi-hn__nap-horse-silk-image {
        width: 75px;
        padding: 40px 28px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__nap-horse-name {
        font-size: 26px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__nap-course {
        font-size: 18px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds-button {
        padding: 24px 22px;
        min-width: 112px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds-button--outcome {
        padding: 12px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds-title {
        font-size: 14px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds {
        font-size: 26px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds-footer {
        font-size: 14px;
        padding-top: 4px;
    }
    
    /* Section Titles - reduced for large screens */
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-section-title-line1 {
        font-size: 18px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-section-title-line2 {
        font-size: 26px;
    }
    
    /* P&L and ROI - reduced for large screens */
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-pl {
        font-size: 18px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-pl-value {
        font-size: 20px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-roi {
        font-size: 18px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-roi-value {
        font-size: 20px;
    }
    
    /* Monthly Performance - reduced for large screens */
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-list {
        gap: 24px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-bar-wrapper {
        gap: 48px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-percentage {
        font-size: 22px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-label {
        font-size: 22px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-naps-count {
        font-size: 22px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-axis {
        margin-top: 16px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-axis span {
        font-size: 18px;
    }
    
    /* Daily Breakdown - reduced for large screens */
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-header-section {
        gap: 32px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-count {
        font-size: 20px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-month {
        font-size: 26px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-header {
        grid-template-columns: 80px 1fr 72px 72px;
        padding: 24px;
        font-size: 18px;
        gap: 24px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-row {
        grid-template-columns: 80px 1fr 72px 72px;
        padding: 24px;
        font-size: 18px;
        gap: 24px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-tip-name {
        font-size: 26px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-tip-location {
        font-size: 18px;
    }
    .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-position-text {
        font-size: 18px;
    }
}

.bi-hn__tipster-detail-section {
    background-color: #fff;
    border: 2px solid #F0F3F7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.bi-hn__tipster-detail-section-no-border {
    border: none;
    padding: 0;
    margin-bottom: 20px;
    background-color: transparent;
}

/* Back to All Naps button - below daily breakdown */
.bi-hn__tipster-detail-back-wrap {
    margin-top: 24px;
    margin-bottom: 20px;
}

.bi-hn__tipster-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: #00005A;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
}

.bi-hn__tipster-detail-back:hover,
.bi-hn__tipster-detail-back:focus-visible {
    color: #00005A;
    outline: 2px solid #00005A;
    outline-offset: 2px;
}

.bi-hn__tipster-detail-back-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px 4px 0;
    color: #00005A;
}

.bi-hn__tipster-detail-back-icon svg {
    display: block;
}

.bi-hn__tipster-detail-back-separator {
    width: 1px;
    height: 1.2em;
    background-color: #F0F3F7;
    flex-shrink: 0;
}

.bi-hn__tipster-detail-back-text {
    padding-left: 12px;
}

.bi-hn__tipster-detail-section-no-border .bi-hn__nap-row {
    margin-bottom: 0;
}

.bi-hn__tipster-detail-section-no-border .bi-hn__tipster-detail-section-title {
    margin-bottom: 16px;
}

.bi-hn__tipster-detail-section-title {
    margin: 0;
}

.bi-hn__tipster-detail-section-title-line1 {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #66669C;
    margin-bottom: 4px;
}

.bi-hn__tipster-detail-section-title-line2 {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #00005A;
}

.bi-hn__tipster-detail-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
}

.bi-hn__tipster-detail-section-header--border {
    border-bottom: 1px solid #E5E5EF;
    padding-bottom: 16px;
}

.bi-hn__tipster-detail-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    text-align: right;
}

.bi-hn__tipster-detail-pl {
    color: #0028F0;
    font-size: 14px;
    font-weight: 600;
}

.bi-hn__tipster-detail-pl-value {
    color: #1E1B39;
    font-size: 16px;
    display: block;
    margin-top: 4px;
}

.bi-hn__tipster-detail-roi {
    color: #0028F0;
    font-size: 14px;
    font-weight: 600;
}

.bi-hn__tipster-detail-roi-value {
    color: #1E1B39;
    font-size: 16px;
    display: block;
    margin-top: 4px;
}

.bi-hn__tipster-detail-no-data {
    color: #66669C;
    font-size: 14px;
    margin: 0;
}

/* Monthly Performance */
.bi-hn__tipster-detail-toggle-buttons {
    display: flex;
    gap: 0;
    flex-shrink: 0;
    background-color: #F0F3F7;
    border-radius: 8px;
    padding: 4px;
    position: relative;
}

.bi-hn__tipster-detail-toggle-button {
    background-color: transparent;
    border: none;
    border-radius: 6px;
    color: #66669C;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1 0 110px;
    line-height: 24px;
    text-align: center;
}

.bi-hn__tipster-detail-toggle-button:hover:not(.bi-hn__tipster-detail-toggle-active) {
    color: #00005A;
}

.bi-hn__tipster-detail-toggle-active {
    background-color: #00005A;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bi-hn__tipster-detail-toggle-active:hover {
    background-color: #00005A;
    color: #fff;
}

.bi-hn__tipster-detail-monthly-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bi-hn__tipster-detail-monthly-item {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    width: 100%;
}

.bi-hn__tipster-detail-monthly-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bi-hn__tipster-detail-monthly-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

.bi-hn__tipster-detail-monthly-item-content {
    width: 100%;
}

.bi-hn__tipster-detail-monthly-bar {
    flex: 1;
    height: 16px;
    background-color: #F0F3F7;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.bi-hn__tipster-detail-monthly-percentage {
    color: #66669C;
    font-size: 16px;
    font-weight: 500;
    text-align: right;
}

.bi-hn__tipster-detail-monthly-item-win-percent .bi-hn__tipster-detail-monthly-percentage {
    color: #0028F0;
}

.bi-hn__tipster-detail-monthly-arrow,
.bi-hn__tipster-detail-monthly-arrow-button {
    background: #F0F3F7;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #00005A;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    border-radius: 4px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
}

.bi-hn__tipster-detail-monthly-arrow:hover,
.bi-hn__tipster-detail-monthly-arrow-button:hover {
    transform: translateX(2px);
    background-color: #E0E3E7;
}

.bi-hn__tipster-detail-monthly-arrow svg {
    width: 28px;
    height: 28px;
}

.bi-hn__tipster-detail-monthly-label {
    color: #66669C;
    font-size: 18px;
    font-weight: 600;
    line-height: 115%;
}

.bi-hn__tipster-detail-monthly-item-win-percent .bi-hn__tipster-detail-monthly-label {
    color: #0028F0;
}

.bi-hn__tipster-detail-monthly-naps-count {
    font-weight: 400;
    font-size: 16px;
}


.bi-hn__tipster-detail-monthly-bar-fill {
    height: 100%;
    background-color: #0028F080;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.bi-hn__tipster-detail-monthly-item-win-percent .bi-hn__tipster-detail-monthly-bar-fill {
    background-color: #0028F0;
}

.bi-hn__tipster-detail-monthly-axis-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.bi-hn__tipster-detail-monthly-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    width: 100%;
}

.bi-hn__tipster-detail-monthly-axis span {
    color: #66669C;
    font-size: 14px;
    font-weight: 400;
    flex-shrink: 0;
}

.bi-hn__tipster-detail-monthly-axis-padding {
    width: 48px;
}

/* Overall Naps Chart */
.bi-hn__tipster-detail-overall-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.bi-hn__tipster-detail-donut-chart {
    margin: 0 auto;
    display: grid;
    flex-direction: column;
    align-items: flex-end;
    grid-template-areas: "stack";
}

.bi-hn__tipster-detail-donut-chart-inner {
    width: 400px;
    height: 200px;
    grid-area: stack;
}

.bi-hn__tipster-detail-donut-svg {
    width: 100%;
    display: block;
    overflow: visible;
}

.bi-hn__tipster-detail-donut-svg circle {
    transform-origin: 60px 60px;
}

.bi-hn__tipster-detail-donut-background {
    stroke: #E0E7F0;
}

.bi-hn__tipster-detail-donut-progress {
    stroke: #0028F0;
    stroke-linecap: round;
}

.bi-hn__tipster-detail-donut-indicator {
    fill: #00005A;
    stroke: #fff;
    stroke-width: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.bi-hn__tipster-detail-donut-content {
    text-align: center;
    width: 100%;
    grid-area: stack;
}

.bi-hn__tipster-detail-donut-value {
    color: #1E1B39;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.bi-hn__tipster-detail-donut-label {
    color: #1E1B39;
    font-size: 16px;
    font-weight: 400;
    line-height: 115%;
}

.bi-hn__tipster-detail-donut-sublabel {
    color: #1E1B39;
    font-size: 16px;
    font-weight: 600;
    line-height: 115%;
}

/* Daily History Table */
.bi-hn__tipster-detail-history-header-section {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.bi-hn__tipster-detail-nav-button {
    background-color: #F0F3F7;
    border: none;
    border-radius: 4px;
    color: #00005A;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
}

.bi-hn__tipster-detail-nav-button:hover {
    background-color: #E0E3E7;
}

.bi-hn__tipster-detail-nav-button svg {
    width: 28px;
    height: 28px;
}

.bi-hn__tipster-detail-history-header-content {
    flex: 1;
}

.bi-hn__tipster-detail-history-count {
    font-size: 16px;
    color: #66669C;
}

.bi-hn__tipster-detail-history-month {
    font-size: 18px;
    font-weight: 700;
    color: #00005A;
}

.bi-hn__tipster-detail-history-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bi-hn__tipster-detail-history-header {
    display: grid;
    grid-template-columns: 36px 1fr 36px 40px;
    gap: 10px;
    padding: 10px 12px;
    background-color: #F0F3F7;
    border-radius: 4px 4px 0 0;
    font-weight: 600;
    color: #00005A;
    font-size: 12px;
}

.bi-hn__tipster-detail-history-row {
    display: grid;
    grid-template-columns: 36px 1fr 36px 40px;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #F0F3F7;
    font-size: 14px;
}

.bi-hn__tipster-detail-history-col {
    color: #00005A;
    display: flex;
    align-items: center;
}

.bi-hn__tipster-detail-history-date {
    font-weight: 500;
}

.bi-hn__tipster-detail-history-tip {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.bi-hn__tipster-detail-history-tip-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 115%;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.bi-hn__tipster-detail-history-tip-location {
    color: #66669C;
    font-size: 14px;
    font-weight: 500;
    line-height: 115%;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.bi-hn__tipster-detail-history-odds {
    color: #66669C;
    min-width: 0;
}

.bi-hn__tipster-detail-history-pos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    color: #00005A;
    font-weight: 500;
    min-width: 0;
}

.bi-hn__tipster-detail-history-position-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    order: 2;
}

.bi-hn__tipster-detail-history-position-text {
    color: #66669C;
    font-size: 14px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    order: 1;
}

.bi-hn__tipster-detail-history-winner {
    background-color: #4CAF50;
}

.bi-hn__tipster-detail-history-loser {
    background-color: #F44336;
}

/* Fallback for browsers without container query support */
@supports not (container-type: inline-size) {
    @media (min-width: 808px) {
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-section {
            padding: 32px;
        }
        
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-section-no-border {
            padding: 0;
        }
        
        .bi-hn__tipster-detail-wrapper .bi-hn__nap-horse-silk-image {
            width: 75px;
            padding: 40px 28px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__nap-horse-name {
            font-size: 26px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__nap-course {
            font-size: 18px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds-button {
            padding: 24px 22px;
            min-width: 112px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds-button--outcome {
            width: auto;
            min-width: 112px;
            max-width: 168px;
            padding-top: 12px;
            padding-bottom: 12px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds-title {
            font-size: 14px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds {
            font-size: 26px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__nap-odds-footer {
            font-size: 14px;
        }
        
        /* Section Titles */
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-section-title-line1 {
            font-size: 18px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-section-title-line2 {
            font-size: 26px;
        }
        
        /* P&L and ROI */
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-pl {
            font-size: 18px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-pl-value {
            font-size: 20px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-roi {
            font-size: 18px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-roi-value {
            font-size: 20px;
        }
        
        /* Monthly Performance */
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-list {
            gap: 24px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-bar-wrapper {
            gap: 48px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-percentage {
            font-size: 22px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-label {
            font-size: 22px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-naps-count {
            font-size: 22px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-axis {
            margin-top: 16px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-monthly-axis span {
            font-size: 18px;
        }
        
        /* Daily Breakdown */
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-header-section {
            gap: 32px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-count {
            font-size: 20px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-month {
            font-size: 26px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-header {
            grid-template-columns: 80px 1fr 72px 72px;
            padding: 24px;
            font-size: 18px;
            gap: 24px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-row {
            grid-template-columns: 80px 1fr 72px 72px;
            padding: 24px;
            font-size: 18px;
            gap: 24px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-tip-name {
            font-size: 26px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-tip-location {
            font-size: 18px;
        }
        .bi-hn__tipster-detail-wrapper .bi-hn__tipster-detail-history-position-text {
            font-size: 18px;
        }
    }
}