.ms-points { color: #123a52; min-width: 0; }
.ms-points header { margin-bottom: 24px; }
.ms-points h2 { font-size: 26px; line-height: 1.25; margin: 8px 0 16px; }
.ms-points h3 { font-size: 20px; margin: 26px 0 16px; }
.ms-points-eyebrow { font-size: 19px; font-weight: 700; color: #087295; }
.ms-points-star { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; vertical-align: middle; margin-right: 6px; background: url('./shiny-star.svg') center / contain no-repeat; font-size: 0 !important; }
.ms-points-account-page .woocommerce-MyAccount-content { background: #075a7e !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.ms-points-account { color: #f2fbff; }
.ms-points-account h2, .ms-points-account h3 { color: #ffd536 !important; }
.ms-points-account p { color: #e0f1f8; line-height: 1.65; }
.ms-points-account a { color: #ffe278; text-underline-offset: 3px; }
.ms-points-account a:hover { color: #fff3b4; }
.ms-points-header { display: flex; align-items: center; gap: 22px; padding-bottom: 24px; border-bottom: 2px solid #ffd536; }
.ms-points-header > div { min-width: 0; }
.ms-points-account .ms-points-eyebrow { color: #fff; }
.ms-points-header h2 { margin-bottom: 0; }
.ms-points-star--hero { width: 88px; height: 88px; margin: 0; animation: ms-points-shine 4.8s ease-in-out infinite; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--pontos-shiny a { display: flex; align-items: center; gap: 10px; background: #086a91 !important; color: #ffdf59 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--pontos-shiny.is-active a { background: #075579 !important; color: #ffd536 !important; }
.woocommerce-MyAccount-navigation-link--pontos-shiny a::before { content: ''; display: block; flex: 0 0 26px; width: 26px; height: 26px; background: url('./shiny-star.svg') center / contain no-repeat; }
.ms-points-welcome-award { display: flex; align-items: center; gap: 16px; background: #086f91; padding: 18px 16px; border-left: 4px solid #ffd536; margin: 22px 0; }
.ms-points-welcome-award .ms-points-star { width: 44px; height: 44px; }
.ms-points-welcome-award strong { display: block; font-size: 20px; line-height: 1.35; color: #ffdf59; }
.ms-points-welcome-award div > span { display: block; margin-top: 6px; color: #e0f1f8; font-size: 14px; line-height: 1.5; }
.ms-points-confirm-prompt { font-weight: 700; }
.ms-points-balances { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 18px; padding: 24px 18px; background: #05496a; border-bottom: 1px solid #5297b3; }
.ms-points-balances > div { min-width: 0; }
.ms-points-balances > div + div { padding-left: 16px; border-left: 1px solid #4386a3; }
.ms-points-balances strong { display: inline-block; font-size: 32px; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: #fff; }
.ms-points-balances > div > span:last-child { display: block; font-size: 14px; color: #d4eaf5; margin-top: 8px; line-height: 1.5; }
.ms-points-balance-available { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-content: center; column-gap: 10px; }
.ms-points-balance-available .ms-points-star { width: 54px; height: 54px; grid-row: 1 / 3; align-self: center; animation: ms-points-shine 4s ease-in-out infinite; }
.ms-points-balance-available strong { font-size: 44px; color: #ffd536; }
.ms-points-balance-available > span:last-child { grid-column: 2; }
.ms-points-task { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 18px; margin: 12px 0; border: 1px solid #4294b3; border-radius: 8px; background: #086b8d; transition: background-color .2s, border-color .2s, transform .2s; animation: ms-points-enter .45s ease-out backwards; }
.ms-points-task:nth-of-type(2) { animation-delay: .08s; }
.ms-points-task:focus-within { background: #087092; border-color: #ffdc59; }
@media (hover: hover) { .ms-points-task:hover { background: #087092; border-color: #ffdc59; transform: translateY(-2px); } }
.ms-points-task > div, .ms-points-task > form { min-width: 0; }
.ms-points-task strong, .ms-points-task div > span { display: block; }
.ms-points-task strong { color: #fff; font-size: 17px; line-height: 1.4; }
.ms-points-task div > span { font-size: 14px; color: #dcf1fa; margin-top: 6px; line-height: 1.5; }
.ms-points-week { display: flex; gap: 7px; margin-top: 14px; }
.ms-points-week .ms-points-star { width: 22px; height: 22px; margin: 0; opacity: .32; filter: saturate(.3); }
.ms-points-week .ms-points-star.is-collected { opacity: 1; filter: none; }
.ms-points .ms-points-button, .ms-points-checkout .ms-points-button { background: #ffd536 !important; color: #064361 !important; border: 0; border-radius: 6px; box-shadow: none !important; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; font-size: 15px; font-weight: 700; line-height: 1.3; text-align: center; white-space: normal; }
.ms-points .ms-points-button:hover, .ms-points-checkout .ms-points-button:hover { background: #ffe377 !important; color: #053b59 !important; }
.ms-points .ms-points-button:disabled, .ms-points-checkout .ms-points-button:disabled { opacity: 1 !important; cursor: wait; background: #e1bd3d !important; color: #064361 !important; }
.ms-points-message { display: block; font-size: 14px; margin-top: 8px; color: #ffe9d0; overflow-wrap: anywhere; line-height: 1.5; }
.ms-points-consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; line-height: 1.6; color: #f2fbff !important; }
.ms-points-consent > span { min-width: 0; }
.ms-points-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; accent-color: #ffd536; }
.ms-points-muted { color: #d2eaf5 !important; font-size: 14px; }
.ms-points-done { color: #d9ffbd !important; font-size: 14px; font-weight: 700; }
.ms-points-earned { color: #28724d; display: block; margin-top: 4px; }
.ms-points-alert { padding: 12px; color: #843326 !important; background: #fff0e9; border-left: 3px solid #ae513e; }
.ms-points-checkout { margin: 12px 0; padding: 16px; text-align: left; background: #086a91; color: #fff; }
.ms-points-checkout > strong { color: #ffdf59; }
.ms-points-checkout p { margin: 8px 0 12px; font-size: 14px; line-height: 1.5; color: #e4f4fc; }
.ms-points-checkout a { color: #ffe278; }
.ms-points-checkout .ms-points-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.ms-points-amount { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #fff; }
.ms-points-amount input[type=number] { width: 120px; height: 48px; padding: 6px 10px; border: 1px solid #a8c5d6; border-radius: 6px; background: #fff; color: #123a52; appearance: auto; -moz-appearance: auto; }
.ms-points-amount input::-webkit-inner-spin-button { opacity: 1; appearance: auto; }
.ms-points-product { font-size: 14px; line-height: 1.5; margin: 10px 0; color: #466579; }
.ms-points-history { overflow-x: auto; }
.ms-points-history table { width: 100%; border-collapse: collapse; font-size: 14px; color: #fff; }
.ms-points-history td, .ms-points-history th { padding: 12px 8px; border-bottom: 1px solid #4586a0; text-align: left; vertical-align: top; background: transparent; }
.ms-points-history th { color: #ffdf59; }
.ms-points-history td:last-child { white-space: nowrap; color: #ffe278; font-weight: 700; }
.ms-points-expiries { padding-left: 20px; line-height: 1.8; color: #e2f2f9; }
.ms-points-rules { display: inline-block; margin-top: 20px; }
.ms-points-terms { max-width: 850px; padding: 32px 20px; margin: auto; color: #123a52; }
.ms-points-terms p { line-height: 1.7; }
.ms-points-flight { position: fixed; inset: 0; pointer-events: none; z-index: 99999; overflow: hidden; }
.ms-points-particle { position: absolute; width: 52px; height: 52px; background: url('./shiny-star.svg') center / contain no-repeat; filter: drop-shadow(0 4px 5px #063b5650); will-change: transform, opacity; }
.ms-points-gain { position: absolute; white-space: nowrap; padding: 9px 15px; border-radius: 6px; background: #ffd536; color: #064361; font-size: 17px; font-weight: 700; line-height: 1.3; box-shadow: 0 4px 12px #04314c38; }
@keyframes ms-points-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ms-points-shine { 0%, 55%, 100% { transform: rotate(0); filter: brightness(1); } 65% { transform: rotate(-10deg) scale(1.08); filter: brightness(1.2); } 76% { transform: rotate(8deg); filter: brightness(1.1); } }
@media (prefers-reduced-motion: reduce) { .ms-points-task, .ms-points-star--hero, .ms-points-balance-available .ms-points-star { animation: none; transition: none; } .ms-points-task:hover { transform: none; } }
@media (max-width: 600px) {
  .ms-points h2 { font-size: 22px; }
  .ms-points-header { gap: 14px; padding-bottom: 20px; }
  .ms-points-star--hero { width: 64px; height: 64px; }
  .ms-points-eyebrow { font-size: 17px; }
  .ms-points-balances { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; padding: 20px 12px; }
  .ms-points-balance-available { grid-column: 1 / -1; }
  .ms-points-balances > div + div { padding-left: 0; border-left: 0; }
  .ms-points-balances strong { font-size: 28px; }
  .ms-points-balance-available strong { font-size: 44px; }
  .ms-points-balances > div > span:last-child { font-size: 13px; }
  .ms-points-task { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px 14px; }
  .ms-points-task .ms-points-form { width: 100%; }
  .ms-points-welcome-award { gap: 12px; padding: 16px 12px; }
  .ms-points-welcome-award strong { font-size: 18px; }
  .ms-points-week { gap: 5px; }
  .ms-points-week .ms-points-star { width: 20px; height: 20px; }
  .ms-points-history td, .ms-points-history th { padding: 10px 5px; }
  .ms-points-history td:last-child { white-space: normal; }
  .ms-points-cart-row > th { width: 25%; }
  .ms-points-particle { width: 44px; height: 44px; }
}
