/* 宿主页面无缝扭蛋图层样式 (单文件严格控制在 300 行内) */
.gash-layer-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
}

.gash-layer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.gash-layer-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 92vh;
    max-height: 720px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(220, 38, 38, 0.2);
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.gash-layer-overlay.active .gash-layer-container {
    transform: scale(1);
}

.gash-layer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.2s;
}

.gash-layer-close:hover {
    background: rgba(220, 38, 38, 0.85);
    border-color: rgba(239, 68, 68, 0.8);
    transform: scale(1.08);
}

.gash-layer-close:active {
    transform: scale(0.92);
}

.gash-seamless-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    display: block;
}
