/* VEYDRIS – Anmelde-Ansichten aufgeräumt (21.10.2026, Betreiber: „unten nicht professionell, Sign in im Eck zerquetscht, Platzierungen“).
   Startseite: klarer Knopf-Stapel unten links mit festen Abständen.
   Registrieren / Anmelden / Passwort: Karte passt immer in den Bildschirm, Knopf immer sichtbar, Fußzeilen-Links nur auf der Startseite.
   Alles in @layer pv mit Präfix :not(#av1):not(#av2). */
@layer pv {
  /* ================= Startseite (Desktop): Knopf-Stapel ================= */
  @media (min-width: 1025px) and (min-height: 600px) {
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode { --lv-buttons: 196px; }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode #authForm.landing > #authSubmit { bottom: 116px !important; height: 58px !important; min-height: 58px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode #authForm.landing > .auth-guest-play { bottom: 64px !important; min-height: 40px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode #authForm.landing > #authSwitch {
      position: absolute !important; left: var(--lv-left) !important; bottom: 22px !important; top: auto !important; width: var(--lv-panel-w) !important; height: 26px !important; min-height: 0 !important; margin: 0 !important; padding: 10px 0 0 !important;
      display: block !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; filter: none !important;
      background: linear-gradient(90deg, transparent, rgba(232, 196, 128, .4), transparent) center top / 72% 1px no-repeat !important;
      color: #bfae8a !important; -webkit-text-fill-color: #bfae8a !important; font: 700 10.5px/1.4 var(--vm-font, Manrope, sans-serif) !important; letter-spacing: .2em !important; text-transform: uppercase !important; text-align: center !important; text-shadow: 0 1px 2px #000 !important; cursor: pointer !important;
    }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode #authForm.landing > #authSwitch:hover { color: #ffe3a3 !important; -webkit-text-fill-color: #ffe3a3 !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode #authForm.landing > #authSwitch::before, html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode #authForm.landing > #authSwitch::after { content: none !important; display: none !important; }
  }
  @media (min-width: 1025px) and (min-height: 600px) {
    /* längster Name (Chronomancer) passt bei 46 px in die Panelbreite; kleinere Bildschirme regelt fitLandingPanel() */
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode .landing-class-copy > :is(h1, h2:where(.dlg-title)) { font-size: clamp(30px, 2.9vw, 46px) !important; }
  }
  @media (min-width: 1025px) and (min-height: 600px) and (max-height: 700px) {
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode { --lv-buttons: 176px; }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode #authForm.landing > #authSubmit { bottom: 102px !important; height: 52px !important; min-height: 52px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode #authForm.landing > .auth-guest-play { bottom: 56px !important; min-height: 36px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer.landing-mode #authForm.landing > #authSwitch { bottom: 16px !important; }
  }

  /* ================= Fußzeilen-Links nur auf der Startseite ================= */
  html body.vey-renewal:not(#av1):not(#av2) #authLayer:not(.landing-mode) .auth-footer-links { display: none !important; }

  /* ================= Registrieren / Anmelden / Passwort (Desktop & Tablet) ================= */
  @media (min-width: 901px) {
    html body.vey-renewal:not(#av1):not(#av2) #authLayer:not(.landing-mode) #authForm:not(.landing) { max-height: calc(100dvh - 40px) !important; overflow-y: auto !important; overflow-x: hidden !important; scrollbar-width: thin !important; scrollbar-color: rgba(232, 196, 128, .4) transparent !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer:not(.landing-mode) #authForm:not(.landing) > .experience-entry { display: none !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authLayer:not(.landing-mode) #authForm:not(.landing) :is(h1, h2.dlg-title) { background: linear-gradient(180deg, #fff6da 10%, #f3cf86 58%, #c58f3e 100%) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent !important; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .7)) !important; }

    /* --- Registrieren, Schritt 2 --- */
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] { row-gap: 0 !important; padding: 26px 30px 22px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > .brand-mark { display: none !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > #authTitle { margin: 4px 0 6px !important; font-size: clamp(28px, 2.3vw, 36px) !important; line-height: 1.08 !important; white-space: nowrap !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > #authText { margin: 0 0 14px !important; font-size: 13.5px !important; line-height: 1.5 !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > #authRegisterProgress { margin: 0 0 12px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > #authClassConfirm { margin: 0 0 14px !important; padding: 10px 14px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > label { margin-bottom: 10px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > .auth-data-notice { display: grid !important; gap: 6px !important; margin: 2px 0 12px !important; padding: 10px 0 0 !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > .auth-data-notice label { min-height: 0 !important; margin: 0 !important; padding: 3px 0 !important; align-items: center !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > .auth-data-notice label span { font-size: 11.5px !important; line-height: 1.4 !important; letter-spacing: .04em !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > .auth-data-notice .auth-switch { justify-self: start !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important; font-size: 11px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > #authSubmit { position: sticky !important; bottom: 0 !important; z-index: 4 !important; justify-self: stretch !important; width: 100% !important; max-width: none !important; margin: 0 0 8px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > .auth-guest-play { margin: 0 0 10px !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > #authRegisterBack { grid-column: 1 !important; justify-self: start !important; margin: 0 !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > #authSwitch { grid-column: 2 !important; justify-self: end !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > :is(#authRegisterBack, #authSwitch) { font: 700 11px/1.4 var(--vm-font, Manrope, sans-serif) !important; letter-spacing: .12em !important; text-transform: uppercase !important; color: #bfae8a !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > :is(#authRegisterBack, #authSwitch):hover { color: #ffe3a3 !important; }
    /* niedrige Bildschirme: Erklärtext und Schritt-Anzeige weg */
    @media (max-height: 880px) {
      html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > #authText { display: none !important; }
    }
    @media (max-height: 800px) {
      html body.vey-renewal:not(#av1):not(#av2) #authForm.signup[data-register-step="2"] > #authRegisterProgress { display: none !important; }
    }

    /* --- Anmelden --- */
    html body.vey-renewal:not(#av1):not(#av2) #authForm.login { height: auto !important; min-height: 0 !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.login > :is(#authSwitch, #authForgot, #emailResetRequest) { display: block !important; width: 100% !important; min-height: 0 !important; margin: 0 !important; padding: 7px 0 !important; text-align: center !important; font: 700 11px/1.4 var(--vm-font, Manrope, sans-serif) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: #bfae8a !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.login > #authSwitch { margin-top: 14px !important; padding-top: 14px !important; background: linear-gradient(90deg, transparent, rgba(232, 196, 128, .35), transparent) center top / 80% 1px no-repeat !important; color: #f3d58e !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm.login > :is(#authSwitch, #authForgot, #emailResetRequest):hover { color: #ffe3a3 !important; }
    @media (max-height: 900px) {
      html body.vey-renewal:not(#av1):not(#av2) #authForm.login .auth-hook-showcase { display: none !important; }
    }
    @media (max-height: 780px) {
      html body.vey-renewal:not(#av1):not(#av2) #authForm.login > .brand-mark { display: none !important; }
    }

    /* --- Passwort zurücksetzen --- */
    html body.vey-renewal:not(#av1):not(#av2) #authForm:is(.recover, .email-reset) > .brand-mark { display: none !important; }
    html body.vey-renewal:not(#av1):not(#av2) #authForm:is(.recover, .email-reset) > #authSwitch { display: block !important; width: 100% !important; margin: 10px 0 0 !important; padding: 12px 0 0 !important; min-height: 0 !important; background: linear-gradient(90deg, transparent, rgba(232, 196, 128, .35), transparent) center top / 80% 1px no-repeat !important; border: 0 !important; text-align: center !important; font: 700 11px/1.4 var(--vm-font, Manrope, sans-serif) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: #f3d58e !important; }
  }
}
