@charset "utf-8";


/* ── Design Tokens ───────────────────────────────────────────── */
html body #authGate#authGate.vqa{
  --vqa-primary-50:#eef1ff;  --vqa-primary-100:#e0e5ff; --vqa-primary-200:#c7d0fe;
  --vqa-primary-300:#a5b2fc; --vqa-primary-400:#828cf8; --vqa-primary-500:#6366f1;
  --vqa-primary-600:#4f46e5; --vqa-primary-700:#4338ca; --vqa-primary-800:#3730a3;
  --vqa-primary-900:#2e2a7f;
  --vqa-ink:#1e2436; --vqa-text:#26304a; --vqa-text-sub:#5b6579; --vqa-muted:#8b93a6;
  --vqa-bg:#f3f6fc; --vqa-bg-2:#e9eef7; --vqa-surface:#ffffff; --vqa-surface-2:#f7f9fe;
  --vqa-border:#e4e8f1; --vqa-border-strong:#d3dae7; --vqa-field-border:#d5dce8;
  --vqa-success:#0f9d6a; --vqa-success-bg:#e8f7ef; --vqa-success-bd:#bfe6d2;
  --vqa-warn:#c2760a; --vqa-warn-bg:#fdf3e2; --vqa-warn-bd:#f2ddb4;
  --vqa-error:#d92d20; --vqa-error-bg:#fdecea; --vqa-error-bd:#f6cfca;
  --vqa-coral:#ef7a5b;
  --vqa-r-sm:10px; --vqa-r:12px; --vqa-r-md:14px; --vqa-r-lg:18px; --vqa-r-card:24px;
  --vqa-shadow-sm:0 1px 2px rgba(30,41,59,.06), 0 1px 3px rgba(30,41,59,.05);
  --vqa-shadow:0 10px 30px rgba(35,45,80,.10), 0 2px 8px rgba(35,45,80,.06);
  --vqa-shadow-cta:0 8px 20px rgba(79,70,229,.28);
  --vqa-focus:0 0 0 3px rgba(99,102,241,.28);
  --vqa-ease:cubic-bezier(.22,1,.36,1);
  --vqa-font:"Inter","Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
}

/* ── Overlay + Shell ─────────────────────────────────────────── */
html body #authGate#authGate.vqa.auth-gate{
  background:
    radial-gradient(70% 60% at 12% 6%, rgba(99,102,241,.10), transparent 60%),
    radial-gradient(72% 66% at 90% 4%, rgba(56,189,248,.08), transparent 55%),
    linear-gradient(180deg, var(--vqa-bg) 0%, var(--vqa-bg-2) 100%) !important;
  padding:clamp(14px,3vw,32px) !important;
  align-items:center !important;
  justify-content:center !important;
  font-family:var(--vqa-font) !important;
}
html body #authGate#authGate.vqa *{ box-sizing:border-box !important; }
html body #authGate#authGate.vqa *:not(.ms){ font-family:var(--vqa-font) !important; }
html body #authGate#authGate.vqa .ms{ font-family:"Material Symbols Rounded","Material Symbols Outlined" !important; }
html body #authGate#authGate.vqa .auth-gate-card{
  width:min(452px,94vw) !important;
  max-width:min(452px,94vw) !important;
  max-height:min(94dvh,860px) !important;
  min-height:auto !important;
  overflow:auto !important; -webkit-overflow-scrolling:touch !important;
  background:var(--vqa-surface) !important;
  border:1px solid var(--vqa-border) !important;
  border-radius:var(--vqa-r-card) !important;
  box-shadow:var(--vqa-shadow) !important;
  padding:0 !important; gap:0 !important; display:block !important;
  grid-template-columns:none !important;
  backdrop-filter:none !important;
  text-align:left !important;
  transition:width .32s var(--vqa-ease) !important;
}
html body #authGate#authGate.vqa .auth-gate-hero{ display:none !important; }
html body #authGate#authGate.vqa .auth-gate-form-side{
  display:block !important; position:relative !important;
  background:transparent !important; min-height:auto !important;
  align-items:stretch !important;
  padding:clamp(26px,4vw,40px) clamp(22px,4vw,40px) clamp(24px,4vw,36px) !important;
}
html body #authGate#authGate.vqa .auth-ink-flow-canvas,
html body #authGate#authGate.vqa .auth-ink-flow-veil,
html body #authGate#authGate.vqa .auth-gate-head,
html body #authGate#authGate.vqa .auth-welcome-mark,
html body #authGate#authGate.vqa .auth-v2-brand,
html body #authGate#authGate.vqa .auth-gate-meta{ display:none !important; }

/* Welcome: hero を表示・form-side を隠す・カードを広げる */
html body #authGate#authGate.vqa[data-auth-panel="welcome"] .auth-gate-card{ width:min(940px,95vw) !important; max-width:min(940px,95vw) !important; }
html body #authGate#authGate.vqa[data-auth-panel="welcome"] .auth-gate-hero{ display:block !important; padding:0 !important; background:transparent !important; }
html body #authGate#authGate.vqa[data-auth-panel="welcome"] .auth-gate-form-side{ display:none !important; }

/* パネル基本 */
html body #authGate#authGate.vqa .auth-gate-panels{ display:block !important; gap:0 !important; width:auto !important; max-width:none !important; text-align:left !important; }
html body #authGate#authGate.vqa .auth-gate-panel{
  display:none !important; gap:0 !important; padding:0 !important; border:0 !important;
  border-radius:0 !important; background:none !important; box-shadow:none !important;
  animation:vqaPanelIn .34s var(--vqa-ease);
}
html body #authGate#authGate.vqa .auth-gate-panel.is-active{ display:block !important; }
@keyframes vqaPanelIn{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;} }

/* 方向つきスライド遷移（前進=右→中央 / 戻る=左→中央。welcome は横スライドしない） */
html body #authGate#authGate.vqa[data-auth-nav="fwd"] .auth-gate-panel.is-active:not([data-auth-panel="welcome"]){ animation:vqaSlideFwd .34s var(--vqa-ease); }
html body #authGate#authGate.vqa[data-auth-nav="back"] .auth-gate-panel.is-active:not([data-auth-panel="welcome"]){ animation:vqaSlideBack .34s var(--vqa-ease); }
@keyframes vqaSlideFwd{ from{opacity:0; transform:translateX(18px);} to{opacity:1; transform:none;} }
@keyframes vqaSlideBack{ from{opacity:0; transform:translateX(-18px);} to{opacity:1; transform:none;} }

