.quick-tools {
    background: var(--ol-charcoal, #1e293b);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.quick-tools__inner {
    display: flex;
    gap: 0;
    justify-content: center
}

.qt-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    text-decoration: none;
    color: #f8fafc;
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .3px;
    transition: all .25s ease;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, .06)
}

.qt-item:last-child {
    border-right: none
}

.qt-item:hover {
    background: rgba(255, 255, 255, .05);
    color: #fff
}

.qt-item:hover .qt-icon {
    transform: scale(1.15) rotate(-3deg)
}

.qt-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

.qt-icon--forecast {
    background: linear-gradient(135deg, #8b5cf6, #6366f1)
}

.qt-icon--calc {
    background: linear-gradient(135deg, #f59e0b, #d97706)
}

.qt-icon--check {
    background: linear-gradient(135deg, #10b981, #059669)
}

.qt-icon--tools {
    background: linear-gradient(135deg, #ef4444, #dc2626)
}

.qt-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
    color: #f8fafc !important
}

.qt-label small {
    font-size: .62rem;
    color: #e2e8f0 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px
}

.qt-arrow {
    color: #475569;
    transition: transform .2s ease;
    flex-shrink: 0
}

.qt-item:hover .qt-arrow {
    transform: translateX(3px);
    color: #94a3b8
}

@media(max-width:900px) {
    .quick-tools__inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr)
    }

    .qt-item {
        border-bottom: 1px solid rgba(255, 255, 255, .06)
    }

    .qt-item:nth-child(2n) {
        border-right: none
    }
}

@media(max-width:768px) {
    .quick-tools__inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        grid-template-columns: unset !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 0;
        padding: 0
    }

    .quick-tools__inner::-webkit-scrollbar {
        display: none
    }

    .qt-item {
        flex: 0 0 auto;
        flex-direction: column;
        padding: 12px 14px 10px;
        gap: 4px;
        min-width: 80px;
        border-right: 1px solid rgba(255, 255, 255, .04) !important;
        border-bottom: none !important;
        font-size: 0.62rem;
        text-align: center;
        scroll-snap-align: start
    }

    .qt-item:last-child {
        border-right: none !important
    }

    .qt-icon {
        width: 32px;
        height: 32px
    }

    .qt-label {
        font-size: 0.62rem;
        line-height: 1.2;
        white-space: nowrap
    }

    .qt-label small {
        display: none
    }

    .qt-arrow {
        display: none
    }
}

.premium-results {
    padding: 70px 0 90px;
    background: #0f172a;
    position: relative;
    overflow: hidden;
    color: #f8fafc;
    contain: layout paint;
    min-height: 720px
}

.premium-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1200px;
    background: radial-gradient(ellipse 60% 50% at 30% 20%, rgba(56, 189, 248, 0.06) 0%, transparent 70%), radial-gradient(ellipse 50% 60% at 80% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 50% 50%, rgba(251, 191, 36, 0.03) 0%, transparent 50%);
    pointer-events: none;
    will-change: transform
}

.lotto-results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    position: relative;
    z-index: 2
}

.pr-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0 0 8px 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px
}

.pr-subtitle {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0
}

.pr-more-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s
}

.pr-more-link:hover {
    color: #e0f2fe
}

.pr-tabs {
    display: flex;
    gap: 12px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    width: fit-content;
    margin-bottom: 35px;
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 2
}

.pr-tab {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px
}

.pr-tab:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08)
}

.pr-tab.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2)
}

.live-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    background: #dc2626;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px
}

.pr-tab.active .live-badge {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6)
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulseObj 1.5s ease-in-out infinite
}

@keyframes pulseObj {

    0%,
    100% {
        transform: scale(0.9)
    }

    50% {
        transform: scale(1.2)
    }
}

.pr-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2
}

/* ⚡ CLS-ZERO: Initial panel renders grid immediately — no animation.
   The prFadeIn animation is only applied by JS on tab switch,
   never on the initially-active panel. This ensures the grid height
   is included in the first layout pass, eliminating CLS. */
.draw-panel.active .pr-grid {
    display: grid
}

@keyframes prFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.pr-card {
    background: rgba(30, 41, 59, 0.72);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 40px color-mix(in srgb, var(--card-glow, #38bdf8) 12%, transparent), 0 0 80px color-mix(in srgb, var(--card-glow, #38bdf8) 6%, transparent);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column
}

.pr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.04), 0 0 50px color-mix(in srgb, var(--card-glow, #38bdf8) 22%, transparent), 0 0 100px color-mix(in srgb, var(--card-glow, #38bdf8) 10%, transparent);
    border-color: rgba(255, 255, 255, 0.15)
}

.pr-card__header {
    padding: 24px 24px 20px;
    color: #fff;
    position: relative
}

.pr-card__header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
    pointer-events: none
}

.pr-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 10
}

