html {
  min-height: 100%;
  overflow-y: auto;
}

body.points-page {
  --points-ui: "Satoshi", system-ui, sans-serif;
  --points-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --points-surface: rgba(8, 12, 18, 0.78);
  --points-surface-deep: rgba(4, 7, 12, 0.94);
  --points-border: rgba(122, 166, 216, 0.2);
  --points-border-strong: rgba(144, 204, 255, 0.3);
  --points-inner-frame: rgba(154, 222, 255, 0.14);
  --points-glow: rgba(97, 186, 255, 0.16);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, #04070d 0%, #020308 52%, #010205 100%);
  color: rgba(240, 246, 255, 0.94);
  font-family: var(--points-ui);
}

body.points-page *,
body.points-page *::before,
body.points-page *::after {
  box-sizing: border-box;
}

body.points-page.wallet-modal-open,
body.points-page.faq-modal-open {
  overflow: hidden;
}

.points-space {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.points-stars span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--size) * 2.2);
  height: calc(var(--size) * 2.2);
  border-radius: 50%;
  background: rgba(235, 244, 255, 0.96);
  box-shadow:
    0 0 10px rgba(180, 228, 255, 0.28),
    0 0 18px rgba(128, 204, 255, 0.18);
  opacity: 0.42;
  animation: pointsTwinkle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes pointsTwinkle {
  0%, 100% { opacity: 0.28; transform: scale(1); }
  35% { opacity: 0.92; transform: scale(1.12); }
  65% { opacity: 0.44; transform: scale(0.98); }
}

.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;
}

.points-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 38px 20px;
}

.points-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.points-workbench {
  position: relative;
  width: min(100%, 1068px);
  margin: 0 auto;
}

.points-hub {
  position: relative;
  width: 100%;
}

.points-panels {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 16px;
}

.points-panel,
.faq-modal__panel,
.wallet-modal__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--points-border);
  background:
    radial-gradient(circle at top, rgba(164, 220, 255, 0.05), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.22)),
    var(--points-surface);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 0 7px rgba(4, 8, 13, 0.24),
    0 18px 44px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(93, 172, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.points-panel {
  min-height: 492px;
  padding: 22px 22px 26px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 420ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.points-panel--public {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 15px;
}

.points-panel--wallet {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 15px;
}

body.points-page.is-ready .points-panel {
  opacity: 1;
  transform: translateY(0);
}

body.points-page.is-ready .points-panel:nth-child(2) {
  transition-delay: 70ms;
}

.points-panel::before,
.faq-modal__panel::before,
.wallet-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.016) 0,
      rgba(255, 255, 255, 0.016) 1px,
      transparent 2px,
      transparent 4px
    );
  opacity: 0.14;
  pointer-events: none;
}

.points-panel::after,
.faq-modal__panel::after,
.wallet-modal__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(120deg, transparent 8%, rgba(174, 231, 255, 0.12) 46%, transparent 76%) border-box;
  mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  opacity: 0.22;
  animation: borderShimmer 10s linear infinite;
  pointer-events: none;
}

@keyframes borderShimmer {
  from { transform: translateX(-16%); }
  to { transform: translateX(16%); }
}

.points-panel:hover,
.points-panel:focus-within,
.faq-modal__panel:hover,
.wallet-modal__panel:hover {
  border-color: var(--points-border-strong);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 7px rgba(4, 8, 13, 0.24),
    0 0 24px rgba(95, 182, 255, 0.12),
    0 20px 48px rgba(0, 0, 0, 0.48);
}

.card-head,
.card-topbar,
.card-section,
.card-footer,
.claim-check,
.faq-modal__header,
.wallet-modal__header,
.faq-list,
.wallet-modal__section,
.wallet-modal__toggle,
.wallet-modal__hint {
  position: relative;
  z-index: 1;
}

.card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.card-title {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 250, 255, 0.97);
}

.card-title--small {
  font-size: 24px;
  letter-spacing: 0.11em;
}

.card-subtitle {
  margin: 0;
  max-width: 28ch;
  font-size: 16px;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: rgba(224, 234, 246, 0.84);
}

.card-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-section--checker {
  padding-top: 9px;
}

.card-section--result {
  align-self: center;
  width: 100%;
  margin-top: 6px;
}

