:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --brand: #7047eb;
  --accent: #5330b5;
  --canvas: #f5f5f7;
  --rail: #efeff1;
  --surface: #fff;
  /* Match the light card shadow in the storefront stylesheet. */
  --card-shadow: 0 4px 12px #00000014, 0 1px 3px #0000000a;
  --ink: #1d1d1f;
  --muted: #65656a;
  --divider: #d5d5d9;
  --lavender: #eee8ff;
  --radius-control: 8px;
  --radius-panel: 16px;
  --radius-pill: 999px;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.5 }
::selection { background: var(--lavender); color: var(--accent) }
a { color: var(--accent); text-underline-offset: 3px }
button, input, textarea, select { font: inherit }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
svg { flex: none }
h1, h2, h3, p { margin: 0 }
h1 { font-size: clamp(28px, 4vw, 35px); line-height: 1.12; letter-spacing: -.035em }
h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.024em }
h3 { font-size: 16px; line-height: 1.3 }
img { display: block; max-width: 100% }
.member-shell:not(.member-auth) { display: grid; grid-template-columns: clamp(210px, 18vw, 260px) minmax(0, 1fr); min-height: 100vh }
.member-rail { background: var(--rail); border-inline-end: 1px solid var(--divider); padding: 26px 24px; position: sticky; top: 0; align-self: start; min-height: 100vh; }
.member-brand { display: block; width: fit-content; border-radius: var(--radius-control) }
.member-brand img { width: 176px; height: auto }
.member-nav { display: grid; margin-top: 36px; gap: 4px }
.member-nav a, .member-text-link, .member-back { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 600 }
.member-nav a { color: var(--ink); min-height: 44px; padding: 8px 12px; border-radius: var(--radius-control) }
.member-nav a svg { color: var(--brand) }
.member-nav a:hover { background: #e8e8ed }
.member-nav a[aria-current] { color: var(--accent); background: #e6e0f5; font-weight: 700 }
.member-nav a.market-link { margin-top: 17px; position: relative }
.member-nav a.market-link::before { content: ""; position: absolute; inset: -9px 0 auto; border-top: 1px solid var(--divider) }
.member-main { width: 100%; max-width: 1280px; min-width: 0; padding: 48px clamp(24px, 4vw, 56px) 64px; margin-inline: auto }
.member-main:focus { outline: none }
.member-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 32px }
.member-heading p { color: var(--muted); margin-top: 8px; max-width: 60ch }
.member-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; max-width: 100%; padding: 9px 17px; border: 1px solid transparent; border-radius: var(--radius-pill); text-decoration: none; background: var(--brand); color: white; font-size: 14px; font-weight: 700; line-height: 1.35; text-align: center; cursor: pointer }
.member-button:hover { background: var(--accent) }
.member-button.secondary { color: var(--accent); background: transparent; border-color: #a48bdd }
.member-button.secondary:hover { background: var(--lavender) }
.member-button svg { width: 17px; height: 17px }
.member-heading > .member-button { flex-shrink: 0 }
.member-panel { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-panel) }
.member-columns, .member-project-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 32%); gap: 24px; align-items: start }
.member-project-list { padding: 21px 24px 4px }
.member-project-list > h2 { padding-bottom: 16px }
.member-project-list ul, .member-guide ol, .member-history ul { margin: 0; padding: 0; list-style: none }
.member-project-list li { border-top: 1px solid var(--divider) }
.member-project-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 16px; align-items: center; gap: 12px; min-height: 82px; padding: 12px 2px; color: var(--ink); text-decoration: none; border-radius: 6px }
.member-project-row:hover { background: var(--canvas) }
.member-project-icon, .member-empty-icon, .member-auth-icon { display: grid; place-items: center; color: var(--accent); background: var(--lavender); border-radius: 12px }
.member-project-icon { height: 46px; width: 46px }
.member-project-icon.game { color: #055f5b; background: #e1f2ee }
.member-project-icon svg { width: 22px; height: 22px }
.member-row-copy { display: grid; min-width: 0; gap: 2px; overflow-wrap: anywhere }
.member-row-copy strong { font-size: 16px; line-height: 1.3 }
.member-row-copy span, .member-muted, .member-optional { color: var(--muted); font-size: 13px }
.member-row-copy .member-live { color: #23634c }
.member-status { display: inline-flex; align-items: center; width: fit-content; min-height: 25px; padding: 3px 9px; border-radius: var(--radius-pill); background: #f0f0f2; color: #4b4b54; font-weight: 700; font-size: 12px; line-height: 1.3 }
.member-status-submitted { background: var(--lavender); color: var(--accent) }
.member-status-approved, .member-status-published { background: #e0f2e7; color: #185438 }
.member-status-changes { background: #ffedca; color: #714100 }
.member-status-rejected { background: #f9e7e8; color: #83333c }
.member-chevron { color: var(--muted); display: flex }
.member-chevron svg { width: 16px; height: 16px }
.member-guide { overflow: clip }
.member-guide-top { padding: 22px 20px; background: var(--lavender); display: grid; gap: 12px }
.member-guide li { padding: 14px 0; }
.member-guide li + li { border-top: 1px solid var(--divider) }
.member-guide ol { padding: 0 20px }
.member-guide li p { color: var(--muted); font-size: 14px; margin-top: 2px }
.member-empty { display: grid; justify-items: start; gap: 12px; padding: 16px 0 25px }
.member-empty p { color: var(--muted); max-width: 45ch }
.member-empty-icon, .member-auth-icon { width: 48px; height: 48px }
.member-empty .member-button { margin-top: 4px }
.member-back { width: fit-content; margin-bottom: 16px; border-radius: var(--radius-control) }
.member-back svg, .member-text-link svg { width: 16px; height: 16px }
.member-project-form, .member-settings, .member-confirm { max-width: 720px }
.member-project-form fieldset { margin: 0; border: 0; padding: 20px 24px 24px; min-width: 0; position: relative }
.member-project-form fieldset + fieldset, .member-form-actions { border-top: 1px solid var(--divider) }
.member-project-form legend { float: left; width: 100%; margin: 0 0 16px; font-size: 18px; font-weight: 700; color: var(--ink) }
.member-project-form label, .member-fields label, .member-auth-form label { display: grid; clear: both; gap: 6px; font-size: 14px; font-weight: 650; min-width: 0 }
.member-project-form label + label, .member-project-form .member-fields + label, .member-project-form small + label { margin-top: 16px }
.member-project-form .member-fields label { margin-top: 0 }
.member-fields { display: grid; gap: 16px; clear: both }
.member-fields-pair { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) }
.member-main :is(input:not([type=checkbox]), select, textarea) { width: 100%; min-height: 44px; color: var(--ink); background: var(--surface); border: 1px solid #9999a4; border-radius: var(--radius-control); padding: 10px 12px; font-size: 16px; font-weight: 400 }
::placeholder { color: var(--muted); opacity: 1 }
textarea { min-height: 90px; resize: vertical }
.member-project-form small { color: var(--muted); display: block; margin-top: 6px }
.member-project-form label.member-check { display: flex; align-items: start; gap: 10px; min-height: 44px; padding: 10px 0 0; font-weight: 500 }
.member-check input { accent-color: var(--brand); width: 17px; height: 17px; flex: none; margin: 2px 0; }
.member-form-actions, .member-confirm { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 16px 24px }
.member-alert { display: flex; align-items: flex-start; gap: 8px; background: var(--lavender); color: var(--accent); border-radius: var(--radius-control); padding: 12px 14px; margin-bottom: 16px; max-width: 720px; font-size: 14px; }
.member-alert.success { background: #e0f2e7; color: #185438 }
.member-alert.error { background: #f9e7e8; color: #83333c }
.member-detail, .member-review, .member-settings > section { padding: 24px }
.member-detail dl { margin: 16px 0; }
.member-detail dt { font-weight: 650 }
.member-detail dd { margin: 2px 0 12px; color: var(--muted) }
.member-description, .member-feedback p, .member-detail dd { overflow-wrap: anywhere; white-space: pre-wrap }
.member-detail > p, .member-review > p { margin-top: 12px }
.member-review > h2 { margin-bottom: 12px }
.member-feedback { margin-top: 16px; border-top: 1px solid var(--divider); padding-top: 16px }
.member-feedback p { margin-top: 6px }
.member-detail-actions { display: flex; flex-wrap: wrap; gap: 8px }
.member-history { margin-top: 16px; padding: 12px 20px }
.member-history summary { padding-block: 8px; cursor: pointer; font-weight: 650 }
.member-history li { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--divider); padding: 10px 0; font-size: 14px }
.member-settings { display: grid; gap: 16px }
.member-settings h2 { margin-bottom: 16px }
.member-profile-note { margin: -8px 0 20px; color: var(--muted); font-size: 14px }
.member-photo { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--divider); margin-bottom: 20px }
.member-profile-avatar { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--lavender); color: var(--accent) }
.member-profile-avatar svg { width: 34px; height: 34px }
.member-profile-avatar img { width: 100%; height: 100%; object-fit: cover }
.member-photo-form { display: grid; justify-items: start; align-items: center; gap: 7px }
.member-photo-form label { font-size: 14px; font-weight: 650 }
.member-photo-form small, #bio-help { color: var(--muted); font-size: 13px }
.member-photo-form input { max-width: 100%; min-width: 0; font-size: 14px }
.member-photo-form input::file-selector-button { margin-right: 8px; padding: 7px 10px; border: 1px solid var(--divider); border-radius: 7px; background: var(--lavender); color: var(--accent); font: inherit; cursor: pointer }
.member-photo-form button, .member-text-button { margin-top: 4px }
.member-text-button { padding: 6px 0; min-height: 36px; text-decoration: underline; text-underline-offset: 3px; color: var(--accent); font: inherit; font-size: 14px; border: 0; background: transparent; cursor: pointer }
#bio-help { margin-top: -10px }
.member-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 }
.member-setting-row + .member-setting-row { border-top: 1px solid var(--divider) }
.member-setting-row:last-child { padding-bottom: 0 }
.member-setting-row p { font-size: 14px; color: var(--muted); margin-top: 3px }
.member-email { overflow-wrap: anywhere }
.member-auth .member-rail { position: static; display: flex; justify-content: space-between; align-items: center; min-height: 0; border-inline: 0; border-block-end: 1px solid var(--divider); padding: 18px clamp(16px, 4vw, 48px); gap: 14px }
.member-auth .member-brand { min-width: 0 }
.member-auth .member-brand img { width: 192px; max-width: 100% }
.member-auth .member-main { max-width: 498px; padding-inline: 20px }
.member-auth :is(.creator-signup, .member-auth-form.member-panel, .creator-welcome-intro, .creator-trust) {
  border: 0;
  border-radius: var(--radius-panel);
  box-shadow: var(--card-shadow);
}
.member-auth .member-heading { margin-bottom: 20px }
.member-auth-icon { margin-bottom: 16px }
.member-auth-form { display: grid; gap: 16px; padding: 24px; }
.member-auth-form .member-button { width: 100% }
.member-auth .member-auth-links { margin-top: 16px; font-size: 14px }
.member-auth .member-copy { display: grid; gap: 14px }
.member-auth .member-main:has(.creator-welcome) { max-width: 1160px; padding: clamp(20px, 5vw, 56px) clamp(16px, 4vw, 48px) 56px }
.creator-welcome { display: grid; gap: clamp(24px, 5vw, 48px) }
.creator-welcome-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
  gap: 16px;
  align-items: center;
}
.creator-welcome-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: clamp(20px, 3vw, 36px);
  padding-block-start: clamp(230px, 23vw, 310px);
  background: #321639;
  color: #fff;
}
.creator-welcome-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% top;
}
.creator-welcome-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent 30%, #21102b3d 43%, #21102bc7 55%, #21102bef 100%);
}
.creator-welcome-intro .member-heading { margin: 0 }
.creator-welcome-intro h1 { max-width: 18ch; font-size: clamp(30px, 3.6vw, 48px); text-wrap: balance }
.creator-welcome-intro .member-heading p { max-width: 45ch; margin-top: 12px; color: inherit }
.creator-signup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(16px, 3vw, 32px);
}
.creator-signup .member-auth-form { padding: 0; gap: 12px }
.creator-signup .member-alert { margin: 0 0 16px }
.creator-signup .member-auth-links { line-height: 1.7 }
.creator-explainer h2, .creator-trust h2 { font-size: clamp(22px, 3vw, 30px) }
.creator-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.creator-steps li { display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid var(--divider); padding-top: 16px }
.creator-step-icon {
  display: grid;
  flex: 0 0 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius-control);
  background: var(--lavender);
  color: var(--accent);
}
.creator-steps p, .creator-trust dd { margin: 4px 0 0; color: var(--muted) }
.creator-trust {
  display: grid;
  grid-template-columns: minmax(200px, .65fr) minmax(0, 1.35fr);
  column-gap: clamp(16px, 4vw, 40px);
  row-gap: 12px;
  background: var(--surface);
  padding: clamp(16px, 3.5vw, 32px);
}
.creator-trust dl { display: grid; gap: 12px; margin: 0 }
.creator-trust dt { font-weight: 700 }
.creator-trust-help { grid-column: 2; width: fit-content; font-weight: 650 }