.pr-game-name {
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.3px
}

.pr-time-badge {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.2)
}

.pr-jp {
    position: relative;
    z-index: 10
}

.pr-jp-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 2px
}

.pr-jp-val {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px
}

.pr-card__body {
    padding: 28px 24px;
    background: #0c1222;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03)
}

.pr-balls-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center
}

.pr-ball {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c-ball) 55%, white 45%) 0%, var(--c-ball) 50%, color-mix(in srgb, var(--c-ball) 78%, black 22%) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-heading), system-ui, sans-serif;
    box-shadow: inset -4px -4px 10px rgba(0, 0, 0, 0.32), inset 3px 3px 8px rgba(255, 255, 255, 0.42), 0 6px 28px color-mix(in srgb, var(--c-ball) 60%, transparent), 0 0 40px color-mix(in srgb, var(--c-ball) 35%, transparent), 0 2px 6px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    position: relative;
    animation: ballIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s
}

html[data-theme="outdoor"] .pr-ball {
    background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 22%, var(--c-ball, #1a6b2f) 40%, color-mix(in srgb, var(--c-ball, #1a6b2f) 82%, black 18%) 100%) !important;
    outline: 1.5px solid rgba(0, 0, 0, 0.28) !important;
    outline-offset: -1px !important;
    box-shadow: inset -3px -4px 10px rgba(0, 0, 0, 0.45), inset 2px 2px 5px rgba(255, 255, 255, 0.10), 0 5px 14px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.28) !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em !important;
    color: #ffffff !important;
    text-shadow: 0 0 1px #000, 0 0 3px rgba(0, 0, 0, 0.95), 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000 !important
}

html[data-theme="outdoor"] .pr-ball:hover {
    box-shadow: inset -3px -4px 10px rgba(0, 0, 0, 0.55), inset 2px 2px 5px rgba(255, 255, 255, 0.10), 0 12px 28px rgba(0, 0, 0, 0.55), 0 2px 4px rgba(0, 0, 0, 0.28) !important
}

.pr-ball:hover {
    transform: scale(1.18) translateY(-4px);
    box-shadow: inset -4px -4px 10px rgba(0, 0, 0, 0.32), inset 3px 3px 8px rgba(255, 255, 255, 0.42), 0 14px 36px color-mix(in srgb, var(--c-ball) 70%, transparent), 0 0 52px color-mix(in srgb, var(--c-ball) 50%, transparent), 0 2px 6px rgba(0, 0, 0, 0.18)
}

.pr-ball:nth-child(1) {
    animation-delay: 0.0s
}

.pr-ball:nth-child(2) {
    animation-delay: 0.06s
}

.pr-ball:nth-child(3) {
    animation-delay: 0.12s
}

.pr-ball:nth-child(4) {
    animation-delay: 0.18s
}

.pr-ball:nth-child(5) {
    animation-delay: 0.24s
}

.pr-ball:nth-child(6) {
    animation-delay: 0.30s
}

.pr-ball:nth-child(7) {
    animation-delay: 0.36s
}

@keyframes ballIn {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(20px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

.pr-ball::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 13px;
    width: 15px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transform: rotate(-30deg);
    filter: blur(1px)
}

html[data-theme="outdoor"] .pr-ball::after {
    opacity: 0;
    display: none
}

.pr-empty-state {
    text-align: center;
    color: #cbd5e1
}

.pr-empty-state strong {
    display: block;
    color: #f8fafc;
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 800
}

.pr-empty-state small {
    font-size: 0.85rem;
    font-weight: 600
}

.pr-card__footer {
    padding: 14px 24px;
    background: #1e293b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px
}

.pr-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.pr-status-chip--live {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80
}

.pr-status-chip--recent {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8
}

.pr-status-chip--pending {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24
}

.pr-status-chip::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor
}

.pr-card--jackpot .pr-jp-val {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fde68a, #f5c842);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none
}

.pr-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    margin-top: 8px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    border: none
}

.pr-countdown__icon {
    font-size: 14px;
    opacity: 0.9;
    animation: pr-cd-pulse 2s ease-in-out infinite
}

@keyframes pr-cd-pulse {

    0%,
    100% {
        opacity: 0.6
    }

    50% {
        opacity: 1
    }
}

.pr-countdown__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap
}

.pr-countdown__digits {
    display: flex;
    gap: 2px;
    margin-left: auto
}

.pr-cd-seg {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 28px
}

.pr-cd-num {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    color: #f5c842;
    text-shadow: 0 0 8px rgba(245, 200, 66, 0.4);
    font-variant-numeric: tabular-nums
}

.pr-cd-unit {
    font-size: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1px
}

