/* ============================================================
   auth-pips.css — pip layout for auth pages
   Created 2026-05-09 (auth-redesign Phase 2).

   Pip animations + sport hues are in dashboard/css/pips.css and
   apply to any element with `.pip-cell` class. This file just
   handles the AUTH-PAGE-SPECIFIC layout: the 3-pip hero strip on
   login.html and the corner pip on connect/confirm.
   ============================================================ */

/* ---- 3-pip hero strip (login.html) -------------------- */
.auth-pip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: min(240px, 70vw);
  margin: 0 auto 24px;
}
.auth-pip-row .pip-cell {
  aspect-ratio: 1 / 1;
  background: transparent;
  border: 0;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease;
  overflow: visible;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.auth-pip-row .pip-cell:hover { transform: translateY(-1px); }

/* ---- Corner pip (connect-intervals.html, confirm-profile.html) ---- */
.auth-corner-pip {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* decorative — don't intercept card clicks */
}
.auth-corner-pip .pip-cell {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  pointer-events: none;
}

/* The card needs position: relative to anchor the corner pip. */
.auth-card.has-corner-pip {
  position: relative;
}

/* ---- Mobile tweaks ----------------------------------- */
@media (max-width: 480px) {
  .auth-pip-row {
    width: min(220px, 75vw);
    gap: 6px;
    margin-bottom: 18px;
  }
  .auth-corner-pip {
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
  }
}
