/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft Yahei", sans-serif;
    color: #ffffff;
    position: relative;
    background: linear-gradient(180deg, #051028 0%, #0a1f45 100%);
    overflow-x: hidden;
}

/* ===== 公共星空粒子 ===== */
.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}
.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== 公共流星效果 ===== */
.meteor {
    position: fixed;
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    transform: rotate(-30deg);
    animation: meteor 4s linear infinite;
    opacity: 0;
    z-index: 1;
}
.meteor:nth-child(1) { top: 10%; right: 10%; animation-delay: 0s; }
.meteor:nth-child(2) { top: 25%; right: 5%; animation-delay: 1.5s; }
.meteor:nth-child(3) { top: 5%; right: 30%; animation-delay: 3s; }
@keyframes meteor {
    0% { opacity: 0; transform: rotate(-30deg) translateY(-100px); }
    10% { opacity: 1; }
    100% { opacity: 0; transform: rotate(-30deg) translateY(600px); }
}

/* ===== 鼠标拖尾粒子 ===== */
.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}
.trail-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(45, 140, 240, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: trailFade 1.3s ease-out forwards;
}
@keyframes trailFade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0) translateY(-20px); }
}

/* ===== 公共渐变按钮 ===== */
.gradient-btn {
    padding: 14px 48px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(45, 140, 240, 0.4);
}
.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45, 140, 240, 0.55);
    filter: brightness(1.1);
}
.gradient-btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #00d084, #00b894);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.4);
}
.btn-primary:hover {
    box-shadow: 0 10px 28px rgba(0, 208, 132, 0.55);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}
.btn-secondary:hover {
    box-shadow: 0 10px 28px rgba(255, 107, 107, 0.55);
}

/* ===== 首页样式 ===== */
.index-page {
    overflow-x: hidden;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(0,10,30,0.2) 0%, rgba(0,5,20,0.75) 100%),
        url('ikun_online.jpg') center center / cover no-repeat;
}

.index-container {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px 60px;
    gap: 24px;
}

.title-wrap {
    margin-bottom: 10px;
}

.earth-logo {
    font-size: 64px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(45, 140, 240, 0.5));
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.index-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #7b5cff, #2d8cf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(123, 92, 255, 0.3);
    letter-spacing: 4px;
    min-height: 64px;
}

.index-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    letter-spacing: 2px;
}

.index-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    white-space: pre-line;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* ===== 游戏设定卡片 ===== */
.game-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1100px;
    width: 100%;
    margin: 20px 0;
    padding: 0 10px;
}

.game-card {
    position: relative;
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.8), rgba(10, 25, 55, 0.9));
    border: 1px solid rgba(45, 140, 240, 0.3);
    border-radius: 12px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(45, 140, 240, 0.8);
    box-shadow: 0 12px 40px rgba(45, 140, 240, 0.3), inset 0 0 20px rgba(45, 140, 240, 0.1);
}