.pr-cd-colon {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(245, 200, 66, 0.5);
    line-height: 1;
    padding: 0 1px;
    animation: pr-cd-blink 1s step-end infinite
}

@keyframes pr-cd-blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.2
    }
}

.pr-countdown--live .pr-cd-num {
    color: #00e676;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.5)
}

.pr-countdown--live .pr-cd-colon {
    color: rgba(0, 230, 118, 0.5)
}

.pr-countdown--urgent .pr-cd-num {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    animation: pr-cd-urgent 0.5s ease-in-out infinite
}

@keyframes pr-cd-urgent {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.7
    }
}

.pr-card--jackpot .pr-card__header {
    border-bottom: 2px solid rgba(245, 200, 66, 0.3)
}

.pr-date {
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700
}

.pr-action {
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s
}

.pr-card:hover .pr-action {
    color: #f1f5f9
}

@media(max-width:768px) {
    .premium-results {
        padding: 40px 0 60px;
        min-height: 560px
    }

    .lotto-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
    }

    .pr-title {
        font-size: 1.8rem
    }

    .pr-grid {
        grid-template-columns: 1fr
    }

    .pr-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 1;
        justify-content: center
    }

    .pr-tabs {
        width: 100%
    }
}

.diw {
    padding: 40px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    overflow: hidden
}

.diw::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, .08), transparent 70%);
    pointer-events: none
}

.diw__head {
    text-align: center;
    margin-bottom: 24px
}

.diw__title {
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 6px
}

.diw__title em {
    font-style: normal;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.diw__sub {
    color: #64748b;
    font-size: .85rem;
    margin: 0
}

.diw__card {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(8px)
}

.diw__select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center
}

.diw__select option {
    background: #1e293b;
    color: #e2e8f0
}

.diw__nums {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px
}

.diw__input {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 2px solid rgba(255, 255, 255, .12);
    color: #fff;
    text-align: center;
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    outline: none;
    transition: all .2s ease
}

.diw__input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, .3)
}

.diw__input.matched {
    background: linear-gradient(145deg, #f59e0b, #d97706) !important;
    border-color: #fbbf24 !important;
    color: #0c0e1a !important;
    animation: diwPop .4s ease
}

.diw__input.nope {
    border-color: rgba(239, 68, 68, .4);
    color: #64748b
}

@keyframes diwPop {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.2)
    }

    100% {
        transform: scale(1)
    }
}

.diw__btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0c0e1a;
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: .95rem;
    font-weight: 800;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all .2s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, .3)
}

.diw__btn:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, .45)
}

.diw__result {
    text-align: center;
    margin-top: 16px;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .9rem;
    display: none
}

.diw__result.win {
    display: block;
    background: rgba(52, 211, 153, .12);
    border: 1px solid rgba(52, 211, 153, .3);
    color: #34d399
}

.diw__result.lose {
    display: block;
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .2);
    color: #f87171
}

@media(max-width:480px) {
    .diw__input {
        width: 42px;
        height: 42px;
        font-size: .88rem
    }

    .diw__card {
        padding: 16px
    }
}

.live-draw-section {
    padding: 48px 0;
    background: linear-gradient(135deg, #0a0d1a 0%, #0c1425 50%, #0a0d1a 100%);
    position: relative;
    overflow: hidden;
    text-align: center
}

.live-draw-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.1) 0%, transparent 65%);
    pointer-events: none
}

.live-draw-section .container {
    position: relative;
    z-index: 1
}

.ld-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 16px
}

.ld-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: ldPulse 1.5s ease-in-out infinite
}

@keyframes ldPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7)
    }
}

.ld-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 6px
}

.ld-title em {
    font-style: normal;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.ld-sub {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0 0 28px
}

.ld-countdown {
    display: inline-flex;
    gap: 12px;
    margin-bottom: 28px
}

.ld-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px
}

.ld-digits {
    display: flex;
    gap: 3px
}

.ld-digit {
    width: 40px;
    height: 84px;
    background: #050505;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    font-family: var(--font-heading, 'Montserrat'), system-ui, sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fbbf24;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8)
}

.ld-reel {
    display: flex;
    flex-direction: column;
    height: 200%;
    transform: translateY(0%);
    will-change: transform
}

.ld-reel.rolling {
    transition: transform 0.9s cubic-bezier(0.33, 1, 0.68, 1);
    transform: translateY(-50%)
}

.ld-game-next {
    overflow: hidden;
    height: 56px;
    text-align: left;
    line-height: 1.35
}

.ld-carousel-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1)
}

.ld-carousel-slide {
    min-height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.ld-slide-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 2px
}

.ld-slide-game {
    font-weight: 700;
    color: #fbbf24;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px
}

