:root {
  --jg-bg-0: #05070b;
  --jg-bg-1: #0b1018;
  --jg-bg-2: #0f1622;
  --jg-panel: rgba(13, 19, 30, 0.92);
  --jg-panel-2: rgba(20, 28, 42, 0.78);
  --jg-line: rgba(120, 160, 200, 0.14);
  --jg-line-2: rgba(120, 160, 200, 0.28);
  --jg-line-strong: rgba(255, 181, 71, 0.55);
  --jg-text: #f3f7fb;
  --jg-text-2: #c7d3df;
  --jg-muted: #7d8b99;
  --jg-gold: #ffb547;
  --jg-gold-2: #ffd17c;
  --jg-cyan: #4de8f3;
  --jg-cyan-2: #7df2fb;
  --jg-error: #ff5370;
  --jg-success: #4ade80;
  --jg-radius: 14px;
  --jg-radius-sm: 10px;
  --jg-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.03) inset;
  --jg-grad-primary: linear-gradient(135deg, #ffb547 0%, #ffd17c 45%, #4de8f3 100%);
  --jg-grad-text: linear-gradient(135deg, #ffd17c, #4de8f3);
  --jg-font: "Inter", "SF Pro Display", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

.jg-auth,
.jg-gamebar,
.jg-rank-modal {
  font-family: var(--jg-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.jg-auth[hidden],
.jg-rank-modal[hidden],
.jg-gamebar[hidden],
.jg-form[hidden] {
  display: none !important;
}

/* ============ OVERLAY ROOT ============ */
.jg-auth {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: clamp(12px, 4vw, 32px);
  padding-top: max(clamp(12px, 4vw, 32px), env(safe-area-inset-top));
  padding-bottom: max(clamp(12px, 4vw, 32px), env(safe-area-inset-bottom));
  color: var(--jg-text);
  background:
    radial-gradient(ellipse at 15% 10%, rgba(77, 232, 243, 0.18), transparent 40%),
    radial-gradient(ellipse at 85% 90%, rgba(255, 181, 71, 0.16), transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(120, 80, 220, 0.08), transparent 60%),
    linear-gradient(160deg, var(--jg-bg-0) 0%, var(--jg-bg-1) 50%, var(--jg-bg-0) 100%);
  overflow-y: auto;
  animation: jg-fade-in 0.35s ease-out;
}

.jg-auth::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(77, 232, 243, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 232, 243, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

@keyframes jg-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes jg-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jg-spin {
  to { transform: rotate(360deg); }
}

@keyframes jg-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ============ CARD ============ */
.jg-auth-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: min(960px, 100%);
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--jg-line);
  border-radius: var(--jg-radius);
  background: var(--jg-panel);
  box-shadow: var(--jg-shadow);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  animation: jg-slide-up 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- left side / hero ---- */
.jg-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(77, 232, 243, 0.16), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 181, 71, 0.14), transparent 55%),
    linear-gradient(160deg, var(--jg-bg-2), var(--jg-bg-1));
  overflow: hidden;
}

.jg-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle at 10% 90%, rgba(255, 181, 71, 0.08), transparent 35%),
    repeating-linear-gradient(45deg, transparent 0, transparent 60px, rgba(77, 232, 243, 0.03) 60px, rgba(77, 232, 243, 0.03) 61px);
  pointer-events: none;
}

.jg-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.jg-brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--jg-line-strong);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 181, 71, 0.18), rgba(77, 232, 243, 0.1));
  color: var(--jg-gold);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(255, 181, 71, 0.18);
}

