/* ALLWOMENSTALK Editorial profile */
:root {
  --pink-700: #C40069;
  --pink-600: #E6007E;
  --pink-500: #F73C9B;
  --pink-400: #FF5CA8;
  --pink-300: #FF8FC4;
  --pink-100: #FFE3F1;
  --pink-50: #FFF2F8;
  --ink-900: #1A1417;
  --ink-700: #3D343A;
  --ink-500: #6E626A;
  --ink-400: #938893;
  --line: #EDE7EB;
  --paper: #FFFFFF;
  --paper-warm: #FCF9FB;
  --paper-2: #F7F2F6;
  --shadow-sm-awt: 0 1px 2px rgba(26, 20, 23, .04), 0 1px 3px rgba(26, 20, 23, .05);
  --shadow-md-awt: 0 4px 14px rgba(26, 20, 23, .06), 0 2px 6px rgba(26, 20, 23, .04);
  --shadow-lg-awt: 0 18px 50px -12px rgba(26, 20, 23, .18);
}

.bg-awt-paper,
.awt-profile-page,
body:has(.awt-page-shell) {
  background: var(--paper-warm);
}

.awt-page-shell {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px -40px rgba(26, 20, 23, .25);
}

.awt-topnav {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
}

.awt-topnav-inner {
  max-width: 1240px;
}

.awt-topnav .h-16 {
  min-height: 64px;
}

.awt-topnav img,
.awt-topnav svg {
  display: block;
}

.awt {
  color: var(--ink-900);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mono-num {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "tnum" 1;
}

.edA {
  width: 100%;
  background: var(--paper);
}

.edA .mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--line);
}

.edA .mast .wm {
  color: var(--pink-600);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}

.edA .mast-actions {
  display: flex;
  gap: 8px;
}

.edA .icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-700);
  cursor: pointer;
}

.edA .icon-btn:hover {
  border-color: var(--pink-300);
  color: var(--pink-600);
}

.edA .cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  overflow: hidden;
}

.edA .cover-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background:
    repeating-linear-gradient(135deg, rgba(230, 0, 126, .06) 0 12px, rgba(230, 0, 126, 0) 12px 24px),
    linear-gradient(135deg, var(--pink-50), var(--paper-2));
}

/* Blurred + darkened fade across the bottom so overlaid text stays readable */
.edA .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(26, 20, 23, 0) 28%,
    rgba(26, 20, 23, .35) 56%,
    rgba(26, 20, 23, .7) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 30%, #000 70%);
}

.edA .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 -1px 0 var(--line);
}

.edA .identity {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 24px;
  padding: 0 40px 32px;
}

.edA .id-left {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  min-width: 0;
}

/* Light text treatment for the identity block when overlaid on the cover */
.edA .cover .identity .name,
.edA .cover .identity .kicker,
.edA .cover .identity .tagline {
  text-shadow: 0 1px 14px rgba(26, 20, 23, .5);
}

.edA .cover .identity .kicker {
  margin-top: 8px;
  color: var(--pink-300);
}

.edA .cover .identity .name {
  color: #fff;
}

.edA .cover .identity .tagline {
  color: rgba(255, 255, 255, .92);
}

.edA .cover .identity .topic {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.edA .cover .identity .btn-ghost {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.edA .cover .identity .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .24);
}

.edA .avatar {
  width: 148px;
  height: 148px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-600), var(--pink-300));
  box-shadow: 0 0 0 6px var(--paper), var(--shadow-md-awt);
}

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

.edA .avatar-fallback {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
}

.edA .id-text {
  min-width: 0;
  padding-bottom: 6px;
}

.edA .kicker {
  color: var(--pink-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.edA .name {
  margin: 10px 0 6px;
  color: var(--ink-900);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.edA .tagline {
  max-width: 48ch;
  margin-top: 14px;
  color: var(--ink-700);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.35;
}

.edA .topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.edA .topic {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-700);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 6px 13px;
}

.edA .actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.edA .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.edA .btn-primary {
  border: 1px solid var(--ink-900);
  background: var(--ink-900);
  color: #fff;
}

.edA .btn-primary:hover {
  border-color: var(--pink-600);
  background: var(--pink-600);
}

.edA .btn-ghost {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-900);
}

.edA .btn-ghost:hover {
  border-color: var(--ink-900);
}

.edA .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 40px;
  border-top: 1px solid var(--ink-900);
  border-bottom: 1px solid var(--line);
}

.edA .stats-compact {
  grid-template-columns: repeat(2, 1fr);
}