/* キーボードフォーカスリング（focus-visible） */
html body #authGate#authGate.vqa a:focus-visible,
html body #authGate#authGate.vqa button:focus-visible,
html body #authGate#authGate.vqa [role="tab"]:focus-visible,
html body #authGate#authGate.vqa [tabindex]:focus-visible{
  outline:2px solid var(--vqa-primary-600) !important; outline-offset:2px !important; border-radius:10px !important;
}

/* ── 共通ブランド ───────────────────────────────────────────── */
html body #authGate#authGate.vqa .vqa-brandbar{ display:flex !important; align-items:center !important; gap:10px !important; margin-bottom:22px !important; }
html body #authGate#authGate.vqa .auth-gate-brand-mark,
html body #authGate#authGate.vqa .vqa-logo{
  width:40px !important; height:40px !important; border-radius:12px !important; display:grid !important; place-items:center !important;
  background:linear-gradient(160deg, var(--vqa-primary-500), var(--vqa-primary-700)) !important;
  color:#fff !important; box-shadow:0 6px 14px rgba(79,70,229,.28) !important; flex:0 0 auto !important;
}
html body #authGate#authGate.vqa .auth-gate-brand-monogram,
html body #authGate#authGate.vqa .vqa-logo span{ font-size:14px !important; font-weight:800 !important; letter-spacing:.06em !important; color:#fff !important; }
html body #authGate#authGate.vqa .vqa-brandbar-name{ font-size:15px !important; font-weight:700 !important; color:var(--vqa-ink) !important; }

/* ── パネル見出し ────────────────────────────────────────────── */
html body #authGate#authGate.vqa .auth-panel-copy{ display:block !important; margin-bottom:22px !important; text-align:left !important; gap:0 !important; }
html body #authGate#authGate.vqa .auth-panel-kicker{
  display:block !important; font-size:11px !important; font-weight:700 !important; letter-spacing:.16em !important; text-transform:uppercase !important;
  color:var(--vqa-primary-600) !important; margin-bottom:8px !important;
}
html body #authGate#authGate.vqa .auth-panel-title,
html body #authGate#authGate.vqa #authLoginPanel .auth-panel-title,
html body #authGate#authGate.vqa .auth-v2-copy-center .auth-panel-title{
  margin:0 0 6px !important; font-size:clamp(23px,4.4vw,27px) !important; font-weight:750 !important; line-height:1.2 !important;
  letter-spacing:-.01em !important; color:var(--vqa-ink) !important; text-align:left !important;
}
html body #authGate#authGate.vqa .auth-panel-sub,
html body #authGate#authGate.vqa #authLoginPanel .auth-panel-sub{
  display:block !important; margin:0 !important; color:var(--vqa-text-sub) !important; font-size:14px !important; line-height:1.7 !important; text-align:left !important; max-width:none !important;
}

/* ── フォーム ────────────────────────────────────────────────── */
html body #authGate#authGate.vqa .auth-form-shell{ display:block !important; }
html body #authGate#authGate.vqa .auth-gate-row{ display:block !important; margin-bottom:16px !important; }
html body #authGate#authGate.vqa .auth-gate-label{
  display:block !important; font-size:12.5px !important; font-weight:650 !important; color:var(--vqa-text) !important;
  margin:0 0 7px !important; letter-spacing:.01em !important; line-height:1.4 !important; text-align:left !important;
}
html body #authGate#authGate.vqa .auth-field-wrap,
html body #authGate#authGate.vqa .auth-pw-wrap,
html body #authGate#authGate.vqa .auth-select-wrap{ position:relative !important; display:flex !important; align-items:center !important; }
html body #authGate#authGate.vqa .auth-field-icon{
  position:absolute !important; left:13px !important; top:50% !important; transform:translateY(-50%) !important;
  font-size:19px !important; color:var(--vqa-muted) !important; pointer-events:none !important; z-index:1 !important;
}
html body #authGate#authGate.vqa .auth-line-input,
html body #authGate#authGate.vqa .auth-gate-grade,
html body #authGate#authGate.vqa .auth-line-select,
html body #authGate#authGate.vqa .auth-gate .auth-line-input,
html body #authGate#authGate.vqa .auth-gate .auth-line-select,
html body #authGate#authGate.vqa .auth-gate .spell-input,
html body #authGate#authGate.vqa .auth-gate .select,
html body #authGate#authGate.vqa input.spell-input,
html body #authGate#authGate.vqa select.select{
  width:100% !important; height:50px !important; box-sizing:border-box !important;
  padding:0 14px 0 42px !important; margin:0 !important;
  font-size:15px !important; color:var(--vqa-ink) !important;
  background:var(--vqa-surface-2) !important;
  border:1.5px solid var(--vqa-field-border) !important; border-radius:var(--vqa-r) !important;
  outline:none !important; box-shadow:none !important; -webkit-appearance:none !important; appearance:none !important;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease !important;
  caret-color:var(--vqa-primary-600) !important;
}
html body #authGate#authGate.vqa .auth-pw-input{ padding-right:48px !important; }
html body #authGate#authGate.vqa .auth-line-input::placeholder{ color:#a9b1c2 !important; }
html body #authGate#authGate.vqa .auth-line-input:hover,
html body #authGate#authGate.vqa .auth-gate-grade:hover{ border-color:var(--vqa-border-strong) !important; }
html body #authGate#authGate.vqa .auth-gate .auth-line-input:focus,
html body #authGate#authGate.vqa .auth-line-input:focus,
html body #authGate#authGate.vqa .auth-gate-grade:focus,
html body #authGate#authGate.vqa .auth-gate .select:focus,
html body #authGate#authGate.vqa select.select:focus{
  border-color:var(--vqa-primary-500) !important; background:#fff !important; box-shadow:var(--vqa-focus) !important;
}
html body #authGate#authGate.vqa .auth-field-wrap:focus-within .auth-field-icon{ color:var(--vqa-primary-600) !important; }
html body #authGate#authGate.vqa .auth-line-input:not(:placeholder-shown):not(:focus){ background:#fff !important; }
html body #authGate#authGate.vqa .auth-gate-row.is-invalid .auth-line-input,
html body #authGate#authGate.vqa .auth-line-input.is-invalid{ border-color:var(--vqa-error) !important; background:#fff !important; }
html body #authGate#authGate.vqa .auth-gate-row.is-invalid .auth-line-input:focus{ box-shadow:0 0 0 3px rgba(217,45,32,.18) !important; }
html body #authGate#authGate.vqa .vqa-field-error{ display:none !important; margin-top:6px !important; font-size:12px !important; color:var(--vqa-error) !important; line-height:1.5 !important; }
html body #authGate#authGate.vqa .auth-gate-row.is-invalid .vqa-field-error{ display:block !important; }

