:root {
  --page: #000912;
  --panel: #19231d;
  --panel-soft: #223026;
  --field: #333333;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #d7fe51;
  --blue: #2699fb;
  --danger: #ff5570;
  --gold: #ffd166;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

input,
select {
  outline: 0;
}

.hidden {
  display: none !important;
}

.phone-page {
  width: min(100vw, 500px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(215, 254, 81, 0.14), transparent 34%),
    linear-gradient(180deg, #000912 0%, #111712 100%);
}

.auth-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px 76px;
}

.lang-btn {
  position: absolute;
  top: 28px;
  right: 24px;
  width: 44px;
  height: 34px;
  border-radius: 17px;
  color: #111;
  background: var(--accent);
  font-weight: 800;
}

.auth-wrap {
  width: 100%;
}

.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 42px;
}

.logo-mark {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #101114;
  font-size: 34px;
  font-weight: 950;
  box-shadow: 0 18px 50px rgba(215, 254, 81, 0.18);
}

.logo-word {
  font-size: 32px;
  font-weight: 850;
}

.auth-card {
  padding: 22px 0 0;
}

.auth-card h1 {
  margin: 0 0 26px;
  font-size: 34px;
  line-height: 1.1;
  text-align: center;
  font-weight: 850;
}

.stack-form {
  display: grid;
  gap: 18px;
}

.input-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  border-radius: 6px;
  padding: 0 14px;
  background: #ffffff;
  color: #111;
}

.input-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.input-row input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #111;
  min-width: 0;
}

.main-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  margin-top: 18px;
  color: #111;
  background: var(--accent);
  font-weight: 900;
  font-size: 17px;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.auth-links.single {
  justify-content: center;
}

.auth-links button {
  background: transparent;
  color: var(--accent);
  padding: 8px 0;
}

.toast-line {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--accent);
  text-align: center;
}

.auth-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
}

.app-screen {
  padding-bottom: 72px;
  background: #142017;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 60px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  padding: 0 12px;
  background: #111;
  border-bottom: 1px solid rgba(215, 254, 81, 0.08);
}

.icon-btn,
.service-btn {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  color: #fff;
}

.icon-btn {
  font-size: 34px;
  line-height: 1;
  justify-self: start;
}

.service-btn {
  justify-self: end;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
}

.support-svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(215, 254, 81, .22));
}

.support-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-block;
}

.support-icon:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 18px;
  border-radius: 13px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(215, 254, 81, .24);
}

.support-icon:after {
  content: "";
  position: absolute;
  left: 9px;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #111;
  box-shadow:
    6px 0 0 #111,
    12px 0 0 #111,
    8px 10px 0 1px var(--accent);
}

.top-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  font-size: 28px;
  font-weight: 850;
}

.top-brand-mark {
  width: 31px;
  height: 24px;
  display: grid;
  place-items: center;
  clip-path: polygon(0 100%, 36% 0, 74% 0, 100% 100%, 69% 100%, 56% 68%, 32% 68%, 22% 100%);
  background: var(--accent);
  color: transparent;
}

.app-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.content {
  padding: 0 0 28px;
}

.landing-hero {
  min-height: calc(100vh - 160px);
  margin: -18px -18px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 58px 22px 94px;
  background: #141712;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.42) 54%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(circle at 78% 24%, rgba(215, 254, 81, 0.42), transparent 24%),
    radial-gradient(circle at 22% 76%, rgba(38, 153, 251, 0.32), transparent 28%),
    linear-gradient(135deg, #243122 0%, #101712 42%, #1f2925 100%);
}

.hero-media .compute-scene {
  position: absolute;
  right: -80px;
  top: 74px;
  width: 330px;
  height: 330px;
  opacity: .9;
  filter: drop-shadow(0 0 32px rgba(215, 254, 81, .2));
  animation: sceneFloat 8s ease-in-out infinite;
}

.grid-plane {
  position: absolute;
  inset: 58px 12px 8px;
  transform: perspective(420px) rotateX(64deg) rotateZ(-22deg);
  background:
    linear-gradient(rgba(215, 254, 81, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 153, 251, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle, #000 0 46%, transparent 72%);
  animation: gridDrift 9s linear infinite;
}

.core-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(215, 254, 81, .55);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
  box-shadow: inset 0 0 28px rgba(215, 254, 81, .08), 0 0 30px rgba(215, 254, 81, .12);
}

.orbit-a {
  animation: orbitSpin 11s linear infinite;
}

.orbit-b {
  width: 286px;
  height: 144px;
  border-color: rgba(38, 153, 251, .55);
  transform: translate(-50%, -50%) rotate(-24deg) rotateX(70deg);
  animation: orbitSpinReverse 15s linear infinite;
}

.compute-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(215, 254, 81, .98), rgba(38, 153, 251, .82));
  color: #08110c;
  font-size: 34px;
  font-weight: 950;
  transform: translate(-50%, -50%) rotate(-10deg);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .46), 0 0 40px rgba(215, 254, 81, .35);
  animation: corePulse 3.8s ease-in-out infinite;
}

