:root {
  --rxcp-ink: #24102e;
  --rxcp-muted: #6f6478;
  --rxcp-soft: #9b919f;
  --rxcp-bg: #fff8f3;
  --rxcp-surface: #fffdfb;
  --rxcp-line: rgba(36, 16, 46, .10);
  --rxcp-ruby: #c81452;
  --rxcp-ruby-dark: #320d3e;
  --rxcp-green: #147846;
  --rxcp-mint: #e5f6ea;
  --rxcp-gold: #f4b146;
  --rxcp-shadow: 0 18px 42px rgba(36, 16, 46, .10);
  --rxcp-ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--rxcp-bg);
  -webkit-tap-highlight-color: transparent;
}

body.rxcp-body,
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--rxcp-bg);
  color: var(--rxcp-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.rxcp-app {
  width: min(100%, 460px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--rxcp-bg);
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

.rxcp-native-content {
  padding: calc(16px + env(safe-area-inset-top)) 18px 24px;
}

.rxcp-screen,
.rxcp-segment-panel {
  display: none;
}

.rxcp-screen.is-active,
.rxcp-segment-panel.is-active {
  display: block;
}

.rxcp-screen {
  animation: rxcp-rise .22s var(--rxcp-ease);
}

@keyframes rxcp-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rxcp-home-brand,
.rxcp-screen-head,
.rxcp-list-head,
.rxcp-identity-row,
.rxcp-row-main,
.rxcp-transaction,
.rxcp-settings-page-head {
  display: flex;
  align-items: center;
}

.rxcp-home-brand,
.rxcp-screen-head,
.rxcp-list-head,
.rxcp-settings-page-head {
  justify-content: space-between;
  gap: 12px;
}

.rxcp-home-brand {
  margin: 4px 0 26px;
}

#tab-home.rxcp-screen.is-active {
  height: calc(100dvh - 132px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

#tab-home .rxcp-home-brand {
  margin: 0;
}

.rxcp-home-brand strong,
.rxcp-home-brand span,
.rxcp-auth-visual strong,
.rxcp-auth-visual span {
  display: block;
}

.rxcp-home-brand strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.rxcp-home-brand span,
.rxcp-auth-visual span {
  color: var(--rxcp-ruby);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.rxcp-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--rxcp-ruby);
  color: #fff;
  font-weight: 950;
}

.rxcp-icon-btn,
.rxcp-circle-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rxcp-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  color: var(--rxcp-ink);
  text-decoration: none;
}

.rxcp-identity-row {
  position: relative;
  gap: 14px;
  margin-bottom: 22px;
}

#tab-home .rxcp-identity-row {
  margin-bottom: 0;
}

.rxcp-photo-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2d123a;
  color: #fff;
  font-weight: 950;
  box-shadow: var(--rxcp-shadow);
}

#tab-home .rxcp-photo-avatar {
  width: 52px;
  height: 52px;
}

.rxcp-identity-row h1 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.1;
}

.rxcp-identity-row p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--rxcp-muted);
  font-size: 12px;
  font-weight: 650;
}

.rxcp-identity-row p svg {
  width: 14px;
  height: 14px;
  margin-right: 3px;
  vertical-align: -2px;
}

.rxcp-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rxcp-muted);
}

.rxcp-live-label {
  color: var(--rxcp-muted);
  font-weight: 850;
}

.rxcp-status-dot.is-online {
  background: var(--rxcp-green);
}

.rxcp-live-label.is-online {
  color: var(--rxcp-green);
}

.rxcp-home-status {
  margin-left: auto;
}

.rxcp-switch {
  position: relative;
  width: 58px;
  height: 34px;
  display: inline-flex;
}

.rxcp-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.rxcp-switch span {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(36, 16, 46, .14);
  transition: background .2s var(--rxcp-ease);
}

.rxcp-switch span:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(36, 16, 46, .22);
  transition: transform .2s var(--rxcp-ease);
}

.rxcp-switch input:checked + span {
  background: var(--rxcp-green);
}

.rxcp-switch input:checked + span:before {
  transform: translateX(24px);
}

.rxcp-next-object {
  position: relative;
  overflow: hidden;
  min-height: 146px;
  border-radius: 24px;
  padding: 16px 16px 14px;
  color: #fff;
  background: linear-gradient(145deg, #4a103c 0%, #9f0d44 72%, #c81452 100%);
  box-shadow: 0 18px 34px rgba(151, 13, 65, .18);
}

#tab-home .rxcp-next-object {
  min-height: 118px;
  border-radius: 22px;
  padding: 13px 14px 12px;
  box-shadow: 0 14px 28px rgba(151, 13, 65, .16);
}

.rxcp-next-copy span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 750;
}

#tab-home .rxcp-next-copy span {
  margin-bottom: 6px;
}

.rxcp-next-copy h2 {
  max-width: 68%;
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
}

#tab-home .rxcp-next-copy h2 {
  max-width: 72%;
  font-size: 18px;
}

.rxcp-next-copy p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
}

#tab-home .rxcp-next-copy p {
  margin-top: 6px;
}

.rxcp-next-arrow {
  position: absolute;
  top: 34px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  color: var(--rxcp-ruby);
}

#tab-home .rxcp-next-arrow {
  top: 24px;
  right: 14px;
  width: 40px;
  height: 40px;
}

.rxcp-next-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

#tab-home .rxcp-next-foot {
  margin-top: 10px;
  padding-top: 8px;
}

.rxcp-next-foot span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-next-foot a {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.rxcp-milestone-panel,
.rxcp-list-section,
.rxcp-earnings-strip,
.rxcp-payout-status,
.rxcp-transactions,
.rxcp-account-tiles {
  margin-top: 22px;
}

#tab-home .rxcp-milestone-panel,
#tab-home .rxcp-earnings-strip,
#tab-home .rxcp-home-announcements {
  margin-top: 0;
}

.rxcp-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--rxcp-ink);
  font-size: 13px;
}

#tab-home .rxcp-rail-head {
  margin-bottom: 7px;
  font-size: 12px;
}

.rxcp-rail-head span,
.rxcp-list-head button,
.rxcp-settings-page-head span {
  border: 0;
  background: none;
  color: var(--rxcp-ruby);
  font-size: 12px;
  font-weight: 850;
}

.rxcp-list-head button {
  min-height: 40px;
  padding: 0 6px;
}

.rxcp-milestone-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(74px, 1fr);
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

#tab-home .rxcp-milestone-rail {
  grid-auto-columns: minmax(56px, 1fr);
  gap: 0;
  padding-bottom: 0;
}

.rxcp-milestone-rail::-webkit-scrollbar,
.rxcp-settings-chips::-webkit-scrollbar {
  display: none;
}

.rxcp-milestone-step {
  position: relative;
  min-width: 74px;
  display: grid;
  justify-items: center;
  gap: 7px;
  scroll-snap-align: start;
  color: var(--rxcp-muted);
  text-align: center;
  font-size: 11px;
  font-weight: 720;
}

#tab-home .rxcp-milestone-step {
  min-width: 56px;
  gap: 4px;
  font-size: 10px;
}

.rxcp-milestone-step:before {
  content: "";
  position: absolute;
  top: 17px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: rgba(36, 16, 46, .12);
}

.rxcp-milestone-step:first-child:before {
  display: none;
}

.rxcp-milestone-dot,
.rxcp-milestone-button > span {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--rxcp-line);
  color: var(--rxcp-ink);
  font-weight: 950;
}

#tab-home .rxcp-milestone-dot,
#tab-home .rxcp-milestone-button > span {
  width: 30px;
  height: 30px;
}

#tab-home .rxcp-milestone-step:before {
  top: 14px;
}

#tab-home .rxcp-milestone-step strong {
  max-width: 62px;
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.12;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rxcp-milestone-step.is-done .rxcp-milestone-dot,
.rxcp-milestone-step.is-done .rxcp-milestone-button > span {
  background: var(--rxcp-ruby);
  border-color: var(--rxcp-ruby);
  color: #fff;
}

.rxcp-milestone-step.is-current .rxcp-milestone-dot,
.rxcp-milestone-step.is-current .rxcp-milestone-button > span {
  border-color: var(--rxcp-gold);
  box-shadow: 0 0 0 4px rgba(244, 177, 70, .18);
}

.rxcp-milestone-button {
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  text-align: center;
}

.rxcp-milestone-button small {
  display: block;
  color: var(--rxcp-soft);
  font-size: 10px;
  font-weight: 750;
}

.rxcp-list-head h2,
.rxcp-screen-head h2,
.rxcp-payout-status h2,
.rxcp-transactions h2,
.rxcp-account-tiles h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.12;
}

.rxcp-screen-head {
  margin: 3px 0 18px;
}

