/* Single-viewport boarding — Mission V3 continuous */
html, body.board1 {
  height: 100%;
  overflow: hidden;
}
body.board1 {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-height: 100dvh;
}
.board1-top {
  flex-shrink: 0;
  padding-top: max(0.55rem, env(safe-area-inset-top));
}
.board1-actions { display: flex; align-items: center; gap: 0.35rem; }
.board1-link {
  color: var(--st-muted);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
}
.board1-link:hover { color: var(--st-text); }

.board1-main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 0.85rem;
  padding: 0.35rem var(--st-pad, 1rem) max(0.75rem, env(safe-area-inset-bottom));
  align-items: stretch;
}
@media (max-width: 820px) {
  .board1-main {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }
  .board1-auth { max-height: 48dvh; overflow: auto; }
  .board1-stage { min-height: 0; }
}

.board1-stage {
  position: relative;
  border-radius: var(--st-radius, 18px);
  border: 1px solid var(--st-border);
  background: var(--st-surface-2);
  box-shadow: var(--st-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.board1-carousel {
  position: relative;
  flex: 1;
  min-height: 0;
}
.board1-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.board1-slide.is-on {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.board1-shot {
  width: 100%;
  height: 52%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--st-surface);
}
.board1-copy {
  flex: 1;
  padding: 0.85rem 1rem 2.1rem;
  overflow: hidden;
}
.board1-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-accent);
}
.board1-copy h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--st-text);
}
.board1-copy p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--st-muted);
}
.board1-arena {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
}
.board1-arena li {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-text);
}
.board1-arena li.oi {
  background: color-mix(in srgb, var(--st-accent) 18%, transparent);
  border-color: color-mix(in srgb, var(--st-accent) 40%, var(--st-border));
  color: var(--st-text);
}
.board1-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}
.board1-dots button {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: color-mix(in srgb, var(--st-muted) 35%, transparent);
  cursor: pointer;
}
.board1-dots button.is-on {
  background: var(--st-accent);
  width: 1.1rem;
}

