:root {
  --burgundy: #a41d48;
  --burgundy-dark: #7d1234;
  --gold: #c7964a;
  --gold-light: #f4e8d1;
  --cream: #fbf8f3;
  --ink: #2c2525;
  --muted: #817678;
  --line: #e9e1db;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 252px;
  min-height: 100vh;
  position: fixed;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-right: 1px solid var(--line);
  padding: 26px 16px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 25px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--burgundy);
  box-shadow: 0 5px 12px rgba(164, 29, 72, 0.25);
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.brand-name {
  color: var(--burgundy);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.5px;
}

.brand-subtitle {
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-top: 2px;
}

.member-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fdfbf9;
}

.member-name {
  font-size: 12px;
  font-weight: 700;
}

.member-tier {
  color: var(--gold);
  font-size: 10px;
  margin-top: 3px;
}

.chevron {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #b1a8a7;
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--burgundy);
  background: #f2dfdf;
  font-size: 11px;
  font-weight: 700;
}

.avatar-small {
  width: 27px;
  height: 27px;
  font-size: 9px;
}

.avatar-rose {
  color: var(--burgundy);
  background: #f2dfdf;
}

.avatar-gold {
  color: #805b22;
  background: #f3e7c6;
}

.avatar-slate {
  color: #47566b;
  background: #e2e8f0;
}

.nav-area {
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding-top: 26px;
}

.nav-section-label {
  padding: 0 12px 8px;
  color: #aea5a3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #817678;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.nav-item svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.nav-item:hover {
  color: var(--burgundy);
  background: #faf4f2;
}

.nav-item-active, .nav-item.active {
  color: var(--burgundy);
  background: #f8eeeb;
  font-weight: 700;
}

.nav-active-dot {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--gold);
}

.sidebar-bottom {
  margin-top: auto;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 10px;
  margin-bottom: 16px;
  border: 1px solid #eee5dc;
  border-radius: 12px;
  background: #fffaf2;
}

.support-card strong, .support-card span {
  display: block;
}

.support-card strong {
  font-size: 11px;
}

.support-card span {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.support-card > svg {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #ab9a8b;
}

.support-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--gold);
  background: var(--gold-light);
}

.support-icon svg {
  width: 15px;
  height: 15px;
}

.logout {
  margin-top: 2px;
}

.main-content {
  width: calc(100% - 252px);
  margin-left: 252px;
}

.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a39a98;
  font-size: 12px;
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
}

.breadcrumb strong {
  color: var(--ink);
  font-weight: 600;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  width: 194px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.search-box svg {
  width: 15px;
  height: 15px;
  color: #a99f9c;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
}

.search-box input::placeholder {
  color: #aaa09d;
}

.icon-button, .more-button, .mobile-menu, .mobile-close, .modal-close {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #776d6d;
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.notification-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 5px;
  border: 1px solid white;
  border-radius: 50%;
  background: var(--burgundy);
}

.help-button {
  margin-right: 3px;
}

.top-avatar {
  width: 31px;
  height: 31px;
}

.top-profile strong, .top-profile span {
  display: block;
}

.top-profile strong {
  font-size: 11px;
}

.top-profile span {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.top-chevron {
  width: 14px;
  height: 14px;
  color: #a99f9d;
}

.mobile-menu, .mobile-close {
  display: none;
}

.page-wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 35px 42px 25px;
}

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 25px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.eyebrow svg {
  width: 12px;
  height: 12px;
}

.page-heading h1 {
  margin: 7px 0 5px;
  color: var(--burgundy);
  font-family: Georgia, serif;
  font-size: 32px;
  letter-spacing: -.8px;
}

.page-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}

.outline-button, .copy-button, .disabled-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.outline-button {
  padding: 10px 15px;
  color: var(--burgundy);
  border: 1px solid #cda9a9;
  background: white;
  cursor: pointer;
}

.outline-button svg, .copy-button svg, .disabled-button svg {
  width: 15px;
  height: 15px;
}

