/* =========================================================
   BASIC PROBABILITY PRACTICE
   /interactive-learning-tools/basic-probability/
   ========================================================= */


/* =========================================================
   PAGE VARIABLES
   ========================================================= */

.bp-practice-page {
    --bp-navy: #16324f;
    --bp-navy-dark: #10283f;
    --bp-teal: #159a9c;
    --bp-teal-dark: #117d7f;
    --bp-teal-soft: #e9f7f7;
    --bp-green: #198754;
    --bp-green-dark: #146c43;
    --bp-green-soft: #eaf7ef;
    --bp-red: #dc3545;
    --bp-red-soft: #fcebec;
    --bp-amber: #b7791f;
    --bp-amber-soft: #fff8e7;
    --bp-blue: #2f6ea5;
    --bp-blue-soft: #eef6fc;
    --bp-purple: #7c3aed;
    --bp-purple-soft: #f3efff;
    --bp-text: #263746;
    --bp-muted: #667788;
    --bp-border: #d9e2e8;
    --bp-border-light: #e8eef2;
    --bp-bg: #f5f8fa;
    --bp-white: #ffffff;
    --bp-shadow: 0 12px 34px rgba(22, 50, 79, 0.10);
    --bp-shadow-small: 0 5px 18px rgba(22, 50, 79, 0.08);

    color: var(--bp-text);
    font-family: "Inter", sans-serif;
}


/* =========================================================
   GENERAL
   ========================================================= */

.bp-practice-page *,
.bp-practice-page *::before,
.bp-practice-page *::after {
    box-sizing: border-box;
}

.bp-practice-page button,
.bp-practice-page input,
.bp-practice-page select {
    font-family: inherit;
}

.bp-practice-page button {
    -webkit-tap-highlight-color: transparent;
}

.bp-practice-page [hidden] {
    display: none !important;
}


/* =========================================================
   PRACTICE SECTION
   ========================================================= */

.bp-section {
    padding: 4.5rem 1.5rem;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fafb 55%,
            #ffffff 100%
        );
}