.member-skip { position: absolute; left: 16px; top: 8px; transform: translateY(-130%); background: var(--surface); border-radius: 8px; z-index: 5; padding: 8px 12px }
.member-skip:focus { transform: none }
@media (max-width: 1090px) {
  .member-columns, .member-project-layout { grid-template-columns: minmax(0, 1fr) }
  .member-guide-top { display: flex; align-items: center }
}
@media (max-width: 739px) {
  .creator-welcome-top, .creator-steps, .creator-trust { grid-template-columns: minmax(0, 1fr) }
  .creator-trust-help { grid-column: 1 }
  .member-shell:not(.member-auth) { display: block }
  .member-rail { min-height: 0; position: static; border-inline: 0; border-block-end: 1px solid var(--divider); padding: 14px 16px 10px }
  .member-nav { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 4px }
  .member-nav a { padding-inline: 8px; gap: 5px; min-height: 41px; font-size: 13px }
  .member-nav a svg { width: 16px; height: 16px }
  .member-nav a.market-link { margin-top: 0 }
  .member-nav a.market-link::before { display: none }
  .member-main { padding: 24px 16px 48px }
  .member-heading { margin-bottom: 20px; flex-wrap: wrap }
  .member-columns, .member-project-layout { gap: 16px }
  .member-panel { border-radius: 14px }
  .member-project-list { padding: 16px 14px 3px }
  .member-project-row { grid-template-columns: 38px minmax(0, 1fr) 16px; gap: 3px 10px }
  .member-project-icon { grid-row: span 2; width: 38px; height: 38px; align-self: center }
  .member-project-row .member-status { grid-column: 2; grid-row: 2 }
  .member-chevron { grid-column: 3; grid-row: 1 / span 2 }
  .member-fields-pair { grid-template-columns: 1fr }
  .member-project-form fieldset, .member-detail, .member-review, .member-settings > section { padding: 16px }
  .member-setting-row { flex-wrap: wrap; gap: 7px }
}