.ld-next,
.ld-curr {
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.6)
}

.ld-digit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
    border-radius: 8px
}

.ld-digit.changed {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.8);
    border-color: rgba(245, 158, 11, 0.6);
    transition: all 0.95s ease-out
}

.ld-digit:not(.changed) {
    transition: all 0.95s ease-in
}

.ld-label-unit {
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em
}

.ld-sep {
    font-size: 1.8rem;
    color: #475569;
    font-weight: 800;
    align-self: flex-start;
    margin-top: 18px;
    animation: ldBlink 1s step-end infinite
}

@keyframes ldBlink {
    50% {
        opacity: 0
    }
}

.ld-game-next {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 20px;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 20px
}

.ld-game-next strong {
    color: #fbbf24
}

.ld-stream {
    max-width: 720px;
    margin: 32px auto 0;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.1);
    background: #000;
    display: none;
    contain: layout
}

.ld-stream.active {
    display: block
}

.ld-stream__label {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 8px
}

.ld-stream__label .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: ldPulse 1.5s infinite
}

.ld-stream iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none
}

@media (max-width:600px) {
    .ld-countdown {
        gap: 6px
    }

    .ld-digit {
        width: 32px;
        height: 68px;
        font-size: 1.7rem
    }

    .ld-sep {
        font-size: 1.3rem;
        margin-top: 14px
    }
}

.stories-v2 {
    padding: 40px 0;
    background: var(--ol-off-white)
}

.stories-v2__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px
}

.stories-v2__head .section-label::before {
    background: var(--ol-green)
}

.stories-v2__all {
    font-family: var(--font-heading);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--ol-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s ease
}

.stories-v2__all:hover {
    gap: 8px;
    color: var(--ol-green)
}

.stories-v2__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.sv2-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
    overflow: hidden
}

.sv2-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0;
    transition: opacity .3s ease
}

.sv2-card:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(5, 150, 105, .04), rgba(16, 185, 129, .08))
}

.sv2-card:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(220, 38, 38, .04), rgba(245, 158, 11, .08))
}

.sv2-card:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, .04), rgba(124, 58, 237, .08))
}

.sv2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
    border-color: transparent
}

.sv2-card:hover::before {
    opacity: 1
}

.sv2-card:hover .sv2-card__icon {
    transform: scale(1.1) rotate(-5deg)
}

.sv2-card:hover .sv2-card__arrow {
    transform: translateX(4px);
    opacity: 1
}

.sv2-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.sv2-card__body {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1
}

.sv2-card__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #64748b;
    margin-bottom: 6px
}

.sv2-card__title {
    font-family: var(--font-heading);
    font-size: .92rem;
    font-weight: 800;
    color: var(--ol-charcoal);
    line-height: 1.3;
    margin: 0 0 6px
}

.sv2-card__desc {
    font-size: .78rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.sv2-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.sv2-card__link {
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--ol-green)
}

.sv2-card__arrow {
    width: 20px;
    height: 20px;
    color: var(--ol-green);
    opacity: .5;
    transition: all .2s ease
}

.sv2-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease
}

.stories-v2.in-view .sv2-card {
    opacity: 1;
    transform: translateY(0)
}

.stories-v2.in-view .sv2-card:nth-child(1) {
    transition-delay: 0s
}

.stories-v2.in-view .sv2-card:nth-child(2) {
    transition-delay: .1s
}

.stories-v2.in-view .sv2-card:nth-child(3) {
    transition-delay: .2s
}

@media(max-width:900px) {
    .stories-v2__grid {
        grid-template-columns: 1fr 1fr
    }

    .sv2-card:nth-child(3) {
        grid-column: 1/-1
    }
}

@media(max-width:600px) {
    .stories-v2__grid {
        grid-template-columns: 1fr
    }

    .sv2-card:nth-child(3) {
        grid-column: auto
    }
}

@media(prefers-reduced-motion:reduce) {
    .sv2-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important
    }
}

.calc-hero {
    position: relative;
    background: #0c0e1a;
    background-image: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99, 102, 241, .12) 0%, transparent 60%), radial-gradient(ellipse 60% 80% at 85% 30%, rgba(245, 158, 11, .08) 0%, transparent 55%);
    padding: 56px 0;
    overflow: hidden
}

.calc-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    pointer-events: none
}

.calc-hero__glow--1 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, .15);
    top: -80px;
    left: -60px;
    animation: cgp 6s ease-in-out infinite alternate
}

.calc-hero__glow--2 {
    width: 350px;
    height: 350px;
    background: rgba(245, 158, 11, .12);
    bottom: -100px;
    right: -40px;
    animation: cgp 8s ease-in-out infinite alternate-reverse
}

