/* Performance Page Styles */

.performance-page {
    background: var(--black);
    height: fit-content;
}

/* Page-Specific Nav Styling */
.performance-page .top-nav {
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);    
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(30, 30, 30, 0.3) 25%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(30, 30, 30, 0.3) 75%,
        rgba(0, 0, 0, 0.25) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.performance-page .top-nav::before {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 70%,
        transparent 100%
    );
    content: '';
    height: 60%;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

.performance-page .search-input-container.active {
    background: none;
}

.performance-page .search-results {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(30, 30, 30, 0.3) 25%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(30, 30, 30, 0.3) 75%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.performance-page .search-backdrop {
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
}

.performance-page .search-result-item {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
}

.performance-page .bottom-nav {
    bottom: 0;
    box-sizing: border-box;
    justify-content: center;
    left: 0;
    margin-top: 0;
    position: absolute;
    right: 0;
    width: 100%;
}

.performance-page .bottom-nav::before {
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 70%,
        transparent 100%
    );
    bottom: 0;
    content: '';
    height: 60%;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: -1;
}

/* Mobile navigation */
.performance-page .mobile-nav-links a {
    background: linear-gradient(
        180deg,
        rgba(30, 30, 30, 0.4) 0%,
        rgba(30, 30, 30, 0.7) 50%,
        rgba(30, 30, 30, 0.4) 100%
    );
    border-radius: 0px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.performance-page .mobile-search-wrapper {
    background: linear-gradient(
        180deg,
        rgba(30, 30, 30, 0.6) 0%,
        rgba(30, 30, 30, 0.8) 50%,
        rgba(30, 30, 30, 0.6) 100%
    );
}

.performance-page .mobile-search-wrapper:focus-within {
    background: linear-gradient(
        180deg,
        rgba(30, 30, 30, 0.8) 0%,
        rgba(30, 30, 30, 0.9) 50%,
        rgba(30, 30, 30, 0.8) 100%
    );
    border: 1px solid rgba(255, 255, 255, .6);
}


/* Main content */
.performance-main {
    background: url('../images/backgrounds/performance_bg.png') center/cover fixed;
    box-sizing: border-box;
    display: flex;
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    justify-content: center;
    min-height: 100vh;
    padding-bottom: 3rem;
    padding-top: 1rem;
    width: 100%;
}

.performance-container {
    background: transparent;
    margin: 8vh 0 4vh 0;
    max-width: min(1600px, 95vw);
    overflow: hidden;
    width: 95%;
}

/* Header Section */
.performance-header {
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    min-height: 150px; 
    position: relative;
    z-index: 1;
}

.header-row {
    align-items: center;
    display: flex;
    justify-content: center;
}

.title-row {
    align-items: center;
    background: var(--leaderboard-green);
    flex-direction: row;
    justify-content: space-between;
    padding: .4em 1em;
    position: relative;
}

.hp-logo-blue {
    flex-shrink: 0;
    transform: translateY(1px);
    width: clamp(25px, 5vw, 37px);
}

.title-row-left {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 0.75em;
}

.title-content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.title-row-right {
    align-items: center;
    display: flex;
    padding-right: 0;
}

.info-icon-container {
    align-items: center;
    cursor: help;
    display: flex;
    transition: all 0.2s ease;
}

.info-icon {
    transition: opacity 0.2s ease;
    width: 2em;
}

.performance-title {
    color: var(--white);
    font-family: "Jost", sans-serif;
    font-size: clamp(1em, 5vw, 1.5em);
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.performance-subtitle {
    color: var(--white);
    font-family: "Jost", sans-serif;
    font-size: clamp(.66em, 2.5vw, 1em);
    font-weight: 400;
    margin-top: -5px;
}

/* Model Info Row */
.model-info-row {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
    color: var(--black);
    overflow: hidden;
}

.model-info-content {
    display: flex;
    flex-direction: column;
    font-size: 0.85em;
    line-height: 1.5;
    text-align: left;
    width: 100%;
}

.model-info-content a {
    color: var(--dark-blue);
    font-weight: 700;
    text-decoration: none;
}

.learn-more-link {
    white-space: nowrap;
    margin-left: 0.1em;
}

.model-info-content a:hover {
    color: var(--leaderboard-green);
}

.model-info-main {
    align-items: flex-start;
    display: flex;
    gap: 0.5em;
    margin-bottom: 0;
}

.model-info-content p {
    flex: 1;
    margin: 0;
    transition: opacity 0.15s ease-in-out;
}

.model-info-content p.fade-out {
    opacity: 0;
}

.model-info-content strong {
    font-weight: 600;
}

.model-info-icon {
    color: var(--leaderboard-green);
    flex-shrink: 0;
    font-size: .85em;
    margin: 0.3em .25em 0 0;
    transition: color 0.15s ease-in-out;
}

.model-info-icon.head-pro-icon {
    fill: currentColor;
    height: 16px;
    margin-left: -1px;
    margin-top: 0.1em;
    width: 16px;
}

.model-info-icon-link {
    display: inline-flex;
    transition: transform 0.2s ease, color 0.2s ease;
}

.model-info-icon-link:hover {
    color: var(--leaderboard-green);
    transform: scale(1.1);
}

/* Expandable additional info */
.model-info-additional {
    align-items: stretch;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.model-info-additional p {
    margin: 0;
}

/* Individual lines within model-info-additional */
.model-info-line {
    align-items: flex-start;
    background: var(--white);
    display: flex;
    font-size: 1em;
    padding: .6em 1.25em;
}

.model-info-icon-link {
    display: inline-flex;
    flex-shrink: 0;
    width: 16px;
}

.model-info-line p {
    flex: 1;
    margin-left: 3px;
}

.model-info-icon.hp-logo {
    height: 16px;
    margin-left: -1px;
    margin-right: -2px;
    object-fit: contain;
    width: 16px;
}

.head-pro-mode .hp-logo {
    display: none; /* Hide adjustment line when Head Pro model selected */
}

.head-pro-mode .mental-adjustment-info {
    display: none;
}

.head-pro-mode .model-info-content .model-info-line:first-child + .model-info-additional {
    margin-top: 0;
}

/* Funnel chart */
#funnel-chart-container {
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 1em 1.5em;
    width: 100%;
}

.svg-annotation-wrapper {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
}

.svg-annotation-wrapper .funnel-annotations {
    flex: 1;
    margin: 0;
}

#funnel-svg {
    height: auto;
    max-height: 307px; 
    max-width: 230px;
    padding: 0 2em;   
}

.funnel-block {
    transition: opacity 0.2s ease;
}

.funnel-block:hover {
    cursor: pointer;
    opacity: 0.85;
}

.funnel-label {
    fill: var(--white);
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    text-anchor: middle;
}

/* Funnel Annotations */
.funnel-annotations {
    flex: 1;
    margin: 0;
}

.funnel-annotation {
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid var(--leaderboard-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.25em;
    padding: .5em 1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.funnel-annotation:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.annotation-step {
    align-items: center;
    color: var(--leaderboard-green);
    display: flex;
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.25em;
    font-weight: 800;
    gap: .35em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.annotation-icon {
    font-size: 0.85em;
}

.annotation-text {
    color: var(--black);
    font-family: "Source Sans 3", sans-serif;
    font-size: 1em;
    line-height: 1.6;
}

.annotation-indent {
    display: flex;
    gap: 0.4em;
    margin-left: 1.5em;
    margin-top: 0.5em;
}

.annotation-indent .bullet-emoji {
    flex-shrink: 0;
}

.ev-badge {
    background: var(--leaderboard-green);
    border-radius: 2px;
    color: var(--white);
    display: inline-block;
    font-size: 0.5em;
    font-weight: 800;
    letter-spacing: 0.25px;
    padding: .1em .2em 0 .2em;
    vertical-align: baseline;
}

.disclaimer-text {
    background: #FFC300;
    color: var(--black);
    font-family: "Source Sans 3", sans-serif;
    font-size: 1em;
    line-height: 1.5;
    padding: 0.3em 1.25em;
    text-align: center;
}

.disclaimer-icon {
    color: var(--dark-red);
    display: inline;
    margin-right: 0.2em;
}


.disclaimer-label {
    color: var(--dark-red);
    font-weight: 700;
    margin-right: .2em;
}

/* Summary Stats */
.summary-stats-row {
    background: transparent;
    flex-direction: row;
    justify-content: center;
    padding: 2em 1em;
    font-size: 0.85em;
}

.summary-table-wrapper {
    max-width: 900px;
    width: 100%;
}

.summary-title-header {
    background-color: var(--dark-blue);
    border-left: 2px solid var(--white);
    border-right: 2px solid var(--white);
    border-top: 2px solid var(--white);
    box-sizing: border-box;
    color: var(--white);
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    margin-bottom: 0;
    padding: 3px 0;
    text-align: center;
}

.summary-table {
    background: var(--white);
    border-collapse: collapse;
    border-left: 2px solid var(--white);
    border-right: 2px solid var(--white);
    font-family: "Source Sans 3", sans-serif;
    width: 100%;
}

.summary-table thead th {
    background: #8a8d8d;
    border-bottom: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.3em;
    text-align: center;
    text-transform: uppercase;
}

.summary-title-header,
.summary-table,
.summary-table * {
  box-sizing: border-box;
}

.summary-table tbody td {
    border: 2px solid var(--white);
    font-weight: 600;
    padding: 0.75em 1em;
    text-align: center;
}

.summary-table tbody td:first-child {
    text-align: left;
}

.summary-table .model-label {
    color: var(--black);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.summary-table #improvement-cell {
    padding-left: 0;
    padding-right: 1em;
    text-align: right;
}

.summary-table .base-row {
    background: rgba(177, 179, 179, 0.25);
    color: var(--black);
}

.summary-table .adjusted-row {
    background: rgba(177, 179, 179, 0.5);
    color: var(--black);
}

.head-pro-mode .summary-table .adjusted-row {
    background: rgba(177, 179, 179, 0.25);
}

.summary-table .improvement-row {
    background: var(--white);
    color: var(--white);
}

.summary-table .improvement-row .model-label {
    color: var(--leaderboard-green);
}

.summary-table .improvement-row td {
    font-weight: 700;
}

.summary-table .improvement-row .positive-bg {
    background: var(--leaderboard-green);
}

.summary-table .improvement-row .negative-bg {
    background: var(--dark-red);
}

/* Tournament Table Header */
.tournaments-header-row {
    background: var(--dark-blue);
    border-bottom: 1px solid rgba(47, 92, 102, 0.5);
    flex-direction: row;
    font-size: 0.75em;
    justify-content: flex-start;
    padding: 0.4em 0;
}

.tournament-header-cell {
    align-items: center;
    color: var(--white);
    cursor: pointer;
    display: flex;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    justify-content: center;
    padding: 3px 0 3px 0;
    position: relative;
    text-align: center;
    transition: background-color 0.2s ease;
    user-select: none;
}

/* BASE vs ADJUSTED labels (no Base in Head Pro mode) */
.tournament-header-group {
    display: flex;
    flex-direction: column;
    width: 30%;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.tournament-labels-row {
    background: var(--white);
    border-bottom: 1px solid var(--white);
    border-top: 1px solid var(--white);
    display: flex;
    font-size: 0.7em;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

.head-pro-mode .tournament-labels-row {
    display: none;
}

.base-label, .adjusted-label {
    background: var(--leaderboard-green);
    width: 30%;
}

.spacer {
    background: #8a8d8d;
    height: 100%;
    width: 40%;
}

.tournament-stats-headers-row {
    background: var(--dark-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    font-size: 0.8em;
    font-weight: 600;
    width: 100%;
}

.tournament-header-group {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: row;
    width: 30%;
}

.tournament-header-group:first-child {
    border-left: none;
}

.tournament-header-group .tournament-header-cell {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
}

.tournament-header-group .tournament-header-cell:first-child {
    border-left: none;
}

.head-pro-mode .tournament-header-group.base-group {
    display: none; /* Head Pro mode: hide base group */
}

.head-pro-mode .tournament-info-group {
    width: 40%;
}

.head-pro-mode .tournament-header-group.adjusted-group {
    width: 60%;
}

/* Tournament name and date */
.tournament-info-group {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    width: 40%;
}

.tournament-info-headers {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.tournament-info-group .tournament-name-header {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    justify-content: flex-start;
    padding-left: 1em;
    text-align: left;
}

.tournament-info-group .tournament-date-header {
    flex: 0 0 30%;
}

.header-cells-row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.tournament-header-cell.sortable:hover,
.tournament-header-cell.sortable.active {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.sort-indicator {
    color: var(--white);
    font-size: 0.5em;
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.sortable.active .sort-indicator {
    color: var(--white);
}

/* Tournament Table Body */
.table-container {
    overflow: visible;
    position: relative;
    z-index: 1;
}

.tournaments-body {
    background: rgba(242, 243, 244, 0.9);
}

.tournament-row {
    align-items: stretch;
    background: rgba(242, 243, 244, 0.9);
    border-bottom: 1px solid rgba(107, 111, 115, 0.75);
    cursor: pointer;
    display: flex;
    font-size: 0.75em;
    justify-content: flex-start;
    padding: 2px 0;
    transition: background-color 0.2s ease;
    width: 100%;
}

.tournament-row:hover {
    background: rgba(220, 220, 220, 0.9);
}

.tournament-row.expanded {
    background: rgba(200, 200, 200, 0.9);
}

.tournament-row .tournament-stats-group.base-group {
    border-left: 1px solid rgba(107, 111, 115, 0.3);
    display: flex;
    justify-content: space-around;
    width: 30%;
}

.head-pro-mode .tournament-row .tournament-stats-group.base-group {
    display: none; /* Head Pro mode: hide base group in tournament rows */
}

.tournament-row .tournament-info-cells {
    background: rgba(177, 179, 179, 0.5);
    border-left: 1px solid rgba(107, 111, 115, 0.3);
    display: flex;
    flex-direction: column;
    width: 40%;
}

.head-pro-mode .tournament-row .tournament-info-cells {
    width: 40%;
}

.tournament-info-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

.tournament-row .tournament-name-cell {
    align-items: center;
    border-right: 1px solid rgba(107, 111, 115, 0.2);
    color: rgba(20, 22, 17, 1);
    display: flex;
    flex: 1;
    font-weight: 600;
    padding-left: 7px;
    text-align: left;
}

.tournament-name-cell .expand-indicator {
    font-size: 0.5em;
    margin-right: 0.5em;
    transition: transform 0.2s ease;
}

.tournament-row.expanded .expand-indicator {
    transform: rotate(90deg);
}

.tournament-row .tournament-date-cell {
    align-items: center;
    color: rgba(20, 22, 17, 0.8);
    display: flex;
    flex: 0 0 30%;
    justify-content: center;
    text-align: center;
}

.tournament-row .tournament-stats-group.adjusted-group {
    border-left: 1px solid rgba(107, 111, 115, 0.3);
    display: flex;
    justify-content: space-around;
    width: 30%;
}

.head-pro-mode .tournament-row .tournament-stats-group.adjusted-group {
    width: 60%;
}

.tournament-stat-cell {
    align-items: center;
    color: rgba(20, 22, 17, 1);
    display: flex;
    flex: 1;
    font-weight: 600;
    justify-content: center;
    padding: 0.5em;
    text-align: center;
}

.positive {
    color: var(--leaderboard-green);
}

.negative {
    color: var(--dark-red);
}

.bet-details-container {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(47, 92, 102, 0.5);
    display: none;
    padding: 1em;
}

.bet-details-container.show {
    display: block;
}

.bet-details-header {
    border-bottom: 2px solid var(--leaderboard-green);
    color: var(--dark-blue);
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.7em;
    font-weight: 600;
    margin-bottom: 0.75em;
    padding-bottom: 0.5em;
    text-transform: uppercase;
}

.bets-table {
    font-size: 0.7em;
    width: 100%;
}

.bets-table-header {
    background: var(--neutral-gray);
    color: var(--white);
    display: flex;
    font-size: 0.9em;
    font-weight: 600;
    padding: 0.5em 0;
    text-transform: uppercase;
    width: 100%;
}

.bet-header-cell,
.bet-cell {
    padding: 2px;
    text-align: center;
}

.bet-cell {
    color: rgba(20, 22, 17, 1);
}

.bet-player-header,
.bet-player-cell { 
    text-align: left; 
    width: 20%; 
}

.bet-player-header {
    padding-left: 4px;
}

.bet-player-cell { 
    color: rgba(20, 22, 17, 1);
    font-weight: 600;
}

.bet-market-header,
.bet-market-cell { 
    width: 11%; 
}

.bet-sportsbook-header,
.bet-sportsbook-cell { 
    width: 11%; 
}

.bet-mental-header,
.bet-mental-cell { 
    width: 9%; 
}

.bet-mental-cell { 
    font-weight: 600;
}

.bet-odds-header,
.bet-odds-cell { 
    width: 10%; 
}

.bet-odds-cell { 
    font-weight: 600; 
}

.bet-ev-header,
.bet-ev-cell { 
    width: 10%; 
}

.bet-ev-cell { 
    font-weight: 700;
}

.bet-stake-header,
.bet-stake-cell { 
    width: 10%; 
}

.bet-outcome-header,
.bet-outcome-cell { 
    width: 9%; 
}

.bet-outcome-cell { 
    font-weight: 700;
    text-transform: uppercase;
}

.bet-profit-header,
.bet-profit-cell { 
    width: 10%; 
}

.bet-profit-cell { 
    font-weight: 700;
}

.bet-row {
    align-items: center;
    border-bottom: 1px solid rgba(107, 111, 115, 0.2);
    display: flex;
    padding: 0.6em 0;
}

.bet-row:hover {
    background: rgba(242, 243, 244, 0.5);
}

.outcome-win {
    color: var(--leaderboard-green);
}

.outcome-loss {
    color: var(--dark-red);
}

.mental-positive {
    color: var(--leaderboard-green);
}

.mental-negative {
    color: var(--dark-red);
}

.mental-neutral {
    color: var(--neutral-gray);
}

.matchup-over {
    font-weight: normal;
}

.loading-message, .error-message, .no-data-message {
    background: rgba(232, 243, 244, 0.9);
    color: #666;
    padding: 3rem 2rem;
    text-align: center;
}

.error-message {
    color: #b22234;
}

.no-data-message {
    color: #555;
}


/* Desktop-Only Styles */
@media (min-width: 768px) {
    .group-label {
        font-size: 0;
    }
    
    .group-label::before {
        content: attr(data-full-text);
        font-family: "Source Sans 3", sans-serif;
        font-size: 12px;
        font-weight: 400;
    }
}


/* Mobile Styles */
@media (max-width: 767px) {

    .performance-main {
        padding-top: 0;
    }
        
    .title-row {
        padding: .4em 1em;
    }

    .title-row-left {
        gap: 0.5em;
    }

    .performance-subtitle {
        font-size: .8em;
    }

    .info-icon {
        width: 1.5em;
    }

    .model-info-icon {
        margin-top: 0.4em;
    }

    .model-info-line {
        align-items: flex-start;
        background: var(--white);
        display: flex;
        font-size: 1em;
        padding: .6em 1em;
    }

    .annotation-indent {
        margin-left: .5em;
    }

    .summary-table tbody td {
        padding: 0.25em .5em;
    }

    .tournament-stats-headers-row {
        font-size: 0.73em;
    }

    .tournament-labels-row .group-label {
        width: 33%;
    }

    .tournament-labels-row .spacer {
        width: 34%;
    }

    .sort-indicator {
        display: none;
    }

    .tournament-info-group {
        width: 34%;
    }

    .head-pro-mode .tournament-info-group {
        width: 45%;
    }

    .tournament-row .tournament-info-cells {
        width: 34%;
    }

    .head-pro-mode .tournament-row .tournament-info-cells {
        width: 45%;
    }

    .tournament-header-group {
        width: 33%;
    }

    .head-pro-mode .tournament-header-group.adjusted-group {
        width: 55%;
    }

    .tournament-info-group .tournament-name-header {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .tournament-row {
        
    }

    .tournament-row .tournament-name-cell {
        
    }

    .tournament-info-group .tournament-date-header {
        flex: 0 0 20%;
    }

    .tournament-row .tournament-date-cell {
        flex: 0 0 20%;
        
    }

    .tournament-row .tournament-stats-group.adjusted-group,
    .tournament-row .tournament-stats-group.base-group {
        width: 33%;
    }

    .head-pro-mode .tournament-row .tournament-stats-group.adjusted-group {
        width: 55%;
    }

    .tournament-stat-cell {
        padding: 0.5em .25em;
        width: 33.33%;
    }

    .tournament-stat-cell.small-text {
        font-size: 0.9em;
    }

    .group-label {
        font-size: 1em;
    }
    
    .group-label::before {
        content: none;
    }

    .bet-details-container {
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 2px solid rgba(47, 92, 102, 0.5);
        display: none;
        padding: .5em;
    }

    .bet-stake-header,
    .bet-stake-cell {
        display: none;
    }

    .bet-odds-header,
    .bet-odds-cell { 
        display: none;
    }

    .bet-player-header,
    .bet-player-cell { 
        width: 24%;
    }
    
    .bet-market-header,
    .bet-market-cell { 
        width: 11%;
    }
    
    .bet-sportsbook-header,
    .bet-sportsbook-cell { 
        width: 15%;
    }
    
    .bet-mental-header,
    .bet-mental-cell { 
        width: 13%;
    }
    
    .bet-ev-header,
    .bet-ev-cell { 
        width: 14%;
    }
    
    .bet-outcome-header,
    .bet-outcome-cell { 
        width: 10%;
    }
    
    .bet-profit-header,
    .bet-profit-cell { 
        width: 13%;
    }

    #funnel-chart-container {
        padding-top: 1em;
    }

    .svg-annotation-wrapper {
        display: block;
    }
    
    #funnel-svg {
        float: left;
        margin-right: .5em;
        max-height: None;
        max-width: None;
        padding: 0;
        width: 38vw;
    }
    
    .svg-annotation-wrapper .funnel-annotations {
        display: block;
        width: auto;
    }
    
    .svg-annotation-wrapper .funnel-annotation {

        display: flow-root;
    }

    .funnel-annotation {
        clear: none;
        margin-bottom: 1.5em;       
    }

    .disclaimer-text {
        padding: 0.75em 1.25em;
        text-align: left;
    }

    .annotation-step {
        margin-bottom: 0.25em;
    }
}