/* ===== 购彩大厅 (.lb-*) ===== */

#lobbyPage {
    margin-top: -44px;
    background: #f2f3f5;
    min-height: calc(100vh - 70px);
}

#lobbyPage[hidden] { display: none; }

.lb-topbar {
    height: 54px;
    background: #ff4941;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.lb-title {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}

.lb-list {
    padding: 10px 12px 24px;
}

.lb-group {
    margin-bottom: 10px;
}

.lb-main {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 18px 16px;
    display: grid;
    grid-template-columns: 56px 1fr 32px;
    gap: 14px;
    align-items: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.lb-main::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.lb-main::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -50px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.lb-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.lb-text {
    position: relative;
    z-index: 1;
}

.lb-name {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
}

.lb-sub {
    font-size: 13px;
    opacity: 0.88;
}

.lb-toggle {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #fff;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.lb-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.lb-group.expanded .lb-toggle svg {
    transform: rotate(180deg);
}

.lb-sub-card {
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    animation: lbSlideDown 0.2s ease both;
}

.lb-sub-card[hidden] {
    display: none;
}

.lb-sub-card:active {
    background: #f8f8f8;
}

@keyframes lbSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.lb-sub-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 auto;
}

.lb-sub-text {
    flex: 1;
}

.lb-sub-game-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.lb-sub-meta {
    font-size: 12px;
    color: #999;
}