.hero-card {
  min-height: 285px;
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid #e4cfaa;
  border-radius: 17px;
  background: linear-gradient(105deg, #fffaf0 0%, #f8eddb 57%, #eedfc8 100%);
  box-shadow: 0 12px 26px rgba(164, 29, 72, 0.08);
}

.hero-copy {
  width: 58%;
  padding: 30px 35px;
  z-index: 2;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.hero-kicker svg {
  width: 14px;
  height: 14px;
}

.hero-copy h2 {
  margin: 12px 0 9px;
  color: var(--burgundy);
  font-family: Georgia, serif;
  font-size: 29px;
  line-height: 1.12;
  letter-spacing: -.6px;
}

.hero-copy h2 em {
  color: var(--gold);
  font-style: normal;
}

.hero-copy p {
  max-width: 535px;
  color: #756663;
  font-size: 12px;
  line-height: 1.55;
  margin: 0 0 19px;
}

.link-label {
  color: #917e71;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
  margin-bottom: 6px;
}

.link-row {
  display: flex;
  gap: 8px;
  max-width: 535px;
}

.link-field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid #dfcba9;
  border-radius: 8px;
  background: #fffdf8;
  color: #806f66;
  font-size: 10px;
}

.link-field svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--gold);
}

.link-field span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  padding: 0 14px;
  border: 0;
  color: white;
  background: var(--burgundy);
  box-shadow: 0 4px 10px rgba(164, 29, 72, 0.25);
  cursor: pointer;
}

.copy-button:hover {
  background: var(--burgundy-dark);
}

.hero-steps {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: #907f76;
  font-size: 10px;
}

.hero-steps span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-steps b {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: var(--burgundy);
  background: #ead9b6;
  font-size: 9px;
}

.hero-steps i {
  width: 16px;
  height: 1px;
  background: #d7b980;
}

.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  overflow: hidden;
}

.hero-art img {
  position: absolute;
  right: -4%;
  bottom: -30px;
  width: 86%;
  height: 113%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  opacity: .86;
  mask-image: linear-gradient(to right, transparent 0%, black 28%);
}

.sun-disc {
  position: absolute;
  top: 31px;
  right: 27%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: #e9c986;
  opacity: .65;
}

.art-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid #c69851;
  border-radius: 50%;
  opacity: .5;
  transform: rotate(-28deg);
}

.orbit-one {
  width: 300px;
  height: 110px;
  top: 64px;
  right: 4%;
}

.orbit-two {
  width: 300px;
  height: 110px;
  top: 100px;
  right: 3%;
  transform: rotate(25deg);
}

.art-card {
  position: absolute;
  z-index: 3;
  left: 9%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 9px 9px;
  border: 1px solid #ead4ad;
  border-radius: 9px;
  background: #fffaf0df;
  box-shadow: 0 5px 14px #93652b1a;
  color: #927b6b;
  font-size: 9px;
  line-height: 1.4;
}

.art-card strong {
  color: var(--burgundy);
  font-family: Georgia, serif;
  font-size: 11px;
}

.mini-heart {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #fff;
  background: var(--burgundy);
}

.mini-heart svg {
  width: 13px;
  height: 13px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
  margin: 17px 0;
}

.stat-card {
  min-height: 92px;
  padding: 15px 15px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}

.stat-card-accent {
  border-color: #e0c58f;
  background: #fffaf1;
}

.stat-label {
  color: #978b89;
  font-size: 10px;
}

.stat-value {
  margin-top: 8px;
  color: var(--burgundy);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.4px;
  white-space: nowrap;
}

.stat-detail {
  color: #aa9a91;
  font-size: 9px;
  margin-top: 6px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 15px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 20px 21px 15px;
}

.panel-heading h3 {
  margin: 0 0 5px;
  color: var(--burgundy);
  font-family: Georgia, serif;
  font-size: 17px;
}