.jg-brand-name strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.jg-brand-name small {
  display: block;
  margin-top: 2px;
  color: var(--jg-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.jg-hero-copy {
  position: relative;
}

.jg-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: var(--jg-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.jg-hero-copy p {
  margin: 0;
  max-width: 36ch;
  color: var(--jg-text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.jg-hero-features {
  position: relative;
  display: grid;
  gap: 12px;
}

.jg-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--jg-text-2);
  font-size: 0.88rem;
  font-weight: 500;
}

.jg-feature-icon {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--jg-line-2);
  border-radius: 9px;
  background: var(--jg-panel-2);
  color: var(--jg-cyan);
}

.jg-feature-icon svg {
  width: 16px;
  height: 16px;
}

/* ---- right side / form panel ---- */
.jg-form-side {
  display: flex;
  flex-direction: column;
  padding: 36px 34px;
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.6), rgba(11, 16, 24, 0.6));
}

.jg-form-head {
  margin-bottom: 22px;
}

.jg-form-head h2 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.jg-form-head p {
  margin: 0;
  color: var(--jg-muted);
  font-size: 0.88rem;
}

/* ============ TABS ============ */
.jg-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--jg-line);
  border-radius: 12px;
  background: rgba(5, 8, 13, 0.6);
}

.jg-tabs::after {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  content: "";
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255, 181, 71, 0.22), rgba(77, 232, 243, 0.18));
  box-shadow: 0 2px 12px rgba(255, 181, 71, 0.12);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.jg-auth[data-mode="register"] .jg-tabs::after {
  transform: translateX(100%);
}

.jg-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--jg-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.22s ease;
}

.jg-tab.is-active {
  color: var(--jg-text);
}

.jg-tab svg {
  width: 16px;
  height: 16px;
}

/* ============ FORM ============ */
.jg-form {
  display: grid;
  gap: 14px;
  animation: jg-slide-up 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.jg-field {
  display: grid;
  gap: 7px;
}

.jg-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--jg-text-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jg-field-label svg {
  width: 13px;
  height: 13px;
  color: var(--jg-muted);
}

.jg-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.jg-input-wrap > svg.jg-input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--jg-muted);
  pointer-events: none;
  transition: color 0.22s ease;
}

.jg-input-wrap input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px 0 44px;
  border: 1px solid var(--jg-line-2);
  border-radius: var(--jg-radius-sm);
  background: rgba(5, 8, 13, 0.7);
  color: var(--jg-text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.jg-input-wrap input::placeholder {
  color: rgba(125, 139, 153, 0.7);
}

.jg-input-wrap input:hover {
  border-color: rgba(120, 160, 200, 0.4);
}

.jg-input-wrap input:focus {
  border-color: var(--jg-cyan);
  background: rgba(5, 8, 13, 0.9);
  box-shadow: 0 0 0 3px rgba(77, 232, 243, 0.14);
}

.jg-input-wrap input:focus + .jg-input-icon,
.jg-input-wrap:focus-within > svg.jg-input-icon {
  color: var(--jg-cyan);
}

.jg-input-wrap input:-webkit-autofill,
.jg-input-wrap input:-webkit-autofill:hover,
.jg-input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--jg-text);
  -webkit-box-shadow: 0 0 0 1000px rgba(5, 8, 13, 0.95) inset;
  transition: background-color 9999s ease-out;
}

.jg-pass-toggle {
  position: absolute;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--jg-muted);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.jg-pass-toggle:hover {
  color: var(--jg-text);
  background: rgba(120, 160, 200, 0.08);
}

.jg-pass-toggle svg {
  width: 18px;
  height: 18px;
}

.jg-pass-toggle .jg-eye-off { display: none; }
.jg-pass-toggle[data-visible="true"] .jg-eye-on { display: none; }
.jg-pass-toggle[data-visible="true"] .jg-eye-off { display: block; }

.jg-field-hint {
  color: var(--jg-muted);
  font-size: 0.76rem;
}

/* ============ BUTTONS ============ */
.jg-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--jg-line-2);
  border-radius: var(--jg-radius-sm);
  background: rgba(7, 11, 17, 0.82);
  color: var(--jg-text);
  font: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease;
  overflow: hidden;
}

.jg-btn:disabled {
  cursor: progress;
  filter: saturate(0.7) brightness(0.85);
}