.rxcp-segment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--rxcp-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.rxcp-segment button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--rxcp-muted);
  font-size: 12px;
  font-weight: 850;
}

.rxcp-segment button.is-active {
  background: var(--rxcp-ink);
  color: #fff;
}

.rxcp-itinerary-row {
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--rxcp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.rxcp-row-main {
  min-height: 92px;
  gap: 12px;
  color: var(--rxcp-ink);
  padding: 10px;
  text-decoration: none;
}

.rxcp-row-thumb {
  position: relative;
  overflow: hidden;
  width: 78px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(36, 16, 46, .06);
}

.rxcp-row-thumb img,
.rxcp-detail-media-img,
.rxcp-auth-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rxcp-row-copy {
  min-width: 0;
  flex: 1;
}

.rxcp-row-copy strong,
.rxcp-row-copy small,
.rxcp-row-side b,
.rxcp-row-side small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-row-copy strong {
  font-size: 13px;
  line-height: 1.25;
}

.rxcp-row-copy small,
.rxcp-row-side small {
  margin-top: 5px;
  color: var(--rxcp-muted);
  font-size: 11px;
  line-height: 1.25;
}

.rxcp-row-side {
  max-width: 82px;
  text-align: right;
}

.rxcp-row-side b {
  color: var(--rxcp-ink);
  font-size: 13px;
}

.rxcp-row-chevron {
  display: none;
  color: var(--rxcp-ruby);
}

.rxcp-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 10px 10px;
}

.rxcp-chip-btn {
  min-height: 40px;
  border: 1px solid var(--rxcp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rxcp-ink);
  padding: 0 16px;
  font-size: 12px;
  font-weight: 850;
}

.rxcp-chip-btn.is-primary {
  border-color: var(--rxcp-ruby);
  background: var(--rxcp-ruby);
  color: #fff;
}

.rxcp-home-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.rxcp-home-quick-actions button {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  border: 1px solid var(--rxcp-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  color: var(--rxcp-ink);
  padding: 8px;
  text-align: left;
}

.rxcp-home-quick-actions svg {
  width: 20px;
  height: 20px;
  color: var(--rxcp-ruby);
}

.rxcp-home-quick-actions span,
.rxcp-home-quick-actions strong,
.rxcp-home-quick-actions small {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-home-quick-actions strong {
  font-size: 11px;
  line-height: 1.05;
}

.rxcp-home-quick-actions small {
  margin-top: 3px;
  color: var(--rxcp-muted);
  font-size: 9px;
  font-weight: 750;
}

.rxcp-home-announcements .rxcp-list-head {
  margin-bottom: 7px;
}

.rxcp-home-announcements .rxcp-list-head h2 {
  font-size: 15px;
}

.rxcp-announcement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.rxcp-announcement-grid span {
  min-width: 0;
  border: 1px solid rgba(36, 16, 46, .08);
  border-radius: 15px;
  background: rgba(255, 255, 255, .66);
  padding: 9px;
}

.rxcp-announcement-grid strong,
.rxcp-announcement-grid small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-announcement-grid strong {
  font-size: 11px;
}

.rxcp-announcement-grid small {
  margin-top: 4px;
  color: var(--rxcp-muted);
  font-size: 10px;
  font-weight: 700;
}

.rxcp-snapshot-grid,
.rxcp-status-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.rxcp-snapshot-grid span,
.rxcp-status-cards span {
  min-width: 0;
  border: 1px solid var(--rxcp-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .64);
  padding: 12px 10px;
}

#tab-home .rxcp-snapshot-grid {
  gap: 7px;
  margin-top: 7px;
}

#tab-home .rxcp-snapshot-grid span {
  border-radius: 14px;
  padding: 9px 8px;
}

.rxcp-snapshot-grid strong,
.rxcp-status-cards strong,
.rxcp-status-cards b {
  display: block;
  overflow: hidden;
  color: var(--rxcp-ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home .rxcp-snapshot-grid strong {
  font-size: 13px;
}

#tab-home .rxcp-snapshot-grid small {
  font-size: 9px;
}

.rxcp-snapshot-grid small,
.rxcp-status-cards b {
  margin-top: 5px;
  color: var(--rxcp-muted);
  font-size: 10px;
}

.rxcp-status-cards svg {
  width: 17px;
  height: 17px;
  color: var(--rxcp-ruby);
}

.rxcp-empty,
.rxcp-inline-state {
  margin-top: 10px;
  border-radius: 18px;
  background: rgba(36, 16, 46, .045);
  color: var(--rxcp-muted);
  padding: 14px;
  font-size: 13px;
}

.rxcp-inline-state.is-done {
  color: var(--rxcp-green);
  background: var(--rxcp-mint);
}

.rxcp-community-hero {
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(circle at 82% 8%, rgba(255, 255, 255, .18), transparent 28%), linear-gradient(145deg, #2b1238, #7d1144 72%, #c81452);
  color: #fff;
  padding: 22px 18px;
  box-shadow: 0 22px 46px rgba(36, 16, 46, .18);
}

.rxcp-community-hero span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 850;
}

.rxcp-community-hero h2 {
  margin: 8px 0 0;
  max-width: 86%;
  font-size: 24px;
  line-height: 1.08;
}

.rxcp-community-hero p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.rxcp-community-block,
.rxcp-community-tile {
  border: 1px solid var(--rxcp-line);
  background: rgba(255, 255, 255, .72);
}

.rxcp-community-block {
  margin-top: 18px;
  border-radius: 22px;
  padding: 14px;
}

.rxcp-readiness-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.rxcp-readiness-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px 8px;
  align-items: center;
  border-radius: 15px;
  background: rgba(36, 16, 46, .045);
  padding: 10px;
}

.rxcp-readiness-item span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--rxcp-ruby);
  font-size: 12px;
  font-weight: 900;
}

.rxcp-readiness-item strong,
.rxcp-readiness-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-readiness-item strong {
  font-size: 12px;
}

.rxcp-readiness-item small {
  grid-column: 2;
  color: var(--rxcp-muted);
  font-size: 10px;
  font-weight: 750;
}

.rxcp-readiness-item.is-done {
  background: var(--rxcp-mint);
}

.rxcp-readiness-item.is-done span {
  background: var(--rxcp-green);
  color: #fff;
}

.rxcp-community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.rxcp-community-tile {
  min-width: 0;
  border-radius: 18px;
  padding: 14px;
}

.rxcp-community-tile > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(200, 20, 82, .10);
  color: var(--rxcp-ruby);
}

.rxcp-community-tile strong {
  display: block;
  margin-top: 12px;
  font-size: 14px;
}

.rxcp-community-tile p {
  margin: 6px 0 0;
  color: var(--rxcp-muted);
  font-size: 12px;
  line-height: 1.38;
}

.rxcp-shoot-detail {
  margin: -18px -18px 0;
}

.rxcp-detail-media {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: calc(18px + env(safe-area-inset-top)) 18px 18px;
  background: #261134;
}

.rxcp-detail-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .32), rgba(0, 0, 0, .04) 42%, rgba(0, 0, 0, .55));
  z-index: 1;
}

.rxcp-detail-media-img {
  z-index: 0;
}

.rxcp-detail-media > *:not(.rxcp-detail-media-img) {
  position: relative;
  z-index: 2;
}

.rxcp-media-status {
  position: absolute;
  left: 18px;
  bottom: 24px;
  border-radius: 999px;
  background: var(--rxcp-mint);
  color: var(--rxcp-green);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 850;
}

.rxcp-detail-sheet {
  position: relative;
  z-index: 2;
  margin-top: -22px;
  border-radius: 26px 26px 0 0;
  background: var(--rxcp-bg);
  padding: 18px 18px 120px;
}

.rxcp-detail-title span {
  color: var(--rxcp-ruby);
  font-size: 11px;
  font-weight: 900;
}

.rxcp-detail-title h2 {
  margin: 5px 0 0;
  font-size: 23px;
  line-height: 1.1;
}

.rxcp-detail-facts {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.rxcp-detail-facts span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--rxcp-line);
  padding: 0 0 12px;
  font-size: 13px;
}

.rxcp-detail-facts b {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-detail-facts a {
  color: var(--rxcp-ruby);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.rxcp-payout-tile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 12px 0 4px;
  overflow: hidden;
  border: 1px solid rgba(244, 177, 70, .24);
  border-radius: 18px;
  background: #fff4e7;
}

.rxcp-payout-tile span {
  padding: 12px;
}

.rxcp-payout-tile span + span {
  border-left: 1px solid rgba(36, 16, 46, .08);
}

.rxcp-payout-tile small {
  display: block;
  color: var(--rxcp-muted);
  font-size: 10px;
}

.rxcp-payout-tile strong {
  display: block;
  margin-top: 5px;
  font-size: 16px;
}

.rxcp-detail-notes {
  margin-top: 18px;
  border-top: 1px solid var(--rxcp-line);
  padding-top: 16px;
}

.rxcp-detail-notes strong {
  display: block;
  font-size: 14px;
}

.rxcp-detail-notes p {
  margin: 8px 0 0;
  color: var(--rxcp-muted);
  font-size: 13px;
  line-height: 1.45;
}

.rxcp-bottom-sheet {
  margin-top: 12px;
}

.rxcp-bottom-sheet summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rxcp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  padding: 0 14px;
  font-weight: 850;
  cursor: pointer;
}

