:root {
  color-scheme: light;
  --ink: #101010;
  --muted: #73706a;
  --soft: #f7f6f0;
  --paper: #ffffff;
  --line: #e3dfd6;
  --green: #05b85b;
  --green-soft: #dcf9e9;
  --blue: #2768f4;
  --blue-soft: #e8efff;
  --coral: #ff6547;
  --yellow: #ffd45a;
  --shadow: 0 20px 50px rgba(16, 16, 16, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 246, 240, 0.96) 32%),
    var(--soft);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(5, 184, 91, 0.3);
  outline-offset: 2px;
}

svg,
img {
  display: block;
}

.fan-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px 1fr;
}

.fan-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.mobile-brand,
.mode-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand {
  padding: 8px 10px 28px;
  font-size: 24px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.nav-stack {
  display: grid;
  gap: 6px;
}

.nav-item,
.bottom-nav button {
  border: 0;
  color: var(--muted);
  background: transparent;
}

.nav-item {
  min-height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  font-weight: 750;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--ink);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-item.is-active svg {
  color: var(--green);
}

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

.sidebar-status {
  margin-top: auto;
  min-height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
}

.status-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.fan-main {
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: 28px 28px 78px;
}

.topbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.mobile-brand {
  display: none;
}

.top-actions {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mode-link {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}

.mode-link:hover {
  color: var(--ink);
  border-color: #cbc5b9;
}

.mode-link svg {
  width: 18px;
  height: 18px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
}

.icon-button:hover {
  border-color: #cbc5b9;
}

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

.fan-chip {
  height: 44px;
  padding: 0 12px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.fan-initial {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.fan-initial.large {
  width: 42px;
  height: 42px;
}

.account-dropdown {
  position: absolute;
  z-index: 30;
  top: 52px;
  right: 0;
  width: min(246px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.16);
}

.account-dropdown[hidden] {
  display: none;
}

.account-dropdown-head {
  padding: 8px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.account-dropdown-head strong,
.account-dropdown-head small {
  display: block;
}

.account-dropdown-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.logout-button {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--coral);
  background: transparent;
  font-weight: 800;
}

.logout-button:hover {
  background: #fff0ec;
}

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

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.store-hero {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cover-frame {
  position: relative;
  height: 252px;
  min-height: 252px;
  max-height: 252px;
  overflow: hidden;
  background: #101010;
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.04), rgba(16, 16, 16, 0.42)),
    linear-gradient(90deg, rgba(5, 184, 91, 0.1), transparent 34%, rgba(39, 104, 244, 0.12));
}

.creator-bar {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.creator-avatar {
  width: 104px;
  height: 104px;
  border: 6px solid var(--paper);
  border-radius: 8px;
  object-fit: cover;
  background: #111;
  box-shadow: 0 16px 34px rgba(16, 16, 16, 0.16);
}

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

.tiny-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.creator-copy h1,
.page-head h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
}

.creator-copy p,
.page-head p,
.section-heading p,
.account-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

.creator-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-button,
.secondary-button,
.small-button {
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 850;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
}

.primary-button {
  color: var(--paper);
  background: var(--green);
}

.primary-button:hover {
  background: #00a950;
}

.secondary-button {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.secondary-button:hover {
  border-color: #c7c2b8;
}

.primary-button svg,
.secondary-button svg,
.small-button svg {
  width: 18px;
  height: 18px;
}

.small-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}

.small-button:hover {
  border-color: #c7c2b8;
}

.small-button.dark {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.creator-stats {
  padding: 0 24px 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.creator-stats span {
  min-height: 74px;
  padding: 14px 0 0 18px;
  border-left: 1px solid var(--line);
}

.creator-stats span:first-child {
  border-left: 0;
  padding-left: 0;
}

.creator-stats strong,
.head-stat strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.creator-stats small,
.head-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section-heading,
.page-head {
  margin: 34px 0 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2,
.account-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.drop-grid,
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.drop-card,
.library-card,
.account-card,
.receipt-row,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.drop-card,
.library-card {
  overflow: hidden;
  display: grid;
  box-shadow: 0 14px 35px rgba(16, 16, 16, 0.06);
}

.drop-media,
.library-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.drop-media img,
.library-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-lock,
.owned-badge,
.price-pill {
  position: absolute;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
}

.media-lock {
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  color: var(--paper);
  background: rgba(16, 16, 16, 0.78);
  backdrop-filter: blur(10px);
}

.media-lock svg,
.owned-badge svg {
  width: 15px;
  height: 15px;
}

.owned-badge {
  right: 12px;
  top: 12px;
  padding: 7px 9px;
  color: var(--green);
  background: var(--green-soft);
}

.price-pill {
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--yellow);
}

.drop-body,
.library-body {
  padding: 16px;
}

.drop-body h3,
.library-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.drop-body p,
.library-body p {
  min-height: 42px;
  margin: 8px 0 14px;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 650;
}

.drop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.drop-actions .primary-button,
.drop-actions .secondary-button,
.library-body .primary-button {
  width: 100%;
  min-height: 46px;
}

.empty-state {
  min-height: 280px;
  padding: 34px;
  display: grid;
  place-items: center;
  text-align: center;
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(247, 246, 240, 0.88)),
    var(--paper);
}

.empty-state-content {
  max-width: 360px;
}

.empty-state .empty-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-soft);
}

.empty-state svg {
  width: 30px;
  height: 30px;
}

.empty-state strong {
  display: block;
  font-size: 22px;
}

.empty-state .empty-state-content > span:not(.empty-icon) {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

.empty-state .primary-button span {
  display: inline;
  margin: 0;
  color: inherit;
}

.page-head {
  margin-top: 0;
  align-items: center;
}

.head-stat {
  min-width: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: right;
  background: var(--paper);
}

.receipt-list {
  display: grid;
  gap: 10px;
}

.receipt-row {
  min-height: 82px;
  padding: 14px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
}

.receipt-icon,
.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-soft);
}

.receipt-icon svg,
.card-icon svg {
  width: 22px;
  height: 22px;
}

.receipt-main strong,
.receipt-main span,
.receipt-amount strong,
.receipt-amount span {
  display: block;
}

.receipt-main strong {
  font-size: 17px;
}

.receipt-main span,
.receipt-amount span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.receipt-amount {
  text-align: right;
}

.receipt-amount strong {
  font-size: 18px;
}

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

.account-card {
  min-height: 144px;
  padding: 18px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
}

.account-card.wide {
  grid-column: 1 / -1;
  grid-template-columns: 52px 1fr;
}

.card-icon.yellow {
  color: var(--ink);
  background: var(--yellow);
}

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

.dialog {
  width: min(500px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.dialog::backdrop {
  background: rgba(16, 16, 16, 0.44);
  backdrop-filter: blur(6px);
}

.dialog-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(16, 16, 16, 0.24);
}

.dialog-head {
  min-height: 66px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  margin: 0;
  font-size: 23px;
}

.dialog-body {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.checkout-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #111;
}

.checkout-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.checkout-summary h3 {
  margin: 0;
  font-size: 22px;
}

.checkout-summary p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

.checkout-price {
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 950;
}

.checkout-line {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  background: #fbfaf6;
}

.checkout-line i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-soft);
}

