/* The join dialog: a paper card over a dimmed page; a bottom sheet on phones. */
/* The dialog is the one scroll container (Chrome's UA style already gives it
   overflow:auto); the card inside never scrolls, so there is a single bar. */
.join-dlg { border: none; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 32px)); width: 100%; margin: auto; max-height: calc(100vh - 32px); overflow: auto; border-radius: 12px; scrollbar-width: thin; }
.join-dlg::backdrop { background: rgba(32, 31, 22, 0.62); backdrop-filter: blur(3px); }
html.join-open { overflow: hidden; padding-right: var(--join-sbw, 0px); }
.join-card { position: relative; background: #FFFFFF; border: 2px solid #E4DCC2; border-radius: 12px; padding: clamp(24px, 4vw, 38px); box-sizing: border-box; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); color: #201F16; font-family: 'Karla', 'Helvetica Neue', sans-serif; line-height: 1.5; }
.join-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #E4DCC2; background: #FFFFFF; color: #6B6852; font-size: 14px; cursor: pointer; font-family: inherit; }
.join-x:hover { background: #F7F2E2; color: #201F16; }
.join-eyebrow { font-weight: 800; font-size: 11px; letter-spacing: 3px; color: #44601A; margin-right: 44px; }
.join-title { font-family: 'Abril Fatface', Georgia, serif; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; margin: 10px 0 10px; color: #2E4110; }
.join-lead { font-size: 15.5px; line-height: 1.6; color: #3B392C; margin: 0 0 16px; }
.join-consent { background: #FBF7E8; border: 2px solid #E4DCC2; border-radius: 8px; padding: 16px 18px; }
.join-consent label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 14.5px; line-height: 1.6; color: #201F16; }
.join-consent input { width: 24px; height: 24px; margin: 3px 0 0; accent-color: #44601A; flex: none; }
.join-consent strong { color: #2E4110; }
.join-go:disabled { background: #A9A388; }
.join-consent-meta { margin: 10px 0 0 38px; font-size: 12.5px; color: #6B6852; }
.join-consent-meta a { color: #44601A; font-weight: 700; }
.join-full { margin-top: 16px; padding: 14px 16px; background: #F8EFD2; border: 2px solid #C9A82D; border-radius: 8px; font-size: 14.5px; line-height: 1.6; color: #7A5A12; }
.join-full a { color: #7A5A12; font-weight: 800; }
.join-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 22px; }
.join-go { display: inline-flex; align-items: center; gap: 12px; background: #44601A; color: #F7F2E2; font-weight: 800; font-size: 15px; letter-spacing: 1.5px; padding: 16px 28px; border-radius: 999px; border: none; cursor: pointer; font-family: inherit; min-height: 54px; transition: background .15s ease; }
.join-go:hover { background: #2E4110; }
.join-go:disabled { opacity: 0.6; cursor: default; }
.join-go svg { width: 18px; height: 18px; }
.join-hint { font-size: 13px; line-height: 1.6; color: #6B6852; margin: 0; }
.join-hint a { color: #44601A; font-weight: 700; }
.join-secure { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #6B6852; }
.join-secure svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .join-dlg { max-width: 100vw; margin: auto 0 0; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .join-card { border-radius: 16px 16px 0 0; border-bottom: none; padding: 22px 18px 28px; }
  .join-consent { padding: 14px; }
  .join-consent-meta { margin-left: 0; }
  .join-go { width: 100%; justify-content: center; }
}