.rxcp-sheet-body {
  margin-top: 8px;
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--rxcp-shadow);
}

.rxcp-bottom-sheet:not([open]) .rxcp-sheet-body {
  display: none !important;
}

.rxcp-bottom-sheet[open] .rxcp-sheet-body {
  display: block;
}

.rxcp-action-dock {
  position: sticky;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 12;
  margin: -92px 18px 0;
  border-radius: 20px;
  background: rgba(48, 13, 55, .96);
  padding: 8px;
  box-shadow: 0 18px 42px rgba(36, 16, 46, .24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rxcp-dock-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8px;
}

.rxcp-dock-form .rxcp-btn svg,
.rxcp-action-dock .rxcp-btn svg {
  width: 18px;
  height: 18px;
}

.rxcp-dock-done {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 850;
}

.rxcp-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.rxcp-primary {
  background: var(--rxcp-ruby);
  color: #fff;
}

.rxcp-ghost {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.rxcp-wallet-hero,
.rxcp-profile-pass {
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #2b1238, #6b123f 72%, #b5124d);
  padding: 22px 18px;
  box-shadow: 0 22px 46px rgba(36, 16, 46, .18);
}

.rxcp-wallet-hero span,
.rxcp-profile-pass > span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.rxcp-wallet-hero h2,
.rxcp-profile-pass strong {
  display: block;
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1;
}

.rxcp-wallet-hero p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
}

.rxcp-wallet-hero i {
  width: 1px;
  background: rgba(255, 255, 255, .24);
}

.rxcp-payout-setup {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid var(--rxcp-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  padding: 14px;
}

.rxcp-state-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(200, 20, 82, .10);
  color: var(--rxcp-ruby);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
}

.rxcp-payout-setup[data-status="verified"] .rxcp-state-pill {
  background: var(--rxcp-mint);
  color: var(--rxcp-green);
}

.rxcp-payout-readiness {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  background: rgba(36, 16, 46, .05);
  padding: 12px;
}

.rxcp-payout-readiness > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--rxcp-ruby);
  color: #fff;
}

.rxcp-payout-readiness strong,
.rxcp-payout-readiness small {
  display: block;
}

.rxcp-payout-readiness strong {
  font-size: 14px;
}

.rxcp-payout-readiness small {
  margin-top: 4px;
  color: var(--rxcp-muted);
  font-size: 12px;
}

.rxcp-payout-form {
  display: grid;
  gap: 12px;
}

.rxcp-payout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rxcp-payout-form-grid .rxcp-field {
  min-width: 0;
}

.rxcp-payout-form-grid .rxcp-field:first-child,
.rxcp-payout-form-grid .rxcp-field:last-child {
  grid-column: 1 / -1;
}

.rxcp-transactions {
  display: grid;
  gap: 10px;
}

.rxcp-transaction {
  min-height: 66px;
  gap: 12px;
  border-bottom: 1px solid var(--rxcp-line);
  padding-bottom: 10px;
}

.rxcp-txn-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--rxcp-ruby);
  color: #fff;
}

.rxcp-transaction > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.rxcp-transaction strong,
.rxcp-transaction b,
.rxcp-transaction small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-transaction small {
  margin-top: 4px;
  color: var(--rxcp-muted);
  font-size: 11px;
}

.rxcp-transaction > span:last-child {
  max-width: 98px;
  text-align: right;
}

.rxcp-profile-pass {
  position: relative;
}

.rxcp-profile-pass em {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  background: rgba(20, 120, 70, .72);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.rxcp-profile-pass p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.rxcp-profile-pass div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 14px;
}

.rxcp-profile-pass div span {
  min-width: 0;
}

.rxcp-profile-pass div small,
.rxcp-profile-pass div b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-profile-pass div small {
  color: rgba(255, 255, 255, .54);
  font-size: 10px;
}

.rxcp-profile-pass div b {
  margin-top: 5px;
  font-size: 13px;
}

.rxcp-setting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.rxcp-setting-tile {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rxcp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .64);
  color: var(--rxcp-ink);
  padding: 12px;
  text-align: left;
}

.rxcp-setting-tile svg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200, 20, 82, .10);
  color: var(--rxcp-ruby);
  padding: 8px;
}

.rxcp-setting-tile span {
  min-width: 0;
}

.rxcp-setting-tile strong,
.rxcp-setting-tile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-setting-tile strong {
  font-size: 13px;
}

.rxcp-setting-tile small {
  margin-top: 4px;
  color: var(--rxcp-muted);
  font-size: 11px;
}

.rxcp-profile-sheet {
  margin-top: 18px;
  border: 1px solid var(--rxcp-line);
  border-radius: 24px 24px 20px 20px;
  background: rgba(255, 255, 255, .86);
  padding: 10px 16px 16px;
  box-shadow: var(--rxcp-shadow);
}

.rxcp-profile-sheet.is-enhanced {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 55;
  width: min(100%, 460px);
  max-height: min(72dvh, 620px);
  margin: 0;
  overflow-y: auto;
  transform: translate(-50%, 110%);
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -24px 70px rgba(36, 16, 46, .22);
  transition: transform .24s var(--rxcp-ease);
}

.rxcp-profile-sheet.is-enhanced:before {
  content: "";
  position: fixed;
  inset: -120dvh 0 100%;
  background: rgba(36, 16, 46, .22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--rxcp-ease);
}

.rxcp-profile-sheet.is-enhanced.is-open {
  transform: translate(-50%, 0);
}

.rxcp-profile-sheet.is-enhanced.is-open:before {
  opacity: 1;
}

.rxcp-sheet-handle {
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: rgba(36, 16, 46, .16);
  justify-self: center;
  margin-bottom: 6px;
}

.rxcp-settings.is-enhanced .rxcp-settings-page {
  display: none;
}

.rxcp-settings.is-enhanced .rxcp-settings-page.is-active {
  display: grid;
}

.rxcp-settings-page {
  display: grid;
  gap: 12px;
}

.rxcp-settings-page h3 {
  margin: 0;
  font-size: 17px;
}

.rxcp-done-btn {
  border: 0;
  background: transparent;
  color: var(--rxcp-ruby);
  font-size: 13px;
  font-weight: 900;
}

.rxcp-field {
  display: grid;
  gap: 6px;
  color: var(--rxcp-ink);
  font-size: 12px;
  font-weight: 850;
}

.rxcp-field input,
.rxcp-field select,
.rxcp-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--rxcp-line);
  border-radius: 14px;
  background: #fff;
  color: var(--rxcp-ink);
  font-size: 16px;
  line-height: 1.25;
  padding: 10px 12px;
  outline: 0;
}

.rxcp-field textarea {
  resize: vertical;
}

.rxcp-password-wrap {
  position: relative;
  display: block;
}

.rxcp-password-wrap input {
  padding-right: 76px;
}

.rxcp-show-pass {
  position: absolute;
  top: 5px;
  right: 5px;
  min-height: 38px;
  border: 0;
  border-radius: 11px;
  background: rgba(36, 16, 46, .07);
  color: var(--rxcp-ink);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 850;
}

.rxcp-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rxcp-logout-form {
  margin-top: 12px;
}

.rxcp-logout-form .rxcp-ghost {
  color: var(--rxcp-ink);
  background: #fff;
  border-color: var(--rxcp-line);
}

.rxcp-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 460px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding: 8px 10px calc(9px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(36, 16, 46, .08);
  background: rgba(255, 251, 248, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rxcp-bottom-nav button {
  min-width: 0;
  min-height: 50px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--rxcp-muted);
  font-size: 11px;
  font-weight: 800;
}

.rxcp-bottom-nav button.is-active {
  color: var(--rxcp-ruby);
}

.rxcp-bottom-nav svg {
  width: 21px;
  height: 21px;
}

.rxcp-bottom-nav span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 60;
  width: min(90vw, 420px);
  transform: translate(-50%, 16px);
  border-radius: 999px;
  background: var(--rxcp-ink);
  color: #fff;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--rxcp-ease), transform .2s var(--rxcp-ease);
}

.rxcp-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.rxcp-hidden-submit,
.is-hidden {
  display: none !important;
}

.rxcp-btn.is-loading,
.rxcp-btn:disabled,
.rxcp-milestone-button:disabled {
  opacity: .7;
}

