/* ============================================================
   My Spin Wheel — Frontend styles
   ============================================================ */

.msw-wrap {
    --msw-text:   #1f2330;
    --msw-muted:  #6b7280;
    --msw-bg:     #ffffff;
    --msw-border: #e5e7eb;
    --msw-radius: 16px;
    --msw-accent: #6366f1;
    --msw-accent-dark: #4f46e5;

    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    border-radius: var(--msw-radius);
    color: var(--msw-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    position: relative;
    overflow: hidden;

    /* Mesh-gradient background */
    background:
        radial-gradient(circle at 12% 18%, rgba(236, 72, 153, 0.22), transparent 42%),
        radial-gradient(circle at 88% 22%, rgba(99, 102, 241, 0.22), transparent 42%),
        radial-gradient(circle at 78% 82%, rgba(20, 184, 166, 0.22), transparent 42%),
        radial-gradient(circle at 18% 78%, rgba(245, 158, 11, 0.20), transparent 42%),
        linear-gradient(135deg, #fafafa 0%, #f5f3ff 50%, #fdf4ff 100%);
}

.msw-wrap *,
.msw-wrap *::before,
.msw-wrap *::after {
    box-sizing: border-box;
}

.msw-title {
    margin: 0 0 24px;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    color: var(--msw-text);
    letter-spacing: -0.01em;
}

/* ----- Layout: lotto | wheel | input ----- */
.msw-layout {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 32px;
    align-items: start;
}

/* Left column stacks luck panel + input panel */
.msw-left-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Get Answers panel title */
.msw-wheel-of-answers-title {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    text-align: center;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(123, 47, 255, 0.3);
    text-shadow: 0 0 18px rgba(123, 47, 255, 0.5);
}

/* Get Answers header link */
.msw-get-answers-row {
    margin-bottom: 10px;
}
.msw-get-answers-link {
    color: #c4b5f8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.msw-get-answers-link:hover { color: #fff; text-decoration: underline; }
.msw-get-answers-link .msw-flash-red { color: #ff4d6d; animation: msw-flash 1.4s ease-in-out infinite; }

/* Labels above textarea */
.msw-add-selections-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--c-gold);
    margin-bottom: 2px;
}
.msw-remove-unused-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #ff4d6d;
    margin-bottom: 8px;
}

/* Counter color */
.msw-counter { font-size: 13px; color: rgba(255,255,255,0.7); }
.msw-count   { font-weight: 800; color: var(--c-gold); }

/* Btn text (Shuffle/Clear) color on dark bg */
.msw-btn-text { color: rgba(255,255,255,0.8); }
.msw-btn-text:hover { color: #fff; background: rgba(255,255,255,0.08); }

@media (max-width: 1000px) {
    .msw-layout {
        grid-template-columns: 1fr 300px;
    }
    .msw-left-col {
        grid-column: 1 / -1;
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .msw-left-col > * { flex: 1 1 260px; }
    .msw-lotto {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 700px) {
    .msw-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .msw-left-col { flex-direction: column; }
    .msw-lotto { order: 3; }
}

/* ----- Canvas / wheel ----- */
.msw-canvas-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.msw-canvas-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
}

.msw-canvas-container.msw-shake {
    animation: msw-shake 0.45s ease-in-out;
}

@keyframes msw-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

.msw-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    border-radius: 50%;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

/* ----- Overlay text on wheel ("Click to spin" / "or press ctrl+enter") ----- */
.msw-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 22% 0;
    z-index: 2;
    transition: opacity 0.25s ease;
    opacity: 0; /* hidden until JS sets it */
}

.msw-overlay-top,
.msw-overlay-bottom {
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(20px, 4vw, 30px);
    letter-spacing: 0.5px;
    text-shadow:
        -1px -1px 0 rgba(0,0,0,0.4),
        1px -1px 0 rgba(0,0,0,0.4),
        -1px 1px 0 rgba(0,0,0,0.4),
        1px 1px 0 rgba(0,0,0,0.4),
        0 4px 8px rgba(0,0,0,0.35);
}

.msw-canvas-container.is-spinning .msw-overlay {
    opacity: 0;
}

/* ----- Pointer ----- */
.msw-pointer {
    position: absolute;
    top: 50%;
    right: -2px;
    width: 0;
    height: 0;
    transform: translateY(-50%);
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-right: 32px solid #1f2937;
    filter: drop-shadow(-2px 2px 4px rgba(0, 0, 0, 0.35));
    pointer-events: none;
    z-index: 3;
}

/* ----- Center button ----- */
.msw-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: var(--msw-accent);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
    cursor: pointer;
    font-weight: 800;
    font-size: 16px;
    z-index: 4;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.msw-center-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--msw-accent-dark);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.55);
}

.msw-center-btn:active {
    transform: translate(-50%, -50%) scale(0.96);
}

/* Hide the SPIN button and pointer when the wheel has no entries —
   keeps the empty-state placeholder text fully visible. */
.msw-canvas-container.is-empty .msw-center-btn,
.msw-canvas-container.is-empty .msw-pointer,
.msw-canvas-container.is-empty .msw-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.msw-hint {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--msw-muted);
    text-align: center;
}

.msw-hint kbd {
    display: inline-block;
    padding: 2px 6px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-bottom-width: 2px;
    border-radius: 4px;
}

/* ----- Input area ----- */
.msw-input-area {
    background: rgba(10, 14, 26, 0.7);
    border: 1px solid rgba(123, 47, 255, 0.3);
    border-radius: var(--msw-radius);
    padding: 18px 16px 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(123,47,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.msw-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--msw-text);
    margin-bottom: 8px;
}

.msw-textarea {
    width: 100%;
    min-height: 180px;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    background: rgba(5, 8, 20, 0.7);
    border: 1px solid rgba(123, 47, 255, 0.4);
    border-radius: 10px;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.msw-textarea:focus {
    outline: none;
    border-color: #7b2fff;
    box-shadow: 0 0 0 3px rgba(123, 47, 255, 0.25);
}

.msw-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.msw-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    gap: 12px;
}

.msw-counter {
    font-size: 13px;
    color: var(--msw-muted);
}

.msw-count {
    font-weight: 700;
    color: var(--msw-text);
}

/* Reset button — text style with a refresh icon, less prominent than primary actions */
.msw-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
}

.msw-reset:hover .msw-reset-icon {
    transform: rotate(-180deg);
}

.msw-reset-icon {
    transition: transform 0.4s ease;
}

/* Shuffle button */
.msw-shuffle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
}

.msw-shuffle:not(:disabled):hover .msw-shuffle-icon {
    transform: scale(1.2);
}

.msw-shuffle-icon {
    transition: transform 0.3s ease;
}

