        :root{
            --page-bg:linear-gradient(135deg,#0b3b36 0%,#0f766e 42%,#dbf8ef 100%);
            --glass:rgba(255,255,255,.14);
            --card:#ffffff;
            --text:#17322d;
            --muted:#5d766f;
            --border:rgba(18,59,49,.12);
            --accent:#0f766e;
            --shadow:0 30px 80px rgba(6,32,28,.24);
            --danger:#a42828;
            --danger-bg:#fff1f1;
            --success:#0f766e;
            --success-bg:#ecfdf5;
        }

        *{box-sizing:border-box}

        body{
            margin:0;
            min-height:100vh;
            padding:28px 18px;
            display:flex;
            align-items:center;
            justify-content:center;
            font-family:"Noto Sans SC",sans-serif;
            color:var(--text);
            background:
                radial-gradient(circle at top right,rgba(255,255,255,.12),transparent 28%),
                radial-gradient(circle at bottom left,rgba(255,255,255,.08),transparent 24%),
                var(--page-bg);
        }

        .auth-shell{
            width:min(1040px,100%);
            display:grid;
            grid-template-columns:1.04fr .96fr;
            border-radius:32px;
            overflow:hidden;
            border:1px solid rgba(255,255,255,.16);
            background:var(--glass);
            box-shadow:var(--shadow);
            backdrop-filter:blur(16px);
        }

        .auth-copy{
            position:relative;
            padding:52px 46px;
            color:#f5fffb;
            background:
                linear-gradient(165deg,rgba(8,43,38,.92),rgba(15,118,110,.76)),
                radial-gradient(circle at top left,rgba(255,255,255,.16),transparent 34%);
        }

        .auth-copy::after{
            content:"";
            position:absolute;
            right:-54px;
            bottom:-54px;
            width:220px;
            height:220px;
            border-radius:50%;
            background:radial-gradient(circle,rgba(255,255,255,.18),rgba(255,255,255,0));
        }

        .auth-badge{
            display:inline-flex;
            align-items:center;
            gap:8px;
            padding:9px 14px;
            border-radius:999px;
            background:rgba(255,255,255,.12);
            font-size:12px;
            font-weight:800;
            letter-spacing:.08em;
            text-transform:uppercase;
        }

        .auth-brand-lockup{
            display:flex;
            align-items:center;
            gap:14px;
            margin-bottom:26px;
        }

        .auth-brand-mark{
            width:58px;
            height:58px;
            border-radius:18px;
            object-fit:contain;
            background:rgba(255,255,255,.94);
            padding:7px;
            box-shadow:0 16px 34px rgba(0,0,0,.18);
            flex:0 0 auto;
        }

        .auth-brand-text strong{
            display:block;
            color:#fff;
            font-size:25px;
            line-height:1.08;
            font-weight:900;
        }

        .auth-brand-text span{
            display:block;
            margin-top:6px;
            color:rgba(245,255,251,.78);
            font-size:12px;
            line-height:1.35;
            font-weight:900;
            letter-spacing:.08em;
            text-transform:uppercase;
        }

        .auth-copy h1{
            margin:18px 0 14px;
            font-size:clamp(34px,4vw,50px);
            line-height:1.06;
            letter-spacing:-.02em;
        }

        .auth-copy p{
            margin:0;
            max-width:460px;
            font-size:15px;
            line-height:1.9;
            color:rgba(245,255,251,.88);
        }

        .auth-card{
            padding:34px;
            background:rgba(255,255,255,.98);
        }

        .auth-card-head{
            margin-bottom:20px;
        }

        .auth-card-head h2{
            margin:0 0 8px;
            font-size:28px;
            letter-spacing:-.02em;
        }

        .banner{
            margin-bottom:16px;
            padding:12px 14px;
            border-radius:14px;
            font-size:14px;
            line-height:1.6;
        }

        .banner.error{background:var(--danger-bg);color:var(--danger)}
        .banner.success{background:var(--success-bg);color:var(--success)}
        .banner.info{background:#f4fbf8;color:#5f766f}

        .field{margin-bottom:16px}

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

        .field input,
        .field select{
            width:100%;
            padding:14px 15px;
            border-radius:15px;
            border:1px solid var(--border);
            background:#fff;
            font-size:15px;
            outline:none;
            transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
        }

        .field input:focus,
        .field select:focus{
            border-color:rgba(15,118,110,.46);
            box-shadow:0 0 0 4px rgba(15,118,110,.1);
            transform:translateY(-1px);
        }

        .phone-row{
            display:grid;
            grid-template-columns:140px 1fr;
            gap:12px;
        }
        .phone-row-spaced{margin-bottom:12px}

        .send-row{
            display:grid;
            grid-template-columns:1fr auto;
            gap:12px;
            align-items:end;
        }

        .btn{
            border:none;
            border-radius:15px;
            padding:14px 16px;
            font-size:15px;
            font-weight:800;
            cursor:pointer;
        }

        .btn-primary{
            width:100%;
            background:linear-gradient(135deg,var(--accent),#14a38f);
            color:#fff;
            box-shadow:0 16px 32px rgba(15,118,110,.24);
        }

        .btn-secondary{
            white-space:nowrap;
            min-width:122px;
            background:#0f766e;
            color:#fff;
        }

        .btn-secondary[disabled]{
            opacity:.62;
            cursor:not-allowed;
        }

        .status-line{
            min-height:22px;
            margin:-4px 0 14px;
            font-size:13px;
            color:var(--muted);
        }

        .masked-phone{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:12px;
            padding:14px 15px;
            border-radius:15px;
            border:1px solid var(--border);
            background:#f8fbfa;
            font-size:15px;
            font-weight:800;
        }

        .masked-phone span{
            color:var(--muted);
            font-size:13px;
            font-weight:700;
        }

        .unsupported-card{
            padding:18px;
            border-radius:18px;
            background:#fff7ed;
            border:1px solid rgba(234,88,12,.16);
            color:#9a3412;
            line-height:1.8;
        }

        .unsupported-card strong{
            display:block;
            margin-bottom:4px;
            color:#7c2d12;
        }

        .captcha-modal{
            position:fixed;
            inset:0;
            display:none;
            align-items:center;
            justify-content:center;
            padding:18px;
            background:rgba(15,23,42,.48);
            z-index:30;
        }

        .captcha-modal.active{display:flex}

        .captcha-card{
            width:min(360px,100%);
            padding:20px;
            border-radius:18px;
            background:#fff;
            box-shadow:0 24px 64px rgba(15,23,42,.24);
        }

        .captcha-head{
            display:flex;
            justify-content:space-between;
            align-items:center;
            gap:12px;
            margin-bottom:14px;
        }

        .captcha-head strong{color:#0f172a;font-size:17px}

        .captcha-close{
            border:none;
            background:#f1f5f9;
            color:#64748b;
            border-radius:10px;
            width:32px;
            height:32px;
            cursor:pointer;
            font-size:20px;
            line-height:1;
        }

        .captcha-canvas{
            position:relative;
            height:112px;
            border-radius:16px;
            overflow:hidden;
            background:linear-gradient(135deg,#d7f2eb,#f8fafc 48%,#dbeafe);
            border:1px solid #c8dcd7;
        }

        .captcha-pattern{
            position:absolute;
            inset:0;
            background-image:
                radial-gradient(circle at 18% 24%, rgba(15,118,110,.12) 0 12px, transparent 13px),
                radial-gradient(circle at 78% 26%, rgba(37,99,235,.1) 0 16px, transparent 17px),
                radial-gradient(circle at 50% 76%, rgba(20,163,143,.1) 0 18px, transparent 19px);
        }

        .captcha-target,
        .captcha-piece{
            position:absolute;
            width:44px;
            height:44px;
        }

        .captcha-target{filter:drop-shadow(0 8px 14px rgba(15,23,42,.14))}
        .captcha-piece{left:0;filter:drop-shadow(0 12px 18px rgba(15,118,110,.34))}
        .captcha-target svg,
        .captcha-piece svg{display:block;width:44px;height:44px;overflow:visible}

        .captcha-track{
            position:relative;
            height:46px;
            margin-top:14px;
            border-radius:999px;
            background:#eef7f4;
            border:1px solid #d8ece6;
            overflow:hidden;
            user-select:none;
            touch-action:none;
        }

        .captcha-track-fill{
            position:absolute;
            left:0;
            top:0;
            bottom:0;
            width:0;
            background:rgba(15,118,110,.16);
        }

        .captcha-thumb{
            position:absolute;
            left:0;
            top:3px;
            width:40px;
            height:40px;
            border:none;
            border-radius:999px;
            background:#0f766e;
            color:#fff;
            font-weight:900;
            cursor:grab;
            box-shadow:0 8px 18px rgba(15,118,110,.22);
        }

        .captcha-track-label{
            position:absolute;
            inset:0;
            display:flex;
            align-items:center;
            justify-content:center;
            color:#64748b;
            font-size:13px;
            pointer-events:none;
        }

        .captcha-status{
            min-height:20px;
            margin-top:10px;
            color:var(--muted);
            font-size:13px;
        }

        .captcha-status.error{color:var(--danger)}
        .captcha-status.success{color:#0f766e}

        .footer{
            margin-top:16px;
            font-size:14px;
            color:var(--muted);
        }

        .footer a{
            color:var(--accent);
            text-decoration:none;
            font-weight:700;
        }

        .footer-links{
            margin-top:10px;
            display:flex;
            gap:14px;
            flex-wrap:wrap;
            font-size:13px;
        }

        .footer-links a{
            color:var(--accent);
            text-decoration:none;
            font-weight:700;
        }

        @media (max-width:920px){
            .auth-shell{grid-template-columns:1fr}
            .auth-copy,.auth-card{padding:30px 24px}
            .send-row{grid-template-columns:1fr}
            .btn-secondary{width:100%}
            .phone-row{grid-template-columns:1fr}
        }

        @media (max-width:640px){
            body{padding:14px 12px}
            .auth-shell{border-radius:24px}
            .auth-copy,.auth-card{padding:22px 18px}
            .auth-brand-lockup{gap:11px;margin-bottom:18px}
            .auth-brand-mark{width:48px;height:48px;border-radius:15px}
            .auth-brand-text strong{font-size:21px}
            .auth-brand-text span{font-size:10px}
            .auth-copy h1{margin:14px 0 10px;font-size:30px}
            .auth-copy p{font-size:14px;line-height:1.7}
            .auth-card-head h2{font-size:24px}
            .banner{padding:10px 12px;font-size:13px}
            .status-line{min-height:0;font-size:12px}
        }
    
