﻿.cxzzt-lottery-page {
    --cxzzt-lottery-text: #132238;
    --cxzzt-lottery-muted: #5b677a;
    --cxzzt-lottery-soft: #f8fbff;
    --cxzzt-lottery-card: rgba(255, 255, 255, 0.86);
    --cxzzt-lottery-border: rgba(222, 230, 240, 0.92);
    --cxzzt-lottery-primary: #ff9f45;
    --cxzzt-lottery-primary-deep: #ff7f32;
    --cxzzt-lottery-accent: #4586ff;
    --cxzzt-lottery-success: #14b86a;
    --cxzzt-lottery-danger: #ef4444;
    position: relative;
    overflow: visible;
    padding: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.cxzzt-lottery-page::before,
.cxzzt-lottery-page::after {
    display: none;
}

.cxzzt-lottery-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.cxzzt-lottery-hero__copy {
    max-width: 720px;
}

.cxzzt-lottery-hero__eyebrow,
.cxzzt-lottery-actions__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border: 1px solid rgba(212, 162, 58, 0.3);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 232, 160, 0.28) 0%, rgba(255, 210, 100, 0.18) 100%);
    color: #a67620;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cxzzt-lottery-hero__title {
    margin: 14px 0 10px;
    color: var(--cxzzt-lottery-text);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.cxzzt-lottery-hero__subtitle {
    max-width: 720px;
    margin: 0;
    color: var(--cxzzt-lottery-muted);
    font-size: 16px;
    line-height: 1.75;
}

.cxzzt-lottery-hero__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: min(100%, 360px);
}

.cxzzt-lottery-hero__stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    min-height: 88px;
    padding: 16px 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cxzzt-lottery-hero__stat::before,
.cxzzt-lottery-hero__stat::after {
    display: none;
}

.cxzzt-lottery-hero__stat:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
}

.cxzzt-lottery-hero__stat-label {
    display: block;
    order: -1;
    color: var(--cxzzt-lottery-muted, #6b7280);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cxzzt-lottery-hero__stat strong {
    display: flex;
    align-items: baseline;
    gap: 2px;
    color: var(--cxzzt-lottery-text, #1a1a2e);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    line-height: 1;
    -webkit-text-fill-color: unset;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    filter: none;
}

.cxzzt-lottery-hero__stat strong em {
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    color: var(--cxzzt-lottery-muted, #6b7280);
}

.cxzzt-lottery-hero__stat span:not(.cxzzt-lottery-hero__stat-label) {
    display: none;
}

.cxzzt-lottery-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.84fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}

.cxzzt-lottery-visual__card,
.cxzzt-lottery-actions,
.cxzzt-lottery-panel {
    animation: cxzztLotteryReveal 0.6s ease both;
}

.cxzzt-lottery-actions {
    animation-delay: 0.08s;
}

.cxzzt-lottery-visual {
    display: flex;
}

.cxzzt-lottery-visual__card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 520px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.cxzzt-lottery-visual__card::before {
    display: none;
}

.cxzzt-lottery-wheel {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1;
    margin: 0 auto;
    filter: none;
}

.cxzzt-lottery-wheel__glow {
    position: absolute;
    inset: 5%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 248, 230, 0.5) 0%, rgba(255, 248, 230, 0) 62%),
        radial-gradient(circle at center, rgba(212, 162, 58, 0.15) 0%, rgba(212, 162, 58, 0) 68%);
    filter: blur(24px);
}

.cxzzt-lottery-wheel__halo {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cxzzt-lottery-wheel__disc {
    --cxzzt-wheel-rotation: 0deg;
    position: absolute;
    inset: 4.5%;
    overflow: visible;
    border: 16px solid transparent;
    border-radius: 50%;
    background:
        var(--wheel-gradient) padding-box,
        linear-gradient(160deg, #ffe8a0 0%, #d4a23a 22%, #f5d978 40%, #c8922e 58%, #ffe8a0 78%, #d4a23a 100%) border-box;
    box-shadow:
        0 6px 24px rgba(160, 120, 40, 0.18),
        0 1px 0 rgba(255, 240, 180, 0.5) inset,
        inset 0 0 0 4px rgba(180, 130, 40, 0.12);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    transform: rotate(var(--cxzzt-wheel-rotation));
    transition: none;
}

.cxzzt-lottery-wheel__disc.is-drawing {
    transition: transform 4.2s cubic-bezier(0.14, 0.92, 0.2, 1), box-shadow 0.35s ease;
    box-shadow:
        0 4px 16px rgba(180, 130, 40, 0.22),
        0 0 28px rgba(255, 166, 88, 0.5),
        0 0 56px rgba(255, 130, 50, 0.2),
        inset 0 0 0 4px rgba(180, 130, 40, 0.18);
}

.cxzzt-lottery-wheel.is-drawing .cxzzt-lottery-wheel__glow {
    inset: 2%;
    filter: blur(18px);
    opacity: 1;
    animation: cxzztLotteryPulseRing 1.2s ease-in-out infinite;
}

.cxzzt-lottery-wheel.is-drawing .cxzzt-lottery-wheel__halo {
    inset: 0;
    border-radius: 50%;
    background:
        conic-gradient(
            from 0deg,
            transparent 0deg,
            rgba(255, 180, 60, 0.06) 30deg,
            rgba(255, 140, 40, 0.4) 58deg,
            rgba(255, 220, 120, 0.88) 68deg,
            rgba(255, 255, 255, 0.95) 72deg,
            rgba(255, 220, 120, 0.88) 76deg,
            rgba(255, 140, 40, 0.4) 86deg,
            rgba(255, 180, 60, 0.06) 114deg,
            transparent 144deg
        );
    mask: radial-gradient(circle, transparent 60%, #000 63%, #000 72%, transparent 75%);
    -webkit-mask: radial-gradient(circle, transparent 60%, #000 63%, #000 72%, transparent 75%);
    mix-blend-mode: normal;
    opacity: 1;
    filter: blur(2px);
    animation: cxzztLotteryChaseLight 1.6s linear infinite;
}

.cxzzt-lottery-wheel__disc::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 38%, transparent 62%),
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.06) 70%, rgba(0, 0, 0, 0.14) 100%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.06) 100%);
    pointer-events: none;
}

.cxzzt-lottery-wheel__sector-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mask: conic-gradient(from var(--sector-from, 0deg), #000 0deg var(--sector-size, 360deg), transparent var(--sector-size, 360deg));
    -webkit-mask: conic-gradient(from var(--sector-from, 0deg), #000 0deg var(--sector-size, 360deg), transparent var(--sector-size, 360deg));
    pointer-events: none;
}

.cxzzt-lottery-wheel__sector-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cxzzt-lottery-wheel__sector-icon img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.cxzzt-lottery-wheel__sector {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 96px;
    text-align: center;
    /* sector 位置由 JS(syncLabelLayout) 通过 left/top 像素值控制，外层 transform 仅做居中。
       原 rotate(--angle) translateY(--label-radius) 已废弃，避免与 JS 双重定位。 */
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
    pointer-events: none;
}

.cxzzt-lottery-wheel__pill {
    display: inline-block;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid rgba(255, 240, 200, 0.5);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 252, 240, 0.45) 100%);
    backdrop-filter: blur(8px) saturate(1.4);
    -webkit-backdrop-filter: blur(8px) saturate(1.4);
    color: #2a1e0a;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    word-break: break-all;
    box-shadow:
        0 4px 12px rgba(120, 90, 30, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 1px rgba(160, 120, 40, 0.08);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill {
    border-color: rgba(212, 162, 58, 0.6);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 248, 230, 0.6) 100%);
    color: #3a2208;
    box-shadow:
        0 0 6px rgba(212, 162, 58, 0.4),
        0 0 16px rgba(212, 162, 58, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: scale(1.06);
    animation: cxzztLotteryNeonPulse 1.2s ease-in-out infinite;
}

