
    :root {
      --blue: #2222CC;
      --blue-dark: #1111AA;
      --blue-faint: #EEF0FF;
      --blue-mid: #C8CCFF;
      --white: #FFF;
      --off: #F7F8FF;
      --text: #0D0D6B;
      --muted: #5555AA;
      --red: #E53E3E;
      --green: #25D366;
      --yellow: #FFD93D;
      --gold: #F4A500;
      --orange: #FF6B35;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: linear-gradient(135deg, var(--blue-faint) 0%, #E2F1FF 100%);
      color: var(--text);
      font-family: 'Nunito', sans-serif;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 200;
      background: var(--blue);
      height: 64px;
      border-bottom: 3px solid var(--text);
    }

    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 100%;
      padding: 0 40px;
    }

    .nav-logo {
      font-family: 'Fredoka One', cursive;
      font-size: 1.8rem;
      color: #white;
      color: #fff;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      list-style: none;
      align-items: center;
    }

    .nav-links a {
      font-weight: 800;
      font-size: .82rem;
      text-decoration: none;
      color: rgba(255, 255, 255, .8);
      text-transform: uppercase;
      letter-spacing: .8px;
      transition: color .2s;
    }

    .nav-links a:hover {
      color: #fff;
    }

    .nav-right {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .shop-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--yellow);
      color: var(--text);
      border: 2.5px solid var(--text);
      border-radius: 100px;
      padding: 8px 18px;
      font-weight: 900;
      font-size: .88rem;
      cursor: pointer;
      text-decoration: none;
      box-shadow: 3px 3px 0 var(--text);
      transition: transform .15s, box-shadow .15s;
    }

    .shop-btn:hover {
      transform: translate(-1px, -1px);
      box-shadow: 4px 4px 0 var(--text);
    }

    /* CONTAINER */
    .main-container {
      margin-top: 100px;
      padding: 20px;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card-wrap {
      background: #fff;
      border: 3.5px solid var(--text);
      border-radius: 24px;
      width: 100%;
      max-width: 440px;
      padding: 30px;
      box-shadow: 8px 8px 0 var(--text);
      position: relative;
    }

    .card-header {
      text-align: center;
      margin-bottom: 20px;
    }

    .card-header h1 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.8rem;
      color: var(--blue);
      margin-bottom: 8px;
    }

    .card-header p {
      font-size: .9rem;
      color: var(--muted);
      font-weight: 700;
    }

    /* AUTH FORMS IN CARD */
    .auth-tabs {
      display: flex;
      border-bottom: 2px solid var(--blue-mid);
      margin-bottom: 18px;
    }

    .auth-tab {
      flex: 1;
      padding: 10px 0;
      text-align: center;
      cursor: pointer;
      font-weight: 800;
      color: var(--muted);
    }

    .auth-tab.active {
      color: var(--blue);
      border-bottom: 3.5px solid var(--blue);
    }

    .google-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      background: #fff;
      color: var(--text);
      border: 2.5px solid var(--text);
      border-radius: 14px;
      padding: 12px;
      font-family: inherit;
      font-weight: 900;
      font-size: .92rem;
      cursor: pointer;
      box-shadow: 3px 3px 0 var(--text);
      margin-bottom: 18px;
      transition: transform .1s;
    }

    .google-btn:active {
      transform: translate(1px, 1px);
      box-shadow: 2px 2px 0 var(--text);
    }

    .or-div {
      text-align: center;
      font-size: .78rem;
      color: var(--muted);
      font-weight: 800;
      margin-bottom: 18px;
      position: relative;
    }

    .or-div::before, .or-div::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 30%;
      height: 1px;
      background: var(--blue-mid);
    }

    .or-div::before { left: 0; }
    .or-div::after { right: 0; }

    .frow {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 16px;
      text-align: left;
    }

    .frow label {
      font-weight: 800;
      font-size: .8rem;
      color: var(--muted);
      text-transform: uppercase;
    }

    .frow input {
      padding: 12px;
      border: 2px solid var(--blue-mid);
      border-radius: 12px;
      font-family: inherit;
      font-size: .9rem;
      font-weight: 700;
      outline: none;
    }

    .frow input:focus {
      border-color: var(--blue);
    }

    .msave {
      background: var(--blue);
      color: #fff;
      border: 2.5px solid var(--text);
      border-radius: 14px;
      padding: 14px;
      font-family: inherit;
      font-weight: 900;
      font-size: .98rem;
      cursor: pointer;
      width: 100%;
      box-shadow: 4px 4px 0 var(--text);
      transition: transform .15s, box-shadow .15s;
    }

    .msave:hover {
      transform: translate(-1px, -1px);
      box-shadow: 5px 5px 0 var(--text);
    }

    .msave:active {
      transform: translate(2px, 2px);
      box-shadow: 2px 2px 0 var(--text);
    }

    .lerr {
      color: var(--red);
      font-size: .8rem;
      font-weight: 800;
      margin-bottom: 14px;
      display: none;
      text-align: center;
      background: rgba(229, 62, 62, 0.08);
      padding: 8px 12px;
      border-radius: 8px;
      border: 1px solid rgba(229, 62, 62, 0.2);
    }

    /* LOGGED IN USER INTERFACE */
    .user-greeting {
      background: var(--blue-faint);
      padding: 15px;
      border-radius: 18px;
      border: 2px dashed var(--blue-mid);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .user-avatar-circle {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 2.5px solid var(--text);
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      overflow: hidden;
    }

    .user-avatar-circle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .user-meta {
      flex: 1;
      text-align: left;
    }

    .user-meta h3 {
      font-size: 1rem;
      font-weight: 800;
      color: var(--text);
    }

    .user-meta p {
      font-size: .85rem;
      color: var(--muted);
      font-weight: 700;
    }

    .points-pill {
      background: var(--yellow);
      border: 2px solid var(--text);
      border-radius: 20px;
      padding: 4px 12px;
      font-weight: 900;
      font-size: .85rem;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* SUCCESS POPUP */
    .success-alert {
      display: none;
      flex-direction: column;
      align-items: center;
      animation: fsl .3s ease both;
    }

    .success-icon {
      font-size: 3rem;
      margin-bottom: 15px;
      animation: pop .4s cubic-bezier(.175, .885, .32, 1.275);
    }

    /* TOAST */
    .toast {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background: var(--text);
      color: #fff;
      padding: 12px 28px;
      border-radius: 100px;
      font-weight: 800;
      font-size: .88rem;
      box-shadow: 0 10px 30px rgba(0,0,0,.2);
      z-index: 1000;
      transition: transform .3s cubic-bezier(.175, .885, .32, 1.275);
      white-space: nowrap;
    }

    .toast.show {
      transform: translateX(-50%) translateY(0);
    }

    @keyframes fsl {
      from { transform: scale(0.96); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    @keyframes pop {
      0% { transform: scale(0.5); }
      70% { transform: scale(1.15); }
      100% { transform: scale(1); }
    }

    @media (max-width: 480px) {
      .nav-inner { padding: 0 16px; }
      .nav-logo { font-size: 1.4rem; gap: 6px; }
      .card-wrap { padding: 20px; }
    }
  