.cherry-search-card {
    min-width: 0;
    align-self: start;
    padding: 12px;
    margin: 8px 0 0;
    border: 1px solid #703349;
    border-top-color: #a05266;
    border-radius: 10px;
    background: linear-gradient(165deg, #3c1728, #241019 72%);
    color: #fae9ec;
    box-shadow: inset 0 1px #f5a1b412, 0 6px 16px #1e07163d;
    text-align: left;
    color-scheme: dark;
}

.cherry-search-card h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 9px;
    font-size: .925rem;
    font-weight: 800;
    line-height: 1.25;
}

.cherry-search-icon {
    box-sizing: border-box;
    width: 13px;
    height: 13px;
    margin: 0 3px 2px 1px;
    border: 2px solid #f3a6ad;
    border-radius: 50%;
    position: relative;
}

.cherry-search-icon::after {
    content: "";
    width: 6px;
    height: 2px;
    border-radius: 3px;
    background: #f3a6ad;
    position: absolute;
    top: 9px;
    left: 7px;
    transform: rotate(45deg);
}

.cherry-search-box { position: relative; }

.cherry-search-box input {
    display: block;
    width: 100%;
    height: 42px;
    min-width: 0;
    padding: 0 33px 0 11px;
    border: 1px solid #895063;
    border-radius: 7px;
    outline: 0;
    background: #230f19;
    color: #fff4f2;
    font-size: .875rem;
    line-height: 1.25;
    caret-color: #ffaeb5;
}