.cxzzt-lottery-wheel__core {
    position: absolute;
    inset: 41%;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 10px solid transparent;
    border-radius: 50%;
    background:
        linear-gradient(180deg, #ffd36d 0%, #ffad3f 100%) padding-box,
        linear-gradient(160deg, #ffe8a0 0%, #d4a23a 30%, #f5d978 50%, #c8922e 70%, #ffe8a0 100%) border-box;
    box-shadow:
        0 10px 22px rgba(180, 120, 30, 0.3),
        inset 0 8px 16px rgba(255, 255, 255, 0.42),
        inset 0 -6px 12px rgba(180, 100, 20, 0.2);
}

.cxzzt-lottery-wheel__core::before {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 58%);
}

.cxzzt-lottery-wheel__core-text {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
}

.cxzzt-lottery-wheel__pointer {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 4;
    width: 44px;
    height: 68px;
    transform: translateX(-50%);
}

.cxzzt-lottery-wheel__pointer::before,
.cxzzt-lottery-wheel__pointer::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.cxzzt-lottery-wheel__pointer::before {
    top: 0;
    width: 34px;
    height: 32px;
    border-radius: 10px 10px 8px 8px;
    background: linear-gradient(180deg, #ffe68a 0%, #d4a23a 40%, #b8861e 100%);
    box-shadow:
        0 8px 18px rgba(140, 90, 20, 0.32),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(120, 70, 10, 0.3);
}

.cxzzt-lottery-wheel__pointer::after {
    top: 24px;
    width: 0;
    height: 0;
    background: transparent;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 30px solid #c8922e;
    filter: drop-shadow(0 6px 10px rgba(140, 90, 20, 0.3));
}

.cxzzt-lottery-wheel__pointer > span {
    display: none;
}

.cxzzt-lottery-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(212, 162, 58, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 40%, #fffbf2 100%);
    box-shadow:
        0 8px 24px rgba(180, 130, 40, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: none;
}

.cxzzt-lottery-actions__title {
    margin: 14px 0 10px;
    color: var(--cxzzt-lottery-text);
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.cxzzt-lottery-actions__description {
    margin: 0;
    color: var(--cxzzt-lottery-muted);
    font-size: 15px;
    line-height: 1.75;
}

.cxzzt-lottery-actions__button {
    position: relative;
    width: 100%;
    min-height: 60px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.cxzzt-lottery-actions__button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.cxzzt-lottery-actions__button.is-draw {
    min-height: 64px;
    border: 1px solid rgba(88, 225, 255, 0.4);
    border-radius: 4px;
    background:
        repeating-linear-gradient(
            -55deg,
            rgba(88, 225, 255, 0.12) 0px,
            rgba(88, 225, 255, 0.12) 6px,
            rgba(40, 180, 220, 0.06) 6px,
            rgba(40, 180, 220, 0.06) 12px
        ),
        linear-gradient(135deg, #0a1628 0%, #0e2240 40%, #0a1a38 100%);
    color: #c8f4ff;
    text-shadow: 0 0 8px rgba(88, 225, 255, 0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow:
        0 0 12px rgba(88, 225, 255, 0.15),
        0 4px 16px rgba(0, 20, 50, 0.3),
        inset 0 1px 0 rgba(88, 225, 255, 0.15);
    overflow: hidden;
}

.cxzzt-lottery-actions__button.is-draw::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(88, 225, 255, 0.18) 46%, transparent 54%);
    transform: translateX(-140%);
    animation: cxzztLotteryTechSweep 4s ease-in-out infinite;
    pointer-events: none;
}

.cxzzt-lottery-actions__button.is-draw::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(88, 225, 255, 0.12);
    border-radius: 2px;
    pointer-events: none;
}

.cxzzt-lottery-actions__button.is-draw:hover:not(:disabled) {
    border-color: rgba(88, 225, 255, 0.6);
    box-shadow:
        0 0 20px rgba(88, 225, 255, 0.25),
        0 6px 20px rgba(0, 20, 50, 0.4),
        inset 0 1px 0 rgba(88, 225, 255, 0.2);
    filter: brightness(1.1);
}

.cxzzt-lottery-actions__button.is-login {
    border-radius: 12px;
    background: linear-gradient(135deg, #5da6ff 0%, #3f7dff 100%);
    box-shadow:
        0 8px 20px rgba(69, 134, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cxzzt-lottery-actions__button:disabled {
    opacity: 0.56;
    cursor: not-allowed;
    box-shadow: none;
}

.cxzzt-lottery-meta {
    display: grid;
    gap: 12px;
}

.cxzzt-lottery-meta__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    padding: 0 18px;
    border: 1px solid rgba(212, 162, 58, 0.15);
    border-radius: 10px;
    background: linear-gradient(135deg, #fffcf5 0%, #ffffff 100%);
}

.cxzzt-lottery-meta__label {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cxzzt-lottery-meta__value {
    color: var(--cxzzt-lottery-text);
    font-size: 18px;
    font-weight: 900;
    text-align: right;
}

.cxzzt-lottery-actions__hint {
    min-height: 54px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(212, 162, 58, 0.1);
    border-radius: 10px;
    background: linear-gradient(135deg, #fffdf6 0%, #f8fbff 100%);
    color: var(--cxzzt-lottery-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.cxzzt-lottery-actions__hint.is-warning {
    background: #fff5eb;
    color: #c76117;
}

.cxzzt-lottery-actions__hint.is-success {
    background: #ecfdf5;
    color: #0f9f5f;
}

.cxzzt-lottery-actions__hint.is-error {
    background: #fef2f2;
    color: #dc2626;
}

.cxzzt-lottery-result {
    min-height: 28px;
    margin: 0;
    color: var(--cxzzt-lottery-text);
    font-size: 16px;
    font-weight: 900;
}

.cxzzt-lottery-result.is-success {
    color: var(--cxzzt-lottery-success);
}

.cxzzt-lottery-result.is-error {
    color: var(--cxzzt-lottery-danger);
}

.cxzzt-lottery-result.is-info {
    color: var(--cxzzt-lottery-primary-deep);
}

/* ── 合并卡片：分隔线 + 内嵌规则 ── */
.cxzzt-lottery-actions__divider {
    height: 1px;
    margin: 4px 0 0;
    background: linear-gradient(90deg, transparent, rgba(212, 162, 58, 0.2), transparent);
}

.cxzzt-lottery-actions__rules {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cxzzt-lottery-actions__rules-title {
    margin: 0;
    color: var(--cxzzt-lottery-text);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.cxzzt-lottery-actions__rules .cxzzt-lottery-rules {
    gap: 8px;
}

.cxzzt-lottery-actions__rules .cxzzt-lottery-rules li {
    font-size: 13px;
    line-height: 1.7;
}

/* ── 横向紧凑 meta 布局 ── */
.cxzzt-lottery-meta--inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cxzzt-lottery-meta--inline .cxzzt-lottery-meta__item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 70px;
    padding: 12px 8px;
    text-align: center;
}

.cxzzt-lottery-meta--inline .cxzzt-lottery-meta__label {
    font-size: 10px;
    letter-spacing: 0.06em;
}

.cxzzt-lottery-meta--inline .cxzzt-lottery-meta__value {
    font-size: 15px;
}

/* ── 底部面板单列模式 ── */
.cxzzt-lottery-panels--single .cxzzt-lottery-panel--activity {
    grid-column: 1 / -1;
}

.cxzzt-lottery-actions__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cxzzt-lottery-actions__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(212, 162, 58, 0.18);
    border-radius: 999px;
    background: linear-gradient(135deg, #fffdf6 0%, #fff8ec 100%);
    color: #8a6d2e;
    font-size: 13px;
    font-weight: 800;
    box-shadow: none;
}

.cxzzt-lottery-panels {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.cxzzt-lottery-panel {
    padding: 24px;
    border: 1px solid rgba(212, 162, 58, 0.15);
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(180, 130, 40, 0.05);
}

.cxzzt-lottery-panel--rules {
    grid-column: span 5;
}

.cxzzt-lottery-panel--activity {
    grid-column: span 7;
}

.cxzzt-lottery-panel__title {
    margin: 0 0 16px;
    color: var(--cxzzt-lottery-text);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.cxzzt-lottery-rules {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cxzzt-lottery-rules li {
    position: relative;
    padding-left: 22px;
    color: var(--cxzzt-lottery-muted);
    font-size: 14px;
    line-height: 1.8;
}

.cxzzt-lottery-rules li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb55f 0%, #ff7b42 100%);
}

.cxzzt-lottery-activity__viewport {
    position: relative;
    overflow: hidden;
    min-height: 54px;
    max-height: 54px;
}

.cxzzt-lottery-activity__list {
    display: grid;
    gap: 12px;
}

.cxzzt-lottery-activity__list.is-animated {
    animation: cxzztLotteryScroll var(--cxzzt-scroll-duration, 12s) linear infinite;
}

.cxzzt-lottery-activity__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: var(--cxzzt-lottery-muted);
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
}

.cxzzt-lottery-activity__dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb65d 0%, #ff7f3b 100%);
}

.cxzzt-lottery-activity__item--empty {
    display: flex;
    align-items: center;
    color: #98a2b3;
}

.cxzzt-lottery-activity__name {
    color: var(--cxzzt-lottery-text);
    font-weight: 800;
}

.cxzzt-lottery-activity__time {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 700;
}

.cxzzt-lottery-activity__text {
    color: var(--cxzzt-lottery-muted);
}

.cxzzt-lottery-activity__prize {
    color: #e96a17;
    font-weight: 900;
}

@keyframes cxzztLotteryReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

@keyframes cxzztLotteryScroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@media (max-width: 1180px) {
    .cxzzt-lottery-hero {
        flex-direction: column;
    }

    .cxzzt-lottery-hero__summary {
        width: 100%;
        min-width: 0;
    }

    .cxzzt-lottery-shell {
        grid-template-columns: 1fr;
    }

    .cxzzt-lottery-visual__card {
        min-height: 440px;
    }

    .cxzzt-lottery-panel--rules,
    .cxzzt-lottery-panel--activity {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .cxzzt-lottery-page {
        padding: 22px !important;
        border-radius: 24px;
    }

    .cxzzt-lottery-hero__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cxzzt-lottery-visual__card,
    .cxzzt-lottery-actions,
    .cxzzt-lottery-panel {
        padding: 20px;
        border-radius: 0;
    }

    .cxzzt-lottery-visual__card {
        padding: 0;
        min-height: 380px;
    }

    .cxzzt-lottery-wheel {
        width: min(100%, 420px);
    }

    .cxzzt-lottery-wheel__sector {
        width: 90px;
    }

    .cxzzt-lottery-wheel__pill {
        padding: 5px 9px;
        font-size: 11px;
    }

    .cxzzt-lottery-meta__item {
        min-height: 60px;
    }

    .cxzzt-lottery-meta__value {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .cxzzt-lottery-page {
        padding: 0 !important;
        border-radius: 0;
    }

    .cxzzt-lottery-hero {
        gap: 12px;
        margin-bottom: 14px;
    }

    .cxzzt-lottery-hero__title {
        font-size: 24px;
    }

    .cxzzt-lottery-hero__subtitle {
        font-size: 13px;
        line-height: 1.5;
    }

    .cxzzt-lottery-hero__eyebrow,
    .cxzzt-lottery-actions__eyebrow {
        min-height: 26px;
        padding: 0 10px;
        font-size: 10px;
    }

    .cxzzt-lottery-hero__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .cxzzt-lottery-hero__stat {
        min-height: 72px;
        padding: 12px 6px 10px;
        border-radius: 14px;
    }

    .cxzzt-lottery-hero__stat strong {
        font-size: 22px;
    }

    .cxzzt-lottery-hero__stat span {
        margin-top: 6px;
        padding: 1px 8px;
        font-size: 10px;
        min-height: 20px;
    }

    .cxzzt-lottery-shell {
        gap: 14px;
        margin-bottom: 16px;
    }

    .cxzzt-lottery-wheel {
        width: min(100%, 340px);
    }

    .cxzzt-lottery-visual__card {
        min-height: 340px;
    }

    .cxzzt-lottery-wheel__disc {
        border-width: 10px;
    }

    .cxzzt-lottery-wheel__sector {
        width: 82px;
    }

    .cxzzt-lottery-wheel__pill {
        padding: 4px 7px;
        font-size: 10px;
    }

    .cxzzt-lottery-wheel__core {
        inset: 42%;
        border-width: 8px;
    }

    .cxzzt-lottery-wheel__core-text {
        font-size: 14px;
    }

    .cxzzt-lottery-actions {
        gap: 12px;
    }

    .cxzzt-lottery-actions__intro {
        gap: 4px;
    }

    .cxzzt-lottery-actions__title {
        margin: 8px 0 4px;
        font-size: 20px;
    }

    .cxzzt-lottery-actions__description {
        font-size: 12px;
        line-height: 1.6;
    }

    .cxzzt-lottery-actions__hint,
    .cxzzt-lottery-rules li,
    .cxzzt-lottery-activity__item {
        font-size: 12px;
    }

    .cxzzt-lottery-actions__hint {
        min-height: 0;
        padding: 10px 12px;
    }

    .cxzzt-lottery-actions__button {
        min-height: 44px;
        font-size: 14px;
    }

    .cxzzt-lottery-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .cxzzt-lottery-meta__item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 0;
        padding: 10px 4px;
        gap: 2px;
    }

    .cxzzt-lottery-meta__label {
        font-size: 10px;
        letter-spacing: 0.04em;
    }

    .cxzzt-lottery-meta__value {
        font-size: 13px;
        text-align: center;
    }

    .cxzzt-lottery-actions__tags {
        gap: 6px;
    }

    .cxzzt-lottery-actions__tags span {
        min-height: 26px;
        padding: 0 10px;
        font-size: 11px;
    }

    .cxzzt-lottery-activity__viewport {
        min-height: 48px;
        max-height: 48px;
    }
}

/* Game-like lottery redesign */
.cxzzt-lottery-page {
    --cxzzt-lottery-text: #f3f7ff;
    --cxzzt-lottery-muted: rgba(201, 219, 255, 0.76);
    --cxzzt-lottery-soft: rgba(10, 18, 38, 0.9);
    --cxzzt-lottery-card: rgba(10, 18, 34, 0.74);
    --cxzzt-lottery-border: rgba(139, 176, 255, 0.2);
    --cxzzt-lottery-primary: #ffd166;
    --cxzzt-lottery-primary-deep: #ff9f45;
    --cxzzt-lottery-accent: #58e1ff;
    --cxzzt-lottery-success: #7cffb2;
    --cxzzt-lottery-danger: #ff7d93;
    position: relative;
    overflow: hidden;
    padding: 34px !important;
    border-radius: 32px;
    background:
        radial-gradient(circle at 15% 18%, rgba(88, 225, 255, 0.2), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(255, 209, 102, 0.18), transparent 32%),
        radial-gradient(circle at 50% 120%, rgba(38, 67, 168, 0.5), transparent 46%),
        linear-gradient(140deg, #06101f 0%, #0c1730 42%, #101f44 100%);
    box-shadow:
        0 34px 80px rgba(3, 8, 20, 0.45),
        inset 0 0 0 1px rgba(148, 181, 255, 0.08);
}

.cxzzt-lottery-page::before,
.cxzzt-lottery-page::after {
    content: "";
    position: absolute;
    inset: auto;
    display: block;
    pointer-events: none;
}

.cxzzt-lottery-page::before {
    left: -120px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 225, 255, 0.22) 0%, rgba(88, 225, 255, 0) 72%);
    filter: blur(6px);
    animation: cxzztLotteryNebulaDrift 11s ease-in-out infinite alternate;
}

.cxzzt-lottery-page::after {
    right: -80px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.24) 0%, rgba(255, 209, 102, 0) 72%);
    filter: blur(18px);
    animation: cxzztLotteryNebulaDrift 14s ease-in-out infinite alternate-reverse;
}

.cxzzt-lottery-hero,
.cxzzt-lottery-shell,
.cxzzt-lottery-panels {
    position: relative;
    z-index: 1;
}

.cxzzt-lottery-hero {
    align-items: stretch;
    gap: 28px;
}

.cxzzt-lottery-hero__eyebrow,
.cxzzt-lottery-actions__eyebrow {
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(88, 225, 255, 0.22);
    border-radius: 999px;
    background: rgba(10, 22, 46, 0.72);
    color: #8be7ff;
    box-shadow: inset 0 0 24px rgba(88, 225, 255, 0.08);
}

.cxzzt-lottery-hero__title,
.cxzzt-lottery-actions__title,
.cxzzt-lottery-panel__title,
.cxzzt-lottery-meta__value {
    color: var(--cxzzt-lottery-text);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.cxzzt-lottery-hero__subtitle,
.cxzzt-lottery-actions__description,
.cxzzt-lottery-rules li,
.cxzzt-lottery-activity__item,
.cxzzt-lottery-activity__text,
.cxzzt-lottery-actions__tags span,
.cxzzt-lottery-meta__label {
    color: var(--cxzzt-lottery-muted);
}

.cxzzt-lottery-hero__summary {
    min-width: min(100%, 390px);
}

.cxzzt-lottery-actions,
.cxzzt-lottery-panel {
    border: 1px solid var(--cxzzt-lottery-border);
    border-radius: 0;
    background: rgba(10, 18, 36, 0.62);
    box-shadow:
        0 26px 60px rgba(3, 8, 20, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
}

.cxzzt-lottery-actions::before,
.cxzzt-lottery-panel::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0));
    opacity: 0.65;
    pointer-events: none;
}

.cxzzt-lottery-shell {
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.88fr);
    gap: 30px;
}

.cxzzt-lottery-visual__card {
    min-height: 560px;
}

.cxzzt-lottery-wheel {
    position: relative;
    isolation: isolate;
    filter: none;
}

.cxzzt-lottery-wheel__backdrop,
.cxzzt-lottery-wheel__glow,
.cxzzt-lottery-wheel__halo,
.cxzzt-lottery-wheel__spark-stage {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cxzzt-lottery-wheel__backdrop {
    inset: 8%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(88, 225, 255, 0.22) 0%, rgba(88, 225, 255, 0) 48%),
        radial-gradient(circle at 50% 50%, rgba(255, 209, 102, 0.18) 0%, rgba(255, 209, 102, 0) 66%);
    filter: blur(28px);
    opacity: 0.9;
}

.cxzzt-lottery-wheel__glow {
    inset: 4%;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 54%),
        conic-gradient(from 180deg, rgba(88, 225, 255, 0) 0deg, rgba(88, 225, 255, 0.22) 70deg, rgba(255, 209, 102, 0.2) 180deg, rgba(88, 225, 255, 0.1) 280deg, rgba(88, 225, 255, 0) 360deg);
    filter: blur(20px);
    opacity: 0.88;
}

.cxzzt-lottery-wheel__halo {
    inset: 1.8%;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 63%, rgba(255, 255, 255, 0.08) 63.5%, rgba(255, 255, 255, 0.02) 68%, transparent 70%),
        conic-gradient(from 90deg, rgba(88, 225, 255, 0.12), rgba(255, 209, 102, 0.3), rgba(88, 225, 255, 0.12));
    mix-blend-mode: screen;
    opacity: 0.35;
    animation: cxzztLotteryHaloSpin 28s linear infinite;
}

.cxzzt-lottery-wheel__disc {
    inset: 4.5%;
    border: 18px solid transparent;
    background:
        var(--wheel-gradient) padding-box,
        linear-gradient(160deg, #ffe8a0 0%, #c8922e 20%, #f5d978 40%, #b8861e 60%, #ffe8a0 80%, #d4a23a 100%) border-box;
    box-shadow:
        0 6px 20px rgba(200, 146, 46, 0.28),
        inset 0 0 0 4px rgba(255, 230, 140, 0.12),
        inset 0 12px 24px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    will-change: transform;
}

.cxzzt-lottery-wheel__disc::before {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 38%, transparent 62%),
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.22) 100%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.04) 100%);
}

.cxzzt-lottery-wheel__disc.is-drawing {
    transition: transform 4.2s cubic-bezier(0.14, 0.92, 0.2, 1), filter 0.35s ease, box-shadow 0.35s ease;
    filter: saturate(1.08) brightness(1.06);
    box-shadow:
        0 6px 20px rgba(200, 146, 46, 0.28),
        0 0 32px rgba(88, 225, 255, 0.5),
        0 0 64px rgba(88, 225, 255, 0.18),
        inset 0 0 0 4px rgba(255, 230, 140, 0.12);
}

.cxzzt-lottery-wheel.is-drawing .cxzzt-lottery-wheel__glow {
    inset: 1%;
    filter: blur(16px);
    opacity: 1;
    background:
        radial-gradient(circle at center, rgba(88, 225, 255, 0.28) 0%, rgba(88, 225, 255, 0) 54%),
        conic-gradient(from 180deg, rgba(88, 225, 255, 0) 0deg, rgba(88, 225, 255, 0.34) 70deg, rgba(255, 209, 102, 0.3) 180deg, rgba(88, 225, 255, 0.2) 280deg, rgba(88, 225, 255, 0) 360deg);
    animation: cxzztLotteryPulseRing 1.6s ease-in-out infinite;
}

.cxzzt-lottery-wheel.is-drawing .cxzzt-lottery-wheel__halo {
    inset: 0;
    border-radius: 50%;
    background:
        conic-gradient(
            from 0deg,
            transparent 0deg,
            rgba(60, 180, 255, 0.04) 20deg,
            rgba(40, 200, 255, 0.35) 52deg,
            rgba(120, 230, 255, 0.8) 64deg,
            rgba(220, 250, 255, 0.95) 70deg,
            rgba(120, 230, 255, 0.8) 76deg,
            rgba(40, 200, 255, 0.35) 88deg,
            rgba(60, 180, 255, 0.04) 120deg,
            transparent 150deg
        );
    mask: radial-gradient(circle, transparent 60%, #000 63%, #000 72%, transparent 75%);
    -webkit-mask: radial-gradient(circle, transparent 60%, #000 63%, #000 72%, transparent 75%);
    mix-blend-mode: screen;
    filter: blur(3px);
    opacity: 0.6;
    animation: cxzztLotteryChaseLight 2.4s linear infinite;
}

.cxzzt-lottery-wheel__sector {
    width: 108px;
    z-index: 2;
}

.cxzzt-lottery-wheel__pill {
    padding: 8px 11px;
    border: 1px solid rgba(255, 230, 140, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 252, 240, 0.08) 100%);
    color: #f5f0e0;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: 0.02em;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px) saturate(1.4);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill {
    border-color: rgba(255, 220, 120, 0.7);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 252, 240, 0.1) 100%);
    color: #fff8e0;
    box-shadow:
        0 0 6px rgba(255, 220, 120, 0.5),
        0 0 16px rgba(255, 200, 80, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: scale(1.06);
    animation: cxzztLotteryNeonPulse 1.2s ease-in-out infinite;
}

.cxzzt-lottery-wheel__sector.is-miss .cxzzt-lottery-wheel__pill {
    background: linear-gradient(135deg, rgba(106, 164, 255, 0.88), rgba(53, 100, 229, 0.9));
    color: #eef8ff;
    box-shadow:
        0 0 0 1px rgba(115, 206, 255, 0.28),
        0 12px 28px rgba(42, 101, 255, 0.26);
    transform: scale(1.04);
}

.cxzzt-lottery-wheel__core {
    inset: 39.5%;
    z-index: 4;
    border: 12px solid transparent;
    background:
        radial-gradient(circle at 30% 25%, #fffefa 0%, #ffeeb0 28%, #ffca5a 56%, #ff912c 100%) padding-box,
        linear-gradient(160deg, #ffe8a0 0%, #c8922e 25%, #f5d978 50%, #b8861e 75%, #ffe8a0 100%) border-box;
    box-shadow:
        0 18px 30px rgba(200, 146, 46, 0.34),
        0 0 24px rgba(255, 200, 80, 0.18),
        inset 0 10px 20px rgba(255, 255, 255, 0.38),
        inset 0 -10px 18px rgba(180, 92, 12, 0.24);
    animation: none;
}

.cxzzt-lottery-wheel__core::before {
    inset: 18%;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 58%);
}

.cxzzt-lottery-wheel__core-text {
    color: #2a173f;
    font-size: 17px;
    text-indent: 0;
    letter-spacing: 0.16em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

.cxzzt-lottery-wheel__pointer {
    top: -8px;
    z-index: 6;
    width: 54px;
    height: 90px;
}

.cxzzt-lottery-wheel__pointer::before,
.cxzzt-lottery-wheel__pointer::after {
    background: transparent;
}

.cxzzt-lottery-wheel__pointer::before {
    top: 0;
    width: 38px;
    height: 36px;
    border-radius: 14px 14px 10px 10px;
    background: linear-gradient(180deg, #ffe68a 0%, #d4a23a 40%, #b8861e 100%);
    box-shadow:
        0 10px 24px rgba(10, 22, 46, 0.34),
        0 0 18px rgba(255, 200, 80, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(120, 70, 10, 0.3);
}

.cxzzt-lottery-wheel__pointer::after {
    top: 28px;
    border-left-width: 19px;
    border-right-width: 19px;
    border-top-width: 38px;
    border-top-color: #c8922e;
    filter: drop-shadow(0 8px 18px rgba(140, 90, 20, 0.34));
}

.cxzzt-lottery-wheel__sector-highlight {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    overflow: visible;
}

.cxzzt-lottery-wheel__sector-fill {
    animation: cxzztLotterySectorGlow 1.6s ease-in-out infinite;
}

.cxzzt-lottery-wheel__spark-stage {
    z-index: 7;
    overflow: visible;
}

.cxzzt-lottery-wheel__spark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, hsl(var(--spark-hue), 80%, 82%) 0%, hsl(var(--spark-hue), 70%, 54%) 100%);
    box-shadow: 0 0 8px hsla(var(--spark-hue), 80%, 66%, 0.3);
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--spark-angle)) translateY(0) translateX(0) scaleY(0.6);
    transform-origin: center bottom;
    animation: cxzztLotterySparkBurst 0.95s cubic-bezier(0.18, 0.84, 0.3, 1) forwards;
    animation-delay: var(--spark-delay, 0ms);
}

.cxzzt-lottery-wheel.is-drawing .cxzzt-lottery-wheel__pointer {
    animation: cxzztLotteryPointerKick 0.16s ease-in-out infinite alternate;
}

.cxzzt-lottery-wheel.is-drawing .cxzzt-lottery-wheel__core {
    animation-duration: 0.7s;
}

.cxzzt-lottery-wheel.is-soft-celebrating .cxzzt-lottery-wheel__glow {
    opacity: 1;
    filter: blur(14px);
}

.cxzzt-lottery-actions,
.cxzzt-lottery-panel {
    position: relative;
    overflow: hidden;
}

.cxzzt-lottery-actions {
    gap: 20px;
    padding: 30px;
}

.cxzzt-lottery-actions__button {
    position: relative;
    overflow: hidden;
    min-height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow:
        0 20px 34px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.cxzzt-lottery-actions__button::before,
.cxzzt-lottery-actions__button::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cxzzt-lottery-actions__button::before {
    background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.16) 44%, transparent 62%);
    transform: translateX(-140%);
    animation: cxzztLotteryButtonShine 6s linear infinite;
}

.cxzzt-lottery-actions__button::after {
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 0.72;
}

.cxzzt-lottery-actions__button:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.01);
    filter: saturate(1.06);
}

.cxzzt-lottery-actions__button.is-draw {
    border: 1px solid rgba(88, 225, 255, 0.35);
    border-radius: 4px;
    background:
        repeating-linear-gradient(
            -55deg,
            rgba(88, 225, 255, 0.14) 0px,
            rgba(88, 225, 255, 0.14) 6px,
            rgba(40, 180, 220, 0.05) 6px,
            rgba(40, 180, 220, 0.05) 12px
        ),
        linear-gradient(135deg, #060e1e 0%, #0b1a34 40%, #081428 100%);
    color: #c8f4ff;
    text-shadow: 0 0 10px rgba(88, 225, 255, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow:
        0 0 16px rgba(88, 225, 255, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(88, 225, 255, 0.12);
}

.cxzzt-lottery-actions__button.is-draw::before {
    background: linear-gradient(105deg, transparent 20%, rgba(88, 225, 255, 0.22) 46%, transparent 54%);
    animation: cxzztLotteryTechSweep 4s ease-in-out infinite;
}

.cxzzt-lottery-actions__button.is-draw::after {
    inset: 3px;
    border: 1px solid rgba(88, 225, 255, 0.1);
    border-radius: 2px;
    opacity: 1;
}

.cxzzt-lottery-actions__button.is-draw:hover:not(:disabled) {
    border-color: rgba(88, 225, 255, 0.55);
    box-shadow:
        0 0 24px rgba(88, 225, 255, 0.3),
        0 10px 28px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(88, 225, 255, 0.18);
    filter: brightness(1.12);
}

.cxzzt-lottery-actions__button.is-login {
    background: linear-gradient(135deg, #8ae6ff 0%, #58b8ff 42%, #3b76ff 100%);
    box-shadow:
        0 20px 36px rgba(68, 134, 255, 0.26),
        0 0 28px rgba(88, 225, 255, 0.16);
}

.cxzzt-lottery-actions__button.is-busy {
    transform: scale(0.985);
    filter: saturate(1.08) brightness(1.02);
}

.cxzzt-lottery-actions__button:disabled {
    opacity: 0.42;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.cxzzt-lottery-meta {
    gap: 14px;
}

.cxzzt-lottery-meta__item {
    min-height: 72px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 27, 52, 0.86) 0%, rgba(10, 18, 36, 0.72) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cxzzt-lottery-meta__label {
    color: rgba(172, 201, 255, 0.58);
}

.cxzzt-lottery-meta__value {
    color: #f9fcff;
}

.cxzzt-lottery-actions__hint,
.cxzzt-lottery-result {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cxzzt-lottery-actions__hint {
    min-height: 58px;
    padding: 16px 18px;
    background: rgba(10, 16, 30, 0.82);
    color: rgba(220, 230, 250, 0.9);
}

.cxzzt-lottery-actions__hint.is-warning {
    background: rgba(36, 24, 10, 0.82);
    color: #e8c99a;
}

.cxzzt-lottery-actions__hint.is-success {
    background: rgba(10, 28, 22, 0.82);
    color: #c8f0dc;
}

.cxzzt-lottery-actions__hint.is-error {
    background: rgba(32, 12, 16, 0.82);
    color: #f0b8c2;
}

.cxzzt-lottery-result {
    min-height: 54px;
    padding: 16px 18px;
    background: rgba(10, 16, 30, 0.82);
    color: #eef2ff;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cxzzt-lottery-result:empty {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    background: transparent;
}

.cxzzt-lottery-result.is-revealed {
    opacity: 1;
    transform: translateY(0);
    animation: cxzztLotteryResultPop 0.72s cubic-bezier(0.16, 0.88, 0.3, 1);
}

.cxzzt-lottery-result.is-success {
    background: rgba(10, 28, 22, 0.82);
    color: #c8f0dc;
}

.cxzzt-lottery-result.is-error {
    background: rgba(32, 12, 16, 0.82);
    color: #f0b8c2;
}

.cxzzt-lottery-result.is-info {
    color: #f0dca8;
}

.cxzzt-lottery-actions__tags span {
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(15, 27, 52, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cxzzt-lottery-panel__title,
.cxzzt-lottery-activity__name {
    color: #ffffff;
}

.cxzzt-lottery-rules li::before {
    top: 9px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #8be7ff 0%, #ffcf67 100%);
    box-shadow: 0 0 14px rgba(88, 225, 255, 0.26);
}

.cxzzt-lottery-activity__viewport {
    min-height: 56px;
    max-height: 56px;
}

.cxzzt-lottery-activity__item {
    min-height: 48px;
    padding-right: 6px;
}

.cxzzt-lottery-activity__dot {
    background: linear-gradient(135deg, #84deff 0%, #ffd166 100%);
    box-shadow: 0 0 14px rgba(255, 209, 102, 0.28);
}

.cxzzt-lottery-activity__time {
    color: rgba(172, 201, 255, 0.58);
}

.cxzzt-lottery-activity__prize {
    color: #ffe08f;
    text-shadow: 0 0 18px rgba(255, 209, 102, 0.16);
}

.cxzzt-lottery-page.is-drawing .cxzzt-lottery-actions__button.is-draw {
    box-shadow:
        0 0 0 1px rgba(255, 214, 102, 0.24),
        0 20px 34px rgba(255, 166, 66, 0.34),
        0 0 40px rgba(255, 188, 66, 0.22);
}


@keyframes cxzztLotteryNebulaDrift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(24px, 18px, 0) scale(1.08);
    }
}

@keyframes cxzztLotteryWheelFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

@keyframes cxzztLotteryHaloSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes cxzztLotteryCorePulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes cxzztLotteryPointerKick {
    from {
        transform: translateX(-50%) rotate(-3deg);
    }

    to {
        transform: translateX(-50%) rotate(1deg);
    }
}

@keyframes cxzztLotteryButtonShine {
    0% {
        transform: translateX(-140%);
    }

    42%,
    100% {
        transform: translateX(160%);
    }
}

@keyframes cxzztLotteryResultPop {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }

    60% {
        opacity: 1;
        transform: translateY(-2px) scale(1.02);
    }

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

@keyframes cxzztLotterySparkBurst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--spark-angle)) translateY(0) translateX(0) scaleY(0.35);
    }

    16% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--spark-angle)) translateY(calc(-1 * var(--spark-distance))) translateX(var(--spark-drift)) scaleY(1);
    }
}

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

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.08);
    }
}

@keyframes cxzztLotteryChaseLight {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes cxzztLotteryPulseRing {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.9;
    }
}

@keyframes cxzztLotteryNeonChase {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -35;
    }
}

@keyframes cxzztLotteryTechSweep {
    0% {
        transform: translateX(-140%);
    }

    50%,
    100% {
        transform: translateX(140%);
    }
}