.checkout-line svg {
  width: 20px;
  height: 20px;
}

.checkout-line strong,
.checkout-line span {
  display: block;
}

.checkout-line span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  min-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
  font-weight: 800;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.bottom-nav {
  display: none;
}

@media (max-width: 860px) {
  .fan-shell {
    display: block;
  }

  .fan-sidebar {
    display: none;
  }

  .fan-main {
    padding: 24px 14px 86px;
  }

  .topbar {
    margin-bottom: 20px;
  }

  .mobile-brand {
    display: inline-flex;
    font-size: 17px;
  }

  .mode-link span {
    display: none;
  }

  .cover-frame {
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  .creator-bar {
    grid-template-columns: 88px 1fr;
    padding: 16px;
  }

  .creator-avatar {
    width: 88px;
    height: 88px;
  }

  .creator-copy h1,
  .page-head h1 {
    font-size: 32px;
  }

  .creator-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .creator-actions .primary-button,
  .creator-actions .secondary-button {
    width: 100%;
  }

  .drop-grid,
  .library-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-card,
  .account-card.wide {
    grid-column: auto;
    grid-template-columns: 52px 1fr;
  }

  .account-card .small-button {
    grid-column: 1 / -1;
  }

  .bottom-nav {
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    height: 76px;
    padding: 9px 14px 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
  }

  .bottom-nav button {
    min-height: 52px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 800;
  }

  .bottom-nav button.is-active {
    color: var(--green);
    background: var(--green-soft);
  }

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

  .empty-state {
    min-height: 220px;
    padding: 24px;
    place-items: start center;
  }

  .empty-state .empty-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }
}

