.hbcv-wrap {
    --hbcv-navy: #172554;
    --hbcv-blue: #279dd1;
    --hbcv-purple: #7657d5;
    --hbcv-green: #00b050;
    --hbcv-ink: #172033;
    --hbcv-muted: #667085;
    --hbcv-pale: #f4f8ff;
    --hbcv-line: #dce5f2;
    --hbcv-danger: #b42318;
    max-width: 900px;
    margin: 32px auto;
    padding: 0;
    color: var(--hbcv-ink);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 16px;
    line-height: 1.5;
}

.hbcv-wrap,
.hbcv-wrap h1,
.hbcv-wrap h2,
.hbcv-wrap h3,
.hbcv-wrap h4,
.hbcv-wrap p,
.hbcv-wrap label,
.hbcv-wrap input,
.hbcv-wrap select,
.hbcv-wrap textarea,
.hbcv-wrap button,
.hbcv-wrap summary,
.hbcv-wrap a,
.hbcv-wrap span,
.hbcv-wrap div,
.hbcv-wrap li {
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.hbcv-wrap *,
.hbcv-wrap *::before,
.hbcv-wrap *::after {
    box-sizing: border-box;
}

.hbcv-wrap .hbcv-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(220, 229, 242, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(23, 37, 84, .14), 0 5px 16px rgba(39, 157, 209, .08);
    animation: hbcv-rise .45s ease both;
}

.hbcv-wrap .hbcv-head {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px 34px 32px;
    background: linear-gradient(125deg, #172554 0%, #245f9f 46%, #7657d5 100%);
    color: #fff;
    text-align: center;
}

.hbcv-wrap .hbcv-head::before,
.hbcv-wrap .hbcv-head::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.hbcv-wrap .hbcv-head::before {
    width: 240px;
    height: 240px;
    right: -90px;
    top: -125px;
    background: rgba(105, 220, 255, .20);
}

.hbcv-wrap .hbcv-head::after {
    width: 180px;
    height: 180px;
    left: -75px;
    bottom: -120px;
    background: rgba(190, 156, 255, .22);
}

.hbcv-wrap .hbcv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 13px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

.hbcv-wrap .hbcv-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6fe0ff;
    box-shadow: 0 0 0 5px rgba(111, 224, 255, .12);
}

.hbcv-wrap .hbcv-title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.hbcv-wrap .hbcv-title-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.hbcv-wrap .hbcv-title-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.hbcv-wrap .hbcv-title {
    margin: 0;
    color: #fff !important;
    font-size: clamp(27px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
    text-transform: none;
}

.hbcv-wrap .hbcv-sub {
    max-width: 720px;
    margin: 10px auto 0;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
}

.hbcv-wrap .hbcv-body {
    padding: 30px 32px 34px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.hbcv-wrap .hbcv-gate {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #f1c5c7;
    border-left: 4px solid #d63638;
    border-radius: 12px;
    background: #fff7f7;
    color: #6d2528;
    font-size: 14px;
}

.hbcv-wrap .hbcv-gate strong {
    color: #b42318;
    font-weight: 800;
}

.hbcv-wrap .hbcv-gate a {
    color: #7a3fc0;
    font-weight: 700;
    text-decoration: underline;
}

.hbcv-wrap .hbcv-setup-note {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #d8e8df;
    border-left: 4px solid var(--hbcv-green);
    border-radius: 12px;
    background: #f6fcf8;
    color: #315843;
    font-size: 14px;
}

.hbcv-wrap .hbcv-fee-note {
    margin: 0 0 20px;
    padding: 17px 19px;
    border: 1px solid #eed28c;
    border-left: 5px solid #d99b13;
    border-radius: 12px;
    background: #fff9e8;
    color: var(--hbcv-ink);
    font-size: 14px;
    line-height: 1.55;
}

.hbcv-wrap .hbcv-fee-title {
    margin: 0 0 8px;
    color: #735000;
    font-size: 17px;
    font-weight: 800;
}

.hbcv-wrap .hbcv-fee-note p { margin: 0 0 10px; }
.hbcv-wrap .hbcv-fee-note p:last-child { margin-bottom: 0; }
.hbcv-wrap .hbcv-fee-free { color: #5f4300; }
.hbcv-wrap .hbcv-fee-admin { margin-top: 12px !important; padding-top: 10px; border-top: 1px solid #ead39a; color: #725000; font-size: 13px; }

.hbcv-wrap .hbcv-msg {
    margin: 0 0 16px;
    padding: 0;
    font-size: 14px;
}

.hbcv-wrap .hbcv-msg-info {
    padding: 13px 15px;
    border: 1px solid #d8e8df;
    border-left: 4px solid var(--hbcv-green);
    border-radius: 12px;
    background: #f6fcf8;
    color: #315843;
}

.hbcv-wrap .hbcv-msg-error {
    padding: 13px 15px;
    border: 1px solid #f0a9ad;
    border-left: 4px solid #d63638;
    border-radius: 12px;
    background: #fff2f3;
    color: #a10e19;
    font-weight: 600;
}

.hbcv-wrap .hbcv-step {
    position: relative;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--hbcv-line);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff 0%, var(--hbcv-pale) 100%);
    box-shadow: 0 8px 24px rgba(23, 37, 84, .045);
}

.hbcv-wrap .hbcv-step + .hbcv-step {
    margin-top: 18px;
}

.hbcv-wrap .hbcv-step-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 12px;
    color: var(--hbcv-navy);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.3;
    text-transform: none;
}

.hbcv-wrap .hbcv-num {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--hbcv-blue), var(--hbcv-purple));
    box-shadow: 0 6px 14px rgba(118, 87, 213, .23);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.hbcv-wrap .hbcv-hint {
    margin: 0 0 12px;
    color: var(--hbcv-muted);
    font-size: 13px;
}

.hbcv-wrap .hbcv-instructions {
    margin: 4px 0 16px;
    color: var(--hbcv-ink);
    font-size: 14px;
    line-height: 1.55;
}

.hbcv-wrap .hbcv-instructions p { margin: 0 0 10px; }
.hbcv-wrap .hbcv-instructions p:last-child { margin-bottom: 0; }
.hbcv-wrap .hbcv-instructions ul,
.hbcv-wrap .hbcv-instructions ol { margin: 0 0 10px; padding-left: 22px; }

.hbcv-wrap .hbcv-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 !important;
    padding: 14px 16px;
    border: 1px solid #d8e8df;
    border-radius: 13px;
    background: #f6fcf8;
    color: #315843;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.hbcv-wrap .hbcv-consent input {
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px;
    margin: 2px 0 0 !important;
    accent-color: var(--hbcv-green);
}

