.tw-aces-sports-match-single,
.tw-mercury-box > main#primary.tw-aces-sports-match-single,
body.single main#primary.tw-aces-sports-match-single,
main#primary.tw-aces-sports-match-single {
    --tips-side-padding: 2.5rem;
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem var(--tips-side-padding) 2.75rem;
    width: 100%;
    box-sizing: border-box;
}

.tw-aces-sports-match-entry {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.tw-aces-sports-match-entry .tw-aces-sports-match-discover {
    overflow: visible;
}

.ai-accuracy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 0;
    padding: 8px 14px;
    border-radius: var(--border-radius-pill, 999px);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.ai-accuracy--correct {
    background: rgba(34, 197, 94, 0.2);
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.25);
}

.ai-accuracy--incorrect {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.25);
}

.ai-accuracy-icon {
    font-size: 1.1rem;
}


.tw-aces-sports-match-hero {
    position: relative;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    padding: 32px;
    overflow: hidden;
}

.tw-aces-sports-match-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    pointer-events: none;
}

.tw-aces-sports-match-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0) 0%,
        rgba(15, 23, 42, 0.12) 40%,
        rgba(15, 23, 42, 0.55) 72%,
        rgba(15, 23, 42, 0.94) 100%
    );
}

.tw-aces-sports-match-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.tw-aces-sports-match-hero__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tw-aces-sports-match-hero--past {
    background: linear-gradient(135deg, #475569, #1f2937);
    opacity: 0.92;
}

.tw-aces-sports-match-hero .match-status {
    margin: 0;
}

.tw-aces-sports-match-hero .match-status--finished {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
    line-height: 1.4;
    color: #f8fafc;
}

.tw-aces-sports-match-hero .match-status__label {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tw-aces-sports-match-hero .final-score--pending {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.tw-aces-sports-match-entry--finished .match-partner-cta-panel {
    display: none;
}

.tw-aces-sports-match-hero--has-image {
    background: #0f172a;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
}

.tw-aces-sports-match-hero--has-image.tw-aces-sports-match-hero--past {
    background: #1e293b;
    min-height: 360px;
}

.tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding: 0 32px 28px;
}

.tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__meta {
    max-width: 40rem;
    margin: 0 auto;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    gap: 8px;
}

.tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__meta--with-heading {
    padding-top: 16px;
    padding-bottom: 16px;
}

.tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__meta .tw-aces-sports-match-hero__heading--banner {
    margin: 0 0 4px;
    max-width: none;
    width: 100%;
}

.tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__meta .tw-aces-sports-match-hero__heading--banner .match-league-label {
    margin-bottom: 8px;
    color: #cbd5e1;
}

.tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__meta .tw-aces-sports-match-hero__heading--banner .match-title {
    text-shadow: none;
    font-size: clamp(1.35rem, 3.2vw, 1.9rem);
    line-height: 1.3;
}

.tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__meta p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #f1f5f9;
    text-align: center;
}

.tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__meta p strong {
    color: #e2e8f0;
    font-weight: 600;
}

.tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__meta .synced {
    color: #cbd5e1;
    font-size: 0.85rem;
}

.tw-aces-sports-match-hero--has-image .ai-accuracy {
    justify-content: center;
    margin-top: 4px;
}

.tw-aces-sports-match-hero__heading {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    font: inherit;
    color: inherit;
    text-align: center;
}

.tw-aces-sports-match-hero__heading .match-league-label {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
}

.tw-aces-sports-match-hero__heading--banner {
    max-width: 40rem;
    margin: 0 auto 14px;
    width: 100%;
    text-align: center;
}

.tw-aces-sports-match-hero__heading--banner .match-league-label {
    margin-bottom: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #e2e8f0;
    opacity: 1;
}

.tw-aces-sports-match-hero__heading--banner .match-title {
    display: block;
    font-size: clamp(1.2rem, 2.8vw, 1.65rem);
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.tw-aces-sports-match-hero .match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    color: inherit;
}

.prediction-primary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.prediction-confidence {
    font-weight: 600;
    color: #475569;
    font-size: 0.92em;
    letter-spacing: 0;
}

.prediction-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: var(--border-radius-pill, 999px);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: auto;
}

.prediction-result--correct {
    background: rgba(34, 197, 94, 0.16);
    color: #047857;
}

.prediction-result--incorrect {
    background: rgba(239, 68, 68, 0.16);
    color: #b91c1c;
}

