:root {
  --page: #edf2f8;
  --app-bg: #f8f6f1;
  --card: #ffffff;
  --ink: #302b28;
  --muted: #91877b;
  --faint: #b8b0a7;
  --line: #eee9e1;
  --primary: #6172ed;
  --primary-deep: #4658d3;
  --blue-soft: #edf1ff;
  --coral: #ff6375;
  --coral-soft: #fff0f2;
  --amber: #f49b18;
  --amber-soft: #fff8e8;
  --violet: #835ff0;
  --violet-soft: #f2efff;
  --green: #16b47c;
  --green-soft: #eafaf3;
  --red: #ea3737;
  --red-soft: #fff0f0;
  --shadow: 0 24px 64px rgba(53, 65, 89, 0.17);
  --card-shadow: 0 8px 24px rgba(75, 64, 49, 0.055);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  border: 0;
  padding: 0;
  color: inherit;
  background: none;
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(97, 114, 237, 0.24);
  outline-offset: 2px;
}

svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.prototype-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 410px minmax(280px, 340px);
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.phone-shell {
  position: relative;
  width: 390px;
  height: 844px;
  overflow: hidden;
  border: 9px solid #15191f;
  border-radius: 38px;
  background: var(--app-bg);
  box-shadow: var(--shadow);
}

.app-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--app-bg);
}

.status-bar {
  position: relative;
  z-index: 12;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 21px 0;
  color: #171717;
  background: #fbfaf6;
  font-size: 13px;
  font-weight: 800;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.signal {
  height: 13px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.signal i {
  width: 3px;
  border-radius: 2px;
  background: #171717;
}

.signal i:nth-child(1) { height: 4px; }
.signal i:nth-child(2) { height: 7px; }
.signal i:nth-child(3) { height: 10px; }
.signal i:nth-child(4) { height: 13px; }

.wifi {
  position: relative;
  width: 17px;
  height: 12px;
  overflow: hidden;
}

.wifi::before,
.wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 2px solid #171717;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.wifi::before {
  top: -7px;
  width: 18px;
  height: 18px;
}

.wifi::after {
  top: 1px;
  width: 7px;
  height: 7px;
}

.battery {
  position: relative;
  width: 22px;
  height: 11px;
  border: 1.8px solid #171717;
  border-radius: 3px;
}

.battery::before {
  content: "";
  position: absolute;
  inset: 1.5px 4px 1.5px 1.5px;
  border-radius: 1px;
  background: #171717;
}

.battery::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -4px;
  width: 2px;
  height: 5px;
  border-radius: 0 2px 2px 0;
  background: #171717;
}

.app-header {
  position: relative;
  z-index: 10;
  flex: 0 0 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 12px 18px;
  background: rgba(251, 250, 246, 0.97);
  border-bottom: 1px solid rgba(231, 226, 217, 0.72);
}

.header-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-copy h1 {
  margin: 0;
  color: #282421;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.phase-chip {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border-radius: 8px;
  color: #795b21;
  background: #fff2d4;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.phase-chip.pro {
  color: #4a57b4;
  background: #ebedff;
}

.phase-chip.complete {
  color: #087d55;
  background: var(--green-soft);
}

.phase-chip svg {
  width: 14px;
  height: 14px;
}

.phase-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2a026;
}

.phase-chip.pro .phase-dot {
  background: var(--primary);
}

.phase-chip.complete .phase-dot {
  background: var(--green);
}

.icon-button {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #ece7df;
  border-radius: 50%;
  background: #fff;
}

.icon-button.small {
  width: 32px;
  height: 32px;
}

.icon-button.small svg {
  width: 17px;
  height: 17px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: var(--coral);
}

.app-scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px 14px 122px;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.app-scroll::-webkit-scrollbar {
  display: none;
}