@keyframes cgp {
    0% {
        opacity: .3;
        transform: scale(1)
    }

    100% {
        opacity: .6;
        transform: scale(1.15)
    }
}

.calc-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2
}

.calc-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.calc-hero__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: rgba(52, 211, 153, .12);
    color: #34d399;
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(52, 211, 153, .25);
    text-transform: uppercase;
    letter-spacing: 1px
}

.calc-hero__title {
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0
}

.calc-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.calc-hero__desc {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0;
    max-width: 440px
}

.calc-hero__stats {
    display: flex;
    gap: 24px;
    margin-top: 4px
}

.calc-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.calc-hero__stat-val {
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff
}

.calc-hero__stat-label {
    font-size: .78rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px
}

.calc-hero__cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0c0e1a;
    font-family: var(--font-heading), system-ui, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, .35), inset 0 1px 0 rgba(255, 255, 255, .2);
    transition: all .2s ease
}

.calc-hero__cta svg {
    transition: transform .2s ease
}

.calc-hero__cta:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
    color: #000
}

.calc-hero__cta:hover svg {
    transform: translateX(4px)
}

.calc-hero__preview {
    display: flex;
    justify-content: flex-end
}

.calc-ui {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 255, 255, .05);
    transition: transform .35s ease, box-shadow .35s ease
}

.calc-ui:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 40px rgba(99, 102, 241, .08)
}

.calc-ui__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.calc-ui__dots {
    display: flex;
    gap: 5px
}

.calc-ui__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.calc-ui__dot--r {
    background: #ef4444
}

.calc-ui__dot--y {
    background: #f59e0b
}

.calc-ui__dot--g {
    background: #22c55e
}

.calc-ui__bar-title {
    flex: 1;
    font-size: .72rem;
    color: #64748b;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', monospace
}

.calc-ui__bar-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .65rem;
    color: #22c55e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px
}

.calc-ui__live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: clp 1.5s ease-in-out infinite
}

@keyframes clp {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .5)
    }

    50% {
        opacity: .5;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0)
    }
}

.calc-ui__game {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.calc-ui__game-icon {
    font-size: 1.2rem
}

.calc-ui__game-name {
    flex: 1;
    font-size: .88rem;
    color: #e2e8f0;
    font-weight: 700
}

.calc-ui__game-tag {
    font-size: .65rem;
    color: #fbbf24;
    background: rgba(251, 191, 36, .1);
    border: 1px solid rgba(251, 191, 36, .2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px
}

.calc-ui__balls {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px
}

.calc-ui__ball {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, #334155, #1e293b);
    border: 2px solid rgba(255, 255, 255, .1);
    color: #e2e8f0;
    font-weight: 800;
    font-size: .88rem;
    font-family: var(--font-heading), system-ui, sans-serif;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, .05), 0 2px 6px rgba(0, 0, 0, .3)
}

.calc-ui__ball--hl {
    background: linear-gradient(145deg, #f59e0b, #d97706);
    border-color: rgba(251, 191, 36, .4);
    color: #0c0e1a;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, .2), 0 2px 12px rgba(245, 158, 11, .35)
}

html[data-theme="outdoor"] .calc-ui__ball--hl {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 0 0 1px #000, 0 0 3px rgba(0, 0, 0, 0.95), 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000 !important;
    background: linear-gradient(145deg, #f59e0b, #d97706) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 3px 8px rgba(217, 119, 6, 0.35) !important
}

.calc-ui__readout {
    padding: 0 16px 12px
}

.calc-ui__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0
}

.calc-ui__row-label {
    font-size: .82rem;
    color: #94a3b8;
    font-weight: 500
}

.calc-ui__row-val {
    font-size: .88rem;
    color: #e2e8f0;
    font-weight: 700;
    font-family: var(--font-heading), system-ui, sans-serif
}

.calc-ui__row-val--red {
    color: #f87171
}

.calc-ui__row-val--green {
    color: #34d399;
    font-size: 1.05rem;
    font-weight: 900
}

.calc-ui__divider {
    height: 1px;
    background: rgba(255, 255, 255, .06);
    margin: 4px 0
}

.calc-ui__row--net {
    padding-top: 8px
}

.calc-ui__action {
    padding: 0 16px 16px
}

.calc-ui__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .15), rgba(99, 102, 241, .08));
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: 8px;
    color: #a5b4fc;
    font-size: .85rem;
    font-weight: 700;
    cursor: default
}

@media(max-width:900px) {
    .calc-hero {
        padding: 40px 0
    }

    .calc-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .calc-hero__preview {
        justify-content: center
    }

    .calc-ui {
        max-width: 360px
    }
}

