/* Copied/adapted from frontend_new Login + GuestLayout + InfoPagesNav — maruay.xyz landing only */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Prompt', 'Noto Sans Thai', system-ui, sans-serif;
  color: #fff6d0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background: #030303;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Fake Vuetify field look for static landing */
.login-input-fake {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: rgba(26, 20, 8, 0.42);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.45),
    0 0 12px rgba(212, 175, 55, 0.12);
  -webkit-tap-highlight-color: transparent;
}
.login-input-fake .ico {
  color: #fdca22;
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}
.login-input-fake .trail {
  margin-left: auto;
  color: #fdca22;
  opacity: 0.9;
}
.login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.site-footer-mini {
  margin-top: 22px;
  padding: 14px 10px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 230, 170, 0.55);
  line-height: 1.55;
}
.site-footer-mini a { color: #fdca22; font-weight: 700; text-decoration: none; }
.brand-wordmark {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 4px auto 6px;
  text-align: center;
  text-decoration: none;
  isolation: isolate;
}
.brand-wordmark__name {
  font-family: 'Chonburi', 'Prompt', serif;
  font-size: clamp(2.4rem, 11vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fffef8 0%, #ffe9a0 35%, #fff 52%, #fdca22 78%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(253, 202, 34, 0.28));
  animation: brandFloat 4.5s ease-in-out infinite;
}
.brand-wordmark__tag {
  display: block;
  margin-top: 2px;
  color: rgba(255, 246, 208, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
}


/* === GuestLayout brand === */
.brand-block {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 4px auto 14px;
  text-decoration: none;
  isolation: isolate;
}

.brand-glow {
  position: absolute;
  inset: 12% 8% 18%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(253, 202, 34, 0.45) 0%,
    rgba(212, 175, 55, 0.18) 42%,
    transparent 72%
  );
  filter: blur(14px);
  z-index: 0;
  animation: brandGlowPulse 3.2s ease-in-out infinite;
  pointer-events: none;
}

.brand-logo {
  display: block;
  width: min(290px, 82vw);
  margin: 0 auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(253, 202, 34, 0.28));
  animation: brandFloat 4.5s ease-in-out infinite;
  transition: filter 0.25s ease, transform 0.25s ease;
}

@media only screen and (min-width: 768px) {
  .brand-logo {
    width: min(380px, 58vw);
  }

  .brand-block {
    margin: 10px auto 14px;
  }
}

@media only screen and (min-width: 1024px) {
  .brand-logo {
    width: min(440px, 42vw);
  }

  .brand-block {
    margin: 12px auto 16px;
  }
}

.brand-block:hover .brand-logo {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 22px rgba(253, 202, 34, 0.45));
  transform: scale(1.02);
  animation-play-state: paused;
}

.brand-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
  pointer-events: none;
}

.brand-shine::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -45%;
  width: 35%;
  height: 140%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 248, 220, 0.45) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: brandShine 3.8s ease-in-out infinite;
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes brandGlowPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes brandShine {
  0%,
  40% {
    left: -45%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  72%,
  100% {
    left: 120%;
    opacity: 0;
  }
}

@media (max-width: 768px), (pointer: coarse) {
  .brand-glow {
    filter: blur(8px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo,
  .brand-glow,
  .brand-shine::before {
    animation: none !important;
  }
}

.guest-shell.is-cached .brand-logo,
.guest-shell.is-cached .brand-glow,
.guest-shell.is-cached .brand-shine::before,
.guest-shell.is-cached,
.guest-shell.is-cached *,
.guest-shell.is-cached *::before,
.guest-shell.is-cached *::after {
  animation-play-state: paused !important;
}

/* === main.scss auth shell === */
.guest-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.14), transparent 55%),
    linear-gradient(180deg, #1f1f1f 0%, #1a1a1a 42%, #1a1a1a 100%);
}

/* Login / Register โ€” เธเธทเนเธเธซเธฅเธฑเธเธ”เธณเธ—เธญเธ cinematic เนเธเธงเน€เธเธก (เธฅเธณเนเธชเธ / เธญเธเธธเธ เธฒเธ / เน€เธฃเธเธฒเธเธ“เธดเธ•) */
.guest-shell--auth-center {
  position: relative;
  overflow: auto;
  background-color: #030303;
  background-image:
    radial-gradient(ellipse 48% 40% at 12% 18%, rgba(255, 220, 120, 0.14), transparent 62%),
    radial-gradient(ellipse 52% 44% at 88% 82%, rgba(184, 134, 11, 0.16), transparent 64%),
    radial-gradient(ellipse 36% 28% at 78% 12%, rgba(255, 236, 170, 0.08), transparent 58%),
    radial-gradient(ellipse 40% 32% at 18% 78%, rgba(253, 202, 34, 0.07), transparent 60%),
    linear-gradient(165deg, #0a0a0a 0%, #030303 42%, #080705 100%);
}

.guest-shell--auth-center > .guest-card {
  position: relative;
  z-index: 2;
}

.auth-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.auth-stage__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 42%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.42) 100%);
}

.auth-stage__mesh {
  position: absolute;
  inset: -10%;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      -32deg,
      transparent 0 110px,
      rgba(253, 202, 34, 0.025) 110px,
      rgba(255, 236, 170, 0.04) 112px,
      transparent 114px,
      transparent 200px
    ),
    repeating-linear-gradient(
      28deg,
      transparent 0 130px,
      rgba(184, 134, 11, 0.02) 130px,
      rgba(253, 202, 34, 0.035) 132px,
      transparent 134px,
      transparent 220px
    );
  animation: authStageMesh 22s ease-in-out infinite;
}

.auth-stage__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
}

.auth-stage__glow--tl {
  width: min(380px, 50vw);
  height: min(380px, 50vw);
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 224, 130, 0.22) 0%, rgba(253, 202, 34, 0.08) 42%, transparent 72%);
  animation: authStageOrb 8s ease-in-out infinite;
}

.auth-stage__glow--br {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  right: -12%;
  bottom: -14%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(139, 105, 20, 0.08) 44%, transparent 72%);
  animation: authStageOrb 9.5s ease-in-out infinite reverse;
}

/* Facebook-style โ€” เนเธ–เธเนเธชเธเน€เธเธตเธขเธเธเธงเธฒเธ”เธเนเธฒเธเธเธทเนเธเธซเธฅเธฑเธ (เนเธขเธเธเธฑเนเธเธเธโ€“เธฅเนเธฒเธ) */
.auth-stage__fb-sweep {
  position: absolute;
  left: -60%;
  width: 38%;
  height: 120%;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.015) 34%,
    rgba(255, 248, 220, 0.1) 48%,
    rgba(253, 202, 34, 0.16) 50%,
    rgba(255, 248, 220, 0.09) 52%,
    rgba(255, 255, 255, 0.015) 66%,
    transparent 100%
  );
  transform: skewX(-22deg);
  filter: blur(0.6px);
  opacity: 0;
  will-change: transform, opacity;
}

.auth-stage__fb-sweep--1 {
  top: -38%;
  animation: authFbSweepTop 5.8s ease-in-out infinite;
}

.auth-stage__fb-sweep--2 {
  width: 26%;
  top: 18%;
  height: 110%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 236, 170, 0.03) 40%,
    rgba(255, 248, 220, 0.12) 50%,
    rgba(253, 202, 34, 0.08) 60%,
    transparent 100%
  );
  animation: authFbSweepBottom 7.6s ease-in-out infinite 2.6s;
}

/* เธฅเธณเนเธชเธเธ—เธญเธ โ€” เธเธฃเธฐเธเธฒเธขเธกเธธเธกเธเธญ เนเธกเนเธ•เธฑเธ”เธเธธเธ”เธจเธนเธเธขเนเธเธฅเธฒเธเน€เธ”เธตเธขเธงเธเธฑเธ */
.auth-stage__beam {
  position: absolute;
  width: 140vmax;
  height: 2px;
  margin-left: -70vmax;
  transform-origin: center;
  pointer-events: none;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(253, 202, 34, 0.04) 22%,
    rgba(255, 236, 170, 0.18) 40%,
    rgba(255, 248, 220, 0.32) 50%,
    rgba(255, 236, 170, 0.18) 60%,
    rgba(253, 202, 34, 0.04) 78%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  filter: blur(0.55px);
  opacity: 0.5;
  box-shadow: none;
  will-change: transform, opacity, background-position;
}

