/* Clubhouse (/clubhouse/ only): the login form and the unlocked resources.
   Site tokens only: the same colours, fonts, button and link styles as every other page.
   The steps' bold words use the brand's real Switzer Bold (Linz, 1 Nov 2026: "start" must be bold);
   it is declared here, so only this page ever downloads it. */
@font-face { font-family: "Switzer"; src: url("/assets/fonts/Switzer-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
.clubhouse [hidden] { display: none !important; }
.clubhouse__open:focus { outline: none; }

/* The form */
.login { max-width: 30rem; }
.login__field + .login__field { margin-top: 1.1em; }
.login__field label { display: block; margin-bottom: .4em; color: var(--amethyst); font: 600 var(--fs-small)/1.3 var(--font-head); }
.login__field input {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 11px 14px;
  border: 2px solid var(--midnight);
  border-radius: 0;
  background: var(--ivory);
  color: var(--midnight);
  font: 400 var(--fs-body)/1.4 var(--font-body);
}
.login__field input:focus-visible { outline: 3px solid var(--midnight); outline-offset: 3px; }
.login[aria-busy="true"] input { color: var(--amethyst); }
.sheet .login__actions { margin-top: 1.4em; }
.login .button { cursor: pointer; border: 0; }
.login .button:disabled { cursor: progress; box-shadow: none; opacity: .7; }
.sheet .login__error { margin-top: 1.1em; padding: 12px 16px; border-left: 6px solid var(--honey); font-weight: 600; }
.login__error:empty { display: none; }
.sheet .login__help { margin-top: 1.6em; font-size: var(--fs-small); }
.sheet .clubhouse__status { margin-top: 1.1em; color: var(--amethyst); font: 600 var(--fs-small)/1.4 var(--font-head); }
.clubhouse__status:empty { display: none; }
.sheet .clubhouse__nojs { padding: 12px 16px; border-left: 6px solid var(--honey); }

/* After login: "Log out" looks like the site's links; each resource is a block with a numbered how-to */
.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 5px 0;
  border: 0;
  background: none;
  color: var(--amethyst);
  font: 600 var(--fs-small)/1.3 var(--font-head);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.button-link:hover { text-decoration-color: var(--honey); text-decoration-thickness: 3px; }
.resource .intro { margin-bottom: .6em; }
.resource__note { font: 300 .5em/1 var(--font-body); font-style: italic; letter-spacing: 0; white-space: nowrap; }   /* "(18+)" after the heading, small and italic (Linz, 1 Nov 2026) */
.howto { margin: 1.3em 0 0; padding: 0 0 0 1.5em; display: grid; gap: .9em; }
.howto li { padding-left: .3em; }
.howto li::marker { color: var(--amethyst); font: 700 var(--fs-body)/1.6 var(--font-head); }
.howto strong { font-weight: 700; }
.howto__download { display: block; margin: .65em 0 .55em; }
.howto u { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sheet .resource__tip { margin-top: 1.5em; }
