.reward-navigation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  flex-shrink: 0;
  padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  background: #07549a;
  box-shadow: 0 2px 8px #00336533;
  z-index: 50;
  font-family: rbx, 'Trebuchet MS', sans-serif;
}

.reward-track {
  background: #fff;
  flex-shrink: 0;
  font-family: rbx, 'Trebuchet MS', sans-serif;
}

.reward-track-inner {
  box-sizing: border-box;
  max-width: 430px;
  margin: 0 auto;
  padding: 12px 16px 2px;
}

.reward-track-intro {
  display: flex;
  align-items: flex-start;
  gap:18px;
      margin-top: 5px;
    margin-bottom: 15px;
}

.reward-track-copy {
  min-width: 0;
}

.reward-track-title {
  margin: 0 0 6px;
  color: #00566c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.reward-track-description {
  margin: 0;
  color: #526d75;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.reward-track-icon {
 width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.reward-track-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.reward-track-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff5780;
  flex-shrink: 0;
}

.reward-track-info {
  position: relative;
  color: #7f9da5;
}

.reward-track-info summary {
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

.reward-track-info summary::-webkit-details-marker { display: none; }
.reward-track-info summary span { margin-right: 4px; }
.reward-track-info summary:focus-visible { outline: 2px solid #07549a; outline-offset: 3px; }

.reward-track-info p {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 60;
  box-sizing: border-box;
  width: 240px;
  padding: 12px;
  margin: 8px 0 0;
  border: 1px solid #dbe7eb;
  border-radius: 8px;
  background: #fff;
  color: #00566c;
  box-shadow: 0 4px 14px #00336520;
}

.reward-brand {
  display: block;
  min-width: 0;
}

.reward-navigation .rewards-banner {
  display: block;
  width: auto;
  max-width: 100%;
  height: 36px;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

.reward-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 26px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.reward-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
.reward-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: min(250px, calc(100vw - 28px));
  padding: 10px;
  border: 3px solid #e5c994;
  border-radius: 18px;
  background: linear-gradient(120deg, #fff8df, #f9eac5);
  box-shadow: inset 0 0 0 3px #fff4d7, 0 4px 0 #b5793c, 0 12px 24px #56371940;
}

.reward-menu[hidden] { display: none; }

.reward-menu-heading {
  display: block;
  padding: 8px 10px 12px;
  color: #8d653b;
  font-size: 14px;
  font-weight: 700;
}

.reward-menu a {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  color: #345f87;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.reward-menu a:hover { background: #dceeff; }
.reward-menu-toggle:hover { filter: brightness(1.06); }
.reward-menu-toggle:focus-visible,
.reward-menu a:focus-visible { outline: 3px solid #236aba; outline-offset: 3px; }

/* Two rewards per row on mobile and desktop. */
.reward-shop.content-wrapper {
box-sizing: border-box;
    width: 82%;
    margin: 20px auto 0;
    padding: 0px;
    overflow: visible;
    /* border: 3px solid #e5c994; */
    border-top: 0;
    border-radius: 25px 25px 23px 23px;
    background: #fff;
    /* box-shadow: inset 0 0 0 4px #fff4d7, inset 0 -8px 0 #eed8ab, 0 4px 0 #b5793c, 0 7px 12px #96571d55; */
    font-family: rbx, 'Trebuchet MS', sans-serif;
    font-weight: 700;
        margin-top: 30px;
}

.reward-shop::after {
  content: '';
  position: absolute;
  inset: 42px 7px 7px;
 
  border-top: 0;
  border-radius: 0 0 16px 16px;
  pointer-events: none
}

.reward-shop-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
        text-transform: uppercase;
       position: relative;
    margin: 0px;
    padding: 10px 24px 15px;
    border-radius: 12px 12px 0 0;
    /* border-top: 3px solid #b2d9ff; */
    /* border-bottom: 3px solid #548ecc; */
    background: linear-gradient(#77baf3, #61a7e5);
    color: white;
    font: 700 21px / 1 rbx, 'Trebuchet MS', sans-serif;
    text-align: center;
   
    font-size: 16px;
    background: #ed5a7a;
}
 

.reward-shop-title::before {
  left: 19px
}

.reward-shop-title::after {
  right: 19px
}

.reward-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0 auto;
}

.reward-card {
  text-decoration: none;
  position: relative;
  box-sizing: border-box;
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 112px 36px 44px;
  justify-items: center;
  align-items: center;
  min-width: 0;
  gap: 8px;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), linear-gradient(315deg, #24ccaa, #a2db95 98.97%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
  cursor: default;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s, filter .15s
}

a.reward-price:hover {
  filter: brightness(1.05);
  transform: translateY(-2px)
}

a.reward-price:active {
  transform: translateY(2px)
}

a.reward-price:focus-visible {
  outline: 3px solid #236aba;
  outline-offset: 4px
}

.reward-art {
  display: block;
  grid-row: 1;
  width: 112px;
 
  height: auto;
  max-height: 112px;
  object-fit: contain;
  
}

.reward-info {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.reward-stock {
  grid-row: 2;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 100%;
    border-radius: 8px;
    background: #ffffff;
    color: #0f4f5a;
    font-size: 16px;
    line-height: 0px;
    padding: 2px 4px;
    text-align: center;
    margin: 0;
}

/* The SVG draws a gently bowed outline, bevel, gloss and lower lip. */
.reward-price {
    grid-row: 3;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    gap: 9px;
    box-sizing: border-box;
    min-height: 44px;
    height: 44px;
    line-height: 24px;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    background: linear-gradient(319.49deg, #07c4c4 1.87%, #96cf9c 109.19%);
    border-radius: 12px;
    color: #fffef5;
    font-size: 21px;
    transition: transform .15s;
    width: 100%;
}

a.reward-price {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  text-decoration: none;
  cursor: pointer;
}

.reward-card > .reward-art,
.reward-card > .reward-info,
.reward-card > .reward-stock {
  pointer-events: none;
}

a.reward-price:active {
  transform: translateY(1px);
}

.reward-gem {
  display: inline-block;
  flex: 0 0 auto;
  width: 19px;
  height: 18px;
  clip-path: polygon(28% 0, 83% 4%, 100% 38%, 72% 100%, 8% 82%, 0 39%);
  background: conic-gradient(from 35deg at 48% 43%, #ffbbc9, #ff416b 20%, #cf1249 32%, #ff5181 50%, #ffcadb 51%, #fff5f5 66%, #ff6b99 67%, #f92864);
  transform: rotate(12deg)
}

.reward-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 3px 0;
  padding: 4px 6px;
  border-bottom: 2px solid #fff6d9;
  border-radius: 8px 8px 15px 15px;
  background: #edb16e;
      color: #ff7837;
  font-size: 13px;
  line-height: 1;
      background: rgba(255, 204, 0, .28);
}

.reward-refresh-cost {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  border: 1px solid #4884ae;
  border-radius: 5px;
  background: linear-gradient(#a6dcff, #4b9be0);
  box-shadow: inset 0 1px #e5f7ff, 0 1px #c08f5b;
  text-shadow: 0 1px #32609a;
  font-size: 16px
}

.reward-refresh-cost .reward-gem {
  width: 14px;
  height: 14px
}

@media(max-width:375px) {
  .reward-shop.content-wrapper {
    margin-top: 30px;
    padding: 0 12px 18px
  }

  .reward-shop-title {
    margin-left: -15px;
    margin-right: -15px
  }

  .reward-grid {
    gap: 13px 10px
  }

  .reward-card {
    padding: 10px;
  }

  .reward-stock {
    font-size: 14px
  }

  .reward-refresh {
    gap: 4px;
    font-size: 11px;
    margin-left: 0;
    margin-right: 0
  }
}

@media(prefers-reduced-motion:reduce) {

  .reward-card,
  .reward-price {
    transition: none
  }
}


.reward-grid.reward-grid--single {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
}

.reward-slider-arrow {
  position: absolute;
  top: 45%;
  width: 28px;
  height: 64px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: rgba(18, 87, 101, 0.28);
  pointer-events: none;
}

.reward-slider-arrow::before {
  content: '';
  width: 28px;
  height: 28px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.reward-slider-arrow--prev { right: calc(100% + 6px); }
.reward-slider-arrow--next { left: calc(100% + 6px); }
.reward-slider-arrow--prev::before { transform: rotate(-135deg); }
.reward-slider-arrow--next::before { transform: rotate(45deg); }

.coin-reward {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 12px rgb(0 0 0 / 18%);
  color: #125765;
}

.coin-reward-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1.75;
  background: linear-gradient(130deg, #e7f5e4, #cef3ed);
}

.coin-reward-image {
  display: block;
  width: 40%;
  max-height: 80%;
  object-fit: contain;
}

.coin-reward-details {
  padding: 26px 24px 30px;
}

.coin-reward-details h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.coin-reward-details p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.coin-reward-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  margin-top: 25px;
  padding: 10px 25px;
  border: 1px solid #a5e6d4;
  border-radius: 999px;
  background: linear-gradient(115deg, #7aceaa, #0dbdbf);
    box-shadow: 1px 1px 2px 0 rgba(119, 139, 154, .25);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
      padding-top: 5px;
}

.coin-reward-button { gap: 10px; }
.coin-reward-button__old-price {
  color: rgb(255 255 255 / 65%);
  font-size: 20px;
  font-weight: 700;
  text-decoration: line-through;
}

.coin-reward-button:hover { filter: brightness(1.05); }
.coin-reward-button:focus-visible { outline: 3px solid #125765; outline-offset: 4px; }

.clock{
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
}
