.mdk-pts-box { border: 1px solid #d9e3d0; background: #f7faf4; border-radius: 10px; padding: 16px 18px; margin: 0 0 16px; line-height: 1.45; }
.mdk-pts-box p { margin: 0 0 8px; }
.mdk-pts-title { font-weight: 700; font-size: 0.95em; color: #3d4a35; }
.mdk-pts-alt { display: block; font-size: 0.78em; color: #777; font-weight: 400; margin-top: 2px; }

/* The points themselves: the biggest thing in the box (owner 2026-11-02). */
.mdk-pts-have { margin: 4px 0 10px; color: #3d4a35; font-size: 0.95em; }
.mdk-pts-num { font-size: 2.6em; font-weight: 800; line-height: 1; color: #2e6b1f; letter-spacing: -0.5px; margin-right: 4px; }

/* Tier badge, one colour per tier (owner 2026-11-02). */
.mdk-pts-tier { font-size: 0.95em; }
.mdk-pts-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: 1.05em; color: #fff; vertical-align: middle; }
.mdk-pts-badge--chick { background: linear-gradient(135deg, #7fb069, #b8dca0); color: #1f3a12; }
.mdk-pts-badge--bronze { background: linear-gradient(135deg, #8a5a2b, #c48a52); }
.mdk-pts-badge--silver { background: linear-gradient(135deg, #8e979f, #d3d9de); color: #2b3237; }
.mdk-pts-badge--gold { background: linear-gradient(135deg, #c99a2e, #f0cf68); color: #3a2a00; }
.mdk-pts-badge--royal { background: linear-gradient(135deg, #111, #3a2a5a); color: #f5d77a; box-shadow: 0 0 0 2px #f0cf68 inset; }
.mdk-pts-badge--diamond { background: linear-gradient(135deg, #1d6fa5, #5fd0f0); }

/* How far to the next tier. */
.mdk-pts-bar { height: 10px; background: #e2e9da; border-radius: 999px; overflow: hidden; margin: 12px 0 6px; }
.mdk-pts-bar div { height: 100%; background: #2e6b1f; border-radius: 999px; }
.mdk-pts-next { font-size: 1em; }
.mdk-pts-gap { font-size: 1.25em; color: #c0392b; }

.mdk-pts-perk, .mdk-pts-earn { color: #2e6b1f; }
.mdk-pts-sub, .mdk-pts-note { font-size: 0.9em; color: #555; }
.mdk-pts-cash { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.mdk-pts-gift { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid #eef2ea; }
.mdk-pts-gift.is-on { background: #fff8e1; }
.mdk-pts-gift input[type=number] { width: 58px; box-sizing: border-box; padding: 6px 4px; text-align: center; }
.mdk-pts-gift em { font-style: normal; min-width: 0; overflow-wrap: anywhere; word-break: normal; }
.mdk-pts-gift span { white-space: nowrap; font-weight: 700; color: #2e6b1f; }
.mdk-pts-gnote { display: block; font-size: 0.8em; color: #777; }
.mdk-pts-used { font-weight: 700; color: #8a5a00; margin-top: 8px; }
/* Redeem now (owner 2026-11-02). */
.mdk-pts-redeem { display: block; width: 100%; box-sizing: border-box; margin: 12px 0 8px; padding: 12px 16px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #c99a2e, #f0cf68); color: #3a2a00; font-weight: 800; font-size: 1.05em; text-align: center; cursor: pointer; list-style: none; }
.mdk-pts-redeem::-webkit-details-marker { display: none; }
.mdk-pts-redeem-wrap[open] > .mdk-pts-redeem { background: #efe3bd; }
.mdk-pts-keep { font-size: 0.9em; color: #8a5a00; }
.mdk-pts-flash { outline: 3px solid #f0cf68; outline-offset: 4px; border-radius: 6px; transition: outline-color .3s; }
.mdk-pts-topup { display: block; color: #b4531a; font-weight: 600; font-size: 0.85em; }
.mdk-pts-cash { border-top: 1px dashed #cdd8c2; margin-top: 6px; padding-top: 10px; }
.mdk-pts-lvl { font-weight: 800; color: #8a5a00; background: #fff4d6; border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
/* Points box reads as a reward, not another notice (audit 2026-11-02). */
#mdk-pts-box.mdk-pts-box { border: 2px solid #e2c36b; background: #fffbef; }
#mdk-pts-box .mdk-pts-title { color: #8a5a00; }
.mdk-pts-echo { margin: -6px 0 12px; padding: 8px 12px; border-radius: 8px; background: #fff4d6; color: #3a2a00; font-size: 14px; }
.mdk-pts-echo a { color: #c0392b; font-weight: 800; margin-left: 6px; }