.compute-core span {
  animation: coreCounter 8s ease-in-out infinite;
}

.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(215, 254, 81, .9);
}

.n1 { left: 58px; top: 76px; animation: nodeBlink 2.6s ease-in-out infinite; }
.n2 { right: 52px; top: 112px; animation: nodeBlink 3.2s ease-in-out infinite .3s; }
.n3 { left: 96px; bottom: 46px; background: var(--blue); box-shadow: 0 0 18px rgba(38, 153, 251, .9); animation: nodeBlink 2.9s ease-in-out infinite .7s; }
.n4 { right: 108px; bottom: 72px; animation: nodeBlink 3.6s ease-in-out infinite 1s; }

.scan-line {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(215, 254, 81, .95), transparent);
  opacity: .82;
  animation: scanDrop 4.2s linear infinite;
}

.hero-media:before,
.hero-media:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(215, 254, 81, 0.18);
  transform: rotate(35deg);
}

.hero-media:before {
  right: -210px;
  top: 44px;
}

.hero-media:after {
  left: -240px;
  bottom: -20px;
}

@keyframes sceneFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10px, 14px, 0) scale(1.03); }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 44px 44px, 44px 44px; }
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(0); }
  to { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: translate(-50%, -50%) rotate(-24deg) rotateX(70deg) rotateZ(360deg); }
  to { transform: translate(-50%, -50%) rotate(-24deg) rotateX(70deg) rotateZ(0); }
}

@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) rotate(-10deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(-5deg) scale(1.07); }
}

@keyframes coreCounter {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(8deg); }
}

@keyframes nodeBlink {
  0%, 100% { opacity: .35; transform: scale(.74); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes scanDrop {
  from { transform: translateY(38px); opacity: 0; }
  18% { opacity: .9; }
  82% { opacity: .9; }
  to { transform: translateY(286px); opacity: 0; }
}

.landing-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.landing-copy h2 {
  margin: 0;
  font-size: clamp(42px, 13vw, 64px);
  line-height: 0.94;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  max-width: 430px;
}

.landing-copy p {
  margin: 0;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.shape-btn {
  width: 183px;
  height: 53px;
  background: var(--accent);
  color: #111;
  font-weight: 850;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.shape-btn.dark {
  background: #111;
  color: #fff;
}

.logo-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 74px;
  display: flex;
  align-items: center;
  overflow: hidden;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.34);
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 42px;
  animation: marquee 70s linear infinite;
}

.logo-track img {
  flex: 0 0 auto;
  width: auto;
  max-width: 158px;
  max-height: 42px;
  object-fit: contain;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stat-band {
  margin: 0 -18px;
  padding: 28px 22px;
  display: grid;
  gap: 22px;
  background: var(--accent);
  color: #111;
}

.stat-band div {
  display: grid;
  gap: 8px;
}

.stat-band strong {
  font-size: 44px;
  line-height: 1;
}

.stat-band span {
  max-width: 260px;
  color: rgba(0, 0, 0, 0.7);
}

.story-section {
  margin: 0 -18px;
  padding: 58px 22px;
  display: grid;
  gap: 24px;
  background: #101712;
}

.story-section.reverse {
  background: #1f2925;
}

.story-section small {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.story-section h3,
.resource-grid h3,
.cta-band h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
  font-weight: 760;
}

.story-section p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.orb-cube {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: #111;
  background:
    linear-gradient(135deg, rgba(215, 254, 81, 0.95), rgba(38, 153, 251, 0.72));
  font-size: 56px;
  font-weight: 950;
  transform: rotate(-8deg);
  animation: cubeFloat 7s ease-in-out infinite;
  overflow: hidden;
}

.orb-cube:before,
.orb-cube:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 0, 0, .28);
  border-radius: 22px;
  animation: cubeRing 8s linear infinite;
}

.orb-cube:after {
  inset: 42px;
  border-color: rgba(255, 255, 255, .35);
  animation-duration: 5s;
  animation-direction: reverse;
}

.orb-cube.blue {
  background:
    linear-gradient(135deg, rgba(38, 153, 251, 0.95), rgba(215, 254, 81, 0.72));
  transform: rotate(8deg);
  animation-delay: -2.4s;
}

@keyframes cubeFloat {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

@keyframes cubeRing {
  from { transform: rotate(0) scale(.94); }
  50% { transform: rotate(180deg) scale(1.08); }
  to { transform: rotate(360deg) scale(.94); }
}

.resource-grid {
  margin: 0 -18px;
  padding: 58px 22px;
  display: grid;
  gap: 14px;
  background: #141712;
}

.resource-grid h3 {
  margin-bottom: 16px;
}

.resource-grid button {
  min-height: 116px;
  position: relative;
  text-align: left;
  color: #fff;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.resource-grid button:after {
  content: "↗";
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--accent);
}

.resource-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
}

.resource-grid strong {
  display: block;
  max-width: 250px;
  font-size: 20px;
  line-height: 1.25;
}

