/* MYHALF plan metals: one look for Silver and Gold wherever a plan is named, on the site and in the admin
   (owner, 2026-10-17, sample A). .plan-badge = the pill (<x-mh-plan>), .plan-medal = the round crown on a plan card. */
.plan-badge{position:relative;display:inline-flex;align-items:center;gap:5px;flex:none;width:fit-content;height:30px;padding:0 12px 0 10px;border:1px solid;border-radius:999px;overflow:hidden;isolation:isolate;font-family:inherit;font-size:12.5px;font-weight:800;line-height:1;letter-spacing:.03em;white-space:nowrap;text-decoration:none;vertical-align:middle}
.plan-badge .ic{flex:none;width:15px;height:15px}
.plan-badge.sm{height:24px;padding:0 10px 0 8px;gap:4px;font-size:11.5px}
.plan-badge.sm .ic{width:13px;height:13px}
a.plan-badge:hover{filter:brightness(1.04)}

.plan-badge.silver,.plan-medal.silver{border-color:#A9AFB9;background:linear-gradient(135deg,#F4F6F8 0%,#C9CED6 38%,#FDFEFF 52%,#AEB4BE 78%,#E7EAEE 100%);color:#2E3440;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(20,37,74,.18)}
.plan-badge.gold,.plan-medal.gold{border-color:#B88A3E;background:linear-gradient(135deg,#FCEBC0 0%,#D9A84E 38%,#FFF3CF 52%,#B8832F 78%,#F1D08A 100%);color:#4A2F0E;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 2px rgba(120,80,20,.3)}
/* Platinum (owner's mock-up, 2026-10-17): the site's navy, polished, with a white crown */
.plan-badge.platinum,.plan-medal.platinum{border-color:#0E1B38;background:linear-gradient(135deg,#3A4E7C 0%,#14254A 40%,#2E4270 55%,#0E1B38 80%,#2B3E68 100%);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(14,27,56,.35)}
.plan-badge.platinum::after,.plan-medal.platinum::after{background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.35) 48%,transparent 66%)}

.plan-medal{position:relative;flex:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid;border-radius:50%;overflow:hidden;isolation:isolate}
.plan-medal .ic{width:22px;height:22px;stroke-width:1.7}

/* the light: across the pill, every 4 s; still for reduced motion */
.plan-badge::after,.plan-medal::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.85) 48%,transparent 66%);transform:translateX(-120%);animation:plan-shine 4s ease-in-out infinite}
@keyframes plan-shine{0%,60%{transform:translateX(-120%)}85%,100%{transform:translateX(120%)}}
@media (prefers-reduced-motion:reduce){.plan-badge::after,.plan-medal::after{animation:none}}