.game-card.danger {
    border-color: rgba(255, 71, 87, 0.4);
}
.game-card.danger:hover {
    border-color: rgba(255, 71, 87, 0.8);
    box-shadow: 0 12px 40px rgba(255, 71, 87, 0.3), inset 0 0 20px rgba(255, 71, 87, 0.1);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.card-tag {
    display: inline-block;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-tag.rare {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a1a2e;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.card-tag.common {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: #fff;
}

.card-tag.epic {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: #fff;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.4);
}

.card-tag.legendary {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: #fff;
    box-shadow: 0 2px 8px rgba(232, 67, 147, 0.4);
    animation: legendaryGlow 2s ease-in-out infinite;
}

@keyframes legendaryGlow {
    0%, 100% { box-shadow: 0 2px 8px rgba(232, 67, 147, 0.4); }
    50% { box-shadow: 0 2px 16px rgba(232, 67, 147, 0.8); }
}

.card-tag.danger {
    background: linear-gradient(135deg, #ff7675, #d63031);
    color: #fff;
    box-shadow: 0 2px 8px rgba(214, 48, 49, 0.4);
}

.card-brief {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 4px;
}

.card-detail {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== 在线人数计数器 ===== */
.online-counter {
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 10px 0;
}

.counter-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.counter-number {
    font-size: 24px;
    font-weight: 800;
    color: #00d084;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 208, 132, 0.5);
    min-width: 100px;
    text-align: center;
}

.counter-unit {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== 操作按钮组 ===== */
.action-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
}

/* ===== 底部提示 ===== */
.footer-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 10px;
    letter-spacing: 1px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .game-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .index-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
    .game-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 0 8px;
    }
    .game-card {
        padding: 12px 6px;
    }
    .card-icon {
        font-size: 20px;
        margin-bottom: 6px;
    }
    .card-title {
        font-size: 11px;
        margin-bottom: 6px;
    }
    .card-tag {
        font-size: 9px;
        padding: 2px 6px;
        margin-bottom: 6px;
    }
    .card-brief {
        font-size: 9px;
    }
    .card-detail {
        font-size: 8px;
    }
    .action-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .gradient-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 32px;
        font-size: 16px;
    }
    .online-counter {
        padding: 8px 16px;
    }
    .counter-number {
        font-size: 18px;
        min-width: 80px;
    }
    .footer-hint {
        font-size: 10px;
    }
    .earth-logo {
        font-size: 48px;
    }
}

/* =============================================
   ===== 世界设定手册页 (settings.html) =====
   ============================================= */

.settings-page {
    background: linear-gradient(180deg, #040d1f 0%, #0a1f45 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.settings-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

/* ===== 左侧导航栏（游戏任务日志风格） ===== */
.settings-sidebar {
    width: 260px;
    background: linear-gradient(180deg, rgba(10, 25, 55, 0.95), rgba(5, 15, 35, 0.98));
    border-right: 1px solid rgba(45, 140, 240, 0.2);
    padding: 30px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 20;
}

.sidebar-header {
    text-align: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(45, 140, 240, 0.2);
    margin-bottom: 20px;
}

.sidebar-logo {
    font-size: 36px;
    margin-bottom: 8px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #7b5cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin: 4px 12px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(45, 140, 240, 0.15);
    color: #fff;
    border-left-color: #2d8cf0;
}

.sidebar-menu a .menu-icon {
    font-size: 18px;
    width: 28px;
    text-align: center;
}

.sidebar-menu a .menu-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.sidebar-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: center;
}

.sidebar-footer .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(45, 140, 240, 0.2);
    border: 1px solid rgba(45, 140, 240, 0.4);
    border-radius: 8px;
    color: #2d8cf0;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.sidebar-footer .back-btn:hover {
    background: rgba(45, 140, 240, 0.4);
    color: #fff;
}

/* ===== 主内容区 ===== */
.settings-main {
    margin-left: 260px;
    flex: 1;
    padding: 40px 50px;
    max-width: calc(100% - 260px);
}

.settings-section {
    margin-bottom: 50px;
    scroll-margin-top: 30px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(45, 140, 240, 0.2);
}

.section-icon {
    font-size: 36px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(45, 140, 240, 0.2), rgba(123, 92, 255, 0.2));
    border-radius: 12px;
    border: 1px solid rgba(45, 140, 240, 0.3);
}

.section-title-wrap {
    flex: 1;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== 设定详情卡片 ===== */
.setting-detail-card {
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.6), rgba(10, 25, 55, 0.8));
    border: 1px solid rgba(45, 140, 240, 0.2);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.setting-detail-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(45, 140, 240, 0.1), transparent);
    border-radius: 50%;
}

.card-danger { border-color: rgba(255, 71, 87, 0.3); }
.card-danger::after { background: radial-gradient(circle, rgba(255, 71, 87, 0.1), transparent); }

.card-legendary { border-color: rgba(253, 121, 168, 0.3); }
.card-legendary::after { background: radial-gradient(circle, rgba(253, 121, 168, 0.1), transparent); }

.card-rare { border-color: rgba(255, 215, 0, 0.3); }
.card-rare::after { background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent); }