.bp-app {
    width: min(1180px, 100%);
    margin: 0 auto;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.bp-eyebrow {
    margin: 0 0 0.45rem;
    color: var(--bp-teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.bp-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.75rem;
}

.bp-toolbar-heading {
    max-width: 760px;
}

.bp-toolbar-heading h2 {
    margin: 0 0 0.65rem;
    color: var(--bp-navy);
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.15;
}

.bp-toolbar-heading > p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--bp-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.bp-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bp-control-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bp-control-group label {
    color: var(--bp-navy);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bp-select {
    min-width: 180px;
    padding: 0.75rem 2.6rem 0.75rem 0.9rem;
    border: 1px solid var(--bp-border);
    border-radius: 0.65rem;
    background-color: var(--bp-white);
    color: var(--bp-text);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.bp-select:focus {
    border-color: var(--bp-teal);
    box-shadow: 0 0 0 3px rgba(21, 154, 156, 0.14);
}


/* =========================================================
   PRACTICE MODE SELECTOR
   ========================================================= */

.bp-mode-selector {
    margin-bottom: 1.6rem;
    padding: 1.15rem;
    border: 1px solid var(--bp-border-light);
    border-radius: 1rem;
    background: var(--bp-white);
    box-shadow: var(--bp-shadow-small);
}

.bp-mode-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.bp-mode-label {
    color: var(--bp-navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.bp-mode-help {
    color: var(--bp-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    text-align: right;
}

.bp-mode-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.bp-mode-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--bp-border);
    border-radius: 0.7rem;
    background: #f8fafb;
    color: var(--bp-navy);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.bp-mode-button:hover {
    border-color: var(--bp-teal);
    background: var(--bp-teal-soft);
}

.bp-mode-button.is-active {
    border-color: var(--bp-teal);
    background: var(--bp-teal);
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(21, 154, 156, 0.22);
}

.bp-mode-button:active {
    transform: translateY(1px);
}


/* =========================================================
   ROUND PROGRESS
   ========================================================= */

.bp-progress-area {
    margin-bottom: 1.1rem;
}

.bp-progress-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
    color: var(--bp-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.bp-progress-track {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf1;
}

.bp-progress-bar {
    width: 10%;
    height: 100%;
    border-radius: inherit;
    background: var(--bp-teal);
    transition: width 0.35s ease;
}


/* =========================================================
   MAIN PRACTICE CARD
   ========================================================= */

.bp-card {
    overflow: hidden;
    border: 1px solid var(--bp-border);
    border-radius: 1.25rem;
    background: var(--bp-white);
    box-shadow: var(--bp-shadow);
}

.bp-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 1.6rem;
    border-bottom: 1px solid var(--bp-border-light);
    background: #fbfcfd;
}

.bp-card-label {
    margin: 0 0 0.3rem;
    color: var(--bp-teal-dark);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bp-step-instruction {
    margin: 0;
    color: var(--bp-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.bp-card-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.bp-experiment-badge,
.bp-mode-badge,
.bp-difficulty-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.bp-experiment-badge {
    background: var(--bp-blue-soft);
    color: var(--bp-blue);
}

.bp-mode-badge {
    background: var(--bp-teal-soft);
    color: var(--bp-teal-dark);
}

.bp-difficulty-badge {
    background: #edf2f6;
    color: var(--bp-navy);
}


/* =========================================================
   CURRENT PROBLEM
   ========================================================= */

.bp-current-problem-area {
    padding: 2rem 1.6rem 1.75rem;
    text-align: center;
}

.bp-problem-label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--bp-muted);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bp-problem-prompt {
    max-width: 850px;
    margin: 0 auto 1.5rem;
    color: var(--bp-navy);
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.35;
}


/* =========================================================
   EXPERIMENT STAGE
   ========================================================= */

.bp-experiment-stage {
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--bp-border);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: var(--bp-shadow-small);
}

.bp-sample-space-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 2rem;
    background:
        radial-gradient(
            circle at top,
            rgba(21, 154, 156, 0.07),
            transparent 48%
        ),
        #fbfcfd;
}

.bp-event-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-top: 1px solid var(--bp-border-light);
    background: #ffffff;
}

.bp-event-summary-label {
    color: var(--bp-teal-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.bp-event-summary strong {
    color: var(--bp-navy);
    font-size: 0.95rem;
}


/* =========================================================
   PLACEHOLDER SAMPLE
   ========================================================= */

.bp-placeholder-sample {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 520px;
}

.bp-demo-object {
    display: block;
    width: 58px;
    height: 58px;
    border: 4px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow:
        0 5px 12px rgba(22, 50, 79, 0.14),
        inset 0 -7px 10px rgba(0, 0, 0, 0.09);
}

.bp-demo-object-red {
    background: #e55353;
}

.bp-demo-object-blue {
    background: #4d86c6;
}

.bp-demo-object-green {
    background: #45a76f;
}


/* =========================================================
   GENERIC VISUAL OBJECT STATES
   Used by the JS-generated sample spaces
   ========================================================= */

.bp-outcome {
    position: relative;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.bp-outcome.is-favorable {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 4px rgba(25, 135, 84, 0.14),
        0 7px 18px rgba(22, 50, 79, 0.14);
}

.bp-outcome.is-muted {
    opacity: 0.42;
}


/* =========================================================
   SAMPLE SUMMARY
   ========================================================= */

.bp-sample-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 820px;
    margin: 1.25rem auto 0;
}

.bp-sample-summary-card {
    padding: 0.95rem 1rem;
    border: 1px solid var(--bp-border-light);
    border-radius: 0.75rem;
    background: #f8fafb;
}

.bp-sample-summary-card span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--bp-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bp-sample-summary-card strong {
    color: var(--bp-navy);
    font-size: 1.25rem;
    font-weight: 800;
}


/* =========================================================
   PROBABILITY FORMULA PANEL
   ========================================================= */

.bp-formula-panel {
    margin: 0 1.6rem 1.6rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid #cfe5e5;
    border-radius: 1rem;

    background:
        linear-gradient(
            135deg,
            #f4fbfb 0%,
            #edf8f8 100%
        );

    text-align: center;
}

.bp-formula-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--bp-teal-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bp-formula,
.bp-working-probability,
.bp-reference-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    color: var(--bp-navy);
    font-weight: 700;
}

.bp-formula {
    font-size: clamp(1.2rem, 3.5vw, 1.85rem);
}

.bp-formula-note {
    max-width: 680px;
    margin: 0.9rem auto 0;
    color: var(--bp-muted);
    font-size: 0.83rem;
    line-height: 1.55;
}


/* =========================================================
   FRACTIONS
   ========================================================= */

.bp-fraction {
    display: inline-grid;
    grid-template-rows: auto auto;
    min-width: 4.4em;
    vertical-align: middle;
    text-align: center;
}

.bp-fraction-top {
    display: block;
    padding: 0 0.35em 0.15em;
    border-bottom: 2px solid currentColor;
    line-height: 1.2;
}

.bp-fraction-bottom {
    display: block;
    padding: 0.15em 0.35em 0;
    line-height: 1.2;
}


/* =========================================================
   STEP PROGRESS
   ========================================================= */

.bp-step-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 2rem 1.75rem;
}

.bp-step-marker {
    display: flex;
    flex: 0 0 82px;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: #8b99a5;
    text-align: center;
}

.bp-step-marker > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 2px solid #d8e0e5;
    border-radius: 50%;
    background: #ffffff;
    color: #84929e;
    font-size: 0.82rem;
    font-weight: 800;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.bp-step-marker small {
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.3;
}

.bp-step-marker.is-active > span {
    border-color: var(--bp-teal);
    background: var(--bp-teal);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(21, 154, 156, 0.11);
}

.bp-step-marker.is-active small {
    color: var(--bp-teal-dark);
}

.bp-step-marker.is-complete > span {
    border-color: var(--bp-green);
    background: var(--bp-green);
    color: #ffffff;
}

.bp-step-marker.is-complete small {
    color: var(--bp-green-dark);
}

.bp-step-connector {
    flex: 1 1 70px;
    max-width: 110px;
    height: 2px;
    margin-top: 16px;
    background: #dfe6ea;
}


/* =========================================================
   WORK AREA
   ========================================================= */

.bp-work-area {
    padding: 2rem 1.6rem;
    border-top: 1px solid var(--bp-border-light);
    background: #fbfcfd;
}

.bp-work-step-number {
    margin: 0 0 0.35rem;
    color: var(--bp-teal-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bp-work-area > h3 {
    margin: 0 0 0.45rem;
    color: var(--bp-navy);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 800;
}

.bp-work-description {
    max-width: 780px;
    margin: 0 0 1.2rem;
    color: var(--bp-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}


/* =========================================================
   PROBLEM REMINDER
   ========================================================= */

.bp-problem-reminder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid #d5e8e8;
    border-left: 4px solid var(--bp-teal);
    border-radius: 0.7rem;
    background: var(--bp-teal-soft);
}

.bp-reminder-label {
    color: var(--bp-teal-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bp-problem-reminder strong {
    color: var(--bp-navy);
    font-size: 0.92rem;
    text-align: right;
}


/* =========================================================
   WORKBENCH
   ========================================================= */

.bp-workbench {
    overflow: hidden;
    margin-bottom: 1.3rem;
    border: 1px solid var(--bp-border);
    border-radius: 1rem;
    background: var(--bp-white);
    box-shadow: var(--bp-shadow-small);
}

.bp-workbench-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--bp-border-light);
    background: #f7f9fa;
}

.bp-workbench-heading > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bp-workbench-label {
    color: var(--bp-teal-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-workbench-heading strong {
    color: var(--bp-navy);
    font-size: 0.88rem;
    font-weight: 700;
}

.bp-workbench-status {
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: #eaf0f4;
    color: var(--bp-muted);
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}


/* =========================================================
   WORKING PROBABILITY
   ========================================================= */

.bp-working-probability {
    min-height: 118px;
    padding: 1.5rem 1rem;
    font-size: clamp(1.35rem, 4vw, 2rem);
}

.bp-probability-slot {
    min-width: 2.1em;
    border-radius: 0.25em;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.bp-probability-slot.is-active {
    background: #fff4cf;
    color: #8b6514;
    box-shadow: inset 0 0 0 1px #ecd588;
}

.bp-probability-slot.is-complete {
    background: var(--bp-green-soft);
    color: var(--bp-green-dark);
}


/* =========================================================
   FORMULA EXPLANATION
   ========================================================= */

.bp-formula-explanation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--bp-border-light);
    background: #fbfcfd;
    color: var(--bp-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: center;
}

.bp-formula-explanation svg,
.bp-formula-explanation i {
    color: var(--bp-teal);
}


/* =========================================================
   ANSWER FORMS
   ========================================================= */

.bp-answer-form {
    max-width: 700px;
    margin: 1.3rem auto;
}

.bp-input-label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--bp-navy);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

.bp-input-row {
    display: flex;
    gap: 0.65rem;
}

.bp-step-input {
    width: 100%;
    min-height: 50px;
    padding: 0.7rem 0.85rem;
    border: 2px solid var(--bp-border);
    border-radius: 0.7rem;
    background: #ffffff;
    color: var(--bp-navy);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.bp-step-input:focus {
    border-color: var(--bp-teal);
    box-shadow: 0 0 0 3px rgba(21, 154, 156, 0.12);
}

.bp-step-input.is-correct {
    border-color: var(--bp-green);
    background: var(--bp-green-soft);
}

.bp-step-input.is-incorrect {
    border-color: var(--bp-red);
    background: var(--bp-red-soft);
}

.bp-input-row .bp-step-input {
    flex: 1;
}


/* =========================================================
   FRACTION INPUT
   ========================================================= */

.bp-fraction-input-wrap {
    width: min(320px, 100%);
    margin: 0 auto;
}

.bp-fraction-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.bp-fraction-input-group > span {
    color: var(--bp-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-fraction-input-bar {
    width: 100%;
    height: 3px;
    margin: 0.45rem 0;
    border-radius: 999px;
    background: var(--bp-navy);
}


/* =========================================================
   INTERPRETATION CHOICES
   ========================================================= */

.bp-choice-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
}

.bp-choice-button {
    min-height: 48px;
    padding: 0.65rem 0.55rem;
    border: 1px solid var(--bp-border);
    border-radius: 0.65rem;
    background: #ffffff;
    color: var(--bp-navy);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.bp-choice-button:hover {
    border-color: var(--bp-teal);
    background: var(--bp-teal-soft);
}

.bp-choice-button.is-correct {
    border-color: var(--bp-green);
    background: var(--bp-green-soft);
    color: var(--bp-green-dark);
}

.bp-choice-button.is-incorrect {
    border-color: var(--bp-red);
    background: var(--bp-red-soft);
    color: #a52735;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.bp-submit-button,
.bp-next-button,
.bp-secondary-button {
    border: 0;
    border-radius: 0.7rem;
    font-weight: 800;
    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.bp-submit-button {
    min-height: 50px;
    padding: 0.7rem 1.35rem;
    background: var(--bp-teal);
    color: #ffffff;
    font-size: 0.9rem;
    box-shadow: 0 5px 14px rgba(21, 154, 156, 0.20);
}

.bp-submit-button:hover {
    background: var(--bp-teal-dark);
    transform: translateY(-1px);
}

.bp-wide-submit {
    display: block;
    width: 100%;
    margin-top: 0.8rem;
}

.bp-next-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0.7rem 1.4rem;
    background: var(--bp-green);
    color: #ffffff;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.22);
}

.bp-next-button:hover {
    background: var(--bp-green-dark);
    transform: translateY(-1px);
}

.bp-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--bp-border);
    background: #ffffff;
    color: var(--bp-navy);
    font-size: 0.82rem;
}

.bp-secondary-button:hover {
    border-color: var(--bp-teal);
    background: var(--bp-teal-soft);
}


/* =========================================================
   ACTION ROW
   ========================================================= */

.bp-action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.25rem 1.6rem;
    border-top: 1px solid var(--bp-border-light);
    background: #ffffff;
}


/* =========================================================
   FEEDBACK
   ========================================================= */

.bp-feedback {
    margin: 0 1.6rem 1.4rem;
    padding: 0.95rem 1rem;
    border-radius: 0.7rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

.bp-feedback-neutral {
    border: 1px solid var(--bp-border-light);
    background: #f7f9fa;
    color: var(--bp-muted);
}

.bp-feedback-correct {
    border: 1px solid #bfe0cb;
    background: var(--bp-green-soft);
    color: var(--bp-green-dark);
}

.bp-feedback-incorrect {
    border: 1px solid #efc3c8;
    background: var(--bp-red-soft);
    color: #9f2d3a;
}


/* =========================================================
   HINT / HELP PANEL
   ========================================================= */

.bp-help-panel {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin: 0 1.6rem 1.4rem;
    padding: 1rem 1.1rem;
    border: 1px solid #efdca4;
    border-radius: 0.8rem;
    background: var(--bp-amber-soft);
}

.bp-help-panel-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff2c5;
    color: var(--bp-amber);
}

.bp-help-panel strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #7c5916;
}

.bp-help-panel p {
    margin: 0;
    color: #765f30;
    font-size: 0.86rem;
    line-height: 1.55;
}


/* =========================================================
   PROBABILITY SCALE
   ========================================================= */

.bp-probability-scale-panel {
    max-width: 760px;
    margin: 1.6rem auto 0;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--bp-border);
    border-radius: 0.85rem;
    background: #ffffff;
}

.bp-scale-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bp-scale-label {
    color: var(--bp-navy);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bp-scale-heading > span:last-child {
    color: var(--bp-teal-dark);
    font-size: 0.85rem;
    font-weight: 800;
}

.bp-probability-scale {
    position: relative;
}

.bp-scale-track {
    position: relative;
    width: 100%;
    height: 12px;
    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #e66363 0%,
            #efb451 25%,
            #e7cb4f 50%,
            #68b889 75%,
            #24966c 100%
        );
}

.bp-scale-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: var(--bp-navy);
    box-shadow: 0 2px 8px rgba(22, 50, 79, 0.28);
    transform: translate(-50%, -50%);
}

.bp-scale-values,
.bp-scale-words {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bp-scale-values {
    margin-top: 0.4rem;
    color: var(--bp-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.bp-scale-words {
    margin-top: 0.15rem;
    color: var(--bp-navy);
    font-size: 0.72rem;
    font-weight: 700;
}


/* =========================================================
   REFERENCE PANEL
   ========================================================= */

.bp-reference-panel {
    margin: 0 1.6rem 1.5rem;
    overflow: hidden;
    border: 1px solid var(--bp-border);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: var(--bp-shadow-small);
}

.bp-reference-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    border-bottom: 1px solid var(--bp-border-light);
    background: #f7f9fa;
}

.bp-reference-eyebrow {
    margin: 0 0 0.25rem;
    color: var(--bp-teal-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-reference-panel-heading h3 {
    margin: 0;
    color: var(--bp-navy);
    font-size: 1.15rem;
    font-weight: 800;
}

.bp-close-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #e9eef2;
    color: var(--bp-navy);
    cursor: pointer;
}

.bp-close-button:hover {
    background: #dde5ea;
}

.bp-reference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.2rem;
}

.bp-reference-card {
    padding: 1rem;
    border: 1px solid var(--bp-border-light);
    border-radius: 0.75rem;
    background: #fbfcfd;
}

.bp-reference-card-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--bp-teal-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bp-reference-card p {
    margin: 0;
    color: var(--bp-muted);
    font-size: 0.85rem;
    line-height: 1.55;
}

.bp-reference-formula {
    font-size: 1.05rem;
}

.bp-reference-scale {
    padding: 0.2rem 1.2rem 1.2rem;
}

.bp-reference-scale-row {
    display: flex;
    justify-content: space-between;
    color: var(--bp-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.bp-reference-scale-track {
    height: 10px;
    margin: 0.35rem 0;
    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #e66363,
            #e7cb4f,
            #24966c
        );
}

.bp-reference-scale-words {
    color: var(--bp-navy);
}

.bp-reference-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 1.2rem 1.2rem;
    padding: 0.85rem 0.95rem;
    border-radius: 0.7rem;
    background: var(--bp-teal-soft);
    color: var(--bp-teal-dark);
    font-size: 0.82rem;
    line-height: 1.5;
}


/* =========================================================
   COMPLETE PANEL
   ========================================================= */

.bp-complete-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin: 0 1.6rem 1.5rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid #bfe0cb;
    border-radius: 1rem;
    background: var(--bp-green-soft);
}

.bp-complete-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bp-green);
    color: #ffffff;
}

.bp-complete-label {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--bp-green-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.bp-complete-content h3 {
    margin: 0 0 0.25rem;
    color: var(--bp-navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.bp-complete-content p {
    margin: 0;
    color: #477258;
    font-size: 0.84rem;
    line-height: 1.55;
}


/* =========================================================
   STATS
   ========================================================= */

.bp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.15rem;
}

.bp-stat {
    padding: 1rem;
    border: 1px solid var(--bp-border-light);
    border-radius: 0.85rem;
    background: #ffffff;
    box-shadow: var(--bp-shadow-small);
    text-align: center;
}

.bp-stat span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--bp-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bp-stat strong {
    color: var(--bp-navy);
    font-size: 1.45rem;
    font-weight: 800;
}


/* =========================================================
   RESULTS
   ========================================================= */

.bp-results {
    margin-top: 1.2rem;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--bp-border);
    border-radius: 1.2rem;
    background: #ffffff;
    box-shadow: var(--bp-shadow);
    text-align: center;
}

.bp-results-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--bp-amber-soft);
    color: var(--bp-amber);
    font-size: 1.4rem;
}

.bp-results-eyebrow {
    margin: 0 0 0.35rem;
    color: var(--bp-teal-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-results h2 {
    margin-bottom: 0.6rem;
    color: var(--bp-navy);
    font-weight: 800;
}

.bp-results-message {
    max-width: 650px;
    margin: 0 auto 1.5rem;
    color: var(--bp-muted);
    line-height: 1.65;
}

.bp-results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 820px;
    margin: 0 auto 1.6rem;
}

.bp-result-stat {
    padding: 1rem;
    border: 1px solid var(--bp-border-light);
    border-radius: 0.75rem;
    background: #f8fafb;
}

.bp-result-stat span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--bp-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bp-result-stat strong {
    color: var(--bp-navy);
    font-size: 1.35rem;
    font-weight: 800;
}


/* =========================================================
   INFO SECTION
   ========================================================= */

.bp-info-section {
    padding: 5rem 1.5rem;
    background: #ffffff;
}

.bp-info-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.bp-info-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.bp-info-heading h2 {
    margin-bottom: 0.75rem;
    color: var(--bp-navy);
    font-weight: 800;
}

.bp-info-heading > p:last-child {
    margin-bottom: 0;
    color: var(--bp-muted);
    line-height: 1.7;
}


/* =========================================================
   EXAMPLE CARDS
   ========================================================= */

.bp-example-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.bp-example-card {
    padding: 1.4rem;
    border: 1px solid var(--bp-border);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: var(--bp-shadow-small);
}

.bp-example-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: 0.8rem;
    background: var(--bp-teal-soft);
    color: var(--bp-teal-dark);
}

.bp-example-card h3 {
    margin-bottom: 0.6rem;
    color: var(--bp-navy);
    font-size: 1.05rem;
    font-weight: 800;
}

.bp-example-card p {
    color: var(--bp-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.bp-example-probability {
    margin-top: 1rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.65rem;
    background: var(--bp-teal-soft);
    color: var(--bp-teal-dark);
    font-weight: 800;
    text-align: center;
}


/* =========================================================
   RELATED RESOURCES
   ========================================================= */

.bp-resources-section {
    padding: 4rem 1.5rem 5rem;
    background: #f7f9fb;
}

.bp-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.bp-resource-link {
    display: flex;
    align-items: center;
    min-height: 62px;
    padding: 1rem 1.1rem;
    border: 1px solid var(--bp-border);
    border-radius: 0.8rem;
    background: #ffffff;
    color: var(--bp-navy);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--bp-shadow-small);

    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.bp-resource-link:hover {
    border-color: var(--bp-teal);
    color: var(--bp-teal-dark);
    transform: translateY(-2px);
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .bp-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .bp-controls {
        width: 100%;
    }

    .bp-control-group {
        width: 100%;
    }

    .bp-select {
        width: 100%;
    }

    .bp-mode-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.3rem;
    }

    .bp-mode-help {
        text-align: left;
    }

    .bp-mode-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-example-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 767.98px) {

    .bp-section {
        padding: 3.2rem 1rem;
    }

    .bp-card-top {
        flex-direction: column;
    }

    .bp-card-badges {
        justify-content: flex-start;
    }

    .bp-current-problem-area {
        padding: 1.6rem 1rem 1.4rem;
    }

    .bp-sample-space-visual {
        min-height: 220px;
        padding: 1.4rem 1rem;
    }

    .bp-demo-object {
        width: 48px;
        height: 48px;
    }

    .bp-sample-summary-grid {
        grid-template-columns: 1fr;
    }

    .bp-formula-panel {
        margin-right: 1rem;
        margin-left: 1rem;
        padding: 1.2rem 0.9rem;
    }

    .bp-formula {
        flex-direction: column;
        gap: 0.6rem;
    }

    .bp-step-progress {
        overflow-x: auto;
        justify-content: flex-start;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .bp-step-marker {
        flex-basis: 72px;
    }

    .bp-step-connector {
        flex-basis: 44px;
        min-width: 44px;
    }

    .bp-work-area {
        padding: 1.6rem 1rem;
    }

    .bp-problem-reminder {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .bp-problem-reminder strong {
        text-align: left;
    }

    .bp-workbench-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .bp-input-row {
        flex-direction: column;
    }

    .bp-submit-button {
        width: 100%;
    }

    .bp-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-choice-button:last-child {
        grid-column: 1 / -1;
    }

    .bp-feedback,
    .bp-help-panel,
    .bp-reference-panel,
    .bp-complete-panel {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .bp-action-row {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .bp-secondary-button {
        flex: 1 1 100%;
    }

    .bp-complete-panel {
        grid-template-columns: auto 1fr;
    }

    .bp-complete-panel .bp-next-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .bp-stats,
    .bp-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-reference-grid {
        grid-template-columns: 1fr;
    }

    .bp-resource-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 479.98px) {

    .bp-mode-tabs {
        grid-template-columns: 1fr;
    }

    .bp-problem-prompt {
        font-size: 1.25rem;
    }

    .bp-event-summary {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }

    .bp-working-probability {
        min-height: 105px;
        font-size: 1.35rem;
    }

    .bp-choice-grid {
        grid-template-columns: 1fr;
    }

    .bp-choice-button:last-child {
        grid-column: auto;
    }

    .bp-scale-words {
        font-size: 0.64rem;
    }

    .bp-stats,
    .bp-results-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bp-practice-page *,
    .bp-practice-page *::before,
    .bp-practice-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}

/* =========================================================
   PROBABILITY VISUALS — SPINNER
   ========================================================= */

.bp-practice-page {
    --bp-spinner-red: #ef4444;
    --bp-spinner-blue: #3b82f6;
    --bp-spinner-green: #22c55e;
    --bp-spinner-yellow: #facc15;
    --bp-spinner-purple: #8b5cf6;
}


/* Main spinner layout */

.bp-spinner-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}


/* Pointer */

.bp-spinner-pointer {
    position: relative;
    z-index: 5;

    width: 0;
    height: 0;

    margin-bottom: -1.1rem;

    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 28px solid #16324f;

    filter:
        drop-shadow(
            0 4px 4px rgba(15, 23, 42, 0.22)
        );
}


/* Spinner wheel */

.bp-spinner {
    position: relative;

    width: 270px;
    height: 270px;

    border: 10px solid #ffffff;
    border-radius: 50%;

    box-shadow:
        0 0 0 3px #16324f,
        0 18px 38px rgba(15, 23, 42, 0.18),
        inset 0 0 24px rgba(255, 255, 255, 0.18);

    overflow: hidden;
}


/* Gloss / depth */

.bp-spinner::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 25%,
            rgba(255, 255, 255, 0.42),
            rgba(255, 255, 255, 0.08) 34%,
            rgba(0, 0, 0, 0.08) 72%,
            rgba(0, 0, 0, 0.18) 100%
        );

    pointer-events: none;
}


/* Center hub */

.bp-spinner-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;

    width: 42px;
    height: 42px;

    border: 6px solid #ffffff;
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #4f6f8f 0%,
            #16324f 55%,
            #0b1f33 100%
        );

    box-shadow:
        0 5px 12px rgba(15, 23, 42, 0.3);

    transform:
        translate(-50%, -50%);
}


/* Section key */

.bp-spinner-key {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(120px, 1fr));

    gap: 0.55rem;

    width: min(360px, 100%);
}


.bp-spinner-key-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;

    padding: 0.55rem 0.7rem;

    border: 1px solid #d9e2e8;
    border-radius: 0.6rem;

    background: #ffffff;

    color: #16324f;

    font-size: 0.78rem;
    font-weight: 700;

    box-shadow:
        0 3px 8px rgba(22, 50, 79, 0.06);
}


/* Color swatches */

.bp-spinner-swatch {
    display: block;
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    box-shadow:
        0 0 0 1px rgba(22, 50, 79, 0.15);
}


.bp-spinner-swatch-red {
    background: var(--bp-spinner-red);
}

.bp-spinner-swatch-blue {
    background: var(--bp-spinner-blue);
}

.bp-spinner-swatch-green {
    background: var(--bp-spinner-green);
}

.bp-spinner-swatch-yellow {
    background: var(--bp-spinner-yellow);
}

.bp-spinner-swatch-purple {
    background: var(--bp-spinner-purple);
}


/* Mobile */

@media (max-width: 575.98px) {

    .bp-spinner {
        width: 220px;
        height: 220px;
    }

    .bp-spinner-key {
        grid-template-columns: 1fr 1fr;
    }

}

/* =========================================================
   PROBABILITY VISUALS — 3D MARBLES
   ========================================================= */

.bp-marble-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;

    width: min(620px, 100%);
    margin: 0 auto;
    padding: 1.5rem;
}


/* Base marble */

.bp-marble {
    position: relative;

    width: 72px;
    height: 72px;

    flex: 0 0 72px;

    border-radius: 50%;

    border:
        2px solid rgba(255, 255, 255, 0.75);

    box-shadow:
        0 14px 18px rgba(15, 23, 42, 0.16),
        0 4px 7px rgba(15, 23, 42, 0.12),
        inset -13px -16px 18px rgba(0, 0, 0, 0.22),
        inset 8px 8px 14px rgba(255, 255, 255, 0.16);

    overflow: hidden;

    transform:
        translateZ(0);

    transition:
        transform 0.22s ease,
        opacity 0.22s ease,
        box-shadow 0.22s ease;
}


/* Strong glossy highlight */

.bp-marble::before {
    content: "";

    position: absolute;

    top: 10px;
    left: 14px;

    width: 25px;
    height: 17px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.66) 38%,
            rgba(255, 255, 255, 0) 72%
        );

    transform:
        rotate(-28deg);

    filter:
        blur(0.3px);

    pointer-events: none;
}