.match-team {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(1.9rem, 4.5vw, 2.6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.match-team .team-name {
    white-space: nowrap;
}

.match-team-logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: var(--box-shadow);
    padding: 10px;
    object-fit: contain;
}

.match-divider {
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.75;
}

.match-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 20px;
}

.match-hero-cta__bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.match-hero-cta__bonus:hover,
.match-hero-cta__bonus:focus {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    transform: translateY(-1px);
}

.match-hero-cta__bonus-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

.match-hero-cta__bonus-value {
    font-size: 0.95rem;
}

.match-hero-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 220px;
    padding: 12px 28px;
    border-radius: 14px;
    background-color: #1e293b;
    background-image: linear-gradient(135deg, color-mix(in srgb, var(--wp-second-color, #1e40af) 58%, #000 42%), color-mix(in srgb, var(--wp-second-color, #1e40af) 45%, #000 55%));
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-hero-cta__button:hover,
.match-hero-cta__button:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.36);
}

.match-hero-cta__label {
    font-size: 0.95rem;
}

.match-hero-cta__logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    outline: solid 0.1rem var(--wp-main-color, #be2edd);
    background: #ffffff;
    padding: 2px;
}

.match-hierarchy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.match-flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: var(--border-radius-pill, 999px);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
}

.match-flag-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.22);
    padding: 6px;
    object-fit: contain;
    box-shadow: var(--box-shadow);
}

.match-flag-label {
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
}

.match-flag-label:hover {
    text-decoration: underline;
}

.match-flag-label:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
    border-radius: 6px;
}

.tw-aces-sports-match-hero p {
    margin: 6px 0;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.tw-aces-sports-match-hero p strong {
    font-weight: 600;
    color: #fff;
}

.tw-aces-sports-panel {
    padding: 32px 36px;
    border-bottom: 1px solid #f0f2f8;
}

.tw-aces-sports-panel:last-of-type {
    border-bottom: none;
}

.tw-aces-sports-panel h2 {
    margin-top: 0;
    /* Typography uses unified heading styles */
    margin-bottom: 16px;
    color: #131722;
}

.tw-aces-sports-panel p {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.6;
    color: #374151;
}

.probability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius, 12px);
    overflow: hidden;
    background: #fff;
}

.prob-item {
    position: relative;
    padding: 16px 18px;
    text-align: center;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    box-shadow: none;
    border-radius: 0;
    transition: background-color 0.15s ease;
}

.prob-item:last-child {
    border-right: 0;
}

.prob-item--lead {
    background: color-mix(in srgb, var(--wp-main-color, #be2edd) 7%, #fff 93%);
}

.prob-item--lead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wp-main-color, #be2edd);
}

.prob-item--correct {
    background: #f0fdf4;
    border-color: #bbf7d0;
    box-shadow: none;
    opacity: 1;
}

.prob-item--incorrect {
    background: #fef2f2;
    border-color: #fecaca;
    box-shadow: none;
    opacity: 0.85;
}

.prob-item .label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
    text-transform: none;
    letter-spacing: 0;
}

.prob-item--correct .label {
    color: #047857;
}

.prob-item--incorrect .label {
    color: #991b1b;
}

.prob-item .value {
    font-size: clamp(1.35rem, 2.6vw, 1.65rem);
    font-weight: 700;
    color: #131722;
    line-height: 1.2;
}

.prob-item--lead .value {
    color: #131722;
}