.setting-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* ===== 游戏属性面板 ===== */
.game-attributes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.attr-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.attr-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.attr-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.attr-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.attr-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.attr-bar-fill.blue { background: linear-gradient(90deg, #2d8cf0, #7b5cff); }
.attr-bar-fill.green { background: linear-gradient(90deg, #00d084, #00b894); }
.attr-bar-fill.gold { background: linear-gradient(90deg, #ffd700, #ffaa00); }
.attr-bar-fill.red { background: linear-gradient(90deg, #ff7675, #d63031); }
.attr-bar-fill.purple { background: linear-gradient(90deg, #a29bfe, #6c5ce7); }
.attr-bar-fill.pink { background: linear-gradient(90deg, #fd79a8, #e84393); }

/* ===== 规则列表 ===== */
.rule-list {
    list-style: none;
    padding: 0;
}

.rule-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rule-list li:last-child {
    border-bottom: none;
}

.rule-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.rule-content {
    flex: 1;
}

.rule-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.rule-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ===== 玩家须知弹窗 ===== */
.notice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}

.notice-modal-overlay.active {
    display: flex;
}

.notice-modal {
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.98), rgba(10, 25, 55, 0.98));
    border: 1px solid rgba(45, 140, 240, 0.4);
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.notice-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.notice-modal-content {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.notice-modal-content p {
    margin-bottom: 12px;
}

.notice-modal-close {
    display: block;
    margin: 24px auto 0;
    padding: 10px 32px;
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-modal-close:hover {
    filter: brightness(1.2);
}

/* ===== 设定手册页响应式 ===== */
@media (max-width: 900px) {
    .settings-sidebar {
        width: 260px;
        position: fixed;
        height: 100vh;
        border-right: 1px solid rgba(45, 140, 240, 0.2);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 50;
        top: 0;
        left: 0;
        background: linear-gradient(180deg, rgba(10, 25, 55, 0.98), rgba(5, 15, 35, 1));
    }
    .settings-sidebar.active {
        transform: translateX(0);
    }
    .settings-layout {
        flex-direction: column;
    }
    .settings-main {
        margin-left: 0;
        max-width: 100%;
        padding: 80px 16px 24px;
    }
    .sidebar-footer {
        position: relative;
        bottom: auto;
        margin-top: 20px;
    }
    .game-attributes {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 移动端顶部导航栏 */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 52px;
        background: linear-gradient(180deg, rgba(10, 25, 55, 0.98), rgba(5, 15, 35, 0.98));
        border-bottom: 1px solid rgba(45, 140, 240, 0.2);
        padding: 0 16px;
        z-index: 40;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        background: rgba(45, 140, 240, 0.15);
        border: 1px solid rgba(45, 140, 240, 0.3);
        border-radius: 8px;
        cursor: pointer;
        gap: 4px;
        padding: 6px;
    }
    .menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        background: #2d8cf0;
        border-radius: 1px;
        transition: all 0.3s ease;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    .mobile-title {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        letter-spacing: 1px;
        flex: 1;
        text-align: center;
    }
    .mobile-home {
        font-size: 20px;
        text-decoration: none;
        padding: 4px 8px;
    }

    /* 遮罩层 */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        z-index: 45;
    }
    .sidebar-overlay.active {
        display: block;
    }
}

@media (min-width: 901px) {
    .mobile-header,
    .sidebar-overlay {
        display: none;
    }
}

@media (max-width: 600px) {
    .game-attributes {
        grid-template-columns: 1fr;
    }
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    .settings-main {
        padding: 16px;
    }
}

/* =============================================
   ===== 登录页样式 (login.php) =====
   ============================================= */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #040d1f 0%, #0a1f45 100%);
    padding: 20px;
}

.form-card {
    position: relative;
    z-index: 10;
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.9), rgba(10, 25, 55, 0.95));
    border: 1px solid rgba(45, 140, 240, 0.3);
    border-radius: 16px;
    padding: 36px 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 60px rgba(45, 140, 240, 0.1);
    backdrop-filter: blur(10px);
}

.form-card h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #fff, #7b5cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-item {
    margin-bottom: 20px;
}

.form-item label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.form-item input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(45, 140, 240, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.form-item input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-item input:focus {
    border-color: rgba(45, 140, 240, 0.8);
    box-shadow: 0 0 12px rgba(45, 140, 240, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

/* ===== 自定义下拉框 ===== */
.custom-select {
    position: relative;
    width: 100%;
}

.cs-trigger {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(45, 140, 240, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: all 0.3s ease;
}

.cs-trigger:hover {
    border-color: rgba(45, 140, 240, 0.55);
}

.cs-trigger:focus-visible {
    outline: none;
    border-color: rgba(45, 140, 240, 0.8);
    box-shadow: 0 0 12px rgba(45, 140, 240, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.cs-value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-value.cs-placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cs-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.custom-select.open .cs-arrow {
    transform: rotate(180deg);
}

.cs-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    max-height: 220px;
    overflow-y: auto;
    padding: 6px;
    background: linear-gradient(145deg, rgba(15, 32, 65, 0.98), rgba(8, 20, 45, 0.98));
    border: 1px solid rgba(45, 140, 240, 0.35);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(45, 140, 240, 0.08);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.cs-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cs-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.15s ease;
}

.cs-option:hover,
.cs-option.cs-active {
    background: rgba(45, 140, 240, 0.15);
    color: #fff;
}

.cs-option.selected {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(45, 140, 240, 0.25), rgba(123, 92, 255, 0.25));
}

.cs-option.selected::after {
    content: '✓';
    color: #2d8cf0;
    font-weight: 700;
}

/* 菜单内细滚动条 */
.cs-menu::-webkit-scrollbar {
    width: 6px;
}

.cs-menu::-webkit-scrollbar-thumb {
    background: rgba(45, 140, 240, 0.35);
    border-radius: 3px;
}

.cs-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 140, 240, 0.65);
}

.cs-menu::-webkit-scrollbar-track {
    background: transparent;
}

/* 禁用态 */
.custom-select.disabled .cs-trigger {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-select.disabled .cs-trigger:hover {
    border-color: rgba(45, 140, 240, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(45, 140, 240, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45, 140, 240, 0.55);
    filter: brightness(1.1);
}

.submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .form-card {
        padding: 28px 20px;
    }
    .form-card h2 {
        font-size: 18px;
    }
}

/* =============================================
   ===== 大厅页样式 (hall.php) =====
   ============================================= */

.hall-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #040d1f 0%, #0a1f45 100%);
    padding: 0;
    overflow-x: hidden;
}

.hall-wrap {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

/* ===== 顶部游戏顶栏 ===== */
.hall-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(45, 140, 240, 0.15);
}

.hall-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hall-globe {
    font-size: 36px;
    filter: drop-shadow(0 0 12px rgba(45, 140, 240, 0.4));
    animation: float 3s ease-in-out infinite;
}

.hall-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hall-brand-title {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #7b5cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.hall-brand-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 玩家信息卡片 */
.hall-player-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(45, 140, 240, 0.1);
    border: 1px solid rgba(45, 140, 240, 0.2);
    border-radius: 12px;
    padding: 10px 16px;
}

.player-avatar {
    font-size: 22px;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.player-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.player-location {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.player-logout {
    font-size: 16px;
    text-decoration: none;
    margin-left: 8px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.player-logout:hover {
    opacity: 1;
}

/* ===== 数据看板 ===== */
.hall-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.dash-item {
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.5), rgba(10, 25, 55, 0.7));
    border: 1px solid rgba(45, 140, 240, 0.15);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.dash-item:hover {
    border-color: rgba(45, 140, 240, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 140, 240, 0.15);
}

.dash-item.dash-highlight {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 170, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.25);
}

.dash-item.dash-highlight:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
}

.dash-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.dash-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    font-family: 'Courier New', monospace;
    margin-bottom: 4px;
}

.dash-item.dash-highlight .dash-value {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.dash-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* ===== 操作栏 ===== */
.hall-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(45, 140, 240, 0.1);
}

.action-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-icon {
    font-size: 20px;
}

.publish-btn {
    position: relative;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.publish-btn .btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.publish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.55);
    filter: brightness(1.1);
}

.publish-btn:hover .btn-glow {
    opacity: 1;
}

/* ===== 评价时间线 ===== */
.comments-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-card {
    display: flex;
    gap: 16px;
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.4), rgba(10, 25, 55, 0.6));
    border: 1px solid rgba(45, 140, 240, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.comment-card:hover {
    border-color: rgba(45, 140, 240, 0.25);
    box-shadow: 0 8px 32px rgba(45, 140, 240, 0.12);
    transform: translateX(4px);
}

.comment-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 12px rgba(45, 140, 240, 0.3);
}

.comment-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(180deg, rgba(45, 140, 240, 0.3), transparent);
    margin-top: 8px;
    min-height: 20px;
    border-radius: 1px;
}

.comment-card-body {
    flex: 1;
    min-width: 0;
}

.comment-card-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.comment-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.comment-location {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.comment-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-left: auto;
}

.comment-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stars-display {
    font-size: 14px;
    color: #ffd700;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
}

.rating-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    word-break: break-word;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.4);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.empty-desc {
    font-size: 13px;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.page-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-right: 8px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.4), rgba(10, 25, 55, 0.6));
    border: 1px solid rgba(45, 140, 240, 0.15);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.page-btn:hover {
    border-color: rgba(45, 140, 240, 0.5);
    color: #fff;
    box-shadow: 0 4px 16px rgba(45, 140, 240, 0.25);
    transform: translateY(-2px);
}

.page-current {
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
    cursor: default;
    box-shadow: 0 4px 16px rgba(45, 140, 240, 0.35);
}

.page-current:hover {
    color: #fff;
    transform: none;
}

.page-dots {
    color: rgba(255, 255, 255, 0.35);
    padding: 0 2px;
}

/* ===== 评论卡片底部（回复数入口） ===== */
.comment-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(45, 140, 240, 0.15);
}

.reply-count-badge {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(45, 140, 240, 0.12);
    border: 1px solid rgba(45, 140, 240, 0.2);
    padding: 3px 10px;
    border-radius: 10px;
}

.reply-enter-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-left: auto;
    transition: color 0.25s ease;
}

.comment-card:hover .reply-enter-hint {
    color: #7b5cff;
}

/* ===== 评论详情页 (comment.php) ===== */
.detail-nav {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(45, 140, 240, 0.1);
    border: 1px solid rgba(45, 140, 240, 0.2);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.back-link:hover {
    color: #fff;
    border-color: rgba(45, 140, 240, 0.5);
    box-shadow: 0 4px 16px rgba(45, 140, 240, 0.2);
}

/* 主楼评论：不可点击跳转，视觉更突出 */
.main-comment-card {
    cursor: default;
    border-color: rgba(45, 140, 240, 0.3);
    background: linear-gradient(145deg, rgba(25, 50, 95, 0.55), rgba(12, 30, 65, 0.75));
}

.main-comment-card:hover {
    transform: none;
}

.main-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 2px 10px;
    border-radius: 10px;
    letter-spacing: 1px;
}

/* 回复列表 */
.replies-section {
    margin-top: 24px;
}

.replies-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.replies-title .reply-total {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

.reply-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reply-card {
    display: flex;
    gap: 12px;
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.35), rgba(10, 25, 55, 0.5));
    border: 1px solid rgba(45, 140, 240, 0.1);
    border-radius: 14px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.reply-card:hover {
    border-color: rgba(45, 140, 240, 0.25);
}

.reply-avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 12px rgba(45, 140, 240, 0.25);
}