.card-label,
.modal-kicker,
.claim-check__header span,
.footer-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(185, 204, 224, 0.62);
}

.checker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: stretch;
}

.checker-input-wrap,
.readout-field,
.claim-check__value,
.faq-item,
.faq-modal__close,
.wallet-modal__close {
  position: relative;
  border: 1px solid rgba(110, 148, 188, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 0 0 5px rgba(4, 8, 13, 0.26);
}

.checker-input-wrap::before,
.readout-field::before,
.claim-check__value::before,
.faq-item::before,
.faq-modal__close::before,
.wallet-modal__close::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(170, 226, 255, 0.04);
  opacity: 1;
  pointer-events: none;
}

.checker-input-wrap::after,
.readout-field::after,
.claim-check__value::after,
.faq-item::after,
.faq-modal__close::after,
.wallet-modal__close::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(170, 226, 255, 0.16);
  opacity: 0;
  transition: opacity 180ms ease, box-shadow 180ms ease;
  pointer-events: none;
}

.checker-input-wrap,
.readout-field,
.claim-check__value {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 16%),
    linear-gradient(180deg, rgba(16, 22, 31, 0.82) 0%, rgba(6, 10, 16, 0.96) 72%, rgba(2, 4, 8, 0.98) 100%);
}

.checker-input-wrap {
  display: flex;
  align-items: center;
  min-height: 44px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.checker-input-wrap:hover,
.checker-input-wrap:focus-within {
  border-color: rgba(138, 200, 255, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 0 5px rgba(4, 8, 13, 0.26),
    0 0 0 1px rgba(84, 152, 218, 0.12),
    0 0 18px rgba(90, 176, 255, 0.1);
}

.checker-input-wrap:hover::after,
.checker-input-wrap:focus-within::after,
.faq-item:hover::after,
.faq-modal__close:hover::after,
.wallet-modal__close:hover::after {
  opacity: 1;
  box-shadow: inset 0 0 16px rgba(110, 198, 255, 0.1);
}

.checker-input-wrap:focus-within::after {
  box-shadow: inset 0 0 18px rgba(110, 198, 255, 0.12);
}

.checker-input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: none;
  background: transparent;
  color: rgba(245, 248, 255, 0.96);
  font-family: var(--points-ui);
  font-size: 14px;
  outline: none;
}

.checker-input::placeholder {
  color: rgba(220, 234, 248, 0.3);
}

.readout-field {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 15px 19px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 0 0 5px rgba(4, 8, 13, 0.26),
    inset 0 -18px 30px rgba(0, 0, 0, 0.22),
    0 10px 22px rgba(0, 0, 0, 0.18);
}

.readout-field:hover,
.claim-check__value:hover {
  border-color: rgba(138, 200, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 0 5px rgba(4, 8, 13, 0.26),
    inset 0 -18px 30px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(95, 182, 255, 0.1),
    0 12px 28px rgba(0, 0, 0, 0.24);
}

.readout-field--public {
  min-height: 102px;
  padding: 16px 20px;
  border-color: rgba(120, 166, 210, 0.17);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.024),
    inset 0 0 0 1px rgba(255, 255, 255, 0.024),
    inset 0 0 0 5px rgba(4, 8, 13, 0.26),
    inset 0 -22px 34px rgba(0, 0, 0, 0.24),
    0 11px 24px rgba(0, 0, 0, 0.2);
}

.readout-field::before,
.claim-check__value::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 22%);
}

.readout-field::after,
.claim-check__value::after {
  inset: auto 0 0;
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(140, 208, 255, 0.42), transparent);
  opacity: 0.42;
  box-shadow: none;
}

.readout-field:hover::after,
.claim-check__value:hover::after {
  opacity: 1;
  box-shadow: inset 0 0 16px rgba(110, 198, 255, 0.1);
}

.readout-value {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
  font-family: var(--points-mono);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(246, 249, 255, 0.96);
  text-align: right;
  white-space: nowrap;
}

.readout-value--compact {
  width: 100%;
  justify-content: flex-start;
  font-size: clamp(22px, 2vw, 28px);
  text-align: left;
}

.readout-value[data-readout-state="idle"] {
  color: rgba(228, 236, 245, 0.9);
}