/* select chevron */
html body #authGate#authGate.vqa .auth-gate-row > select.auth-gate-grade,
html body #authGate#authGate.vqa .auth-select-wrap > select.auth-gate-grade{ cursor:pointer !important; }
html body #authGate#authGate.vqa .auth-select-wrap > select.auth-gate-grade{ padding-left:42px !important; padding-right:40px !important; }
html body #authGate#authGate.vqa .auth-gate-row > select.auth-gate-grade{ padding-left:14px !important; padding-right:40px !important; }
html body #authGate#authGate.vqa .auth-select-chevron{
  position:absolute !important; right:13px !important; top:50% !important; transform:translateY(-50%) !important;
  font-size:20px !important; color:var(--vqa-muted) !important; pointer-events:none !important;
}

/* pw toggle */
html body #authGate#authGate.vqa .auth-pw-toggle{
  position:absolute !important; right:6px !important; top:50% !important; left:auto !important; transform:translateY(-50%) !important;
  width:38px !important; height:38px !important; display:grid !important; place-items:center !important; min-height:0 !important;
  border:0 !important; background:transparent !important; color:var(--vqa-muted) !important; cursor:pointer !important; border-radius:9px !important;
  transition:color .15s ease, background .15s ease !important;
}
html body #authGate#authGate.vqa .auth-pw-toggle:hover{ color:var(--vqa-text) !important; background:var(--vqa-bg) !important; }
html body #authGate#authGate.vqa .auth-pw-toggle .ms{ font-size:20px !important; }

/* ── ボタン ──────────────────────────────────────────────────── */
html body #authGate#authGate.vqa .navbtn,
html body #authGate#authGate.vqa .auth-v2-cta,
html body #authGate#authGate.vqa .auth-gate-foot .navbtn{
  display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:8px !important;
  width:100% !important; height:52px !important; min-height:52px !important; box-sizing:border-box !important; padding:0 20px !important;
  font-size:15.5px !important; font-weight:700 !important; letter-spacing:.01em !important; line-height:1 !important;
  border:1.5px solid var(--vqa-border-strong) !important; border-radius:var(--vqa-r) !important;
  background:var(--vqa-surface) !important; color:var(--vqa-text) !important; cursor:pointer !important;
  transition:background .17s ease, border-color .17s ease, box-shadow .17s ease, transform .1s ease, opacity .17s ease !important;
}
html body #authGate#authGate.vqa .navbtn:hover{ background:var(--vqa-bg) !important; }
html body #authGate#authGate.vqa .navbtn.primary,
html body #authGate#authGate.vqa .auth-v2-cta{
  border-color:transparent !important; color:#fff !important;
  background:linear-gradient(180deg, var(--vqa-primary-500), var(--vqa-primary-600)) !important;
  box-shadow:var(--vqa-shadow-cta) !important;
}
html body #authGate#authGate.vqa .navbtn.primary:hover,
html body #authGate#authGate.vqa .auth-v2-cta:hover{
  background:linear-gradient(180deg, var(--vqa-primary-600), var(--vqa-primary-700)) !important;
  transform:translateY(-1px) !important;
}
html body #authGate#authGate.vqa .navbtn.primary:active,
html body #authGate#authGate.vqa .auth-v2-cta:active{ transform:translateY(0) !important; }
html body #authGate#authGate.vqa .navbtn:disabled,
html body #authGate#authGate.vqa .auth-v2-cta:disabled{ opacity:.6 !important; cursor:not-allowed !important; transform:none !important; box-shadow:none !important; }
html body #authGate#authGate.vqa .navbtn .ms.auth-cta-icon,
html body #authGate#authGate.vqa .auth-cta-icon{ font-size:19px !important; }

/* text link */
html body #authGate#authGate.vqa .textbtn,
html body #authGate#authGate.vqa .auth-text-link,
html body #authGate#authGate.vqa .auth-v2-minor-links .auth-text-link{
  display:inline-flex !important; align-items:center !important; gap:4px !important; padding:2px !important; min-height:0 !important;
  border:0 !important; background:none !important; color:var(--vqa-primary-600) !important; font-size:13.5px !important; font-weight:600 !important;
  cursor:pointer !important; border-radius:6px !important; transition:color .15s ease !important; width:auto !important;
}
html body #authGate#authGate.vqa .textbtn:hover,
html body #authGate#authGate.vqa .auth-text-link:hover{ color:var(--vqa-primary-700) !important; text-decoration:underline !important; }

/* foot */
html body #authGate#authGate.vqa .auth-gate-foot,
html body #authGate#authGate.vqa #authLoginPanel .auth-gate-foot{ display:flex !important; flex-direction:column !important; gap:12px !important; margin-top:22px !important; }
html body #authGate#authGate.vqa .auth-gate-foot-between{ flex-direction:row !important; align-items:center !important; justify-content:space-between !important; gap:12px !important; }
html body #authGate#authGate.vqa .auth-gate-foot .navbtn{ width:100% !important; }
html body #authGate#authGate.vqa .auth-gate-foot-between .navbtn{ width:auto !important; min-width:150px !important; }

