/* WagerX review player-care panel: quiet, practical, and readable in both themes. */
.wway-review-care {
    --wway-care-bg: #e7f2ef;
    --wway-care-border: #a8cbc2;
    --wway-care-ink: #173c39;
    --wway-care-muted: #365b57;
    --wway-care-accent: #17685f;
    --wway-care-link: #075e55;
    --wway-care-rule: #bdd5cf;

    position: relative;
    scroll-margin-top: 100px;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 0 24px;
    padding: 20px 22px 18px;
    border: 1px solid var(--wway-care-border);
    border-inline-start: 4px solid var(--wway-care-accent);
    border-radius: 12px;
    background: var(--wway-care-bg);
    color: var(--wway-care-ink);
}

.wway-review-care *,
.wway-review-care *::before,
.wway-review-care *::after {
    box-sizing: border-box;
}

.wway-review-care__eyebrow {
    margin: 0 0 5px !important;
    color: var(--wway-care-accent) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em;
    line-height: 1.35 !important;
    text-transform: uppercase;
}

.wway-review-care h2#play-wagerx-way-title {
    display: block;
    margin: 0 0 7px !important;
    color: var(--wway-care-ink) !important;
    font-size: clamp(1.12rem, 2vw, 1.28rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em;
    line-height: 1.25 !important;
}

.wway-review-care__lead {
    margin: 0 0 8px !important;
    color: var(--wway-care-ink) !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

.wway-review-care__guidance,
.wway-review-care__legal {
    margin: 0 !important;
    color: var(--wway-care-muted) !important;
    font-size: 0.86rem !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere;
}

.wway-review-care__legal {
    margin-top: 12px !important;
    padding-top: 11px;
    border-top: 1px solid var(--wway-care-rule);
    font-size: 0.79rem !important;
}

.wway-review-care__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 12px;
}

.wway-review-care a,
.wway-review-care a:visited {
    color: var(--wway-care-link) !important;
    font-size: 0.82rem !important;
    font-weight: 750 !important;
    line-height: 1.5 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.wway-review-care a:hover {
    color: var(--wway-care-ink) !important;
    text-decoration-thickness: 2px;
}

.wway-review-care a:focus-visible {
    outline: 3px solid var(--wway-care-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

html[data-theme="dark"] .wway-review-care {
    --wway-care-bg: #183633;
    --wway-care-border: #426963;
    --wway-care-ink: #f0f7f4;
    --wway-care-muted: #d0e2dc;
    --wway-care-accent: #91c9bc;
    --wway-care-link: #b5e5d8;
    --wway-care-rule: #426963;
}

/* Small contextual notes are separate from the main panel and can sit in review copy. */
.wway-review-note,
.wway-review-note--bonus,
.wway-review-note--legal {
    box-sizing: border-box;
    margin: 12px 0;
    padding: 10px 13px;
    border: 1px solid #b7d2cb;
    border-inline-start: 3px solid #34796f;
    border-radius: 8px;
    background: #edf5f2;
    color: #294c47;
    font-size: 0.82rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.wway-review-note--bonus {
    border-color: #c7d3b7;
    border-inline-start-color: #667b4d;
    background: #f1f4e9;
    color: #3e5032;
}

.wway-review-note--legal {
    border-color: #c9d0d2;
    border-inline-start-color: #66777b;
    background: #eef1f1;
    color: #3e5053;
}

html[data-theme="dark"] .wway-review-note,
html[data-theme="dark"] .wway-review-note--bonus,
html[data-theme="dark"] .wway-review-note--legal {
    border-color: #48615d;
    background: #203532;
    color: #dce9e5;
}

html[data-theme="dark"] .wway-review-note--bonus {
    border-color: #59684c;
    background: #30392c;
    color: #e5eadb;
}

html[data-theme="dark"] .wway-review-note--legal {
    border-color: #566366;
    background: #2b3537;
    color: #e1e8e8;
}

@media (max-width: 480px) {
    .wway-review-care {
        padding: 17px 16px 16px;
    }

    .wway-review-care__links {
        gap: 8px 14px;
    }
}