.readout-value.is-booting {
  opacity: 0.92;
}

.readout-value.is-pulse {
  animation: readoutPulse 320ms ease;
}

@keyframes readoutPulse {
  0% { opacity: 0.68; transform: translateY(1px); }
  100% { opacity: 1; transform: translateY(0); }
}

.card-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-tag {
  color: rgba(212, 224, 238, 0.78);
}

.points-btn,
.points-dock__buy,
.points-dock__faq,
.points-dock__home,
.wallet-option {
  min-width: 0;
}

.points-btn {
  transition:
    transform 0.85s cubic-bezier(.2,.8,.2,1),
    filter 180ms ease;
}

.points-btn .face,
.points-dock__buy .face,
.points-dock__faq .face,
.points-dock__home .face,
.wallet-option .face {
  border-color: rgba(122, 170, 220, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.2)),
    rgba(8, 12, 18, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 0 4px rgba(4, 8, 13, 0.22),
    0 12px 24px rgba(0, 0, 0, 0.36);
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.points-btn .face,
.points-btn .btn-inline-label,
.points-btn .btn-inline-text,
.points-btn .btn-inline-icon {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.points-btn:hover,
.points-dock__buy:hover,
.points-dock__faq:hover,
.points-dock__home:hover {
  animation: buttonPulse 1.35s ease-in-out infinite;
}

.points-btn:hover::after,
.points-btn:active::after,
.points-btn.glitch-out::after {
  animation-duration: 0.16s;
}

.points-btn:hover .btn-inline-text,
.points-btn:active .btn-inline-text,
.points-btn:hover .btn-inline-icon,
.points-btn:active .btn-inline-icon {
  transform: none;
}

.points-btn:hover .face,
.points-btn:focus-visible .face,
.points-dock__buy:hover .face,
.points-dock__faq:hover .face,
.points-dock__home:hover .face,
.wallet-option:hover .face {
  border-color: rgba(148, 214, 255, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 0 0 4px rgba(4, 8, 13, 0.22),
    0 0 16px rgba(120, 200, 255, 0.12),
    0 12px 24px rgba(0, 0, 0, 0.36);
}

@keyframes buttonPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(120, 200, 255, 0)); }
  50% { filter: drop-shadow(0 0 10px rgba(120, 200, 255, 0.1)); }
}

.points-btn .face,
.wallet-option .face {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.points-btn--primary .face {
  border-color: rgba(146, 210, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(178, 226, 255, 0.08), rgba(7, 13, 20, 0.2)),
    rgba(10, 16, 24, 0.9);
}

.points-btn--secondary .face,
.points-btn--action .face {
  border-color: rgba(132, 192, 244, 0.24);
}

.points-btn--ghost .face {
  border-color: rgba(104, 146, 190, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18)),
    rgba(8, 12, 18, 0.72);
}

.checker-btn {
  width: 118px;
  height: 44px;
}

.share-btn {
  width: 144px;
  height: 38px;
}

.wallet-btn {
  width: 216px;
  height: 38px;
}

.claim-btn {
  width: 118px;
  height: 38px;
}

.claim-check {
  position: relative;
  align-self: end;
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.claim-check::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(132, 183, 230, 0.26), transparent);
}

.claim-check::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 224, 255, 0.22), transparent);
  opacity: 0;
  animation: scanSweep 9.2s linear infinite;
  pointer-events: none;
}

@keyframes scanSweep {
  0%, 83% { opacity: 0; transform: translateY(0); }
  85% { opacity: 0.16; }
  100% { opacity: 0; transform: translateY(88px); }
}

.claim-check__header,
.claim-check__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.claim-check__row {
  min-height: 52px;
}

