/* 云顶之弈伤害计算器 - 样式文件 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    background-color: #212637;
    color: #CFD3DC;
    color-scheme: dark;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.title-bg {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    margin: 0;
    color: #E5EAF3;
}

@media (max-width: 640px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .page-title {
        font-size: 18px;
    }
}

header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 30px;
    color: #E5EAF3;
    font-weight: 700;
}

.menu-select-wrapper{
    display: flex;
    gap: 30px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.content-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.left-columns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 0; /* 允许flex收缩 */
}

.config-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.hero-config-column,
.battle-config-column {
    flex: 1;
    min-width: 0; /* 允许flex收缩 */
}

.result-area {
    width: 100%;
}

.right-panel {
    flex: 1;
    min-width: 0; /* 允许flex收缩 */
}

.panel-section {
    background: #000000a6;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-x: auto; /* 允许横向滚动（如果需要） */
    word-wrap: break-word; /* 允许长文本换行 */
}

.panel-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #E5EAF3;
    border-bottom: 2px solid #cbb46c;
    padding-bottom: 8px;
}

.panel-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #E5EAF3;
}

.config-group {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.form-group2{
    display: flex;
    gap: 10px;
}

.form-group2 .label {
    font-size: 14px;
    line-height: 25px;
    color: #CFD3DC;
}

.debug-field {
    margin-bottom: 10px;
}

.debug-field label {
    display: inline-block;
    width: 150px;
    font-size: 12px;
    vertical-align: middle;
}

input[type="radio"],
input[type="checkbox"] {
    accent-color: #cbb46c;
}

input[type="range"] {
    width: 100%;
    margin-right: 10px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 24px;
    padding: 6px 0;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background-color: #3e4458;
    border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background-color: #E5EAF3;
    border: 2px solid #cbb46c;
    border-radius: 50%;
    margin-top: -5px;
}

input[type="range"]::-moz-range-track {
    height: 4px;
    background-color: #3e4458;
    border-radius: 4px;
}

input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background-color: #E5EAF3;
    border: 2px solid #cbb46c;
    border-radius: 50%;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
    background-color: #4a5166;
}

input[type="range"]:focus::-moz-range-track {
    background-color: #4a5166;
}

input[type="text"],
input[type="number"] {
    padding: 8px 12px;
    background-color: #2a3042;
    color: #E5EAF3;
    border: 1px solid #3e4458;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

select {
    padding: 8px 12px;
    background-color: #2a3042;
    color: #E5EAF3;
    border: 1px solid #3e4458;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23E5EAF3' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5'/></svg>");
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 36px;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: #cbb46c;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
    background-color: #252b3a;
}

input::placeholder {
    color: #A8B0C2;
    opacity: 1;
}

.radio-group {
    display: flex;
    gap: 15px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.btn-primary {
    width: 100%;
    padding: 10px;
    background-color: #cbb46c;
    color: black;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #bda65e;
}

.btn-primary:active {
    background-color: #bda65e;
}

.result-text {
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    background-color: #1a1f2e;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #2a3042;
}

/* 计算结果 - 标题区域 */
.result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #3e4458;
}

.result-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #cbb46c, #a89545);
    color: #1a1f2e;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
}

.result-hero-name {
    font-size: 18px;
    font-weight: 600;
    color: #E5EAF3;
}

/* 计算结果 - 统计网格 */
.result-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.result-stat-item {
    display: flex;
    flex-direction: column;
    background: #252b3a;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #3e4458;
    transition: border-color 0.2s;
}

.result-stat-item:hover {
    border-color: #4a5166;
}

.result-stat-item.highlight {
    background: linear-gradient(135deg, #2a3550, #1e2840);
    border-color: #cbb46c;
}

.result-stat-item .stat-label {
    font-size: 12px;
    color: #A8B0C2;
    margin-bottom: 4px;
}

.result-stat-item .stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #E5EAF3;
}

.result-stat-item.highlight .stat-value {
    color: #cbb46c;
}

/* 计算结果 - 伤害构成区域 */
.result-breakdown {
    background: #252b3a;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #3e4458;
}

.breakdown-title {
    font-size: 13px;
    color: #A8B0C2;
    margin-bottom: 10px;
    font-weight: 500;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
}

.breakdown-item:not(:last-child) {
    border-bottom: 1px solid #2a3042;
}

.breakdown-label {
    flex: 0 0 auto;
    min-width: 60px;
    max-width: 150px;
    color: #CFD3DC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breakdown-bar-container {
    flex: 1;
    height: 6px;
    background: #1a1f2e;
    border-radius: 3px;
    overflow: hidden;
}

