/* Points balance in the header (logged-in members, points system on). */
.desk-member{display:flex;align-items:center;gap:8px}
.points-pill{display:inline-flex;align-items:center;height:40px;border:1px solid var(--dark-border);border-radius:999px;background:rgb(255 255 255/.04);color:var(--light-text);white-space:nowrap}
.points-pill:hover{border-color:var(--cyan);color:var(--light-text)}
.pp-item{display:flex;flex-direction:column;justify-content:center;line-height:1.15;padding:0 12px}
.pp-item+.pp-item{border-left:1px solid var(--dark-border)}
.pp-item small{font-size:10px;color:var(--light-muted);font-weight:500}
.pp-item b{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.pp-bonus b{color:var(--cyan)}
.mobile-points{display:none}
@media(max-width:1240px){
  .mobile-points{display:inline-flex;align-items:stretch;margin-left:auto;min-height:44px;border:1px solid var(--dark-border);border-radius:10px;background:var(--dark-secondary);color:var(--light-text)}
  .mobile-points>span{display:flex;flex-direction:column;justify-content:center;line-height:1.1;padding:0 9px}
  .mobile-points>span+span{border-left:1px solid var(--dark-border)}
  .mobile-points small{font-size:10px;color:var(--light-muted);white-space:nowrap}
  .mobile-points b{white-space:nowrap}
  .mobile-points b{font-size:13px;font-variant-numeric:tabular-nums}
  .mobile-points .pp-bonus b{color:var(--cyan)}
  .mobile-points+.mobile-download{margin-left:0}
  .header-inner>.mobile-download,.header-inner>.mobile-draw,.header-inner>.menu-toggle{flex-shrink:0}
}
@media(max-width:360px){.mobile-points small{display:none}}
/* Home draw cards: keep the date whole and put the draw number on its own line on phones. */
.dp-title .dp-date{white-space:nowrap}
@media(max-width:540px){.dp-title time{font-size:12px}.dp-title .dp-no{display:block}}
@media(max-width:440px){.mobile-points~.mobile-draw{display:none}}

/* Longer English/Malay labels must fit when the member balance is visible. */
.desk-member{gap:4px}
.points-pill .pp-item{padding-inline:7px}
@media(max-width:1240px){
  .header-inner:has(.mobile-points){gap:6px}
  .header-inner .mobile-points>span{padding-inline:6px}
}
@media(min-width:1241px) and (max-width:1500px){
  .header-inner:has(.points-pill) .desk-cta{display:none}
}