/* Secondary reflected light */

.bp-marble::after {
    content: "";

    position: absolute;

    right: 10px;
    bottom: 8px;

    width: 28px;
    height: 14px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.24),
            rgba(255, 255, 255, 0)
        );

    transform:
        rotate(-30deg);

    pointer-events: none;
}


/* =========================================================
   MARBLE COLORS
   ========================================================= */

.bp-marble-red {
    background:
        radial-gradient(
            circle at 31% 27%,
            #ffb8b8 0%,
            #f56d6d 17%,
            #e33f46 42%,
            #b41f2b 72%,
            #75131c 100%
        );
}


.bp-marble-blue {
    background:
        radial-gradient(
            circle at 31% 27%,
            #b9dcff 0%,
            #64a9ef 17%,
            #377fc8 42%,
            #1f5794 72%,
            #12345b 100%
        );
}


.bp-marble-green {
    background:
        radial-gradient(
            circle at 31% 27%,
            #bcf5cf 0%,
            #65d58a 17%,
            #33aa61 42%,
            #207843 72%,
            #114829 100%
        );
}


.bp-marble-yellow {
    background:
        radial-gradient(
            circle at 31% 27%,
            #fff5b0 0%,
            #f7d857 17%,
            #d9aa20 42%,
            #9e7111 72%,
            #654609 100%
        );
}