/* switch / minor links */
html body #authGate#authGate.vqa .auth-v2-switch{
  margin-top:20px !important; padding-top:18px !important; border-top:1px solid var(--vqa-border) !important;
  text-align:center !important; font-size:13.5px !important; color:var(--vqa-text-sub) !important;
}
html body #authGate#authGate.vqa .auth-v2-switch-link{ font-weight:700 !important; }
html body #authGate#authGate.vqa .auth-v2-minor-links{
  display:flex !important; align-items:center !important; justify-content:center !important; gap:10px !important; flex-wrap:wrap !important;
  margin-top:16px !important; font-size:13px !important;
}
html body #authGate#authGate.vqa .auth-v2-sep{ color:var(--vqa-border-strong) !important; }

/* status */
html body #authGate#authGate.vqa .auth-gate-status{
  display:none !important; margin-top:14px !important; padding:11px 13px 11px 38px !important; position:relative !important;
  font-size:13px !important; line-height:1.55 !important; border-radius:var(--vqa-r-sm) !important; border:1px solid transparent !important; text-align:left !important;
}
html body #authGate#authGate.vqa .auth-gate-status:not(:empty){ display:block !important; }
html body #authGate#authGate.vqa .auth-gate-status::before{
  font-family:"Material Symbols Rounded","Material Symbols Outlined" !important; font-size:18px !important;
  position:absolute !important; left:11px !important; top:10px !important;
}
html body #authGate#authGate.vqa .auth-gate-status.is-error,
html body #authGate#authGate.vqa .auth-gate-status.error{ background:var(--vqa-error-bg) !important; border-color:var(--vqa-error-bd) !important; color:#a11a12 !important; }
html body #authGate#authGate.vqa .auth-gate-status.is-error::before,
html body #authGate#authGate.vqa .auth-gate-status.error::before{ content:"error" !important; color:var(--vqa-error) !important; }
html body #authGate#authGate.vqa .auth-gate-status.is-ok,
html body #authGate#authGate.vqa .auth-gate-status.ok{ background:var(--vqa-success-bg) !important; border-color:var(--vqa-success-bd) !important; color:#0a6b48 !important; }
html body #authGate#authGate.vqa .auth-gate-status.is-ok::before,
html body #authGate#authGate.vqa .auth-gate-status.ok::before{ content:"check_circle" !important; color:var(--vqa-success) !important; }
html body #authGate#authGate.vqa .auth-gate-status-global{ margin:14px clamp(22px,4vw,40px) 0 !important; }

/* back */
html body #authGate#authGate.vqa .auth-mobile-back,
html body #authGate#authGate.vqa .vqa-back{
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  width:38px !important; height:38px !important; margin:-4px 0 12px -6px !important; min-height:0 !important; position:static !important;
  border:1px solid var(--vqa-border) !important; border-radius:11px !important; background:var(--vqa-surface) !important;
  color:var(--vqa-text-sub) !important; cursor:pointer !important; transition:background .15s ease, color .15s ease !important; opacity:1 !important;
}
html body #authGate#authGate.vqa .auth-mobile-back:hover,
html body #authGate#authGate.vqa .vqa-back:hover{ background:var(--vqa-bg) !important; color:var(--vqa-ink) !important; }
html body #authGate#authGate.vqa .auth-mobile-back .ms{ font-size:22px !important; }

/* grade notice */
html body #authGate#authGate.vqa .auth-v2-grade-notice{
  display:flex !important; gap:9px !important; align-items:flex-start !important; margin-bottom:18px !important;
  padding:11px 13px !important; font-size:12px !important; line-height:1.55 !important;
  background:var(--vqa-warn-bg) !important; border:1px solid var(--vqa-warn-bd) !important; color:#8a5504 !important;
  border-radius:var(--vqa-r-sm) !important;
}
html body #authGate#authGate.vqa .auth-v2-grade-notice strong{ font-weight:700 !important; }

