@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  font:
    400 16px/1.5 "Montserrat",
    system-ui,
    sans-serif;
  color: #221f32;
  background: #f6f5f4;
}
body {
  margin: 0;
}
header {
  background: #08090d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(5vw, calc((100vw - 1200px) / 2));
  gap: 18px;
  border-bottom: 3px solid #ada0ef;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #c6c1db;
  margin-top: 5px;
}
main {
  max-width: 1248px;
  margin: auto;
  padding: 40px 28px 80px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a.btn {
  border: 1px solid transparent;
  border-radius: 7px;
  background: #86479a;
  color: #fff;
  padding: 10px 17px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}
button:hover,
a.btn:hover {
  filter: brightness(0.92);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: #733984;
}
button.secondary,
.secondary.btn {
  background: white;
  border-color: #d7d4e0;
  color: #332a53;
}
header button {
  background: transparent;
  border-color: #555066;
  color: #f1eef9;
  padding: 7px 13px;
}
.outline {
  background: transparent;
  border: 1px solid #746a91;
  color: #f8f7fe;
}
.primary {
  background: #86479a;
  color: white;
}
h1,
h2,
h3,
h4,
h5,
h6,
.portal-title,
legend,
th {
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.038em;
}
h1,
.portal-title,
.dialog-head h2 {
  font-weight: 900;
}
h2,
h3 {
  font-weight: 700;
}
h1 {
  font-size: clamp(36px, 5vw, 62px);
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 18px;
}
p {
  color: #625f70;
}
.hero {
  background: linear-gradient(110deg, #262139 20%, #382a59 78%, #473668);
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  color: white;
  padding: 42px 45px;
  min-height: 202px;
  display: flex;
  align-items: center;
}
.hero .lead {
  position: relative;
  z-index: 1;
  max-width: 74%;
}
.hero p {
  color: #e2dded;
  margin-top: 12px;
  max-width: 52ch;
}
.hero .art {
  position: absolute;
  right: 4%;
  top: -41%;
  height: 187%;
  width: 33%;
  opacity: 0.23;
  transform: rotate(22deg);
}
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #d8b9e3;
}
.actions,
.row,
.section-head,
.dialog-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.actions {
  margin-top: 20px;
}
.row,
.section-head,
.dialog-head {
  justify-content: space-between;
}
.section-head,
.dialog-head {
  margin-bottom: 21px;
}
.nav {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  margin: 25px 0 30px;
  border-bottom: 1px solid #d5d1de;
}
.nav button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #605c71;
  white-space: nowrap;
  padding: 12px 16px;
  border-bottom: 3px solid transparent;
}
.nav button[aria-current="page"] {
  color: #733984;
  border-bottom-color: #86479a;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}
.stat,
.card,
.panel,
dialog {
  background: #fff;
  border: 1px solid #dfdce6;
  border-radius: 12px;
}
.stat {
  padding: 18px 19px;
}
.stat span {
  color: #6c657a;
  font-size: 14px;
  font-weight: 700;
}
.stat strong {
  display: block;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.05em;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.panel,
.card {
  padding: 25px;
}
.panel + .panel,
.card + .card {
  margin-top: 18px;
}
.grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin-top: 20px;
  align-items: start;
}
.card p,
.panel > p {
  margin: 10px 0;
}
.sub {
  color: #726c80;
  font-size: 14px;
}
.tablewrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
td,
th {
  padding: 13px 10px;
  text-align: left;
  border-bottom: 1px solid #e9e7ef;
  white-space: nowrap;
}
th {
  font-size: 13px;
  color: #6b6577;
  font-weight: 700;
}
tbody tr:last-child td {
  border: 0;
}
td small {
  display: block;
  color: #756e81;
}
label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
input,
select,
textarea {
  font-weight: 400;
  border: 1px solid #c5c1d2;
  border-radius: 6px;
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  color: #242035;
  background: #fff;
}
textarea {
  min-height: 145px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a28bd1;
  outline-offset: 2px;
}
.tag,
.badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  background: #eeebf7;
  color: #504268;
}
.active,
.earned {
  background: #e3f3df;
  color: #325939;
}
.pending,
.review {
  background: #fbedd9;
  color: #79571e;
}
.paused {
  background: #eeedf1;
  color: #686675;
}
.notice {
  padding: 13px 16px;
  background: #f0ecff;
  color: #4c3d75;
  border-radius: 8px;
  margin: 14px 0;
}
.notice button {
  margin-left: 10px;
}
.blank {
  padding: 25px 10px;
  color: #756e80;
  text-align: center;
}
.formpage {
  max-width: 610px;
  margin: 30px auto;
}
.formpage h1 {
  font-size: 38px;
  margin: 0 0 12px;
}
.formpage form {
  margin-top: 22px;
}
.rule {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(90px, 0.4fr) auto;
  gap: 12px;
  align-items: end;
}
.rule button {
  margin-bottom: 14px;
}
.textbtn {
  border: 0;
  background: none;
  color: #733984;
  padding: 5px 0;
}
.warnbtn {
  color: #824750;
}
.ratechip {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #efedf3;
}
.bodytext {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.fine {
  font-size: 14px;
  color: #70687b;
}
.glass {
  background: #eeeaf7;
  border: 1px solid #d7cfea;
  border-radius: 8px;
  padding: 15px;
}
.message {
  width: 100%;
  background: white;
  border: 1px solid #dedbe7;
  justify-content: space-between;
  text-align: left;
  color: #282333;
  margin-bottom: 8px;
}
.message.unread {
  border-left: 4px solid #d62877;
}
.hero.guest {
  min-height: 320px;
}
.guest .lead {
  max-width: 65%;
}
.guest .actions {
  margin-top: 24px;
}
.guestgrid {
  grid-template-columns: repeat(3, 1fr);
}
.guestgrid .card {
  margin: 0;
}
.num {
  font-variant-numeric: tabular-nums;
}
dialog {
  padding: 26px;
  max-width: 550px;
  width: 92%;
  max-height: 90vh;
  box-shadow: 0 25px 85px #130d2736;
  color: inherit;
}
dialog::backdrop {
  background: #241e3890;
}
.dialog-head button {
  background: #f0edf6;
  color: #48324e;
  padding: 6px 11px;
}
.inline-error {
  color: #962b41;
  margin: 10px 0;
}
.search {
  max-width: 280px;
  margin: 0;
}
.hide,
[hidden] {
  display: none !important;
}
#status:not(:empty) {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #272138;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 8;
  max-width: 90vw;
}
.first {
  margin-top: 20px;
}
.stack {
  display: grid;
  gap: 9px;
}
.table-link {
  font-weight: 700;
  background: transparent;
  color: #733984;
  padding: 3px 0;
}
details {
  margin: 15px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
code {
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid,
  .guestgrid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 28px;
  }
  .hero.guest {
    min-height: 260px;
  }
  .hero .lead,
  .guest .lead {
    max-width: 85%;
  }
  .hero .art {
    right: -9%;
    opacity: 0.13;
  }
  .nav {
    margin-bottom: 20px;
  }
  .panel {
    padding: 19px;
  }
}
@media (max-width: 520px) {
  main {
    padding: 20px 14px 55px;
  }
  header {
    padding: 12px 16px;
  }
  .brand {
    font-size: 15px;
  }
  .rule {
    grid-template-columns: 1fr 80px auto;
    gap: 6px;
  }
  .rule button {
    padding: 10px 8px;
  }
  .hero .lead {
    max-width: 100%;
  }
  .hero .art {
    display: none;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 13px;
  }
  .nav button {
    padding: 10px;
  }
  .actions {
    gap: 8px;
  }
  .section-head {
    align-items: start;
  }
}

