.cultivation-modal-box {
    max-width: 600px;
    width: 95%;
}

.cultivation-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.cultivation-tab {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid #444;
    border-radius: 6px 6px 0 0;
    color: #aaa;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.cultivation-tab:hover {
    color: #ddd;
    background: #2a2a2a;
}

.cultivation-tab.active {
    color: #ffd700;
    background: #1a1a2e;
    border-color: #ffd700;
    border-bottom-color: #1a1a2e;
}

.cultivation-panel {
    display: none;
}

.cultivation-panel.active {
    display: block;
}

.realm-exp-bar {
    background: #1a1a2e;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: center;
    color: #b0b0b0;
    font-size: 13px;
}

.realm-exp-bar b {
    color: #ffd700;
}

.method-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.method-slot {
    background: #1a1a2e;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.2s;
}

.method-slot.occupied {
    cursor: default;
}

.method-slot.empty {
    border-style: dashed;
    opacity: 0.6;
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
}

.slot-name {
    color: #888;
    font-weight: bold;
}

.slot-req {
    color: #666;
    font-size: 11px;
}

.method-quality {
    font-size: 11px;
    font-weight: bold;
}

.method-icon {
    font-size: 28px;
    margin: 6px 0;
}

.method-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.method-type {
    color: #888;
    font-size: 11px;
    margin-bottom: 4px;
}

.method-level {
    color: #b0b0b0;
    font-size: 12px;
    margin-bottom: 6px;
}

.method-exp-bar {
    position: relative;
    height: 16px;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.method-exp-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 0.3s;
}

.method-exp-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: #fff;
    text-shadow: 0 0 3px #000;
}

.method-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.method-btn {
    padding: 4px 10px;
    background: #2a2a3e;
    border: 1px solid #444;
    border-radius: 4px;
    color: #ccc;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
}

.method-btn:hover {
    background: #3a3a4e;
    color: #fff;
}

.method-btn.cultivate-btn:hover {
    border-color: #4caf50;
    color: #4caf50;
}

.method-btn.forget-btn:hover {
    border-color: #f44336;
    color: #f44336;
}

.method-btn.learn-btn {
    width: 100%;
    margin-top: 6px;
    padding: 6px;
    background: #1a3a1a;
    border-color: #4caf50;
    color: #4caf50;
}

.method-btn.learn-btn:hover {
    background: #2a4a2a;
}

.cultivate-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cult-btn {
    padding: 8px 20px;
    background: #1a2a1a;
    border: 1px solid #4caf50;
    border-radius: 6px;
    color: #4caf50;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.cult-btn:hover {
    background: #2a3a2a;
}

.cult-btn.danger-btn {
    background: #2a1a1a;
    border-color: #f44336;
    color: #f44336;
}

.cult-btn.danger-btn:hover {
    background: #3a2a2a;
}

.method-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.method-filter select {
    flex: 1;
    padding: 6px 8px;
    background: #1a1a2e;
    border: 1px solid #444;
    border-radius: 4px;
    color: #ccc;
    font-size: 12px;
}

.method-list {
    max-height: 400px;
    overflow-y: auto;
}

.method-card {
    background: #1a1a2e;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.method-card:hover {
    background: #222240;
}

.method-card.locked {
    opacity: 0.5;
}

.method-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.method-card-icon {
    font-size: 20px;
}

.method-card-name {
    font-size: 14px;
    font-weight: bold;
    flex: 1;
}

.method-card-quality {
    font-size: 11px;
    font-weight: bold;
}

.method-card-info {
    display: flex;
    gap: 10px;
    color: #888;
    font-size: 11px;
    margin-bottom: 4px;
}