.rxcp-alert {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #fff;
  color: var(--rxcp-ink);
  padding: 13px;
  box-shadow: 0 8px 20px rgba(36, 16, 46, .06);
}

.rxcp-alert-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(200, 20, 82, .12);
  color: var(--rxcp-ruby);
  font-weight: 900;
}

.rxcp-alert strong,
.rxcp-alert small {
  display: block;
}

.rxcp-alert small {
  margin-top: 3px;
  color: var(--rxcp-muted);
  font-size: 12px;
}

.rxcp-ok .rxcp-alert-icon {
  background: var(--rxcp-mint);
  color: var(--rxcp-green);
}

.rxcp-auth {
  min-height: 100dvh;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: calc(16px + env(safe-area-inset-top)) 18px 26px;
}

.rxcp-auth-visual {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-radius: 30px;
  background: #261134;
  color: #fff;
  padding: 18px;
  box-shadow: var(--rxcp-shadow);
}

.rxcp-auth-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 16, 46, .05), rgba(36, 16, 46, .62));
}

.rxcp-auth-visual > *:not(.rxcp-auth-visual-img) {
  position: relative;
  z-index: 1;
}

.rxcp-auth-visual .rxcp-logo {
  background: #fff;
  color: var(--rxcp-ruby);
}

.rxcp-auth-hero h1 {
  margin: 0;
  font-size: 31px;
  line-height: 1.04;
}

.rxcp-auth-hero p,
.rxcp-auth-link {
  color: var(--rxcp-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rxcp-auth-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--rxcp-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .84);
  padding: 16px;
  box-shadow: var(--rxcp-shadow);
}

.rxcp-auth-link {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.rxcp-auth-link a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--rxcp-ruby);
  font-weight: 850;
}

#tab-home.rxcp-screen.is-active {
  height: auto;
  min-height: calc(100dvh - 132px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  gap: 14px;
  overflow: visible;
}

#tab-home .rxcp-home-brand {
  margin: 0 0 8px;
}

#tab-home .rxcp-home-brand strong {
  font-size: clamp(34px, 10vw, 44px);
  line-height: .9;
  letter-spacing: 0;
}

#tab-home .rxcp-home-brand span {
  margin-top: 6px;
  color: var(--rxcp-ruby);
  font-size: 19px;
  line-height: 1;
  text-align: left;
}

#tab-home .rxcp-home-brand .rxcp-icon-btn {
  position: relative;
  width: 58px;
  height: 58px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(36, 16, 46, .08);
}

#tab-home .rxcp-home-brand .rxcp-icon-btn:after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rxcp-ruby);
}

#tab-home .rxcp-identity-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  margin-bottom: 0;
}

#tab-home .rxcp-photo-avatar {
  position: relative;
  width: 66px;
  height: 66px;
  border: 2px solid #fff;
  font-size: 22px;
}

#tab-home .rxcp-photo-avatar:after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 5px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--rxcp-bg);
  border-radius: 50%;
  background: #10a65a;
}

#tab-home .rxcp-identity-row h1 {
  font-size: clamp(24px, 7vw, 31px);
  line-height: .98;
}

#tab-home .rxcp-identity-row p {
  gap: 9px;
  font-size: 13px;
}

#tab-home .rxcp-identity-row p > span:last-child {
  position: relative;
  padding-left: 9px;
}

#tab-home .rxcp-identity-row p > span:last-child:before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(36, 16, 46, .18);
}

#tab-home .rxcp-home-status {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  border: 1px solid rgba(36, 16, 46, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  padding: 5px 6px 5px 14px;
}

#tab-home .rxcp-home-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

#tab-home .rxcp-home-notify {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(36, 16, 46, .08);
}

#tab-home .rxcp-home-notify:after {
  content: "";
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rxcp-ruby);
}

.rxcp-switch-mode {
  color: var(--rxcp-ink);
  font-size: 13px;
  font-weight: 750;
}

#tab-home .rxcp-switch {
  width: 54px;
  height: 32px;
}

#tab-home .rxcp-switch span:before {
  width: 24px;
  height: 24px;
}

#tab-home .rxcp-switch input:checked + span:before {
  transform: translateX(22px);
}

#tab-home .rxcp-next-object {
  min-height: 215px;
  border: 1px solid rgba(244, 177, 70, .6);
  border-bottom: 6px solid #f0b24c;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(49, 13, 60, .98), rgba(122, 11, 68, .98) 48%, rgba(214, 16, 82, .98)),
    radial-gradient(circle at 78% 34%, rgba(255, 255, 255, .12), transparent 34%);
  padding: 22px;
  box-shadow: 0 20px 40px rgba(200, 20, 82, .18);
}

#tab-home .rxcp-next-object:before {
  content: "";
  position: absolute;
  right: 24%;
  top: 28%;
  width: 104px;
  height: 104px;
  border: 10px solid rgba(255, 255, 255, .055);
  border-radius: 24px;
}

#tab-home .rxcp-next-object:after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -18%;
  width: 74%;
  height: 55%;
  border-top: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  transform: rotate(-8deg);
}

#tab-home .rxcp-next-copy {
  position: relative;
  z-index: 1;
}

#tab-home .rxcp-next-copy span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
}

#tab-home .rxcp-next-copy span b {
  color: #ffd56a;
  font-size: 18px;
}

#tab-home .rxcp-next-copy h2 {
  max-width: 70%;
  color: #fff;
  font-size: clamp(26px, 7.2vw, 34px);
  line-height: 1.05;
}

.rxcp-next-rule {
  display: block;
  width: 72px;
  height: 2px;
  margin: 20px 0 16px;
  background: linear-gradient(90deg, #ffe46d 0 58%, rgba(255, 255, 255, .38) 58%);
}

#tab-home .rxcp-next-copy .rxcp-next-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .94);
  font-size: 17px;
  line-height: 1.15;
}

#tab-home .rxcp-next-meta svg {
  width: 22px;
  height: 22px;
}

#tab-home .rxcp-next-arrow {
  z-index: 2;
  top: 58px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 24px rgba(36, 16, 46, .14);
}

.rxcp-next-action {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 2;
  min-width: 150px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: linear-gradient(135deg, #ee2d68, #d51d5b);
  color: #fff;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 24px rgba(36, 16, 46, .18);
}

button.rxcp-next-action {
  border: 1px solid rgba(255, 255, 255, .42);
}

#tab-home .rxcp-milestone-panel,
#tab-home .rxcp-home-quick-actions,
#tab-home .rxcp-snapshot-grid span,
#tab-home .rxcp-announcement-grid button {
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 26px rgba(36, 16, 46, .07);
}

#tab-home .rxcp-milestone-panel {
  border: 1px solid rgba(36, 16, 46, .08);
  border-radius: 20px;
  padding: 16px 16px 18px;
}

#tab-home .rxcp-rail-head {
  margin-bottom: 18px;
}

#tab-home .rxcp-rail-head strong,
#tab-home .rxcp-list-head h2 {
  font-size: 17px;
}

#tab-home .rxcp-rail-head span {
  color: var(--rxcp-ruby);
  font-size: 14px;
  font-weight: 900;
}

#tab-home .rxcp-milestone-rail {
  grid-auto-columns: minmax(64px, 1fr);
  gap: 8px;
}

#tab-home .rxcp-milestone-step {
  min-width: 64px;
  gap: 9px;
  color: var(--rxcp-ink);
  font-size: 11px;
  font-weight: 850;
}

#tab-home .rxcp-milestone-dot,
#tab-home .rxcp-milestone-button > span {
  width: 42px;
  height: 42px;
  border-color: rgba(36, 16, 46, .14);
  font-size: 18px;
}

#tab-home .rxcp-milestone-step:before {
  top: 20px;
  height: 2px;
  background: rgba(36, 16, 46, .11);
}

#tab-home .rxcp-milestone-step.is-current .rxcp-milestone-dot,
#tab-home .rxcp-milestone-step.is-current .rxcp-milestone-button > span {
  border-color: #ffb22f;
  color: var(--rxcp-ink);
  box-shadow: none;
}

#tab-home .rxcp-milestone-step.is-current strong {
  color: var(--rxcp-ruby);
}

#tab-home .rxcp-home-quick-actions {
  border: 1px solid rgba(36, 16, 46, .08);
  border-radius: 20px;
  padding: 14px;
  gap: 14px;
}

#tab-home .rxcp-home-quick-actions button {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 9px;
  border-color: rgba(200, 20, 82, .10);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 245, 249, .9), rgba(255, 255, 255, .94));
  padding: 10px 8px;
  text-align: center;
}

#tab-home .rxcp-home-quick-actions svg {
  width: 34px;
  height: 34px;
  color: var(--rxcp-ruby);
}

