.points-center {
  display:grid;
  gap:20px;
  color:var(--text,#17324e);
  font-family:inherit;
  font-size:14px;
  line-height:1.65;
  min-width:0
}
.points-center h3 {
  font-size:17px;
  line-height:1.5;
  margin:0 0 12px;
  font-weight:650
}
.pc-card {
  background:var(--surface,#fff);
  border:1px solid var(--line,#dde8f3);
  border-radius:16px;
  padding:24px;
  min-width:0;
  box-shadow:0 4px 18px #17324e05
}
.pc-wallet {
  display:flex;
  flex-wrap:wrap;
  gap:16px 28px;
  align-items:center;
  background:linear-gradient(110deg,#f1f7ff,#fff 72%)
}
.pc-wallet>div:first-child {
  flex:1 1 240px;
  min-width:0
}
.pc-caption {
  margin:0 0 5px;
  font-size:15px
}
.pc-balance {
  font-size:40px;
  line-height:1.3;
  color:#1764b3;
  font-weight:700;
  font-variant-numeric:tabular-nums
}
.pc-unit {
  margin-left:10px;
  color:#5d7388
}
.pc-muted {
  color:var(--muted,#64778a);
  font-size:13px;
  margin:8px 0
}
.pc-wallet-error {
  flex-basis:100%
}
.pc-wallet-error:has(>.pc-error[hidden]):has(>.btn[hidden]) {
  display:none
}
.pc-checkin {
  flex:0 1 auto;
  min-width:0;
  max-width:100%
}
.pc-card-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap
}
.pc-card-heading h3 {
  margin-bottom:8px
}
.pc-month-nav {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:14px 0
}
.pc-month-nav strong {
  min-width:104px;
  text-align:center;
  font-size:16px
}
.pc-month-nav .btn {
  padding:7px 12px;
  min-height:36px
}
.pc-weekdays,.pc-calendar {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:5px
}
.pc-weekdays {
  color:#6d8297;
  text-align:center;
  margin-bottom:8px;
  font-size:12px
}
.pc-day,.pc-day-empty {
  min-height:67px
}
.pc-day {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  border:1px solid #e8eef4;
  border-radius:9px;
  background:#fff;
  color:#324f68;
  font:inherit;
  padding:4px 2px;
  font-variant-numeric:tabular-nums
}
.pc-day small {
  font-size:11px;
  line-height:1.35
}
.pc-today {
  border-color:#2781d3;
  background:#f0f7ff;
  color:#175e9f
}
.pc-calendar button.pc-today:not(:disabled) {
  cursor:pointer;
  box-shadow:inset 0 0 0 1px #2781d3
}
.pc-calendar button.pc-today:not(:disabled):hover {
  background:#e4f1ff
}
.pc-calendar button:disabled {
  cursor:default;
  opacity:1
}
.pc-checked {
  background:#f3faf7
}
.pc-reward {
  color:#14825c;
  font-weight:600
}
.pc-debit {
  color:#b2403b;
  font-weight:600
}
.pc-calendar-hint {
  margin:14px 0
}
.pc-history-count {
  font-size:14px;
  font-weight:600;
  margin:16px 0 6px
}
.pc-history {
  max-height:210px;
  overflow:auto
}
.pc-history ul {
  list-style:none;
  margin:0;
  padding:0
}
.pc-history li {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 0;
  border-top:1px solid #edf2f7;
  font-size:12px
}
.pc-history strong {
  white-space:nowrap
}
.pc-referral {
  display:flex;
  flex-direction:column;
  align-items:stretch
}
.pc-referral-stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:24px 0;
  padding:18px 0;
  border-top:1px solid #e7eef5;
  border-bottom:1px solid #e7eef5
}
.pc-referral-stats div {
  display:flex;
  flex-direction:column;
  gap:8px;
  text-align:center
}
.pc-referral-stats span {
  font-size:12px;
  color:#64778a
}
.pc-referral-stats strong {
  font-size:23px;
  color:#1764b3;
  font-variant-numeric:tabular-nums
}
.pc-field {
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
  color:#405c74;
  min-width:0
}
.pc-field input,.pc-field select {
  width:100%;
  min-height:40px;
  border:1px solid #cddbe9;
  border-radius:8px;
  background:#fff;
  padding:8px 10px;
  font:inherit;
  color:#233f58;
  box-sizing:border-box;
  min-width:0
}
.pc-referral .pc-field {
  margin-top:18px
}
.pc-field input[readonly] {
  background:#f7faff;
  color:#47657d;
  font-size:12px
}
.pc-link-actions {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:12px;
  flex-wrap:wrap
}
.pc-filters {
  display:flex;
  align-items:end;
  gap:12px;
  flex-wrap:wrap;
  margin:14px 0 18px
}
.pc-filters .pc-field {
  flex:1 1 145px;
  max-width:220px
}
.pc-filters .btn {
  min-height:40px
}
.pc-table-scroll {
  position:relative;
  overflow-x:auto;
  max-width:100%;
  border:1px solid #e0e9f2;
  border-radius:10px
}
.pc-table {
  width:100%;
  border-collapse:collapse;
  min-width:760px;
  font-size:13px;
  text-align:left;
  font-variant-numeric:tabular-nums
}
.pc-table th {
  background:#f5f9fd;
  padding:12px 14px;
  color:#516d84;
  font-weight:600;
  white-space:nowrap
}
.pc-table td {
  padding:13px 14px;
  border-top:1px solid #e8eef4;
  vertical-align:top
}
.pc-table td:not(.pc-description) {
  white-space:nowrap
}
.pc-description {
  min-width:180px;
  max-width:400px;
  overflow-wrap:anywhere
}
.pc-more {
  display:flex;
  justify-content:center;
  margin-top:18px
}
.pc-error {
  color:#b33d35;
  background:#fff5f3;
  border:1px solid #f0d2ce;
  border-radius:8px;
  padding:10px 12px;
  margin:12px 0;
  overflow-wrap:anywhere
}
.points-center [hidden] {
  display:none!important
}
.points-center button:focus-visible,.points-center input:focus-visible,.points-center select:focus-visible,.pc-table-scroll:focus-visible,.pc-error:focus-visible {
  outline:3px solid #7cb7f0;
  outline-offset:3px
}
.pc-sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
@media(max-width:900px) {
  .pc-referral-stats {
    margin:18px 0
  }
  .pc-card {
    padding:20px
  }
}
@media(max-width:540px) {
  .points-center {
    gap:14px
  }
  .pc-card {
    padding:16px;
    border-radius:12px
  }
  .pc-checkin {
    flex-basis:100%
  }
  .pc-checkin .btn {
    width:100%
  }
  .pc-balance {
    font-size:36px
  }
  .pc-month-nav {
    gap:8px
  }
  .pc-month-nav .btn {
    padding:7px 10px
  }
  .pc-day,.pc-day-empty {
    min-height:58px
  }
  .pc-day small {
    font-size:10px
  }
  .pc-filters .pc-field {
    max-width:none;
    flex-basis:calc(50% - 8px)
  }
  .pc-filters .btn {
    flex:1
  }
  .pc-history li {
    font-size:11px
  }
  .pc-referral-stats span {
    font-size:11px
  }
  .pc-referral-stats strong {
    font-size:21px
  }
}