@media(max-width:480px) {
    .calc-hero {
        padding: 32px 0
    }

    .calc-hero__title {
        font-size: 1.8rem
    }

    .calc-hero__stats {
        gap: 16px
    }

    .calc-hero__stat-val {
        font-size: 1.2rem
    }

    .calc-hero__cta {
        width: 100%;
        justify-content: center
    }

    .calc-ui {
        max-width: 100%
    }

    .calc-ui__balls {
        gap: 5px
    }

    .calc-ui__ball {
        width: 34px;
        height: 34px;
        font-size: .8rem
    }
}

.calc-hero__badge,
.calc-hero__title,
.calc-hero__desc,
.calc-hero__stats,
.calc-hero__cta,
.calc-hero__preview {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1)
}

.calc-hero.in-view .calc-hero__badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s
}

.calc-hero.in-view .calc-hero__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .1s
}

.calc-hero.in-view .calc-hero__desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .2s
}

.calc-hero.in-view .calc-hero__stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .3s
}

.calc-hero.in-view .calc-hero__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .4s
}

.calc-hero.in-view .calc-hero__preview {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .25s
}

.calc-hero__preview {
    transform: translateX(60px) translateY(0)
}

.calc-hero.in-view .calc-hero__preview {
    transform: translateX(0) translateY(0)
}

.calc-ui__ball {
    opacity: 0;
    transform: rotateY(180deg) scale(0.3);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)
}

.calc-hero.in-view .calc-ui__ball {
    opacity: 1;
    transform: rotateY(0) scale(1)
}

.calc-hero.in-view .calc-ui__ball:nth-child(1) {
    transition-delay: .45s
}

.calc-hero.in-view .calc-ui__ball:nth-child(2) {
    transition-delay: .52s
}

.calc-hero.in-view .calc-ui__ball:nth-child(3) {
    transition-delay: .59s
}

.calc-hero.in-view .calc-ui__ball:nth-child(4) {
    transition-delay: .66s
}

.calc-hero.in-view .calc-ui__ball:nth-child(5) {
    transition-delay: .73s
}

.calc-hero.in-view .calc-ui__ball:nth-child(6) {
    transition-delay: .80s
}

.calc-hero.in-view .calc-ui__ball {
    animation: ballFloat 3s ease-in-out infinite
}

.calc-hero.in-view .calc-ui__ball:nth-child(1) {
    animation-delay: 0s
}

.calc-hero.in-view .calc-ui__ball:nth-child(2) {
    animation-delay: .3s
}

.calc-hero.in-view .calc-ui__ball:nth-child(3) {
    animation-delay: .6s
}

.calc-hero.in-view .calc-ui__ball:nth-child(4) {
    animation-delay: .9s
}

.calc-hero.in-view .calc-ui__ball:nth-child(5) {
    animation-delay: 1.2s
}

.calc-hero.in-view .calc-ui__ball:nth-child(6) {
    animation-delay: 1.5s
}

@keyframes ballFloat {

    0%,
    100% {
        transform: rotateY(0) scale(1) translateY(0)
    }

    50% {
        transform: rotateY(10deg) scale(1.05) translateY(-3px)
    }
}

.calc-hero.in-view .calc-ui__ball--hl {
    animation: ballFloatGold 2.5s ease-in-out infinite
}

@keyframes ballFloatGold {

    0%,
    100% {
        transform: rotateY(0) scale(1) translateY(0);
        box-shadow: inset 0 2px 4px rgba(255, 255, 255, .2), 0 2px 12px rgba(245, 158, 11, .35)
    }

    50% {
        transform: rotateY(15deg) scale(1.08) translateY(-4px);
        box-shadow: inset 0 2px 4px rgba(255, 255, 255, .3), 0 4px 20px rgba(245, 158, 11, .55)
    }
}

.calc-ui__row,
.calc-ui__divider,
.calc-ui__action {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease
}

.calc-hero.in-view .calc-ui__row:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: .7s
}

.calc-hero.in-view .calc-ui__row:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: .8s
}

.calc-hero.in-view .calc-ui__divider {
    opacity: 1;
    transform: translateX(0);
    transition-delay: .85s
}

.calc-hero.in-view .calc-ui__row:nth-child(4) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: .9s
}

.calc-hero.in-view .calc-ui__action {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 1s
}

.calc-hero__stat-val[data-count],
.calc-ui__row-val[data-count] {
    position: relative;
    overflow: hidden
}

.calc-hero__stat-val[data-count]::after,
.calc-ui__row-val[data-count]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
    animation: counterShimmer 1.5s ease-out forwards;
    animation-play-state: paused
}

.calc-hero.in-view .calc-hero__stat-val[data-count]::after,
.calc-hero.in-view .calc-ui__row-val[data-count]::after {
    animation-play-state: running
}

