.auth-wrap {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 73px);
  display: grid;
  place-items: center;
  padding: 48px 16px 80px;
}
.auth-col {
  width: min(440px, 100%);
}
.auth-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(232, 184, 109, .06), transparent 55%), var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  padding: clamp(28px, 6vw, 44px);
}
.auth-title {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 6vw, 30px);
  letter-spacing: 4px;
  line-height: 1.25;
  color: var(--fg);
}
.auth-title-en {
  margin-top: 6px;
  font-family: var(--garamond);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(218, 218, 218, .5);
}
.tabs {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.tab {
  position: relative;
  padding: 8px 2px 12px;
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 300;
  color: rgba(218, 218, 218, .6);
  transition: color .2s;
}
.tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(232, 184, 109, .55);
  transition: right .28s ease;
}
.tab:hover {
  color: var(--fg);
}
.tab[aria-selected="true"] {
  color: var(--fg);
}
.tab[aria-selected="true"]::after {
  right: 0;
}
.panel {
  display: none;
}
.panel.active {
  display: block;
  animation: fadeUp .32s ease;
}
.auth-foot {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(218, 218, 218, .6);
}
.auth-foot a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 184, 109, .35);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.auth-foot a:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}
@media (prefers-reduced-motion: reduce) {
  .panel.active { animation: none; }
}
