/* ============================================================================
 * authui.css — the sign-in / register panel
 *
 * The stock form is a stack of plates: a small heading, two floating tab plates,
 * a gold button, then two more plates for "forgot password" and "create account".
 * Everything competes at the same weight, which is what makes it read as generic.
 *
 * This gives it one hierarchy: heading, segmented switch, fields, one hero action,
 * everything else demoted to text. Also removes the beta countdown bar.
 * ========================================================================== */

/* ── out with the beta bar ───────────────────────────────────────────────── */
#title [class*="beta"],
#title #betaBar,
#title .beta-bar,
#title .beta-notice { display: none !important; }

/* the countdown lives in #cdTitle, a direct child of the panel, before the form */
#title #cdTitle,
#title .cd-title,
#title .cc-panel > .cd-wrap { display: none !important; }

/* ── guest play is off the panel ─────────────────────────────────────────── */
#title #titleBody .acc-guest { display: none !important; }

/* the panel is sized to its content: the gate is exactly as tall as the form */
#title .cc-panel {
  bottom: auto;
  height: auto;
  max-height: calc(100vh - 140px);
  padding-bottom: 18px;
}
#title .cc-panel > #titleBody {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  padding: 34px 34px 4px;
}
#title .cc-panel .fine { margin: 14px 30px 0; }
#title .cc-panel .pcc-btn { margin-top: 12px; }

/* ── the panel fills its own height so nothing floats in dead space ──────── */
#title .cc-panel { display: flex; flex-direction: column; }
#title .cc-panel > #titleBody {
  flex: 1 1 auto;
  min-height: 0;
  padding: 34px 34px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#title .cc-panel > #titleBody::-webkit-scrollbar { width: 10px; }
#title .cc-panel > #titleBody::-webkit-scrollbar-track { background: #0a0c11; }
#title .cc-panel > #titleBody::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6d5a2c, #3a2f16);
  border: 1px solid #0a0c11; border-radius: 2px;
}
#title .cc-panel .fine { margin-top: auto; }
#title .cc-panel .pcc-btn { margin-top: 14px; }

/* ── heading: centred, flanked by hairlines ─────────────────────────────── */
#title #titleBody h2.cc-title {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 18px; padding: 0;
  border: 0;
  font-family: Cinzel, Georgia, serif; font-weight: 900;
  font-size: 15px; letter-spacing: .30em; text-indent: .30em;
  text-transform: uppercase; text-align: center;
  color: var(--gu-gold3, #f6e3b0);
  text-shadow: 0 1px 0 #000, 0 0 14px rgba(217,180,106,.25);
}
#title #titleBody h2.cc-title::before,
#title #titleBody h2.cc-title::after {
  content: ''; flex: 1 1 auto; height: 1px;
  background: linear-gradient(90deg, rgba(217,180,106,0), rgba(217,180,106,.55));
}
#title #titleBody h2.cc-title::after {
  background: linear-gradient(90deg, rgba(217,180,106,.55), rgba(217,180,106,0));
}

/* ── segmented switch, not two floating plates ──────────────────────────── */
#title #titleBody .tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: 0 14px 20px;
  border: 1px solid #05060a;
  border-radius: 2px;
  background: #0a0c11;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.9), 0 1px 0 rgba(255,240,200,.06);
  overflow: hidden;
}
#title #titleBody .tabs button {
  margin: 0; border: 0; border-radius: 0;
  background: transparent;
  color: #9c9482;
  font-family: Cinzel, Georgia, serif; font-weight: 700;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  padding: 11px 0;
  box-shadow: none;
  transition: color .12s, background .12s;
}
#title #titleBody .tabs button + button { border-left: 1px solid rgba(217,180,106,.14); }
#title #titleBody .tabs button:hover { color: #f6e3b0; background: rgba(217,180,106,.07); }
#title #titleBody .tabs button.on {
  background: linear-gradient(180deg, #f0d493, #d9b46a 45%, #a8802f 80%, #e6cd92);
  color: #1c1404;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

/* ── fields ─────────────────────────────────────────────────────────────── */
#title #titleBody .acc-form { display: flex; flex-direction: column; }
#title #titleBody .acc-form label {
  margin: 0 0 5px;
  color: #9c9482; font-size: 9px; letter-spacing: .24em; text-transform: uppercase;
}
#title #titleBody .acc-form input {
  margin: 0 0 14px;
  padding: 12px 13px;
  font-size: 13px;
}

/* ── one hero action ────────────────────────────────────────────────────── */
#title #titleBody .acc-form .btn.big,
#title #titleBody .acc-form .btn.wide,
#title #titleBody button.btn.gold.big.wide {
  width: 100%;
  margin: 6px 0 0;
  padding: 14px 0;
  font-size: 13px; letter-spacing: .30em; text-indent: .30em;
  background: linear-gradient(180deg, #f4dc9e 0%, #d3a94f 44%, #96701f 78%, #e3c682 100%);
  border: 1px solid #f6e3b0;
  color: #1c1404;
  text-shadow: 0 1px 0 rgba(255,255,255,.42);
}
#title #titleBody .acc-form .btn.big:hover { filter: brightness(1.08); }

/* ── everything else demoted to text ────────────────────────────────────── */
#title #titleBody .linkish {
  display: inline;
  margin: 0; padding: 0;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #d9b46a;
  font-family: inherit; font-weight: 700;
  font-size: 11px; letter-spacing: .04em; text-transform: none;
  text-decoration: underline; text-decoration-color: rgba(217,180,106,.35);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .12s;
}
#title #titleBody .linkish:hover { color: #f6e3b0; text-decoration-color: #f6e3b0; filter: none; }

/* forgot password: small, right-aligned, directly under the button */
#title #titleBody .fp-link {
  display: block; margin: 12px 0 0 auto; text-align: right;
  font-size: 10px; color: #8b8272;
}
#title #titleBody .fp-link:hover { color: #d9b46a; }

/* "New here? Create an account" */
#title #titleBody p.note {
  margin: 20px 0 16px;
  text-align: center;
  color: #8b8272; font-size: 11px; letter-spacing: .04em;
}

/* guest: a full-width plate at the foot of the form, split off by a rule */
#title #titleBody .acc-guest {
  display: block; width: 100%;
  margin: 0 0 8px;
  padding: 11px 0 12px;
  border: 1px solid rgba(217,180,106,.22) !important;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(217,180,106,.10), rgba(217,180,106,.02)) !important;
  color: #d9b46a !important;
  font-family: Cinzel, Georgia, serif; font-weight: 700;
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,240,200,.10) !important;
}
#title #titleBody .acc-guest:hover {
  background: linear-gradient(180deg, rgba(217,180,106,.20), rgba(217,180,106,.06)) !important;
  color: #f6e3b0 !important;
}

/* a hairline above the guest plate so the form reads as finished */
#title #titleBody .acc-guest::before {
  content: ''; display: block; height: 1px; margin: -14px 0 13px;
  background: linear-gradient(90deg, rgba(217,180,106,0), rgba(217,180,106,.30), rgba(217,180,106,0));
}

/* ── removed: the "New here? Create an account" line duplicates the REGISTER tab ── */
#title #titleBody p.note { display: none !important; }

/* ── removed: the PC Client strip on the login panel ────────────────────── */
#title .pcc-btn,
#title #titleBody .pcc-btn { display: none !important; }

/* the footer copy sits on its own without the client strip above it */
#title .cc-panel .fine { margin: 14px 30px 0; }
