/* cover-framing-ff693fdd75ea2e13.css */
.app-shell-web .character-page .character-cover-frame{aspect-ratio:4/5}
@supports not (aspect-ratio:4/5){.app-shell-web .character-page .character-cover-frame::before{padding-top:125%}}
.app-shell-web .bot-details-compact .bot-details-hero-media,.app-shell-web .bot-details-compact .bot-details-hero-media img,.app-shell-web .bot-details-compact .bot-details-hero-media video{object-fit:contain;object-position:50% 50%}

/* catalog-density-99e53c18fabce948.css */
/* Compact Web chrome: shared classification rail, restrained navigation and larger portraits. */
.app-shell-web .character-page .discovery-genres { align-items: center; gap: 2px; }
.app-shell-web .character-page .discovery-genres .catalog-collections { display: contents; }
.app-shell-web .character-page .discovery-genres .catalog-collections button { margin: 0; padding-inline: 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.app-shell-web .character-page .catalog-toolbar { margin-bottom: 4px; }
@media (max-width: 759px) {
  .app-shell-web { --mobile-nav-height: 52px; --navigation-icon-size: 21px; }
  .app-shell-web > .primary-nav { height: calc(52px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom); gap: 0; }
  .app-shell-web > .primary-nav a { min-height: 48px; padding: 2px 0; grid-template-rows: 23px auto; gap: 1px; font-size: 10px; background: transparent; }
  .app-shell-web > .primary-nav a > svg { width: 21px; height: 21px; stroke-width: 1.7; }
  .app-shell-web > .primary-nav a:nth-child(3) > svg { width: 24px; height: 24px; padding: 2px; border-radius: 7px; }
  .app-shell-web main.character-page { padding: 6px 8px 24px; }
  .app-shell-web .character-page .character-grid { gap: 8px; }
  .app-shell-web .character-page .catalog-search { min-height: 36px; font-size: 13px; }
  .app-shell-web .character-page .discovery-gender.is-compact { height: 36px; }
  .app-shell-web .character-page .discovery-gender.is-compact > button { min-height: 36px; }
  .app-shell-web .character-page .discovery-genres button { min-height: 40px; padding-inline: 10px; font-size: 13px; }
  .app-shell-web .character-page .catalog-sticky-genres { margin-bottom: 6px; }
}
.app-shell-web .character-page .character-cover,
.app-shell-web .character-page .character-cover img,
.app-shell-web .character-page .character-cover video { object-fit: contain; object-position: center; background-color: #171719; }
/* The frozen test build has a mobile quick-tag variant; share the same rail. */
.app-shell-web .character-page .discover-quick-tags { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.app-shell-web .character-page .discover-quick-tags .catalog-collections { display: contents; }
.app-shell-web .character-page .discover-quick-tags .catalog-collections button { flex: 0 0 auto; min-height: 40px; padding-inline: 10px; margin: 0; font-size: 13px; }
.app-shell-web .character-page .discover-quick-tags > button { flex-shrink: 0; }

/* discovery-minimal-461f19ad091801b7.css */
/* Mobile-first content hierarchy: one All control, tags in the existing filter sheet. */
.app-shell.app-shell-web .character-page :is(.discovery-genres,.discover-quick-tags) .catalog-collections { display: none; }
.app-shell.app-shell-web .character-page .discover-quick-tags > button:not(:first-of-type) { display: none; }
.app-shell.app-shell-web .character-page .discover-quick-tags { flex: 1; min-width: 0; overflow: hidden; }
.app-shell.app-shell-web .character-page .discover-quick-tags > button:first-of-type { min-width: 44px; min-height: 40px; padding: 0; }
.app-shell.app-shell-web .character-page .discover-quick-tags .discover-tag-chip { min-height: 30px; padding: 0 12px; border: 1px solid #ffffff20; border-radius: 9px; background: #ffffff08; color: var(--text); font-size: 12px; }
.app-shell.app-shell-web .character-page .discover-filter-trigger { width: 36px; height: 36px; min-height: 36px; border-radius: 9px; background: #ffffff08; }
.app-shell.app-shell-web .character-page .discover-filter-trigger svg { width: 17px; height: 17px; }
.app-shell.app-shell-web .character-page .discover-mobile-tags:has(.discover-quick-tags > button:not(:first-of-type)[aria-pressed="true"]) .discover-filter-trigger { border-color: #e4cea2; }
@media (max-width: 759px) {
  .app-shell.app-shell-web { --mobile-nav-height: 44px; --navigation-icon-size: 18px; }
  .app-shell.app-shell-web > nav.primary-nav { height: calc(44px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom); }
  .app-shell.app-shell-web > nav.primary-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0; background: none; }
  .app-shell.app-shell-web > nav.primary-nav a.active[aria-current] { background: none; box-shadow: none; }
  .app-shell.app-shell-web > nav.primary-nav a::before,
  .app-shell.app-shell-web > nav.primary-nav a::after { content: none; }
  .app-shell.app-shell-web > nav.primary-nav a > svg { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 0; background: none; }
  .app-shell.app-shell-web main.character-page .catalog-toolbar { margin-bottom: 2px; }
  .app-shell.app-shell-web main.character-page .catalog-search { min-height: 34px; font-size: 12px; }
  .app-shell.app-shell-web main.character-page .catalog-primary-filters { min-height: 34px; grid-template-columns: minmax(0,1fr) 72px; gap: 6px; }
  .app-shell.app-shell-web main.character-page .discovery-gender,
  .app-shell.app-shell-web main.character-page .discovery-gender.is-compact { height: 34px; min-height: 34px; width: 100%; }
  .app-shell.app-shell-web main.character-page .discovery-gender > button { min-height: 34px; padding-block: 0; font-size: 12px; }
  .app-shell.app-shell-web main.character-page .character-cover-caption { gap: 3px; padding: 30px 8px 8px; }
  .app-shell.app-shell-web main.character-page .character-cover-caption h2 { font-size: 13px; line-height: 1.25; }
  .app-shell.app-shell-web main.character-page .character-cover-caption .character-premise { font-size: 10.5px; line-height: 1.35; -webkit-line-clamp: 2; }
  .app-shell.app-shell-web main.character-page .character-card-tags { display: none; }
  .app-shell.app-shell-web main.character-page .character-author { font-size: 9px; }
}

/* discovery-portrait-66211e6c69a9be5e.css */
/* Mixed discovery rail: All, For You, New, then scrollable tags. */
.app-shell.app-shell-web main.character-page :is(.discover-quick-tags,.discovery-genres) .catalog-collections { display: contents; }
.app-shell.app-shell-web main.character-page .discover-quick-tags > button:not(:first-of-type) { display: flex; }
.app-shell.app-shell-web main.character-page .discover-quick-tags { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-right: 20px; scrollbar-width: none; mask-image: linear-gradient(to right,#000 calc(100% - 24px),transparent); -webkit-mask-image: linear-gradient(to right,#000 calc(100% - 24px),transparent); }
.app-shell.app-shell-web main.character-page .discover-quick-tags button { flex-shrink: 0; min-height: 36px; padding: 0; border: 0; background: transparent; font-size: 12px; }
.app-shell.app-shell-web main.character-page .discover-quick-tags .catalog-collections button { padding: 0 12px; border: 1px solid #ffffff20; border-radius: 9px; min-height: 30px; align-self: center; }
.app-shell.app-shell-web main.character-page .discover-quick-tags button[aria-pressed="true"] { color: #f3d4a1; }
.app-shell.app-shell-web main.character-page .discover-mobile-tags { gap: 0; }
.app-shell.app-shell-web main.character-page .character-cover-frame { aspect-ratio: 3 / 4; }
.app-shell.app-shell-web main.character-page .character-card-tags { display: flex; gap: 4px; overflow: hidden; white-space: nowrap; }
.app-shell.app-shell-web main.character-page .character-card-tags span { font-size: 9px; line-height: 1.3; color: #ccc8ce; text-overflow: ellipsis; overflow: hidden; }
.app-shell.app-shell-web main.character-page .character-card-heat { display: block; position: absolute; top: 7px; right: 7px; left: auto; z-index: 5; }
.app-shell.app-shell-web main.character-page .character-card-heat .character-view-count { display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 7px; background: #141215b8; color: #fff; font-size: 10px; }
.app-shell.app-shell-web main.character-page .character-card-heat svg { width: 1.3em; height: 1.3em; flex: 0 0 auto; stroke-width: 2.2; }
.discovery-filter-scroll { display: flex; gap: 6px; min-width: 0; overflow-x: auto; padding-right: 20px; scrollbar-width: none; mask-image: linear-gradient(to right,#000 calc(100% - 24px),transparent); }
.discovery-filter-scroll .catalog-collections { display: contents; }
.discovery-filter-scroll button { flex: 0 0 auto; min-height: 36px; padding: 0 10px; border: 1px solid #ffffff20; border-radius: 9px; background: #ffffff08; color: var(--text); font-size: 12px; }

/* discovery-fill-9f464a81bfe23920.css */
/* Width-first portraits: short originals end beneath a caption gradient. */
.app-shell.app-shell-web main.character-page .character-cover-frame { aspect-ratio: 3 / 5; display: grid; background: #171719; }
.app-shell.app-shell-web main.character-page .character-cover-frame > :is(img,video).character-cover { position: relative; width: 100%; height: auto; max-height: none; align-self: start; object-fit: contain; object-position: top center; }
.app-shell.app-shell-web main.character-page .character-cover-frame > .character-media-gallery { position: relative; height: 100%; }
.app-shell.app-shell-web main.character-page .character-media-gallery > img { width: 100%; height: auto; max-height: none; object-position: top center; }
.app-shell.app-shell-web main.character-page .character-media-gallery > .character-media-gallery-current { position: relative; }
.app-shell.app-shell-web main.character-page .character-cover-caption { padding-top: 62px; background: linear-gradient(180deg,transparent,#171719b8 38%,#171719 82%); }
.app-shell.app-shell-web main.character-page .character-card-tags span { font-size: 11px; line-height: 1.4; }
.app-shell.app-shell-web main.character-page .discover-filter-trigger { display: none; }
.app-shell.app-shell-web main.character-page .discover-quick-tags > button:first-of-type .discover-tag-chip { display: flex; align-items: center; gap: 5px; }
.app-shell.app-shell-web main.character-page .discover-quick-tags > button:first-of-type .discover-tag-chip::after { content: ''; width: 13px; height: 13px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16l-6 7v6l-4 2v-8z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.discovery-filter-scroll > button:first-child { display: inline-flex; align-items: center; gap: 5px; }

/* discovery-fill-18f2f6fd5360cca2.css */
/* Width-first portraits: short originals end beneath a caption gradient. */
.app-shell.app-shell-web main.character-page .character-cover-frame { aspect-ratio: 3 / 5; display: grid; background: #171719; }
.app-shell.app-shell-web main.character-page .character-cover-frame > :is(img,video).character-cover { position: relative; width: 100%; height: auto; max-height: none; align-self: start; object-fit: contain; object-position: top center; }
.app-shell.app-shell-web main.character-page .character-cover-frame > .character-media-gallery { position: relative; height: 100%; }
.app-shell.app-shell-web main.character-page .character-media-gallery > img { width: 100%; height: auto; max-height: none; object-position: top center; }
.app-shell.app-shell-web main.character-page .character-media-gallery > .character-media-gallery-current { position: relative; }
.app-shell.app-shell-web main.character-page .character-cover-caption { padding-top: 62px; background: linear-gradient(180deg,transparent,#171719b8 38%,#171719 82%); }
.app-shell.app-shell-web main.character-page .character-card-tags span { font-size: 11px; line-height: 1.4; }
.app-shell.app-shell-web main.character-page .discover-filter-trigger { display: none; }
.app-shell.app-shell-web main.character-page .discover-quick-tags > button:first-of-type .discover-tag-chip { display: flex; align-items: center; gap: 5px; }
.app-shell.app-shell-web main.character-page .discover-quick-tags > button:first-of-type .discover-tag-chip::after { content: ''; width: 13px; height: 13px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16l-6 7v6l-4 2v-8z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.discovery-filter-scroll > button:first-child { display: inline-flex; align-items: center; gap: 5px; }
/* Intrinsic tall originals may exceed the baseline; expand instead of clipping. */
.app-shell.app-shell-web main.character-page .character-cover-frame { aspect-ratio: auto; }
.app-shell.app-shell-web main.character-page .character-cover-frame::before { content: ''; grid-area: 1 / 1; width: 100%; padding-top: 166.666667%; }
.app-shell.app-shell-web main.character-page .character-cover-frame > :is(img,video,.character-media-gallery).character-cover { grid-area: 1 / 1; }

/* discovery-topfix-bcc23ab896c9b93d.css */
@media (max-width:759px){.app-shell.app-shell-web main.character-page .character-cover-frame{overflow:hidden;align-items:start}.app-shell.app-shell-web main.character-page .character-cover-frame>img.character-cover,.app-shell.app-shell-web main.character-page .character-cover-frame>video.character-cover{top:0;right:0;left:0;width:100%;height:auto;max-height:none;transform:none;object-position:top center}}

/* discovery-unified-20b22d46c48b2415.css */
@media (max-width:759px){
 .app-shell.app-shell-web main.character-page .catalog-primary-filters .discovery-gender{display:none}
 .app-shell.app-shell-web main.character-page .character-cover-frame{overflow:hidden;align-items:stretch}
 .app-shell.app-shell-web main.character-page .character-cover-frame>img.character-cover,
 .app-shell.app-shell-web main.character-page .character-cover-frame>video.character-cover{inset:0;width:100%;height:100%;max-height:none;transform:none;object-fit:contain;object-position:top center;background:#171719}
 .app-shell.app-shell-web main.character-page .character-cover-caption{padding:40px 10px 10px;background:linear-gradient(to bottom,transparent 0%,rgba(17,17,19,.72) 42%,#171719 100%)}
 .app-shell.app-shell-web main.character-page .character-card-heat .character-view-count{font-size:12px;padding:5px 9px;border-radius:9px}
 .app-shell.app-shell-web main.character-page .character-card-tags{display:flex;gap:5px;overflow:hidden;white-space:nowrap}
 .app-shell.app-shell-web main.character-page .character-card-tags span{font-size:10px;line-height:1.35;color:#e5e0e7}
 .app-shell.app-shell-web main.character-page .character-author{display:block;margin:5px 0 0;font-size:10px;line-height:1.25;color:#aaa4ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.aisol-unified-genders{display:flex;gap:6px;align-items:center;padding:10px 14px;border-bottom:1px solid #ffffff18;overflow-x:auto}
.aisol-unified-genders strong{flex:0 0 auto;margin-right:4px;font-size:12px}
.aisol-unified-genders button{flex:0 0 auto;min-height:32px;padding:0 10px;border:1px solid #ffffff20;border-radius:9px;background:#ffffff08;color:inherit;font-size:12px}
.aisol-unified-genders button[aria-pressed=true]{border-color:#e4cea2;color:#f3d4a1}

@media (max-width:759px){.app-shell.app-shell-web main.character-page .character-cover-frame.aisol-tall-cover>img.character-cover,.app-shell.app-shell-web main.character-page .character-cover-frame.aisol-tall-cover>video.character-cover{object-fit:cover;object-position:top center}.app-shell.app-shell-web main.character-page .character-cover-frame.aisol-short-cover>img.character-cover,.app-shell.app-shell-web main.character-page .character-cover-frame.aisol-short-cover>video.character-cover{object-fit:contain;object-position:top center}}

@media(max-width:759px){
.app-shell.app-shell-web > nav.primary-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
.app-shell.app-shell-web > nav.primary-nav a[href="/create"]{display:none}
.app-shell.app-shell-web > nav.primary-nav a>span:not(.unread-badge){display:none}
.app-shell.app-shell-web main.character-page .discovery-filter-scroll{align-items:center}
.app-shell.app-shell-web main.character-page .discovery-filter-scroll button[aria-pressed="true"]{border-color:#e4cea2;background:#e4cea218;color:#f3d4a1}
.app-shell.app-shell-web main.character-page .discovery-filter-scroll button{min-height:32px;padding:0 10px;font-size:12px}
}

/* Keep the whole caption usable; dividers align to each tag's visual centre. */
.app-shell.app-shell-web main.character-page .character-cover-caption { grid-template-columns: minmax(0,1fr); padding-inline: 8px; }
.app-shell.app-shell-web main.character-page .character-card-tags { display: block; width: 100%; min-width: 0; overflow: visible; white-space: normal; line-height: 1.55; }
.app-shell.app-shell-web main.character-page .character-card-tags > span { position: relative; display: inline-block; box-sizing: border-box; max-width: 100%; padding: 0 7px 0 0; margin-right: 5px; overflow: visible; white-space: normal; overflow-wrap: anywhere; vertical-align: middle; text-overflow: clip; }
.app-shell.app-shell-web main.character-page .character-card-tags > span:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; width: 1px; height: .8em; transform: translateY(-50%); background: rgb(229 224 231 / 40%); }
.app-shell.app-shell-web main.character-page .character-card-tags > span:last-child { padding-right: 0; margin-right: 0; }

/* Tag-rich roles grow below the fixed image instead of clipping the overlay. */
.app-shell.app-shell-web main.character-page .character-grid { align-items: start; }
.app-shell.app-shell-web main.character-page .character-card-details { position: relative; padding: 3px 8px 8px; background: #171719; }
.app-shell.app-shell-web main.character-page .character-card-details .character-card-tags { color: #bdb7c4; }

/* Show two complete tag lines without masking text. */
.app-shell.app-shell-web main.character-page .character-card-details .character-card-tags {
  font-size: 11px; line-height: 16px; max-height: 32px; overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
}
.app-shell.app-shell-web main.character-page .character-card-details .character-card-tags > span { font-size: inherit; line-height: inherit; vertical-align: top; }

/* Compact caption-to-tags rhythm without changing the portrait geometry. */
.app-shell.app-shell-web main.character-page .character-cover-caption { padding-bottom: 2px; }
.app-shell.app-shell-web main.character-page .character-card-details { padding-top: 0; }
.app-shell.app-shell-web main.character-page .character-card-tags > span { padding-right: 4px; margin-right: 2px; }
.app-shell.app-shell-web main.character-page .character-card-tags > span:last-child { padding-right: 0; margin-right: 0; }
.app-shell.app-shell-web main.character-page .character-card-details .character-author { margin-top: 3px; }
@media (max-width: 759px) {
  .app-shell.app-shell-web > nav.primary-nav a > svg { width: 24px; height: 24px; }
}

/* Clear card hierarchy: identity, short premise, then quiet metadata. */
.app-shell.app-shell-web main.character-page .character-cover-caption { gap: 4px; }
.app-shell.app-shell-web main.character-page .character-cover-caption h2 { font-size: 14px; font-weight: 650; line-height: 1.3; color: #f5f3f6; }
.app-shell.app-shell-web main.character-page .character-cover-caption .character-premise { font-size: 11px; font-weight: 400; line-height: 1.4; color: #c3bdc8; }
.app-shell.app-shell-web main.character-page .character-card-details { padding-bottom: 7px; }
.app-shell.app-shell-web main.character-page .character-card-details .character-card-tags { font-size: 10.5px; line-height: 15px; max-height: 30px; color: #a9a1b1; }
.app-shell.app-shell-web main.character-page .character-card-tags > span { color: inherit; }
.app-shell.app-shell-web main.character-page .character-card-tags > span:nth-child(n+4) { display: none; }
.app-shell.app-shell-web main.character-page .character-card-tags > span:nth-child(3) { padding-right: 0; margin-right: 0; }
.app-shell.app-shell-web main.character-page .character-card-tags > span:nth-child(3)::after { content: none; }
.app-shell.app-shell-web main.character-page .character-card-tags > span:not(:last-child)::after { background: rgb(200 190 211 / 24%); height: .65em; }
.app-shell.app-shell-web main.character-page .character-card-details .character-author { margin-top: 4px; font-size: 9.5px; font-weight: 400; line-height: 1.3; color: #99919f; }

@media(max-width:759px){
.app-shell.app-shell-web main.character-page .character-cover-frame{aspect-ratio:2/3;display:block;height:auto;overflow:hidden}
.app-shell.app-shell-web main.character-page .character-cover-frame::before{content:none;display:none;padding:0}
.app-shell.app-shell-web main.character-page .character-cover-frame>:is(img,video,.character-media-gallery).character-cover{position:absolute;inset:0;width:100%;height:100%;max-height:none}
.app-shell.app-shell-web main.character-page .character-cover-frame.aisol-tall-cover>:is(img,video).character-cover{object-position:center center}
}

@media(max-width:759px){
.app-shell.app-shell-web main.character-page .character-cover-frame{background:#171719}
.app-shell.app-shell-web main.character-page .character-cover-caption{background:linear-gradient(180deg,transparent 0%,rgba(23,23,25,.2) 20%,rgba(23,23,25,.8) 60%,#171719 100%)}
}