.jg-btn svg {
  width: 18px;
  height: 18px;
}

.jg-btn-primary {
  margin-top: 4px;
  border-color: rgba(255, 181, 71, 0.5);
  background: var(--jg-grad-primary);
  color: #08111a;
  box-shadow: 0 12px 32px rgba(255, 181, 71, 0.22), 0 0 0 1px rgba(255, 209, 124, 0.18) inset;
}

.jg-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(255, 181, 71, 0.32), 0 0 0 1px rgba(255, 209, 124, 0.32) inset;
}

.jg-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.jg-btn-secondary {
  background: rgba(77, 232, 243, 0.06);
}

.jg-btn-secondary:hover {
  background: rgba(77, 232, 243, 0.12);
  border-color: var(--jg-line-strong);
}

.jg-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: jg-spin 0.7s linear infinite;
}

.jg-btn[data-busy="true"] .jg-btn-label,
.jg-btn[data-busy="true"] .jg-btn-icon {
  visibility: hidden;
}

.jg-btn[data-busy="true"]::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "";
  background: inherit;
}

.jg-btn[data-busy="true"]::before {
  position: absolute;
  z-index: 1;
  width: 20px;
  height: 20px;
  content: "";
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: jg-spin 0.7s linear infinite;
}

/* ============ MESSAGE ============ */
.jg-message {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin-top: 4px;
  color: var(--jg-error);
  font-size: 0.86rem;
  font-weight: 600;
}

.jg-message[data-kind="success"] {
  color: var(--jg-success);
}

.jg-message[data-kind="info"] {
  color: var(--jg-cyan);
}

.jg-message:empty {
  display: none;
}

.jg-message::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  animation: jg-pulse 1.4s ease-in-out infinite;
}

/* ============ FOOT ============ */
.jg-auth-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--jg-line);
}

.jg-auth-foot small {
  color: var(--jg-muted);
  font-size: 0.8rem;
}

.jg-rank-open-foot {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.78rem;
}

/* ============ GAMEBAR ============ */
.jg-gamebar {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 10px;
  border: 1px solid var(--jg-line-2);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.86);
  color: var(--jg-text);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.jg-user-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb547, #4de8f3);
  color: #08111a;
  font-weight: 900;
  font-size: 0.78rem;
}

.jg-user-chip {
  max-width: 140px;
  padding: 0 6px;
  overflow: hidden;
  color: var(--jg-text);
  font-size: 0.84rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jg-icon-btn {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--jg-text-2);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.jg-icon-btn:hover {
  background: rgba(77, 232, 243, 0.12);
  color: var(--jg-cyan);
  transform: scale(1.05);
}

.jg-icon-btn:active {
  transform: scale(0.95);
}

.jg-icon-btn svg,
.jg-btn svg {
  width: 18px;
  height: 18px;
}

.jg-lang-flag {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 18px;
  padding: 0 4px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--jg-gold), var(--jg-cyan));
  color: #08111a;
  font-weight: 900;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.jg-lang-toggle[data-lang="cn"] .jg-lang-flag {
  background: linear-gradient(135deg, #ff5370, #ff8a4f);
  color: #fff;
}

.jg-lang-toggle[data-lang="pt"] .jg-lang-flag {
  background: linear-gradient(135deg, #009c3b, #ffdf00);
  color: #08111a;
}

/* ============ RANK MODAL ============ */
.jg-rank-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: clamp(12px, 4vw, 24px);
  color: var(--jg-text);
  background: rgba(1, 3, 7, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: jg-fade-in 0.22s ease-out;
}

.jg-rank-panel {
  display: flex;
  flex-direction: column;
  width: min(580px, 100%);
  max-height: min(720px, 90vh);
  overflow: hidden;
  border: 1px solid var(--jg-line-2);
  border-radius: var(--jg-radius);
  background: var(--jg-panel);
  box-shadow: var(--jg-shadow);
  animation: jg-slide-up 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.jg-rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--jg-line);
  background: linear-gradient(180deg, rgba(255, 181, 71, 0.05), transparent);
}

.jg-rank-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.jg-rank-head h2 svg {
  width: 22px;
  height: 22px;
  color: var(--jg-gold);
}

.jg-rank-list {
  overflow-y: auto;
  padding: 6px 0;
}

.jg-rank-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 60px;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(120, 160, 200, 0.08);
  transition: background 0.18s ease;
}