/* ═══ ① Welcome ═══════════════════════════════════════════════ */
html body #authGate#authGate.vqa .auth-gate-hero{ color:var(--vqa-ink) !important; overflow:visible !important; position:relative !important; }
html body #authGate#authGate.vqa .auth-hero-inner{
  display:grid !important; grid-template-columns:1.05fr .95fr !important; align-items:center !important;
  gap:clamp(28px,4vw,56px) !important; padding:clamp(30px,4vw,52px) !important;
}
html body #authGate#authGate.vqa .auth-hero-lead{ display:flex !important; flex-direction:column !important; align-items:flex-start !important; position:static !important; }
html body #authGate#authGate.vqa .auth-hero-brand{ display:flex !important; flex-direction:row !important; align-items:center !important; gap:11px !important; margin-bottom:26px !important; }
html body #authGate#authGate.vqa .auth-hero-brand-mark{
  width:44px !important; height:44px !important; border-radius:13px !important; display:grid !important; place-items:center !important;
  background:linear-gradient(160deg, var(--vqa-primary-500), var(--vqa-primary-700)) !important;
  color:#fff !important; font-size:15px !important; font-weight:800 !important; letter-spacing:.05em !important;
  box-shadow:0 8px 18px rgba(79,70,229,.30) !important;
}
html body #authGate#authGate.vqa .auth-hero-brand-name{ font-size:18px !important; font-weight:750 !important; color:var(--vqa-ink) !important; }
html body #authGate#authGate.vqa .auth-gate-hero-title{
  margin:0 0 16px !important; font-size:clamp(30px,4.4vw,42px) !important; font-weight:800 !important; line-height:1.14 !important;
  letter-spacing:-.02em !important; color:var(--vqa-ink) !important; text-align:left !important;
}
html body #authGate#authGate.vqa .auth-gate-hero-title span{ color:var(--vqa-primary-600) !important; }
html body #authGate#authGate.vqa .auth-gate-hero-sub{
  margin:0 !important; font-size:15px !important; line-height:1.9 !important; color:var(--vqa-text-sub) !important; max-width:34ch !important; text-align:left !important;
}
html body #authGate#authGate.vqa .auth-gate-hero-illust{
  position:static !important; margin:26px 0 0 !important; max-width:340px !important; width:100% !important;
  right:auto !important; bottom:auto !important; opacity:1 !important;
}
html body #authGate#authGate.vqa .auth-gate-hero-illust .auth-ink-art{ width:100% !important; height:auto !important; display:block !important; }
html body #authGate#authGate.vqa .auth-hero-actions{ display:flex !important; flex-direction:column !important; gap:12px !important; }
html body #authGate#authGate.vqa .auth-hero-action{
  display:inline-flex !important; align-items:center !important; justify-content:space-between !important; gap:10px !important;
  width:100% !important; height:54px !important; min-height:54px !important; padding:0 20px !important; box-sizing:border-box !important;
  font-size:15.5px !important; font-weight:700 !important; cursor:pointer !important; border-radius:var(--vqa-r) !important;
  border:1.5px solid var(--vqa-border-strong) !important; background:var(--vqa-surface) !important; color:var(--vqa-text) !important;
  transition:background .17s ease, border-color .17s ease, box-shadow .17s ease, transform .1s ease !important;
}
html body #authGate#authGate.vqa .auth-hero-action .ms{ font-size:20px !important; }
html body #authGate#authGate.vqa .auth-hero-action.is-register{
  border-color:transparent !important; color:#fff !important;
  background:linear-gradient(180deg, var(--vqa-primary-500), var(--vqa-primary-600)) !important;
  box-shadow:var(--vqa-shadow-cta) !important;
}
html body #authGate#authGate.vqa .auth-hero-action.is-register:hover{ background:linear-gradient(180deg,var(--vqa-primary-600),var(--vqa-primary-700)) !important; transform:translateY(-1px) !important; }
html body #authGate#authGate.vqa .auth-hero-action.is-login:hover{ background:var(--vqa-bg) !important; }
html body #authGate#authGate.vqa .auth-hero-guest{
  align-self:center !important; margin-top:2px !important; border:0 !important; background:none !important; color:var(--vqa-text-sub) !important;
  font-size:13.5px !important; font-weight:600 !important; cursor:pointer !important; padding:6px 10px !important; border-radius:8px !important; min-height:0 !important;
}
html body #authGate#authGate.vqa .auth-hero-guest:hover{ color:var(--vqa-ink) !important; background:var(--vqa-bg) !important; }
html body #authGate#authGate.vqa .auth-hero-foot{
  display:flex !important; align-items:center !important; justify-content:space-between !important; gap:12px !important;
  margin-top:8px !important; padding-top:16px !important; border-top:1px solid var(--vqa-border) !important;
}
html body #authGate#authGate.vqa .auth-hero-legal{
  border:0 !important; background:none !important; color:var(--vqa-text-sub) !important; font-size:12.5px !important; font-weight:600 !important;
  cursor:pointer !important; padding:2px !important; border-radius:6px !important; min-height:0 !important;
}
html body #authGate#authGate.vqa .auth-hero-legal:hover{ color:var(--vqa-primary-600) !important; text-decoration:underline !important; }
html body #authGate#authGate.vqa .auth-hero-version{ font-size:11.5px !important; color:var(--vqa-muted) !important; letter-spacing:.02em !important; font-variant-numeric:tabular-nums !important; white-space:nowrap !important; }

/* ═══ ② Login ═════════════════════════════════════════════════ */
html body #authGate#authGate.vqa .auth-login-intro{ margin-bottom:4px !important; display:block !important; }
html body #authGate#authGate.vqa .auth-login-heading{ text-align:left !important; }
html body #authGate#authGate.vqa .vqa-login-options{ display:flex !important; align-items:center !important; justify-content:space-between !important; gap:12px !important; margin:2px 0 4px !important; flex-wrap:wrap !important; }
html body #authGate#authGate.vqa .vqa-remember{
  display:flex !important; align-items:center !important; gap:9px !important; cursor:pointer !important; position:relative !important;
  font-size:13px !important; color:var(--vqa-text) !important; user-select:none !important;
}
html body #authGate#authGate.vqa .vqa-remember input{ position:absolute !important; opacity:0 !important; width:0 !important; height:0 !important; }
html body #authGate#authGate.vqa .vqa-remember .vqa-check{
  width:19px !important; height:19px !important; border-radius:6px !important; border:1.5px solid var(--vqa-field-border) !important;
  background:var(--vqa-surface) !important; display:grid !important; place-items:center !important; flex:0 0 auto !important; transition:all .15s ease !important;
}
html body #authGate#authGate.vqa .vqa-remember .vqa-check .ms{ font-size:15px !important; color:#fff !important; opacity:0 !important; transform:scale(.6) !important; transition:all .15s ease !important; }
html body #authGate#authGate.vqa .vqa-remember input:checked + .vqa-check{ background:var(--vqa-primary-600) !important; border-color:var(--vqa-primary-600) !important; }
html body #authGate#authGate.vqa .vqa-remember input:checked + .vqa-check .ms{ opacity:1 !important; transform:scale(1) !important; }
html body #authGate#authGate.vqa .vqa-remember input:focus-visible + .vqa-check{ box-shadow:var(--vqa-focus) !important; }