#tab-home .rxcp-home-quick-actions strong {
  font-size: 13px;
}

#tab-home .rxcp-home-quick-actions small {
  display: none;
}

#tab-home .rxcp-home-announcements,
#tab-home .rxcp-earnings-strip {
  margin-top: 0;
}

#tab-home .rxcp-home-announcements .rxcp-list-head,
#tab-home .rxcp-earnings-strip .rxcp-list-head {
  margin: 0 8px 10px;
}

#tab-home .rxcp-list-head button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--rxcp-ruby);
  font-size: 14px;
}

#tab-home .rxcp-list-head button:after {
  content: "›";
  font-size: 24px;
  line-height: 1;
}

#tab-home .rxcp-announcement-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#tab-home .rxcp-announcement-grid button {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(200, 20, 82, .11);
  border-radius: 18px;
  color: var(--rxcp-ink);
  padding: 12px;
  text-align: left;
}

#tab-home .rxcp-announcement-grid button:nth-child(2n) {
  border-color: rgba(123, 45, 201, .14);
  background: linear-gradient(145deg, rgba(248, 242, 255, .96), rgba(255, 255, 255, .9));
}

.rxcp-announcement-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(200, 20, 82, .10);
  color: var(--rxcp-ruby);
}

#tab-home .rxcp-announcement-grid button:nth-child(2n) .rxcp-announcement-icon {
  background: rgba(123, 45, 201, .10);
  color: #7330c8;
}

#tab-home .rxcp-announcement-grid button > svg {
  width: 18px;
  height: 18px;
  color: var(--rxcp-muted);
}

#tab-home .rxcp-announcement-grid strong {
  font-size: 15px;
}

#tab-home .rxcp-announcement-grid small {
  font-size: 12px;
}

#tab-home .rxcp-snapshot-grid {
  gap: 10px;
  margin-top: 0;
}

#tab-home .rxcp-snapshot-grid span {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: rgba(36, 16, 46, .07);
  border-radius: 17px;
  padding: 12px;
}

#tab-home .rxcp-snapshot-grid i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #11a35b;
  color: #fff;
  font-style: normal;
  font-size: 20px;
  font-weight: 900;
}

#tab-home .rxcp-snapshot-grid .is-collected i {
  background: #7930c9;
}

#tab-home .rxcp-snapshot-grid .is-pending i {
  background: #f39a26;
}

#tab-home .rxcp-snapshot-grid b {
  min-width: 0;
  display: block;
}

#tab-home .rxcp-snapshot-grid strong {
  font-size: 17px;
}

#tab-home .rxcp-snapshot-grid small {
  font-size: 11px;
}

.rxcp-bottom-nav {
  left: 50%;
  right: auto;
  bottom: 10px;
  width: min(calc(100% - 20px), 440px);
  transform: translateX(-50%);
  border: 1px solid rgba(36, 16, 46, .06);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(36, 16, 46, .10);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: .001ms !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 390px) {
  .rxcp-native-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  #tab-home.rxcp-screen.is-active {
    gap: 12px;
  }

  #tab-home .rxcp-home-brand strong {
    font-size: 32px;
  }

  #tab-home .rxcp-home-brand span {
    font-size: 17px;
  }

  #tab-home .rxcp-home-brand .rxcp-icon-btn {
    width: 52px;
    height: 52px;
  }

  #tab-home .rxcp-identity-row {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 10px;
  }

  #tab-home .rxcp-photo-avatar {
    width: 56px;
    height: 56px;
    font-size: 19px;
  }

  #tab-home .rxcp-identity-row h1 {
    font-size: 23px;
  }

  #tab-home .rxcp-identity-row p {
    gap: 6px;
    font-size: 11px;
  }

  #tab-home .rxcp-home-status {
    min-height: 38px;
    gap: 7px;
    padding-left: 11px;
  }

  .rxcp-switch-mode {
    font-size: 11px;
  }

  #tab-home .rxcp-switch {
    width: 48px;
    height: 28px;
  }

  #tab-home .rxcp-switch span:before {
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
  }

  #tab-home .rxcp-switch input:checked + span:before {
    transform: translateX(20px);
  }

  #tab-home .rxcp-next-object {
    min-height: 190px;
    padding: 18px;
  }

  #tab-home .rxcp-next-copy h2 {
    max-width: 68%;
    font-size: 25px;
  }

  #tab-home .rxcp-next-copy .rxcp-next-meta {
    font-size: 14px;
  }

  #tab-home .rxcp-next-arrow {
    top: 48px;
    right: 18px;
    width: 50px;
    height: 50px;
  }

  .rxcp-next-action {
    right: 18px;
    bottom: 20px;
    min-width: 128px;
    min-height: 44px;
    font-size: 14px;
  }

  #tab-home .rxcp-home-quick-actions {
    gap: 8px;
    padding: 10px;
  }

  #tab-home .rxcp-home-quick-actions button {
    min-height: 72px;
    gap: 6px;
    padding: 8px 4px;
  }

  #tab-home .rxcp-home-quick-actions svg {
    width: 27px;
    height: 27px;
  }

  #tab-home .rxcp-milestone-panel {
    padding: 13px 12px 14px;
  }

  #tab-home .rxcp-milestone-rail {
    grid-auto-columns: minmax(58px, 1fr);
    gap: 4px;
  }

  #tab-home .rxcp-milestone-step {
    min-width: 58px;
    font-size: 10px;
  }

  #tab-home .rxcp-milestone-dot,
  #tab-home .rxcp-milestone-button > span {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  #tab-home .rxcp-milestone-step:before {
    top: 17px;
  }

  #tab-home .rxcp-announcement-grid button {
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    gap: 8px;
    min-height: 66px;
    padding: 10px;
  }

  .rxcp-announcement-icon {
    width: 34px;
    height: 34px;
  }

  #tab-home .rxcp-announcement-grid strong {
    font-size: 12px;
  }

  #tab-home .rxcp-announcement-grid small {
    font-size: 10px;
  }

  #tab-home .rxcp-snapshot-grid span {
    min-height: 62px;
    gap: 7px;
    padding: 9px;
  }

  #tab-home .rxcp-snapshot-grid i {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }

  #tab-home .rxcp-snapshot-grid strong {
    font-size: 13px;
  }

  .rxcp-row-side {
    display: none;
  }

  .rxcp-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .rxcp-snapshot-grid,
  .rxcp-status-cards,
  .rxcp-setting-grid,
  .rxcp-payout-tile,
  .rxcp-payout-form-grid {
    grid-template-columns: 1fr;
  }

  #tab-home .rxcp-snapshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #tab-home .rxcp-announcement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rxcp-payout-tile span + span {
    border-left: 0;
    border-top: 1px solid rgba(36, 16, 46, .08);
  }
}