.claim-check__value {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.claim-btn.is-soon {
  animation: claimPulse 260ms ease;
}

@keyframes claimPulse {
  0% { filter: drop-shadow(0 0 0 rgba(255, 186, 118, 0)); }
  60% { filter: drop-shadow(0 0 10px rgba(255, 186, 118, 0.16)); }
  100% { filter: drop-shadow(0 0 0 rgba(255, 186, 118, 0)); }
}

.claim-btn:disabled,
.claim-btn[aria-disabled="true"] {
  cursor: not-allowed;
  animation: none;
}

.claim-btn:disabled .face,
.claim-btn[aria-disabled="true"] .face {
  border-color: rgba(164, 180, 196, 0.18);
  background:
    linear-gradient(180deg, rgba(154, 184, 208, 0.08), rgba(14, 16, 20, 0.3)),
    rgba(7, 10, 14, 0.82);
  color: rgba(206, 217, 228, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 4px rgba(4, 8, 13, 0.24),
    0 10px 22px rgba(0, 0, 0, 0.34);
}

.claim-btn:disabled:hover,
.claim-btn[aria-disabled="true"]:hover {
  animation: none;
}

.points-dock {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.points-dock--left {
  left: -72px;
  top: 0;
}

.points-dock--right {
  right: -72px;
  bottom: 0;
}

.points-dock__buy,
.points-dock__faq {
  width: 54px;
  --flip-depth: 22px;
  transform: perspective(900px) rotateY(0deg);
}

.points-dock__buy {
  height: 158px;
}

.points-dock__faq {
  height: 104px;
}

.points-dock__buy:hover,
.points-dock__faq:hover {
  transform: perspective(900px) rotateY(360deg);
}

.points-dock__buy:active,
.points-dock__faq:active {
  transform: perspective(900px) rotateY(360deg) translateY(1px);
}

.points-dock__buy .f1,
.points-dock__faq .f1 {
  transform: rotateY(360deg) translateZ(var(--flip-depth));
}

.points-dock__buy .f2,
.points-dock__faq .f2 {
  transform: rotateY(270deg) translateZ(var(--flip-depth));
}

.points-dock__buy .f3,
.points-dock__faq .f3 {
  transform: rotateY(180deg) translateZ(var(--flip-depth));
}

.points-dock__buy .f4,
.points-dock__faq .f4 {
  transform: rotateY(90deg) translateZ(var(--flip-depth));
}

.points-dock__buy .btn-inline-label,
.points-dock__faq .btn-inline-label {
  height: 100%;
}

.points-dock__buy .btn-inline-label {
  flex-direction: column;
  gap: 12px;
}

.points-dock__buy .btn-inline-text,
.points-dock__faq .btn-inline-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.18em;
}

.points-dock__buy .btn-inline-icon {
  width: 20px;
  height: 20px;
}

.points-dock__home {
  width: 54px;
  height: 54px;
  --flip-depth: 22px;
}

.points-home-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: rgba(245, 248, 255, 0.94);
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-modal,
.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 34;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 210ms ease, visibility 210ms ease;
}

.wallet-modal {
  z-index: 35;
}

.faq-modal[aria-hidden="false"],
.wallet-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.points-alert-modal {
  padding: 14px;
}

.faq-modal__backdrop,
.wallet-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.points-alert-modal .faq-modal__backdrop {
  background: rgba(2, 6, 11, 0.46);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.faq-modal__panel,
.wallet-modal__panel {
  position: relative;
  width: min(100%, 520px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition: opacity 210ms ease, transform 210ms ease;
}

.faq-modal[aria-hidden="false"] .faq-modal__panel,
.wallet-modal[aria-hidden="false"] .wallet-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.points-alert-modal[aria-hidden="false"] .points-alert-modal__panel {
  transform: translateY(0) scale(1);
}

.points-alert-modal__panel {
  width: min(100%, 372px);
  padding: 14px 14px 12px;
  gap: 10px;
  border-color: rgba(126, 198, 255, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(112, 191, 255, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(16, 24, 33, 0.98), rgba(7, 11, 16, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 0 0 6px rgba(2, 7, 12, 0.44),
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(88, 180, 255, 0.14);
}

.points-alert-modal__panel:hover {
  border-color: rgba(146, 213, 255, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 6px rgba(2, 7, 12, 0.44),
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(88, 180, 255, 0.18);
}

.points-alert-modal__panel::before {
  content: none;
}

.points-alert-modal__panel::after {
  content: none;
}

.faq-modal__header,
.wallet-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.faq-modal__panel h2,
.wallet-modal__panel h2 {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.points-alert-modal__panel .faq-modal__header {
  gap: 10px;
  align-items: center;
}

.points-alert-modal__panel .modal-kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  color: rgba(154, 214, 255, 0.82);
  letter-spacing: 0.16em;
}

.points-alert-modal__panel h2 {
  display: none;
}

.faq-modal__close,
.wallet-modal__close {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.24)),
    rgba(9, 12, 16, 0.78);
  color: rgba(245, 250, 255, 0.96);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.points-alert-modal__panel .faq-modal__close {
  width: 32px;
  height: 32px;
  min-width: 32px;
  position: relative;
  overflow: hidden;
  border-color: rgba(126, 198, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.18)),
    rgba(8, 14, 22, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 0 1px rgba(61, 122, 170, 0.08),
    0 0 16px rgba(69, 160, 236, 0.12);
  color: rgba(236, 246, 255, 0.96);
  font-size: 18px;
  transform: perspective(900px) rotateY(0deg);
  transition:
    transform 320ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.points-alert-modal__panel .faq-modal__close span {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(156, 219, 255, 0.18);
}

.points-alert-modal__panel .faq-modal__close::before {
  border-color: rgba(158, 221, 255, 0.08);
}

.points-alert-modal__panel .faq-modal__close::after {
  inset: 0;
  border: none;
  background:
    linear-gradient(90deg, rgba(144, 214, 255, 0.76), rgba(144, 214, 255, 0.76)) top left / 8px 1px no-repeat,
    linear-gradient(180deg, rgba(144, 214, 255, 0.76), rgba(144, 214, 255, 0.76)) top left / 1px 8px no-repeat,
    linear-gradient(90deg, rgba(144, 214, 255, 0.76), rgba(144, 214, 255, 0.76)) top right / 8px 1px no-repeat,
    linear-gradient(180deg, rgba(144, 214, 255, 0.76), rgba(144, 214, 255, 0.76)) top right / 1px 8px no-repeat,
    linear-gradient(90deg, rgba(144, 214, 255, 0.76), rgba(144, 214, 255, 0.76)) bottom left / 8px 1px no-repeat,
    linear-gradient(180deg, rgba(144, 214, 255, 0.76), rgba(144, 214, 255, 0.76)) bottom left / 1px 8px no-repeat,
    linear-gradient(90deg, rgba(144, 214, 255, 0.76), rgba(144, 214, 255, 0.76)) bottom right / 8px 1px no-repeat,
    linear-gradient(180deg, rgba(144, 214, 255, 0.76), rgba(144, 214, 255, 0.76)) bottom right / 1px 8px no-repeat;
  opacity: 0.42;
  box-shadow: none;
}

.points-alert-modal__panel .faq-modal__close:hover::after {
  opacity: 0.9;
}

.points-alert-modal__panel .faq-modal__close:hover,
.points-alert-modal__panel .faq-modal__close:focus-visible {
  border-color: rgba(156, 221, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.16)),
    rgba(10, 18, 28, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(61, 122, 170, 0.12),
    0 0 18px rgba(69, 160, 236, 0.18);
  transform: perspective(900px) rotateY(360deg);
}

.points-alert-modal__panel .faq-modal__close:active {
  transform: perspective(900px) rotateY(360deg) translateY(1px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.16)),
    rgba(8, 11, 16, 0.48);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.faq-item:hover {
  border-color: rgba(136, 198, 255, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 0 5px rgba(4, 8, 13, 0.26),
    0 0 14px rgba(95, 182, 255, 0.08);
}

.faq-toggle {
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(245, 248, 255, 0.94);
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.faq-toggle__plus {
  font-family: var(--points-mono);
  font-size: 14px;
  color: rgba(140, 210, 255, 0.78);
  transition: transform 160ms ease, color 160ms ease;
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-answer {
  overflow: hidden;
  padding: 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(220, 232, 246, 0.74);
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer {
  padding-top: 8px;
  padding-bottom: 12px;
  border-top: 1px solid rgba(120, 160, 200, 0.08);
}

.faq-item.is-open .faq-toggle__plus {
  transform: rotate(45deg);
  color: rgba(175, 228, 255, 0.94);
}

.wallet-modal__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-modal__section--extra {
  margin-top: -4px;
  max-height: 290px;
  overflow-y: auto;
  padding-right: 4px;
}

.wallet-modal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-modal__toggle {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: transparent;
  font-family: var(--points-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(175, 228, 255, 0.84);
  cursor: pointer;
}

.points-alert-modal__body {
  gap: 5px;
  padding-right: 18px;
}

.points-alert-modal__body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(228, 238, 248, 0.86);
  text-wrap: balance;
}

.points-alert-modal__body p:last-child {
  color: rgba(170, 225, 255, 0.94);
}

.points-alert-modal__close-action {
  display: none;
}

.wallet-option {
  width: 100%;
  height: 52px;
  transform: none;
}

.wallet-option:hover,
.wallet-option:active {
  transform: none;
}

.wallet-option .face {
  position: absolute;
  inset: 0;
  justify-content: flex-start;
  padding: 0 14px;
  gap: 12px;
  transform: none;
}

.wallet-option .f2,
.wallet-option .f3,
.wallet-option .f4 {
  display: none;
}

.wallet-option__icon-box {
  width: 34px;
  flex: 0 0 34px;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.wallet-option__icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(120, 190, 255, 0.16));
}

.wallet-option__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.wallet-option__title {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.wallet-option__meta,
.wallet-modal__empty,
.wallet-modal__hint {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(196, 214, 232, 0.58);
}

.wallet-modal__hint a {
  color: rgba(175, 228, 255, 0.96);
  text-decoration: none;
}

.wallet-modal__hint.is-error {
  color: rgba(255, 191, 191, 0.86);
}

@media (max-width: 980px) {
  .points-shell {
    display: block;
    padding: 22px 14px 34px;
  }

  .points-layout {
    flex: initial;
    align-items: flex-start;
  }

  .points-panels {
    grid-template-columns: 1fr;
  }

  .points-panel {
    min-height: auto;
  }

  .points-dock {
    position: static;
  }

  .points-dock--left,
  .points-dock--right {
    margin-top: 14px;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .points-dock--left {
    margin-top: 18px;
    grid-template-columns: 1fr;
  }

  .points-dock__buy,
  .points-dock__faq,
  .points-dock__home {
    width: 100%;
    min-width: 0;
    height: 48px;
  }

  .points-dock__buy .btn-inline-label {
    flex-direction: row;
  }

  .points-alert-modal__panel {
    width: min(100%, 360px);
    padding: 13px 13px 12px;
  }

  .points-alert-modal__body {
    padding-right: 12px;
  }

  .points-dock__buy .btn-inline-text,
  .points-dock__faq .btn-inline-text {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.14em;
  }

  .points-dock__buy,
  .points-dock__buy:hover,
  .points-dock__buy:active,
  .points-dock__faq,
  .points-dock__faq:hover,
  .points-dock__faq:active {
    transform: perspective(900px) rotateX(0deg);
  }

  .points-dock__buy .f1,
  .points-dock__faq .f1 {
    transform: rotateX(360deg) translateZ(var(--flip-depth));
  }

  .points-dock__buy .f2,
  .points-dock__faq .f2 {
    transform: rotateX(270deg) translateZ(var(--flip-depth));
  }

  .points-dock__buy .f3,
  .points-dock__faq .f3 {
    transform: rotateX(180deg) translateZ(var(--flip-depth));
  }

  .points-dock__buy .f4,
  .points-dock__faq .f4 {
    transform: rotateX(90deg) translateZ(var(--flip-depth));
  }
}

@media (max-width: 640px) {
  .points-panel {
    padding: 18px 16px 20px;
  }

  .card-topbar,
  .card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .card-title {
    font-size: 24px;
  }

  .card-title--small {
    font-size: 22px;
  }

  .card-subtitle {
    max-width: none;
    font-size: 15px;
  }

  .checker-row {
    grid-template-columns: 1fr;
  }

  .checker-btn,
  .share-btn,
  .wallet-btn,
  .claim-btn {
    width: 100%;
  }

  .readout-field {
    min-height: 80px;
    padding: 15px 16px;
  }

  .readout-value {
    font-size: clamp(24px, 8vw, 32px);
  }

  .claim-check__header,
  .claim-check__row {
    grid-template-columns: minmax(0, 1fr) 108px;
  }
}

@media (max-width: 420px) {
  .points-shell {
    padding: 16px 12px 28px;
  }

  .claim-check__header,
  .claim-check__row {
    grid-template-columns: 1fr;
  }

  .claim-btn {
    width: 100%;
  }
}