@keyframes counterShimmer {
    0% {
        left: -100%
    }

    100% {
        left: 200%
    }
}

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

    .calc-hero__badge,
    .calc-hero__title,
    .calc-hero__desc,
    .calc-hero__stats,
    .calc-hero__cta,
    .calc-hero__preview,
    .calc-ui__ball,
    .calc-ui__row,
    .calc-ui__divider,
    .calc-ui__action {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important
    }
}

.trust-bar {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-top: 1px solid #d1fae5;
    border-bottom: 1px solid #d1fae5;
    padding: 24px 0
}

.trust-bar__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap
}

.trust-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: .82rem;
    color: var(--ol-charcoal, #1e293b)
}

.trust-stat__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0
}

.trust-stat__icon--green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff
}

.trust-stat__icon--gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff
}

.trust-stat__icon--blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff
}

.trust-stat strong {
    font-weight: 800;
    color: var(--ol-green, #16a34a)
}

.trust-stat__sub {
    color: #64748b
}

.trust-stat small {
    color: #64748b;
    font-size: .72rem;
    font-weight: 500
}

.trust-sep {
    width: 1px;
    height: 24px;
    background: #d1fae5
}

@media(max-width:600px) {
    .trust-bar__inner {
        gap: 16px 24px
    }

    .trust-sep {
        display: none
    }

    .trust-stat {
        font-size: .75rem
    }
}

@media (max-width:768px) {

    .site-brand__tagline,
    .site-tagline,
    .site-description {
        font-size: 12px !important;
        letter-spacing: 0.3px
    }
}

@media (max-width:768px) {

    .site-header .search-toggle,
    .site-header .account-toggle,
    .site-header .menu-toggle,
    .site-header .header-toggle,
    .header-actions button,
    .header-actions a {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center
    }
}

@media (max-width:768px) {
    .hero {
        min-height: auto;
        max-height: 55vh;
        padding-bottom: 64px
    }

    .hero-dots {
        bottom: 16px
    }

    .hero-dot {
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important
    }

    .hero__content {
        padding: 24px 16px 48px
    }

    .hero__content h1 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        line-height: 1.2
    }

    .hero__content p {
        font-size: 0.88rem;
        line-height: 1.5
    }

    .hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%
    }

    .hero .btn {
        min-height: 48px;
        font-size: 0.82rem;
        padding: 12px 10px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center
    }
}

@media (max-width:400px) {

    .pr-ball,
    [class*="ball"] {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
        margin: 1px !important
    }

    .pr-balls-wrap,
    .res-nums,
    .winning-numbers {
        gap: 3px !important;
        flex-wrap: nowrap !important;
        justify-content: center !important
    }
}

@media (max-width:768px) {
    .pr-title {
        font-size: clamp(1.2rem, 4.5vw, 1.8rem);
        gap: 8px;
        flex-wrap: wrap
    }

    .pr-title svg {
        width: 22px;
        height: 22px
    }

    .pr-subtitle {
        font-size: 0.82rem;
        line-height: 1.5
    }

    .section-label {
        font-size: clamp(1rem, 3.5vw, 1.4rem)
    }

    .diw__title {
        font-size: clamp(1.1rem, 4vw, 1.5rem)
    }
}

@media (max-width:768px) {
    .live-badge {
        font-size: 0.75rem;
        padding: 3px 8px
    }

    .pr-jp-label {
        font-size: 0.75rem
    }

    .pr-status-chip {
        font-size: 0.75rem
    }

    .pr-time-badge {
        font-size: 0.75rem
    }

    .pr-countdown__label {
        font-size: 0.75rem
    }
}

@media (max-width:768px) {

    .site-footer a,
    .footer-nav a,
    .footer-links a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding-top: 8px;
        padding-bottom: 8px
    }
}

@media (max-width:375px) {
    .pr-ball {
        width: 42px;
        height: 42px;
        font-size: 0.95rem
    }

    .pr-card__header {
        padding: 16px 16px 14px
    }

    .pr-card__body {
        padding: 20px 16px
    }

    .pr-game-name {
        font-size: 1.1rem
    }

    .pr-jp-val {
        font-size: 1.35rem
    }
}

@media (max-width:375px) {
    .qt-item {
        padding: 12px 16px;
        font-size: 0.78rem
    }

    .qt-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem
    }
}

[data-theme="outdoor"] .quick-tools {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0
}

[data-theme="outdoor"] .qt-item {
    color: #334155;
    border-right-color: #e2e8f0
}

[data-theme="outdoor"] .qt-item:hover {
    background: rgba(26, 125, 55, 0.04);
    color: #1e293b
}

[data-theme="outdoor"] .qt-label {
    color: #334155 !important
}

[data-theme="outdoor"] .qt-label small {
    color: #64748b !important
}

