.main-market-card__column,
.supplemental-games__column {
    display: flex;
    margin-bottom: 20px;
}

.market-card {
    width: 100%;
    height: 100%;
    border: 1px solid #eadfc5;
    border-top: 4px solid #e5ad3b;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px rgb(80 59 17 / 7%);
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.market-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    min-width: 0;
}

.main-market-card__details {
    display: grid;
    gap: 14px;
}

.main-market-card__name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    margin: 0;
    color: #27251f;
    font-size: 21px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.main-market-card__info {
    display: inline-flex;
    flex-shrink: 0;
    padding: 7px;
    border-radius: 50%;
    background: #e9f3fa;
    cursor: pointer;
}

.main-market-card__times,
.main-market-card__charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.market-card__time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3px 6px;
    padding: 7px 10px;
    border: 1px solid #d9eaf7;
    border-radius: 10px;
    background: #f0f7fc;
    color: #185a80;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.market-card__time small {
    font-size: 11px;
    font-weight: 600;
}

.market-card__time > span { white-space: nowrap; }

.market-card__result {
    margin: 0;
    padding: 12px 8px;
    border: 1px solid #f0e5cb;
    border-radius: 12px;
    background: #fffbf2;
    color: #262a35;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .025em;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.market-card__result > h3 {
    margin: 0;
    color: inherit;
    font: inherit;
}

.main-market-card__status {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.market-card__status {
    align-self: center;
    max-width: 100%;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid #e1e4e8;
    border-radius: 20px;
    background: #f3f4f6;
    color: #545a63;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.main-market-card[data-status-state="open"] .market-card__status,
.supplemental-games__card[data-result-state="declared"] .market-card__status {
    border-color: #c6e9dc;
    background: #eaf8f1;
    color: #176349;
}

.supplemental-games__card[data-result-state="pending"] .market-card__status {
    border-color: #f2dcaf;
    background: #fff5df;
    color: #8a5715;
}

.main-market-card[data-status-state="closed"] .market-card__status {
    border-color: #efd0d1;
    background: #fff0f0;
    color: #974347;
}

.main-market-card__download { display: inline-flex; }
.main-market-card__charts { margin-top: auto; }
.main-market-card__charts > a { min-width: 0; }

.market-card .btn.chart {
    width: 100%;
    padding: 9px 6px;
    border-color: #e6c274;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
}

@media (hover: hover) {
    .market-card:hover {
        border-color: #d9b05b;
        box-shadow: 0 10px 26px rgb(80 59 17 / 12%);
        transform: translateY(-3px);
    }
}

@media (max-width: 575.98px) {
    .market-card__body { padding: 14px; }
    .main-market-card__name { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .market-card { transition: none; }
    .market-card:hover { transform: none; }
}

.supplemental-games,
.supplemental-records,
.supplemental-directory-links {
    padding: 40px 0;
}

.supplemental-games__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.supplemental-games__card .market-card__time {
    align-self: center;
    margin: 0;
    padding: 8px 18px;
    font-size: 20px;
}

.supplemental-games__status,
.supplemental-games__date {
    margin-bottom: 12px;
    font-size: 14px;
}

.supplemental-games__date { color: #656974; }
.supplemental-games__card .chart { margin-top: auto; }

.supplemental-records__navigation,
.supplemental-records__markets {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.supplemental-records__markets [aria-current="page"] {
    background: #fab028;
    color: #212121;
}

.supplemental-records__scroll {
    max-width: 100%;
    overflow-x: auto;
}

.supplemental-records__table {
    width: 100%;
    min-width: 560px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border-collapse: collapse;
}

.supplemental-records__table--directory {
    min-width: 1050px;
    max-width: none;
}

.supplemental-records__table th,
.supplemental-records__table td {
    vertical-align: middle;
    border: 1px solid #333;
    padding: 9px 6px;
}

.supplemental-records__table thead th {
    background: #fab028;
    white-space: nowrap;
}

.supplemental-records__date {
    font-size: 13px;
    white-space: nowrap;
}

.supplemental-records__date span,
.supplemental-records__pana span {
    display: block;
}

.supplemental-records__result {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.supplemental-records__pana {
    line-height: 1.15;
    font-size: 12px;
}

.supplemental-records__empty {
    margin: 24px 0;
    text-align: center;
}