.cta-band {
  margin: 0 -18px -28px;
  min-height: 330px;
  display: grid;
  place-items: center;
  gap: 28px;
  padding: 54px 22px;
  text-align: center;
  background: var(--accent);
  color: #102016;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 12px;
}

.section-title h3 {
  margin: 0;
  font-size: 18px;
}

.link-btn {
  color: var(--accent);
  background: transparent;
}

.dark-card {
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.balance-card {
  display: grid;
  gap: 16px;
}

.balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.balance-row .label {
  color: var(--muted);
}

.balance-row .value {
  color: var(--accent);
  font-weight: 850;
  text-align: right;
}

.start-wallet-panel {
  margin: 34px 17px 0;
  padding: 34px 17px 18px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 6px;
}

.money-box {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 18px;
  background: var(--accent);
  color: #111;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.money-box:last-child {
  margin-bottom: 0;
}

.money-box strong,
.money-box span,
.money-box b,
.money-box small {
  display: block;
}

.money-box strong {
  font-size: 21px;
  font-weight: 900;
}

.money-box span {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 850;
}

.money-box b {
  min-width: 58px;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  text-align: right;
}

.money-box small {
  margin-top: 3px;
  font-size: 17px;
  font-weight: 850;
}

.start-action-wrap {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.start-button {
  width: 235px;
  min-height: 67px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: 0;
}

.start-button span {
  font-size: 17px;
}

.start-button b {
  font-size: 25px;
  font-weight: 850;
}

.brand-scroll {
  display: grid;
  gap: 12px;
  margin-top: 62px;
  overflow: hidden;
}

.brand-row {
  display: flex;
  gap: 12px;
  animation: moveRow 86s linear infinite;
}

.brand-row:nth-child(even) {
  animation-direction: reverse;
}

.brand-row:nth-child(3) {
  animation-duration: 96s;
}

.brand-row:nth-child(4) {
  animation-duration: 78s;
}

.brand-pill {
  flex: 0 0 auto;
  width: auto;
  height: 57px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand-pill img {
  display: block;
  width: auto;
  height: 57px;
  max-width: none;
  object-fit: contain;
}

@keyframes moveRow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.note-list {
  display: grid;
  gap: 10px;
  margin: 42px 17px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.note-list div:first-child {
  color: rgba(255, 255, 255, 0.72);
}

.order-list {
  display: grid;
  gap: 14px;
}

.order-card {
  position: relative;
  border-radius: 8px;
  padding: 16px;
  background: #f5f7f1;
  color: #111;
}

.order-card h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.order-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.order-metrics div {
  text-align: center;
  font-size: 12px;
}

.order-metrics strong {
  display: block;
  margin-top: 4px;
  color: #ff492c;
}

.status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}

.status.pending {
  background: rgba(255, 209, 102, 0.24);
  color: #9b6800;
}

.status.completed,
.status.approved {
  background: rgba(84, 214, 138, 0.18);
  color: #078a42;
}

.status.rejected {
  background: rgba(255, 85, 112, 0.18);
  color: #cb2c44;
}

.mini-btn {
  min-height: 34px;
  border-radius: 17px;
  padding: 0 13px;
  color: #111;
  background: var(--accent);
  font-weight: 850;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.tabs button {
  min-height: 42px;
  border-radius: 21px;
  background: var(--panel);
  color: #fff;
}

.tabs button.active {
  background: var(--accent);
  color: #111;
  font-weight: 850;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.amount-btn {
  min-height: 58px;
  border-radius: 8px;
  color: #111;
  background: #fff;
  font-weight: 850;
}

.form-card {
  display: grid;
  gap: 14px;
}

.form-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.form-card input,
.form-card select {
  min-height: 50px;
  border-radius: 6px;
  border: 0;
  padding: 0 14px;
  background: var(--field);
  color: #fff;
}

.record-list {
  display: grid;
  gap: 12px;
}

.record-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.profile-hero {
  position: relative;
  margin: 0 -18px;
  padding: 22px 20px 18px;
  display: grid;
  justify-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 254, 81, .18), transparent 42%),
    linear-gradient(180deg, #132016 0%, #0f1712 100%);
}

.profile-hero:before {
  content: "";
  position: absolute;
  inset: -92px 84px auto;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(215, 254, 81, .22);
  animation: profileHalo 8s linear infinite;
}

.profile-avatar {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 22%, transparent 23%),
    radial-gradient(circle at 50% 50%, rgba(215, 254, 81, .18) 0 38%, transparent 39%),
    #111;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .4), 0 0 26px rgba(215, 254, 81, .22);
  animation: avatarPulse 3.6s ease-in-out infinite;
}

.profile-avatar span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d7fe51;
  color: #111;
  font-weight: 950;
  font-size: 18px;
}

.profile-hero h2 {
  position: relative;
  z-index: 1;
  margin: 10px 0 2px;
  font-size: 22px;
}

.profile-code {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 12px;
}

.vip-badge {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  min-height: 34px;
  padding: 5px 13px;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(215, 254, 81, .35);
}

.vip-badge span {
  color: var(--accent);
  font-weight: 950;
}

.vip-badge b {
  font-size: 11px;
  color: rgba(255, 255, 255, .78);
}

.profile-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.profile-balance-grid button {
  min-height: 104px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  text-align: left;
  background: var(--accent);
  color: #111;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.profile-balance-grid button:nth-child(2) {
  background: #fff;
}

.profile-balance-grid small,
.profile-balance-grid span {
  font-weight: 850;
}

.profile-balance-grid strong {
  font-size: 16px;
  line-height: 1.1;
  word-break: break-word;
}

.profile-balance-grid span {
  justify-self: start;
  min-height: 25px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
}

.profile-stats,
.profile-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.profile-stats div {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
}

.profile-stats strong,
.profile-stats span {
  display: block;
}

.profile-stats strong {
  color: var(--accent);
  font-size: 19px;
}

.profile-stats span {
  color: var(--muted);
  font-size: 12px;
}

.profile-menu-grid {
  grid-template-columns: repeat(4, 1fr);
}

.profile-menu-grid button {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 6px;
  border-radius: 12px;
  background: #1c251e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
}

.profile-menu-grid b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(215, 254, 81, .13);
  color: var(--accent);
  font-size: 16px;
}

.profile-menu-grid b .support-svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.7;
}

