@property --pct{syntax:'<percentage>';inherits:true;initial-value:0%}
.mm-bar{--mm-ease:cubic-bezier(.16,1,.3,1);margin:0 0 28px;padding:18px 20px 16px;border:1px solid #e4e4df;border-radius:14px;background:#fff;color:#111;font-size:14px;line-height:1.45;text-align:left}
.mm-bar__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.mm-bar__msg{margin:0}
.mm-bar__goal{font-size:12px;color:#5f5f5a;white-space:nowrap}
.mm-bar__track{position:relative;height:4px;margin:16px 0 10px;border-radius:999px;background:#ececE8}
.mm-bar__fill{position:absolute;inset:0 auto 0 0;width:var(--pct);border-radius:999px;background:#111;overflow:hidden}
.mm-bar__fill::after{content:"";position:absolute;inset:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);transform:translateX(-120%)}
.mm-bar__dot{position:absolute;top:50%;left:clamp(6px,var(--pct),calc(100% - 26px));width:12px;height:12px;border-radius:50%;background:#111;box-shadow:0 0 0 2px #fff,0 0 0 3px #111;transform:translate(-50%,-50%);transition:opacity .15s var(--mm-ease)}
.mm-bar__end{position:absolute;right:-2px;top:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #cfcfc9;background:#fff;color:#111;transform:translateY(-50%);transition:background-color .25s var(--mm-ease),color .25s var(--mm-ease),border-color .25s var(--mm-ease)}
.mm-bar.is-free .mm-bar__dot{opacity:0}
.mm-bar.is-free .mm-bar__end{background:#111;border-color:#111;color:#fff}
.mm-bar__note{margin:0;font-size:12px;color:#5f5f5a}
.mm-bar__note + .mm-bar__note{margin-top:4px}
.mm-bar__tip{display:flex;align-items:center;gap:12px;margin:12px 0 2px;padding:10px 12px;border-radius:10px;background:#f6f6f2}
.mm-bar__tip[hidden]{display:none}
.mm-bar__tip-img{flex:0 0 44px;width:44px;height:44px;border-radius:8px;overflow:hidden;background:#ecece6;display:block}
.mm-bar__tip-img img{width:100%;height:100%;object-fit:cover;display:block}
.mm-bar__tip-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.mm-bar__tip-title{font-weight:700;font-size:13px;line-height:1.3;color:#111;text-decoration:none}
.mm-bar__tip-title:hover{text-decoration:underline}
.mm-bar__tip-sub{font-size:12px;color:#4d4d48}
.mm-bar__tip form{margin:0}
.mm-bar__tip-btn{white-space:nowrap;border:0;border-radius:999px;background:#111;color:#fff;font:inherit;font-size:13px;font-weight:700;padding:8px 14px;cursor:pointer;min-height:36px}
.mm-bar__tip-btn:hover{opacity:.85}
.mm-bar__tip-btn:focus-visible{outline:2px solid #111;outline-offset:3px}
.mm-bar--compact{margin:0 0 14px;padding:12px 14px 10px;font-size:13px}
.mm-bar--compact .mm-bar__head{flex-direction:column;gap:1px}
.mm-bar--compact .mm-bar__track{margin:12px 0 8px}
.mm-bar--compact .mm-bar__tip{margin-top:10px}
@media (prefers-reduced-motion:no-preference){.mm-bar.is-shine .mm-bar__fill::after{animation:mm-sweep 1.1s cubic-bezier(.32,.72,0,1) .55s both}}
@keyframes mm-sweep{to{transform:translateX(320%)}}
@media screen and (max-width:749px){.mm-bar{padding:16px 16px 14px;margin-bottom:20px}.mm-bar__head{flex-direction:column;gap:2px}}