header {
  border: 0;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #f47d22, #d62877, #86479a, #5460ab) 1;
  padding: 14px clamp(16px, 3vw, 62px);
  gap: clamp(8px, 2vw, 30px);
}
header .brand {
  margin-right: auto;
  min-width: 0;
}
.brand img {
  display: block;
  width: clamp(115px, 25vw, 292px);
  height: auto;
  mask-image: linear-gradient(to right, transparent, #000 34%);
}
.portal-title {
  font-size: clamp(14px, 2vw, 24px);
  white-space: nowrap;
  letter-spacing: -0.035em;
}
.hero {
  background: linear-gradient(108deg, #101014 26%, #231723 65%, #26213b);
  border-left: 4px solid #86479a;
}
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #f47d22, #d62877, #86479a, #5460ab);
}
.hero .btn.primary {
  background: #86479a;
  color: white;
}
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
fieldset {
  margin: 18px 0 22px;
  padding: 15px;
  border: 1px solid #d6d1cd;
  border-radius: 8px;
}
legend {
  font-weight: 700;
  padding: 0 6px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  line-height: 1.5;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #86479a;
  flex-shrink: 0;
}
.platform {
  padding: 12px 0;
  border-bottom: 1px solid #ece8e5;
}
.platform:last-child {
  border: 0;
  padding-bottom: 0;
}
.platform .pair {
  margin-top: 10px;
}
.platform label:last-child {
  margin-bottom: 0;
}
.check + .fine {
  margin: 8px 0 18px;
}
.formpage {
  max-width: 680px;
}
.guestgrid + .panel {
  margin-top: 20px;
}
.guestgrid + .panel form {
  max-width: 360px;
}
@media (max-width: 520px) {
  header {
    padding: 10px;
    gap: 8px;
  }
  .brand img {
    width: clamp(100px, 29vw, 150px);
  }
  header button {
    font-size: 12px;
    padding: 5px 7px;
  }
  .pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

a.btn.secondary {
  background: #fff;
  border-color: #d7d4e0;
  color: #653475;
}
a.btn.outline {
  background: transparent;
  border-color: #82768c;
  color: white;
}
.preview-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #eeebf7;
  border-left: 4px solid #5460ab;
  margin-bottom: 16px;
  padding: 12px 16px;
}
.preview-bar a {
  margin-left: auto;
}
.amb-promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #282136;
  color: white;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 12px;
  margin: 20px 0;
}
.amb-promo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #f47d22, #d62877, #86479a, #5460ab);
}
.amb-promo::after {
  content: "";
  position: absolute;
  right: -72px;
  top: -102px;
  width: 330px;
  height: 330px;
  border: 1px solid #ffffff0b;
  border-radius: 50%;
  box-shadow:
    0 0 0 40px #ffffff03,
    0 0 0 80px #ffffff02;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle at 45% 55%,
    #a96bc126 0%,
    #5460ab12 42%,
    transparent 70%
  );
  animation: pp-plus-ambient-drift 24s ease-in-out infinite alternate;
}
@keyframes pp-plus-ambient-drift {
  from {
    transform: translate3d(-10px, -6px, 0) scale(1);
  }
  to {
    transform: translate3d(14px, 12px, 0) scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .amb-promo::after {
    animation: none;
    transform: none;
  }
}
.amb-promo img {
  width: 170px;
  height: auto;
  margin-bottom: 14px;
}
.amb-promo p {
  color: #e5dfea;
  max-width: 62ch;
  margin-top: 10px;
}
.terms-page {
  max-width: 850px;
}
.terms-page h1 {
  font-size: clamp(28px, 5vw, 46px);
}
.terms-page h2 {
  margin: 32px 0 12px;
  font-size: 21px;
}
.terms-page p {
  line-height: 1.65;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 16px;
  margin-top: 22px;
}
.asset-card {
  border: 1px solid #ded9e4;
  border-radius: 10px;
  overflow: hidden;
}
.asset-preview {
  display: grid;
  place-items: center;
  height: 155px;
  background: #151219;
  padding: 24px;
}
.asset-preview img {
  max-width: 100%;
  max-height: 104px;
  object-fit: contain;
}
.asset-detail {
  padding: 18px;
}
.asset-detail p {
  margin: 8px 0;
}
form[data-form="onboarding"] {
  max-width: 550px;
  margin-top: 16px;
}
form[data-form="onboarding"] .check {
  margin: 16px 0;
}
.panel h3 {
  overflow-wrap: break-word;
}
footer {
  max-width: 1248px;
  margin: auto;
  padding: 12px 28px 36px;
  font-size: 14px;
}
@media (max-width: 520px) {
  header #account .btn {
    padding: 5px 7px;
    font-size: 12px;
  }
  .terms-page .panel {
    padding: 18px;
  }
  .preview-bar a {
    margin-left: 0;
  }
}