.profile-menu-grid b .support-icon {
  width: 23px;
  height: 23px;
}

.profile-menu-grid b .support-icon:before {
  left: 2px;
  top: 3px;
  width: 19px;
  height: 15px;
}

.profile-menu-grid b .support-icon:after {
  left: 7px;
  top: 10px;
  width: 3px;
  height: 3px;
  box-shadow:
    5px 0 0 #111,
    10px 0 0 #111,
    7px 8px 0 1px var(--accent);
}

.profile-menu-grid span {
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
}

.profile-list {
  margin-top: 14px;
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.profile-item {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.profile-item:last-child {
  border-bottom: 0;
}

.logout-row {
  width: 100%;
  background: transparent;
  color: #ff8b76;
  justify-content: center;
  font-weight: 850;
}

@keyframes profileHalo {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

@keyframes avatarPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  transform: translateX(-50%);
  width: min(100vw, 500px);
  height: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.tabbar button {
  position: relative;
  background: transparent;
  color: #1a1d18;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 700;
  transition: color .18s ease, transform .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.tabbar button span {
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  font-size: 20px;
  line-height: 1;
  transition: color .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.tabbar button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .18s ease;
}

.tabbar button:active {
  transform: translateY(2px) scale(.98);
}

.tabbar button.active {
  color: #111;
  transform: translateY(-5px);
}

.tabbar button.active span {
  color: var(--accent);
  background: #111;
  transform: scale(1.08);
  text-shadow: 0 0 10px rgba(215, 254, 81, 0.55);
  box-shadow: 0 8px 18px rgba(17, 17, 17, .16);
}

.tabbar button.active::after {
  width: 28px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.62);
}

.modal-card {
  width: min(456px, 100%);
  max-height: 88vh;
  overflow: auto;
  position: relative;
  border-radius: 18px;
  background: #141814;
  border: 1px solid var(--line);
  padding: 22px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
}

.rating {
  display: flex;
  justify-content: center;
  gap: 5px;
  color: var(--accent);
  font-size: 28px;
  margin: 14px 0;
}

.comment-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.comment-option {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.comment-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.lucky-wheel-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  color: #fff;
}

.lucky-wheel-title span,
.lucky-wheel-title strong {
  display: block;
}

.lucky-wheel-title span {
  color: var(--accent);
  font-size: 34px;
  font-weight: 950;
  text-shadow: 0 0 18px rgba(215, 254, 81, .6);
}

.lucky-wheel-title strong {
  margin-top: 6px;
  font-size: 24px;
}

.lucky-wheel-wrap {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.lucky-wheel-wrap.spinning .lucky-wheel {
  animation: luckySpin .9s cubic-bezier(.18, .75, .3, 1) infinite;
}

.lucky-wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #111 0 18%, transparent 19%),
    conic-gradient(
      #d7fe51 0 45deg,
      #111820 45deg 90deg,
      #56e28a 90deg 135deg,
      #202124 135deg 180deg,
      #d7fe51 180deg 225deg,
      #111820 225deg 270deg,
      #56e28a 270deg 315deg,
      #202124 315deg 360deg
    );
  border: 10px solid #f6ffca;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35), 0 0 32px rgba(215, 254, 81, .32);
}

.lucky-wheel span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 30px;
  transform-origin: 0 50%;
  transform: rotate(var(--angle)) translateX(38px);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

.lucky-wheel span b {
  display: inline-block;
  transform: rotate(calc(-1 * var(--angle)));
}

.lucky-wheel span.active b {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  box-shadow: 0 0 16px rgba(215, 254, 81, .9);
}

.lucky-wheel-core {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111318;
  color: var(--accent);
  font-size: 22px;
  font-weight: 950;
  box-shadow: inset 0 0 0 7px rgba(215, 254, 81, .9), 0 8px 22px rgba(0, 0, 0, .35);
}

.lucky-pointer {
  position: absolute;
  z-index: 3;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 30px solid #fff;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
}

.lucky-wheel-card p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}

.lucky-wheel-card small {
  color: rgba(215, 254, 81, .82);
}

.lucky-wheel-card.won .lucky-wheel-title strong {
  color: #fff;
  text-shadow: 0 0 18px rgba(215, 254, 81, .45);
}

@keyframes luckySpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(720deg); }
}

