* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Arial', sans-serif;
}

:root {
    --rhodes-blue: #0097e6;
    --rhodes-dark-blue: #0078b4;
    --rhodes-light-blue: #93d4ff;
    --rhodes-dark: #202327;
    --rhodes-gray: #313741;
    --rhodes-light-gray: #e0e0e0;
    --rhodes-white: #f5f6fa;
    --rhodes-accent: #ff6057;
    --rhodes-green: #4cd137;
    --rhodes-yellow: #fbc531;
    --rhodes-red: #e84118;
}

body {
    background-color: var(--rhodes-dark);
    color: var(--rhodes-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 标题样式 */
.rhodes-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--rhodes-blue);
    padding-bottom: 15px;
}

.logo-area {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-logo {
    max-width: 180px;
    margin-bottom: 10px;
}

h1 {
    color: var(--rhodes-blue);
    font-weight: 700;
    font-size: 2.4rem;
    text-shadow: 0 0 10px rgba(0, 151, 230, 0.5);
    margin-bottom: 5px;
}

.logo-subtitle {
    color: var(--rhodes-light-blue);
    font-size: 1rem;
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--rhodes-light-gray);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.main-nav a:hover {
    color: var(--rhodes-blue);
    background-color: rgba(0, 151, 230, 0.1);
}

.main-nav li.active a {
    color: var(--rhodes-white);
    background-color: var(--rhodes-blue);
}

/* 面板样式 */
.rhodes-panel {
    background-color: var(--rhodes-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    display: none;
}

.active-section {
    display: block;
}

.panel-header {
    background-color: var(--rhodes-dark);
    padding: 15px 20px;
    border-bottom: 2px solid var(--rhodes-blue);
}

.panel-header h2 {
    color: var(--rhodes-blue);
    font-size: 1.5rem;
    font-weight: 500;
}

/* 计算器样式 */
.calculator {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
}

.input-section, .result-section {
    flex: 1;
    min-width: 300px;
}

.result-header {
    color: var(--rhodes-blue);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rhodes-dark-blue);
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--rhodes-light-blue);
}

/* 下拉框和输入框通用样式 */
select, input[type="number"], input[type="range"], input[type="text"] {
    width: 100%;
    padding: 12px;
    background-color: var(--rhodes-dark);
    border: 1px solid var(--rhodes-gray);
    border-radius: 5px;
    font-size: 16px;
    color: var(--rhodes-white);
    transition: all 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) inset;
    outline: none;
}

/* 下拉框箭头样式 */
select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%234e9cff' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    cursor: pointer;
    background-size: 20px;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-overflow: ellipsis;
    outline: none;
}

/* 移除下拉框所有默认的浏览器样式 */
select::-ms-expand {
    display: none;
}

/* 下拉框选项样式 */
select option {
    background-color: var(--rhodes-dark);
    color: var(--rhodes-white);
    padding: 12px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
    border: none;
    outline: none;
    margin: 0;
}

/* 下拉框选项悬停样式 */
select option:hover, select option:focus, select option:checked {
    background-color: rgba(78, 156, 255, 0.2);
    color: #ffffff;
    border: none;
    outline: none;
}

/* 选定选项的样式 */
select option:checked {
    background-color: rgba(78, 156, 255, 0.3);
    font-weight: 500;
    position: relative;
}

/* 下拉框和输入框的焦点样式 */
select:focus, input:focus {
    outline: none;
    border-color: var(--rhodes-blue);
    box-shadow: 0 0 0 2px rgba(78, 156, 255, 0.3);
}

/* 下拉框和输入框的悬停样式 */
select:hover, input[type="text"]:hover, input[type="number"]:hover {
    border-color: var(--rhodes-light-blue);
    box-shadow: 0 0 5px rgba(78, 156, 255, 0.2);
}

/* 下拉框容器样式 */
.select-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

/* 自定义下拉框箭头悬停效果 */
select:hover {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2388bcff' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
}

/* 干员搜索框样式 */
#character-search {
    margin-bottom: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: var(--rhodes-blue);
    font-weight: 500;
}