.panel-heading p {
  margin: 0;
  color: #a09592;
  font-size: 10px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  color: var(--burgundy);
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.text-button svg {
  width: 13px;
  height: 13px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 510px;
}

th {
  padding: 7px 21px;
  color: #ad9f9e;
  background: #fcfaf9;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .8px;
  text-align: left;
  text-transform: uppercase;
}

td {
  padding: 12px 21px;
  border-top: 1px solid #f2eeec;
  color: #837875;
  font-size: 10px;
  white-space: nowrap;
}

.person-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.person-cell strong, .person-cell span {
  display: block;
}

.person-cell strong {
  color: var(--ink);
  font-size: 11px;
}

.person-cell span {
  color: #a99f9d;
  font-size: 9px;
  margin-top: 3px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-pending {
  color: #a36d18;
  background: #fff4d9;
}

.status-verified {
  color: #577a91;
  background: #eaf3f7;
}

.status-approved {
  color: #477457;
  background: #e9f5eb;
}

.reward-cell {
  color: var(--burgundy);
  font-weight: 700;
}

.more-button {
  color: #a79d9b;
  cursor: pointer;
}

.more-button svg {
  width: 16px;
  height: 16px;
}

.progress-panel {
  padding-bottom: 20px;
}

.goal-badge {
  padding: 5px 8px;
  border-radius: 5px;
  color: #9a722e;
  background: #fff5df;
  font-size: 9px;
  font-weight: 700;
}

.progress-value {
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 4px 21px 11px;
}

.progress-value strong {
  color: var(--burgundy-dark);
  font-family: Georgia, serif;
  font-size: 27px;
}

.progress-value span {
  color: #a09592;
  font-size: 9px;
  padding-bottom: 4px;
}

.progress-track {
  height: 9px;
  margin: 0 21px;
  overflow: hidden;
  border-radius: 20px;
  background: #f1e9dd;
}

.progress-fill {
  position: relative;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a66d46, var(--gold));
}

.progress-fill span {
  position: absolute;
  right: 0;
  top: -2px;
  width: 13px;
  height: 13px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 1px 4px #80532966;
}

.progress-note {
  display: flex;
  gap: 9px;
  margin: 20px 21px;
  padding: 12px;
  border-radius: 9px;
  background: #fff9ed;
}

.note-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  color: var(--gold);
  background: #f6e8c8;
}

.note-icon svg {
  width: 13px;
  height: 13px;
}

.progress-note p {
  color: #917f76;
  font-size: 10px;
  line-height: 1.5;
  margin: 0;
}

.progress-note strong {
  color: var(--burgundy);
}

.progress-note b {
  color: #866020;
}

.disabled-button {
  width: calc(100% - 42px);
  margin: 0 21px;
  padding: 10px;
  color: #b7ada8;
  border: 1px solid #eae4df;
  background: #f7f5f3;
  cursor: not-allowed;
}

.disabled-button svg {
  width: 13px;
  height: 13px;
}

.how-section {
  padding: 37px 0 17px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 17px;
}

.section-title h2 {
  margin: 7px 0 0;
  color: var(--burgundy-dark);
  font-family: Georgia, serif;
  font-size: 22px;
}

.section-title p {
  margin: 0;
  color: #a09592;
  font-size: 11px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.how-card {
  position: relative;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: block;
  text-decoration: none;
}

.how-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(84, 21, 37, 0.08);
  border-color: #d1b4a0;
}

.how-card:hover > svg {
  color: var(--burgundy);
  transform: translateX(3px);
  transition: transform 0.2s ease, color 0.2s ease;
}

.how-number {
  color: #e4d5cf;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.how-icon {
  position: absolute;
  top: 19px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--gold);
  background: #fff6e4;
}

.how-icon svg {
  width: 15px;
  height: 15px;
}

.how-card h3 {
  margin: 14px 0 5px;
  color: var(--burgundy-dark);
  font-family: Georgia, serif;
  font-size: 15px;
}

.how-card p {
  max-width: 205px;
  margin: 0;
  color: #9a8d8b;
  font-size: 10px;
  line-height: 1.5;
}

.how-card > svg {
  position: absolute;
  right: 19px;
  bottom: 18px;
  width: 14px;
  height: 14px;
  color: #c8b7a9;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: #b1a5a2;
  font-size: 9px;
}

footer span:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 4px;
}

footer svg {
  width: 11px;
  height: 11px;
  color: var(--gold);
}

footer a {
  color: var(--burgundy);
  text-decoration: none;
}

.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: #30141d66;
}

.modal-backdrop.open {
  display: grid;
}

.share-modal {
  position: relative;
  width: min(100%, 410px);
  padding: 32px;
  border-radius: 17px;
  background: white;
  box-shadow: 0 20px 60px #30141d40;
  text-align: center;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #faf6f3;
  cursor: pointer;
}

.modal-close svg {
  width: 15px;
  height: 15px;
}

.modal-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 13px;
  border-radius: 14px;
  color: var(--gold);
  background: #fff3d8;
}

.modal-icon svg {
  width: 23px;
  height: 23px;
}

.share-modal h2 {
  margin: 0 0 7px;
  color: var(--burgundy-dark);
  font-family: Georgia, serif;
  font-size: 24px;
}