.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
}

@media (min-width: 501px) {
  body {
    background: #f6f6f3;
  }

  .phone-page {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}

/* IoTeX-inspired light interface refresh */
:root {
  --page: #f7f7f2;
  --panel: #ffffff;
  --panel-soft: #f1f2ee;
  --field: #f2f3ee;
  --text: #202124;
  --muted: rgba(32, 33, 36, .58);
  --line: rgba(32, 33, 36, .1);
  --accent: #bfff32;
  --blue: #3b82f6;
  --danger: #e25555;
  --gold: #a67c00;
}

html,
body {
  background: #f6f6f3;
  color: var(--text);
}

.phone-page {
  background:
    radial-gradient(circle at 90% 12%, rgba(191, 255, 50, .22), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f3 100%);
}

.auth-screen {
  background: #fff;
}

.logo-mark,
.lang-btn,
.main-btn,
.shape-btn,
.money-box,
.cta-band,
.profile-balance-grid button:first-child {
  background: var(--accent);
  color: #151713;
}

.logo-word,
.auth-card h1,
.landing-copy h2,
.story-section h3,
.resource-grid h3,
.cta-band h3 {
  color: #26272a;
}

.auth-footer,
.landing-copy p,
.story-section p,
.profile-code,
.profile-stats span,
.profile-menu-grid span,
.profile-list .profile-item span {
  color: var(--muted);
}

.input-row,
.form-card input,
.form-card select {
  background: #f0f1ed;
  color: #171817;
  border: 1px solid rgba(0, 0, 0, .06);
}

.input-icon {
  background: #171817;
  color: var(--accent);
}

.app-screen {
  background: #f6f6f3;
}

.app-header {
  background: rgba(255, 255, 255, .86);
  color: #161716;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: blur(18px);
}

.icon-btn,
.service-btn,
.top-brand,
.top-brand span {
  color: #161716;
}

.top-brand-mark {
  background: #171817;
  color: var(--accent);
}

.cube-logo {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  border-radius: 6px;
  background: transparent;
  transform: rotate(45deg);
}

.cube-logo i {
  display: block;
  border-radius: 1px;
  background: #222;
}

.cube-logo i:nth-child(1),
.cube-logo i:nth-child(3),
.cube-logo i:nth-child(5) {
  background: #757575;
}

.cube-logo i:nth-child(2),
.cube-logo i:nth-child(4) {
  background: #444;
}

.cube-logo i:nth-child(6) {
  background: var(--accent);
}

.support-svg {
  stroke: #171817;
  filter: none;
}

.content {
  padding: 0 18px 28px;
}

.landing-hero {
  min-height: calc(100vh - 132px);
  margin: -18px -18px 0;
  padding: 78px 22px 100px;
  background: #ffffff;
}

.hero-media {
  background:
    radial-gradient(circle at 80% 18%, rgba(191, 255, 50, .35), transparent 25%),
    radial-gradient(circle at 20% 76%, rgba(0, 0, 0, .06), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f4 100%);
}

.hero-media:before,
.hero-media:after {
  border-color: rgba(0, 0, 0, .08);
}

.hero-media .compute-scene {
  opacity: .58;
  filter: none;
}

.core-orbit {
  border-color: rgba(0, 0, 0, .22);
  box-shadow: none;
}

.orbit-b {
  border-color: rgba(191, 255, 50, .9);
}

.grid-plane {
  background:
    linear-gradient(rgba(0, 0, 0, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .08) 1px, transparent 1px);
}

.compute-core {
  background: #171817;
  color: var(--accent);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .2);
}

.landing-copy {
  max-width: 430px;
}

.landing-copy h2 {
  font-size: clamp(48px, 14vw, 72px);
  line-height: .94;
  letter-spacing: -.02em;
  font-weight: 760;
}

.landing-copy h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.shape-btn {
  width: 166px;
  height: 54px;
  border-radius: 18px;
  clip-path: none;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .08);
}