.board1-auth {
  border-radius: var(--st-radius, 18px);
  border: 1px solid var(--st-border);
  background: var(--st-surface-2);
  box-shadow: var(--st-shadow);
  padding: 0.9rem 0.95rem 0.85rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.board1-auth-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--st-text);
}
.board1-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--st-muted) 8%, transparent);
}
.board1-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--st-muted);
  font-weight: 650;
  font-size: 0.84rem;
  padding: 0.4rem;
  border-radius: 999px;
  cursor: pointer;
}
.board1-tab.is-on {
  background: var(--st-surface);
  color: var(--st-text);
  box-shadow: 0 1px 4px rgba(15, 40, 80, 0.06);
}
.board1-panel {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.board1-panel[hidden] { display: none !important; }
.board1-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-text);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
}
.board1-input.mono { font-family: ui-monospace, monospace; letter-spacing: 0.04em; }
.board1-submit {
  margin-top: 0.15rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 0.85rem;
  background: var(--st-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.board1-textbtn {
  border: 0;
  background: transparent;
  color: var(--st-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem;
}
.board1-msg {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0.55rem 0 0.35rem;
  min-height: 1.1em;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--st-muted);
  word-break: break-word;
}
.board1-msg.ok { color: var(--st-ok, #00b89c); }
.board1-msg.err { color: var(--st-danger, #e24b5a); }
.board1-fine {
  position: relative;
  z-index: 0;
  margin: 0.35rem 0 0;
  padding-top: 0.45rem;
  font-size: 0.72rem;
  color: var(--st-muted);
}
.board1-fine a { color: var(--st-accent); font-weight: 650; }
.board1-hint { margin: 0; font-size: 0.75rem; color: var(--st-muted); }
.board1-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}
.board1-turnstile { min-height: 0; }
.board1-verify {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.25rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--st-border);
}

/* Official Facebook Login button — boarding-one.css is the live stylesheet */
.board1-oauth { margin-top: 0.9rem; width: 100%; }
.board1-oauth-or {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0.4rem 0 0.75rem; color: rgba(255,255,255,0.45);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.board1-oauth-or::before, .board1-oauth-or::after {
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.12);
}
.board1-auth a.board1-oauth-btn.board1-oauth-meta,
a.board1-oauth-btn.board1-oauth-meta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  margin-top: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: none !important;
  font-family: Helvetica, Arial, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  color: #ffffff !important;
  background: #1877F2 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: background 0.15s ease;
}
.board1-auth a.board1-oauth-btn.board1-oauth-meta:hover,
a.board1-oauth-btn.board1-oauth-meta:hover {
  background: #166FE5 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.board1-fb-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background-color: #ffffff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M24 12.07C24 5.41 18.63 0 12 0S0 5.41 0 12.07C0 18.1 4.39 23.09 10.13 24v-8.44H7.08v-3.49h3.05V9.4c0-3.02 1.8-4.7 4.54-4.7 1.31 0 2.68.24 2.68.24v2.95h-1.51c-1.49 0-1.95.93-1.95 1.88v2.26h3.32l-.53 3.49h-2.79V24C19.61 23.09 24 18.1 24 12.07'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M24 12.07C24 5.41 18.63 0 12 0S0 5.41 0 12.07C0 18.1 4.39 23.09 10.13 24v-8.44H7.08v-3.49h3.05V9.4c0-3.02 1.8-4.7 4.54-4.7 1.31 0 2.68.24 2.68.24v2.95h-1.51c-1.49 0-1.95.93-1.95 1.88v2.26h3.32l-.53 3.49h-2.79V24C19.61 23.09 24 18.1 24 12.07'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.board1-fb-label { color: #ffffff !important; font-weight: 600; }

/* X (Twitter) Login button */
.board1-oauth-btn.board1-oauth-x {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  margin-top: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: none !important;
  font-family: Helvetica, Arial, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  color: #ffffff !important;
  background: #000000 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transition: background 0.15s ease, opacity 0.15s ease;
}
.board1-oauth-btn.board1-oauth-x:hover {
  background: #141414 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.board1-x-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-color: #ffffff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.board1-x-label { color: #ffffff !important; font-weight: 600; }

/* Google OAuth — boarding */
.board1-auth a.board1-oauth-btn.board1-oauth-google,
a.board1-oauth-btn.board1-oauth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: 1px solid #dadce0;
  background: #ffffff !important;
  text-decoration: none !important;
  box-sizing: border-box;
}
.board1-auth a.board1-oauth-btn.board1-oauth-google:hover,
a.board1-oauth-btn.board1-oauth-google:hover {
  background: #f8f9fa !important;
  border-color: #c6c9ce;
}
.board1-google-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.board1-google-label { color: #3c4043 !important; font-weight: 600; }

/* Passkey login */
.board1-oauth-btn.board1-oauth-passkey {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  margin-top: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--st-border, rgba(255,255,255,0.16));
  background: var(--st-card, rgba(255,255,255,0.06));
  color: var(--st-text, #eee);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.board1-oauth-btn.board1-oauth-passkey:hover {
  filter: brightness(1.08);
}
.board1-passkey-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.65 10A5.99 5.99 0 0 0 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6a5.99 5.99 0 0 0 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.65 10A5.99 5.99 0 0 0 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6a5.99 5.99 0 0 0 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.board1-legal{
  display:flex;
  align-items:flex-start;
  gap:0.55rem;
  margin:0.55rem 0 0.85rem;
  font-size:0.82rem;
  line-height:1.35;
  color:var(--st-muted, #8a97a8);
  cursor:pointer;
}
.board1-legal input{
  margin-top:0.15rem;
  flex:0 0 auto;
  accent-color:#12b886;
}
.board1-legal a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}
.board1-legal a:hover{ color:var(--st-accent, #12b886); }
