    .dynamic-weapon-form { margin: 30px 0; }
    .weapon-row { 
        background: #1f2f26; 
        padding: 20px; 
        margin-bottom: 20px; 
        border-left: 8px solid #ffeb3b;
        border-radius: 8px;
        position: relative;
    }
    .weapon-label { 
        color: #ffeb3b; 
        font-weight: 700; 
        margin-bottom: 14px; 
    }
    .skill-row { 
        gap: 15px; 
        flex-wrap: wrap; 
    }
    .skill-column, .count-column { 
        flex: 1; 
        min-width: 160px; 
    }
    .add-row-btn {
        background: #ffeb3b;
        color: #1f2f26;
        border: none;
        padding: 12px 24px;
        font-weight: 700;
        border-radius: 6px;
        cursor: pointer;
        margin-top: 10px;
    }
    .remove-row-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: #c62828;
        color: white;
        border: none;
        padding: 6px 12px;
        border-radius: 4px;
        cursor: pointer;
    }
    @media (max-width: 768px) {
        .skill-row { flex-direction: column; }
    }


    .dynamic-buff-form { margin: 30px 0; }
    .ability-row { 
        background: #1f2f26; 
        padding: 20px; 
        margin-bottom: 20px; 
        border-left: 8px solid #ffeb3b;
        border-radius: 8px;
        position: relative;
    }
    .ability-label { 
        color: #ffeb3b; 
        font-weight: 700; 
        margin-bottom: 14px; 
    }
    .buff-row { 
        gap: 15px; 
        flex-wrap: wrap; 
    }
    .buff-column, .count-column { 
        flex: 1; 
        min-width: 160px; 
    }
    .add-row-btn {
        background: #ffeb3b;
        color: #1f2f26;
        border: none;
        padding: 12px 24px;
        font-weight: 700;
        border-radius: 6px;
        cursor: pointer;
        margin-top: 10px;
    }
    .remove-row-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: #c62828;
        color: white;
        border: none;
        padding: 6px 12px;
        border-radius: 4px;
        cursor: pointer;
    }
    @media (max-width: 768px) {
        .buff-row { flex-direction: column; }
    }



    .attack-input-box {
        background: #1f2f26;
        padding: 30px;
        border-left: 10px solid #ffeb3b;
        border-radius: 8px;
        margin: 40px 0;
    }
    .attack-input-box h3 {
        color: #ffeb3b;
        text-align: center;
        margin-bottom: 20px;
    }
    .attack-inputs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
    }
    .input-group label {
        display: block;
        color: #e8f5e0;
        margin-bottom: 6px;
        font-weight: 600;
    }
    .atk-input {
        width: 100%;
        padding: 12px 16px;
        background: #263d34;
        color: #e8f5e0;
        border: 2px solid #ffeb3b;
        border-radius: 6px;
        font-size: 1.1rem;
    }


    .total-skill-calc-box {
        background: #1f2f26;
        padding: 30px;
        border-left: 10px solid #ffeb3b;
        border-radius: 8px;
        margin: 40px 0;
    }
    .total-result-table th, .total-result-table td {
        padding: 14px;
        text-align: center;
        border-bottom: 1px solid #33443a;
    }
    .total-result-table th {
        background: #263d34;
        color: #ffeb3b;
    }


    .damage-calculator-box {
        background: #1f2f26;
        padding: 35px;
        border-left: 10px solid #ffeb3b;
        border-radius: 8px;
        margin: 40px 0;
    }
    
    .damage-calculator-box h3 {
        color: #ffeb3b;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .calc-start-btn {
        background: #ffeb3b;
        color: #1f2f26;
        font-size: 1.35rem;
        font-weight: 700;
        padding: 16px 60px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    }
    
    .calc-start-btn:hover {
        background: #ffe066;
        transform: translateY(-3px);
    }
    
    .damage-table {
        width: 100%;
        border-collapse: collapse;
        color: #e8f5e0;
        background: #263d34;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .damage-table th, .damage-table td {
        padding: 14px 10px;
        text-align: center;
        border-bottom: 1px solid #33443a;
    }
    
    .damage-table th {
        background: #1f2f26;
        color: #ffeb3b;
        font-weight: 700;
    }
    
    .damage-table td:last-child {
        font-weight: 700;
        background: #263d34;
    }