/* Fonts — pn-fonts.css loaded by enqueue_scripts, variables available globally */
/* ════════════════════════════════════════════════════════════════════════════
   PrepsNext Threads — Social Feed Stylesheet
   Design: Dark / neon-lime, Threads + Reddit + ESPN mashup
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  --pnt-bg:         #0e0e0e;
  --pnt-card:       #161616;
  --pnt-surface:    #1e1e1e;
  --pnt-surface2:   #262626;
  --pnt-border:     rgba(255,255,255,0.08);
  --pnt-accent:     #AAFF00;
  --pnt-accent-dim: #7ACC00;
  --pnt-red:        #FF4D4D;
  --pnt-gold:       #FFD700;
  --pnt-blue:       #4A8FFF;
  --pnt-text:       #F0F0F0;
  --pnt-muted:      #888;
  --pnt-radius:     14px;
  --pnt-radius-sm:  8px;
  --pnt-nav-h:      58px;
  --pnt-tabs-h:     50px; /* mobile tabs bar height */
  --pnt-sidebar-w:  240px;
  --pnt-max:        1280px;
  --pnt-shadow:     0 2px 16px rgba(0,0,0,0.6);
  --pnt-transition: 0.18s ease;
}

/* ════════════════════════════════════════════════════════════════
   APP-WIDE TAP HIGHLIGHT KILL — mobile browsers show a blue/grey
   flash on any element tapped. Suppress it everywhere.
   ════════════════════════════════════════════════════════════════ */
.pnt-app *,
.pnt-app *::before,
.pnt-app *::after {
  -webkit-tap-highlight-color: transparent;
  /*
   * FIX: -webkit-touch-callout: none was here (applied to EVERY element).
   * On iOS, setting this on a wildcard selector causes the OS screenshot
   * compositor to treat the entire page as DRM-protected → black screenshot.
   * It is now scoped only to specific interactive elements (buttons, tabs)
   * where long-press callout menus are genuinely undesirable.
   */
}

/* Restore text selection for content nodes */
.pnt-app p,
.pnt-app .pnt-thread-body,
.pnt-app .pnt-comment-body,
.pnt-app .pnt-profile-bio {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

/* ── Mobile viewport: prevent horizontal overflow / white right edge ── */
html {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  max-width: 100%;
  /* overflow-x:hidden removed from body — combined with position:relative it
     breaks position:fixed overlays (sport picker modal) in WebKit/Blink.
     Horizontal overflow is already clipped by html { overflow-x:hidden }. */
  touch-action: pan-y;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-x: none;
  /* position:relative removed — creates a containing block that offsets
     position:fixed children away from the true viewport. */
}

/* ── Reset ─────────────────────────────────────────────────────── */
.pnt-app *, .pnt-auth-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
.pnt-app a { text-decoration: none; color: inherit; }
.pnt-app button { cursor: pointer; border: none; background: none; font-family: inherit; }
.pnt-app textarea, .pnt-app input, .pnt-app select {
  font-family: var(--pn-font-body);
  font-size: 15px;
  color: var(--pnt-text);
}

/* ════════════════════════════════════════════════════════════════
   APP SHELL
   ════════════════════════════════════════════════════════════════ */
.pnt-app {
  background: var(--pnt-bg);
  color: var(--pnt-text);
  font-family: var(--pn-font-body);
  min-height: 100vh;
  /* Contain all children horizontally — prevents any child
     from creating a horizontal scrollbar or white right strip */
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* ── Top Nav — static header, scrolls with page ── */
.pnt-nav {
  position: static;
  z-index: 10;
  height: var(--pnt-nav-h);
  background: rgba(14,14,14,0.98);
  border-bottom: 1px solid var(--pnt-border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible; /* allow notification panel to drop below nav */
}
/* Neutralise any JS-added hidden class — nav is no longer fixed */
.pnt-nav--hidden { transform: none !important; }

/* ── Logo clone injected into bottom tabs bar on scroll — REMOVED ── */
.pnt-bottom-logo {
  display: none !important;
}
.pnt-bottom-logo .pnt-nav-logo-img {
  max-height: 24px;
  width: auto;
  object-fit: contain;
  display: block;
}
.pnt-bottom-logo .pnt-logo-icon {
  font-size: 16px;
  line-height: 1;
}
.pnt-bottom-logo .pnt-logo-text {
  font-family: var(--pn-font-display);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--pnt-accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@keyframes pnt-logo-slide-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Mobile tabs bar: BOTTOM of screen, always visible ── */
@media (max-width: 900px) {
  .pnt-mobile-tabs-wrap {
    /* Override the sticky/fixed-top from base + previous rule */
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0; right: 0;
    width: 100%;
    z-index: 490 !important;
    /* Border on top instead of bottom */
    border-bottom: none;
    border-top: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.35);
    /* Always visible — never translate out of view */
    transform: translateY(0) !important;
    will-change: auto;
    /* Add bottom padding for iOS home indicator */
    padding-bottom: env(safe-area-inset-bottom, 0px);
    /* Let inner .pnt-mobile-tabs scroll horizontally */
    overflow: hidden;
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
  }
  /* The inner scrollable track takes all remaining space after the logo */
  .pnt-mobile-tabs {
    flex: 1;
    min-width: 0;
    overflow-x: auto !important;    /* must be auto, not hidden */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;          /* Firefox */
  }
  .pnt-mobile-tabs::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
  /* Visible state — kept for JS compat, no-op since always visible */
  .pnt-mobile-tabs-wrap--visible {
    transform: translateY(0) !important;
  }
  /* Slide indicator now goes on TOP since bar is at bottom */
  .pnt-mobile-tab-indicator {
    bottom: auto;
    top: 0;
    border-radius: 0 0 2px 2px;
  }
  /* Add bottom padding to feed so last posts aren't hidden under the bar */
  .pnt-main {
    padding-bottom: calc(var(--pnt-tabs-h) + env(safe-area-inset-bottom, 0px));
  }
}

.pnt-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}
.pnt-logo-icon { font-size: 22px; }
.pnt-logo-text {
  font-family: var(--pn-font-display);
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--pnt-accent);
  letter-spacing: 0.04em;
}

.pnt-nav-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pnt-nav-tabs::-webkit-scrollbar { display: none; }

.pnt-nav-tab {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pnt-muted);
  transition: background var(--pnt-transition), color var(--pnt-transition);
  white-space: nowrap;
  background: transparent;
  border: none;
}
.pnt-nav-tab:hover { background: var(--pnt-surface); color: var(--pnt-text); }
.pnt-nav-tab--active { background: var(--pnt-surface2); color: var(--pnt-text); }

.pnt-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative; /* anchor for notification panel absolute positioning */
}

/* ── My Profile button — visible in header nav ────────────────── */
/* ── Desktop: merged avatar + "My Profile" label ──────────────── */
.pnt-nav-avatar-merged {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.pnt-nav-avatar-merged:hover {
  background: rgba(170,255,0,0.08);
  border-color: rgba(170,255,0,0.3);
}
.pnt-nav-avatar-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--pnt-text);
  transition: color 0.15s;
}
.pnt-nav-avatar-merged:hover .pnt-nav-avatar-label {
  color: var(--pnt-accent);
}

/* ── Mobile (≤768px): avatar pill only — hide text label ──────── */
@media (max-width: 768px) {
  /* Shrink pill to just avatar — no text, no right padding */
  .pnt-nav-avatar-merged {
    padding: 3px 3px;
    gap: 0;
    border-radius: 50%;
    border-width: 2px;
    border-color: rgba(170,255,0,0.35);
    background: transparent;
  }
  .pnt-nav-avatar-merged:hover {
    border-color: var(--pnt-accent);
    background: transparent;
  }
  .pnt-nav-avatar-label {
    display: none;
  }
  /* Ensure nav avatar is properly sized */
  .pnt-avatar--nav {
    width: 32px !important;
    height: 32px !important;
  }
}

/* ── Very small (≤400px): shrink further ─────────────────────── */
@media (max-width: 400px) {
  .pnt-avatar--nav {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ── Legacy mobile-only icon button — kept for backward compat ── */
.pnt-nav-my-profile-btn--mobile { display: none; }
.pnt-nav-my-profile-btn         { display: none; }

/* ── Logout button — icon+label on desktop, icon-only on mobile ── */
.pnt-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pnt-logout-icon { flex-shrink: 0; }
@media (max-width: 620px) {
  .pnt-logout-label { display: none; }
  .pnt-logout-btn {
    padding: 7px !important;
    border-radius: 50% !important;
    gap: 0;
  }
  .pnt-logout-icon {
    width: 16px;
    height: 16px;
  }
}

/* ── Layout ────────────────────────────────────────────────────── */
.pnt-layout {
  display: grid;
  grid-template-columns: var(--pnt-sidebar-w) 1fr var(--pnt-sidebar-w);
  gap: 0;
  max-width: var(--pnt-max);
  width: 100%;          /* never exceed viewport */
  margin: 0 auto;
  padding: 0 16px;
  align-items: start;
  box-sizing: border-box; /* padding included in width — no overflow */
  overflow-x: hidden;     /* belt-and-suspenders clip */
}

.pnt-main {
  border-left: 1px solid var(--pnt-border);
  border-right: 1px solid var(--pnt-border);
  min-height: calc(100vh - var(--pnt-nav-h));
  padding-top: 16px;
}

/* ── Sidebars ──────────────────────────────────────────────────── */
.pnt-sidebar {
  position: sticky;
  top: 16px;
  padding: 20px 16px;
}

.pnt-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pnt-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--pnt-radius-sm);
  font-size: 16px;
  font-weight: 600;
  color: var(--pnt-muted);
  transition: background var(--pnt-transition), color var(--pnt-transition);
}
.pnt-sidebar-link:hover, .pnt-sidebar-link--active {
  background: var(--pnt-surface);
  color: var(--pnt-text);
}
.pnt-sidebar-link--active { color: var(--pnt-accent); }
.pnt-sidebar-link svg { flex-shrink: 0; }

/* ── Approval Banner ───────────────────────────────────────────── */
.pnt-approval-banner {
  margin-top: 20px;
  background: var(--pnt-surface);
  border: 1px solid var(--pnt-border);
  border-left: 3px solid var(--pnt-accent);
  border-radius: var(--pnt-radius-sm);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  font-size: 13px;
}
.pnt-approval-banner span { font-size: 20px; flex-shrink: 0; }
.pnt-approval-banner strong { display: block; color: var(--pnt-text); margin-bottom: 2px; }
.pnt-approval-banner p { color: var(--pnt-muted); line-height: 1.4; }

/* ── Widget ────────────────────────────────────────────────────── */
.pnt-widget {
  background: var(--pnt-card);
  border: 1px solid var(--pnt-border);
  border-radius: var(--pnt-radius);
  padding: 16px;
  margin-bottom: 16px;
}
.pnt-widget-title {
  font-family: var(--pn-font-display);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(240,240,240,0.85);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  display: block;
  max-width: 100%;
}
.pnt-widget-athlete {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--pnt-border);
  transition: opacity var(--pnt-transition);
}
.pnt-widget-athlete:last-child { border-bottom: none; }
.pnt-widget-athlete:hover { opacity: 0.8; }
.pnt-widget-athlete-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.pnt-widget-athlete-meta { font-size: 12px; color: var(--pnt-muted); margin-top: 1px; }
.pnt-widget-empty { color: var(--pnt-muted); font-size: 13px; }

.pnt-footer-links { font-size: 12px; color: var(--pnt-muted); margin-top: 8px; }
.pnt-footer-links a { color: var(--pnt-muted); }
.pnt-footer-links a:hover { color: var(--pnt-accent); }

/* ════════════════════════════════════════════════════════════════
   COMPOSE BOX
   ════════════════════════════════════════════════════════════════ */
.pnt-compose-card {
  border-bottom: 1px solid var(--pnt-border);
  padding: 16px 20px;
}
.pnt-compose-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pnt-compose-fields { flex: 1; min-width: 0; }

.pnt-compose-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--pnt-text);
  font-size: 16px;
  line-height: 1.5;
  resize: none;
  padding: 4px 0;
  min-height: 52px;
}
.pnt-compose-textarea::placeholder { color: var(--pnt-muted); }
.pnt-compose-textarea:focus { min-height: 80px; }

.pnt-compose-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--pnt-border);
}
.pnt-compose-tools { display: flex; align-items: center; gap: 8px; }
.pnt-compose-right { display: flex; align-items: center; gap: 10px; }

.pnt-tool-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pnt-accent);
  transition: background var(--pnt-transition);
  cursor: pointer;
}
.pnt-tool-btn:hover { background: rgba(170,255,0,0.1); }

.pnt-sport-select {
  background: var(--pnt-surface);
  border: 1px solid var(--pnt-border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--pnt-muted);
  cursor: pointer;
  outline: none;
  transition: border-color var(--pnt-transition);
}
.pnt-sport-select:focus { border-color: var(--pnt-accent); }