.reply-body {
    flex: 1;
    min-width: 0;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.reply-author {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.reply-loc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.reply-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-left: auto;
}

.reply-text {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    word-break: break-word;
}

.reply-btn {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    transition: color 0.2s ease;
}

.reply-btn:hover {
    color: #7b5cff;
}

.reply-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.3), rgba(10, 25, 55, 0.4));
    border: 1px dashed rgba(45, 140, 240, 0.15);
    border-radius: 14px;
}

/* 回复输入框 */
.reply-box {
    margin-top: 28px;
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.45), rgba(10, 25, 55, 0.65));
    border: 1px solid rgba(45, 140, 240, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
}

.reply-box-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.reply-textarea {
    width: 100%;
    min-height: 90px;
    box-sizing: border-box;
    background: rgba(5, 15, 40, 0.6);
    border: 1px solid rgba(45, 140, 240, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    padding: 12px 14px;
    resize: vertical;
    font-family: inherit;
}

.reply-textarea:focus {
    outline: none;
    border-color: rgba(45, 140, 240, 0.6);
    box-shadow: 0 0 0 3px rgba(45, 140, 240, 0.15);
}

.reply-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.reply-box-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.reply-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
}

.reply-submit {
    padding: 10px 26px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(45, 140, 240, 0.3);
}