.hbcv-wrap .hbcv-mic-panel,
.hbcv-wrap .hbcv-guidance,
.hbcv-wrap .hbcv-music {
    margin: 4px 0 16px;
    padding: 16px 18px;
    border: 1px solid var(--hbcv-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(23, 37, 84, .04);
}

.hbcv-wrap .hbcv-mic-label,
.hbcv-wrap .hbcv-music-label {
    display: block;
    margin: 0 0 7px;
    color: var(--hbcv-ink);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

.hbcv-wrap .hbcv-mic-select,
.hbcv-wrap .hbcv-input,
.hbcv-wrap .hbcv-textarea {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 1px solid #cdd9e9 !important;
    border-radius: 11px !important;
    outline: none !important;
    background: #fff !important;
    color: var(--hbcv-ink) !important;
    box-shadow: 0 2px 5px rgba(23, 37, 84, .035) !important;
    font: 500 14px/1.5 Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.hbcv-wrap .hbcv-mic-select,
.hbcv-wrap select.hbcv-input,
.hbcv-wrap input.hbcv-input {
    height: 48px !important;
}

.hbcv-wrap .hbcv-mic-select,
.hbcv-wrap select.hbcv-input { padding: 0 40px 0 14px !important; line-height: 48px !important; }
.hbcv-wrap input.hbcv-input { padding: 0 14px !important; }

.hbcv-wrap .hbcv-textarea {
    min-height: 200px;
    padding: 12px 14px !important;
    resize: vertical;
}

.hbcv-wrap .hbcv-mic-select:focus,
.hbcv-wrap .hbcv-input:focus,
.hbcv-wrap .hbcv-textarea:focus {
    border-color: var(--hbcv-purple) !important;
    box-shadow: 0 0 0 4px rgba(118, 87, 213, .12), 0 5px 15px rgba(23, 37, 84, .06) !important;
}

.hbcv-wrap .hbcv-input::placeholder,
.hbcv-wrap .hbcv-textarea::placeholder { color: #98a2b3; opacity: 1; }

.hbcv-wrap .hbcv-meter {
    height: 8px;
    overflow: hidden;
    margin: 12px 0 8px;
    border-radius: 999px;
    background: #dfe9f7;
}

.hbcv-wrap .hbcv-meter-fill {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--hbcv-blue), var(--hbcv-purple));
    transition: width .08s linear;
}

.hbcv-wrap .hbcv-mic-help { margin: 0; color: var(--hbcv-muted); font-size: 13px; }

.hbcv-wrap .hbcv-rec,
.hbcv-wrap .hbcv-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hbcv-wrap .hbcv-rectime {
    min-width: 56px;
    color: var(--hbcv-ink);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.hbcv-wrap .hbcv-or { margin: 12px 0; color: var(--hbcv-muted); font-size: 13px; text-align: center; }

.hbcv-wrap .hbcv-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px dashed #cdd9e9;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}

.hbcv-wrap .hbcv-file input { font-size: 13px; }
.hbcv-wrap .hbcv-audio { display: block; width: 100%; margin: 14px 0; }
.hbcv-wrap .hbcv-counter { margin: 6px 0 12px; color: var(--hbcv-muted); font-size: 12px; }

.hbcv-wrap .hbcv-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 16px !important;
    border: 1px solid var(--hbcv-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--hbcv-navy) !important;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
}

.hbcv-wrap .hbcv-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--hbcv-pale) !important;
}

