/* Long Pause Media authentication experience · 0.13.4 */
:root {
  --auth-bg: #040912;
  --auth-surface: #081321;
  --auth-line: rgba(153, 205, 245, .16);
  --auth-muted: #91a5ba;
}

html, body.auth-body { min-height: 100%; }
body.auth-body {
  margin: 0;
  color: #eef7ff;
  background: #02060c;
  overflow-x: hidden;
}
.auth-screen { min-height: 100dvh; display: grid; grid-template-columns: minmax(390px, 43%) minmax(0, 57%); }
.auth-brand-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100dvh;
  border-right: 1px solid rgba(153, 205, 245, .12);
  background:
    radial-gradient(circle at 10% 20%, rgba(33, 183, 235, .20), transparent 31%),
    radial-gradient(circle at 84% 82%, rgba(89, 67, 210, .22), transparent 36%),
    linear-gradient(145deg, #071b2d 0%, #071323 42%, #090d24 100%);
}
.auth-brand-grid {
  position: absolute; inset: 0; z-index: -3; opacity: .22;
  background-image:
    linear-gradient(rgba(118, 188, 230, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 188, 230, .12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0 68%, transparent 96%);
}
.auth-brand-glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(12px); }
.auth-brand-glow-one { width: 260px; height: 260px; left: -110px; bottom: 10%; background: rgba(37, 190, 237, .09); }
.auth-brand-glow-two { width: 360px; height: 360px; right: -180px; top: 4%; background: rgba(108, 72, 220, .10); }
.auth-brand-content {
  width: min(100%, 680px); min-height: 100dvh; margin: 0 auto; padding: clamp(34px, 5vw, 76px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.auth-brand-lockup { display: inline-flex; width: fit-content; align-items: center; gap: 15px; color: #fff; }
.auth-brand-lockup img { width: 58px; height: 58px; border-radius: 13px; background: #000; }
.auth-brand-lockup strong { font-size: clamp(20px, 2vw, 27px); letter-spacing: -.025em; }
.auth-brand-message { max-width: 560px; }
.auth-brand-message h2 { margin: 14px 0 18px; max-width: 13ch; font-size: clamp(40px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; }
.auth-brand-message > p:not(.eyebrow) { max-width: 520px; color: #adbed0; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.65; }
.auth-brand-footer { color: rgba(187, 210, 229, .58); font-size: 12px; }

.auth-form-panel {
  min-height: 100dvh; display: grid; place-items: center; padding: clamp(28px, 5vw, 84px);
  background:
    radial-gradient(circle at 100% 0, rgba(73, 67, 190, .11), transparent 32%),
    linear-gradient(180deg, #050a12, #040911);
}
.auth-form-shell { width: min(100%, 500px); }
.auth-mobile-brand { display: none; }
.auth-form-heading { margin-bottom: 28px; }
.auth-form-heading h1 { margin: 8px 0 10px; color: #fff; font-size: clamp(38px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.auth-form-heading > p:not(.eyebrow) { max-width: 470px; color: var(--auth-muted); font-size: 15px; line-height: 1.6; }
.auth-form { display: grid; gap: 18px; }
.auth-form .field { margin: 0; }
.auth-form label { color: #dae8f6; font-size: 13px; }
.auth-form input {
  min-height: 54px; border-radius: 14px; border-color: rgba(143, 194, 232, .22);
  background: rgba(4, 13, 25, .82); color: #fff; font-size: 16px;
}
.auth-form input:focus { border-color: #4fd1ff; box-shadow: 0 0 0 3px rgba(64, 197, 244, .13); }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 7px; }
.auth-label-row label { margin: 0; }
.auth-label-row a { color: #76ddff; font-size: 12px; font-weight: 750; }
.auth-primary-button { min-height: 54px; border-radius: 14px; font-size: 15px; }
.auth-switch { margin-top: 22px; color: var(--auth-muted); text-align: center; font-size: 13px; }
.auth-switch a { color: #78dcff; font-weight: 800; }
.auth-alert { margin-bottom: 20px; padding: 13px 15px; border: 1px solid; border-radius: 13px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.auth-alert-success { color: #92f0c6; border-color: rgba(62, 210, 145, .28); background: rgba(33, 144, 102, .12); }
.auth-alert-error { color: #ffb7c2; border-color: rgba(238, 102, 124, .32); background: rgba(145, 43, 61, .13); }
.auth-turnstile {
  width: 100%;
  min-height: 65px;
  overflow: hidden;
  display: block;
}
.auth-turnstile .cf-turnstile {
  width: 100% !important;
  max-width: none !important;
}
.auth-turnstile .cf-turnstile > div,
.auth-turnstile iframe {
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 900px) {
  .auth-screen { grid-template-columns: minmax(300px, 38%) minmax(0, 62%); }
  .auth-brand-content { padding: 34px 28px; }
  .auth-brand-message h2 { font-size: 42px; }
}

@media (max-width: 760px) {
  body.auth-body { background: #030810; }
  .auth-screen { display: block; min-height: 100dvh; }
  .auth-brand-panel { display: none; }
  .auth-form-panel {
    min-height: 100dvh; place-items: start stretch; padding: calc(22px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 50% -12%, rgba(35, 190, 239, .16), transparent 32%),
      linear-gradient(180deg, #050b15 0%, #03070e 100%);
  }
  .auth-mobile-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
  .auth-mobile-brand img { width: 48px; height: 48px; border-radius: 11px; background: #000; }
  .auth-mobile-brand strong { font-size: 18px; letter-spacing: -.025em; }
  .auth-form-shell { width: 100%; margin: auto 0; padding: 36px 0 20px; }
  .auth-form-heading h1 { font-size: 42px; }
  .auth-form input { min-height: 58px; }
  .auth-primary-button { min-height: 58px; font-size: 16px; }
}

@media (display-mode: standalone) and (max-width: 920px) {
  .auth-brand-panel { display: none; }
  .auth-screen { display: block; }
  .auth-form-panel { min-height: 100dvh; padding-top: calc(22px + env(safe-area-inset-top)); padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .auth-mobile-brand { display: flex; }
}


/* Free listener account path · 0.13.5 */
.auth-after-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.auth-after-form-compact { gap: 10px; }
.auth-free-account-callout {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(131, 207, 244, .17);
  border-radius: 15px;
  background: rgba(16, 40, 62, .34);
}
.auth-free-account-callout > div {
  display: grid;
  gap: 4px;
}
.auth-free-account-callout strong {
  color: #f5fbff;
  font-size: 14px;
}
.auth-free-account-callout span {
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.5;
}
.auth-free-account-button {
  min-height: 50px;
  border-color: rgba(113, 216, 255, .28);
  background: rgba(33, 116, 159, .12);
  color: #d8f7ff;
}
.auth-free-account-button:hover {
  border-color: rgba(113, 216, 255, .48);
  background: rgba(33, 145, 194, .18);
}
.auth-continue-browsing {
  display: inline-flex;
  justify-content: center;
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}
.auth-continue-browsing:hover { color: #80ddff; }
.auth-free-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -8px 0 22px;
}
.auth-free-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(134, 201, 239, .15);
  border-radius: 999px;
  color: #b4c9db;
  background: rgba(10, 27, 43, .46);
  font-size: 11px;
  font-weight: 750;
}
.auth-free-benefits span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #55d8ff;
  box-shadow: 0 0 0 3px rgba(85, 216, 255, .10);
}

@media (max-width: 760px) {
  .auth-free-account-callout {
    padding: 15px;
  }
  .auth-free-benefits {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }
  .auth-free-benefits span {
    border-radius: 11px;
    padding: 8px 10px;
  }
}


/* Turnstile auth alignment · 0.13.6 */
@media (max-width: 760px) {
  .auth-turnstile,
  .auth-turnstile .cf-turnstile,
  .auth-turnstile .cf-turnstile > div,
  .auth-turnstile iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Free account identity + silent registration bot trap · 0.13.7 */
.auth-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.auth-name-grid .field {
  min-width: 0;
}

.auth-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 760px) {
  .auth-name-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