@media (max-width: 460px) {
  .rxcp-app {
    min-height: 100dvh;
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
    overflow-x: hidden;
  }

  .rxcp-native-content {
    padding: calc(10px + env(safe-area-inset-top)) 14px 8px;
  }

  #tab-home.rxcp-screen.is-active {
    height: calc(100dvh - 100px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: 0;
    gap: 7px;
    overflow: hidden;
  }

  #tab-home .rxcp-home-brand {
    min-height: 42px;
    margin: 0;
  }

  #tab-home .rxcp-home-brand strong {
    font-size: clamp(27px, 8vw, 32px);
  }

  #tab-home .rxcp-home-brand span {
    margin-top: 3px;
    font-size: 14px;
  }

  #tab-home .rxcp-home-brand .rxcp-icon-btn {
    width: 42px;
    height: 42px;
  }

  #tab-home .rxcp-home-brand .rxcp-icon-btn:after {
    top: 10px;
    right: 10px;
    width: 7px;
    height: 7px;
  }

  #tab-home .rxcp-identity-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 48px;
  }

  #tab-home .rxcp-photo-avatar {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  #tab-home .rxcp-photo-avatar:after {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  #tab-home .rxcp-identity-row h1 {
    margin-bottom: 4px;
    font-size: clamp(19px, 5.7vw, 23px);
  }

  #tab-home .rxcp-identity-row p {
    gap: 5px;
    font-size: 10px;
    line-height: 1;
  }

  #tab-home .rxcp-identity-row p svg {
    width: 12px;
    height: 12px;
  }

  #tab-home .rxcp-home-status {
    min-height: 32px;
    gap: 5px;
    padding: 4px 5px;
  }

  #tab-home .rxcp-switch-mode {
    display: none;
  }

  #tab-home .rxcp-home-actions {
    gap: 7px;
  }

  #tab-home .rxcp-switch {
    width: 40px;
    height: 24px;
  }

  #tab-home .rxcp-switch span:before {
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
  }

  #tab-home .rxcp-switch input:checked + span:before {
    transform: translateX(16px);
  }

  #tab-home .rxcp-home-notify {
    width: 34px;
    height: 34px;
  }

  #tab-home .rxcp-home-notify svg {
    width: 17px;
    height: 17px;
  }

  #tab-home .rxcp-next-object {
    height: 146px;
    min-height: 146px;
    border-bottom-width: 4px;
    border-radius: 20px;
    padding: 13px;
  }

  #tab-home .rxcp-next-copy span {
    gap: 6px;
    margin-bottom: 7px;
    font-size: 12px;
  }

  #tab-home .rxcp-next-copy h2 {
    max-width: 67%;
    font-size: clamp(20px, 6vw, 24px);
  }

  #tab-home .rxcp-next-rule {
    width: 48px;
    height: 2px;
    margin: 10px 0 8px;
  }

  #tab-home .rxcp-next-copy .rxcp-next-meta {
    gap: 7px;
    margin-bottom: 7px;
    font-size: 12px;
  }

  #tab-home .rxcp-next-meta svg {
    width: 16px;
    height: 16px;
  }

  #tab-home .rxcp-next-arrow {
    top: 34px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 16px;
  }

  #tab-home .rxcp-next-action {
    right: 13px;
    bottom: 13px;
    min-width: 108px;
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }

  #tab-home .rxcp-milestone-panel {
    border-radius: 16px;
    padding: 9px 10px 10px;
  }

  #tab-home .rxcp-rail-head {
    margin-bottom: 7px;
  }

  #tab-home .rxcp-rail-head strong,
  #tab-home .rxcp-list-head h2 {
    font-size: 13px;
  }

  #tab-home .rxcp-rail-head span {
    font-size: 12px;
  }

  #tab-home .rxcp-milestone-rail {
    grid-auto-columns: minmax(48px, 1fr);
    gap: 3px;
  }

  #tab-home .rxcp-milestone-step {
    min-width: 48px;
    gap: 4px;
    font-size: 8.5px;
  }

  #tab-home .rxcp-milestone-dot,
  #tab-home .rxcp-milestone-button > span {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  #tab-home .rxcp-milestone-step:before {
    top: 13px;
  }

  #tab-home .rxcp-milestone-step strong {
    max-width: 50px;
    line-height: 1.06;
  }

  #tab-home .rxcp-home-quick-actions {
    border-radius: 16px;
    gap: 7px;
    padding: 8px;
  }

  #tab-home .rxcp-home-quick-actions button {
    min-height: 56px;
    border-radius: 14px;
    gap: 5px;
    padding: 6px 3px;
  }

  #tab-home .rxcp-home-quick-actions svg {
    width: 22px;
    height: 22px;
  }

  #tab-home .rxcp-home-quick-actions strong {
    font-size: 10px;
  }

  #tab-home .rxcp-home-announcements .rxcp-list-head,
  #tab-home .rxcp-earnings-strip .rxcp-list-head {
    margin: 0 6px 5px;
  }

  #tab-home .rxcp-list-head button {
    font-size: 11px;
  }

  #tab-home .rxcp-list-head button:after {
    font-size: 18px;
  }

  #tab-home .rxcp-announcement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  #tab-home .rxcp-announcement-grid button {
    min-height: 50px;
    grid-template-columns: 28px minmax(0, 1fr) 12px;
    gap: 7px;
    border-radius: 14px;
    padding: 8px;
  }

  #tab-home .rxcp-announcement-icon {
    width: 28px;
    height: 28px;
  }

  #tab-home .rxcp-announcement-icon svg {
    width: 15px;
    height: 15px;
  }

  #tab-home .rxcp-announcement-grid strong {
    font-size: 10.5px;
  }

  #tab-home .rxcp-announcement-grid small {
    margin-top: 2px;
    font-size: 9px;
  }

  #tab-home .rxcp-announcement-grid button > svg {
    width: 13px;
    height: 13px;
  }

  #tab-home .rxcp-snapshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  #tab-home .rxcp-snapshot-grid span {
    min-height: 50px;
    border-radius: 14px;
    gap: 6px;
    padding: 7px;
  }

  #tab-home .rxcp-snapshot-grid i {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  #tab-home .rxcp-snapshot-grid strong {
    font-size: 10.5px;
  }

  #tab-home .rxcp-snapshot-grid small {
    margin-top: 2px;
    font-size: 8px;
  }

  .rxcp-bottom-nav {
    bottom: 7px;
    border-radius: 22px;
    padding: 6px 9px calc(7px + env(safe-area-inset-bottom));
  }

  .rxcp-bottom-nav button {
    min-height: 46px;
    font-size: 10px;
  }

  .rxcp-bottom-nav svg {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 460px) and (min-height: 850px) {
  #tab-home.rxcp-screen.is-active {
    gap: 9px;
  }

  #tab-home .rxcp-next-object {
    height: 158px;
    min-height: 158px;
  }

  #tab-home .rxcp-milestone-panel {
    padding-top: 11px;
    padding-bottom: 12px;
  }

  #tab-home .rxcp-home-quick-actions button {
    min-height: 62px;
  }

  #tab-home .rxcp-announcement-grid button {
    min-height: 56px;
  }

  #tab-home .rxcp-snapshot-grid span {
    min-height: 56px;
  }
}

@media (max-width: 460px) {
  .rxcp-app {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .rxcp-native-content {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  #tab-home.rxcp-screen.is-active {
    height: auto;
    min-height: 0;
    gap: 10px;
    overflow: visible;
  }

  #tab-home .rxcp-next-object {
    height: auto;
    min-height: 176px;
    overflow: hidden;
  }

  #tab-home .rxcp-next-copy h2 {
    max-width: 66%;
    font-size: clamp(22px, 6.6vw, 28px);
  }

  #tab-home .rxcp-next-rule {
    margin: 12px 0 10px;
  }

  #tab-home .rxcp-next-copy .rxcp-next-meta {
    margin-bottom: 8px;
    white-space: nowrap;
  }

  #tab-home .rxcp-next-action {
    bottom: 14px;
  }

  #tab-home .rxcp-milestone-rail {
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: visible;
  }

  #tab-home .rxcp-milestone-step {
    min-width: 0;
  }

  #tab-home .rxcp-milestone-step strong {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
  }

  #tab-home .rxcp-announcement-grid button > span:not(.rxcp-announcement-icon) {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  #tab-home .rxcp-announcement-grid button > span:not(.rxcp-announcement-icon) strong,
  #tab-home .rxcp-announcement-grid button > span:not(.rxcp-announcement-icon) small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rxcp-bottom-nav span {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
}

/* Creator Home progress rail */
.rxcp-milestone-panel {
  --rxcp-rail-fill: 0%;
}

.rxcp-milestone-panel.is-progress-0,
.rxcp-milestone-panel.is-progress-1 {
  --rxcp-rail-fill: 0%;
}

.rxcp-milestone-panel.is-progress-2 {
  --rxcp-rail-fill: 14.2857%;
}

.rxcp-milestone-panel.is-progress-3 {
  --rxcp-rail-fill: 28.5714%;
}

.rxcp-milestone-panel.is-progress-4 {
  --rxcp-rail-fill: 42.8571%;
}

.rxcp-milestone-panel.is-progress-5 {
  --rxcp-rail-fill: 57.1428%;
}

.rxcp-milestone-panel.is-progress-6 {
  --rxcp-rail-fill: 71.4285%;
}

.rxcp-milestone-panel.is-progress-7 {
  --rxcp-rail-fill: 85.7142%;
}

#tab-home .rxcp-milestone-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(200, 20, 82, .10);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 249, 252, .92));
  box-shadow: 0 16px 34px rgba(36, 16, 46, .08), inset 0 1px 0 rgba(255, 255, 255, .84);
}

#tab-home .rxcp-milestone-panel:after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 178, 47, .62), transparent);
  pointer-events: none;
}

#tab-home .rxcp-rail-head {
  align-items: center;
  margin-bottom: 12px;
}

#tab-home .rxcp-rail-head strong {
  font-size: clamp(13px, 3.5vw, 17px);
  letter-spacing: 0;
}

#tab-home .rxcp-rail-head span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(200, 20, 82, .08);
  padding: 0 9px;
  font-size: clamp(11px, 3vw, 14px);
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(200, 20, 82, .08);
}

#tab-home .rxcp-milestone-rail {
  position: relative;
  display: grid;
  grid-auto-flow: unset;
  grid-auto-columns: unset;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  isolation: isolate;
  overflow: visible;
  padding: 2px 0 0;
}

#tab-home .rxcp-milestone-rail:before,
#tab-home .rxcp-milestone-rail:after {
  content: "";
  position: absolute;
  top: clamp(14px, 3.8vw, 21px);
  left: 7.142857%;
  height: 5px;
  border-radius: 999px;
  pointer-events: none;
}

