/* 1:1 Vikinger Light Logged-Out Header Geometry, Input & Dropdown Guards */
  .header.logged-out .header-brand {
    text-decoration: none;
  }
  .header.logged-out .header-brand .logo {
    margin-left: 24px;
    margin-right: 10px;
  }
  @media screen and (max-width: 680px) {
    .header.logged-out .header-brand .logo {
      margin-left: 16px;
      margin-right: 6px;
    }
  }
  .header.logged-out .header-brand .header-brand-text {
    display: none !important;
    margin: 0;
    font-family: "Titillium Web", "PP-Titillium-900-Fallback", sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1em;
  }
  .header.logged-out .header-actions .register-button {
    width: auto !important;
    flex: 0 0 auto !important;
    height: 48px !important;
    line-height: 46px !important;
    padding: 0 24px !important;
    margin: 0 20px !important;
    border-radius: 10px !important;
    background-color: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    font-family: Rajdhani, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out !important;
  }
  .header.logged-out .header-actions .register-button:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #615dfa !important;
  }
  @media screen and (min-width: 1366px) and (max-width: 1480px) {
    .header.logged-out .header-actions .register-button {
      margin: 0 14px !important;
      padding: 0 18px !important;
    }
    .header.logged-out .menu-main > .menu-main-item > .menu-main-item-link {
      padding: 0 13px !important;
    }
  }
  /* Balanced Flex Sizing for Search Bar + Quick Login Form Across All Desktop Widths */
  @media screen and (min-width: 1366px) {
    .header.logged-out .header-actions.search-bar {
      flex: 1 1 0 !important;
      max-width: none !important;
      min-width: 180px !important;
      width: auto !important;
      margin: 0 18px !important;
    }
  }
  @media screen and (min-width: 961px) and (max-width: 1365px) {
    .header.logged-out .header-actions .register-button {
      margin: 0 16px 0 4px !important;
      padding: 0 22px !important;
    }
    .header.logged-out .header-actions.search-bar {
      flex: 1 1 180px !important;
      width: auto !important;
      min-width: 160px !important;
      margin: 0 12px !important;
    }
  }
  /* Official Light Indigo (#4e4ac8) Quick Login Inputs & Cyan 52x52px Submit Button */
  .header.logged-out .login-form {
    margin: 0 14px 0 8px !important;
  }
  .header.logged-out .login-form .form-row.split {
    align-items: center !important;
  }
  .header.logged-out .login-form .form-row.split .form-item {
    width: clamp(138px, 10.8vw, 192px) !important;
    margin-right: 10px !important;
  }
  @media screen and (min-width: 961px) and (max-width: 1220px) {
    .header.logged-out .login-form .form-row.split .form-item {
      width: clamp(118px, 11.5vw, 156px) !important;
      margin-right: 8px !important;
    }
  }
  .header.logged-out .login-form .form-input.dark input[type="text"],
  .header.logged-out .login-form .form-input.dark input[type="password"] {
    height: 52px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background-color: #4e4ac8 !important;
    color: #ffffff !important;
    font-family: "Titillium Web", sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
  }
  .header.logged-out .login-form .form-input.dark input::placeholder {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    opacity: 1 !important;
  }
  .header.logged-out .login-form .form-input.dark input:-webkit-autofill,
  .header.logged-out .login-form .form-input.dark input:-webkit-autofill:hover,
  .header.logged-out .login-form .form-input.dark input:-webkit-autofill:focus,
  .header.logged-out .login-form .form-input.dark input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #4e4ac8 inset !important;
    box-shadow: 0 0 0 1000px #4e4ac8 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
  }
  .header.logged-out .login-form .button.with-only-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    flex: 0 0 52px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #23d2e2 !important;
    cursor: pointer !important;
  }
  .header.logged-out .login-form .button.with-only-icon:hover {
    background-color: #00b8c9 !important;
  }
  .header.logged-out .login-form .button.with-only-icon .icon-login {
    fill: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
  }
  /* 1-Click Header & Mobile Drawer Google Sign-In Controls (WF-135) */
  @keyframes ppHdrSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  .header.logged-out .login-form .pp-hdr-google-btn {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    flex: 0 0 52px !important;
    margin-left: 10px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(30, 34, 53, 0.14) !important;
    transition: border-color 0.16s ease, background-color 0.16s ease !important;
  }
  .header.logged-out .login-form .pp-hdr-google-btn:hover {
    background-color: #f7f7fb !important;
    border-color: #ffffff !important;
  }
  .pp-hdr-google-btn.is-loading,
  .pp-mob-google-btn.is-loading {
    pointer-events: none !important;
    opacity: 0.9 !important;
  }
  .pp-hdr-google-spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2.5px solid rgba(97, 93, 250, 0.24);
    border-top-color: #615dfa;
    animation: ppHdrSpin 0.68s linear infinite;
    display: inline-block;
  }
  .pp-guest-mobile-google-wrap {
    padding: 18px 24px 0;
  }
  .pp-guest-mobile-cta.pp-after-google {
    padding-top: 10px !important;
  }
  .pp-mob-google-btn {
    width: 100% !important;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    background-color: #f7f7fb !important;
    border: 1px solid #dedeea !important;
    color: #3e3f5e !important;
    font-family: Rajdhani, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: border-color 0.16s ease, background-color 0.16s ease !important;
  }
  .pp-mob-google-btn:hover {
    border-color: #615dfa !important;
    background-color: #ffffff !important;
  }
  .pp-mob-google-badge {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  /* Floaty Bar Logged-Out Button Guard (<= 960px) */
  .floaty-bar.logged-out .login-button {
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 0 28px !important;
    white-space: nowrap !important;
  }
  /* Guest Mobile Navigation Drawer Polish */
  #navigation-widget-mobile {
    z-index: 100010 !important;
  }
  .pp-guest-mobile-cta {
    padding: 18px 24px 4px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pp-guest-mobile-cta.pp-dual {
    grid-template-columns: 1fr 1fr;
  }
  .pp-guest-mobile-cta .button {
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  /* Clean Guest Left Icon Rail & Collapsed Right Chat Rail (no fake avatar or clipped Sign-in text at 80px) */
  body.pp-guest-view #navigation-widget-small {
    padding-top: 20px !important;
  }
  body.pp-guest-view #navigation-widget-small > .menu.small {
    margin-top: 0 !important;
  }
  body.pp-guest-view #chat-widget-messages.closed .chat-widget-messages {
    opacity: 0 !important;
    pointer-events: none !important;
  }