@media (max-width: 375px) {
  .member-photo { grid-template-columns: 1fr }
}

.newsletter-panel { max-width: 32rem; margin-inline: auto; }
.newsletter-panel .member-auth-form { padding: 0; }
.newsletter-panel > p { margin: 0 0 1rem; color: var(--muted); }
.member-auth-form .member-check { display: flex; align-items: flex-start; gap: 0.625rem; font-weight: 500; }

.member-auth .member-main:has(.newsletter-welcome, .saved-shared) { max-width: 1080px; padding: clamp(20px, 5vw, 52px) clamp(16px, 4vw, 42px) 56px; }
.newsletter-welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: clip; }
.newsletter-art { display: grid; place-items: center; background: #e9dbf8; }
.newsletter-art img { width: 100%; height: auto; }
.newsletter-content { min-width: 0; padding: clamp(24px, 4vw, 44px); }
.newsletter-welcome .member-auth-form { gap: 12px; padding: 0; }
.newsletter-welcome .member-auth-form > p, .newsletter-content dd, .newsletter-unsubscribe { color: var(--muted); font-size: 14px; }
.newsletter-terms { display: grid; gap: 12px; margin: 22px 0 16px; padding-top: 18px; border-block-start: 1px solid var(--divider); }
.newsletter-terms dt { color: var(--ink); font-size: 14px; font-weight: 700; }
.newsletter-terms dd { margin: 2px 0 0; }
.newsletter-unsubscribe strong { color: var(--ink); }
.newsletter-content .member-auth-links { margin-top: 10px; }

.saved-toolbar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 20px; justify-content: space-between; }
.saved-toolbar summary, .saved-row-actions summary { color: var(--accent); font-size: 14px; font-weight: 650; padding: 8px 4px; cursor: pointer; }
.saved-folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(185px, 100%), 1fr)); gap: 10px; margin-top: 16px; }
.saved-folder { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-panel); display: flex; align-items: center; gap: 10px; padding: 12px; min-width: 0; color: var(--ink); text-decoration: none; }
.saved-folder:hover, .saved-folder[aria-current] { background: var(--lavender); border-color: #a48bdd; }
.saved-folder .member-project-icon { width: 38px; height: 38px; flex: none; }
.saved-results-heading { margin-top: 28px; }
.saved-inline { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.saved-inline label { display: grid; gap: 4px; min-width: 0; font-size: 13px; font-weight: 650; }
.saved-inline input, .saved-inline select, .saved-copy-field { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--divider); border-radius: var(--radius-control); background: var(--surface); color: var(--ink); }
.saved-inline input, .saved-inline select, .saved-copy-field { font-size: 16px; }
.saved-search { margin: 16px 0; }
.saved-search label { flex: 1 1 180px; max-width: 320px; }
.saved-folder-settings > p, .saved-share p { font-size: 14px; color: var(--muted); margin: 6px 0; }
.saved-folder-settings[open] { flex-basis: 100%; }
.saved-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0; padding: 14px 16px; }
.saved-share > div:first-child { max-width: 56ch; }
.saved-share-actions, .saved-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.saved-create[open] { flex-basis: 100%; }
.saved-list { list-style: none; margin: 14px 0 20px; padding: 0 16px; }
.saved-list > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 0; }
.saved-list > li + li { border-top: 1px solid var(--divider); }
.saved-list > li:has(.saved-row-actions[open]) { grid-template-columns: 1fr; }
.saved-listing { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); text-decoration: none; }
.saved-listing:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.saved-thumbnail { width: 68px; height: 48px; object-fit: cover; flex: none; border-radius: var(--radius-control); }
.saved-row-actions[open] .saved-actions { margin: 0 0 4px; }
.saved-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saved-shared .saved-list > li { grid-template-columns: 1fr; }
@media (max-width: 680px) {
  .newsletter-welcome { grid-template-columns: 1fr; }
  .newsletter-art img { width: 100%; max-height: 235px; object-fit: cover; }
  .newsletter-content { padding: 20px; }
  .saved-list { padding-inline: 12px; }
  .saved-thumbnail { width: 50px; height: 42px; }
}

