/* Shopper accounts: sign-in, dashboard, order detail, wishlist. */

/* sign-in */
.acct-auth { min-height: 78vh; display: flex; align-items: center; justify-content: center; padding: 150px 20px 90px; }
.acct-auth-card { width: 100%; max-width: 480px; background: var(--panel); border: 2px solid var(--line); border-top: 4px solid var(--acc); padding: 38px 34px; }
.acct-auth-card h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1; margin-bottom: 14px; }
.acct-auth-card h1 em { font-style: normal; color: var(--grn); }
.acct-lede { color: var(--tx2); line-height: 1.7; margin-bottom: 24px; }
.acct-lede strong { color: var(--tx); word-break: break-all; }
.acct-form .f-field { margin-bottom: 18px; }
.acct-submit { width: 100%; text-align: center; }
.acct-error { background: rgba(231, 56, 67, .14); border: 1px solid var(--red); color: var(--tx); padding: 12px 14px; margin-bottom: 18px; font-size: .92rem; }
.acct-perks { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.acct-perks li { color: var(--tx2); font-size: .92rem; padding-left: 26px; position: relative; line-height: 1.5; }
.acct-perks li::before { content: '✓'; position: absolute; left: 0; color: var(--grn); font-weight: 900; }
.acct-steps { margin: 0 0 22px 20px; color: var(--tx); display: grid; gap: 6px; }
.acct-muted { color: var(--tx3); font-size: .9rem; line-height: 1.65; }
.acct-muted a, .acct-note a { color: var(--acc); }

/* account header */
.acct-head { padding: 140px 0 0; border-bottom: 2px solid var(--line); }
.acct-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.acct-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }
.acct-head h1 em { font-style: normal; color: var(--acc); }
.acct-email { color: var(--tx3); margin-top: 10px; font-size: .92rem; word-break: break-all; }
.acct-signout { padding: 10px 6px; }
.acct-tabs { display: flex; gap: 26px; margin-top: 26px; }
.acct-tabs a { padding: 12px 0; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.acct-tabs a:hover { color: var(--tx); }
.acct-tabs a[aria-current="page"] { color: var(--tx); border-color: var(--acc); }

/* body */
.acct-body { padding: 44px 0 100px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr); gap: 26px; align-items: start; }
.acct-h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 20px; }
.acct-h2 em { font-style: normal; color: var(--grn); }
.acct-empty { padding: 56px 24px; }
.acct-side { display: grid; gap: 18px; }
.acct-card { background: var(--panel); border: 2px solid var(--line); padding: 22px; }
.acct-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.acct-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.acct-card-head a { color: var(--acc); font-weight: 800; font-size: .82rem; }