/* ═══ ③ 登録 ─────────────────────────────────────────────────── */
html body #authGate#authGate.vqa .auth-v2-pw-strength{ margin-top:10px !important; display:block !important; }
html body #authGate#authGate.vqa .auth-v2-pw-bar{ height:5px !important; border-radius:99px !important; background:var(--vqa-bg-2) !important; overflow:hidden !important; }
html body #authGate#authGate.vqa .auth-v2-pw-fill{ height:100% !important; width:0 !important; border-radius:99px !important; transition:width .3s var(--vqa-ease), background .3s ease !important; }
html body #authGate#authGate.vqa .auth-v2-pw-fill[data-level="1"]{ width:25% !important; background:var(--vqa-error) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-fill[data-level="2"]{ width:50% !important; background:var(--vqa-warn) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-fill[data-level="3"]{ width:75% !important; background:#3b82f6 !important; }
html body #authGate#authGate.vqa .auth-v2-pw-fill[data-level="4"]{ width:100% !important; background:var(--vqa-success) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-label[data-level="1"]{ color:var(--vqa-error) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-label[data-level="2"],
html body #authGate#authGate.vqa .auth-v2-pw-label[data-level="3"]{ color:var(--vqa-warn) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-label[data-level="4"]{ color:var(--vqa-success) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-label{ margin-top:5px !important; font-size:11.5px !important; font-weight:600 !important; color:var(--vqa-text-sub) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-reqs{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:5px 12px !important; margin-top:10px !important; }
html body #authGate#authGate.vqa .auth-v2-pw-req{ display:flex !important; align-items:center !important; gap:5px !important; font-size:11.5px !important; color:var(--vqa-muted) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-req .ms{ font-size:15px !important; color:var(--vqa-border-strong) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-req.is-met{ color:var(--vqa-success) !important; }
html body #authGate#authGate.vqa .auth-v2-pw-req.is-met .ms{ color:var(--vqa-success) !important; }
html body #authGate#authGate.vqa .auth-v2-field-hint{ margin-top:6px !important; font-size:11.5px !important; color:var(--vqa-muted) !important; }
html body #authGate#authGate.vqa .auth-v2-id-check{ margin-top:6px !important; font-size:12px !important; font-weight:600 !important; }
html body #authGate#authGate.vqa .auth-v2-id-check.is-ok{ color:var(--vqa-success) !important; }
html body #authGate#authGate.vqa .auth-v2-id-check.is-error,
html body #authGate#authGate.vqa .auth-v2-id-check.is-bad{ color:var(--vqa-error) !important; }
html body #authGate#authGate.vqa .auth-v2-id-check.is-checking{ color:var(--vqa-muted) !important; }
html body #authGate#authGate.vqa .auth-v2-grade-chips{ display:grid !important; grid-template-columns:repeat(4,1fr) !important; gap:9px !important; margin-bottom:6px !important; }
html body #authGate#authGate.vqa .auth-v2-grade-chip{
  height:46px !important; min-height:46px !important; border:1.5px solid var(--vqa-field-border) !important; border-radius:var(--vqa-r) !important;
  background:var(--vqa-surface-2) !important; color:var(--vqa-text) !important; font-size:14px !important; font-weight:650 !important; cursor:pointer !important; transition:all .15s ease !important;
}
html body #authGate#authGate.vqa .auth-v2-grade-chip:hover{ border-color:var(--vqa-primary-300) !important; }
html body #authGate#authGate.vqa .auth-v2-grade-chip.is-active{ border-color:var(--vqa-primary-600) !important; background:var(--vqa-primary-50) !important; color:var(--vqa-primary-700) !important; box-shadow:inset 0 0 0 1px var(--vqa-primary-600) !important; }
html body #authGate#authGate.vqa .auth-confirm-card{ border:1px solid var(--vqa-border) !important; border-radius:var(--vqa-r-md) !important; background:var(--vqa-surface-2) !important; overflow:hidden !important; }
html body #authGate#authGate.vqa .auth-confirm-card .auth-gate-row{ display:flex !important; align-items:center !important; justify-content:space-between !important; gap:14px !important; margin:0 !important; padding:14px 16px !important; border-bottom:1px solid var(--vqa-border) !important; }
html body #authGate#authGate.vqa .auth-confirm-card .auth-gate-row:last-child{ border-bottom:0 !important; }
html body #authGate#authGate.vqa .auth-confirm-card .auth-gate-label{ margin:0 !important; color:var(--vqa-text-sub) !important; font-weight:600 !important; }
html body #authGate#authGate.vqa .auth-confirm-value{ font-size:14.5px !important; font-weight:650 !important; color:var(--vqa-ink) !important; }

/* 3-step top */
html body #authGate#authGate.vqa .auth-flow-topbar{ display:none !important; align-items:center !important; gap:12px !important; margin-bottom:24px !important; }
html body #authGate#authGate.vqa[data-auth-mode="register"] .auth-flow-topbar{ display:flex !important; }
html body #authGate#authGate.vqa[data-auth-panel="welcome"] .auth-flow-topbar,
html body #authGate#authGate.vqa[data-auth-panel="login"] .auth-flow-topbar{ display:none !important; }
html body #authGate#authGate.vqa .auth-flow-mobile-brand{ display:none !important; }
html body #authGate#authGate.vqa .auth-flow-progress{ display:flex !important; align-items:center !important; gap:8px !important; flex:1 !important; }
html body #authGate#authGate.vqa .auth-flow-step{ display:flex !important; align-items:center !important; gap:7px !important; color:var(--vqa-muted) !important; font-size:12px !important; font-weight:600 !important; }
html body #authGate#authGate.vqa .auth-flow-step b{
  width:24px !important; height:24px !important; border-radius:50% !important; display:grid !important; place-items:center !important;
  background:var(--vqa-bg-2) !important; color:var(--vqa-muted) !important; font-size:12px !important; font-weight:700 !important; flex:0 0 auto !important; transition:all .2s ease !important;
}
html body #authGate#authGate.vqa .auth-flow-step em{ font-style:normal !important; }
html body #authGate#authGate.vqa .auth-flow-step.is-active b{ background:var(--vqa-primary-600) !important; color:#fff !important; }
html body #authGate#authGate.vqa .auth-flow-step.is-active{ color:var(--vqa-ink) !important; }
html body #authGate#authGate.vqa .auth-flow-step.is-done b{ background:var(--vqa-primary-100) !important; color:var(--vqa-primary-700) !important; }
html body #authGate#authGate.vqa .auth-flow-line{ flex:1 !important; height:2px !important; border-radius:2px !important; background:var(--vqa-border) !important; }
html body #authGate#authGate.vqa .auth-v2-progress{ display:none !important; }