@keyframes cxzztLotterySectorGlow {
    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes cxzztLotteryNeonPulse {
    0%,
    100% {
        box-shadow:
            0 0 4px rgba(255, 220, 120, 0.3),
            0 0 10px rgba(255, 200, 80, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow:
            0 0 6px rgba(255, 220, 120, 0.4),
            0 0 14px rgba(255, 200, 80, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

@media (max-width: 1180px) {
    .cxzzt-lottery-shell {
        grid-template-columns: 1fr;
    }

    .cxzzt-lottery-visual__card {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .cxzzt-lottery-page {
        padding: 24px !important;
        border-radius: 28px;
    }

    .cxzzt-lottery-hero {
        gap: 22px;
    }

    .cxzzt-lottery-hero__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cxzzt-lottery-actions,
    .cxzzt-lottery-panel {
        padding: 22px;
    }

    .cxzzt-lottery-visual__card {
        min-height: 430px;
    }

    .cxzzt-lottery-wheel {
        width: min(100%, 430px);
    }

    .cxzzt-lottery-wheel__sector {
        width: 96px;
    }
}

@media (max-width: 640px) {
    .cxzzt-lottery-page {
        padding: 18px !important;
        border-radius: 24px;
    }

    .cxzzt-lottery-hero__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .cxzzt-lottery-hero__stat {
        min-height: 72px;
        padding: 12px 6px 10px;
        border-radius: 14px;
    }

    .cxzzt-lottery-hero__stat strong {
        font-size: 22px;
    }

    .cxzzt-lottery-hero__stat span {
        margin-top: 6px;
        padding: 1px 8px;
        font-size: 10px;
        min-height: 20px;
    }

    .cxzzt-lottery-visual__card {
        min-height: 360px;
    }

    .cxzzt-lottery-wheel {
        width: min(100%, 340px);
    }

    .cxzzt-lottery-wheel__disc {
        border-width: 12px;
    }

    .cxzzt-lottery-wheel__sector {
        width: 82px;
    }

    .cxzzt-lottery-wheel__pill {
        padding: 6px 8px;
        font-size: 10px;
    }

    .cxzzt-lottery-wheel__pointer {
        width: 48px;
        height: 78px;
    }

    .cxzzt-lottery-wheel__pointer::after {
        top: 24px;
        border-left-width: 16px;
        border-right-width: 16px;
        border-top-width: 31px;
    }

    .cxzzt-lottery-wheel__core {
        inset: 40.5%;
    }

    .cxzzt-lottery-wheel__core-text {
        font-size: 14px;
    }

    .cxzzt-lottery-actions {
        gap: 12px;
        padding: 16px;
    }

    .cxzzt-lottery-panel {
        padding: 16px;
    }

    .cxzzt-lottery-actions__title {
        margin: 8px 0 4px;
        font-size: 20px;
    }

    .cxzzt-lottery-actions__description {
        font-size: 12px;
        line-height: 1.6;
    }

    .cxzzt-lottery-actions__button {
        min-height: 44px;
        font-size: 14px;
    }

    .cxzzt-lottery-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .cxzzt-lottery-meta__item {
        flex-direction: column;
        align-items: center;
        min-height: 0;
        padding: 10px 4px;
        gap: 2px;
        border-radius: 14px;
    }

    .cxzzt-lottery-meta__label {
        font-size: 10px;
        letter-spacing: 0.04em;
    }

    .cxzzt-lottery-meta__value {
        font-size: 13px;
        text-align: center;
    }

    .cxzzt-lottery-actions__hint {
        min-height: 0;
        padding: 10px 12px;
        font-size: 12px;
    }

    .cxzzt-lottery-actions__tags {
        gap: 6px;
    }

    .cxzzt-lottery-actions__tags span {
        min-height: 26px;
        padding: 0 10px;
        font-size: 11px;
    }

    .cxzzt-lottery-result {
        padding-left: 42px;
        font-size: 13px;
    }
}

/* Theme-aware full-page animated background */
.cxzzt-lottery-page {
    --cxzzt-lottery-bg-scene:
        radial-gradient(circle at 14% 18%, rgba(137, 222, 255, 0.9) 0%, rgba(137, 222, 255, 0) 26%),
        radial-gradient(circle at 86% 16%, rgba(255, 226, 163, 0.9) 0%, rgba(255, 226, 163, 0) 24%),
        radial-gradient(circle at 50% 100%, rgba(174, 202, 255, 0.52) 0%, rgba(174, 202, 255, 0) 34%),
        linear-gradient(135deg, #f8fbff 0%, #eef6ff 36%, #f5f2ff 100%);
    --cxzzt-lottery-bg-particles:
        radial-gradient(circle at 9% 15%, rgba(255, 255, 255, 0.92) 0 2px, transparent 3px),
        radial-gradient(circle at 22% 70%, rgba(255, 255, 255, 0.7) 0 1.6px, transparent 2.6px),
        radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.78) 0 1.8px, transparent 2.8px),
        radial-gradient(circle at 86% 66%, rgba(255, 255, 255, 0.62) 0 1.4px, transparent 2.4px),
        radial-gradient(circle at 42% 22%, rgba(120, 204, 255, 0.24) 0 28px, transparent 64px),
        radial-gradient(circle at 62% 78%, rgba(255, 210, 121, 0.2) 0 34px, transparent 76px);
    --cxzzt-lottery-bg-overlay: rgba(255, 255, 255, 0.14);
    --cxzzt-lottery-bg-blend: normal;
    --cxzzt-lottery-text: #17304d;
    --cxzzt-lottery-muted: rgba(42, 67, 102, 0.76);
    --cxzzt-lottery-border: rgba(255, 255, 255, 0.46);
    --cxzzt-lottery-card-shadow:
        0 24px 54px rgba(100, 128, 174, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --cxzzt-lottery-card-bg:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.52));
    --cxzzt-lottery-card-bg-strong:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
    --cxzzt-lottery-tag-bg: rgba(255, 255, 255, 0.5);
    --cxzzt-lottery-tag-border: rgba(255, 255, 255, 0.54);
    background: transparent;
    box-shadow:
        0 28px 70px rgba(77, 103, 145, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.cxzzt-lottery-page::before,
.cxzzt-lottery-page::after {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: inherit;
    display: block;
}

.cxzzt-lottery-page::before {
    background: var(--cxzzt-lottery-bg-scene);
    background-size: 132% 132%;
    filter: none;
    animation: cxzztLotterySceneShift 18s ease-in-out infinite alternate;
}

.cxzzt-lottery-page::after {
    background: var(--cxzzt-lottery-bg-particles);
    mix-blend-mode: var(--cxzzt-lottery-bg-blend);
    opacity: 0.8;
    filter: none;
    animation: cxzztLotteryParticleFloat 14s ease-in-out infinite alternate;
}

.cxzzt-lottery-hero__eyebrow,
.cxzzt-lottery-actions__eyebrow {
    background: rgba(255, 255, 255, 0.38);
    border-color: rgba(137, 222, 255, 0.34);
    color: #0d5e88;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.cxzzt-lottery-actions,
.cxzzt-lottery-panel {
    border-color: var(--cxzzt-lottery-border);
    background: var(--cxzzt-lottery-card-bg);
    box-shadow: var(--cxzzt-lottery-card-shadow);
}

.cxzzt-lottery-actions,
.cxzzt-lottery-panel {
    border-radius: 0;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(20px) saturate(1.4);
    box-shadow:
        0 20px 50px rgba(100, 128, 174, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cxzzt-lottery-actions::before,
.cxzzt-lottery-panel::before {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
}

.cxzzt-lottery-actions__description,
.cxzzt-lottery-actions__hint,
.cxzzt-lottery-rules li,
.cxzzt-lottery-activity__item,
.cxzzt-lottery-activity__text,
.cxzzt-lottery-actions__tags span,
.cxzzt-lottery-meta__label {
    color: var(--cxzzt-lottery-muted);
}

.cxzzt-lottery-meta__item,
.cxzzt-lottery-actions__tags span {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.cxzzt-lottery-meta__value,
.cxzzt-lottery-panel__title,
.cxzzt-lottery-activity__name {
    color: var(--cxzzt-lottery-text);
}

body.dark-theme .cxzzt-lottery-page,
body.theme-dark .cxzzt-lottery-page,
html.dark body .cxzzt-lottery-page,
html.theme-dark body .cxzzt-lottery-page {
    --cxzzt-lottery-bg-scene:
        radial-gradient(circle at 16% 18%, rgba(61, 219, 255, 0.26) 0%, rgba(61, 219, 255, 0) 28%),
        radial-gradient(circle at 84% 18%, rgba(255, 209, 102, 0.2) 0%, rgba(255, 209, 102, 0) 24%),
        radial-gradient(circle at 48% 100%, rgba(38, 67, 168, 0.46) 0%, rgba(38, 67, 168, 0) 36%),
        linear-gradient(140deg, #06101f 0%, #0c1730 42%, #101f44 100%);
    --cxzzt-lottery-bg-particles:
        radial-gradient(circle at 8% 14%, rgba(255, 255, 255, 0.9) 0 1.2px, transparent 2.2px),
        radial-gradient(circle at 16% 48%, rgba(143, 227, 255, 0.66) 0 1px, transparent 2px),
        radial-gradient(circle at 24% 78%, rgba(255, 255, 255, 0.7) 0 1.2px, transparent 2.2px),
        radial-gradient(circle at 52% 18%, rgba(255, 255, 255, 0.9) 0 1.4px, transparent 2.4px),
        radial-gradient(circle at 76% 24%, rgba(255, 230, 169, 0.68) 0 1.3px, transparent 2.3px),
        radial-gradient(circle at 84% 62%, rgba(255, 255, 255, 0.62) 0 1.1px, transparent 2.1px),
        radial-gradient(circle at 66% 78%, rgba(88, 225, 255, 0.18) 0 30px, transparent 70px);
    --cxzzt-lottery-bg-overlay: rgba(255, 255, 255, 0.06);
    --cxzzt-lottery-bg-blend: screen;
    --cxzzt-lottery-text: #f3f7ff;
    --cxzzt-lottery-muted: rgba(201, 219, 255, 0.76);
    --cxzzt-lottery-border: rgba(139, 176, 255, 0.2);
    --cxzzt-lottery-card-shadow:
        0 26px 60px rgba(3, 8, 20, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --cxzzt-lottery-card-bg:
        linear-gradient(180deg, rgba(16, 28, 54, 0.92), rgba(10, 18, 36, 0.8));
    --cxzzt-lottery-card-bg-strong:
        linear-gradient(180deg, rgba(16, 28, 54, 0.92), rgba(10, 18, 36, 0.8));
    --cxzzt-lottery-tag-bg: rgba(15, 27, 52, 0.78);
    --cxzzt-lottery-tag-border: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 34px 80px rgba(3, 8, 20, 0.45),
        inset 0 0 0 1px rgba(148, 181, 255, 0.08);
}

body.dark-theme .cxzzt-lottery-page::after,
body.theme-dark .cxzzt-lottery-page::after,
html.dark body .cxzzt-lottery-page::after,
html.theme-dark body .cxzzt-lottery-page::after {
    opacity: 0.92;
}

body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-hero__eyebrow,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-actions__eyebrow,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-hero__eyebrow,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-actions__eyebrow,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-hero__eyebrow,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-actions__eyebrow,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-hero__eyebrow,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-actions__eyebrow {
    background: rgba(10, 22, 46, 0.72);
    border-color: rgba(88, 225, 255, 0.22);
    color: #8be7ff;
    box-shadow: inset 0 0 24px rgba(88, 225, 255, 0.08);
}

body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-meta__item,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-actions__tags span,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-meta__item,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-actions__tags span,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-meta__item,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-actions__tags span,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-meta__item,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-actions__tags span {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(15, 27, 52, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ── Dark theme frosted glass cards ── */
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-actions,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-panel,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-actions,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-panel,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-actions,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-panel,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-actions,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-panel {
    background: rgba(10, 18, 36, 0.58);
    border-color: rgba(139, 176, 255, 0.12);
    backdrop-filter: blur(20px) saturate(1.2);
    box-shadow:
        0 24px 56px rgba(3, 8, 20, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-actions::before,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-panel::before,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-actions::before,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-panel::before,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-actions::before,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-panel::before,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-actions::before,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-panel::before {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    opacity: 0.5;
}

/* ── Dark theme: 合并卡片分隔线 ── */
body.dark-theme .cxzzt-lottery-actions__divider,
body.theme-dark .cxzzt-lottery-actions__divider,
html.dark body .cxzzt-lottery-actions__divider,
html.theme-dark body .cxzzt-lottery-actions__divider {
    background: linear-gradient(90deg, transparent, rgba(139, 176, 255, 0.18), transparent);
}

/* ── Dark theme stat cards ── */
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-hero__stat,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-hero__stat,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    box-shadow: none;
}

body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-hero__stat:hover,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-hero__stat:hover,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat:hover,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat:hover {
    border-color: rgba(139, 176, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-hero__stat strong,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-hero__stat strong,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat strong,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat strong {
    color: #f0f4ff;
}

body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-hero__stat-label,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-hero__stat strong em,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-hero__stat-label,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-hero__stat strong em,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat-label,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat strong em,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat-label,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat strong em {
    color: rgba(200, 215, 245, 0.55);
}

/* ── Gothic ornate hero & stat cards ── */
.cxzzt-lottery-page .cxzzt-lottery-hero__eyebrow {
    border: 1px solid rgba(200, 146, 46, 0.35);
    border-radius: 0;
    background: rgba(30, 22, 14, 0.72);
    color: #d4a23a;
    box-shadow: inset 0 0 18px rgba(200, 146, 46, 0.06);
    letter-spacing: 0.14em;
}

.cxzzt-lottery-page .cxzzt-lottery-hero__title {
    background: linear-gradient(180deg, #f5e4c0 0%, #d4a23a 70%, #b8861e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 3px 10px rgba(212, 162, 58, 0.2));
}

.cxzzt-lottery-page .cxzzt-lottery-hero__subtitle {
    color: rgba(212, 180, 120, 0.72);
    margin-left: auto;
    margin-right: auto;
}

.cxzzt-lottery-page .cxzzt-lottery-hero {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.cxzzt-lottery-page .cxzzt-lottery-hero__copy {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cxzzt-lottery-page .cxzzt-lottery-hero__summary {
    flex-basis: 100%;
    min-width: 0;
    gap: 10px;
}

.cxzzt-lottery-page .cxzzt-lottery-hero__stat,
.cxzzt-lottery-page .cxzzt-lottery-hero__stat:nth-child(2),
.cxzzt-lottery-page .cxzzt-lottery-hero__stat:nth-child(3),
.cxzzt-lottery-page .cxzzt-lottery-hero__stat:nth-child(4) {
    min-height: 0;
    padding: 14px 16px;
    border: 1px solid rgba(200, 146, 46, 0.18);
    border-radius: 12px;
    background: rgba(30, 22, 14, 0.6);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cxzzt-lottery-page .cxzzt-lottery-hero__stat::before,
.cxzzt-lottery-page .cxzzt-lottery-hero__stat::after {
    display: none;
}

.cxzzt-lottery-page .cxzzt-lottery-hero__stat:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 162, 58, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 12px rgba(212, 162, 58, 0.08);
}

.cxzzt-lottery-page .cxzzt-lottery-hero__stat strong {
    color: #f5e4c0;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    filter: none;
}

.cxzzt-lottery-page .cxzzt-lottery-hero__stat strong em {
    color: rgba(212, 180, 120, 0.55);
}

.cxzzt-lottery-page .cxzzt-lottery-hero__stat-label {
    color: rgba(212, 180, 120, 0.6);
}

/* ── Gothic ornate hint & result bars ── */
.cxzzt-lottery-page .cxzzt-lottery-actions__hint,
.cxzzt-lottery-page .cxzzt-lottery-result,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-actions__hint,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-result,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-actions__hint,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-result,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-actions__hint,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-result,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-actions__hint,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-result {
    border: 2px solid;
    border-image: linear-gradient(180deg, #c8922e 0%, #6e4e10 45%, #c8922e 55%, #6e4e10 100%) 1;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 162, 58, 0.08) 0%, transparent 55%),
        linear-gradient(175deg, #2e2318 0%, #1a1410 55%, #261e16 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    color: rgba(212, 180, 120, 0.88);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cxzzt-lottery-page .cxzzt-lottery-result:empty {
    border-color: transparent;
    border-image: none;
    background: transparent;
    box-shadow: none;
}

.cxzzt-lottery-page .cxzzt-lottery-result.is-success,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-result.is-success,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-result.is-success,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-result.is-success,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-result.is-success {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(120, 200, 160, 0.1) 0%, transparent 55%),
        linear-gradient(175deg, #1e2e22 0%, #141a14 55%, #1a261e 100%);
    color: #a8e0c0;
}

.cxzzt-lottery-page .cxzzt-lottery-result.is-error,
.cxzzt-lottery-page .cxzzt-lottery-actions__hint.is-error,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-result.is-error,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-result.is-error,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-result.is-error,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-result.is-error {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(200, 100, 100, 0.1) 0%, transparent 55%),
        linear-gradient(175deg, #2e1e1e 0%, #1a1212 55%, #261818 100%);
    color: #e0a8a8;
}

.cxzzt-lottery-page .cxzzt-lottery-actions__hint.is-warning {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 162, 58, 0.12) 0%, transparent 55%),
        linear-gradient(175deg, #2e2318 0%, #1a1410 55%, #261e16 100%);
    color: #e0c898;
}

.cxzzt-lottery-page .cxzzt-lottery-actions__hint.is-success {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(120, 200, 160, 0.1) 0%, transparent 55%),
        linear-gradient(175deg, #1e2e22 0%, #141a14 55%, #1a261e 100%);
    color: #a8e0c0;
}

.cxzzt-lottery-page .cxzzt-lottery-result.is-info,
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-result.is-info,
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-result.is-info,
html.dark body .cxzzt-lottery-page .cxzzt-lottery-result.is-info,
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-result.is-info {
    color: #e0c898;
}

@keyframes cxzztCardShine {
    0%,
    65% {
        transform: translateX(-150%);
    }

    100% {
        transform: translateX(150%);
    }
}

@keyframes cxzztLotterySceneShift {
    0% {
        background-position: 0% 0%;
        transform: scale(1);
    }

    100% {
        background-position: 100% 100%;
        transform: scale(1.04);
    }
}

@keyframes cxzztLotteryParticleFloat {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(0, -18px, 0);
    }
}

/* ── Carnival wheel redesign ── */

.cxzzt-lottery-page .cxzzt-lottery-wheel__backdrop,
.cxzzt-lottery-page .cxzzt-lottery-wheel__halo {
    display: none;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__glow {
    inset: 2%;
    background: radial-gradient(circle, rgba(255, 200, 50, 0.1) 0%, transparent 55%);
    filter: blur(16px);
    opacity: 0.5;
    animation: none;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel.is-drawing .cxzzt-lottery-wheel__glow {
    inset: 0;
    background: radial-gradient(circle, rgba(255, 200, 50, 0.22) 0%, transparent 55%);
    filter: blur(12px);
    opacity: 1;
    animation: cxzztLotteryPulseRing 1.4s ease-in-out infinite;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__disc {
    inset: 3.5%;
    border: 22px solid transparent;
    border-radius: 50%;
    background:
        var(--wheel-gradient) padding-box,
        linear-gradient(160deg, #FFCA28 0%, #FF8F00 22%, #FFC107 44%, #FF6F00 62%, #FFCA28 80%, #FF8F00 100%) border-box;
    box-shadow:
        0 6px 20px rgba(255, 143, 0, 0.22),
        inset 0 0 0 3px rgba(255, 255, 255, 0.22);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    will-change: transform;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__disc::before {
    background: radial-gradient(circle at center, transparent 0%, transparent 35%, rgba(0, 0, 0, 0.04) 100%);
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__disc.is-drawing {
    transition: transform 4.2s cubic-bezier(0.14, 0.92, 0.2, 1), box-shadow 0.35s ease;
    box-shadow:
        0 6px 20px rgba(255, 143, 0, 0.35),
        0 0 36px rgba(255, 183, 77, 0.35),
        inset 0 0 0 3px rgba(255, 255, 255, 0.28);
    filter: saturate(1.08) brightness(1.03);
}

/* Lights ring */
.cxzzt-lottery-wheel__lights {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: 50%;
}

.cxzzt-lottery-wheel__light {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFFDE7 30%, #FFD54F 100%);
    box-shadow: 0 0 4px rgba(255, 213, 79, 0.7), 0 0 1px rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
}

.cxzzt-lottery-wheel__light:nth-child(odd) {
    animation: cxzztLotteryLightBlink 2s ease-in-out infinite;
}

.cxzzt-lottery-wheel__light:nth-child(even) {
    animation: cxzztLotteryLightBlink 2s ease-in-out infinite 1s;
}

@keyframes cxzztLotteryLightBlink {
    0%,
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.35;
        transform: translate(-50%, -50%) scale(0.85);
    }
}

/* Sector labels - inside disc, orbit with sectors */
.cxzzt-lottery-page .cxzzt-lottery-wheel__sector {
    width: auto;
    z-index: 2;
    text-align: center;
    transform: translate(-50%, -50%);
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__pill {
    display: inline-block;
    max-width: 100%;
    padding: 4px 10px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #BF360C;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.02em;
    white-space: nowrap;
    word-break: normal;
    text-shadow: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
    transform: rotate(var(--angle, 0deg));
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill {
    border: none;
    background: rgba(255, 240, 200, 0.15);
    color: #FFE082;
    text-shadow:
        0 0 4px rgba(255, 213, 79, 0.8),
        0 0 10px rgba(255, 183, 40, 0.5),
        0 0 20px rgba(255, 152, 0, 0.25);
    box-shadow:
        0 0 6px rgba(255, 200, 60, 0.4),
        0 0 14px rgba(255, 170, 30, 0.2);
    transform: rotate(var(--angle, 0deg)) scale(1.08) translateY(-1px);
    animation: cxzztPillNeonPulse 1.4s ease-in-out 0.4s infinite;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__sector.is-miss .cxzzt-lottery-wheel__pill {
    color: rgba(180, 160, 130, 0.7);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: none;
    transform: rotate(var(--angle, 0deg)) scale(0.92);
    opacity: 0.5;
}

/* Center button */
.cxzzt-lottery-page .cxzzt-lottery-wheel__core {
    inset: 37%;
    z-index: 5;
    border: none;
    background: transparent;
    box-shadow: none;
    animation: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__core::before {
    display: none;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__core-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, #fffbe6 0%, #ffe082 18%, #ffb300 40%, #f57c00 68%, #e65100 88%, #bf360c 100%);
    box-shadow:
        0 0 0 3px #d4a017,
        0 0 0 5px #a67c00,
        0 0 0 7px rgba(212, 160, 23, 0.35),
        inset 0 6px 14px rgba(255, 255, 255, 0.55),
        inset 0 -6px 10px rgba(180, 80, 0, 0.45),
        0 4px 24px rgba(230, 81, 0, 0.35),
        0 0 40px rgba(255, 152, 0, 0.15);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-shadow:
        0 1px 3px rgba(140, 30, 0, 0.7),
        0 0 12px rgba(255, 120, 0, 0.35);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    animation: cxzztCoreBtnPulse 2.4s ease-in-out infinite;
}

@keyframes cxzztCoreBtnPulse {
    0%, 100% { box-shadow:
        0 0 0 3px #d4a017,
        0 0 0 5px #a67c00,
        0 0 0 7px rgba(212, 160, 23, 0.35),
        inset 0 6px 14px rgba(255, 255, 255, 0.55),
        inset 0 -6px 10px rgba(180, 80, 0, 0.45),
        0 4px 24px rgba(230, 81, 0, 0.35),
        0 0 40px rgba(255, 152, 0, 0.15);
    }
    50% { box-shadow:
        0 0 0 3px #d4a017,
        0 0 0 5px #a67c00,
        0 0 0 8px rgba(212, 160, 23, 0.5),
        inset 0 6px 14px rgba(255, 255, 255, 0.55),
        inset 0 -6px 10px rgba(180, 80, 0, 0.45),
        0 4px 28px rgba(230, 81, 0, 0.45),
        0 0 52px rgba(255, 152, 0, 0.25);
    }
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__core-btn::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__core-btn::after {
    content: "";
    position: absolute;
    top: 8%;
    left: 20%;
    width: 60%;
    height: 28%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__core-btn:hover:not(:disabled) {
    transform: scale(1.08);
    animation: none;
    box-shadow:
        0 0 0 3px #d4a017,
        0 0 0 5px #a67c00,
        0 0 0 9px rgba(255, 193, 7, 0.5),
        inset 0 6px 14px rgba(255, 255, 255, 0.55),
        inset 0 -6px 10px rgba(180, 80, 0, 0.45),
        0 6px 32px rgba(230, 81, 0, 0.5),
        0 0 56px rgba(255, 152, 0, 0.3);
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__core-btn:active:not(:disabled) {
    transform: scale(0.94);
    animation: none;
    box-shadow:
        0 0 0 3px #d4a017,
        0 0 0 5px #a67c00,
        0 0 0 6px rgba(212, 160, 23, 0.3),
        inset 0 3px 8px rgba(180, 80, 0, 0.5),
        inset 0 -2px 4px rgba(255, 255, 255, 0.15),
        0 2px 10px rgba(230, 81, 0, 0.3);
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__core-btn:disabled {
    cursor: default;
}

/* Hide external action buttons */
.cxzzt-lottery-page .cxzzt-lottery-actions__button.is-draw,
.cxzzt-lottery-page .cxzzt-lottery-actions__button.is-login {
    display: none;
}

/* Pointer */
.cxzzt-lottery-page .cxzzt-lottery-wheel__pointer {
    top: 0;
    z-index: 6;
    width: 44px;
    height: 66px;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__pointer::before {
    top: 0;
    width: 32px;
    height: 30px;
    border-radius: 10px 10px 8px 8px;
    background: linear-gradient(180deg, #FFCA28 0%, #FF8F00 45%, #E65100 100%);
    box-shadow:
        0 6px 16px rgba(230, 81, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(191, 54, 12, 0.2);
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__pointer::after {
    top: 24px;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 30px solid #E65100;
    filter: drop-shadow(0 6px 10px rgba(230, 81, 0, 0.28));
}

/* ── Sector highlight - neon winning effect ── */

.cxzzt-lottery-page .cxzzt-lottery-wheel__dim-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    border-radius: 50%;
    overflow: hidden;
    animation: cxzztDimFadeIn 0.4s ease-out both;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__sector-highlight {
    filter: drop-shadow(0 0 6px rgba(255, 200, 60, 0.5));
    will-change: transform, opacity;
    animation: cxzztHighlightBurst 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__sector-fill {
    fill: rgba(255, 200, 60, 0.28);
    will-change: opacity;
    animation: cxzztLotterySectorGlow 1.6s ease-in-out 0.35s infinite;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__sector-glow-inner {
    fill: rgba(255, 180, 40, 0.18);
    will-change: opacity;
    animation: cxzztLotterySectorGlow 1.6s ease-in-out 0.5s infinite;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__sector-border {
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #FFD54F;
    filter: drop-shadow(0 0 4px rgba(255, 213, 79, 0.5));
    will-change: opacity;
    animation: cxzztBorderOpacity 1.4s ease-in-out 0.35s infinite;
}

.cxzzt-lottery-page .cxzzt-lottery-wheel__sector-sweep {
    will-change: transform;
    animation: cxzztSweepWipe 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s both;
}

@keyframes cxzztDimFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

@keyframes cxzztBorderOpacity {
    0%, 100% {
        opacity: 0.65;
    }
    50% {
        opacity: 1;
    }
}

@keyframes cxzztSweepWipe {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(300%);
    }
}

@keyframes cxzztPillNeonPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Carnival responsive */
@media (max-width: 640px) {
    .cxzzt-lottery-page .cxzzt-lottery-wheel__disc {
        border-width: 16px;
    }

    .cxzzt-lottery-page .cxzzt-lottery-wheel__pill {
        font-size: 11px;
    }

    .cxzzt-lottery-page .cxzzt-lottery-wheel__core {
        inset: 35%;
    }

    .cxzzt-lottery-page .cxzzt-lottery-wheel__core-btn {
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .cxzzt-lottery-page .cxzzt-lottery-wheel__pointer {
        width: 38px;
        height: 56px;
    }

    .cxzzt-lottery-page .cxzzt-lottery-wheel__pointer::before {
        width: 28px;
        height: 26px;
    }

    .cxzzt-lottery-page .cxzzt-lottery-wheel__pointer::after {
        top: 20px;
        border-left-width: 14px;
        border-right-width: 14px;
        border-top-width: 26px;
    }

    .cxzzt-lottery-wheel__light {
        width: 8px;
        height: 8px;
    }
}

/* Replace the theme background for the lottery page */
body.cxzzt-lottery-screen #content,
body.cxzzt-lottery-screen main.container,
body.cxzzt-lottery-screen .content-wrap,
body.cxzzt-lottery-screen .content-layout {
    background: transparent !important;
}

body.cxzzt-lottery-screen #content,
body.cxzzt-lottery-screen main.container,
body.cxzzt-lottery-screen .content-wrap,
body.cxzzt-lottery-screen .content-layout,
body.cxzzt-lottery-screen .cxzzt-lottery-page {
    position: relative;
    z-index: 1;
}

body.cxzzt-lottery-screen .cxzzt-lottery-page {
    padding: 30px 0 46px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}

body.cxzzt-lottery-screen .cxzzt-lottery-page::before,
body.cxzzt-lottery-screen .cxzzt-lottery-page::after {
    display: none !important;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero,
body.cxzzt-lottery-screen .cxzzt-lottery-shell,
body.cxzzt-lottery-screen .cxzzt-lottery-panels {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    body.cxzzt-lottery-screen .cxzzt-lottery-page {
        padding: 22px 0 36px !important;
    }
}

@media (max-width: 640px) {
    body.cxzzt-lottery-screen .cxzzt-lottery-page {
        padding: 18px 0 30px !important;
    }
}

/* 修复亮色模式下弹窗按钮不可见 */
.modal-buts .but.jb-green {
    background: linear-gradient(135deg, #14b86a, #0ea65e) !important;
    color: #fff !important;
}

/* Skeuomorphic console redesign */
body.cxzzt-lottery-screen {
    --cxzzt-console-shell: #14181d;
    --cxzzt-console-brass: #d9b46d;
    --cxzzt-console-paper: #f1e4c9;
    --cxzzt-console-muted: rgba(241, 228, 201, 0.7);
    --cxzzt-console-shadow: rgba(0, 0, 0, 0.48);
}

body.cxzzt-lottery-screen::before,
body.cxzzt-lottery-screen::after {
    content: none;
    display: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-page {
    color: var(--cxzzt-console-paper);
    font-family: "Trebuchet MS", "Segoe UI", "Microsoft YaHei", sans-serif;
    padding: 36px 0 64px !important;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero,
body.cxzzt-lottery-screen .cxzzt-lottery-actions,
body.cxzzt-lottery-screen .cxzzt-lottery-panel,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero,
body.cxzzt-lottery-screen .cxzzt-lottery-actions,
body.cxzzt-lottery-screen .cxzzt-lottery-panel {
    border: 1px solid rgba(210, 173, 105, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 14%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(135deg, rgba(78, 58, 39, 0.98) 0%, rgba(40, 29, 20, 0.98) 55%, rgba(27, 20, 15, 0.98) 100%);
    box-shadow:
        0 28px 60px var(--cxzzt-console-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero::before,
body.cxzzt-lottery-screen .cxzzt-lottery-actions::before,
body.cxzzt-lottery-screen .cxzzt-lottery-panel::before,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero::after,
body.cxzzt-lottery-screen .cxzzt-lottery-actions::after,
body.cxzzt-lottery-screen .cxzzt-lottery-panel::after,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 26px 26px, rgba(255, 255, 255, 0.32) 0 2px, rgba(45, 52, 60, 0.92) 3px, rgba(10, 12, 15, 0.94) 8px, transparent 9px),
        radial-gradient(circle at calc(100% - 26px) 26px, rgba(255, 255, 255, 0.32) 0 2px, rgba(45, 52, 60, 0.92) 3px, rgba(10, 12, 15, 0.94) 8px, transparent 9px),
        radial-gradient(circle at 26px calc(100% - 26px), rgba(255, 255, 255, 0.32) 0 2px, rgba(45, 52, 60, 0.92) 3px, rgba(10, 12, 15, 0.94) 8px, transparent 9px),
        radial-gradient(circle at calc(100% - 26px) calc(100% - 26px), rgba(255, 255, 255, 0.32) 0 2px, rgba(45, 52, 60, 0.92) 3px, rgba(10, 12, 15, 0.94) 8px, transparent 9px),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 28%);
    pointer-events: none;
    opacity: 0.82;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    align-items: center;
    gap: 28px;
    padding: 34px 36px 30px;
    margin-bottom: 32px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__copy {
    max-width: 760px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__eyebrow,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__eyebrow {
    min-height: 36px;
    padding: 0 18px;
    border: 1px solid rgba(223, 188, 118, 0.46);
    background: linear-gradient(180deg, rgba(137, 101, 50, 0.98) 0%, rgba(55, 35, 16, 0.98) 100%);
    color: #f6d9a4;
    font-family: "Trebuchet MS", "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 10px 20px rgba(0, 0, 0, 0.2);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__title,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__title,
body.cxzzt-lottery-screen .cxzzt-lottery-panel__title {
    font-family: "Cambria", "Palatino Linotype", "Times New Roman", "Noto Serif SC", serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__title {
    margin: 18px 0 12px;
    color: #f5e4c3;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 0.98;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.34),
        0 16px 30px rgba(0, 0, 0, 0.18);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__subtitle,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__description,
body.cxzzt-lottery-screen .cxzzt-lottery-rules li,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__item,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__text {
    color: var(--cxzzt-console-muted);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__subtitle {
    max-width: 660px;
    line-height: 1.8;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__summary {
    gap: 14px;
    min-width: 0;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat,
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:nth-child(2),
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:nth-child(3),
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:nth-child(4) {
    min-height: 0;
    padding: 14px 16px;
    border: 1px solid rgba(142, 150, 160, 0.2);
    border-radius: 12px;
    background: rgba(35, 42, 50, 0.7);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat::before,
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat::after {
    display: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:hover {
    transform: translateY(-3px);
    border-color: rgba(142, 150, 160, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat strong {
    position: relative;
    z-index: 1;
    background: none;
    color: #f7e7c1;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1;
    text-shadow: none;
    -webkit-text-fill-color: currentColor;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat strong em {
    color: rgba(244, 221, 174, 0.5);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat-label {
    color: rgba(244, 221, 174, 0.6);
    font-size: 10px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-shell {
    gap: 30px;
    align-items: stretch;
    margin-bottom: 30px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
    min-height: 660px;
    padding: 36px;
    border: 1px solid rgba(138, 148, 160, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 14%, rgba(0, 0, 0, 0.16) 100%),
        repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.025) 0 5px, rgba(0, 0, 0, 0.035) 5px 10px),
        linear-gradient(145deg, rgba(79, 87, 98, 0.98) 0%, rgba(42, 49, 58, 0.98) 44%, rgba(17, 22, 27, 0.98) 100%);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.34);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel {
    width: min(100%, 560px);
    filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.34));
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__backdrop {
    display: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__halo {
    display: block;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__backdrop {
    inset: 1.6%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.22) 100%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 6px, rgba(0, 0, 0, 0.04) 6px 12px),
        linear-gradient(145deg, #5a616a 0%, #252b32 44%, #14191f 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.16),
        inset 0 -4px 10px rgba(0, 0, 0, 0.28),
        0 20px 44px rgba(0, 0, 0, 0.28);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__glow {
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 190, 92, 0.34) 0%, rgba(255, 190, 92, 0.1) 40%, rgba(255, 190, 92, 0) 70%);
    filter: blur(28px);
    opacity: 0.72;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__halo {
    inset: 4%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 61%, rgba(255, 231, 185, 0.42) 63%, rgba(184, 131, 55, 0.18) 70%, rgba(255, 255, 255, 0) 74%);
    opacity: 0.92;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc {
    inset: 7.5%;
    border: 18px solid transparent;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 26%),
        repeating-conic-gradient(
            from -90deg,
            #f2e5cb 0 calc((360deg / var(--prize-count)) - 4deg),
            #c78e39 calc((360deg / var(--prize-count)) - 4deg) calc((360deg / var(--prize-count)) - 1deg),
            #e5cf9e calc((360deg / var(--prize-count)) - 1deg) calc(360deg / var(--prize-count))
        ) padding-box,
        linear-gradient(155deg, #f7e2b4 0%, #ad752f 24%, #72481a 50%, #5a3815 70%, #efce86 100%) border-box;
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.34),
        inset 0 2px 0 rgba(255, 255, 255, 0.24),
        inset 0 -6px 14px rgba(79, 44, 11, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc::before {
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0.08) 100%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc.is-drawing {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.24),
        inset 0 -6px 14px rgba(79, 44, 11, 0.22);
    filter: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel.is-drawing .cxzzt-lottery-wheel__glow {
    display: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__lights {
    inset: 0;
    z-index: 4;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__light {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #fffdf4 0%, #ffe1a5 34%, #d28422 70%, #6d3c0d 100%);
    box-shadow:
        0 0 10px rgba(255, 189, 99, 0.34),
        inset 0 1px 1px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(79, 39, 7, 0.42);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__light:nth-child(odd),
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__light:nth-child(even) {
    animation: cxzztConsoleBulbBlink 2.8s ease-in-out infinite;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__light:nth-child(even) {
    animation-delay: 1.4s;
}

/* sector-icon img 尺寸已迁移到 lottery-page.override.css（30/22/18px 响应式）。
   此处保留 sector 尺寸；img 旧 42px 规则已删除以消除死代码。 */
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector {
    z-index: 3;
    width: 112px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pill {
    padding: 7px 12px;
    border: 1px solid rgba(112, 81, 29, 0.34);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(253, 249, 236, 0.96) 0%, rgba(227, 206, 166, 0.92) 100%);
    color: #553611;
    font-family: "Trebuchet MS", "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow:
        0 8px 14px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(121, 86, 24, 0.18);
    text-shadow: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill {
    border-color: rgba(255, 223, 164, 0.74);
    background: linear-gradient(180deg, #fff8e7 0%, #f6d693 100%);
    color: #4f300d;
    box-shadow:
        0 0 0 2px rgba(255, 226, 171, 0.52),
        0 0 22px rgba(255, 185, 77, 0.28),
        0 10px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
    transform: rotate(var(--angle, 0deg)) scale(1.08) translateY(-2px);
    animation: cxzztConsoleLampPulse 1.55s ease-in-out infinite;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector.is-miss .cxzzt-lottery-wheel__pill {
    background: linear-gradient(180deg, rgba(95, 104, 112, 0.82) 0%, rgba(57, 65, 71, 0.92) 100%);
    color: rgba(255, 243, 213, 0.68);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 0.54;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core {
    inset: 37%;
    z-index: 5;
    border: 12px solid transparent;
    background:
        linear-gradient(160deg, #f7e5b9 0%, #b17b2d 28%, #6a4217 58%, #efcb82 100%) border-box,
        linear-gradient(180deg, #2d3238 0%, #0f1318 100%) padding-box;
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.36),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -6px 12px rgba(0, 0, 0, 0.24);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core::before {
    inset: 10%;
    background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 52%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn {
    border: 1px solid rgba(255, 218, 154, 0.46);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 28%, #fff5cf 0%, #ffc960 20%, #cf8d2b 48%, #7a4512 78%, #381a08 100%);
    box-shadow:
        0 0 0 3px rgba(218, 177, 104, 0.52),
        0 0 0 8px rgba(74, 45, 15, 0.36),
        0 16px 24px rgba(0, 0, 0, 0.3),
        inset 0 8px 12px rgba(255, 255, 255, 0.28),
        inset 0 -10px 14px rgba(85, 38, 6, 0.46);
    color: #fff7e6;
    font-family: "Trebuchet MS", "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
    text-shadow:
        0 2px 4px rgba(82, 33, 6, 0.72),
        0 0 12px rgba(255, 180, 75, 0.22);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
    animation: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn::before {
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 55%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn::after {
    top: 10%;
    left: 19%;
    width: 62%;
    height: 24%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 100%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 0 0 3px rgba(218, 177, 104, 0.56),
        0 0 0 8px rgba(74, 45, 15, 0.4),
        0 20px 28px rgba(0, 0, 0, 0.34),
        inset 0 8px 12px rgba(255, 255, 255, 0.3),
        inset 0 -10px 14px rgba(85, 38, 6, 0.5);
    filter: brightness(1.05);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:active:not(:disabled),
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn.is-busy {
    transform: translateY(3px) scale(0.975);
    box-shadow:
        0 0 0 3px rgba(218, 177, 104, 0.46),
        0 0 0 7px rgba(74, 45, 15, 0.34),
        0 8px 14px rgba(0, 0, 0, 0.28),
        inset 0 10px 14px rgba(85, 38, 6, 0.52),
        inset 0 -4px 8px rgba(255, 255, 255, 0.16);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:disabled {
    filter: saturate(0.78) brightness(0.9);
    cursor: not-allowed;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer {
    top: 2%;
    width: 62px;
    height: 94px;
    z-index: 6;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::before {
    top: 0;
    width: 48px;
    height: 38px;
    border-radius: 18px 18px 12px 12px;
    background: linear-gradient(180deg, #efe1b8 0%, #a17a3e 38%, #594224 100%);
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.22),
        inset 0 2px 0 rgba(255, 255, 255, 0.44),
        inset 0 -2px 4px rgba(72, 45, 17, 0.28);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::after {
    top: 28px;
    border-left: 21px solid transparent;
    border-right: 21px solid transparent;
    border-top: 40px solid #b84f18;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer > span {
    display: block;
    position: absolute;
    left: 50%;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle at 35% 30%, #fff4d9 0%, #d79f43 40%, #704818 100%);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.46);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel.is-drawing .cxzzt-lottery-wheel__pointer {
    animation: cxzztLotteryPointerKick 0.15s ease-in-out infinite alternate;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__dim-overlay {
    z-index: 4;
    border-radius: 50%;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector-highlight {
    filter: drop-shadow(0 0 16px rgba(255, 199, 112, 0.3));
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector-fill {
    fill: rgba(255, 214, 138, 0.22);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector-glow-inner {
    fill: rgba(255, 255, 255, 0.18);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector-border {
    stroke: #ffe4af;
    stroke-width: 2.2;
    filter: drop-shadow(0 0 8px rgba(255, 214, 138, 0.22));
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__spark {
    width: 5px;
    height: 18px;
    background: linear-gradient(180deg, rgba(255, 246, 205, 0.92) 0%, rgba(255, 176, 67, 0.96) 52%, rgba(176, 79, 18, 0.94) 100%);
    box-shadow: 0 0 10px rgba(255, 176, 67, 0.26);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions {
    gap: 22px;
    padding: 32px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__title {
    margin: 14px 0 10px;
    color: #f3dfb9;
    font-size: clamp(28px, 2.6vw, 38px);
    line-height: 1.06;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__description {
    font-size: 15px;
    line-height: 1.8;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button {
    display: none;
    position: relative;
    min-height: 70px;
    padding: 0 20px;
    border: 1px solid rgba(213, 179, 110, 0.44);
    border-radius: 18px;
    overflow: hidden;
    color: #fff3d7;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    opacity: 0.86;
    pointer-events: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-draw {
    background: linear-gradient(180deg, #d6b06a 0%, #a56f28 48%, #6e4315 100%);
    box-shadow:
        0 18px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -6px 12px rgba(82, 38, 9, 0.34);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-login {
    border-color: rgba(151, 181, 203, 0.42);
    background: linear-gradient(180deg, #9eb6c8 0%, #546270 48%, #2a3139 100%);
    box-shadow:
        0 18px 28px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -6px 12px rgba(10, 18, 26, 0.32);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button:hover:not(:disabled) {
    transform: translateY(-2px);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button:active:not(:disabled),
body.cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-busy {
    transform: translateY(2px);
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.24),
        inset 0 6px 12px rgba(0, 0, 0, 0.18);
}

body.cxzzt-lottery-screen .cxzzt-lottery-meta {
    gap: 14px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-meta__item {
    position: relative;
    min-height: 84px;
    padding: 0 20px;
    border: 1px solid rgba(143, 151, 161, 0.34);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 18%, rgba(0, 0, 0, 0.14) 100%),
        repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.02) 0 4px, rgba(0, 0, 0, 0.03) 4px 8px),
        linear-gradient(145deg, rgba(67, 75, 84, 0.98) 0%, rgba(30, 36, 43, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

body.cxzzt-lottery-screen .cxzzt-lottery-meta__label {
    color: rgba(241, 228, 201, 0.54);
    font-size: 10px;
    letter-spacing: 0.22em;
}

body.cxzzt-lottery-screen .cxzzt-lottery-meta__value {
    color: #f8ebcd;
    font-family: "Cambria", "Palatino Linotype", "Times New Roman", "Noto Serif SC", serif;
    font-size: 21px;
    font-weight: 700;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint,
body.cxzzt-lottery-screen .cxzzt-lottery-result {
    min-height: 70px;
    padding: 18px 20px;
    border: 1px solid rgba(111, 141, 160, 0.34);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(24, 37, 46, 0.96) 0%, rgba(9, 15, 20, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 28px rgba(97, 148, 171, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.16);
    color: #d3ebf1;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-warning {
    color: #f1d29e;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 24px rgba(214, 169, 94, 0.14),
        0 12px 24px rgba(0, 0, 0, 0.16);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-success,
body.cxzzt-lottery-screen .cxzzt-lottery-result.is-success {
    color: #c7f0d2;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 24px rgba(73, 159, 99, 0.14),
        0 12px 24px rgba(0, 0, 0, 0.16);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-error,
body.cxzzt-lottery-screen .cxzzt-lottery-result.is-error {
    color: #f3b2a4;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 24px rgba(186, 76, 55, 0.16),
        0 12px 24px rgba(0, 0, 0, 0.16);
}

body.cxzzt-lottery-screen .cxzzt-lottery-result {
    color: #f5e0b8;
    font-size: 17px;
    font-weight: 800;
}

body.cxzzt-lottery-screen .cxzzt-lottery-result:empty {
    display: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-result.is-info {
    color: #eed39f;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__divider {
    background: linear-gradient(90deg, transparent, rgba(214, 179, 109, 0.22), transparent);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__rules-title {
    color: #f1e4c9;
    font-size: 17px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__rules .cxzzt-lottery-rules li {
    color: rgba(241, 228, 201, 0.7);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__tags {
    gap: 10px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__tags span {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(214, 179, 109, 0.28);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(131, 99, 51, 0.95) 0%, rgba(61, 38, 17, 0.96) 100%);
    color: #f0d7a3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

body.cxzzt-lottery-screen .cxzzt-lottery-panels {
    gap: 24px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-panel {
    padding: 28px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-panel__title {
    margin: 0 0 18px;
    color: #f2dfb7;
    font-size: 26px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-rules li {
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.9;
}

body.cxzzt-lottery-screen .cxzzt-lottery-rules li::before {
    top: 11px;
    width: 9px;
    height: 9px;
    background: radial-gradient(circle, #ffe8b6 0%, #cf8d2b 70%, #704517 100%);
    box-shadow: 0 0 10px rgba(255, 189, 99, 0.22);
}

body.cxzzt-lottery-screen .cxzzt-lottery-activity__viewport {
    max-height: 72px;
    padding: 6px 0;
}

body.cxzzt-lottery-screen .cxzzt-lottery-activity__item {
    min-height: 52px;
    padding: 0 14px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 22%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(145deg, rgba(55, 63, 72, 0.96) 0%, rgba(26, 31, 37, 0.96) 100%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-activity__dot {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #fff2d0 0%, #ffb855 62%, #a55e17 100%);
    box-shadow: 0 0 10px rgba(255, 184, 85, 0.24);
}

body.cxzzt-lottery-screen .cxzzt-lottery-activity__name,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__prize {
    color: #f2e0bc;
}

body.cxzzt-lottery-screen .cxzzt-lottery-activity__time {
    color: rgba(241, 228, 201, 0.48);
}

@keyframes cxzztConsoleLampPulse {
    0%,
    100% {
        opacity: 0.82;
        filter: blur(24px);
    }

    50% {
        opacity: 1;
        filter: blur(30px);
    }
}

@keyframes cxzztConsoleBulbBlink {
    0%,
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.46;
        transform: translate(-50%, -50%) scale(0.88);
    }
}

@media (max-width: 1180px) {
    body.cxzzt-lottery-screen .cxzzt-lottery-hero {
        grid-template-columns: 1fr;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero__summary {
        max-width: 100%;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-shell {
        grid-template-columns: 1fr;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-actions {
        order: 2;
    }
}

@media (max-width: 860px) {
    body.cxzzt-lottery-screen .cxzzt-lottery-page {
        padding: 24px 0 40px !important;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero,
    body.cxzzt-lottery-screen .cxzzt-lottery-actions,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel,
    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
        border-radius: 24px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero,
    body.cxzzt-lottery-screen .cxzzt-lottery-actions,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel {
        padding-left: 22px;
        padding-right: 22px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
        min-height: 560px;
        padding: 24px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-actions__button {
        display: flex;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-meta__item {
        min-height: 78px;
    }
}

@media (max-width: 640px) {
    body.cxzzt-lottery-screen .cxzzt-lottery-page {
        padding: 18px 0 30px !important;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero {
        gap: 20px;
        padding: 24px 18px 20px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero__title {
        font-size: clamp(32px, 10vw, 44px);
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat,
    body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:nth-child(2),
    body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:nth-child(3),
    body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:nth-child(4) {
        min-height: 0;
        padding: 12px 10px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat strong {
        font-size: 20px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-actions,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel {
        padding: 22px 18px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
        min-height: 460px;
        padding: 16px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-wheel {
        width: min(100%, 390px);
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc {
        border-width: 14px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pill {
        max-width: 80px;
        padding: 6px 8px;
        font-size: 10px;
        white-space: normal;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core {
        inset: 35%;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn {
        font-size: 12px;
        letter-spacing: 0.12em;
        text-indent: 0.12em;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer {
        width: 50px;
        height: 76px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::before {
        width: 38px;
        height: 32px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::after {
        top: 24px;
        border-left-width: 17px;
        border-right-width: 17px;
        border-top-width: 32px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-meta__item {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 14px 16px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-meta__value {
        text-align: left;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-activity__viewport {
        max-height: 132px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-panel--rules,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel--activity {
        grid-column: span 12;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__glow,
    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__light,
    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill {
        animation: none !important;
    }
}

/* Theme variants + backend-driven sector colors */
body.cxzzt-lottery-screen {
    --cxzzt-panel-top: #baa488;
    --cxzzt-panel-mid: #8f775e;
    --cxzzt-panel-bottom: #5d4733;
    --cxzzt-panel-border: rgba(144, 108, 62, 0.42);
    --cxzzt-metal-top: #d3dbe3;
    --cxzzt-metal-mid: #818b97;
    --cxzzt-metal-bottom: #36414c;
    --cxzzt-display-top: #40505d;
    --cxzzt-display-bottom: #1b232b;
    --cxzzt-title-color: #3a2817;
    --cxzzt-copy-muted-2: rgba(58, 40, 23, 0.72);
    --cxzzt-chip-top: rgba(157, 126, 82, 0.92);
    --cxzzt-chip-bottom: rgba(91, 64, 34, 0.96);
    --cxzzt-wheel-bezel-top: #f2dfaf;
    --cxzzt-wheel-bezel-mid: #b88235;
    --cxzzt-wheel-bezel-deep: #724819;
    --cxzzt-wheel-bezel-bottom: #5a3815;
}

body.dark-theme.cxzzt-lottery-screen,
body.theme-dark.cxzzt-lottery-screen,
html.dark body.cxzzt-lottery-screen,
html.theme-dark body.cxzzt-lottery-screen {
    --cxzzt-panel-top: #634b35;
    --cxzzt-panel-mid: #3b2a1d;
    --cxzzt-panel-bottom: #251911;
    --cxzzt-panel-border: rgba(210, 173, 105, 0.34);
    --cxzzt-metal-top: #5c6672;
    --cxzzt-metal-mid: #3a444f;
    --cxzzt-metal-bottom: #161b21;
    --cxzzt-display-top: #243542;
    --cxzzt-display-bottom: #0d151b;
    --cxzzt-title-color: #f5e4c3;
    --cxzzt-copy-muted-2: rgba(241, 228, 201, 0.7);
    --cxzzt-chip-top: rgba(131, 99, 51, 0.95);
    --cxzzt-chip-bottom: rgba(61, 38, 17, 0.96);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero,
body.cxzzt-lottery-screen .cxzzt-lottery-actions,
body.cxzzt-lottery-screen .cxzzt-lottery-panel {
    border-color: var(--cxzzt-panel-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 14%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(135deg, var(--cxzzt-panel-top) 0%, var(--cxzzt-panel-mid) 55%, var(--cxzzt-panel-bottom) 100%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-visual__card,
body.cxzzt-lottery-screen .cxzzt-lottery-meta__item,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__item {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 16%, rgba(0, 0, 0, 0.14) 100%),
        repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.025) 0 4px, rgba(0, 0, 0, 0.03) 4px 8px),
        linear-gradient(145deg, var(--cxzzt-metal-top) 0%, var(--cxzzt-metal-mid) 52%, var(--cxzzt-metal-bottom) 100%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint,
body.cxzzt-lottery-screen .cxzzt-lottery-result {
    background: linear-gradient(180deg, var(--cxzzt-display-top) 0%, var(--cxzzt-display-bottom) 100%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__title,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__title,
body.cxzzt-lottery-screen .cxzzt-lottery-panel__title,
body.cxzzt-lottery-screen .cxzzt-lottery-meta__value,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__name,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__prize {
    color: var(--cxzzt-title-color);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__subtitle,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__description,
body.cxzzt-lottery-screen .cxzzt-lottery-rules li,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__item,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__text,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__time {
    color: var(--cxzzt-copy-muted-2);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__tags span {
    background: linear-gradient(180deg, var(--cxzzt-chip-top) 0%, var(--cxzzt-chip-bottom) 100%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc {
    background:
        radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(0, 0, 0, 0.06) 100%) padding-box,
        var(--wheel-gradient) padding-box,
        linear-gradient(155deg, var(--cxzzt-wheel-bezel-top) 0%, var(--cxzzt-wheel-bezel-mid) 24%, var(--cxzzt-wheel-bezel-deep) 50%, var(--cxzzt-wheel-bezel-bottom) 70%, var(--cxzzt-wheel-bezel-top) 100%) border-box;
    background-blend-mode: screen, soft-light, normal, normal;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        repeating-conic-gradient(
            from -90deg,
            rgba(255, 255, 255, 0.26) 0 0.85deg,
            rgba(255, 255, 255, 0) 0.85deg calc((360deg / var(--prize-count)) - 0.85deg),
            rgba(79, 44, 11, 0.12) calc((360deg / var(--prize-count)) - 0.85deg) calc(360deg / var(--prize-count))
        );
    pointer-events: none;
    opacity: 0.66;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill {
    border-color: var(--cxzzt-current-accent, #d9b46d);
    box-shadow:
        0 0 0 2px var(--cxzzt-current-accent-soft, rgba(217, 180, 109, 0.24)),
        0 0 22px var(--cxzzt-current-accent-soft, rgba(217, 180, 109, 0.24)),
        0 10px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector-fill {
    fill: var(--cxzzt-current-accent-soft, rgba(255, 214, 138, 0.22));
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector-border {
    stroke: var(--cxzzt-current-accent, #ffe4af);
}

body.cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-visual__card,
body.cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-actions {
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.42),
        0 0 40px var(--cxzzt-current-accent-soft, rgba(217, 180, 109, 0.24)),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

body.cxzzt-lottery-screen .cxzzt-lottery-page.has-result-success .cxzzt-lottery-result {
    border-color: var(--cxzzt-current-accent, #d9b46d);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 28px var(--cxzzt-current-accent-soft, rgba(217, 180, 109, 0.24)),
        0 12px 24px rgba(0, 0, 0, 0.16);
}

/* ── Aurora glass · 拟态玻璃 ── */

body.cxzzt-lottery-screen .cxzzt-lottery-page {
    --cxzzt-lottery-text: #1e293b;
    --cxzzt-lottery-muted: #64748b;
    --cxzzt-lottery-primary: #3b82f6;
    --cxzzt-lottery-primary-deep: #2563eb;
    --cxzzt-lottery-accent: #0ea5e9;
    --cxzzt-lottery-success: #10b981;
    --cxzzt-lottery-danger: #ef4444;
    --_glass-bg: rgba(255, 255, 255, 0.72);
    --_glass-border: rgba(226, 232, 240, 0.65);
    --_glass-shadow:
        0 10px 24px rgba(148, 163, 184, 0.1),
        0 2px 6px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -1px 0 rgba(226, 232, 240, 0.5);
    --_glass-shadow-hover:
        0 14px 28px rgba(148, 163, 184, 0.14),
        0 4px 10px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        inset 0 -1px 0 rgba(226, 232, 240, 0.55);
    --_hover-bg: rgba(255, 255, 255, 0.82);
    --_eyebrow-border: rgba(59, 130, 246, 0.2);
    --_eyebrow-bg: rgba(59, 130, 246, 0.08);
    --_eyebrow-color: #3b82f6;
    --_stat-bg: rgba(255, 255, 255, 0.68);
    --_stat-inset: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --_tag-border: rgba(226, 232, 240, 0.5);
    --_tag-bg: rgba(255, 255, 255, 0.5);
    --_hint-bg: rgba(255, 255, 255, 0.5);
    --_hint-border: rgba(226, 232, 240, 0.5);
    --_hint-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 36px !important;
    border-radius: 40px;
    background: transparent;
    box-shadow: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-shell {
    gap: 32px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card,
body.cxzzt-lottery-screen .cxzzt-lottery-actions,
body.cxzzt-lottery-screen .cxzzt-lottery-panel,
body.cxzzt-lottery-screen .cxzzt-lottery-meta__item,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__item {
    border: 1px solid var(--_glass-border);
    background: var(--_glass-bg);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: var(--_glass-shadow);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero,
body.cxzzt-lottery-screen .cxzzt-lottery-actions,
body.cxzzt-lottery-screen .cxzzt-lottery-panel,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
    border-radius: 28px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero {
    padding: 28px 30px;
    margin-bottom: 30px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
    min-height: 540px;
    padding: 30px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions,
body.cxzzt-lottery-screen .cxzzt-lottery-panel {
    padding: 30px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero::before,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card::before,
body.cxzzt-lottery-screen .cxzzt-lottery-actions::before,
body.cxzzt-lottery-screen .cxzzt-lottery-panel::before,
body.cxzzt-lottery-screen .cxzzt-lottery-hero::after,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card::after,
body.cxzzt-lottery-screen .cxzzt-lottery-actions::after,
body.cxzzt-lottery-screen .cxzzt-lottery-panel::after {
    content: none;
    display: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__eyebrow,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__eyebrow {
    border-color: var(--_eyebrow-border);
    background: var(--_eyebrow-bg);
    color: var(--_eyebrow-color);
    box-shadow: var(--_hint-inset);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__title,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__title,
body.cxzzt-lottery-screen .cxzzt-lottery-panel__title,
body.cxzzt-lottery-screen .cxzzt-lottery-meta__value,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__name,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__prize {
    color: var(--cxzzt-lottery-text);
    text-shadow: none;
    filter: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__title {
    margin-top: 16px;
    font-size: clamp(36px, 4vw, 56px);
    letter-spacing: -0.045em;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__subtitle,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__description,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint,
body.cxzzt-lottery-screen .cxzzt-lottery-rules li,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__text,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__time,
body.cxzzt-lottery-screen .cxzzt-lottery-meta__label,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__tags span {
    color: var(--cxzzt-lottery-muted);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__summary {
    gap: 14px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat,
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:nth-child(2),
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:nth-child(3),
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:nth-child(4) {
    min-height: 0;
    padding: 14px 16px;
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 12px;
    background: var(--_stat-bg, rgba(255, 255, 255, 0.72));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat::before,
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat::after {
    display: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.22);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.08);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat strong {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--cxzzt-lottery-text);
    color: var(--cxzzt-lottery-text);
    font-size: clamp(22px, 2.5vw, 30px);
    filter: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat strong em {
    color: var(--cxzzt-lottery-muted);
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat-label {
    color: var(--cxzzt-lottery-muted);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__tags span {
    border: 1px solid var(--_tag-border);
    background: var(--_tag-bg);
    color: var(--cxzzt-lottery-muted);
    box-shadow: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel {
    filter: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__glow,
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__halo {
    display: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc {
    border-color: transparent;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.5) 0%, transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%) padding-box,
        var(--wheel-gradient) padding-box,
        linear-gradient(155deg, #d4dde8 0%, #8eadd4 22%, #5b86c0 50%, #7a9ecc 72%, #d4dde8 100%) border-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 0 0 4px rgba(59, 130, 246, 0.06),
        0 8px 20px rgba(148, 163, 184, 0.14);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc.is-drawing {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 0 0 4px rgba(59, 130, 246, 0.06),
        0 8px 20px rgba(148, 163, 184, 0.14);
    filter: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pill {
    border-color: var(--_tag-border);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #334155;
    box-shadow:
        0 4px 10px rgba(148, 163, 184, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    text-shadow: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.12);
    color: #1e40af;
    box-shadow:
        0 0 0 2px rgba(59, 130, 246, 0.12),
        0 8px 16px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: cxzztLotteryNeonPulse 1.4s ease-in-out infinite;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(203, 213, 225, 0.8) 100%) padding-box,
        linear-gradient(150deg, #d4dde8 0%, #8eadd4 30%, #5b86c0 68%, #d4dde8 100%) border-box;
    box-shadow:
        0 10px 24px rgba(148, 163, 184, 0.16),
        inset 0 6px 12px rgba(255, 255, 255, 0.3),
        inset 0 -4px 10px rgba(148, 163, 184, 0.12);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__button {
    transition:
        transform 0.18s ease,
        box-shadow 0.2s ease,
        filter 0.18s ease,
        border-color 0.18s ease,
        background-position 0.2s ease;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn {
    border: 1px solid rgba(59, 130, 246, 0.3);
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.3) 0%, transparent 32%),
        radial-gradient(circle at 50% 34%, #6b9bd2 0%, #4a7ec0 18%, #2d5fa3 50%, #1e3f7a 78%, #152b54 100%);
    color: #f1f5f9;
    box-shadow:
        0 0 0 2px rgba(59, 130, 246, 0.2),
        0 0 0 8px rgba(59, 130, 246, 0.06),
        0 12px 24px rgba(15, 23, 42, 0.18),
        inset 0 8px 12px rgba(255, 255, 255, 0.14),
        inset 0 -8px 14px rgba(15, 23, 42, 0.2);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-indent: 0.14em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn::before {
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.22), transparent 54%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, transparent 100%);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:hover:not(:disabled),
body.cxzzt-lottery-screen .cxzzt-lottery-actions__button:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:hover:not(:disabled) {
    box-shadow:
        0 0 0 2px rgba(59, 130, 246, 0.28),
        0 0 0 8px rgba(59, 130, 246, 0.1),
        0 16px 28px rgba(15, 23, 42, 0.22),
        inset 0 8px 12px rgba(255, 255, 255, 0.18),
        inset 0 -8px 14px rgba(15, 23, 42, 0.18);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:active:not(:disabled),
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn.is-busy,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__button:active:not(:disabled),
body.cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-busy {
    transform: translateY(2px) scale(0.98);
    filter: brightness(0.96);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:active:not(:disabled),
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn.is-busy {
    box-shadow:
        0 0 0 2px rgba(59, 130, 246, 0.18),
        0 0 0 7px rgba(59, 130, 246, 0.06),
        0 6px 12px rgba(15, 23, 42, 0.16),
        inset 0 8px 12px rgba(15, 23, 42, 0.16),
        inset 0 -4px 8px rgba(255, 255, 255, 0.08);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-draw {
    background: linear-gradient(180deg, #4a7ec0 0%, #2d5fa3 48%, #1e3f7a 100%);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -4px 10px rgba(15, 23, 42, 0.2);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-login {
    border-color: rgba(148, 163, 184, 0.4);
    background: linear-gradient(180deg, #94a3b8 0%, #64748b 48%, #475569 100%);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -4px 10px rgba(15, 23, 42, 0.16);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::before {
    background: linear-gradient(180deg, #d4dde8 0%, #94a3b8 42%, #64748b 100%);
    box-shadow:
        0 8px 16px rgba(148, 163, 184, 0.16),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(100, 116, 139, 0.2);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::after {
    border-top-color: #3b82f6;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.18));
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint,
body.cxzzt-lottery-screen .cxzzt-lottery-result {
    min-height: 56px;
    border: 1px solid var(--_hint-border);
    border-radius: 22px;
    background: var(--_hint-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--_hint-inset);
    color: var(--cxzzt-lottery-muted);
}

body.cxzzt-lottery-screen .cxzzt-lottery-result {
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: var(--cxzzt-lottery-text);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-warning {
    background: rgba(255, 237, 213, 0.6);
    color: #c2410c;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-success,
body.cxzzt-lottery-screen .cxzzt-lottery-result.is-success {
    background: rgba(209, 250, 229, 0.6);
    color: #047857;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-error,
body.cxzzt-lottery-screen .cxzzt-lottery-result.is-error {
    background: rgba(254, 226, 226, 0.6);
    color: #b91c1c;
}

body.cxzzt-lottery-screen .cxzzt-lottery-result.is-info {
    color: #1d4ed8;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__divider {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__rules-title {
    color: var(--cxzzt-lottery-text);
}

body.cxzzt-lottery-screen .cxzzt-lottery-meta {
    gap: 14px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-meta__item {
    min-height: 74px;
    padding: 0 20px;
    border-radius: 22px;
    transition:
        transform 0.18s ease,
        box-shadow 0.2s ease,
        border-color 0.18s ease;
}

body.cxzzt-lottery-screen .cxzzt-lottery-activity__viewport {
    min-height: 62px;
    max-height: 132px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-activity__list {
    gap: 14px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-activity__item {
    min-height: 54px;
    padding: 0 18px;
    border-radius: 20px;
    white-space: nowrap;
    transition:
        transform 0.18s ease,
        box-shadow 0.2s ease,
        border-color 0.18s ease;
}

body.cxzzt-lottery-screen .cxzzt-lottery-activity__dot {
    background: linear-gradient(145deg, #3b82f6 0%, #0ea5e9 100%);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.08);
}

body.cxzzt-lottery-screen .cxzzt-lottery-rules li {
    padding-left: 24px;
}

body.cxzzt-lottery-screen .cxzzt-lottery-rules li::before {
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.15);
    transform: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-meta__item:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__item:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-panel:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-actions:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card:hover {
    transform: translateY(-3px);
    border-color: rgba(203, 213, 225, 0.8);
    background: var(--_hover-bg);
    box-shadow: var(--_glass-shadow-hover);
}

body.cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-visual__card,
body.cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-actions {
    box-shadow:
        0 20px 40px rgba(148, 163, 184, 0.18),
        0 0 24px rgba(59, 130, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

body.cxzzt-lottery-screen .cxzzt-lottery-page.has-result-success .cxzzt-lottery-result {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow:
        var(--_hint-inset),
        inset 0 0 16px rgba(59, 130, 246, 0.06),
        0 8px 20px rgba(148, 163, 184, 0.1);
}

/* ── Dark variant · Deep Space Glass ── */

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page {
    --cxzzt-lottery-text: #e8edf8;
    --cxzzt-lottery-muted: #7a8ba8;
    --cxzzt-lottery-primary: #6d9fff;
    --cxzzt-lottery-primary-deep: #5888f0;
    --cxzzt-lottery-accent: #5cc8e8;
    --cxzzt-lottery-success: #4ad8a4;
    --cxzzt-lottery-danger: #f06b6b;
    --_glass-bg: rgba(8, 14, 35, 0.72);
    --_glass-border: rgba(80, 130, 220, 0.15);
    --_glass-shadow:
        0 16px 40px rgba(0, 2, 12, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(130, 170, 255, 0.07),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    --_glass-shadow-hover:
        0 22px 50px rgba(0, 2, 12, 0.6),
        0 4px 14px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(109, 159, 255, 0.06),
        inset 0 1px 0 rgba(130, 170, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.22);
    --_hover-bg: rgba(12, 20, 44, 0.78);
    --_eyebrow-border: rgba(109, 159, 255, 0.22);
    --_eyebrow-bg: rgba(109, 159, 255, 0.1);
    --_eyebrow-color: #8bb4ff;
    --_stat-bg: rgba(8, 16, 40, 0.65);
    --_stat-inset: inset 0 1px 0 rgba(130, 170, 255, 0.05);
    --_tag-border: rgba(80, 130, 220, 0.12);
    --_tag-bg: rgba(8, 16, 40, 0.58);
    --_hint-bg: rgba(6, 12, 32, 0.8);
    --_hint-border: rgba(80, 130, 220, 0.1);
    --_hint-inset: inset 0 1px 0 rgba(130, 170, 255, 0.04);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-hero__stat,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat {
    border-color: rgba(109, 159, 255, 0.12);
    background: rgba(10, 18, 40, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-hero__stat:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:hover {
    border-color: rgba(109, 159, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-hero__stat strong,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat strong {
    color: #e2e8f0;
    -webkit-text-fill-color: #e2e8f0;
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-hero__stat strong em,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-hero__stat-label,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat strong em,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat-label {
    color: rgba(160, 185, 230, 0.5);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-wheel__disc,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc {
    background:
        radial-gradient(circle at 50% 22%, rgba(130, 170, 255, 0.06) 0%, transparent 22%),
        linear-gradient(180deg, rgba(130, 170, 255, 0.04) 0%, transparent 100%) padding-box,
        var(--wheel-gradient) padding-box,
        linear-gradient(155deg, #2e3a54 0%, #243048 22%, #1a2640 50%, #22304a 72%, #2e3a54 100%) border-box;
    box-shadow:
        inset 0 1px 0 rgba(130, 170, 255, 0.08),
        inset 0 0 0 4px rgba(109, 159, 255, 0.05),
        0 16px 40px rgba(0, 2, 12, 0.55),
        0 0 24px rgba(109, 159, 255, 0.05);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-wheel__disc.is-drawing,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-wheel__disc.is-drawing {
    box-shadow:
        inset 0 1px 0 rgba(130, 170, 255, 0.1),
        inset 0 0 0 4px rgba(109, 159, 255, 0.06),
        0 16px 40px rgba(0, 2, 12, 0.55),
        0 0 32px rgba(109, 159, 255, 0.1);
    filter: none;
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-wheel__pill,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pill {
    border-color: rgba(80, 130, 220, 0.14);
    background: rgba(8, 14, 35, 0.75);
    color: #bfc9de;
    box-shadow:
        0 4px 14px rgba(0, 2, 12, 0.45),
        inset 0 1px 0 rgba(130, 170, 255, 0.05);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill {
    border-color: rgba(109, 159, 255, 0.3);
    background: rgba(109, 159, 255, 0.16);
    color: #a3c4ff;
    box-shadow:
        0 0 0 2px rgba(109, 159, 255, 0.12),
        0 0 18px rgba(109, 159, 255, 0.14),
        0 8px 20px rgba(0, 2, 12, 0.35),
        inset 0 1px 0 rgba(130, 170, 255, 0.1);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-wheel__core,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core {
    background:
        linear-gradient(180deg, rgba(130, 170, 255, 0.05) 0%, rgba(8, 14, 35, 0.85) 100%) padding-box,
        linear-gradient(150deg, #2e3a54 0%, #243048 30%, #1a2640 68%, #2e3a54 100%) border-box;
    box-shadow:
        0 16px 36px rgba(0, 2, 12, 0.55),
        inset 0 6px 14px rgba(130, 170, 255, 0.05),
        inset 0 -4px 12px rgba(0, 0, 0, 0.3);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn {
    border-color: rgba(109, 159, 255, 0.28);
    background:
        radial-gradient(circle at 50% 18%, rgba(130, 170, 255, 0.2) 0%, transparent 32%),
        radial-gradient(circle at 50% 34%, #3a5588 0%, #2c4676 18%, #1e3565 50%, #142852 78%, #0c1c3e 100%);
    box-shadow:
        0 0 0 2px rgba(109, 159, 255, 0.2),
        0 0 0 8px rgba(109, 159, 255, 0.06),
        0 14px 30px rgba(0, 2, 12, 0.5),
        0 0 22px rgba(109, 159, 255, 0.08),
        inset 0 8px 14px rgba(130, 170, 255, 0.1),
        inset 0 -8px 16px rgba(0, 0, 0, 0.3);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:hover:not(:disabled),
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:hover:not(:disabled) {
    box-shadow:
        0 0 0 2px rgba(109, 159, 255, 0.28),
        0 0 0 8px rgba(109, 159, 255, 0.1),
        0 18px 38px rgba(0, 2, 12, 0.55),
        0 0 30px rgba(109, 159, 255, 0.12),
        inset 0 8px 14px rgba(130, 170, 255, 0.12),
        inset 0 -8px 16px rgba(0, 0, 0, 0.28);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::before,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::before {
    background: linear-gradient(180deg, #4a5872 0%, #34465e 42%, #222e48 100%);
    box-shadow:
        0 8px 20px rgba(0, 2, 12, 0.5),
        inset 0 2px 0 rgba(130, 170, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::after,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-wheel__pointer::after {
    border-top-color: #6d9fff;
    filter: drop-shadow(0 5px 12px rgba(109, 159, 255, 0.3));
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-draw,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-draw {
    background: linear-gradient(180deg, #2c4676 0%, #1e3565 48%, #142852 100%);
    box-shadow:
        0 14px 32px rgba(0, 2, 12, 0.45),
        0 0 16px rgba(109, 159, 255, 0.06),
        inset 0 1px 0 rgba(130, 170, 255, 0.1),
        inset 0 -4px 12px rgba(0, 0, 0, 0.25);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-login,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-actions__button.is-login {
    border-color: rgba(80, 130, 220, 0.24);
    background: linear-gradient(180deg, #3a4a68 0%, #2a3a56 48%, #1e2e48 100%);
    box-shadow:
        0 14px 32px rgba(0, 2, 12, 0.4),
        inset 0 1px 0 rgba(130, 170, 255, 0.08),
        inset 0 -4px 12px rgba(0, 0, 0, 0.2);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-warning,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-success,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-result.is-success,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-success,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-result.is-success {
    background: rgba(74, 216, 164, 0.1);
    color: #4ad8a4;
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-error,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-result.is-error,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint.is-error,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-result.is-error {
    background: rgba(240, 107, 107, 0.1);
    color: #f06b6b;
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-result.is-info,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-result.is-info {
    color: #8bb4ff;
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-activity__dot,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-activity__dot {
    background: linear-gradient(145deg, #6d9fff 0%, #5cc8e8 100%);
    box-shadow: 0 0 0 4px rgba(109, 159, 255, 0.08), 0 0 12px rgba(109, 159, 255, 0.1);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-rules li::before,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-rules li::before {
    background: linear-gradient(145deg, #6d9fff 0%, #5888f0 100%);
    box-shadow: 0 0 10px rgba(109, 159, 255, 0.18);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-actions__divider,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-actions__divider {
    background: linear-gradient(90deg, transparent, rgba(109, 159, 255, 0.16), transparent);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-actions__rules-title,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-actions__rules-title {
    color: #e2e8f0;
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-meta__item:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-activity__item:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-panel:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-actions:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-visual__card:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-meta__item:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-activity__item:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-panel:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-actions:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-visual__card:hover {
    border-color: rgba(80, 130, 220, 0.22);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-visual__card,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-actions,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-visual__card,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-actions {
    box-shadow:
        0 28px 60px rgba(0, 2, 12, 0.55),
        0 0 44px rgba(109, 159, 255, 0.14),
        inset 0 1px 0 rgba(130, 170, 255, 0.1);
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page.has-result-success .cxzzt-lottery-result,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page.has-result-success .cxzzt-lottery-result {
    border-color: rgba(109, 159, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(130, 170, 255, 0.05),
        inset 0 0 28px rgba(109, 159, 255, 0.1),
        0 14px 32px rgba(0, 2, 12, 0.35);
}

/* ── Aurora responsive ── */

@media (max-width: 1180px) {
    body.cxzzt-lottery-screen .cxzzt-lottery-page {
        padding: 28px !important;
        border-radius: 32px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero,
    body.cxzzt-lottery-screen .cxzzt-lottery-actions,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel,
    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    body.cxzzt-lottery-screen .cxzzt-lottery-page {
        padding: 18px !important;
        border-radius: 24px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero {
        padding: 20px 22px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
        min-height: 420px;
        padding: 22px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-actions,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel {
        padding: 22px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero,
    body.cxzzt-lottery-screen .cxzzt-lottery-actions,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel,
    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
        border-radius: 20px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-shell {
        gap: 24px;
    }
}

@media (max-width: 640px) {
    body.cxzzt-lottery-screen .cxzzt-lottery-page {
        padding: 12px !important;
        border-radius: 18px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero {
        padding: 16px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
        min-height: 360px;
        padding: 16px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-actions,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel {
        padding: 16px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero,
    body.cxzzt-lottery-screen .cxzzt-lottery-actions,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel,
    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card {
        border-radius: 16px;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-shell {
        gap: 18px;
    }
}

/* ── Cursor-tracking background interaction ── */
.cxzzt-lottery-cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(88, 225, 255, 0.12) 0%,
        rgba(69, 134, 255, 0.08) 28%,
        rgba(140, 80, 255, 0.04) 52%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    will-change: transform;
    transition: opacity 0.8s ease;
    mix-blend-mode: screen;
}

.cxzzt-lottery-cursor-glow.is-active {
    opacity: 1;
}

/* Card 3D tilt driven by --tilt-x / --tilt-y */
body.cxzzt-lottery-screen .cxzzt-lottery-actions.cxzzt-tilt-ready,
body.cxzzt-lottery-screen .cxzzt-lottery-panel.cxzzt-tilt-ready {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    transform: perspective(800px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transition: transform 0.35s cubic-bezier(0.22, 0.68, 0, 1.1);
}

/* Card surface highlight following pointer */
.cxzzt-lottery-card-highlight {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        280px at var(--highlight-x, 50%) var(--highlight-y, 50%),
        rgba(88, 225, 255, 0.08) 0%,
        rgba(69, 134, 255, 0.03) 45%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions:hover .cxzzt-lottery-card-highlight,
body.cxzzt-lottery-screen .cxzzt-lottery-panel:hover .cxzzt-lottery-card-highlight {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════
   签到功能样式
   ═══════════════════════════════════════════════════ */

/* ── Hero 扩展：上下布局 + 4 stat 满宽 ── */
.cxzzt-lottery-hero--extended {
    flex-direction: column !important;
    align-items: stretch !important;
}

.cxzzt-lottery-hero--extended .cxzzt-lottery-hero__summary {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px;
}

.cxzzt-lottery-hero__stat:nth-child(4) {
    --_card-from: #dcfce7;
    --_card-to: #bbf7d0;
    --_card-border: rgba(34, 197, 94, 0.5);
    --_card-accent: #16a34a;
    --_card-glow: rgba(34, 197, 94, 0.25);
    --_card-shine: rgba(134, 239, 172, 0.45);
}

/* ── 底部面板：三等分 + 播报全宽 ── */
.cxzzt-lottery-panels.has-checkin {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--calendar {
    grid-column: span 4;
    order: 1;
}

.cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--rules {
    grid-column: span 4;
    order: 2;
}

.cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--leaderboard {
    grid-column: span 4;
    order: 3;
}

.cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--activity {
    grid-column: 1 / -1;
    order: 4;
}

/* ── dark theme 第 4 stat ── */
body.dark-theme .cxzzt-lottery-page .cxzzt-lottery-hero__stat:nth-child(4),
body.theme-dark .cxzzt-lottery-page .cxzzt-lottery-hero__stat:nth-child(4),
html.dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat:nth-child(4),
html.theme-dark body .cxzzt-lottery-page .cxzzt-lottery-hero__stat:nth-child(4) {
    --_card-from: rgba(10, 48, 24, 0.88);
    --_card-to: rgba(6, 36, 16, 0.82);
    --_card-glow: rgba(34, 197, 94, 0.16);
    --_card-accent: #22c55e;
    --_card-border: rgba(34, 197, 94, 0.3);
    --_card-shine: rgba(74, 222, 128, 0.18);
}

.cxzzt-lottery-page .cxzzt-lottery-hero__stat:nth-child(4) {
    --_card-accent: #d4a23a;
}

/* 侧栏容器 */
.cxzzt-lottery-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* ── 签到卡 ── */
.cxzzt-checkin-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    border: 1px solid var(--cxzzt-lottery-border, rgba(212, 162, 58, 0.15));
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(180, 130, 40, 0.05);
    overflow: hidden;
    animation: cxzztLotteryReveal 0.6s ease both;
    animation-delay: 0.04s;
}

.cxzzt-checkin-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cxzzt-checkin-card__label {
    font-size: 16px;
    font-weight: 800;
    color: var(--cxzzt-lottery-text, #1a1a2e);
    letter-spacing: -0.02em;
}

.cxzzt-checkin-card__label .fa {
    margin-right: 6px;
    color: #3b82f6;
}

.cxzzt-checkin-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    white-space: nowrap;
}

.cxzzt-checkin-card__btn:hover:not(.is-done) {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.cxzzt-checkin-card__btn.is-done {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    cursor: default;
    opacity: 0.85;
}

.cxzzt-checkin-card__btn.is-loading {
    pointer-events: none;
    opacity: 0.6;
}

.cxzzt-checkin-card__reward {
    font-size: 12px;
    color: var(--cxzzt-lottery-muted, #6b7280);
    line-height: 1.5;
}

/* ── 连签进度 ── */
.cxzzt-checkin-streak {
    display: flex;
    gap: 4px;
}

.cxzzt-checkin-streak__day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 2px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
    transition: background 0.2s;
}

.cxzzt-checkin-streak__day.is-done {
    background: rgba(16, 185, 129, 0.08);
}

.cxzzt-checkin-streak__icon {
    font-size: 14px;
    line-height: 1;
    color: #d1d5db;
}

.cxzzt-checkin-streak__day.is-done .cxzzt-checkin-streak__icon {
    color: #10b981;
}

.cxzzt-checkin-streak__num {
    font-size: 10px;
    font-weight: 700;
    color: var(--cxzzt-lottery-muted, #6b7280);
    white-space: nowrap;
}

.cxzzt-checkin-streak__pts {
    font-size: 9px;
    font-weight: 700;
    color: #f59e0b;
    white-space: nowrap;
}

/* ── 签到日历面板 ── */
.cxzzt-lottery-panel--calendar {
    grid-column: span 4;
}

.cxzzt-lottery-panel--leaderboard {
    grid-column: span 3;
}

.cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--rules {
    grid-column: span 5;
}

.cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--activity {
    grid-column: 1 / -1;
}

.cxzzt-lottery-panel__badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 10px;
    margin-left: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(180, 195, 220, 0.7);
    font-size: 11px;
    font-weight: 700;
    vertical-align: middle;
}

.cxzzt-checkin-calendar__head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
}

.cxzzt-checkin-calendar__head span {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--cxzzt-lottery-muted, #6b7280);
    padding: 4px 0;
}

.cxzzt-checkin-calendar__body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cxzzt-checkin-calendar__body span {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cxzzt-lottery-text, #1a1a2e);
    transition: background 0.15s;
}

.cxzzt-checkin-calendar__body span.is-empty {
    visibility: hidden;
}

.cxzzt-checkin-calendar__day.is-checked {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    font-weight: 800;
}

.cxzzt-checkin-calendar__day.is-today {
    outline: 2px solid rgba(99, 140, 220, 0.6);
    outline-offset: -2px;
    border-radius: 6px;
}

.cxzzt-checkin-calendar__day.is-checked.is-today {
    outline-color: #34d399;
}

.cxzzt-checkin-calendar__day.is-milestone {
    position: relative;
}
.cxzzt-checkin-calendar__day.is-milestone::after {
    content: '🎁';
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 10px;
    line-height: 1;
    pointer-events: none;
}
.cxzzt-checkin-calendar__day.is-milestone.is-checked::after {
    content: '✅';
}

/* ── 里程碑奖励弹窗 ── */
.cxzzt-milestone-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.cxzzt-milestone-popup {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px 24px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: cxzzt-ms-pop 0.35s ease;
}
@keyframes cxzzt-ms-pop {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cxzzt-milestone-popup__header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}
.cxzzt-milestone-popup__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.cxzzt-milestone-popup__item {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 10px;
    padding: 14px 16px;
}
.cxzzt-milestone-popup__label {
    font-size: 12px;
    color: #92400e;
    font-weight: 600;
    margin-bottom: 4px;
}
.cxzzt-milestone-popup__reward {
    font-size: 18px;
    font-weight: 700;
    color: #b45309;
}
.cxzzt-milestone-popup__detail {
    font-size: 13px;
    color: #78350f;
    margin-top: 4px;
    opacity: 0.85;
}
.cxzzt-milestone-popup__close {
    display: inline-block;
    padding: 10px 36px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.cxzzt-milestone-popup__close:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* 暗色模式适配 */
:is(body.dark-theme, body.theme-dark) .cxzzt-milestone-popup,
:is(html.dark, html.theme-dark) body .cxzzt-milestone-popup {
    background: #1e293b;
}
:is(body.dark-theme, body.theme-dark) .cxzzt-milestone-popup__header,
:is(html.dark, html.theme-dark) body .cxzzt-milestone-popup__header {
    color: #f1f5f9;
}
:is(body.dark-theme, body.theme-dark) .cxzzt-milestone-popup__item,
:is(html.dark, html.theme-dark) body .cxzzt-milestone-popup__item {
    background: linear-gradient(135deg, #422006 0%, #78350f 100%);
}
:is(body.dark-theme, body.theme-dark) .cxzzt-milestone-popup__label,
:is(html.dark, html.theme-dark) body .cxzzt-milestone-popup__label {
    color: #fbbf24;
}
:is(body.dark-theme, body.theme-dark) .cxzzt-milestone-popup__reward,
:is(html.dark, html.theme-dark) body .cxzzt-milestone-popup__reward {
    color: #fde68a;
}
:is(body.dark-theme, body.theme-dark) .cxzzt-milestone-popup__detail,
:is(html.dark, html.theme-dark) body .cxzzt-milestone-popup__detail {
    color: #fcd34d;
}

/* ── 签到排行榜面板 ── */
.cxzzt-checkin-board {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cxzzt-checkin-board__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background 0.15s;
}

.cxzzt-checkin-board__row:hover {
    background: rgba(0, 0, 0, 0.02);
}

.cxzzt-checkin-board__rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 11px;
    font-weight: 800;
    color: var(--cxzzt-lottery-muted, #6b7280);
    flex-shrink: 0;
}

.cxzzt-checkin-board__rank.is-top {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
}

.cxzzt-checkin-board__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cxzzt-checkin-board__name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--cxzzt-lottery-text, #1a1a2e);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cxzzt-checkin-board__days {
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    white-space: nowrap;
}

/* ── 签到响应式 ── */
@media (max-width: 1180px) {
    .cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--calendar {
        grid-column: span 6;
    }

    .cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--rules {
        grid-column: span 6;
    }

    .cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--leaderboard,
    .cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--activity {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .cxzzt-checkin-card {
        padding: 16px;
        border-radius: 0;
    }

    .cxzzt-checkin-streak__day {
        padding: 4px 1px;
    }

    .cxzzt-checkin-streak__num {
        font-size: 9px;
    }

    .cxzzt-lottery-hero--extended .cxzzt-lottery-hero__summary {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--calendar,
    .cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--rules,
    .cxzzt-lottery-panels.has-checkin .cxzzt-lottery-panel--leaderboard {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .cxzzt-checkin-card {
        gap: 10px;
        padding: 14px;
    }

    .cxzzt-checkin-card__label {
        font-size: 14px;
    }

    .cxzzt-checkin-card__btn {
        min-height: 32px;
        padding: 0 14px;
        font-size: 12px;
    }

    .cxzzt-checkin-streak {
        gap: 2px;
    }

    .cxzzt-checkin-streak__icon {
        font-size: 12px;
    }

    .cxzzt-lottery-hero--extended .cxzzt-lottery-hero__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }
}

/* ── console 主题签到卡适配 ── */
body.cxzzt-lottery-screen .cxzzt-checkin-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(22, 28, 38, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

body.cxzzt-lottery-screen .cxzzt-checkin-card::before {
    display: none;
}

body.cxzzt-lottery-screen .cxzzt-checkin-card__label {
    color: #e2e8f0;
}

body.cxzzt-lottery-screen .cxzzt-checkin-card__label .fa {
    color: rgba(148, 175, 220, 0.7);
}

body.cxzzt-lottery-screen .cxzzt-checkin-card__btn {
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

body.cxzzt-lottery-screen .cxzzt-checkin-card__btn:hover:not(.is-done) {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

body.cxzzt-lottery-screen .cxzzt-checkin-card__btn.is-done {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    opacity: 0.9;
}

body.cxzzt-lottery-screen .cxzzt-checkin-card__reward {
    color: rgba(160, 180, 210, 0.65);
}

body.cxzzt-lottery-screen .cxzzt-checkin-streak__day {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

body.cxzzt-lottery-screen .cxzzt-checkin-streak__day.is-done {
    background: rgba(16, 185, 129, 0.12);
}

body.cxzzt-lottery-screen .cxzzt-checkin-streak__icon {
    color: rgba(160, 180, 210, 0.3);
}

body.cxzzt-lottery-screen .cxzzt-checkin-streak__day.is-done .cxzzt-checkin-streak__icon {
    color: #34d399;
}

body.cxzzt-lottery-screen .cxzzt-checkin-streak__num {
    color: rgba(160, 180, 210, 0.5);
}

body.cxzzt-lottery-screen .cxzzt-checkin-calendar__day {
    color: var(--cxzzt-lottery-text);
}

body.cxzzt-lottery-screen .cxzzt-checkin-calendar__day.is-checked {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
}

body.cxzzt-lottery-screen .cxzzt-checkin-board__row:hover {
    background: rgba(255, 255, 255, 0.04);
}

body.cxzzt-lottery-screen .cxzzt-checkin-board__rank {
    background: rgba(255, 255, 255, 0.06);
    color: var(--cxzzt-lottery-muted);
}

body.cxzzt-lottery-screen .cxzzt-checkin-board__name {
    color: var(--cxzzt-lottery-text);
}

body.cxzzt-lottery-screen .cxzzt-checkin-board__days {
    color: #fbbf24;
}

body.cxzzt-lottery-screen .cxzzt-lottery-panel__badge {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

/* Touch-only devices: disable glow & tilt */
@media (pointer: coarse) {
    .cxzzt-lottery-cursor-glow {
        display: none !important;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-actions.cxzzt-tilt-ready,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel.cxzzt-tilt-ready {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cxzzt-lottery-cursor-glow {
        display: none !important;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-actions.cxzzt-tilt-ready,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel.cxzzt-tilt-ready {
        transform: none !important;
        transition: none !important;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-meta__item:hover,
    body.cxzzt-lottery-screen .cxzzt-lottery-activity__item:hover,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel:hover,
    body.cxzzt-lottery-screen .cxzzt-lottery-actions:hover,
    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card:hover {
        transform: none !important;
        transition: none !important;
    }

    body.cxzzt-lottery-screen .cxzzt-lottery-hero::before,
    body.cxzzt-lottery-screen .cxzzt-lottery-visual__card::before,
    body.cxzzt-lottery-screen .cxzzt-lottery-actions::before,
    body.cxzzt-lottery-screen .cxzzt-lottery-panel::before,
    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__sector.is-active .cxzzt-lottery-wheel__pill {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════
   签到 Tab 系统
   ═══════════════════════════════════════════════════ */

/* ── Tab 容器 ── */
.cxzzt-checkin-tabs {
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(22, 28, 38, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ── Tab 导航栏 ── */
.cxzzt-checkin-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cxzzt-checkin-tabs__nav::-webkit-scrollbar {
    display: none;
}

.cxzzt-checkin-tabs__btn {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(180, 195, 220, 0.5);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.cxzzt-checkin-tabs__btn:hover {
    color: rgba(210, 225, 245, 0.85);
    background: rgba(255, 255, 255, 0.05);
}

.cxzzt-checkin-tabs__btn.is-active {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* ── Tab 内容区 ── */
.cxzzt-checkin-tabs__body {
    padding: 20px;
    height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.cxzzt-checkin-tabs__body::-webkit-scrollbar {
    width: 4px;
}

.cxzzt-checkin-tabs__body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

.cxzzt-checkin-tabs__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 60px 20px;
    color: rgba(160, 180, 210, 0.45);
    font-size: 13px;
}

/* ── 空状态 ── */
.cxzzt-checkin-empty {
    text-align: center;
    padding: 50px 20px;
    color: rgba(160, 180, 210, 0.4);
    font-size: 13px;
}

/* ── 通用表格 ── */
.cxzzt-checkin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.cxzzt-checkin-table thead th {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: rgba(160, 180, 210, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cxzzt-checkin-table tbody tr {
    transition: background 0.15s;
}

.cxzzt-checkin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cxzzt-checkin-table tbody tr.is-active {
    background: rgba(255, 255, 255, 0.05);
}

.cxzzt-checkin-table tbody td {
    padding: 7px 12px;
    color: rgba(180, 195, 220, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cxzzt-checkin-table__pts {
    color: #fbbf24 !important;
    font-weight: 700;
}

/* ── 排名徽章 ── */
.cxzzt-checkin-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: rgba(160, 180, 210, 0.5);
    background: rgba(255, 255, 255, 0.04);
}

.cxzzt-checkin-rank.is-top {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* ── 用户行 ── */
.cxzzt-checkin-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cxzzt-checkin-user__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cxzzt-checkin-user__name {
    font-weight: 500;
    color: rgba(200, 215, 235, 0.8);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── 分页 ── */
.cxzzt-checkin-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cxzzt-checkin-pager__info {
    font-size: 12px;
    color: rgba(160, 180, 210, 0.4);
}

.cxzzt-checkin-pager__btns {
    display: flex;
    gap: 8px;
}

.cxzzt-checkin-pager__btn {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.cxzzt-checkin-pager__btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ── 用户摘要卡（居中顶部） ── */
.cxzzt-checkin-user-summary {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 16px 20px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cxzzt-checkin-user-summary__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cxzzt-checkin-user-summary__item strong {
    font-size: 20px;
    color: #e2e8f0;
}

.cxzzt-checkin-user-summary__item span {
    font-size: 11px;
    color: rgba(160, 180, 210, 0.5);
}

/* ── 记录+日历左右排布 ── */
.cxzzt-checkin-records-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cxzzt-checkin-records-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 16px;
    align-items: start;
    flex: 1;
    min-height: 0;
}

.cxzzt-checkin-records-grid__table {
    position: relative;
    min-width: 0;
    align-self: stretch;
}

.cxzzt-checkin-records-grid__scroll {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.cxzzt-checkin-records-grid__scroll::-webkit-scrollbar {
    width: 4px;
}

.cxzzt-checkin-records-grid__scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

.cxzzt-checkin-records-grid__calendar {
    min-width: 0;
}

/* ── 紧凑表格 ── */
.cxzzt-checkin-table--compact {
    font-size: 12px;
}

.cxzzt-checkin-table--compact thead th {
    padding: 8px 10px;
    font-size: 11px;
}

.cxzzt-checkin-table--compact tbody td {
    padding: 7px 10px;
}

/* ── 迷你日历 ── */
.cxzzt-checkin-mini-calendar {
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cxzzt-checkin-mini-calendar__title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(180, 195, 220, 0.7);
    margin-bottom: 10px;
}

.cxzzt-checkin-mini-calendar__badge {
    font-size: 11px;
    color: #fbbf24;
    font-weight: 700;
    margin-left: 6px;
}

/* ── 状态徽章 ── */
.cxzzt-checkin-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(160, 180, 210, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.cxzzt-checkin-badge.is-done {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.cxzzt-checkin-badge.is-current {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* ── 等级进度条 ── */
.cxzzt-checkin-levels__current {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    color: rgba(180, 195, 220, 0.7);
}

.cxzzt-checkin-levels__current strong {
    color: #e2e8f0;
}

.cxzzt-checkin-levels__bar {
    margin-top: 10px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.cxzzt-checkin-levels__fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    transition: width 0.6s ease;
}

/* ── 全勤奖励 ── */
.cxzzt-checkin-attendance__section {
    margin-bottom: 24px;
}

.cxzzt-checkin-attendance__section h4 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(200, 215, 235, 0.8);
    margin: 0 0 12px;
}

.cxzzt-checkin-attendance__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.cxzzt-checkin-attendance__day {
    padding: 12px 6px;
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s, background 0.2s;
}

.cxzzt-checkin-attendance__day.is-done {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
}

.cxzzt-checkin-attendance__day-num {
    font-size: 12px;
    font-weight: 700;
    color: rgba(180, 195, 220, 0.6);
    margin-bottom: 4px;
}

.cxzzt-checkin-attendance__day-pts {
    font-size: 11px;
    color: #fbbf24;
    font-weight: 600;
}

.cxzzt-checkin-attendance__day-check {
    margin-top: 4px;
    color: #22c55e;
    font-size: 14px;
}

.cxzzt-checkin-attendance__rules {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cxzzt-checkin-attendance__rules li {
    padding: 6px 0;
    color: rgba(180, 195, 220, 0.6);
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cxzzt-checkin-attendance__rules li strong {
    color: #e2e8f0;
}

/* ── 打卡规则内容 ── */
.cxzzt-checkin-rules-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.cxzzt-checkin-rules-col {
    flex: 1;
    min-width: 0;
}
@media (max-width: 768px) {
    .cxzzt-checkin-rules-row {
        flex-direction: column;
    }
}

.cxzzt-checkin-rules-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(200, 215, 235, 0.8);
    margin: 0 0 10px;
}

.cxzzt-checkin-rules-content h4 + h4 {
    margin-top: 24px;
}

.cxzzt-checkin-rules-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.cxzzt-checkin-rules-list li {
    position: relative;
    padding: 6px 0 6px 18px;
    color: rgba(180, 195, 220, 0.6);
    font-size: 13px;
}

.cxzzt-checkin-rules-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(148, 175, 220, 0.6);
}

.cxzzt-checkin-rules-list li strong {
    color: #e2e8f0;
}

/* ── Tab 响应式 ── */
@media (max-width: 768px) {
    .cxzzt-checkin-tabs__nav {
        flex-wrap: nowrap;
    }

    .cxzzt-checkin-tabs__btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    .cxzzt-checkin-tabs__body {
        padding: 14px;
    }

    .cxzzt-checkin-user-summary {
        gap: 20px;
    }

    .cxzzt-checkin-records-grid {
        grid-template-columns: 1fr;
    }

    .cxzzt-checkin-records-grid__calendar {
        order: -1;
    }

    .cxzzt-checkin-attendance__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cxzzt-checkin-table {
        font-size: 12px;
    }

    .cxzzt-checkin-table thead th,
    .cxzzt-checkin-table tbody td {
        padding: 8px 8px;
    }

    .cxzzt-checkin-user__name {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .cxzzt-checkin-tabs__btn {
        padding: 8px 10px;
        font-size: 11px;
    }

    .cxzzt-checkin-attendance__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cxzzt-checkin-user-summary__stats {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ══════════════════════════════════════════════════════
   全局覆盖：去圆角 + 去交互
   ══════════════════════════════════════════════════════ */

/* ── 去圆角 ── */

body.cxzzt-lottery-screen .cxzzt-lottery-page,
body.cxzzt-lottery-screen .cxzzt-lottery-hero,
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat,
body.cxzzt-lottery-screen .cxzzt-lottery-hero__eyebrow,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card,
body.cxzzt-lottery-screen .cxzzt-lottery-actions,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__eyebrow,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__hint,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__button,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__button::before,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__button::after,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__tags span,
body.cxzzt-lottery-screen .cxzzt-lottery-result,
body.cxzzt-lottery-screen .cxzzt-lottery-meta__item,
body.cxzzt-lottery-screen .cxzzt-lottery-panel,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__item,
body.cxzzt-lottery-screen .cxzzt-checkin-card,
body.cxzzt-lottery-screen .cxzzt-checkin-card__btn,
body.cxzzt-lottery-screen .cxzzt-checkin-tabs,
body.cxzzt-lottery-screen .cxzzt-checkin-tabs__btn {
    border-radius: 0 !important;
}

/* ── 去交互：transition / hover / tilt / highlight ── */

body.cxzzt-lottery-screen .cxzzt-lottery-hero,
body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card,
body.cxzzt-lottery-screen .cxzzt-lottery-actions,
body.cxzzt-lottery-screen .cxzzt-lottery-actions__button,
body.cxzzt-lottery-screen .cxzzt-lottery-meta__item,
body.cxzzt-lottery-screen .cxzzt-lottery-panel,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__item {
    transition: none !important;
}

body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-visual__card:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-actions:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-meta__item:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-panel:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-activity__item:hover {
    transform: none !important;
    box-shadow: var(--_glass-shadow) !important;
    border-color: var(--_glass-border) !important;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions__button:hover:not(:disabled),
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__core-btn:hover:not(:disabled) {
    transform: none !important;
    filter: none !important;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions.cxzzt-tilt-ready,
body.cxzzt-lottery-screen .cxzzt-lottery-panel.cxzzt-tilt-ready {
    transform: none !important;
}

body.cxzzt-lottery-screen .cxzzt-lottery-actions:hover .cxzzt-lottery-card-highlight,
body.cxzzt-lottery-screen .cxzzt-lottery-panel:hover .cxzzt-lottery-card-highlight {
    opacity: 0 !important;
}

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-hero__stat:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-visual__card:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-actions:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-meta__item:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-panel:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-activity__item:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-hero__stat:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-visual__card:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-actions:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-meta__item:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-panel:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-activity__item:hover {
    transform: none !important;
    border-color: inherit !important;
}

/* ══ Gothic 主题签到适配（高于 console 基础样式） ══ */

/* ── 转盘：移除白色卡片背景 ── */
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-visual__card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-shell {
    align-items: start;
}

/* ── 浅色 Gothic：签到卡 ── */
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card {
    border: 1px solid var(--cxzzt-lottery-border, rgba(255,255,255,0.46));
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 8px 24px rgba(100,128,174,0.1), inset 0 1px 0 rgba(255,255,255,0.6);
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card::before { display: none; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__label { color: var(--cxzzt-lottery-text, #17304d); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__label .fa { color: #3b82f6; opacity: 1; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__btn { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 12px rgba(16,185,129,0.25); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__reward { color: var(--cxzzt-lottery-muted, rgba(42,67,102,0.76)); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__day { background: rgba(0,0,0,0.03); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__day.is-done { background: rgba(16,185,129,0.1); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__icon { color: #d1d5db; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__day.is-done .cxzzt-checkin-streak__icon { color: #10b981; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__num { color: var(--cxzzt-lottery-muted); }

/* ── 浅色 Gothic：Tab 系统 ── */
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs {
    border: 1px solid var(--cxzzt-lottery-border, rgba(255,255,255,0.46));
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__nav { background: rgba(0,0,0,0.03); border-bottom-color: rgba(0,0,0,0.06); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__btn { color: var(--cxzzt-lottery-muted); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__btn:hover { color: var(--cxzzt-lottery-text); background: rgba(0,0,0,0.03); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__btn.is-active { color: var(--cxzzt-lottery-text); background: rgba(0,0,0,0.05); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__loading,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-empty { color: var(--cxzzt-lottery-muted); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table thead th { color: var(--cxzzt-lottery-muted); border-bottom-color: rgba(0,0,0,0.06); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table tbody td { color: var(--cxzzt-lottery-text); border-bottom-color: rgba(0,0,0,0.04); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table tbody tr:hover { background: rgba(0,0,0,0.02); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table__pts { color: #d97706 !important; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rank { color: var(--cxzzt-lottery-muted); background: rgba(0,0,0,0.04); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rank.is-top { color: #fff; background: linear-gradient(135deg, #3b82f6, #6366f1); box-shadow: 0 2px 8px rgba(59,130,246,0.3); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user__name { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user__avatar { border-color: rgba(0,0,0,0.08); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-pager__info { color: var(--cxzzt-lottery-muted); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-pager__btn { border-color: rgba(0,0,0,0.1); background: rgba(0,0,0,0.03); color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-pager__btn:hover { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.15); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user-summary { background: rgba(255,255,255,0.4); border-color: rgba(0,0,0,0.06); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user-summary__item strong { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user-summary__item span { color: var(--cxzzt-lottery-muted); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-mini-calendar { background: rgba(255,255,255,0.4); border-color: rgba(0,0,0,0.06); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-mini-calendar__title { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-badge { color: var(--cxzzt-lottery-muted); background: rgba(0,0,0,0.04); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-badge.is-current { color: var(--cxzzt-lottery-text); background: rgba(59,130,246,0.08); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-levels__current { background: rgba(255,255,255,0.4); border-color: rgba(0,0,0,0.06); color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-levels__current strong { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-levels__fill { background: linear-gradient(90deg, #3b82f6, #6366f1); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__section h4 { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__day-num { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__day-pts { color: #d97706; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__rules li { color: var(--cxzzt-lottery-muted); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__rules li strong { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-content h4 { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-list li { color: var(--cxzzt-lottery-muted); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-list li::before { color: #3b82f6; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-list li strong { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel__badge { background: rgba(59,130,246,0.1); color: #3b82f6; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-calendar__day { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-calendar__day.is-today { outline-color: #3b82f6; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-calendar__day.is-checked { color: #059669; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-board__name { color: var(--cxzzt-lottery-text); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-board__days { color: #d97706; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-board__rank { color: var(--cxzzt-lottery-muted); background: rgba(0,0,0,0.04); }

/* ── 浅色 Gothic：抽奖操作卡 + 面板 ── */
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel {
    border: 1px solid var(--cxzzt-lottery-border, rgba(255,255,255,0.46));
    border-radius: 0;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 20px 50px rgba(100,128,174,0.12), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ── Gothic：操作卡紧凑化 ── */
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions {
    gap: 10px;
    padding: 18px 20px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__eyebrow {
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__title {
    margin: 4px 0 2px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.2;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta {
    gap: 8px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta--inline {
    gap: 6px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta--inline .cxzzt-lottery-meta__item {
    min-height: 52px;
    padding: 8px 6px;
    gap: 2px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta--inline .cxzzt-lottery-meta__label {
    font-size: 9px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta--inline .cxzzt-lottery-meta__value {
    font-size: 13px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__hint {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.5;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-result {
    min-height: 20px;
    font-size: 13px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__divider {
    margin: 2px 0 0;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__rules {
    gap: 6px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__rules-title {
    font-size: 13px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__rules .cxzzt-lottery-rules li {
    font-size: 12px;
    line-height: 1.6;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__button {
    min-height: 44px;
    font-size: 14px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__button.is-draw {
    min-height: 46px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__tags span {
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions::before,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel::before {
    background: linear-gradient(155deg, rgba(255,255,255,0.36), rgba(255,255,255,0));
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions::after,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel::after { content: none; display: none; }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-hero__eyebrow,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__eyebrow {
    background: rgba(255,255,255,0.38);
    border-color: rgba(137,222,255,0.34);
    color: #0d5e88;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.56);
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-hero__title,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__title,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel__title,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta__value { color: var(--cxzzt-lottery-text, #17304d); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__description,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__hint,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-rules li,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta__label { color: var(--cxzzt-lottery-muted, rgba(42,67,102,0.76)); }
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta__item,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__tags span {
    border-color: rgba(255,255,255,0.38);
    background: rgba(255,255,255,0.38);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.52);
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__hint {
    background: rgba(255,255,255,0.3);
    border-color: rgba(0,0,0,0.06);
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions:hover,
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel:hover {
    transform: none !important;
    background: rgba(255,255,255,0.56);
}
body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-rules li::before { color: #3b82f6; }

/* ── 暗色 Gothic：抽奖操作卡 + 面板 ── */
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel {
    border-color: var(--cxzzt-lottery-border, rgba(139,176,255,0.12));
    background: rgba(10, 18, 36, 0.58);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 24px 56px rgba(3,8,20,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions::before,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel::before,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions::before,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel::before {
    background: linear-gradient(155deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
    opacity: 0.5;
}
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-hero__eyebrow,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__eyebrow,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-hero__eyebrow,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__eyebrow {
    background: rgba(10,22,46,0.72);
    border-color: rgba(88,225,255,0.22);
    color: #8be7ff;
    box-shadow: inset 0 0 24px rgba(88,225,255,0.08);
}
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-hero__title,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__title,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel__title,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta__value,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-hero__title,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__title,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel__title,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta__value { color: var(--cxzzt-lottery-text, #f3f7ff); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__description,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__hint,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-rules li,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta__label,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__description,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__hint,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-rules li,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta__label { color: var(--cxzzt-lottery-muted, rgba(201,219,255,0.76)); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta__item,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__tags span,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-meta__item,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__tags span {
    border-color: rgba(255,255,255,0.08);
    background: rgba(15,27,52,0.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__hint,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions__hint {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
}
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions:hover,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-actions:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel:hover {
    transform: none !important;
    background: rgba(10,18,36,0.68);
}
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-rules li::before,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-rules li::before { color: #60a5fa; }

/* ── 3. 暗色 Gothic 主题：签到卡 + Tab ── */
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card {
    border-color: var(--cxzzt-lottery-border, rgba(139,176,255,0.12));
    background: rgba(10, 18, 36, 0.58);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 8px 24px rgba(3,8,20,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
}
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__label,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__label { color: var(--cxzzt-lottery-text, #f3f7ff); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__label .fa,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__label .fa { color: #60a5fa; opacity: 0.8; }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__reward,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-card__reward { color: var(--cxzzt-lottery-muted, rgba(201,219,255,0.76)); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__day,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__day { background: rgba(255,255,255,0.04); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__day.is-done,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__day.is-done { background: rgba(16,185,129,0.12); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__icon,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__icon { color: rgba(148,163,184,0.4); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__day.is-done .cxzzt-checkin-streak__icon,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__day.is-done .cxzzt-checkin-streak__icon { color: #34d399; }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__num,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-streak__num { color: var(--cxzzt-lottery-muted); }

:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs {
    border-color: var(--cxzzt-lottery-border, rgba(139,176,255,0.12));
    background: rgba(10, 18, 36, 0.58);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__nav,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__nav { background: rgba(0,0,0,0.2); border-bottom-color: rgba(255,255,255,0.04); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__btn,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__btn { color: var(--cxzzt-lottery-muted); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__btn:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__btn:hover { color: var(--cxzzt-lottery-text); background: rgba(255,255,255,0.05); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__btn.is-active,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__btn.is-active { color: var(--cxzzt-lottery-text); background: rgba(255,255,255,0.08); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__loading,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-tabs__loading,
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-empty,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-empty { color: var(--cxzzt-lottery-muted); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table thead th,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table thead th { color: var(--cxzzt-lottery-muted); border-bottom-color: rgba(255,255,255,0.06); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table tbody td,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table tbody td { color: var(--cxzzt-lottery-text); border-bottom-color: rgba(255,255,255,0.03); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table tbody tr:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-table tbody tr:hover { background: rgba(255,255,255,0.03); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rank,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rank { color: var(--cxzzt-lottery-muted); background: rgba(255,255,255,0.04); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user__name,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user__name { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user__avatar,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user__avatar { border-color: rgba(255,255,255,0.08); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-pager__info,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-pager__info { color: var(--cxzzt-lottery-muted); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-pager__btn,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-pager__btn { border-color: rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-pager__btn:hover,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-pager__btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user-summary,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user-summary { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user-summary__item strong,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user-summary__item strong { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user-summary__item span,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-user-summary__item span { color: var(--cxzzt-lottery-muted); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-mini-calendar,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-mini-calendar { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-mini-calendar__title,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-mini-calendar__title { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-badge,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-badge { color: var(--cxzzt-lottery-muted); background: rgba(255,255,255,0.04); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-badge.is-current,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-badge.is-current { color: var(--cxzzt-lottery-text); background: rgba(59,130,246,0.1); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-levels__current,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-levels__current { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__section h4,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__section h4 { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__day-num,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__day-num { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__rules li,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__rules li { color: var(--cxzzt-lottery-muted); border-bottom-color: rgba(255,255,255,0.03); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__rules li strong,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-attendance__rules li strong { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-content h4,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-content h4 { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-list li,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-list li { color: var(--cxzzt-lottery-muted); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-list li::before,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-list li::before { color: #60a5fa; }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-list li strong,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-rules-list li strong { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-calendar__day,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-calendar__day { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-calendar__day.is-today,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-calendar__day.is-today { outline-color: #60a5fa; }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-calendar__day.is-checked,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-calendar__day.is-checked { color: #34d399; }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-board__name,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-board__name { color: var(--cxzzt-lottery-text); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-board__rank,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-checkin-board__rank { color: var(--cxzzt-lottery-muted); background: rgba(255,255,255,0.04); }
:is(body.dark-theme, body.theme-dark).cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel__badge,
:is(html.dark, html.theme-dark) body.cxzzt-lottery-screen .cxzzt-lottery-page .cxzzt-lottery-panel__badge { background: rgba(96,165,250,0.1); color: #60a5fa; }

/* ═══════════════════════════════════════════════════════════
   方案 A · 游戏化沉浸式补丁
   · 顶部横向中奖播报
   · 紧凑战绩卡
   · 奖池三档分类（头奖 / 稀有 / 常规）
   · 复用现有 .cxzzt-lottery-panel / .cxzzt-lottery-activity__* 容器
   ═══════════════════════════════════════════════════════════ */

/* ---- 滚动播报（横向） ---- */
.cxzzt-lottery-panel--marquee {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.cxzzt-lottery-marquee__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #ffb55f 0%, #ff7b42 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 127, 66, 0.28);
    white-space: nowrap;
}

.cxzzt-lottery-activity__viewport--horizontal {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 36px;
    max-height: 40px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.cxzzt-lottery-activity__list--marquee {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 34px;
    width: max-content;
    white-space: nowrap;
}

.cxzzt-lottery-activity__list--marquee.is-animated {
    animation: cxzztLotteryMarqueeX var(--cxzzt-scroll-duration, 30s) linear infinite;
}

.cxzzt-lottery-activity__list--marquee .cxzzt-lottery-activity__item {
    flex-shrink: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
}

.cxzzt-lottery-activity__list--marquee .cxzzt-lottery-activity__item--empty {
    color: var(--cxzzt-lottery-muted, #98a2b3);
    font-size: 13px;
}

@keyframes cxzztLotteryMarqueeX {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---- 紧凑战绩卡 ---- */
.cxzzt-lottery-panel--stats {
    padding: 14px 16px;
    margin-bottom: 14px;
}

.cxzzt-lottery-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    text-align: center;
}

.cxzzt-lottery-stats__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cxzzt-lottery-stats__item strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #ff9f45 0%, #ff5470 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ff7f32;
    font-variant-numeric: tabular-nums;
}

.cxzzt-lottery-stats__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--cxzzt-lottery-muted, #6b7280);
    letter-spacing: 0.02em;
}

/* 未登录占位态：保留高度，淡化数字避免误导 */
.cxzzt-lottery-panel--stats.is-guest .cxzzt-lottery-stats__item strong {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--cxzzt-lottery-muted, #9ca3af);
    opacity: 0.55;
}

/* ---- 奖池 + 规则 双 Panel ---- */
.cxzzt-lottery-panels--pool {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.cxzzt-lottery-panels--pool .cxzzt-lottery-panel--pool,
.cxzzt-lottery-panels--pool .cxzzt-lottery-panel--rules {
    grid-column: auto;
}

.cxzzt-lottery-panel__title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cxzzt-lottery-panel__title .fa {
    color: var(--cxzzt-lottery-primary, #ff9f45);
}

.cxzzt-lottery-panel__meta {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: var(--cxzzt-lottery-muted, #6b7280);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- 奖池三档 ---- */
.cxzzt-lottery-pool__tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.cxzzt-lottery-pool__tier {
    --tier-accent: #d4a23a;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--tier-accent) 12%, #fff) 0%, #fff 70%);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cxzzt-lottery-pool__tier:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--tier-accent) 40%, transparent);
}

.cxzzt-lottery-pool__tier--grand {
    background:
        radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, #ffd76a 55%, transparent) 0%, transparent 60%),
        linear-gradient(180deg, #fffaf0 0%, #fff 80%);
    border-color: rgba(212, 162, 58, 0.28);
    box-shadow: 0 6px 18px -8px rgba(212, 162, 58, 0.35);
}

.cxzzt-lottery-pool__tier-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.cxzzt-lottery-pool__tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--tier-accent, #d4a23a);
    box-shadow: 0 2px 6px -1px color-mix(in srgb, var(--tier-accent) 50%, transparent);
    white-space: nowrap;
}

.cxzzt-lottery-pool__tier-prob {
    font-size: 11px;
    font-weight: 700;
    color: var(--cxzzt-lottery-muted, #6b7280);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cxzzt-lottery-pool__list {
    display: grid;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cxzzt-lottery-pool__item {
    --prize-accent: #4586ff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cxzzt-lottery-pool__item:hover {
    transform: translateX(2px);
    border-color: color-mix(in srgb, var(--prize-accent) 40%, transparent);
    box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--prize-accent) 28%, transparent);
}

.cxzzt-lottery-pool__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f4f6fa;
    display: grid;
    place-items: center;
}

.cxzzt-lottery-pool__icon--placeholder {
    color: #fff;
    font-size: 13px;
    background: linear-gradient(135deg, var(--prize-accent, #ff9f45) 0%, color-mix(in srgb, var(--prize-accent, #ff9f45) 60%, #000) 100%);
}

.cxzzt-lottery-pool__label {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--cxzzt-lottery-text, #132238);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cxzzt-lottery-pool__prob {
    font-size: 11px;
    font-weight: 800;
    color: var(--cxzzt-lottery-muted, #6b7280);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* ---- 规则 Panel：覆盖默认 rules 样式 ---- */
.cxzzt-lottery-panel--rules .cxzzt-lottery-rules,
.cxzzt-lottery-panel--rules ul {
    margin: 0;
    padding-left: 20px;
    color: var(--cxzzt-lottery-muted, #6b7280);
    font-size: 13px;
    line-height: 1.85;
}

.cxzzt-lottery-panel--rules li {
    margin-bottom: 4px;
}

/* ---- 响应式 ---- */
@media (max-width: 900px) {
    .cxzzt-lottery-panels--pool {
        grid-template-columns: 1fr;
    }

    .cxzzt-lottery-panel--marquee {
        padding: 10px 14px;
    }

    .cxzzt-lottery-marquee__label {
        font-size: 11px;
        padding: 5px 10px;
    }

    .cxzzt-lottery-pool__tiers {
        grid-template-columns: 1fr;
    }

    .cxzzt-lottery-stats__item strong {
        font-size: 18px;
    }
}

/* ---- 降级：旧浏览器不支持 color-mix ---- */
@supports not (color: color-mix(in srgb, #000, #fff)) {
    .cxzzt-lottery-pool__tier {
        background: #fffaf0;
    }
    .cxzzt-lottery-pool__tier:hover {
        box-shadow: 0 8px 20px rgba(212, 162, 58, 0.16);
    }
    .cxzzt-lottery-pool__icon--placeholder {
        background: var(--prize-accent, #ff9f45);
    }
}

/* ═══════════════════════════════════════════════════════════
   中奖瞬间重构 · 聚光灯 + 中心奖品台 + 烟火粒子 + 流光结果条
   ═══════════════════════════════════════════════════════════ */

/* ---- 1. 中心奖品展示台 ---- */
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-stage {
    --cxzzt-stage-accent: #ffb42f;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 8;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.4) rotate(-18deg);
    transform-origin: center center;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
        rgba(255, 255, 255, 0.92) 0%,
        color-mix(in srgb, var(--cxzzt-stage-accent) 22%, #fff) 55%,
        rgba(255, 255, 255, 0) 78%);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--cxzzt-stage-accent) 35%, transparent),
        0 10px 32px color-mix(in srgb, var(--cxzzt-stage-accent) 35%, transparent);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-stage.is-revealed {
    animation: cxzztLotteryPrizeStageIn 0.72s cubic-bezier(0.16, 0.88, 0.3, 1.25) forwards;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-eyebrow {
    position: absolute;
    left: 50%;
    top: 14%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--cxzzt-stage-accent);
    text-shadow: 0 0 10px color-mix(in srgb, var(--cxzzt-stage-accent) 55%, transparent);
    white-space: nowrap;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%,
        #fff 0%,
        color-mix(in srgb, var(--cxzzt-stage-accent) 78%, #fff) 55%,
        var(--cxzzt-stage-accent) 100%);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--cxzzt-stage-accent) 48%, transparent),
        0 0 22px color-mix(in srgb, var(--cxzzt-stage-accent) 60%, transparent),
        inset 0 2px 3px rgba(255, 255, 255, 0.55);
    color: #fff;
    font-size: 19px;
    overflow: hidden;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-icon img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    border-radius: 50%;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-label {
    position: absolute;
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 92%;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    color: #b05a00;
    background: linear-gradient(135deg,
        var(--cxzzt-stage-accent) 0%,
        color-mix(in srgb, var(--cxzzt-stage-accent) 45%, #fff) 50%,
        var(--cxzzt-stage-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: cxzztLotteryLabelShine 2.4s linear infinite;
}

/* Miss 态覆盖（温和灰蓝，避免喧宾夺主但清晰可见） */
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-stage.is-miss {
    background: radial-gradient(circle at 50% 50%,
        rgba(244, 248, 253, 0.96) 0%,
        rgba(204, 218, 233, 0.72) 55%,
        rgba(255, 255, 255, 0) 78%);
    box-shadow:
        0 0 0 2px rgba(122, 136, 153, 0.28),
        0 8px 22px rgba(122, 136, 153, 0.26);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-stage.is-miss .cxzzt-lottery-wheel__prize-icon {
    background: radial-gradient(circle at 35% 30%, #d4dae3 0%, #96a3b4 60%, #7a8899 100%);
    box-shadow:
        0 0 0 2px rgba(122, 136, 153, 0.45),
        0 4px 14px rgba(122, 136, 153, 0.42),
        inset 0 2px 3px rgba(255, 255, 255, 0.35);
    color: #fff;
    animation: cxzztLotteryLeafFloat 2.2s ease-in-out infinite;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-stage.is-miss .cxzzt-lottery-wheel__prize-eyebrow {
    color: #64748b;
    text-shadow: none;
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-stage.is-miss .cxzzt-lottery-wheel__prize-label {
    display: block;
    -webkit-line-clamp: initial;
    line-clamp: initial;
    -webkit-box-orient: initial;
    white-space: nowrap;
    max-width: 95%;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #475466;
    font-size: 13px;
    animation: none;
    text-shadow: none;
}

/* 中奖/谢谢参与态下淡出 GO 按钮，让出空间给奖品台 */
body.cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-wheel__core-btn,
body.cxzzt-lottery-screen .cxzzt-lottery-page.is-soft-celebrating .cxzzt-lottery-wheel__core-btn {
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

/* ---- 2. 扇区聚焦：非命中 pill 降亮降饱和 ---- */
body.cxzzt-lottery-screen .cxzzt-lottery-page.is-celebrating .cxzzt-lottery-wheel__sector:not(.is-active) .cxzzt-lottery-wheel__pill {
    opacity: 0.32;
    filter: grayscale(0.65) brightness(0.88);
    transition: opacity 0.35s ease, filter 0.35s ease;
}

/* Miss 态：整盘轻微降饱和 */
body.cxzzt-lottery-screen .cxzzt-lottery-page.is-soft-celebrating .cxzzt-lottery-wheel__disc {
    filter: saturate(0.5) brightness(0.9);
    transition: filter 0.4s ease;
}

/* ---- 3. 烟火粒子升级（覆盖默认 __spark 尺寸/颜色） ---- */
body.cxzzt-lottery-screen .cxzzt-lottery-wheel__spark {
    width: var(--spark-size, 6px);
    height: var(--spark-size, 6px);
    border-radius: 50%;
    background: var(--spark-color, #ffd76a);
    box-shadow: 0 0 10px var(--spark-color, #ffd76a);
    animation: cxzztLotteryConfetti 1.6s cubic-bezier(0.18, 0.72, 0.35, 1) forwards;
    animation-delay: var(--spark-delay, 0ms);
}

body.cxzzt-lottery-screen .cxzzt-lottery-wheel__spark.is-miss {
    box-shadow: none;
    animation: cxzztLotteryConfettiMiss 1.1s ease-out forwards;
    animation-delay: var(--spark-delay, 0ms);
}

/* ---- 4. 结果条流光升级（success 态） ---- */
body.cxzzt-lottery-screen .cxzzt-lottery-result.is-success {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(90deg,
            color-mix(in srgb, #ffd76a 18%, transparent) 0%,
            color-mix(in srgb, #ff9f45 32%, transparent) 50%,
            color-mix(in srgb, #ffd76a 18%, transparent) 100%);
    background-size: 220% 100%;
    animation: cxzztLotteryResultShine 3s linear infinite;
}

body.cxzzt-lottery-screen .cxzzt-lottery-result.is-success::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 100%);
    animation: cxzztLotteryResultSweep 2.6s ease-in-out infinite;
    pointer-events: none;
}

/* ---- 5. Keyframes ---- */
@keyframes cxzztLotteryPrizeStageIn {
    0% {
        opacity: 0;
        transform: scale(0.4) rotate(-18deg);
    }
    45% {
        opacity: 1;
        transform: scale(1.12) rotate(6deg);
    }
    72% {
        transform: scale(0.96) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes cxzztLotteryLabelShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes cxzztLotteryLeafFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); }
    50% { transform: translate(-50%, calc(-50% - 3px)) rotate(6deg); }
}

@keyframes cxzztLotteryConfetti {
    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            rotate(var(--spark-angle, 0deg))
            translateY(0) translateX(0)
            rotate(var(--spark-rotate, 0deg));
    }
    15% { opacity: 1; }
    60% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            rotate(var(--spark-angle, 0deg))
            translateY(calc(-1 * var(--spark-distance, 120px)))
            translateX(var(--spark-drift, 0px))
            rotate(var(--spark-rotate, 0deg));
    }
    100% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            rotate(var(--spark-angle, 0deg))
            translateY(calc(-0.4 * var(--spark-distance, 120px)))
            translateX(calc(var(--spark-drift, 0px) * 1.8))
            rotate(calc(var(--spark-rotate, 0deg) * 1.6));
    }
}

@keyframes cxzztLotteryConfettiMiss {
    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            rotate(var(--spark-angle, 0deg))
            translateY(0);
    }
    25% { opacity: 1; }
    100% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            rotate(var(--spark-angle, 0deg))
            translateY(calc(-1 * var(--spark-distance, 60px)));
    }
}

@keyframes cxzztLotteryResultShine {
    0% { background-position: 0% center; }
    100% { background-position: 220% center; }
}

@keyframes cxzztLotteryResultSweep {
    0% { left: -60%; }
    100% { left: 160%; }
}

/* ---- 6. 降级：旧浏览器不支持 color-mix ---- */
@supports not (color: color-mix(in srgb, #000, #fff)) {
    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-stage {
        background: radial-gradient(circle at 50% 45%,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 228, 170, 0.5) 55%,
            transparent 78%);
        box-shadow: 0 10px 28px rgba(255, 180, 47, 0.32);
    }
    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-icon {
        background: var(--cxzzt-stage-accent, #ffb42f);
    }
    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-label {
        background: none;
        -webkit-text-fill-color: currentColor;
        color: var(--cxzzt-stage-accent, #c17400);
    }
    body.cxzzt-lottery-screen .cxzzt-lottery-result.is-success {
        background-image: linear-gradient(90deg,
            rgba(255, 215, 106, 0.18) 0%,
            rgba(255, 159, 69, 0.32) 50%,
            rgba(255, 215, 106, 0.18) 100%);
    }
}

/* ---- 7. prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-stage.is-revealed {
        animation: none;
        opacity: 1;
        transform: scale(1);
    }
    body.cxzzt-lottery-screen .cxzzt-lottery-wheel__prize-label,
    body.cxzzt-lottery-screen .cxzzt-lottery-result.is-success {
        animation: none !important;
    }
    body.cxzzt-lottery-screen .cxzzt-lottery-result.is-success::before {
        display: none;
    }
}
