/* Carly glass button (Nov 9 2026, Chris picked clear glass). Replaces the silver ring on every button that names Carly, class added by carly-mark.php.
   The blue body goes; the button is frosted glass over the page, light drifts inside it, a thin rim turns and catches the light. No wave distortion (Chris). */
@keyframes cc-caustic{0%{background-position:0% 0%,100% 100%,50% 0%,20% 80%}100%{background-position:100% 70%,0% 10%,20% 100%,90% 0%}}
:is(.btn,.gb-button).cc-carly-btn,:is(.member-contact__talk,.cc-jbar__carly,.cc-ask).cc-carly-btn{
  border:0;border-radius:4px;padding:8px 30px 8px 22px;color:var(--primary);overflow:hidden;isolation:isolate;position:relative;
  background:linear-gradient(160deg,rgba(255,255,255,.5),rgba(255,255,255,.14) 46%,rgba(255,255,255,.32));
  -webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(0,60,100,.14),inset 0 0 0 1px rgba(0,119,182,.14),0 14px 26px -14px rgba(3,62,94,.45),0 1px 0 rgba(255,255,255,.7);
  transition:box-shadow .25s}
:is(.btn,.gb-button).cc-carly-btn:is(:hover,:focus-visible),:is(.member-contact__talk,.cc-jbar__carly,.cc-ask).cc-carly-btn:is(:hover,:focus-visible){
  color:var(--primary-700,#005f93);background:linear-gradient(160deg,rgba(255,255,255,.62),rgba(255,255,255,.22) 46%,rgba(255,255,255,.42));
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(0,60,100,.18),inset 0 0 0 1px rgba(0,119,182,.22),0 18px 30px -14px rgba(3,62,94,.55),0 1px 0 rgba(255,255,255,.7)}
/* light pooled inside */
:is(.btn,.gb-button).cc-carly-btn::before,:is(.member-contact__talk,.cc-jbar__carly,.cc-ask).cc-carly-btn::before{content:"";position:absolute;inset:-40% -12%;z-index:-1;pointer-events:none;opacity:.95;
  background:radial-gradient(55% 80% at 18% 28%,rgba(255,255,255,.9),rgba(255,255,255,0) 60%),radial-gradient(45% 70% at 78% 72%,rgba(255,255,255,.7),rgba(255,255,255,0) 60%),radial-gradient(30% 60% at 52% 10%,rgba(255,255,255,.6),rgba(255,255,255,0) 60%),radial-gradient(40% 40% at 40% 90%,rgba(255,255,255,.5),rgba(255,255,255,0) 60%);
  background-size:220% 220%,200% 200%,240% 240%,200% 200%;animation:cc-caustic 11s ease-in-out infinite alternate}
/* the rim, replaces the silver ring */
:is(.btn,.gb-button).cc-carly-btn::after,:is(.member-contact__talk,.cc-jbar__carly,.cc-ask).cc-carly-btn::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.2px;pointer-events:none;
  background:conic-gradient(from var(--cc-sweep),rgba(255,255,255,1) 0deg,rgba(0,90,140,.32) 70deg,rgba(255,255,255,.9) 170deg,rgba(0,90,140,.22) 250deg,rgba(255,255,255,1) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:cc-sweep 12s linear infinite}
/* on dark sections: white letters, white-only rim */
:is(.background--dark,.cc-navy,.cc-ask__carly,.cc-jhero,.cc-jbar) :is(.btn,.gb-button).cc-carly-btn,:is(.background--dark,.cc-navy,.cc-ask__carly,.cc-jhero,.cc-jbar) :is(.member-contact__talk,.cc-jbar__carly,.cc-ask).cc-carly-btn{
  color:#fff;background:linear-gradient(160deg,rgba(255,255,255,.26),rgba(255,255,255,.06) 46%,rgba(255,255,255,.16));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(0,0,0,.25),inset 0 0 0 1px rgba(255,255,255,.18),0 16px 30px -14px rgba(0,0,0,.6)}
:is(.background--dark,.cc-navy,.cc-ask__carly,.cc-jhero,.cc-jbar) .cc-carly-btn::before{opacity:.8}
:is(.background--dark,.cc-navy,.cc-ask__carly,.cc-jhero,.cc-jbar) .cc-carly-btn::after{background:conic-gradient(from var(--cc-sweep),rgba(255,255,255,1) 0deg,rgba(255,255,255,.1) 70deg,rgba(255,255,255,.75) 170deg,rgba(255,255,255,.05) 250deg,rgba(255,255,255,1) 360deg)}
@media (prefers-reduced-motion:reduce){.cc-carly-btn::before,.cc-carly-btn::after{animation:none}}

/* Homepage "Ask Carly" is styled with an id selector in element 7943; outrank it and keep its own padding. The Join bar link keeps its small type. */
#cc-home .cc-ask.cc-carly-btn{border-radius:4px;padding:10px 20px 10px 14px;color:var(--primary);background:linear-gradient(160deg,rgba(255,255,255,.5),rgba(255,255,255,.14) 46%,rgba(255,255,255,.32));box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(0,60,100,.14),inset 0 0 0 1px rgba(0,119,182,.14),0 14px 26px -14px rgba(3,62,94,.45),0 1px 0 rgba(255,255,255,.7)}
#cc-home .cc-ask.cc-carly-btn:hover{background:linear-gradient(160deg,rgba(255,255,255,.62),rgba(255,255,255,.22) 46%,rgba(255,255,255,.42))}
.cc-jbar .cc-jbar__carly.cc-carly-btn{padding:6px 14px;font-size:var(--fs-text-xs);text-decoration:none}
