/* FortPaid on top of the original stylesheet: its own identity, taken from
   the Fortnite island art, and the few utilities the original never needed.
   The page is a deep night blue instead of black. --primary is the sky blue of
   the logo, used for text, rings and highlights; text set on it uses the deep
   navy --primary-foreground. The solid button uses the deeper blue at the top
   of the logo so its white label passes AA. --gold is the sunny yellow of the
   island, used for sparklines and callouts. --grass is the island green. */
:root {
  --background: #07111c;
  --card: #0c1a28;
  --panel: #112334;
  --border: #9fd8ff1a;
  --muted-foreground: #92a9bd;
  --primary: #53c0ed;
  --primary-foreground: #04202f;
  --gold: #ffd84a;
  --gold-ink: #2b2100;
  --grass: #7ccf3a;
}

.focus-ring:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 2px;
}

.receipt-paper {
  background: #f7f1e3;
}

input[type='range'].accent-primary {
  accent-color: var(--primary);
}

/* Lightweight Charts draws into a canvas that must fill its box. */
.chart-box > div {
  position: absolute;
  inset: 0;
}

/* utilities used here that the original page set never used */
.bg-black\/60 {
  background-color: rgba(0, 0, 0, 0.6);
}
.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}
.border-up {
  border-color: var(--up);
}
.duration-150 {
  transition-duration: 0.15s;
}
.max-h-\[70vh\] {
  max-height: 70vh;
}
.overflow-auto {
  overflow: auto;
}
.p-10 {
  padding: 2.5rem;
}
.top-12 {
  top: 3rem;
}
.right-0 {
  right: 0;
}
.z-\[60\] {
  z-index: 60;
}
.\[\&_\.text-muted-foreground\]\:text-background\/70 .text-muted-foreground {
  color: color-mix(in oklab, var(--background) 70%, transparent);
}
.hover\:shadow-primary:hover {
  box-shadow: 0 12px 30px -10px rgba(31, 143, 255, 0.55);
}

@layer components {
  /* Buttons. One system for every action on the site: a solid face, a crisp
     1px edge and a solid bottom lip that the button sinks into when pressed. No
     pills, no glow, no arrows. */
  .btn {
    --lip: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.5rem;
    padding: 0 1.25rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 3px 0 var(--lip);
    transform: translateY(0);
    transition: transform 80ms ease, box-shadow 80ms ease, background-color 120ms ease;
    cursor: pointer;
    user-select: none;
  }
  .btn:hover {
    transform: translateY(1px);
    box-shadow: 0 2px 0 var(--lip);
  }
  .btn:active {
    transform: translateY(3px);
    box-shadow: 0 0 0 var(--lip);
  }
  .btn:focus-visible {
    outline: 2px solid var(--foreground);
    outline-offset: 3px;
  }
  .btn:disabled,
  .btn[aria-disabled='true'] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 3px 0 var(--lip);
  }
  .btn-sm {
    height: 2.125rem;
    padding: 0 0.875rem;
    font-size: 0.8125rem;
    border-radius: 8px;
  }
  .btn-lg {
    height: 3rem;
    padding: 0 1.75rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  .btn-primary {
    --lip: #0b3f7a;
    background: #1673d9;
    border-color: #1260b8;
    color: #fff;
  }
  .btn-primary:hover {
    background: #1a80e8;
  }
  .btn-dark {
    --lip: #000;
    background: #0f2233;
    border-color: #23405a;
    color: var(--foreground);
  }
  .btn-dark:hover {
    background: #15304a;
  }
  .btn-light {
    --lip: #7d7d7d;
    background: #f4f4f4;
    border-color: #d6d6d6;
    color: #0a0a0a;
  }
  .btn-light:hover {
    background: #fff;
  }
  .btn-icon {
    width: 2.5rem;
    padding: 0;
  }
}

@layer components {
  .flow-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  @media (min-width: 640px) {
    .flow-steps {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
}

/* The brand glyph shows the mark in colour, not a silhouette tinted with the
   text colour. Doubled class so it wins over the compiled rule. */
.brand-glyph.brand-glyph {
  background: url(/brand/logo-64.png?v=3) 50% / contain no-repeat;
  -webkit-mask: none;
  mask: none;
}
