/* Secondary capsules retain their existing geometry and gray/white material.
   Ink is the approved phrase-picker color, shared by labels and currentColor icons. */
:root{--povod-secondary-ink:#987260;--povod-secondary-edge:#e5cfc3;--povod-secondary-shadow:inset 0 1px 0 #ffffffd9,0 2px 7px #f47b5c0e;}
body :is(.btn-soft,.btn-ghost,.studio-map-link,.studio-small-pill,.studio-wish-variant,[data-message-suggest],.legal-later,[data-remove-cancel]):not(:is(.btn-primary,.btn-accent,.btn-danger)){color:var(--povod-secondary-ink)!important;border-color:var(--povod-secondary-edge)!important;}
/* Several compact controls draw their capsule on ::before to keep the 44px tap area. */
body :is(.btn-soft,.btn-ghost,.studio-map-link,.studio-small-pill,.studio-wish-variant,[data-message-suggest],.legal-later,[data-remove-cancel]):not(:is(.btn-primary,.btn-accent,.btn-danger))::before{border-color:var(--povod-secondary-edge)!important;}
body :is(.studio-map-link,.studio-small-pill,.studio-wish-variant,[data-message-suggest],.gift-shop-link,.gift-cancel-action):not(:disabled):not(:focus-visible)::before{box-shadow:var(--povod-secondary-shadow)!important;}
/* Full-size secondary buttons carry the material on the button itself. */
body :is(.btn-soft,.btn-ghost,.legal-later,[data-remove-cancel]):not(:is(.btn-primary,.btn-accent,.btn-danger,.gift-shop-link,.gift-cancel-action,.studio-small-pill,.studio-wish-variant,[data-message-suggest],.povod-guest-reminder .btn,.guest-create .btn)):not(:disabled):not(:focus-visible){box-shadow:var(--povod-secondary-shadow)!important;}
html.keyboard-input body :is(.btn-soft,.btn-ghost,.studio-map-link,.studio-small-pill,.studio-wish-variant,[data-message-suggest],.legal-later,[data-remove-cancel]):not(:is(.btn-primary,.btn-accent,.btn-danger)):focus-visible{outline-color:var(--povod-secondary-ink)!important;}

/* Review v2: lighter milk paper and the app's slow internal glint. */
body a.studio-map-link::before{background:linear-gradient(145deg,#fff,#fbfaf8)!important;}
body a.studio-map-link::after{content:'';position:absolute;inset:6px 1px;z-index:-1;border-radius:999px;pointer-events:none;background:linear-gradient(105deg,transparent 24%,#ffffffcc 50%,transparent 76%) -100% center/55% 100% no-repeat;opacity:0;animation:povod-secondary-glint 9s ease-in-out infinite;}
@keyframes povod-secondary-glint{0%,70%{background-position:-100% center;opacity:0;}74%{background-position:-100% center;opacity:.8;}82%{background-position:200% center;opacity:.8;}85%,100%{background-position:200% center;opacity:0;}}
@media(prefers-reduced-motion:reduce){body a.studio-map-link::after{animation:none;content:none;}}