.cherry-search-box input::-webkit-search-cancel-button { appearance: none; }
.cherry-search-box input::placeholder { color: #c8a2ad; }
.cherry-search-box input:focus { border-color: #ff9eae; box-shadow: 0 0 0 2px #ff9eae35; }

.cherry-search-clear {
    position: absolute;
    right: 2px;
    inset-block: 2px;
    min-width: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffb9c2;
    font-size: 21px;
}

.cherry-search-example {
    margin: 7px 0 0;
    font-size: .75rem;
    color: #d5b3bf;
    line-height: 1.35;
}

.cherry-search-panel { margin: 9px -2px 0; }
.cherry-search-meta { margin: 0 2px 6px; font-size: .75rem; color: #edbac7; line-height: 1.35; }
.cherry-search-list { display: grid; gap: 4px; list-style: none; padding: 0; margin: 0; }

.cherry-search-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 5px;
    align-items: center;
    min-height: 46px;
    padding: 6px 7px 6px 9px;
    border: 1px solid #633149;
    border-radius: 6px;
    background: #36202d;
    cursor: pointer;
}

.cherry-search-result:hover,
.cherry-search-result[aria-selected="true"] {
    border-color: #e889a2;
    background: #592c43;
}

.cherry-search-result strong,
.cherry-search-result small {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.cherry-search-result strong { font-size: .875rem; color: #fff1ef; }
.cherry-search-result small { font-size: .71rem; color: #e0b7c3; margin-top: 2px; }
.cherry-search-kind { border-radius: 4px; padding: 3px 5px; background: #753a50; color: #ffe1dd; font-size: .69rem; white-space: nowrap; }
.cherry-search-result[data-type="provider"] .cherry-search-kind { background: #554038; color: #ffdbb7; }
.cherry-search-result[data-type="casino"] .cherry-search-kind { background: #58416b; color: #f5defe; }
.cherry-search-card [hidden] { display: none !important; }

.cherry-search-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.cherry-match-search { margin-top: 1px; }

.cherry-match-results {
    margin: 9px -2px 0;
}

.cherry-match-list,
.cherry-match-cart-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cherry-match-result {
    overflow: hidden;
    border: 1px solid #67334b;
    border-radius: 8px;
    background: #321925;
}

.cherry-match-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 6px;
    width: 100%;
    min-height: 55px;
    padding: 8px 9px;
    border: 0;
    color: #fff0ef;
    background: transparent;
    text-align: left;
}

.cherry-match-row:hover,
.cherry-match-row[aria-expanded="true"] { background: #492339; }
.cherry-match-row:focus-visible { outline: 2px solid #ffb8c4; outline-offset: -2px; }

.cherry-match-league {
    overflow: hidden;
    color: #e0a9bb;
    font-size: .72rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cherry-match-time {
    align-self: start;
    color: #ffe2bd;
    font-size: .7rem;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
}

.cherry-match-time[data-live] {
    color: #ffd6db;
    font-weight: 750;
}

.cherry-match-time[data-live]::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 4px 2px 0;
    border-radius: 50%;
    background: #ff7693;
}

.cherry-match-teams {
    font-size: .84rem;
    font-weight: 750;
    line-height: 1.35;
}

.cherry-match-chevron {
    place-self: center;
    margin-right: 2px;
    width: 6px;
    height: 6px;
    border-right: 1px solid #ffc2ce;
    border-bottom: 1px solid #ffc2ce;
    transform: rotate(45deg);
}

.cherry-match-row[aria-expanded="true"] .cherry-match-chevron { transform: rotate(225deg); }

.cherry-match-odds-area { padding: 7px 7px 6px; }
.cherry-match-odds { display: grid; grid-template-columns: repeat(var(--outcomes, 3), minmax(0, 1fr)); gap: 4px; }

.cherry-match-odd {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 43px;
    padding: 5px 3px;
    border: 1px solid #855067;
    border-radius: 5px;
    background: #29121f;
    color: #f2d6de;
    line-height: 1.2;
    text-align: center;
}

.cherry-match-odd span { font-size: .72rem; }
.cherry-match-odd strong { color: #ffdfcf; font-size: .84rem; font-variant-numeric: tabular-nums; }
.cherry-match-odd:hover { border-color: #df839c; }
.cherry-match-odd[aria-pressed="true"] { border-color: #ffadbf; background: #7a314d; color: #fff0e9; }
.cherry-match-odd:focus-visible, .cherry-match-details-link:focus-visible { outline: 2px solid #ffb8c4; outline-offset: 1px; }

.cherry-match-details-link,
.cherry-match-cart-jump {
    display: block;
    width: fit-content;
    min-height: 26px;
    margin: 5px auto 0;
    padding: 2px 5px;
    border: 0;
    background: transparent;
    color: #f8b8c7;
    font-size: .73rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cherry-match-cart-jump { display: none; }
.cherry-match-feedback { margin: 8px 0 0; color: #ffd0b7; font-size: .76rem; line-height: 1.4; }

.cherry-match-cart {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #875068;
    border-radius: 9px;
    background: #2e1320;
    color: #fae3e8;
    scroll-margin-top: 16px;
}

.cherry-match-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 43px;
    padding: 7px 11px;
    border-bottom: 1px solid #854156;
    background: linear-gradient(120deg, #67243d, #4a1a2f);
}

.cherry-match-cart-head h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: .9rem; font-weight: 800; }
.cherry-match-cart-count { min-width: 20px; padding: 1px 4px; border-radius: 999px; background: #2c121d; color: #ffcbac; font-variant-numeric: tabular-nums; font-size: .75rem; text-align: center; }
.cherry-match-demo-label { padding: 2px 6px; border: 1px solid #a76478; border-radius: 5px; color: #ffe1d2; font-size: .68rem; line-height: 1.25; }
.cherry-match-cart-content { padding: 9px 10px 10px; }

.cherry-match-cart-empty {
    margin: 0;
    padding: 10px 7px;
    border: 1px dashed #75465a;
    border-radius: 6px;
    color: #e5bcc8;
    font-size: .8rem;
    line-height: 1.4;
    text-align: center;
}

.cherry-match-cart-item {
    position: relative;
    padding: 7px 27px 7px 8px;
    border: 1px solid #73384f;
    border-radius: 6px;
    background: #402032;
}

.cherry-match-cart-item .cherry-match-teams { display: block; overflow-wrap: anywhere; }
.cherry-match-cart-pick { display: block; margin-top: 3px; color: #ffc7b3; font-size: .72rem; }
.cherry-match-cart-remove { position: absolute; top: 3px; right: 4px; min-width: 21px; height: 22px; padding: 0; border: 0; background: transparent; color: #f7b9c6; font-size: 17px; line-height: 1; }
.cherry-match-cart-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #67354d; font-size: .78rem; }
.cherry-match-cart-total { color: #ffd7a6; font-variant-numeric: tabular-nums; }
.cherry-match-cart-clear { min-height: 26px; padding: 3px 6px; border: 1px solid #895569; border-radius: 5px; background: #391b2a; color: #ffced5; font-size: .72rem; }

.cherry-match-search [hidden],
.cherry-match-cart [hidden] { display: none !important; }

.cherry-match-detail {
    width: min(440px, calc(100% - 32px));
    padding: 18px;
    border: 1px solid #a65e74;
    border-radius: 12px;
    background: #301421;
    color: #fff0ef;
    box-shadow: 0 22px 65px #100611b8;
}

.cherry-match-detail::backdrop { background: #180712c9; }
.cherry-match-detail-head { display: flex; align-items: center; justify-content: space-between; }
.cherry-match-detail-close { width: 28px; height: 28px; padding: 0; border: 1px solid #a86d82; border-radius: 5px; background: #422033; color: #fff1ed; font-size: 20px; }
.cherry-match-detail h2 { margin: 8px 0 3px; font-size: 1.06rem; line-height: 1.35; }
.cherry-match-detail-meta { margin: 0 0 12px; color: #e0acc0; font-size: .78rem; }
.cherry-match-detail-markets { display: grid; gap: 9px; }
.cherry-match-detail-market { padding: 9px; border: 1px solid #6c3850; border-radius: 7px; background: #3d1c2e; }
.cherry-match-detail-market h3 { margin: 0 0 6px; color: #ffe0dd; font-size: .8rem; }
.cherry-match-detail-market .cherry-match-odds { gap: 6px; }

@media (max-width: 1100px) {
    .cherry-match-search .cherry-match-cart-jump:not([hidden]) { display: block; }
    .fox-common-member-rail > .cherry-match-cart { grid-column: 1; margin: 0 16px 16px; }
}

.cherry-search-group { min-width: 0; display: grid; gap: 8px; }
.cherry-match-cart-mode { margin: 6px 0 2px; font-size: .74rem; color: #ecc2d0; }
.cherry-match-cart-link { color: #ffc2ab; font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }
.cherry-match-odd:disabled { cursor: default; opacity: .55; }
@media (max-width: 760px) {
    .cherry-search-group, .fox-common-member-rail > .cherry-match-cart { display: none !important; }
}
[data-cherry-search-login] { display: none !important; }
.cherry-match-cart-clear { display: block; margin: 8px 0 0 auto; }