.uid-search-card {
  margin-bottom: 12px;
  padding: 13px;
  border: 1px solid rgba(235, 230, 221, 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.search-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.search-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: var(--blue-soft);
}

.search-icon svg {
  width: 18px;
  height: 18px;
}

.search-heading div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.search-heading strong {
  font-size: 15px;
  line-height: 1.15;
}

.search-heading span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.uid-form {
  height: 43px;
  display: grid;
  grid-template-columns: 1fr 39px;
  gap: 5px;
  padding: 4px;
  border: 1px solid #ece7de;
  border-radius: 10px;
  background: #faf9f6;
}

.uid-form:focus-within {
  border-color: rgba(97, 114, 237, 0.55);
  box-shadow: 0 0 0 3px rgba(97, 114, 237, 0.1);
}

.uid-form input {
  min-width: 0;
  padding: 0 10px;
  outline: 0;
  color: #38322e;
  font-size: 14px;
}

.uid-form input::placeholder {
  color: #bbb3aa;
}

.uid-form button {
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
}

.uid-form button:active {
  transform: scale(0.96);
}

.uid-form button svg {
  width: 18px;
  height: 18px;
}

.field-error {
  min-height: 0;
  margin: 0;
  color: var(--red);
  font-size: 11px;
  line-height: 1.35;
}

.field-error:not(:empty) {
  margin-top: 7px;
}

.view.is-hidden {
  display: none;
}

.section-block,
.newbie-stage-card,
.income-card,
.annual-master-card,
.unlock-card,
.reward-guide-card,
.pro-quick-card {
  margin-bottom: 12px;
}

.newbie-stage-card {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #f2e4c1;
  border-radius: 20px;
  background: #fff8e9;
  box-shadow: var(--card-shadow);
}

.stage-copy {
  min-width: 0;
}

.section-kicker {
  display: block;
  margin-bottom: 4px;
  color: #a77b28;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 750;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.74);
}

.newbie-stage-card h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.newbie-stage-card p {
  margin: 4px 0 0;
  color: #8a7c66;
  font-size: 10px;
  line-height: 1.4;
}

.reading-progress {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 5px solid #f0b746;
  border-right-color: #f5e8c7;
  border-radius: 50%;
  background: #fff;
}

.reading-progress strong {
  font-size: 19px;
  line-height: 1;
}

.reading-progress span {
  margin-top: 2px;
  color: #9a886a;
  font-size: 8px;
}

.section-block {
  padding: 16px 13px;
  border: 1px solid rgba(235, 230, 221, 0.9);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.section-heading h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.compact-heading {
  align-items: center;
}

.soft-badge {
  max-width: 116px;
  padding: 4px 6px;
  border-radius: 7px;
  color: #826d5d;
  background: #f7f3ed;
  font-size: 8px;
  line-height: 1.35;
  text-align: right;
}

.tip-list {
  display: grid;
  gap: 6px;
}

.tip-card {
  min-height: 56px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 12px;
}

.tip-pink { background: #fff0f3; }
.tip-amber { background: #fff9ea; }
.tip-violet { background: #f3f1ff; }
.tip-red { background: #fff1f1; }

.tip-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
}

.tip-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.3;
}

.tip-pink .tip-icon,
.tip-pink h3 { color: #f34e6c; }
.tip-amber .tip-icon,
.tip-amber h3 { color: #f09500; }
.tip-violet .tip-icon,
.tip-violet h3 { color: #7a58e9; }
.tip-red .tip-icon,
.tip-red h3 { color: #dd2e2e; }

.tip-card h3 {
  margin: 0 0 2px;
  font-size: 13px;
  line-height: 1.2;
}

.tip-card p {
  margin: 0;
  color: #8f8276;
  display: -webkit-box;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.official-section,
.quick-section {
  padding: 12px;
}

.official-section .section-heading,
.quick-section .section-heading {
  margin-bottom: 8px;
}

.official-section .section-heading h2,
.quick-section .section-heading h2 {
  font-size: 17px;
}

.quick-section .quick-row {
  min-height: 58px;
  padding: 7px 10px;
}

.quick-section .quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.quick-section .quick-icon svg {
  width: 19px;
  height: 19px;
}

.quick-entry-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.quick-row {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-align: left;
  background: #fff;
}

.quick-row + .quick-row {
  border-top: 1px solid var(--line);
}

.quick-row.is-disabled {
  color: #c2c1bf;
  background: #fcfbfa;
}

.quick-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}

.quick-icon svg {
  width: 22px;
  height: 22px;
}

.quick-icon.blue {
  color: var(--primary);
  background: var(--blue-soft);
}

.quick-icon.coral {
  color: var(--coral);
  background: var(--coral-soft);
}

.quick-row.is-disabled .quick-icon {
  color: #c7c8ca;
  background: #f0f0f0;
}

.quick-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.quick-copy strong {
  font-size: 15px;
  line-height: 1.15;
}

.quick-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.quick-row.is-disabled .quick-copy small {
  color: #c4c1bd;
}

.toggle {
  position: relative;
  width: 43px;
  height: 25px;
  border-radius: 13px;
  background: #d9dde4;
  transition: background 180ms ease;
}

.toggle i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(30, 35, 45, 0.22);
  transition: transform 180ms ease;
}

.toggle.on {
  background: var(--primary);
}

.toggle.on i {
  transform: translateX(18px);
}

.row-chevron {
  color: #b9b5af;
}

.row-chevron svg {
  width: 19px;
  height: 19px;
}

.rule-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.rule-item {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 40px 1fr auto 16px;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  text-align: left;
  background: #fff;
}

.rule-item + .rule-item {
  border-top: 1px solid var(--line);
}

.rule-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.rule-icon svg {
  width: 19px;
  height: 19px;
}

.rule-icon.violet { color: #725ded; background: #f1efff; }
.rule-icon.indigo { color: #6165ed; background: #eef0ff; }
.rule-icon.amber { color: #ef9805; background: #fff6e6; }
.rule-icon.pink { color: #f24d86; background: #fff0f5; }
.rule-icon.green { color: #10a875; background: #eaf9f3; }
.rule-icon.coral { color: #f65a64; background: #fff0f1; }

.rule-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.rule-copy strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rule-copy small {
  color: var(--muted);
  font-size: 10px;
}

.read-tag {
  min-width: 37px;
  padding: 4px 6px;
  border-radius: 6px;
  color: #e75262;
  background: #fff0f2;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
}

.read-tag.is-read {
  color: #069f6c;
  background: #eafaf4;
}

.rule-chevron {
  color: #aa9d8e;
}

.rule-chevron svg {
  width: 16px;
  height: 16px;
}

.rules-footnote {
  margin: 12px 4px 0;
  color: #9b8e7f;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.pro-quick-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: stretch;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(235, 230, 221, 0.9);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.pro-quick-action {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.pro-quick-action .quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.pro-quick-action span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.pro-quick-action strong {
  font-size: 13px;
}

.pro-quick-action small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pro-quick-action .toggle {
  width: 36px;
  height: 22px;
}

.pro-quick-action .toggle i {
  width: 16px;
  height: 16px;
}

.pro-quick-action .toggle.on i {
  transform: translateX(14px);
}

.live-cta {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 7px 16px rgba(255, 99, 117, 0.25);
  font-size: 13px;
  font-weight: 750;
}

.live-cta:active,
.reward-action:active,
.sheet-primary:active {
  transform: translateY(1px);
}

.live-cta svg {
  width: 18px;
  height: 18px;
}

.income-card {
  position: relative;
  overflow: hidden;
  padding: 17px;
  border-radius: 20px;
  color: #fff;
  background: #5567df;
  box-shadow: 0 14px 30px rgba(66, 81, 184, 0.24);
}

.income-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

.card-topline,
.reward-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-topline h2,
.reward-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.circle-link {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.circle-link svg {
  width: 17px;
  height: 17px;
}

.share-hero {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: stretch;
  gap: 10px;
  margin-top: 14px;
}

.current-rate-block {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 102px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.13);
}

.current-rate-block span,
.current-rate-block small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
}

.current-rate-block strong {
  margin: 3px 0 2px;
  font-size: 37px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.share-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.share-summary > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(34, 42, 113, 0.22);
}

.share-summary span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
  white-space: nowrap;
}

.share-summary strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.share-summary > small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  text-align: right;
}

.next-tier-callout {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 231, 167, 0.32);
  border-radius: 12px;
  background: rgba(36, 43, 111, 0.25);
}

.next-tier-callout > div {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
}

.next-tier-callout span {
  color: #ffebb6;
  font-size: 10px;
  font-weight: 700;
}

.next-tier-callout strong {
  color: #fff3c8;
  font-size: 23px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.next-tier-callout small {
  max-width: 155px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
}

.next-tier-callout.is-max {
  border-color: rgba(166, 246, 211, 0.32);
  background: rgba(21, 92, 83, 0.25);
}

.next-tier-callout.is-max span,
.next-tier-callout.is-max strong {
  color: #c7f9e5;
}

.share-scale {
  position: relative;
  height: 75px;
  margin: 16px 6px 0;
}

.share-scale-track {
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}

.share-scale-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffd778;
  transition: width 260ms ease;
}

.share-threshold {
  position: absolute;
  top: 0;
  width: 78px;
  display: grid;
  justify-items: center;
  gap: 1px;
}

.share-threshold.start {
  left: 0;
  justify-items: start;
}

.share-threshold.middle {
  left: 33.333%;
  transform: translateX(-50%);
}

.share-threshold.end {
  right: 0;
  justify-items: end;
}

.threshold-dot {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  background: #6675df;
}

.threshold-dot svg {
  width: 12px;
  height: 12px;
}

.share-threshold.is-reached .threshold-dot {
  color: #5363d9;
  border-color: #fff;
  background: #fff;
}

.share-threshold.is-current .threshold-dot {
  color: #76540e;
  border-color: #fff2b9;
  background: #ffd778;
  box-shadow: 0 0 0 4px rgba(255, 215, 120, 0.2);
}

.share-threshold.is-next .threshold-dot {
  color: #fff0c1;
  border-color: rgba(255, 236, 187, 0.7);
  background: #6874cf;
}

.share-threshold strong {
  margin-top: 3px;
  font-size: 12px;
}

.share-threshold small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
}

.share-threshold em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  font-style: normal;
  white-space: nowrap;
}

.share-threshold.is-current em {
  color: #ffe79c;
  font-weight: 750;
}

.share-threshold.is-next em {
  color: #fff0c1;
}

.share-impact {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 12px;
  color: #514218;
  background: #fff2bd;
}

.share-impact-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #7d5b11;
  background: rgba(255, 255, 255, 0.55);
}

.share-impact-icon svg {
  width: 18px;
  height: 18px;
}

.share-impact > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.share-impact strong {
  font-size: 10px;
  line-height: 1.35;
}

.share-impact span {
  font-size: 9px;
  line-height: 1.35;
}

.income-card.is-tier-rows .share-legacy-detail {
  display: none;
}

.tier-row-layout {
  margin-top: 13px;
}

.tier-row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.tier-row-heading > div {
  display: grid;
  gap: 2px;
}

.tier-row-heading span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 8px;
}

.tier-row-heading h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.tier-row-heading > strong {
  color: #fff2bd;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.tier-row-list {
  display: grid;
  gap: 7px;
}

.tier-row-card {
  min-height: 78px;
  display: grid;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(35, 43, 111, 0.25);
}

.tier-row-card.is-reached {
  background: rgba(38, 48, 126, 0.34);
}

.tier-row-card.is-current {
  color: #3f3519;
  border-color: #ffe08a;
  background: #fff2bd;
  box-shadow: 0 6px 16px rgba(35, 42, 105, 0.18);
}

.tier-row-top,
.tier-row-money {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tier-row-rate {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.tier-row-rate strong {
  font-size: 19px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tier-row-rate span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.tier-row-card.is-current .tier-row-rate span {
  color: #7b671f;
}

.tier-row-top em {
  flex: 0 1 auto;
  max-width: 178px;
  overflow: hidden;
  padding: 3px 6px;
  border-radius: 6px;
  color: #d9e2ff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tier-row-card.is-current .tier-row-top em {
  color: #694b04;
  background: #ffdc78;
}

.tier-row-card.is-next .tier-row-top em,
.tier-row-card.is-future .tier-row-top em {
  color: #fff0c1;
  background: rgba(255, 225, 141, 0.13);
}

.tier-row-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.tier-row-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #b8c4ff;
  transition: width 260ms ease;
}

.tier-row-card.is-reached .tier-row-progress i {
  background: #8ce0c1;
}

.tier-row-card.is-current .tier-row-progress {
  background: rgba(98, 76, 18, 0.14);
}

.tier-row-card.is-current .tier-row-progress i {
  background: #e2a91f;
}

.tier-row-money > span {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 8px;
  white-space: nowrap;
}

.tier-row-money > span strong {
  color: #fff;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.tier-row-money small {
  color: #dce4ff;
  font-size: 8px;
  text-align: right;
  white-space: nowrap;
}

.tier-row-card.is-current .tier-row-money > span,
.tier-row-card.is-current .tier-row-money small {
  color: #7b671f;
}

.tier-row-card.is-current .tier-row-money > span strong {
  color: #3f3519;
}

.share-actions {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px;
  margin-top: 10px;
}

.share-order-action,
.share-live-action {
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 750;
}

.share-order-action {
  justify-content: space-between;
  padding: 0 9px;
  color: #4454ba;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 12px rgba(35, 43, 112, 0.12);
}

.share-order-action > span:first-child {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.share-order-action svg,
.share-live-action svg {
  width: 15px;
  height: 15px;
}

.share-order-action .toggle {
  width: 32px;
  height: 20px;
}

.share-order-action .toggle i {
  width: 14px;
  height: 14px;
}

.share-order-action .toggle.on i {
  transform: translateX(12px);
}

.share-order-action .toggle.on {
  background: var(--green);
}

.share-live-action {
  color: #4b370b;
  background: #ffd778;
  box-shadow: 0 7px 16px rgba(38, 43, 105, 0.2);
}

.annual-master-card {
  padding: 16px 15px;
  border: 1px solid #ead9aa;
  border-radius: 20px;
  background: #fffdf7;
  box-shadow: var(--card-shadow);
}

.annual-master-head,
.annual-master-title,
.annual-master-progress-head,
.annual-master-value,
.annual-master-foot {
  display: flex;
  align-items: center;
}

.annual-master-head,
.annual-master-progress-head,
.annual-master-value,
.annual-master-foot {
  justify-content: space-between;
  gap: 10px;
}

.annual-master-title {
  min-width: 0;
  gap: 10px;
}

.annual-master-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #795507;
  background: #ffe8a6;
}

.annual-master-icon svg {
  width: 22px;
  height: 22px;
}

.annual-master-title h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.annual-master-title .section-kicker {
  margin-bottom: 2px;
  color: #9c761e;
}

.annual-master-status {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 7px;
  color: #775407;
  background: #fff0bf;
  font-size: 9px;
  font-weight: 800;
}

.annual-master-status.complete {
  color: #087555;
  background: #e3f8ef;
}

.annual-master-award {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #fff4c7;
  background: #2d3038;
}

.annual-master-award span {
  color: #d8c98f;
  font-size: 9px;
}

.annual-master-award strong {
  font-size: 13px;
  line-height: 1.35;
}

.annual-master-progress-head {
  margin-top: 13px;
  color: #7e7569;
  font-size: 9px;
}

.annual-master-progress-head em {
  color: #987017;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.annual-master-value {
  justify-content: flex-start;
  margin-top: 4px;
  gap: 5px;
}

.annual-master-value strong {
  color: #2f2e2a;
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.annual-master-value span {
  color: #9d9488;
  font-size: 10px;
}

.annual-master-track {
  height: 7px;
  overflow: hidden;
  margin-top: 9px;
  border-radius: 5px;
  background: #eee9df;
}

.annual-master-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #d5a52f;
  transition: width 260ms ease;
}

.annual-master-foot {
  margin-top: 8px;
  color: #82796d;
  font-size: 8px;
}

.annual-master-foot span:first-child {
  color: #71540f;
  font-weight: 750;
}

.calculation-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 8px;
  line-height: 1.4;
  text-align: center;
}

.unlock-card {
  padding: 17px 15px 15px;
  border: 1px solid #f0dfb9;
  border-radius: 20px;
  background: #fffaf0;
  box-shadow: var(--card-shadow);
}

.unlock-card.complete {
  border-color: #cdebdc;
  background: #f4fcf8;
}

.reward-head .section-kicker {
  color: #a67518;
}

.unlock-card.complete .reward-head .section-kicker {
  color: #18865f;
}

.status-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 750;
}

.status-badge.warning {
  color: #aa6d00;
  background: #ffedc8;
}

.status-badge.success {
  color: #078456;
  background: #dff7ed;
}

.reward-source-row {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding: 0 10px;
  border-radius: 10px;
  color: #8a7553;
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.reward-source-row strong {
  color: #5b4c36;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.complete .reward-source-row {
  color: #4f8f73;
  background: rgba(255, 255, 255, 0.78);
}

.complete .reward-source-row strong {
  color: #277558;
}

.reward-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee2ca;
}

.complete .reward-amount-row {
  border-bottom-color: #dceee5;
}

.reward-amount {
  display: grid;
  gap: 4px;
}

.reward-amount span {
  color: #9b8a6d;
  font-size: 10px;
}

.reward-amount strong {
  color: #cf7c00;
  font-size: 31px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.complete .reward-amount strong {
  color: #0a9a67;
}

.reward-lock {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #d38d20;
  background: #fff0cc;
}

.complete .reward-lock {
  color: #0e9a69;
  background: #ddf7eb;
}

.reward-lock svg {
  width: 25px;
  height: 25px;
}

.condition-list {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}

.condition-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.condition-top span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6d6255;
  font-size: 12px;
  font-weight: 650;
}

.condition-top span svg {
  width: 15px;
  height: 15px;
  color: #b17d25;
}

.complete .condition-top span svg {
  color: #13936a;
}

.condition-top strong {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  margin-top: 8px;
  border-radius: 5px;
  background: #eee7d9;
}

.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #efaa37;
  transition: width 300ms ease;
}

.complete .progress-track {
  background: #dceee6;
}

.complete .progress-track i {
  background: var(--green);
}

.condition-item p {
  margin: 5px 0 0;
  color: #a09585;
  font-size: 9px;
  line-height: 1.4;
}

.today-live-row {
  min-height: 57px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 8px 9px;
  border-radius: 12px;
  background: #fff;
}

.today-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--coral);
  background: var(--coral-soft);
}

.today-icon svg {
  width: 17px;
  height: 17px;
}

.today-live-row div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.today-live-row div span {
  color: var(--muted);
  font-size: 9px;
}

.today-live-row div strong {
  overflow: hidden;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.today-live-row button {
  min-width: 64px;
  height: 30px;
  padding: 0 9px;
  border-radius: 8px;
  color: #fff;
  background: var(--coral);
  font-size: 10px;
  font-weight: 750;
}

.complete .today-live-row button {
  color: #0d8e62;
  background: #ddf7eb;
}

.gap-callout {
  min-height: 41px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #825b19;
  background: #ffefcf;
  font-size: 10px;
  line-height: 1.45;
}

.gap-callout.success {
  color: #0a8159;
  background: #dff7ed;
}

.gap-callout svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.reward-action {
  width: 100%;
  height: 43px;
  margin-top: 10px;
  border-radius: 11px;
  color: #a77e3e;
  background: #f3e8d3;
  font-size: 12px;
  font-weight: 750;
}

.reward-action.unlocked {
  color: #fff;
  background: var(--green);
  box-shadow: 0 7px 16px rgba(22, 180, 124, 0.2);
}

.reward-action.submitted {
  color: #397b62;
  background: #dcefe7;
  box-shadow: none;
  cursor: default;
}

.reward-deadline {
  margin: 8px 3px 0;
  color: #a48f6c;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.complete .reward-deadline {
  color: #4f9679;
}

.reward-guide-card {
  padding: 14px;
  border: 1px solid #e2e5f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.reward-guide-summary {
  display: grid;
  grid-template-columns: 49px 1fr;
  align-items: center;
  gap: 11px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e8e8f0;
}

.next-pool-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: #e7eaff;
}

.next-pool-icon svg {
  width: 23px;
  height: 23px;
}

.next-pool-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.next-pool-copy span {
  color: #656aa0;
  font-size: 10px;
}

.next-pool-copy strong {
  color: #4e5dcc;
  font-size: 22px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.next-pool-copy small {
  color: #9898af;
  font-size: 8px;
  line-height: 1.35;
}

.reward-guide-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}

.reward-guide-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #0aa575;
  background: #eaf9f3;
}

.reward-guide-icon svg {
  width: 18px;
  height: 18px;
}

.reward-guide-heading > div {
  min-width: 0;
}

.reward-guide-heading .section-kicker {
  margin-bottom: 2px;
  color: #178460;
  font-size: 9px;
}

.reward-guide-heading h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.reward-guide-list {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.reward-guide-rule {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
}

.reward-guide-rule > svg {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: #12a875;
}

.reward-guide-rule p {
  margin: 0;
  color: #6f6a64;
  font-size: 11px;
  line-height: 1.55;
}

.reward-guide-rule strong {
  color: #37322f;
}

.reward-guide-expiry {
  margin: 13px 0 0;
  padding: 10px 11px;
  border-radius: 10px;
  color: #8f6627;
  background: #fff6e5;
  font-size: 10px;
  line-height: 1.55;
}

.bottom-nav {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  height: 95px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  padding: 0 6px 20px;
  border-top: 1px solid rgba(230, 226, 218, 0.88);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -9px 24px rgba(52, 48, 42, 0.055);
}

.bottom-item {
  position: relative;
  min-width: 0;
  height: 57px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  color: #aaaebc;
}

.bottom-item > svg,
.nav-icon-wrap > svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.bottom-item > span:last-child {
  max-width: 100%;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bottom-item.active {
  color: #475a9d;
  font-weight: 750;
}

.bottom-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}

.ask-item {
  overflow: visible;
}

.ask-bubble {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-top: -31px;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #5996f5;
  box-shadow: 0 6px 16px rgba(72, 128, 221, 0.26);
}

.ask-bubble svg {
  width: 24px;
  height: 24px;
}

.nav-icon-wrap {
  position: relative;
}

.nav-icon-wrap b {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 1.5px solid #fff;
  border-radius: 8px;
  color: #fff;
  background: var(--coral);
  font-size: 9px;
  font-weight: 800;
}

.home-indicator {
  position: absolute;
  z-index: 22;
  left: 50%;
  bottom: 6px;
  width: 122px;
  height: 4px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: #111;
}

.review-panel {
  width: 100%;
  display: grid;
  gap: 12px;
}

.review-card {
  padding: 17px;
  border: 1px solid rgba(220, 226, 235, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(53, 65, 89, 0.09);
}

.brand-card {
  padding-top: 14px;
}

.brand-logo {
  width: 112px;
  height: auto;
  display: block;
  margin-bottom: 11px;
}

.review-label {
  color: #7d88a3;
  font-size: 11px;
  font-weight: 750;
}

.review-card h2,
.review-card h3,
.review-card p {
  margin: 0;
}

.review-card h2 {
  margin-top: 4px;
  font-size: 25px;
}

.review-card p {
  margin-top: 8px;
  color: #788194;
  font-size: 12px;
  line-height: 1.6;
}

.review-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card-title h3 {
  margin-top: 3px;
  font-size: 16px;
}

.review-card-title > svg {
  color: #7782a2;
}

.state-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.state-buttons button {
  min-width: 0;
  min-height: 59px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid #e6eaf2;
  border-radius: 7px;
  color: #69738b;
  background: #f8f9fc;
  text-align: left;
}

.state-buttons button span {
  font-size: 9px;
}

.state-buttons button strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.state-buttons button.active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 7px 16px rgba(97, 114, 237, 0.2);
}

.review-rules ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-rules li {
  position: relative;
  padding-left: 18px;
  color: #737d91;
  font-size: 11px;
  line-height: 1.45;
}

.review-rules li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.sheet-layer {
  position: absolute;
  z-index: 60;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.sheet-layer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 28, 27, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.sheet-layer.is-open .sheet-backdrop {
  opacity: 1;
}

.bottom-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 82%;
  overflow: hidden;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: #fff;
  box-shadow: 0 -14px 40px rgba(35, 31, 28, 0.18);
  transform: translateY(102%);
  transition: transform 220ms ease;
}

.sheet-layer.is-open .bottom-sheet {
  transform: translateY(0);
}

.sheet-grabber {
  width: 38px;
  height: 4px;
  margin: 8px auto 12px;
  border-radius: 3px;
  background: #dedbd6;
}

.sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.sheet-header > div {
  min-width: 0;
}

.sheet-kicker {
  display: block;
  min-height: 13px;
  margin-bottom: 3px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 750;
}

.sheet-header h2 {
  overflow: hidden;
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sheet-content {
  max-height: 470px;
  overflow-y: auto;
  padding: 14px 0 4px;
  scrollbar-width: none;
}

.sheet-content::-webkit-scrollbar {
  display: none;
}

.sheet-actions {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.sheet-primary,
.sheet-secondary {
  width: 100%;
  height: 45px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
}

.sheet-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 7px 16px rgba(97, 114, 237, 0.2);
}

.sheet-secondary {
  color: #5f5a55;
  background: #f3f1ed;
}

.sheet-paragraph {
  margin: 0 0 11px;
  color: #716960;
  font-size: 12px;
  line-height: 1.7;
}

.sheet-info-box {
  margin-bottom: 11px;
  padding: 12px;
  border-radius: 12px;
  color: #615c75;
  background: #f3f4ff;
  font-size: 11px;
  line-height: 1.6;
}

.sheet-info-box.amber {
  color: #755b2c;
  background: #fff7e6;
}

.sheet-info-box.green {
  color: #1a7055;
  background: #eaf9f3;
}

.sheet-check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sheet-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #625c55;
  font-size: 11px;
  line-height: 1.5;
}

.sheet-check-list li svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--green);
}