.auth-stage__beam--a {
  left: 28%;
  top: 18%;
  height: 2px;
  animation:
    authBeamSweepA 9s ease-in-out infinite,
    authBeamTravel 3.8s linear infinite;
}

.auth-stage__beam--b {
  left: 72%;
  top: 26%;
  height: 1.5px;
  opacity: 0.38;
  animation:
    authBeamSweepB 11s ease-in-out infinite,
    authBeamTravel 4.6s linear infinite reverse;
}

.auth-stage__beam--c {
  left: 22%;
  top: 72%;
  height: 2px;
  opacity: 0.42;
  animation:
    authBeamSweepC 10s ease-in-out infinite,
    authBeamTravel 5.2s linear infinite;
}

.auth-stage__beam--d {
  left: 78%;
  top: 78%;
  height: 1.5px;
  opacity: 0.3;
  animation:
    authBeamSweepD 12.5s ease-in-out infinite,
    authBeamTravel 4.2s linear infinite reverse;
}

.auth-stage__shard {
  position: absolute;
  border: 1px solid rgba(253, 202, 34, 0.28);
  background: linear-gradient(
    145deg,
    rgba(253, 202, 34, 0.12) 0%,
    rgba(20, 16, 8, 0.35) 45%,
    transparent 100%
  );
  box-shadow:
    0 0 18px rgba(253, 202, 34, 0.12),
    inset 0 0 12px rgba(255, 236, 170, 0.06);
  clip-path: polygon(18% 0%, 100% 12%, 82% 100%, 0% 78%);
  opacity: 0.55;
}

.auth-stage__shard--1 {
  width: 88px;
  height: 120px;
  top: 14%;
  left: 6%;
  transform: rotate(-18deg);
  animation: authStageShard 11s ease-in-out infinite;
}

.auth-stage__shard--2 {
  width: 64px;
  height: 90px;
  top: 22%;
  right: 7%;
  transform: rotate(24deg);
  opacity: 0.42;
  animation: authStageShard 13s ease-in-out infinite reverse;
}

.auth-stage__shard--3 {
  width: 72px;
  height: 72px;
  bottom: 18%;
  left: 10%;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  transform: rotate(8deg);
  opacity: 0.38;
  animation: authStageShard 12s ease-in-out infinite;
}

.auth-stage__shard--4 {
  width: 56px;
  height: 100px;
  bottom: 12%;
  right: 9%;
  transform: rotate(-28deg);
  opacity: 0.4;
  animation: authStageShard 14s ease-in-out infinite reverse;
}

.auth-stage__flare {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffef5 0%, #ffe066 28%, #fdca22 48%, transparent 72%);
  box-shadow:
    0 0 14px 4px rgba(253, 202, 34, 0.65),
    0 0 36px 10px rgba(212, 175, 55, 0.28);
}

.auth-stage__flare--1 {
  top: 18%;
  left: 18%;
  animation: authStageFlare 5.5s ease-in-out infinite;
}

.auth-stage__flare--2 {
  top: 28%;
  right: 16%;
  width: 14px;
  height: 14px;
  animation: authStageFlare 6.8s ease-in-out infinite 0.8s;
}

.auth-stage__flare--3 {
  bottom: 22%;
  left: 28%;
  width: 8px;
  height: 8px;
  animation: authStageFlare 7.2s ease-in-out infinite 1.4s;
}

.auth-stage__spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffe9a0;
  box-shadow: 0 0 6px 1px rgba(253, 202, 34, 0.75);
  opacity: 0.55;
  animation: authStageSpark 4.8s ease-in-out infinite;
}

.auth-stage__spark--1 { top: 12%; left: 22%; animation-delay: 0.1s; }
.auth-stage__spark--2 { top: 18%; left: 48%; width: 2px; height: 2px; animation-delay: 0.4s; }
.auth-stage__spark--3 { top: 10%; right: 24%; animation-delay: 0.7s; }
.auth-stage__spark--4 { top: 32%; left: 12%; width: 2px; height: 2px; animation-delay: 1s; }
.auth-stage__spark--5 { top: 38%; right: 14%; animation-delay: 0.3s; }
.auth-stage__spark--6 { top: 46%; left: 28%; width: 2px; height: 2px; animation-delay: 1.2s; }
.auth-stage__spark--7 { top: 52%; right: 30%; animation-delay: 0.6s; }
.auth-stage__spark--8 { top: 58%; left: 16%; width: 2px; height: 2px; animation-delay: 1.5s; }
.auth-stage__spark--9 { top: 64%; right: 18%; animation-delay: 0.9s; }
.auth-stage__spark--10 { bottom: 28%; left: 36%; width: 2px; height: 2px; animation-delay: 0.2s; }
.auth-stage__spark--11 { bottom: 22%; right: 26%; animation-delay: 1.1s; }
.auth-stage__spark--12 { bottom: 16%; left: 20%; width: 2px; height: 2px; animation-delay: 1.7s; }
.auth-stage__spark--13 { bottom: 34%; right: 10%; animation-delay: 0.5s; }
.auth-stage__spark--14 { top: 24%; left: 68%; width: 2px; height: 2px; animation-delay: 1.3s; }
.auth-stage__spark--15 { top: 70%; left: 55%; animation-delay: 0.8s; }
.auth-stage__spark--16 { top: 8%; left: 62%; width: 2px; height: 2px; animation-delay: 1.6s; }
.auth-stage__spark--17 { bottom: 12%; right: 42%; animation-delay: 1.4s; }
.auth-stage__spark--18 { top: 42%; left: 6%; width: 2px; height: 2px; animation-delay: 0.35s; }

@keyframes authStageMesh {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.28;
  }
  50% {
    transform: translate3d(-1%, 0.8%, 0) scale(1.02);
    opacity: 0.42;
  }
}

@keyframes authStageOrb {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.06);
  }
}

@keyframes authFbSweepTop {
  0%,
  12% {
    transform: skewX(-22deg) translate3d(-10%, 0, 0);
    opacity: 0;
  }
  28% {
    opacity: 0.7;
  }
  48% {
    opacity: 0.4;
  }
  62%,
  100% {
    transform: skewX(-22deg) translate3d(280%, 0, 0);
    opacity: 0;
  }
}

@keyframes authFbSweepBottom {
  0%,
  14% {
    transform: skewX(-18deg) translate3d(-10%, 8%, 0);
    opacity: 0;
  }
  30% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.32;
  }
  66%,
  100% {
    transform: skewX(-18deg) translate3d(280%, -4%, 0);
    opacity: 0;
  }
}

@keyframes authBeamTravel {
  0% {
    background-position: 120% 50%;
  }
  100% {
    background-position: -40% 50%;
  }
}

@keyframes authBeamSweepA {
  0%,
  100% {
    transform: rotate(-32deg) translateY(0);
    opacity: 0.32;
  }
  40% {
    transform: rotate(-28deg) translateY(-6px);
    opacity: 0.62;
  }
  70% {
    transform: rotate(-34deg) translateY(4px);
    opacity: 0.4;
  }
}

@keyframes authBeamSweepB {
  0%,
  100% {
    transform: rotate(24deg) translateY(0);
    opacity: 0.22;
  }
  45% {
    transform: rotate(28deg) translateY(8px);
    opacity: 0.52;
  }
  75% {
    transform: rotate(22deg) translateY(-4px);
    opacity: 0.3;
  }
}

@keyframes authBeamSweepC {
  0%,
  100% {
    transform: rotate(-58deg) translateX(0);
    opacity: 0.24;
  }
  50% {
    transform: rotate(-54deg) translateX(10px);
    opacity: 0.55;
  }
}

@keyframes authBeamSweepD {
  0%,
  100% {
    transform: rotate(48deg) translateX(0);
    opacity: 0.18;
  }
  55% {
    transform: rotate(52deg) translateX(-8px);
    opacity: 0.48;
  }
}

@keyframes authStageShard {
  0%,
  100% {
    transform: translateY(0) rotate(var(--shard-rot, -18deg));
    opacity: 0.35;
  }
  50% {
    transform: translateY(-10px) rotate(calc(var(--shard-rot, -18deg) + 4deg));
    opacity: 0.65;
  }
}