@media (max-width: 560px) {
  .fan-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .top-actions {
    gap: 8px;
  }

  .fan-chip span:last-child {
    display: none;
  }

  .cover-frame {
    height: 178px;
    min-height: 178px;
    max-height: 178px;
  }

  .creator-bar {
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }

  .creator-avatar {
    width: 76px;
    height: 76px;
    border-width: 4px;
  }

  .creator-copy h1,
  .page-head h1 {
    font-size: 29px;
  }

  .creator-copy p,
  .page-head p {
    font-size: 14px;
  }

  .creator-stats {
    padding: 0 16px 16px;
  }

  .creator-stats span {
    padding-left: 12px;
  }

  .creator-stats strong {
    font-size: 22px;
  }

  .section-heading,
  .page-head {
    align-items: flex-start;
  }

  .section-heading {
    flex-direction: column;
  }

  .page-head {
    display: grid;
  }

  .head-stat {
    width: 100%;
    text-align: left;
  }

  .receipt-row {
    grid-template-columns: 44px 1fr;
  }

  .receipt-amount {
    grid-column: 2;
    text-align: left;
  }
}

/* Studio pass: tighter buyer-facing rhythm and more intentional surfaces. */
body {
  background: #f8f7f2;
}

.fan-main {
  width: min(980px, 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  min-height: 64px;
  margin: -14px 0 22px;
  padding: 14px 0 12px;
  background: rgba(248, 247, 242, 0.92);
  backdrop-filter: blur(18px);
}

.brand-mark,
.fan-initial,
.icon-button,
.mode-link,
.fan-chip,
.primary-button,
.secondary-button,
.small-button,
.store-hero,
.cover-frame,
.creator-bar,
.creator-stats,
.drop-card,
.library-card,
.account-card,
.receipt-row,
.empty-state,
.head-stat,
.dialog-shell,
.checkout-line,
.checkout-media {
  border-radius: 8px;
}

.icon-button,
.mode-link,
.fan-chip,
.secondary-button,
.small-button {
  border-color: #ded8cc;
  background: rgba(255, 255, 255, 0.86);
}

.icon-button:hover,
.mode-link:hover,
.fan-chip:hover,
.secondary-button:hover,
.small-button:hover {
  border-color: #c9c1b3;
  background: #ffffff;
}

.primary-button {
  background: #0bb85f;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.primary-button:hover {
  background: #08a957;
}

.store-hero {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cover-frame {
  height: 218px;
  min-height: 218px;
  max-height: 218px;
  border: 1px solid #171717;
  box-shadow: 0 18px 46px rgba(16, 16, 16, 0.12);
}

.cover-shade {
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.02), rgba(16, 16, 16, 0.36)),
    linear-gradient(90deg, rgba(16, 16, 16, 0.2), transparent 46%);
}

.creator-bar {
  position: relative;
  z-index: 2;
  margin: -42px 18px 0;
  padding: 16px;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  border: 1px solid rgba(222, 216, 204, 0.94);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(16, 16, 16, 0.12);
  backdrop-filter: blur(16px);
}

.creator-avatar {
  width: 86px;
  height: 86px;
  border-width: 4px;
  box-shadow: 0 12px 26px rgba(16, 16, 16, 0.14);
}

.tiny-label {
  margin-bottom: 4px;
  font-size: 11px;
  color: #08a957;
}

.creator-copy h1 {
  font-size: 34px;
}

.creator-copy p {
  max-width: 560px;
  margin-top: 6px;
  font-size: 15px;
}

.store-metrics {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-metrics span {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #ded8cc;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #706b63;
  background: #fbfaf6;
  font-size: 12px;
  font-weight: 800;
}

.store-metrics strong {
  color: var(--ink);
  font-size: 14px;
}

.creator-actions .primary-button,
.creator-actions .secondary-button {
  min-height: 46px;
  padding: 0 16px;
}

.creator-stats {
  margin: 12px 18px 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ded8cc;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(16, 16, 16, 0.06);
}

.creator-stats span {
  min-height: 66px;
  padding: 13px 16px;
}

.creator-stats strong,
.head-stat strong {
  font-size: 24px;
}

.section-heading {
  margin: 30px 0 12px;
  padding: 0 2px;
}

.section-heading h2 {
  font-size: 22px;
}

.section-heading p {
  margin-top: 5px;
  font-size: 14px;
}

.page-head {
  margin: 0 0 16px;
  padding: 18px;
  align-items: center;
  border: 1px solid #ded8cc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(16, 16, 16, 0.06);
}

.page-head h1 {
  font-size: 34px;
}

.page-head p {
  max-width: 520px;
  margin-top: 6px;
  font-size: 15px;
}

.head-stat {
  min-width: 114px;
  padding: 15px 16px;
  color: #ffffff;
  border-color: #101010;
  background: #101010;
}

.head-stat span {
  color: rgba(255, 255, 255, 0.72);
}

.drop-grid,
.library-grid {
  gap: 12px;
}

.drop-card,
.library-card,
.account-card,
.receipt-row {
  border-color: #ded8cc;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.055);
}

.drop-body,
.library-body {
  padding: 14px;
}

.drop-body h3,
.library-body h3,
.account-card h2 {
  font-size: 18px;
}

.drop-body p,
.library-body p,
.account-card p {
  margin-top: 6px;
  font-size: 14px;
}

.drop-actions .primary-button,
.drop-actions .secondary-button,
.library-body .primary-button {
  min-height: 43px;
}

.empty-state {
  min-height: 218px;
  padding: 24px;
  border: 1px solid #ded8cc;
  border-style: solid;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.045);
}