.prob-item--cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.prob-item--cta:hover,
.prob-item--cta:focus-visible {
    background: color-mix(in srgb, var(--wp-main-color, #be2edd) 12%, #fff 88%);
    text-decoration: none;
    color: inherit;
}

.prob-item--cta:focus-visible {
    outline: 2px solid #1e40af;
    outline-offset: -2px;
}

.prob-item__bonus {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background-color: var(--aces-org-promo-bg, #eff6ff);
    color: var(--aces-org-promo-text, #1e3a8a);
    border: 1px solid var(--aces-org-promo-border, #bfdbfe);
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: left;
    max-width: 100%;
    box-sizing: border-box;
}

.prob-item__bonus-icon {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--aces-org-promo-icon-bg, #1e40af);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23ffffff'%3E%3Cpath d='M32.5 96l0 149.5c0 17 6.7 33.3 18.7 45.3l192 192c25 25 65.5 25 90.5 0L483.2 333.3c25-25 25-65.5 0-90.5l-192-192C279.2 38.7 263 32 246 32L96.5 32c-35.3 0-64 28.7-64 64zm112 16a32 32 0 1 1 0 64 32 32 0 1 1 0-64z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 52% auto;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.prob-item__bonus-value {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.prob-item__cta-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #1e293b;
    background-image: linear-gradient(
        135deg,
        color-mix(in srgb, var(--wp-second-color, #1e40af) 58%, #000 42%),
        color-mix(in srgb, var(--wp-second-color, #1e40af) 45%, #000 55%)
    );
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
}

.prob-item--correct .value {
    color: #047857;
}

.prob-item--incorrect .value {
    color: #b91c1c;
}

.prob-result-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.prob-result-icon--correct {
    background: rgba(34, 197, 94, 0.18);
    color: #047857;
    box-shadow: none;
}

.prob-result-icon--incorrect {
    background: rgba(239, 68, 68, 0.14);
    color: #b91c1c;
    box-shadow: none;
}

.prediction-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    border-top: 1px solid #f0f2f8;
}

.prediction-meta li {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #f0f2f8;
    border-radius: 0;
    padding: 12px 0;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: #374151;
    line-height: 1.5;
}

.prediction-meta li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ai-summary {
    line-height: 1.65;
    font-size: clamp(1rem, 1.6vw, 1.0625rem);
    color: #374151;
}

.ai-summary p {
    margin: 0 0 1rem;
    line-height: 1.65;
    font-size: inherit;
    color: inherit;
}

.ai-summary p:last-child {
    margin-bottom: 0;
}

.ai-summary ul,
.ai-summary ol,
.ai-summary .tw-aces-ai-bullets {
    margin: 0.75rem 0 0;
    padding-left: 1.4em;
    line-height: 1.65;
}

.ai-summary ul {
    list-style: disc;
}

.ai-summary ol {
    list-style: decimal;
}

.ai-summary ul li,
.ai-summary ol li,
.ai-summary .tw-aces-ai-bullets li {
    margin: 0.5em 0;
    padding: 0;
    line-height: 1.65;
}

.ai-summary p + ul,
.ai-summary p + ol,
.ai-summary p + .tw-aces-ai-bullets {
    margin-top: 0.85rem;
}

.ai-summary strong {
    font-weight: 700;
}

.weather ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.weather li {
    background: #eef2ff;
    border-radius: 10px;
    padding: 12px 16px;
    color: #1e3a8a;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

.bookmaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.bookmaker-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    overflow: hidden;
}

.bookmaker-card__logo {
    display: block;
    max-width: 160px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 16px;
}

.bookmaker-card__title {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin: 0;
    color: #0f172a;
}

.bookmaker-card__bonus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.08);
    color: #1e40af;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bookmaker-card__bonus:hover,
.bookmaker-card__bonus:focus {
    background: rgba(29, 78, 216, 0.14);
    color: #1e3a8a;
    transform: translateY(-1px);
}

.bookmaker-card__bonus-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1e40af;
    font-weight: 700;
}

.bookmaker-card__bonus-value {
    font-size: 0.95rem;
    color: #1e3a8a;
}

.bookmaker-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 10px 22px;
    border-radius: 999px;
    background-color: #1e293b;
    background-image: linear-gradient(135deg, color-mix(in srgb, var(--wp-second-color, #1e40af) 58%, #000 42%), color-mix(in srgb, var(--wp-second-color, #1e40af) 45%, #000 55%));
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Event thumbnail shown in match details */
.match-event-thumb {
    margin: 12px 0 8px;
    display: block;
}
.match-event-thumb__img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 18px 36px rgba(2,6,23,0.12);
    display: block;
}

.bookmaker-card__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(19, 168, 255, 0.3);
}

.bookmaker-card__cta-label {
    font-size: 0.95rem;
}

.bookmaker-card__cta-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    outline: solid .1rem var(--wp-main-color, #be2edd);
    outline-color: var(--wp-main-color, #be2edd);
    outline-offset: 1px;
    filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.32));
}

.odds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin: 12px 0 8px;
}

.odds-item {
    background: #eef2ff;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.16);
}

.odds-label {
    font-size: 14px;
    font-weight: 600;
    color: #4338ca;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.odds-price {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.odds-runner {
    font-size: 12px;
    color: #6b7280;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.odds-bookmaker {
    font-size: 13px;
    color: #4b5563;
}

.odds-bookmaker-link {
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    margin-top: 4px;
    align-self: flex-start;
}

.odds-bookmaker-link:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

.odds-timestamp {
    font-size: 14px;
    color: #6b7280;
    margin-top: 12px;
}

.live-odds p {
    font-size: 20px;
    font-weight: 600;
    color: #0d6efd;
}

.comments {
    padding: 32px 36px;
    background: #f9fafb;
}

.tw-aces-sports-match-single .comment-respond {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--box-shadow);
}

@media (max-width: 48em) {
    .tw-aces-sports-match-single,
    .tw-mercury-box > main#primary.tw-aces-sports-match-single,
    body.single main#primary.tw-aces-sports-match-single,
    main#primary.tw-aces-sports-match-single {
        --tips-side-padding: 1rem;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .tw-aces-sports-match-hero {
        padding: 24px;
    }

    .tw-aces-sports-match-hero--has-image {
        min-height: 320px;
    }

    .tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__content {
        padding: 0 20px 22px;
    }

    .tw-aces-sports-match-hero--has-image .tw-aces-sports-match-hero__meta {
        padding: 12px 14px;
    }

    .tw-aces-sports-match-hero .match-teams {
        flex-direction: column;
        gap: 18px;
    }

    .match-team {
        font-size: 24px;
    }

    .match-team-logo {
        width: 30px;
        height: 30px;
        padding: 4px;
    }

    .match-hierarchy {
        flex-wrap: wrap;
        gap: 12px;
    }

    .match-flag {
        padding: 6px 10px;
        gap: 8px;
    }

    .match-flag-logo {
        width: 28px;
        height: 28px;
        padding: 5px;
    }

    .match-flag-label {
        font-size: 12px;
    }

    .tw-aces-sports-panel {
        padding: 24px;
    }

    .probability-grid {
        grid-template-columns: 1fr;
    }

    .prob-item {
        padding: 14px 16px;
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .prob-item:last-child {
        border-bottom: 0;
    }

    .prob-item .value {
        font-size: 1.35rem;
    }
}

/* Market predictions styles */
.market-predictions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f2f8;
}

.market-predictions h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: none;
    color: #131722;
}

.market-predictions-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius, 12px);
    overflow: hidden;
    background: #fff;
}

.match-predictions-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 0;
    padding-top: 0;
}

