.notice-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.notice-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 320px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice-modal-header {
    position: relative;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.notice-modal-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.notice-modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notice-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.notice-modal-title {
    font-size: 16px;
    color: #2196F3;
    font-weight: bold;
    margin-bottom: 15px;
}

.notice-modal-text {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.notice-modal-signature {
    text-align: right;
    color: #2196F3;
    font-size: 14px;
    margin-bottom: 5px;
}

.notice-modal-time {
    text-align: right;
    color: #999;
    font-size: 12px;
}

.notice-modal-footer {
    padding: 15px 20px 20px;
    border-top: 1px solid #f0f0f0;
}

.notice-modal-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.notice-modal-btn:active {
    opacity: 0.8;
}


.notice-bar {
    cursor: pointer;
    transition: background 0.3s;
}

.notice-bar:active {
    background: rgba(33, 150, 243, 0.1);
}
#pgPage {
    background: #f5f7fa;
    min-height: 100vh;
}
.pg-fusion-card {
    background: #fff;
    margin: -15px 0 0 0;
    border-radius: 0 0 16px 16px;
    padding: 18px 15px 15px 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.pg-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.pg-back-btn {
    color: #4080ff;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    background: rgba(64,128,255,0.1);
    padding: 6px 12px;
    border-radius: 4px;
}
.pg-back-btn::before {
    content: "←";
    font-size: 16px;
}
.pg-address {
    font-size: 13px;
    font-weight: 600;
    color: #4080ff;
    padding: 6px 12px;
}
.pg-tab-wrap {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.pg-tab-wrap::-webkit-scrollbar { display: none; }
.pg-tab {
    padding: 10px 18px;
    white-space: nowrap;
    border-radius: 20px;
    background: #f5f7fa;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
}
.pg-tab.active {
    background: linear-gradient(135deg, #4080ff 0%, #667eea 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(64,128,255,0.3);
}
.pg-tab:not(.active):hover {
    background: #e8f0fe;
    color: #4080ff;
}
.pg-search-box {
    position: relative;
    margin-bottom: 15px;
}
.pg-search-box::before {
    content: "🔍";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.6;
}
.pg-search-input {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 22px;
    padding: 0 15px 0 40px;
    font-size: 14px;
    background: #f5f7fa;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}
.pg-search-input:focus {
    background: #e8f0fe;
    box-shadow: 0 0 0 2px rgba(64,128,255,0.2);
}
.pg-game-list {
    padding: 15px 15px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.pg-game-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease;
}
.pg-game-card:active {
    transform: scale(0.98);
}
.pg-game-img {
    width: 100%;
    aspect-ratio: 330/210;
    object-fit: cover;
    background: #f5f7fa;
    display: block;
}
.pg-game-name {
    padding: 12px 8px;
    font-size: 13px;
    color: #333;
    text-align: center;
    font-weight: 500;
}
.pg-recommend-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4444 100%);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}
.pg-load-status {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 14px;
}
