:root {
  --nb-ink: #f8f1dc;
  --nb-muted: #aab9d4;
  --nb-gold: #f1cf77;
  --nb-gold-strong: #d99e35;
  --nb-blue: #09254d;
  --nb-blue-deep: #04142e;
  --nb-line: rgba(127, 167, 219, .25);
  --nb-success: #77deb1;
  --nb-danger: #ff9f9f;
}

.nbEntry {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 10010;
  display: grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  align-items: center;
  min-width: 116px;
  min-height: 54px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(241, 207, 119, .62);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 10%, rgba(60, 116, 201, .45), transparent 48%),
    linear-gradient(145deg, #0d2d5a, #061630 72%);
  color: var(--nb-ink);
  box-shadow: 0 14px 34px rgba(1, 8, 22, .44), inset 0 1px rgba(255, 255, 255, .08);
  cursor: pointer;
  isolation: isolate;
}

.nbEntry::after {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(241, 207, 119, .45);
  content: "";
  animation: nb-entry-pulse 2.2s ease-out infinite;
}

.nbEntry__art {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}

.nbEntry__art img {
  display: block;
  width: 44px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
}

.nbEntry__copy {
  align-self: end;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.nbEntry__progress {
  align-self: start;
  color: var(--nb-gold);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.nbModal[hidden] {
  display: none !important;
}

.nbModal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  transition: opacity .2s ease;
}

.nbModal.is-open {
  opacity: 1;
}

.nbModal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 7, 19, .78);
  backdrop-filter: blur(6px);
  cursor: default;
}

.nbPanel {
  position: relative;
  width: min(790px, 100%);
  max-height: min(900px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(241, 207, 119, .48);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(42, 103, 190, .28), transparent 36%),
    linear-gradient(180deg, #071e41, #04142e 45%, #031128);
  color: var(--nb-ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .08);
  outline: none;
  transform: translateY(12px) scale(.985);
  transition: transform .22s ease;
}

.nbModal.is-open .nbPanel {
  transform: translateY(0) scale(1);
}

.nbHero {
  position: relative;
  display: flex;
  min-height: 128px;
  padding: 24px 154px 22px 26px;
  overflow: hidden;
  border-bottom: 1px solid var(--nb-line);
  background:
    linear-gradient(110deg, rgba(4, 20, 46, .2), rgba(19, 62, 116, .75)),
    radial-gradient(circle at 84% 22%, rgba(255, 212, 112, .14), transparent 28%);
}

.nbHero::after {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .75) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(241, 207, 119, .65) 0 1px, transparent 1.6px);
  background-position: 12% 24%, 76% 70%;
  background-size: 76px 76px, 104px 104px;
  opacity: .32;
  pointer-events: none;
  content: "";
}

.nbHero__copy {
  position: relative;
  z-index: 1;
}

.nbHero__eyebrow {
  margin: 0 0 5px;
  color: var(--nb-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.nbHero h2 {
  margin: 0;
  color: #ffe6a7;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .35);
}

.nbHero__copy > p:last-child {
  margin: 8px 0 0;
  color: #d4deef;
  font-size: 13px;
  line-height: 1.45;
}

.nbHero__star {
  position: absolute;
  z-index: 1;
  top: 3px;
  right: 38px;
  width: 125px;
  height: auto;
  filter: drop-shadow(0 13px 14px rgba(0, 0, 0, .36));
  transform: rotate(-3deg);
}

.nbClose {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0 0 2px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(3, 17, 40, .58);
  color: #fff;
  font: 300 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.nbPanel__scroll {
  max-height: calc(min(900px, 100vh - 36px) - 128px);
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(241, 207, 119, .42) transparent;
}

.nbOverall {
  display: grid;
  gap: 8px;
  margin: 0 2px 14px;
}

.nbOverall__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--nb-muted);
  font-size: 11px;
}

.nbOverall__label strong {
  color: var(--nb-gold);
  font-size: 12px;
}

.nbOverall__track,
.nbDepositProgress__track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(164, 187, 221, .14);
}

.nbOverall__track i,
.nbDepositProgress__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d3942d, #ffe39a);
  box-shadow: 0 0 12px rgba(241, 207, 119, .5);
}

.nbFlash {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.nbFlash--success {
  border-color: rgba(119, 222, 177, .45);
  background: rgba(55, 170, 120, .12);
  color: #a9f1d0;
}

.nbFlash--error {
  border-color: rgba(255, 159, 159, .44);
  background: rgba(204, 70, 70, .12);
  color: #ffc2c2;
}

.nbSteps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nbStep {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--nb-line);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(16, 54, 102, .68), rgba(7, 29, 62, .72));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

.nbStep.is-current {
  border-color: rgba(241, 207, 119, .58);
  box-shadow: 0 0 0 1px rgba(241, 207, 119, .08), inset 0 1px rgba(255, 255, 255, .05);
}

.nbStep.is-done {
  background: linear-gradient(135deg, rgba(12, 48, 83, .65), rgba(5, 28, 54, .7));
}