.reply-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 140, 240, 0.45);
    filter: brightness(1.1);
}

/* 评论不存在 */
.notfound-box {
    text-align: center;
    padding: 80px 20px;
}

.notfound-icon {
    font-size: 52px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.notfound-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.notfound-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

/* ===== 弹窗 ===== */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-mask.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.98), rgba(10, 25, 55, 0.98));
    border: 1px solid rgba(45, 140, 240, 0.3);
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-mask.active .modal-box {
    transform: scale(1) translateY(0);
}

/* 游戏风格弹窗 */
.modal-game {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(45, 140, 240, 0.25);
}

.modal-accent-line {
    height: 4px;
    background: linear-gradient(90deg, #2d8cf0, #7b5cff, #ff6b6b);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 5;
}

.modal-close:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 28px 0;
}

.modal-badge {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(45, 140, 240, 0.2), rgba(123, 92, 255, 0.2));
    border: 1px solid rgba(45, 140, 240, 0.3);
    border-radius: 12px;
    font-size: 22px;
    flex-shrink: 0;
}

.modal-header-text {
    flex: 1;
}

.modal-game .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-align: left;
}

.modal-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* 评分区 */
.rating-section {
    padding: 24px 28px 0;
    text-align: center;
}

.rating-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.rating-hint {
    font-size: 13px;
    margin-top: 8px;
    transition: all 0.3s ease;
    min-height: 20px;
}