.empty-state-content {
  max-width: 330px;
}

.empty-state .empty-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
}

.empty-state svg {
  width: 24px;
  height: 24px;
}

.empty-state strong {
  font-size: 20px;
}

.empty-state .empty-state-content > span:not(.empty-icon) {
  font-size: 14px;
}

.empty-state .primary-button {
  min-height: 42px;
  margin-top: 16px;
  padding: 0 16px;
}

.account-grid {
  gap: 12px;
}

.account-card {
  min-height: 126px;
  padding: 16px;
}

.card-icon,
.receipt-icon {
  width: 42px;
  height: 42px;
}

.receipt-row {
  border: 0;
  background: #ffffff;
}

.receipt-row:hover {
  box-shadow: inset 0 0 0 1px #c9c1b3, 0 14px 32px rgba(16, 16, 16, 0.06);
}

.bottom-nav {
  box-shadow: 0 -12px 34px rgba(16, 16, 16, 0.08);
}

@media (max-width: 860px) {
  .fan-main {
    padding: 18px 14px 86px;
  }

  .topbar {
    margin: -18px -14px 18px;
    padding: 18px 14px 12px;
  }

  .cover-frame {
    height: 166px;
    min-height: 166px;
    max-height: 166px;
  }

  .creator-bar {
    margin: -34px 10px 0;
    padding: 12px;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
  }

  .creator-avatar {
    width: 70px;
    height: 70px;
  }

  .creator-copy h1,
  .page-head h1 {
    font-size: 29px;
  }

  .creator-copy p,
  .page-head p {
    font-size: 13px;
  }

  .store-metrics {
    margin-top: 10px;
  }

  .store-metrics span {
    min-height: 28px;
    padding: 0 8px;
  }

  .creator-actions {
    gap: 8px;
  }

  .creator-actions .primary-button,
  .creator-actions .secondary-button {
    min-height: 44px;
  }

  .creator-stats {
    margin: 10px 10px 0;
  }

  .creator-stats span {
    min-height: 58px;
    padding: 10px 12px;
  }

  .creator-stats strong,
  .head-stat strong {
    font-size: 21px;
  }

  .section-heading {
    margin-top: 26px;
  }

  .page-head {
    padding: 16px;
  }

  .head-stat {
    padding: 13px 14px;
  }

  .empty-state {
    min-height: 190px;
    padding: 22px 18px;
  }

  .bottom-nav {
    height: 74px;
    padding: 9px 14px 10px;
  }

  .bottom-nav button {
    min-height: 50px;
  }
}

@media (max-width: 560px) {
  .top-actions {
    gap: 7px;
  }

  .icon-button,
  .mode-link,
  .fan-chip {
    height: 42px;
    min-height: 42px;
  }

  .mode-link,
  .icon-button {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .cover-frame {
    height: 150px;
    min-height: 150px;
    max-height: 150px;
  }

  .creator-bar {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .creator-avatar {
    width: 62px;
    height: 62px;
  }

  .creator-copy h1,
  .page-head h1 {
    font-size: 27px;
  }

  .creator-actions {
    grid-template-columns: 1fr;
  }

  .creator-stats small,
  .head-stat span {
    font-size: 12px;
  }

  .section-heading {
    flex-direction: row;
    align-items: end;
  }

  .section-heading .small-button {
    min-width: 44px;
  }

  .section-heading .small-button span {
    display: none;
  }

  .page-head {
    grid-template-columns: 1fr auto;
  }

  .head-stat {
    width: auto;
    min-width: 84px;
    text-align: right;
  }

  .account-card,
  .account-card.wide {
    grid-template-columns: 44px 1fr;
  }
}