.bp-marble-purple {
    background:
        radial-gradient(
            circle at 31% 27%,
            #dfc8ff 0%,
            #ad7df2 17%,
            #8251cf 42%,
            #593398 72%,
            #351d62 100%
        );
}


/* =========================================================
   FAVORABLE-OUTCOME STATE
   ========================================================= */

.bp-marble.is-favorable {
    transform:
        translateY(-6px)
        scale(1.07);

    box-shadow:
        0 0 0 5px rgba(25, 135, 84, 0.18),
        0 17px 24px rgba(15, 23, 42, 0.20),
        inset -13px -16px 18px rgba(0, 0, 0, 0.22),
        inset 8px 8px 14px rgba(255, 255, 255, 0.16);
}


.bp-marble.is-muted {
    opacity: 0.3;

    transform:
        scale(0.94);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .bp-marble-container {
        gap: 0.8rem;
        padding: 1rem 0.5rem;
    }

    .bp-marble {
        width: 58px;
        height: 58px;

        flex-basis: 58px;
    }

    .bp-marble::before {
        top: 8px;
        left: 11px;

        width: 20px;
        height: 14px;
    }

}

/* =========================================================
   PROBABILITY VISUALS — 3D DIE
   ========================================================= */

.bp-die-sample-space {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(110px, 1fr));

    gap: 1.4rem;

    width: min(620px, 100%);
    margin: 0 auto;
    padding: 1.4rem;
}