.breakdown-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #cbb46c, #e6d088);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.breakdown-value {
    flex: 0 0 45px;
    text-align: right;
    color: #cbb46c;
    font-weight: 500;
}

.breakdown-amount {
    flex: 0 0 60px;
    text-align: right;
    color: #A8B0C2;
    font-size: 12px;
}

.preview-section {
    margin-top: 20px;
}

.preview-text {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px !important;
    line-height: 1.6;
    white-space: pre-wrap;
    max-height: 600px;
    overflow-y: auto;
    background-color: #403b3b5c;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.preview-text.active {
    background-color: #292218;
    border: 1px solid #3e301c;
    color: #e6a23c;
}

#damage-chart,
#comparison-chart {
    max-height: 800px;
    height: 800px;
}

/* 装备槽样式 */
.equipment-slot {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
    align-items: center;
}

.equipment-slot input[type="text"] {
    flex: 1;
    min-width: 0;
}

.equipment-slot select {
    flex: 1;
    min-width: 0;
}

.equipment-slot button {
    flex: 0 0 25px;
    height: 25px;
    padding: 0;
    background-color: #F56C6C;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.equipment-slot button:hover {
    background-color: #c0392b;
}

/* 羁绊按钮组 */
.trait-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trait-buttons label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* 装备类型筛选 */
.equipment-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.equipment-filters label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .content-row {
        flex-direction: column;
    }
    
    .left-columns {
        width: 100%;
    }
    
    .right-panel {
        width: 100%;
    }
    
    .config-row {
        flex-direction: column;
    }
    
    .hero-config-column,
    .battle-config-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .panel-section {
        padding: 15px;
    }
    
    .result-text,
    .preview-text {
        font-size: 12px;
    }
    
    #damage-chart {
        max-height: 500px;
        height: 500px;
    }
    
    .preview-text {
        max-height: 400px;
    }
}

/* ==================== 原始数据技能描述样式 ==================== */
/* 这些样式用于渲染原始数据中的 skillDetail2 HTML */

.skill-raw-description {
    font-size: 13px;
    line-height: 1.6;
    color: #ddd;
    background: #1a1a2e;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* 魔法伤害 - 蓝色 */
.skill-raw-description magicDamage,
.skill-raw-description magicdamage {
    color: #5c9cff;
    font-weight: bold;
}

/* 物理伤害 - 橙色 */
.skill-raw-description physicalDamage,
.skill-raw-description physicaldamage {
    color: #ff9c5c;
    font-weight: bold;
}

/* 真实伤害 - 白色 */
.skill-raw-description trueDamage,
.skill-raw-description truedamage {
    color: #fff;
    font-weight: bold;
}

/* 加成数值 - 金色 */
.skill-raw-description TFTBonus,
.skill-raw-description tftbonus {
    color: #ffd700;
    font-weight: bold;
}

/* 关键词 - 青色 */
.skill-raw-description TFTKeyword,
.skill-raw-description tftkeyword {
    color: #00d4aa;
    font-weight: bold;
}

/* 被动技能 - 黄色 */
.skill-raw-description spellPassive,
.skill-raw-description spellpassive {
    color: #f0e68c;
    font-weight: bold;
}

/* 主动技能 - 绿色 */
.skill-raw-description spellActive,
.skill-raw-description spellactive {
    color: #90ee90;
    font-weight: bold;
}

/* 生命值缩放 - 绿色 */
.skill-raw-description scaleHealth,
.skill-raw-description scalehealth {
    color: #3ddc84;
}

/* 法强缩放 - 蓝色 */
.skill-raw-description scaleLevel,
.skill-raw-description scalelevel {
    color: #7dabff;
}

/* 攻击力缩放 - 橙色 */
.skill-raw-description scaleAD,
.skill-raw-description scalead {
    color: #ffb366;
}

/* 分隔线 */
.skill-raw-description .skill-divider {
    border-top: 1px solid #444;
    margin: 10px 0;
}

/* 详情行 */
.skill-raw-description .skill-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

/* 白色文字 */
.skill-raw-description .skill-text-white1 {
    color: #fff;
    font-weight: bold;
}

.skill-raw-description .skill-text-white2 {
    color: #aaa;
    font-size: 12px;
}

/* 确保内联样式颜色能够正确显示（内联样式优先级最高，但需要确保不被其他规则覆盖） */
/* 特殊颜色标记（如荧焰、断魄等） */
.skill-raw-description span[style*="color:#4B94DB"],
.skill-raw-description span[style*="color: #4B94DB"] {
    color: #4B94DB !important;
}

.skill-raw-description span[style*="color:#cc21b1"],
.skill-raw-description span[style*="color: #cc21b1"] {
    color: #cc21b1 !important;
}

.skill-raw-description span[style*="color:#d086ce"],
.skill-raw-description span[style*="color: #d086ce"] {
    color: #d086ce !important;
}


.miplus-img-span {
    margin-left: -10px;
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
}

.miplus-attr-img {
    height: 12px;
    width: 12px;
}

.miplus-attr-img-star {
    height: 10px;
    width: 30px;
}

.miplus-img-span:before {
    content: '\3000';
}

.miplus-health {
    color: #1d8e53;
}

.miplus-rules {
    color: #888;
    font-style: italic;
}

.miplus-itemrules {
    color: #777;
    font-style: italic;
}

.miplus-magicDamage {
    color: #6f62fd;
}

.miplus-scaleMana {
    color: #4B94DB;
}

.miplus-keyword {
    color: #cba393;
}

.miplus-skill {
    color: #bfa888;
}

.miplus-bonus {
    color: #f0c000;
}

.miplus-physicalDamage {
    color: #e58330;
}

.miplus-scaleLevel {
    color: #cba393;
}

.miplus-trueDamage {
    color: #fffbd1;
}

.miplus-scaleShimmer {
    color: #cc21b1;
}

.miplus-radiant {
    color: #f7d865;
}

.miplus-shadow {
    color: #31dfdb;
}

.trait-level-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    line-height: 1;
    text-align: center;
    border-radius: 3px;
    margin-right: 10px;
    font-size: 12px;
    flex-shrink: 0;
}