.method-card-desc {
    color: #999;
    font-size: 12px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.method-card-obtain {
    color: #666;
    font-size: 11px;
    margin-bottom: 6px;
}

.method-locked-text {
    text-align: center;
    color: #666;
    font-size: 12px;
    padding: 4px;
}

.empty-text {
    text-align: center;
    color: #666;
    padding: 20px;
}

.attr-points-info {
    text-align: center;
    padding: 10px;
    background: #1a1a2e;
    border-radius: 6px;
    margin-bottom: 12px;
    color: #b0b0b0;
    font-size: 14px;
}

.attr-points-info b {
    color: #ffd700;
    font-size: 18px;
}

.attr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.attr-item {
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px;
}

.attr-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.attr-icon {
    font-size: 18px;
}

.attr-name {
    color: #ccc;
    font-size: 13px;
    flex: 1;
}

.attr-value {
    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
}

.attr-desc {
    color: #666;
    font-size: 11px;
    margin-bottom: 8px;
}

.attr-controls {
    display: flex;
    gap: 4px;
}

.attr-btn {
    flex: 1;
    padding: 4px;
    background: #2a2a3e;
    border: 1px solid #444;
    border-radius: 4px;
    color: #4caf50;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
}

.attr-btn:hover:not(:disabled) {
    background: #3a3a4e;
}

.attr-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.attr-reset {
    text-align: center;
}

/* ==================== 瓶颈突破 ==================== */
.method-breakthrough-bar {
    margin: 6px 0;
}
.method-breakthrough-label {
    font-size: 11px;
    color: #f44336;
    margin-bottom: 2px;
}
.method-breakthrough-track {
    height: 6px;
    background: #2a1a1a;
    border-radius: 3px;
    overflow: hidden;
}
.method-breakthrough-fill {
    height: 100%;
    background: #f44336;
    border-radius: 3px;
    transition: width 0.3s ease;
}
.method-breakthrough-text {
    font-size: 10px;
    color: #f44336;
}

/* ==================== 组合技 & 相克标签 ==================== */
.slot-tag {
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 4px;
}
.slot-tag.main-tag {
    background: #ffd700;
    color: #000;
}
.slot-tag.sub-tag {
    background: #444;
    color: #aaa;
}
.combo-tag {
    display: inline-block;
    font-size: 10px;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    margin: 2px 2px 0 0;
}
.conflict-tag {
    display: inline-block;
    font-size: 10px;
    color: #f44336;
    background: rgba(244, 67, 54, 0.15);
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 4px;
}
.method-affinity-hint {
    font-size: 10px;
    color: #4caf50;
    margin-top: 2px;
}

/* ==================== 五行亲和度 ==================== */
.element-affinity-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}
.element-affinity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #1a1a2e;
    border-radius: 6px;
}
.element-icon {
    font-size: 16px;
    font-weight: bold;
    width: 24px;
    text-align: center;
}
.element-bar-track {
    flex: 1;
    height: 8px;
    background: #0d0d1a;
    border-radius: 4px;
    overflow: hidden;
}
.element-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}
.element-value {
    font-size: 12px;
    color: #ccc;
    width: 28px;
    text-align: right;
}
.element-desc {
    font-size: 11px;
    width: 60px;
    text-align: right;
}
.element-passive-effects h4 {
    color: #ffd700;
    font-size: 13px;
    margin: 0 0 8px 0;
}
.passive-effect {
    display: flex;
    gap: 8px;
    padding: 4px 8px;
    background: #1a1a2e;
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: 12px;
}
.passive-element {
    font-weight: bold;
    min-width: 20px;
}
.passive-text {
    color: #ccc;
}
.element-equipped-info {
    margin-top: 16px;
    padding: 10px;
    background: #1a1a2e;
    border-radius: 6px;
}
.element-equipped-info b {
    color: #ffd700;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}
.element-equipped-item {
    display: flex;
    gap: 8px;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px solid #2a2a3e;
}
.element-equipped-item:last-child {
    border-bottom: none;
}

/* ==================== 神通面板 ==================== */
.skills-equipped-section {
    margin-bottom: 16px;
}
.skills-equipped-section > b,
.skills-available-section > b {
    display: block;
    color: #ffd700;
    font-size: 14px;
    margin-bottom: 10px;
}
.skill-equip-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.skill-equip-slot {
    background: #1a1a2e;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.skill-equip-slot.occupied {
    border-color: #4caf50;
    cursor: pointer;
}
.skill-equip-slot.occupied:hover {
    border-color: #66bb6a;
    background: #1a2a1e;
}
.skill-equip-slot.empty {
    border-style: dashed;
    opacity: 0.5;
}
.skill-equip-slot .skill-icon {
    font-size: 22px;
    margin-bottom: 4px;
}
.skill-equip-slot .skill-name {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2px;
}
.skill-equip-slot .skill-cost {
    font-size: 10px;
    color: #93c5fd;
}
.skill-available-list {
    max-height: 280px;
    overflow-y: auto;
}
.skill-card {
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    transition: all 0.2s;
}
.skill-card:hover {
    border-color: #444;
}
.skill-card.locked {
    opacity: 0.4;
}
.skill-card.equipped {
    border-color: #4caf50;
}
.skill-card.learned {
    border-color: #555;
}
.skill-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.skill-card-icon {
    font-size: 20px;
}
.skill-card-name {
    font-size: 14px;
    font-weight: bold;
    flex: 1;
    color: #fff;
}
.skill-card-method {
    font-size: 11px;
    color: #888;
}
.skill-card-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
}
.skill-card-meta span {
    background: #2a2a3e;
    padding: 2px 6px;
    border-radius: 4px;
}
.skill-card-desc {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
    line-height: 1.4;
}
.skill-card-actions {
    display: flex;
    gap: 6px;
}
.skill-card-actions button {
    flex: 1;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #2a2a3e;
    color: #ccc;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
}
.skill-card-actions button:hover:not(:disabled) {
    background: #3a3a4e;
    color: #fff;
}
.skill-card-actions button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.skill-card-actions .equip-btn {
    border-color: #4caf50;
    color: #4caf50;
}
.skill-card-actions .equip-btn:hover:not(:disabled) {
    background: #1a2a1a;
}
.skill-card-actions .unequip-btn {
    border-color: #f44336;
    color: #f44336;
}
.skill-card-actions .unequip-btn:hover {
    background: #2a1a1a;
}
.skill-card-actions .learn-btn {
    border-color: #ffd700;
    color: #ffd700;
}
.skill-card-actions .learn-btn:hover:not(:disabled) {
    background: #2a2a1a;
}