/* =========================================================
   DIE FACE
   ========================================================= */

.bp-die-face {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);

    width: 112px;
    height: 112px;

    margin: 0 auto;

    padding: 17px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fafc 35%,
            #e7edf2 78%,
            #d4dde4 100%
        );

    border:
        1px solid rgba(22, 50, 79, 0.18);

    box-shadow:
        0 17px 24px rgba(15, 23, 42, 0.18),
        0 6px 8px rgba(15, 23, 42, 0.12),
        inset 7px 7px 10px rgba(255, 255, 255, 0.95),
        inset -8px -9px 12px rgba(71, 85, 105, 0.16);

    transform:
        perspective(700px)
        rotateX(7deg)
        rotateY(-7deg);

    transform-style:
        preserve-3d;

    overflow: visible;

    transition:
        transform 0.22s ease,
        opacity 0.22s ease,
        box-shadow 0.22s ease;
}


/* subtle top-face shine */

.bp-die-face::before {
    content: "";

    position: absolute;
    inset: 5px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.75),
            rgba(255, 255, 255, 0.08) 45%,
            rgba(0, 0, 0, 0.05) 100%
        );

    pointer-events: none;
}


/* slight bottom edge / depth */

.bp-die-face::after {
    content: "";

    position: absolute;

    left: 9px;
    right: 9px;
    bottom: -9px;

    height: 13px;

    border-radius:
        0 0 16px 16px;

    background:
        linear-gradient(
            180deg,
            #cbd5dc 0%,
            #aebbc5 100%
        );

    transform:
        translateZ(-1px);

    opacity: 0.9;

    z-index: -1;
}


/* =========================================================
   PIPS
   ========================================================= */

.bp-die-dot {
    position: relative;

    display: block;

    align-self: center;
    justify-self: center;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #50657a 0%,
            #22384d 35%,
            #0f2539 70%,
            #091928 100%
        );

    box-shadow:
        inset 2px 2px 3px rgba(255, 255, 255, 0.25),
        inset -3px -3px 5px rgba(0, 0, 0, 0.32),
        0 1px 1px rgba(255, 255, 255, 0.9);

    z-index: 2;
}


/* hide unused pip positions */

.bp-die-dot.is-empty {
    visibility: hidden;
}


/* =========================================================
   PIP GRID POSITIONS
   ========================================================= */

.bp-die-dot-1 {
    grid-column: 1;
    grid-row: 1;
}