.sheet-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.sheet-table-row {
  min-height: 45px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.8fr;
  align-items: center;
  padding: 8px 10px;
  font-size: 11px;
}

.sheet-table-row + .sheet-table-row {
  border-top: 1px solid var(--line);
}

.sheet-table-row.header {
  min-height: 36px;
  color: #918a81;
  background: #faf9f7;
  font-size: 9px;
}

.sheet-table-row strong:last-child {
  color: var(--primary);
  text-align: right;
}

.profile-result {
  display: grid;
  grid-template-columns: 49px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid #e7e9f7;
  border-radius: 14px;
  background: #f7f8ff;
}

.profile-avatar {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #7583e9;
  font-size: 18px;
  font-weight: 800;
}

.profile-result > div:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.profile-result strong {
  font-size: 14px;
}

.profile-result small {
  color: var(--muted);
  font-size: 10px;
}

.profile-result .status-badge {
  color: #0b9365;
  background: #e5f8f0;
}

.toast {
  position: absolute;
  z-index: 90;
  left: 50%;
  bottom: 112px;
  max-width: calc(100% - 36px);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 12px;
  color: #fff;
  background: rgba(42, 39, 36, 0.92);
  box-shadow: 0 10px 25px rgba(35, 31, 28, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  font-size: 11px;
  line-height: 1.4;
}

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

.toast svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: #7be0b8;
}