/* Group the right-side meta buttons */
.msw-meta-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ----- Buttons ----- */
.msw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 11px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.msw-btn:active {
    transform: translateY(1px);
}

.msw-btn-primary {
    background: var(--msw-accent);
    color: #ffffff;
}

.msw-btn-primary:hover {
    background: var(--msw-accent-dark);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.msw-btn-secondary {
    background: #f3f4f6;
    color: var(--msw-text);
}

.msw-btn-secondary:hover {
    background: #e5e7eb;
}

.msw-btn-text {
    background: transparent;
    color: var(--msw-muted);
    flex: 0 0 auto;
}

.msw-btn-text:hover {
    color: var(--msw-text);
    background: #f3f4f6;
}

/* ----- Modal ----- */
.msw-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.msw-modal.is-open {
    display: flex;
    animation: msw-fadein 0.25s ease-out;
}

@keyframes msw-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.msw-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.msw-modal-card {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: msw-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes msw-pop {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.msw-modal-header {
    background: #10B981;
    color: #ffffff;
    padding: 16px 22px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.msw-modal-body {
    padding: 40px 22px;
    text-align: center;
}

.msw-winner-name {
    font-size: 34px;
    font-weight: 700;
    color: var(--msw-text);
    word-break: break-word;
    letter-spacing: -0.01em;
}

.msw-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid var(--msw-border);
    background: #fafbfc;
}

.msw-modal-footer .msw-btn {
    flex: 0 0 auto;
    min-width: 92px;
}

/* ----- Confetti ----- */
.msw-confetti {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
}

/* ============================================================
/* ============================================================
   Lucky Number Picker (left column, vertical)
   ============================================================ */

.msw-lotto {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--msw-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.msw-lotto-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
}

.msw-lotto-icon { font-size: 20px; line-height: 1; }

.msw-lotto-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.msw-lotto-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--msw-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.msw-lotto-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.msw-lotto-range {
    padding: 5px 11px;
    border-radius: 20px;
    border: 2px solid var(--msw-border);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: var(--msw-text);
    cursor: pointer;
    transition: all 0.15s ease;
}

.msw-lotto-range:hover { border-color: #6366f1; color: #6366f1; }
.msw-lotto-range.msw-lotto-range-active { background: #6366f1; border-color: #6366f1; color: #fff; }

/* Removable number chips */
.msw-lotto-removable {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-height: 130px;
    overflow-y: auto;
    padding: 2px;
}

.msw-lotto-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px 3px 10px;
    border-radius: 20px;
    background: #f3f4f6;
    border: 1px solid var(--msw-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--msw-text);
    cursor: default;
}

.msw-lotto-chip.is-removed {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
    text-decoration: line-through;
    opacity: 0.6;
}

.msw-lotto-chip-remove {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.msw-lotto-chip-remove:hover { color: #ef4444; }

.msw-lotto-count-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.msw-lotto-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--msw-muted);
    white-space: nowrap;
}

.msw-lotto-count-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--msw-border);
    border-radius: 8px;
    overflow: hidden;
}

.msw-lotto-count-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f3f4f6;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    color: var(--msw-text);
    transition: background 0.15s;
    line-height: 1;
}

.msw-lotto-count-btn:hover { background: #e5e7eb; }

.msw-lotto-count-val {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--msw-text);
    padding: 0 4px;
}

.msw-lotto-load {
    width: 100%;
    text-align: center;
    padding: 9px 0 !important;
    font-size: 13px !important;
}

.msw-lotto-reset {
    width: 100%;
    text-align: center;
    padding: 7px 0 !important;
    font-size: 12px !important;
}

/* Results */
.msw-lotto-results {
    border-top: 1px solid var(--msw-border);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.msw-lotto-results-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--msw-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.msw-lotto-balls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.msw-lotto-ball {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99,102,241,0.35);
    animation: msw-ball-pop 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes msw-ball-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.msw-lotto-status {
    font-size: 12px;
    color: var(--msw-muted);
    font-style: italic;
    line-height: 1.4;
}

.msw-lotto-done .msw-lotto-status {
    color: #10b981;
    font-style: normal;
    font-weight: 600;
}

/* ============================================================
   Get Answers link + popup
   ============================================================ */

.msw-get-answers-row {
    margin-bottom: 10px;
}

.msw-get-answers-link {
    font-size: 13px;
    color: #6366f1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}

.msw-get-answers-link:hover { color: #4f46e5; text-decoration: underline; }

/* Answers modal */
.msw-answers-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.msw-answers-modal.is-open {
    display: flex;
}

.msw-answers-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
}

.msw-answers-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    padding: 32px 36px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    animation: msw-modal-in 0.25s ease;
}

.msw-answers-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s;
}

.msw-answers-close:hover { color: #374151; }

.msw-answers-title {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--msw-text);
}

.msw-answers-list {
    margin: 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.msw-answers-list li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--msw-text);
}

.msw-answers-list li strong {
    color: #6366f1;
    display: block;
    margin-bottom: 2px;
}

.msw-answers-list li em {
    color: var(--msw-muted);
    font-size: 13px;
}

/* ============================================================
   Flashing red "Must Read this"
   ============================================================ */
.msw-flash-red {
    color: #ef4444;
    animation: msw-flash 1.4s ease-in-out infinite;
}

