.sky-rtp-box,
.sky-rtp-box * {
    box-sizing: border-box;
}

.sky-rtp-box {
    max-width: 900px;
    margin: 40px auto;
    padding: 44px 52px;
    border-radius: 36px;
    background:
        radial-gradient(circle at top left, rgba(58, 210, 255, 0.22), transparent 32%),
        radial-gradient(circle at bottom right, rgba(39, 115, 255, 0.20), transparent 34%),
        linear-gradient(145deg, #061529, #102744 55%, #07182d);
    border: 1px solid rgba(133, 218, 255, 0.42);
    box-shadow:
        0 0 35px rgba(0, 150, 255, 0.25),
        0 18px 55px rgba(0, 0, 0, 0.35),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    font-family: "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.sky-rtp-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.10), transparent),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 0,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 52px
        );
    transform: translateX(-100%);
    animation: skyLight 5.2s infinite;
    pointer-events: none;
    z-index: -1;
}

.sky-rtp-box::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 28px;
    border: 1px solid rgba(120, 210, 255, 0.13);
    pointer-events: none;
}

@keyframes skyLight {
    0% { transform: translateX(-100%); opacity: 0; }
    12% { opacity: 1; }
    55% { transform: translateX(120%); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

.sky-rtp-orb {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(72, 206, 255, 0.13);
    filter: blur(2px);
    z-index: -2;
}

.sky-rtp-orb-1 {
    top: -88px;
    right: 80px;
}

.sky-rtp-orb-2 {
    bottom: -110px;
    left: 30px;
    background: rgba(255, 255, 255, 0.08);
}

.sky-rtp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 44px;
    position: relative;
    z-index: 2;
}

.sky-rtp-title-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sky-live-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #34c8ff;
    box-shadow:
        0 0 16px #34c8ff,
        0 0 36px rgba(52, 200, 255, 0.8);
    animation: skyPulse 1.4s infinite;
    flex: 0 0 auto;
}

@keyframes skyPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: .72; }
}

.sky-rtp-eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    color: rgba(196, 238, 255, 0.72);
    font-weight: 700;
    margin-bottom: 6px;
}

.sky-rtp-header h2 {
    margin: 0;
    font-size: 36px;
    letter-spacing: 4px;
    color: #53d5ff;
    text-shadow: 0 0 16px rgba(83, 213, 255, 0.55);
    font-weight: 900;
    line-height: 1.1;
}

.sky-rtp-status {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(91, 228, 255, 0.45);
    color: #b9f4ff;
    background: rgba(28, 190, 255, 0.10);
    box-shadow: 0 0 16px rgba(91, 228, 255, 0.18);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.sky-rtp-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.sky-rtp-item {
    padding: 22px 24px 18px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
    border: 1px solid rgba(141, 223, 255, 0.20);
    box-shadow: inset 0 0 18px rgba(255,255,255,.035);
}

.sky-rtp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.sky-game-name {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,.18);
    line-height: 1.2;
}

.sky-rtp-value {
    font-size: 38px;
    font-weight: 900;
    color: #5be4ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    text-shadow: 0 0 18px rgba(91, 228, 255, 0.55);
    white-space: nowrap;
    transition: transform .25s ease;
}

.sky-rtp-value.is-updating {
    transform: scale(1.06);
}

.sky-progress {
    height: 15px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.42);
    box-shadow:
        inset 0 0 8px rgba(0,0,0,.8),
        0 0 10px rgba(80, 190, 255, .25);
}

.sky-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2cbcff, #ffffff, #63d8ff);
    box-shadow: 0 0 14px rgba(92, 210, 255, .75);
    transition: width .8s ease;
    position: relative;
}

.sky-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
    animation: skyBarLight 2.2s infinite;
}

@keyframes skyBarLight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(120%); }
}

.sky-rtp-meta,
.sky-rtp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(220, 247, 255, .68);
}

.sky-rtp-meta {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 1px;
}

.sky-rtp-footer {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(120, 210, 255, 0.15);
    font-size: 13px;
    position: relative;
    z-index: 2;
}

.sky-rtp-time {
    color: #7fe8ff;
    font-weight: 800;
}

@media (max-width: 768px) {
    .sky-rtp-box {
        margin: 22px 12px;
        padding: 30px 20px;
        border-radius: 28px;
    }

    .sky-rtp-box::after {
        inset: 10px;
        border-radius: 22px;
    }

    .sky-rtp-header {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 30px;
    }

    .sky-rtp-title-wrap {
        gap: 13px;
    }

    .sky-rtp-eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .sky-rtp-header h2 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .sky-live-dot {
        width: 18px;
        height: 18px;
    }

    .sky-rtp-list {
        gap: 20px;
    }

    .sky-rtp-item {
        padding: 18px 16px 15px;
        border-radius: 20px;
    }

    .sky-rtp-row {
        gap: 12px;
        margin-bottom: 12px;
    }

    .sky-game-name {
        font-size: 20px;
    }

    .sky-rtp-value {
        font-size: 26px;
    }

    .sky-progress {
        height: 12px;
    }

    .sky-rtp-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}