.auth-stage__shard--1 { --shard-rot: -18deg; }
.auth-stage__shard--2 { --shard-rot: 24deg; }
.auth-stage__shard--3 { --shard-rot: 8deg; }
.auth-stage__shard--4 { --shard-rot: -28deg; }

@keyframes authStageFlare {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@keyframes authStageSpark {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0) scale(0.8);
  }
  40% {
    opacity: 0.95;
    transform: translateY(-6px) scale(1.15);
  }
  70% {
    opacity: 0.45;
  }
}

@media (max-width: 700px), (pointer: coarse) {
  .auth-stage__glow {
    filter: blur(18px);
  }

  .auth-stage__shard {
    opacity: 0.28;
  }

  .auth-stage__spark {
    opacity: 0.4;
  }

  .auth-stage__fb-sweep {
    width: 36%;
    filter: blur(0.8px);
  }

  .auth-stage__beam {
    opacity: 0.42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-stage__mesh,
  .auth-stage__glow,
  .auth-stage__fb-sweep,
  .auth-stage__beam,
  .auth-stage__shard,
  .auth-stage__flare,
  .auth-stage__spark {
    animation: none !important;
  }
}

.guest-shell.is-cached .auth-stage__mesh,
.guest-shell.is-cached .auth-stage__glow,
.guest-shell.is-cached .auth-stage__fb-sweep,
.guest-shell.is-cached .auth-stage__beam,
.guest-shell.is-cached .auth-stage__shard,
.guest-shell.is-cached .auth-stage__flare,
.guest-shell.is-cached .auth-stage__spark {
  animation-play-state: paused !important;
}

/* เธซเธขเธธเธ” animation เธ—เธฑเนเธ guest shell เน€เธกเธทเนเธญ layout เนเธกเนเนเธ”เนเน€เธเธดเธ”เธญเธขเธนเน */
.guest-shell.is-cached,
.guest-shell.is-cached *,
.guest-shell.is-cached *::before,
.guest-shell.is-cached *::after {
  animation-play-state: paused !important;
}

/* เธเธฃเธญเธเน€เธ—เธเนเธฅเธซเธฐเธกเธธเธกเธ•เธฑเธ” + เธเธญเธเธ—เธญเธเน€เธเธฒ (Login / Register) โ€” เธชเนเธ•เธฅเนเธฃเธนเธ 2 */
.auth-tech-panel {
  --auth-cut: 20px;
  --auth-step: 7px;
  --auth-border: 3px;
  --auth-mid: 1.5px;
  position: relative;
  isolation: isolate;
  padding: 26px 20px 28px;
  margin-top: 8px;
  background: transparent;
  border-radius: 0;
}

.auth-tech-panel__frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(253, 202, 34, 0.35))
    drop-shadow(0 0 28px rgba(184, 134, 11, 0.22));
}

/* เธกเธธเธกเธ•เธฑเธ”เนเธเธเน€เธ—เธเธงเธ (stepped chamfer) โ€” เนเธเนเธฃเนเธงเธกเธเธฑเธ frame layers */
.auth-tech-panel__frame-outer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      145deg,
      #fff6c8 0%,
      #fdca22 12%,
      #8b6914 28%,
      #c9a227 42%,
      #ffe9a0 50%,
      #a67c00 58%,
      #fdca22 72%,
      #6b4e0f 88%,
      #ffe08a 100%
    );
  background-size: 240% 240%;
  animation: authTechBorderShine 6.5s ease-in-out infinite;
  clip-path: polygon(
    0 var(--auth-cut),
    var(--auth-step) var(--auth-cut),
    var(--auth-step) var(--auth-step),
    var(--auth-cut) var(--auth-step),
    var(--auth-cut) 0,
    calc(100% - var(--auth-cut)) 0,
    calc(100% - var(--auth-cut)) var(--auth-step),
    calc(100% - var(--auth-step)) var(--auth-step),
    calc(100% - var(--auth-step)) var(--auth-cut),
    100% var(--auth-cut),
    100% calc(100% - var(--auth-cut)),
    calc(100% - var(--auth-step)) calc(100% - var(--auth-cut)),
    calc(100% - var(--auth-step)) calc(100% - var(--auth-step)),
    calc(100% - var(--auth-cut)) calc(100% - var(--auth-step)),
    calc(100% - var(--auth-cut)) 100%,
    var(--auth-cut) 100%,
    var(--auth-cut) calc(100% - var(--auth-step)),
    var(--auth-step) calc(100% - var(--auth-step)),
    var(--auth-step) calc(100% - var(--auth-cut)),
    0 calc(100% - var(--auth-cut))
  );
}

/* เธเธญเธเธเธฑเนเธเธเธฅเธฒเธ โ€” เน€เธชเนเธเธ—เธญเธเธเธฑเนเธเนเธเนเธซเนเธ”เธนเน€เธเนเธเธเธฃเธญเธเธเธนเน */
.auth-tech-panel__frame-mid {
  position: absolute;
  inset: var(--auth-border);
  background: linear-gradient(
    160deg,
    rgba(40, 32, 12, 0.95) 0%,
    rgba(20, 16, 8, 0.98) 40%,
    rgba(28, 22, 10, 0.96) 100%
  );
  clip-path: polygon(
    0 calc(var(--auth-cut) - 2px),
    calc(var(--auth-step) - 1px) calc(var(--auth-cut) - 2px),
    calc(var(--auth-step) - 1px) calc(var(--auth-step) - 1px),
    calc(var(--auth-cut) - 2px) calc(var(--auth-step) - 1px),
    calc(var(--auth-cut) - 2px) 0,
    calc(100% - (var(--auth-cut) - 2px)) 0,
    calc(100% - (var(--auth-cut) - 2px)) calc(var(--auth-step) - 1px),
    calc(100% - (var(--auth-step) - 1px)) calc(var(--auth-step) - 1px),
    calc(100% - (var(--auth-step) - 1px)) calc(var(--auth-cut) - 2px),
    100% calc(var(--auth-cut) - 2px),
    100% calc(100% - (var(--auth-cut) - 2px)),
    calc(100% - (var(--auth-step) - 1px)) calc(100% - (var(--auth-cut) - 2px)),
    calc(100% - (var(--auth-step) - 1px)) calc(100% - (var(--auth-step) - 1px)),
    calc(100% - (var(--auth-cut) - 2px)) calc(100% - (var(--auth-step) - 1px)),
    calc(100% - (var(--auth-cut) - 2px)) 100%,
    calc(var(--auth-cut) - 2px) 100%,
    calc(var(--auth-cut) - 2px) calc(100% - (var(--auth-step) - 1px)),
    calc(var(--auth-step) - 1px) calc(100% - (var(--auth-step) - 1px)),
    calc(var(--auth-step) - 1px) calc(100% - (var(--auth-cut) - 2px)),
    0 calc(100% - (var(--auth-cut) - 2px))
  );
  box-shadow:
    inset 0 0 0 1px rgba(253, 202, 34, 0.55),
    inset 0 0 12px rgba(253, 202, 34, 0.08);
}

