.phc-wallet{box-sizing:border-box;max-width:980px;margin:20px auto;padding:26px 28px;background:#12151c;color:#f4f5f8;border:1px solid #b8984e;border-radius:10px;font:inherit}
.phc-wallet *{box-sizing:border-box}.phc-wallet h2,.phc-wallet h3{color:#f1cf83;margin:0 0 15px}.phc-wallet p{margin:0 0 18px}.phc-wallet a{color:#f4c65e}.phc-wallet label{display:block;margin-bottom:6px;color:#e7d6aa}.phc-wallet input,.phc-wallet select{display:block;max-width:100%;width:100%;padding:12px;color:#fff;background:#222630;border:1px solid #8e7545;border-radius:5px}.phc-wallet button{background:#cc1717;color:#fff;border:0;border-radius:4px;padding:12px 24px;cursor:pointer}.phc-wallet-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.phc-wallet-stat{display:flex;flex-direction:column;gap:4px;background:#222630;border:1px solid #554935;border-radius:6px;padding:15px}.phc-wallet-stat strong{font-size:26px;color:#f5d18a}.phc-wallet-stat span{font-size:14px}.phc-wallet-help{font-size:13px;color:#c8cbd2}.phc-wallet-notice{padding:12px;background:#243423;border-left:3px solid #89bc81}.phc-wallet-warning{padding:12px;background:#46262b;border-left:3px solid #df7b79}.phc-wallet-scroll{overflow-x:auto}.phc-wallet table{width:100%;border-collapse:collapse}.phc-wallet th,.phc-wallet td{border-bottom:1px solid #4a4e58;padding:10px;text-align:left}.phc-wallet th{color:#e8c979}@media(max-width:580px){.phc-wallet{padding:18px}.phc-wallet-stats{grid-template-columns:1fr}}

/* Profile consent: explicit square, visible checked/unchecked states. */
.phc-wallet .phc-consent-wrap { margin: 12px 0 20px; }
.phc-wallet label.phc-consent-row {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: #f4e6bf;
  line-height: 1.55;
  margin: 0;
}
.phc-wallet label.phc-consent-row span { flex: 1; }
.phc-wallet input.phc-consent-check {
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  width: 23px !important;
  height: 23px !important;
  min-width: 23px !important;
  min-height: 23px !important;
  max-width: 23px !important;
  flex: 0 0 23px !important;
  padding: 0 !important;
  margin: 1px 0 0 !important;
  border: 2px solid #f0c672 !important;
  border-radius: 5px !important;
  background: #202630 !important;
  position: relative;
  vertical-align: top;
  cursor: pointer;
}
.phc-wallet input.phc-consent-check:checked { background: #e3af42 !important; border-color: #e3af42 !important; }
.phc-wallet input.phc-consent-check:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #161616;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.phc-wallet input.phc-consent-check:focus-visible { outline: 3px solid #fff !important; outline-offset: 3px; }
.phc-wallet #phc-wallet-create-form button { min-height: 46px; font-size: 15px; font-weight: 700; }
/* Popup notification after an actual successful server response. */
.phc-wallet-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.65);
}
.phc-wallet-popup {
  box-sizing: border-box;
  background: #141820;
  color: #fff;
  border: 2px solid #e6b65b;
  border-radius: 12px;
  padding: 25px 30px;
  width: min(420px, 100%);
  box-shadow: 0 18px 60px rgba(0,0,0,.65);
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
}
.phc-wallet-popup__symbol { display: block; font-size: 32px; color: #efc46e; margin-bottom: 8px; }
.phc-wallet-popup__message { margin: 0; }
.phc-wallet-popup--error { border-color: #eb7373; }
.phc-wallet-popup--error .phc-wallet-popup__symbol { color: #eb7373; }
@media (prefers-reduced-motion: reduce) { .phc-wallet-popup { transition: none; } }