.jg-rank-row:hover {
  background: rgba(77, 232, 243, 0.04);
}

.jg-rank-row:last-child {
  border-bottom: 0;
}

.jg-rank-pos {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--jg-line-2);
  border-radius: 10px;
  background: rgba(5, 8, 13, 0.7);
  color: var(--jg-muted);
  font-weight: 800;
  font-size: 0.85rem;
}

.jg-rank-row[data-top="1"] .jg-rank-pos {
  border-color: rgba(255, 181, 71, 0.7);
  background: linear-gradient(135deg, rgba(255, 181, 71, 0.32), rgba(255, 209, 124, 0.16));
  color: var(--jg-gold);
}

.jg-rank-row[data-top="2"] .jg-rank-pos {
  border-color: rgba(200, 210, 220, 0.5);
  background: linear-gradient(135deg, rgba(200, 210, 220, 0.18), rgba(160, 175, 190, 0.08));
  color: #d8dee5;
}

.jg-rank-row[data-top="3"] .jg-rank-pos {
  border-color: rgba(205, 127, 50, 0.6);
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.22), rgba(140, 80, 30, 0.08));
  color: #e7a86b;
}

.jg-rank-name {
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jg-rank-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--jg-cyan);
  font-weight: 800;
  font-size: 0.88rem;
}

.jg-rank-meta svg {
  width: 14px;
  height: 14px;
}

.jg-rank-empty {
  padding: 36px 22px;
  text-align: center;
  color: var(--jg-muted);
  font-size: 0.9rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 820px) {
  .jg-auth-card {
    grid-template-columns: 1fr;
    width: min(440px, 100%);
  }

  .jg-hero {
    padding: 28px 28px 22px;
    gap: 20px;
  }

  .jg-hero-copy h1 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .jg-hero-features {
    display: none;
  }

  .jg-form-side {
    padding: 26px 28px 28px;
  }
}

@media (max-width: 540px) {
  .jg-auth {
    padding: 0;
  }

  .jg-auth-card {
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .jg-hero {
    padding: 24px 22px 16px;
    gap: 16px;
  }

  .jg-hero-copy h1 {
    margin-bottom: 8px;
    font-size: 1.6rem;
  }

  .jg-hero-copy p {
    font-size: 0.88rem;
  }

  .jg-form-side {
    flex: 1;
    padding: 22px 22px 28px;
  }

  .jg-form-head h2 {
    font-size: 1.3rem;
  }

  .jg-tabs {
    margin-bottom: 18px;
  }

  .jg-auth-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .jg-rank-open-foot {
    width: 100%;
  }

  .jg-gamebar {
    top: auto;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 5px 5px 5px 8px;
  }

  .jg-user-chip {
    max-width: 90px;
    font-size: 0.78rem;
  }

  .jg-icon-btn {
    width: 32px;
    height: 32px;
  }

  .jg-user-avatar {
    width: 26px;
    height: 26px;
  }

  .jg-rank-modal {
    padding: 0;
  }

  .jg-rank-panel {
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .jg-rank-row {
    padding: 10px 18px;
  }
}

@media (max-height: 680px) and (min-width: 821px) {
  .jg-hero-features {
    display: none;
  }
  .jg-hero,
  .jg-form-side {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jg-auth,
  .jg-auth-card,
  .jg-form,
  .jg-rank-modal,
  .jg-rank-panel,
  .jg-tabs::after,
  .jg-spinner,
  .jg-message::before,
  .jg-btn[data-busy="true"]::before {
    animation: none !important;
    transition: none !important;
  }
}
