/* Fonts — pn-fonts.css loaded by enqueue_scripts, variables available globally */
/**
 * PrepsNext — Widget Styles (widgets.css)
 * Loaded site-wide so Featured Athletes + Login widgets render correctly
 * on the homepage, any sidebar, or any widget area — not just on the feed/profile pages.
 *
 * Uses CSS custom properties with safe fallbacks so it works inside any theme.
 */

/* ─── Base CSS variables (mirrors threads.css, but scoped to widget root so they
       don't bleed into the host theme) ───────────────────────────────────────── */
.pn-widget-root {
  --pnw-bg:        #0e0e0e;
  --pnw-surface:   #161616;
  --pnw-surface2:  #1f1f1f;
  --pnw-border:    rgba(255,255,255,0.09);
  --pnw-text:      #f0f0f0;
  --pnw-muted:     rgba(240,240,240,0.45);
  --pnw-accent:    #AAFF00;
  --pnw-blue:      #4A8FFF;
  --pnw-red:       #FF3B30;
  --pnw-radius:    14px;
  --pnw-font:      var(--pn-font-body);
  color: var(--pnw-text);
  font-family: var(--pnw-font);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
.pn-widget-root *, .pn-widget-root *::before, .pn-widget-root *::after {
  box-sizing: inherit;
}

/* ════════════════════════════════════════════════════════════════════
   FEATURED ATHLETES WIDGET  (.pnfa-*)
   ════════════════════════════════════════════════════════════════════ */

.pnfa-widget {
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--pnw-radius, 14px);
  box-shadow: 0 6px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  font-family: var(--pnw-font, var(--pn-font-body));
  -webkit-font-smoothing: antialiased;
}

/* Header */
.pnfa-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pnfa-widget-title {
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(240,240,240,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.pnfa-view-all-top {
  font-size: 11px;
  font-weight: 700;
  color: #AAFF00;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.80;
  transition: opacity 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.pnfa-view-all-top:hover { opacity: 1; color: #AAFF00; text-decoration: underline; }

/* List */
.pnfa-list { padding: 4px 8px 8px; }

/* Athlete card */
.pnfa-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 8px;
  border-radius: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none !important;
  color: #f0f0f0 !important;
  transition: background 0.18s, transform 0.16s;
  position: relative;
}
.pnfa-card:last-child { border-bottom: none; }
.pnfa-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateX(3px);
  color: #f0f0f0 !important;
}
.pnfa-card--prospect {
  background: rgba(170,255,0,0.03);
  border-left: 2px solid rgba(170,255,0,0.35);
  padding-left: 6px;
}
.pnfa-card--prospect:hover { background: rgba(170,255,0,0.06); }

/* Avatar */
.pnfa-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}
.pnfa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.12);
  display: block;
}
.pnfa-avatar--placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.pnfa-avatar--top-prospect,
.pnfa-card--prospect .pnfa-avatar,
.pnfa-card--prospect .pnfa-avatar--placeholder {
  border-color: #AAFF00 !important;
  box-shadow: 0 0 0 2px rgba(170,255,0,0.28), 0 0 10px rgba(170,255,0,0.15);
}

/* Sport badge on avatar */
.pnfa-sport-badge {
  position: absolute;
  bottom: -3px;
  right: -4px;
  background: rgba(18,18,18,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

/* Top-prospect label pill */
.pnfa-prospect-label {
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #AAFF00 0%, #c8ff33 100%);
  color: #000;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1.4;
  box-shadow: 0 1px 6px rgba(170,255,0,0.45);
  z-index: 3;
}
.pnfa-card--prospect .pnfa-avatar-wrap { margin-bottom: 14px; }

/* Info */
.pnfa-info {
  flex: 1;
  min-width: 0;
}
.pnfa-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
  overflow: hidden;
}
.pnfa-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  letter-spacing: -0.01em;
}
.pnfa-badges {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  line-height: 1;
}
.pnfa-badge-icon {
  width: 11px !important;
  height: 11px !important;
  display: inline-block;
  vertical-align: middle;
  pointer-events: none;
  user-select: none;
  opacity: 0.9;
}
.pnfa-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: default;
  pointer-events: auto;
}
.pnfa-badge-wrap::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #f0f0f0;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 3px 12px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.15s;
}
.pnfa-badge-wrap:hover::after { opacity: 1; }

.pnfa-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(240,240,240,0.52);
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.pnfa-sport-name { font-weight: 700; color: rgba(240,240,240,0.68); }
.pnfa-pos::before { content: '·'; margin-right: 2px; }
.pnfa-jersey { font-weight: 700; color: rgba(170,255,0,0.70); font-size: 11px; }
.pnfa-jersey::before { content: '·'; margin-right: 2px; }