.logo-marquee {
  background: rgba(255, 255, 255, .72);
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.stat-band {
  margin: 0 -18px;
  background: #171817;
  color: #fff;
}

.stat-band span {
  color: rgba(255, 255, 255, .62);
}

.story-section,
.story-section.reverse,
.resource-grid,
.profile-list,
.dark-card,
.form-card,
.order-card,
.record-card,
.profile-menu-grid button,
.profile-stats div {
  background: rgba(242, 242, 247, .72);
  color: #202124;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: none;
}

.story-section,
.story-section.reverse,
.resource-grid {
  margin: 0 -18px;
}

.story-section small {
  color: #5b5d58;
}

.orb-cube {
  background: #171817;
  color: var(--accent);
}

.orb-cube.blue {
  background: var(--accent);
  color: #171817;
}

.resource-grid button {
  background: #fff;
  color: #202124;
  border: 1px solid rgba(0, 0, 0, .06);
}

.resource-grid button span {
  color: #767872;
}

.cta-band {
  color: #171817;
}

.tabs {
  background: #e9ebe5;
}

.tabs button {
  color: #555852;
}

.tabs button.active {
  background: #171817;
  color: #fff;
}

.start-wallet-panel {
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .62);
}

.money-box {
  border-radius: 18px;
  box-shadow: none;
}

.start-button {
  background: #171817;
  color: var(--accent);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
}

.brand-pill img {
  filter: none;
}

.note-list {
  color: var(--muted);
}

.order-card {
  border-radius: 22px;
}

.order-card small {
  color: var(--muted);
}

.order-metrics div {
  background: #fff;
  border-radius: 16px;
  padding: 10px 6px;
}

.mini-btn {
  background: #171817;
  color: var(--accent);
}

.section-title h3 {
  color: #202124;
}

.link-btn {
  color: #171817;
}

.dark-card {
  border-radius: 22px;
}

.balance-row .value {
  color: #171817;
}

.form-card input,
.form-card select {
  background: #fff;
}

.amount-btn {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
}

.record-card {
  border-radius: 18px;
  padding: 14px;
}

.profile-hero {
  background:
    radial-gradient(circle at 50% 0%, rgba(191, 255, 50, .4), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f4f5f0 100%);
}

.profile-hero:before {
  border-color: rgba(0, 0, 0, .1);
}

.profile-avatar {
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 24%, transparent 25%),
    #171817;
}

.profile-hero h2,
.profile-stats strong,
.profile-list .profile-item strong {
  color: #202124;
}

.vip-badge {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(0, 0, 0, .12);
}

.vip-badge span {
  color: #171817;
}

.vip-badge b {
  color: #676a62;
}

.profile-balance-grid button {
  box-shadow: none;
}

.profile-balance-grid button:nth-child(2) {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .06);
}

.profile-balance-grid span,
.profile-menu-grid b {
  background: #171817;
  color: var(--accent);
}

.profile-menu-grid b .support-svg {
  stroke: var(--accent);
}

.logout-row {
  color: #e25555;
}

.tabbar {
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid rgba(0, 0, 0, .08);
  backdrop-filter: blur(18px);
}

.tabbar button {
  color: #202124;
}

.tabbar button.active span {
  color: var(--accent);
  background: #171817;
  box-shadow: none;
  text-shadow: none;
}

.tabbar button::after {
  background: var(--accent);
}

.modal {
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(12px);
}

.modal-card {
  background: #fff;
  color: #202124;
  border: 1px solid rgba(0, 0, 0, .08);
}

.modal-close {
  background: #f0f1ed;
  color: #202124;
}

.comment-option {
  background: #f3f4ef;
  color: #202124;
}

.empty {
  color: var(--muted);
}

/* IoTeX-inspired composition pass */
.app-header {
  height: 58px;
  padding: 0 20px;
  border-bottom: 0;
}

.top-brand {
  justify-content: center;
  gap: 8px;
  font-weight: 760;
}

.top-brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  font-size: 12px;
}

.icon-btn {
  font-size: 24px;
  color: #121312;
}

.service-btn {
  width: 38px;
  height: 38px;
  border-radius: 19px;
  background: #f0f1ed;
}

.service-btn .support-svg {
  width: 23px;
  height: 23px;
}

.landing-hero {
  min-height: calc(100vh - 130px);
  align-items: center;
  justify-content: center;
  padding: 78px 24px 120px;
}

.hero-media {
  background:
    radial-gradient(circle at 50% 34%, rgba(191, 255, 50, .24), transparent 20%),
    radial-gradient(circle at 50% 82%, rgba(0, 0, 0, .045), transparent 34%),
    #fff;
}

.hero-media .compute-scene {
  right: auto;
  left: 50%;
  top: 54%;
  width: 420px;
  height: 420px;
  opacity: .2;
  transform: translate(-50%, -50%);
}

.hero-media:before,
.hero-media:after {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border-color: rgba(0, 0, 0, .055);
}

.hero-media:before {
  right: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(12deg);
}

.hero-media:after {
  left: 50%;
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-18deg) scale(.72);
}

.landing-copy {
  align-items: center;
  text-align: center;
  gap: 26px;
  max-width: 460px;
}

.landing-copy h2 {
  max-width: 460px;
  font-size: clamp(56px, 16vw, 82px);
  line-height: .92;
  font-weight: 780;
}