.auth-tech-panel__frame-inner {
  position: absolute;
  inset: calc(var(--auth-border) + var(--auth-mid) + 1px);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(253, 202, 34, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(253, 202, 34, 0.06), transparent 50%),
    linear-gradient(180deg, #12100c 0%, #0a0a0c 50%, #070708 100%);
  clip-path: polygon(
    0 calc(var(--auth-cut) - 4px),
    calc(var(--auth-step) - 2px) calc(var(--auth-cut) - 4px),
    calc(var(--auth-step) - 2px) calc(var(--auth-step) - 2px),
    calc(var(--auth-cut) - 4px) calc(var(--auth-step) - 2px),
    calc(var(--auth-cut) - 4px) 0,
    calc(100% - (var(--auth-cut) - 4px)) 0,
    calc(100% - (var(--auth-cut) - 4px)) calc(var(--auth-step) - 2px),
    calc(100% - (var(--auth-step) - 2px)) calc(var(--auth-step) - 2px),
    calc(100% - (var(--auth-step) - 2px)) calc(var(--auth-cut) - 4px),
    100% calc(var(--auth-cut) - 4px),
    100% calc(100% - (var(--auth-cut) - 4px)),
    calc(100% - (var(--auth-step) - 2px)) calc(100% - (var(--auth-cut) - 4px)),
    calc(100% - (var(--auth-step) - 2px)) calc(100% - (var(--auth-step) - 2px)),
    calc(100% - (var(--auth-cut) - 4px)) calc(100% - (var(--auth-step) - 2px)),
    calc(100% - (var(--auth-cut) - 4px)) 100%,
    calc(var(--auth-cut) - 4px) 100%,
    calc(var(--auth-cut) - 4px) calc(100% - (var(--auth-step) - 2px)),
    calc(var(--auth-step) - 2px) calc(100% - (var(--auth-step) - 2px)),
    calc(var(--auth-step) - 2px) calc(100% - (var(--auth-cut) - 4px)),
    0 calc(100% - (var(--auth-cut) - 4px))
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 200, 0.08),
    inset 0 0 24px rgba(0, 0, 0, 0.45);
}

/* เนเธชเธเน€เธฅเธเธชเนเธเธฅเธฒเธเธเธญเธเธเธ/เธฅเนเธฒเธ โ€” เนเธเธเธฃเธนเธ 2 */
.auth-tech-panel__flare {
  position: absolute;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.auth-tech-panel__flare::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(253, 202, 34, 0.15) 18%,
    #fff8dc 48%,
    #fdca22 52%,
    rgba(253, 202, 34, 0.15) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 8px 2px rgba(255, 248, 220, 0.7),
    0 0 20px 4px rgba(253, 202, 34, 0.45);
}

.auth-tech-panel__flare::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fffef5 0%, #ffe9a0 28%, #fdca22 48%, transparent 70%);
  box-shadow:
    0 0 12px 4px rgba(255, 248, 220, 0.85),
    0 0 28px 8px rgba(253, 202, 34, 0.4);
  animation: authTechFlarePulse 3.2s ease-in-out infinite;
}

.auth-tech-panel__flare--top {
  top: -1px;
  width: 1px;
  height: 1px;
}

.auth-tech-panel__flare--bottom {
  bottom: -1px;
  width: 1px;
  height: 1px;
}

/* เนเธฎเนเธฅเธ•เนเธกเธธเธกเนเธฅเธซเธฐ */
.auth-tech-panel__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 2;
  opacity: 0.9;
}

.auth-tech-panel__corner::before,
.auth-tech-panel__corner::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, #fff6c8, #fdca22);
  box-shadow: 0 0 6px rgba(253, 202, 34, 0.65);
  border-radius: 1px;
}

.auth-tech-panel__corner--tl {
  top: 2px;
  left: 2px;
}
.auth-tech-panel__corner--tl::before {
  top: var(--auth-cut);
  left: 1px;
  width: 2px;
  height: 10px;
}
.auth-tech-panel__corner--tl::after {
  top: 1px;
  left: var(--auth-cut);
  width: 10px;
  height: 2px;
}

.auth-tech-panel__corner--tr {
  top: 2px;
  right: 2px;
}
.auth-tech-panel__corner--tr::before {
  top: var(--auth-cut);
  right: 1px;
  width: 2px;
  height: 10px;
}
.auth-tech-panel__corner--tr::after {
  top: 1px;
  right: var(--auth-cut);
  width: 10px;
  height: 2px;
}

.auth-tech-panel__corner--bl {
  bottom: 2px;
  left: 2px;
}
.auth-tech-panel__corner--bl::before {
  bottom: var(--auth-cut);
  left: 1px;
  width: 2px;
  height: 10px;
}
.auth-tech-panel__corner--bl::after {
  bottom: 1px;
  left: var(--auth-cut);
  width: 10px;
  height: 2px;
}

.auth-tech-panel__corner--br {
  bottom: 2px;
  right: 2px;
}
.auth-tech-panel__corner--br::before {
  bottom: var(--auth-cut);
  right: 1px;
  width: 2px;
  height: 10px;
}
.auth-tech-panel__corner--br::after {
  bottom: 1px;
  right: var(--auth-cut);
  width: 10px;
  height: 2px;
}

.auth-tech-panel__body {
  position: relative;
  z-index: 1;
}

.auth-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 6px;
}

.auth-title-row .login-title,
.auth-title-row .reg-title {
  margin: 0;
  flex: 0 1 auto;
}

.auth-title-lines {
  flex: 1 1 0;
  max-width: 72px;
  height: 12px;
  position: relative;
  opacity: 0.9;
}

.auth-title-lines::before,
.auth-title-lines::after {
  content: '';
  position: absolute;
  right: 0;
  height: 1.5px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, #fdca22 40%, #ffe9a0);
  box-shadow: 0 0 6px rgba(253, 202, 34, 0.45);
}

.auth-title-lines::before {
  top: 0;
  width: 100%;
  box-shadow:
    0 0 6px rgba(253, 202, 34, 0.45),
    0 4px 0 0 rgba(253, 202, 34, 0.55);
}

.auth-title-lines::after {
  top: 8px;
  width: 68%;
  opacity: 0.8;
}

.auth-title-lines--right::before,
.auth-title-lines--right::after {
  right: auto;
  left: 0;
  background: linear-gradient(270deg, transparent, #fdca22 40%, #ffe9a0);
}

.auth-title-lines--right::after {
  width: 72%;
}

@keyframes authTechBorderShine {
  0%,
  100% {
    background-position: 0% 40%;
    opacity: 0.88;
  }
  50% {
    background-position: 100% 60%;
    opacity: 1;
  }
}

@keyframes authTechFlarePulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media only screen and (min-width: 768px) {
  .auth-tech-panel {
    --auth-cut: 24px;
    --auth-step: 8px;
    --auth-border: 3.5px;
    margin-top: 12px;
    padding: 30px 28px 32px;
  }

  .auth-title-lines {
    max-width: 96px;
  }

  .auth-tech-panel__flare::before {
    width: 160px;
  }
}

@media only screen and (min-width: 1024px) {
  .auth-tech-panel {
    --auth-cut: 28px;
    --auth-step: 9px;
    margin-top: 16px;
    padding: 36px 36px 38px;
  }

  .auth-tech-panel__flare::before {
    width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-tech-panel__frame-outer,
  .auth-tech-panel__flare::after {
    animation: none !important;
  }
}

.guest-card {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 22px 40px;
  box-sizing: border-box;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Login / Register / Forgot โ€” เธเธถเนเธเธเธฅเธฒเธเนเธเธงเธ•เธฑเนเธ */
.guest-shell--auth-center .guest-card {
  flex: 0 0 auto;
  margin-top: auto;
  margin-bottom: auto;
}

@media only screen and (min-width: 768px) {
  .guest-card {
    max-width: 640px;
    padding: 28px 28px 44px;
  }
}

.brand-logo {
  display: block;
  width: min(290px, 82vw);
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .brand-logo {
    width: min(380px, 58vw);
  }
}

@media only screen and (min-width: 1024px) {
  .brand-logo {
    width: min(440px, 42vw);
  }
}

/* === InfoPagesNav === */
.info-pages-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 16px;
  padding: 7px;
  border-radius: 18px;
  isolation: isolate;
  background:
    linear-gradient(165deg, rgba(253, 202, 34, 0.12) 0%, transparent 48%),
    linear-gradient(180deg, rgba(42, 40, 36, 0.98), rgba(18, 17, 15, 0.98));
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(253, 202, 34, 0.12);
}

/* เน€เธชเนเธเธเธญเธ gradient เธงเธดเนเธเนเธชเธ */
.info-pages-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    125deg,
    rgba(255, 230, 150, 0.15) 0%,
    rgba(253, 202, 34, 0.95) 18%,
    rgba(212, 175, 55, 0.35) 38%,
    rgba(253, 202, 34, 0.2) 50%,
    rgba(255, 224, 100, 0.85) 72%,
    rgba(184, 134, 11, 0.45) 88%,
    rgba(253, 202, 34, 0.7) 100%
  );
  background-size: 220% 220%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  animation: navBorderShine 5.5s ease-in-out infinite;
}