.hbcv-wrap .hbcv-btn:focus-visible {
    outline: 3px solid rgba(118, 87, 213, .32);
    outline-offset: 2px;
}

.hbcv-wrap .hbcv-btn:disabled {
    opacity: .55;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.hbcv-wrap .hbcv-btn-primary,
.hbcv-wrap .hbcv-btn-pay {
    min-height: 54px;
    padding: 14px 28px !important;
    border: 0 !important;
    background: linear-gradient(115deg, var(--hbcv-blue), var(--hbcv-purple)) !important;
    box-shadow: 0 12px 26px rgba(75, 88, 190, .27);
    color: #fff !important;
    font-size: 16px !important;
}

.hbcv-wrap .hbcv-step > .hbcv-btn-primary,
.hbcv-wrap .hbcv-step > .hbcv-btn-pay,
.hbcv-wrap .hbcv-unlock > .hbcv-btn-primary,
.hbcv-wrap .hbcv-unlock > .hbcv-btn-pay {
    min-width: 290px;
}

.hbcv-wrap .hbcv-btn-primary:hover:not(:disabled),
.hbcv-wrap .hbcv-btn-pay:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(75, 88, 190, .34);
    filter: saturate(1.08);
}

.hbcv-wrap .hbcv-btn-ghost {
    border: 1px solid var(--hbcv-line) !important;
    background: #fff !important;
    color: var(--hbcv-navy) !important;
    box-shadow: none;
}

.hbcv-wrap .hbcv-unlock {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hbcv-wrap .hbcv-voucher {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
}

.hbcv-wrap .hbcv-voucher .hbcv-input {
    width: auto !important;
    min-width: 220px;
    flex: 1 1 220px;
}

.hbcv-wrap .hbcv-working { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--hbcv-muted); }

.hbcv-wrap .hbcv-spinner {
    width: 26px;
    height: 26px;
    flex: none;
    border: 3px solid rgba(118, 87, 213, .25);
    border-top-color: var(--hbcv-purple);
    border-radius: 50%;
    animation: hbcv-spin .8s linear infinite;
}

.hbcv-wrap .hbcv-progress { padding: 6px 0 4px; }
.hbcv-wrap .hbcv-progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.hbcv-wrap .hbcv-progress-phase { color: var(--hbcv-ink); font-weight: 700; }
.hbcv-wrap .hbcv-progress-pct { color: var(--hbcv-purple); font-variant-numeric: tabular-nums; font-weight: 700; }

.hbcv-wrap .hbcv-progress-track {
    position: relative;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfe9f7;
}

.hbcv-wrap .hbcv-progress-fill {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--hbcv-blue), var(--hbcv-purple));
    transition: width .6s ease;
}

.hbcv-wrap .hbcv-progress-fill.hbcv-indeterminate {
    width: 35% !important;
    transition: none;
    animation: hbcv-indet 1.2s ease-in-out infinite;
}