#tab-home .rxcp-milestone-rail:before {
  right: 7.142857%;
  background: linear-gradient(90deg, rgba(36, 16, 46, .08), rgba(36, 16, 46, .14), rgba(36, 16, 46, .08));
  box-shadow: inset 0 1px 1px rgba(36, 16, 46, .06);
}

#tab-home .rxcp-milestone-rail:after {
  width: var(--rxcp-rail-fill);
  background: linear-gradient(90deg, var(--rxcp-ruby), #e91f63 58%, #ffb22f);
  box-shadow: 0 5px 14px rgba(200, 20, 82, .24);
  transition: width .28s ease;
}

#tab-home .rxcp-milestone-step {
  z-index: 1;
  min-width: 0;
  gap: 6px;
  color: rgba(36, 16, 46, .72);
  font-size: 10px;
}

#tab-home .rxcp-milestone-step:before {
  display: none;
}

#tab-home .rxcp-milestone-dot,
#tab-home .rxcp-milestone-button > span {
  width: clamp(30px, 7.4vw, 42px);
  height: clamp(30px, 7.4vw, 42px);
  border: 2px solid #fff;
  background: linear-gradient(180deg, #fff, #fff8fb);
  color: var(--rxcp-ink);
  font-size: clamp(12px, 3.4vw, 18px);
  box-shadow: 0 0 0 1px rgba(36, 16, 46, .11), 0 9px 18px rgba(36, 16, 46, .09);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

#tab-home .rxcp-milestone-step.is-done .rxcp-milestone-dot,
#tab-home .rxcp-milestone-step.is-done .rxcp-milestone-button > span {
  border-color: #fff;
  background: linear-gradient(135deg, var(--rxcp-ruby), #e91f63 62%, #ff7a49);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(200, 20, 82, .11), 0 11px 20px rgba(200, 20, 82, .20);
}

#tab-home .rxcp-milestone-step.is-current .rxcp-milestone-dot,
#tab-home .rxcp-milestone-step.is-current .rxcp-milestone-button > span {
  border-color: #fff;
  background: #fff;
  color: var(--rxcp-ink);
  box-shadow: 0 0 0 2px #ffb22f, 0 0 0 8px rgba(255, 178, 47, .13), 0 12px 22px rgba(200, 20, 82, .12);
}

#tab-home .rxcp-milestone-button:active > span {
  transform: scale(.96);
}

#tab-home .rxcp-milestone-step strong {
  max-width: min(62px, 100%);
  display: block;
  margin: 0 auto;
  overflow: visible;
  color: var(--rxcp-ink);
  font-size: clamp(8.5px, 2.35vw, 11px);
  line-height: 1.06;
  text-overflow: clip;
  white-space: normal;
  -webkit-line-clamp: initial;
}

#tab-home .rxcp-milestone-step.is-current strong,
#tab-home .rxcp-milestone-step.is-done strong {
  color: var(--rxcp-ruby);
}

@media (max-width: 380px) {
  #tab-home .rxcp-milestone-rail:before,
  #tab-home .rxcp-milestone-rail:after {
    top: 14px;
    height: 4px;
  }

  #tab-home .rxcp-milestone-step {
    gap: 4px;
  }

  #tab-home .rxcp-milestone-step strong {
    max-width: 48px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tab-home .rxcp-milestone-rail:after,
  #tab-home .rxcp-milestone-dot,
  #tab-home .rxcp-milestone-button > span {
    transition: none;
  }
}

/* Creator Home v2 */
#tab-home.rxcp-screen.is-active {
  min-height: calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow: visible;
}

.rxcp-app:has(#tab-home.rxcp-screen.is-active) {
  padding-bottom: 0;
}

.rxcp-native-content:has(#tab-home.rxcp-screen.is-active) {
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

.rxcp-home-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  border-radius: 30px;
  background:
    linear-gradient(155deg, rgba(37, 10, 48, .98), rgba(83, 13, 57, .98) 54%, rgba(200, 20, 82, .98)),
    linear-gradient(90deg, rgba(255, 255, 255, .06), transparent);
  color: #fff;
  padding: 22px;
  box-shadow: 0 24px 50px rgba(36, 16, 46, .22);
}

.rxcp-home-hero:before {
  content: "";
  position: absolute;
  inset: auto -18% -28% 20%;
  height: 45%;
  border-top: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.rxcp-home-hero-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 14px;
}

#tab-home .rxcp-home-hero .rxcp-photo-avatar {
  width: 66px;
  height: 66px;
  border: 2px solid rgba(255, 255, 255, .74);
  background: #2b073b;
  box-shadow: none;
}

#tab-home .rxcp-home-hero .rxcp-photo-avatar:after {
  border-color: #2b073b;
  background: rgba(255, 255, 255, .42);
}

#tab-home .rxcp-home-hero .rxcp-photo-avatar.is-online:after {
  background: #20c26b;
}

.rxcp-home-hello {
  min-width: 0;
}

.rxcp-home-hello > span,
.rxcp-home-earnings span,
.rxcp-home-next span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 750;
}

.rxcp-home-hello h1 {
  margin: 1px 0 5px;
  overflow: hidden;
  color: #fff;
  font-size: clamp(28px, 7vw, 36px);
  line-height: .96;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-home-hello p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 750;
}

.rxcp-home-hello p i {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .24);
}

.rxcp-home-hello p span:last-child {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-home-hello .rxcp-status-dot {
  background: rgba(255, 255, 255, .46);
}

.rxcp-home-hello .rxcp-status-dot.is-online {
  background: #20c26b;
}

.rxcp-home-hello .rxcp-live-label,
.rxcp-home-hello .rxcp-live-label.is-online {
  color: #fff;
}

#tab-home .rxcp-home-notify {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  box-shadow: none;
}

#tab-home .rxcp-home-notify:after {
  top: 12px;
  right: 12px;
  background: #ff2e74;
}

.rxcp-home-earnings {
  position: relative;
  z-index: 1;
}

.rxcp-home-earnings strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(34px, 9vw, 46px);
  line-height: 1;
}

.rxcp-home-status-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 22px;
  background: rgba(13, 12, 16, .62);
  padding: 15px 16px;
}

.rxcp-home-status-card strong,
.rxcp-home-status-card small {
  display: block;
}

.rxcp-home-status-card strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
}

.rxcp-home-status-card small {
  margin-top: 5px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 700;
}

#tab-home .rxcp-home-status {
  display: block;
  min-height: 0;
  margin: 0;
  border: 0;
  background: none;
  padding: 0;
}

#tab-home .rxcp-home-status .rxcp-switch {
  width: 58px;
  height: 34px;
}

#tab-home .rxcp-home-status .rxcp-switch span {
  background: rgba(255, 255, 255, .18);
}

#tab-home .rxcp-home-status .rxcp-switch input:checked + span {
  background: #18a75c;
}

#tab-home .rxcp-home-status .rxcp-switch span:before {
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
}

#tab-home .rxcp-home-status .rxcp-switch input:checked + span:before {
  transform: translateX(24px);
}

.rxcp-home-next {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 13px 14px;
  text-align: left;
  text-decoration: none;
}

button.rxcp-home-next {
  width: 100%;
  appearance: none;
}

.rxcp-home-next strong,
.rxcp-home-next small {
  min-width: 0;
  display: block;
  overflow: hidden;
  grid-column: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-home-next strong {
  color: #fff;
  font-size: 15px;
}

.rxcp-home-next small {
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
  font-weight: 700;
}

.rxcp-home-next em {
  min-height: 34px;
  display: inline-flex;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #fff;
  color: var(--rxcp-ruby);
  padding: 0 11px 0 14px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.rxcp-home-next em svg {
  width: 15px;
  height: 15px;
}

#tab-home .rxcp-home-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(36, 16, 46, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  padding: 10px;
  box-shadow: 0 14px 34px rgba(36, 16, 46, .08);
}

#tab-home .rxcp-home-quick-actions button {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 8px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--rxcp-ink);
  padding: 8px 4px;
  text-align: center;
}

#tab-home .rxcp-home-quick-actions button:active {
  background: rgba(200, 20, 82, .08);
  transform: scale(.98);
}

#tab-home .rxcp-home-quick-actions svg {
  width: 28px;
  height: 28px;
  color: var(--rxcp-ruby);
}

#tab-home .rxcp-home-quick-actions strong {
  font-size: 12px;
}

#tab-home .rxcp-home-quick-actions small {
  display: none;
}

.rxcp-home-recent {
  min-width: 0;
}

#tab-home .rxcp-home-recent .rxcp-list-head {
  margin: 1px 4px 8px;
}

#tab-home .rxcp-home-recent .rxcp-list-head h2 {
  font-size: 18px;
}