.match-partner-cta-panel {
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
}

.match-predictions-cta__bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    text-decoration: none;
    border: 1px solid #bfdbfe;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.match-predictions-cta__bonus:hover,
.match-predictions-cta__bonus:focus {
    background: #dbeafe;
    color: #1e3a8a;
    transform: translateY(-1px);
}

.match-predictions-cta__bonus-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.match-predictions-cta__bonus-value {
    font-size: 0.95rem;
}

.match-predictions-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: min(100%, 320px);
    padding: 14px 28px;
    border-radius: 14px;
    background-color: #1e293b;
    background-image: linear-gradient(135deg, color-mix(in srgb, var(--wp-second-color, #1e40af) 58%, #000 42%), color-mix(in srgb, var(--wp-second-color, #1e40af) 45%, #000 55%));
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-predictions-cta__button:hover,
.match-predictions-cta__button:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.26);
}

.match-predictions-cta__label {
    line-height: 1.1;
}

.match-predictions-cta__logo {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 2px;
}

.market-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    transition: background-color 0.15s ease;
}

.market-item:last-child {
    border-bottom: 0;
}

.market-item:hover {
    background: #f8fafc;
}

.market-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    flex: 1;
}

.market-probability {
    font-size: 0.95rem;
    font-weight: 700;
    color: #131722;
    margin-left: 12px;
    white-space: nowrap;
}

.market-item .prob-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-left: 8px;
}

.market-item .prob-result-icon--correct {
    background: rgba(34, 197, 94, 0.18);
    color: #047857;
}

.market-item .prob-result-icon--incorrect {
    background: rgba(239, 68, 68, 0.18);
    color: #b91c1c;
}

.market-item--correct {
    background: #f0fdf4;
}

.market-item--correct .market-probability {
    color: #047857;
}

.market-item--incorrect {
    background: #fef2f2;
}

.market-item--incorrect .market-probability {
    color: #b91c1c;
}

@media (max-width: 48em) {
    .market-item {
        padding: 12px 14px;
    }

    .market-label {
        font-size: 0.88rem;
    }

    .market-probability {
        font-size: 0.92rem;
    }
}

/* League standings styles */
.league-standings {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(139, 92, 246, 0.04));
}