.bp-die-dot-2 {
    grid-column: 2;
    grid-row: 1;
}

.bp-die-dot-3 {
    grid-column: 3;
    grid-row: 1;
}

.bp-die-dot-4 {
    grid-column: 1;
    grid-row: 2;
}

.bp-die-dot-5 {
    grid-column: 2;
    grid-row: 2;
}

.bp-die-dot-6 {
    grid-column: 3;
    grid-row: 2;
}

.bp-die-dot-7 {
    grid-column: 1;
    grid-row: 3;
}

.bp-die-dot-8 {
    grid-column: 2;
    grid-row: 3;
}

.bp-die-dot-9 {
    grid-column: 3;
    grid-row: 3;
}


/* =========================================================
   SMALL VALUE LABEL
   ========================================================= */

.bp-die-value-label {
    position: absolute;

    right: 9px;
    bottom: 7px;

    color: rgba(22, 50, 79, 0.45);

    font-size: 0.64rem;
    font-weight: 800;

    z-index: 3;
}


/* =========================================================
   FAVORABLE / MUTED STATES
   ========================================================= */

.bp-die-face.is-favorable {
    transform:
        perspective(700px)
        rotateX(7deg)
        rotateY(-7deg)
        translateY(-7px)
        scale(1.05);

    box-shadow:
        0 0 0 5px rgba(25, 135, 84, 0.16),
        0 20px 28px rgba(15, 23, 42, 0.22),
        inset 7px 7px 10px rgba(255, 255, 255, 0.95),
        inset -8px -9px 12px rgba(71, 85, 105, 0.16);
}


.bp-die-face.is-muted {
    opacity: 0.30;

    transform:
        perspective(700px)
        rotateX(7deg)
        rotateY(-7deg)
        scale(0.94);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .bp-die-sample-space {
        grid-template-columns:
            repeat(2, minmax(105px, 1fr));

        gap: 1.1rem;

        padding: 1rem 0.5rem;
    }

}


@media (max-width: 479.98px) {

    .bp-die-face {
        width: 96px;
        height: 96px;

        padding: 14px;

        border-radius: 17px;
    }

    .bp-die-dot {
        width: 14px;
        height: 14px;
    }

    .bp-die-face::after {
        bottom: -7px;
        height: 10px;
    }

}

/* =========================================================
   PROBABILITY VISUALS — 3D COINS
   ========================================================= */

.bp-coin-sample-space {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;

    width: min(520px, 100%);
    margin: 0 auto;
    padding: 1.5rem;
}


/* =========================================================
   COIN BODY
   ========================================================= */

.bp-coin {
    position: relative;

    width: 130px;
    height: 130px;

    flex: 0 0 130px;

    border-radius: 50%;

    padding: 7px;

    background:
        linear-gradient(
            145deg,
            #f7e6a4 0%,
            #d7ad48 24%,
            #f5d979 50%,
            #b98327 78%,
            #8a5b19 100%
        );

    box-shadow:
        0 18px 24px rgba(15, 23, 42, 0.18),
        0 6px 10px rgba(15, 23, 42, 0.12),
        inset 3px 3px 5px rgba(255, 255, 255, 0.55),
        inset -5px -5px 8px rgba(87, 55, 13, 0.38);

    transform:
        perspective(600px)
        rotateX(7deg);

    transition:
        transform 0.22s ease,
        opacity 0.22s ease,
        box-shadow 0.22s ease;
}


/* Ridged coin edge */

.bp-coin::before {
    content: "";

    position: absolute;
    inset: -3px;

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(255, 255, 255, 0.28) 0deg 2deg,
            rgba(103, 67, 17, 0.20) 2deg 4deg
        );

    z-index: -1;
}


/* Bottom thickness */

.bp-coin::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: -9px;

    height: 16px;

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            #a67124 0%,
            #704715 100%
        );

    z-index: -2;
}


/* =========================================================
   INNER COIN FACE
   ========================================================= */

.bp-coin-inner {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    border:
        3px solid rgba(124, 84, 24, 0.45);

    background:
        radial-gradient(
            circle at 34% 28%,
            #fff5bd 0%,
            #f4d46f 25%,
            #d7aa42 52%,
            #b77d22 78%,
            #855617 100%
        );

    box-shadow:
        inset 7px 7px 10px rgba(255, 255, 255, 0.28),
        inset -8px -9px 12px rgba(86, 54, 12, 0.24);

    overflow: hidden;
}


/* Gloss highlight */

.bp-coin-inner::before {
    content: "";

    position: absolute;

    top: 13px;
    left: 22px;

    width: 52px;
    height: 24px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.62),
            rgba(255, 255, 255, 0)
        );

    transform:
        rotate(-28deg);

    pointer-events: none;
}


/* Inner decorative ring */

.bp-coin-inner::after {
    content: "";

    position: absolute;
    inset: 12px;

    border:
        2px solid rgba(123, 78, 18, 0.28);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   H / T SYMBOL
   ========================================================= */

.bp-coin-symbol {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    color: #6f4816;

    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55),
        0 -1px 0 rgba(95, 59, 12, 0.28);
}


/* Heads / Tails label */

.bp-coin-label {
    position: relative;
    z-index: 2;

    margin-top: 0.25rem;

    color: #694314;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* =========================================================
   FAVORABLE / MUTED STATES
   ========================================================= */

.bp-coin.is-favorable {
    transform:
        perspective(600px)
        rotateX(7deg)
        translateY(-7px)
        scale(1.05);

    box-shadow:
        0 0 0 5px rgba(25, 135, 84, 0.16),
        0 20px 28px rgba(15, 23, 42, 0.22),
        inset 3px 3px 5px rgba(255, 255, 255, 0.55),
        inset -5px -5px 8px rgba(87, 55, 13, 0.38);
}


.bp-coin.is-muted {
    opacity: 0.30;

    transform:
        perspective(600px)
        rotateX(7deg)
        scale(0.94);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .bp-coin-sample-space {
        gap: 1.2rem;
        padding: 1rem 0.5rem;
    }

    .bp-coin {
        width: 108px;
        height: 108px;

        flex-basis: 108px;
    }

    .bp-coin-symbol {
        width: 48px;
        height: 48px;

        font-size: 1.8rem;
    }

    .bp-coin-label {
        font-size: 0.64rem;
    }

}

/* =========================================================
   COIN REFINEMENT — CLEAN MODERN 3D
   ========================================================= */

.bp-coin {
    width: 120px;
    height: 120px;

    flex-basis: 120px;

    padding: 5px;

    background:
        linear-gradient(
            145deg,
            #f7df83 0%,
            #d8ad42 45%,
            #ad7620 100%
        );

    border: 2px solid #b47b22;

    box-shadow:
        0 12px 22px rgba(15, 23, 42, 0.16),
        0 4px 7px rgba(15, 23, 42, 0.10),
        inset 2px 2px 3px rgba(255, 255, 255, 0.45),
        inset -4px -4px 7px rgba(92, 57, 10, 0.22);

    transform: none;
}


/* Remove exaggerated ridged edge */

.bp-coin::before {
    display: none;
}


/* Remove fake bottom/base */

.bp-coin::after {
    display: none;
}


/* Cleaner face */

.bp-coin-inner {
    border:
        2px solid rgba(126, 82, 18, 0.32);

    background:
        radial-gradient(
            circle at 35% 28%,
            #fff1aa 0%,
            #f2cf61 28%,
            #d6a43b 62%,
            #b2761f 100%
        );

    box-shadow:
        inset 5px 5px 8px rgba(255, 255, 255, 0.24),
        inset -6px -7px 10px rgba(91, 56, 10, 0.18);
}


/* Softer highlight */

.bp-coin-inner::before {
    top: 13px;
    left: 20px;

    width: 42px;
    height: 18px;

    opacity: 0.55;
}


/* Less ornamental inner ring */

.bp-coin-inner::after {
    inset: 10px;

    border:
        1px solid rgba(110, 69, 14, 0.22);
}


/* Cleaner H / T */

.bp-coin-symbol {
    width: auto;
    height: auto;

    font-size: 2.25rem;
    font-weight: 800;

    color: #704511;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4);
}


/* Subdued label */

.bp-coin-label {
    margin-top: 0.35rem;

    font-size: 0.67rem;
    letter-spacing: 0.07em;

    color: #805217;
}


/* Keep favorable animation clean */

.bp-coin.is-favorable {
    transform:
        translateY(-6px)
        scale(1.05);
}


/* Mobile */

@media (max-width: 575.98px) {

    .bp-coin {
        width: 100px;
        height: 100px;

        flex-basis: 100px;
    }

}

/* =========================================================
   NUMBER TILES — 3D SAMPLE SPACE
   ========================================================= */

.bp-number-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    max-width: 700px;
    margin: 0 auto;
}