.rxcp-home-recent-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-top: 1px solid rgba(36, 16, 46, .08);
  border-bottom: 1px solid rgba(36, 16, 46, .08);
}

.rxcp-home-recent-row a {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(36, 16, 46, .08);
  color: var(--rxcp-ink);
  padding: 10px 2px;
  text-decoration: none;
}

.rxcp-home-recent-row:last-child a {
  border-bottom: 0;
}

.rxcp-home-recent-thumb,
.rxcp-home-recent-thumb img {
  width: 56px;
  height: 56px;
  display: block;
  border-radius: 16px;
}

.rxcp-home-recent-thumb {
  overflow: hidden;
  background: rgba(36, 16, 46, .06);
}

.rxcp-home-recent-thumb img {
  object-fit: cover;
}

.rxcp-home-recent-copy {
  min-width: 0;
}

.rxcp-home-recent-copy strong,
.rxcp-home-recent-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rxcp-home-recent-copy strong {
  font-size: 14px;
  line-height: 1.2;
}

.rxcp-home-recent-copy small {
  margin-top: 5px;
  color: var(--rxcp-muted);
  font-size: 11px;
  font-weight: 700;
}

.rxcp-home-recent-state {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(20, 120, 70, .10);
  color: var(--rxcp-green);
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 390px) {
  .rxcp-home-hero {
    gap: 12px;
    border-radius: 26px;
    padding: 18px;
  }

  .rxcp-home-hero-top {
    grid-template-columns: 56px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  #tab-home .rxcp-home-hero .rxcp-photo-avatar {
    width: 56px;
    height: 56px;
    font-size: 19px;
  }

  .rxcp-home-hello h1 {
    font-size: 27px;
  }

  .rxcp-home-earnings strong {
    font-size: 36px;
  }

  .rxcp-home-status-card {
    border-radius: 19px;
    padding: 13px;
  }

  .rxcp-home-status-card strong {
    font-size: 16px;
  }

  .rxcp-home-next {
    border-radius: 18px;
    padding: 12px;
  }

  .rxcp-home-next strong {
    font-size: 13px;
  }

  .rxcp-home-next em {
    min-height: 32px;
    padding: 0 9px 0 11px;
    font-size: 11px;
  }

  #tab-home .rxcp-home-quick-actions {
    border-radius: 20px;
    padding: 8px;
  }

  #tab-home .rxcp-home-quick-actions button {
    min-height: 68px;
    border-radius: 15px;
    gap: 6px;
  }

  #tab-home .rxcp-home-quick-actions svg {
    width: 24px;
    height: 24px;
  }

  #tab-home .rxcp-home-quick-actions strong {
    font-size: 10.5px;
  }

  .rxcp-home-recent-row a {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 70px;
    gap: 10px;
    padding: 9px 0;
  }

  .rxcp-home-recent-thumb,
  .rxcp-home-recent-thumb img {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .rxcp-home-recent-state {
    display: none;
  }
}

@media (max-width: 640px) {
  html:has(.rxcp-app:not(:has(.rxcp-auth))),
  .rxcp-body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    width: 100%;
  }

  .rxcp-app {
    position: fixed;
    inset: 0;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    padding-bottom: 0;
    overscroll-behavior: none;
    touch-action: pan-y;
  }

  .rxcp-native-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    overflow-x: hidden;
    padding: calc(10px + env(safe-area-inset-top)) 12px calc(78px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .rxcp-screen.is-active,
  #tab-home.rxcp-screen.is-active {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    gap: 9px;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  #tab-home .rxcp-home-hero,
  #tab-home .rxcp-home-quick-actions,
  #tab-home .rxcp-home-recent,
  .rxcp-wallet-hero,
  .rxcp-profile-pass,
  .rxcp-community-hero {
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(36, 16, 46, .07);
  }

  #tab-home .rxcp-home-hero {
    min-height: 0;
    padding: 13px;
  }

  #tab-home .rxcp-home-hero-top {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 10px;
  }

  #tab-home .rxcp-home-hero .rxcp-photo-avatar {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .rxcp-home-hello h1 {
    font-size: 24px;
    line-height: 1.02;
  }

  .rxcp-home-hello p,
  .rxcp-home-status-card small,
  .rxcp-home-next small {
    font-size: 11.5px;
  }

  .rxcp-home-earnings {
    margin-top: 10px;
  }

  .rxcp-home-earnings strong {
    font-size: 31px;
  }

  .rxcp-home-status-card {
    margin-top: 10px;
    padding: 10px 11px;
    border-radius: 16px;
  }

  .rxcp-home-status-card strong {
    font-size: 15px;
  }

  .rxcp-home-next {
    min-height: 0;
    padding: 11px;
    border-radius: 16px;
  }

  .rxcp-home-next strong {
    font-size: 13px;
    line-height: 1.22;
  }

  .rxcp-home-next em {
    min-height: 31px;
    padding: 0 10px;
    font-size: 11px;
  }

  #tab-home .rxcp-home-quick-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
    border-radius: 18px;
  }

  #tab-home .rxcp-home-quick-actions button {
    min-height: 60px;
    padding: 7px 4px;
    border-radius: 14px;
  }

  #tab-home .rxcp-home-quick-actions svg {
    width: 22px;
    height: 22px;
  }

  #tab-home .rxcp-home-quick-actions small {
    display: none;
  }

  .rxcp-list-head {
    margin-bottom: 8px;
  }

  .rxcp-list-head h2,
  .rxcp-screen-head h2,
  .rxcp-transactions h2,
  .rxcp-account-tiles h2 {
    font-size: 19px;
  }

  .rxcp-home-recent {
    padding: 11px;
  }

  .rxcp-home-recent-row a {
    min-height: 62px;
    padding: 8px 0;
  }

  .rxcp-bottom-nav {
    left: 10px;
    right: 10px;
    bottom: 8px;
    width: auto;
    transform: none;
    border: 1px solid rgba(36, 16, 46, .08);
    border-radius: 24px;
    padding: 6px 7px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 28px rgba(36, 16, 46, .08);
  }

  .rxcp-bottom-nav button {
    min-height: 48px;
    border-radius: 17px;
    font-size: 10.5px;
  }

  .rxcp-bottom-nav svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 640px) {
  .rxcp-body:has(.rxcp-auth) {
    height: auto;
    min-height: 100%;
    overscroll-behavior: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .rxcp-body-auth {
    height: auto;
    min-height: 100%;
    overscroll-behavior: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .rxcp-app:has(.rxcp-auth) {
    position: relative;
    inset: auto;
    height: auto;
    max-height: none;
    min-height: 100dvh;
    overflow: visible;
    padding-bottom: 0;
    overscroll-behavior: auto;
    touch-action: auto;
  }

  .rxcp-body-auth .rxcp-app {
    position: relative;
    inset: auto;
    height: auto;
    max-height: none;
    min-height: 100dvh;
    overflow: visible;
    padding-bottom: 0;
    overscroll-behavior: auto;
    touch-action: auto;
  }

  .rxcp-auth {
    min-height: auto;
    gap: 12px;
    padding: calc(14px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom));
  }

  .rxcp-auth-visual {
    min-height: clamp(168px, 46vw, 210px);
    border-radius: 26px;
    padding: 16px;
  }

  .rxcp-auth-visual .rxcp-logo {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .rxcp-auth-visual strong {
    font-size: 17px;
    line-height: 1.05;
  }

  .rxcp-auth-visual span {
    font-size: 12px;
  }

  .rxcp-auth-hero h1 {
    max-width: 11ch;
    font-size: clamp(30px, 8.7vw, 38px);
    line-height: 1.05;
  }

  .rxcp-auth-hero p,
  .rxcp-auth-link {
    font-size: 14px;
  }

  .rxcp-auth-card {
    gap: 11px;
    border-radius: 22px;
    padding: 14px;
  }

  .rxcp-auth .rxcp-two {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .rxcp-auth .rxcp-field input,
  .rxcp-auth .rxcp-field select,
  .rxcp-auth .rxcp-field textarea,
  .rxcp-auth .rxcp-password-wrap {
    width: 100%;
    min-width: 0;
  }

  .rxcp-auth input:not([type="hidden"]),
  .rxcp-auth select,
  .rxcp-auth textarea,
  .rxcp-sheet input:not([type="hidden"]),
  .rxcp-sheet select,
  .rxcp-sheet textarea {
    font-size: 16px;
    line-height: 1.25;
  }
}

@media (max-width: 380px) {
  .rxcp-auth {
    padding-left: 14px;
    padding-right: 14px;
  }

  .rxcp-auth-visual {
    min-height: 158px;
    border-radius: 24px;
  }

  .rxcp-auth-hero h1 {
    font-size: 29px;
  }

  .rxcp-auth-card {
    padding: 12px;
  }
}