.hbcv-wrap .hbcv-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: var(--hbcv-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.hbcv-wrap .hbcv-progress-hint { margin: 12px 0 0; color: var(--hbcv-muted); font-size: 13px; }

.hbcv-wrap .hbcv-script {
    margin: 4px 0 16px;
    padding: 16px 18px;
    border: 1px solid var(--hbcv-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(23, 37, 84, .03);
}

.hbcv-wrap .hbcv-script-label {
    margin-bottom: 8px;
    color: var(--hbcv-purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hbcv-wrap .hbcv-script-text {
    color: #20263a;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

.hbcv-wrap .hbcv-testmode {
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid #f3d690;
    border-radius: 10px;
    background: #fff7e6;
    color: #8a6d1a;
    font-size: 13px;
    font-weight: 600;
}

.hbcv-wrap .hbcv-music {
    margin: 20px 0 4px;
}

.hbcv-wrap .hbcv-music-head { margin-bottom: 12px; }
.hbcv-wrap .hbcv-music-title { margin: 0 0 6px; color: var(--hbcv-navy); font-size: 17px; font-weight: 800; }
.hbcv-wrap .hbcv-music-empty { margin: 0; }
.hbcv-wrap .hbcv-music-controls { display: flex; flex-direction: column; gap: 14px; }
.hbcv-wrap .hbcv-music-field { display: flex; flex-direction: column; gap: 6px; }
.hbcv-wrap .hbcv-music-label b { color: var(--hbcv-purple); font-weight: 700; }
.hbcv-wrap .hbcv-music-select { width: 100% !important; }

.hbcv-wrap .hbcv-music-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hbcv-wrap .hbcv-music-grid .hbcv-input { min-width: 0; width: 100% !important; }

.hbcv-wrap .hbcv-range {
    width: 100%;
    height: 24px;
    margin: 2px 0;
    accent-color: var(--hbcv-purple);
}

.hbcv-wrap .hbcv-range:focus-visible {
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(118, 87, 213, .12);
}

.hbcv-wrap .hbcv-music-status { min-height: 18px; font-size: 13px; }
.hbcv-wrap .hbcv-upload { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.hbcv-wrap .hbcv-upload-btn { display: inline-flex; align-items: center; margin: 0; cursor: pointer; }
.hbcv-wrap .hbcv-upload .hbcv-hint { margin: 0; }

.hbcv-wrap .hbcv-guidance {
    border-left: 4px solid var(--hbcv-blue);
}

.hbcv-wrap .hbcv-guidance-title { margin: 0 0 6px; color: var(--hbcv-navy); font-size: 13px; font-weight: 800; }
.hbcv-wrap .hbcv-guidance-list { margin: 0; padding-left: 18px; color: var(--hbcv-muted); font-size: 13px; line-height: 1.5; }
.hbcv-wrap .hbcv-guidance-list li { margin: 2px 0; }
.hbcv-wrap .hbcv-mix-progress { margin: 4px 0 2px; }
.hbcv-wrap .hbcv-clone-msg { margin-top: 12px; margin-bottom: 0; }
.hbcv-wrap [hidden] { display: none !important; }

@keyframes hbcv-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hbcv-spin {
    to { transform: rotate(360deg); }
}

@keyframes hbcv-indet {
    0% { margin-left: -35%; }
    100% { margin-left: 100%; }
}

@media (max-width: 700px) {
    .hbcv-wrap {
        margin: 16px auto;
        font-size: 15px;
    }

    .hbcv-wrap .hbcv-card {
        border-radius: 19px;
    }

    .hbcv-wrap .hbcv-head {
        padding: 25px 18px 27px;
    }

    .hbcv-wrap .hbcv-title-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .hbcv-wrap .hbcv-body {
        padding: 20px 15px 22px;
    }

    .hbcv-wrap .hbcv-step {
        padding: 17px 14px;
        border-radius: 15px;
    }

    .hbcv-wrap .hbcv-btn-primary,
    .hbcv-wrap .hbcv-btn-pay,
    .hbcv-wrap .hbcv-step > .hbcv-btn-primary,
    .hbcv-wrap .hbcv-step > .hbcv-btn-pay,
    .hbcv-wrap .hbcv-unlock > .hbcv-btn-primary,
    .hbcv-wrap .hbcv-unlock > .hbcv-btn-pay {
        width: 100%;
        min-width: 0;
    }

    .hbcv-wrap .hbcv-row > .hbcv-btn,
    .hbcv-wrap .hbcv-row > a.hbcv-btn {
        flex: 1 1 calc(50% - 10px);
    }

    .hbcv-wrap .hbcv-voucher .hbcv-input {
        width: 100% !important;
        min-width: 0;
        flex-basis: 100%;
    }

    .hbcv-wrap .hbcv-voucher .hbcv-btn {
        width: 100%;
    }

    .hbcv-wrap .hbcv-script-text {
        font-size: 15px;
    }

    .hbcv-wrap .hbcv-music-grid {
        grid-template-columns: 1fr;
    }

    .hbcv-wrap .hbcv-progress-head,
    .hbcv-wrap .hbcv-progress-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hbcv-wrap .hbcv-card {
        animation: none;
    }

    .hbcv-wrap *,
    .hbcv-wrap *::before,
    .hbcv-wrap *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