.pnt-char-count { font-size: 13px; color: var(--pnt-muted); }
.pnt-char-count.pnt-char-warning { color: #FF9900; }
.pnt-char-count.pnt-char-danger  { color: var(--pnt-red); }

.pnt-compose-img-preview img {
  max-width: 280px;
  max-height: 200px;
  border-radius: var(--pnt-radius-sm);
  margin-top: 10px;
  border: 1px solid var(--pnt-border);
  object-fit: cover;
}
.pnt-compose-img-remove {
  background: rgba(0,0,0,0.7);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  margin-left: 6px;
  font-size: 12px;
}

/* Guest CTA */
.pnt-guest-cta {
  border-bottom: 1px solid var(--pnt-border);
  padding: 20px;
}
.pnt-guest-cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--pnt-surface);
  border-radius: var(--pnt-radius);
  padding: 16px;
}
.pnt-guest-cta-icon { font-size: 32px; flex-shrink: 0; }
.pnt-guest-cta-inner strong { font-size: 16px; font-weight: 700; display: block; margin-bottom: 2px; }
.pnt-guest-cta-inner p { font-size: 13px; color: var(--pnt-muted); }
.pnt-guest-cta-actions { display: flex; gap: 8px; flex-shrink: 0; margin-left: auto; }
/* Feed intro — updated copy layout */
.pnt-feed-intro-title { font-size: 16px; font-weight: 700; display: block; margin-bottom: 4px; }
.pnt-guest-cta-body p { font-size: 13px; color: var(--pnt-muted); margin: 0 0 10px; }
.pnt-feed-intro-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Share button — in the meta row next to timestamp */
.pnt-share-btn--meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 2px 4px;
  color: var(--pnt-muted);
  opacity: 0.5;
  cursor: pointer;
  border-radius: 4px;
  transition: opacity 0.15s, color 0.15s;
  margin-left: 6px;
  vertical-align: middle;
}
.pnt-share-btn--meta:hover { opacity: 1; color: var(--pnt-accent); }

/* Mobile actions row — tighten padding on small screens */
@media (max-width: 640px) {
  .pnt-action-btn { padding: 6px 7px; }
  .pn-props-wrap { gap: 1px; }
}

/* ════════════════════════════════════════════════════════════════
   FEED TABS (legacy mobile — hidden, kept for JS compat)
   ════════════════════════════════════════════════════════════════ */
.pnt-feed-tabs-mobile { display: none; gap: 0; border-bottom: 1px solid var(--pnt-border); }
.pnt-feed-tab { flex: 1; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--pnt-muted);
  border-bottom: 2px solid transparent; transition: color var(--pnt-transition), border-color var(--pnt-transition); background: none; }
.pnt-feed-tab--active { color: var(--pnt-text); border-bottom-color: var(--pnt-accent); }

/* ════════════════════════════════════════════════════════════════
   INSTAGRAM-STYLE MOBILE SWIPE TABS  (.pnt-mobile-tabs-*)
   — Shown only on mobile (≤ 900px)
   — Horizontally scrollable, momentum-based on iOS
   — Active tab has an animated lime underline indicator
   ════════════════════════════════════════════════════════════════ */
.pnt-mobile-tabs-wrap {
  display: none;            /* hidden on desktop */
  position: sticky;
  top: var(--pnt-nav-h);   /* stick right below the nav bar */
  z-index: 200;
  width: 100%;              /* never wider than viewport */
  max-width: 100vw;         /* hard cap */
  overflow: visible;        /* allow inner scroll without clipping logo */
  box-sizing: border-box;
  background: var(--pnt-glass-bg, rgba(14,14,14,0.90));
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03), 0 4px 16px rgba(0,0,0,0.25);
}
.pnt-mobile-tabs {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow-x: auto;         /* scrollable when many sports are added */
  overflow-y: hidden;
  /* Horizontal scroll only — vertical is handled by the page */
  touch-action: pan-x;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;         /* for the indicator */
  padding: 0 4px;
  width: 100%;
  box-sizing: border-box;
  /* Ensure tabs don't wrap — they scroll instead */
  flex-wrap: nowrap;
}
.pnt-mobile-tabs::-webkit-scrollbar { display: none; }

/* Individual tab button */
.pnt-mobile-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
  padding: 8px 16px 10px;
  background: none;
  border: none;
  cursor: pointer;
  scroll-snap-align: start;
  transition: opacity 0.18s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
@media (hover: none) and (pointer: coarse) {
  .pnt-mobile-tab:active {
    opacity: 0.6;
    transform: scale(0.91);
    transition: transform 0.08s ease, opacity 0.08s ease;
  }
}

/* Icon (emoji) */
.pnt-mobile-tab-icon {
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
  color: var(--pnt-muted);
}
.pnt-mobile-tab--active .pnt-mobile-tab-icon {
  transform: scale(1.15);
  color: var(--pnt-accent, #AAFF00);
}

/* Label text */
.pnt-mobile-tab-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--pnt-muted);
  white-space: nowrap;
  transition: color 0.18s;
  font-family: var(--pn-font-display);
}
.pnt-mobile-tab--active .pnt-mobile-tab-label {
  color: var(--pnt-text, #f0f0f0);
}

/* Sliding indicator line */
.pnt-mobile-tab-indicator {
  position: absolute;
  bottom: 0;
  height: 2.5px;
  background: var(--pnt-accent, #AAFF00);
  border-radius: 2px 2px 0 0;
  transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(170,255,0,0.55);
  pointer-events: none;
  will-change: left, width;
}

/* Show mobile tabs on small screens */
@media (max-width: 900px) {
  .pnt-mobile-tabs-wrap {
    display: block;
    width: 100%;        /* never wider than viewport */
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}

/* ════════════════════════════════════════════════════════════════
   AVATARS
   ════════════════════════════════════════════════════════════════ */
.pnt-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--pnt-surface2);
  border: 2px solid var(--pnt-border);
  display: block;
}
.pnt-avatar--sm  { width: 32px; height: 32px; }
.pnt-avatar--xs  { width: 22px; height: 22px; }
.pnt-avatar--nav { width: 34px; height: 34px; }

/* Top Prospect lime ring — used on feed cards + widget cards */
.pnt-avatar--top-prospect {
  border: 2px solid #AAFF00 !important;
  box-shadow: 0 0 0 2px rgba(170,255,0,0.35), 0 0 12px rgba(170,255,0,0.22);
}

/* Top Prospect label pill on profile avatar (below the ring) */
.pnt-prospect-avatar-label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #AAFF00, #88dd00);
  color: #000;
  font-size: 9px;
  font-weight: 900;
  font-family: var(--pn-font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(170,255,0,0.40);
  z-index: 3;
}
.pnt-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--pnt-accent);
  background: var(--pnt-surface2);
}
.pnt-avatar--sm.pnt-avatar--placeholder { font-size: 13px; }
.pnt-avatar--xs.pnt-avatar--placeholder { font-size: 10px; }

/* ════════════════════════════════════════════════════════════════
   THREAD CARDS
   ════════════════════════════════════════════════════════════════ */
.pnt-thread-card {
  border-bottom: 1px solid var(--pnt-border);
  padding: 16px 20px;
  transition: background var(--pnt-transition);
  cursor: pointer;
}
.pnt-thread-card:hover { background: rgba(255,255,255,0.02); }
.pnt-thread-card--detail { cursor: default; }
.pnt-thread-card--detail:hover { background: transparent; }

.pnt-repost-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--pnt-muted);
  font-weight: 600;
  margin-bottom: 8px;
  padding-left: 54px;
}

.pnt-thread-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pnt-thread-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 42px;
}

.pnt-thread-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: var(--pnt-border);
  margin-top: 4px;
  border-radius: 1px;
}

.pnt-thread-right { flex: 1; min-width: 0; }

.pnt-thread-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.pnt-author-info {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;   /* single row: name + badge + sport tag */
  min-width: 0;
  overflow: hidden;
}
/* Name always stays on its own row — never shrinks or clips */
.pnt-author-info .pnt-author-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 0;      /* don't compress the name; let chips wrap instead */
}
/* Badges: never shrink, stay beside the name */
.pnt-author-info .pnt-badge,
.pnt-author-info .pnt-vbadge {
  flex-shrink: 0;
}
/* Sport tag: never shrink or clip — always show full sport name */
.pnt-author-info .pnt-sport-tag {
  flex-shrink: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: visible;
}
/* Entity chips (school/team): always start a new flex row so they never
   push the name sideways. Use a full-width invisible break before them. */
.pnt-author-info .pnt-entity-chip {
  margin-left: 0;     /* reset the old left margin — gap handles spacing */
}

.pnt-author-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--pnt-text);
  transition: color var(--pnt-transition);
}
.pnt-author-name:hover { color: var(--pnt-accent); }
.pnt-author-name--sm { font-size: 13px; }

.pnt-thread-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pnt-time { font-size: 13px; color: var(--pnt-muted); }
.pnt-time--sm { font-size: 11px; }

.pnt-sport-tag {
  font-size: 12px;
  color: var(--pnt-muted);
  background: var(--pnt-surface2);
  padding: 2px 8px;
  border-radius: 10px;
}

.pnt-hashtag {
  display: inline-block;
  font-size: 13px;
  color: var(--pnt-accent);
  font-weight: 600;
  margin-bottom: 4px;
}

/* ── Entity chips inline in author-info row are redundant when
   the entity-attribution chip already shows below the header.
   Hide them globally; they caused the blank white-box bug. ── */
.pnt-author-info .pnt-entity-chip {
  display: none !important;
}

/* ── School / Team clickable chips in thread cards ── */
.pnt-entity-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  margin-left: 4px;
}
.pnt-entity-chip--school {
  background: rgba(170,255,0,0.08);
  color: rgba(170,255,0,0.7);
  border: 1px solid rgba(170,255,0,0.15);
}
.pnt-entity-chip--school:hover {
  background: rgba(170,255,0,0.15);
  color: #AAFF00;
}
.pnt-entity-chip--team-feed {
  background: rgba(59,130,246,0.08);
  color: rgba(96,165,250,0.7);
  border: 1px solid rgba(59,130,246,0.15);
}
.pnt-entity-chip--team-feed:hover {
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
}

.pnt-thread-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--pnt-text);
  word-break: break-word;
  margin-bottom: 10px;
}

.pnt-thread-media {
  margin: 8px 0 12px;
  border-radius: var(--pnt-radius-sm);
  overflow: hidden;
  display: inline-block;
  max-width: 100%;
}
.pnt-thread-img {
  display: block;
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  border-radius: var(--pnt-radius-sm);
  object-fit: cover;
}

/* Quote thread */
.pnt-quote-thread {
  border: 1px solid var(--pnt-border);
  border-radius: var(--pnt-radius-sm);
  padding: 12px;
  margin: 8px 0 12px;
  background: var(--pnt-surface);
}
.pnt-quote-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.pnt-quote-body { font-size: 14px; color: var(--pnt-text); line-height: 1.4; }
.pnt-quote-img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 6px;
  margin-top: 8px;
  object-fit: cover;
}

/* ── Action bar ────────────────────────────────────────────────── */
.pnt-thread-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  margin-left: -6px;
  flex-wrap: nowrap;
}

.pnt-action-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--pnt-muted);
  transition: color var(--pnt-transition), background var(--pnt-transition), transform 0.1s ease, opacity 0.1s ease;
  border: none;
  background: none;
  /* Kill browser tap highlight — we handle press state ourselves */
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.pnt-action-btn:hover { background: var(--pnt-surface); color: var(--pnt-text); }

/* Native-feeling press state — scales down slightly like iOS */
@media (hover: none) and (pointer: coarse) {
  .pnt-action-btn:active {
    transform: scale(0.94);
    opacity: 0.75;
    background: transparent !important;
    transition: transform 0.08s ease, opacity 0.08s ease;
  }
}
.pnt-action-btn--xs { padding: 4px 8px; font-size: 12px; }

.pnt-action-count { font-size: 13px; font-weight: 600; }

/* Liked state */
/* Liked/Props state — accent colour (Props are sports-positive, not heart-red) */
.pnt-like-btn.pnt-liked { color: var(--pnt-accent) !important; }
.pnt-like-btn:hover { color: var(--pnt-accent) !important; background: rgba(170,255,0,0.07) !important; }

/* Reposted state */
.pnt-repost-btn.pnt-reposted { color: var(--pnt-accent) !important; }
.pnt-repost-btn:hover { color: var(--pnt-accent) !important; background: rgba(170,255,0,0.08) !important; }

/* Locked action */
.pnt-action--locked { opacity: 0.4; pointer-events: none; }

/* Delete btn */
.pnt-btn-icon {
  background: none;
  border: none;
  color: var(--pnt-muted);
  padding: 4px;
  border-radius: 4px;
  transition: color var(--pnt-transition), background var(--pnt-transition);
  line-height: 1;
}
.pnt-btn-icon:hover { color: var(--pnt-red); background: rgba(255,77,77,0.1); }

/* ════════════════════════════════════════════════════════════════
   BADGES  — decorative only, non-selectable, non-copyable
   ════════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════════
   PROFESSIONAL BADGE SYSTEM — redesigned
   Badges use pill shape with color-coded backgrounds and glows.
   ════════════════════════════════════════════════════════════════ */