/* เน€เธฃเธทเธญเธเนเธชเธเธเธธเนเธกเธฃเธญเธเธเธฃเธญเธ */
.info-pages-nav::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow:
    0 0 0 1px rgba(253, 202, 34, 0.18),
    0 0 18px rgba(253, 202, 34, 0.14),
    0 0 36px rgba(212, 175, 55, 0.08);
  pointer-events: none;
  z-index: -1;
  animation: navBorderGlow 3.8s ease-in-out infinite;
}

.info-pages-nav--guest:has(.info-pages-nav__item--login) {
  grid-template-columns: repeat(4, 1fr);
}

.info-pages-nav--sticky {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.info-pages-nav__item {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 42px;
  padding: 8px 4px;
  border-radius: 12px;
  text-decoration: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 230, 170, 0.78);
  border: 1px solid transparent;
  background: transparent;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.12s ease;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  line-height: 1.2;
}

.info-pages-nav__icon {
  opacity: 0.85;
  flex-shrink: 0;
}

.info-pages-nav__item:hover {
  color: #ffe08a;
  background: rgba(253, 202, 34, 0.08);
  border-color: rgba(253, 202, 34, 0.22);
  box-shadow: inset 0 0 0 1px rgba(253, 202, 34, 0.08);
}

.info-pages-nav__item:active {
  transform: scale(0.97);
}

.info-pages-nav__item.is-active {
  color: #1a1408;
  background: linear-gradient(180deg, #ffe066, #fdca22 55%, #c99210);
  border-color: rgba(255, 230, 150, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 14px rgba(253, 202, 34, 0.35);
}

.info-pages-nav__item.is-active .info-pages-nav__icon {
  opacity: 1;
  color: #1a1408;
}

/* เธเธธเนเธกเน€เธเนเธฒเธชเธนเนเธฃเธฐเธเธ โ€” เธชเนเธ•เธฅเนเธเธเธ•เธดเน€เธซเธกเธทเธญเธเน€เธกเธเธนเธญเธทเนเธ / เน€เธซเธฅเธทเธญเธ+เธญเธเธดเน€เธกเธเธฑเธเน€เธเธเธฒเธฐเธ•เธญเธ is-active */
.info-pages-nav__item--login {
  overflow: hidden;
  isolation: isolate;
}

.info-pages-nav__item--login .info-pages-nav__icon,
.info-pages-nav__item--login .info-pages-nav__login-label {
  position: relative;
  z-index: 3;
}

.info-pages-nav__item--login:not(.is-active) .info-pages-nav__login-glow,
.info-pages-nav__item--login:not(.is-active) .info-pages-nav__login-shine,
.info-pages-nav__item--login:not(.is-active) .info-pages-nav__login-spark {
  display: none;
}

.info-pages-nav__item--login.is-active {
  color: #1a1408;
  background: linear-gradient(165deg, #fff4b8 0%, #f5c842 28%, #e6a812 62%, #c98f00 100%);
  border-color: rgba(255, 230, 150, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 4px rgba(120, 80, 0, 0.16),
    0 4px 14px rgba(253, 202, 34, 0.38),
    0 0 22px rgba(253, 202, 34, 0.26);
  animation: navLoginFloat 3.2s ease-in-out infinite;
}

.info-pages-nav__item--login.is-active .info-pages-nav__icon {
  opacity: 1;
  color: #1a1408;
  animation: navLoginIconNudge 2.4s ease-in-out infinite;
}

.info-pages-nav__item--login.is-active:hover {
  color: #1a1408;
  background: linear-gradient(165deg, #fff8c8 0%, #f8d04e 28%, #ebae18 62%, #d49a08 100%);
  border-color: rgba(255, 240, 180, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 4px rgba(120, 80, 0, 0.14),
    0 6px 18px rgba(253, 202, 34, 0.4),
    0 0 24px rgba(253, 202, 34, 0.28);
  filter: brightness(1.03);
}

.info-pages-nav__login-glow {
  position: absolute;
  inset: -8px;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(253, 202, 34, 0.55) 0%, transparent 72%);
  filter: blur(10px);
  opacity: 0.75;
  z-index: 0;
  pointer-events: none;
  animation: navLoginGlow 2.6s ease-in-out infinite;
}

.info-pages-nav__login-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.info-pages-nav__login-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 42%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 42%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.25) 58%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: navLoginShine 2.2s ease-in-out infinite;
}

.info-pages-nav__login-spark {
  position: absolute;
  z-index: 4;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 6px #fff,
    0 0 12px #fdca22;
  pointer-events: none;
  animation: navLoginSpark 2.8s ease-in-out infinite;
}

.info-pages-nav__login-spark--1 {
  top: 18%;
  left: 10%;
}

.info-pages-nav__login-spark--2 {
  bottom: 16%;
  right: 12%;
  animation-delay: 1.1s;
}

.info-pages-nav__login-spark--3 {
  top: 22%;
  right: 28%;
  width: 3px;
  height: 3px;
  animation-delay: 0.55s;
}

@keyframes navBorderShine {
  0%,
  100% {
    background-position: 0% 40%;
    opacity: 0.85;
  }
  50% {
    background-position: 100% 60%;
    opacity: 1;
  }
}

@keyframes navBorderGlow {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes navLoginFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes navLoginGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

@keyframes navLoginShine {
  0%,
  40% {
    left: -45%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  72%,
  100% {
    left: 130%;
    opacity: 0;
  }
}

@keyframes navLoginSpark {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

@keyframes navLoginIconNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .info-pages-nav::before,
  .info-pages-nav::after,
  .info-pages-nav__item--login.is-active,
  .info-pages-nav__login-glow,
  .info-pages-nav__login-shine::before,
  .info-pages-nav__login-spark,
  .info-pages-nav__item--login.is-active .info-pages-nav__icon {
    animation: none !important;
  }

  .info-pages-nav__item--login.is-active .info-pages-nav__login-spark {
    opacity: 0.55;
  }

  .info-pages-nav__item--login.is-active .info-pages-nav__login-glow {
    opacity: 0.65;
  }
}

@media only screen and (max-width: 420px) {
  .info-pages-nav__item {
    flex-direction: column;
    gap: 2px;
    font-size: 0.68rem;
    min-height: 48px;
    padding: 6px 2px;
  }

  .info-pages-nav__icon {
    margin-bottom: 1px;
  }
}

/* === Login.vue === */
.login-page {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding-block: 4px 8px;
}

.login-page.auth-tech-panel {
  padding-block: 26px 28px;
}

.login-hero {
  text-align: center;
  margin-bottom: 4px;
}

.login-title-crest {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 10px;
  padding: 4px 0 2px;
}

.login-title-crest__glow {
  position: absolute;
  inset: -8px 12% auto;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(253, 202, 34, 0.18) 0%,
    rgba(253, 202, 34, 0.05) 45%,
    transparent 72%
  );
  pointer-events: none;
  animation: loginTitleGlow 3.6s ease-in-out infinite;
}

.login-title-crest__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

.login-title-crest__wing {
  flex: 0 0 96px;
  width: 96px;
  max-width: 96px;
  min-width: 0;
  height: 38px;
  opacity: 0.96;
  filter: drop-shadow(0 0 6px rgba(253, 202, 34, 0.32));
  transform-origin: right center;
  animation: loginWingPulseL 2.8s ease-in-out infinite;
  will-change: transform, filter, opacity;
  overflow: visible;
}

.login-title-crest__wing--right {
  transform-origin: left center;
  animation: loginWingPulseR 2.8s ease-in-out infinite;
  animation-delay: 0.35s;
}

.login-title {
  margin: 0;
  flex: 0 0 auto;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  background: none;
  filter: none;
}

.login-title__text {
  display: inline-block;
  background: linear-gradient(
    180deg,
    #fffef8 0%,
    #ffe9a0 38%,
    #fff 55%,
    #fdca22 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(253, 202, 34, 0.22));
}

.login-title-crest__jewel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(220px, 70%);
  margin-top: 6px;
}

.login-title-crest__rail {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(253, 202, 34, 0.75),
    rgba(255, 233, 160, 0.95)
  );
  box-shadow: 0 0 6px rgba(253, 202, 34, 0.22);
}

.login-title-crest__jewel .login-title-crest__rail:last-child {
  background: linear-gradient(
    90deg,
    rgba(255, 233, 160, 0.95),
    rgba(253, 202, 34, 0.75),
    transparent
  );
}

.login-title-crest__diamond {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 5px rgba(253, 202, 34, 0.45));
  animation: loginDiamondPulse 2.8s ease-in-out infinite;
}

@keyframes loginTitleGlow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

@keyframes loginWingPulseL {
  0%,
  100% {
    opacity: 0.82;
    transform: translateX(0) scale(1);
    filter: drop-shadow(0 0 5px rgba(253, 202, 34, 0.28));
  }
  50% {
    opacity: 1;
    transform: translateX(-3px) scale(1.06);
    filter: drop-shadow(0 0 10px rgba(253, 202, 34, 0.55));
  }
}

@keyframes loginWingPulseR {
  0%,
  100% {
    opacity: 0.82;
    transform: translateX(0) scale(1);
    filter: drop-shadow(0 0 5px rgba(253, 202, 34, 0.28));
  }
  50% {
    opacity: 1;
    transform: translateX(3px) scale(1.06);
    filter: drop-shadow(0 0 10px rgba(253, 202, 34, 0.55));
  }
}

@keyframes loginDiamondPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(253, 202, 34, 0.35));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 233, 160, 0.55));
  }
}