/* 干员选择下拉框样式 */
#character, #forecast-operator, #left-operator, #right-operator {
    cursor: pointer;
    max-height: 300px;
    background-color: rgba(30, 34, 40, 0.97);
    border: 1px solid rgba(78, 156, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    outline: none;
    -webkit-overflow-scrolling: touch;
}

/* 下拉框中的选项悬停时底色 */
#character option:hover, #forecast-operator option:hover, 
#left-operator option:hover, #right-operator option:hover {
    background-color: rgba(78, 156, 255, 0.25);
}

/* 下拉框展开时的样式 */
select:focus {
    border-color: var(--rhodes-blue);
    border-width: 1px;
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(78, 156, 255, 0.2);
}

/* 下拉框禁用选项样式 */
select option:disabled {
    color: rgba(173, 186, 199, 0.5);
    font-style: italic;
}

/* 干员选择下拉框容器样式 */
.battle-operator-select, .forecast-controls .input-group {
    margin-bottom: 15px;
}

/* 选项分组样式 */
select optgroup {
    font-weight: bold;
    color: var(--rhodes-blue);
    border-top: 1px solid rgba(78, 156, 255, 0.3);
    padding: 8px 5px;
    background-color: rgba(30, 34, 45, 0.97);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* 范围滑块样式 */
input[type="range"] {
    height: 10px;
    background: var(--rhodes-dark);
    outline: none;
    padding: 0;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
}

.rhodes-button {
    background-color: var(--rhodes-blue);
    color: var(--rhodes-white);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rhodes-button:hover {
    background-color: var(--rhodes-dark-blue);
    box-shadow: 0 0 10px rgba(0, 151, 230, 0.5);
}

/* 干员信息样式 */
.operator-info {
    display: flex;
    background-color: var(--rhodes-gray);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.operator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--rhodes-dark);
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--rhodes-light-blue);
}

.operator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.operator-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#operator-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rhodes-white);
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.operator-traits {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.operator-traits span {
    background-color: var(--rhodes-dark);
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--rhodes-light-blue);
}

/* 扩展信息样式 */
.operator-extended-info {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 8px;
    font-size: 0.85rem;
}

.info-row {
    display: flex;
    margin-bottom: 5px;
}

.info-row span {
    margin-right: 12px;
    color: var(--rhodes-light-gray);
}

.tags-row {
    align-items: flex-start;
}

.operator-tags {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
}

.tag-pill {
    background-color: var(--rhodes-dark-blue);
    color: white;
    padding: 1px 6px;
    border-radius: 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.8rem;
}

