:root{
  --gateway-bg:#eef1f5;
  --gateway-card:#ffffff;
  --gateway-navy:#132a59;
  --gateway-navy-strong:#0f2147;
  --gateway-text:#11203b;
  --gateway-muted:#66748a;
  --gateway-border:#dce3eb;
  --gateway-shadow:0 18px 48px rgba(20,38,73,.10);
  --gateway-kakao:#fee500;
}
.vzf-gateway{position:relative;min-height:100dvh;background:linear-gradient(180deg,#f7f8fb 0%,#edf1f5 100%);color:var(--gateway-text);font-family:"Pretendard","Noto Sans KR","Segoe UI",sans-serif;overflow:hidden}
.gateway-content{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px max(10px,var(--safe-right,0px)) 12px max(10px,var(--safe-left,0px));box-sizing:border-box}
.gateway-login-visual{position:relative;width:min(100%,430px);aspect-ratio:815/1550;border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 18px 48px rgba(9,18,38,.16);isolation:isolate}
.gateway-login-ui{position:absolute;inset:0;z-index:4}

/* VZT187 — real dynamic scene, not a rasterized phone mockup. */
.gateway-scene{position:absolute;inset:0 0 29.5% 0;z-index:0;overflow:hidden;background:#0c1b3a;--scene-brightness:.72;--scene-saturation:.95;--scene-contrast:1.05;--scene-tint:rgba(2,15,48,.35);--stars-opacity:.7;--sun-opacity:0;--moon-opacity:1;--sun-x:50%;--sun-y:65%;--moon-x:72%;--moon-y:28%;--celestial-glow:rgba(214,229,255,.58);--glow-x:72%}
.gateway-scene-photo{position:absolute;inset:-2%;background:url('./assets/gateway/vzf-harbor-base.webp') center/cover no-repeat;filter:brightness(var(--scene-brightness)) saturate(var(--scene-saturation)) contrast(var(--scene-contrast));transform:scale(1.025);transition:filter 75s linear}
.gateway-scene-tint{position:absolute;inset:0;background:linear-gradient(180deg,var(--scene-tint) 0%,rgba(0,0,0,.02) 58%,rgba(3,11,25,.22) 100%);transition:background 75s linear}
.gateway-stars{position:absolute;inset:0 0 33% 0;opacity:var(--stars-opacity);background-image:radial-gradient(circle at 10% 18%,#fff 0 1px,transparent 1.6px),radial-gradient(circle at 23% 8%,#fff 0 1.2px,transparent 1.8px),radial-gradient(circle at 31% 29%,#dfeaff 0 1px,transparent 1.7px),radial-gradient(circle at 46% 14%,#fff 0 1.2px,transparent 1.8px),radial-gradient(circle at 56% 27%,#dce7ff 0 1px,transparent 1.6px),radial-gradient(circle at 67% 7%,#fff 0 1px,transparent 1.8px),radial-gradient(circle at 79% 22%,#fff 0 1.1px,transparent 1.7px),radial-gradient(circle at 91% 11%,#dfeaff 0 1px,transparent 1.6px),radial-gradient(circle at 16% 41%,#fff 0 .9px,transparent 1.5px),radial-gradient(circle at 38% 47%,#fff 0 1px,transparent 1.5px),radial-gradient(circle at 62% 39%,#fff 0 .9px,transparent 1.5px),radial-gradient(circle at 86% 44%,#fff 0 1.1px,transparent 1.7px);filter:drop-shadow(0 0 3px rgba(170,205,255,.65));transition:opacity 75s linear;animation:gatewayStarTwinkle 6s ease-in-out infinite alternate}
.gateway-sun,.gateway-moon{position:absolute;left:0;top:0;pointer-events:none;transform:translate(-50%,-50%);transition:left 75s linear,top 75s linear,opacity 75s linear}
.gateway-sun{left:var(--sun-x);top:var(--sun-y);width:58px;height:58px;border-radius:50%;opacity:var(--sun-opacity);background:radial-gradient(circle,#fffbd6 0 27%,#ffe45c 38%,#ffb52c 68%,rgba(255,149,27,.42) 75%,transparent 76%);box-shadow:0 0 24px rgba(255,191,52,.84),0 0 62px rgba(255,145,35,.48)}
.gateway-moon{left:var(--moon-x);top:var(--moon-y);width:44px;height:44px;border-radius:50%;opacity:var(--moon-opacity);background:radial-gradient(circle at 36% 30%,#fff 0 22%,#eef3ff 48%,#c8d3e8 74%,#aebbd3 100%);box-shadow:0 0 18px rgba(225,236,255,.78),0 0 44px rgba(155,189,255,.32)}
.gateway-moon i,.gateway-moon:before,.gateway-moon:after{content:"";position:absolute;border-radius:50%;background:rgba(132,148,176,.24)}
.gateway-moon i{width:9px;height:9px;left:9px;top:11px}.gateway-moon:before{width:6px;height:6px;right:8px;top:8px}.gateway-moon:after{width:11px;height:7px;right:9px;bottom:9px}
.gateway-horizon-glow{position:absolute;left:var(--glow-x);bottom:18%;width:38%;height:26%;transform:translateX(-50%);background:radial-gradient(ellipse at center,var(--celestial-glow) 0%,rgba(255,255,255,.08) 34%,transparent 72%);opacity:.68;filter:blur(10px);transition:left 75s linear,background 75s linear}
.gateway-water-glow{position:absolute;left:var(--glow-x);bottom:-5%;width:20%;height:43%;transform:translateX(-50%);background:linear-gradient(180deg,var(--celestial-glow) 0%,rgba(255,255,255,.16) 35%,transparent 100%);filter:blur(13px);opacity:.42;clip-path:polygon(40% 0,60% 0,100% 100%,0 100%);transition:left 75s linear,background 75s linear}
@keyframes gatewayStarTwinkle{from{filter:drop-shadow(0 0 2px rgba(170,205,255,.45));transform:translateY(0)}to{filter:drop-shadow(0 0 4px rgba(210,228,255,.82));transform:translateY(-1px)}}

/* Brand: vivid fixed background so logo text never fades into the moving sky. */
.gateway-brand{position:absolute;z-index:5;top:2.3%;left:50%;transform:translateX(-50%);min-width:154px;height:54px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:4px;background:linear-gradient(135deg,#071632 0%,#0b3f99 52%,#08265e 100%);border:1px solid rgba(255,213,0,.72);box-shadow:0 8px 22px rgba(0,10,39,.35),0 0 18px rgba(39,116,255,.18);box-sizing:border-box}
.gateway-brand-mark{width:15px;height:15px;flex:0 0 15px;background:#ffd21a;border-radius:4px;transform:rotate(45deg);box-shadow:0 0 8px rgba(255,210,26,.28)}
.gateway-brand-copy{display:grid;line-height:1;text-align:center}.gateway-brand-copy b{font-size:14px;letter-spacing:.08em;color:#fff;font-weight:700}.gateway-brand-copy em{margin-top:8px;font-size:12px;letter-spacing:.08em;color:#9ec9ff;font-style:normal;font-weight:700}

/* Main copy is fully transparent; only the text sits over the scene. */
.gateway-hero-copy{position:absolute;z-index:5;left:7%;top:39.2%;width:86%;color:#fff;text-align:left;background:transparent}
.gateway-hero-copy h1{margin:0;font-size:clamp(29px,7.2vw,39px);line-height:1.2;letter-spacing:-.02em;color:#fff;font-weight:700;-webkit-text-stroke:.8px rgba(5,13,28,.95);paint-order:stroke fill;text-shadow:0 2px 0 rgba(4,10,24,.92),0 4px 11px rgba(0,0,0,.68)}
.gateway-hero-copy h1 strong{font-weight:700;color:#fff}
.gateway-hero-copy p{margin:12px 0 0;font-size:clamp(12px,3.4vw,15px);line-height:1.4;font-weight:700;letter-spacing:-.02em;color:#fff;-webkit-text-stroke:.35px rgba(0,0,0,.82);paint-order:stroke fill;text-shadow:0 2px 5px rgba(0,0,0,.82),0 0 2px rgba(0,0,0,.95)}
.gateway-feature-links{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;white-space:nowrap;color:#fff;font-size:clamp(11px,3.05vw,14px);font-weight:700;letter-spacing:-.02em;text-shadow:0 2px 5px rgba(0,0,0,.85),0 0 2px #000}
.gateway-feature-links i{font-style:normal;color:rgba(255,255,255,.92);font-weight:600}

.gateway-kakao-cta{position:absolute;z-index:6;left:6.6%;top:63.7%;width:86.8%;height:7.7%;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:12px;background:linear-gradient(180deg,#ffd329 0%,#ffc917 100%);color:#151515;box-shadow:0 11px 24px rgba(18,31,55,.24);font-size:clamp(15px,4.2vw,19px);font-weight:700;cursor:pointer}
.gateway-kakao-cta:focus-visible,.gateway-alt-buttons button:focus-visible,.gateway-entry-links button:focus-visible,.gateway-partner-note button:focus-visible{outline:3px solid rgba(39,94,255,.48);outline-offset:2px}
.gateway-kakao-icon{position:relative;width:22px;height:19px;border-radius:50%;background:#2b281d;display:inline-block;flex:0 0 auto}.gateway-kakao-icon:after{content:"";position:absolute;left:3px;bottom:-4px;width:7px;height:7px;background:#2b281d;clip-path:polygon(0 0,100% 0,0 100%)}

.gateway-lower-panel{position:absolute;z-index:3;left:0;right:0;top:68.6%;bottom:0;padding:7.7% 6.6% 3.2%;box-sizing:border-box;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.92) 9%,#fff 17%,#fdfefe 100%);color:var(--gateway-text)}
.gateway-alt-divider{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;color:#68758a;font-size:12px;font-weight:700}.gateway-alt-divider span{height:1px;background:#d8dee7}.gateway-alt-divider b{white-space:nowrap}
.gateway-alt-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.gateway-alt-buttons button{height:55px;border:1px solid #d5dde7;border-radius:12px;background:rgba(255,255,255,.96);color:#14233f;display:flex;align-items:center;justify-content:center;gap:12px;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 3px 10px rgba(23,43,77,.04)}
.gateway-email-icon{width:22px;height:16px;border:1.8px solid #14233f;border-radius:4px;position:relative;box-sizing:border-box}.gateway-email-icon:after{content:"";position:absolute;left:3px;right:3px;top:2px;height:8px;border-left:1.7px solid #14233f;border-bottom:1.7px solid #14233f;transform:rotate(-45deg)}
.gateway-phone-icon{width:14px;height:23px;border:1.8px solid #14233f;border-radius:4px;position:relative;box-sizing:border-box}.gateway-phone-icon:after{content:"";position:absolute;left:50%;bottom:2px;width:3px;height:3px;border-radius:50%;background:#14233f;transform:translateX(-50%)}
.gateway-entry-links{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}.gateway-entry-links button,.gateway-partner-note button{border:0;background:transparent;color:#13213b;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:4px;cursor:pointer;padding:2px}.gateway-entry-links i{font-style:normal;color:#c5cbd4}
.gateway-partner-note{margin:12px 0 0;text-align:center;color:#929dad;font-size:12px}.gateway-partner-note button{color:#9a6500;font-size:12px}
.gateway-legal{margin:12px 0 0;text-align:center;color:#9aa4b3;font-size:12px}.gateway-legal span{color:#946000;text-decoration:underline;text-underline-offset:2px}

.gateway-floating-error{position:relative;z-index:10;width:min(100%,460px);margin-bottom:12px;padding:12px 12px;border-radius:12px;background:#fff3f1;border:1px solid #f1cbc4;color:#a12b18;box-shadow:0 8px 28px rgba(161,43,24,.08)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.gateway-auth-backdrop{position:fixed;inset:0;z-index:60;background:rgba(20,32,59,.36);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.gateway-auth-sheet{position:fixed;z-index:61;left:50%;bottom:max(0px,var(--safe-bottom,0px));transform:translateX(-50%);width:min(560px,100%);max-height:min(84dvh,760px);overflow:auto;padding:12px 22px max(24px,calc(18px + var(--safe-bottom,0px)));border:1px solid var(--gateway-border);border-bottom:0;border-radius:28px 28px 0 0;background:linear-gradient(180deg,#ffffff 0%,#f6f8fb 100%);box-shadow:0 -18px 58px rgba(18,33,71,.22);animation:gatewaySheetIn .22s ease-out;color:var(--gateway-text)}
.gateway-sheet-handle{width:44px;height:5px;margin:0 auto 12px;border-radius:99px;background:#c8d3e1}
.gateway-auth-head{display:flex;align-items:flex-start;gap:16px}.gateway-auth-head>div{min-width:0;flex:1}
.gateway-auth-head span{font-size:12px;letter-spacing:.08em;color:#6880a8;font-weight:700}
.gateway-auth-head h2{margin:4px 0 8px;font-size:22px;line-height:1.2;color:var(--gateway-navy-strong);letter-spacing:-.02em}
.gateway-auth-head p{margin:0;color:var(--gateway-muted);line-height:1.4;font-size:13px}
.gateway-auth-close{width:40px;height:40px;border:1px solid var(--gateway-border);border-radius:999px;background:#fff;color:var(--gateway-navy-strong);font-size:22px;cursor:pointer;box-shadow:0 4px 10px rgba(20,38,73,.06)}
.gateway-auth-error{margin:12px 0 0;padding:12px 12px;border:1px solid #f1cbc4;border-radius:12px;background:#fff3f1;color:#a12b18;font-size:13px}
.gateway-auth-sheet .social-login-stack{margin:16px 0 12px;display:grid;gap:12px}
.gateway-auth-sheet .social-login-button{min-height:56px;border-radius:12px;border:1px solid var(--gateway-border);font-weight:700;box-shadow:0 8px 18px rgba(20,38,73,.06)}
.gateway-auth-sheet .social-login-button.kakao{background:var(--gateway-kakao);border-color:var(--gateway-kakao);color:#191919}
.gateway-auth-sheet .social-login-button.naver{background:#03c75a;border-color:#03c75a;color:#fff}
.gateway-auth-sheet .social-login-button.google{background:#fff;color:#1f1f1f;border-color:#dadce0}
.gateway-auth-sheet .social-login-button.apple{background:#000;color:#fff;border-color:#000}
.gateway-auth-sheet .social-login-button:disabled{opacity:.48;cursor:not-allowed}
.gateway-auth-sheet .social-login-note{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--gateway-muted);padding:4px 2px 8px;border-bottom:1px solid #edf1f5}
.gateway-auth-sheet .passwordless-email-details,.gateway-auth-sheet .email-login-details{margin-top:12px;border-top:1px solid #edf1f5;padding-top:12px}
.gateway-auth-sheet .passwordless-email-details summary,.gateway-auth-sheet .email-login-details summary{cursor:pointer;color:var(--gateway-navy-strong);font-weight:700}
.gateway-auth-sheet .passwordless-email-box{display:grid;gap:12px;margin-top:12px}
.gateway-auth-sheet .passwordless-email-box label,.gateway-email-form label{display:grid;gap:8px;color:var(--gateway-text);font-weight:700}
.gateway-auth-sheet .passwordless-email-box input,.gateway-email-form input{width:100%;min-height:48px;border:1px solid var(--gateway-border);border-radius:12px;padding:0 12px;background:#fff;color:var(--gateway-text)}
.gateway-auth-sheet .passwordless-email-box input:focus,.gateway-email-form input:focus{outline:1px solid #376bff;border-color:#376bff;box-shadow:0 0 0 3px rgba(55,107,255,.10)}
.gateway-auth-sheet .passwordless-send-code,.gateway-auth-sheet .passwordless-verify-code,.gateway-email-submit{min-height:52px;border-radius:12px;border:1px solid #24407d!important;background:#17306a!important;color:#fff!important;font-weight:700;cursor:pointer}
.gateway-auth-sheet .passwordless-code-step{display:grid;gap:12px}
.gateway-auth-sheet .passwordless-dev-code{padding:8px 12px;border:1px solid rgba(94,208,141,.45);border-radius:8px;background:rgba(20,78,49,.08);color:#1c6b44;font-weight:700}
.gateway-auth-sheet .passwordless-help,.gateway-auth-sheet .account-foundation-note,.gateway-account-note{color:var(--gateway-muted);line-height:1.4;font-size:12px}
.gateway-email-form{margin-top:12px;display:grid;gap:12px}
.gateway-account-note{margin:12px 0 0;text-align:center}
.legacy-password-details{opacity:.96}
@keyframes gatewaySheetIn{from{transform:translate(-50%,24px);opacity:0}to{transform:translate(-50%,0);opacity:1}}

@media(max-width:760px),(pointer:coarse){
  .vzf-gateway{height:100dvh;min-height:100dvh}
  .gateway-content{height:100dvh;min-height:0;justify-content:flex-start;padding:var(--safe-top,0px) var(--safe-right,0px) var(--safe-bottom,0px) var(--safe-left,0px)}
  .gateway-login-visual{width:100%;height:calc(100dvh - var(--safe-top,0px) - var(--safe-bottom,0px));max-width:none;aspect-ratio:auto;border-radius:0;margin:0;box-shadow:none}
  .gateway-auth-sheet{left:0;right:0;transform:none;width:100%;padding-left:max(18px,calc(14px + var(--safe-left,0px)));padding-right:max(18px,calc(14px + var(--safe-right,0px)));max-height:80dvh}
  @keyframes gatewaySheetIn{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}
}
@media(max-width:390px){
  .gateway-brand{min-width:145px;height:50px}.gateway-brand-copy b{font-size:13px}.gateway-brand-copy em{font-size:12px}
  .gateway-hero-copy{left:6.3%;width:87.4%;top:38.6%}.gateway-hero-copy h1{font-size:22px}.gateway-hero-copy p{font-size:12px;margin-top:12px}.gateway-feature-links{font-size:12px;gap:4px;margin-top:12px}
  .gateway-kakao-cta{left:6.3%;width:87.4%;font-size:14px;border-radius:12px}
  .gateway-lower-panel{padding-left:6.3%;padding-right:6.3%}.gateway-alt-buttons button{font-size:13px;height:52px}.gateway-entry-links{font-size:12px;gap:12px}.gateway-partner-note{font-size:12px}.gateway-partner-note button{font-size:12px}.gateway-legal{font-size:12px}
}
@media(max-height:720px) and (max-width:760px){
  .gateway-brand{top:1.6%;height:46px}.gateway-hero-copy{top:36.6%}.gateway-hero-copy h1{font-size:22px}.gateway-hero-copy p{margin-top:8px;line-height:1.4}.gateway-feature-links{margin-top:8px}
  .gateway-kakao-cta{top:61.8%;height:7.6%}.gateway-lower-panel{top:67%;padding-top:7.1%}.gateway-alt-buttons{margin-top:8px}.gateway-alt-buttons button{height:48px}.gateway-entry-links{margin-top:8px}.gateway-partner-note{margin-top:8px}.gateway-legal{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.gateway-auth-sheet{animation:none}.gateway-stars{animation:none}.gateway-scene-photo,.gateway-scene-tint,.gateway-stars,.gateway-sun,.gateway-moon,.gateway-horizon-glow,.gateway-water-glow{transition:none!important}}
html.native-android .gateway-auth-backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}

/* VZT161 — Unified OTP customer login */
.otp-channel-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 12px}
.otp-channel-tabs button{min-height:44px;border:1px solid #dce3eb;border-radius:12px;background:#fff;color:#53647b;font-weight:700;cursor:pointer}
.otp-channel-tabs button.active{border-color:#1c4eae;background:#173873;color:#fff;box-shadow:0 7px 18px rgba(23,56,115,.14)}
.otp-auth-panel{display:grid;gap:12px;padding:12px;border:1px solid #e1e7ef;border-radius:12px;background:#fff;box-shadow:0 10px 26px rgba(20,38,73,.05)}
.otp-auth-copy{display:grid;gap:4px}.otp-auth-copy strong{color:#102b5d;font-size:18px;font-weight:700;letter-spacing:-.02em}.otp-auth-copy span{color:#6c7a8e;font-size:12px;line-height:1.4}
.otp-target-label,.otp-code-step label{display:grid;gap:8px;color:#263b5d;font-size:12px;font-weight:700}
.otp-target-label input,.otp-code-step input{width:100%;min-height:50px;border:1px solid #d6dfe9;border-radius:12px;background:#fdfefe;color:#142846;padding:0 12px;font-size:16px}
.otp-target-label input:focus,.otp-code-step input:focus{outline:none;border-color:#2c66d6;box-shadow:0 0 0 3px rgba(44,102,214,.10)}
.otp-send-button,.otp-verify-button{min-height:52px;border:0;border-radius:12px;background:linear-gradient(180deg,#245fd6,#1747a6);color:#fff;font-weight:700;font-size:14px;cursor:pointer;box-shadow:0 9px 18px rgba(26,77,178,.16)}
.otp-code-step{display:grid;gap:12px;padding-top:4px}.otp-code-step[hidden]{display:none!important}
.otp-delivery-status{padding:12px 12px;border-radius:12px;background:#edf6ff;color:#1d568a;font-size:12px;font-weight:700;line-height:1.4}
.otp-dev-code{padding:12px 12px;border-radius:12px;border:1px solid #ccead9;background:#f3fcf7;color:#216e47;font-weight:700;font-size:12px}.otp-dev-code[hidden]{display:none!important}
.otp-help{color:#7c899b;font-size:12px;line-height:1.4}
@media(max-width:430px){.otp-channel-tabs{gap:8px}.otp-channel-tabs button{min-height:42px;font-size:12px}.otp-auth-panel{padding:12px}.otp-auth-copy strong{font-size:16px}}

/* VZT189 — fixed login composition + four time-of-day representative image skins; boundary-scheduled switching with no periodic polling.
   The approved text, positions and forms remain in the DOM as transparent hit areas;
   only the visual skin changes with device local time. */
.gateway-login-visual{aspect-ratio:941/1672}
.gateway-scene{inset:0;z-index:0;background:#fff;overflow:hidden}
.gateway-time-skin{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;display:block;opacity:0;pointer-events:none;user-select:none;-webkit-user-drag:none;transition:opacity 1.2s ease}
.gateway-time-skin.is-active{opacity:1}

/* Once the bundled visual skin is ready, keep the approved raster composition visible
   and retain existing DOM controls only as accessible/clickable hit regions. */
.gateway-scene.is-ready + .gateway-login-ui .gateway-brand,
.gateway-scene.is-ready + .gateway-login-ui .gateway-hero-copy,
.gateway-scene.is-ready + .gateway-login-ui .gateway-alt-divider,
.gateway-scene.is-ready + .gateway-login-ui .gateway-legal{opacity:0;pointer-events:none}
.gateway-scene.is-ready + .gateway-login-ui .gateway-lower-panel{background:transparent}
.gateway-scene.is-ready + .gateway-login-ui .gateway-kakao-cta,
.gateway-scene.is-ready + .gateway-login-ui .gateway-alt-buttons button,
.gateway-scene.is-ready + .gateway-login-ui .gateway-entry-links,
.gateway-scene.is-ready + .gateway-login-ui .gateway-partner-note{opacity:0;box-shadow:none}
.gateway-scene.is-ready + .gateway-login-ui .gateway-kakao-cta,
.gateway-scene.is-ready + .gateway-login-ui .gateway-alt-buttons button{background:transparent;border-color:transparent;color:transparent}
.gateway-scene.is-ready + .gateway-login-ui .gateway-kakao-icon,
.gateway-scene.is-ready + .gateway-login-ui .gateway-email-icon,
.gateway-scene.is-ready + .gateway-login-ui .gateway-phone-icon{opacity:0}

@media(prefers-reduced-motion:reduce){.gateway-time-skin{transition:none!important}}


/* VZT220 — login / authentication mobile fit. No authentication contract change. */
@media(max-width:760px),(pointer:coarse){
  .gateway-shell{min-height:var(--vzf-viewport-h,100dvh);padding-left:max(0px,env(safe-area-inset-left));padding-right:max(0px,env(safe-area-inset-right))}
  .gateway-kakao-cta,.gateway-alt-buttons button,.otp-send-button,.otp-verify-button{min-height:52px}
  .gateway-auth-close{width:44px;height:44px;min-width:44px;min-height:44px}
  .gateway-auth-sheet input,.gateway-auth-sheet textarea,.gateway-auth-sheet select{font-size:16px!important}
  .gateway-partner-note,.gateway-partner-note button{font-size:12px!important;line-height:1.4}
  .gateway-legal{font-size:12px!important;line-height:1.4}
  .otp-help{font-size:12px!important;line-height:1.4}
}
@media(max-width:390px){
  .gateway-brand-copy em{font-size:12px;letter-spacing:.08em}
  .gateway-feature-links{font-size:12px;white-space:normal;flex-wrap:wrap;justify-content:center}
  .gateway-partner-note,.gateway-partner-note button{font-size:12px!important}
  .gateway-legal{font-size:12px!important}
}
@media(max-height:720px) and (max-width:760px){
  .gateway-lower-panel{padding-bottom:max(14px,env(safe-area-inset-bottom))}
  .gateway-auth-sheet{max-height:calc(var(--vzf-viewport-h,100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 12px);overflow:auto}
}

/* VZT234 — partner login / signup entry hierarchy. Only the signup link grows by 1–2px. */
.gateway-partner-note button{font-size:12px!important}
@media(max-width:760px){.gateway-partner-note button{font-size:12px!important}}

/* AUTH82: keep the photographic hero from the raster skin, but cover its baked
   login controls and paint the live semantic controls exactly once. */
.gateway-scene.is-ready + .gateway-login-ui::before{content:'';position:absolute;z-index:2;left:0;right:0;top:61.2%;bottom:0;border-radius:0 0 12px 12px;background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,#fff 13%,#fdfefe 100%);pointer-events:none}
.gateway-scene.is-ready + .gateway-login-ui .gateway-alt-divider,.gateway-scene.is-ready + .gateway-login-ui .gateway-legal{opacity:1;pointer-events:auto}
.gateway-scene.is-ready + .gateway-login-ui .gateway-kakao-cta{opacity:1;box-shadow:0 8px 20px rgba(54,44,0,.14);background:var(--gateway-kakao);border-color:var(--gateway-kakao);color:#191919}
.gateway-scene.is-ready + .gateway-login-ui .gateway-alt-buttons button{opacity:1;box-shadow:0 3px 10px rgba(23,43,77,.06);background:#fff;border-color:#d5dde7;color:#14233f}
.gateway-scene.is-ready + .gateway-login-ui .gateway-entry-links,.gateway-scene.is-ready + .gateway-login-ui .gateway-partner-note{opacity:1}
.gateway-scene.is-ready + .gateway-login-ui .gateway-kakao-icon,.gateway-scene.is-ready + .gateway-login-ui .gateway-email-icon,.gateway-scene.is-ready + .gateway-login-ui .gateway-phone-icon{opacity:1}
.gateway-auth-sheet .otp-kakao-login{background:var(--gateway-kakao)!important;border-color:var(--gateway-kakao)!important;color:#191919!important}

/* VZ_BRAND_LOGIN_V1: 로그인 방법(카카오·이메일·휴대폰·둘러보기·사업자)은 그대로 두고, 로고와 바탕 그림만 브랜드로 바꾼다.
   바탕: 아이스 블루 + 위쪽 물결 + 아래 파도·낚시인 띠(docs/brand/login_mockup_21.webp에서 잘라 냄). 시간대 사진은 숨김. */
.vzf-gateway{background:linear-gradient(180deg,#f4f9fe 0%,#eaf3fb 100%)!important}
.vzf-gateway .gateway-login-visual{background:#f4f9fe!important}
.vzf-gateway .gateway-scene{background:radial-gradient(120% 60% at 110% -8%,rgba(2,160,212,.30) 0%,rgba(3,223,244,.16) 34%,transparent 60%),radial-gradient(90% 46% at -14% 4%,rgba(2,116,182,.20) 0%,rgba(234,243,251,0) 62%),linear-gradient(180deg,#f7fbff 0%,#eaf3fb 100%)!important}
.vzf-gateway .gateway-scene>*{display:none!important}
.vzf-gateway .gateway-login-visual::after{content:"";position:absolute;z-index:3;left:0;right:0;bottom:0;aspect-ratio:941/160;background:url(./assets/brand/login-wave-band.webp) center bottom/100% auto no-repeat;pointer-events:none}
.vzf-gateway .gateway-brand{top:3.5%!important;width:62%!important;max-width:280px;min-width:0!important;height:auto!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important;backdrop-filter:none!important}
.vzf-gateway .gateway-brand-mark{display:block!important;width:100%!important;height:auto!important;flex:none!important;aspect-ratio:1047/779;background:url(./assets/brand/vizentiq-lockup.png) center/contain no-repeat!important;transform:none!important;border-radius:0!important;box-shadow:none!important}
.vzf-gateway .gateway-brand-copy{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.vzf-gateway .gateway-hero-copy{top:33%!important;left:7%!important;width:86%!important;text-align:center!important;color:#011939!important}
.vzf-gateway .gateway-hero-copy h1,.vzf-gateway .gateway-hero-copy h1 strong{color:#011939!important;-webkit-text-stroke:0!important;text-shadow:none!important;font-size:21px!important}
.vzf-gateway .gateway-hero-copy h1 strong{color:#0274B6!important}
.vzf-gateway .gateway-hero-copy p{color:#3d5270!important;-webkit-text-stroke:0!important;text-shadow:none!important;font-weight:600!important}
.vzf-gateway .gateway-feature-links,.vzf-gateway .gateway-feature-links i{color:#023569!important;text-shadow:none!important;justify-content:center!important}
.vzf-gateway .gateway-lower-panel{background:transparent!important;padding-bottom:calc(14% + 8px)!important}
.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui::before{background:transparent!important}
.vzf-gateway .gateway-alt-buttons button,.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-alt-buttons button{border-color:#cfe1f2!important;color:#011939!important}
.vzf-gateway .gateway-entry-links button{color:#0274B6!important}
.vzf-gateway .gateway-partner-note button,.vzf-gateway .gateway-legal span{color:#0274B6!important}
.vzf-gateway .gateway-legal,.vzf-gateway .gateway-partner-note{color:#4f6380!important;position:relative;z-index:4}
.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-brand,.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-brand *,.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-hero-copy,.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-hero-copy *{opacity:1!important;visibility:visible!important}
.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-hero-copy h1,.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-hero-copy p,.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-feature-links{color:#011939!important;-webkit-text-fill-color:currentColor!important}
.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-hero-copy h1 strong{color:#0274B6!important}
.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui .gateway-hero-copy p{color:#3d5270!important}
.vzf-gateway .gateway-kakao-cta{top:56.5%!important}
.vzf-gateway .gateway-lower-panel{top:61.8%!important}
.vzf-gateway .gateway-scene.is-ready + .gateway-login-ui::before{top:56%!important}
.vzf-gateway button:focus:not(:focus-visible){outline:none}
.vzf-gateway button:focus-visible{outline:2px solid #0274B6!important;outline-offset:2px}

/* 2026-11-18 첫 화면 문구 변경(슬로건 두 줄 + 새 설명): 카카오 버튼과 겹치지 않게 로고를 조금 줄이고 글 묶음을 올림 */
html body .vzf-gateway .gateway-brand{width:52%!important;max-width:240px;top:3%!important}
html body .vzf-gateway .gateway-hero-copy{top:28.5%!important}
html body .vzf-gateway .gateway-hero-copy p:not(.gateway-brand-slogan){margin-top:6px!important;font-size:13px!important;line-height:1.38!important}
html body .gateway-hero-copy p.gateway-brand-slogan{margin:0 0 8px}
html body .vzf-gateway .gateway-feature-links{margin-top:12px!important}
@media (max-height:700px){html body .vzf-gateway .gateway-brand{width:40%!important;top:2.5%!important}html body .vzf-gateway .gateway-hero-copy{top:25%!important}html body .vzf-gateway .gateway-hero-copy p:not(.gateway-brand-slogan){font-size:12px!important;line-height:1.32!important;margin-top:4px!important}html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan{font-size:12px;margin:0 0 4px}html body .vzf-gateway .gateway-hero-copy h1,html body .vzf-gateway .gateway-hero-copy h1 strong{font-size:18px!important}html body .vzf-gateway .gateway-feature-links{margin-top:4px!important}}
/* VZ_LOGIN_ROW_V1 (2026-11-18): 로그인 두 버튼 한 줄 + 슬로건(위)과 제목 묶음(아래) 사이 공간 최대로 — 제목·설명·메뉴 줄은 버튼 바로 위에 붙인다 */
html body .vzf-gateway .gateway-login-row{position:absolute;z-index:6;left:6.6%;width:86.8%;top:63.5%;height:7.4%;min-height:48px;display:flex;gap:8px}
html body .vzf-gateway .gateway-login-row .gateway-kakao-cta{position:static!important;top:auto!important;left:auto!important;width:auto!important;height:100%!important;flex:1.25 1 0;min-width:0;gap:8px}
html body .vzf-gateway .gateway-login-row .gateway-kakao-cta strong{font-size:15px;white-space:nowrap}
html body .vzf-gateway .gateway-email-cta{flex:1 1 0;min-width:0;height:100%;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cfe1f2;border-radius:12px;background:#fff;color:#011939;font:inherit;font-size:15px;font-weight:700;white-space:nowrap;cursor:pointer;box-shadow:0 6px 16px rgba(2,40,80,.08)}
html body .vzf-gateway .gateway-email-cta .gateway-email-icon{flex:0 0 auto}
html body .vzf-gateway .gateway-hero-copy{top:28.5%!important;height:33%;display:flex;flex-direction:column}
html body .vzf-gateway .gateway-hero-copy h1{margin-top:auto!important}
html body .vzf-gateway .gateway-lower-panel{top:71.5%!important;padding-top:10px!important}
@media (max-height:700px){html body .vzf-gateway .gateway-hero-copy{top:25%!important;height:34%}html body .vzf-gateway .gateway-login-row{top:60.5%;height:8%}html body .vzf-gateway .gateway-lower-panel{top:69.5%!important}html body .vzf-gateway .gateway-login-row .gateway-kakao-cta strong,html body .vzf-gateway .gateway-email-cta{font-size:14px}}

/* VZ_LOGIN_WAVE_V2 (2026-11-19): 사용자 제공 웨이브 로그인 시안의 실시간 HTML/CSS 구현 */
html body .vzf-gateway{background:#f3f9fd!important}
html body .vzf-gateway .gateway-content{padding:12px!important}
html body .vzf-gateway .gateway-login-visual{
  width:min(100%,calc((100dvh - 24px)*.689),720px)!important;aspect-ratio:1040/1510!important;
  border:1px solid rgba(255,255,255,.95)!important;border-radius:32px!important;
  background:#f7fbff!important;box-shadow:0 18px 55px rgba(2,53,91,.15)!important
}
html body .vzf-gateway .gateway-scene{
  background:radial-gradient(70% 30% at 88% 4%,rgba(35,214,245,.33),transparent 70%),radial-gradient(60% 28% at 7% 5%,rgba(81,197,246,.25),transparent 72%),linear-gradient(180deg,#f9fcff 0%,#eef8ff 72%,#f8fcff 100%)!important
}
html body .vzf-gateway .gateway-login-visual::after{z-index:3;aspect-ratio:941/225!important;background-size:100% 100%!important}
html body .vzf-gateway .gateway-brand{top:4.2%!important;width:49%!important;max-width:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;gap:0!important}
html body .vzf-gateway .gateway-brand-mark{aspect-ratio:1047/779!important}
html body .vzf-gateway .gateway-brand-korean{display:block;margin-top:-1.5%;color:#011939;font-size:clamp(17px,4.7vw,31px);font-weight:800;line-height:1.05;letter-spacing:-.04em;white-space:nowrap}
html body .vzf-gateway .gateway-hero-copy{top:35.6%!important;left:6.5%!important;width:87%!important;height:auto!important;display:block!important;text-align:center!important}
html body .vzf-gateway .gateway-hero-copy h1{margin:0!important;color:#011939!important;font-size:clamp(15px,3.9vw,27px)!important;font-weight:800!important;line-height:1.35!important;letter-spacing:-.045em!important;white-space:nowrap!important}
html body .vzf-gateway .gateway-hero-copy h1 strong{color:#078ad6!important;-webkit-text-fill-color:#078ad6!important;font-weight:800!important}
html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan{display:block!important;margin:2.4% 0 0!important;color:#617083!important;font-size:clamp(12px,3.05vw,21px)!important;font-weight:600!important;line-height:1.3!important;letter-spacing:-.025em!important;white-space:nowrap!important}
html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan::before,html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan::after{content:"";display:inline-block;width:9%;height:1px;margin:0 3%;vertical-align:middle;background:#c7dfed}
html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan b{display:inline!important;color:#078ad6!important;-webkit-text-fill-color:#078ad6!important;font-weight:800!important}
html body .vzf-gateway .gateway-feature-links{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:start!important;gap:0!important;margin-top:7.3%!important;color:#023569!important;white-space:normal!important}
html body .vzf-gateway .gateway-feature-links>span{position:relative;display:grid!important;justify-items:center!important;gap:6px!important;min-width:0!important;color:#023569!important;font-size:clamp(10px,2.7vw,18px)!important;font-weight:800!important;line-height:1.2!important}
html body .vzf-gateway .gateway-feature-links>span+span::before{content:"";position:absolute;left:0;top:12%;width:1px;height:68%;background:#c7dce8}
html body .vzf-gateway .gateway-feature-links>span>i{display:grid!important;width:clamp(42px,11vw,74px)!important;aspect-ratio:1;place-items:center!important;border-radius:24%!important;background:linear-gradient(145deg,#f6fbff,#dceefa)!important;color:#023569!important;box-shadow:inset 0 1px 0 #fff!important}
html body .vzf-gateway .gateway-feature-links svg{width:56%;height:56%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body .vzf-gateway .gateway-feature-links b{font-weight:800;white-space:nowrap}
html body .vzf-gateway .gateway-login-row{top:61.6%!important;left:11.3%!important;width:77.4%!important;height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
html body .vzf-gateway .gateway-login-row .gateway-kakao-cta,html body .vzf-gateway .gateway-email-cta{width:100%!important;height:clamp(52px,7.1vw,72px)!important;min-height:52px!important;flex:none!important;border-radius:16px!important;font-size:clamp(16px,3.8vw,25px)!important;font-weight:800!important;box-shadow:0 8px 20px rgba(2,54,91,.09)!important}
html body .vzf-gateway .gateway-login-row .gateway-kakao-cta{background:#fee500!important;border-color:#fee500!important;color:#101010!important}
html body .vzf-gateway .gateway-login-row .gateway-kakao-cta strong{font-size:inherit!important;font-weight:800!important}
html body .vzf-gateway .gateway-email-cta{border:1.5px solid #acd1e9!important;background:rgba(255,255,255,.94)!important;color:#011939!important}
html body .vzf-gateway .gateway-kakao-icon{width:24px!important;height:20px!important;background:#050505!important}.vzf-gateway .gateway-kakao-icon::after{background:#050505!important}
html body .vzf-gateway .gateway-email-icon{width:28px!important;height:21px!important;border-color:#07528c!important}.vzf-gateway .gateway-email-icon::after{border-color:#07528c!important}
html body .vzf-gateway .gateway-lower-panel{z-index:5;top:77.5%!important;bottom:auto!important;padding:0!important;background:transparent!important}
html body .vzf-gateway .gateway-entry-links{margin:0!important}
html body .vzf-gateway .gateway-entry-links button{display:inline-flex;align-items:center;gap:7px;padding:8px!important;color:#0785c9!important;font-size:clamp(15px,3.6vw,24px)!important;font-weight:800!important;text-decoration:none!important;border-bottom:2px solid #0785c9!important;border-radius:0!important}
html body .vzf-gateway .gateway-entry-links button span{font-size:1.45em;font-weight:400;line-height:.6;transform:translateY(-1px)}
html body .vzf-gateway .gateway-partner-note,html body .vzf-gateway .gateway-legal{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
html body .vzf-gateway .gateway-copyright{position:absolute;z-index:5;left:0;right:0;bottom:2.1%;margin:0;color:#fff;font-size:clamp(10px,2.45vw,17px);font-weight:600;text-align:center;text-shadow:0 1px 3px rgba(0,35,80,.45)}
@media(max-width:760px),(pointer:coarse){
  html body .vzf-gateway .gateway-content{padding:0!important}
  html body .vzf-gateway .gateway-login-visual{width:100%!important;height:calc(100dvh - var(--safe-top,0px) - var(--safe-bottom,0px))!important;border:0!important;border-radius:0!important;box-shadow:none!important}
}
@media(max-width:370px) and (max-height:670px){
  html body .vzf-gateway .gateway-brand{top:2.3%!important;width:39%!important}
  html body .vzf-gateway .gateway-hero-copy{top:30.5%!important}
  html body .vzf-gateway .gateway-feature-links{margin-top:3.8%!important}
  html body .vzf-gateway .gateway-feature-links>span>i{width:38px!important}
  html body .vzf-gateway .gateway-login-row{top:58.2%!important;gap:7px!important}
  html body .vzf-gateway .gateway-login-row .gateway-kakao-cta,html body .vzf-gateway .gateway-email-cta{height:48px!important;min-height:48px!important;font-size:14px!important}
  html body .vzf-gateway .gateway-lower-panel{top:77%!important}
}

/* VZ_LOGIN_WAVE_V3 (2026-11-22): 수정 첨부 시안 + 네이버 로그인 + 한 화면 반응형 */
html body .vzf-gateway .gateway-login-visual{
  width:min(100%,calc((100dvh - 24px)*.565),620px)!important;
  aspect-ratio:943/1670!important;border-radius:28px!important
}
html body .vzf-gateway .gateway-top-wave{position:absolute;z-index:1;inset:0 0 auto;height:5.5%;overflow:hidden;pointer-events:none}
html body .vzf-gateway .gateway-top-wave svg{display:block;width:100%;height:100%}
html body .vzf-gateway .gateway-login-visual::after{height:16%!important;aspect-ratio:auto!important;background-size:100% 100%!important;background-position:center bottom!important}
html body .vzf-gateway .gateway-brand{top:7%!important;width:56%!important}
html body .vzf-gateway .gateway-brand-korean{margin-top:-.5%!important;color:#0568a8!important;font-size:clamp(17px,3.6vw,29px)!important}
html body .vzf-gateway .gateway-hero-copy{top:34%!important;left:5.2%!important;width:89.6%!important}
html body .vzf-gateway .gateway-hero-copy h1{font-size:clamp(14px,3.1vw,23px)!important}
html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan{margin-top:2.1%!important;font-size:clamp(12px,2.55vw,19px)!important;font-style:italic!important;font-weight:500!important}
html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan::before,html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan::after{display:none!important}
html body .vzf-gateway .gateway-feature-links{margin-top:6.2%!important}
html body .vzf-gateway .gateway-feature-links>span{gap:4px!important;font-size:clamp(10px,2.25vw,16px)!important}
html body .vzf-gateway .gateway-feature-links>span>i{width:clamp(44px,9vw,68px)!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
html body .vzf-gateway .gateway-feature-links svg{width:88%!important;height:88%!important;stroke-width:1.65!important}
html body .vzf-gateway .gateway-login-row{top:57.5%!important;left:7.2%!important;width:85.6%!important;gap:10px!important}
html body .vzf-gateway .gateway-login-row .gateway-kakao-cta,
html body .vzf-gateway .gateway-login-row .gateway-naver-cta,
html body .vzf-gateway .gateway-login-row .gateway-email-cta{
  position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;
  width:100%!important;height:clamp(46px,5.2vw,52px)!important;min-height:46px!important;margin:0!important;padding:0 16px!important;
  border-radius:999px!important;font:inherit;font-size:clamp(15px,3vw,23px)!important;font-weight:800!important;cursor:pointer;
  box-sizing:border-box;box-shadow:0 7px 18px rgba(2,54,91,.08)!important
}
html body .vzf-gateway .gateway-login-row .gateway-naver-cta{border:1px solid #03c75a!important;background:#03c75a!important;color:#fff!important}
html body .vzf-gateway .gateway-login-row .gateway-email-cta{border:2px solid #073b88!important;background:rgba(255,255,255,.96)!important}
html body .vzf-gateway .gateway-naver-icon{display:grid;width:25px;height:25px;place-items:center;color:#fff;font:900 20px/1 Arial,sans-serif}
html body .vzf-gateway .gateway-lower-panel{top:80.5%!important}
html body .vzf-gateway .gateway-entry-links button{font-size:clamp(14px,2.85vw,21px)!important}
html body .vzf-gateway .gateway-footer-links{position:absolute;z-index:5;left:4%;right:4%;bottom:4.8%;display:flex;align-items:center;justify-content:center;gap:clamp(10px,2.8vw,24px);color:#fff;font-size:clamp(10px,2.1vw,16px);font-weight:500;text-align:center;text-shadow:0 1px 3px rgba(0,35,80,.5)}
html body .vzf-gateway .gateway-footer-links a{color:inherit;text-decoration:none}
html body .vzf-gateway .gateway-footer-links i{width:1px;height:1em;background:rgba(255,255,255,.78)}
html body .vzf-gateway .gateway-copyright{bottom:1.25%!important;font-size:clamp(9px,1.95vw,15px)!important}
.gateway-auth-sheet .otp-naver-login{background:#03c75a!important;border-color:#03c75a!important;color:#fff!important}

@media(max-width:760px),(pointer:coarse){
  html body .vzf-gateway .gateway-login-visual{height:calc(100dvh - var(--safe-top,0px) - var(--safe-bottom,0px))!important;aspect-ratio:auto!important}
  html body .vzf-gateway .gateway-top-wave{height:5%!important}
  html body .vzf-gateway .gateway-brand{top:6.5%!important;width:58%!important}
  html body .vzf-gateway .gateway-hero-copy{top:33.5%!important;left:3.5%!important;width:93%!important}
  html body .vzf-gateway .gateway-login-row{top:57.5%!important;left:6%!important;width:88%!important;gap:10px!important}
  html body .vzf-gateway .gateway-lower-panel{top:80.5%!important}
  html body .vzf-gateway .gateway-login-visual::after{height:16%!important}
}

@media(max-width:370px) and (max-height:670px){
  html body .vzf-gateway .gateway-top-wave{height:4%!important}
  html body .vzf-gateway .gateway-brand{top:5%!important;width:42%!important}
  html body .vzf-gateway .gateway-brand-korean{font-size:16px!important}
  html body .vzf-gateway .gateway-hero-copy{top:26.5%!important}
  html body .vzf-gateway .gateway-hero-copy h1{font-size:13px!important}
  html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan{font-size:11px!important;margin-top:1.2%!important}
  html body .vzf-gateway .gateway-feature-links{margin-top:2.5%!important}
  html body .vzf-gateway .gateway-feature-links>span{font-size:9px!important;gap:1px!important}
  html body .vzf-gateway .gateway-feature-links>span>i{width:34px!important}
  html body .vzf-gateway .gateway-feature-links svg{width:82%!important;height:82%!important}
  html body .vzf-gateway .gateway-login-row{top:45.5%!important;gap:6px!important}
  html body .vzf-gateway .gateway-login-row .gateway-kakao-cta,
  html body .vzf-gateway .gateway-login-row .gateway-naver-cta,
  html body .vzf-gateway .gateway-login-row .gateway-email-cta{height:44px!important;min-height:44px!important;font-size:13px!important}
  html body .vzf-gateway .gateway-lower-panel{top:72.5%!important}
  html body .vzf-gateway .gateway-entry-links button{font-size:13px!important;padding:5px!important}
  html body .vzf-gateway .gateway-login-visual::after{height:18%!important}
  html body .vzf-gateway .gateway-footer-links{bottom:5.5%!important;font-size:9px!important;gap:8px!important}
  html body .vzf-gateway .gateway-copyright{bottom:1.5%!important;font-size:8.5px!important}
}

/* VZ_LOGIN_HEADLINE_FIT_V1 (2026-11-22): 「추억은 생생하게, …짜릿하게.」가 폰에서 화면 밖으로 나가던 문제.
   옛 규칙이 강조 단어만 21px 로 고정해 h1 크기를 줄여도 강조 단어는 그대로였다.
   강조 단어는 본문의 1.15배로 따라가게 하고, 글자 크기는 문구 칸 폭에 맞춘다(한 줄 약 22em). */
html body .vzf-gateway .gateway-hero-copy{container-type:inline-size}
html body .vzf-gateway .gateway-hero-copy h1{font-size:min(23px,calc(100cqw / 25))!important}
html body .vzf-gateway .gateway-hero-copy h1 strong{font-size:1.15em!important}
html body .vzf-gateway .gateway-hero-copy p.gateway-brand-slogan{font-size:min(19px,calc(100cqw / 23))!important}

/* VZ_LOGIN_SAFE_AREA_FIX_V1 (2026-11-22): 폰에서 로그인 화면 위가 잘리고 아래가 비던 문제.
   모바일 규칙이 .gateway-content 여백을 0 으로 지웠는데 그림 높이는 (100dvh - 위·아래 안전영역)이라
   그림이 상태 표시줄 밑까지 올라갔다. 위·아래 안전영역만큼 여백을 되살린다. */
@media(max-width:760px),(pointer:coarse){
  html body .vzf-gateway .gateway-content{padding:var(--safe-top,0px) var(--safe-right,0px) var(--safe-bottom,0px) var(--safe-left,0px)!important;box-sizing:border-box!important}
}