.share-modal p {
  margin: 0 auto 18px;
  max-width: 290px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.modal-link {
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8f7e75;
  background: #fcfaf8;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-copy {
  width: 100%;
  margin-top: 10px;
  padding: 11px;
}

.share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.share-options button, .share-options a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--burgundy);
  background: white;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.share-options svg {
  width: 14px;
  height: 14px;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(35, 12, 21, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

.compact-page {
  max-width: 1120px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.back-link svg {
  width: 14px;
  height: 14px;
}

.wide-panel {
  margin-top: 17px;
}

.table-subtext {
  display: block;
  margin-top: 4px;
  color: #a99f9d;
  font-size: 9px;
}

.earnings-list {
  display: flex;
  flex-direction: column;
  padding: 0 21px 9px;
}

.earning-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid #f2eeec;
}

.earning-row > div:nth-child(2) {
  flex: 1;
}

.earning-row strong, .earning-row span {
  display: block;
}

.earning-row strong {
  color: var(--ink);
  font-size: 11px;
}

.earning-row span {
  margin-top: 4px;
  color: #a99f9d;
  font-size: 9px;
}

.earning-row b {
  color: #477457;
  font-size: 11px;
}

.earning-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: #477457;
  background: #e9f5eb;
}

.earning-icon svg {
  width: 14px;
  height: 14px;
}

.pending-icon {
  color: #a36d18;
  background: #fff4d9;
}

.payout-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 23px;
  border: 1px solid #e4cfaa;
  border-radius: 13px;
  background: #fffaf1;
}

.payout-balance strong, .payout-balance span {
  display: block;
}

.payout-balance strong {
  margin: 6px 0;
  color: var(--burgundy-dark);
  font-family: Georgia, serif;
  font-size: 29px;
}

.payout-balance > div:first-child > span:last-child {
  color: #9a8d82;
  font-size: 10px;
}

.payout-progress {
  width: min(100%, 390px);
}

.payout-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #917f76;
  font-size: 10px;
}

.payout-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--gold);
  background: white;
}

.payout-note div {
  flex: 1;
}

.payout-note strong, .payout-note span {
  display: block;
}

.payout-note strong {
  color: var(--ink);
  font-size: 11px;
}

.payout-note span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.payout-note svg {
  width: 17px;
  height: 17px;
}

.payout-note svg:last-child {
  color: var(--burgundy);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: #2c2525;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Details */
.faq-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 16px 20px;
  margin-bottom: 10px;
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--burgundy-dark);
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  transition: transform 0.2s;
}

.faq-card[open] summary svg {
  transform: rotate(180deg);
}