.landing-copy p {
  max-width: 330px;
  color: rgba(32, 33, 36, .56);
  font-size: 15px;
}

.shape-btn {
  width: auto;
  min-width: 154px;
  height: 52px;
  padding: 0 23px;
  border-radius: 18px;
  background: #f0f1ed;
  color: #202124;
  font-weight: 650;
}

.landing-copy .shape-btn {
  margin-top: 4px;
  background: #eeeeec;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .06);
}

.logo-marquee {
  height: 58px;
  background: rgba(255, 255, 255, .82);
}

.logo-track img {
  max-height: 30px;
  max-width: 132px;
  opacity: .68;
}

.stat-band {
  margin: 18px 0 0;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 12px;
  background: transparent;
  color: #202124;
}

.stat-band div {
  min-height: 112px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(242, 242, 247, .78);
  border: 1px solid rgba(0, 0, 0, .055);
}

.stat-band strong {
  font-size: 46px;
  letter-spacing: -.02em;
}

.stat-band span {
  color: rgba(32, 33, 36, .56);
}

.story-section,
.story-section.reverse,
.resource-grid {
  margin: 14px 0 0;
  border-radius: 30px;
  padding: 34px 22px;
}

.story-section {
  grid-template-columns: 1fr;
  text-align: left;
}

.story-section h3,
.resource-grid h3,
.cta-band h3 {
  font-size: 34px;
  letter-spacing: -.02em;
}

.story-section p {
  color: rgba(32, 33, 36, .6);
}

.orb-cube {
  width: 142px;
  height: 142px;
  border-radius: 36px;
  font-size: 38px;
  margin: 0 0 4px;
}

.resource-grid {
  gap: 12px;
}

.resource-grid button {
  min-height: 90px;
  border-radius: 24px;
  padding: 18px;
}

.cta-band {
  margin: 14px 0 0;
  min-height: 250px;
  border-radius: 34px;
  background: #171817;
  color: #fff;
}

.cta-band h3 {
  color: #fff;
}

.cta-band .shape-btn {
  background: var(--accent);
  color: #171817;
}

.start-wallet-panel,
.profile-hero {
  border-radius: 32px;
}

.profile-hero {
  margin: 0;
  padding: 26px 20px 20px;
}

.profile-balance-grid button,
.profile-menu-grid button,
.profile-stats div,
.profile-list,
.dark-card,
.form-card,
.order-card,
.record-card {
  border-radius: 26px;
}

.profile-menu-grid button {
  background: #fff;
}

.profile-list {
  background: #fff;
}

