body {
    font-family: 'Noto Serif KR', serif;
    background-color: #FDF6E3;
}
.card {
    background-color: #FFFBF0;
    border: 1px solid #D8CDBA;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.card-title {
    color: #583E26;
    border-bottom: 2px solid #EAE1C9;
    display: flex;
    align-items: center;
}
.input-field {
    background-color: #FDF6E3;
    border: 1px solid #D8CDBA;
    color: #583E26;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}
.input-field:focus {
    outline: none;
    border-color: #A38A6A;
    box-shadow: 0 0 0 2px rgba(163, 138, 106, 0.3);
}
.player-tab {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}
.player-tab.active {
    border-color: #8C6A48;
    background-color: #FFFBF0;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.btn {
    color: #FFFBF0;
    transition: all 0.3s;
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-add { background-color: #6D8B74; }
.btn-add:hover { background-color: #557153; }
.btn-delete {
    background-color: #D57E7E;
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}
.btn-reset-all { background-color: #c84a4a; }
.btn-reset-all:hover { background-color: #a83232; }
.player-tab:hover .btn-delete {
    opacity: 1;
    transform: scale(1);
}
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.custom-checkbox {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #D8CDBA;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background-color: #FDF6E3;
    flex-shrink: 0;
}
.custom-checkbox svg {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
    color: #583E26;
}
input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #D8CDBA;
}
input[type="checkbox"]:checked + .custom-checkbox svg {
    opacity: 1;
    transform: scale(1);
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
#calculator-body { display: none; }
#calculator-body.active { display: grid; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.details-content { border-top: 1px solid #EAE1C9; margin-top: 1rem; padding-top: 1rem; }
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}
input[type=range]::-webkit-slider-runnable-track { height: 8px; background: #D8CDBA; border-radius: 4px; }
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -6px;
    width: 20px;
    height: 20px;
    background: #8C6A48;
    border-radius: 50%;
}
