/* ================= 全局样式 ================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Radiance', 'Microsoft YaHei', sans-serif; background: #0f1117 url('bg_opt.jpg') no-repeat center center fixed; background-size: cover; color: #c8c8c8; height: 100vh; overflow: hidden; padding: 30px 20px 20px; position: relative; }
body::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.25); z-index: -1; }

/* 标题特效 */
h2 { text-align: center; font-size: 52px; background: linear-gradient(180deg, #ffffff 0%, #ffcc00 45%, #ff4500 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0px rgba(0,0,0,0.5)) drop-shadow(0 0 25px rgba(255, 69, 0, 0.6)); margin: 10px 0 25px; letter-spacing: 6px; font-weight: 900; position: relative; cursor: default; transition: all 0.5s ease; }
h2:hover { transform: scaleY(1.1) scaleX(1.02); filter: drop-shadow(0 10px 20px rgba(255, 69, 0, 0.8)) blur(1px); letter-spacing: 10px; }
h2::after { content: 'ANIMAL FRIEND CLUB CIVIL WAR'; display: block; font-size: 12px; color: #ffaa00; letter-spacing: 10px; opacity: 0.7; margin-top: -5px; text-shadow: none; font-weight: normal; -webkit-text-fill-color: #ffaa00; }

/* 控件 */
.login-info { text-align: center; margin: 12px 0; display: flex; justify-content: center; align-items: center; gap: 15px; }
.controls { text-align: center; margin: 12px 0; }
.controls input, .controls button, .login-info input, .login-info button { padding: 8px 20px; font-size: 15px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.3); background: rgba(0, 0, 0, 0.3); color: #e0e0e0; backdrop-filter: blur(5px); transition: all 0.3s; cursor: pointer; }
.controls button:hover, .login-info button:hover { background: rgba(255,255,255,0.1); border-color: #e0c097; box-shadow: 0 0 15px rgba(224, 192, 151, 0.3); color: #fff; }
.controls input:focus, .login-info input:focus { outline: none; border-color: #e0c097; box-shadow: 0 0 10px rgba(224, 192, 151, 0.2); }

.info-btn { padding: 6px 16px !important; font-size: 13px !important; border-radius: 15px !important; background: rgba(255,255,255,0.15) !important; border: 1px solid rgba(255,255,255,0.2) !important; color: #ccc !important; text-decoration: none; display: inline-block; transition: all 0.3s; }
.info-btn:hover { background: rgba(255,255,255,0.3) !important; color: #fff !important; box-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* 模态窗口 */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 99999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-window { width: 600px; max-width: 90%; max-height: 85vh; display: flex; flex-direction: column; background: rgba(20, 24, 35, 0.7); backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,0.15); border-top: 1px solid rgba(255,255,255,0.4); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,0.9); transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); color: #c8c8c8; }
.modal-overlay.active .modal-window { transform: scale(1); }
.modal-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent); flex-shrink: 0; }
.modal-title { font-size: 20px; font-weight: 900; color: #fff; text-shadow: 0 0 10px rgba(0,0,0,0.5); }
.modal-close { background: none; border: none; color: #666; font-size: 24px; cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: #fff; }
.modal-body { padding: 25px; overflow-y: auto; flex: 1; font-size: 14px; line-height: 1.6; }
.modal-body::-webkit-scrollbar { width: 6px; } .modal-body::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); } .modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; } .modal-body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }

/* 更新日志 */
#changelogModal .modal-window { padding: 0 !important; height: 600px; overflow: hidden; display: flex; flex-direction: column; }
.cl-header { padding: 20px; background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent); border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; position: relative; flex-shrink: 0; }
.cl-title { font-size: 24px; font-weight: 900; color: transparent; background: linear-gradient(180deg, #fff, #ffd700); -webkit-background-clip: text; background-clip: text; text-shadow: 0 2px 10px rgba(0,0,0,0.5); margin-bottom: 5px; }
.cl-subtitle { font-size: 12px; color: #888; letter-spacing: 2px; text-transform: uppercase; }
.cl-body { flex: 1; overflow-y: auto; padding: 20px; text-align: left; }
.cl-body::-webkit-scrollbar { width: 6px; } .cl-body::-webkit-scrollbar-track { background: transparent; } .cl-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; } .cl-body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }
.version-block { margin-bottom: 25px; position: relative; padding-left: 20px; } .version-block::before { content: ''; position: absolute; left: 0; top: 6px; bottom: -30px; width: 2px; background: rgba(255,255,255,0.1); } .version-block:last-child::before { display: none; }
.v-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; margin-bottom: 8px; position: relative; } .v-tag::after { content: ''; position: absolute; left: -24px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(20,24,35,1); }
.v-latest { background: linear-gradient(90deg, #22c55e, #4ade80); color: #003300; } .v-latest::after { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.v-major { background: linear-gradient(90deg, #3b82f6, #60a5fa); color: #001e3c; } .v-major::after { background: #60a5fa; }
.v-normal { background: rgba(255,255,255,0.15); color: #aaa; } .v-normal::after { background: #888; }
.v-date { font-size: 12px; color: #666; margin-left: 10px; font-weight: normal; }
.v-list { list-style: none; padding: 0; margin: 0; } .v-list li { margin-bottom: 6px; font-size: 13px; line-height: 1.5; display: flex; align-items: flex-start; color: #ccc; }
.badge { display: inline-block; padding: 0 4px; border-radius: 3px; font-size: 10px; margin-right: 6px; margin-top: 3px; min-width: 32px; text-align: center; font-weight: normal; flex-shrink: 0; }
.b-new { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.4); } .b-fix { background: rgba(255, 69, 0, 0.2); color: #ff6b6b; border: 1px solid rgba(255, 69, 0, 0.4); } .b-opt { background: rgba(0, 191, 255, 0.2); color: #00bfff; border: 1px solid rgba(0, 191, 255, 0.4); }

/* 功能总览 */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 5px; }
.feature-card { background: linear-gradient(145deg, rgba(30, 35, 45, 0.6) 0%, rgba(20, 24, 35, 0.4) 100%); padding: 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.feature-card:hover { transform: translateY(-5px); background: linear-gradient(145deg, rgba(40, 45, 55, 0.7) 0%, rgba(30, 34, 45, 0.5) 100%); border-color: rgba(255,255,255,0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.card-deco { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, transparent, currentColor, transparent); opacity: 0.8; }
.c1 { color: #00bfff; } .c2 { color: #ff69b4; } .c3 { color: #ffd700; } .c4 { color: #4ade80; }
.feature-card::before { content: ''; position: absolute; top: -50px; left: -50px; width: 100px; height: 100px; background: currentColor; filter: blur(60px); opacity: 0.15; pointer-events: none; }
.feature-title { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; }
.feature-list { list-style: none; padding: 0; margin: 0; } .feature-item { display: flex; align-items: flex-start; margin-bottom: 14px; line-height: 1.6; font-size: 13px; } .feature-item:last-child { margin-bottom: 0; }
.f-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-top: 8px; margin-right: 12px; flex-shrink: 0; opacity: 0.8; } .f-content { flex: 1; color: #ccc; } .f-key { color: #fff; font-weight: bold; margin-right: 4px; display: inline-block; }

/* 表格相关 */
.table-master { margin: 0 auto; max-width: 96%; height: calc(100vh - 240px); border-radius: 20px; backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); background: rgba(20, 24, 35, 0.4); border: 1px solid rgba(255,255,255,0.15); border-top: 1px solid rgba(255,255,255,0.4); box-shadow: 0 30px 60px rgba(0,0,0,0.6); overflow: hidden; position: relative; }
.toggle-stats { width: 24px; height: 24px; background: rgba(255,255,255,0.1); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255,255,255,0.3); transition: all 0.3s; box-shadow: 0 0 5px rgba(0,0,0,0.5); position: absolute; top: 6px; left: 6px; z-index: 100; }
.toggle-stats:hover { background: #ffaa00; border-color: #ffcc00; box-shadow: 0 0 10px #ffaa00; transform: scale(1.1); } .toggle-stats svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.3s; } .toggle-stats.collapsed svg { transform: rotate(180deg); }
.season-switch-btn { position: absolute; top: 12px; left: 60px; z-index: 100; padding: 0 16px; height: 36px; line-height: 34px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.3); background: rgba(0, 0, 0, 0.4); color: #fff; font-size: 13px; font-weight: bold; text-decoration: none; backdrop-filter: blur(5px); transition: all 0.3s; cursor: pointer; box-shadow: 0 0 10px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; }
.season-switch-btn:hover { background: rgba(255,255,255,0.15); border-color: #e0c097; box-shadow: 0 0 15px rgba(224, 192, 151, 0.3); transform: translateY(-1px); } .season-switch-btn.active { border-color: #ff4444; box-shadow: 0 0 15px rgba(255, 68, 68, 0.4); background: rgba(100, 20, 20, 0.5); color: #ffcccc; }
.table-container { width: 100%; height: 100%; overflow: auto; position: relative; }
::-webkit-scrollbar { width: 12px; height: 12px; } ::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 6px; } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 6px; } ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }
table { border-collapse: separate; border-spacing: 0; width: 100%; }
th, td { border: 1px solid rgba(255,255,255,0.1); text-align: center; font-weight: bold; font-size: 15px; transition: all 0.3s ease; background: rgba(25,25,35,0.6); position: relative; height: 42px !important; padding: 0; vertical-align: middle; min-width: 120px; }
thead { position: sticky; top: 0; z-index: 28; }
thead tr:nth-child(1) th { background: rgba(30, 35, 45, 0.8) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); height: 130px !important; }
thead tr:nth-child(n+2):nth-child(-n+7) td { background: rgba(30, 35, 45, 0.8) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); height: 42px !important; }
.sticky-left { position: sticky !important; left: 0 !important; z-index: 27 !important; background: rgba(30, 35, 45, 0.8) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); min-width: 150px; border-right: 1px solid rgba(0,0,0,0.5) !important; box-shadow: 5px 0 15px rgba(0,0,0,0.5); }
.session-name { width: 100%; height: 100%; border: none; background: transparent; color: #e0c097; font-weight: bold; font-size: 15px; text-align: center; padding: 0 28px 0 4px !important; } .session-name:focus { background: rgba(255,255,255,0.1); outline: none; }
.sort-link { color: inherit; text-decoration: none; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; cursor: pointer; transition: all 0.2s; } .sort-link:hover { color: #fff; background: rgba(255,255,255,0.1); text-shadow: 0 0 10px #fff; } .sort-arrow { font-size: 12px; margin-left: 4px; color: #e0c097; }
td.wl { cursor: pointer; user-select: none; } td.wl span { display: block; width: 100%; height: 100%; line-height: 42px; border-radius: 10px; transition: all 0.25s; font-size: 28px !important; font-weight: 900 !important; text-shadow: 0 0 15px currentColor; }
td.wl.w { background: rgba(16, 185, 129, 0.12) !important; color: #4ade80 !important; box-shadow: inset 0 0 20px rgba(74, 222, 128, 0.25) !important; border-bottom: 2px solid rgba(74, 222, 128, 0.6) !important; } td.wl.w:hover { background: rgba(16, 185, 129, 0.25) !important; box-shadow: inset 0 0 30px rgba(74, 222, 128, 0.4) !important; }
td.wl.l { background: rgba(239, 68, 68, 0.12) !important; color: #f87171 !important; box-shadow: inset 0 0 20px rgba(248, 113, 113, 0.25) !important; border-bottom: 2px solid rgba(248, 113, 113, 0.6) !important; } td.wl.l:hover { background: rgba(239, 68, 68, 0.25) !important; box-shadow: inset 0 0 30px rgba(248, 113, 113, 0.4) !important; }
th.player-th { background: linear-gradient(180deg, rgba(255,140,140,0.35), rgba(255,160,107,0.45)); border: 1px solid rgba(255,255,255,0.3); border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: all 0.4s ease; padding: 0 !important; min-width: 120px; z-index: 25; }
th.player-th:hover { <?php if($logged_in): ?> transform: translateY(-4px); box-shadow: 0 8px 25px rgba(255,255,255,0.2); border-color: #fff; <?php endif; ?> }
.player-th-inner { position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; height: 100%; width: 100%; padding: 8px 0; }

/* 设置 & 头像 */
.settings-btn { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; background: transparent; border-radius: 50%; cursor: pointer; z-index: 31; color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; transition: all 0.3s; padding: 0; border: none; } .settings-btn:hover { color: #ffaa00; transform: rotate(90deg) scale(1.2); filter: drop-shadow(0 0 5px #ffaa00); }
.settings-panel { position: fixed !important; background: rgba(20,20,35,0.95); border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; padding: 8px; width: 200px; box-shadow: 0 0 30px rgba(0,0,0,0.8); z-index: 2147483647 !important; display: none; transform: translateZ(0); will-change: transform; backface-visibility: hidden; } .settings-panel.show { display: block; animation: popUp 0.2s ease-out; }
.avatar-container { position: relative; margin-bottom: 25px; }
.avatar-wrapper { width: 56px; height: 56px; border-radius: 14px; border: 4px solid transparent; background: padding-box, border-box; overflow: visible; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 42px; color: #e0c097; text-shadow: 0 0 10px rgba(0,0,0,0.5); cursor: default; position: relative; }
.avatar-wrapper.has-avatar::before { display: none; } .avatar-wrapper::before { content: '?'; z-index: 1; }
.avatar-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; z-index: 0; transition: transform 0.3s; } .avatar-container:hover .avatar-wrapper img { transform: scale(1.05); }

/* 标签云 */
#globalTagPanel { position: fixed; top: 0; left: 0; width: 420px; height: 320px; background: rgba(20, 25, 35, 0.6); backdrop-filter: blur(25px) saturate(180%); -webkit-backdrop-filter: blur(25px) saturate(180%); border: 1px solid rgba(255,255,255,0.1); border-top: 1px solid rgba(255,255,255,0.3); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: opacity 0.3s, transform 0.3s; z-index: 2147483647; display: flex; flex-direction: column; pointer-events: none; } #globalTagPanel.active { opacity: 1; visibility: visible; pointer-events: auto; }
#globalTagPanel::after { content: ''; position: absolute; bottom: -8px; left: 50%; margin-left: -8px; border-width: 8px 8px 0; border-style: solid; border-color: rgba(20, 25, 35, 0.8) transparent transparent transparent; pointer-events: none; }
.cloud-canvas { flex: 1; position: relative; overflow: hidden; border-radius: 16px 16px 0 0; padding: 10px; }
.tag-item { position: absolute; line-height: 1.1; font-weight: 900; cursor: pointer; user-select: none; text-shadow: 0 0 5px currentColor, 1px 1px 2px rgba(0,0,0,0.8); opacity: 0; transition: opacity 0.3s ease; white-space: normal; word-wrap: break-word; text-align: center; width: auto; max-width: 150px; }
.tag-item.visible { opacity: 1 !important; visibility: visible !important; animation: float-anim 3s ease-in-out infinite; }
.tag-item:hover { z-index: 20; animation-play-state: paused; transform: scale(1.3) !important; filter: brightness(1.3); transition: transform 0.2s, filter 0.2s; text-shadow: 0 0 15px currentColor; } .tag-item:active { transform: scale(0.95) !important; }
.tag-count { font-size: 0.6em; vertical-align: super; opacity: 0.6; margin-left: 2px; font-weight: normal; color: #fff; }
@keyframes float-anim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.input-area { height: 45px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; padding: 0 10px; background: rgba(0,0,0,0.2); border-radius: 0 0 16px 16px; position: relative; z-index: 2; }
.tag-input { flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; padding: 6px 10px; border-radius: 20px; font-size: 12px; outline: none; transition: all 0.3s; } .tag-input:focus { background: rgba(255,255,255,0.15); border-color: #4ade80; }
.tag-submit { margin-left: 8px; background: linear-gradient(135deg, #4ade80, #22c55e); border: none; color: #002200; font-weight: bold; padding: 6px 12px; border-radius: 20px; cursor: pointer; font-size: 12px; box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3); } .tag-submit:active { transform: scale(0.95); }

/* 徽章 */
.level-badge { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); height: 22px; padding: 0 12px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: bold; color: white; z-index: 3; box-shadow: 0 2px 5px rgba(0,0,0,0.5); border-bottom: 3px solid; line-height: 1; }
.level-badge-bronze { background-color: #a05a2c; border-color: #6d3f1e; } .level-badge-silver { background-color: #a9a9a9; border-color: #7e7e7e; } .level-badge-gold { background-color: #ffb300; border-color: #b98100; color: #333; } .level-badge-platinum { background-color: #a0b4d0; border-color: #718196; } .level-badge-diamond { background-color: #89f7fe; border-color: #32c0c9; color: #002d3f; } .level-badge-master { background-color: #f782c2; border-color: #b94e8a; } .level-badge-king { background: linear-gradient(45deg, #ff4500, #ffd700); border-color: #c03300; text-shadow: 0 0 5px #fff; }
.border-bronze { background: linear-gradient(45deg, #a05a2c, #cd7f32) padding-box, linear-gradient(45deg, #b87333, #cd7f32) border-box; } .border-silver { background: linear-gradient(45deg, #a9a9a9, #f0f0f0) padding-box, linear-gradient(45deg, #c0c0c0, #e6e8fa) border-box; } .border-gold { background: linear-gradient(45deg, #ffb300, #fff2a8) padding-box, linear-gradient(45deg, #ffd700, #ffea00) border-box; box-shadow: 0 0 12px #ffd700; } .border-platinum { background: linear-gradient(135deg, #a0b4d0, #e5e4e2) padding-box, linear-gradient(135deg, #87ceeb, #e5e4e2) border-box; box-shadow: 0 0 15px #a7d8ff; } .border-diamond { background: linear-gradient(135deg, #89f7fe, #66a6ff) padding-box, linear-gradient(135deg, #40e0d0, #89f7fe) border-box; animation: breathing-glow 3s infinite; } .border-master { background: linear-gradient(135deg, #c0399f, #f782c2) padding-box, linear-gradient(135deg, #ff69b4, #ff1493) border-box; animation: breathing-glow 2.5s infinite; } .border-king { background: linear-gradient(120deg, #ff4500, #ff8c00, #ffd700) padding-box, linear-gradient(120deg, #ff4500, #ff8c00, #ffd700) border-box; animation: animated-gradient 4s infinite, king-fire-pulse 2s infinite; }
.flourish { display: none; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px; border-radius: 14px; } .border-diamond .flourish, .border-master .flourish, .border-king .flourish { display: block; } .flourish::before, .flourish::after, .flourish span::before, .flourish span::after { content: ''; position: absolute; width: 18px; height: 18px; border: 3px solid gold; border-radius: 4px; } .flourish::before { top: -6px; left: -6px; border-right-color: transparent; border-bottom-color: transparent; } .flourish::after { top: -6px; right: -6px; border-left-color: transparent; border-bottom-color: transparent; } .flourish span::before { bottom: -6px; left: -6px; border-right-color: transparent; border-top-color: transparent; } .flourish span::after { bottom: -6px; right: -6px; border-left-color: transparent; border-top-color: transparent; } .border-king .flourish::before, .border-king .flourish::after, .border-king .flourish span::before, .border-king .flourish span::after { animation: corner-pulse 2s infinite; }

.badge-container { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 95%; max-width: 125px; padding: 6px 0; margin: 0 auto; font-weight: 900; font-size: 15px; border-radius: 3px; text-transform: uppercase; letter-spacing: 1px; cursor: default; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 4px 6px rgba(0,0,0,0.3); transition: transform 0.2s; z-index: 1; text-shadow: 0 1px 2px rgba(0,0,0,0.8); } .badge-content { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; position: relative; z-index: 2; } .badge-container:hover { transform: translateY(-2px); z-index: 10; } .badge-container .icon { width: 16px; height: 16px; fill: currentColor; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
.tier-savior { background: linear-gradient(180deg, #00c6ff 0%, #0072ff 100%); color: #ffffff; border: 1px solid #89f7fe; box-shadow: 0 0 15px rgba(0, 198, 255, 0.5); overflow: hidden; } .tier-savior::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%); transform: rotate(30deg); animation: shine-sweep 3s infinite; pointer-events: none; } .tier-paladin { background: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%); color: #fff; border-color: #4facfe; } .tier-radiant { background: linear-gradient(180deg, #1d976c 0%, #11523b 100%); color: #8affc1; border-color: #2ecc71; } .tier-neutral { background: linear-gradient(180deg, #536976 0%, #292e49 100%); color: #d7d7d7; border-color: #7f8c8d; } .tier-lazy { background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%); color: #aaaaaa; border: 1px solid #666; box-shadow: inset 0 0 5px rgba(0,0,0,0.5); } .tier-dire { background: linear-gradient(180deg, #7b4397 0%, #3e1f4d 100%); color: #e0b0ff; border-color: #9b59b6; } .tier-demon { background: linear-gradient(180deg, #cb356b 0%, #7f1d42 100%); color: #fff; border-color: #ff69b4; box-shadow: 0 0 10px rgba(203, 53, 107, 0.4); } .tier-archdemon { background: linear-gradient(180deg, #ff3f34 0%, #570000 100%); color: #ffffff; border: 1px solid #ffcccb; text-shadow: 0 1px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 0 10px #ff0000; animation: red-pulse 2s infinite ease-in-out; }

.column-highlight { box-shadow: inset 0 0 0 3px rgba(255,255,255,0.2) !important; } .name-bar { display: flex; align-items: center; justify-content: center; gap: 6px; color: #ffb380; text-shadow: 0 0 10px #ffa06b; font-size: 16px; font-weight: bold; line-height: 1.2; padding: 2px 0; } .play-count-label { font-size: 11px; color: #4ade80; margin-top: 2px; text-shadow: 0 0 5px #4ade80; font-family: 'Courier New', monospace; font-weight: bold; }
.random-play { background: none; border: none; cursor: pointer; padding: 0; margin: 0; outline: none; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; position: relative; } .random-play svg { width: 14px; height: 14px; fill: #4ade80; filter: drop-shadow(0 0 3px #4ade80); transition: all 0.3s; } .random-play:hover svg { fill: #22c55e; filter: drop-shadow(0 0 6px #22c55e); transform: scale(1.15); }
.gongde-plus { position: absolute; color: #ffeb3b; font-weight: 900; font-size: 20px; pointer-events: none; z-index: 2147483648; text-shadow: 0 1px 2px rgba(0,0,0,0.3); animation: votePop 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; } @keyframes votePop { 0% { opacity: 0; transform: translateY(5px) scale(0.8); } 20% { opacity: 1; transform: translateY(0) scale(1.1); } 100% { opacity: 0; transform: translateY(-40px) scale(1); } }

/* 播放器面板 */
.audio-player-panel { position: absolute; background: rgba(25,25,35,0.96); border: 1px solid #4ade80; border-radius: 8px; width: 260px; max-height: 320px; box-shadow: 0 0 25px rgba(74, 222, 128, 0.5); z-index: 2147483647; backdrop-filter: blur(8px); padding: 8px; display: none; flex-direction: column; } .audio-player-panel.show { display: flex; animation: popUp 0.2s ease-out; }
.player-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 8px; color: #aaffaa; font-weight: bold; border-bottom: 1px solid rgba(74, 222, 128, 0.3); } .player-panel-close-btn { background: none; border: none; color: #ff6b6b; font-size: 24px; cursor: pointer; line-height: 1; padding: 0 4px; border-radius: 4px; transition: background 0.2s; } .player-panel-close-btn:hover { background: rgba(255,107,107,0.3); }
.player-panel-list { flex: 1; overflow-y: auto; margin-top: 8px; padding-right: 4px; }
.player-panel-item { display: flex; align-items: center; margin-bottom: 8px; padding: 8px 12px; background: linear-gradient(90deg, #22c55e, #4ade80); border-radius: 18px 18px 18px 4px; color: #fff; cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.4); overflow: hidden; } .player-panel-item:hover { transform: scale(1.03); box-shadow: 0 4px 10px rgba(74,222,128,0.5); } .player-panel-item.playing { background: linear-gradient(90deg, #f97316, #fb923c); border-radius: 18px 4px 18px 18px; }
.player-panel-item .play-icon, .player-panel-item .wave-icon { width: 20px; height: 20px; fill: #fff; margin-right: 10px; flex-shrink: 0; } .player-panel-item .wave-icon { display: none; } .player-panel-item.playing .play-icon { display: none; } .player-panel-item.playing .wave-icon { display: block; }
.player-panel-item span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; display: block; position: relative; } .player-panel-item:hover span { overflow: visible; animation: scroll-text 4s linear infinite; } @keyframes scroll-text { 0% { transform: translateX(0); } 50% { transform: translateX(-30px); } 100% { transform: translateX(0); } }
.manager-play-btn { background: #22c55e; color: white; border: none; border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-right: 8px; transition: background 0.2s; flex-shrink: 0; } .manager-play-btn:hover { background: #16a34a; } .manager-play-btn.playing { background: #f97316; } .manager-play-btn svg { width: 14px; height: 14px; fill: currentColor; } .manager-play-btn .wave-icon { display: none; } .manager-play-btn.playing .play-icon { display: none; } .manager-play-btn.playing .wave-icon { display: block; }
.audio-name-input { flex: 1; background: transparent; border: 1px solid transparent; color: #aaffaa; padding: 4px 6px; border-radius: 4px; outline: none; transition: all 0.2s; width: 100%; } .audio-name-input:hover { border-color: #555; } .audio-name-input:focus { background: rgba(255, 255, 255, 0.1); border-color: #4ade80; box-shadow: 0 0 8px rgba(74, 222, 128, 0.5); } .audio-name-input.saved { animation: saved-glow 1s ease-out; } @keyframes saved-glow { from { box-shadow: 0 0 12px #4ade80; } to { box-shadow: none; } }
.sound-wave { stroke: #fff; stroke-width: 2; stroke-linecap: round; } .sound-wave .bar1 { animation: wave 1.2s ease-in-out infinite 0s; } .sound-wave .bar2 { animation: wave 1.2s ease-in-out infinite 0.2s; } .sound-wave .bar3 { animation: wave 1.2s ease-in-out infinite 0.4s; } @keyframes wave { 0%, 100% { stroke-dashoffset: 8; } 50% { stroke-dashoffset: 0; } }
<?php if (!$logged_in): ?> .settings-btn, .controls, .toggle-stats { display: none !important; } <?php endif; ?>