.login-title-action {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 236, 170, 0.78);
}

.login-agent {
  margin: 0 0 16px;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 236, 180, 0.88);
}

.login-form {
  position: relative;
}

.login-field {
  margin-bottom: 12px;
}

.login-id-hint {
  margin: 6px 2px 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 230, 170, 0.55);
}

.login-input .v-field {
  background: #fff !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.45),
    0 0 12px rgba(212, 175, 55, 0.12);
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.login-input .v-field--focused {
  box-shadow:
    inset 0 0 0 1px rgba(253, 202, 34, 0.85),
    0 0 0 1px rgba(253, 202, 34, 0.25),
    0 0 18px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

.login-input .v-field__outline {
  --v-field-border-opacity: 0;
  color: transparent !important;
}

/* เธเนเธฒเน€เธฃเธดเนเธกเธ•เนเธ (เธขเธฑเธเนเธกเน autofill / เธขเธฑเธเนเธกเนเธเธ”เธเนเธญเธ) */
.login-input .v-field__input,
.login-input input {
  color: #1a1408 !important;
  -webkit-text-fill-color: #1a1408 !important;
  caret-color: #fdca22 !important;
  font-family: 'Prompt', 'Noto Sans Thai', system-ui, sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  line-height: 1.45;
  min-height: 52px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.login-input input::placeholder {
  color: rgba(26, 20, 8, 0.42) !important;
  -webkit-text-fill-color: rgba(26, 20, 8, 0.42) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
  opacity: 1 !important;
}

.login-input .v-icon {
  color: #fdca22 !important;
  opacity: 0.95;
}

.login-input .v-messages__message {
  color: #ff6b6b !important;
  font-size: 0.8rem;
  padding-inline-start: 4px;
  opacity: 1 !important;
}

/*
 * Autofill look เธเธเธ”เนเธงเธข class --autofilled
 * เธชเธฒเน€เธซเธ•เธธเน€เธ—เธฒเธเนเธฒเธซเธฒเธขเธ•เธญเธเธเธ”เธ—เธตเนเธญเธทเนเธ:
 * 1) sync v-model เธ—เธณเนเธซเน Chrome เธ–เธญเธ” :-webkit-autofill
 * 2) autofill เธขเธดเธ focus/keydown เธเธฅเธญเธก โ’ เน€เธเธขเธ•เธฑเนเธ engaged/manual เธเธดเธ”
 * เนเธเน: เธฅเนเธญเธเธ”เนเธงเธข class + engaged เน€เธเธเธฒเธฐ pointerdown เธ—เธตเนเธเนเธญเธ + manual เน€เธเธเธฒเธฐเธเธตเธขเนเธเธฃเธดเธ
 */
.login-page .login-input--autofilled:not(.login-input--engaged):not(.login-input--manual) .v-field__input,
.login-page .login-input--autofilled:not(.login-input--engaged):not(.login-input--manual) input {
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  caret-color: #fdca22 !important;
  box-shadow: 0 0 0 1000px #c5ccd8 inset !important;
  -webkit-box-shadow: 0 0 0 1000px #c5ccd8 inset !important;
  background-color: #c5ccd8 !important;
  /* เธกเธธเธกเธเธงเธฒเนเธเนเธเธ•เธฒเธกเธเนเธญเธ โ€” เธเธฑเธเธเธทเนเธ autofill เน€เธเนเธเธกเธธเธกเธเธฒเธ */
  border-radius: 0 10px 10px 0 !important;
  transition: background-color 99999s ease-out 0s !important;
}

/* เธเธฑเธเธเธฑเธเธซเธงเธฐ autofill เธเธญเธ Chrome เน€เธเธทเนเธญเธ•เธฑเนเธ class + sync เธเนเธฒ */
.login-page .login-input input:-webkit-autofill,
.login-page .login-input input:-webkit-autofill:hover,
.login-page .login-input input:-webkit-autofill:focus,
.login-page .login-input input:-webkit-autofill:active {
  animation-name: loginAutofillTick;
  animation-duration: 0.001s;
}

.login-page .login-input:not(.login-input--engaged):not(.login-input--manual) input:-webkit-autofill,
.login-page .login-input:not(.login-input--engaged):not(.login-input--manual) input:-webkit-autofill:hover,
.login-page .login-input:not(.login-input--engaged):not(.login-input--manual) input:-webkit-autofill:focus,
.login-page .login-input:not(.login-input--engaged):not(.login-input--manual) input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  caret-color: #fdca22 !important;
  box-shadow: 0 0 0 1000px #c5ccd8 inset !important;
  -webkit-box-shadow: 0 0 0 1000px #c5ccd8 inset !important;
  border-radius: 0 10px 10px 0 !important;
  transition: background-color 99999s ease-out 0s !important;
}

/* เธเนเธญเธเธฃเธซเธฑเธชเธเนเธฒเธเธกเธตเนเธญเธเธญเธเธ•เธฒเธเธฑเนเธเธเธงเธฒ โ€” เนเธเนเธเน€เธเธเธฒเธฐเธกเธธเธกเนเธ เนเธกเนเธ—เธฑเธเธเธทเนเธเธ—เธตเนเนเธญเธเธญเธ */
.login-page .login-input--autofilled:not(.login-input--engaged):not(.login-input--manual):has(.v-field--appended) input,
.login-page .login-input:not(.login-input--engaged):not(.login-input--manual):has(.v-field--appended) input:-webkit-autofill {
  border-radius: 0 !important;
}

/* เธเธ”เธ—เธตเน textbox เนเธฅเนเธง โ’ เธเธทเนเธเน€เธ—เธฒเธเนเธฒเธซเธฒเธข + เธ•เธฑเธงเธญเธฑเธเธฉเธฃเธ—เธญเธ */
.login-page .login-input--engaged .v-field__input,
.login-page .login-input--engaged input,
.login-page .login-input--engaged input:-webkit-autofill,
.login-page .login-input--engaged input:-webkit-autofill:hover,
.login-page .login-input--engaged input:-webkit-autofill:focus,
.login-page .login-input--engaged input:-webkit-autofill:active {
  -webkit-text-fill-color: #c8960c !important;
  color: #c8960c !important;
  caret-color: #fdca22 !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  background-color: #fff !important;
}

/* เธเธดเธกเธเนเน€เธญเธ โ’ เธชเธตเธ—เธญเธ */
.login-page .login-input--manual .v-field__input,
.login-page .login-input--manual input,
.login-page .login-input--manual input:-webkit-autofill,
.login-page .login-input--manual input:-webkit-autofill:hover,
.login-page .login-input--manual input:-webkit-autofill:focus,
.login-page .login-input--manual input:-webkit-autofill:active {
  color: #c8960c !important;
  -webkit-text-fill-color: #c8960c !important;
  caret-color: #fdca22 !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  background-color: #fff !important;
}

@keyframes loginAutofillTick {
  from {
    opacity: 0.99;
  }
  to {
    opacity: 1;
  }
}

.login-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 16px;
}

.login-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Prompt', 'Noto Sans Thai', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-decoration: none;
  background: linear-gradient(180deg, #fff6d0 0%, #fdca22 48%, #e0a820 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(253, 202, 34, 0.28));
  transition:
    filter 0.22s ease,
    transform 0.22s ease,
    letter-spacing 0.22s ease;
}

.login-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #fdca22 20%, #ffe9a0 50%, #fdca22 80%, transparent);
  opacity: 0.45;
  transform: scaleX(0.55);
  transform-origin: center;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.login-links a:hover {
  filter: drop-shadow(0 0 14px rgba(253, 202, 34, 0.55));
  transform: translateY(-1px);
  letter-spacing: 0.045em;
}

.login-links a:hover::after {
  opacity: 0.95;
  transform: scaleX(1);
}

.login-links__icon {
  flex-shrink: 0;
  color: #fdca22 !important;
  -webkit-text-fill-color: #fdca22 !important;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(253, 202, 34, 0.45));
  transition: transform 0.22s ease;
}

.login-links a:hover .login-links__icon {
  transform: scale(1.08);
}

.login-links__register {
  text-align: left;
}

.login-links__forgot {
  text-align: right;
  margin-left: auto;
}

.login-submit-wrap {
  position: relative;
  margin-top: 4px;
  border-radius: 16px;
}

.login-submit-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: linear-gradient(110deg, #fdca22, #b8860b, #fdca22);
  background-size: 200% 100%;
  opacity: 0.55;
  filter: blur(8px);
  z-index: 0;
  animation: loginCtaGlow 2.8s ease-in-out infinite;
  pointer-events: none;
}

.login-submit {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(100deg, #f0c84f 0%, #d4af37 42%, #b8860b 100%) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  text-transform: none !important;
  letter-spacing: 0.03em;
  border-radius: 14px !important;
  min-height: 54px !important;
  box-shadow:
    0 8px 22px rgba(212, 175, 55, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.login-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: loginCtaShine 2.6s ease-in-out infinite;
  pointer-events: none;
}

.login-submit:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 12px 28px rgba(212, 175, 55, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.05);
}

.login-submit:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

.login-submit:disabled {
  opacity: 0.55 !important;
  filter: grayscale(0.15);
}

.login-submit .v-btn__content,
.login-submit .v-icon {
  color: #fff !important;
  position: relative;
  z-index: 1;
}

.login-payrate {
  position: relative;
  display: block;
  margin: 14px 0 0;
  padding: 15px 16px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid rgba(255, 230, 150, 0.28);
  background: linear-gradient(105deg, #8f1518 0%, #c43a1a 32%, #d4af37 68%, #f0c84f 100%);
  background-size: 180% 100%;
  animation: loginPayrateShift 4.5s ease-in-out infinite;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 22px rgba(212, 175, 55, 0.22);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.login-payrate:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 14px 28px rgba(155, 28, 31, 0.4),
    0 0 28px rgba(253, 202, 34, 0.3);
  animation-play-state: paused;
}

.login-payrate-shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.login-payrate-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: loginPayrateShine 2.8s ease-in-out infinite;
}

.login-payrate-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #fdca22 45%, transparent 70%);
  box-shadow: 0 0 8px rgba(253, 202, 34, 0.8);
  pointer-events: none;
  animation: loginPayrateSpark 2.4s ease-in-out infinite;
}

.login-payrate-spark--1 {
  top: 18%;
  left: 14%;
}

.login-payrate-spark--2 {
  top: 62%;
  right: 18%;
  width: 5px;
  height: 5px;
  animation-delay: 0.7s;
}

.login-payrate-spark--3 {
  top: 28%;
  right: 28%;
  width: 4px;
  height: 4px;
  animation-delay: 1.3s;
}

.login-payrate-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.login-payrate-sub {
  position: relative;
  z-index: 1;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.84rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.login-register {
  margin-top: 20px;
  text-align: center;
}

.login-register__label {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.login-register__cta {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  animation: loginRegisterFloat 3.2s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.login-register__ring {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: conic-gradient(
    from 0deg,
    #fdca22,
    #fff8dc,
    #ff9f43,
    #fdca22,
    #b8860b,
    #fdca22
  );
  z-index: 0;
  animation: loginRegisterSpin 4s linear infinite;
  pointer-events: none;
}

.login-register__glow {
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  background: radial-gradient(ellipse at center, rgba(253, 202, 34, 0.55) 0%, transparent 72%);
  filter: blur(12px);
  opacity: 0.75;
  z-index: 0;
  animation: loginRegisterGlow 2.6s ease-in-out infinite;
  pointer-events: none;
}

.login-register__cta::before {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: 1;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff4b8 0%, #f5c842 28%, #e6a812 62%, #c98f00 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.65),
    inset 0 -3px 6px rgba(120, 80, 0, 0.18);
  pointer-events: none;
}

.login-register__shine {
  position: absolute;
  inset: 2px;
  z-index: 2;
  overflow: hidden;
  border-radius: 14px;
  pointer-events: none;
}

.login-register__shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 42%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 42%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.25) 58%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: loginRegisterShine 2.2s ease-in-out infinite;
}

.login-register__spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 14px #fdca22;
  z-index: 4;
  pointer-events: none;
  animation: loginRegisterSpark 2.8s ease-in-out infinite;
}

.login-register__spark--1 {
  top: 22%;
  left: 8%;
}

.login-register__spark--2 {
  bottom: 20%;
  right: 10%;
  animation-delay: 1.1s;
}

.login-register__content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px;
  padding: 13px 14px;
  min-height: 62px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
}