.trait-level-num-1 {
    border: 1px solid #a5644a;
    background-color: #7f4f3e;
}

.trait-level-num-2 {
    border: 1px solid #a7a399;
    background-color: #818181;
}

.trait-level-num-3 {
    border: 1px solid #ae8b42;
    background-color: #ae8b42;
}

.trait-level-num-4 {
    border: 1px solid #60dace;
    background-color: #d4f6f1;
    color: #1c1c1c;
}

.trait-group-label {
    display: block;
    margin-bottom: 8px;
    cursor: help;
    position: relative;
    font-size: 14px;
    border-left: 2px solid #aa9041;
    padding-left: 8px;
}

.trait-radio-card {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #3e4458;
    background: #242a3b;
    color: #E5EAF3;
}

.trait-radio-card:hover {
    background: #2a3042;
    color: #cbb46c;
    border-color: #cbb46c;
}
.equip-filter-card:hover {
    color: inherit;
    border-color: inherit;
}
.trait-radio-card--selected {
    background: #2a3042;
    color: #cbb46c !important;
    border-color: #cbb46c !important;
    font-weight: bold !important;
}

.trait-radio-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.combo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    cursor: pointer;
    color: #E5EAF3;
    font-size: 14px;
}
.combo-item:hover {
    background: #2a3042;
}
.combo-item__img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
}

/* Hex Selector (Dark Mode) */
.hex-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
    overflow-y: auto;
}
.hex-modal__content {
    position: relative;
    margin: 48px auto;
    max-width: 1000px;
    max-height: 90%;
    background: #1e2434;
    border: 1px solid #3e4458;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.45);
    color: #E5EAF3;
}
.hex-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3e4458;
}
.hex-modal__title { margin: 0; font-size: 16px; color: #E5EAF3; }
.hex-modal__close {
    background: none;
    border: none;
    font-size: 22px;
    color: #A8B0C2;
    cursor: pointer;
    width: 30px; height: 30px; line-height: 30px;
}
.hex-modal__close:hover { color: #cbb46c; }
.hex-modal__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    max-height: 50vh;
    overflow-y: auto;
}
.hex-modal__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid #3e4458;
}
.hex-modal__confirm {
    padding: 4px 26px;
    background: #cbb46c;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.hex-modal__confirm:hover {
    background: #bda65e;
}