/* ═══ ⑤ 利用規約 ─────────────────────────────────────────────── */
html body #authGate#authGate.vqa .auth-gate-tos-wrap{ display:block !important; }
html body #authGate#authGate.vqa .vqa-tos-tabs{ display:flex !important; gap:4px !important; padding:4px !important; margin-bottom:14px !important; background:var(--vqa-bg-2) !important; border-radius:var(--vqa-r) !important; }
html body #authGate#authGate.vqa .vqa-tos-tab{
  flex:1 !important; height:40px !important; min-height:40px !important; border:0 !important; border-radius:9px !important; background:transparent !important; cursor:pointer !important;
  font-size:13px !important; font-weight:650 !important; color:var(--vqa-text-sub) !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:6px !important;
  transition:all .16s ease !important;
}
html body #authGate#authGate.vqa .vqa-tos-tab .vqa-tab-check{ font-size:16px !important; color:var(--vqa-success) !important; opacity:0 !important; transition:opacity .2s ease !important; }
html body #authGate#authGate.vqa .vqa-tos-tab.is-read .vqa-tab-check{ opacity:1 !important; }
html body #authGate#authGate.vqa .vqa-tos-tab.is-active{ background:var(--vqa-surface) !important; color:var(--vqa-ink) !important; box-shadow:var(--vqa-shadow-sm) !important; }
html body #authGate#authGate.vqa .auth-gate-tos-scroll{
  height:min(38dvh,300px) !important; overflow-y:auto !important; -webkit-overflow-scrolling:touch !important;
  padding:16px 18px !important; border:1px solid var(--vqa-border) !important; border-radius:var(--vqa-r-md) !important;
  background:var(--vqa-surface-2) !important; color:var(--vqa-text) !important; font-size:13px !important; line-height:1.85 !important; text-align:left !important;
}
html body #authGate#authGate.vqa .auth-gate-tos-scroll h4,
html body #authGate#authGate.vqa .auth-gate-tos-scroll h3{ margin:16px 0 6px !important; font-size:13.5px !important; font-weight:700 !important; color:var(--vqa-ink) !important; }
html body #authGate#authGate.vqa .auth-gate-tos-scroll h4:first-child,
html body #authGate#authGate.vqa .auth-gate-tos-scroll h3:first-child{ margin-top:0 !important; }
html body #authGate#authGate.vqa .auth-gate-tos-scroll p{ margin:0 0 8px !important; color:var(--vqa-text-sub) !important; }
html body #authGate#authGate.vqa .auth-gate-tos-scroll ul{ margin:0 0 8px !important; padding-left:18px !important; color:var(--vqa-text-sub) !important; }
html body #authGate#authGate.vqa .auth-gate-tos-scroll li{ margin:0 0 4px !important; }
html body #authGate#authGate.vqa .vqa-tos-updated{ margin:14px 0 0 !important; font-size:11px !important; color:var(--vqa-muted) !important; }
html body #authGate#authGate.vqa [data-vqa-tos-pane]{ display:none !important; }
html body #authGate#authGate.vqa [data-vqa-tos-pane].is-active{ display:block !important; }
html body #authGate#authGate.vqa .auth-gate-mini{ font-size:12px !important; color:var(--vqa-muted) !important; line-height:1.6 !important; }
html body #authGate#authGate.vqa #authTosHint{ margin-bottom:10px !important; text-align:center !important; }
html body #authGate#authGate.vqa .auth-gate-checks{ display:grid !important; gap:10px !important; margin-top:14px !important; }
html body #authGate#authGate.vqa .auth-gate-check{ display:flex !important; align-items:flex-start !important; gap:9px !important; font-size:13px !important; color:var(--vqa-text) !important; cursor:pointer !important; }
html body #authGate#authGate.vqa .auth-gate-check input{ margin-top:2px !important; width:17px !important; height:17px !important; accent-color:var(--vqa-primary-600) !important; flex:0 0 auto !important; }
html body #authGate#authGate.vqa .vqa-tos-consent{
  display:flex !important; align-items:flex-start !important; gap:10px !important; margin-top:16px !important; padding:13px 14px !important;
  border:1px solid var(--vqa-border) !important; border-radius:var(--vqa-r-md) !important; background:var(--vqa-surface-2) !important;
  font-size:13px !important; color:var(--vqa-text) !important; cursor:pointer !important; transition:opacity .2s ease !important;
}
html body #authGate#authGate.vqa .vqa-tos-consent.is-locked{ opacity:.55 !important; cursor:not-allowed !important; }
html body #authGate#authGate.vqa .vqa-tos-consent input{ margin-top:1px !important; width:18px !important; height:18px !important; accent-color:var(--vqa-primary-600) !important; flex:0 0 auto !important; }

/* ═══ ⑥ 登録中 ───────────────────────────────────────────────── */
html body #authGate#authGate.vqa .auth-v2-creating{ display:flex !important; flex-direction:column !important; align-items:center !important; text-align:center !important; padding:14px 0 6px !important; }
html body #authGate#authGate.vqa .auth-v2-creating-icon{ position:relative !important; width:76px !important; height:76px !important; margin-bottom:22px !important; display:grid !important; place-items:center !important; }
html body #authGate#authGate.vqa .auth-v2-creating-icon .auth-gate-brand-mark{ width:52px !important; height:52px !important; border-radius:16px !important; }
html body #authGate#authGate.vqa .auth-v2-creating-ring{ position:absolute !important; inset:0 !important; width:76px !important; height:76px !important; color:var(--vqa-primary-500) !important; animation:vqaSpin 1s linear infinite; }
html body #authGate#authGate.vqa .auth-v2-creating-ring circle{ stroke-dasharray:150 !important; stroke-dashoffset:110 !important; stroke-linecap:round !important; }
@keyframes vqaSpin{ to{ transform:rotate(360deg); } }
html body #authGate#authGate.vqa .auth-v2-creating-text{ font-size:19px !important; font-weight:750 !important; color:var(--vqa-ink) !important; }
html body #authGate#authGate.vqa .auth-v2-creating-sub{ margin-top:6px !important; font-size:13.5px !important; color:var(--vqa-text-sub) !important; }
html body #authGate#authGate.vqa .auth-v2-creating-dots{ display:none !important; }
html body #authGate#authGate.vqa .vqa-creating-steps{ display:grid !important; gap:2px !important; width:100% !important; max-width:320px !important; margin:26px auto 0 !important; text-align:left !important; }
html body #authGate#authGate.vqa .vqa-cstep{ display:flex !important; align-items:center !important; gap:12px !important; padding:9px 4px !important; color:var(--vqa-muted) !important; font-size:13.5px !important; transition:color .25s ease !important; }
html body #authGate#authGate.vqa .vqa-cstep .vqa-cstep-dot{
  width:26px !important; height:26px !important; border-radius:50% !important; flex:0 0 auto !important; display:grid !important; place-items:center !important;
  border:2px solid var(--vqa-border-strong) !important; background:var(--vqa-surface) !important; color:var(--vqa-muted) !important; font-size:14px !important; transition:all .25s ease !important;
}
html body #authGate#authGate.vqa .vqa-cstep .vqa-cstep-dot .ms{ font-size:16px !important; opacity:0 !important; transition:opacity .2s ease !important; }
html body #authGate#authGate.vqa .vqa-cstep.is-active{ color:var(--vqa-ink) !important; font-weight:650 !important; }
html body #authGate#authGate.vqa .vqa-cstep.is-active .vqa-cstep-dot{ border-color:var(--vqa-primary-600) !important; color:var(--vqa-primary-600) !important; box-shadow:0 0 0 4px var(--vqa-primary-50) !important; }
html body #authGate#authGate.vqa .vqa-cstep.is-done{ color:var(--vqa-text-sub) !important; }
html body #authGate#authGate.vqa .vqa-cstep.is-done .vqa-cstep-dot{ border-color:var(--vqa-primary-600) !important; background:var(--vqa-primary-600) !important; color:#fff !important; }
html body #authGate#authGate.vqa .vqa-cstep.is-done .vqa-cstep-dot .ms{ opacity:1 !important; }
html body #authGate#authGate.vqa .vqa-creating-error{ display:none !important; width:100% !important; margin-top:20px !important; }
html body #authGate#authGate.vqa .auth-v2-creating.is-error .vqa-creating-error{ display:block !important; }
html body #authGate#authGate.vqa .auth-v2-creating.is-error .auth-v2-creating-ring{ animation:none !important; opacity:0 !important; }
html body #authGate#authGate.vqa .auth-v2-creating.is-error .vqa-creating-steps{ display:none !important; }

