.match-odds, .odds-movement {
    background: hsl(var(--surface));
    min-width: 0;
}
.match-odds {
    padding: 16px;
}
.match-odds [hidden] {
    display: none;
}
.odds-state {
    color: hsl(var(--muted));
    margin: 0;
    padding: 40px 0;
    text-align: center;
}
.odds-button {
    flex: none;
    background: hsl(var(--surface-2));
    color: hsl(var(--muted));
    border: 0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    white-space: nowrap;
}
.odds-button:hover {
    color: hsl(var(--foreground));
    background: hsl(var(--border) / .45);
}
.odds-button[aria-pressed="true"] {
    color: hsl(var(--card));
    background: hsl(var(--primary));
    box-shadow: 0 1px 2px hsl(var(--foreground) / .12);
}
.odds-markets {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 16px;
}
.odds-markets :focus-visible {
    outline-offset: -2px;
}
.odds-best {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.odds-best-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.odds-quote {
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    background: hsl(var(--surface-2));
    padding: 12px;
    text-align: center;
    overflow-wrap: anywhere;
}
.odds-label, .odds-book, .odds-price {
    display: block;
}
.odds-label, .odds-book {
    color: hsl(var(--muted));
}
.odds-label {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}
.odds-price {
    color: hsl(var(--primary));
    font-size: 20px;
    line-height: 28px;
    font-variant-numeric: tabular-nums;
    margin-top: 4px;
}
.odds-book {
    font-size: 10px;
    line-height: 15px;
    margin-top: 2px;
}
.odds-best-wide .odds-quote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    text-align: left;
    border-radius: 8px;
}
.odds-best-wide .odds-quote-value {
    text-align: right;
}
.odds-best-wide .odds-price {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}
.odds-expand {
    width: 100%;
    margin-top: 12px;
}
.odds-bookmakers {
    margin-top: 12px;
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    overflow-x: auto;
}
.odds-table, .odds-movement table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}
.odds-table thead {
    background: hsl(var(--surface-2) / .8);
    border-bottom: 1px solid hsl(var(--border));
}
.odds-table tbody tr + tr {
    border-top: 1px solid hsl(var(--border) / .4);
}
.odds-table th {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: hsl(var(--muted));
    padding: 10px 12px;
}
.odds-table td {
    padding: 8px 12px;
    text-align: center;
    white-space: nowrap;
}
.odds-table th:first-child, .odds-table td:first-child {
    text-align: left;
}
.odds-table td:first-child {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}
.odds-table tbody tr:hover {
    background: hsl(var(--surface-2) / .4);
}
.odds-up, .odds-best-price {
    color: hsl(var(--success));
}
.odds-best-price {
    font-weight: 700;
}
.odds-down {
    color: hsl(var(--danger));
}
.odds-arrow {
    margin-inline-start: 2px;
    font-size: 12px;
    line-height: 12px;
}
.odds-no-price {
    color: hsl(var(--muted));
}
.odds-history, .odds-live {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid hsl(var(--border));
}
.odds-history {
    margin-top: 16px;
}
.match-odds h3 {
    font: 600 14px/20px var(--display);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.match-odds h3 .icon {
    color: hsl(var(--primary));
}
.odds-history-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.odds-history-controls select {
    height: 32px;
    max-width: 100%;
    padding: 0 12px;
    font: 400 12px Inter, sans-serif;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    background: hsl(var(--surface-2));
}
.odds-history-state {
    font-size: 12px;
    color: hsl(var(--muted));
}
.odds-chart {
    margin-top: 16px;
    height: 256px;
    position: relative;
}
.odds-canvas {
    display: block;
    width: 100%;
    height: calc(100% - 26px);
}
.odds-annotation {
    position: absolute;
    top: 6px;
    right: 10px;
    display: grid;
    background: hsl(var(--surface));
    border: 1px solid hsl(var(--border));
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    pointer-events: none;
}
.odds-legend, .odds-history-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.odds-legend {
    padding-inline: 16px;
    justify-content: center;
    font-size: 11px;
}
.odds-legend span::before {
    display: inline-block;
    content: '';
    height: 2px;
    width: 12px;
    margin: 0 4px 3px 0;
    background: currentColor;
}
.odds-history-values {
    margin-top: 16px;
}
.odds-history-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    background: hsl(var(--surface-2));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 4px 12px;
}
.odds-dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.odds-history-value small {
    font-size: 10px;
}
.odds-movement {
    margin: 20px 0 32px;
    padding: 20px;
}
.odds-movement h2 {
    font: 700 20px/28px var(--display);
    margin: 0;
}
.odds-movement p {
    color: hsl(var(--muted));
    margin: 8px 0 0;
}
.odds-movement-scroll {
    margin-top: 16px;
    overflow-x: auto;
}
.odds-movement table {
    min-width: 420px;
    text-align: left;
    font-size: 15px;
}
.odds-movement thead {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .025em;
    color: hsl(var(--muted));
}
.odds-movement th, .odds-movement td {
    padding: 8px 16px 8px 0;
    font-weight: 400;
}
.odds-movement thead th {
    padding-top: 0;
    font-weight: 500;
}
.odds-movement tbody tr {
    border-top: 1px solid hsl(var(--border));
}
.odds-movement small {
    padding-left: 4px;
    font-size: 12px;
}
.odds-movement p.odds-movement-note {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid hsl(var(--border));
    font-size: 12px;
}
@media (min-width: 640px) {
    .odds-best-wide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .odds-movement {
        padding: 24px;
    }
}
