.earn-screen { --pt-gold: #ffd27a; --pt-line: rgba(255, 206, 120, 0.3); padding-bottom: 12px; }
.earn-screen > .pt-hero:first-child { margin-top: 4px; }
.pt-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 12px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 206, 120, 0.45);
  border-radius: 22px;
  background:
    radial-gradient(180px 120px at 100% 0%, rgba(255, 190, 80, 0.26), transparent 70%),
    radial-gradient(160px 120px at 0% 100%, rgba(140, 90, 255, 0.24), transparent 70%),
    linear-gradient(165deg, rgba(52, 38, 86, 0.96), rgba(14, 10, 34, 0.96));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  color: #fff;
}
.pt-hero-sky { position: absolute; inset: 0; pointer-events: none; }
.pt-orbit {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  border: 1px dashed rgba(255, 214, 140, 0.24);
  border-radius: 50%;
  animation: ptSpin 18s linear infinite;
}
.pt-orbit-b { top: -40px; right: -40px; width: 140px; height: 140px; animation-duration: 11s; animation-direction: reverse; }
.pt-orbit b {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pt-gold);
  box-shadow: 0 0 12px rgba(255, 200, 90, 0.9);
}
.pt-orbit-b b { width: 6px; height: 6px; left: -3px; background: #b9a4ff; box-shadow: 0 0 10px rgba(170, 140, 255, 0.9); }
.pt-glow {
  position: absolute;
  left: 10%;
  top: 30%;
  width: 180px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 200, 100, 0.22), transparent);
  filter: blur(8px);
  animation: ptBreath 4s ease-in-out infinite;
}
.pt-hero > *:not(.pt-hero-sky) { position: relative; }
.pt-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pt-hero-top small { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 0.01em; }
.pt-rate {
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  color: #1d1305;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(255, 170, 60, 0.4);
}
.pt-hero-sum {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 2px;
  font-family: "Baloo 2", Manrope, sans-serif;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 20%, #ffd98a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.pt-hero-sum em { font-style: normal; font-size: 30px; }
.pt-hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 14px; color: #e9e1ff; font-size: 13px; font-weight: 700; }
.pt-hero-sub b { color: #fff; }
.pt-hero-sub i { width: 4px; height: 4px; margin: 0 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }

.pt-goal { --p: 0; --at: 0.2; margin-bottom: 14px; }
.pt-goal-track {
  position: relative;
  height: 10px;
  margin: 0 6px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 1px 3px rgba(0, 0, 0, 0.4);
}
.pt-goal-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p) * 100%);
  min-width: 10px;
  border-radius: inherit;
  overflow: visible;
  background: linear-gradient(90deg, rgba(160, 40, 8, 0.35), #ff7a24 42%, #ffc14d 74%, #fff6d0);
  box-shadow: 0 0 14px rgba(255, 150, 50, 0.65);
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pt-flame {
  position: absolute;
  top: 50%;
  right: -4px;
  z-index: 1;
  width: 56px;
  height: 22px;
  pointer-events: none;
  transform: translateY(-50%);
}
.pt-flame::before,
.pt-flame::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  border-radius: 40% 80% 80% 40%;
  transform-origin: right center;
  animation: stLick 0.18s ease-in-out infinite alternate;
}
.pt-flame::before {
  width: 22px;
  height: 12px;
  margin-top: -6px;
  background: radial-gradient(ellipse at 90% 50%, #fff 0%, #ffe08a 30%, #ff8a1c 64%, rgba(255, 50, 10, 0) 80%);
  filter: blur(0.3px);
}
.pt-flame::after {
  width: 36px;
  height: 16px;
  margin-top: -8px;
  background: radial-gradient(ellipse at 92% 50%, rgba(255, 244, 210, 0.9), rgba(255, 120, 30, 0.4) 46%, transparent 76%);
  filter: blur(1.2px);
  animation-duration: 0.27s;
  animation-direction: alternate-reverse;
}
.pt-flame i {
  position: absolute;
  top: 50%;
  right: 2px;
  width: var(--s);
  height: var(--s);
  margin-top: calc(var(--s) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffe08a 34%, #ff7a18 66%, rgba(255, 50, 10, 0) 76%);
  animation: stEmber var(--dur) ease-out infinite;
  animation-delay: var(--delay);
  opacity: 0;
}
.pt-flame i:nth-child(1) { --s: 6px; --dx: -18px; --dy: -5px; --dur: 0.5s; --delay: -0.1s; }
.pt-flame i:nth-child(2) { --s: 4px; --dx: -34px; --dy: 4px; --dur: 0.82s; --delay: -0.4s; }
.pt-flame i:nth-child(3) { --s: 5px; --dx: -24px; --dy: 2px; --dur: 0.6s; --delay: -0.22s; }
.pt-flame i:nth-child(4) { --s: 3px; --dx: -40px; --dy: -3px; --dur: 0.95s; --delay: -0.66s; }
.pt-flame i:nth-child(5) { --s: 5px; --dx: -28px; --dy: 6px; --dur: 0.46s; --delay: -0.3s; }
.pt-flame i:nth-child(6) { --s: 3px; --dx: -22px; --dy: -6px; --dur: 0.72s; --delay: -0.5s; }
.pt-goal-pin {
  position: absolute;
  top: 50%;
  left: calc(var(--at) * 100%);
  display: grid;
  justify-items: center;
  transform: translate(-50%, -5px);
}
.pt-goal-pin-end { left: 100%; }
.pt-goal-pin em {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: #1a1336;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.pt-goal-pin b { margin-top: 4px; color: #d7cff5; font-size: 11px; font-weight: 800; white-space: nowrap; }
.pt-goal-pin.is-on em {
  border-color: #fff3c4;
  background: radial-gradient(circle, #fff3c4 0 30%, #ffb040 70%);
  box-shadow: 0 0 14px rgba(255, 190, 80, 0.9);
}
.pt-goal-pin.is-on b { color: var(--pt-gold); }
.pt-goal-pin-end b { transform: translateX(-30%); }
.pt-goal-text { margin: 0; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; }

.pt-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-act {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.15s ease, filter 0.2s, box-shadow 0.3s;
}
.pt-act:active { transform: scale(0.97); }
.pt-act-rk {
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  color: #1d1305;
  box-shadow: 0 8px 22px rgba(255, 150, 40, 0.35);
}
.pt-act-rk:not(.is-locked) .pt-act-ico {
  background: #241538;
  color: #ffe2a0;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 160, 0.28);
}
.pt-act-cash {
  background: linear-gradient(120deg, #8f7bff, #5b3fd6);
  color: #fff;
  box-shadow: 0 8px 22px rgba(110, 80, 240, 0.35);
}
.pt-act::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: ptGleam 3.2s ease-in-out infinite;
  pointer-events: none;
}
.pt-act-cash::after { animation-delay: 1.6s; }
.pt-act-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.28);
  font-size: 20px;
}
.pt-act-ico svg:not(.st-rk) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pt-act-ico .st-rk { width: 22px; height: 22px; margin: 0; transform: rotate(-45deg); }
.pt-act-txt { display: grid; min-width: 0; line-height: 1.15; }
.pt-act-txt b { font-size: 15px; font-weight: 900; }
.pt-act-txt small { font-size: 12px; font-weight: 800; opacity: 0.85; }
.pt-lock {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.pt-act.is-locked {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.pt-act.is-locked::after { display: none; }
.pt-act.is-locked .pt-act-ico { background: rgba(255, 255, 255, 0.08); filter: grayscale(1); opacity: 0.7; }
.pt-act.is-locked .pt-lock { display: block; }
.pt-act.is-shake { animation: ptShake 0.42s ease; }

.pt-pending {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(160, 140, 255, 0.4);
  border-radius: 14px;
  background: rgba(110, 80, 240, 0.14);
}
.pt-pending p { margin: 0; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; }
.pt-pending small { display: block; color: #d7cff5; font-size: 12px; }
.pt-pending-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b9a4ff;
  animation: ptPulse 1.6s ease-out infinite;
}

.pt-invite,
.pt-how,
.pt-chart {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid var(--pt-line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(34, 26, 64, 0.9), rgba(14, 10, 34, 0.9));
  color: #fff;
}
.pt-chart { position: relative; overflow: visible; }
.pt-chart:has(.pt-chart-pick.is-open) { z-index: 8; }
.pt-invite { animation-delay: 0.06s; }
.pt-how { animation-delay: 0.12s; }
.pt-invite-head b { display: block; font-size: 16px; font-weight: 900; }
.pt-invite-head small { display: block; margin-top: 2px; color: #e9e1ff; font-size: 12px; font-weight: 700; }
.pt-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 10px 0 8px;
  padding: 12px 14px;
  border: 1px dashed rgba(255, 206, 120, 0.55);
  border-radius: 14px;
  background: rgba(255, 196, 90, 0.08);
  text-align: left;
}
.pt-link span { flex: 1; min-width: 0; overflow: hidden; color: #fff3d0; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.pt-link svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--pt-gold); stroke-width: 1.8; stroke-linejoin: round; }
.pt-link:active { background: rgba(255, 196, 90, 0.18); }
.pt-invite-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-invite-row .pt-share { grid-column: 1 / -1; }
.pt-chip b { letter-spacing: 0.02em; }
.pt-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(120deg, #6fe3ff, #3a8dff);
  color: #04142a;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(60, 150, 255, 0.35);
}
.pt-plane {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  animation: ptFly 1.8s ease-in-out infinite;
}
@keyframes ptFly {
  0%, 100% { transform: translate(0, 1px) rotate(-8deg); }
  50% { transform: translate(5px, -3px) rotate(8deg); }
}
.pt-share:active, .pt-chip:active { transform: scale(0.97); }
.pt-chip {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 4px 10px;
  border: 1px solid var(--pt-line);
  border-radius: 14px;
  background: rgba(18, 14, 40, 0.72);
  text-align: left;
}
.pt-chip small { color: #d7cff5; font-size: 11px; font-weight: 800; }
.pt-chip b { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

.pt-h { margin: 0 0 6px; font-family: "Baloo 2", Manrope, sans-serif; font-size: 20px; line-height: 1.1; }
.pt-tree { position: relative; height: 150px; margin: 4px 0 10px; }
.pt-tree-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pt-tree-path { fill: none; stroke: rgba(255, 206, 120, 0.55); stroke-width: 1.6; filter: drop-shadow(0 0 3px rgba(255, 180, 70, 0.35)); }
.pt-tree-path-2 { stroke: rgba(185, 164, 255, 0.45); }
.pt-tree-coin { fill: #ffd27a; filter: drop-shadow(0 0 4px rgba(255, 190, 80, 0.9)); }
.pt-tree-coin-2 { fill: #c9b8ff; filter: drop-shadow(0 0 4px rgba(170, 140, 255, 0.9)); }
.pt-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  justify-items: center;
  gap: 1px;
  min-width: 52px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 206, 120, 0.5);
  border-radius: 12px;
  background: #1e1640;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  transform: translate(-50%, -50%);
}
.pt-node em { color: var(--pt-gold); font-style: normal; font-size: 13px; font-weight: 900; }
.pt-node-you {
  min-width: 60px;
  padding: 8px 12px;
  border: 0;
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  color: #1d1305;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(255, 170, 60, 0.55);
  animation: ptBreathNode 2.6s ease-in-out infinite;
}
.pt-node-2 { min-width: 40px; padding: 4px 7px; border-color: rgba(185, 164, 255, 0.5); }
.pt-node-2 em { color: #c9b8ff; font-size: 12px; }
.pt-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: pt; }
.pt-steps li {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 38px;
  counter-increment: pt;
}
.pt-steps li::before {
  content: counter(pt);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 196, 90, 0.16);
  color: var(--pt-gold);
  font-size: 14px;
  font-weight: 900;
}
.pt-steps b { font-size: 14px; font-weight: 900; }
.pt-steps em { color: var(--pt-gold); font-style: normal; }
.pt-steps span { color: #e9e1ff; font-size: 13px; font-weight: 600; line-height: 1.35; }

.pt-stats {
  display: flex;
  flex-direction: column;
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 206, 120, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(200px 90px at 100% 0%, rgba(255, 196, 90, 0.14), transparent 72%),
    linear-gradient(165deg, rgba(40, 32, 70, 0.92), rgba(12, 10, 30, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pt-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 12px 16px;
}
.pt-stat-row + .pt-stat-row { border-top: 1px solid rgba(255, 214, 140, 0.14); }
.pt-stat-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pt-stat-who small { color: #fff; font-size: 15px; font-weight: 800; line-height: 1.1; }
.pt-stat-who span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #bfb4e6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.pt-stat-who b { color: #fff; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pt-stat-who i { font-style: normal; }
.pt-stat-pay {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}
.pt-stat-pay b {
  font-family: "Baloo 2", Manrope, sans-serif;
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #ffe2a0;
}
.pt-stat-pay span { color: #d7c9a4; font-size: 12px; font-weight: 700; line-height: 1; }
.pt-stat-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 16px;
  border-top: 1px solid rgba(255, 214, 140, 0.14);
  background: rgba(0, 0, 0, 0.18);
}
.pt-stat-foot span { color: #cfc4ee; font-size: 13px; font-weight: 700; }
.pt-stat-foot b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.pt-stat-foot i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 210, 122, 0.7);
}

.pt-chart-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.pt-chart-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(255, 206, 120, 0.38);
  border-radius: 999px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 206, 120, 0.2), transparent 58%),
    rgba(255, 206, 120, 0.07);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pt-chart-pick svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #ffe2a0;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.pt-chart-pick.is-open svg { transform: rotate(180deg); }
.pt-chart-pick:active { transform: scale(0.98); }
.pt-chart-head > b {
  color: #ffe2a0;
  font-family: "Baloo 2", Manrope, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.pt-chart-menu {
  position: absolute;
  z-index: 9;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  gap: 4px;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(255, 206, 120, 0.32);
  border-radius: 16px;
  background: #1a1438;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}
.pt-chart-menu[hidden] { display: none; }
.pt-chart-menu button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #efe6ff;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}
.pt-chart-menu button.is-on {
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  color: #1d1305;
}
.pt-chart-menu button:active { transform: scale(0.98); }
.pt-chart-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 10px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 214, 140, 0.45);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 206, 120, 0.2), rgba(255, 154, 46, 0.08));
}
.pt-chart-day[hidden] { display: none; }
.pt-chart-day span { color: #fff6e4; font-size: 13px; font-weight: 800; }
.pt-chart-day b {
  color: #ffe2a0;
  font-family: "Baloo 2", Manrope, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}
.pt-bars { display: flex; align-items: stretch; gap: 4px; height: 210px; padding-top: 28px; padding-bottom: 22px; box-sizing: border-box; }
.pt-bars.is-short { justify-content: center; gap: 10px; }
.pt-bars.is-short .pt-col { flex: none; width: 36px; }
.pt-col {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pt-col.is-pick .pt-bar { box-shadow: inset 0 1px 0 rgba(255, 250, 225, 0.85), 0 0 14px rgba(255, 196, 90, 0.7); }
.pt-bar {
  position: relative;
  width: 100%;
  height: calc(var(--h) * 100%);
  border-radius: 6px 6px 3px 3px;
  background: rgba(255, 255, 255, 0.12);
  transform-origin: 50% 100%;
  animation: ptGrow 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 35ms);
}
.pt-bar.is-on {
  min-height: 6px;
  border-radius: 5px 5px 2px 2px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1.5px, transparent 1.5px calc(100% - 1.5px), rgba(120, 30, 0, 0.35) calc(100% - 1.5px)),
    linear-gradient(180deg, #ffd978 0%, #ffaa3c 38%, #f2652a 78%, #b8361f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 210, 0.7),
    0 -2px 10px rgba(255, 170, 60, 0.35),
    0 6px 14px -4px rgba(255, 110, 40, 0.55);
  overflow: visible;
}
.pt-bar.is-on::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(180deg, rgba(255, 236, 180, 0) 0 9px, rgba(255, 236, 180, 0.28) 9px 11px, rgba(255, 236, 180, 0) 11px 20px);
  background-size: 100% 20px;
  mix-blend-mode: soft-light;
  animation: ptBarFlow 1.6s linear infinite;
  pointer-events: none;
}
.pt-bar.is-on::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 3px;
  border-radius: 3px;
  background: #fff4cf;
  box-shadow: 0 0 6px 1px rgba(255, 214, 120, 0.9);
  opacity: 0.85;
  pointer-events: none;
}
.pt-col:nth-child(2n) .pt-bar.is-on::before { animation-duration: 2s; }
.pt-bar.is-max {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0 1.5px, transparent 1.5px calc(100% - 1.5px), rgba(120, 30, 0, 0.35) calc(100% - 1.5px)),
    linear-gradient(180deg, #ffe9a6 0%, #ffbf4a 32%, #ff7a2c 74%, #c23c1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 225, 0.85),
    0 0 18px rgba(255, 170, 60, 0.55),
    0 8px 18px -4px rgba(255, 110, 40, 0.7);
  overflow: visible;
}
.pt-bar.is-max::after { animation: ptBarTip 2.2s ease-in-out infinite; }
@keyframes ptBarFlow {
  from { background-position: 0 0; }
  to { background-position: 0 -20px; }
}
@keyframes ptBarTip {
  0%, 100% { opacity: 0.75; box-shadow: 0 0 6px 1px rgba(255, 214, 120, 0.8); }
  50% { opacity: 1; box-shadow: 0 0 12px 3px rgba(255, 214, 120, 1); }
}
.pt-bar small {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  max-width: 44px;
  overflow: hidden;
  color: #bfb4e6;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}
.pt-col.is-start .pt-bar small { left: 10px; transform: none; text-align: left; }
.pt-col.is-end .pt-bar small { left: auto; right: 0; transform: none; text-align: right; }
.pt-bars.is-few .pt-col .pt-bar small {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  text-align: center;
}
.pt-bar-tip {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(100% + 6px);
  padding: 3px 6px;
  border-radius: 8px;
  background: #2a2148;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 214, 140, 0.35);
  color: #ffe2a0;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}
.pt-col.is-start .pt-bar-tip { left: 0; transform: none; }
.pt-col.is-end .pt-bar-tip { left: auto; right: 0; transform: none; }

.pt-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 10px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(18, 14, 40, 0.78);
}
.pt-tabs-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 10px;
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  box-shadow: 0 4px 14px rgba(255, 150, 40, 0.35);
  transition: transform 0.35s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.pt-tabs.is-history .pt-tabs-pill { transform: translateX(100%); }
.pt-tabs button {
  position: relative;
  z-index: 1;
  min-height: 38px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  transition: color 0.25s;
}
.pt-tabs button.is-on { color: #1d1305; }
.pt-tabs button em {
  display: inline-block;
  min-width: 20px;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-style: normal;
  font-size: 12px;
}
.pt-tabs button.is-on em { background: rgba(0, 0, 0, 0.14); }

.pt-list { display: grid; gap: 8px; padding-bottom: 8px; }
.pt-table {
  overflow: hidden;
  border: 1px solid rgba(255, 206, 120, 0.28);
  border-radius: 18px;
  background: rgba(12, 9, 30, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.pt-trow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px 84px;
  align-items: center;
  column-gap: 8px;
  padding: 11px 12px;
}
.pt-thead {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(255, 206, 120, 0.1);
  color: #ffe2a0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pt-thead span:nth-child(2),
.pt-thead span:last-child { display: block; width: 100%; }
.pt-thead span:nth-child(2) { text-align: center; }
.pt-thead span:last-child { text-align: right; }
.pt-table .pt-friend {
  display: grid;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pt-table .pt-friend:active { background: rgba(255, 206, 120, 0.08); }
.pt-table .pt-who small { white-space: nowrap; }
.pt-table .pt-friend-sum b { white-space: nowrap; }
.pt-tcell-who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.pt-table .pt-ava { width: 34px; height: 34px; border-radius: 11px; font-size: 15px; }
.pt-table .pt-who b { font-size: 14px; }
.pt-table .pt-who small { color: #d6ccf5; font-size: 11.5px; }
.pt-tcell-status { display: grid; width: 100%; justify-items: center; gap: 3px; text-align: center; }
.pt-tcell-status .pt-tag { white-space: nowrap; }
.pt-tcell-status small { color: #d6ccf5; font-size: 10.5px; font-weight: 700; }
.pt-table .pt-friend-sum { width: 100%; max-width: none; justify-items: end; }
.pt-table .pt-friend-sum b {
  max-width: 100%;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pt-table .pt-friend-sum small,
.pt-table .pt-friend-sum em { color: #d6ccf5; }
.pt-friend,
.pt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(18, 14, 40, 0.78);
  color: #fff;
}
.pt-ava {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, #4c1d95, #312e81);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 17px;
  font-weight: 900;
}
.pt-ava img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pt-who { flex: 1; min-width: 0; }
.pt-who b { display: block; overflow: hidden; font-size: 15px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.pt-who small { display: block; overflow: hidden; color: #bfb4e6; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.pt-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.pt-tag {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #d7cff5;
  font-size: 11px;
  font-weight: 800;
}
.pt-tag.is-gold { border-color: transparent; background: linear-gradient(120deg, #ffe08a, #ff9a2e); color: #1d1305; }
.pt-tag.is-off { border-color: rgba(255, 120, 120, 0.4); color: #ffb3b3; }
.pt-friend-sum { display: grid; justify-items: end; flex: none; max-width: 42%; text-align: right; }
.pt-friend-sum b { color: #ffe2a0; font-size: 16px; font-weight: 900; }
.pt-friend-sum small { color: #bfb4e6; font-size: 11px; font-weight: 700; }
.pt-friend-sum em { color: #c9b8ff; font-style: normal; font-size: 11px; font-weight: 800; }

.rf-card { display: grid; gap: 12px; }
.rf-hero { display: flex; align-items: center; gap: 12px; }
.rf-ava { width: 52px; height: 52px; border-radius: 16px; font-size: 22px; }
.rf-who { flex: 1; min-width: 0; }
.rf-who b { display: block; overflow: hidden; color: #fff; font-size: 18px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.rf-who small { display: block; margin-top: 2px; color: #d6ccf5; font-size: 13px; font-weight: 700; }
.rf-money {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}
.rf-money div {
  padding: 10px 12px;
  border: 1px solid rgba(255, 206, 120, 0.28);
  border-radius: 16px;
  background: rgba(255, 206, 120, 0.08);
}
.rf-money small { display: block; color: #d6ccf5; font-size: 11px; font-weight: 800; }
.rf-money b { display: block; margin-top: 2px; color: #ffe2a0; font-size: 20px; font-weight: 900; }
.rf-facts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rf-facts li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #f4eeff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.rf-note {
  margin: 0;
  color: #ffe2a0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}
.pt-row-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 196, 90, 0.16);
  color: var(--pt-gold);
  font-size: 17px;
  font-weight: 900;
}
.pt-row-ico .st-rk { width: 20px; height: 20px; margin: 0; transform: none; }
.pt-row-txt { flex: 1; min-width: 0; }
.pt-row-txt b { display: block; overflow: hidden; font-size: 14px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.pt-row-txt small { display: block; color: #bfb4e6; font-size: 12px; font-weight: 700; }
.pt-row-sum { flex: none; font-size: 15px; font-weight: 900; }
.pt-row.is-in .pt-row-sum { color: #8ff0b0; }
.pt-row.is-out .pt-row-ico { background: rgba(110, 80, 240, 0.2); color: #c9b8ff; }
.pt-row.is-out .pt-row-sum { color: #fff; }
.pt-row.is-wait .pt-row-ico { background: rgba(110, 80, 240, 0.2); color: #c9b8ff; animation: ptBreath 2s ease-in-out infinite; }
.pt-row.is-wait .pt-row-sum { color: #c9b8ff; }
.pt-row.is-back { opacity: 0.7; }
.pt-row.is-back .pt-row-sum { color: #bfb4e6; text-decoration: line-through; }
.pt-empty {
  margin: 0;
  padding: 18px 14px;
  border: 1px dashed rgba(255, 206, 120, 0.45);
  border-radius: 16px;
  background: rgba(12, 9, 30, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.pt-foot { margin: 4px 4px 0; color: #bfb4e6; font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; }

/* Окна обмена и вывода */
.sheet-card.is-pt .pt-sheet-lead { margin: 0 0 12px; color: #e9e1ff; font-size: 14px; font-weight: 600; line-height: 1.4; }
.pt-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 206, 120, 0.5);
  border-radius: 18px;
  background: rgba(255, 196, 90, 0.08);
}
.pt-amount input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: #fff;
  font-family: "Baloo 2", Manrope, sans-serif;
  font-size: 40px;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.pt-amount span { color: var(--gold); font-family: "Baloo 2", Manrope, sans-serif; font-size: 28px; }
.pt-quick { display: flex; gap: 6px; margin: 8px 0 12px; }
.pt-quick-btn {
  flex: 1;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.pt-quick-btn:active { background: rgba(255, 196, 90, 0.2); }
.pt-preview {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 224, 138, 0.16), rgba(255, 154, 46, 0.1));
}
.pt-preview b { color: #ffe2a0; font-size: 18px; font-weight: 900; }
.pt-preview small { color: #e9e1ff; font-size: 13px; font-weight: 700; }
.pt-sheet-go {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  color: #1d1305;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(255, 150, 40, 0.35);
  transition: opacity 0.2s, transform 0.15s;
}
.pt-sheet-go:active { transform: scale(0.98); }
.pt-sheet-go:disabled { opacity: 0.45; box-shadow: none; }

@keyframes ptRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ptSpin { to { transform: rotate(360deg); } }
@keyframes ptBreath { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes ptBreathNode { 0%, 100% { box-shadow: 0 0 14px rgba(255, 170, 60, 0.4); } 50% { box-shadow: 0 0 28px rgba(255, 170, 60, 0.75); } }
@keyframes ptShine { from { background-position: 200% 0; } to { background-position: 0 0; } }
@keyframes ptGleam { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes ptShake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes ptPulse { 0% { box-shadow: 0 0 0 0 rgba(185, 164, 255, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(185, 164, 255, 0); } }
@keyframes ptDash { to { stroke-dashoffset: -18; } }
@keyframes ptGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 360px) {
  .pt-hero-sum { font-size: 40px; }
  .pt-invite-row { grid-template-columns: 1fr 1fr; }
  .pt-share { grid-column: 1 / -1; }
  .pt-stat-pay b { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .pt-hero, .pt-invite, .pt-how, .pt-chart, .pt-stats, .pt-friend, .pt-row, .pt-bar,
  .pt-orbit, .pt-glow, .pt-goal-fill, .pt-act::after, .pt-tree-path, .pt-node-you, .pt-pending-dot, .pt-row.is-wait .pt-row-ico,
  .pt-flame, .pt-flame::before, .pt-flame::after, .pt-flame i, .pt-bar.is-on::before, .pt-bar.is-max::after,
  .pt-plane,
  .st-exhaust, .st-exhaust i, .st-flame path, .st-flame ellipse, .st-range-fill::after,
  .st-dy-comet path, .st-dy-comet circle, .st-range-fill::before,
  .st-ic-comet *, .st-ic-streak path {
    animation: none;
  }
  .st-exhaust i, .st-pulse, .st-dy-comet i { opacity: 0; animation: none; }
  .pt-flame i { opacity: 0.75; }
}

/* Помощь */
.help-screen { --st-muted: #cfc6ee; --hp-card: linear-gradient(170deg, #2a2152 0%, #1a1435 100%); padding-bottom: 12px; }
.help-screen svg:not(.st-rk) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hp-hero {
  position: relative;
  overflow: hidden;
  margin: 4px 0 12px;
  padding: 36px 16px 16px;
  border: 1px solid rgba(120, 200, 255, 0.45);
  border-radius: 24px;
  background:
    radial-gradient(200px 140px at 100% 0%, rgba(90, 190, 255, 0.32), transparent 70%),
    radial-gradient(180px 130px at 0% 100%, rgba(140, 90, 255, 0.3), transparent 70%),
    linear-gradient(165deg, #232a66 0%, #120f30 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}
.hp-hero > *:not(.hp-hero-sky) { position: relative; }
.hp-hero-sky { position: absolute; inset: 0; pointer-events: none; }
.hp-hero-sky i {
  position: absolute;
  top: -46px;
  right: -46px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(120, 210, 255, 0.3);
  border-radius: 50%;
  animation: hpWave 3.6s ease-out infinite;
}
.hp-hero-sky i:nth-child(2) { animation-delay: 1.2s; }
.hp-hero-sky i:nth-child(3) { animation-delay: 2.4s; }
.hp-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #fff;
  animation: hpTwinkle 2.8s ease-in-out infinite;
}
.hp-star:nth-of-type(1) { top: 18%; left: 62%; }
.hp-star:nth-of-type(2) { top: 44%; left: 88%; animation-delay: 0.9s; }
.hp-star:nth-of-type(3) { top: 10%; left: 36%; animation-delay: 1.8s; }
@keyframes hpTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hp-hero-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.hp-hero-copy { min-width: 0; }
.hp-hero > .hp-kicker {
  position: absolute;
  top: 11px;
  right: 12px;
  z-index: 1;
}
.hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  background: rgba(125, 240, 164, 0.14);
  color: #9ff5bb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hp-kicker i { display: block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7df0a4; font-style: normal; line-height: 0; animation: stLive 2s ease-in-out infinite; }
.hp-hero-copy b { display: block; margin-top: 0; font-family: "Baloo 2", Manrope, sans-serif; font-size: 25px; line-height: 1; }
.hp-hero-copy small { display: block; margin-top: 4px; color: #dfe6ff; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.hp-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  background: linear-gradient(145deg, #8cecff, #3a8dff 70%, #2a5fe0);
  box-shadow: 0 10px 24px rgba(60, 150, 255, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.45);
  color: #06163a;
  animation: hpBob 3.6s ease-in-out infinite;
}
.help-screen .hp-avatar svg { width: 38px; height: 38px; stroke-width: 1.9; }
.help-screen .hp-dish { fill: rgba(6, 22, 58, 0.22); }
.help-screen .hp-feed, .help-screen .hp-sig { fill: #06163a; stroke: none; }
.help-screen .hp-spark { transform-box: fill-box; transform-origin: center; animation: hpSpark 2.4s ease-in-out infinite; }
.help-screen .hp-spark-2 { animation-delay: 0.6s; }
.help-screen .hp-spark-3 { animation-delay: 1.2s; }
@keyframes hpSpark {
  0%, 100% { opacity: 0.6; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .help-screen .hp-spark { animation: none; }
}
@keyframes hpBob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(-3deg); }
}
.hp-live {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 15px;
  height: 15px;
  border: 3px solid #1a1f52;
  border-radius: 50%;
  background: #7df0a4;
  animation: stLive 2s ease-in-out infinite;
}

.hp-contact {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 8px 12px 8px 8px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(115deg, #9df0ff 0%, #52b6ff 45%, #3a7bff 100%);
  color: #04142a;
  text-align: left;
  box-shadow: 0 12px 28px rgba(60, 150, 255, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.15s ease;
}
.hp-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: ptGleam 3.4s ease-in-out infinite;
  pointer-events: none;
}
.hp-contact:active { transform: scale(0.98); }
.hp-contact-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #06163a;
  color: #8cecff;
}
.help-screen .hp-contact-ico svg { width: 24px; height: 24px; }
.hp-contact-txt { display: grid; flex: 1; min-width: 0; line-height: 1.15; }
.hp-contact-txt b { font-size: 16px; font-weight: 900; }
.hp-contact-txt small { font-size: 12.5px; font-weight: 800; opacity: 0.75; }
.help-screen .hp-contact-go { flex: none; width: 22px; height: 22px; stroke-width: 2.4; }

.hp-hero-row { display: flex; gap: 8px; margin-top: 8px; }
.hp-hero-row > .hp-chip { flex: 1 1 auto; }
.hp-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 50px;
  padding: 7px 8px;
  border: 1px solid rgba(140, 210, 255, 0.28);
  border-radius: 15px;
  background: #151a45;
  color: #fff;
  text-align: left;
  transition: transform 0.15s ease, background 0.2s ease;
}
.hp-chip:active { transform: scale(0.97); background: #1d2358; }
.hp-chip-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #24306e;
  color: #8cecff;
}
.help-screen .hp-chip-ico svg { width: 18px; height: 18px; }
.hp-chip > span:nth-child(2) { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.hp-chip small { color: #aab8ea; font-size: 10.5px; font-weight: 700; }
.hp-chip b { overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.help-screen .hp-chip-copy { flex: none; width: 15px; height: 15px; color: #8cecff; opacity: 0.8; }
.hp-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 2px 0;
  color: #dfe6ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.help-screen .hp-tip svg { flex: none; width: 10px; height: 15px; color: #ffd27a; stroke-width: 2.2; }

.hp-search {
  position: sticky;
  top: 6px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  margin-bottom: 12px;
  padding: 0 8px 0 14px;
  border: 1px solid rgba(255, 214, 140, 0.35);
  border-radius: 16px;
  background: #1b1537;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  color: #ffd27a;
}
.hp-search:focus-within { border-color: #ffd27a; box-shadow: 0 0 0 3px rgba(255, 210, 122, 0.18), 0 10px 24px rgba(0, 0, 0, 0.35); }
.help-screen .hp-search > svg { flex: none; width: 19px; height: 19px; stroke-width: 2.2; }
.hp-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
}
.hp-search input::placeholder { color: #8f86b8; font-weight: 600; }
.hp-search input::-webkit-search-cancel-button { display: none; }
.hp-search-x {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #2b2350;
  color: #fff;
}
.help-screen .hp-search-x svg { width: 15px; height: 15px; stroke-width: 2.4; }

.hp-card {
  margin-bottom: 12px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(255, 214, 140, 0.2);
  border-radius: 22px;
  background: var(--hp-card);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
}
.hp-card[hidden] { display: none; }
.hp-card-h { display: flex; align-items: center; gap: 11px; margin: 0 2px 12px; }
.hp-card-h > span:last-child { display: grid; min-width: 0; line-height: 1.15; }
.hp-card-h b { font-family: "Baloo 2", Manrope, sans-serif; font-size: 19px; line-height: 1.05; }
.hp-card-h small { margin-top: 2px; color: var(--st-muted); font-size: 12px; font-weight: 700; }
.hp-card-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgb(var(--c));
  color: #150f2a;
  box-shadow: 0 6px 16px rgba(var(--c), 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.5);
}
.help-screen .hp-card-ico svg { width: 22px; height: 22px; stroke-width: 2; }
.hp-card-ico .st-rk { width: 26px; height: 26px; margin: 0; }

.hp-dev-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 15px;
  background: #110d26;
}
.hp-dev-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 38px;
  padding: 0 2px;
  border: 0;
  border-radius: 11px;
  background: none;
  color: var(--st-muted);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.hp-dev-tabs button span { display: grid; place-items: center; }
.hp-dev-tabs button span svg { width: 17px; height: 17px; stroke-width: 2 !important; }
.hp-dev-tabs button:active { transform: scale(0.94); }
.hp-dev-tabs button.is-on {
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  color: #1d1305;
  box-shadow: 0 6px 14px rgba(255, 154, 46, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hp-dev-panel { padding: 0 2px 4px; }
.hp-dev-panel:not([hidden]) { animation: hpOpen 0.3s ease both; }

.hp-list { display: grid; gap: 6px; }
.hp-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: #221b45;
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hp-item[hidden] { display: none; }
.hp-item[open] { border-color: rgba(255, 206, 120, 0.45); background: #2b2256; }
.hp-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 8px 12px 8px 8px;
  cursor: pointer;
  list-style: none;
}
.hp-item summary::-webkit-details-marker { display: none; }
.hp-item summary::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid rgba(255, 214, 140, 0.8);
  border-bottom: 2px solid rgba(255, 214, 140, 0.8);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}
.hp-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.hp-item summary b { font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.hp-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #151030;
  font-size: 17px;
}
.hp-ico svg { width: 20px; height: 20px; color: #ffd27a; }
.hp-ico .st-rk { width: 22px; height: 22px; margin: 0; transform: none; }
.hp-item[open] .hp-ico { background: #3a2c14; }
.hp-steps {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 2px 12px 14px;
  list-style: none;
  counter-reset: hp;
  animation: hpOpen 0.3s ease both;
}
.hp-steps li {
  position: relative;
  padding-left: 32px;
  color: #ece6ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  counter-increment: hp;
}
.hp-steps li::before {
  content: counter(hp);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  color: #1d1305;
  font-size: 12px;
  font-weight: 900;
}
.hp-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 25px;
  bottom: -7px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 196, 90, 0.2);
}
.hp-steps b, .hp-text b { color: #ffe2a0; }
.hp-text { margin: 0; padding: 2px 14px 14px; color: #ece6ff; font-size: 14px; font-weight: 600; line-height: 1.5; animation: hpOpen 0.3s ease both; }
mark.hp-hit { padding: 0 2px; border-radius: 4px; background: rgba(255, 210, 122, 0.35); color: #fff; }

.hp-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  color: #1d1305;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(255, 150, 40, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.15s ease;
}
.help-screen .hp-go svg { width: 20px; height: 20px; stroke-width: 2.4; }
.hp-go:active { transform: scale(0.98); }

.hp-empty {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-bottom: 12px;
  padding: 22px 16px 16px;
  border: 1px dashed rgba(255, 214, 140, 0.35);
  border-radius: 22px;
  background: #1b1537;
  color: #fff;
  text-align: center;
  animation: hpOpen 0.3s ease both;
}
.hp-empty[hidden] { display: none; }
.hp-empty-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #151030;
  color: #ffd27a;
  box-shadow: 0 0 0 1px rgba(255, 206, 120, 0.25), 0 8px 22px rgba(255, 170, 70, 0.18);
}
.hp-empty-ico svg { width: 28px; height: 28px; }
.hp-empty b { font-size: 16px; font-weight: 900; }
.hp-empty small { color: var(--st-muted); font-size: 13px; font-weight: 600; }
.hp-empty-btn,
.hp-cta-btn {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(115deg, #9df0ff, #3a7bff);
  color: #04142a;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(60, 150, 255, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.5);
}
.hp-empty-btn { margin-top: 10px; }
.hp-empty-btn:active, .hp-cta-btn:active { transform: scale(0.96); }

.hp-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(140, 210, 255, 0.35);
  border-radius: 20px;
  background: linear-gradient(120deg, #1f2a66, #1a1435);
  color: #fff;
}
.hp-cta-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #121840;
  color: #9df0ff;
  animation: hpBob 3.2s ease-in-out infinite;
}
.hp-cta-ico svg { width: 26px; height: 26px; }
.help-screen .hp-cta-visor { fill: #3a7bff; stroke: #9df0ff; }
.hp-cta-txt { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.hp-cta-txt b { font-size: 15px; font-weight: 900; }
.hp-cta-txt small { color: #cdd6ff; font-size: 12px; font-weight: 600; }

.hp-docs .hp-legal { margin-bottom: 10px; }
.help-screen [hidden] { display: none !important; }
.help-screen .st-legal { display: grid; gap: 8px; }
.help-screen .st-legal-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 214, 140, 0.14);
  border-radius: 16px;
  background: #221b45;
  color: #fff;
  text-align: left;
}
.help-screen .st-legal-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 214, 140, 0.2), rgba(255, 138, 46, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 214, 140, 0.22);
  color: #ffd27a;
}
.help-screen .st-legal-ico svg { width: 20px; height: 20px; }
.help-screen .st-legal-txt { display: grid; flex: 1; gap: 2px; min-width: 0; }
.help-screen .st-legal-txt b { font-size: 14.5px; font-weight: 800; }
.help-screen .st-legal-txt small { color: #cfc6ee; font-size: 12px; font-weight: 600; }
.help-screen .st-legal-go { flex: none; width: 18px; height: 18px; color: rgba(255, 214, 140, 0.6); }
.hp-legal .st-legal-go { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.is-desktop #pane-help.help-screen {
  columns: 2;
  column-gap: 20px;
}
.is-desktop #pane-help.help-screen > * {
  break-inside: avoid;
}
.is-desktop #pane-help .hp-hero,
.is-desktop #pane-help .hp-search { column-span: all; }
.dk-visor { fill: #ffd27a; stroke: none; }
.dock button.is-on .dk-visor { fill: #ffe3a6; }
.dk-glint { fill: none; stroke: #fff; stroke-width: 1.1; stroke-linecap: round; opacity: 0.85; }
.dk-spark { fill: #ffd27a; transform-box: fill-box; transform-origin: center; animation: dkSpark 2.6s ease-in-out infinite; }
.dk-astro { transform-box: view-box; transform-origin: 12px 12px; }
.dock button.is-on .dk-astro { animation: dkFloat 3.4s ease-in-out infinite; }
@keyframes dkSpark {
  0%, 100% { opacity: 0.35; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes dkFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-1px) rotate(-5deg); }
}

.st-switch-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(70, 225, 140, 0.14);
  box-shadow: inset 0 0 0 1px rgba(110, 240, 170, 0.5);
  color: #8ef5b8;
  font-family: "Baloo 2", Manrope, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.st-switch-tag span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: rgba(142, 245, 184, 0.8);
}
.st-switch button.is-on .st-switch-tag,
.tp-mode button.is-on .st-switch-tag {
  background: #12773f;
  color: #eafff2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.st-switch button.is-on .st-switch-tag span,
.tp-mode button.is-on .st-switch-tag span { color: rgba(234, 255, 242, 0.8); }
.tp-mode button .tp-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.tp-mode .st-switch-tag { padding: 3px 8px; font-size: 13px; }

.pt-goal-track {
  height: 8px;
  margin: 14px 18px 38px 4px;
}
.pt-goal-fill { min-width: 8px; }
.pt-goal-pin {
  z-index: 2;
  display: block;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  transform: none;
}
.pt-goal-pin em {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: #1a1336;
  box-shadow: 0 0 0 3px rgba(20, 14, 44, 0.9);
}
.pt-goal-pin em svg { width: 15px; height: 15px; opacity: 0.45; filter: grayscale(1); }
.pt-goal-pin em svg:not(.st-rk) { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pt-goal-pin em .st-rk { width: 20px; height: 20px; margin: 0; overflow: visible; transform: rotate(45deg); }
.pt-goal-pin.is-on em {
  border-color: #ffe7a8;
  background: radial-gradient(circle at 40% 32%, #3a2a68, #1a1336 72%);
  box-shadow: 0 0 0 3px rgba(255, 196, 90, 0.95), 0 0 16px rgba(255, 190, 80, 0.8);
}
.pt-goal-pin.is-on em svg { opacity: 1; filter: none; }
.pt-goal-pin.is-on em svg:not(.st-rk) { stroke: #ffe7a8; }
.pt-goal-pin.is-on em .st-rk { filter: none; opacity: 1; }
#pane-partner .pt-goal-pin {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
}
#pane-partner .pt-goal-pin em {
  width: 36px;
  height: 36px;
}
#pane-partner .pt-goal-pin em .st-rk {
  width: 24px;
  height: 24px;
  overflow: visible;
  transform: rotate(45deg) scale(1.15);
  transform-origin: center;
}
.pt-goal-pin b {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}
.pt-goal-pin-end b { transform: translateX(-50%); }

.pt-ico-swap { position: relative; }
.pt-ico-swap .pt-ico-coin {
  position: absolute;
  left: 3px;
  bottom: 3px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff8dc, #ffc15a);
  box-shadow: 0 0 0 1.2px rgba(58, 33, 5, 0.55), 0 2px 4px rgba(90, 50, 0, 0.25);
  color: #3a2105;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}
.pt-ico-swap .pt-ico-coin svg { width: 11px; height: 11px; stroke: #3a2105; stroke-width: 3.2; }
.pt-ico-swap .pt-ico-arrow {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
  opacity: 0.8;
  animation: ptSwapNudge 2.4s ease-in-out infinite;
}
.pt-ico-swap .st-rk {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 17px;
  height: 17px;
  transform: none;
}
@keyframes ptSwapNudge {
  0%, 100% { opacity: 0.55; transform: translate(0, 0); }
  50% { opacity: 1; transform: translate(0.8px, -0.8px); }
}
.pt-ico-out svg { width: 22px; height: 22px; }
.pt-ico-fly { animation: ptFly 2.4s ease-in-out infinite; }
@keyframes ptFly {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1.5px, -1.5px); }
}
.pt-act.is-locked .pt-ico-arrow,
.pt-act.is-locked .pt-ico-fly { animation: none; }

#pane-partner .earn-screen { width: 100%; max-width: 560px; margin-inline: auto; }
#pane-partner .pt-tree-lines { width: 100%; height: 100%; }
#pane-partner .earn-screen button { font-family: inherit; cursor: pointer; }
#pane-partner .st-rk { width: 18px; height: 18px; display: block; overflow: visible; }
#pane-partner .pt-hero,
#pane-partner .pt-invite,
#pane-partner .pt-how,
#pane-partner .pt-chart,
#pane-partner .pt-stats {
  border-color: rgba(255, 206, 120, 0.26);
  border-radius: 22px;
}
#pane-partner .pt-hero {
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(255, 196, 90, 0.16), transparent 70%),
    linear-gradient(165deg, rgba(32, 26, 58, 0.98), rgba(12, 10, 28, 0.98));
}
#pane-partner .pt-actions { align-items: stretch; }
#pane-partner .pt-act {
  min-height: 64px;
  border-radius: 16px;
  align-items: center;
}
#pane-partner .pt-act.is-locked {
  background: rgba(255, 214, 140, 0.05);
  color: rgba(255, 236, 210, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 206, 120, 0.22);
}
#pane-partner .pt-share {
  min-height: 52px;
  border-radius: 16px;
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  color: #1d1305;
  font-size: 17px;
  box-shadow: 0 8px 22px rgba(255, 150, 40, 0.28);
}
#pane-partner .pt-chip {
  min-height: 52px;
  border-radius: 16px;
  align-content: center;
}
#pane-partner .pt-link { border-radius: 16px; }
#pane-partner .pt-pay { display: grid; gap: 8px; margin-top: 12px; }
#pane-partner .pt-pay .field { margin: 0; }
#pane-partner .pt-pay .seg { width: 100%; }