/* order rows */
.acct-orders { display: grid; gap: 12px; }
.acct-order { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 14px; background: var(--panel); border: 2px solid var(--line); transition: border-color .2s, transform .2s; }
.acct-order:hover { border-color: var(--acc); transform: translateY(-2px); }
.acct-order-thumb { width: 72px; height: 72px; background: var(--panel2); overflow: hidden; display: block; }
.acct-order-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-order-main { display: grid; gap: 3px; min-width: 0; }
.acct-order-no { font-family: var(--head); font-size: 1.15rem; letter-spacing: .02em; color: var(--tx); }
.acct-order-items { color: var(--tx2); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-order-meta { color: var(--tx3); font-size: .82rem; }
.acct-by { color: var(--acc); font-size: .85rem; }

.acct-pill { font-weight: 900; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border: 2px solid var(--line2); color: var(--tx2); white-space: nowrap; }
.acct-pill.is-confirmed { border-color: var(--blu); color: #7fb0ff; }
.acct-pill.is-making { border-color: var(--ylw); color: var(--ylw); }
.acct-pill.is-shipped { border-color: var(--acc); color: var(--acc); }
.acct-pill.is-delivered { border-color: var(--grn); color: var(--grn); }
.acct-pill.is-cancelled, .acct-pill.is-refunded { border-color: var(--red); color: #ff7b83; }

/* wishlist mini */
.acct-wish-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acct-wish-mini a { position: relative; display: block; background: var(--panel2); aspect-ratio: 1; overflow: hidden; }
.acct-wish-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.acct-wish-mini a:hover img { transform: scale(1.06); }
.acct-wish-mini span { position: absolute; left: 6px; bottom: 6px; background: rgba(10, 10, 10, .85); color: var(--tx); font-weight: 800; font-size: .74rem; padding: 3px 7px; }

/* order detail */
.acct-back { display: inline-block; color: var(--tx3); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.acct-back:hover { color: var(--acc); }
.acct-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.acct-order-head .acct-h2 { margin-bottom: 4px; }
.acct-track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 24px; padding: 0; counter-reset: step; }
.acct-track li { position: relative; padding-top: 30px; text-align: center; display: grid; gap: 2px; color: var(--tx3); }
.acct-track li::before { content: ''; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: var(--line2); }
.acct-track li:first-child::before { content: none; }
.acct-track .dot { position: absolute; top: 0; left: 50%; width: 21px; height: 21px; margin-left: -10.5px; border-radius: 50%; background: var(--bg); border: 3px solid var(--line2); z-index: 1; }
.acct-track b { font-size: .86rem; font-weight: 800; }
.acct-track small { font-size: .74rem; }
.acct-track li.is-done, .acct-track li.is-now { color: var(--tx); }
.acct-track li.is-done::before, .acct-track li.is-now::before { background: var(--grn); }
.acct-track li.is-done .dot { background: var(--grn); border-color: var(--grn); }
.acct-track li.is-now .dot { border-color: var(--grn); box-shadow: 0 0 0 5px rgba(163, 230, 53, .18); }
.acct-note { border: 2px solid var(--red); background: rgba(231, 56, 67, .1); padding: 16px 18px; margin-bottom: 24px; color: var(--tx2); line-height: 1.6; }
.acct-tracking { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; border-color: var(--acc); }
.acct-tracking p { color: var(--tx2); word-break: break-all; }
.acct-made { margin: -6px 0 24px; }
.acct-items { list-style: none; margin: 0; padding: 0; }
.acct-items li { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.acct-items li:first-child { border-top: 0; padding-top: 4px; }
.acct-items a.acct-order-no:hover { color: var(--acc); }
.acct-totals { margin: 8px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.acct-totals div { display: flex; justify-content: space-between; color: var(--tx2); }
.acct-totals dd { margin: 0; color: var(--tx); }
.acct-totals .total { margin-top: 6px; font-family: var(--head); font-size: 1.3rem; color: var(--tx); }
.acct-totals .total dd { color: var(--acc); }
.acct-address { color: var(--tx2); line-height: 1.7; }

@media (max-width: 960px) {
  .acct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .acct-auth { padding-top: 120px; }
  .acct-auth-card { padding: 30px 20px; }
  .acct-head { padding-top: 118px; }
  .acct-order { grid-template-columns: 56px 1fr; }
  .acct-order-thumb { width: 56px; height: 56px; }
  .acct-order .acct-pill { grid-column: 2; justify-self: start; }
  .acct-items li { grid-template-columns: 56px 1fr; }
  .acct-items li > b { grid-column: 2; }
  .acct-track b { font-size: .74rem; }
}

/* ---------------- creator dashboard ---------------- */
.cr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.cr-head .acct-h2 { margin-bottom: 4px; }
.cr-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cr-switch { display: flex; gap: 4px; border: 2px solid var(--line); padding: 3px; }
.cr-switch a { padding: 7px 12px; font-weight: 800; font-size: .78rem; color: var(--tx3); }
.cr-switch a[aria-current="true"] { background: var(--acc); color: #0A0A0A; }
.cr-notice { border: 2px solid var(--ylw); background: rgba(248, 206, 0, .08); color: var(--tx); padding: 14px 16px; margin-bottom: 22px; line-height: 1.6; }
.cr-notice a { color: var(--ylw); }
.cr-notice-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.cr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cr-stat { background: var(--panel); border: 2px solid var(--line); padding: 18px; display: grid; gap: 4px; }
.cr-stat span { color: var(--tx3); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cr-stat b { font-family: var(--head); font-size: 2rem; line-height: 1.1; color: var(--tx); }
.cr-stat small { color: var(--tx3); font-size: .8rem; }
.cr-stat.is-paid b { color: var(--grn); }
.cr-footnote { margin: 12px 0 22px; }
.cr-section { margin-bottom: 22px; }
.cr-scroll { overflow-x: auto; }
.cr-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cr-table th { text-align: left; color: var(--tx3); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.cr-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--tx2); vertical-align: middle; }
.cr-table td a { color: var(--tx); font-weight: 700; }
.cr-table td a:hover { color: var(--acc); }
.cr-table .cr-num { text-align: right; white-space: nowrap; }
.cr-table .acct-pill { font-size: .6rem; padding: 5px 8px; }
.cr-sub { display: block; color: var(--tx3); font-size: .78rem; }
.cr-badge { font-weight: 800; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.cr-badge.is-active { color: var(--grn); }
.cr-payouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cr-payouts li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.cr-payouts li:first-child { border-top: 0; padding-top: 0; }
.cr-payouts b { font-family: var(--head); font-size: 1.3rem; color: var(--grn); display: block; }
.cr-payouts small { display: block; color: var(--tx3); font-size: .8rem; }
.cr-payouts code { color: var(--tx3); font-size: .74rem; word-break: break-all; }

/* page editor */
.cr-edit { max-width: 920px; }
.cr-intro { margin: -8px 0 22px; }
.cr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cr-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cr-form .f-field { margin-bottom: 16px; }
.cr-error { margin-top: 6px; }
.cr-thumb { display: block; width: 100%; max-height: 180px; object-fit: cover; margin-bottom: 10px; border: 2px solid var(--line); }
.cr-thumb-about_image { max-width: 150px; max-height: 220px; }

/* Gallery editor. A fixed grid of squares so ten images of different shapes
   still read as one set, and the Keep box sits under each rather than over
   it — a control on top of the picture is a control you cannot see against
   half the pictures. */
.cr-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin: 0 0 16px; padding: 0; }
.cr-gallery li { list-style: none; }
.cr-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--line); border-radius: 10px; }
.cr-gallery label { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .78rem; font-weight: 700; color: var(--tx2); cursor: pointer; }
.cr-gallery input { accent-color: var(--acc); }
/* Unticked reads as on its way out. */
.cr-gallery li:has(input:not(:checked)) img { opacity: .35; filter: grayscale(1); }
.cr-submit { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

@media (max-width: 960px) { .cr-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cr-row, .cr-socials { grid-template-columns: 1fr; } .cr-stat b { font-size: 1.6rem; } }

/* "Keep me signed in" tick box on the finish-signing-in page. */
.acct-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: .92rem;
  color: var(--tx2);
  cursor: pointer;
}
.acct-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--acc);
  cursor: pointer;
}
.acct-remember:hover { color: var(--tx); }

/* =============================================================
   Partner dashboard
   Built for a phone first: partners check this between streams, so the money
   leads at any width and every table scrolls rather than squashing.
   ============================================================= */

.cr-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.cr-tabs a { padding: 10px 16px; border: 2px solid var(--line); color: var(--tx2); font-size: .82rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.cr-tabs a:hover { border-color: var(--line2); color: var(--tx); }
.cr-tabs a[aria-current="page"] { background: var(--tx); border-color: var(--tx); color: var(--bg); }
.cr-tab-dot { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--acc);
  color: #0A0A0A; font-size: .7rem; line-height: 18px; text-align: center; }

/* money row: the balance leads, the rest follow */
.cr-money { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.cr-balance, .cr-money .cr-stat { border: 2px solid var(--line); padding: 18px 20px; }
.cr-balance { background: linear-gradient(150deg, rgba(255, 107, 53, .16), transparent 70%); border-color: var(--acc); }
.cr-balance span, .cr-money .cr-stat span { display: block; font-size: .68rem; font-weight: 900; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tx3); }
.cr-balance b { display: block; margin-top: 8px; font-family: var(--head); font-size: 2.6rem; line-height: 1; color: var(--tx); }
.cr-money .cr-stat b { display: block; margin-top: 8px; font-family: var(--head); font-size: 1.9rem; line-height: 1; }
.cr-balance small, .cr-money .cr-stat small { display: block; margin-top: 8px; font-size: .78rem; color: var(--tx2); }

.cr-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
.cr-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cr-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cr-section-head h3 { margin: 0; }
.cr-section-head a { font-size: .8rem; font-weight: 800; }
.cr-small { font-size: .78rem; }

/* their share by month */
.cr-chart { display: flex; align-items: flex-end; gap: 10px; height: 168px; }
.cr-bar { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.cr-bar > span { width: 100%; background: var(--line2); }
.cr-bar > span.is-best { background: var(--acc); }
.cr-bar em { font-style: normal; font-size: .72rem; color: var(--tx3); }
.cr-bar b { font-size: .74rem; color: var(--tx2); }

.cr-share { color: var(--grn); }
.cr-ledger td, .cr-ledger th { white-space: nowrap; }
.cr-table tfoot td { border-top: 2px solid var(--line); font-weight: 800; }
.cr-table tr.is-void td { opacity: .55; }
.cr-badge.is-void { border-color: var(--red); color: var(--red); }

/* how a sale becomes a share */

/* page checklist */
.cr-meter { height: 8px; background: var(--line); margin: 4px 0 14px; }
.cr-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--acc), var(--ylw)); }
.cr-check { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cr-check li { font-size: .86rem; color: var(--tx2); }
.cr-check li.is-done { color: var(--tx3); }

/* Payout change waiting for its emailed code (PayoutGuard). Accent-edged so
   it reads as the thing to do next, above the form it came from. */
.cr-code-box { margin: 0 0 18px; padding: 16px 18px; border: 1px solid var(--acc); border-left-width: 4px; border-radius: 14px; background: color-mix(in srgb, var(--acc) 8%, transparent); }
.cr-code-title { margin: 0 0 4px; font-weight: 900; }
.cr-code-box p.cr-small { margin: 0 0 12px; }
.cr-code-form { display: flex; gap: 10px; flex-wrap: wrap; }
.cr-code-form input { flex: 1 1 140px; max-width: 200px; padding: 11px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); color: var(--tx); font: 800 1.2rem/1 ui-monospace, Consolas, monospace; letter-spacing: .3em; }
.cr-code-cancel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 10px; }
.cr-linkish { padding: 0; border: 0; background: none; color: var(--tx2); font: inherit; font-size: .8rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
.cr-linkish:hover { color: var(--acc); }
.cr-flag-note { margin: 8px 0 0; color: var(--ylw, #F8CE00); font-weight: 700; }
.cr-settings { display: flex; flex-direction: column; gap: 10px; }
.cr-settings label { font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.cr-settings input[type="text"], .cr-settings select, .cr-request input[type="text"], .cr-request textarea, .cr-request input[type="file"] {
  width: 100%; padding: 11px 12px; border: 2px solid var(--line); background: var(--bg); color: var(--tx);
  font-family: var(--body); font-size: .92rem; }
.cr-settings input:focus-visible, .cr-settings select:focus-visible, .cr-request input:focus-visible, .cr-request textarea:focus-visible {
  outline: 2px solid var(--acc); outline-offset: 2px; }
.cr-toggle { display: flex !important; align-items: center; gap: 10px; margin-top: 4px; font-size: .84rem !important;
  font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--tx2) !important; }
.cr-toggle input { width: 20px; height: 20px; accent-color: var(--acc); }
.btn-block { display: block; width: 100%; text-align: center; }

.cr-copy { display: flex; gap: 8px; margin-bottom: 12px; }
.cr-copy input { flex: 1 1 auto; min-width: 0; padding: 11px 12px; border: 2px solid var(--line); background: var(--bg);
  color: var(--tx2); font-family: var(--body); font-size: .86rem; }

/* payouts */
.cr-payout { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px;
  border: 1px solid var(--line); background: var(--panel); }
.cr-payout + .cr-payout { margin-top: 8px; }
.cr-payout b { display: block; font-size: .92rem; }
.cr-payout small { display: block; margin-top: 3px; font-size: .78rem; color: var(--tx3); }
.cr-payout span { font-family: var(--head); font-size: 1.4rem; }
.cr-payout.is-next { border-style: dashed; border-color: var(--acc); }

/* merch pipeline */
.cr-pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cr-pipe-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cr-pipe-head { margin: 0; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.cr-pipe-head span { color: var(--tx2); }
.cr-pipe-card { padding: 12px 14px; border-left: 3px solid var(--line2); background: var(--panel); }
.cr-pipe-card b { display: block; font-size: .92rem; }
.cr-pipe-card small { display: block; margin-top: 3px; font-size: .78rem; color: var(--tx2); }
.cr-pipe-card a { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 800; }
.cr-pipe-card.is-waiting { border-left-color: var(--acc); background: rgba(255, 107, 53, .1); }
.cr-pipe-card.is-live { border-left-color: var(--grn); }
.cr-pipe-note { margin: 8px 0 0; font-size: .78rem; color: var(--tx2); }

/* request form */
.cr-request { display: flex; flex-direction: column; gap: 18px; margin-top: 16px; }
.cr-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cr-label { font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.cr-hint { margin: 0; font-size: .78rem; color: var(--tx2); }

/* promo kit */
.cr-kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 14px; }
.cr-kit-item { display: block; padding: 10px; border: 2px solid var(--line); background: var(--panel); color: var(--tx); }
.cr-kit-item:hover { border-color: var(--acc); }
.cr-kit-shot { display: block; height: 96px; margin-bottom: 10px; background: var(--bg); overflow: hidden; }
.cr-kit-shot img { width: 100%; height: 100%; object-fit: contain; }
.cr-kit-item b { display: block; font-size: .88rem; }
.cr-kit-item small { display: block; margin-top: 2px; font-size: .74rem; color: var(--tx3); }
.cr-kit-item em { display: block; margin-top: 8px; font-style: normal; font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }

/* insights */
.cr-insights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0 18px; }
.cr-insights .cr-stat { border: 1px solid var(--line); padding: 14px 16px; }
.cr-insights .cr-stat span { display: block; font-size: .66rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.cr-insights .cr-stat b { display: block; margin-top: 6px; font-family: var(--head); font-size: 1.7rem; line-height: 1; }
.cr-insights .cr-stat small { display: block; margin-top: 4px; font-size: .76rem; color: var(--tx2); }
.cr-days { display: flex; align-items: flex-end; gap: 3px; height: 96px; margin-bottom: 6px; }
.cr-days span { flex: 1 1 0; background: var(--line2); min-height: 2px; }
.cr-days span:last-child { background: var(--acc); }
.cr-sub { margin: 20px 0 10px; font-size: 1rem; }
.cr-sources { display: flex; flex-direction: column; gap: 9px; }
.cr-source { display: grid; grid-template-columns: 96px minmax(0, 1fr) 54px; gap: 10px; align-items: center; font-size: .84rem; }
.cr-source-bar { height: 8px; background: var(--line); }
.cr-source-bar span { display: block; height: 100%; background: var(--acc); }
.cr-source b { text-align: right; color: var(--tx2); }

@media (max-width: 1080px) {
  .cr-money { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-cols { grid-template-columns: 1fr; }
  .cr-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cr-money { grid-template-columns: 1fr; }
  .cr-balance b { font-size: 2.9rem; }
  .cr-pipe { grid-template-columns: 1fr; }
  .cr-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .cr-chart { height: 140px; }
}

/* ---- storage meter (ArtistStorage) ---- */
.stg-meter { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.stg-meter-head { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; font-weight: 800; }
.stg-meter-head span { color: var(--tx3); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
.stg-meter-track { height: 8px; margin: 8px 0; border-radius: 999px; background: var(--line); overflow: hidden; }
.stg-meter-track span { display: block; height: 100%; background: var(--grn, #A3E635); }
.stg-meter.is-high .stg-meter-track span { background: var(--ylw); }
.stg-meter.is-full .stg-meter-track span { background: var(--red); }
.stg-meter-note { margin: 0; font-size: .76rem; color: var(--tx3); line-height: 1.5; }

/* ---- the artists they follow or saved (account/artists) ---- */
.fa-list { display: grid; gap: 10px; }
.fa-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 2px solid var(--line); background: var(--panel); }
.fa-face { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--panel2); color: var(--tx2); font-weight: 900; font-size: 1.4rem; text-decoration: none; }
.fa-face img { width: 100%; height: 100%; object-fit: cover; }
.fa-words { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fa-name { font-weight: 900; font-size: 1.05rem; color: var(--tx); text-decoration: none; }
.fa-name:hover { color: var(--acc); }
.fa-words small { color: var(--tx3); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fa-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.fa-tags i { font-style: normal; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--line2); color: var(--tx2); }
.fa-state.is-open, .fa-state.is-limited { border-color: var(--grn); color: var(--grn); }
.fa-state.is-waitlist, .fa-state.is-full { border-color: var(--ylw); color: var(--ylw); }
.fa-do { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.fa-do form { margin: 0; }
.fa-undo { padding: 0; border: 0; background: none; color: var(--tx3); font: inherit; font-size: .78rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
.fa-undo:hover { color: var(--red); }
@media (max-width: 640px) {
  .fa-card { grid-template-columns: 52px minmax(0, 1fr); }
  .fa-face { width: 52px; height: 52px; }
  .fa-do { grid-column: 1 / -1; justify-content: flex-start; }
}
