/* [c1] */

.ld-auth .ss-sheet__panel { width: min(100%, 460px); }
.ld-auth__head { min-height: 52px; padding: 12px 12px 0 12px; }
.ld-auth__spacer { flex: 1; }
.ld-auth__body { display: flex; flex-direction: column; gap: 16px; padding: 0 32px 28px; }
.ld-auth__tile {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 14px;
    background: var(--ss-accent-soft);
    box-shadow: inset 0 0 0 1px var(--ss-accent-line), 0 6px 22px var(--ss-accent-glow);
    color: var(--ss-text);
}
.ld-auth__icon { width: 26px; height: auto; }
.ld-auth__tile--mail { display: none; }
.ld-auth__tile--mail svg, .ld-contact .ld-auth__tile svg { width: 24px; height: 24px; }
.ld-contact .ss-lead { color: var(--ss-text); }
.ld-contact .ss-textarea { resize: none; }
.ld-auth[data-view="code"] .ld-auth__tile:not(.ld-auth__tile--mail) { display: none; }
.ld-auth[data-view="code"] .ld-auth__tile--mail { display: grid; }
.ld-auth__title.ss-sheet__title {
    flex: none;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 1.75rem);
    font-stretch: var(--ss-stretch-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: -6px;
}
.ld-auth__sub { color: var(--ss-text-soft); line-height: 1.5; overflow-wrap: anywhere; }
.ld-auth__sub b { color: var(--ss-text); font-weight: 600; }
.ld-auth__notice { padding: 10px 14px; border-radius: 12px; background: var(--ss-accent-soft); color: var(--ss-text); font-size: var(--ss-fs-sm); box-shadow: inset 0 0 0 1px var(--ss-accent-line); }
.ld-auth__saved { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--ss-surface-2); border: 1px solid var(--ss-border); }
.ld-auth__saved-img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: var(--ss-surface-3); }
.ld-auth__saved-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ld-auth__saved-text strong { font-size: var(--ss-fs-sm); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-auth__saved-text span { font-size: var(--ss-fs-xs); color: var(--ss-text-soft); }
.ld-auth__saved-check { color: var(--ss-success); }
.ld-auth__saved-check svg { width: 20px; height: 20px; }
.ld-auth__view { display: flex; flex-direction: column; gap: 12px; }
.ld-auth__view.is-entering { animation: ss-step-in var(--ss-dur-surface) var(--ss-ease) both; }
.ld-auth__view.is-entering-back { animation: ss-step-in-back var(--ss-dur-surface) var(--ss-ease) both; }
.ld-auth__form { display: flex; flex-direction: column; gap: 12px; }
.ld-auth__captcha:empty { display: none; }

.ld-auth__google { --btn-bg: #ffffff; --btn-fg: #1f1f1f; --btn-border: #747775; }
.ld-auth__google svg { width: 20px; height: 20px; }
.ld-auth__chatgpt { --btn-bg: #0d0d0d; --btn-fg: #ffffff; --btn-border: #0d0d0d; }
.ld-auth__chatgpt .ss-ai-mark { width: 20px; height: 20px; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ld-auth__google { --btn-bg: #131314; --btn-fg: #e3e3e3; --btn-border: #8e918f; }
    :root:not([data-theme="light"]) .ld-auth__chatgpt { --btn-bg: #ffffff; --btn-fg: #0d0d0d; --btn-border: #ffffff; }
}
:root[data-theme="dark"] .ld-auth__google { --btn-bg: #131314; --btn-fg: #e3e3e3; --btn-border: #8e918f; }
:root[data-theme="dark"] .ld-auth__chatgpt { --btn-bg: #ffffff; --btn-fg: #0d0d0d; --btn-border: #ffffff; }

.ld-auth__or { display: flex; align-items: center; gap: 14px; color: var(--ss-text-faint); font-size: var(--ss-fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.ld-auth__or::before, .ld-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--ss-border); }
.ld-auth__links { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.ld-auth__links--split { justify-content: space-between; }
.ld-auth__links .ss-btn { padding: 0 10px; font-size: var(--ss-fs-sm); }
.ld-auth__links .ss-btn--ghost { --btn-fg: var(--ss-text); }
.ld-auth__resend { font-variant-numeric: tabular-nums; }
.ld-auth__resend:disabled { opacity: 1; --btn-fg: var(--ss-text-faint); cursor: default; }
.ld-auth__hint { font-size: var(--ss-fs-sm); color: var(--ss-text-soft); }
.ld-auth__consent { align-items: flex-start; font-size: var(--ss-fs-sm); color: var(--ss-text-soft); line-height: 1.45; }
.ld-auth__consent input { margin-top: 1px; flex: none; }
.ld-auth__error { margin-top: -4px; }
.ld-auth__fine { font-size: var(--ss-fs-xs); color: var(--ss-text-faint); line-height: 1.5; }
.ld-auth__fine a { display: inline-block; padding-block: 2px; }
.ld-auth[data-view="code"] .ld-auth__fine, .ld-auth[data-view="password"] .ld-auth__fine { display: none; }

/* [c2] */
.ld-otp { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ld-otp__box {
    width: 100%;
    min-width: 0;
    height: 64px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid var(--ss-border-strong);
    background: var(--ss-surface);
    color: var(--ss-text);
    font-family: var(--ss-font);
    font-stretch: var(--ss-stretch-display);
    font-weight: 700;
    font-size: 1.625rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    caret-color: var(--ss-accent);
    outline: none;
    transition: border-color var(--ss-dur-micro) var(--ss-ease), box-shadow var(--ss-dur-micro) var(--ss-ease), opacity var(--ss-dur-micro), background-color var(--ss-dur-comp);
}
.ld-otp__box:focus { border-color: var(--ss-accent); box-shadow: 0 0 0 4px var(--ss-accent-glow); }
.ld-otp__sweep { position: absolute; left: 0; right: 0; bottom: -10px; height: 3px; border-radius: 2px; overflow: hidden; opacity: 0; }
.ld-otp__sweep::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: var(--ss-accent); box-shadow: 0 0 10px var(--ss-accent); animation: ss-indeterminate 900ms var(--ss-ease) infinite; }
.ld-otp.is-verifying .ld-otp__box { opacity: 0.6; }
.ld-otp.is-verifying .ld-otp__sweep { opacity: 1; }
.ld-otp.is-error .ld-otp__box { border-color: var(--ss-danger); box-shadow: 0 0 0 3px var(--ss-danger-soft); }
.ld-otp.is-error { animation: ss-shake 180ms var(--ss-ease) 1; }
.ld-otp.is-success .ld-otp__box { border-color: var(--ss-success); background: var(--ss-success-soft); animation: ld-otp-ok var(--ss-dur-comp) var(--ss-ease) both; }
.ld-otp.is-success .ld-otp__box:nth-child(2) { animation-delay: 30ms; }
.ld-otp.is-success .ld-otp__box:nth-child(3) { animation-delay: 60ms; }
.ld-otp.is-success .ld-otp__box:nth-child(4) { animation-delay: 90ms; }
.ld-otp.is-success .ld-otp__box:nth-child(5) { animation-delay: 120ms; }
.ld-otp.is-success .ld-otp__box:nth-child(6) { animation-delay: 150ms; }
@keyframes ld-otp-ok { 50% { transform: scale(1.06); } }

@media (max-width: 640px) {
    .ld-auth .ss-sheet__panel { width: 100%; background: color-mix(in srgb, var(--ss-bg) 95%, transparent); }
    .ld-auth__head { padding: 0 8px; min-height: 44px; margin-top: -10px; }
    .ld-auth__body { padding: 0 20px calc(22px + env(safe-area-inset-bottom)); gap: 14px; }
    .ld-auth__tile { width: 46px; height: 46px; }
    .ld-otp { gap: 8px; }
    .ld-otp__box { height: 56px; font-size: 1.375rem; }
}

/* [c3] */
.cn { flex: 1 0 auto; display: grid; place-items: center; padding: clamp(24px, 6vw, 64px) var(--ss-gutter) 48px; }
.cn__card { width: min(100%, 480px); display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 36px); border-radius: var(--ss-r-sheet); background: var(--ss-surface); border: 1px solid var(--ss-border); box-shadow: var(--ss-shadow-md); }
/* [c4] */
.cn__card { overflow: hidden; }
.cn__hero { position: relative; margin: calc(-1 * clamp(24px, 4vw, 36px)) calc(-1 * clamp(24px, 4vw, 36px)) 4px; height: 168px; overflow: hidden; }
.cn__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.cn__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--ss-surface) 55%, transparent) 72%, var(--ss-surface) 100%); }
.cn__pair { position: absolute; left: clamp(24px, 4vw, 36px); bottom: 14px; z-index: 1; display: flex; align-items: center; gap: 10px; }
.cn__logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; box-shadow: var(--ss-shadow-md); }
.cn__logo[hidden] { display: none; }
.cn__logo--brand { background: #1a1917; box-shadow: 0 0 0 1px var(--ss-accent-line), 0 0 24px var(--ss-accent-glow); }
.cn__logo--app { background: #ffffff; color: #000000; border: 1px solid rgba(0, 0, 0, 0.08); }
.cn__logo svg { width: 28px; height: auto; }
.cn__logo .ss-ai-mark { width: 28px; height: 28px; color: #000000; }
.cn__link { display: flex; gap: 5px; }
.cn__link i { width: 5px; height: 5px; border-radius: 50%; background: var(--ss-accent); box-shadow: 0 0 8px var(--ss-accent-glow-strong); }
.cn__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); font-stretch: var(--ss-stretch-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.cn__text { color: var(--ss-text-soft); line-height: 1.55; }
.cn__steps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: cn; }
.cn__steps li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--ss-fs-sm); color: var(--ss-text-soft); line-height: 1.5; counter-increment: cn; }
.cn__steps li::before { content: counter(cn); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ss-surface-2); color: var(--ss-text); font-weight: 700; font-size: var(--ss-fs-xs); flex: none; }
.cn__steps strong { color: var(--ss-text); }
.cn__url { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--ss-surface-2); border: 1px solid var(--ss-border); }
.cn__url-label { font-size: var(--ss-fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ss-text-faint); }
.cn__url code { min-width: 0; overflow-wrap: anywhere; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--ss-fs-md); font-weight: 600; user-select: all; }
.cn__seg .ss-seg__opt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; min-height: 44px; }
.cn__seg .ss-seg__opt .ss-ai-mark { width: 16px; height: 16px; flex: none; }
.cn__panel { display: flex; flex-direction: column; gap: 14px; }
.cn__panel[hidden] { display: none; }
.cn__soon { color: var(--ss-text-soft); line-height: 1.55; padding: 14px 16px; border-radius: 12px; background: var(--ss-surface-2); }
.cn__fine { font-size: var(--ss-fs-sm); color: var(--ss-text-soft); line-height: 1.5; }
.cn__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cn__more { margin-left: -12px; }
.cn__more svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
    .cn { place-items: start stretch; padding-top: 16px; }
    .cn__card { padding: 22px 18px; box-shadow: none; }
    .cn__hero { margin: -22px -18px 2px; height: 148px; }
    .cn__pair { left: 18px; }
}
.cn { grid-template-columns: minmax(0, 1fr); }
.cn__card { min-width: 0; justify-self: center; }

