@font-face {
  font-family: Manrope;
  src: url("./fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  src: url("./fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  --bg: #f5f4ef;
  --surface: #fffefa;
  --text: #252620;
  --muted: #74756c;
  --line: #dedfd5;
  --accent: #ed602c;
  --accent-ink: #ad370f;
  --good: #386545;
  --bad: #b7382b;
  --safe-top: max(
    env(safe-area-inset-top, 0px),
    var(--tg-content-safe-area-inset-top, 0px)
  );
  --safe-bottom: max(
    env(safe-area-inset-bottom, 0px),
    var(--tg-content-safe-area-inset-bottom, 0px)
  );
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  margin: 0;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-bottom: 100px;
}
body {
  margin: 0;
  color: var(--text);
  font:
    14px/1.5 Manrope,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-width: 280px;
  min-height: 100dvh;
}
button,
input,
a {
  touch-action: manipulation;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  transition:
    background-color 0.16s,
    transform 0.16s;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button:active:not(:disabled) {
  transform: scale(0.98);
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -1.3px;
  font-weight: 800;
  text-wrap: balance;
}
h2 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 800;
}
small {
  font-size: 12px;
}
img {
  max-width: 100%;
}
#app {
  max-width: 480px;
  margin: auto;
  min-height: 100dvh;
  padding-top: var(--safe-top);
  position: relative;
  background: var(--bg);
}
.screen {
  padding: 8px 22px calc(110px + var(--safe-bottom));
  outline: none;
  animation: arrive 0.22s ease-out;
}
.ui-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}
.emo {
  display: inline-block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}