.hex-filter { display:flex; flex-direction:column; gap:12px; }
.hex-filter__section { display:flex; gap:10px; align-items:center; }
.hex-filter__label { font-size: 14px; color:#A8B0C2; }
.hex-filter__buttons { display:flex; gap:10px; }
.hex-filter__btn {
    padding: 3px 12px;
    border: 1px solid #4c4d4f;
    border-radius: 6px;
    background: #242a3b;
    color: #E5EAF3;
    cursor: pointer;
    font-size: 12px;
}
.hex-filter__btn:hover { border-color:#cbb46c; color:#cbb46c; }
.hex-filter__btn.is-active { background:#2a3042; border-color:#cbb46c; color:#cbb46c; }

.hex-search { margin-top: 12px; display:flex; align-items:center; gap:10px; }
.hex-search__label { font-size:14px; color:#A8B0C2; }
.hex-search__input {
    flex:1; padding:8px; background:#2a3042; color:#E5EAF3;
    border:1px solid #3e4458; border-radius:6px; font-size:14px;
}

.hex-list-empty { width:100%; text-align:center; color:#999; padding:36px 0; }

.hex-item {
    position: relative;
    flex: 0 0 calc(33.333% - 7px);
    padding: 10px;
    border: 1px solid #3e4458;
    border-radius: 6px;
    background: #242a3b;
    transition: all 0.2s;
}
.hex-item.is-selected { border-color:#cbb46c; box-shadow:0 0 0 2px rgba(52,152,219,0.25); }
.hex-item.is-disabled { opacity:0.6; cursor:not-allowed; }
.hex-item:not(.is-disabled) { cursor:pointer; }
.hex-item__name { font-size:14px; font-weight:bold; color:#E5EAF3; margin-bottom:6px; }
.hex-item__desc { font-size:12px; color:#A8B0C2; line-height:1.5; margin-bottom:6px; }
.hex-item__round { font-size:11px; color:#999; margin-top:4px; }
.hex-item__check {
    position:absolute; top:6px; right:6px; width:20px; height:20px;
    background:#4CAF50; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px;
}

.team-trait-group{
    margin-top: 0px;
    margin-bottom: 15px;
    position: relative;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #4C4D4F;
    background-color: #403b3b5c;
}

.form-group-enemy-params{
    display: flex;
    gap: 14px;
    label{
        white-space: nowrap;
    }
}

.hextech-slots{
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.hex-slot {
    position: relative;
    padding: 6px 9px;
    border-radius: 5px;
    font-size: 12px;
    border: 1px solid #3e4458;
    background: #242a3b;
    color: #E5EAF3;
    display: flex;
    align-items: center;
}
.hex-slot__tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
    padding: 8px 12px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    max-width: 300px;
    z-index: 1000;
    pointer-events: none;
}
.hex-slot__tooltip.is-open { display: block; }
.hex-slot__delete {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    padding: 0;
    background: #F56C6C;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.hex-slots-empty { font-size:12px; color:#999; }
.hex-slot--clickable { cursor:pointer; }
.hex-slot__img { width:24px; height:24px; border-radius:4px; object-fit:cover; margin-right:6px; }
.hex-slot-tooltip {
    display:none;
    position:fixed;
    z-index:10000;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color:#fff;
    padding:12px 16px;
    border-radius:8px;
    box-shadow:0 4px 16px rgba(0,0,0,0.6);
    max-width:360px;
    min-width:280px;
    font-size:13px;
    line-height:1.6;
    pointer-events:none;
}
.hex-slot-tooltip.is-measure { display:block; visibility:hidden; }
.hex-slot-tooltip.is-open { display:block; visibility:visible; }
.hex-tooltip__name { font-weight:bold; font-size:16px; color:#fff; }
.hex-tooltip__tier { font-size:12px; color:#aaa; margin-bottom:8px; }
.hex-tooltip__desc { color:#ddd; line-height:1.5; }
.hex-tooltip__header { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.hex-tooltip__img { width:28px; height:28px; border-radius:4px; object-fit:cover; }

/* Hex Equip Select Dialog (Dark Mode) */
.hex-equip-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.55);
    z-index: 10001;
}
.hex-equip__content {
    background: #1e2434;
    border: 1px solid #3e4458;
    border-radius: 8px;
    max-width: 520px;
    width: 92%;
    padding: 16px;
    color: #E5EAF3;
    box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}
.hex-equip__title { margin: 0 0 12px 0; font-size: 16px; color: #E5EAF3; }
.hex-equip__desc { margin: 0 0 12px 0; color: #A8B0C2; font-size: 14px; }
.hex-equip__notice { margin: 0 0 12px 0; color: #cbb46c; font-size: 14px; font-weight: bold; }
.hex-equip__select {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    background: #2a3042;
    color: #E5EAF3;
    border: 1px solid #3e4458;
    border-radius: 6px;
}
.hex-equip__slot-label { display:block; margin-bottom:8px; font-size:14px; color:#E5EAF3; }
.hex-equip__buttons { display:flex; gap:10px; justify-content:flex-end; }
.hex-equip__confirm {
    padding: 8px 16px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.hex-equip__confirm:hover { background:#cbb46c; }
.hex-equip__cancel {
    padding: 8px 16px;
    background: #4c4d4f;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.hex-equip__cancel:hover { background:#5b5c5e; }

.equip-type-option-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