@keyframes msw-flash {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

/* ============================================================
   Lucky Number how-to link row
   ============================================================ */
.msw-lotto-howto-row {
    padding: 8px 16px 0;
    border-bottom: 1px solid var(--msw-border);
    padding-bottom: 10px;
}

.msw-lotto-howto-link {
    font-size: 12px;
    color: #6366f1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
    flex-wrap: wrap;
}

.msw-lotto-howto-link:hover { color: #4f46e5; text-decoration: underline; }

/* ============================================================
   Toast notification
   ============================================================ */
.msw-toast {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #1f2330;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.msw-toast.msw-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Copy results button */
.msw-lotto-results-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.msw-lotto-copy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid var(--msw-border);
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.msw-lotto-copy:hover {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

.msw-lotto-copy.copied {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

/* ============================================================
   Today's Lucky Numbers — flashing banner button
   ============================================================ */
.msw-lucky-banner-row {
    text-align: center;
    margin-bottom: 20px;
}

.msw-lucky-banner-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4);
    animation: msw-banner-flash 1.2s ease-in-out infinite;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.msw-lucky-banner-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.55);
    animation-play-state: paused;
    text-decoration: none;
    color: #ffffff;
}

@keyframes msw-banner-flash {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.78;
        transform: scale(1.03);
    }
}

/* =====================================================
 *  v1.7.0 — Today's Picks panel, disclaimers, balls
 * ===================================================== */

/* Hide compatibility shims (kept in DOM for SpinWheel/LottoPicker JS) */
.msw-input-area.msw-hidden-shims {
    display: none !important;
}

/* Top disclaimer banner */
.msw-disclaimer-top {
    text-align: center;
    background: linear-gradient(90deg, #fff5e1 0%, #ffe6e6 100%);
    border: 1px solid #ffd699;
    color: #8b5a00;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 16px;
}

/* Footer disclaimer */
.msw-disclaimer {
    margin-top: 24px;
    padding: 14px 16px;
    background: #f8f9fc;
    border: 1px solid #e1e4ed;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.6;
    color: #636e72;
}
.msw-disclaimer p { margin: 0; }
.msw-disclaimer strong { color: #2d3436; }

/* Current game label above the wheel */
.msw-current-game {
    text-align: center;
    margin-bottom: 8px;
}
.msw-current-game-name {
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    color: var(--msw-primary, #6c5ce7);
}
.msw-current-game-range {
    display: block;
    font-size: 12px;
    color: #95a5a6;
    font-weight: 600;
    margin-top: 2px;
}

/* ----- Today's Picks panel (right column) ----- */
.msw-picks {
    background: #ffffff;
    border: 1px solid #e1e4ed;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(45, 52, 54, 0.08);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
}
.msw-picks * { box-sizing: border-box; }

.msw-picks-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef0f6;
}
.msw-picks-icon  { font-size: 22px; }
.msw-picks-title {
    font-size: 18px;
    font-weight: 800;
    color: #2d3436;
}

.msw-picks-datebar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.msw-picks-datelabel {
    font-size: 13px;
    color: #636e72;
    font-weight: 600;
}
.msw-picks-dateselect {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #e1e4ed;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3436;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease;
}
.msw-picks-dateselect:hover { border-color: #6c5ce7; }
.msw-picks-dateselect:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.msw-picks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    /* Styled scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(123, 47, 255, 0.5) rgba(10, 14, 26, 0.4);
}
.msw-picks-list::-webkit-scrollbar {
    width: 5px;
}
.msw-picks-list::-webkit-scrollbar-track {
    background: rgba(10, 14, 26, 0.4);
    border-radius: 99px;
}
.msw-picks-list::-webkit-scrollbar-thumb {
    background: rgba(123, 47, 255, 0.5);
    border-radius: 99px;
}
.msw-picks-list::-webkit-scrollbar-thumb:hover {
    background: rgba(123, 47, 255, 0.8);
}

.msw-game-row {
    background: #f8f9fc;
    border: 1px solid #eef0f6;
    border-radius: 8px;
    padding: 10px 12px;
    transition: border-color 0.15s ease;
}
.msw-game-row:hover { border-color: #6c5ce7; }

.msw-game-info { margin-bottom: 8px; }
.msw-game-name {
    font-size: 14px;
    font-weight: 800;
    color: #2d3436;
}
.msw-game-desc {
    font-size: 11px;
    color: #95a5a6;
    margin-top: 2px;
}
.msw-game-actions {
    display: flex;
    gap: 6px;
}

/* Buttons inside game rows */
.msw-game-actions .msw-btn {
    flex: 1;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    transition: all 0.15s ease;
    line-height: 1.2;
}
.msw-game-actions .msw-btn:active:not(:disabled) { transform: translateY(1px); }
.msw-game-actions .msw-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.msw-game-actions .msw-btn-our {
    background: #fff;
    color: #5847d4;
    border-color: #6c5ce7;
}
.msw-game-actions .msw-btn-our:hover:not(:disabled) {
    background: #6c5ce7;
    color: #fff;
}
.msw-game-actions .msw-btn-yours {
    background: linear-gradient(135deg, #6c5ce7 0%, #5847d4 100%);
    color: #fff;
    border-color: #5847d4;
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.3);
}
.msw-game-actions .msw-btn-yours:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.4);
}

/* Progress + skip */
.msw-picks-progress {
    min-height: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #636e72;
    text-align: center;
}
.msw-skip-btn {
    background: #fff;
    color: #636e72;
    border: 1px solid #e1e4ed;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    margin-top: 4px;
    align-self: center;
    transition: all 0.15s ease;
}
.msw-skip-btn:hover {
    border-color: #6c5ce7;
    color: #6c5ce7;
}

/* ----- Result panel (where Our Picks / Pick Yours show plays) ----- */
.msw-result-panel {
    background: #f8f9fc;
    border: 1px solid #eef0f6;
    border-radius: 8px;
    padding: 12px;
    min-height: 100px;
}
.msw-result-empty {
    color: #95a5a6;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    padding: 8px 0;
}
.msw-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef0f6;
}
.msw-result-titles {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.msw-result-game {
    font-size: 14px;
    font-weight: 800;
    color: #2d3436;
}
.msw-result-source {
    font-size: 11px;
    color: #95a5a6;
    font-weight: 600;
}
.msw-result-copy {
    background: #fff;
    border: 1px solid #e1e4ed;
    color: #636e72;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}
.msw-result-copy:hover {
    border-color: #6c5ce7;
    color: #6c5ce7;
}
.msw-result-plays {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.msw-result-play {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: #fff;
    border-radius: 6px;
    flex-wrap: wrap;
    border: 1px solid transparent;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.msw-result-play-live {
    border-color: #fdcb6e;
    background: #fffbf0;
}
.msw-result-play-done {
    border-color: #eef0f6;
}
.msw-result-play-num {
    font-size: 11px;
    font-weight: 700;
    color: #95a5a6;
    flex: 0 0 42px;
}
.msw-result-balls {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

/* ----- Balls ----- */
.msw-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}
.msw-ball-main {
    background: linear-gradient(135deg, #6c5ce7 0%, #5847d4 100%);
    box-shadow: 0 2px 4px rgba(108, 92, 231, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.msw-ball-bonus {
    background: linear-gradient(135deg, #fdcb6e 0%, #f0932b 100%);
    color: #5d3500;
    box-shadow: 0 2px 4px rgba(240, 147, 43, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.msw-ball-sep {
    color: #95a5a6;
    font-weight: 700;
    font-size: 14px;
    margin: 0 2px;
}
@keyframes msw-ball-pop {
    0%   { transform: scale(0) rotate(-90deg); opacity: 0; }
    60%  { transform: scale(1.18) rotate(0deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); }
}
.msw-ball-pop {
    animation: msw-ball-pop 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----- Toast ----- */
.msw-toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.msw-toast {
    background: #2d3436;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 40px rgba(45, 52, 54, 0.18);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.msw-toast-show { opacity: 1; transform: translateY(0); }
.msw-toast-success { background: #00b894; }
.msw-toast-error   { background: #d63031; }

/* ----- Mobile / Responsive ----- */
@media (max-width: 1000px) {
    .msw-picks {
        grid-column: auto;
    }
}
@media (max-width: 700px) {
    .msw-game-actions {
        flex-direction: column;
    }
    .msw-game-actions .msw-btn {
        width: 100%;
    }
    .msw-disclaimer-top { font-size: 12px; }
    .msw-disclaimer    { font-size: 11px; }
    .msw-ball { min-width: 28px; height: 28px; font-size: 12px; }
    .msw-current-game-name { font-size: 14px; }
}

/* Game description in result panel — green */
.msw-result-desc {
    color: #00b894;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    background: rgba(0, 184, 148, 0.08);
    border-left: 3px solid #00b894;
    border-radius: 4px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* ----- Banner: empty | button (center) | We Are On + icons (right) ----- */
.msw-lucky-banner-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: nowrap;
}
.msw-banner-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.msw-share-label {
    font-size: 14px;
    font-weight: 800;
    color: #2d3436;
    letter-spacing: 0.2px;
}
.msw-share-buttons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
/* Don't restrict AddToAny's own styling */
.msw-share-buttons .a2a_kit { display: inline-flex; align-items: center; }
.msw-banner-center {
    display: flex;
    justify-content: center;
}
.msw-banner-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.msw-social-label {
    font-size: 14px;
    font-weight: 800;
    color: #2d3436;
    letter-spacing: 0.2px;
    margin-right: 4px;
}

/* Native-color social icons — no colored circle background */
.msw-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 8px;
    text-decoration: none !important;
    transition: transform 0.15s ease, filter 0.15s ease;
    color: inherit;
    line-height: 0;
}
.msw-social-icon:hover {
    transform: translateY(-2px) scale(1.06);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.18));
}
.msw-social-icon svg { display: block; }

/* Featured/centered CTA — fuchsia (#FF00FF) per spec */
.msw-lucky-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FF00FF;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 0, 255, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.msw-lucky-banner-btn:hover {
    background: #e600e6;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 0, 255, 0.6);
}

/* ----- Age restriction in disclaimer ----- */
.msw-disclaimer-age {
    color: #d63031;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Mobile — banner stacks */
@media (max-width: 720px) {
    .msw-lucky-banner-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .msw-banner-left {
        order: 3;
        justify-content: center;
    }
    .msw-banner-center { order: 1; }
    .msw-banner-right {
        order: 2;
        justify-content: center;
    }
    .msw-lucky-banner-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================================
 * BLUE THEME (v1.9.0)
 * Deep ocean blue + cyan + gold accents
 * ============================================================ */

.msw-wrap {
    --c-bg-deep:   #0a0e1a;
    --c-bg-mid:    #111827;
    --c-bg-bright: #1a2035;
    --c-gold:      #FFD700;
    --c-gold-dk:   #d4af37;
    --c-gold-lt:   #ffe680;
    --c-green:     #00c853;
    --c-green-br:  #00ff7d;
    --c-pink:      #00b4d8;
    --c-magenta:   #7b2fff;
    --c-text:      #ffffff;
    --c-text-soft: #c4b5e0;
    --c-border:    rgba(123, 47, 255, 0.35);
    --c-glass:     rgba(10, 14, 26, 0.6);

    background:
        radial-gradient(ellipse at 10% 15%, rgba(123,47,255,0.28) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 10%, rgba(0,229,255,0.18) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 85%, rgba(255,60,172,0.20) 0%, transparent 42%),
        radial-gradient(ellipse at 15% 85%, rgba(255,215,0,0.14) 0%, transparent 42%),
        linear-gradient(160deg, #0a0e1a 0%, #111827 50%, #0d1220 100%);
    border-radius: 24px;
    padding: 28px;
    color: var(--c-text);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(123, 47, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Rotating sunburst rays — REMOVED per request */
/*
.msw-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    padding-bottom: 200%;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        rgba(0, 0, 0, 0.30) 0deg 5deg, transparent 5deg 10deg,
        rgba(0, 0, 0, 0.20) 10deg 14deg, transparent 14deg 18deg,
        rgba(0, 0, 0, 0.30) 18deg 22deg, transparent 22deg 28deg
    );
    animation: msw-sunburst-rotate 90s linear infinite;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
@keyframes msw-sunburst-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .msw-wrap::before { animation: none; }
}
*/

/* Keep all real content above the sunburst */
.msw-wrap > * {
    position: relative;
    z-index: 1;
}

/* ----- Banner row ----- */
.msw-banner-center {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.msw-lucky-banner-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    color: #fff !important;
    box-shadow: 0 0 28px rgba(123, 47, 255, 0.55);
}
.msw-lucky-banner-btn:hover {
    box-shadow: 0 0 38px rgba(123, 47, 255, 0.75);
}
.msw-lucky-today-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--c-green) 0%, #00a043 100%);
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(0, 200, 83, 0.5);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.msw-lucky-today-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(0, 200, 83, 0.75);
}
.msw-share-label,
.msw-social-label {
    color: var(--c-gold);
}

/* ----- Disclaimers ----- */
.msw-disclaimer-top {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.6);
    color: var(--c-gold-lt);
}
.msw-disclaimer {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--c-border);
    color: var(--c-text-soft);
}
.msw-disclaimer strong { color: var(--c-gold); }
.msw-disclaimer-age { color: #ff6b9d; }

/* ----- Lucky Numbers + Today's Picks panels ----- */
.msw-lotto,
.msw-picks {
    background: rgba(10, 14, 26, 0.65);
    border: 1px solid rgba(123, 47, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.msw-lotto-header,
.msw-picks-header {
    border-bottom-color: rgba(123, 47, 255, 0.25);
}
.msw-lotto-title,
.msw-picks-title {
    color: var(--c-text);
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.55);
    font-weight: 900;
}

/* ----- Lucky Numbers panel internals ----- */
.msw-lotto-section-label,
.msw-lotto-pick-label,
.msw-lotto-label,
.msw-lotto-results-label,
.msw-lotto-status,
.msw-hint,
.msw-canvas-game-range,
.msw-current-game-range {
    color: var(--c-text);
}

.msw-lotto-howto-link {
    color: var(--c-gold);
    text-decoration: underline;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}
.msw-flash-red {
    color: #ff4d6d;
    animation: msw-flash 1s ease-in-out infinite;
}
@keyframes msw-flash {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

/* Range buttons */
.msw-lotto-range {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--c-border);
    color: var(--c-text);
}
.msw-lotto-range:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--c-gold);
}
.msw-lotto-range-active,
.msw-lotto-range.msw-lotto-range-active {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    color: #fff;
    border-color: #7b2fff;
    box-shadow: 0 0 18px rgba(123, 47, 255, 0.5);
    font-weight: 900;
}

/* Chips */
.msw-lotto-chip {
    background: rgba(0, 0, 0, 0.3);
    color: var(--c-text);
    border: 1px solid var(--c-border);
}
.msw-lotto-chip-removed {
    opacity: 0.3;
    text-decoration: line-through;
}

/* +/- count buttons */
.msw-lotto-count-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.msw-lotto-count-ctrl {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--c-gold);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}
.msw-lotto-count-btn {
    width: 34px;
    height: 34px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.18);
    color: var(--c-gold);
    border: none;
    cursor: pointer;
    padding: 0;
}
.msw-lotto-count-btn:hover {
    background: var(--c-gold);
    color: var(--c-bg-deep);
}
.msw-lotto-count-val {
    min-width: 36px;
    padding: 0 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--c-gold);
    line-height: 34px;
}

/* Load & Spin / Reset buttons */
.msw-lotto-load,
.msw-lotto-load.msw-btn,
.msw-lotto-load.msw-btn-primary {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    color: #fff;
    border: none;
    font-weight: 900;
    box-shadow: 0 4px 18px rgba(123, 47, 255, 0.5);
}
.msw-lotto-load:hover:not(:disabled) {
    box-shadow: 0 6px 26px rgba(123, 47, 255, 0.7);
    transform: translateY(-2px);
}
.msw-lotto-reset {
    background: transparent;
    color: var(--c-text-soft);
    border: 1px solid rgba(212, 197, 247, 0.5);
}
.msw-lotto-reset:hover {
    border-color: var(--c-pink);
    color: var(--c-pink);
    background: rgba(232, 58, 130, 0.1);
}

/* Lucky Numbers result area */
.msw-lotto-result {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 215, 0, 0.35);
}
.msw-lotto-result-empty,
.msw-lotto-result-placeholder {
    color: var(--c-text-soft);
    font-style: italic;
}
.msw-lotto-copy {
    background: transparent;
    color: var(--c-gold);
    border: 1px solid var(--c-gold);
}
.msw-lotto-copy:hover {
    background: var(--c-gold);
    color: var(--c-bg-deep);
}

/* ----- Wheel ----- */
.msw-canvas {
    background: transparent;
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.35),
        0 12px 36px rgba(0, 0, 0, 0.55);
}
.msw-canvas-container.is-spinning .msw-canvas {
    box-shadow:
        0 0 50px rgba(255, 215, 0, 0.6),
        0 0 100px rgba(232, 58, 130, 0.4);
}
.msw-pointer {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
}
.msw-pointer::after {
    display: none;
}
.msw-canvas-game-name,
.msw-current-game-name {
    color: var(--c-text);
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.6);
    font-weight: 900;
}
.msw-canvas-game-label,
.msw-current-game {
    margin-bottom: 18px;
}
.msw-canvas-progress {
    color: var(--c-green-br);
    text-shadow: 0 0 10px rgba(0, 200, 83, 0.6);
}
/* Hide vestigial v1.6.8 overlay/center button */
.msw-overlay,
.msw-center-btn {
    display: none;
}
/* Hide vestigial shims only */
.msw-input-area.msw-hidden-shims {
    display: none !important;
}
/* Winner modal — shown by JS when needed */
.msw-modal { display: none; }
.msw-modal.is-open { display: flex; }

/* ----- Date dropdown ----- */
.msw-lucky-dateselect,
.msw-picks-dateselect {
    background: rgba(0, 0, 0, 0.4);
    color: var(--c-text);
    border: 1px solid rgba(255, 215, 0, 0.5);
}
.msw-lucky-dateselect option,
.msw-picks-dateselect option {
    background: var(--c-bg-deep);
    color: var(--c-text);
}
.msw-lucky-datelabel,
.msw-picks-datelabel {
    color: var(--c-text-soft);
}

/* ----- Game rows on the right ----- */
.msw-game-row {
    background: rgba(123, 47, 255, 0.08);
    border: 1px solid rgba(123, 47, 255, 0.25);
    transition: all 0.2s ease;
}
.msw-game-row:hover {
    background: rgba(123, 47, 255, 0.15);
    border-color: rgba(123, 47, 255, 0.5);
    box-shadow: 0 0 18px rgba(123, 47, 255, 0.15);
    transform: translateY(-1px);
}
.msw-game-name {
    color: var(--c-text);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}
.msw-game-desc {
    color: var(--c-text-soft);
}

/* Today's Picks button = purple outline */
.msw-game-actions .msw-btn-our {
    background: transparent;
    color: #c4b5f8;
    border-color: rgba(123, 47, 255, 0.6);
    box-shadow: 0 0 10px rgba(123, 47, 255, 0.15);
    font-weight: 800;
}
.msw-game-actions .msw-btn-our:hover:not(:disabled) {
    background: rgba(123, 47, 255, 0.2);
    color: #fff;
    box-shadow: 0 0 22px rgba(123, 47, 255, 0.4);
}

/* Pick Yours = purple */
.msw-game-actions .msw-btn-yours {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    color: #fff;
    border-color: rgba(123, 47, 255, 0.6);
    box-shadow: 0 0 14px rgba(123, 47, 255, 0.4);
    font-weight: 900;
}
.msw-game-actions .msw-btn-yours:hover:not(:disabled) {
    box-shadow: 0 0 24px rgba(123, 47, 255, 0.6);
    transform: translateY(-2px);
}

/* ----- Result panel ----- */
.msw-result-panel {
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid rgba(123, 47, 255, 0.25);
}
.msw-result-empty,
.msw-result-source {
    color: var(--c-text-soft);
}
.msw-result-game {
    color: #c4b5f8;
}
.msw-result-play {
    background: rgba(123, 47, 255, 0.08);
    border: 1px solid rgba(123, 47, 255, 0.2);
}
.msw-result-play-live {
    background: rgba(123, 47, 255, 0.12);
    border-color: rgba(123, 47, 255, 0.5);
    box-shadow: 0 0 14px rgba(123, 47, 255, 0.2);
}
.msw-result-play-num {
    color: rgba(180, 150, 255, 0.8);
}
.msw-result-copy {
    background: transparent;
    color: #c4b5f8;
    border: 1px solid rgba(123, 47, 255, 0.5);
}
.msw-result-copy:hover {
    background: rgba(123, 47, 255, 0.2);
    color: #fff;
}

/* Description tag — green (per spec) */
.msw-result-desc {
    background: rgba(0, 200, 83, 0.18);
    border-left-color: var(--c-green);
    color: var(--c-green-br);
    box-shadow: 0 0 14px rgba(0, 200, 83, 0.3);
    text-shadow: 0 0 8px rgba(0, 200, 83, 0.4);
}

/* ----- 3D balls ----- */
.msw-ball-main {
    background: radial-gradient(circle at 30% 30%, #c4b5fd 0%, #7b2fff 40%, #3b0db0 100%);
    color: #fff;
    box-shadow:
        0 4px 12px rgba(123, 47, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(123, 47, 255, 0.6);
}
.msw-ball-bonus {
    background: radial-gradient(circle at 30% 30%, #a5f3fc 0%, #00e5ff 40%, #0077b6 100%);
    color: #000;
    box-shadow:
        0 4px 12px rgba(0, 229, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.25),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(0, 229, 255, 0.6);
}
.msw-ball-sep { color: rgba(180, 150, 255, 0.8); }

/* ----- Modals ----- */
.msw-answers-modal {
    z-index: 99999;
}
.msw-answers-card,
.msw-modal-card {
    background: linear-gradient(135deg, #111827 0%, #0a0e1a 100%);
    border: 2px solid rgba(123, 47, 255, 0.5);
    color: var(--c-text);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(123, 47, 255, 0.15);
}
.msw-answers-title {
    color: var(--c-gold);
}
.msw-answers-list,
.msw-answers-list li,
.msw-modal-body {
    color: var(--c-text-soft);
}
.msw-answers-list strong,
.msw-modal-body strong {
    color: var(--c-green-br);
}
.msw-answers-close {
    color: var(--c-gold);
    background: transparent;
    border: 1px solid var(--c-border);
}
.msw-answers-close:hover {
    background: rgba(255, 215, 0, 0.15);
}

/* ----- Winner modal dark theme overrides ----- */
.msw-modal-header {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%) !important;
    color: #fff !important;
}
.msw-modal-header span { color: #fff !important; }
.msw-winner-name { color: #fff !important; font-size: 22px; font-weight: 800; }
.msw-modal-footer { background: rgba(5, 8, 20, 0.6) !important; border-top: 1px solid rgba(123,47,255,0.3) !important; }
.msw-modal-footer .msw-btn-text { color: rgba(255,255,255,0.7) !important; }
.msw-modal-footer .msw-btn-text:hover { color: #fff !important; background: rgba(255,255,255,0.1) !important; }
.msw-modal-footer .msw-btn-primary { background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%) !important; color: #fff !important; }

/* ----- Get Answers input panel button overrides ----- */
.msw-input-area .msw-btn-primary {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 18px rgba(123, 47, 255, 0.45);
}
.msw-input-area .msw-btn-primary:hover {
    box-shadow: 0 6px 24px rgba(123, 47, 255, 0.65);
    transform: translateY(-1px);
}
.msw-input-area .msw-btn-secondary {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.15);
}
.msw-input-area .msw-btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}
.msw-input-area .msw-btn-text {
    color: rgba(255,255,255,0.7);
}
.msw-input-area .msw-btn-text:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* ----- Skip button ----- */
.msw-skip-btn {
    background: transparent;
    color: var(--c-gold);
    border: 1px solid var(--c-gold);
}
.msw-skip-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

/* ----- Confetti canvas — never take layout space ----- */
canvas.msw-confetti,
.msw-confetti {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 100 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ----- Toast ----- */
.msw-toast {
    background: var(--c-bg-deep);
    border: 1px solid var(--c-gold);
    color: var(--c-gold);
}
.msw-toast-success {
    background: rgba(0, 200, 83, 0.25);
    border-color: var(--c-green);
    color: var(--c-green-br);
}

/* ----- Mobile ----- */
@media (max-width: 720px) {
    .msw-wrap { padding: 18px; border-radius: 16px; }
}


/* ============================================================
 * TODAY'S LUCKY NUMBERS PAGE — [my_spin_wheel_today]
 * Wraps in .msw-wrap so result-panel cards inherit the
 * dark/gold casino theme automatically.
 * ============================================================ */

.msw-today-wrap {
    max-width: 720px;
    margin: 32px auto;
    /* .msw-wrap already gives padding, background, border-radius */
}

.msw-today-top {
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}
.msw-today-page-title {
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 14px 0;
    letter-spacing: 1px;
    color: var(--c-gold);
    text-shadow: 0 0 22px rgba(255, 215, 0, 0.45);
}
.msw-today-date-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.msw-today-date-label {
    color: var(--c-text-soft);
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}
.msw-today-wrap .msw-today-date-select {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    padding: 10px 38px 10px 14px;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    min-width: 240px;
    height: auto;
    line-height: 1.3;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23FFD700' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}
.msw-today-wrap .msw-today-date-select:focus {
    outline: none;
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25);
}
.msw-today-wrap .msw-today-date-select option {
    background: #0a1628;
    color: #ffffff;
    padding: 8px;
}

.msw-today-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.18s ease;
}

/* Each card grows a bit since it's the focal element on this page */
.msw-today-wrap .msw-result-panel {
    padding: 16px 18px;
}
.msw-today-wrap .msw-result-game {
    font-size: 18px;
}
.msw-today-wrap .msw-result-source {
    font-size: 12px;
}
.msw-today-wrap .msw-result-play {
    padding: 10px 12px;
}
.msw-today-wrap .msw-ball {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
}

.msw-today-disclaimer {
    margin-top: 26px;
    padding: 14px 16px;
    text-align: center;
    color: var(--c-text-soft);
    font-size: 13px;
    border-top: 1px solid rgba(255, 215, 0, 0.25);
}
.msw-today-disclaimer strong { color: var(--c-gold); }
.msw-today-disclaimer-age {
    display: block;
    margin-top: 6px;
    color: #ff4d6d;
    font-weight: 800;
    letter-spacing: 0.5px;
}

@media (max-width: 640px) {
    .msw-today-wrap { margin: 16px; }
    .msw-today-page-title { font-size: 30px; }
    .msw-today-date-select { width: 100%; min-width: 0; }
    .msw-today-wrap .msw-ball { min-width: 30px; height: 30px; font-size: 12px; }
}
/* =====================================================================
 *  v1.9.0 — Your Luck Today (left panel) + Luck Popup
 * ===================================================================== */

/* ----- Left panel: Your Luck Today ----- */
.msw-luck-panel {
    background: rgba(10, 14, 26, 0.7);
    border: 1px solid rgba(123, 47, 255, 0.3);
    border-radius: var(--msw-radius);
    padding: 18px 16px 20px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(123,47,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.msw-luck-header {
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(123, 47, 255, 0.25);
}

.msw-luck-title {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 0 18px rgba(100, 180, 255, 0.5);
}

.msw-luck-subtitle {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--c-gold);
    margin-top: 4px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.msw-luck-dots {
    display: inline-block;
    animation: msw-luck-dots 1.4s ease-in-out infinite;
}
@keyframes msw-luck-dots {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.msw-luck-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msw-luck-instructions {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.msw-luck-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.msw-luck-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 10px 8px;
    background: rgba(123, 47, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(123, 47, 255, 0.4);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.msw-luck-btn:hover:not(:disabled) {
    background: rgba(123, 47, 255, 0.35);
    border-color: rgba(123, 47, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(123, 47, 255, 0.4);
}
.msw-luck-btn:active:not(:disabled) {
    transform: translateY(1px);
}
.msw-luck-btn.is-active {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    border-color: #9b5fff;
    box-shadow: 0 0 22px rgba(123, 47, 255, 0.6);
}
.msw-luck-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1000px) {
    .msw-luck-panel {
        grid-column: 1 / -1;
        order: 1;
    }
    .msw-luck-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}
@media (max-width: 700px) {
    .msw-luck-panel { order: 1; }
    .msw-luck-buttons { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Luck Result Popup
   ============================================================ */
.msw-luck-popup {
    position: fixed;
    inset: 0;
    z-index: 99997;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.msw-luck-popup.is-open {
    display: flex;
    animation: msw-fadein 0.25s ease-out;
}
.msw-luck-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 10, 30, 0.85);
    backdrop-filter: blur(4px);
}
.msw-luck-popup-card {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 440px;
    background: linear-gradient(160deg, #0d0f1e 0%, #111827 100%);
    border: 2px solid rgba(123, 47, 255, 0.5);
    border-radius: 18px;
    overflow: hidden;
    animation: msw-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 50px rgba(123, 47, 255, 0.25), 0 24px 60px rgba(0,0,0,0.7);
    padding: 32px 28px 28px;
    text-align: center;
}
.msw-luck-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    color: #64b4ff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.15s;
}
.msw-luck-popup-close:hover { color: #fff; }

.msw-luck-popup-icon {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 12px;
}
.msw-luck-popup-category {
    font-size: 13px;
    font-weight: 700;
    color: rgba(180, 220, 255, 0.8);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.msw-luck-popup-number {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    /* color set per-level by JS */
}
.msw-luck-popup-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    /* color set per-level by JS */
}
.msw-luck-popup-message {
    font-size: 15px;
    color: rgba(200, 230, 255, 0.9);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}.msw-folder-btn {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
    text-align: center;
    line-height: 1.2;
}
.msw-folder-btn:hover:not(:disabled) {
    background: rgba(255,193,7,0.25);
    border-color: #ffc107;
}
.msw-folder-btn:active:not(:disabled) {
    transform: translateY(1px);
}
.msw-folder-btn.is-active {
    background: #ffc107;
    color: #2a0f23;
    border-color: #ffc107;
}
.msw-folder-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.msw-mini-wheel-wrap {
    position: relative;
    width: 100%;
    max-width: 240px;
    margin: 6px auto 0;
    aspect-ratio: 1 / 1;
}
.msw-mini-wheel {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.msw-mini-pointer {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 18px solid #ffc107;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.35));
    z-index: 2;
}

.msw-folders-status {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    min-height: 1.4em;
    padding: 8px 6px 0;
    color: rgba(255,255,255,0.9);
}
.msw-folders-status.is-yes    { color: #b8f5c8; }
.msw-folders-status.is-no     { color: #ffd1d1; }
.msw-folders-status.is-error  { color: #ffb7b7; }

/* Responsive: collapse to single column on tablet/mobile */
@media (max-width: 1000px) {
    .msw-folders {
        grid-column: 1 / -1;
        order: 1;
    }
}
@media (max-width: 700px) {
    .msw-folders {
        order: 1;
    }
    .msw-folders-grid {
        grid-template-columns: 1fr 1fr;
    }
    .msw-mini-wheel-wrap {
        max-width: 220px;
    }
}

/* ----- Collapsible "Build Your Own" inside right column ----- */
.msw-lotto-toggle-wrap {
    margin-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 14px;
}

.msw-lotto-toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: background 120ms ease, border-color 120ms ease;
}
.msw-lotto-toggle:hover {
    background: rgba(255,193,7,0.15);
    border-color: #ffc107;
}
.msw-lotto-toggle-icon { font-size: 18px; line-height: 1; }
.msw-lotto-toggle-label { flex: 1; }
.msw-lotto-toggle-chevron {
    transition: transform 200ms ease;
    font-size: 14px;
    color: #ffc107;
}
.msw-lotto-toggle[aria-expanded="true"] .msw-lotto-toggle-chevron {
    transform: rotate(180deg);
}

.msw-lotto-toggle-body {
    margin-top: 10px;
}
.msw-lotto-toggle-body[hidden] {
    display: none !important;
}
/* When inside the toggle, the inner .msw-lotto loses its own card styling
   (the parent .msw-picks already provides the card surface). */
.msw-lotto-toggle-body .msw-lotto {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

/* ----- Video player overlay ----- */
.msw-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.msw-video-overlay.is-open {
    display: flex;
}
.msw-video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(2px);
}
.msw-video-card {
    position: relative;
    z-index: 1;
    background: #081630;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: calc(100vh - 32px);
    padding: 18px 18px 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #fff;
}
.msw-video-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: 0;
    color: #ffd166;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}
.msw-video-close:hover { color: #fff; }
.msw-video-title {
    font-weight: 700;
    font-size: 16px;
    padding-right: 28px;
    color: #ffd166;
}
.msw-video-player {
    width: 100%;
    max-height: 70vh;
    background: #000;
    border-radius: 8px;
    display: block;
}
.msw-video-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 700px) {
    .msw-video-card {
        padding: 14px 12px 12px;
    }
    .msw-video-player {
        max-height: 60vh;
    }
}

/* ----- Email capture modal ----- */
.msw-email-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.msw-email-modal.is-open {
    display: flex;
}
.msw-email-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.msw-email-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    color: #1f2330;
    border-radius: 14px;
    max-width: 440px;
    width: 100%;
    padding: 22px 22px 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.msw-email-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: 0;
    color: #6b7280;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}
.msw-email-close:hover { color: #1f2330; }
.msw-email-title {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 800;
    color: #0f2347;
    padding-right: 24px;
}
.msw-email-sub {
    margin: 0 0 14px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}
.msw-email-field {
    margin-bottom: 10px;
}
.msw-email-input {
    width: 100%;
    padding: 11px 12px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #1f2330;
    box-sizing: border-box;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}
.msw-email-input:focus {
    outline: 0;
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255,193,7,0.25);
}
.msw-email-message {
    min-height: 1.3em;
    font-size: 13.5px;
    margin: 4px 0 12px;
}
.msw-email-message.is-error   { color: #b91c1c; }
.msw-email-message.is-success { color: #15803d; font-weight: 600; }
.msw-email-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}
.msw-email-fineprint {
    margin: 8px 0 0;
    font-size: 11.5px;
    color: #6b7280;
    text-align: center;
}
.msw-email-optin {
    display: block;
    font-size: 12.5px;
    color: #6b7280;
    line-height: 1.5;
}
.msw-email-download-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px 0 4px;
    text-align: center;
}
.msw-email-download-step[hidden] {
    display: none !important;
}
.msw-email-thanks {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #15803d;
}
.msw-email-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 13px 20px;
    background: #0f2347;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    transition: background 140ms ease;
    box-sizing: border-box;
}
.msw-email-download-btn:hover,
.msw-email-download-btn:focus {
    background: #1a3a6e;
    color: #fff !important;
}

@media (max-width: 480px) {
    .msw-email-card {
        padding: 18px 16px 14px;
    }
    .msw-email-actions {
        flex-direction: column-reverse;
    }
    .msw-email-actions .msw-btn { width: 100%; }
}

/* ----- Image fallback inside the lightbox ----- */
.msw-image-display {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
    display: block;
}
.msw-image-display[hidden] {
    display: none !important;
}
.msw-video-player[hidden] {
    display: none !important;
}

@media (max-width: 700px) {
    .msw-image-display {
        max-height: 60vh;
    }
}

/* ============================================================
   Vibe Popup — standalone modal for Pick Your Vibe Yes/No results.
   Separate from .msw-modal so Today's Picks / Build Your Own
   winner flow is completely unaffected.
   ============================================================ */
.msw-vibe-popup {
    position: fixed;
    inset: 0;
    z-index: 99997;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.msw-vibe-popup.is-open {
    display: flex;
    animation: msw-fadein 0.25s ease-out;
}

.msw-vibe-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}

.msw-vibe-card {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 480px;
    background: linear-gradient(160deg, #111827 0%, #0a0e1a 100%);
    border-radius: 16px;
    overflow: hidden;
    animation: msw-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 40px rgba(255,215,0,0.15), 0 24px 60px rgba(0,0,0,0.6);
}

/* Win — gold/purple */
.msw-vibe-card--win { border: 1px solid rgba(255,215,0,0.4); }
.msw-vibe-card--win .msw-vibe-header {
    background: linear-gradient(135deg, #7b2fff, #b8006e);
}
.msw-vibe-card--win .msw-vibe-footer .msw-btn-primary {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    box-shadow: 0 4px 15px rgba(123,47,255,0.5);
}
.msw-vibe-card--win .msw-vibe-footer .msw-btn-primary:hover {
    background: linear-gradient(135deg, #9b4fff 0%, #6a35dd 100%);
}

/* No — red */
.msw-vibe-card--no  { border: 1px solid rgba(239,68,68,0.35); }
.msw-vibe-card--no .msw-vibe-header {
    background: linear-gradient(135deg, #7f1d1d, #b91c1c);
}
.msw-vibe-card--no .msw-vibe-footer .msw-btn-primary {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 4px 15px rgba(239,68,68,0.45);
}
.msw-vibe-card--no .msw-vibe-footer .msw-btn-primary:hover {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
}

.msw-vibe-header {
    padding: 16px 22px;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.msw-vibe-body {
    padding: 36px 22px 28px;
    text-align: center;
}

.msw-vibe-bigtext {
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 4px;
    word-break: break-word;
}

/* YES! */
.msw-vibe-win-text {
    background: linear-gradient(180deg, #fff8d4 0%, #FFD700 60%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.6));
    animation: msw-winner-glow 1.5s ease-in-out infinite;
}

/* NO LUCK */
.msw-vibe-no-text {
    background: linear-gradient(180deg, #fca5a5 0%, #ef4444 55%, #b91c1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(239,68,68,0.6));
    animation: msw-vibe-no-glow 1.5s ease-in-out infinite;
}
@keyframes msw-vibe-no-glow {
    0%, 100% { filter: drop-shadow(0 0 14px rgba(239,68,68,0.5)); }
    50%       { filter: drop-shadow(0 0 28px rgba(239,68,68,0.9)); }
}

.msw-vibe-sub {
    margin-top: 12px;
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
}
.msw-vibe-win-text ~ .msw-vibe-sub strong,
.msw-vibe-card--win .msw-vibe-sub strong { color: #FFD700; }
.msw-vibe-card--no  .msw-vibe-sub strong { color: #fca5a5; }

/* Loading dots (win popup) */
.msw-vibe-loader {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.msw-vibe-loader span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFD700;
    animation: msw-vibe-bounce 1.1s ease-in-out infinite;
    opacity: 0.85;
}
.msw-vibe-loader span:nth-child(2) { animation-delay: 0.18s; background: #00e5ff; }
.msw-vibe-loader span:nth-child(3) { animation-delay: 0.36s; background: #ff3cac; }
@keyframes msw-vibe-bounce {
    0%, 80%, 100% { transform: translateY(0);     opacity: 0.6; }
    40%            { transform: translateY(-10px); opacity: 1;   }
}

.msw-vibe-footer {
    display: flex;
    justify-content: flex-end;
    padding: 14px 22px;
    border-top: 1px solid rgba(255,215,0,0.12);
    background: rgba(0,0,0,0.3);
}
.msw-vibe-footer .msw-btn-primary {
    min-width: 110px;
    padding: 11px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    transition: background 0.15s, transform 0.12s;
}
.msw-vibe-footer .msw-btn-primary:active { transform: translateY(1px) scale(0.98); }

/* ============================================================
   BONUS button — same pill as category buttons, gold highlight
   ============================================================ */
.msw-bonus-grid { margin-top: 8px; }
.msw-bonus-btn.msw-folder-btn {
    background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(255,149,0,0.1));
    border-color: #FFD700;
    color: #FFD700;
    font-weight: 700;
}
.msw-bonus-btn.msw-folder-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255,215,0,0.35), rgba(255,149,0,0.2));
    border-color: #FFD700;
    color: #FFD700;
    box-shadow: 0 0 18px rgba(255,215,0,0.5);
}

/* ============================================================
   Build Your Own — inline below wheel
   ============================================================ */
.msw-byo-inline {
    margin-top: 14px;
    width: 100%;
}

.msw-byo-toggle-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,149,0,0.08));
    color: #FFD700;
    border: 1px solid rgba(255,215,0,0.35);
    border-radius: 10px;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 16px;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, box-shadow 0.15s;
}
.msw-byo-toggle-btn:hover {
    background: linear-gradient(135deg, rgba(255,215,0,0.22), rgba(255,149,0,0.14));
    box-shadow: 0 0 14px rgba(255,215,0,0.25);
}
.msw-byo-toggle-btn[aria-expanded="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.msw-byo-inline-body {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,215,0,0.25);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 16px 20px 20px;
}
.msw-byo-inline-body[hidden] { display: none !important; }

.msw-byo-inline-body .msw-lotto-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