.pnt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
  vertical-align: middle;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  position: relative;
  border: 1px solid transparent;
  line-height: 1.4;
  transition: box-shadow 0.2s;
}
/* Badge img inside .pnt-badge */
.pnt-badge img {
  width: 12px !important;
  height: 12px !important;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
}
/* Enable pointer-events on badge span so CSS tooltip fires */
.pnt-badge[title] { pointer-events: auto; }
.pnt-badge[title]:hover {
    box-shadow: 0 0 12px var(--badge-glow, rgba(255,255,255,0.2));
}
.pnt-badge[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #f0f0f0;
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  font-family: var(--pn-font-body);
}
/* Inline badges sizes */
.pnt-author-info .pnt-badge { padding: 1px 5px; font-size: 9px; }
.pnt-author-info .pnt-badge img { width: 11px !important; height: 11px !important; }
.pnt-profile-name-row .pnt-badge img { width: 13px !important; height: 13px !important; }

/* ── Professional badge color variants ── */
.pnt-badge--verified {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  border-color: rgba(59,130,246,0.5);
  --badge-glow: rgba(59,130,246,0.5);
}
.pnt-badge--riser {
  background: linear-gradient(135deg, #c2410c, #f97316);
  color: #fff;
  border-color: rgba(249,115,22,0.5);
  --badge-glow: rgba(249,115,22,0.5);
}
.pnt-badge--featured {
  background: linear-gradient(135deg, #b45309, #fbbf24);
  color: #000;
  border-color: rgba(251,191,36,0.5);
  --badge-glow: rgba(251,191,36,0.5);
}
.pnt-badge--committed {
  background: linear-gradient(135deg, #1e40af, #60a5fa);
  color: #fff;
  border-color: rgba(96,165,250,0.4);
  --badge-glow: rgba(96,165,250,0.4);
}
.pnt-badge--signed {
  background: linear-gradient(135deg, #166534, #22c55e);
  color: #fff;
  border-color: rgba(34,197,94,0.4);
  --badge-glow: rgba(34,197,94,0.4);
}
.pnt-badge--radar {
  background: linear-gradient(135deg, #4b5563, #9ca3af);
  color: #fff;
  border-color: rgba(156,163,175,0.3);
  --badge-glow: rgba(156,163,175,0.3);
}
.pnt-badge--gold {
  background: linear-gradient(135deg, #854d0e, #fde68a);
  color: #000;
  border-color: rgba(253,230,138,0.5);
  --badge-glow: rgba(253,230,138,0.5);
}

/* ════════════════════════════════════════════════════════════════
   COMMENTS
   ════════════════════════════════════════════════════════════════ */
.pnt-comments-section {
  margin-top: 12px;
  border-top: 1px solid var(--pnt-border);
  padding-top: 14px;
}

.pnt-comment-form {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.pnt-comment-input-wrap { flex: 1; min-width: 0; }

.pnt-comment-input {
  width: 100%;
  background: var(--pnt-surface);
  border: 1px solid var(--pnt-border);
  border-radius: var(--pnt-radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--pnt-text);
  resize: none;
  outline: none;
  transition: border-color var(--pnt-transition);
  min-height: 40px;
}
.pnt-comment-input:focus {
  border-color: var(--pnt-accent);
  min-height: 80px;
}
.pnt-comment-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.pnt-comment-img-label {
  color: var(--pnt-accent);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}
.pnt-comment-img-label:hover { background: rgba(170,255,0,0.08); }
.pnt-comment-img-preview img {
  max-width: 150px;
  max-height: 100px;
  border-radius: 6px;
  margin-top: 6px;
  object-fit: cover;
  border: 1px solid var(--pnt-border);
}

.pnt-comments-list { display: flex; flex-direction: column; gap: 0; }

.pnt-comment {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--pnt-border);
}
.pnt-comment:last-child { border-bottom: none; }
.pnt-comment--reply { padding-left: 32px; }

.pnt-comment-body-wrap { flex: 1; min-width: 0; }
.pnt-comment-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.pnt-comment-text { font-size: 14px; line-height: 1.5; color: var(--pnt-text); }
.pnt-comment-img { max-width: 200px; max-height: 150px; border-radius: 6px; margin-top: 6px; object-fit: cover; }
.pnt-comment-actions { display: flex; gap: 4px; margin-top: 6px; }

.pnt-approval-notice {
  font-size: 13px;
  color: var(--pnt-muted);
  padding: 10px 0;
}
.pnt-approval-notice a { color: var(--pnt-accent); }

/* ════════════════════════════════════════════════════════════════
   NOTIFICATIONS
   ════════════════════════════════════════════════════════════════ */
.pnt-notif-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--pnt-muted);
  padding: 6px;
  border-radius: 50%;
  transition: color var(--pnt-transition), background var(--pnt-transition);
  cursor: pointer;
}
.pnt-notif-btn:hover { color: var(--pnt-text); background: var(--pnt-surface); }
.pnt-notif-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--pnt-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════
   LIQUID GLASS NOTIFICATION DRAWER
   ════════════════════════════════════════════════════════════════ */

/* Scrim — full-viewport dimmer behind the drawer */
.pnt-nd-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}
.pnt-nd-scrim.pnt-nd--open {
  display: block;
  background: rgba(0,0,0,0.45);
}

/* Drawer shell */
.pnt-nd {
  position: fixed;
  z-index: 10001;
  /* Desktop: drops from top-right corner */
  top: calc(var(--pnt-nav-h) + 10px);
  right: 20px;
  width: 370px;
  max-height: min(560px, calc(100vh - var(--pnt-nav-h) - 30px));
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  /* Liquid glass */
  background: rgba(18,18,18,0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.07) inset,
    0 24px 64px rgba(0,0,0,0.75),
    0 4px 16px rgba(0,0,0,0.5);
  /* Hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 0.26s cubic-bezier(0.4,0,0.2,1),
    transform 0.26s cubic-bezier(0.4,0,0.2,1);
}
.pnt-nd.pnt-nd--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Handle bar (mobile swipe indicator) */
.pnt-nd-handle-bar {
  display: none;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  margin: 10px auto 0;
  flex-shrink: 0;
  cursor: grab;
}

/* Header */
.pnt-nd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pnt-nd-title {
  font-family: var(--pn-font-body);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.pnt-nd-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  border: none;
  color: rgba(240,240,240,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.pnt-nd-close:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* Scrollable body */
.pnt-nd-body {
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.pnt-nd-body::-webkit-scrollbar { width: 4px; }
.pnt-nd-body::-webkit-scrollbar-track { background: transparent; }
.pnt-nd-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
}

/* Loading state */
.pnt-nd-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 20px;
  color: rgba(240,240,240,0.45);
  font-size: 14px;
}
.pnt-nd-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--pnt-accent);
  border-radius: 50%;
  animation: pnt-nd-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes pnt-nd-spin {
  to { transform: rotate(360deg); }
}

/* Notification list */
.pnt-nd-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 8px;
}

/* Individual item — Instagram/Threads density */
.pnt-nd-item {
  display: flex !important;   /* force flex even inside theme resets */
  align-items: center !important; /* avatar always vertically centred with text */
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.14s;
  position: relative;
  cursor: default;            /* pointer only when data-href present (set inline) */
  min-height: 56px;
  list-style: none;
  box-sizing: border-box;
  width: 100%;
}
.pnt-nd-item:hover {
  background: rgba(255,255,255,0.05);
}
.pnt-nd-item + .pnt-nd-item::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: rgba(255,255,255,0.045);
}

/* Unread accent — left glow strip */
.pnt-nd-item--unread {
  background: rgba(170,255,0,0.035);
}
.pnt-nd-item--unread::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2.5px;
  background: var(--pnt-accent, #AAFF00);
  opacity: 0.75;
}

/* Icon column — avatar circle (works as both <span> and <a>) */
.pnt-nd-icon {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  box-sizing: border-box;
  align-self: center;
}

/* Avatar variant — no grey background */
.pnt-nd-icon--avatar {
  background: transparent;
}

/* Actor profile picture */
.pnt-nd-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block !important;
  border: 1.5px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
  max-width: 44px;
}

/* Letter placeholder */
.pnt-nd-avatar-ph {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(170,255,0,0.14);
  border: 1.5px solid rgba(170,255,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #AAFF00;
  line-height: 1;
  flex-shrink: 0;
}

/* Type badge — bottom-right of avatar */
.pnt-nd-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #111;
  z-index: 2;
  pointer-events: none;
}
.pnt-nd-badge--like    { background: #FF4500; color: #fff; } /* overridden inline per reaction */
.pnt-nd-badge--comment { background: #4A8FFF; color: #fff; }
.pnt-nd-badge--repost  { background: #22c55e; color: #fff; }
.pnt-nd-badge--follow  { background: #a855f7; color: #fff; }
.pnt-nd-badge--mention { background: #f59e0b; color: #fff; }

/* Text + time — tight Instagram layout */
.pnt-nd-item-body {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  align-self: center;
}
.pnt-nd-item-text {
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(240,240,240,0.82);
  display: block;
  word-break: break-word;
  /* keep text on 2 lines max before ellipsis on very narrow screens */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.pnt-nd-item-time {
  font-size: 11px;
  color: rgba(240,240,240,0.35);
  display: block;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* Bold clickable actor name inline — Instagram/Threads style */
.pnt-nd-actor-name {
  font-weight: 700;
  color: rgba(255,255,255,0.97);
  text-decoration: none;
  transition: color 0.13s;
}
.pnt-nd-actor-name:hover {
  color: var(--pnt-accent, #AAFF00);
}

/* Empty state */
.pnt-nd-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 44px 20px;
  color: rgba(240,240,240,0.35);
  font-size: 14px;
  text-align: center;
}

/* ── Mobile: full-width sheet sliding up from bottom ── */
@media (max-width: 620px) {
  .pnt-nd {
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-height: 82vh;
    border-radius: 22px 22px 0 0;
    transform: translateY(30px) !important;
    transform-origin: bottom center;
    transition:
      opacity 0.28s cubic-bezier(0.4,0,0.2,1),
      transform 0.28s cubic-bezier(0.4,0,0.2,1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    /* Solid glass on mobile — backdrop-filter alone looks too dark */
    background: rgba(22,22,22,0.96);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow:
      0 -4px 32px rgba(0,0,0,0.6),
      0 0 0 0.5px rgba(255,255,255,0.07) inset;
  }
  .pnt-nd.pnt-nd--open {
    transform: translateY(0) !important;
  }
  .pnt-nd-handle-bar { display: block; }

  /* Mobile: tighter, Instagram-style rows */
  .pnt-nd-item {
    padding: 9px 14px;
    gap: 10px;
    align-items: center;
    min-height: 52px;
  }
  .pnt-nd-item + .pnt-nd-item::before {
    left: 14px;
    right: 14px;
  }
  .pnt-nd-item--unread::after {
    top: 0;
    bottom: 0;
  }
  .pnt-nd-item-text {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .pnt-nd-avatar,
  .pnt-nd-avatar-ph,
  .pnt-nd-icon {
    width: 40px;
    height: 40px;
  }
  .pnt-nd-header {
    padding: 12px 14px 10px;
  }
}

/* ════════════════════════════════════════════════════════════════
   MODALS
   ════════════════════════════════════════════════════════════════ */
.pnt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pntFadeIn 0.15s ease;
}
@keyframes pntFadeIn { from { opacity: 0; } to { opacity: 1; } }

.pnt-modal {
  background: var(--pnt-card);
  border: 1px solid var(--pnt-border);
  border-radius: var(--pnt-radius);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: pntSlideUp 0.2s ease;
}
@keyframes pntSlideUp { from { transform: translateY(20px); opacity:0; } to { transform: translateY(0); opacity:1; } }
.pnt-modal--sm { max-width: 380px; padding: 20px; }
.pnt-modal--lg { max-width: 560px; }
.pnt-modal--thread { max-width: 640px; }
.pnt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--pnt-border);
  position: sticky;
  top: 0;
  background: var(--pnt-card);
  z-index: 2;
}
.pnt-modal-header h2 { font-size: 18px; font-weight: 800; color: var(--pnt-text); margin: 0; }
.pnt-modal-body--thread { padding: 0; }
.pnt-modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 16px 0 0;
  background: var(--pnt-surface);
  border: none;
  color: var(--pnt-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  z-index: 2;
}
.pnt-modal-close:hover { background: var(--pnt-surface2); color: var(--pnt-text); }
.pnt-modal-title {
  font-family: var(--pn-font-display);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}
.pnt-modal-body { clear: both; }

/* Repost options */
.pnt-repost-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.pnt-repost-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--pnt-radius-sm);
  border: 1px solid var(--pnt-border);
  background: var(--pnt-surface);
  font-size: 14px;
  text-align: left;
  transition: border-color var(--pnt-transition), background var(--pnt-transition);
}
.pnt-repost-option:hover { border-color: var(--pnt-accent); background: var(--pnt-surface2); }
.pnt-repost-option strong { display: block; font-weight: 700; color: var(--pnt-text); }
.pnt-repost-option small { color: var(--pnt-muted); font-size: 12px; }
.pnt-repost-option svg { flex-shrink: 0; color: var(--pnt-accent); }

/* ════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════ */
.pnt-btn {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.14s, box-shadow 0.18s, opacity 0.14s;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

/* ── Accent: lime-green fill (primary action) ── */
.pnt-btn--accent {
  background: linear-gradient(135deg, #AAFF00 0%, #88DD00 100%);
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(170,255,0,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}
.pnt-btn--accent:hover {
  background: linear-gradient(135deg, #bbff33 0%, #99ee00 100%);
  box-shadow: 0 4px 18px rgba(170,255,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.pnt-btn--accent:active { transform: scale(0.97) translateY(0); box-shadow: 0 1px 6px rgba(170,255,0,0.2); }
.pnt-btn--accent:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Ghost: subtle outline (secondary action) ── */
.pnt-btn--ghost {
  background: rgba(255,255,255,0.04);
  color: rgba(240,240,240,0.82);
  border-color: rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.pnt-btn--ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.30);
  color: #fff;
  transform: translateY(-1px);
}
.pnt-btn--ghost:active { transform: scale(0.97) translateY(0); }

/* ── Following state: muted with unfollow-on-hover ── */
.pnt-following-active {
  background: rgba(255,255,255,0.07) !important;
  color: rgba(240,240,240,0.65) !important;
  border-color: rgba(255,255,255,0.12) !important;
  box-shadow: none !important;
}
.pnt-following-active:hover {
  background: rgba(255,60,60,0.12) !important;
  color: #ff5e5e !important;
  border-color: rgba(255,60,60,0.35) !important;
  box-shadow: 0 2px 10px rgba(255,60,60,0.12) !important;
  transform: translateY(-1px) !important;
}

.pnt-btn--sm      { padding: 6px 15px; font-size: 13px; border-radius: 9px; }
.pnt-btn--full    { width: 100%; }
.pnt-btn:disabled { opacity: 0.5; pointer-events: none; }

/* ════════════════════════════════════════════════════════════════
   LOADING / EMPTY
   ════════════════════════════════════════════════════════════════ */
.pnt-loading-spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--pnt-border);
  border-top-color: var(--pnt-accent);
  border-radius: 50%;
  animation: pntSpin 0.7s linear infinite;
  margin: 30px auto;
}
@keyframes pntSpin { to { transform: rotate(360deg); } }

.pnt-empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--pnt-muted);
}
.pnt-empty-icon { font-size: 48px; margin-bottom: 14px; }
.pnt-empty-state h3 { font-size: 20px; color: var(--pnt-text); margin-bottom: 8px; }
.pnt-empty-state p { font-size: 14px; }

.pnt-load-more-wrap { padding: 20px; text-align: center; }

/* ════════════════════════════════════════════════════════════════
   TOAST
   ════════════════════════════════════════════════════════════════ */
.pnt-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pnt-surface2);
  color: var(--pnt-text);
  border: 1px solid var(--pnt-border);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  box-shadow: var(--pnt-shadow);
  animation: pntToastIn 0.2s ease;
}
@keyframes pntToastIn { from { opacity:0; transform: translateX(-50%) translateY(10px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }
.pnt-toast--success { border-color: var(--pnt-accent); color: var(--pnt-accent); }
.pnt-toast--error   { border-color: var(--pnt-red);   color: var(--pnt-red);   }

/* Toast container (profile page & new system) */
.pnt-toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10000;
  pointer-events: none;
}
.pnt-toast-item {
  background: var(--pnt-surface2);
  color: var(--pnt-text);
  border: 1px solid var(--pnt-border);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--pnt-shadow);
  animation: pntToastIn 0.2s ease;
  white-space: nowrap;
}
.pnt-toast-item--success { border-color: var(--pnt-accent); color: var(--pnt-accent); }
.pnt-toast-item--error   { border-color: var(--pnt-red);   color: var(--pnt-red);   }

/* Spin animation (shared with spinner) */
@keyframes pnt-spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════════════
   PROFILE MEDIA GRID
   ════════════════════════════════════════════════════════════════ */
.pnt-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 0;
}
.pnt-media-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--pnt-surface);
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.pnt-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.18s;
}
.pnt-media-thumb:hover img { opacity: 0.8; }
@media (max-width: 480px) {
  .pnt-media-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════════════
   PROFILE REPLIES LIST
   ════════════════════════════════════════════════════════════════ */
.pnt-replies-list { display: flex; flex-direction: column; }
.pnt-reply-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--pnt-border);
}
.pnt-reply-item:last-child { border-bottom: none; }
.pnt-reply-context {
  font-size: 12px;
  color: var(--pnt-muted);
  margin-bottom: 6px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.pnt-reply-body { font-size: 15px; color: var(--pnt-text); line-height: 1.5; }
.pnt-reply-meta { font-size: 12px; color: var(--pnt-muted); margin-top: 6px; }

/* ════════════════════════════════════════════════════════════════
   AUTH PAGES
   ════════════════════════════════════════════════════════════════ */
.pnt-auth-wrap,
.pnt-auth-page {
  min-height: unset;
  background: var(--pnt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  font-family: var(--pn-font-body);
}
.pnt-auth-card {
  background: var(--pnt-card);
  border: 1px solid var(--pnt-border);
  border-radius: var(--pnt-radius);
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
}
.pnt-auth-card--wide { max-width: 560px; }

.pnt-auth-logo { text-align: center; margin-bottom: 28px; }
.pnt-auth-title {
  font-family: var(--pn-font-display);
  font-weight: 900;
  font-size: 30px;
  text-transform: uppercase;
  color: var(--pnt-text);
  margin: 8px 0 4px;
}
.pnt-auth-sub { color: var(--pnt-muted); font-size: 15px; }

.pnt-auth-form { display: flex; flex-direction: column; gap: 16px; }

.pnt-field { display: flex; flex-direction: column; gap: 6px; }
.pnt-field label { font-size: 13px; font-weight: 700; color: var(--pnt-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.pnt-field input, .pnt-field select {
  background: var(--pnt-surface);
  border: 1px solid var(--pnt-border);
  border-radius: var(--pnt-radius-sm);
  padding: 11px 14px;
  font-size: 15px;
  color: var(--pnt-text);
  outline: none;
  transition: border-color var(--pnt-transition);
  width: 100%;
}
.pnt-field input:focus, .pnt-field select:focus { border-color: var(--pnt-accent); box-shadow: 0 0 0 2px rgba(170,255,0,0.12); }
.pnt-field-row { display: flex; gap: 12px; }
.pnt-field-row .pnt-field { flex: 1; }
.pnt-field--row { flex-direction: row; align-items: center; justify-content: space-between; }
.pnt-field--agreement .pnt-checkbox-label { font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--pnt-muted); }

.pnt-input-eye { position: relative; }
.pnt-input-eye input { padding-right: 42px; }
.pnt-eye-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.5;
  transition: opacity var(--pnt-transition);
}
.pnt-eye-toggle:hover { opacity: 1; }

.pnt-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--pnt-muted);
}
.pnt-checkbox-label input { width: auto; }