[data-theme="outdoor"] .qt-arrow {
    color: #94a3b8
}

[data-theme="outdoor"] .qt-item:hover .qt-arrow {
    color: #1a7d37
}

@media (max-width:768px) {
    [data-theme="outdoor"] .qt-item {
        border-right-color: #e2e8f0 !important;
        border-bottom-color: #e2e8f0 !important
    }
}

[data-theme="outdoor"] .premium-results {
    background: #ffffff;
    color: #1e293b
}

[data-theme="outdoor"] .premium-results::before {
    background: radial-gradient(ellipse 60% 50% at 30% 20%, rgba(26, 125, 55, 0.03) 0%, transparent 70%), radial-gradient(ellipse 50% 60% at 80% 80%, rgba(37, 99, 235, 0.02) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 50% 50%, rgba(245, 197, 24, 0.02) 0%, transparent 50%)
}

[data-theme="outdoor"] .pr-title {
    color: #1e293b
}

[data-theme="outdoor"] .pr-subtitle {
    color: #64748b
}

[data-theme="outdoor"] .pr-more-link {
    color: var(--ol-green)
}

[data-theme="outdoor"] .pr-more-link:hover {
    color: var(--ol-green-hover)
}

[data-theme="outdoor"] .pr-tabs {
    background: #f1f5f9;
    border-color: #e2e8f0
}

[data-theme="outdoor"] .pr-tab {
    color: #475569
}

[data-theme="outdoor"] .pr-tab:hover {
    color: #1e293b;
    background: rgba(0, 0, 0, 0.04)
}

[data-theme="outdoor"] .pr-tab.active {
    background: linear-gradient(135deg, var(--ol-green), #059669);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 125, 55, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2)
}

[data-theme="outdoor"] .pr-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06)
}

[data-theme="outdoor"] .pr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db
}

[data-theme="outdoor"] .pr-card__body {
    background: #fafbfc;
    border-top: 1px solid #f1f5f9
}

[data-theme="outdoor"] .pr-card__footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0
}

[data-theme="outdoor"] .pr-date {
    color: #64748b
}

[data-theme="outdoor"] .pr-action {
    color: var(--ol-green)
}

[data-theme="outdoor"] .pr-card:hover .pr-action {
    color: var(--ol-green-hover)
}

[data-theme="outdoor"] .pr-empty-state {
    color: #64748b
}

[data-theme="outdoor"] .pr-empty-state strong {
    color: #1e293b
}

[data-theme="outdoor"] .live-badge {
    background: #dc2626;
    color: #ffffff
}

[data-theme="outdoor"] .pr-tab.active .live-badge {
    background: #dc2626;
    color: #fff
}

[data-theme="outdoor"] .pr-status-chip--live {
    background: rgba(22, 163, 74, 0.1);
    color: #15803d
}

[data-theme="outdoor"] .pr-status-chip--recent {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb
}

[data-theme="outdoor"] .pr-status-chip--pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706
}

[data-theme="outdoor"] .diw {
    background: #f8fafc
}

[data-theme="outdoor"] .diw::before {
    background: radial-gradient(circle, rgba(26, 125, 55, 0.04), transparent 70%)
}

[data-theme="outdoor"] .diw__head h2 {
    color: #1e293b
}

[data-theme="outdoor"] .diw input,
[data-theme="outdoor"] .diw select {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #1e293b
}

[data-theme="outdoor"] .pr-countdown {
    background: none;
    border: none
}

[data-theme="outdoor"] .jackpot-bar {
    background: #ffffff !important;
    background-image: none !important
}

[data-theme="outdoor"] .jackpot-bar .section-label {
    color: #1e293b !important
}

[data-theme="outdoor"] .jackpot-bar__more {
    color: #0d378b !important
}

[data-theme="outdoor"] .jackpot-item {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important
}

[data-theme="outdoor"] .jackpot-item__amount {
    color: #1e293b !important
}

[data-theme="outdoor"] .jackpot-item__label {
    color: #64748b !important
}

[data-theme="outdoor"] .jackpot-item__countdown {
    color: #15803d !important
}

[data-theme="outdoor"] .jackpot-item__link {
    color: #15803d
}

[data-theme="outdoor"] #trending {
    background: #ffffff
}

[data-theme="outdoor"] #trending .games-section-header span {
    color: #1e293b
}

[data-theme="outdoor"] #trending .games-section-header p {
    color: #64748b
}

[data-theme="outdoor"] .newsletter-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0
}

[data-theme="outdoor"] .calc-cta {
    background: linear-gradient(135deg, #15803d, #059669)
}

[data-theme="outdoor"] .draw-schedule-section {
    background: #ffffff
}

[data-theme="outdoor"] .trust-bar {
    background: #f8faf9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0
}