.nbStep__number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 226, 151, .64);
  border-radius: 50%;
  background: linear-gradient(150deg, #ffe39a, #cf8b28);
  color: #09224a;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.nbStep.is-done .nbStep__number {
  border-color: rgba(119, 222, 177, .65);
  background: rgba(62, 161, 123, .18);
  color: #a9f1d0;
}

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

.nbStep__heading h3 {
  margin: 4px 0 0;
  color: #f8f0db;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
}

.nbStep__done {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid rgba(119, 222, 177, .36);
  border-radius: 999px;
  color: var(--nb-success);
  font-size: 9px;
  font-weight: 850;
}

.nbStep__description {
  margin: 5px 0 0;
  color: var(--nb-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.nbChecks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.nbChecks span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid rgba(154, 181, 219, .18);
  border-radius: 999px;
  background: rgba(2, 16, 37, .35);
  color: #b8c5da;
  font-size: 10px;
}

.nbChecks span.is-done {
  border-color: rgba(119, 222, 177, .28);
  color: var(--nb-success);
}

.nbChecks i {
  font-style: normal;
  font-weight: 900;
}

.nbDepositProgress {
  display: grid;
  gap: 6px;
  margin-top: 11px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(2, 14, 35, .34);
}

.nbDepositProgress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--nb-muted);
  font-size: 10px;
}

.nbDepositProgress strong {
  color: var(--nb-gold);
}

.nbPromotions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 11px;
}

.nbPromo {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 108px;
  padding: 10px 9px;
  overflow: hidden;
  border: 1px solid rgba(241, 207, 119, .28);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(31, 73, 126, .65), rgba(4, 23, 53, .85));
  color: #edf3ff;
  text-align: center;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, background .16s ease;
}

.nbPromo:hover {
  border-color: rgba(241, 207, 119, .72);
  background: linear-gradient(160deg, rgba(43, 91, 151, .76), rgba(6, 30, 67, .9));
  transform: translateY(-2px);
}

.nbPromo__frequency {
  color: #9fb1cb;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nbPromo strong {
  min-height: 30px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.4;
}

.nbPromo b {
  color: var(--nb-gold);
  font-size: 20px;
  line-height: 1.1;
}

.nbPromo small {
  color: #99abc5;
  font-size: 8px;
  line-height: 1.35;
}

.nbPromotions__empty {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px dashed rgba(159, 183, 217, .24);
  border-radius: 10px;
  color: var(--nb-muted);
  font-size: 11px;
  text-align: center;
}

.nbRuleNote {
  margin: 8px 0 0;
  color: #91a4c0;
  font-size: 9.5px;
  line-height: 1.45;
}

.nbAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 11px;
  padding: 7px 17px;
  border: 1px solid rgba(255, 226, 151, .64);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe59e, #d89a34);
  color: #09224a;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.nbAction--secondary {
  border-color: rgba(241, 207, 119, .42);
  background: rgba(241, 207, 119, .08);
  color: var(--nb-gold);
}

.nbDays {
  display: grid;
  grid-template-columns: repeat(7, minmax(68px, 1fr));
  gap: 5px;
  margin-top: 11px;
  padding-bottom: 2px;
  overflow-x: auto;
}

.nbDay {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 68px;
  padding: 7px 4px;
  border: 1px solid rgba(148, 176, 215, .2);
  border-radius: 9px;
  background: rgba(2, 15, 36, .36);
  text-align: center;
}

.nbDay > span {
  color: #98abc6;
  font-size: 8.5px;
}

.nbDay strong {
  color: #f7e2ad;
  font-size: 12px;
}

.nbDay small {
  color: #7185a3;
  font-size: 8px;
}

.nbDay--claimed {
  border-color: rgba(119, 222, 177, .27);
  background: rgba(52, 151, 110, .1);
}

.nbDay--claimed small {
  color: var(--nb-success);
}

.nbDay--burned {
  opacity: .56;
}

.nbDay--claimable {
  border-color: rgba(241, 207, 119, .66);
  background: rgba(225, 170, 65, .11);
  box-shadow: inset 0 0 14px rgba(241, 207, 119, .07);
}

.nbDay form {
  margin: 0;
}

