* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', sans-serif;
}
body {
    background-color: #0c0c0c;
    color: #f0e6d2;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%231a1a1a"/><path d="M0 0L100 100M100 0L0 100" stroke="%23333" stroke-width="1"/></svg>');
    min-height: 100vh;
    padding: 10px;
}
.container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 10px;
    max-width: 1600px;
    margin: 0 auto;
    height: 95vh;
}
.header {
    grid-column: 1 / span 2;
    background: linear-gradient(to right, #3a0c0c, #5a1c1c, #3a0c0c);
    border: 2px solid #8b4513;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.5);
}
.game-title {
    font-size: 2.5rem;
    color: #ffcc00;
    text-shadow: 2px 2px 4px #000;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.game-subtitle {
    font-size: 1.2rem;
    color: #ff9900;
    text-shadow: 1px 1px 2px #000;
}
.main-content {
    background-color: rgba(20, 15, 10, 0.9);
    border: 2px solid #8b4513;
    border-radius: 5px;
    padding: 15px;
    overflow-y: auto;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.panel {
    background-color: rgba(30, 20, 15, 0.9);
    border: 2px solid #8b4513;
    border-radius: 5px;
    padding: 15px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}
.panel-title {
    color: #ff9900;
    border-bottom: 1px solid #8b4513;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #444;
}
.stat-value {
    color: #ffcc00;
    font-weight: bold;
}
.button {
    background: linear-gradient(to bottom, #5a1c1c, #3a0c0c);
    color: #ffcc00;
    border: 1px solid #8b4513;
    border-radius: 3px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    margin: 3px;
    text-align: center;
}
.button:hover {
    background: linear-gradient(to bottom, #6a2c2c, #4a1c1c);
    box-shadow: 0 0 8px rgba(255, 100, 0, 0.5);
}
.button:active {
    transform: translateY(1px);
}
.button-small {
    padding: 5px 8px;
    font-size: 0.9rem;
}
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.equipment-slot {
    background-color: rgba(40, 30, 20, 0.8);
    border: 1px solid #8b4513;
    border-radius: 3px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.equipment-slot:hover {
    background-color: rgba(60, 40, 25, 0.9);
    border-color: #ff9900;
}
.equipment-name {
    font-size: 0.8rem;
    color: #ffcc00;
    margin-top: 3px;
}
.log {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #444;
    border-radius: 3px;
    padding: 10px;
    height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}
.log-entry {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #333;
}
.log-entry-system {
    color: #00ccff;
}
.log-entry-combat {
    color: #ff9900;
}
.log-entry-loot {
    color: #00ff00;
}
.log-entry-damage {
    color: #ff3333;
}
.log-entry-damagebold {
    color: #ff3333;
    font-weight: bold;
}
.log-entry-heal {
    color: #33ff33;
}
.log-entry-monster {
    color: #ff66cc;
}
.log-entry-monsterbold {
    color: #ff66cc;
    font-weight: bold;
}
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #333;
    border-radius: 3px;
    overflow: hidden;
    margin: 5px 0;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #cc0000, #ff3300);
    transition: width 0.5s;
}
.hp-bar {
    background: linear-gradient(to right, #006600, #00cc00);
}
.mp-bar {
    background: linear-gradient(to right, #000066, #0066cc);
}
.exp-bar {
    background: linear-gradient(to right, #654321, #daa520);
}
.monster-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(60, 30, 30, 0.7);
    border-radius: 5px;
}
.monster-name {
    font-size: 1.2rem;
    color: #ff3333;
    font-weight: bold;
}
.summon-info {
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(30, 50, 30, 0.7);
    border-radius: 5px;
    border: 1px solid #2a5a2a;
}
.summon-name {
    font-size: 1.1rem;
    color: #66cc66;
    font-weight: bold;
    margin-bottom: 5px;
}
.summon-hp-bar {
    background: linear-gradient(to right, #2a5a2a, #66cc66);
}
.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background-color: rgba(40, 30, 20, 0.8);
    border-radius: 3px;
    margin-bottom: 5px;
    border: 1px solid transparent;
    cursor: pointer;
}
.skill-item:hover {
    background-color: rgba(60, 40, 25, 0.9);
}
.skill-item.active {
    border-color: #ff9900;
    background-color: rgba(60, 40, 20, 0.9);
}
.skill-level {
    color: #00ccff;
    font-weight: bold;
}
.map-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}
.map-item {
    padding: 10px;
    background-color: rgba(40, 30, 20, 0.8);
    border: 1px solid #8b4513;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.map-item:hover {
    background-color: rgba(60, 40, 25, 0.9);
    transform: translateY(-2px);
}
.map-item.active {
    background-color: rgba(80, 40, 20, 0.9);
    border-color: #ff9900;
    box-shadow: 0 0 8px rgba(255, 100, 0, 0.5);
}
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
}
.inventory-item {
    background-color: rgba(50, 40, 30, 0.8);
    border: 1px solid #8b4513;
    border-radius: 3px;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    position: relative;
}
.inventory-item:hover {
    background-color: rgba(70, 50, 35, 0.9);
    border-color: #ff9900;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #1a120a;
    border: 3px solid #8b4513;
    border-radius: 10px;
    padding: 20px;
    width: 800px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}
.modal-title {
    color: #ff9900;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #8b4513;
    padding-bottom: 10px;
}
.input-group {
    margin-bottom: 15px;
}
.input-label {
    display: block;
    margin-bottom: 5px;
    color: #ffcc00;
}
.input-field {
    width: 100%;
    padding: 8px;
    background-color: #2a1a0a;
    border: 1px solid #8b4513;
    border-radius: 3px;
    color: #ffcc00;
}
.textarea-field {
    width: 100%;
    height: 150px;
    padding: 8px;
    background-color: #2a1a0a;
    border: 1px solid #8b4513;
    border-radius: 3px;
    color: #ffcc00;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
}
.shop-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: rgba(40, 30, 20, 0.8);
    border-radius: 3px;
    margin-bottom: 8px;
    border: 1px solid #444;
}
.shop-item:hover {
    background-color: rgba(60, 40, 25, 0.9);
}
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(30, 20, 10, 0.9);
    border: 2px solid #ff9900;
    border-radius: 5px;
    padding: 15px;
    color: #ffcc00;
    font-weight: bold;
    z-index: 200;
    display: none;
    box-shadow: 0 0 15px rgba(255, 100, 0, 0.7);
}
/* 装备详情样式 */
.item-detail {
    background-color: rgba(30, 20, 15, 0.95);
    border: 2px solid #8b4513;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}
.item-name {
    font-size: 1.2rem;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #8b4513;
}
.item-name.supreme {
    color: #ff3366;
    text-shadow: 0 0 5px #ff3366;
}
.item-name.rare {
    color: #ff9900;
    text-shadow: 0 0 5px #ff9900;
}
.item-name.normal {
    color: #ffcc00;
}
.item-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0;
}
.item-stat {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #444;
}
.item-stat-label {
    color: #aaa;
}
.item-stat-value {
    color: #ffcc00;
    font-weight: bold;
}
.item-stat-value.enhanced {
    color: #33ff33;
}
.item-stat-value.supreme {
    color: #ff66cc;
}
.item-description {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #444;
}
.item-durability {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #aaa;
}
.item-value {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #ffcc00;
}
.item-type {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #00ccff;
}
.item-bonus {
    margin-top: 8px;
    padding: 5px;
    background-color: rgba(0, 100, 0, 0.2);
    border-radius: 3px;
    border-left: 3px solid #00ff00;
}
.item-bonus-text {
    color: #00ff00;
    font-size: 0.9rem;
}
.item-supreme-bonus {
    margin-top: 8px;
    padding: 5px;
    background-color: rgba(100, 0, 50, 0.2);
    border-radius: 3px;
    border-left: 3px solid #ff66cc;
}
.item-supreme-bonus-text {
    color: #ff66cc;
    font-size: 0.9rem;
    font-weight: bold;
}
.item-rarity {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
}
.rarity-normal {
    background-color: #555;
    color: #ccc;
}
.rarity-rare {
    background-color: #006600;
    color: #00ff00;
}
.rarity-supreme {
    background-color: #660066;
    color: #ff66ff;
}
/* 装备图鉴样式 */
.equipment-library {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}
.equipment-category {
    grid-column: 1 / -1;
    background-color: rgba(60, 40, 20, 0.8);
    border: 1px solid #8b4513;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}
.category-title {
    color: #ff9900;
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #8b4513;
}
.equipment-library-item {
    background-color: rgba(40, 30, 20, 0.8);
    border: 1px solid #8b4513;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.equipment-library-item:hover {
    background-color: rgba(60, 40, 25, 0.9);
    border-color: #ff9900;
    transform: translateY(-2px);
}
.library-item-name {
    font-weight: bold;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 5px;
}
.library-item-stats {
    font-size: 0.8rem;
    color: #aaa;
}
.library-item-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}
.library-item-value {
    color: #ffcc00;
}
.library-item-value.enhanced {
    color: #33ff33;
}
.library-item-value.supreme {
    color: #ff66cc;
}
.equipment-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}
.comparison-column {
    background-color: rgba(40, 30, 20, 0.8);
    border: 1px solid #8b4513;
    border-radius: 5px;
    padding: 10px;
}
.comparison-title {
    color: #ff9900;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #8b4513;
}
.tab-container {
    display: flex;
    border-bottom: 1px solid #8b4513;
    margin-bottom: 15px;
}
.tab {
    padding: 8px 15px;
    background-color: rgba(40, 30, 20, 0.8);
    border: 1px solid transparent;
    border-bottom: none;
    cursor: pointer;
    color: #ffcc00;
    transition: all 0.2s;
}
.tab:hover {
    background-color: rgba(60, 40, 25, 0.9);
}
.tab.active {
    background-color: rgba(80, 40, 20, 0.9);
    border-color: #8b4513;
    border-bottom-color: rgba(80, 40, 20, 0.9);
    margin-bottom: -1px;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
/* 鼠标悬停提示框样式 */
.item-tooltip {
    position: absolute;
    background-color: rgba(30, 20, 15, 0.95);
    border: 2px solid #8b4513;
    border-radius: 5px;
    padding: 10px;
    width: 250px;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    display: none;
}
.tooltip-name {
    font-size: 1rem;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #8b4513;
}
.tooltip-stats {
    font-size: 0.8rem;
    color: #aaa;
}
.tooltip-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}
.tooltip-stat-label {
    color: #aaa;
}
.tooltip-stat-value {
    color: #ffcc00;
}
.tooltip-stat-value.enhanced {
    color: #33ff33;
}
.tooltip-stat-value.supreme {
    color: #ff66cc;
}
/* 爆率信息样式 */
.drop-rate-info {
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(40, 30, 20, 0.8);
    border: 1px solid #8b4513;
    border-radius: 5px;
}
.drop-rate-title {
    color: #ff9900;
    font-size: 1rem;
    margin-bottom: 8px;
}
.drop-rate-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.8rem;
}
.drop-rate-name {
    color: #ffcc00;
}
.drop-rate-chance {
    color: #00ccff;
}
/* 怪物图鉴样式 */
.monster-library {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}
.monster-library-item {
    background-color: rgba(40, 30, 20, 0.8);
    border: 1px solid #8b4513;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.monster-library-item:hover {
    background-color: rgba(60, 40, 25, 0.9);
    border-color: #ff9900;
    transform: translateY(-2px);
}
.monster-library-item.boss {
    border-color: #ff3333;
    background-color: rgba(80, 30, 30, 0.9);
}
.monster-library-item.elite {
    border-color: #ff9900;
    background-color: rgba(80, 50, 20, 0.9);
}
.library-monster-name {
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}
.library-monster-name.normal {
    color: #ffcc00;
}
.library-monster-name.elite {
    color: #ff9900;
    text-shadow: 0 0 3px #ff9900;
}
.library-monster-name.boss {
    color: #ff3333;
    text-shadow: 0 0 3px #ff3333;
}
.library-monster-stats {
    font-size: 0.8rem;
    color: #aaa;
}
.library-monster-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}
.library-monster-value {
    color: #ffcc00;
}
.monster-detail-drops {
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(40, 30, 20, 0.8);
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
}
.monster-drop-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.8rem;
}
/* 技能图鉴样式 */
.skill-library {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}
.skill-library-item {
    background-color: rgba(40, 30, 20, 0.8);
    border: 1px solid #8b4513;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.skill-library-item:hover {
    background-color: rgba(60, 40, 25, 0.9);
    border-color: #ff9900;
    transform: translateY(-2px);
}
.library-skill-name {
    font-weight: bold;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 8px;
}
.library-skill-info {
    font-size: 0.8rem;
    color: #aaa;
}
.library-skill-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}
.library-skill-value {
    color: #ffcc00;
}
.skill-detail-effects {
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(40, 30, 20, 0.8);
    border-radius: 5px;
}
.skill-effect-item {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #aaa;
}
.skill-detail-description {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 10px;
    padding-top: 10px;
}
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
        height: auto;
        min-height: 100vh;
    }
    .header {
        grid-column: 1;
    }
    .sidebar {
        grid-row: 2;
    }
    .main-content {
        grid-row: 3;
    }
    .equipment-library,
    .monster-library {
        grid-template-columns: repeat(3, 1fr);
    }
    .skill-library {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .equipment-library,
    .monster-library {
        grid-template-columns: repeat(2, 1fr);
    }
    .skill-library {
        grid-template-columns: 1fr;
    }
    .equipment-comparison {
        grid-template-columns: 1fr;
    }
}
/* 怪物图鉴标签容器样式修改 */
#monster-library-modal .tab-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 5px;
	border-bottom: none;
	margin-bottom: 15px;
}
#monster-library-modal .tab {
	padding: 8px 5px;
	background-color: rgba(40, 30, 20, 0.8);
	border: 1px solid #8b4513;
	border-radius: 3px;
	cursor: pointer;
	color: #ffcc00;
	transition: all 0.2s;
	text-align: center;
	font-size: 0.9rem;
	margin: 0;
}
#monster-library-modal .tab:hover {
	background-color: rgba(60, 40, 25, 0.9);
	border-color: #ff9900;
}
#monster-library-modal .tab.active {
	background-color: rgba(80, 40, 20, 0.9);
	border-color: #ff9900;
	color: #ff9900;
	box-shadow: 0 0 8px rgba(255, 100, 0, 0.5);
}
/* 移动端适配 */
@media (max-width: 768px) {
	#monster-library-modal .tab-container {
		grid-template-columns: repeat(2, 1fr);
	}
}	
/* 统一所有图鉴的标签容器样式 */
#equipment-library-modal .tab-container,
#skill-library-modal .tab-container {
	display: grid;
	gap: 5px;
	border-bottom: none;
	margin-bottom: 15px;
}
/* 装备图鉴标签布局 - 6个标签分成两行 */
#equipment-library-modal .tab-container {
	grid-template-columns: repeat(4, 1fr);
}
/* 技能图鉴标签布局 - 2个标签在一行 */
#skill-library-modal .tab-container {
	grid-template-columns: repeat(2, 1fr);
}
/* 统一标签样式 */
#equipment-library-modal .tab,
#skill-library-modal .tab {
	padding: 10px 5px;
	background-color: rgba(40, 30, 20, 0.8);
	border: 1px solid #8b4513;
	border-radius: 3px;
	cursor: pointer;
	color: #ffcc00;
	transition: all 0.2s;
	text-align: center;
	font-size: 0.9rem;
	margin: 0;
}
#equipment-library-modal .tab:hover,
#skill-library-modal .tab:hover {
	background-color: rgba(60, 40, 25, 0.9);
	border-color: #ff9900;
}
#equipment-library-modal .tab.active,
#skill-library-modal .tab.active {
	background-color: rgba(80, 40, 20, 0.9);
	border-color: #ff9900;
	color: #ff9900;
	box-shadow: 0 0 8px rgba(255, 100, 0, 0.5);
}
/* 移动端适配 */
@media (max-width: 768px) {
	/* 装备图鉴在移动端改为2列 */
	#equipment-library-modal .tab-container {
		grid-template-columns: repeat(2, 1fr);
	}
	/* 技能图鉴在移动端保持2列 */
	#skill-library-modal .tab-container {
		grid-template-columns: repeat(2, 1fr);
	}
	#equipment-library-modal .tab,
	#skill-library-modal .tab {
		padding: 8px 3px;
		font-size: 0.85rem;
	}
}
/* 小屏幕手机适配 */
@media (max-width: 480px) {
	#equipment-library-modal .tab,
	#skill-library-modal .tab {
		padding: 6px 2px;
		font-size: 0.8rem;
	}
}
/* 图鉴内容区 */
.equipment-library {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	max-height: 500px;
	overflow-y: auto;
	padding: 10px;
	background-color: rgba(30, 20, 15, 0.8);
	border-radius: 5px;
	border: 1px solid #8b4513;
}
.skill-library {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	max-height: 500px;
	overflow-y: auto;
	padding: 10px;
	background-color: rgba(30, 20, 15, 0.8);
	border-radius: 5px;
	border: 1px solid #8b4513;
}
/* 移动端适配 */
@media (max-width: 768px) {
	.equipment-library {
		grid-template-columns: repeat(2, 1fr);
	}
	.skill-library {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px) {
	.equipment-library,
	.skill-library {
		grid-template-columns: 1fr;
	}
}
/* 商店购买 */
.button-very-small {
    padding: 3px 6px;
    font-size: 0.75rem;
    min-width: 40px;
}
/* 设置模态框样式 */
.setting-item {
    margin-bottom: 20px;
}
.setting-label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #ccc;
}
.setting-control {
    margin: 10px 0;
}
.setting-description {
    margin-top: 5px;
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
}
.settings-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}
.settings-buttons .button {
    flex: 1;
}
/* 在线详情样式 */
.online-detail {
    background-color: rgba(30, 20, 15, 0.95);
    border: 2px solid #8b4513;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    overflow-x: auto;
}
.online-table {
    width: 100%;
    border-collapse: collapse;
    color: #f0e6d2;
    font-size: 0.9rem;
}
.online-table th {
    background-color: rgba(60, 40, 20, 0.9);
    color: #ff9900;
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #8b4513;
    font-weight: bold;
}
.online-table td {
    padding: 8px 12px;
    border: 1px solid #8b4513;
    background-color: rgba(40, 30, 20, 0.8);
}
.online-table tr:hover td {
    background-color: rgba(60, 40, 25, 0.9);
}
.online-count {
    margin-top: 10px;
    text-align: center;
    color: #ffcc00;
    font-weight: bold;
}
.online-refresh-btn {
    background: linear-gradient(to bottom, #5a1c1c, #3a0c0c);
    color: #ffcc00;
    border: 1px solid #8b4513;
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 10px;
    transition: all 0.2s;
}
.online-refresh-btn:hover {
    background: linear-gradient(to bottom, #6a2c2c, #4a1c1c);
    box-shadow: 0 0 8px rgba(255, 100, 0, 0.5);
}