.tsd-deposit,
.tsd-deposit * {
    box-sizing: border-box;
}

.tsd-deposit {
    --tsd-red: #9f171b;
    --tsd-ink: #151515;
    --tsd-muted: #6b6b6b;
    --tsd-line: #e5e5e5;
    width: 100%;
    max-width: 720px;
    margin: 40px auto;
    color: var(--tsd-ink);
    font-family: inherit;
}

.tsd-card,
.tsd-success {
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--tsd-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .07);
}

.tsd-head {
    margin-bottom: 30px;
}

.tsd-kicker {
    margin: 0 0 10px;
    color: var(--tsd-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tsd-head h2,
.tsd-success h2 {
    margin: 0 0 12px;
    color: var(--tsd-ink);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
}

.tsd-head p:not(.tsd-kicker),
.tsd-success p {
    margin: 0;
    color: var(--tsd-muted);
    font-size: 16px;
    line-height: 1.6;
}

.tsd-field {
    margin: 22px 0;
}

.tsd-field-compact {
    margin-top: 24px;
}

.tsd-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.tsd-field label span,
.tsd-field small {
    color: var(--tsd-muted);
    font-weight: 400;
}

.tsd-field small {
    display: block;
    margin-top: 7px;
    font-size: 13px;
}

.tsd-money-input {
    display: flex;
    align-items: center;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    overflow: hidden;
}

.tsd-money-input:focus-within {
    border-color: var(--tsd-red);
    box-shadow: 0 0 0 3px rgba(159, 23, 27, .12);
}

.tsd-money-input input,
.tsd-field-compact input {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    background: #fff;
    color: var(--tsd-ink);
    font: inherit;
}

.tsd-money-input input {
    border: 0;
    border-radius: 0;
    outline: 0;
    font-size: 21px;
    font-weight: 700;
}

.tsd-money-input span {
    padding: 0 16px;
    color: var(--tsd-muted);
    font-weight: 800;
}

.tsd-field-compact input:focus {
    border-color: var(--tsd-red);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(159, 23, 27, .12);
}

.tsd-summary {
    padding: 20px;
    border-radius: 12px;
    background: #f7f7f7;
}

.tsd-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 5px 0;
}

.tsd-summary-main {
    margin-top: 8px;
    padding-top: 14px !important;
    border-top: 1px solid #ddd;
    font-size: 19px;
}

.tsd-summary-main strong {
    color: var(--tsd-red);
}

.tsd-summary small {
    display: block;
    margin-top: 12px;
    color: var(--tsd-muted);
    font-size: 12px;
}

.tsd-consent {
    display: flex;
    gap: 10px;
    margin: 24px 0 18px;
    font-size: 14px;
    line-height: 1.5;
}

.tsd-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: var(--tsd-red);
}

.tsd-consent a {
    color: var(--tsd-red);
}

.tsd-message {
    margin: 14px 0;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.45;
}

.tsd-message-error {
    border: 1px solid #f3b7b7;
    background: #fff0f0;
    color: #8f1515;
}

.tsd-message-status {
    border: 1px solid #b9d7ef;
    background: #eef7ff;
    color: #164d73;
}

.tsd-message-warning {
    border-color: #f0d18a;
    background: #fff7df;
    color: #6f4b00;
}

.tsd-paypal {
    min-height: 48px;
    margin-top: 14px;
}

.tsd-paypal-redirect {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 18px;
    border: 0;
    border-radius: 4px;
    background: #ffc439;
    color: #111820;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.tsd-paypal-redirect:hover,
.tsd-paypal-redirect:focus-visible {
    background: #f2ba36;
    outline: 2px solid #142c8e;
    outline-offset: 2px;
}

.tsd-paypal-redirect:disabled {
    cursor: wait;
    opacity: .7;
}

.tsd-external-browser {
    padding: 22px;
    border: 1px solid #d8dce6;
    border-radius: 12px;
    background: #f7f9fc;
    text-align: center;
}

.tsd-external-browser-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    place-items: center;
    border-radius: 50%;
    background: #e5ebfa;
    color: #142c8e;
    font-size: 24px;
    font-weight: 800;
}

.tsd-external-browser h3 {
    margin: 0 0 8px;
    color: var(--tsd-ink);
    font-size: 21px;
}

.tsd-external-browser p {
    margin: 0 0 16px;
    color: var(--tsd-muted);
    font-size: 14px;
    line-height: 1.5;
}

.tsd-copy-link {
    width: 100%;
    margin-top: 9px;
    padding: 10px 14px;
    border: 1px solid #c8ccd6;
    border-radius: 6px;
    background: #fff;
    color: var(--tsd-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tsd-external-browser small {
    display: block;
    margin-top: 12px;
    color: var(--tsd-muted);
    font-size: 12px;
    line-height: 1.45;
}

.tsd-footnote {
    margin: 14px 0 0;
    color: var(--tsd-muted);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.tsd-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.tsd-success {
    text-align: center;
}

.tsd-success-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: #e9f8ee;
    color: #14753a;
    font-size: 34px;
    font-weight: 800;
}

.tsd-success dl {
    margin: 28px 0 0;
    text-align: left;
}

.tsd-success dl > div {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--tsd-line);
}

.tsd-success dt {
    color: var(--tsd-muted);
}

.tsd-success dd {
    margin: 0;
    text-align: right;
    word-break: break-all;
}

.tsd-config-error {
    max-width: 720px;
    margin: 30px auto;
    padding: 16px;
    border: 1px solid #f3b7b7;
    border-radius: 10px;
    background: #fff0f0;
    color: #8f1515;
}

.tsd-deposit [hidden] {
    display: none !important;
}

@media (max-width: 600px) {
    .tsd-deposit {
        margin: 20px auto;
    }

    .tsd-card,
    .tsd-success {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .tsd-summary > div {
        align-items: flex-start;
    }

    .tsd-summary strong {
        text-align: right;
    }

    .tsd-success dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .tsd-success dd {
        text-align: left;
    }
}