.nbDay button {
  padding: 4px 7px;
  border: 0;
  border-radius: 999px;
  background: var(--nb-gold);
  color: #09224a;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

.nbDays__total {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 506px;
  padding: 7px;
  border-top: 1px solid rgba(241, 207, 119, .25);
  color: var(--nb-gold);
  font-size: 11px;
}

.nbDays__total strong {
  font-size: 20px;
}

.nbLucky {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 13px 15px 13px 8px;
  overflow: hidden;
  border: 1px solid rgba(241, 207, 119, .55);
  border-radius: 15px;
  background:
    radial-gradient(circle at 7% 50%, rgba(229, 178, 69, .22), transparent 25%),
    linear-gradient(120deg, rgba(19, 57, 106, .9), rgba(5, 25, 57, .96));
  color: #eaf1ff;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}

.nbLucky:hover {
  border-color: rgba(255, 226, 151, .88);
  transform: translateY(-1px);
}

.nbLucky__visual {
  display: block;
  width: 100px;
  height: 84px;
  overflow: hidden;
  border-radius: 12px;
}

.nbLucky__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 35%;
  transform: scale(1.15);
}

.nbLucky__copy {
  display: grid;
  gap: 3px;
}

.nbLucky__copy small {
  color: #8ea7ca;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nbLucky__copy strong {
  color: var(--nb-gold);
  font-size: 17px;
}

.nbLucky__copy span {
  color: #bdcae0;
  font-size: 10px;
  line-height: 1.4;
}

.nbLucky__copy b {
  color: #ffe099;
  font-size: 11px;
}

.nbLucky__counter {
  padding: 6px 9px;
  border: 1px solid rgba(241, 207, 119, .3);
  border-radius: 999px;
  color: var(--nb-gold);
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.nbEcosystem {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid rgba(241, 207, 119, .42);
  border-radius: 15px;
  background:
    linear-gradient(130deg, rgba(19, 57, 106, .86), rgba(5, 25, 57, .94)),
    radial-gradient(circle at 0 100%, rgba(241, 207, 119, .15), transparent 38%);
}

.nbEcosystem > img {
  width: 86px;
  height: auto;
  filter: drop-shadow(0 9px 10px rgba(0, 0, 0, .35));
}

.nbEcosystem h3 {
  margin: 0;
  color: #ffe4a3;
  font-size: 15px;
  line-height: 1.35;
}

.nbEcosystem p {
  margin: 4px 0 9px;
  color: var(--nb-muted);
  font-size: 10px;
}

.nbEcosystem__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.nbEcosystem__chips button {
  padding: 5px 9px;
  border: 1px solid rgba(169, 191, 223, .28);
  border-radius: 999px;
  background: rgba(2, 16, 38, .36);
  color: #d5dfef;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.nbEcosystem__chips button:hover,
.nbEcosystem__chips button.is-active {
  border-color: rgba(241, 207, 119, .65);
  background: rgba(241, 207, 119, .1);
  color: var(--nb-gold);
}

.nbFeatureDetail {
  min-height: 31px;
  margin-top: 8px;
  padding: 7px 9px;
  border-left: 2px solid rgba(241, 207, 119, .48);
  background: rgba(2, 14, 33, .26);
  color: #aebdd3;
  font-size: 9.5px;
  line-height: 1.55;
}

.nbLegal {
  margin: 12px 4px 2px;
  color: #71839e;
  font-size: 8.5px;
  line-height: 1.55;
  text-align: center;
}

.nbEntry:focus-visible,
.nbClose:focus-visible,
.nbAction:focus-visible,
.nbPromo:focus-visible,
.nbLucky:focus-visible,
.nbDay button:focus-visible,
.nbEcosystem__chips button:focus-visible {
  outline: 2px solid #fff2b9;
  outline-offset: 3px;
}

body.nbModalOpen {
  overflow: hidden;
}

@keyframes nb-entry-pulse {
  0% { box-shadow: 0 0 0 0 rgba(241, 207, 119, .42); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(241, 207, 119, 0); }
}

@media (min-width: 901px) {
  .nbEntry {
    left: 18px;
    bottom: 22px;
  }
}

@media (max-width: 720px) {
  .nbModal {
    place-items: end center;
    padding: 0;
  }

  .nbPanel {
    width: 100%;
    max-height: calc(100dvh - 8px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(28px);
  }

  .nbHero {
    min-height: 116px;
    padding: 21px 112px 18px 18px;
  }

  .nbHero h2 {
    font-size: 25px;
  }

  .nbHero__copy > p:last-child {
    font-size: 11px;
  }

  .nbHero__star {
    top: 15px;
    right: 31px;
    width: 88px;
  }

  .nbClose {
    top: 10px;
    right: 10px;
  }

  .nbPanel__scroll {
    max-height: calc(100dvh - 124px);
    padding: 12px 12px calc(18px + env(safe-area-inset-bottom));
  }

  .nbOverall__label {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .nbStep {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 10px;
  }

  .nbStep__number {
    width: 29px;
    height: 29px;
  }

  .nbStep__heading h3 {
    font-size: 12.5px;
  }

  .nbPromotions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nbPromo {
    min-height: 102px;
  }

  .nbLucky {
    grid-template-columns: 77px minmax(0, 1fr);
    gap: 9px;
    padding: 10px 10px 10px 5px;
  }

  .nbLucky__visual {
    width: 76px;
    height: 76px;
  }

  .nbLucky__counter {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 7px;
  }

  .nbEcosystem {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 10px;
  }

  .nbEcosystem > img {
    width: 61px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbEntry::after {
    animation: none;
  }

  .nbModal,
  .nbPanel,
  .nbPromo,
  .nbLucky {
    transition: none;
  }
}
