/* แอปสมาชิก — ต่อยอดจาก common.css · mobile-first (รันใน Android WebView) */
.m-main { max-width: 520px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.m-note { margin: 0; padding: .6rem .8rem; border-radius: var(--radius); background: var(--green-soft); color: var(--green-dark); font-weight: 600; text-align: center; }
.m-auth { padding: 0; overflow: hidden; }
.m-tabs { padding: 0; }
.m-tabs button { flex: 1 1 50%; padding: .9rem .5rem; font-size: 1rem; }
.m-form { padding: 1rem; }
.m-form input { min-height: 50px; font-size: 18px; }
.m-form input[inputmode=numeric][type=password] { letter-spacing: .35em; }
.m-submit { min-height: 52px; font-size: 1.05rem; margin-top: .25rem; }
.m-forgot { margin: .9rem 0 0; }
.m-dl { margin: 0; }
.m-dl a { display: inline-block; padding: .6rem; }
.m-banner { border-radius: var(--radius); margin: 0; }
.m-section-title { margin: .5rem 0; }
#logout-btn { min-height: 40px; }
.m-conn { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0; }
.m-conn .btn { flex: 0 0 auto; min-height: 40px; }

/* รอบที่กำลังเล่น */
.m-current { background: var(--green); color: #fff; border-color: var(--green-dark); }
.m-current .muted, .m-current .m-label { color: rgba(255, 255, 255, .8); }
.m-current-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.m-table { font-size: 1.3rem; font-weight: 700; }
.m-clock { font-size: 2.6rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .03em; line-height: 1.2; margin: .4rem 0; }
.m-price { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.m-label { font-size: .85rem; }

/* โปรโมชั่น */
.m-promo-type { margin-bottom: .5rem; }
.m-tiers { list-style: none; margin: .25rem 0 .5rem; padding: 0; }
.m-tiers li { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.m-tiers li:last-child { border-bottom: 0; }
.m-rate { font-size: 1.5rem; font-weight: 700; color: var(--green-dark); }
.m-progress { width: 100%; height: 18px; margin: .4rem 0; accent-color: var(--green); }
.m-progress-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; font-weight: 600; }
.m-reward { font-weight: 600; color: var(--green-dark); }
.m-reward.ready { padding: .5rem .7rem; border-radius: 8px; background: var(--green-soft); }

/* ประวัติ */
.m-hist { padding: .8rem 1rem; }
.m-hist-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.m-hist-total { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-hist.void .m-hist-total { text-decoration: line-through; color: var(--muted); }
.m-hist-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