.pnfa-school {
  font-size: 11px;
  color: rgba(240,240,240,0.44);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.pnfa-bottom-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.pnfa-rank {
  font-size: 10px;
  font-weight: 900;
  color: #AAFF00;
  background: rgba(170,255,0,0.12);
  border: 1px solid rgba(170,255,0,0.32);
  border-radius: 5px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px rgba(170,255,0,0.4);
}
.pnfa-status-badge {
  font-size: 10px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.pnfa-empty {
  font-size: 13px;
  color: rgba(240,240,240,0.38);
  padding: 12px 8px 6px;
  line-height: 1.6;
  text-align: center;
}

/* View All button */
.pnfa-view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 6px 10px 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #AAFF00 0%, #88DD00 100%);
  border: none;
  border-radius: 10px;
  color: #080808 !important;
  font-family: var(--pnw-font, var(--pn-font-body));
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  box-shadow: 0 2px 12px rgba(170,255,0,0.28);
}
.pnfa-view-all-btn:hover {
  background: linear-gradient(135deg, #c4ff33 0%, #99ee00 100%);
  box-shadow: 0 5px 20px rgba(170,255,0,0.42);
  transform: translateY(-1px);
  color: #080808 !important;
}
.pnfa-view-all-btn svg { flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════════
   PREPSNEXT LOGIN / SIGNUP WIDGET — PREMIUM CINEMATIC GLASS UI
   Keeps existing .pnlw-* structure and AJAX functionality intact.
   ════════════════════════════════════════════════════════════════════ */

.pnlw-widget {
  --pnlw-green: #AAFF00;
  --pnlw-green-2: #C9FF3A;
  --pnlw-green-dark: #76B900;
  --pnlw-black: #050505;
  --pnlw-black-2: #090909;
  --pnlw-panel: rgba(14, 14, 14, 0.72);
  --pnlw-panel-strong: rgba(16, 16, 16, 0.92);
  --pnlw-border: rgba(255, 255, 255, 0.105);
  --pnlw-border-soft: rgba(255, 255, 255, 0.07);
  --pnlw-border-green: rgba(170, 255, 0, 0.28);
  --pnlw-text: rgba(255, 255, 255, 0.94);
  --pnlw-muted: rgba(255, 255, 255, 0.56);
  --pnlw-faint: rgba(255, 255, 255, 0.34);
  --pnlw-red: #FF453A;
  --pnlw-radius: 22px;
  --pnlw-radius-sm: 14px;
  --pnlw-shadow: 0 24px 70px rgba(0, 0, 0, 0.56);
  --pnlw-green-shadow: 0 0 34px rgba(170, 255, 0, 0.16);

  position: relative;
  width: 100%;
  max-width: 100%;
  isolation: isolate;
  overflow: hidden;
  color: var(--pnlw-text);
  font-family: var(--pnw-font, var(--pn-font-body), -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;

  background:
    radial-gradient(circle at 18% 0%, rgba(170, 255, 0, 0.16), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(170, 255, 0, 0.075), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(7, 7, 7, 0.88);

  border: 1px solid var(--pnlw-border);
  border-radius: var(--pnlw-radius);
  box-shadow:
    var(--pnlw-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -1px 0 rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
}

.pnlw-widget *,
.pnlw-widget *::before,
.pnlw-widget *::after {
  box-sizing: border-box;
}

.pnlw-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(170, 255, 0, 0.18), transparent 22%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.055), transparent 28%);
  opacity: 0.85;
}

.pnlw-widget::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  pointer-events: none;
  border-radius: calc(var(--pnlw-radius) - 1px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    rgba(5, 5, 5, 0.45);
}

/* Remove mobile blue tap flash inside widget */
.pnlw-widget,
.pnlw-widget a,
.pnlw-widget button,
.pnlw-widget input,
.pnlw-widget label {
  -webkit-tap-highlight-color: transparent;
}

.pnlw-widget a,
.pnlw-widget button {
  touch-action: manipulation;
}

/* ─────────────────────────────────────────────
   Logged-in state: premium welcome card
   ───────────────────────────────────────────── */

.pnlw-welcome {
  position: relative;
  padding: 18px;
}

.pnlw-welcome-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}

.pnlw-welcome-avatar,
.pnlw-welcome-avatar-ph {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
}

.pnlw-welcome-avatar {
  display: block;
  object-fit: cover;
  border: 1px solid rgba(170, 255, 0, 0.38);
  box-shadow:
    0 0 0 4px rgba(170, 255, 0, 0.075),
    0 0 22px rgba(170, 255, 0, 0.16);
  background: #111;
}

.pnlw-welcome-avatar-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.04em;
  background:
    radial-gradient(circle at 35% 25%, #e7ff93, var(--pnlw-green) 42%, #75b700 100%);
  border: 1px solid rgba(210, 255, 95, 0.72);
  box-shadow:
    0 0 0 4px rgba(170, 255, 0, 0.08),
    0 0 24px rgba(170, 255, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.pnlw-welcome-info {
  flex: 1;
  min-width: 0;
}

.pnlw-welcome-name {
  margin-bottom: 3px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pnlw-welcome-handle {
  color: var(--pnlw-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Logged-in buttons */

.pnlw-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pnlw-btn {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease;
}

.pnlw-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.pnlw-btn:active {
  transform: scale(0.975);
}

/* Feed button */
.pnlw-btn--feed {
  color: #050505 !important;
  background:
    linear-gradient(180deg, #d9ff62 0%, var(--pnlw-green) 46%, #8bd800 100%);
  border-color: rgba(204, 255, 77, 0.72);
  box-shadow:
    0 0 22px rgba(170, 255, 0, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.pnlw-btn--feed,
.pnlw-btn--feed * {
  color: #050505 !important;
  stroke: #050505 !important;
}

.pnlw-btn--feed:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, #e7ff86 0%, #baff17 50%, #92e000 100%);
  box-shadow:
    0 0 30px rgba(170, 255, 0, 0.31),
    0 14px 30px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

/* Profile button */
.pnlw-btn--profile {
  color: rgba(255, 255, 255, 0.84) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(12, 12, 12, 0.72);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.pnlw-btn--profile,
.pnlw-btn--profile * {
  color: rgba(255, 255, 255, 0.84) !important;
  stroke: rgba(255, 255, 255, 0.84) !important;
}

.pnlw-btn--profile:hover {
  color: var(--pnlw-green) !important;
  border-color: rgba(170, 255, 0, 0.32);
  background:
    linear-gradient(180deg, rgba(170, 255, 0, 0.105), rgba(170, 255, 0, 0.035)),
    rgba(10, 10, 10, 0.82);
  box-shadow:
    0 0 20px rgba(170, 255, 0, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pnlw-btn--profile:hover *,
.pnlw-btn--profile:active * {
  color: var(--pnlw-green) !important;
  stroke: var(--pnlw-green) !important;
}

/* Logout button */
.pnlw-btn--logout {
  width: 100%;
  flex: none;
  min-height: 38px;
  margin-top: 2px;
  padding: 9px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.42) !important;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.075);
  font-size: 10px;
  letter-spacing: 0.08em;
  box-shadow: none;
}

.pnlw-btn--logout,
.pnlw-btn--logout * {
  color: rgba(255, 255, 255, 0.42) !important;
  stroke: rgba(255, 255, 255, 0.42) !important;
}

.pnlw-btn--logout:hover {
  color: #ff746c !important;
  background: rgba(255, 69, 58, 0.08);
  border-color: rgba(255, 69, 58, 0.26);
}

.pnlw-btn--logout:hover *,
.pnlw-btn--logout:active * {
  color: #ff746c !important;
  stroke: #ff746c !important;
}

/* ─────────────────────────────────────────────
   Logged-out state: auth shell
   ───────────────────────────────────────────── */

.pnlw-auth {
  position: relative;
  padding: 0;
}

.pnlw-auth-header {
  position: relative;
  padding: 21px 18px 17px;
  text-align: center;
  border-bottom: 1px solid var(--pnlw-border-soft);
  background:
    radial-gradient(circle at 50% 0%, rgba(170, 255, 0, 0.13), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent);
}

.pnlw-auth-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(150px, 58%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(170, 255, 0, 0.55), transparent);
  box-shadow: 0 0 18px rgba(170, 255, 0, 0.24);
}

.pnlw-auth-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
  font-size: 23px;
  line-height: 1;
  border-radius: 17px;
  background:
    radial-gradient(circle at 35% 20%, #f0ffab, #bdff26 45%, #7ec200 100%);
  border: 1px solid rgba(221, 255, 122, 0.66);
  box-shadow:
    0 0 0 5px rgba(170, 255, 0, 0.07),
    0 0 30px rgba(170, 255, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.pnlw-auth-title {
  margin: 0 0 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.pnlw-auth-sub {
  max-width: 260px;
  margin: 0 auto;
  color: var(--pnlw-muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

/* ─────────────────────────────────────────────
   Tabs
   ───────────────────────────────────────────── */

.pnlw-tabs {
  position: relative;
  display: flex;
  gap: 6px;
  padding: 9px;
  border-bottom: 1px solid var(--pnlw-border-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006)),
    rgba(0, 0, 0, 0.18);
}

.pnlw-tab {
  position: relative;
  flex: 1;
  min-height: 40px;
  padding: 0 10px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition:
    color 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.pnlw-tab:hover:not(.pnlw-tab--active) {
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.045);
}

.pnlw-tab--active {
  color: #050505;
  background:
    linear-gradient(180deg, #d9ff62, var(--pnlw-green) 55%, #91df00);
  border-color: rgba(210, 255, 85, 0.66);
  box-shadow:
    0 0 18px rgba(170, 255, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

/* ─────────────────────────────────────────────
   Forms
   ───────────────────────────────────────────── */

.pnlw-form-wrap {
  padding: 16px;
}

.pnlw-pane {
  display: none;
}

.pnlw-pane--active {
  display: block;
}

.pnlw-field {
  margin-bottom: 12px;
}

.pnlw-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.pnlw-input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.025);
  font-family: inherit;
  font-size: 16px; /* prevents iOS zoom */
  font-weight: 650;
  line-height: 46px;
  -webkit-appearance: none;
  appearance: none;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
}

.pnlw-input::placeholder {
  color: rgba(255, 255, 255, 0.29);
  font-weight: 600;
}

.pnlw-input:focus {
  border-color: rgba(170, 255, 0, 0.52);
  background:
    linear-gradient(180deg, rgba(170, 255, 0, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.4);
  box-shadow:
    0 0 0 4px rgba(170, 255, 0, 0.08),
    0 0 22px rgba(170, 255, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.pnlw-input:-webkit-autofill,
.pnlw-input:-webkit-autofill:hover,
.pnlw-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow:
    0 0 0 1000px #111 inset,
    0 0 0 4px rgba(170, 255, 0, 0.08) !important;
  border-color: rgba(170, 255, 0, 0.44);
  transition: background-color 9999s ease-in-out 0s;
}

.pnlw-forgot {
  display: block;
  width: fit-content;
  margin: -5px 0 11px auto;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  text-align: right;
  text-decoration: none;
  transition: color 0.16s ease;
}

.pnlw-forgot:hover {
  color: var(--pnlw-green);
  text-decoration: none;
}

/* Submit button */

.pnlw-submit {
  position: relative;
  width: 100%;
  min-height: 48px;
  margin-top: 3px;
  padding: 0 17px;
  overflow: hidden;
  border: 1px solid rgba(206, 255, 72, 0.72);
  border-radius: 15px;
  cursor: pointer;
  color: #050505 !important;
  background:
    linear-gradient(180deg, #dcff68 0%, var(--pnlw-green) 50%, #8cd800 100%);
  box-shadow:
    0 0 26px rgba(170, 255, 0, 0.24),
    0 12px 26px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    opacity 0.16s ease;
}

.pnlw-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 55%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.32),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.pnlw-submit:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, #ecff98 0%, #bdff22 48%, #98e900 100%);
  box-shadow:
    0 0 34px rgba(170, 255, 0, 0.32),
    0 16px 34px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.pnlw-submit:hover::before {
  left: 120%;
}

.pnlw-submit:active {
  transform: scale(0.985);
}

.pnlw-submit:disabled,
.pnlw-submit[disabled],
.pnlw-submit.is-loading {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

/* Messages */

.pnlw-msg {
  display: none;
  margin-bottom: 11px;
  padding: 10px 11px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.42;
}

.pnlw-msg--error {
  display: block;
  color: #ff8b84;
  background:
    linear-gradient(180deg, rgba(255, 69, 58, 0.11), rgba(255, 69, 58, 0.055));
  border: 1px solid rgba(255, 69, 58, 0.28);
  box-shadow: 0 0 18px rgba(255, 69, 58, 0.08);
}

.pnlw-msg--success {
  display: block;
  color: var(--pnlw-green);
  background:
    linear-gradient(180deg, rgba(170, 255, 0, 0.105), rgba(170, 255, 0, 0.045));
  border: 1px solid rgba(170, 255, 0, 0.28);
  box-shadow: 0 0 18px rgba(170, 255, 0, 0.10);
}

/* Footer */

.pnlw-footer {
  padding: 0 16px 16px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.pnlw-footer a {
  display: inline-block;
  padding: 4px 2px;
  color: rgba(170, 255, 0, 0.76);
  font-weight: 800;
  text-decoration: none;
}

.pnlw-footer a:hover {
  color: var(--pnlw-green);
  text-decoration: none;
}

/* ─────────────────────────────────────────────
   Focus states — premium but accessible
   ───────────────────────────────────────────── */

.pnlw-widget a:focus,
.pnlw-widget button:focus,
.pnlw-widget input:focus {
  outline: none;
}

.pnlw-widget a:focus-visible,
.pnlw-widget button:focus-visible,
.pnlw-widget input:focus-visible {
  outline: 2px solid rgba(170, 255, 0, 0.78);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────
   Context: widget inside mobile flyout/sidebar panels
   This does NOT style the menu itself — only compacts the login widget
   when it lives inside narrow containers.
   ───────────────────────────────────────────── */

[class*="flyout"] .pnlw-widget,
[class*="drawer"] .pnlw-widget,
[class*="offcanvas"] .pnlw-widget,
[class*="mobile"] .pnlw-widget,
[class*="side"] .pnlw-widget {
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ─────────────────────────────────────────────
   Responsive — tablets / narrow sidebars
   ───────────────────────────────────────────── */

@media (max-width: 782px) {
  .pnlw-widget {
    border-radius: 20px;
  }

  .pnlw-auth-header {
    padding: 18px 16px 15px;
  }

  .pnlw-auth-logo {
    width: 44px;
    height: 44px;
    margin-bottom: 9px;
    border-radius: 15px;
    font-size: 21px;
  }

  .pnlw-auth-title {
    font-size: 15px;
  }

  .pnlw-auth-sub {
    font-size: 12px;
  }

  .pnlw-tabs {
    padding: 8px;
  }

  .pnlw-tab {
    min-height: 38px;
    font-size: 10.5px;
  }

  .pnlw-form-wrap {
    padding: 15px;
  }

  .pnlw-welcome {
    padding: 16px;
  }

  .pnlw-welcome-avatar,
  .pnlw-welcome-avatar-ph {
    width: 48px;
    height: 48px;
  }
}

/* ─────────────────────────────────────────────
   Responsive — phones and mobile flyout widths
   ───────────────────────────────────────────── */

@media (max-width: 600px) {
  .pnlw-widget {
    border-radius: 18px;
    background:
      radial-gradient(circle at 18% 0%, rgba(170, 255, 0, 0.13), transparent 36%),
      radial-gradient(circle at 90% 16%, rgba(170, 255, 0, 0.055), transparent 32%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016)),
      rgba(7, 7, 7, 0.9);
  }

  .pnlw-auth-header {
    padding: 15px 14px 13px;
  }

  .pnlw-auth-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    border-radius: 14px;
    font-size: 19px;
  }

  .pnlw-auth-title {
    font-size: 14px;
  }

  .pnlw-auth-sub {
    max-width: 240px;
    font-size: 11.5px;
  }

  .pnlw-tabs {
    gap: 5px;
    padding: 7px;
  }

  .pnlw-tab {
    min-height: 38px;
    padding: 0 8px;
    font-size: 10px;
    letter-spacing: 0.07em;
  }

  .pnlw-form-wrap {
    padding: 13px;
  }

  .pnlw-field {
    margin-bottom: 10px;
  }

  .pnlw-label {
    margin-bottom: 5px;
    font-size: 9.5px;
  }

  .pnlw-input {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 13px;
    font-size: 16px;
    line-height: 44px;
  }

  .pnlw-forgot {
    margin-top: -4px;
    margin-bottom: 9px;
    font-size: 10.5px;
  }

  .pnlw-submit {
    min-height: 46px;
    border-radius: 14px;
    font-size: 11px;
  }

  .pnlw-footer {
    padding: 0 13px 13px;
    font-size: 10.5px;
  }

  .pnlw-welcome {
    padding: 14px;
  }

  .pnlw-welcome-top {
    gap: 11px;
    margin-bottom: 12px;
  }

  .pnlw-welcome-avatar,
  .pnlw-welcome-avatar-ph {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .pnlw-welcome-name {
    font-size: 13.5px;
  }

  .pnlw-welcome-handle {
    font-size: 11px;
  }

  .pnlw-action-row {
    gap: 7px;
  }

  .pnlw-btn {
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 13px;
    font-size: 10px;
    letter-spacing: 0.065em;
  }

  .pnlw-btn svg {
    width: 12px;
    height: 12px;
  }

  .pnlw-btn--logout {
    min-height: 36px;
    font-size: 9.5px;
  }

  .pnlw-msg {
    padding: 9px 10px;
    border-radius: 12px;
    font-size: 11.5px;
  }
}

/* ─────────────────────────────────────────────
   Very narrow phones / cramped flyouts
   ───────────────────────────────────────────── */

@media (max-width: 400px) {
  .pnlw-widget {
    border-radius: 16px;
  }

  .pnlw-auth-header {
    padding: 13px 12px 11px;
  }

  .pnlw-auth-logo {
    display: none;
  }

  .pnlw-auth-title {
    font-size: 13.5px;
  }

  .pnlw-auth-sub {
    font-size: 11px;
  }

  .pnlw-tabs {
    padding: 6px;
  }

  .pnlw-tab {
    min-height: 36px;
    font-size: 9.5px;
  }

  .pnlw-form-wrap {
    padding: 12px;
  }

  .pnlw-input {
    min-height: 43px;
    border-radius: 12px;
  }

  .pnlw-submit {
    min-height: 44px;
    border-radius: 13px;
    font-size: 10.5px;
  }

  .pnlw-footer {
    padding: 0 12px 12px;
  }

  .pnlw-welcome {
    padding: 12px;
  }

  .pnlw-welcome-top {
    align-items: flex-start;
  }

  .pnlw-action-row {
    flex-direction: column;
    gap: 7px;
  }

  .pnlw-btn {
    width: 100%;
    flex: none;
  }

  .pnlw-btn--logout {
    margin-top: 0;
  }
}

/* ─────────────────────────────────────────────
   Ultra narrow
   ───────────────────────────────────────────── */

@media (max-width: 340px) {
  .pnlw-auth-title {
    font-size: 13px;
  }

  .pnlw-auth-sub {
    font-size: 10.5px;
  }

  .pnlw-form-wrap,
  .pnlw-welcome {
    padding: 10px;
  }

  .pnlw-tabs {
    gap: 4px;
  }

  .pnlw-tab {
    font-size: 9px;
    letter-spacing: 0.055em;
  }

  .pnlw-label {
    font-size: 9px;
  }

  .pnlw-btn {
    font-size: 9.5px;
  }
}

/* ─────────────────────────────────────────────
   Reduced motion
   ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .pnlw-widget *,
  .pnlw-widget *::before,
  .pnlw-widget *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .pnlw-submit::before {
    display: none;
  }
}

/* =========================================================
   PREPSNEXT LOGIN WIDGET — ATHLETE COMMAND BUTTON REDESIGN
   Replaces oversized iOS-style buttons with premium dark
   neon command tiles. Add at very bottom of stylesheet.
   ========================================================= */

.pnlw-widget .pnlw-welcome {
  padding: 16px !important;
}

/* Make logged-in card feel like a compact athlete command module */
.pnlw-widget .pnlw-action-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 9px !important;
  margin-top: 14px !important;
}

/* Base command tile style */
.pnlw-widget .pnlw-btn {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;

  min-height: 58px !important;
  padding: 12px 12px !important;
  border-radius: 17px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;

  color: rgba(255,255,255,.88) !important;
  text-decoration: none !important;

  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    rgba(9,9,9,.82) !important;

  border: 1px solid rgba(255,255,255,.12) !important;

  box-shadow:
    0 12px 28px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.75) !important;

  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;

  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease,
    color .16s ease !important;
}

/* subtle glass sweep */
.pnlw-widget .pnlw-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.12), transparent 34%),
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.07) 42%, transparent 58%);
  opacity: .7;
}

/* small neon bottom edge */
.pnlw-widget .pnlw-btn::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  opacity: .65;
  pointer-events: none;
}

/* SVG icons */
.pnlw-widget .pnlw-btn svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
  opacity: .95 !important;
}

/* Press feel */
.pnlw-widget .pnlw-btn:active {
  transform: scale(.965) !important;
}

/* ================================
   FEED — flagship command tile
   ================================ */

.pnlw-widget .pnlw-btn--feed {
  color: #AAFF00 !important;

  background:
    radial-gradient(circle at 20% 0%, rgba(170,255,0,.28), transparent 42%),
    linear-gradient(180deg, rgba(170,255,0,.115), rgba(170,255,0,.035)),
    rgba(7,9,4,.9) !important;

  border-color: rgba(170,255,0,.38) !important;

  box-shadow:
    0 0 28px rgba(170,255,0,.14),
    0 14px 32px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(225,255,145,.14),
    inset 0 -1px 0 rgba(0,0,0,.75) !important;
}

.pnlw-widget .pnlw-btn--feed,
.pnlw-widget .pnlw-btn--feed * {
  color: #AAFF00 !important;
  stroke: #AAFF00 !important;
}

.pnlw-widget .pnlw-btn--feed::after {
  background: linear-gradient(90deg, transparent, #AAFF00, transparent) !important;
  box-shadow: 0 0 14px rgba(170,255,0,.7) !important;
  opacity: .95 !important;
}

.pnlw-widget .pnlw-btn--feed:hover {
  color: #D7FF63 !important;
  border-color: rgba(170,255,0,.62) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(170,255,0,.38), transparent 44%),
    linear-gradient(180deg, rgba(170,255,0,.16), rgba(170,255,0,.055)),
    rgba(8,10,4,.95) !important;
  box-shadow:
    0 0 34px rgba(170,255,0,.22),
    0 16px 38px rgba(0,0,0,.54),
    inset 0 1px 0 rgba(225,255,145,.18) !important;
}

/* ================================
   PROFILE — steel/glass tile
   ================================ */

.pnlw-widget .pnlw-btn--profile {
  color: rgba(255,255,255,.88) !important;

  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.13), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(12,12,12,.88) !important;

  border-color: rgba(255,255,255,.14) !important;
}

.pnlw-widget .pnlw-btn--profile,
.pnlw-widget .pnlw-btn--profile * {
  color: rgba(255,255,255,.88) !important;
  stroke: rgba(255,255,255,.88) !important;
}

.pnlw-widget .pnlw-btn--profile:hover {
  color: #ffffff !important;
  border-color: rgba(255,255,255,.24) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.035)),
    rgba(14,14,14,.94) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(255,255,255,.12) !important;
}

/* ================================
   LOGOUT — quiet danger strip
   ================================ */

.pnlw-widget .pnlw-btn--logout {
  grid-column: 1 / -1 !important;

  min-height: 48px !important;
  margin-top: 0 !important;
  border-radius: 15px !important;

  color: rgba(255,255,255,.48) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .055em !important;

  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    rgba(7,7,7,.72) !important;

  border-color: rgba(255,255,255,.085) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 10px 22px rgba(0,0,0,.26) !important;
}

.pnlw-widget .pnlw-btn--logout,
.pnlw-widget .pnlw-btn--logout * {
  color: rgba(255,255,255,.48) !important;
  stroke: rgba(255,255,255,.48) !important;
}

.pnlw-widget .pnlw-btn--logout::after {
  background: rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}

.pnlw-widget .pnlw-btn--logout:hover {
  color: #ff746c !important;
  border-color: rgba(255,69,58,.34) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,69,58,.16), transparent 40%),
    linear-gradient(180deg, rgba(255,69,58,.075), rgba(255,69,58,.025)),
    rgba(10,7,7,.9) !important;
}

.pnlw-widget .pnlw-btn--logout:hover *,
.pnlw-widget .pnlw-btn--logout:active * {
  color: #ff746c !important;
  stroke: #ff746c !important;
}

/* Make the welcome identity area cleaner inside the flyout */
.pnlw-widget .pnlw-welcome-top {
  margin-bottom: 10px !important;
}

.pnlw-widget .pnlw-welcome-name {
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #fff !important;
}

.pnlw-widget .pnlw-welcome-handle {
  font-size: 11.5px !important;
  color: rgba(255,255,255,.48) !important;
}

/* Mobile flyout refinement */
@media (max-width: 600px) {
  .pnlw-widget .pnlw-action-row {
    gap: 8px !important;
  }

  .pnlw-widget .pnlw-btn {
    min-height: 56px !important;
    border-radius: 16px !important;
    font-size: 12.5px !important;
    letter-spacing: .055em !important;
  }

  .pnlw-widget .pnlw-btn--logout {
    min-height: 46px !important;
    font-size: 11.5px !important;
  }
}

/* Very narrow phones */
@media (max-width: 360px) {
  .pnlw-widget .pnlw-action-row {
    grid-template-columns: 1fr !important;
  }

  .pnlw-widget .pnlw-btn--logout {
    grid-column: auto !important;
  }
}


/* ── New Athletes widget (existing, just scoped neatly) ── */
.pn-naw-widget-wrap {
  background: rgba(18,18,18,0.96);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--pnw-font, var(--pn-font-body));
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   PREPSNEXT LOGIN WIDGET — MOBILE FLYOUT FORM POLISH
   Fixes logged-out login/register form inside mobile menu.
   Add at VERY BOTTOM after existing .pnlw-* CSS.
   ========================================================= */

/* Compact the widget inside the mobile flyout */
@media (max-width: 1003px) {

  .pnlw-widget {
    border-radius: 20px !important;
    overflow: hidden !important;

    background:
      linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
      rgba(10,10,10,.88) !important;

    border: 1px solid rgba(255,255,255,.105) !important;

    box-shadow:
      0 22px 64px rgba(0,0,0,.62),
      inset 0 1px 0 rgba(255,255,255,.08),
      0 0 0 1px rgba(170,255,0,.055) !important;

    backdrop-filter: blur(28px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(170%) !important;
  }

  /* Header area: reduce height */
  .pnlw-auth-header {
    padding: 14px 14px 12px !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(170,255,0,.14), transparent 48%),
      rgba(255,255,255,.018) !important;
  }

  /* Trophy/icon: smaller premium badge */
  .pnlw-auth-logo {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 6px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 17px !important;

    background:
      linear-gradient(180deg, #d9ff5a, #9fea00) !important;

    color: #050505 !important;

    box-shadow:
      0 0 24px rgba(170,255,0,.28),
      inset 0 1px 0 rgba(255,255,255,.45),
      inset 0 -1px 0 rgba(0,0,0,.18) !important;
  }

  /* If title/subtitle exist, make them clean and compact */
  .pnlw-auth-title {
    margin: 6px 0 2px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
    letter-spacing: -.02em !important;
  }

  .pnlw-auth-sub {
    max-width: 250px !important;
    margin: 0 auto !important;
    color: rgba(255,255,255,.48) !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
  }

  /* Tabs: make them actual premium segmented tabs */
  .pnlw-tabs {
    display: flex !important;
    gap: 7px !important;
    padding: 9px 14px 8px !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    background: rgba(0,0,0,.20) !important;
  }

  .pnlw-tab {
    min-height: 36px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    background: rgba(255,255,255,.035) !important;

    color: rgba(255,255,255,.50) !important;

    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
  }

  .pnlw-tab--active {
    background:
      linear-gradient(180deg, rgba(170,255,0,.18), rgba(170,255,0,.075)) !important;

    border-color: rgba(170,255,0,.38) !important;
    color: #AAFF00 !important;

    box-shadow:
      0 0 18px rgba(170,255,0,.14),
      inset 0 1px 0 rgba(255,255,255,.08) !important;
  }

  /* Form spacing */
  .pnlw-form-wrap {
    padding: 13px 14px 15px !important;
  }

  .pnlw-field {
    margin-bottom: 10px !important;
  }

  .pnlw-label {
    margin-bottom: 5px !important;

    color: rgba(255,255,255,.48) !important;

    font-size: 9px !important;
    font-weight: 950 !important;
    letter-spacing: .10em !important;
    line-height: 1 !important;
  }

  /* Inputs: premium dark, not huge */
  .pnlw-input {
    min-height: 48px !important;
    height: 48px !important;

    padding: 0 14px !important;

    border-radius: 14px !important;

    background:
      linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)),
      rgba(8,8,8,.72) !important;

    border: 1px solid rgba(255,255,255,.12) !important;

    color: #fff !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 48px !important;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.04),
      0 8px 18px rgba(0,0,0,.20) !important;
  }

  .pnlw-input::placeholder {
    color: rgba(255,255,255,.32) !important;
    font-weight: 700 !important;
  }

  .pnlw-input:focus {
    border-color: rgba(170,255,0,.48) !important;
    box-shadow:
      0 0 0 3px rgba(170,255,0,.08),
      0 0 20px rgba(170,255,0,.10),
      inset 0 1px 0 rgba(255,255,255,.06) !important;
  }

  /* Hide empty message bars */
  .pnlw-msg:empty {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  /* Only show messages when content is injected */
  .pnlw-msg {
    min-height: 0 !important;
    margin-bottom: 10px !important;
    padding: 9px 11px !important;
    border-radius: 12px !important;

    font-size: 11.5px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
  }

  /* Forgot password: make it a subtle link, not a headline */
  .pnlw-forgot {
    display: inline-flex !important;
    width: auto !important;

    margin: -2px 0 12px auto !important;
    padding: 5px 0 !important;

    color: rgba(255,255,255,.46) !important;

    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;

    text-align: right !important;
    text-decoration: none !important;
  }

  .pnlw-forgot:hover {
    color: #AAFF00 !important;
  }

  /* Submit: premium command button, readable black text */
  .pnlw-submit {
    min-height: 48px !important;
    height: 48px !important;

    border-radius: 15px !important;

    background:
      linear-gradient(180deg, #d7ff55 0%, #AAFF00 48%, #8bd900 100%) !important;

    color: #050505 !important;

    border: 1px solid rgba(202,255,65,.78) !important;

    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: .13em !important;

    box-shadow:
      0 0 24px rgba(170,255,0,.22),
      0 12px 24px rgba(0,0,0,.38),
      inset 0 1px 0 rgba(255,255,255,.46),
      inset 0 -1px 0 rgba(0,0,0,.18) !important;
  }

  .pnlw-submit:hover {
    background:
      linear-gradient(180deg, #e5ff7a 0%, #baff16 48%, #95e500 100%) !important;

    color: #050505 !important;

    box-shadow:
      0 0 32px rgba(170,255,0,.30),
      0 14px 30px rgba(0,0,0,.44),
      inset 0 1px 0 rgba(255,255,255,.52) !important;
  }

  .pnlw-submit:active {
    transform: scale(.975) !important;
  }

  /* Footer text */
  .pnlw-footer {
    padding: 0 14px 14px !important;
    color: rgba(255,255,255,.36) !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  .pnlw-footer a {
    color: rgba(170,255,0,.78) !important;
    font-weight: 850 !important;
    text-decoration: none !important;
  }
}
/* PREPSNEXT LOGIN WIDGET — LOGIN + SIGNUP BUTTON ROW */
.pnlw-auth-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 8px !important;
}

.pnlw-auth-actions .pnlw-submit,
.pnlw-signup-btn {
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-decoration: none !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

/* Login button keeps AJAX because it still has .pnlw-do-login */
.pnlw-submit--login {
  background: linear-gradient(180deg, #d7ff55 0%, #AAFF00 48%, #8bd900 100%) !important;
  color: #050505 !important;
  border: 1px solid rgba(202,255,65,.78) !important;
  box-shadow:
    0 0 24px rgba(170,255,0,.22),
    0 12px 24px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.46),
    inset 0 -1px 0 rgba(0,0,0,.18) !important;
}

/* Signup button links to /prepsnext-register/ */
.pnlw-signup-btn {
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(10,10,10,.82) !important;
  color: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow:
    0 12px 24px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px rgba(170,255,0,.06) !important;
}

.pnlw-signup-btn:hover {
  color: #AAFF00 !important;
  border-color: rgba(170,255,0,.38) !important;
}

@media (max-width: 1003px) {
  .pnlw-auth-actions {
    gap: 8px !important;
  }

  .pnlw-auth-actions .pnlw-submit,
  .pnlw-signup-btn {
    min-height: 48px !important;
    height: 48px !important;
    font-size: 10.5px !important;
  }
}
/* CTA replacing trophy */
.pnlw-auth-logo {
  display: none !important;
}

.pnlw-auth-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto 10px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(170,255,0,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    rgba(8,8,8,.72) !important;
  border: 1px solid rgba(170,255,0,.28) !important;
  color: #AAFF00 !important;
  box-shadow:
    0 0 22px rgba(170,255,0,.12),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .13em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* Login + Signup buttons side by side */
.pnlw-auth-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 8px !important;
}

.pnlw-auth-actions .pnlw-submit,
.pnlw-signup-btn {
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-decoration: none !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.pnlw-submit--login {
  background: linear-gradient(180deg, #d7ff55 0%, #AAFF00 48%, #8bd900 100%) !important;
  color: #050505 !important;
  border: 1px solid rgba(202,255,65,.78) !important;
}

.pnlw-signup-btn {
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(10,10,10,.82) !important;
  color: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

.pnlw-signup-btn:hover {
  color: #AAFF00 !important;
  border-color: rgba(170,255,0,.38) !important;
}