.login-register__icon-wrap,
.login-register__arrow-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(26, 16, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.login-register__arrow-wrap {
  width: 32px;
  height: 32px;
  animation: loginRegisterArrow 1.5s ease-in-out infinite;
}

.login-register__icon-wrap {
  margin-left: auto;
}

.login-register__icon,
.login-register__arrow {
  color: #1a1000 !important;
  filter: none;
}

.login-register__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.login-register__text strong {
  color: #120a00;
  font-size: 1.14rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.login-register__text small {
  color: #3d2800;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  opacity: 1;
}

.login-register__cta:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.04);
  animation-play-state: paused;
}

.login-register__cta:hover .login-register__glow {
  opacity: 1;
}

.login-register__cta:active {
  transform: translateY(-1px) scale(0.995);
}

@keyframes loginRegisterFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes loginRegisterSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loginRegisterGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.02);
  }
}

@keyframes loginRegisterShine {
  0%,
  40% {
    left: -45%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  72%,
  100% {
    left: 130%;
    opacity: 0;
  }
}

@keyframes loginRegisterArrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@keyframes loginRegisterSpark {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* SEO footer โ€” เธขเนเธญเธ”เนเธงเธข details (เน€เธเธทเนเธญเธซเธฒเธญเธขเธนเนเนเธ DOM เธเธฃเธ เนเธกเน cloaking) */
.login-seo {
  margin-top: 22px;
  width: 100%;
}

.login-seo__box {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(253, 202, 34, 0.32);
  background:
    linear-gradient(165deg, rgba(40, 32, 12, 0.92) 0%, rgba(14, 12, 8, 0.96) 48%, rgba(10, 10, 12, 0.98) 100%);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 220, 120, 0.06),
    inset 0 1px 0 rgba(255, 236, 170, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.login-seo__box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 8% 0%, rgba(253, 202, 34, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 96% 20%, rgba(212, 175, 55, 0.1), transparent 50%);
  z-index: 0;
}

.login-seo__box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 170, 0.55), transparent);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.login-seo__summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}

.login-seo__summary:hover {
  background: linear-gradient(90deg, rgba(253, 202, 34, 0.06), transparent 70%);
}

.login-seo__summary::-webkit-details-marker {
  display: none;
}

.login-seo__title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-family: 'Prompt', 'Noto Sans Thai', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  background: linear-gradient(180deg, #fff6d0 0%, #fdca22 45%, #c9920a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 0 10px rgba(253, 202, 34, 0.22));
}

