/* Shared header-menu chrome (landing + nails; hair keeps its own equivalents
   inline until unification). Plum tokens = nail palette. */
:root {
  --bg: #17131f; --panel: #221c2e; --panel-edge: #3a2f4d;
  --text: #f2eef8; --muted: #b7a8cf; --accent: #e05c97; --accent-soft: #8f6bb0;
}
.authBox { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.authBox[hidden] { display: none; }
.authBox .burger { font-size: 17px; line-height: 1; padding: 7px 12px; background: var(--panel); color: var(--text); border: 1px solid var(--panel-edge); border-radius: 8px; cursor: pointer; }
@property --run { syntax: '<angle>'; initial-value: 0turn; inherits: false; }
/* P47 (human): "Sign up for more" = brand pink + the running-comet ring, in
   every placement (navbar .authBox on hair/nails, body .ctaRow on landing). */
.authBox .signInBtn, .ctaRow .signInBtn {
  display: inline-block; padding: 8px 14px; border-radius: 8px; text-decoration: none;
  background: #e05c97; border: 1px solid #e05c97; color: #fff; font-weight: 600; font-size: 13px;
  position: relative;
}
.authBox .signInBtn::before, .ctaRow .signInBtn::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 9px; padding: 1.5px;
  background-image: conic-gradient(from var(--run),
    transparent 0deg 250deg, rgba(255,255,255,.85) 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: runBorder 3.4s linear infinite; pointer-events: none;
}
@keyframes runBorder { to { --run: 1turn; } }
@media (prefers-reduced-motion: reduce) {
  .authBox .signInBtn::before, .ctaRow .signInBtn::before { animation: none; }
}
@media (hover: hover) {
  .authBox .signInBtn:hover, .ctaRow .signInBtn:hover { background: #f06fa8; border-color: #f06fa8; }
}
.userMenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.5); min-width: 200px; padding: 6px; }
.userMenu[hidden] { display: none; }
.userMenu .who { padding: 8px 10px; color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--panel-edge); margin-bottom: 4px; }
.userMenu button { display: block; width: 100%; text-align: left; font: inherit; padding: 8px 10px; background: none; border: none; border-radius: 6px; color: var(--text); cursor: pointer; }
.userMenu button:hover { background: #2f2740; }
.userMenu button[hidden] { display: none; }
.creditChip { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(224,92,151,.12); color: var(--accent); border: 1px solid var(--accent); white-space: nowrap; cursor: pointer; }
.creditChip[hidden] { display: none; }
.creditChip.low { color: #dc2626; border-color: #dc2626; background: rgba(220,38,38,.08); }
.creditChip.bare { background: none; border-color: transparent; padding: 0 2px; cursor: default; }