.edA .stat {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.edA .stat:last-child {
  border-right: 0;
}

.edA .stat .v {
  color: var(--ink-900);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

.edA .stat .l {
  margin-top: 8px;
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.edA .stat .badge-streak {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  color: var(--pink-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: middle;
}

.edA .body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 48px;
  padding: 36px 40px 44px;
}

.edA .body.single {
  grid-template-columns: minmax(0, 1fr);
}

.edA .sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.edA .sec-title {
  color: var(--ink-900);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.edA .sec-link {
  border: 0;
  background: transparent;
  color: var(--pink-600);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.edA .sec-link:hover {
  text-decoration: underline;
}

.edA .sec + .sec {
  margin-top: 38px;
}

.edA .activity-card,
.edA .col-side > [x-data] {
  background: transparent;
}

.edA .activity-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-sm-awt);
  padding: 22px;
}

.edA .feed {
  display: flex;
  flex-direction: column;
}

.edA .feed-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.edA .feed-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.edA .dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-700);
}

.edA .feed-cat {
  color: var(--pink-600);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.edA .feed-text {
  margin-top: 5px;
  color: var(--ink-900);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 18px;
  line-height: 1.25;
}

.edA .feed-note {
  margin-top: 6px;
  color: var(--ink-500);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.edA .feed-time {
  color: var(--ink-400);
  font-size: 12px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.edA .feed-empty {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  font-size: 14px;
}

.edA .badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 10px;
}

/* Full-width main-column grid fills the row with as many badges as fit */
.edA .col-main .badges {
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 18px 12px;
}

/* Empty placeholder slot: a dim, flat circle waiting to be earned */
.edA .bdg.empty .medal {
  background: var(--paper-2);
  box-shadow: none;
}

.edA .bdg.empty .bn {
  color: var(--ink-400);
}

.edA .bdg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.edA .medal {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--pink-50);
  color: var(--pink-700);
  font-size: 25px;
}

.edA .bdg.locked .medal {
  background: var(--paper-2);
  color: var(--ink-400);
  filter: grayscale(1);
  opacity: .6;
}

.edA .bdg .bn {
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.edA .bdg.locked .bn {
  color: var(--ink-400);
}

/* Reading history — GitHub-style contribution grid */
.edA .rh-desc {
  margin: 0 0 16px;
  max-width: 46ch;
  color: var(--ink-500);
  font-size: 12.5px;
  line-height: 1.45;
}

.edA .rh-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 16px;
}

.edA .rh-stat {
  display: flex;
  flex-direction: column;
}

.edA .rh-stat .rh-v {
  color: var(--ink-900);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.edA .rh-stat .rh-l {
  margin-top: 6px;
  color: var(--ink-500);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.edA .rh {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edA .rh-grid {
  display: flex;
  gap: 3px;
}

.edA .rh-week {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.edA .rh-cell {
  border-radius: 2px;
  background: var(--paper-2);
}

/* Grid cells stretch to fill the column width and stay square */
.edA .rh-week .rh-cell {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.edA .rh-cell.lvl-0 { background: var(--line); }
.edA .rh-cell.lvl-1 { background: var(--pink-100); }
.edA .rh-cell.lvl-2 { background: var(--pink-300); }
.edA .rh-cell.lvl-3 { background: var(--pink-500); }
.edA .rh-cell.lvl-4 { background: var(--pink-700); }
.edA .rh-cell.rh-cell-empty { background: transparent; }

.edA .rh-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-400);
  font-size: 10.5px;
  letter-spacing: .02em;
}

.edA .rh-legend i {
  width: 11px;
  height: 11px;
}

.edA .saved {
  display: flex;
  flex-direction: column;
}

.edA .sv {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.edA .sv:first-child {
  border-top: 0;
  padding-top: 0;
}

.edA .sv-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
}

.edA .sv-cat {
  color: var(--pink-600);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.edA .sv-title {
  margin-top: 4px;
  color: var(--ink-900);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 16px;
  line-height: 1.22;
}

.edA .sv-read {
  margin-top: 5px;
  color: var(--ink-400);
  font-size: 12px;
}

.edA .ph-stripe {
  background:
    repeating-linear-gradient(135deg, rgba(230, 0, 126, .06) 0 12px, rgba(230, 0, 126, 0) 12px 24px),
    linear-gradient(135deg, var(--pink-50), var(--paper-2));
}

.energy-calm .activity-card,
.energy-calm .col-side > [x-data] {
  border-radius: 6px;
  box-shadow: none;
}

.energy-calm .btn {
  border-radius: 9px;
}

.energy-calm .medal {
  background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--line);
}

.energy-playful .avatar,
.energy-playful .activity-card,
.energy-playful .col-side > [x-data] {
  border-radius: 22px;
  box-shadow: var(--shadow-lg-awt);
}

.energy-playful .avatar {
  border-radius: 999px;
}

.energy-playful .btn {
  box-shadow: 0 9px 24px -4px color-mix(in srgb, var(--pink-600) 45%, transparent);
}

.energy-playful .stat .v,
.energy-playful .topic,
.energy-playful .sv-cat,
.energy-playful .feed-cat {
  color: var(--pink-700);
}

.energy-playful .topic {
  border-color: var(--pink-100);
  background: var(--pink-50);
}

.energy-playful .medal {
  box-shadow: 0 0 0 2px var(--pink-400);
}

.energy-playful .sv-thumb {
  border-radius: 14px;
}

.head-native .name,
.head-native .sec-title,
.head-native .tagline {
  font-family: "Bodoni Moda", Georgia, serif !important;
}

.head-serif .name,
.head-serif .sec-title,
.head-serif .tagline,
.head-serif .feed-text,
.head-serif .feed-note,
.head-serif .sv-title,
.head-serif .stat .v {
  font-family: "Bodoni Moda", Georgia, serif !important;
}

.head-grotesk .name,
.head-grotesk .sec-title,
.head-grotesk .tagline,
.head-grotesk .feed-text,
.head-grotesk .feed-note,
.head-grotesk .sv-title,
.head-grotesk .stat .v {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0;
}

.head-grotesk .name {
  font-weight: 700;
}

/* Reading history is a plain block — never a bordered card, in any energy */
.edA .col-side > .rh-block,
.energy-calm .col-side > .rh-block,
.energy-playful .col-side > .rh-block {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.appearance-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 10px;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}

.appearance-swatch.is-selected {
  border-color: var(--ink-900);
  box-shadow: 0 0 0 1px var(--ink-900);
}

.appearance-chip {
  width: 34px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 7px;
  box-shadow: inset -12px 0 0 rgba(255, 255, 255, .35);
}

.appearance-chip.magenta {
  background: linear-gradient(90deg, #E6007E 0 66%, #FF5CA8 66% 100%);
}

.appearance-chip.sunset {
  background: linear-gradient(90deg, #EA580C 0 66%, #FB8C3C 66% 100%);
}

.appearance-chip.teal {
  background: linear-gradient(90deg, #13A089 0 66%, #3FCDB1 66% 100%);
}

.appearance-chip.violet {
  background: linear-gradient(90deg, #7C3AED 0 66%, #A07CF8 66% 100%);
}

.appearance-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: 10px;
  background: #f3f4f6;
  padding: 3px;
}

.appearance-seg label {
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 6px;
  color: #6b7280;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

.appearance-seg label.is-selected {
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm-awt);
}

.appearance-preview {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.appearance-preview .name {
  margin: 7px 0 0;
  font-size: 34px;
}

@media (max-width: 760px) {
  .awt-page-shell {
    box-shadow: none;
  }

  .edA .cover {
    min-height: 460px;
  }

  .edA .mast {
    padding: 16px 20px;
  }

  .edA .mast .wm {
    font-size: 19px;
  }

  .edA .identity {
    grid-template-columns: 1fr;
    padding: 0 20px 24px;
  }

  .edA .id-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .edA .id-text {
    padding-top: 0;
  }

  .edA .avatar {
    width: 104px;
    height: 104px;
  }

  .edA .avatar-fallback {
    font-size: 34px;
  }

  .edA .name {
    font-size: 36px;
  }

  .edA .tagline {
    font-size: 16px;
  }

  .edA .actions {
    justify-content: stretch;
    margin-top: 20px;
  }

  .edA .btn {
    flex: 1;
    padding-inline: 14px;
  }

  .edA .stats {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 20px;
  }

  .edA .stat {
    border-bottom: 1px solid var(--line);
  }

  .edA .stat:nth-child(2n) {
    border-right: 0;
  }

  .edA .stat:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .edA .stat .v {
    font-size: 32px;
  }

  .edA .body {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 30px 20px 40px;
  }

  .edA .badges {
    grid-template-columns: repeat(4, 1fr);
  }

  .appearance-seg {
    grid-template-columns: 1fr;
  }
}
