:root {
  --clone-pink: #d4217c;
  --clone-pink-dark: #83004d;
  --clone-gold: #ffd700;
}

/* Tombol bawah lama tidak lagi menutupi konten. */
.fixed-actions,
.fixed {
  display: none !important;
}

.clone-account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 10px;
  width: min(300px, 100%);
}

.clone-account-actions a {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 9px 16px;
  border: 2px solid var(--clone-gold);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .4px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.clone-account-actions a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.clone-login {
  color: #fff !important;
  background: linear-gradient(135deg, #e52886, var(--clone-pink-dark));
}

.clone-register {
  color: #240015 !important;
  background: linear-gradient(135deg, #ffe76b, #e4aa12);
  box-shadow: 0 0 0 2px rgba(212, 33, 124, .65), 0 0 18px rgba(212, 33, 124, .55) !important;
}

.clone-inline-actions {
  margin: 22px auto 4px;
  width: min(360px, 100%);
}

.dashboard-intro .clone-inline-actions {
  margin-top: 24px;
  margin-bottom: 0;
}

.clone-inline-actions a {
  min-height: 46px;
  font-size: 14px;
}

.clone-header-actions {
  display: none;
}

@media (max-width: 860px) {
  header > .nav,
  header .container.nav,
  .site-header > .nav,
  .site-header .container.nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px 10px !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  header .brand,
  .site-header .brand {
    width: auto !important;
    margin: 0 !important;
    justify-self: start;
  }

  header .brand-logo,
  .site-header .brand-logo {
    width: auto !important;
    height: 36px !important;
    max-width: 125px !important;
    object-fit: contain;
  }

  header nav,
  .site-header .site-nav {
    grid-column: 1 / -1;
    width: 100% !important;
  }

  .clone-inline-actions {
    display: grid !important;
    width: min(330px, 100%);
    margin-top: 18px;
  }

  .clone-header-actions {
    display: grid;
    grid-template-columns: repeat(2, auto);
    width: auto;
    gap: 5px;
    justify-self: end;
  }

  .clone-header-actions a {
    min-width: 54px;
    min-height: 34px;
    padding: 6px 9px;
    border-width: 1px;
    border-radius: 8px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clone-account-actions a {
    transition: none;
  }
}