/* 稀有度颜色样式 */
.rarity-1 { color: #bdbdbd; }
.rarity-2 { color: #a5d6a7; }
.rarity-3 { color: #81d4fa; }
.rarity-4 { color: #ce93d8; }
.rarity-5 { color: #ffb300; }
.rarity-6 { color: #ffb300; text-shadow: 0 0 5px rgba(255, 179, 0, 0.7); }

/* 结果样式 */
.total-score {
    font-size: 24px;
    margin: 20px 0;
    text-align: center;
    font-weight: bold;
    background-color: var(--rhodes-dark);
    padding: 15px;
    border-radius: 8px;
}

.radar-chart-container {
    width: 100%;
    height: 400px;
    margin: 20px 0;
    background-color: rgba(25, 25, 35, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.description {
    background-color: var(--rhodes-dark);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.description h3 {
    color: var(--rhodes-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* 分数颜色 */
.score-low {
    color: #787878;
}

.score-medium {
    color: var(--rhodes-green);
}

.score-high {
    color: var(--rhodes-red);
}

/* 臭度预报样式 */
.forecast-panel {
    padding: 30px;
}

.forecast-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.forecast-controls .input-group {
    flex: 1;
    min-width: 200px;
}

.forecast-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.forecast-chart-container {
    width: 100%;
    height: 300px;
    background-color: rgba(25, 25, 35, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.forecast-summary {
    background-color: var(--rhodes-dark);
    padding: 20px;
    border-radius: 8px;
}

.forecast-peaks {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.peak-item {
    background-color: rgba(0, 151, 230, 0.1);
    padding: 12px;
    border-radius: 6px;
    width: 48%;
}

.peak-label {
    font-weight: 500;
    color: var(--rhodes-light-blue);
    margin-right: 8px;
}

/* 脚气对战样式 */
.battle-arena {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 20px 15px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
}

/* 两侧面板统一样式 */
.battle-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--rhodes-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    min-width: 300px;
}

/* 左侧面板特定样式 */
.left-side {
    border-top: 4px solid #3e82f7;
    margin-right: 5px;
}

/* 右侧面板特定样式 */
.right-side {
    border-top: 4px solid #e53935;
    margin-left: 5px;
}

/* 中央对战控制区样式 */
.battle-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    max-width: 200px;
}

.battle-operator-select {
    margin-bottom: 15px;
}

.battle-operator-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    background-color: var(--rhodes-dark);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--rhodes-blue);
}

.right-side .battle-operator-avatar {
    border-color: var(--rhodes-accent);
}

.battle-operator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.battle-operator-stats {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.battle-operator-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--rhodes-blue);
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--rhodes-gray);
}

.right-side .battle-operator-name {
    color: var(--rhodes-accent);
}

.battle-stats-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 5px;
}

.stat-label {
    color: var(--rhodes-light-gray);
}

.stat-value {
    font-weight: bold;
    color: var(--rhodes-white);
}

.battle-params {
    width: 100%;
}

.battle-param-item {
    margin-bottom: 10px;
}

.battle-vs {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--rhodes-accent);
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(255, 96, 87, 0.5);
}

.battle-button {
    margin: 15px 0;
    font-size: 1.1rem;
    padding: 12px 25px;
}

.battle-result {
    width: 100%;
    min-height: 100px;
    margin-top: 15px;
    padding: 15px;
    background-color: var(--rhodes-dark);
    border-radius: 8px;
    text-align: center;
    line-height: 1.6;
}

.battle-result-header {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--rhodes-white);
}

.battle-winner {
    color: var(--rhodes-green);
}

.draw {
    color: var(--rhodes-yellow);
}

.battle-scores {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.battle-description {
    margin-bottom: 10px;
}

.battle-dimensions {
    font-style: italic;
    color: var(--rhodes-light-gray);
    margin-bottom: 5px;
}

.battle-special {
    margin-top: 10px;
    font-weight: bold;
    color: var(--rhodes-accent);
}

/* 对战图表区域容器样式 */
.battle-chart-section {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.05);
}

/* 图表和数值列表容器 - 确保中央图表位置更突出 */
.battle-stats-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

/* 图表容器样式 - 增加尺寸和居中显示 */
.battle-chart-container {
    flex: 2;
    min-width: 350px;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(25, 25, 35, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 对战者属性样式 */
.battle-operator-stats {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(25, 25, 35, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 左侧和右侧干员属性样式区分 */
.left-stats {
    border-left: 4px solid #3e82f7;
}

.right-stats {
    border-left: 4px solid #e53935;
}

/* 属性标题样式 */
.battle-operator-stats h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* 左右侧标题颜色区分 */
.left-stats h3 {
    color: #3e82f7;
}

.right-stats h3 {
    color: #e53935;
}

.battle-history {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--rhodes-gray);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.battle-history h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--rhodes-blue);
}

.battle-history-list {
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    background-color: var(--rhodes-dark);
    border-radius: 5px;
}

.history-time {
    font-size: 0.8rem;
    color: var(--rhodes-light-gray);
    width: 70px;
}

.history-operator {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 5px;
}

.history-operator.winner {
    color: var(--rhodes-green);
    font-weight: bold;
}

.history-score {
    font-weight: bold;
    width: 70px;
    text-align: center;
}

.history-result {
    width: 70px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--rhodes-light-gray);
}

.no-history {
    text-align: center;
    padding: 20px;
    color: var(--rhodes-light-gray);
    font-style: italic;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .battle-arena {
        flex-direction: column;
    }
    
    .battle-controls {
        order: 2;
    }
    
    .right-side {
        order: 3;
    }
    
    .battle-chart-container {
        height: 350px;
    }
    
    .history-item {
        flex-wrap: wrap;
    }
    
    .history-time {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* 页脚样式 */
.rhodes-footer {
    text-align: center;
    color: var(--rhodes-light-gray);
    font-size: 14px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--rhodes-gray);
}

.rhodes-footer a {
    color: var(--rhodes-light-blue);
    text-decoration: none;
}

.rhodes-footer a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .calculator {
        flex-direction: column;
    }
    
    .main-nav ul {
        gap: 10px;
    }
    
    .rhodes-header {
        padding-bottom: 10px;
    }
    
    .forecast-peaks {
        flex-direction: column;
        gap: 10px;
    }
    
    .peak-item {
        width: 100%;
    }
    
    .battle-arena {
        flex-direction: column;
    }
    
    .battle-controls {
        order: -1;
        margin-bottom: 20px;
    }
    
    .history-item {
        flex-wrap: wrap;
    }
    
    .history-time {
        flex: 100%;
        margin-bottom: 5px;
    }
    
    .history-operator, .history-score, .history-result {
        flex: 1;
    }
}

/* 加载指示器 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #3a3a3a;
    border-top: 6px solid #4e9cff;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(78, 156, 255, 0.7);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 通知样式 */
.notification {
    position: fixed;
    bottom: -100px;
    right: 20px;
    width: 320px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: #202327;
    color: white;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    transform: translateY(20px);
}

.notification.show {
    bottom: 20px;
    opacity: 1;
    transform: translateY(0);
}

.notification.hiding {
    bottom: -100px;
    opacity: 0;
    transform: translateY(20px);
}

.notification-content {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
    color: #aaa;
    transition: color 0.2s;
}

.notification-close:hover {
    color: white;
}

.notification.success {
    border-left: 4px solid #4caf50;
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification.info {
    border-left: 4px solid #2196f3;
}

.notification.warning {
    border-left: 4px solid #ff9800;
}

/* 版本标签 */
.app-version {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

/* 标签美化样式 */
.info-label {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 8px;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.85rem;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 各种信息标签的颜色 */
.faction-label {
    background-color: var(--rhodes-blue);
}

.class-label {
    background-color: #2980b9;
}

.gender-label {
    background-color: #8e44ad;
}

.rarity-label {
    background: linear-gradient(to right, #f39c12, #f1c40f);
    color: #111;
    font-weight: bold;
}

.position-label {
    background-color: #16a085;
}

.race-label {
    background-color: #d35400;
}

.birthplace-label {
    background-color: #27ae60;
}

.group-label {
    background-color: #c0392b;
}

/* 标签区域布局 */
.operator-tags-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}

/* 现有的标签样式优化 */
.tag-pill {
    background-color: #3498db;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 滑动条样式 */
.slider-container {
    width: 100%;
    margin-top: 5px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--rhodes-gray);
    outline: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    -webkit-appearance: none;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--rhodes-blue);
    cursor: pointer;
    transition: background 0.2s;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--rhodes-blue);
    cursor: pointer;
    transition: background 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    background: var(--rhodes-light-blue);
}

.slider::-moz-range-thumb:hover {
    background: var(--rhodes-light-blue);
}

.slider-value {
    min-width: 60px;
    text-align: right;
    font-size: 0.9em;
    color: var(--rhodes-light-gray);
    margin-top: 0;
}

@media (max-width: 992px) {
    .battle-stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .battle-operator-stats {
        max-width: 100%;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .battle-chart-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 15px auto;
        order: -1;
        height: 350px;
    }
}

/* 增强选择后的视觉反馈 */
select:valid {
    border-color: rgba(78, 156, 255, 0.5);
}

/* 滚动条样式 */
select::-webkit-scrollbar {
    width: 8px;
    border: none;
    background: transparent;
}

select::-webkit-scrollbar-track {
    background: rgba(30, 34, 40, 0.97);
    border-radius: 4px;
    border: none;
    margin: 0;
}

select::-webkit-scrollbar-thumb {
    background: rgba(78, 156, 255, 0.4);
    border-radius: 4px;
    border: none;
}

select::-webkit-scrollbar-thumb:hover {
    background: rgba(78, 156, 255, 0.6);
}

/* 修复下拉框列表中的白边问题 */
select optgroup,
select option,
select,
.select-container {
    margin: 0;
    border-radius: 5px;
    outline: 0;
}

/* 确保下拉选择器正确的边框颜色 */
select:focus, select:active {
    outline: none; 
    box-shadow: 0 5px 15px rgba(78, 156, 255, 0.2);
    border-color: var(--rhodes-blue);
} 