@media (max-height: 900px) and (min-width: 861px) {
  .prototype-stage {
    align-items: center;
  }

  .phone-shell {
    transform: scale(0.92);
  }

  .review-panel {
    margin-left: -16px;
  }
}

@media (max-height: 820px) and (min-width: 861px) {
  body {
    overflow: hidden;
  }

  .prototype-stage {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
  }

  .phone-shell {
    transform: scale(0.83);
  }

  .review-panel {
    margin-left: -34px;
  }
}

@media (max-width: 860px) {
  .prototype-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .review-panel {
    display: none;
  }
}

@media (max-width: 480px) {
  body {
    overflow: hidden;
    background: var(--app-bg);
  }

  .prototype-stage {
    min-height: 100dvh;
    display: block;
    padding: 0;
  }

  .phone-shell {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .status-bar {
    flex-basis: calc(30px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }

  .bottom-nav {
    height: calc(88px + env(safe-area-inset-bottom));
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .home-indicator {
    bottom: calc(5px + env(safe-area-inset-bottom));
  }

  .app-scroll {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }

  .bottom-sheet {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 355px) {
  .app-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .header-copy {
    gap: 7px;
  }

  .header-copy h1 {
    font-size: 21px;
  }

  .app-scroll {
    padding-right: 10px;
    padding-left: 10px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-actions .icon-button {
    width: 36px;
    height: 36px;
  }

  .share-hero {
    grid-template-columns: 92px 1fr;
    gap: 8px;
  }

  .current-rate-block strong {
    font-size: 34px;
  }

  .share-summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .share-summary > div {
    min-height: 40px;
    padding: 6px 8px;
  }

  .share-summary strong {
    font-size: 14px;
  }

  .share-summary > small {
    grid-column: 1;
    font-size: 7px;
  }

  .next-tier-callout small {
    max-width: 128px;
    font-size: 8px;
  }

  .share-actions {
    grid-template-columns: 104px 1fr;
  }

}

@media (max-width: 355px) and (max-height: 720px) {
  .app-header {
    flex-basis: 68px;
    padding-top: 4px;
    padding-bottom: 8px;
  }

  .app-scroll {
    padding-top: 8px;
  }

  .section-block,
  .newbie-stage-card {
    margin-bottom: 8px;
  }

  .newbie-stage-card {
    min-height: 72px;
    padding: 8px 12px;
    border-radius: 17px;
  }

  .newbie-stage-card h2 {
    font-size: 16px;
  }

  .newbie-stage-card p {
    margin-top: 2px;
    font-size: 9px;
  }

  .reading-progress {
    width: 52px;
    height: 52px;
    border-width: 4px;
  }

  .reading-progress strong {
    font-size: 17px;
  }

  .official-section,
  .quick-section {
    padding: 9px;
    border-radius: 17px;
  }

  .official-section .section-heading,
  .quick-section .section-heading {
    margin-bottom: 5px;
  }

  .official-section .section-heading h2,
  .quick-section .section-heading h2 {
    font-size: 16px;
  }

  .section-kicker {
    margin-bottom: 2px;
    font-size: 9px;
  }

  .tip-list {
    gap: 4px;
  }

  .tip-card {
    min-height: 43px;
    grid-template-columns: 30px 1fr;
    gap: 6px;
    padding: 4px 7px;
    border-radius: 10px;
  }

  .tip-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .tip-icon svg {
    width: 16px;
    height: 16px;
  }

  .tip-card h3 {
    margin-bottom: 1px;
    font-size: 12px;
  }

  .tip-card p {
    font-size: 9px;
    line-height: 1.25;
    -webkit-line-clamp: 1;
  }

  .soft-badge {
    max-width: 104px;
    padding: 3px 5px;
    font-size: 7px;
  }

  .quick-section .quick-row {
    min-height: 48px;
    padding: 5px 8px;
  }

  .quick-section .quick-icon {
    width: 32px;
    height: 32px;
  }

  .quick-copy {
    gap: 2px;
  }

  .quick-copy strong {
    font-size: 14px;
  }

  .quick-copy small {
    font-size: 9px;
  }
}

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