/* Individual tile */

.bp-number-tile {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;

    flex: 0 0 82px;

    border: 2px solid #cbd8e3;
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f1f6f9 55%,
            #dce7ee 100%
        );

    color: #173553;

    font-size: 1.65rem;
    font-weight: 800;

    box-shadow:
        0 7px 0 #bccbd6,
        0 12px 18px rgba(23, 53, 83, 0.12),
        inset 2px 2px 4px rgba(255, 255, 255, 0.9);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* Subtle inner face */

.bp-number-tile::before {
    content: "";

    position: absolute;
    inset: 6px;

    border: 1px solid rgba(23, 53, 83, 0.08);
    border-radius: 11px;

    pointer-events: none;
}


/* Favorable outcome — odd numbers */

.bp-number-tile.is-favorable {
    color: #087f83;

    border-color: #24a5a8;

    background:
        linear-gradient(
            145deg,
            #e9fbfa 0%,
            #c8f1ef 55%,
            #9edfdc 100%
        );

    box-shadow:
        0 7px 0 #65bebd,
        0 12px 20px rgba(14, 157, 160, 0.16),
        inset 2px 2px 4px rgba(255, 255, 255, 0.9);

    transform: translateY(-3px);
}


/* Favorable inner border */

.bp-number-tile.is-favorable::before {
    border-color: rgba(8, 127, 131, 0.14);
}


/* Mobile */

@media (max-width: 575.98px) {

    .bp-number-tiles {
        gap: 0.7rem;
        max-width: 360px;
    }

    .bp-number-tile {
        width: 58px;
        height: 58px;

        flex-basis: 58px;

        border-radius: 12px;

        font-size: 1.25rem;

        box-shadow:
            0 5px 0 #bccbd6,
            0 8px 13px rgba(23, 53, 83, 0.10);
    }

    .bp-number-tile.is-favorable {
        box-shadow:
            0 5px 0 #65bebd,
            0 8px 13px rgba(14, 157, 160, 0.14);
    }

}

/* =========================================================
   NUMBER TILES — CORRECT GRID CONTAINER
   ========================================================= */

.bp-tile-sample-space {
    display: grid !important;

    grid-template-columns:
        repeat(5, 82px);

    justify-content: center;
    align-items: center;

    gap: 1rem;

    width: 100%;
    max-width: 650px;

    margin: 0 auto;
}


/* Keep each tile fixed-size inside the grid */

.bp-tile-sample-space .bp-number-tile {
    width: 82px !important;
    height: 82px !important;

    min-width: 82px;

    margin: 0 !important;
    flex: none !important;
}


/* Mobile */

@media (max-width: 575.98px) {

    .bp-tile-sample-space {
        grid-template-columns:
            repeat(5, 54px);

        gap: 0.6rem;
    }

    .bp-tile-sample-space .bp-number-tile {
        width: 54px !important;
        height: 54px !important;

        min-width: 54px;

        font-size: 1.2rem;
    }

}

/* =========================================================
   PROBABILITY VISUALS — PLAYING CARDS
   ========================================================= */


/* =========================================================
   CARD SAMPLE SPACE
   5 cards across, 2 rows for a 10-card sample
   ========================================================= */

.bp-card-sample-space {
    display: grid !important;

    grid-template-columns:
        repeat(5, 92px);

    justify-content: center;
    align-items: center;

    gap: 1.15rem;

    width: 100%;
    max-width: 680px;

    margin: 0 auto;
    padding: 1.25rem;
}


/* =========================================================
   PLAYING CARD
   ========================================================= */

.bp-playing-card {
    position: relative;

    display: block;

    width: 92px;
    height: 132px;

    border: 1px solid #d6dde3;
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbfcfd 58%,
            #f0f3f6 100%
        );

    box-shadow:
        0 9px 16px rgba(15, 23, 42, 0.14),
        0 3px 5px rgba(15, 23, 42, 0.08),
        inset 1px 1px 2px rgba(255, 255, 255, 0.95);

    overflow: hidden;

    transform:
        perspective(500px)
        rotateX(2deg);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


/* subtle paper highlight */

.bp-playing-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            125deg,
            rgba(255, 255, 255, 0.75),
            rgba(255, 255, 255, 0) 38%
        );

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   RAUL THE TUTOR BRAND MARK
   Subtle — should not compete with the card itself
   ========================================================= */

.bp-playing-card::after {
    content: "RT";

    position: absolute;

    right: 7px;
    bottom: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border: 1px solid rgba(21, 154, 156, 0.22);
    border-radius: 50%;

    background:
        rgba(21, 154, 156, 0.07);

    color:
        rgba(17, 125, 127, 0.52);

    font-size: 0.52rem;
    font-weight: 900;
    letter-spacing: -0.03em;

    z-index: 3;

    pointer-events: none;
}


/* =========================================================
   TOP-LEFT RANK / SUIT
   ========================================================= */

.bp-card-corner {
    position: absolute;

    top: 8px;
    left: 9px;

    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;

    line-height: 1;
}


.bp-card-rank {
    font-size: 1.05rem;
    font-weight: 800;
}


.bp-card-suit {
    margin-top: 2px;

    font-size: 1rem;
    line-height: 1;
}


/* =========================================================
   CENTER SUIT
   ========================================================= */

.bp-card-center-suit {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 2;

    transform:
        translate(-50%, -50%);

    font-size: 2.8rem;
    line-height: 1;

    opacity: 0.94;

    text-shadow:
        0 1px 1px rgba(255, 255, 255, 0.7);
}


/* =========================================================
   CARD COLORS
   ========================================================= */

.bp-playing-card-red,
.bp-playing-card-red .bp-card-rank,
.bp-playing-card-red .bp-card-suit,
.bp-playing-card-red .bp-card-center-suit {
    color: #c62f3a;
}


.bp-playing-card-black,
.bp-playing-card-black .bp-card-rank,
.bp-playing-card-black .bp-card-suit,
.bp-playing-card-black .bp-card-center-suit {
    color: #1c2f42;
}