.stars-group {
    display: flex;
    gap: 10px;
    font-size: 32px;
    justify-content: center;
}

.star-item {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
    user-select: none;
    display: inline-block;
}

.star-item.active {
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    animation: starPop 0.3s ease;
}

@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.star-item:hover {
    transform: scale(1.2);
}

/* 输入区 */
.textarea-section {
    padding: 0 28px;
    margin-top: 20px;
}

.textarea-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.modal-textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(45, 140, 240, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    resize: vertical;
    outline: none;
    font-family: inherit;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.modal-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.modal-textarea:focus {
    border-color: rgba(45, 140, 240, 0.6);
    box-shadow: 0 0 16px rgba(45, 140, 240, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

/* 弹窗底部按钮 */
.modal-actions {
    display: flex;
    gap: 12px;
    padding: 20px 28px 28px;
}

.modal-btn {
    flex: 1;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.modal-btn-submit {
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    color: #fff;
    box-shadow: 0 6px 20px rgba(45, 140, 240, 0.4);
}

.modal-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45, 140, 240, 0.55);
    filter: brightness(1.1);
}

/* ===== 大厅页移动端 ===== */
@media (max-width: 600px) {
    .hall-wrap {
        padding: 20px 14px 40px;
    }
    .hall-topbar {
        gap: 16px;
    }
    .hall-brand-title {
        font-size: 16px;
    }
    .hall-dashboard {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .dash-item {
        padding: 14px 8px;
    }
    .dash-icon {
        font-size: 22px;
    }
    .dash-value {
        font-size: 20px;
    }
    .dash-label {
        font-size: 10px;
    }
    .hall-action-bar {
        flex-direction: column;
        gap: 12px;
    }
    .comment-card {
        padding: 16px;
    }
    .comment-avatar {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    .comment-author {
        font-size: 14px;
    }
    .modal-box {
        padding: 0;
        margin: 10px;
    }
    .modal-header {
        padding: 24px 20px 0;
    }
    .rating-section,
    .textarea-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .modal-actions {
        padding: 16px 20px 24px;
    }
    .stars-group {
        font-size: 26px;
    }
    .reply-card {
        padding: 14px;
    }
    .reply-time {
        margin-left: 0;
        width: 100%;
    }
    .reply-box {
        padding: 16px;
    }
    .reply-box-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .reply-submit {
        width: 100%;
    }
}

/* =============================================
   ===== 升级页样式 (upgrade.php) =====
   ============================================= */

.upgrade-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #040d1f 0%, #0a1f45 100%);
    padding: 0;
    overflow-x: hidden;
}

.upgrade-wrap {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.upgrade-header {
    text-align: center;
    margin-bottom: 32px;
}

.upgrade-icon {
    font-size: 48px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 16px rgba(45, 140, 240, 0.4));
    animation: float 3s ease-in-out infinite;
}

.upgrade-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #7b5cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.upgrade-version {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

/* 检查面板 */
.check-panel,
.upgrade-info {
    background: linear-gradient(145deg, rgba(20, 40, 80, 0.5), rgba(10, 25, 55, 0.7));
    border: 1px solid rgba(45, 140, 240, 0.15);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.2);
}

.check-item:last-child {
    margin-bottom: 0;
}

.check-ok {
    color: #00d084;
    border-left: 3px solid #00d084;
}

.check-warn {
    color: #ffd700;
    border-left: 3px solid #ffd700;
}

.check-error {
    color: #ff6b6b;
    border-left: 3px solid #ff6b6b;
}

.check-info {
    color: rgba(255, 255, 255, 0.5);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

/* 体检汇总 */
.check-summary {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    padding: 8px 12px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* 体检分组标题 */
.check-group-title {
    font-size: 13px;
    font-weight: 700;
    color: #2d8cf0;
    letter-spacing: 1px;
    margin: 16px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(45, 140, 240, 0.25);
}

.check-group-title:first-child {
    margin-top: 0;
}

/* 可修复标记 */
.check-fixable {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(45, 140, 240, 0.15);
    color: #2d8cf0;
    font-weight: 600;
    white-space: nowrap;
}

/* 升级列表 */
.upgrade-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upgrade-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.item-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.item-tag.new {
    background: rgba(0, 208, 132, 0.2);
    color: #00d084;
}

.item-tag.fix {
    background: rgba(45, 140, 240, 0.2);
    color: #2d8cf0;
}

.item-tag.opt {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.item-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* 操作区 */
.upgrade-actions {
    margin-top: 24px;
    text-align: center;
}

.action-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    line-height: 1.6;
}

.action-hint.action-success {
    color: #00d084;
    font-size: 15px;
    font-weight: 600;
}

.action-hint.action-error {
    color: #ff6b6b;
}

.action-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.upgrade-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.upgrade-btn-primary {
    background: linear-gradient(135deg, #2d8cf0, #7b5cff);
    color: #fff;
    box-shadow: 0 6px 20px rgba(45, 140, 240, 0.4);
}

.upgrade-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45, 140, 240, 0.55);
    filter: brightness(1.1);
}

.upgrade-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.upgrade-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.upgrade-btn-retry {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.upgrade-btn-retry:hover {
    background: rgba(255, 107, 107, 0.25);
}

/* 升级页移动端 */
@media (max-width: 600px) {
    .upgrade-wrap {
        padding: 24px 14px;
    }
    .upgrade-title {
        font-size: 20px;
    }
    .check-panel,
    .upgrade-info {
        padding: 16px;
    }
    .upgrade-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    .action-links {
        flex-direction: column;
        width: 100%;
    }
}
