.nh-card {
    max-width: 720px;
    margin: 30px auto;
    padding: 34px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #f7f3ff);
    box-shadow: 0 18px 45px rgba(40, 30, 80, 0.12);
    font-family: inherit;
    border: 1px solid rgba(120, 90, 180, 0.16);
}

.nh-header {
    text-align: center;
    margin-bottom: 24px;
}

.nh-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #0071e3;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.nh-header h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.2;
    color: #000000;
}

.nh-header p {
    margin: 0;
    color: #000000;
    font-size: 16px;
}

.nh-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 25px 0;
}

.nh-tab {
    border: 1px solid #0071e3;
    background: #fff;
    color: #fff;
    padding: 12px 10px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.nh-tab:hover,
.nh-tab.active {
    background: #0071e3;
    color: #fff;
    border-color: #0071e3;
}

.nh-form {
    display: grid;
    gap: 16px;
}

.nh-field label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 700;
}

.nh-field input {
    width: 100%;
    border: 1px solid #0071e3;
    border-radius: 14px;
    padding: 15px 16px;
    font-size: 16px;
    background: #fff;
    color: #0071e3;
    outline: none;
    transition: 0.2s ease;
}

.nh-field input:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(108, 78, 219, 0.12);
}

.nh-button {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 16px 18px;
    background: #0071e3;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.nh-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(32, 26, 53, 0.22);
}

.nh-result {
    margin-top: 24px;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #0071e3;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 22px;
    align-items: center;
}

.nh-number-wrap {
    text-align: center;
    padding: 18px;
    border-radius: 18px;
    background: #0071e3;
}

.nh-result-label {
    display: block;
    font-size: 13px;
    color: #0071e3;
    margin-bottom: 8px;
}

#nhNumber {
    display: block;
    font-size: 54px;
    color: #fff;
    line-height: 1;
}

.nh-meaning h3 {
    margin: 0 0 8px;
    color: #0071e3;
    font-size: 22px;
}

.nh-meaning p {
    margin: 0;
    color: #0071e3;
    line-height: 1.7;
}

.nh-note {
    text-align: center;
    margin: 18px 0 0;
    font-size: 13px;
    color: #0071e3;
}

@media (max-width: 680px) {
    .nh-card {
        padding: 24px;
        border-radius: 20px;
    }

    .nh-header h2 {
        font-size: 26px;
    }

    .nh-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh-result {
        grid-template-columns: 1fr;
        text-align: center;
    }
}