/* =========================================================
   FAVORABLE OUTCOME
   ========================================================= */

.bp-playing-card.is-favorable {
    border-color: #159a9c;

    transform:
        perspective(500px)
        rotateX(2deg)
        translateY(-7px)
        scale(1.04);

    box-shadow:
        0 0 0 4px rgba(21, 154, 156, 0.15),
        0 15px 22px rgba(15, 23, 42, 0.18),
        0 4px 7px rgba(15, 23, 42, 0.10);
}


/* Non-favorable cards after reveal */

.bp-playing-card.is-muted {
    opacity: 0.28;

    transform:
        perspective(500px)
        rotateX(2deg)
        scale(0.96);
}


/* =========================================================
   OPTIONAL HOVER
   ========================================================= */

@media (hover: hover) {

    .bp-playing-card:not(.is-muted):hover {
        transform:
            perspective(500px)
            rotateX(2deg)
            translateY(-4px);

        box-shadow:
            0 13px 21px rgba(15, 23, 42, 0.16),
            0 4px 7px rgba(15, 23, 42, 0.09);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767.98px) {

    .bp-card-sample-space {
        grid-template-columns:
            repeat(4, 82px);

        gap: 0.85rem;
    }

    .bp-playing-card {
        width: 82px;
        height: 118px;
    }

    .bp-card-center-suit {
        font-size: 2.35rem;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 479.98px) {

    .bp-card-sample-space {
        grid-template-columns:
            repeat(4, 68px);

        gap: 0.65rem;

        padding:
            1rem 0.25rem;
    }

    .bp-playing-card {
        width: 68px;
        height: 98px;

        border-radius: 8px;
    }

    .bp-card-rank {
        font-size: 0.82rem;
    }

    .bp-card-suit {
        font-size: 0.78rem;
    }

    .bp-card-center-suit {
        font-size: 1.9rem;
    }

    .bp-playing-card::after {
        right: 5px;
        bottom: 5px;

        width: 18px;
        height: 18px;

        font-size: 0.43rem;
    }

    .bp-playing-card::after {
    right: 5px;
    bottom: 5px;

    width: 21px;
    height: 21px;

    border-width: 1px;
}

}

/* Raul The Tutor branded card seal */

.bp-playing-card::after {
    content: "";

    position: absolute;

    right: 6px;
    bottom: 6px;

    width: 26px;
    height: 26px;

    border: 2px solid rgba(21, 154, 156, 0.35);
    border-radius: 50%;

    background-image:
        url("/assets/RaulTheTutorFavIcon_2.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow:
        0 2px 5px rgba(15, 23, 42, 0.16);

    z-index: 3;

    pointer-events: none;
}

/* =========================================================
   CURRENT PROBLEM — COMPACT SAMPLE SPACE
   ========================================================= */

.bp-problem-reminder {
    display: block;
}


.bp-reminder-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;
}


.bp-reminder-sample-space {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 0.9rem;
    padding-top: 0.9rem;

    border-top:
        1px solid rgba(21, 154, 156, 0.14);

    overflow: hidden;
}


/* =========================================================
   COMPACT MARBLES
   ========================================================= */

.bp-reminder-sample-space .bp-marble-container {
    gap: 0.55rem;

    width: auto;

    padding: 0.25rem;
}


.bp-reminder-sample-space .bp-marble {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
}


.bp-reminder-sample-space .bp-marble::before {
    top: 5px;
    left: 7px;

    width: 14px;
    height: 9px;
}


/* =========================================================
   COMPACT DICE
   ========================================================= */

.bp-reminder-sample-space .bp-die-sample-space {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 0.6rem;

    width: auto;

    padding: 0.25rem;
}


.bp-reminder-sample-space .bp-die-face {
    width: 55px;
    height: 55px;

    margin: 0;

    padding: 8px;

    border-radius: 10px;
}


.bp-reminder-sample-space .bp-die-dot {
    width: 8px;
    height: 8px;
}


.bp-reminder-sample-space .bp-die-value-label {
    display: none;
}


.bp-reminder-sample-space .bp-die-face::after {
    bottom: -4px;

    height: 6px;
}


/* =========================================================
   COMPACT COINS
   ========================================================= */

.bp-reminder-sample-space .bp-coin-sample-space {
    gap: 1rem;

    width: auto;

    padding: 0.25rem;
}


.bp-reminder-sample-space .bp-coin {
    width: 66px;
    height: 66px;

    flex-basis: 66px;

    padding: 3px;
}


.bp-reminder-sample-space .bp-coin-symbol {
    font-size: 1.2rem;
}


.bp-reminder-sample-space .bp-coin-label {
    margin-top: 0.1rem;

    font-size: 0.42rem;
}


.bp-reminder-sample-space .bp-coin-inner::after {
    inset: 5px;
}


/* =========================================================
   COMPACT NUMBER TILES
   ========================================================= */

.bp-reminder-sample-space .bp-tile-sample-space {
    display: flex !important;

    flex-wrap: wrap;

    justify-content: center;

    gap: 0.45rem;

    width: auto;

    max-width: none;
}


.bp-reminder-sample-space .bp-number-tile {
    width: 43px !important;
    height: 43px !important;

    min-width: 43px;

    font-size: 0.92rem;

    border-radius: 8px;

    box-shadow:
        0 4px 0 #bccbd6,
        0 6px 9px rgba(23, 53, 83, 0.08);
}


/* =========================================================
   COMPACT PLAYING CARDS
   ========================================================= */

.bp-reminder-sample-space .bp-card-sample-space {
    display: flex !important;

    flex-wrap: wrap;

    justify-content: center;

    gap: 0.55rem;

    width: auto;
    max-width: none;

    padding: 0.25rem;
}


.bp-reminder-sample-space .bp-playing-card {
    width: 54px;
    height: 76px;

    border-radius: 6px;
}


.bp-reminder-sample-space .bp-card-corner {
    top: 5px;
    left: 5px;
}


.bp-reminder-sample-space .bp-card-rank {
    font-size: 0.65rem;
}


.bp-reminder-sample-space .bp-card-suit {
    font-size: 0.62rem;
}


.bp-reminder-sample-space .bp-card-center-suit {
    font-size: 1.55rem;
}


.bp-reminder-sample-space .bp-playing-card::after {
    right: 3px;
    bottom: 3px;

    width: 15px;
    height: 15px;

    border-width: 1px;
}


/* =========================================================
   COMPACT SPINNER
   ========================================================= */

.bp-reminder-sample-space .bp-spinner-layout {
    gap: 0;

    width: auto;
}


.bp-reminder-sample-space .bp-spinner {
    width: 105px;
    height: 105px;

    border-width: 4px;

    box-shadow:
        0 0 0 2px #16324f,
        0 8px 15px rgba(15, 23, 42, 0.14);
}


.bp-reminder-sample-space .bp-spinner-hub {
    width: 19px;
    height: 19px;

    border-width: 3px;
}


.bp-reminder-sample-space .bp-spinner-pointer {
    margin-bottom: -0.45rem;

    border-left-width: 7px;
    border-right-width: 7px;
    border-top-width: 13px;
}


.bp-reminder-sample-space .bp-spinner-key {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .bp-reminder-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 0.25rem;
    }

    .bp-reminder-sample-space {
        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 0.35rem;
    }

}