.login-seo__title-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8dc, #fdca22 55%, #b8860b);
  box-shadow:
    0 0 6px rgba(253, 202, 34, 0.75),
    0 0 12px rgba(212, 175, 55, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.login-seo__hint {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 26px;
  padding: 3px 9px 3px 10px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2a1e00;
  -webkit-text-fill-color: #2a1e00;
  background: linear-gradient(180deg, #fff3c0 0%, #fdca22 42%, #d4af37 78%, #b8860b 100%);
  border: 1px solid rgba(255, 236, 170, 0.55);
  box-shadow:
    0 3px 10px rgba(212, 175, 55, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 3px rgba(140, 90, 0, 0.28);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.login-seo__summary:hover .login-seo__hint {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 5px 14px rgba(212, 175, 55, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 3px rgba(140, 90, 0, 0.28);
}

.login-seo__hint-icon {
  color: #2a1e00 !important;
  opacity: 0.85;
  transition: transform 0.25s ease;
}

.login-seo__box[open] .login-seo__hint-icon {
  transform: rotate(180deg);
}

.login-seo__box[open] .login-seo__hint {
  background: linear-gradient(180deg, #ffe08a 0%, #e0a820 50%, #a87810 100%);
}

.login-seo__body {
  position: relative;
  z-index: 1;
  padding: 2px 12px 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.18);
  font-size: 0.68rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.login-seo__h2 {
  margin: 10px 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  color: #fdca22;
  text-shadow: 0 0 12px rgba(253, 202, 34, 0.25);
}

.login-seo__h3 {
  margin: 12px 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 224, 138, 0.95);
}

.login-seo__body p {
  margin: 0 0 8px;
}

.login-seo__body em {
  font-style: normal;
  color: rgba(255, 236, 180, 0.9);
}

.login-seo__body strong {
  color: rgba(253, 202, 34, 0.92);
  font-weight: 700;
}

.login-seo__body a {
  color: #fdca22;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.login-seo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(212, 175, 55, 0.22);
}

.login-seo__chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(180deg, rgba(36, 28, 10, 0.95), rgba(16, 14, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 170, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.25);
  color: rgba(255, 236, 180, 0.82);
  font-size: 0.56rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.login-enter {
  animation: loginFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.login-enter--1 {
  animation-delay: 0.02s;
}
.login-enter--2 {
  animation-delay: 0.08s;
}
.login-enter--3 {
  animation-delay: 0.14s;
}
.login-enter--4 {
  animation-delay: 0.18s;
}
.login-enter--5 {
  animation-delay: 0.24s;
}
.login-enter--6 {
  animation-delay: 0.3s;
}
.login-enter--7 {
  animation-delay: 0.36s;
}
.login-enter--8 {
  animation-delay: 0.42s;
}

.login-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 20px 0 0;
  text-align: center;
}

.login-tagline__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px 8px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #3a2800;
  background:
    linear-gradient(180deg, #fff3c0 0%, #ffdb4a 16%, #f5c518 42%, #e0a820 68%, #c9920a 100%);
  border: 1px solid rgba(255, 220, 120, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -2px 3px rgba(160, 100, 0, 0.32),
    0 1px 0 rgba(255, 220, 120, 0.45),
    0 4px 0 #a67c00,
    0 8px 18px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.55);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45),
    0 -1px 0 rgba(90, 60, 0, 0.25);
  transform: translateZ(0);
  overflow: hidden;
}

.login-tagline__item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: loginTaglineShine 3.6s ease-in-out infinite;
  pointer-events: none;
}

.login-tagline__item:nth-child(1)::before {
  animation-delay: 0s;
}
.login-tagline__item:nth-child(3)::before {
  animation-delay: 0.45s;
}
.login-tagline__item:nth-child(5)::before {
  animation-delay: 0.9s;
}

.login-tagline__sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe9a0, #f0c020 48%, #c9920a);
  box-shadow:
    0 0 0 1px rgba(255, 220, 120, 0.55),
    0 0 12px rgba(212, 175, 55, 0.75),
    0 2px 4px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

@keyframes loginTaglineShine {
  0%,
  55% {
    transform: translateX(-120%);
    opacity: 0;
  }
  65% {
    opacity: 0.9;
  }
  80%,
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes loginFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loginCtaShine {
  0%,
  45% {
    left: -40%;
    opacity: 0;
  }
  55% {
    opacity: 1;
  }
  70%,
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes loginCtaGlow {
  0%,
  100% {
    opacity: 0.4;
    background-position: 0% 50%;
  }
  50% {
    opacity: 0.75;
    background-position: 100% 50%;
  }
}

@keyframes loginPayrateShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes loginPayrateShine {
  0%,
  35% {
    left: -50%;
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  70%,
  100% {
    left: 130%;
    opacity: 0;
  }
}

@keyframes loginPayrateSpark {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@media (max-width: 768px), (pointer: coarse) {
  .login-submit-wrap::before {
    filter: blur(5px);
    background-position: 0% 50%;
    animation: loginMobileGlow 3.6s ease-in-out infinite;
  }

  .login-register__glow {
    filter: blur(6px);
    animation: loginMobileGlow 3.8s ease-in-out infinite;
  }

  .login-register__ring {
    animation-duration: 12s;
  }

  .login-register__cta {
    animation-duration: 4.5s;
  }

  .login-payrate {
    animation-duration: 7s;
  }

  .login-payrate-spark--3,
  .login-register__spark--2 {
    display: none;
  }
}

@keyframes loginMobileGlow {
  0%,
  100% {
    opacity: 0.38;
  }
  50% {
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-enter,
  .login-submit::before,
  .login-submit-wrap::before,
  .login-payrate,
  .login-payrate-shine::before,
  .login-payrate-spark,
  .login-tagline__item::before,
  .login-register__cta,
  .login-register__ring,
  .login-register__glow,
  .login-register__shine::before,
  .login-register__arrow-wrap,
  .login-register__spark,
  .login-title-crest__glow,
  .login-title-crest__wing,
  .login-title-crest__diamond {
    animation: none !important;
  }

  .login-submit:hover:not(:disabled),
  .login-payrate:hover,
  .login-input .v-field--focused,
  .login-register__cta:hover {
    transform: none;
  }
}

/* iPad / tablet โ€” เธเธขเธฒเธขเธเธฃเธญเธเน€เธ—เธเธงเธ */
@media only screen and (min-width: 768px) {
  .login-page.auth-tech-panel {
    margin-top: 12px;
    padding: 30px 28px 32px;
  }

  .login-hero {
    margin-bottom: 10px;
  }
}

/* Desktop */
@media only screen and (min-width: 1024px) {
  .login-page.auth-tech-panel {
    margin-top: 16px;
    padding: 36px 36px 38px;
  }

  .login-hero {
    margin-bottom: 14px;
  }

  .login-title {
    font-size: 1.8rem;
  }

  .login-title-crest__wing {
    max-width: 120px;
    height: 42px;
  }
}

/* Mobile โ€” เธเธงเนเธฒเธเธเธถเนเธ 20px */
@media (max-width: 767px) {
  .login-page {
    width: calc(100% + 20px);
    max-width: calc(100% + 20px);
    margin-inline: -10px;
  }
}

/* Mobile โ€” เธเนเธญเธเธเธฃเธญเธเน€เธ—เธเธงเธ */
@media (max-width: 480px), (pointer: coarse) {
  .login-page .auth-tech-panel__frame,
  .login-page .auth-tech-panel__flare {
    display: none !important;
  }
}

/* เธซเธฅเธฑเธเธฅเนเธญเธเธญเธดเธ / เธญเธญเธเธเธฒเธเธซเธเนเธฒ โ€” เธซเธขเธธเธ” animation เนเธกเนเนเธซเนเธฃเธฑเธเน€เธเธทเนเธญเธเธซเธฅเธฑเธ */
.login-page.is-cached,
.login-page.is-cached *,
.login-page.is-cached *::before,
.login-page.is-cached *::after {
  animation-play-state: paused !important;
}
/* static landing tweaks (no Vuetify) */
.login-register__arrow,
.login-register__icon {
  color: #1a1000 !important;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}
.login-links__icon {
  color: #fdca22 !important;
  -webkit-text-fill-color: #fdca22 !important;
  font-size: 0.95rem;
}
a.login-submit {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.login-seo__body h1.login-seo__h2 {
  font-size: 0.92rem;
}

/* hard lock wing size  prevent flex SVG blow-up */
svg.login-title-crest__wing,
.login-title-crest__wing {
  width: 96px !important;
  height: 38px !important;
  max-width: 96px !important;
  min-width: 0 !important;
  flex: 0 0 96px !important;
}
.guest-shell--auth-center { overflow: visible !important; }
.guest-card { position: relative; z-index: 2; }
