/* 基础样式 */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.1);
}
.glass-light {
    background: rgba(51, 65, 85, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.08);
}
.gradient-bg {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.card-shadow { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.pulse-dot { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* 下拉框美化 */
.select-styled {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.select-styled:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background-color: rgba(51, 65, 85, 0.6);
}
.select-styled:focus {
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
    outline: none;
}
.select-styled option {
    background: #1e293b;
    color: #cbd5e1;
}

/* 搜索框 */
.search-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 12px;
}

/* 控制台高度 */
.console-height {
    height: 50vh;
    min-height: 320px;
    max-height: 600px;
}

/* 移动端适配 */
@media (max-width: 640px) {
    body { padding: 8px; }
    .console-height {
        height: 55vh;
        min-height: 280px;
        max-height: none;
    }
    .glass { padding: 12px !important; border-radius: 14px; }
    .search-input { font-size: 14px; padding: 10px 12px; }
    .select-styled {
        font-size: 11px;
        padding: 6px 22px 6px 8px !important;
        background-position: right 6px center;
    }
    button { font-size: 12px; padding: 8px 12px; }
    button, .select-styled, .search-input {
        -webkit-tap-highlight-color: transparent;
    }
    .w-2\\.5 { width: 8px; height: 8px; }

    /* 记录行移动端换行 */
    .record-row {
        flex-wrap: wrap !important;
        gap: 2px 6px !important;
        padding: 8px 6px !important;
        line-height: 1.4;
    }
    .record-time { font-size: 10px; color: #64748b !important; }
    .record-voter { font-size: 11px; white-space: normal !important; word-break: break-all; }
    .record-nick { font-size: 10px; white-space: normal !important; word-break: break-word; }
    .record-arrow, .record-to-uid { font-size: 10px; }
    .record-num { font-size: 11px; }
    .record-source { font-size: 9px; opacity: 0.7; }
}

#vote-filter,
#sort-order {
  min-width: 85px; /* 可根据实际效果调整数值 */
}