.pnt-link { color: var(--pnt-accent); text-decoration: none; font-weight: 600; }
.pnt-link:hover { text-decoration: underline; }

.pnt-alert {
  padding: 12px 16px;
  border-radius: var(--pnt-radius-sm);
  font-size: 14px;
  margin-bottom: 4px;
}
.pnt-alert--error   { background: rgba(255,77,77,0.1); border: 1px solid var(--pnt-red);   color: var(--pnt-red); }
.pnt-alert--success { background: rgba(170,255,0,0.08); border: 1px solid var(--pnt-accent); color: var(--pnt-accent); }

.pnt-auth-info {
  margin-top: 16px;
  background: var(--pnt-surface);
  border-radius: var(--pnt-radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--pnt-muted);
  line-height: 1.5;
}

.pnt-auth-switch { margin-top: 20px; text-align: center; font-size: 14px; color: var(--pnt-muted); }

/* ════════════════════════════════════════════════════════════════
   ATHLETE PROFILE — THREADS TAB
   ════════════════════════════════════════════════════════════════ */
.pnt-profile-header {
  background: var(--pnt-card);
  border-bottom: 1px solid var(--pnt-border);
  padding: 28px 24px 0;
}
.pnt-profile-cover {
  height: 160px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, rgba(170,255,0,0.1) 100%);
  border-radius: var(--pnt-radius) var(--pnt-radius) 0 0;
  margin-bottom: -40px;
}
.pnt-profile-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px 0;
}
.pnt-profile-avatar-wrap { position: relative; margin-bottom: 18px; display: inline-block; }
.pnt-profile-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 4px solid var(--pnt-card);
  object-fit: cover;
  background: var(--pnt-surface2);
  display: block;
}
.pnt-profile-actions { display: flex; gap: 8px; margin-bottom: 12px; }

.pnt-follow-btn { /* Inherits .pnt-btn */ }
.pnt-follow-btn.pnt-following { background: transparent; border-color: var(--pnt-border); color: var(--pnt-text); }

.pnt-profile-name-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pnt-profile-name {
  font-family: var(--pn-font-display);
  font-weight: 900;
  font-size: 26px;
  color: var(--pnt-text);
}
.pnt-profile-username { font-size: 15px; color: var(--pnt-muted); }
.pnt-profile-bio { font-size: 15px; color: var(--pnt-text); margin: 8px 0; line-height: 1.5; max-width: 560px; }
.pnt-profile-meta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--pnt-muted);
  margin: 8px 0;
}
.pnt-profile-meta-item { display: flex; align-items: center; gap: 4px; }
.pnt-profile-stats {
  display: flex;
  gap: 20px;
  margin: 12px 0;
  font-size: 15px;
  max-width: 100%;
  overflow: hidden;
}
.pnt-profile-stat strong { font-weight: 700; color: var(--pnt-text); }
.pnt-profile-stat span   { color: var(--pnt-muted); font-size: 14px; }

