/* Noting Box reference flow: catalogue / crystal detail / reel / reward. */
#page-noting-box.nb-page {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh !important;
  max-height: none !important;
  background: #020202;
  color: #ffffff;
  z-index: 61;
  overflow: hidden !important;
  margin: 0 !important;
  direction: ltr;
  font-family: var(--not-font-ui);
  isolation: isolate;
}
#page-noting-box.active {
  display: block;
}
.nb-page * {
  box-sizing: border-box;
}
.nb-page button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nb-page [hidden] {
  display: none !important;
}
.nb-page button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.nb-page button:focus-visible {
  outline: 2px solid #f8dd7c;
  outline-offset: 3px;
}
.nb-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 10px
    calc(105px + env(safe-area-inset-bottom, 0px));
  max-width: 480px;
  margin: auto;
  scrollbar-width: none;
}
.nb-scroll::-webkit-scrollbar {
  display: none;
}
.nb-topbar {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}
.nb-topbar button {
  background: none;
  border: 0;
  font-size: 25px;
}
.nb-topbar button span {
  font-size: 13px;
  vertical-align: middle;
}
.nb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 19px;
}
.nb-head h1 {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nb-head h1 > span {
  font-size: 30px;
  color: #f0cb45;
  text-shadow: 0 0 9px #f9e18b;
}
.nb-wallet {
  display: flex;
  gap: 6px;
  font-size: 12px;
}
.nb-wallet-points,
.nb-ticket {
  border: 0;
  background: #161616;
  padding: 7px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.nb-ticket {
  color: #f8db74 !important;
  display: flex;
  gap: 5px;
  align-items: center;
}
.nb-wallet-points {
  color: #f5cf44;
}
.nb-wallet-points strong {
  color: #ffffff;
  font-size: 13px;
  margin-left: 3px;
}
.nb-wallet-points small {
  font-size: 8px;
  color: #a5a5a5;
  margin-left: 3px;
}
.nb-ribbon {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 22px;
  padding: 3px 0 4px;
}
.nb-ribbon > .nb-drop-tile {
  flex: 0 0 65px;
  height: 65px;
  border-radius: 12px;
  padding: 3px;
}
.nb-ribbon .nb-drop-tile img {
  height: 40px;
  width: 40px;
}
.nb-drop-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 110%, #e1be40, #3a3111);
  border: 1px solid #ffffff12;
  border-radius: 15px;
  min-width: 0;
  padding: 7px;
  color: white;
  text-decoration: none;
}
.nb-drop-tile.rarity-Legendary {
  background: radial-gradient(ellipse at 50% 110%, #f8da70, #504620);
}
.nb-drop-tile.rarity-Epic {
  background: radial-gradient(ellipse at 50% 110%, #e6c346, #463b13);
}
.nb-drop-tile.rarity-Normal {
  background: radial-gradient(ellipse at 50% 110%, #e8c444, #3c3419);
}
.nb-drop-tile.rarity-Coin {
  background: radial-gradient(ellipse at 50% 110%, #d4b442, #3d3414);
}
.nb-drop-tile img {
  object-fit: contain;
  filter: drop-shadow(0 3px 4px #00000055);
  width: 70px;
  height: 70px;
  max-width: 100%;
}
.nb-drop-tile .nb-drop-value {
  font-size: 10px;
  white-space: nowrap;
  background: #ffffff15;
  border-radius: 15px;
  padding: 2px 5px;
  font-weight: 600;
}
.nb-drop-value > span {
  color: #f5d04a;
}
.nb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 12px;
}
.nb-card {
  position: relative;
  aspect-ratio: 0.98;
  border-radius: 25px;
  border: 1px solid #ffffff24;
  background: radial-gradient(
    ellipse at 50% 105%,
    var(--box-color),
    #0c0c0c 85%
  );
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px 8px;
  isolation: isolate;
  box-shadow: inset 0 0 15px #ffffff08;
}
.nb-card::before {
  content: attr(data-watermark);
  position: absolute;
  inset: 0;
  font-weight: 900;
  font-size: 42px;
  letter-spacing: -3px;
  color: #ffffff1a;
  overflow: hidden;
  border-radius: 25px;
  z-index: -1;
  line-height: 0.9;
}
.nb-card:last-child:nth-child(odd) {
  grid-column: 1/-1;
  width: calc(50% - 4px);
  justify-self: center;
}
.nb-card:hover {
  filter: brightness(1.12);
}
.nb-card:active {
  transform: scale(0.98);
}
.nb-card-art {
  width: 100%;
  height: calc(100% - 36px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}
.nb-card-art svg {
  width: 90%;
  height: 100%;
  max-height: 170px;
  filter: drop-shadow(0 3px 9px #ffffff25);
}
.nb-card-badge {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  background: #fcf0c6;
  color: #967d22;
  padding: 2px 6px;
  border-radius: 6px;
  z-index: 2;
}
.nb-card-badge.vip {
  color: #dcd3b4;
  background: #101010;
}
.nb-card-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 32px;
  border: 1px solid #ffffff18;
  border-radius: 20px;
  background: #ffffff12;
  box-shadow: inset 0 1px 7px #ffffff12;
  font-size: 13px;
  font-weight: 700;
}
.nb-card-price span {
  color: #fef8e5;
}
.nb-card .nb-stars {
  z-index: -1;
  opacity: 0.4;
  border-radius: 25px;
}
.nb-nav {
  position: absolute;
  bottom: calc(13px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 7px;
  background: #161616d9;
  backdrop-filter: blur(15px);
  border: 1px solid #ffffff12;
  border-radius: 27px;
  padding: 7px 12px;
  width: 265px;
  z-index: 5;
}
.nb-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border: 0;
  background: none;
  color: #939393;
  font-size: 9px;
}
.nb-nav button b {
  font-size: 21px;
  font-weight: 400;
}
.nb-nav button.selected {
  color: white;
}
.nb-stage {
  position: relative;
  aspect-ratio: 0.84;
  width: 100%;
  background: radial-gradient(
    ellipse at 50% 125%,
    var(--box-color, #d7ac11),
    #211b07 47%,
    #020202 80%
  );
  border: 1px solid #ffffff16;
  box-shadow: inset 0 0 20px #dbb83b55;
  border-radius: 33px;
  overflow: hidden;
  margin: 0 auto 16px;
  isolation: isolate;
}
.nb-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background-image:
    radial-gradient(1px 1px at 13% 20%, #ffffff88 95%, transparent),
    radial-gradient(1.5px 1.5px at 70% 72%, #ffffff88 95%, transparent),
    radial-gradient(1px 1px at 45% 37%, #ffffff99 95%, transparent),
    radial-gradient(1px 1px at 87% 13%, #ffffff77 95%, transparent);
  background-size:
    63px 81px,
    107px 117px,
    73px 91px,
    129px 137px;
  opacity: 0.8;
}
.nb-stars::after {
  content: "✦ · ✧         ✦        ✧";
  position: absolute;
  inset: 16% 10%;
  font-size: 12px;
  word-spacing: 24px;
  color: #fcf1ca88;
  line-height: 10;
  transform: rotate(-17deg);
}
.nb-demo-control {
  position: absolute;
  left: 12px;
  top: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 15px;
  background: #ffffff09;
  font-size: 11px;
}
.nb-demo-control input {
  position: absolute;
  opacity: 0;
  width: 34px;
  height: 20px;
  right: 0;
}
.nb-demo-control i {
  display: block;
  width: 34px;
  height: 18px;
  border-radius: 20px;
  background: #565656;
  box-shadow: inset 0 0 3px #ffffff44;
}
.nb-demo-control i::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d4d4d4;
  margin: 2px;
  transition: transform 0.15s;
}
.nb-demo-control input:checked + i {
  background: #efd575;
}
.nb-demo-control input:checked + i::after {
  transform: translateX(16px);
  background: #ffffff;
}
.nb-demo-control input:focus-visible + i {
  outline: 2px solid white;
}
.nb-help {
  position: absolute;
  right: 13px;
  top: 17px;
  border: 0;
  background: none;
  color: #c3bba0 !important;
  font-size: 17px !important;
}
.nb-carousel-arrow {
  position: absolute;
  top: 46%;
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff07;
  border-radius: 10px;
  background: #ffffff0d;
  font-size: 29px !important;
  line-height: 27px;
  z-index: 2;
}
.nb-carousel-arrow.previous {
  left: 10px;
}
.nb-carousel-arrow.next {
  right: 10px;
}
.nb-hero {
  position: absolute;
  inset: 12% 16% 23%;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 14px #fdf5d855);
  animation: nb-float 4s ease-in-out infinite;
}
.nb-hero svg {
  width: 100%;
  height: 100%;
  max-height: 280px;
}
.nb-inside-btn {
  position: absolute;
  bottom: 91px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #ffffff16;
  background: #ffffff10;
  box-shadow: inset 0 0 10px #ffffff09;
  padding: 8px 14px;
  border-radius: 30px;
  white-space: nowrap;
  font-size: 12px !important;
  z-index: 2;
}
.nb-preview {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.nb-preview .nb-drop-tile {
  height: 66px;
  border-radius: 13px;
  padding: 3px;
  border-color: #fae69c;
}
.nb-preview img {
  height: 40px;
  width: 40px;
}
.nb-preview .nb-drop-value {
  font-size: 9px;
}
.nb-box-title {
  font-size: 21px;
  text-align: center;
  margin: 5px 0 8px;
}
.nb-description {
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #e2e2e2;
  margin: 0 5px 22px;
}
.nb-point-note {
  text-align: center;
  font-size: 10px;
  color: #9a9a9a;
  margin: 20px 8px;
  line-height: 1.5;
}
.nb-open-controls {
  position: absolute;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 8px 12px;
  display: flex;
  gap: 10px;
  background: linear-gradient(transparent, #020202 20%);
  z-index: 5;
}
.nb-detail-back {
  flex: 0 0 48px;
  height: 48px;
  border: 1px solid #ffffff15;
  border-radius: 16px;
  background: linear-gradient(135deg, #181818, #020202);
  box-shadow: inset 0 1px 8px #ffffff0c;
  font-size: 28px !important;
}
.nb-open-button,
.nb-gradient-button {
  border: 1px solid #ffffff66;
  background: linear-gradient(105deg, #f9e290, #fbedb8 48%, #f0c735);
  box-shadow:
    inset 0 1px 7px #ffffffcc,
    0 0 10px #f0c8392a;
  color: #1d1a11 !important;
  border-radius: 17px;
  font-size: 15px !important;
  font-weight: 700;
  padding: 13px 12px;
  flex: 1;
}
.nb-open-button .nb-cost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #342f1d;
  color: white;
  border-radius: 13px;
  font-size: 12px;
  padding: 3px 7px;
  margin-left: 6px;
}
.nb-open-button .nb-cost span {
  color: #f6d14b;
}
.nb-open-button:disabled {
  filter: grayscale(0.7);
}
.nb-tasks {
  border: 1px solid #ffffff10;
  border-radius: 20px;
  padding: 10px 13px;
  background: #111111;
}
.nb-task-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  font-size: 12px;
  border-bottom: 1px solid #ffffff10;
}
.nb-task-row:last-child {
  border-bottom: 0;
}
.nb-task-row strong {
  flex: 1;
  font-weight: 500;
}
.nb-task-row button {
  border: 1px solid #ffffff25;
  background: #edc639;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 16px;
  font-size: 11px;
}
.nb-task-done {
  color: #f6d14d;
}
.nb-level-panel {
  width: 100%;
  background: linear-gradient(140deg, #282828, #0e0e0e);
  border: 1px solid #ffffff16;
  border-radius: 20px;
  padding: 12px;
  margin: 0 0 17px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.nb-level-track {
  position: relative;
  width: 100%;
  height: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #3a3627;
}
.nb-level-track > div {
  height: 100%;
  background: linear-gradient(90deg, #e9be21, #fbe9a9);
  border-radius: 12px;
}
.nb-level-track > small {
  position: absolute;
  inset: 0;
  font-size: 10px;
  display: grid;
  place-items: center;
}
.nb-status {
  font-size: 12px;
  color: #c6bea1;
  text-align: center;
  line-height: 1.6;
}
.nb-inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.nb-inventory-grid > .nb-drop-tile {
  height: 165px;
}
.nb-inventory-grid .nb-reward-name {
  font-size: 12px;
  margin-top: 5px;
}
.nb-inventory-grid small {
  font-size: 10px;
  opacity: 0.7;
}
.nb-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #000000bb;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.nb-contents-sheet,
.nb-info-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 82%;
  border: 1px solid #ffffff17;
  background: #090909;
  border-radius: 30px 30px 0 0;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  overflow: auto;
  animation: nb-up 0.25s ease-out;
}
.nb-contents-sheet h2,
.nb-info-sheet h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
.nb-odds-note {
  font-size: 11px;
  color: #989898;
  margin: 0 0 12px;
}
.nb-contents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-height: 56dvh;
  overflow-y: auto;
  padding: 2px;
}
.nb-contents-grid .nb-drop-tile {
  min-height: 125px;
}
.nb-drop-odds {
  font-size: 10px;
  margin-top: 5px;
  color: #efe8d1;
}
.nb-white-button {
  display: block;
  margin: 16px auto 0;
  padding: 9px 27px;
  border: 0;
  border-radius: 25px;
  background: #ffffff;
  color: #000000 !important;
  font-size: 13px !important;
  position: sticky;
  bottom: 0;
}
.nb-info-sheet p {
  font-size: 13px;
  line-height: 1.7;
  color: #c8c8c8;
}
.nb-info-sheet .nb-level-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px;
  border-bottom: 1px solid #ffffff0c;
  background: #0c0c0c;
}
.nb-level-row.current {
  background: #6b5b2155;
  border: 1px solid #e7c035;
}
.nb-level-row > strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: radial-gradient(#e8e5d8, #606060);
  border: 3px double #b5b5b5;
  color: #3b3b3b;
  border-radius: 50%;
  font-size: 20px;
}
.nb-opening {
  position: absolute;
  inset: calc(12px + env(safe-area-inset-top, 0px)) 10px
    calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  max-width: 460px;
  margin: auto;
  border-radius: 30px;
  background: radial-gradient(
    ellipse at 50% 130%,
    #d9ae14,
    #2a2308 46%,
    #020202 80%
  );
  border: 1px solid #f5d56233;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.nb-opening > h2 {
  position: absolute;
  top: 35px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 16px;
  color: #d4cbaa;
}
.nb-reel-window {
  width: 100%;
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
}
.nb-reel-track {
  display: flex;
  gap: 6px;
  will-change: transform;
  position: absolute;
  left: 0;
}
.nb-reel-track .nb-drop-tile {
  width: 100px;
  height: 125px;
  flex: 0 0 100px;
  border-color: #e7cf7a;
  background: radial-gradient(ellipse at 50% 110%, #4d4424, #060606 70%);
}
.nb-reel-pointer {
  position: absolute;
  top: -15px;
  bottom: -15px;
  left: 50%;
  width: 2px;
  background: linear-gradient(#f8da71, #ffffff, #f8da71);
  box-shadow: 0 0 8px #fae8a6;
  pointer-events: none;
}
.nb-skip {
  position: absolute;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
  border: 0;
  background: none;
  color: #e5d59a !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.nb-skip span {
  font-size: 32px;
}
.nb-skip small {
  font-size: 12px;
}
.nb-outcome-sheet {
  position: relative;
  width: 100%;
  max-width: 460px;
  border: 1px solid #ffffff22;
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(ellipse at 50% 34%, #6c581088, transparent 45%), #050505;
  box-shadow: inset 0 1px 18px #e7dcb62a;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  max-height: 94%;
  overflow: auto;
  animation: nb-up 0.3s ease-out;
}
.nb-handle {
  width: 35px;
  height: 4px;
  background: #b2b2b288;
  border-radius: 3px;
  margin: 0 auto 19px;
}
.nb-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 27px;
  height: 27px;
  border: 1px solid #ffffff22;
  border-radius: 50%;
  background: #ffffff0c;
  font-size: 21px !important;
  color: #b4b4b4 !important;
}
.nb-won-heading {
  font-size: 24px;
  margin: 0;
  background: linear-gradient(90deg, #f9e391, #f8e6a6);
  color: transparent;
  background-clip: text;
}
.nb-demo-label {
  display: block;
  color: #f2e3ab;
  font-size: 11px;
  margin: 6px;
}
.nb-prize-aura {
  height: 220px;
  width: 220px;
  position: relative;
  margin: 5px auto 0;
  display: grid;
  place-items: center;
}
.nb-result-card {
  width: 113px;
  height: 160px;
  border: 1px solid #e2cf89;
  border-radius: 18px;
  background: radial-gradient(ellipse at bottom, #2a2618, #050505);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 0 35px #f4c72722;
  position: relative;
}
.nb-result-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.nb-result-card strong {
  position: absolute;
  bottom: -17px;
  background: #655e43;
  border: 1px solid #ffffff16;
  border-radius: 25px;
  padding: 9px 12px;
  font-size: 16px;
}
.nb-prize-spark {
  position: absolute;
  font-size: 26px;
  color: #fdf3d1;
  text-shadow: 0 0 13px #f6d356;
  animation: nb-twinkle 2s infinite alternate;
}
.nb-prize-spark.s1 {
  left: 10px;
  top: 110px;
}
.nb-prize-spark.s2 {
  right: 10px;
  top: 60px;
  font-size: 20px;
}
.nb-prize-spark.s3 {
  right: 30px;
  top: 120px;
  font-size: 15px;
}
.nb-result-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nb-result-title > span {
  font-size: 13px;
  border: 1px solid #e2ce8755;
  border-radius: 5px;
  padding: 3px;
  color: #f2d97e;
}
.nb-result-title h3 {
  font-size: 18px;
  margin: 0;
  max-width: 65%;
}
.nb-outcome-sheet > p {
  font-size: 11px;
  color: #b8b8b8;
  line-height: 1.5;
  margin: 9px 0;
}
.nb-share-button {
  border: 0;
  background: white;
  color: black !important;
  padding: 5px 15px;
  border-radius: 22px;
  font-size: 11px !important;
}
.nb-prize-actions {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.nb-prize-actions button {
  flex: 1;
  border: 1px solid #ffffff22;
  border-radius: 17px;
  background: radial-gradient(ellipse at top, #313131, #060606);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  font-size: 19px;
}
.nb-prize-actions button:nth-child(2) {
  background: radial-gradient(ellipse at top, #9d811d, #0d0d0d);
}
.nb-prize-actions small {
  font-size: 10px;
}
.nb-result-footer {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.nb-result-footer > button {
  flex: 1;
}
.nb-collect-button {
  padding: 14px;
  border: 1px solid #ffffff22;
  border-radius: 17px;
  box-shadow: inset 0 0 12px #ffffff18;
  background: linear-gradient(140deg, #262626, #060606);
  font-size: 13px !important;
}
.nb-result-status {
  min-height: 16px;
}
@keyframes nb-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes nb-float {
  50% {
    transform: translateY(-7px) rotate(2deg);
  }
}
@keyframes nb-twinkle {
  to {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
@media (max-width: 350px) {
  .nb-head h1 {
    font-size: 17px;
  }
  .nb-wallet {
    gap: 3px;
  }
  .nb-wallet-points,
  .nb-ticket {
    padding: 6px;
  }
  .nb-stage {
    border-radius: 27px;
  }
  .nb-preview {
    left: 9px;
    right: 9px;
    gap: 4px;
  }
  .nb-preview .nb-drop-tile {
    height: 58px;
  }
  .nb-inside-btn {
    bottom: 80px;
  }
  .nb-outcome-sheet {
    padding-left: 10px;
    padding-right: 10px;
  }
  .nb-prize-aura {
    height: 185px;
  }
  .nb-result-title h3 {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nb-page * {
    animation: none !important;
    transition: none !important;
  }
}
.nb-demo-control input {
  z-index: 2;
  cursor: pointer;
}
.nb-demo-control i {
  pointer-events: none;
}

/* NOT-exclusive reward containers. Master 3D assets retain a shared coin seal. */
.nb-brand-mark {
  width: 29px;
  height: 29px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px #e5c34945);
}
.nb-not-art {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  --not-art-filter: none;
  --not-art-shadow: #d9b63655;
}
.nb-not-art::before {
  content: "";
  position: absolute;
  inset: 18% 10%;
  background: radial-gradient(ellipse, var(--not-art-shadow), transparent 69%);
  filter: blur(16px);
  z-index: -1;
}
.nb-not-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--not-art-filter) drop-shadow(0 5px 9px #00000055);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.nb-not-art-purple,
.nb-not-art-crystal_free {
  --not-art-filter: saturate(0.85);
  --not-art-shadow: #f5cf4455;
}
.nb-not-art-silver,
.nb-not-art-platinum {
  --not-art-filter: grayscale(0.97) brightness(1.25);
  --not-art-shadow: #fbeaac55;
}
.nb-not-art-amber {
  --not-art-filter: saturate(0.85);
  --not-art-shadow: #f4c92d55;
}
.nb-not-art-sapphire {
  --not-art-filter: saturate(0.85);
  --not-art-shadow: #f5cd3d55;
}
.nb-not-art-magenta {
  --not-art-filter: saturate(0.85);
  --not-art-shadow: #f5ce4255;
}
.nb-not-art-frost {
  --not-art-filter: saturate(0.85);
  --not-art-shadow: #fae59a55;
}
.nb-not-art-lime {
  --not-art-filter: saturate(0.85);
  --not-art-shadow: #f4c92f55;
}
.nb-not-art-wood {
  --not-art-filter: sepia(0.25) saturate(0.65) brightness(0.85);
  --not-art-shadow: #ab933b55;
}
.nb-not-art-emerald {
  --not-art-filter: saturate(0.85);
  --not-art-shadow: #e0b82655;
}
.nb-not-art-ruby {
  --not-art-filter: saturate(0.85);
  --not-art-shadow: #f5cd3e55;
}
.nb-not-art-onyx,
.nb-not-art-black {
  --not-art-filter: grayscale(1) contrast(1.2) brightness(0.82);
  --not-art-shadow: #c4bea855;
}
.nb-not-art-bronze {
  --not-art-filter: sepia(0.4) saturate(0.8);
  --not-art-shadow: #dac16855;
}
.nb-not-art-vip {
  --not-art-filter: none;
  --not-art-shadow: #efcb4a55;
}
.nb-card-art {
  position: relative;
  padding: 5px 0 0;
  overflow: visible;
}
.nb-card-art .nb-not-art {
  width: 115%;
  height: 112%;
  margin-left: -7.5%;
  margin-top: -3%;
}
.nb-card-art .nb-not-art-vip {
  width: 94%;
  height: 100%;
  margin: 0 auto;
}
.nb-card::before {
  font-size: clamp(40px, 13vw, 70px);
  font-weight: 900;
  letter-spacing: -3px;
  text-align: center;
  line-height: 1.15;
  opacity: 0.8;
}
.nb-card[data-theme="black"],
.nb-card[data-theme="onyx"] {
  border-color: #ffffff28;
}
.nb-hero {
  inset: 11% 7% 25%;
  filter: none;
}
.nb-hero .nb-not-art-vip {
  height: 93%;
  align-self: center;
}
.nb-not-unit {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px;
  border-radius: 50%;
  object-fit: contain;
  filter: none !important;
  display: inline-block;
  vertical-align: middle;
}
.nb-drop-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1.15;
}
.nb-inside-btn {
  bottom: 103px;
  min-width: 160px;
  min-height: 39px;
  padding: 8px 18px;
  font-size: 14px !important;
  background: linear-gradient(180deg, #323232bb, #111111dd);
  border-color: #ffffff29;
  box-shadow: inset 0 1px 5px #ffffff1a;
}
.nb-preview {
  bottom: 12px;
  gap: 7px;
  left: 16px;
  right: 16px;
}
.nb-preview .nb-drop-tile {
  height: 75px;
  border: 0;
  border-radius: 20px;
  padding: 4px 4px 5px;
}
.nb-preview .nb-drop-tile > img {
  height: 48px;
  width: 54px;
  max-width: 100%;
}
.nb-preview .nb-drop-value {
  font-size: 11px;
  font-weight: 400;
  padding: 3px 6px;
}
.nb-preview .nb-not-unit {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px;
}

/* Reference contents viewport: one framed, independently scrolling 3-column grid.
   The white Back control floats outside the frame above the underlying CTA. */
#nb-contents-overlay {
  display: block;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overscroll-behavior: contain;
}
#nb-contents-overlay .nb-contents-sheet {
  position: absolute;
  top: 18.1%;
  bottom: 12.8%;
  left: 0;
  right: 0;
  margin-inline: auto;
  transform: none;
  width: calc(100% - 32px);
  max-width: 460px;
  max-height: none;
  padding: 16px;
  background: #020202;
  border: 1px solid #ffffff30;
  border-radius: 39px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px #000000,
    inset 0 1px 2px #ffffff08;
  animation: nb-contents-in 0.2s ease-out;
  isolation: isolate;
}
.nb-contents-sheet > h2,
.nb-contents-sheet > .nb-odds-note {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#nb-contents-grid {
  height: 100%;
  max-height: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 5px;
  padding: 0 1px 8px;
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: pan-y;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border-radius: 22px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000000 13px,
    #000000 calc(100% - 13px),
    transparent
  );
}
#nb-contents-grid::-webkit-scrollbar {
  display: none;
}
#nb-contents-grid .nb-drop-tile {
  position: relative;
  aspect-ratio: 0.95;
  min-height: 0;
  min-width: 0;
  height: auto;
  border: 0;
  border-radius: 22px;
  padding: 9px 5px 28px;
  outline-offset: -3px;
  box-shadow: inset 0 1px 1px #ffffff08;
  background: linear-gradient(180deg, #4c4322, #9d8429);
  transition: filter 0.15s;
  overflow: hidden;
  color: white;
}
#nb-contents-grid .nb-drop-tile.rarity-Legendary {
  background: linear-gradient(180deg, #49422a, #f1ca3b);
}
#nb-contents-grid .nb-drop-tile.rarity-Epic {
  background: linear-gradient(180deg, #5b5029, #d7b22b);
}
#nb-contents-grid .nb-drop-tile.rarity-Normal,
#nb-contents-grid .nb-drop-tile.rarity-Rare {
  background: linear-gradient(180deg, #5a4d20, #917a25);
}
#nb-contents-grid .nb-drop-tile.rarity-Coin {
  background: linear-gradient(180deg, #373737, #292929);
}
#nb-contents-grid .nb-drop-tile.rarity-Legendary:nth-child(3n) {
  background:
    radial-gradient(1px 1px at 20% 25%, #ffffff99 95%, transparent) 0 0/19px 23px,
    #060606;
  box-shadow: inset 0 0 0 1px #bba55588;
}
#nb-contents-grid .nb-drop-tile > img {
  width: 73%;
  height: 71%;
  max-width: none;
  object-fit: contain;
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 3px 5px #00000044);
}
#nb-contents-grid .nb-drop-value {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 18px;
  white-space: nowrap;
  max-width: 95%;
  font-size: 12px;
  font-weight: 400;
  padding: 3px 6px;
  background: #ffffff16;
  min-height: 20px;
}
#nb-contents-grid .nb-drop-odds {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 4px 6px;
  border-radius: 9px;
  background: #000000bb;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.15s,
    transform 0.15s;
  margin: 0;
  pointer-events: none;
}
#nb-contents-grid .nb-reveal-odds .nb-drop-odds,
#nb-contents-grid .nb-drop-tile:focus-visible .nb-drop-odds {
  opacity: 1;
  transform: none;
}
#nb-contents-overlay .nb-white-button {
  position: fixed;
  left: 50%;
  bottom: 6.3%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  width: 110px;
  min-height: 39px;
  border-radius: 28px;
  font-size: 14px !important;
  font-weight: 400;
  padding: 9px 17px;
  box-shadow: 0 3px 20px #00000044;
}
#nb-contents-overlay .nb-white-button::after {
  content: "⌄";
  display: inline-block;
  margin-left: 7px;
  font-size: 19px;
  line-height: 12px;
  vertical-align: middle;
}
.nb-contents-open #nb-scroll {
  overflow-y: hidden;
}
@keyframes nb-contents-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 600px) {
  #nb-contents-overlay .nb-contents-sheet {
    top: 14%;
    bottom: 13%;
  }
  #nb-contents-grid .nb-drop-value {
    font-size: 14px;
  }
}
@media (max-width: 350px) {
  #nb-contents-overlay .nb-contents-sheet {
    width: calc(100% - 22px);
    padding: 13px;
    border-radius: 32px;
  }
  #nb-contents-grid .nb-drop-tile {
    border-radius: 18px;
  }
  #nb-contents-grid .nb-drop-value {
    font-size: 10px;
    padding: 3px 4px;
    gap: 2px;
  }
  .nb-preview {
    left: 12px;
    right: 12px;
    gap: 5px;
  }
  .nb-preview .nb-drop-tile {
    height: 65px;
    border-radius: 15px;
  }
  .nb-preview .nb-drop-tile > img {
    height: 40px;
  }
  .nb-inside-btn {
    bottom: 90px;
    font-size: 12px !important;
    min-width: 145px;
  }
}
#nb-contents-grid .nb-drop-tile {
  height: 100%;
  aspect-ratio: auto;
}
.nb-contents-sheet:focus {
  outline: none;
}
.nb-wallet-points {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.nb-card-price > .nb-not-unit {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
}
.nb-open-button .nb-cost > .nb-not-unit {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px;
}

/* Consistent compact controls: no typographic arrows or sticky task buttons. */
.nb-inside-btn,
.nb-check-button,
#nb-contents-overlay .nb-white-button,
.nb-info-sheet > .nb-white-button,
.nb-detail-back {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  line-height: 1;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.nb-control-chevron,
.nb-check-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nb-inside-btn {
  min-width: 164px;
  padding: 0 18px;
  border-radius: 24px;
  border: 1px solid #ffffff26;
  background: linear-gradient(180deg, #2e2e2eed, #181610f5);
  box-shadow:
    inset 0 1px 0 #ffffff16,
    0 4px 12px #00000044;
  color: #fefbf0 !important;
}
.nb-inside-btn:hover {
  border-color: #fbeaad77;
  background: linear-gradient(180deg, #47422e, #282417);
}
.nb-inside-btn:active {
  background: #262316;
  box-shadow: inset 0 2px 5px #00000055;
}
#nb-contents-overlay .nb-white-button {
  width: auto;
  min-width: 116px;
  min-height: 44px;
  padding: 0 21px;
  border-radius: 25px;
  border: 1px solid #ffffffb3;
  background: linear-gradient(180deg, #ffffff, #eaeaea);
  color: #27241a !important;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 4px 18px #00000066;
  font-weight: 600;
}
#nb-contents-overlay .nb-white-button::after {
  content: none;
  display: none;
}
#nb-contents-overlay .nb-white-button:hover {
  background: #ffffff;
  box-shadow:
    0 4px 20px #00000088,
    0 0 0 3px #ecd99620;
}
#nb-contents-overlay .nb-white-button:active {
  background: #e0e0e0;
}
.nb-check-button {
  position: static;
  width: 100%;
  margin: 12px 0 2px;
  padding: 0 16px;
  border: 1px solid #dfcc8552;
  border-radius: 15px;
  background: linear-gradient(180deg, #4b4325, #2f2a17);
  color: #fdf7e1 !important;
  box-shadow:
    inset 0 1px 0 #ffffff12,
    0 3px 9px #00000022;
}
.nb-check-button:hover:not(:disabled) {
  background: linear-gradient(180deg, #61562f, #3d3720);
  border-color: #eddb9988;
}
.nb-check-button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.nb-checking .nb-check-icon {
  animation: nb-control-spin 1s linear infinite;
}
.nb-detail-back {
  width: 48px;
  height: 48px;
  min-height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  border: 1px solid #ffffff22;
  background: linear-gradient(180deg, #202020, #101010);
  box-shadow:
    inset 0 1px 0 #ffffff12,
    0 3px 8px #00000033;
  font-size: 29px !important;
  font-weight: 400;
  color: #e8e8e8 !important;
  padding: 0 0 3px;
}
.nb-info-sheet > .nb-white-button {
  position: sticky;
  min-width: 110px;
  margin: 18px auto 0;
  border-radius: 24px;
  padding: 0 20px;
  background: linear-gradient(#fefefe, #eaeaea);
  color: #27241a !important;
  box-shadow: 0 3px 12px #00000055;
}
@keyframes nb-control-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 350px) {
  .nb-inside-btn {
    min-width: 150px;
    font-size: 13px !important;
    gap: 7px;
    min-height: 42px;
  }
}
.nb-topbar>button:first-child{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 12px 0 8px;border:1px solid #ffffff10;border-radius:21px;background:#ffffff0b;color:#f1efe9;font-size:13px;font-weight:500;line-height:1}
.nb-topbar>button:first-child span{font-size:13px}
.nb-detail-back .nb-control-chevron{width:22px;height:22px;flex-basis:22px;stroke-width:1.7}