.tabbar {
  width: min(calc(100vw - 20px), 480px);
  bottom: 10px;
  height: 66px;
  border-radius: 26px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.tabbar button {
  font-size: 12px;
}

.tabbar button span {
  height: 28px;
  font-size: 18px;
}

/* Geometric wordmark logo, inspired by modular cube marks */
.top-brand {
  gap: 12px;
}

.top-logo-slot {
  min-width: 0;
  max-width: min(235px, 62vw);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.top-logo-img {
  display: block;
  width: auto;
  max-width: min(230px, 60vw);
  height: 42px;
  object-fit: contain;
}

.top-brand .brand-word {
  color: #4d4f52;
  font-size: 30px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
}

.top-brand-mark.cube-logo {
  width: 50px;
  height: 40px;
  display: grid;
  grid-template-columns: repeat(4, 10px);
  grid-auto-rows: 8px;
  gap: 1px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  transform: none;
  transform-origin: 50% 50%;
}

.top-brand-mark.cube-logo i {
  width: 10px;
  height: 8px;
  display: block;
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%);
  background: #5f6063;
}

.top-brand-mark.cube-logo i:nth-child(1) { grid-column: 2; grid-row: 1; background: #9a9b9d; }
.top-brand-mark.cube-logo i:nth-child(2) { grid-column: 3; grid-row: 1; background: #5a5b5d; }
.top-brand-mark.cube-logo i:nth-child(3) { grid-column: 1; grid-row: 2; background: #b7b8ba; }
.top-brand-mark.cube-logo i:nth-child(4) { grid-column: 2; grid-row: 2; background: #77787b; }
.top-brand-mark.cube-logo i:nth-child(5) { grid-column: 3; grid-row: 2; background: #444548; }
.top-brand-mark.cube-logo i:nth-child(6) { grid-column: 4; grid-row: 2; background: #66676a; }
.top-brand-mark.cube-logo i:nth-child(7) { grid-column: 1; grid-row: 3; background: #8c8d90; }
.top-brand-mark.cube-logo i:nth-child(8) { grid-column: 2; grid-row: 3; background: #5f6063; }
.top-brand-mark.cube-logo i:nth-child(9) { grid-column: 3; grid-row: 3; background: #77787a; }
.top-brand-mark.cube-logo i:nth-child(10) { grid-column: 4; grid-row: 3; background: #3f4042; }
.top-brand-mark.cube-logo i:nth-child(11) { grid-column: 2; grid-row: 4; background: #a4a5a7; }
.top-brand-mark.cube-logo i:nth-child(12) { grid-column: 3; grid-row: 4; background: #6f7073; }

/* Login page visual refresh */
.auth-screen {
  justify-content: flex-start;
  min-height: 100vh;
  padding: 18px 20px 64px;
  background:
    radial-gradient(circle at 86% 8%, rgba(191, 255, 50, .36), transparent 26%),
    radial-gradient(circle at 12% 34%, rgba(0, 0, 0, .08), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f3f4ef 100%);
  color: #171817;
}

.auth-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 0, 0, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .42), transparent 55%);
}

.auth-screen .lang-btn {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 32px;
  border-radius: 16px;
  background: #111;
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.auth-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100vh - 96px);
  flex-direction: column;
  justify-content: center;
}

.logo-block {
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px;
}

.logo-mark {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: #111;
  color: var(--accent);
  font-size: 28px;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .18),
    inset 0 0 0 10px rgba(191, 255, 50, .09);
}

.logo-mark.has-upload-logo {
  width: min(240px, 62vw);
  height: 72px;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  place-items: start;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo-word {
  display: none;
}

.auth-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow:
    0 24px 70px rgba(18, 20, 16, .13),
    inset 0 1px 0 rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

.auth-card h1 {
  margin: 0 0 20px;
  text-align: left;
  font-size: 30px;
  color: #171817;
}

.stack-form {
  gap: 14px;
}

.input-row {
  min-height: 58px;
  grid-template-columns: 40px 1fr;
  border-radius: 18px;
  padding: 0 14px;
  background: #f7f8f3;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.input-row:focus-within {
  border-color: rgba(191, 255, 50, .95);
  box-shadow:
    0 0 0 4px rgba(191, 255, 50, .18),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.input-icon {
  width: 28px;
  height: 28px;
  background: #111;
  color: var(--accent);
}

.input-row input::placeholder {
  color: rgba(23, 24, 23, .48);
}

.main-btn {
  min-height: 56px;
  margin-top: 8px;
  border-radius: 28px;
  background: var(--accent);
  color: #111;
  box-shadow: 0 16px 34px rgba(113, 141, 28, .24);
}

.auth-links {
  margin-top: 18px;
}

.auth-links button {
  color: #171817;
  font-weight: 750;
  opacity: .72;
}

.toast-line {
  color: #111;
  font-weight: 750;
}

.auth-footer {
  z-index: 1;
  bottom: 18px;
  color: rgba(23, 24, 23, .48);
}

/* Logged-in top navigation color */
.app-screen .app-header {
  background: #171922;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  box-shadow: none;
}

.app-screen .icon-btn {
  color: #f4f5f7;
}

.app-screen .service-btn {
  background: rgba(255, 255, 255, .06);
  color: #f4f5f7;
}

.app-screen .service-btn .support-svg {
  stroke: var(--accent);
  filter: none;
}

.app-screen .top-brand .brand-word {
  color: rgba(255, 255, 255, .78);
}

.app-screen .top-logo-img {
  filter: none;
}

.app-screen .tabbar {
  background: #171922;
  border-top: 1px solid rgba(255, 255, 255, .05);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.app-screen .tabbar button {
  color: rgba(255, 255, 255, .74);
}

.app-screen .tabbar button span {
  color: rgba(255, 255, 255, .82);
}

.app-screen .tabbar button.active {
  color: #fff;
}

.app-screen .tabbar button.active span {
  color: #171922;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(191, 255, 50, .24);
  text-shadow: none;
}

.app-screen .tabbar button::after {
  background: var(--accent);
}

/* Starting page color pass */
.start-wallet-panel {
  margin: 24px 0 0;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .07);
  background: rgba(242, 242, 247, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.money-box {
  min-height: 82px;
  margin-bottom: 12px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  color: #202124;
  box-shadow: none;
}

.money-box:first-child {
  background: #171817;
  color: #fff;
}

.money-box:first-child b,
.money-box:first-child small {
  color: var(--accent);
}

.money-box:nth-child(2) {
  background: var(--accent);
  color: #171817;
}

.money-box span {
  color: rgba(32, 33, 36, .58);
}

.money-box:first-child span {
  color: rgba(255, 255, 255, .58);
}

.money-box b,
.money-box small {
  color: inherit;
}

.start-action-wrap {
  margin-top: 34px;
}

.start-button {
  width: min(260px, 76vw);
  min-height: 64px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #171817;
  color: var(--accent);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .14);
}

.start-button span {
  color: #fff;
}

.brand-scroll {
  margin: 44px -18px 0;
  padding: 18px 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.brand-row {
  animation-duration: 96s;
}

.brand-pill {
  height: 48px;
}

.brand-pill img {
  height: 48px;
  opacity: .8;
}

.note-list {
  margin: 28px 0 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(242, 242, 247, .72);
  border: 1px solid rgba(0, 0, 0, .06);
  color: rgba(32, 33, 36, .58);
}

.note-list div:first-child {
  color: #202124;
  font-weight: 780;
}
