/* BIZON 283: unframed introduction and the existing mint tone on the form. */
html[data-ui349="auth"] body main.entry327 {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
  column-gap: clamp(20px, 3vw, 38px) !important;
}

html[data-ui349="auth"] body main.entry327 > aside {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html[data-ui349="auth"] body main.entry327 > aside .auth-note {
  border: 0;
}

html[data-ui349="auth"] body main.entry327 > .auth-card {
  background: linear-gradient(160deg, #e8f3ec, #f1f7f3) !important;
  border: 1px solid #cfdfd5 !important;
  border-radius: 26px !important;
  box-shadow: 0 14px 44px #193e3209 !important;
}

html[data-ui349="auth"] body main.entry327 > .auth-card .methods327 {
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
  margin: 14px 0;
  padding: 0;
  gap: 6px;
}

html[data-ui349="auth"] body main.entry327 > .auth-card .methods327 button,
html[data-ui349="auth"] body main.entry327 > .auth-card .region327 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  min-height: 44px;
  margin-top: 0;
}

html[data-ui349="auth"] body main.entry327 > .auth-card .methods327 button {
  padding: 8px 10px;
}

html[data-ui349="auth"] body main.entry327 > .auth-card .region327 {
  padding: 10px 14px;
  gap: 0;
  color: #005e43;
}

html[data-ui349="auth"] body main.entry327 > .auth-card :is(input,select):not([type="checkbox"]):not([type="radio"]) {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 16px;
}

html[data-ui349="auth"] body main.entry327 > .auth-card label:not(.consent) {
  margin-top: 12px;
  margin-bottom: 5px;
}

html[data-ui349="auth"] body main.entry327 > .auth-card :is(small,.fine327) {
  margin-top: 6px;
  margin-bottom: 12px;
}

html[data-ui349="auth"] body main.entry327 > .auth-card form > .primary {
  min-height: 44px;
  padding: 10px 16px;
  margin-top: 12px;
}

html[data-ui349="auth"] body main.entry327 > .auth-card .password-eye {
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
}

html[data-ui349="auth"] .auth283-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(76px, 9vw, 112px);
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
html[data-ui349="auth"] .auth283-welcome-copy { min-width: 0; }
html[data-ui349="auth"] .auth283-welcome-copy #auth-description { margin-bottom: 0; }
html[data-ui349="auth"] .auth283-mascot {
  width: 100%;
  aspect-ratio: 1;
  pointer-events: none;
  user-select: none;
  contain: layout;
}
html[data-ui349="auth"] .auth283-mascot-sprite {
  display: block;
  width: 100%;
  height: 100%;
  background: url('/bizonai265/bizon-sprite.png') 100% 100% / 400% 200% no-repeat;
  transform-origin: 50% 88%;
  filter: drop-shadow(0 4px 4px #174c3524);
}
html[data-ui349="auth"] .auth283-mascot-travel { display: block; width: 100%; height: 100%; }
html[data-ui349="auth"] .auth283-mascot-sprite[data-auth283-frame="6"] { -webkit-clip-path: inset(0 0 0 1%); clip-path: inset(0 0 0 1%); }
@keyframes auth283-mascot-arrive {
  from { opacity: 0; transform: translateY(6px) scale(.94); }
  to { opacity: 1; transform: none; }
}
@keyframes auth283-mascot-idle {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  38% { transform: translateY(-2px) rotate(-1deg) scale(1.015); }
  72% { transform: translateY(-.5px) rotate(.6deg) scale(1.006); }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-ui349="auth"] .auth283-mascot { animation: auth283-mascot-arrive 900ms cubic-bezier(.19,1,.22,1) both; }
  html[data-ui349="auth"] .auth283-mascot[data-auth283-stage="settled"] .auth283-mascot-sprite { animation: auth283-mascot-idle 4200ms ease-in-out infinite; }
}
@media (max-width: 650px) {
  html[data-ui349="auth"] .auth283-welcome { grid-template-columns: minmax(0,1fr) 76px; gap: 10px; }
}
@media (max-width: 359px) {
  html[data-ui349="auth"] .auth283-welcome { grid-template-columns: minmax(0,1fr) 64px; gap: 8px; }
  html[data-ui349="auth"] body main.entry327 .auth283-welcome-copy #auth-title { font-size: 24px !important; }
}

html[data-ui349="auth"] body main.entry327 > .auth-card input:not([type="checkbox"]):not([type="radio"]),
html[data-ui349="auth"] body main.entry327 > .auth-card select,
html[data-ui349="auth"] body main.entry327 > .auth-card .region327 {
  background-color: #fff;
}

/* The region dialog uses the BIZONAI mint surface and white controls. */
html[data-ui349="auth"] #region-dialog327 {
  background: #d5e8dd;
  color: #164e3e;
}
html[data-ui349="auth"] #region-dialog327 :is(input, select),
html[data-ui349="auth"] #region-dialog327 .region-fields327 button,
html[data-ui349="auth"] #region-dialog327 #geography327 button {
  background: #fff;
}
html[data-ui349="auth"] #region-dialog327 .dialog-top327 {
  gap: 16px;
}
html[data-ui349="auth"] #region-dialog327 .dialog-top327 [data-close327] {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid #b9d2c3;
  border-radius: 50%;
  background: #fff;
  color: #164e3e;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}
html[data-ui349="auth"] #region-dialog327 .dialog-top327 [data-close327]::before,
html[data-ui349="auth"] #region-dialog327 .dialog-top327 [data-close327]::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
html[data-ui349="auth"] #region-dialog327 .dialog-top327 [data-close327]::after {
  transform: rotate(-45deg);
}
html[data-ui349="auth"] #region-dialog327 .dialog-top327 [data-close327]:hover {
  background: #f1f8f4;
  border-color: #7ba78d;
}
html[data-ui349="auth"] #region-dialog327 .dialog-top327 [data-close327]:focus-visible {
  outline: 2px solid #007c4c;
  outline-offset: 3px;
}

@keyframes auth283-text-arrive {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  html[data-ui349="auth"] body main.entry327 > aside > .brand-label,
  html[data-ui349="auth"] body main.entry327 > aside > h2,
  html[data-ui349="auth"] body main.entry327 > aside > p,
  html[data-ui349="auth"] body main.entry327 > aside .auth-note > strong,
  html[data-ui349="auth"] body main.entry327 > aside .auth-note > p,
  html[data-ui349="auth"] body main.entry327 > aside > small {
    animation: auth283-text-arrive 1100ms cubic-bezier(.19, 1, .22, 1) both;
  }
  html[data-ui349="auth"] body main.entry327 > aside > .brand-label { animation-delay: 80ms; }
  html[data-ui349="auth"] body main.entry327 > aside > h2 { animation-delay: 400ms; }
  html[data-ui349="auth"] body main.entry327 > aside > p { animation-delay: 720ms; }
  html[data-ui349="auth"] body main.entry327 > aside .auth-note > strong { display: block; animation-delay: 1040ms; }
  html[data-ui349="auth"] body main.entry327 > aside .auth-note > p { animation-delay: 1360ms; }
  html[data-ui349="auth"] body main.entry327 > aside > small { animation-delay: 1680ms; }
}

@media (max-width: 650px) {
  html[data-ui349="auth"] body main.entry327 { column-gap: 0 !important; }
  html[data-ui349="auth"] body main.entry327 > .auth-card { border-radius: 20px !important; }
}