/* 完了 / ゲスト確認 */
html body #authGate#authGate.vqa .auth-v2-complete{ display:flex !important; flex-direction:column !important; align-items:center !important; text-align:center !important; padding:16px 0 !important; }
html body #authGate#authGate.vqa .auth-v2-complete-icon{
  width:72px !important; height:72px !important; border-radius:50% !important; display:grid !important; place-items:center !important; margin-bottom:20px !important;
  background:var(--vqa-success-bg) !important; color:var(--vqa-success) !important;
}
html body #authGate#authGate.vqa .auth-v2-complete-icon .ms{ font-size:38px !important; }
html body #authGate#authGate.vqa .auth-v2-complete-title{ margin:0 0 6px !important; font-size:23px !important; font-weight:750 !important; color:var(--vqa-ink) !important; }
html body #authGate#authGate.vqa .auth-v2-complete-sub{ margin:0 0 24px !important; font-size:14px !important; color:var(--vqa-text-sub) !important; }
html body #authGate#authGate.vqa .auth-v2-complete .auth-v2-cta{ max-width:280px !important; }

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  html body #authGate#authGate.vqa .auth-gate-panel{ animation:none !important; }
  html body #authGate#authGate.vqa .auth-v2-creating-ring{ animation:none !important; }
  html body #authGate#authGate.vqa *{ transition-duration:.01ms !important; }
}

/* レスポンシブ */
@media (max-width: 860px){
  html body #authGate#authGate.vqa .auth-hero-inner{ grid-template-columns:1fr !important; gap:24px !important; text-align:left !important; }
  html body #authGate#authGate.vqa .auth-gate-hero-illust{ order:3 !important; margin:8px auto 4px !important; max-width:260px !important; }
  html body #authGate#authGate.vqa .auth-hero-lead{ align-items:stretch !important; }
  html body #authGate#authGate.vqa .auth-hero-actions{ order:4 !important; }
}
@media (max-width: 640px){
  html body #authGate#authGate.vqa.auth-gate{ align-items:flex-start !important; padding:0 !important; overflow-y:auto !important; }
  html body #authGate#authGate.vqa .auth-gate-card,
  html body #authGate#authGate.vqa[data-auth-panel="welcome"] .auth-gate-card{
    width:100% !important; max-width:100% !important; min-height:100dvh !important; max-height:none !important; border-radius:0 !important; border:0 !important; box-shadow:none !important;
  }
  html body #authGate#authGate.vqa .auth-gate-form-side{
    padding:calc(var(--vq-sat,0px) + 22px) 20px calc(var(--vq-sab,0px) + 28px) !important;
    min-height:100dvh !important;
  }
  html body #authGate#authGate.vqa .auth-hero-inner{ padding:calc(var(--vq-sat,0px) + 28px) 22px calc(var(--vq-sab,0px) + 28px) !important; min-height:100dvh !important; align-content:center !important; }
  html body #authGate#authGate.vqa .auth-v2-pw-reqs{ grid-template-columns:1fr 1fr !important; }
  html body #authGate#authGate.vqa .auth-gate-foot-between{ flex-direction:row !important; }
}
@media (max-width: 480px){
  html body #authGate#authGate.vqa .auth-gate-form-side{ padding-left:18px !important; padding-right:18px !important; }
  html body #authGate#authGate.vqa .auth-flow-topbar{ gap:8px !important; margin-bottom:20px !important; }
  html body #authGate#authGate.vqa .auth-flow-step{ font-size:11px !important; gap:5px !important; }
  html body #authGate#authGate.vqa .auth-flow-step b{ width:22px !important; height:22px !important; }
  html body #authGate#authGate.vqa .auth-hero-actions,
  html body #authGate#authGate.vqa .auth-hero-action{ width:100% !important; }
  html body #authGate#authGate.vqa .vqa-tos-consent{ font-size:12.5px !important; }
}
@media (max-width: 380px){
  html body #authGate#authGate.vqa .auth-v2-grade-chips{ grid-template-columns:repeat(3,1fr) !important; }
  html body #authGate#authGate.vqa .auth-panel-title{ font-size:22px !important; }
}
@media (max-width: 360px){
  html body #authGate#authGate.vqa .auth-flow-step em{ display:none !important; } /* 極小幅は番号のみ */
  html body #authGate#authGate.vqa .auth-v2-grade-chips{ gap:7px !important; }
  html body #authGate#authGate.vqa .vqa-creating-steps{ font-size:12.5px !important; }
}