.saved-import-link { margin: -16px 0 24px; font-size: 14px; }
[data-saved-status][hidden] { display: none; }

.saved-next-strip {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin: 0 0 28px;
  background: var(--lavender); border-radius: var(--radius-panel); color: var(--accent); text-decoration: none;
}
.saved-next-strip .member-project-icon { flex: none; width: 44px; height: 44px; background: var(--surface); }
.saved-next-strip .member-row-copy { flex: 1; }
.saved-next-strip .member-row-copy span { color: var(--accent); }
.saved-next-strip:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.saved-next-count { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.saved-row-tools, .next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.saved-row-tools:has(.saved-row-actions[open]) .saved-row-actions { flex-basis: 100%; }
.saved-catalog-notice, .saved-confirm-remove p { margin-block: 8px; font-size: 14px; color: var(--muted); }
.next-subtle.member-button { border-color: transparent; }
.next-back { width: fit-content; min-height: 44px; margin-bottom: 12px; }
.next-feature {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "note";
  align-items: center; gap: 20px 24px; padding: clamp(16px, 3vw, 28px); background: var(--lavender);
  border-color: transparent; scroll-margin-block: 16px;
}
.next-feature.has-cover { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "copy art" "note note"; }
.next-feature-main { grid-area: copy; min-width: 0; }
.next-feature-main h2 { font-size: 28px; overflow-wrap: anywhere; }
.next-feature-main p { color: var(--accent); margin: 6px 0 16px; }
.next-cover { grid-area: art; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.next-feature-note { grid-area: note; border-top: 1px solid var(--divider); }
.next-after { margin-top: 28px; }
.saved-note { grid-column: 1 / -1; min-width: 0; }
.saved-note summary {
  display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%;
  min-height: 40px; cursor: pointer; color: var(--accent); list-style: none; font-size: 14px; font-weight: 650;
}
.saved-note summary::-webkit-details-marker { display: none; }
.saved-note summary svg { width: 16px; height: 16px; }
.saved-note summary span:first-of-type { flex: none; }
.saved-note-preview { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-weight: 400; }
.next-feature-note .saved-note-preview { color: var(--accent); }
.saved-note[open] .saved-note-preview { display: none; }
.saved-note-form { display: grid; gap: 8px; margin: 4px 0 8px; }
.saved-note-form label { font-weight: 650; font-size: 14px; }
.saved-note-form textarea {
  display: block; width: 100%; min-height: 82px; padding: 10px 12px; resize: vertical;
  background: var(--surface); color: var(--ink); border: 1px solid var(--divider); border-radius: var(--radius-control);
}
.saved-note-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.saved-note-footer p, .saved-note-current { color: var(--muted); font-size: 14px; }
.next-feature-note .saved-note-footer p { color: var(--accent); }
.saved-note-current { display: grid; gap: 4px; padding-block: 4px 8px; overflow-wrap: anywhere; white-space: pre-wrap; }
.saved-list li[id], .next-feature-note[id] { scroll-margin-block: 24px; }
@media (max-width: 680px) {
  .next-feature.has-cover { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "copy" "note"; }
  .next-cover { max-height: 184px; }
  .next-feature-main h2 { font-size: 24px; }
  .saved-list > li:has(.saved-row-tools, .next-actions) { grid-template-columns: minmax(0, 1fr); }
}
.reader-review-form { margin-bottom: 16px }
.reader-review-note, .reader-review-links { max-width: 720px }
.reader-review-note { font-size: 14px; color: var(--muted) }
.reader-review-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 12px }
.member-review-history { padding: 16px 24px; max-width: 720px }
.member-review-history li + li { margin-top: 8px }
.review-sr-only, .rating-pick-option input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap }
.rating-picker { position: relative; display: grid; width: min(100%, 250px); height: 48px; grid-template-columns: repeat(10, minmax(0, 1fr)); color: var(--accent) }
.rating-stars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; justify-items: center; pointer-events: none }
.rating-stars svg { fill: transparent; stroke: currentColor; stroke-width: 1.65; stroke-linejoin: round }
.rating-pick-option { position: relative; grid-row: 1; cursor: pointer }
.rating-pick-option.pick-2 { grid-column: span 2 }
.rating-pick-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 5px }
.rating-picker:has(.pick-2 input:checked) .rating-stars svg:nth-child(-n+1) { fill: currentColor }
.rating-picker:has(.pick-3 input:checked) .rating-stars svg:nth-child(-n+1) { fill: currentColor }
.rating-picker:has(.pick-4 input:checked) .rating-stars svg:nth-child(-n+2) { fill: currentColor }
.rating-picker:has(.pick-5 input:checked) .rating-stars svg:nth-child(-n+2) { fill: currentColor }
.rating-picker:has(.pick-6 input:checked) .rating-stars svg:nth-child(-n+3) { fill: currentColor }
.rating-picker:has(.pick-7 input:checked) .rating-stars svg:nth-child(-n+3) { fill: currentColor }
.rating-picker:has(.pick-8 input:checked) .rating-stars svg:nth-child(-n+4) { fill: currentColor }
.rating-picker:has(.pick-9 input:checked) .rating-stars svg:nth-child(-n+4) { fill: currentColor }
.rating-picker:has(.pick-10 input:checked) .rating-stars svg:nth-child(-n+5) { fill: currentColor }
.rating-picker:has(.pick-3 input:checked) .rating-stars svg:nth-child(2) { fill: url(#rating-half) }
.rating-picker:has(.pick-5 input:checked) .rating-stars svg:nth-child(3) { fill: url(#rating-half) }
.rating-picker:has(.pick-7 input:checked) .rating-stars svg:nth-child(4) { fill: url(#rating-half) }
.rating-picker:has(.pick-9 input:checked) .rating-stars svg:nth-child(5) { fill: url(#rating-half) }
.rating-picker .rating-half-start { stop-color: var(--accent) }
.rating-picker .rating-half-end { stop-color: var(--surface) }

.rating-readout { font-size: 14px; color: var(--accent); font-weight: 650 }
.rating-readout span { display: none }
.reader-review-form fieldset:has(.pick-2 input:checked) .readout-2 { display: inline }
.reader-review-form fieldset:has(.pick-3 input:checked) .readout-3 { display: inline }
.reader-review-form fieldset:has(.pick-4 input:checked) .readout-4 { display: inline }
.reader-review-form fieldset:has(.pick-5 input:checked) .readout-5 { display: inline }
.reader-review-form fieldset:has(.pick-6 input:checked) .readout-6 { display: inline }
.reader-review-form fieldset:has(.pick-7 input:checked) .readout-7 { display: inline }
.reader-review-form fieldset:has(.pick-8 input:checked) .readout-8 { display: inline }
.reader-review-form fieldset:has(.pick-9 input:checked) .readout-9 { display: inline }
.reader-review-form fieldset:has(.pick-10 input:checked) .readout-10 { display: inline }
.reader-review-form .rating-pick-option { margin: 0 }
.rating-pick-option input { min-height: 0; padding: 0 }

/* Signed-in content sits inside the shared Market frame. */
.market-member { line-height: normal }
.market-member .member-frame { padding-block-start: var(--space-3) }
.market-member .member-main {
  --brand: #7047eb;
  --muted: var(--quiet);
  --divider: var(--rule);
  --lavender: var(--accent-soft);
  --radius-panel: var(--radius-card);
  max-width: none;
  padding: 0;
  line-height: 1.5;
}
.market-member .member-heading { padding-inline-end: 52px }
.market-member .member-heading h1 { font-size: var(--text-7); letter-spacing: -.025em; line-height: 1.15 }
.market-member .member-main a:not([class]) { color: var(--accent); text-decoration: underline }
[data-theme="dark"] .market-member .member-button:not(.secondary) { color: var(--accent-ink); background: var(--neon) }
[data-theme="dark"] .market-member .member-button:not(.secondary):hover { background: var(--accent) }
[data-theme="dark"] .market-member .member-row-copy .member-live { color: #8ed9a9 }
@media (max-width: 739px) {
  .market-member .member-heading { padding-inline-end: 0 }
}
