.ce-account {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  color: #fff8ea;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.ce-account button,
.ce-account input {
  font: inherit;
}

.ce-account-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 248, 234, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: #080a0b;
  background: #f2b967;
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.ce-account-panel {
  position: absolute;
  right: 0;
  bottom: 54px;
  width: min(360px, calc(100vw - 24px));
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  background: rgba(15, 18, 20, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.ce-account-panel[hidden] {
  display: none;
}

.ce-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ce-account-head span,
.ce-account-form label span {
  color: rgba(255, 248, 234, 0.62);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ce-account-head strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.05;
}

.ce-account-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  color: #fff8ea;
  background: rgba(255, 248, 234, 0.05);
  font-weight: 900;
  cursor: pointer;
}

.ce-account-form {
  display: grid;
  gap: 10px;
}

.ce-account-form label {
  display: grid;
  gap: 6px;
}

.ce-account-form input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  padding: 0 11px;
  outline: none;
  color: #fff8ea;
  background: rgba(255, 248, 234, 0.06);
}

.ce-account-form input:focus {
  border-color: rgba(105, 213, 199, 0.68);
  box-shadow: 0 0 0 3px rgba(105, 213, 199, 0.12);
}

.ce-account-primary,
.ce-account-secondary,
.ce-account-link {
  min-height: 40px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.ce-account-primary {
  border: 0;
  color: #080a0b;
  background: #f2b967;
}

.ce-account-secondary {
  border: 1px solid rgba(255, 248, 234, 0.16);
  color: #fff8ea;
  background: rgba(255, 248, 234, 0.06);
}

.ce-account-link {
  border: 0;
  color: #69d5c7;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ce-account-message {
  min-height: 18px;
  color: rgba(255, 248, 234, 0.64);
  font-size: 12px;
  line-height: 1.4;
}

.ce-account-message.error {
  color: #d66a5e;
}

.ce-account-user {
  display: grid;
  gap: 10px;
}

.ce-account-user strong {
  overflow-wrap: anywhere;
}

.ce-account-user small {
  color: rgba(255, 248, 234, 0.64);
  line-height: 1.4;
}

@media (max-width: 680px) {
  .ce-account {
    right: 12px;
    bottom: 12px;
  }

  .ce-account-panel {
    bottom: 52px;
  }
}

.account-page {
  margin: 0;
  min-height: 100vh;
  color: #fff8ea;
  background: #07090b;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.account-page *,
.account-page *::before,
.account-page *::after {
  box-sizing: border-box;
}

.account-page a {
  color: inherit;
}

.account-page button,
.account-page input {
  font: inherit;
}

.account-shell {
  min-height: 100vh;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.account-hero,
.account-card,
.legal-card {
  min-width: 0;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  background: rgba(15, 18, 20, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.account-hero {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: rgba(15, 18, 20, 0.9);
}

.account-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 80px;
  text-decoration: none;
}

.account-brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #080a0b;
  background: #f2b967;
  font-weight: 900;
}

.account-brand strong {
  font-size: 18px;
}

.account-eyebrow {
  margin: 0;
  color: #69d5c7;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-hero h1,
.legal-card h1 {
  margin: 12px 0;
  font-size: 72px;
  line-height: 0.94;
}

.account-hero p,
.legal-card p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 248, 234, 0.68);
  font-size: 16px;
  line-height: 1.55;
}

.account-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.account-checks span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  padding: 0 11px;
  color: rgba(255, 248, 234, 0.74);
  background: rgba(255, 248, 234, 0.05);
  font-size: 12px;
  font-weight: 850;
}

.account-card {
  padding: 20px;
}

.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.04);
}

.account-tabs button {
  min-width: 0;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 248, 234, 0.62);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.account-tabs button.active {
  color: #080a0b;
  background: #f2b967;
}

.account-form {
  display: none;
  gap: 12px;
}

.account-form.active {
  display: grid;
}

.account-form-head span,
.account-form label > span,
.account-consents span {
  color: rgba(255, 248, 234, 0.62);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-form-head h2 {
  margin: 5px 0 4px;
  font-size: 24px;
  line-height: 1.05;
}

.account-form label {
  display: grid;
  gap: 7px;
}

.account-form input[type="email"],
.account-form input[type="password"] {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  outline: none;
  color: #fff8ea;
  background: rgba(255, 248, 234, 0.06);
}

.account-form input:focus {
  border-color: rgba(105, 213, 199, 0.68);
  box-shadow: 0 0 0 3px rgba(105, 213, 199, 0.12);
}

.account-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-help {
  margin: -2px 0 0;
  color: rgba(255, 248, 234, 0.58);
  font-size: 12px;
  line-height: 1.4;
}

.account-consents {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255, 248, 234, 0.14);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.04);
}

.account-consents label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
}

.account-consents input {
  margin-top: 1px;
  accent-color: #f2b967;
}

.account-form .account-consents label > span {
  line-height: 1.4;
  text-transform: none;
  font-size: 12px;
  font-weight: 750;
}

.account-policy-link,
.account-back {
  color: #69d5c7;
  font-size: 13px;
  font-weight: 850;
}

.account-primary {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #080a0b;
  background: #f2b967;
  font-weight: 900;
  cursor: pointer;
}

.account-message {
  min-height: 42px;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 248, 234, 0.14);
  border-radius: 8px;
  color: rgba(255, 248, 234, 0.74);
  background: rgba(255, 248, 234, 0.045);
  font-size: 13px;
  line-height: 1.45;
}

.account-message.error {
  color: #d66a5e;
}

.account-back {
  display: inline-flex;
  margin-top: 12px;
}

.legal-shell {
  width: min(860px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.legal-card {
  padding: 30px;
}

.legal-card h2 {
  margin: 24px 0 8px;
  font-size: 20px;
}

@media (max-width: 980px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-hero {
    min-height: auto;
  }

  .account-brand {
    margin-bottom: 46px;
  }
}

@media (max-width: 680px) {
  .account-shell,
  .legal-shell {
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 12px;
  }

  .account-hero,
  .account-card,
  .legal-card {
    padding: 18px;
  }

  .account-hero h1,
  .legal-card h1 {
    font-size: 34px;
  }

  .account-checks {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-checks span {
    width: 100%;
  }

  .account-tabs,
  .account-two {
    grid-template-columns: 1fr;
  }
}
