.regist {
    margin: 36px auto 36px auto;
}

.regist_title {
    color: var(--title);
}

.regist_form-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--title);
}

.regist_form {
    width: 100%;
    margin: 0 auto;

    background: var(--form);
    box-sizing: border-box;
    border: 2px solid var(--form-border);

    border-radius: 16px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.regist_form.s{
    max-width: 400px;
}

.regist_form.l{
    max-width: 850px;
}

.regist_form-error {
    font-size: 16px;
}

#reg2-sms > .dts-input, #reg2-tg > .dts-input {
    margin-bottom: 15px;
}

.regist_form-card .dts-input:not(:first-of-type) {
 margin-top: 15px;
}

.dts-input label {
    display: block;
    margin-bottom: 4px;

    font-weight: 700;
    font-size: 14px;

    color: var(--title);
}

.dts-input-labeltext {
    display: block;
    margin-bottom: 4px;

    font-weight: 400;
    font-size: 14px;
    color: var(--title);
}
.dts-input-labeltext a {
    font-weight: 700;
    color: var(--title);
}

.dts-input input, .dts-input select {
    width: 100%;
    outline: none;
    border-radius: 8px;
    border: 2px solid #252525FF;
    padding: 8px 16px;

    font-size: 14px;
}

.dts-input.check {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: left;
}

.dts-input.check input{
    width: fit-content;
    margin-right: 16px;
}

.dts-input.check label {
    margin-bottom: 0;
}

.dts-input-subtext {
    margin-top: 4px;
    font-size: 12px;
    color: var(--title);
}

.dts-tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dts-tools button {
    font-weight: 700;
    width: 100%;

    color: #000000;
}

@media (min-width: 480px) {
    .regist_form {
        padding: 25px;
        border-radius: 25px;
        gap: 25px;
    }

    .dts-input label {
        font-size: 16px;
    }

    .dts-input-labeltext {
        font-size: 16px;
    }

    .dts-input input {
        font-size: 16px;
    }
}

@media (min-width: 568px) {
    .regist {
        margin: 50px auto 50px auto;
    }

    .regist_form-title {
        font-size: 26px;
    }

    .regist_form-card .dts-input:not(:first-of-type) {
        margin-top: 0;
    }
}

/**/

/* Steps */
.step {
    margin-bottom: 20px;
    padding: 12px;
}

.step-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.step-text {
    margin-bottom: 8px;
    line-height: 1.4;
}

.step-img img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Only one instruction block visible at a time */
#tg-help-mobile,
#tg-help-pc {
    display: none;
}

#tg-help-mobile.is-visible,
#tg-help-pc.is-visible {
    display: block;
}

/* Desktop: tame *mobile* screenshots */
@media (min-width: 450px) {

    #tg-help-mobile .step-img img {
        max-width: 360px;
        /* cap size so they don't look oversized */
        width: 100%;
        margin: 0 auto;
        /* force center */
    }

    /* for mobile steps: stack vertically, no side-by-side grid */
    #tg-help-mobile .step {
        display: block;
        /* center text too if you want */
    }
}

/* PC panel can stay larger if you want clearer UI shots */
#tg-help-pc .step-img img {
    max-width: 640px;
    /* adjust to taste */
}