.pnt-profile-tabs {
  display: flex;
  gap: 0;
  margin-top: 16px;
  border-bottom: none;
}
.pnt-profile-tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pnt-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--pnt-transition), border-color var(--pnt-transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.pnt-profile-tab:hover { color: var(--pnt-text); }
.pnt-profile-tab--active { color: var(--pnt-text); border-bottom-color: var(--pnt-accent); }

.pnt-profile-tab-content { display: none; }
.pnt-profile-tab-content--active { display: block; }

/* Alias for profile page pane class (threads-profile.php uses -pane) */
.pnt-profile-tab-pane { display: none; }
.pnt-profile-tab-pane--active { display: block; }

/* ════════════════════════════════════════════════════════════════
   ADMIN VERIFICATION BADGES  (.pnt-vbadge)
   Shown next to name on feed cards, hover cards, and profile page.
   ════════════════════════════════════════════════════════════════ */
.pnt-vbadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  cursor: default;
  line-height: 1;
  position: relative;
  top: -1px;
}
/* Badge img inside vbadge — always smaller than surrounding name text */
.pnt-vbadge img {
  width: 14px !important;
  height: 14px !important;
  pointer-events: none;
  user-select: none;
  display: block;
}
/* Tooltip via title attr — browsers handle it natively; override with CSS for style parity */
.pnt-vbadge[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e1e;
  color: #F0F0F0;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.pnt-vbadge[title] { position: relative; }

/* Colours by badge key (also set via inline style from PHP, but CSS fallback here) */
.pnt-vbadge--verified  { background: #4A8FFF; }
.pnt-vbadge--featured  { background: #FF4D4D; }
.pnt-vbadge--rising    { background: #FF8C00; }
.pnt-vbadge--prospect  { background: #AAFF00; color: #000; }
.pnt-vbadge--team-rank {
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,0.3);
    font-size: 10px;
    font-weight: 800;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media ( max-width: 1100px ) {
  /* Keep layout padding included in width (box-sizing: border-box set globally) */
  .pnt-layout { grid-template-columns: 200px 1fr 200px; padding: 0 12px; }
  .pnt-sidebar-link { font-size: 14px; gap: 8px; padding: 9px 10px; }
}

@media ( max-width: 900px ) {
  /* Two-column layout: icon sidebar + main. No side padding — grid fills 100% */
  .pnt-layout { grid-template-columns: 60px 1fr; padding: 0; width: 100%; }
  .pnt-sidebar--right { display: none; }
  .pnt-sidebar--left { padding: 16px 4px; }
  .pnt-sidebar-link span, .pnt-sidebar-link > *:not(svg) { display: none; }
  .pnt-sidebar-link { justify-content: center; padding: 10px; }
  .pnt-logo-text { display: none; }
  .pnt-nav-tabs { display: none; }
  /* Legacy feed tabs hidden in favour of new Instagram-style tabs */
  .pnt-feed-tabs-mobile { display: none !important; }
  /* New mobile tabs are shown via .pnt-mobile-tabs-wrap rule above */
}

@media ( max-width: 620px ) {
  .pnt-layout { grid-template-columns: 1fr; }
  .pnt-sidebar--left { display: none; }
  .pnt-nav { padding: 0 14px; gap: 10px; }
  .pnt-compose-card, .pnt-thread-card { padding: 12px 14px; }
  .pnt-auth-card { padding: 24px 18px; }
  .pnt-field-row { flex-direction: column; }
  .pnt-profile-cover { height: 100px; }
  .pnt-profile-avatar { width: 68px; height: 68px; }

  /* Hard-stop any horizontal overflow that causes white right strip */
  html, body,
  .pnt-app,
  .pnt-layout,
  .pnt-main,
  .pnt-nav,
  .pnt-mobile-tabs-wrap,
  .pnt-mobile-tabs {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  /* Remove layout side padding on small screens so grid never exceeds 100vw */
  .pnt-layout { padding: 0; }

  /* Prevent nav-right buttons from pushing width past 100vw */
  .pnt-nav-right {
    gap: 5px;
    flex-shrink: 1;
    min-width: 0;
  }
  /* Avatar pill stays; ensure it can't overflow */
  .pnt-nav-avatar-merged {
    flex-shrink: 0;
  }
  .pnt-nav-right .pnt-btn--sm {
    padding: 5px 10px;
    font-size: 12px;
  }

  /* Thread images + any wide media should never exceed container */
  .pnt-thread-img,
  .pnfa-widget,
  .pnw-card {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  /* Compose image preview should not overflow card */
  .pnt-compose-img-preview img { max-width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
   LIQUID-GLASS / iOS-STYLE PREMIUM THEME
   Applies translucent frosted-glass surfaces throughout the UI.
   ════════════════════════════════════════════════════════════════ */

/* ── Global glass variable overrides ── */
:root {
  --pnt-glass-bg:      rgba(20, 20, 20, 0.72);
  --pnt-glass-border:  rgba(255, 255, 255, 0.10);
  --pnt-glass-blur:    16px;
  --pnt-glass-sat:     180%;
  --pnt-glass-shadow:  0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* ── App background: subtle radial glow ── */
.pnt-app {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(170,255,0,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(74,143,255,0.04) 0%, transparent 60%),
    #0e0e0e;
}

/* ── Glass Nav ── */
.pnt-nav {
  background: var(--pnt-glass-bg);
  backdrop-filter: blur(var(--pnt-glass-blur)) saturate(var(--pnt-glass-sat));
  -webkit-backdrop-filter: blur(var(--pnt-glass-blur)) saturate(var(--pnt-glass-sat));
  border-bottom: 1px solid var(--pnt-glass-border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 20px rgba(0,0,0,0.3);
}

/* ── Glass Cards ── */
.pnt-thread-card,
.pnt-compose-card {
  background: rgba(22, 22, 22, 0.80);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.pnt-thread-card:hover {
  border-color: rgba(255,255,255,0.11);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ── Glass Modals ── */
.pnt-modal {
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
}
.pnt-modal-header {
  background: rgba(18,18,18,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── Glass Sidebar ── */
.pnt-sidebar--left {
  background: rgba(16,16,16,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pnt-sidebar--right {
  background: transparent;
}

/* ── Glass Widget ── */
.pnt-widget {
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 28px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ── Glass Auth Card ── */
.pnt-auth-card {
  background: rgba(22, 22, 22, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 72px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ── Glass Compose Textarea ── */
.pnt-compose-textarea,
.pnt-comment-input {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pnt-compose-textarea:focus,
.pnt-comment-input:focus {
  border-color: rgba(170,255,0,0.5);
  box-shadow: 0 0 0 3px rgba(170,255,0,0.08);
  background: rgba(255,255,255,0.06);
}

/* ── Glass Hover Card (supplemental — base rules live in threads-feed.php <style>) ── */
/* Only add properties not already set in the inline <style> block so there
   are no conflicts. The canonical selector for JS is #pnt-hover-popup. */
.pnt-hover-popup,
.pnt-hover-card-popup {
  /* Glass effect enhancement */
  background: rgba(18, 18, 18, 0.97);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.70), inset 0 1px 0 rgba(255,255,255,0.06);
  border-radius: 16px;
}

/* ── Glass Quote Thread ── */
.pnt-quote-thread {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── Glass Toast ── */
.pnt-toast,
.pnt-toast-item {
  background: rgba(30, 30, 30, 0.90);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* ── Accent button mobile spring feel ── */

/* Mobile — native spring feel */
@media (hover: none) and (pointer: coarse) {
  .pnt-btn:active {
    transform: scale(0.95) !important;
    opacity: 0.82;
    transition: transform 0.07s ease, opacity 0.07s ease;
  }
}

/* ════════════════════════════════════════════════════════════════
   NEWEST USERS SIDEBAR WIDGET
   ════════════════════════════════════════════════════════════════ */
.pnt-newest-users-widget {
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--pnt-radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.05);
}
.pnt-newest-users-title {
  font-size: 11px;
  font-weight: 800;
  color: rgba(240,240,240,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 1.3;
}
.pnt-newest-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: inherit;
  transition: background 0.18s, padding 0.16s;
  border-radius: 6px;
}
.pnt-newest-user-item:last-child { border-bottom: none; }
.pnt-newest-user-item:hover { opacity: 1; background: rgba(255,255,255,0.04); padding-left: 4px; }
.pnt-newest-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.10);
}
.pnt-newest-user-avatar--ph {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(170,255,0,0.10);
  border: 2px solid rgba(170,255,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #AAFF00;
  flex-shrink: 0;
}
.pnt-newest-user-info { flex: 1; min-width: 0; }
.pnt-newest-user-name {
  font-size: 13px;
  font-weight: 700;
  color: #F0F0F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.pnt-newest-user-sport {
  font-size: 11px;
  color: rgba(240,240,240,0.42);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ════════════════════════════════════════════════════════════════
   SIDEBAR SCHOOLS / TEAMS SECTION
   ════════════════════════════════════════════════════════════════ */
.pnt-sidebar-section {
  background: rgba(18,18,18,0.88);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 28px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.05);
  border-radius: var(--pnt-radius);
  padding: 14px 14px 10px;
  margin-bottom: 14px;
}
.pnt-sidebar-section-title {
  font-size: 11px; font-weight: 800;
  color: rgba(240,240,240,0.55);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin: 0 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 1.3;
}
.pnt-sidebar-dir-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 2px;
  border-bottom: 1px solid rgba(255,255,255,0.045);
  text-decoration: none; color: inherit;
  border-radius: 6px;
  transition: background 0.18s, padding 0.16s;
}
.pnt-sidebar-dir-item:last-of-type { border-bottom: none; }
.pnt-sidebar-dir-item:hover { background: rgba(255,255,255,0.04); padding-left: 6px; opacity: 1; }
.pnt-sidebar-dir-icon { font-size: 20px; flex-shrink: 0; line-height: 1; }
.pnt-sidebar-dir-info { min-width: 0; }
.pnt-sidebar-dir-name {
  font-size: 13px; font-weight: 700; color: rgba(240,240,240,0.92);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.pnt-sidebar-dir-count { font-size: 11px; color: rgba(240,240,240,0.38); }
.pnt-sidebar-dir-more {
  display: block; margin-top: 8px; padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 11px; font-weight: 700;
  color: var(--pnt-accent);
  text-decoration: none; text-align: right;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: opacity 0.15s;
}
.pnt-sidebar-dir-more:hover { opacity: 1; text-decoration: underline; }
.pnt-sidebar-dir-logo {
  width: 28px; height: 28px; border-radius: 6px;
  object-fit: contain; flex-shrink: 0;
  background: rgba(255,255,255,0.04);
}

/* ════════════════════════════════════════════════════════════════
   ARTICLES TAB FEED
   ════════════════════════════════════════════════════════════════ */
#pnt-tab-articles {
  display: none;
  padding: 4px 0;
}
#pnt-tab-articles.pnt-articles--active { display: block; }

.pnt-articles-section-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(240,240,240,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 12px 16px 6px;
}

.pnt-article-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: inherit;
  transition: background 0.18s;
}
.pnt-article-card:hover { background: rgba(255,255,255,0.03); }

.pnt-article-thumb {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--pnt-surface);
}
.pnt-article-thumb--ph {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  background: var(--pnt-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pnt-article-info { flex: 1; min-width: 0; }
.pnt-article-title {
  font-size: 14px;
  font-weight: 700;
  color: #F0F0F0;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pnt-article-meta {
  font-size: 12px;
  color: rgba(240,240,240,0.4);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.pnt-article-views {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: rgba(240,240,240,0.4);
}
.pnt-article-trending-rank {
  font-size: 11px;
  font-weight: 800;
  color: #AAFF00;
  background: rgba(170,255,0,0.10);
  border: 1px solid rgba(170,255,0,0.25);
  border-radius: 6px;
  padding: 1px 6px;
}

/* ════════════════════════════════════════════════════════════════
   LIKED ARTICLES TAB (on profile)
   ════════════════════════════════════════════════════════════════ */
.pnt-liked-articles-list { display: flex; flex-direction: column; }
.pnt-liked-article-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.pnt-liked-article-item:hover { background: rgba(255,255,255,0.03); }
.pnt-liked-article-item:last-child { border-bottom: none; }

.pnt-liked-article-thumb {
  width: 60px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--pnt-surface);
}
.pnt-liked-article-info { flex: 1; min-width: 0; }
.pnt-liked-article-title {
  font-size: 14px;
  font-weight: 700;
  color: #F0F0F0;
  line-height: 1.35;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pnt-liked-article-type {
  font-size: 11px;
  color: rgba(240,240,240,0.4);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ════════════════════════════════════════════════════════════════
   CUSTOM WP COMMENTS (replaces default WP comment block)
   ════════════════════════════════════════════════════════════════ */
.pn-custom-comments-wrap {
  background: rgba(22, 22, 22, 0.80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--pnt-radius);
  margin: 32px 0;
  overflow: hidden;
}
.pn-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pn-comments-title {
  font-size: 16px;
  font-weight: 800;
  color: #F0F0F0;
  margin: 0;
}
.pn-comments-count {
  font-size: 13px;
  color: rgba(240,240,240,0.4);
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2px 10px;
}
.pn-comment-compose {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pn-comment-compose-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pn-article-comment-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 12px 16px;
  font-size: 14px;
  color: #F0F0F0;
  resize: none;
  outline: none;
  font-family: var(--pn-font-body);
  min-height: 44px;
  transition: border-color 0.28s cubic-bezier(0.32,0.72,0,1),
              min-height 0.32s cubic-bezier(0.32,0.72,0,1),
              background 0.28s cubic-bezier(0.32,0.72,0,1),
              box-shadow 0.28s cubic-bezier(0.32,0.72,0,1);
  -webkit-tap-highlight-color: transparent;
}
.pn-article-comment-input:focus {
  border-color: rgba(170,255,0,0.45);
  min-height: 90px;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(170,255,0,0.08);
}
.pn-comment-submit-btn {
  background: #AAFF00;
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  flex-shrink: 0;
  align-self: flex-end;
  font-family: var(--pn-font-body);
  box-shadow: 0 0 12px rgba(170,255,0,0.2);
}
.pn-comment-submit-btn:hover {
  background: #c8ff33;
  box-shadow: 0 0 20px rgba(170,255,0,0.35);
  transform: translateY(-1px);
}
.pn-comment-submit-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.pn-comment-login-cta {
  font-size: 14px;
  color: rgba(240,240,240,0.5);
  padding: 4px 0;
}
.pn-comment-login-cta a { color: #AAFF00; font-weight: 600; text-decoration: none; }
.pn-comment-login-cta a:hover { text-decoration: underline; }

.pn-custom-comment-list { padding: 8px 0; }

.pn-article-comment {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.pn-article-comment:hover { background: rgba(255,255,255,0.02); }
.pn-article-comment:last-child { border-bottom: none; }

.pn-ac-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.08);
}
.pn-ac-avatar--ph {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(170,255,0,0.12);
  border: 2px solid rgba(170,255,0,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #AAFF00;
  flex-shrink: 0;
}
.pn-ac-body { flex: 1; min-width: 0; }
.pn-ac-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.pn-ac-name { font-size: 14px; font-weight: 700; color: #F0F0F0; text-decoration: none; }
.pn-ac-name:hover { color: #AAFF00; }
.pn-ac-time { font-size: 12px; color: rgba(240,240,240,0.35); }
.pn-ac-text { font-size: 14px; line-height: 1.55; color: rgba(240,240,240,0.85); }
.pn-ac-actions { display: flex; gap: 6px; margin-top: 8px; }
.pn-ac-like-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: rgba(240,240,240,0.4);
  background: none; border: none; cursor: pointer;
  padding: 4px 10px; border-radius: 20px;
  transition: background 0.22s cubic-bezier(0.32,0.72,0,1),
              color 0.22s cubic-bezier(0.32,0.72,0,1),
              transform 0.15s cubic-bezier(0.32,0.72,0,1);
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.pn-ac-like-btn:hover { background: rgba(255,77,77,0.1); color: #FF4D4D; }
.pn-ac-like-btn:active { transform: scale(0.88); }
.pn-ac-like-btn svg { transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1); }
.pn-ac-like-btn.pn-ac-liked { color: #FF4D4D; background: rgba(255,77,77,0.08); }
.pn-ac-like-btn.pn-ac-liked svg { transform: scale(1.3); }
.pn-ac-reply-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: rgba(240,240,240,0.4);
  background: none; border: none; cursor: pointer;
  padding: 4px 10px; border-radius: 20px;
  transition: background 0.22s cubic-bezier(0.32,0.72,0,1),
              color 0.22s cubic-bezier(0.32,0.72,0,1),
              transform 0.15s cubic-bezier(0.32,0.72,0,1);
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.pn-ac-reply-btn:hover { background: rgba(170,255,0,0.1); color: #AAFF00; }
.pn-ac-reply-btn:active { transform: scale(0.88); }

.pn-custom-comments-empty {
  padding: 32px 20px;
  text-align: center;
  color: rgba(240,240,240,0.35);
  font-size: 14px;
}
.pn-custom-comments-load-more {
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px;
  color: rgba(240,240,240,0.4);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: var(--pn-font-body);
}
.pn-custom-comments-load-more:hover { background: rgba(255,255,255,0.03); color: #AAFF00; }

/* ════════════════════════════════════════════════════════════════
   SEPARATORS — reduced, minimal
   ════════════════════════════════════════════════════════════════ */
/* Remove heavy HR separators from profile; use subtle ones */
.pnt-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin: 12px 0;
}

/* ════════════════════════════════════════════════════════════════
   FOLLOW/UNFOLLOW BUTTONS — redesigned, modern & responsive
   ════════════════════════════════════════════════════════════════ */

/* Follow button base — inherits .pnt-btn, no extra needed for feed cards */
.pnt-follow-btn,
.pnt-follow-btn-profile,
.pnt-hc-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s,
              transform 0.14s, box-shadow 0.18s;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  line-height: 1;
}

/* ── Follow (unsubscribed) state ── */
.pnt-follow-btn:not(.pnt-following):not(.pnt-following-active),
.pnt-follow-btn-profile:not(.pnt-following-active) {
  padding: 9px 20px;
  background: linear-gradient(135deg, #AAFF00 0%, #88DD00 100%);
  color: #0a0a0a;
  border: 1.5px solid transparent;
  box-shadow: 0 2px 10px rgba(170,255,0,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}
.pnt-follow-btn:not(.pnt-following):not(.pnt-following-active):hover,
.pnt-follow-btn-profile:not(.pnt-following-active):hover {
  background: linear-gradient(135deg, #bbff33 0%, #99ee00 100%);
  box-shadow: 0 4px 18px rgba(170,255,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* ── Following (subscribed) state ── */
.pnt-follow-btn.pnt-following,
.pnt-follow-btn-profile.pnt-following-active {
  padding: 9px 20px;
  background: rgba(255,255,255,0.06);
  color: rgba(240,240,240,0.68);
  border: 1.5px solid rgba(255,255,255,0.13);
  box-shadow: none;
}
.pnt-follow-btn.pnt-following:hover,
.pnt-follow-btn-profile.pnt-following-active:hover {
  background: rgba(255,55,55,0.10);
  color: #ff6060;
  border-color: rgba(255,60,60,0.38);
  box-shadow: 0 2px 10px rgba(255,60,60,0.10);
  transform: translateY(-1px);
}
.pnt-follow-btn:active,
.pnt-follow-btn-profile:active { transform: scale(0.96) translateY(0) !important; }

/* ── Hover-card follow button ── */
.pnt-hc-follow-btn:not(.pnt-btn--ghost) {
  padding: 7px 16px;
  background: linear-gradient(135deg, #AAFF00 0%, #88DD00 100%);
  color: #0a0a0a;
  border: 1.5px solid transparent;
  box-shadow: 0 2px 8px rgba(170,255,0,0.2);
}
.pnt-hc-follow-btn:not(.pnt-btn--ghost):hover {
  box-shadow: 0 4px 14px rgba(170,255,0,0.32);
  transform: translateY(-1px);
}
.pnt-hc-follow-btn.pnt-btn--ghost {
  padding: 7px 16px;
  background: rgba(255,255,255,0.05);
  color: rgba(240,240,240,0.65);
  border: 1.5px solid rgba(255,255,255,0.12);
}
.pnt-hc-follow-btn.pnt-btn--ghost:hover {
  background: rgba(255,55,55,0.10);
  color: #ff6060;
  border-color: rgba(255,60,60,0.35);
  transform: translateY(-1px);
}

/* Mobile tap feedback */
@media (hover: none) and (pointer: coarse) {
  .pnt-follow-btn:active,
  .pnt-follow-btn-profile:active,
  .pnt-hc-follow-btn:active {
    transform: scale(0.94) !important;
    opacity: 0.80;
    transition: transform 0.07s ease, opacity 0.07s ease;
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE IMPROVEMENTS
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 620px) {
  .pnt-article-card { gap: 10px; padding: 12px; }
  .pnt-article-thumb, .pnt-article-thumb--ph { width: 60px; height: 46px; }
}
/* Feed tabs on mobile: add Articles tab */
@media (max-width: 900px) {
  .pnt-nav-tab--articles { display: none; } /* hide from desktop nav; show as mobile tab */
}

/* Sticky sidebar */
.pnt-sidebar--left,
.pnt-sidebar--right {
  position: sticky;
  top: 16px;
  align-self: flex-start;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  scrollbar-width: none;
}
.pnt-sidebar--left::-webkit-scrollbar,
.pnt-sidebar--right::-webkit-scrollbar { display: none; }

/* Thread action buttons: remove separator lines between sections */
.pnt-thread-actions { border-top: none; }

/* Profile page: fewer separators */
.pnt-profile-stat { border-right: none; }
.pnt-profile-stats-row { gap: 20px; }

/* ════════════════════════════════════════════════════════════════
   FEATURED ATHLETES WIDGET  (.pnfa-*)
   Works inside the feed right sidebar, profile sidebar, and as a
   standalone shortcode [prepsnext_featured_athletes] in any page.
   ════════════════════════════════════════════════════════════════ */

/* Container */
.pnfa-widget {
  background: rgba(22,22,22,0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.04);
  padding: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}

/* When used inside an existing .pnt-widget, suppress double border */
.pnt-widget.pnfa-feed-widget {
  padding: 0;
  overflow: hidden;
}
.pnt-widget.pnfa-feed-widget .pnfa-widget-header { padding: 13px 16px 10px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 0; }
.pnt-widget.pnfa-feed-widget .pnfa-list { padding: 0 6px; }
.pnt-widget.pnfa-feed-widget .pnfa-view-all-btn { margin: 6px 10px 12px; width: calc(100% - 20px); }
/* Override SVG color in the solid-lime CTA — icons need to be dark */
.pnt-widget.pnfa-feed-widget .pnfa-view-all-btn svg,
.pnfa-view-all-btn svg { stroke: #080808; }

/* Header row */
.pnfa-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  min-width: 0;  /* prevent overflow */
}
.pnfa-widget-title {
  font-family: var(--pn-font-display);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--pnt-text, #f0f0f0);
  white-space: nowrap;  /* never wrap title text */
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  line-height: 1.2;
}
.pnfa-view-all-top {
  font-size: 11px;
  font-weight: 700;
  color: var(--pnt-accent, #AAFF00);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.15s;
  flex-shrink: 0;  /* never let the link shrink */
  white-space: nowrap;
}
.pnfa-view-all-top:hover { opacity: 1; text-decoration: underline; }

/* Athlete card */
.pnfa-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 8px;
  border-radius: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: inherit;
  transition: background 0.16s, transform 0.14s;
  position: relative;
}
.pnfa-card:last-child { border-bottom: none; }
.pnfa-card:hover {
  background: rgba(255,255,255,0.04);
  transform: translateX(2px);
}

/* Top-prospect card: subtle lime glow */
.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: 48px;
  height: 48px;
}
.pnfa-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.10);
  display: block;
}
.pnfa-avatar--placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
/* Sport icon badge on avatar */
.pnfa-sport-badge {
  position: absolute;
  bottom: -3px;
  right: -4px;
  background: rgba(18,18,18,0.90);
  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;
}

/* Info section */
.pnfa-info {
  flex: 1;
  min-width: 0;  /* critical: allows text-overflow to work */
}
.pnfa-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
  min-width: 0;      /* allow children to shrink */
  flex-wrap: nowrap; /* badges stay on same line as name */
  overflow: hidden;  /* clip rather than wrap */
}
.pnfa-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--pnt-text, #f0f0f0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* flex: 1 so badges always stay to the right; name shrinks first */
  flex: 1 1 auto;
  min-width: 0;   /* critical: text-overflow only works with min-width:0 */
}
.pnfa-badges {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;  /* badges never compress */
  flex-grow: 0;
  line-height: 1;
}
/* Badge icon inside widget card — smaller than name text */
.pnfa-badge-icon {
  display: inline-block;
  vertical-align: middle;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  width: 11px !important;
  height: 11px !important;
  opacity: 0.9;
  transition: opacity 0.15s;
}
/* Tooltip for badge icons (pnfa context) — CSS-based */
.pnfa-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: default;
  pointer-events: auto;  /* re-enable so hover works on wrapper */
}
.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; }

/* Meta row: sport name + position + jersey */
.pnfa-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(240,240,240,0.5);
  margin-bottom: 3px;
  flex-wrap: wrap;
}
.pnfa-sport-name { font-weight: 600; color: rgba(240,240,240,0.65); }
.pnfa-pos::before { content: '·'; margin-right: 3px; }
.pnfa-jersey {
  font-weight: 700;
  color: rgba(170,255,0,0.7);
  font-size: 11px;
}
.pnfa-jersey::before { content: '·'; margin-right: 3px; }

/* School */
.pnfa-school {
  font-size: 11px;
  color: rgba(240,240,240,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

/* Bottom row: rank + status badge */
.pnfa-bottom-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pnfa-rank {
  font-size: 11px;
  font-weight: 800;
  color: #AAFF00;
  background: rgba(170,255,0,0.10);
  border: 1px solid rgba(170,255,0,0.25);
  border-radius: 5px;
  padding: 1px 6px;
  letter-spacing: 0.03em;
}
.pnfa-status-badge {
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 1px 7px;
  white-space: nowrap;
}

/* Empty state */
.pnfa-empty {
  font-size: 13px;
  color: rgba(240,240,240,0.4);
  padding: 8px 0 4px;
  line-height: 1.6;
}

/* View All button */
.pnfa-view-all-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(170,255,0,0.10) 0%, rgba(170,255,0,0.06) 100%);
  border: 1px solid rgba(170,255,0,0.28);
  border-radius: 10px;
  color: #AAFF00;
  font-family: var(--pn-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s, border-color 0.18s;
  box-shadow: 0 2px 8px rgba(170,255,0,0.06);
}
.pnfa-view-all-btn:hover {
  background: linear-gradient(135deg, rgba(170,255,0,0.18) 0%, rgba(170,255,0,0.10) 100%);
  box-shadow: 0 4px 18px rgba(170,255,0,0.22);
  border-color: rgba(170,255,0,0.45);
  transform: translateY(-1px);
  color: #AAFF00;
  text-decoration: none;
}
.pnfa-view-all-btn svg { flex-shrink: 0; }

/* ── Top-prospect ring label pill on avatar ── */
.pnfa-prospect-label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #AAFF00 0%, #c8ff33 100%);
  color: #000;
  font-size: 7.5px;
  font-weight: 900;
  font-family: var(--pn-font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  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.5), 0 0 0 1px rgba(0,0,0,0.15);
  z-index: 3;
}
/* Expand avatar-wrap bottom to show the pill label below the ring */
.pnfa-card--prospect .pnfa-avatar-wrap {
  margin-bottom: 14px;
}
/* Prospect avatar ring — lime glow border */
.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.16);
}

/* ── Responsive: widget on small screens ── */
@media (max-width: 1100px) {
  /* name already uses flex:1, no max-width needed */
  .pnfa-card { gap: 9px; padding: 9px 6px; }
}
@media (max-width: 620px) {
  /* Full-width shortcode on mobile */
  .pnfa-widget { border-radius: 10px; padding: 14px; }
  .pnfa-name { font-size: 13px; }
  .pnfa-avatar, .pnfa-avatar-wrap { width: 42px; height: 42px; }
  .pnfa-avatar--placeholder { width: 42px; height: 42px; font-size: 18px; }
}
/* ── Shortcode used outside sidebar: max-width container ── */
.pnfa-widget:not(.pnt-widget .pnfa-widget) {
  max-width: 480px;
}


/* SVG icons in nav tabs */
.pnt-nav-tab .pnt-tab-svg,
.pnt-nav-tab svg {
  vertical-align: -2px;
  margin-right: 5px;
  opacity: 0.7;
  transition: opacity 0.18s;
}
.pnt-nav-tab--active svg,
.pnt-nav-tab:hover svg {
  opacity: 1;
}
.pnt-mobile-tab-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   SCHOOLS & TEAMS HUB — nav + mobile bar additions  (threads.css)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Desktop nav: hub tab pill ── */
.pnt-nav-tab--hub {
  border: 1px solid rgba(170,255,0,0.22);
  color: rgba(170,255,0,0.85) !important;
  background: rgba(170,255,0,0.06);
  margin-left: 6px;
  gap: 5px;
}
.pnt-nav-tab--hub:hover {
  background: rgba(170,255,0,0.14) !important;
  border-color: rgba(170,255,0,0.5);
  color: #AAFF00 !important;
}
.pnt-nav-tab--hub.pnt-nav-tab--active {
  background: rgba(170,255,0,0.16) !important;
  border-color: rgba(170,255,0,0.55);
  color: #AAFF00 !important;
}

/* ── Sidebar tab-trigger button reset ── */
button.pnt-sidebar-link {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

/* ── Sidebar: hub main link ── */
.pnt-sidebar-link--hub {
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.pnt-sidebar-link--hub:hover {
  border-color: rgba(170,255,0,0.3);
  background: rgba(170,255,0,0.08);
  color: #AAFF00;
}
.pnt-sidebar-link--hub.pnt-sidebar-link--active {
  border-color: rgba(170,255,0,0.35);
  background: rgba(170,255,0,0.10);
  color: #AAFF00;
}

/* ── Sidebar: sub-links (Schools / Teams) indented under Hub ── */
.pnt-sidebar-link--sub {
  padding-left: 44px;
  font-size: 13px;
  color: rgba(240,240,240,0.55);
}
.pnt-sidebar-link--sub:hover { color: #AAFF00; }
.pnt-sidebar-link--sub.pnt-sidebar-link--active { color: #AAFF00; opacity: 1; }


/* ── Mobile tab: hub tab lime accent when active ── */
.pnt-mobile-tab--hub.pnt-mobile-tab--active .pnt-mobile-tab-icon svg,
.pnt-mobile-tab--hub.pnt-mobile-tab--active .pnt-mobile-tab-label {
  color: #AAFF00;
}
.pnt-mobile-tab--hub .pnt-mobile-tab-icon svg { stroke: #AAFF00; }
.pnt-mobile-tab--hub .pnt-mobile-tab-label { color: #AAFF00; }

/* ═══════════════════════════════════════════════════════════
   HUB TAB PANEL  (#pnt-tab-hub) — inline in feed
   ═══════════════════════════════════════════════════════════ */

/* Hero banner */
.pnt-hub-hero {
  background: linear-gradient(135deg, rgba(170,255,0,0.08) 0%, rgba(0,0,0,0) 70%);
  border: 1px solid rgba(170,255,0,0.18);
  border-radius: 18px;
  padding: 22px 22px 18px;
  margin-bottom: 20px;
}
.pnt-hub-hero-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.pnt-hub-title {
  font-family: var(--pn-font-display);
  font-size: 26px;
  font-weight: 900;
  color: #F0F0F0;
  margin: 0 0 3px;
  letter-spacing: 0.01em;
  line-height: 1;
}
.pnt-hub-subtitle {
  font-size: 13px;
  color: rgba(240,240,240,0.45);
  margin: 0;
}

/* Stats row inside hero */
.pnt-hub-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 12px 20px;
}
.pnt-hub-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  transition: opacity 0.18s;
}
.pnt-hub-stat:hover { opacity: 0.7; }
.pnt-hub-stat-num {
  font-family: var(--pn-font-display);
  font-size: 30px;
  font-weight: 900;
  color: #AAFF00;
  line-height: 1;
}
.pnt-hub-stat-label { font-size: 12px; color: rgba(240,240,240,0.45); font-weight: 600; }
.pnt-hub-stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
  margin: 0 16px;
}

/* Two-column grid */
.pnt-hub-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) {
  .pnt-hub-cols { grid-template-columns: 1fr; }
}

/* Column card */
.pnt-hub-col {
  background: rgba(18,18,18,0.75);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
}

/* Column header */
.pnt-hub-col-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px 11px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  font-weight: 800;
  color: #F0F0F0;
}
.pnt-hub-col-hdr svg { opacity: 0.55; flex-shrink: 0; }
.pnt-hub-col-hdr span { flex: 1; }
.pnt-hub-viewall {
  font-size: 12px;
  font-weight: 700;
  color: #AAFF00;
  text-decoration: none;
  flex-shrink: 0;
}
.pnt-hub-viewall:hover { text-decoration: underline; }

/* Rows */
.pnt-hub-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: #F0F0F0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.pnt-hub-row:last-of-type { border-bottom: none; }
.pnt-hub-row:hover { background: rgba(170,255,0,0.05); }
.pnt-hub-row-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 3px;
  box-sizing: border-box;
}
.pnt-hub-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pnt-hub-row-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #F0F0F0;
}
.pnt-hub-row-count { font-size: 11px; color: rgba(240,240,240,0.4); }
.pnt-hub-row-chevron {
  color: rgba(240,240,240,0.2);
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}
.pnt-hub-row:hover .pnt-hub-row-chevron { color: #AAFF00; transform: translateX(2px); }

/* Empty + more */
.pnt-hub-empty { padding: 20px 16px; font-size: 13px; color: rgba(240,240,240,0.35); }
.pnt-hub-more {
  display: block;
  text-align: center;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #AAFF00;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.pnt-hub-more:hover { background: rgba(170,255,0,0.06); }

/* Hub tab panel — match main content padding */
#pnt-tab-hub {
  padding-bottom: 32px;
}
@media (max-width: 900px) {
  #pnt-tab-hub {
    padding-bottom: calc(var(--pnt-tabs-h, 50px) + env(safe-area-inset-bottom, 0px) + 16px);
  }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE FEED IMPROVEMENTS (≤ 480px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Thread author info: keep name and sport badge */
  .pnt-author-info {
    flex-wrap: nowrap;
    gap: 4px;
  }

  /* Sport tag: never truncate — show full text, wrap if needed */
  .pnt-sport-tag {
    flex-shrink: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
  }
}

/* ── Hide compose card on Following & Articles tabs (mobile only) ── */
@media (max-width: 768px) {
  body.pnt-filter--following .pnt-compose-card,
  body.pnt-filter--articles  .pnt-compose-card {
    display: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   NOTIFICATION DRAWER — JOIN REQUEST ACTION BUTTONS
   ════════════════════════════════════════════════════════════════ */
.pnt-nd-item--join-req {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 16px;
}
.pnt-nd-join-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.pnt-nd-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
}
.pnt-nd-join-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pnt-nd-join-approve {
  background: rgba(170,255,0,0.15);
  color: #AAFF00;
  border: 1px solid rgba(170,255,0,0.35);
}
.pnt-nd-join-approve:hover:not(:disabled) {
  background: rgba(170,255,0,0.25);
  transform: translateY(-1px);
}
.pnt-nd-join-reject {
  background: rgba(239,68,68,0.12);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.3);
}
.pnt-nd-join-reject:hover:not(:disabled) {
  background: rgba(239,68,68,0.22);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════════
   DESKTOP SIDEBAR — SCHOOLS & TEAMS VISIBILITY FIX
   Ensure left sidebar shows schools/teams on all desktop breakpoints
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  .pnt-sidebar--left {
    display: block !important;
  }
  .pnt-sidebar-section {
    display: block !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   ENTITY ATTRIBUTION CHIP — "user → ▶ → school/team" on posts
   ════════════════════════════════════════════════════════════════ */
.pnt-entity-attribution {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 2px;
}
.pnt-entity-attribution-arrow {
  color: rgba(240,240,240,0.3);
  flex-shrink: 0;
}
.pnt-entity-attribution-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.15s;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pnt-entity-attribution-chip--school {
  background: rgba(170,255,0,0.08);
  color: #AAFF00;
  border: 1px solid rgba(170,255,0,0.2);
}
.pnt-entity-attribution-chip--school:hover {
  background: rgba(170,255,0,0.16);
}
.pnt-entity-attribution-chip--team {
  background: rgba(74,143,255,0.08);
  color: #4A8FFF;
  border: 1px solid rgba(74,143,255,0.2);
}
.pnt-entity-attribution-chip--team:hover {
  background: rgba(74,143,255,0.16);
}

/* ════════════════════════════════════════════════════════════════
   TEAM POSTS — MEMBER-ONLY VISIBILITY INDICATOR
   (CSS only; access control is PHP-side)
   ════════════════════════════════════════════════════════════════ */
.pnt-team-private-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255,77,77,0.08);
  color: rgba(255,77,77,0.7);
  border: 1px solid rgba(255,77,77,0.15);
  margin-left: 6px;
  vertical-align: middle;
}

/* ════════════════════════════════════════════════════════════════
   PROPS SYSTEM — Sports-native reaction system replacing Likes
   ════════════════════════════════════════════════════════════════ */

/* Props wrap: contains button + reaction tray */
.pn-props-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

/* Props button — inherits pnt-action-btn base styles */
.pn-props-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: color var(--pnt-transition), background var(--pnt-transition), transform 0.1s ease, opacity 0.1s ease;
}

/* iOS-native quick press flash — NOT the browser blue, just a subtle scale */
@media (hover: none) and (pointer: coarse) {
  .pn-props-button:active {
    transform: scale(0.92);
    opacity: 0.72;
    background: transparent !important;
    transition: transform 0.06s ease, opacity 0.06s ease;
  }
  /* Long-press charging state — rings the icon like Instagram hold */
  .pn-props-button.pn-props-button--pressing .pn-props-icon {
    animation: pn-charge 0.45s ease forwards;
  }
}

@keyframes pn-charge {
  0%   { transform: scale(1);    filter: brightness(1); }
  40%  { transform: scale(1.15); filter: brightness(1.4); }
  75%  { transform: scale(1.28); filter: brightness(1.6); }
  100% { transform: scale(1.22); filter: brightness(1.5); }
}

.pn-props-button .pn-props-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.pn-props-button .pn-props-label {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* Props count — INSIDE the button, fused with icon into a pill */
.pn-props-count {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

/* Thread-card props button becomes a pill when it has a count */
.pnt-thread-card .pn-props-button {
  gap: 5px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}
.pnt-thread-card .pn-props-button.pnt-liked,
.pnt-thread-card .pn-props-button.pn-props-button--active {
  border-color: rgba(170,255,0,0.3);
  background: rgba(170,255,0,0.08);
}
.pnt-thread-card .pn-props-button:hover {
  border-color: rgba(170,255,0,0.25);
  background: rgba(170,255,0,0.06) !important;
}

/* Comment-level pill: icon + count fused into one button box */
.pn-props-button--pill {
  gap: 5px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}
.pn-props-button--pill .pn-props-count {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: inherit;
}
.pn-props-button--pill:hover {
  border-color: rgba(170,255,0,0.25);
}
.pn-props-button--pill.pn-props-button--active {
  border-color: rgba(170,255,0,0.3);
  background: rgba(170,255,0,0.08);
}
.pn-props-button--pill.pn-props-button--active .pn-props-count {
  color: var(--pnt-accent);
}

/* Active / Props Given state — use accent colour */
.pn-props-button.pn-props-button--active {
  color: var(--pnt-accent) !important;
}
.pn-props-button.pn-props-button--active + .pn-props-count {
  color: var(--pnt-accent);
  border-color: rgba(170, 255, 0, 0.25);
  background: rgba(170, 255, 0, 0.08);
}
.pn-props-button:hover {
  color: var(--pnt-accent) !important;
  background: rgba(170, 255, 0, 0.07) !important;
}

/* Reaction Tray — opens on desktop hover OR mobile long-press */
.pn-reaction-tray {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  background: var(--pnt-surface2);
  border: 1px solid var(--pnt-border);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 1px 6px rgba(0,0,0,0.2);
  z-index: 200;
  white-space: nowrap;
  /* Hidden by default — Facebook-style: origin at bottom-left, scales up */
  opacity: 0;
  transform-origin: bottom left;
  transform: scale(0.5) translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.34,1.56,0.64,1),
              transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

/* Staggered icon entrance — each child pops in with a delay */
.pn-reaction-tray .pn-reaction-option {
  opacity: 0;
  transform: scale(0.4) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.34,1.56,0.64,1);
}
.pn-reaction-tray--open .pn-reaction-option:nth-child(1) { transition-delay: 0.04s; }
.pn-reaction-tray--open .pn-reaction-option:nth-child(2) { transition-delay: 0.08s; }
.pn-reaction-tray--open .pn-reaction-option:nth-child(3) { transition-delay: 0.12s; }
.pn-reaction-tray--open .pn-reaction-option:nth-child(4) { transition-delay: 0.16s; }
.pn-reaction-tray--open .pn-reaction-option:nth-child(5) { transition-delay: 0.20s; }
.pn-reaction-tray--open .pn-reaction-option:nth-child(6) { transition-delay: 0.24s; }

/* Desktop: tray reveal via JS class only */
@media (hover: hover) and (pointer: fine) {
  .pn-reaction-tray {
    transition: opacity 0.22s cubic-bezier(0.34,1.56,0.64,1),
                transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
  }
  .pn-reaction-tray--open {
    transition: opacity 0.22s cubic-bezier(0.34,1.56,0.64,1),
                transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
  }
  /* Cursor feedback: hand cursor on the whole wrap so users know it's interactive */
  .pn-props-wrap { cursor: pointer; }
}

/* Mobile long-press hint */
.pn-props-hint {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(0,0,0,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
}
.pn-props-hint--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pn-reaction-tray--open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* When open: staggered children become visible */
.pn-reaction-tray--open .pn-reaction-option {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Individual reaction option — Facebook style: bigger icon, tooltip on hover */
.pn-reaction-option {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--pnt-muted);
  padding: 4px 6px;
  border-radius: var(--pnt-radius-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s cubic-bezier(0.34,1.56,0.64,1);
  line-height: 1;
}

/* Tooltip label above each emoji — Facebook-style */
.pn-reaction-option::before {
  content: attr(aria-label);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.85);
  background: rgba(0,0,0,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 301;
  text-transform: none;
  letter-spacing: 0;
}

.pn-reaction-option:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.pn-reaction-option:hover {
  color: var(--pnt-text);
  background: transparent;
  transform: scale(1.35) translateY(-5px);
}

.pn-reaction-option--active {
  color: var(--pnt-accent) !important;
}

/* Facebook-style slide-to-select highlight */
.pn-reaction-option--sliding {
  color: var(--pn-rx-color, var(--pnt-accent)) !important;
  transform: scale(1.45) translateY(-8px) !important;
  transition: transform 0.12s ease, color 0.12s ease !important;
}

.pn-reaction-option--sliding svg {
  filter: drop-shadow(0 0 6px var(--pn-rx-color, var(--pnt-accent))) !important;
}

/* Heat badge */
/* ── Heat Badge — original pill style, sits in actions row ──────── */
.pn-heat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(170, 255, 0, 0.22);
  background: rgba(170, 255, 0, 0.07);
  color: var(--pnt-accent);
  margin-bottom: 0;
  cursor: default;
  white-space: nowrap;
  flex-shrink: 0;
  vertical-align: middle;
  line-height: 1;
  opacity: 0;
  transform: scale(0.7) translateY(4px);
  transition: opacity 0.28s cubic-bezier(0.34,1.56,0.64,1),
              transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}

/* Visible state — triggered by JS or PHP (server-rendered) */
.pn-heat-badge--visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Exit — fade + shrink before remove() */
.pn-heat-badge--exit {
  opacity: 0 !important;
  transform: scale(0.75) translateY(2px) !important;
  transition: opacity 0.22s ease, transform 0.22s ease !important;
}

/* Enter keyframe — extra pop for new badge appearing mid-session */
@keyframes pn-heat-enter {
  0%   { opacity: 0; transform: scale(0.6) translateY(6px); }
  60%  { opacity: 1; transform: scale(1.12) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.pn-heat-badge--enter {
  animation: pn-heat-enter 0.38s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* Tier colour overrides */
.pn-heat--heatingup {
  background: rgba(255, 140, 0, 0.08);
  border-color: rgba(255, 140, 0, 0.25);
  color: #FF8C00;
}
.pn-heat--trending {
  background: rgba(74, 143, 255, 0.08);
  border-color: rgba(74, 143, 255, 0.25);
  color: var(--pnt-blue);
}
.pn-heat--onfire {
  background: rgba(255, 77, 77, 0.08);
  border-color: rgba(255, 77, 77, 0.25);
  color: var(--pnt-red);
}
.pn-heat--nextup {
  background: rgba(170, 255, 0, 0.10);
  border-color: rgba(170, 255, 0, 0.30);
  color: var(--pnt-accent);
}

/* SVG inside badge inherits color */
.pn-heat-badge svg {
  flex-shrink: 0;
  display: block;
}
.pn-heat-label {
  line-height: 1;
}

/* Small dopamine feedback toast */
.pn-props-feedback {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--pnt-surface2);
  border: 1px solid var(--pnt-border);
  border-radius: var(--pnt-radius-sm);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--pnt-accent);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
}
.pn-props-feedback--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobile: hide text labels on very small screens */
@media (max-width: 400px) {
  .pn-props-button .pn-props-label { display: none; }
  .pn-reaction-option span { display: none; }
  .pn-reaction-option::before { display: none; }
  .pn-reaction-option { padding: 4px 5px; }
}

/* Desktop: never show mobile hint */
@media (hover: hover) and (pointer: fine) {
  .pn-props-hint { display: none !important; }
}

/* ── Top Prop'd Today Widget ─────────────────────────────── */
.pn-top-props-widget { margin-bottom: 12px; }

.pn-top-props-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 8px;
}

.pn-top-props-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--pnt-text);
  border-radius: var(--pnt-radius-sm);
  transition: background var(--pnt-transition);
}
.pn-top-props-item:hover { background: rgba(255,255,255,0.04); }

.pn-top-props-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pn-top-props-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--pnt-text);
}

.pn-top-props-sport {
  font-size: 10px;
  font-weight: 600;
  color: var(--pnt-accent);
  background: rgba(170,255,0,0.08);
  border-radius: 4px;
  padding: 1px 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pn-top-props-preview {
  font-size: 12px;
  color: var(--pnt-muted);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pn-top-props-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--pnt-accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Heat Badge Tooltip (tap/hover info) ─────────────────────────────── */
#pn-heat-tip {
  position: absolute;
  z-index: 99999;
  background: var(--pnt-surface2, #1e1e1e);
  border: 1px solid rgba(170,255,0,0.25);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pnt-text, #f0f0f0);
  max-width: 220px;
  text-align: center;
  line-height: 1.4;
  pointer-events: none;
  white-space: normal;
  box-shadow: 0 4px 16px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
#pn-heat-tip.pn-heat-tip--visible {
  opacity: 1;
  transform: translateY(0);
}
/* Heat badge is tappable/hoverable for tooltip */
.pn-heat-badge[data-pn-heat-tip] {
  cursor: help;
}

/* ═══════════════════════════════════════════════════════════════
   DISCOVERY LAYER — v1.0
   Risers widget · View Profile CTA · Mobile Discovery Strip
   ═══════════════════════════════════════════════════════════════ */

/* ── Risers This Week Widget (right sidebar, desktop) ──────── */
.pn-risers-widget { margin-bottom: 12px; }

.pn-risers-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 0 6px;
}

.pn-risers-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--pnt-radius-sm);
  transition: background 0.18s;
}
.pn-risers-item:hover { background: rgba(255,255,255,0.05); }

.pn-risers-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pn-risers-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--pnt-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
a.pn-risers-name:hover { color: var(--pnt-accent); text-decoration: none; }

.pn-risers-meta {
  font-size: 11px;
  color: var(--pnt-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.75;
}

.pn-risers-count {
  font-size: 11px;
  font-weight: 800;
  color: var(--pnt-accent);
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(170,255,0,0.1);
  border: 1px solid rgba(170,255,0,0.22);
  border-radius: 5px;
  padding: 2px 7px;
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px rgba(170,255,0,0.35);
}

/* ── Discovery filter tabs (desktop nav) — subtle style ─────── */
.pnt-nav-tab--discovery {
  opacity: 0.85;
}
/* Hide discovery tabs from desktop nav on <900px — they're in mobile tabs */
@media (max-width: 900px) {
  .pnt-nav-tab--discovery { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE DISCOVERY STRIP
   Horizontal card strip shown ONLY on mobile (<900px).
   Desktop uses the right sidebar instead.
   ═══════════════════════════════════════════════════════════════ */
.pn-mobile-discovery {
  display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
  .pn-mobile-discovery {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 4px;
  }
}

.pn-md-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each section (Top Prop'd / Risers) */
.pn-md-section {
  padding: 10px 0 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pn-md-section:last-child { border-bottom: none; }

.pn-md-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pnt-muted);
  padding: 0 14px 8px;
}

/* Horizontally scrollable card row */
.pn-md-scroll {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 14px 4px;
  flex-wrap: nowrap;
  /* Contain horizontal scroll here — do not bubble to parent swipe gesture handlers */
  overscroll-behavior-x: contain;
  /* Allow horizontal pan only — vertical swipes pass through to the page */
  touch-action: pan-x;
}
.pn-md-scroll::-webkit-scrollbar { display: none; }

/* Individual discovery card */
.pn-md-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  width: 100px;
  padding: 10px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-decoration: none;
  color: var(--pnt-text);
  transition: background 0.18s, border-color 0.18s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.pn-md-card:active,
.pn-md-card:hover {
  background: rgba(170,255,0,0.05);
  border-color: rgba(170,255,0,0.2);
}

.pn-md-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.pn-md-card-avatar--ph {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(170,255,0,0.12);
  color: var(--pnt-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.pn-md-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--pnt-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.pn-md-card-sport {
  font-size: 10px;
  color: var(--pnt-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.pn-md-card-preview {
  font-size: 10px;
  color: var(--pnt-muted);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 90px;
}

.pn-md-card-count {
  font-size: 10px;
  font-weight: 700;
  color: var(--pnt-accent);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

/* Risers card variant — slightly taller to accommodate meta */
.pn-md-card--riser {
  width: 110px;
}

/* ════════════════════════════════════════════════════════════════
   REACTION ICON COLORS — per-reaction tints applied everywhere
   the icon appears: tray options, active props button, comment
   props, notification badges, top-props widget.
   Uses data-reaction attribute set by both PHP and JS.
   ════════════════════════════════════════════════════════════════ */

/* ── Premium sporty palette ──────────────────────────────────────
   fire:     Inferno Orange  — raw energy, explosive heat
   respect:  Magenta Pulse   — power, earned admiration
   scout:    Cyan Crosshair  — precision, elite scouting eye
   stock_up: Volt Lightning  — electric rise, unstoppable momentum
   elite:    Championship Gold — top-tier, undisputed royalty
   ─────────────────────────────────────────────────────────────── */

/* ── Tray options: color the icon when hovering or active ── */
.pn-reaction-option[data-reaction="fire"]     { --pn-rx-color: #FF4500; }
.pn-reaction-option[data-reaction="respect"]  { --pn-rx-color: #FF2D78; }
.pn-reaction-option[data-reaction="scout"]    { --pn-rx-color: #00C8FF; }
.pn-reaction-option[data-reaction="stock_up"] { --pn-rx-color: #AAFF00; }
.pn-reaction-option[data-reaction="elite"]    { --pn-rx-color: #FFB800; }

.pn-reaction-option:hover,
.pn-reaction-option--active {
  color: var(--pn-rx-color, var(--pnt-accent)) !important;
  background: color-mix(in srgb, var(--pn-rx-color, var(--pnt-accent)) 12%, transparent) !important;
  transform: scale(1.1);
}

/* ── Props button icon: colored when a reaction is active ── */
.pn-props-icon[data-reaction="fire"]     { color: #FF4500; }
.pn-props-icon[data-reaction="respect"]  { color: #FF2D78; }
.pn-props-icon[data-reaction="scout"]    { color: #00C8FF; }
.pn-props-icon[data-reaction="stock_up"] { color: #AAFF00; }
.pn-props-icon[data-reaction="elite"]    { color: #FFB800; }

/* Inactive state: muted until given */
.pn-props-button:not(.pn-props-button--active) .pn-props-icon {
  color: var(--pnt-muted);
}

/* ── Comment-level props icon (smaller, same coloring) ── */
.pn-ac-props .pn-props-icon[data-reaction="fire"]     { color: #FF4500; }
.pn-ac-props .pn-props-icon[data-reaction="respect"]  { color: #FF2D78; }
.pn-ac-props .pn-props-icon[data-reaction="scout"]    { color: #00C8FF; }
.pn-ac-props .pn-props-icon[data-reaction="stock_up"] { color: #AAFF00; }
.pn-ac-props .pn-props-icon[data-reaction="elite"]    { color: #FFB800; }

/* ── Top-props widget: reaction icon beside the count ── */
.pn-top-props-icon[data-reaction="fire"]     { color: #FF4500; }
.pn-top-props-icon[data-reaction="respect"]  { color: #FF2D78; }
.pn-top-props-icon[data-reaction="scout"]    { color: #00C8FF; }
.pn-top-props-icon[data-reaction="stock_up"] { color: #AAFF00; }
.pn-top-props-icon[data-reaction="elite"]    { color: #FFB800; }

/* ── Light mode: slightly deeper shades for contrast on white ── */
[data-theme="light"] .pn-props-icon[data-reaction="fire"]     { color: #D93800; }
[data-theme="light"] .pn-props-icon[data-reaction="respect"]  { color: #D4005E; }
[data-theme="light"] .pn-props-icon[data-reaction="scout"]    { color: #0099CC; }
[data-theme="light"] .pn-props-icon[data-reaction="stock_up"] { color: #5E9900; }
[data-theme="light"] .pn-props-icon[data-reaction="elite"]    { color: #CC8800; }
[data-theme="light"] .pn-reaction-option[data-reaction="fire"]     { --pn-rx-color: #D93800; }
[data-theme="light"] .pn-reaction-option[data-reaction="respect"]  { --pn-rx-color: #D4005E; }
[data-theme="light"] .pn-reaction-option[data-reaction="scout"]    { --pn-rx-color: #0099CC; }
[data-theme="light"] .pn-reaction-option[data-reaction="stock_up"] { --pn-rx-color: #5E9900; }
[data-theme="light"] .pn-reaction-option[data-reaction="elite"]    { --pn-rx-color: #CC8800; }