.standings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.standings-table {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.standings-table h3 {
    margin: 0 0 16px;
    /* Typography uses unified heading styles */
    color: #0f172a;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.standings-table--home h3 {
    color: #1e40af;
}

.standings-table--away h3 {
    color: #dc2626;
}

.team-standings {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.team-standings tbody tr {
    border-bottom: 1px solid #f0f2f8;
    transition: background-color 0.2s ease;
}

.team-standings tbody tr:hover {
    background-color: #f9fafb;
}

.team-standings tbody tr:last-child {
    border-bottom: none;
}

.team-standings td {
    padding: 12px 0;
    vertical-align: middle;
}

.team-standings td.label {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: 55%;
}

.team-standings td.value {
    text-align: right;
    color: #111827;
    font-weight: 500;
}

.standings-table--home td.value strong {
    color: #1e40af;
    font-weight: 700;
}

.standings-table--away td.value strong {
    color: #dc2626;
    font-weight: 700;
}

@media (max-width: 48em) {
    .standings-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .standings-table {
        padding: 16px;
    }

    .standings-table h3 {
        /* Typography uses unified heading styles */
        margin-bottom: 12px;
    }

    .team-standings td {
        padding: 10px 0;
    }

    .team-standings td.label {
        font-size: 0.8rem;
    }

    .team-standings td.value {
        font-size: 0.95rem;
    }
}

/* Editor's note + author (indexed fixture pages) */
.tw-aces-sports-match-editors-aside {
    display: block;
}

.tw-aces-sports-match-editors-aside .tw-aces-sports-match-editors-note {
    margin-top: 0;
}

.tw-aces-sports-match-editors-note {
    margin-top: 0;
}

.tw-aces-sports-match-editors-note .tips-expanded__editors-note-byline {
    margin-bottom: 0.45rem;
}

.tw-aces-sports-match-editors-note .tips-expanded__editors-note-byline + .tips-expanded__editors-note-title {
    margin-top: 0;
}

.tw-aces-sports-match-editors-note.tips-expanded__editors-note {
    padding: 1.25rem 1.35rem 1.35rem;
    border-radius: 0.75rem;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}

.tw-aces-sports-match-editors-aside.tw-aces-sports-panel {
    padding-top: 28px;
    padding-bottom: 28px;
}

/* Other tips + sport browse (indexed fixture pages) */
.tw-aces-sports-match-discover {
    margin-top: 0;
    padding: 2.25rem 1.75rem 2.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
    --tips-side-padding: 0;
    box-sizing: border-box;
}

.tw-aces-sports-match-discover .tips-other-matches {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.tw-aces-sports-match-discover .tips-other-matches__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.5rem;
}

.tw-aces-sports-match-discover .tips-other-matches__slider.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
    padding: 0.5rem 0 1.25rem;
}

.tw-aces-sports-match-discover .tips-other-matches__slider .tips-card {
    height: auto;
}

.tw-aces-sports-match-discover .tips-card__header {
    padding: 1.35rem 1.35rem 0.85rem;
}

.tw-aces-sports-match-discover .tips-card__matchup {
    padding: 0 1.35rem 0.15rem;
}

.tw-aces-sports-match-discover .tips-card__body {
    padding: 0.85rem 1.35rem 0.85rem;
    gap: 0.85rem;
}

.tw-aces-sports-match-discover .tips-card__meta {
    margin-bottom: 0.15rem;
}

.tw-aces-sports-match-discover .tips-pick--compact {
    padding: 1rem 1.15rem 1.05rem;
}

.tw-aces-sports-match-discover .tips-pick--compact .tips-pick__value {
    gap: 0.35rem;
}

.tw-aces-sports-match-discover .tips-pick__header-row {
    margin-bottom: 0.35rem;
}

.tw-aces-sports-match-discover .tips-card__footer {
    padding: 1.25rem 1.35rem 1.65rem;
}

.tw-aces-sports-match-discover .tips-card__hot-badge {
    top: 0.75rem;
    right: 0.75rem;
    transform: none;
}

.tw-aces-sports-match-discover .tips-other-matches__actions {
    margin-top: 0.25rem;
}

@media (max-width: 67.5em) {
    .tw-aces-sports-match-discover .tips-other-matches__slider.tips-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 42em) {
    .tw-aces-sports-match-discover {
        padding: 1.75rem 1rem 2rem;
    }

    .tw-aces-sports-match-discover .tips-other-matches__slider.tips-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem 0 1rem;
    }

    .tw-aces-sports-match-discover .tips-other-matches__slider .tips-card {
        flex: 0 0 min(280px, 85vw);
        scroll-snap-align: start;
    }
}

.tw-aces-sports-match-discover .tips-browse {
    margin-top: 2rem;
    padding-top: 0;
    background: transparent;
}

.tw-aces-sports-match-discover .tips-browse__inner {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