.faq-card p {
  margin: 10px 0 0;
  color: #756663;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .sidebar { width: 220px; }
  .main-content { width: calc(100% - 220px); margin-left: 220px; }
  .topbar, .page-wrap { padding-left: 28px; padding-right: 28px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-copy { width: 58%; }
  .hero-art { width: 42%; }
  .top-profile, .top-chevron { display: none; }
}

@media (max-width: 991px) {
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -280px;
    width: 270px;
    height: 100vh;
    height: 100dvh;
    z-index: 10000;
    background: #ffffff;
    box-shadow: 0 0 35px rgba(48, 20, 29, 0.25);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 22px 16px 18px;
  }
  .sidebar.sidebar-open {
    left: 0 !important;
  }
  .mobile-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #faf4f2;
    color: var(--burgundy);
    cursor: pointer;
    margin-left: auto;
  }
  .main-content {
    width: 100% !important;
    margin-left: 0 !important;
    min-height: 100vh;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--burgundy);
    cursor: pointer;
    flex-shrink: 0;
  }
  .mobile-menu svg {
    width: 20px;
    height: 20px;
  }
  .breadcrumb {
    display: none !important;
  }
  .top-actions {
    margin-left: auto;
    gap: 10px;
  }
  .top-profile {
    display: none !important;
  }
  .top-avatar {
    display: grid !important;
  }
  .page-wrap {
    padding: 22px 18px 28px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .content-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .how-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .page-wrap {
    padding: 16px 14px 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .page-heading {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
  }
  .page-heading h1 {
    font-size: 25px;
    line-height: 1.2;
    margin: 4px 0 6px;
  }
  .page-heading p {
    font-size: 12.5px;
    line-height: 1.45;
  }
  .page-heading .outline-button {
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    box-sizing: border-box;
    justify-content: center;
  }

  /* Hero Card Mobile Layout */
  .hero-card {
    flex-direction: column !important;
    min-height: auto !important;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffaf2 0%, #f7ebdb 100%);
  }
  .hero-copy {
    width: 100% !important;
    padding: 22px 16px 20px !important;
    box-sizing: border-box;
  }
  .hero-copy h2 {
    font-size: 23px !important;
    line-height: 1.25;
    margin: 8px 0 10px;
  }
  .hero-copy p {
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0 0 16px;
    max-width: 100%;
  }
  .link-label {
    font-size: 9px;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
  }
  .link-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
  }
  .link-field {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 11px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .link-field span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
  }
  .copy-button {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .hero-steps {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 16px !important;
    font-size: 11px !important;
  }
  .hero-steps span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #ebd8bf;
    border-radius: 20px;
    font-size: 11px;
    color: #554741;
  }
  .hero-steps b {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  .hero-steps i {
    display: none !important;
  }
  .hero-art {
    position: relative !important;
    width: 100% !important;
    height: 185px !important;
    top: auto !important;
    right: auto !important;
    border-top: 1px solid #ebd9bf;
    background: linear-gradient(180deg, rgba(255,252,246,0.6) 0%, #faecd7 100%);
    overflow: hidden;
  }
  .hero-art img {
    position: absolute !important;
    right: 4px !important;
    bottom: 0 !important;
    height: 100% !important;
    width: auto !important;
    max-width: 65% !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    mix-blend-mode: multiply !important;
    opacity: 0.95 !important;
    mask-image: linear-gradient(to right, transparent 0%, black 25%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%) !important;
  }
  .sun-disc {
    position: absolute !important;
    top: 10px !important;
    right: 20px !important;
    width: 130px !important;
    height: 130px !important;
    border-radius: 50% !important;
    opacity: 0.6 !important;
  }
  .art-card {
    position: absolute !important;
    left: 14px !important;
    bottom: 14px !important;
    padding: 7px 10px !important;
    border-radius: 9px !important;
    font-size: 9px !important;
    z-index: 3 !important;
  }
  .art-orbit {
    display: none !important;
  }

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 16px 0 !important;
  }
  .stat-card {
    min-height: auto !important;
    padding: 13px 12px !important;
    border-radius: 10px !important;
  }
  .stat-label {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  .stat-value {
    font-size: 18px !important;
    margin: 6px 0 3px !important;
  }
  .stat-detail {
    font-size: 10px !important;
  }

  /* Panels & Tables */
  .panel-heading {
    padding: 16px 14px 12px !important;
  }
  .panel-heading h3 {
    font-size: 16px !important;
  }
  .table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-top: 1px solid #f2eeec !important;
  }
  table {
    min-width: 480px !important;
    width: 100% !important;
  }
  th, td {
    padding: 10px 14px !important;
  }

  /* Progress Panel */
  .progress-panel .progress-value {
    padding: 4px 14px 10px !important;
  }
  .progress-panel .progress-value strong {
    font-size: 24px !important;
  }
  .progress-track {
    margin: 0 14px !important;
  }
  .progress-note {
    margin: 14px !important;
    padding: 10px 12px !important;
  }
  .disabled-button, .progress-panel .outline-button {
    width: calc(100% - 28px) !important;
    margin: 0 14px 14px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    height: 42px !important;
    font-size: 13px !important;
  }

  /* How section */
  .how-section {
    padding: 24px 0 14px !important;
  }
  .section-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
  }
  .section-title h2 {
    font-size: 20px !important;
  }
  .how-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .how-card {
    min-height: auto !important;
    padding: 18px 16px !important;
    border-radius: 12px !important;
  }

  /* Payout page */
  .payout-balance {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 18px 16px !important;
    gap: 16px !important;
  }
  .payout-progress {
    width: 100% !important;
  }

  /* Footer */
  footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 20px 0 !important;
    font-size: 11px !important;
  }
}

@media (max-width: 440px) {
  .topbar {
    height: 58px;
    padding: 0 12px;
  }
  .page-wrap {
    padding: 14px 12px 20px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .hero-copy {
    padding: 16px 12px !important;
  }
  .hero-copy h2 {
    font-size: 20px !important;
  }
  .hero-art {
    height: 160px !important;
  }
  .art-card {
    left: 10px !important;
    bottom: 10px !important;
    font-size: 8.5px !important;
    padding: 5px 8px !important;
  }
  .mini-heart {
    width: 18px !important;
    height: 18px !important;
  }
  .stats-grid {
    gap: 8px !important;
  }
  .stat-card {
    padding: 10px 9px !important;
  }
  .stat-value {
    font-size: 16.5px !important;
  }
  .stat-label {
    font-size: 10px !important;
  }
  .share-modal {
    width: 94% !important;
    padding: 20px 14px !important;
  }
  .share-options {
    grid-template-columns: 1fr !important;
  }
}
