:root{--ink:#30243b;--muted:#776b7f;--purple:#7922c7;--pink:#e93672;--line:#eee5f2}*{box-sizing:border-box}body{margin:0;background:#f7f5f9;color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Microsoft JhengHei",sans-serif}a{text-decoration:none;color:var(--purple)}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #f2a62a;outline-offset:3px}[hidden]{display:none!important}.page-head{display:flex;align-items:center;gap:14px;padding:14px max(16px,calc((100% - 1060px)/2));background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.page-head strong{font-size:20px}.page-head>span{margin-left:auto;color:#8d779c;font-size:12px;letter-spacing:2px}.back{width:42px;height:42px;border-radius:50%;background:#f5eff9;display:grid;place-items:center;font-size:32px;line-height:1}main{max-width:1060px;margin:auto;padding:24px 16px 64px}section{margin-bottom:24px}.hero{padding:30px;border-radius:24px;background:linear-gradient(120deg,#eee1ff,#fff1e5);border:1px solid #e9daf4}.eyebrow{font-weight:700;color:var(--purple)}h1{font-size:30px;line-height:1.4;margin:8px 0 12px}h2{font-size:22px;margin:0 0 16px;line-height:1.4}h3{font-size:18px;margin:8px 0}p{margin:0;color:var(--muted)}.stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.stats>div{background:#ffffffa6;border-radius:16px;padding:16px 20px}.stats span{display:block;color:var(--muted)}.stats strong{font-size:28px;color:var(--purple)}.benefits{background:white;border:1px solid var(--line);border-radius:22px;padding:24px}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.benefit-icon{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f2e7fb;color:var(--purple);font-size:22px;font-weight:800}.level{margin-top:22px;padding:16px;border-radius:14px;background:#f8f4fc}.level strong{color:var(--purple)}.next-task{padding:24px;border-radius:22px;background:#fff7e8;border:1px solid #f3dfb6}.next-task h2{margin-bottom:8px}.task-link,.card-action{display:inline-block;background:var(--purple);color:#fff;padding:10px 18px;border-radius:12px;font-weight:700;margin-top:16px;min-height:44px}.section-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.section-title h2{margin:0}.section-title span{color:var(--muted)}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.filters button{padding:9px 18px;border-radius:99px;background:#fff;border:1px solid #dfd1e9;color:var(--muted);min-height:44px}.filters button[aria-pressed=true]{background:var(--purple);color:#fff;border-color:var(--purple)}.badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.badge-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;display:flex;flex-direction:column;min-width:0}.badge-card.earned{border-color:#ebc7dc;background:linear-gradient(#fff,#fff8fb)}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:8px}.badge-icon{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;font-size:32px;background:#f4edf9}.earned .badge-icon{background:linear-gradient(135deg,#fff0a7,#ffc650);box-shadow:0 4px 12px #e9b13625}.state{font-size:14px;background:#f4eff7;color:#756580;border-radius:99px;padding:4px 10px;white-space:nowrap}.earned .state{background:#fce4ee;color:#b12b61}.badge-card h3{margin:0 0 8px}.badge-card p{font-size:16px;flex-grow:1}.reward{font-weight:800;color:var(--purple);margin:16px 0 10px}.progress{height:8px;background:#f0eaf4;border-radius:99px;overflow:hidden}.progress>span{display:block;height:100%;background:linear-gradient(90deg,var(--purple),var(--pink));border-radius:99px}.progress-caption{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted);margin-top:8px}.card-action{background:#f3eafa;color:var(--purple);text-align:center}.footnote{font-size:14px;margin-top:20px;line-height:1.7}.status{margin:0 0 20px;color:var(--muted)}.status a{font-weight:700}.empty{padding:24px;background:#fff;border-radius:16px;grid-column:1/-1;text-align:center}@media(max-width:760px){.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:24px}h1{font-size:25px}.benefit-grid{grid-template-columns:1fr;gap:16px}.benefit-grid article{display:grid;grid-template-columns:36px 1fr;column-gap:12px}.benefit-grid h3{margin:0}.benefit-grid p{grid-column:2}.benefit-icon{grid-row:1/3}.benefits,.next-task{padding:20px}}@media(max-width:480px){main{padding-top:16px}.hero{padding:20px}h1{font-size:23px}.stats>div{padding:12px}.stats strong{font-size:24px}.badge-grid{grid-template-columns:1fr}.badge-card{padding:20px}.page-head>span{display:none}.section-title{align-items:start}.section-title span{font-size:14px}.stats{gap:10px}section{margin-bottom:20px}}

.discount-section{background:white;border:1px solid var(--line);border-radius:22px;padding:24px}.discount-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.discount-card{padding:22px;background:linear-gradient(130deg,#f3e9ff,#fff2f6);border-radius:18px;display:flex;flex-direction:column;align-items:flex-start}.discount-card>span{font-weight:700;font-size:18px}.discount-card>strong{font-size:32px;line-height:1.4;color:var(--purple);margin:10px 0}.discount-card p{flex-grow:1}.discount-hint{margin-top:16px;font-size:16px}@media(max-width:600px){.discount-section{padding:20px}.discount-grid{grid-template-columns:1fr}.discount-card{padding:20px}}
/* Consistent reading sizes across desktop and mobile. */
:root{--badge-body-size:16px;--badge-heading-size:20px;--badge-value-size:28px}
body{font-size:var(--badge-body-size)}
p,.eyebrow,.stats span,.benefit-grid p,.level,.discount-hint,.discount-card p,.badge-card p,.reward,.state,.progress-caption,.footnote,.status,.section-title span,.filters button,.task-link,.card-action{font-size:var(--badge-body-size)!important;line-height:1.6!important}
h2,h3,.page-head strong,.discount-card>span{font-size:var(--badge-heading-size)!important;line-height:1.45!important}
h1{font-size:26px!important;line-height:1.45!important}
.stats strong,.discount-card>strong{font-size:var(--badge-value-size)!important;line-height:1.4!important}
.badge-card .state{white-space:normal;text-align:center}
@media(max-width:480px){h1{font-size:24px!important}.section-title{flex-wrap:wrap;gap:8px}.page-head strong,h2,h3,.discount-card>span{font-size:20px!important}}
