/* Baddies v6 — one profile catalog, two deliberate viewing surfaces.
   New catalog controls are shared. Only .web-experience expands the app. */

.surface-switch {
  position: absolute;
  top: 18px;
  right: 28px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 100px;
  background: #302D330A;
  color: #766775;
}
.surface-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  padding: 8px 15px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.surface-switch a[aria-current],
.surface-switch a.active {
  color: #302D33;
  background: #F7F2F5;
  box-shadow: 0 2px 8px #302D330A;
}
.surface-switch a:hover { color: #302D33; }
html.embedded .surface-switch,
html.experience-embedded .surface-switch { display: none !important; }
.header-profiles.active { color: var(--app-accent); background: var(--app-tint); }

/* The complete catalog remains comfortable inside the phone preview. */
.directory-view { padding-top: 24px; }
.directory-heading { position: relative; margin-bottom: 24px; }
.directory-heading .world-eyebrow { color: var(--app-accent); font-size: 8px; letter-spacing: .15em; }
.directory-heading h1 {
  margin: 12px 0 13px;
  font-size: 39px;
  line-height: 1.03;
  font-weight: 760;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.directory-heading h1 :is(em, span) { color: var(--app-accent); font-style: normal; }
.directory-heading p:not(.world-eyebrow) { margin: 0; font-size: 12px; line-height: 1.75; color: #C5B6CB; }
.directory-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-top: 18px;
  border-radius: 20px;
  background: #F7F2F506;
  color: #B7A4C0;
}
.directory-count strong { color: var(--white); font-size: 24px; font-weight: 650; line-height: 1; letter-spacing: -.05em; }
.directory-count span { font-size: 9px; line-height: 1.5; max-width: 90px; }
.directory-view > .app-world-switch { margin: 0 0 21px; }
.directory-search {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 0 17px;
}
.directory-search > label { grid-column: 1 / -1; margin: 0 0 3px 4px; font-size: 10px; line-height: 1.5; color: #CDBBD4; }
.directory-search > .finder-input-wrap { grid-column: 1 / -1; width: 100%; min-width: 0; }
.directory-search input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 13px 16px;
  border: 1px solid #F7F2F514;
  border-radius: 22px;
  background: #F7F2F507;
  color: var(--white);
  font-size: 16px;
  line-height: 1.4;
}
.directory-search input::placeholder { color: #AE99B7; opacity: 1; }
.directory-search .finder-input-wrap input { width: 0; min-height: 0; padding: 8px 0; border: 0; border-radius: 0; background: transparent; }
.directory-search .finder-input-wrap button:disabled { opacity: .35; }
.directory-search input:focus-visible { outline-offset: 2px; }
.directory-search > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 12px;
  border-radius: 50px;
  background: #F7F2F507;
  color: #C5AFD0;
  font-size: 10px;
}
.directory-search > button:hover { color: var(--app-accent); background: var(--app-tint); }
.directory-search > button[hidden] { display: none; }
.directory-view > .filter-row { margin-top: 0; margin-bottom: 24px; }
.directory-result-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 0 1px 16px; }
.directory-result-summary h2 { margin: 0; font-size: 15px; letter-spacing: -.025em; line-height: 1.4; }
.directory-result-summary > span { color: #AD98B9; font-size: 9px; line-height: 1.6; text-align: right; }
.directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 11px; }
.directory-grid .creator-card { border-radius: 24px; }
.directory-grid .creator-photo-link { height: auto; aspect-ratio: 3 / 4.25; }
.directory-grid .creator-photo-link > img { position: absolute; inset: 0; }
.directory-grid .creator-copy { left: 12px; right: 12px; bottom: 15px; }
.directory-grid .creator-copy h3 { font-size: 20px; line-height: 1.06; margin-bottom: 6px; overflow-wrap: anywhere; }
.directory-grid .creator-copy .handle { display: block; font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.directory-grid .creator-card-badge { top: 11px; left: 10px; max-width: calc(100% - 53px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 6px; letter-spacing: .03em; padding: 6px 7px; }
.directory-grid .save-button { width: 30px; height: 30px; top: 8px; right: 8px; }
.directory-grid .creator-price { gap: 7px; font-size: 8px; line-height: 1.5; padding: 12px 11px; }
.directory-grid .creator-price > span { min-width: 0; }
.directory-grid .creator-price svg { flex-shrink: 0; }
.directory-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  width: 100%;
  margin: 15px 0 20px;
  padding: 18px 16px;
  border-radius: 25px;
  text-align: left;
  color: var(--white);
  background: #F7F2F506;
  box-shadow: inset 0 0 0 1px #F7F2F508;
}
.directory-shortcut > span { min-width: 0; }
.directory-shortcut > span:nth-child(2) { flex: 1; }
.directory-shortcut :is(svg, em) { color: var(--app-accent); }
.directory-shortcut strong { display: block; font-size: 12px; line-height: 1.5; font-weight: 650; }
.directory-shortcut small { display: block; margin-top: 4px; color: #B9A7C3; font-size: 9px; line-height: 1.6; }
.directory-shortcut:hover { background: var(--app-tint); }
.profile-catalog-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 9px 10px 14px;
  padding: 8px;
  border-radius: 24px;
  background: #F7F2F504;
}
.profile-all { display: inline-flex; align-items: center; gap: 7px; padding: 10px 9px; border-radius: 18px; background: transparent; color: #DCCDE3; font-size: 10px; line-height: 1.4; white-space: nowrap; }
.profile-all svg { width: 15px; height: 15px; color: var(--app-accent); }
.profile-pagination { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.profile-step { display: flex; align-items: center; justify-content: center; gap: 6px; width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: #F7F2F507; color: #D8C6E0; }
.profile-step svg { width: 15px; height: 15px; }
.profile-step:not(:disabled):hover,.profile-all:hover { color: var(--app-accent); background: var(--app-tint); }
.profile-step:disabled { opacity: .28; }
.profile-position { min-width: 38px; color: #AB93B9; font-size: 9px; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.profile-position i { font-style: normal; opacity: .75; }
.profile-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); }

/* Website surface: a real application canvas, without the handset surround. */
html.web-experience,
html.web-experience body { height: 100%; overflow: hidden; background: #27242B; }
html.web-experience .desktop-stage {
  height: 100dvh;
  min-height: 0;
  display: block;
  padding: 62px 20px 20px;
  background: radial-gradient(ellipse at 50% 0%, #44344850, transparent 65%), #27242B;
}
html.web-experience :is(.desktop-note,.device-top,.desktop-caption) { display: none; }
html.web-experience .stage-back { top: 22px; left: 31px; font-size: 11px; color: #BDADBF; }
html.web-experience .stage-back span { font-size: 18px; }
html.web-experience .surface-switch { top: 13px; right: 26px; background: #F7F2F507; color: #C3B2CA; }
html.web-experience .surface-switch a:hover { color: var(--white); }
html.web-experience .surface-switch a[aria-current],
html.web-experience .surface-switch a.active { background: #F7F2F5; color: #302D33; }
html.web-experience .device {
  width: 100%;
  max-width: 1680px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 32px;
  background: var(--coal);
  box-shadow: 0 20px 65px #15121930, inset 0 0 0 1px #F7F2F505;
}
html.web-experience .app-shell { height: 100%; container-name: website; background: var(--coal); }
html.web-experience .app-header { height: 75px; margin: 0; padding: 16px 28px; border: 0; border-radius: 32px 32px 22px 22px; background: #F7F2F503; }
html.web-experience .brand-button img { width: 150px; }
html.web-experience .header-actions { gap: 7px; }
html.web-experience .header-icon { width: 42px; height: 42px; padding: 11px; }
html.web-experience .header-icon svg { width: 20px; height: 20px; }
html.web-experience .demo-badge { min-height: 36px; padding: 10px 13px; font-size: 9px; }
html.web-experience .app-scroll { scrollbar-width: thin; scrollbar-color: #6D5E713D transparent; scroll-padding-block: 28px; }
html.web-experience .app-scroll::-webkit-scrollbar { display: block; width: 6px; }
html.web-experience .app-scroll::-webkit-scrollbar-thumb { background: #6D5E7150; border-radius: 8px; }
html.web-experience .app-scroll::-webkit-scrollbar-track { background: transparent; }
html.web-experience .view { width: 100%; max-width: 1240px; margin-inline: auto; padding: 32px; }
html.web-experience .profile { width: 100%; max-width: 800px; margin-inline: auto; padding-bottom: 34px; }
html.web-experience .directory-view { max-width: 1440px; }
html.web-experience .directory-heading h1 { font-size: clamp(40px,5vw,64px); max-width: 820px; }
html.web-experience .directory-heading p:not(.world-eyebrow) { max-width: 600px; font-size: 14px; }
html.web-experience .directory-grid { gap: 24px 20px; }
html.web-experience .directory-grid .creator-card { border-radius: 30px; }
html.web-experience .directory-grid .creator-photo-link { aspect-ratio: 4 / 5.2; }
html.web-experience .directory-grid .creator-copy { left: 21px; right: 20px; bottom: 24px; }
html.web-experience .directory-grid .creator-copy h3 { font-size: 29px; letter-spacing: -.04em; }
html.web-experience .directory-grid .creator-copy .handle { font-size: 11px; }
html.web-experience .directory-grid .creator-card-badge { top: 17px; left: 17px; max-width: calc(100% - 72px); padding: 8px 11px; font-size: 8px; }
html.web-experience .directory-grid .save-button { top: 13px; right: 13px; width: 38px; height: 38px; }
html.web-experience .directory-grid .creator-price { font-size: 11px; padding: 16px 20px; }
html.web-experience .directory-grid .creator-price svg { width: 16px; height: 16px; }
html.web-experience .directory-result-summary { margin-bottom: 21px; }
html.web-experience .directory-result-summary h2 { font-size: 20px; }
html.web-experience .directory-result-summary > span { font-size: 11px; }
html.web-experience .directory-grid .privacy-veil strong { font-size: 13px; }
html.web-experience .directory-grid .privacy-veil small { font-size: 10px; }

/* Desktop navigation and measured, readable content widths. */
@media (min-width: 900px) {
  html.web-experience .app-shell {
    display: grid;
    grid-template-columns: 102px minmax(0,1fr);
    grid-template-rows: 78px minmax(0,1fr);
    grid-template-areas: "header header" "nav content";
  }
  html.web-experience .app-header { grid-area: header; height: auto; padding-inline: 32px; }
  html.web-experience .app-scroll { grid-area: content; min-width: 0; min-height: 0; }
  html.web-experience .bottom-nav {
    grid-area: nav;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 8px;
    height: auto;
    margin: 12px 0 20px 16px;
    padding: 10px 7px;
    border: 0;
    border-radius: 27px;
    background: #F7F2F503;
  }
  html.web-experience .nav-button { width: 100%; min-height: 59px; max-height: 76px; flex: 1; gap: 8px; font-size: 10px; border-radius: 22px; }
  html.web-experience .nav-button svg { width: 22px; height: 22px; }
  html.web-experience .nav-button.active { background: var(--app-tint); }
  html.web-experience .nav-button.active::after { left: 0; top: 50%; width: 3px; height: 19px; transform: translateY(-50%); }
  html.web-experience .nav-counter { top: 10px; right: 10px; left: auto; }
  html.web-experience .view { padding: 36px clamp(28px,3.4vw,56px) 50px; }
  html.web-experience .view-title { font-size: clamp(36px,3.4vw,48px); line-height: 1.07; }
  html.web-experience .view-intro { font-size: 15px; line-height: 1.8; max-width: 640px; margin-top: 14px; }
  html.web-experience .world-eyebrow { font-size: 10px; letter-spacing: .15em; }
  html.web-experience .section-heading h2 { font-size: 20px; }
  html.web-experience .section-heading > span { font-size: 12px; }
  html.web-experience .button { min-height: 49px; padding: 15px 21px; font-size: 14px; border-radius: 20px; }
  html.web-experience .account-back { font-size: 12px; gap: 9px; margin-bottom: 28px; }
  html.web-experience .account-back svg { width: 17px; height: 17px; }
  html.web-experience .filter-chip { padding: 12px 18px; font-size: 12px; }
  html.web-experience .filter-row { margin-inline: 0; padding-inline: 0; }
  html.web-experience .demo-note { font-size: 11px; line-height: 1.8; }
  html.web-experience .app-world-switch { max-width: 420px; }
  html.web-experience .world-switch { margin: 0; }
  html.web-experience .world-segments button { font-size: 12px; padding: 12px 16px; }
  html.web-experience .world-preferences { font-size: 11px !important; padding: 10px 12px; }
  html.web-experience .current-world { font-size: 14px; }

  html.web-experience .directory-view { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 30px; }
  html.web-experience .directory-heading { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 32px; margin-bottom: 40px; align-items: center; }
  html.web-experience .directory-heading > :not(.directory-count) { grid-column: 1; }
  html.web-experience .directory-heading h1 { margin-top: 16px; margin-bottom: 17px; }
  html.web-experience .directory-heading .world-eyebrow { font-size: 9px; }
  html.web-experience .directory-count { grid-column: 2; grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; justify-content: center; margin: 0; padding: 27px 30px; border-radius: 29px; gap: 8px; min-width: 124px; }
  html.web-experience .directory-count strong { font-size: 54px; font-weight: 550; }
  html.web-experience .directory-count span { font-size: 11px; max-width: 100px; }
  html.web-experience .directory-view > .app-world-switch { grid-column: 1; align-self: end; margin: 0 0 1px; }
  html.web-experience .directory-search { grid-column: 2; margin: 0; gap: 9px; }
  html.web-experience .directory-search > label { font-size: 11px; margin-bottom: 2px; }
  html.web-experience .directory-search input { min-height: 52px; padding-inline: 19px; }
  html.web-experience .directory-search > button { min-height: 48px; min-width: 48px; font-size: 12px; }
  html.web-experience .directory-view > .filter-row { grid-column: 1 / -1; margin: 28px 0 29px; padding-bottom: 7px; }
  html.web-experience #directory-results { grid-column: 1 / -1; min-width: 0; }
  html.web-experience .directory-view > .demo-note { grid-column: 1 / -1; }
  html.web-experience .directory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px 20px; }
  html.web-experience .directory-grid .creator-copy h3 { font-size: clamp(23px,2.15vw,31px); }
  html.web-experience .directory-grid .creator-price { font-size: 10px; padding: 15px 17px; }
  html.web-experience .directory-grid .creator-photo-link > img { transition: transform .5s var(--ease); }
  html.web-experience .directory-grid .creator-card:hover .creator-photo-link > img { transform: scale(1.035); }
  html.web-experience .directory-grid .creator-card:focus-within { box-shadow: 0 0 0 2px var(--app-accent); }
  html.web-experience .directory-shortcut { padding: 22px; margin-block: 23px; max-width: 740px; }
  html.web-experience .directory-shortcut strong { font-size: 15px; }
  html.web-experience .directory-shortcut small { font-size: 12px; }

  /* Profile: a portrait anchored beside the living content column. */
  html.web-experience .profile {
    display: grid;
    grid-template-columns: minmax(250px,.82fr) minmax(0,1.18fr);
    align-items: start;
    gap: 28px clamp(26px,3vw,48px);
    max-width: 1320px;
    padding: 27px clamp(26px,3.4vw,56px) 50px;
  }
  html.web-experience .profile-catalog-nav { grid-column: 1 / -1; margin: 0; padding: 10px 13px; border-radius: 25px; }
  html.web-experience .profile-all { font-size: 13px; padding: 11px 13px; gap: 10px; }
  html.web-experience .profile-all svg { width: 18px; height: 18px; }
  html.web-experience .profile-pagination { gap: 11px; }
  html.web-experience .profile-step { width: 40px; height: 40px; padding: 11px; }
  html.web-experience .profile-position { font-size: 12px; min-width: 58px; }
  html.web-experience .profile-hero { grid-column: 1; position: sticky; top: 26px; width: 100%; height: clamp(360px,calc(100dvh - 310px),650px); margin: 0; border-radius: 34px; }
  html.web-experience .profile-hero > img { object-position: 50% 28%; }
  html.web-experience .profile-heading { left: 28px; right: 25px; bottom: 30px; }
  html.web-experience .profile-heading h1 { font-size: clamp(36px,3.9vw,57px); max-width: none; line-height: 1; margin-block: 12px; }
  html.web-experience .profile-category { font-size: 10px; }
  html.web-experience .profile-location { font-size: 12px !important; line-height: 1.6; }
  html.web-experience .profile-back,
  html.web-experience .profile-hero .save-button { top: 20px; width: 42px; height: 42px; background: #302D3366; border: 1px solid #F7F2F51C; }
  html.web-experience .profile-back { left: 20px; }
  html.web-experience .profile-hero .save-button { right: 20px; }
  html.web-experience .profile-body { grid-column: 2; min-width: 0; padding: 7px 0 0; }
  html.web-experience .profile-handle-row { margin-bottom: 20px; gap: 12px; }
  html.web-experience .profile-handle { font-size: 14px; line-height: 1.5; }
  html.web-experience .profile-stories { font-size: 11px; padding: 10px 14px; gap: 7px; }
  html.web-experience .profile-bio { font-size: 15px; line-height: 1.85; }
  html.web-experience .profile-media-stats { padding: 20px 0; margin: 25px 0 22px; border-radius: 26px; }
  html.web-experience .profile-media-stats strong { font-size: 27px; }
  html.web-experience .profile-media-stats span { font-size: 11px; margin-top: 7px; }
  html.web-experience .profile-actions { grid-template-columns: minmax(0,1fr) 54px; gap: 11px; }
  html.web-experience .profile-actions .button { min-height: 54px; font-size: 14px; }
  html.web-experience .profile-tags { gap: 8px; margin: 19px 0 25px; }
  html.web-experience .profile-tags span { padding: 8px 12px; font-size: 11px; }
  html.web-experience .profile-shortcuts { gap: 10px; margin-bottom: 28px; }
  html.web-experience .profile-shortcuts button { padding: 17px 5px; font-size: 11px; gap: 10px; border-radius: 22px; }
  html.web-experience .profile-shortcuts button svg { width: 21px; height: 21px; }
  html.web-experience .profile-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; padding: 5px; margin-bottom: 25px; }
  html.web-experience .profile-tabs button { padding: 13px 5px; font-size: 12px; }
  html.web-experience .feed-label { margin-bottom: 18px; }
  html.web-experience .feed-label h2 { font-size: 18px; }
  html.web-experience .feed-label > span { font-size: 11px; }
  html.web-experience .feed-unlocked { padding: 15px 17px; font-size: 12px; margin-bottom: 17px; }
  html.web-experience .post-grid { gap: 16px; }
  html.web-experience .post-card,html.web-experience .profile .post-cover { border-radius: 25px; }
  html.web-experience .post-title { font-size: 12px; line-height: 1.6; padding: 14px 14px 17px; }
  html.web-experience .locked-mark { font-size: 10px; }
  html.web-experience .about-card { padding: 25px; border-radius: 29px; }
  html.web-experience .about-card h2 { font-size: 27px; margin-block: 14px; }
  html.web-experience .about-card > p { font-size: 14px; line-height: 1.85; }
  html.web-experience .about-facts > span { font-size: 11px; }
  html.web-experience .text-action { font-size: 13px; }
  html.web-experience .experience-intro h2 { font-size: 29px; }
  html.web-experience .experience-intro > p:last-child { font-size: 13px; line-height: 1.8; }
  html.web-experience .experience-grid { gap: 15px; }
  html.web-experience .experience-card { min-height: 200px; padding: 24px; border-radius: 28px; }
  html.web-experience .experience-card strong { font-size: 15px; }
  html.web-experience .experience-card small { font-size: 12px; }
  html.web-experience .world-teaser-photo { height: 280px; }
  html.web-experience .world-teaser-copy { padding: 25px; }
  html.web-experience .world-teaser-copy h2 { font-size: 34px; }
  html.web-experience .world-teaser-copy > p:not(.world-eyebrow) { font-size: 14px; line-height: 1.8; }
  html.web-experience .world-room-tags > span { font-size: 10px; }

  /* Secondary views stay editorial, rather than stretching phone copy. */
  html.web-experience .creator-finder { max-width: 820px; }
  html.web-experience .finder-heading h1 { font-size: 60px; }
  html.web-experience .finder-heading h1 em { font-size: 48px; }
  html.web-experience .finder-heading > p { font-size: 15px; }
  html.web-experience .finder-input-wrap { padding: 9px 10px 9px 20px; border-radius: 27px; }
  html.web-experience .finder-input-wrap input { font-size: 18px; }
  html.web-experience #creator-finder-form > label { font-size: 12px; }
  html.web-experience .finder-example { padding: 19px 8px; gap: 14px; }
  html.web-experience .finder-example strong { font-size: 14px; }
  html.web-experience .finder-example small { font-size: 11px; }
  html.web-experience .finder-results-title h2 { font-size: 22px; }
  html.web-experience .finder-results-title > span { font-size: 12px; }
  html.web-experience .finder-result-main { gap: 20px; padding: 21px; }
  html.web-experience .finder-portrait { width: 95px; height: 125px; border-radius: 23px; }
  html.web-experience .finder-result-copy > strong { font-size: 25px; }
  html.web-experience .finder-result-copy > span { font-size: 14px; }
  html.web-experience .finder-result-copy > small { font-size: 11px; }
  html.web-experience .finder-result-copy > .finder-match { font-size: 8px; }
  html.web-experience .finder-result-footer { padding: 0 21px 20px; }
  html.web-experience .finder-result-footer > span { font-size: 11px; }
  html.web-experience .finder-result-footer > button { font-size: 12px; padding: 12px 17px; }
  html.web-experience .finder-suggestions strong { font-size: 15px; }
  html.web-experience .finder-scope { font-size: 12px; }
  html.web-experience .finder-empty { padding: 40px; }
  html.web-experience .finder-empty h2 { font-size: 30px; }
  html.web-experience .finder-empty p { font-size: 14px; }
  html.web-experience .finder-empty .button { font-size: 13px; }
  html.web-experience .feed-view { max-width: 1120px; }
  html.web-experience .feed-list { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 22px; }
  html.web-experience .feed-card { border-radius: 28px; }
  html.web-experience .feed-card-header { padding: 18px; }
  html.web-experience .feed-creator .avatar { width: 40px; height: 40px; }
  html.web-experience .feed-creator strong { font-size: 13px; }
  html.web-experience .feed-creator small,html.web-experience .feed-date { font-size: 10px; }
  html.web-experience .feed-card-content { padding: 19px; }
  html.web-experience .feed-card-content h2 { font-size: 18px; }
  html.web-experience .feed-card-content > p { font-size: 13px; line-height: 1.8; }
  html.web-experience .feed-message,.feed-actions .post-like { font-size: 11px; }
  html.web-experience .feed-list > .empty-state { grid-column: 1 / -1; }
  html.web-experience .workspace-view,
  html.web-experience .workspace-entry,
  html.web-experience .spaces-view { max-width: 1150px; }
  html.web-experience .workspace-title > .view-title,
  html.web-experience .workspace-entry > .view-title { font-size: 46px; }
  html.web-experience .workspace-title > .view-intro,
  html.web-experience .workspace-entry > .view-intro { font-size: 14px; max-width: 650px; }
  html.web-experience .spaces-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
  html.web-experience .space-card { padding: 25px; border-radius: 28px; min-height: 240px; }
  html.web-experience .space-card > strong { font-size: 24px; }
  html.web-experience .space-card > p { font-size: 12px; line-height: 1.8; }
  html.web-experience .space-card > em { font-size: 9px; }
  html.web-experience .spaces-hero { padding: 40px; }
  html.web-experience .spaces-hero h1 { font-size: 64px; }
  html.web-experience .spaces-hero p { font-size: 14px; max-width: 440px; }
  html.web-experience .workspace-role-panel { padding: 24px; }
  html.web-experience .workspace-role-panel > p:not(.world-eyebrow) { font-size: 12px; }
  html.web-experience .workspace-role-panel > .world-eyebrow { font-size: 9px; }
  html.web-experience .workspace-switch-demo { font-size: 13px; }
  html.web-experience .workspace-sample-brief { padding: 24px; }
  html.web-experience .workspace-sample-brief strong { font-size: 16px; }
  html.web-experience .workspace-sample-brief small { font-size: 12px; }
  html.web-experience .workspace-account-rule { max-width: 650px; font-size: 12px; }
  html.web-experience .workspace-account-choices { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
  html.web-experience .workspace-account-choices > button { flex-wrap: wrap; padding: 22px; align-items: flex-start; }
  html.web-experience .workspace-account-choices > button > span:nth-child(2) { flex-basis: 100%; }
  html.web-experience .workspace-account-choices strong { font-size: 16px; }
  html.web-experience .workspace-account-choices small { font-size: 12px; }
  html.web-experience .you-view,
  html.web-experience .account-section { max-width: 850px; }
  html.web-experience .user-cover { padding: 32px; }
  html.web-experience .user-cover h1 { font-size: 46px; }
  html.web-experience .user-bio { font-size: 14px; line-height: 1.85; }
  html.web-experience .user-demo-handle { font-size: 11px; }
  html.web-experience .setting-copy strong { font-size: 14px; }
  html.web-experience .setting-copy small { font-size: 11px; }
  html.web-experience .setting-row { padding-block: 21px; }
  html.web-experience .settings-card { padding: 6px 24px; }
  html.web-experience .settings-label { font-size: 11px; }
  html.web-experience .account-section > .view-title { font-size: 40px; }
  html.web-experience .account-section > .view-intro { font-size: 14px; }
  html.web-experience .user-count-links span { font-size: 11px; }
  html.web-experience .user-count-links strong { font-size: 31px; }
  html.web-experience .inbox-list { max-width: 800px; }
  html.web-experience .thread-row { padding: 19px; gap: 15px; }
  html.web-experience .thread-row .avatar { width: 49px; height: 49px; }
  html.web-experience .thread-copy strong { font-size: 15px; }
  html.web-experience .thread-copy p { font-size: 12px; }
  html.web-experience .thread-meta { font-size: 10px; }
  html.web-experience .chat { max-width: 850px; margin-inline: auto; padding: 17px; }
  html.web-experience .chat-top { margin: 0; padding: 18px; }
  html.web-experience .chat-top strong { font-size: 15px; }
  html.web-experience .chat-top small { font-size: 11px; }
  html.web-experience .bubble { font-size: 14px; padding: 15px 19px; max-width: 78%; }
  html.web-experience .chat-compose { padding-inline: 0; }
  html.web-experience .chat-compose textarea { font-size: 14px; }
  html.web-experience .chat-notice { font-size: 11px; }
  html.web-experience .module-scroll { padding: 8px 20px 20px; }
  html.web-experience .module-view { max-width: 1440px; margin-inline: auto; padding: 0; }
  html.web-experience .module-heading { min-height: 76px; padding: 12px 11px 17px; gap: 15px; }
  html.web-experience .module-heading h1 { font-size: 22px; }
  html.web-experience .module-heading small { font-size: 11px; line-height: 1.6; }
  html.web-experience .module-back { width: 45px; height: 45px; }
  html.web-experience .module-viewport,
  html.web-experience .integrated-frame { border-radius: 30px; }

  /* Actual dialogs have a measured central surface, not a viewport-wide sheet. */
  html.web-experience .sheet {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(550px,calc(100% - 60px));
    max-height: calc(100% - 48px);
    transform: translate(-50%,-50%);
    border-radius: 34px;
    padding: 34px;
    animation: fadeIn .2s ease;
  }
  html.web-experience .sheet h2 { font-size: 36px; padding-right: 20px; }
  html.web-experience .sheet-description { font-size: 14px; }
  html.web-experience .sheet-close { width: 35px; height: 35px; top: 19px; right: 19px; }
  html.web-experience .sheet .button { font-size: 13px; }
  html.web-experience .sheet .demo-form :is(input,textarea,select) { font-size: 15px; }
  html.web-experience .sheet .demo-form label { font-size: 12px; }
  html.web-experience .demo-account-list strong { font-size: 15px; }
  html.web-experience .demo-account-list small { font-size: 12px; }
  html.web-experience .post-sheet { width: min(620px,calc(100% - 60px)); padding: 0; }
  html.web-experience .post-detail-photo { height: min(420px,48dvh); }
  html.web-experience .post-detail-copy { padding: 26px; }
  html.web-experience .post-detail-copy .sheet-description { font-size: 13px; }
  html.web-experience .story-viewer { inset: 20px auto 20px 50%; width: min(440px,calc(100% - 48px)); transform: translateX(-50%); border-radius: 32px; box-shadow: 0 0 0 100vmax #211924D9; }
  html.web-experience .toast { bottom: 26px; max-width: min(590px,calc(100% - 50px)); font-size: 13px; padding: 15px 23px; }
}

@media (min-width: 1360px) {
  html.web-experience .directory-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  html.web-experience .directory-grid .creator-copy h3 { font-size: 27px; }
  html.web-experience .directory-grid .creator-copy { left: 20px; right: 17px; }
}

/* Tablet: broad two-column browsing, familiar horizontal app navigation. */
@media (min-width: 601px) and (max-width: 899px) {
  html.web-experience .desktop-stage { padding: 59px 12px 12px; }
  html.web-experience .app-header { height: 71px; padding-inline: 24px; }
  html.web-experience .view { padding: 30px 28px 38px; }
  html.web-experience .bottom-nav { height: 78px; padding: 9px 20px; margin: 0; border-radius: 27px 27px 0 0; }
  html.web-experience .nav-button { font-size: 10px; }
  html.web-experience .nav-button svg { width: 22px; height: 22px; }
  html.web-experience .profile-catalog-nav { margin: 16px 20px 20px; }
  html.web-experience .profile-hero { height: 460px; margin-inline: 20px; }
  html.web-experience .profile-body { padding-inline: 32px; }
  html.web-experience .profile-heading h1 { font-size: 45px; max-width: 460px; }
  html.web-experience .profile-bio { font-size: 14px; }
  html.web-experience .profile-tabs button { font-size: 12px; }
  html.web-experience .post-title { font-size: 12px; }
  html.web-experience .sheet { left: 50%; right: auto; width: min(520px,calc(100% - 40px)); transform: translateX(-50%); animation: fadeIn .2s ease; }
  html.web-experience .module-heading { padding-inline: 13px; }
  html.web-experience .module-heading h1 { font-size: 19px; }
  html.web-experience .module-heading small { font-size: 10px; }
}

/* The format switch occupies its own strip; it never overlays app controls. */
@media (max-width: 600px) {
  html:not(.embedded):not(.experience-embedded) { --surface-bar-height: calc(46px + env(safe-area-inset-top)); }
  html:not(.embedded):not(.experience-embedded) .desktop-stage > .surface-switch {
    position: relative;
    inset: auto;
    width: 100%;
    height: var(--surface-bar-height);
    margin: 0;
    justify-content: center;
    gap: 4px;
    padding: calc(6px + env(safe-area-inset-top)) 12px 6px;
    border-radius: 0;
    color: #BDAAC6;
    background: #27242B;
  }
  html:not(.embedded):not(.experience-embedded) .surface-switch a { min-height: 31px; padding: 7px 16px; font-size: 10px; }
  html:not(.embedded):not(.experience-embedded) .surface-switch a:hover { color: var(--white); }
  html:not(.embedded):not(.experience-embedded) .surface-switch a[aria-current],
  html:not(.embedded):not(.experience-embedded) .surface-switch a.active { color: #302D33; background: #F7F2F5; }
  html:not(.embedded):not(.experience-embedded) .desktop-stage > .surface-switch ~ .device { height: calc(100dvh - var(--surface-bar-height)); }
  html:not(.embedded):not(.experience-embedded) .app-header { padding-top: 8px; height: 59px; }
  html.web-experience .desktop-stage { padding: 0; background: var(--coal); }
  html.web-experience .device { max-width: none; width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
  html.web-experience .app-header { padding-inline: 13px; margin: 0 5px; border-radius: 0 0 24px 24px; }
  html.web-experience .brand-button img { width: 115px; }
  html.web-experience .header-actions { gap: 1px; }
  html.web-experience .header-icon { width: 33px; height: 35px; padding: 8px; }
  html.web-experience .header-icon svg { width: 17px; height: 17px; }
  html.web-experience .demo-badge { min-height: 31px; padding: 7px; font-size: 7px; }
  html.web-experience .view { padding: 24px 18px 30px; }
  html.web-experience .directory-heading h1 { font-size: 39px; }
  html.web-experience .directory-heading p:not(.world-eyebrow) { font-size: 12px; }
  html.web-experience .directory-grid { gap: 15px 11px; }
  html.web-experience .directory-grid .creator-card { border-radius: 24px; }
  html.web-experience .directory-grid .creator-photo-link { aspect-ratio: 3 / 4.25; }
  html.web-experience .directory-grid .creator-copy { left: 13px; right: 11px; bottom: 17px; }
  html.web-experience .directory-grid .creator-copy h3 { font-size: 21px; line-height: 1.06; }
  html.web-experience .directory-grid .creator-copy .handle { font-size: 8px; }
  html.web-experience .directory-grid .creator-card-badge { top: 11px; left: 10px; padding: 6px 7px; font-size: 6px; max-width: calc(100% - 52px); }
  html.web-experience .directory-grid .save-button { top: 8px; right: 8px; width: 30px; height: 30px; }
  html.web-experience .directory-grid .creator-price { font-size: 8px; padding: 12px 11px; }
  html.web-experience .directory-result-summary h2 { font-size: 15px; }
  html.web-experience .directory-result-summary > span { font-size: 9px; }
  html.web-experience .profile { padding-top: 0; }
  html.web-experience .profile-catalog-nav { margin: 10px 9px 14px; }
  html.web-experience .profile-heading h1 { max-width: 270px; }
  html.web-experience .profile-hero { margin-inline: 9px; }
  html.web-experience .bottom-nav { margin: 0; }
  html.web-experience .app-scroll { scrollbar-width: none; }
  html.web-experience .app-scroll::-webkit-scrollbar { display: none; }
}

@container phone (max-width: 360px) {
  .app-header { padding-inline: 10px; }
  .brand-button img { width: 103px; }
  .header-actions { gap: 1px; }
  .header-icon { width: 31px; height: 34px; padding: 7px; }
  .demo-badge { min-height: 31px; padding: 7px; font-size: 7px; }
  .directory-heading h1 { font-size: 35px; }
  .directory-grid .creator-copy h3 { font-size: 18px; }
  .directory-grid .creator-price { font-size: 7px; padding-inline: 9px; }
  .directory-grid .creator-copy { left: 10px; right: 9px; }
  .profile-catalog-nav { gap: 6px; margin-inline: 8px; padding: 6px; }
  .profile-all { font-size: 9px; padding-inline: 7px; gap: 5px; }
  .profile-pagination { gap: 3px; }
  .profile-step { width: 31px; height: 31px; }
  .profile-position { font-size: 8px; min-width: 32px; }
}
@media (max-width: 360px) {
  html.web-experience .brand-button img { width: 100px; }
  html.web-experience .app-header { padding-inline: 9px; }
  html.web-experience .header-icon { width: 31px; }
  html.web-experience .view { padding-inline: 15px; }
  html.web-experience .directory-heading h1 { font-size: 35px; }
  html.web-experience .directory-grid .creator-copy h3 { font-size: 18px; }
  html.web-experience .directory-grid .creator-copy { left: 10px; right: 9px; }
  html.web-experience .directory-grid .creator-price { font-size: 7px; padding-inline: 9px; }
  html.web-experience .profile-all { font-size: 9px; padding-inline: 6px; }
  html.web-experience .profile-pagination { gap: 3px; }
  html.web-experience .profile-step { width: 31px; height: 31px; }
  html.web-experience .profile-position { min-width: 32px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .surface-switch a,
  html.web-experience .directory-grid .creator-photo-link > img { transition: none; }
}
.reduce-motion .surface-switch a,
.reduce-motion .directory-grid .creator-photo-link > img { transition: none; }
