/* Kardova V42p7 — player-auth layout contract.
   Uses the store's original crown-shield SVG instead of a made-up K mark.
   A single primary column is intentional at EVERY width: no image can push
   sign-in or registration outside the screen, even with browser zoom.
   This stylesheet is loaded ONLY for /players/login and /players/register. */
.v40-auth-page .v42p7-auth-shell {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: min(700px, calc(100svh - 210px));
  width: min(100% - 32px, 560px);
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 60px) 0 clamp(32px, 6vh, 70px);
  overflow: visible;
}
.v40-auth-page .v42p7-auth-shell *,
.v40-auth-page .v42p7-auth-shell *::before,
.v40-auth-page .v42p7-auth-shell *::after { box-sizing: border-box; }
.v40-auth-page .v42p7-auth-shell .v42p7-auth-card {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 560px;
  margin: 0;
  padding: clamp(24px, 4.4vw, 40px);
  border: 1px solid rgba(158, 192, 245, .3);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(23, 33, 63, .98), rgba(11, 18, 37, .98));
  box-shadow: 0 24px 65px rgba(0, 0, 0, .29), inset 0 1px 0 rgba(255, 255, 255, .065);
}
.v40-auth-page .v42p7-auth-brand {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 13px; margin: 0 0 24px;
  padding-bottom: 20px; border-bottom: 1px solid rgba(157, 196, 240, .16);
}
.v40-auth-page .v42p7-auth-brand img {
  display: block; width: 58px; height: 58px; flex: 0 0 58px;
  object-fit: contain; filter: drop-shadow(0 5px 18px rgba(51,146,229,.2));
}
.v40-auth-page .v42p7-auth-brand span { display:flex; flex-direction:column; min-width:0; }
.v40-auth-page .v42p7-auth-brand strong {
  font: 700 clamp(1.35rem, 4.5vw, 1.8rem)/1.15 Georgia, 'Times New Roman', serif;
  letter-spacing: .065em; color: #f6d995;
}
.v40-auth-page .v42p7-auth-brand small {
  font-size: .58rem; font-weight: 800; letter-spacing: .24em;
  color: #d6c9a4; margin-top: 3px;
}
.v40-auth-page .v42p7-auth-card > .v40-kicker {
  display: block; font-size: .67rem; line-height: 1.35; letter-spacing: .13em;
  overflow-wrap: anywhere;
}
.v40-auth-page .v42p7-auth-card h1 {
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(2.7rem, 6vw, 3.5rem);
  line-height: 1.0; letter-spacing: .005em;
  margin: 12px 0 12px; overflow-wrap: anywhere;
}
.v40-auth-page .v42p7-auth-card > p {
  max-width: 100%; margin: 12px 0; line-height: 1.55;
  font-size: .9rem; color: #c7d6eb;
}
.v40-auth-page .v42p7-auth-card .v40-form {
  width: 100%; min-width: 0; display:flex; flex-direction:column; gap: 13px;
  margin-top: 22px;
}
.v40-auth-page .v42p7-auth-card .v40-form > label { min-width:0; width:100%; }
.v40-auth-page .v42p7-auth-card .v40-form input:not([type="hidden"]) {
  width: 100%; min-width: 0; max-width: 100%; min-height: 48px;
  color: #eef6ff; background: #0d1932;
  border: 1px solid #536c90;
}
.v40-auth-page .v42p7-auth-card .v40-form input:not([type="hidden"]):focus-visible {
  border-color: #8ddaff; outline: 2px solid #8ddaff; outline-offset: 2px;
}
.v40-auth-page .v42p7-auth-card .v40-form input:-webkit-autofill,
.v40-auth-page .v42p7-auth-card .v40-form input:-webkit-autofill:hover,
.v40-auth-page .v42p7-auth-card .v40-form input:-webkit-autofill:focus {
  -webkit-text-fill-color:#f0f6ff !important;
  -webkit-box-shadow:0 0 0 100px #10203e inset !important;
  caret-color:#f0f6ff;
}
.v40-auth-page .v42p7-auth-card .v42p4-password-field {
  min-width:0; width:100%; position:relative;
}
.v40-auth-page .v42p7-auth-card .v42p4-password-field input {
  width:100%; padding-right:82px;
}
.v40-auth-page .v42p7-auth-card .v42p4-password-toggle { z-index:1; }
.v40-auth-page .v42p7-auth-card .v40-action {
  display:flex; align-items:center; justify-content:center; width:100%;
  min-height:51px; margin-top:6px; white-space:normal;
}
.v40-auth-page .v42p7-auth-card .v40-auth-options,
.v40-auth-page .v42p7-auth-card .v40-auth-help { overflow-wrap:anywhere; }
.v40-auth-page .v42p7-auth-card .v40-auth-options { margin: 18px 0 12px; }
.v40-auth-page .v42p7-auth-card .v40-auth-help {
  padding-top:16px; border-top:1px solid rgba(157,196,240,.15);
  font-size: .81rem; line-height:1.55;
}
@media (max-width: 600px) {
  .v40-auth-page .v42p7-auth-shell {
    width: calc(100% - 24px);
    min-height: 0; padding-top: 22px; padding-bottom: 44px;
  }
  .v40-auth-page .v42p7-auth-shell .v42p7-auth-card {
    padding: clamp(20px, 5vw, 28px); border-radius: 16px;
  }
  .v40-auth-page .v42p7-auth-brand { margin-bottom:18px; padding-bottom:16px; }
  .v40-auth-page .v42p7-auth-brand img { width:48px; height:48px; flex-basis:48px; }
  .v40-auth-page .v42p7-auth-card h1 { font-size: clamp(2.55rem, 11vw, 3.4rem); }
  .v40-auth-page .v42p7-auth-card .v40-form { margin-top:16px; }
}
@media (prefers-reduced-motion: reduce) {
  .v40-auth-page .v42p7-auth-card *, .v40-auth-page .v42p7-auth-card *::before,
  .v40-auth-page .v42p7-auth-card *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