.accent,
.brand-dot {
  color: var(--accent);
}
.eyebrow,
.label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.4;
}
.eyebrow {
  color: var(--muted);
}
.demo-strip {
  border: 0;
  border-bottom: 1px solid #e4d8c6;
  width: 100%;
  min-height: 30px;
  padding: 5px 22px;
  background: #eae5d7;
  text-align: left;
  font-size: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
}
.demo-strip > span:last-child {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-dot {
  width: 5px;
  height: 5px;
  background: #7a765c;
  border-radius: 50%;
}
.app-header {
  height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wordmark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.8px;
  background: none;
  border: 0;
  padding: 0;
  min-height: 44px;
}
.balance-pill {
  margin-left: auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 12px;
  background: transparent;
  font-variant-numeric: tabular-nums;
}
.balance-pill .ui-icon {
  width: 17px;
  height: 17px;
}
.icon-button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.header-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  flex: 1;
  text-align: center;
}
.app-header > .icon-button:last-child {
  margin-left: auto;
  border-color: transparent;
}
.intro {
  padding: 4px 0 24px;
}
.intro h1 {
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin: 12px 0 9px;
}
.intro-note {
  font-size: 12px;
  color: var(--muted);
}
.stars-feature {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 217px;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: #ed6938;
  padding: 19px;
  color: #25231d;
  text-align: left;
}
.feature-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 1;
}
.feature-top > .ui-icon {
  width: 21px;
}
.feature-title {
  font-weight: 800;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.85px;
  margin: 20px 0 27px;
  max-width: 71%;
  z-index: 1;
}
.feature-art {
  position: absolute;
  right: -3px;
  top: 52px;
  transform: rotate(-15deg);
  width: 112px;
  height: 112px;
  pointer-events: none;
  filter: drop-shadow(0 10px 6px #ac401e25);
}
.feature-art .emo {
  width: 100%;
  height: 100%;
}
.feature-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  width: 100%;
  z-index: 1;
}
.feature-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff9e9;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}
.feature-cta .ui-icon {
  width: 17px;
  height: 17px;
}
.feature-rate {
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 27px 0 14px;
}
.section-heading > span {
  font-size: 8px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.editorial {
  border: 0;
  border-radius: 5px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  position: relative;
  text-align: left;
  min-height: 217px;
}
.premium-feature {
  background: #2d3029;
  color: #fcfaf0;
}
.gift-feature {
  background: #e8dfcf;
}
.editorial .label {
  font-size: 8px;
  letter-spacing: 1px;
}
.premium-feature .label {
  color: #c8c9b6;
}
.editorial-art {
  display: block;
  align-self: center;
  height: 101px;
  padding: 14px 0 8px;
  transform: rotate(-8deg);
}
.editorial-art .emo {
  width: 82px;
  height: 82px;
  filter: drop-shadow(0 6px 5px #00000014);
}
.gift-feature .editorial-art {
  transform: rotate(8deg);
}
.editorial strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.editorial-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 4px;
  font-size: 11px;
}
.editorial-bottom .ui-icon {
  width: 19px;
  height: 19px;
}
.premium-feature .ui-icon {
  filter: invert(1);
}
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}
.service-icon {
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  background: #e9e9df;
  border-radius: 10px;
  flex-shrink: 0;
}
.service-icon .emo {
  height: 27px;
  width: 27px;
}
.service-text {
  flex: 1;
  min-width: 0;
}
.service-text b {
  display: block;
  font-size: 12px;
  font-weight: 800;
}
.service-text small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.service-meta {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.service-row > .ui-icon {
  height: 14px;
  width: 14px;
}
.exchange-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 26px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  text-align: left;
}
.exchange-strip > span {
  flex: 1;
}
.exchange-strip b {
  font-size: 12px;
}
.exchange-strip small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.exchange-strip strong {
  font-size: 13px;
  white-space: nowrap;
}
.exchange-strip > .ui-icon:last-child {
  width: 14px;
}
.store-footer {
  padding: 26px 0 2px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.store-footer > .text-button {
  display: flex;
  margin: 8px auto 0;
  font-size: 11px;
}
.text-button {
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 4px 0;
  font-weight: 700;
  font-size: 11px;
}
.text-button .ui-icon {
  width: 15px;
  height: 15px;
}
.bottom-nav {
  position: fixed;
  z-index: 5;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 12px calc(12px + var(--safe-bottom));
  background: #f5f4ef;
  border-top: 1px solid var(--line);
}
.nav-item {
  position: relative;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-height: 48px;
  padding: 5px;
  color: #77786d;
  font-size: 9px;
  font-weight: 700;
}
.nav-item .ui-icon {
  width: 23px;
  height: 23px;
  opacity: 0.52;
}
.nav-item.selected {
  color: var(--accent-ink);
}
.nav-item.selected .ui-icon {
  filter: invert(38%) sepia(95%) saturate(1887%) hue-rotate(347deg)
    brightness(89%) contrast(90%);
  opacity: 1;
}
.nav-item.selected::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 25px;
  height: 2px;
  background: var(--accent);
}
.page-heading {
  margin: 6px 0 26px;
}
.lead {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin-top: 10px;
  max-width: 330px;
}
.product-heading {
  position: relative;
  min-height: 185px;
  margin: 0 -22px 22px;
  padding: 24px 22px;
  background: #eae8de;
  overflow: hidden;
}
.product-heading .eyebrow {
  display: block;
  color: #6d6c5d;
  max-width: 73%;
  font-size: 9px;
}
.product-heading h1 {
  position: relative;
  font-size: 30px;
  max-width: 76%;
  margin: 18px 0 12px;
  z-index: 1;
}
.product-heading p {
  position: relative;
  font-size: 12px;
  color: #68675d;
  max-width: 73%;
  z-index: 1;
}
.product-art {
  position: absolute;
  right: 9px;
  top: 43px;
  transform: rotate(-12deg);
}
.product-art .emo {
  width: 99px;
  height: 99px;
  filter: drop-shadow(0 8px 6px #00000012);
}
.product-star {
  background: #f2dcc4;
}
.product-premium {
  background: #2d3029;
  color: #fcfaf0;
}
.product-premium p,
.product-premium .eyebrow {
  color: #cccdbe;
}
.product-premium h1 {
  max-width: 65%;
}
.product-gift {
  background: #e9dacc;
}
.product-nft {
  background: #e0e3d7;
}
.product-tg {
  background: #dde6e5;
}
.product-sms {
  background: #e6e4d7;
}
.benefit-line {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.star-packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.star-pack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 6px 14px;
  min-width: 0;
}
.star-pack .emo {
  height: 31px;
  width: 31px;
  margin-bottom: 8px;
}
.pack-amount {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
}
.pack-caption {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 11px;
}
.star-pack .price {
  font-size: 13px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1px;
}
.was {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 5px;
}
.star-pack .was {
  margin: 0;
  font-size: 9px;
}
.premium-plans {
  border-top: 1px solid var(--line);
}
.premium-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  text-align: left;
}
.plan-period {
  width: 50px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.plan-period b {
  font-size: 36px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -2px;
}
.plan-period > span {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.plan-info {
  flex: 1;
  min-width: 0;
}
.plan-info > b {
  font-size: 12px;
}
.plan-info > span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.premium-plan .price {
  display: flex;
  flex-direction: column-reverse;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
}
.premium-plan .was {
  margin: 0;
}
.premium-plan > .ui-icon {
  width: 15px;
  height: 15px;
}
.delivery-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.gift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gift-product {
  display: flex;
  flex-direction: column;
  border: 0;
  background: transparent;
  text-align: left;
  min-width: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}
.gift-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.1;
  background: #e7e4db;
  border-radius: 5px;
  margin-bottom: 11px;
}
.gift-product:nth-child(2n) .gift-image {
  background: #e8ded2;
}
.gift-image .emo {
  width: 70%;
  height: 70%;
  object-fit: contain;
  max-height: 110px;
}
.gift-product .name {
  font-size: 12px;
  font-weight: 700;
  flex: 1;
}
.gift-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 9px;
  font-size: 13px;
}
.gift-bottom .ui-icon {
  background: #e6e5dc;
  border-radius: 50%;
  padding: 5px;
  width: 28px;
  height: 28px;
}
.nft-list .item {
  padding: 24px 0;
}
.nft-list .name {
  font-size: 18px;
  letter-spacing: -0.6px;
}
.number-explainer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 26px;
  font-size: 11px;
  color: var(--accent-ink);
}
.number-explainer b {
  font-weight: 600;
  margin-left: 12px;
  color: var(--text);
}
.list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 20px 0;
  font: inherit;
  text-align: left;
  min-height: 74px;
}
.item .name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.item .name > .emo {
  margin-right: 5px;
}
.item .note {
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 5px;
  letter-spacing: 0;
}
.item .price {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  max-width: 45%;
  text-align: right;
}
.item .price .was {
  display: block;
  margin: 0;
}
.arrow {
  font-size: 22px;
  font-family: Arial;
  color: #85867c;
  font-weight: 400;
}
.item.flat {
  cursor: default;
}
.item.flat:active {
  transform: none;
}
.empty {
  padding: 38px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: #eaeae1;
  border: 1px dashed #c9cabe;
  border-radius: 5px;
  line-height: 1.8;
  margin: 10px 0;
}
.gift-grid > .empty {
  grid-column: 1/-1;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 19px;
  margin-bottom: 14px;
}
.card .kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 12px;
}
.kv > span {
  color: var(--muted);
  flex-shrink: 0;
  max-width: 50%;
}
.kv > b {
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
.card .kv + .kv {
  border-top: 1px solid #eeeee7;
}
.fld {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  margin: 17px 0 8px;
}
.fld:first-child {
  margin-top: 0;
}
.inp {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 15px 12px;
  background: #f5f5ef;
  border: 1px solid #d8d9ce;
  border-radius: 5px;
  min-height: 54px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.inp:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #ed602c15;
}
.inp::placeholder {
  color: #94958b;
  font-size: 14px;
}
.inp[type="number"] {
  appearance: textfield;
}
.inp::-webkit-inner-spin-button,
.inp::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}
.chip {
  background: #edeee6;
  border: 1px solid transparent;
  border-radius: 5px;
  min-height: 44px;
  padding: 10px 13px;
  font-size: 11px;
  font-weight: 600;
  color: #686a5e;
  flex: 1;
  white-space: nowrap;
}
.chip.on {
  background: #2d3029;
  color: #f8f7ef;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  padding: 14px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--text);
  color: #fffdf5;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}
.btn .ui-icon {
  filter: invert(1);
  width: 18px;
  height: 18px;
}
.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn.ghost .ui-icon {
  filter: none;
}
.btn.danger {
  background: transparent;
  border-color: #dfb9ae;
  color: var(--bad);
}
.custom-stars {
  margin-top: 20px;
}
.custom-stars .btn,
.payment-card > .btn {
  background: #bb431a;
}
.pay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 10px;
}
.pay .btn {
  font-size: 11px;
  padding: 13px 5px;
  gap: 5px;
  margin: 0;
  flex-wrap: wrap;
}
.pay .emo,
.pay .ui-icon {
  width: 18px;
  height: 18px;
}
.copy {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f0e7;
  border: 1px solid var(--line);
  border-radius: 5px;
  width: 100%;
  padding: 15px 12px;
  text-align: left;
  min-height: 48px;
}
.copy code {
  font:
    12px/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1;
}
.copy .tap {
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
}
.big {
  font-size: 26px;
  letter-spacing: -1px;
}
.note {
  font-size: 11px;
  color: var(--muted);
  font-style: normal;
  margin-top: 12px;
  line-height: 1.7;
}
.warn {
  color: #855117;
  background: #f6ead0;
  border-left: 2px solid #bf872b;
  padding: 13px;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 16px;
}
.err {
  color: var(--bad);
  font-size: 12px;
}
.fine-print {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
  margin-top: 22px;
  padding: 0 15px;
}
#ttl {
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink);
}
.wallet-balance {
  background: #2d3029;
  color: #fcfaf0;
  border-radius: 6px;
  padding: 23px;
  margin: 8px 0 22px;
}
.wallet-balance > .eyebrow {
  color: #b9bbab;
  font-size: 9px;
}
.wallet-amount {
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -3px;
  line-height: 1.2;
  margin: 16px 0 26px;
  font-variant-numeric: tabular-nums;
}
.wallet-amount > span {
  font-size: 14px;
  letter-spacing: 0;
  color: #b9bbab;
  margin-left: 10px;
}
.wallet-owner {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #b9bbab;
}
.wallet-owner > span {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
  padding-top: 8px;
  border-top: 1px solid #515348;
}
.wallet-actions .btn {
  background: #ecebd9;
  color: #272920;
  font-size: 12px;
}
.wallet-actions .btn .ui-icon {
  filter: none;
}
.wallet-actions .btn.ghost {
  background: transparent;
  border-color: #5b5d50;
  color: #eeedde;
}
.wallet-actions .btn.ghost .ui-icon {
  filter: invert(1);
}
.rate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e8e9df;
  padding: 20px;
  border-radius: 5px;
}
.rate-grid > div + div {
  border-left: 1px solid #cccec0;
  padding-left: 20px;
}
.rate-grid span {
  display: block;
  font-size: 10px;
  color: #6c6f60;
}
.rate-grid b {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-top: 6px;
}
.rate-grid small {
  font-size: 17px;
  color: #8e9180;
}
.transaction-icon {
  background: #e7e8dd;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.transaction-icon .ui-icon {
  width: 19px;
  height: 19px;
}
.active-orders {
  margin: 12px 0 20px;
}
.active-order {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 12px;
  border: 1px solid #d5b895;
  background: #f6ead5;
  border-radius: 5px;
  width: 100%;
  text-align: left;
  margin-bottom: 6px;
}
.active-order > span {
  flex: 1;
}
.active-order b {
  display: block;
  font-size: 11px;
}
.active-order small {
  display: block;
  font-size: 10px;
  color: #8a6842;
  margin-top: 3px;
}
.active-order > .ui-icon:last-child {
  width: 14px;
}
.profile-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0 25px;
}
.profile-avatar {
  width: 48px;
  height: 48px;
  background: #dce0cf;
  color: #51583f;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 700;
}
.profile-line > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.profile-line b {
  display: block;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.profile-line small {
  color: var(--muted);
  font-size: 11px;
}
.profile-line > .ui-icon {
  width: 26px;
  height: 26px;
  opacity: 0.4;
}
.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.collection-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  background: #e7e8de;
  border: 0;
  border-radius: 5px;
  text-align: left;
}
.collection-item:nth-child(2) {
  background: #e9e0d2;
}
.collection-item > .emo {
  width: 35px;
  height: 35px;
  margin-bottom: 16px;
}
.collection-item b {
  font-size: 35px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -1px;
}
.collection-item > span {
  font-size: 11px;
  margin-top: 8px;
}
.collection-item > .ui-icon {
  position: absolute;
  right: 14px;
  top: 17px;
  width: 17px;
  height: 17px;
}
.checkout-progress {
  display: flex;
  gap: 25px;
  font-size: 10px;
  color: var(--muted);
  padding: 6px 0 22px;
}
.checkout-progress .current {
  color: var(--accent-ink);
  font-weight: 700;
}
.checkout-product {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 25px;
}
.checkout-product > span {
  height: 64px;
  width: 64px;
  flex-shrink: 0;
  background: #e9e6da;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.checkout-product .emo {
  width: 44px;
  height: 44px;
}
.checkout-product h1 {
  font-size: 23px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.checkout-product .eyebrow {
  font-size: 8px;
}
.payment-card .section-heading {
  margin: 0 0 18px;
}
.payment-card h2 {
  font-size: 14px;
}
.screen-checkout > .card:first-of-type > .kv:first-child b {
  font-size: 25px;
  letter-spacing: -1px;
}
.done {
  padding: 50px 12px 30px;
  text-align: center;
}
.mark {
  margin: 0 auto 30px;
  background: #e0e6d6;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.mark .ui-icon {
  width: 48px;
  height: 48px;
  opacity: 0.8;
}
.mark.neutral {
  background: #e8e3d7;
}
.done h1 {
  margin: 13px 0;
}
.done > p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.demo-invoice {
  border-top: 1px dashed #bbae93;
  margin-top: 25px;
  padding: 18px 0;
  text-align: center;
}
.demo-invoice > p {
  font-size: 11px;
  color: #7c694e;
}
.demo-invoice .btn {
  background: #e6dcc4;
  color: #594c35;
}
.demo-invoice .text-button {
  font-size: 10px;
}
.boot {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 65dvh;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.toast {
  position: fixed;
  z-index: 20;
  bottom: calc(95px + var(--safe-bottom));
  left: 50%;
  transform: translate(-50%, 12px);
  background: #292c25;
  color: #faf8ed;
  border-radius: 6px;
  padding: 13px 18px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  max-width: min(90vw, 420px);
  width: max-content;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s,
    transform 0.18s;
  box-shadow: 0 5px 20px #0002;
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes arrive {
  from {
    opacity: 0.5;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (hover: hover) {
  .item:hover,
  .service-row:hover {
    background: #ecece2;
  }
  .star-pack:hover {
    border-color: #ca6b45;
    background: #fcf2e6;
  }
  .editorial:hover .editorial-art {
    transform: translateY(-3px);
  }
  .text-button:hover {
    color: var(--accent-ink);
  }
}
@media (min-width: 600px) {
  body {
    background: #e7e8df;
  }
  #app {
    border-inline: 1px solid #d9dacf;
    box-shadow: 0 0 80px #30362108;
  }
  .bottom-nav {
    border-inline: 1px solid #d9dacf;
  }
  .screen {
    padding-inline: 26px;
  }
  .app-header {
    padding-inline: 26px;
  }
  .intro h1 {
    font-size: 40px;
  }
  .stars-feature {
    min-height: 230px;
  }
  .feature-title {
    font-size: 26px;
  }
  .feature-art {
    width: 130px;
    height: 130px;
  }
  .editorial {
    min-height: 230px;
  }
  .editorial-art {
    height: 112px;
  }
  .editorial-art .emo {
    width: 90px;
    height: 90px;
  }
  .product-heading {
    margin-inline: -26px;
    padding-inline: 26px;
  }
}
@media (max-width: 359px) {
  .screen {
    padding-inline: 16px;
  }
  .app-header {
    padding-inline: 16px;
  }
  .demo-strip {
    padding-inline: 16px;
    font-size: 9px;
  }
  .wordmark {
    font-size: 25px;
  }
  .balance-pill {
    font-size: 11px;
    padding: 7px 10px;
  }
  .intro h1 {
    font-size: 31px;
  }
  .feature-title {
    font-size: 20px;
    max-width: 70%;
  }
  .feature-art {
    width: 94px;
    height: 94px;
    right: -3px;
  }
  .stars-feature {
    padding: 16px;
    min-height: 208px;
  }
  .feature-cta {
    font-size: 10px;
    padding: 9px;
  }
  .feature-rate {
    font-size: 9px;
  }
  .editorial {
    padding: 13px;
    min-height: 201px;
  }
  .editorial .label {
    font-size: 7px;
  }
  .editorial strong {
    font-size: 20px;
  }
  .editorial-art {
    height: 91px;
  }
  .editorial-art .emo {
    width: 72px;
    height: 72px;
  }
  .service-meta {
    font-size: 8px;
  }
  .service-text b {
    font-size: 11px;
  }
  .service-text small {
    font-size: 9px;
  }
  .service-row {
    gap: 8px;
  }
  .service-icon {
    width: 34px;
    height: 34px;
  }
  .section-heading > span {
    font-size: 7px;
  }
  .product-heading {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .product-heading h1 {
    font-size: 27px;
    max-width: 72%;
  }
  .product-art {
    right: 0;
  }
  .product-art .emo {
    width: 87px;
    height: 87px;
  }
  .premium-plan {
    gap: 8px;
  }
  .plan-info > b {
    font-size: 11px;
  }
  .plan-info > span {
    font-size: 9px;
  }
  .plan-period {
    width: 43px;
  }
  .premium-plan > .ui-icon {
    display: none;
  }
  .card {
    padding: 15px;
  }
  .chip {
    padding: 10px 8px;
    font-size: 10px;
  }
  .wallet-amount {
    font-size: 45px;
  }
  .header-label {
    font-size: 9px;
  }
  .item .price {
    font-size: 12px;
  }
  .screen-checkout h1 {
    font-size: 21px;
  }
}
/* Second visual pass: legibility, stable transitions, narrow WebViews. */
:root {
  --muted: #686b60;
  --safe-top: max(env(safe-area-inset-top, 0px), var(--app-safe-top, 0px));
  --safe-bottom: max(
    env(safe-area-inset-bottom, 0px),
    var(--app-safe-bottom, 0px)
  );
}
html {
  scroll-behavior: auto;
}
.screen {
  animation: arrive 0.18s ease-out;
}
.intro {
  padding-bottom: 23px;
}
.intro h1 {
  margin-top: 13px;
}
.stars-feature {
  min-height: 210px;
}
.feature-title {
  font-size: 25px;
  max-width: 73%;
  margin: 24px 0 28px;
  letter-spacing: -1px;
}
.feature-art {
  top: 50px;
  right: -5px;
  width: 110px;
  height: 110px;
}
.feature-bottom {
  gap: 6px;
}
.feature-rate {
  font-size: 10px;
}
.editorial {
  min-height: 210px;
}
.editorial strong {
  margin-top: 3px;
}
.editorial-art {
  height: 96px;
}
.balance-pill {
  min-height: 44px;
}
.demo-strip {
  min-height: 36px;
}
.nav-item {
  font-size: 10px;
}
.intro-note {
  font-size: 13px;
}
.service-text b {
  font-size: 13px;
}
.service-text small {
  font-size: 11px;
}
.service-meta {
  font-size: 10px;
}
.service-icon > .ui-icon {
  width: 24px;
  height: 24px;
  opacity: 0.75;
}
.product-art > .ui-icon {
  width: 82px;
  height: 82px;
  opacity: 0.65;
}
.product-heading p {
  max-width: 75%;
  font-size: 13px;
}
.product-heading h1 {
  max-width: 74%;
  letter-spacing: -1.2px;
}
.product-tg h1 {
  max-width: 74%;
}
.product-sms h1 {
  max-width: 69%;
}
.collection-item > .ui-icon:first-child {
  position: static;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  opacity: 0.8;
}
.item .note {
  font-size: 11px;
}
.item .name {
  font-size: 14px;
}
.nft-list .name {
  font-size: 18px;
}
.item .name > .ui-icon {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}
.fine-print {
  font-size: 11px;
}
.delivery-note {
  font-size: 12px;
}
.fld {
  font-size: 12px;
}
.card .kv {
  font-size: 13px;
}
.lead {
  font-size: 13px;
}
.note,
.warn {
  font-size: 12px;
}
.plan-info > b {
  font-size: 13px;
}
.plan-info > span {
  font-size: 11px;
}
.benefit-line {
  font-size: 10px;
}
.gift-product .name {
  font-size: 13px;
}
.rate-grid span {
  font-size: 11px;
}
.checkout-progress {
  font-size: 11px;
}
.checkout-product h1 {
  line-height: 1.25;
}
.checkout-product .ui-icon {
  width: 36px;
  height: 36px;
}
.payment-card .section-heading {
  margin-bottom: 14px;
}
.payment-card h2 {
  font-size: 16px;
}
.screen-checkout .card:first-of-type .kv:first-child b {
  font-size: 25px;
}
.screen-invoice .big {
  font-size: 24px;
  line-height: 1.3;
}
.screen-invoice .kv:first-child {
  align-items: center;
}
.screen-invoice .kv:first-child b {
  max-width: 72%;
  overflow-wrap: anywhere;
}
.btn[aria-busy="true"]::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.screen-swapForm #swapAmount,
.screen-depAmount #depAmount {
  font-size: 32px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  font-weight: 600;
  letter-spacing: -1px;
}
.screen-swapConfirm .card,
.screen-histcard .card {
  border-top: 3px solid #2d3029;
  border-bottom-style: dashed;
}
.screen-numcard .big {
  font-size: 32px;
  letter-spacing: 3px;
}
.screen-swapForm .kv:last-of-type b {
  font-size: 17px;
}
.screen-swap > .item {
  min-height: 105px;
}
.screen-swap > .item .price {
  font-size: 18px;
}
.screen-deposit .item {
  min-height: 83px;
}
@keyframes arrive {
  from {
    transform: translateY(4px);
  }
  to {
    transform: translateY(0);
  }
}
@media (max-width: 359px) {
  .feature-title {
    font-size: 22px;
    max-width: 75%;
    letter-spacing: -0.7px;
  }
  .feature-art {
    width: 92px;
    height: 92px;
    right: -9px;
    top: 61px;
  }
  .feature-cta {
    gap: 6px;
    font-size: 10px;
  }
  .feature-rate {
    font-size: 9px;
  }
  .service-text b {
    font-size: 12px;
  }
  .service-text small {
    font-size: 10px;
  }
  .service-meta {
    font-size: 9px;
  }
  .item .name {
    font-size: 13px;
  }
  .product-heading h1 {
    font-size: 26px;
  }
  .product-heading p {
    font-size: 12px;
  }
  .product-art > .ui-icon {
    width: 70px;
    height: 70px;
  }
  .card .kv {
    font-size: 12px;
  }
  .plan-info > b {
    font-size: 12px;
  }
  .plan-info > span {
    font-size: 10px;
  }
  .screen-invoice .big {
    font-size: 21px;
  }
  .copy {
    gap: 7px;
    padding-inline: 9px;
  }
  .copy .tap {
    font-size: 9px;
  }
  .checkout-product h1 {
    font-size: 21px;
  }
  .screen-swap > .item .price {
    font-size: 16px;
  }
}
.demo-strip {
  min-height: 44px;
}
.screen,
.app-header {
  padding-left: max(
    22px,
    env(safe-area-inset-left, 0px),
    var(--app-safe-left, 0px)
  );
  padding-right: max(
    22px,
    env(safe-area-inset-right, 0px),
    var(--app-safe-right, 0px)
  );
}
@media (max-width: 359px) {
  .screen,
  .app-header {
    padding-left: max(16px, var(--app-safe-left, 0px));
    padding-right: max(16px, var(--app-safe-right, 0px));
  }
}
@media (min-width: 600px) {
  .screen,
  .app-header {
    padding-inline: 26px;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .app-header {
    height: 62px;
  }
  .bottom-nav {
    padding-top: 5px;
    padding-bottom: calc(5px + var(--safe-bottom));
  }
  .screen {
    padding-bottom: 90px;
  }
  .product-heading {
    min-height: 160px;
  }
  .done {
    padding-top: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  button:active:not(:disabled) {
    transform: none;
  }
}
