.center-login:has(> .potter-trial) {
  --potter-card: #101c2d;
  --potter-line: #2a4057;
  --potter-text: #eaf4ff;
  --potter-cyan: #79e3df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 100svh;
  padding: clamp(22px, 6vh, 66px) 18px;
  background-color: #09121f;
  background-image:
    radial-gradient(ellipse at 50% 13%, #1d3853ad, transparent 66%),
    linear-gradient(#86a5cd13 1px, transparent 1px),
    linear-gradient(90deg, #86a5cd13 1px, transparent 1px);
  background-size: auto, 27px 27px, 27px 27px;
  color: var(--potter-text);
  color-scheme: dark;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.center-login:has(> .potter-trial) > form,
.center-login > .potter-trial {
  box-sizing: border-box;
  width: min(100%, 470px);
  background: var(--potter-card);
  border: 1px solid var(--potter-line);
}

.center-login:has(> .potter-trial) > form {
  padding: clamp(22px, 6vw, 36px);
  border-radius: 22px 22px 0 0;
  border-bottom: 0;
  background: linear-gradient(145deg, #142238, var(--potter-card) 65%);
}

.center-login:has(> .potter-trial) > form h1 {
  margin: 6px 0 0;
  font-size: clamp(23px, 6vw, 30px);
  letter-spacing: -.035em;
}

.center-login:has(> .potter-trial) > form > p:not([role="alert"]) {
  display: none;
}

.center-login:has(> .potter-trial) .center-brand { padding: 0 0 12px; }
.center-login:has(> .potter-trial) .center-brand-mark {
  background: linear-gradient(140deg, #72e5dc, #308aaf);
  color: #092738;
  border-color: transparent;
  box-shadow: 0 0 30px #7ef0dc2a;
}
.center-login:has(> .potter-trial) label { color: #c6d7e9; font-size: 13px; }
.center-login:has(> .potter-trial) input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 1px solid #354d66;
  background: #0a1524;
}
.center-login:has(> .potter-trial) :is(input, summary, button):focus-visible {
  outline: 2px solid var(--potter-cyan);
  outline-offset: 3px;
}
.center-login:has(> .potter-trial) form > button {
  min-height: 46px;
  border: 0;
  background: var(--potter-cyan);
  color: #0a2631;
}
.center-login:has(> .potter-trial) form > button:disabled { opacity: .65; }

.center-login > .potter-trial {
  border-radius: 0 0 22px 22px;
  padding: 0 clamp(22px, 6vw, 36px);
  background: #101d2d;
  box-shadow: 0 25px 50px #0004;
}
.potter-trial summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 62px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  color: var(--potter-cyan);
}
.potter-trial summary::-webkit-details-marker { display: none; }
.potter-expand {
  width: .55em;
  height: .55em;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
}
.potter-trial details[open] .potter-expand { transform: rotate(225deg); }
.center-login .potter-trial p { margin: 0 0 14px; color: #b6cadc; }
.center-login .potter-trial form {
  width: 100%;
  padding: 0 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.potter-trial small { font-size: 12px; color: #a9bfd3; }
.potter-trial .potter-return {
  padding: 0 0 18px;
  border: 0;
  background: transparent;
  color: var(--potter-cyan);
  cursor: pointer;
}
.center-login .potter-trial [hidden] { display: none; }
