/* WriteUpCafe — author profile v2 (2026-11-16). Plan: data/plans/2026-11-16-author-profile-v2.md
   Namespaced .pv2-*; the tab bodies below keep their app.css (prof- and ps- classes) styles.
   Design system: H1 Playfair 800 48 gold on espresso, eyebrows copper 11/600/.15em, pill buttons, cards 14px. */

.pv2-hero {
  --pv2-esp: #1a0f06; --pv2-esp2: #251508; --pv2-elev: #2d1a0c; --pv2-gold: #f0c080; --pv2-copper: #c17d3c;
  --pv2-cream: #e8ddd0; --pv2-cream-2: rgba(232, 221, 208, .74); --pv2-orange: #e87a35; --pv2-line: rgba(193, 125, 60, .25);
  background: var(--pv2-esp); background-image: radial-gradient(900px 340px at 18% 0%, rgba(232, 122, 53, .16), transparent 70%);
  color: var(--pv2-cream); font-family: 'DM Sans', system-ui, sans-serif;
}
.pv2-wrap { max-width: 1300px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.pv2-hero__top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 44px; }

.pv2-avatar { position: relative; flex: 0 0 auto; }
.pv2-avatar__img { width: 148px; height: 148px; border-radius: 28px; object-fit: cover; display: block;
  box-shadow: 0 0 0 3px var(--pv2-esp), 0 0 0 4px rgba(193, 125, 60, .5), 0 18px 40px rgba(0, 0, 0, .45); }
.pv2-avatar__img.is-pro { box-shadow: 0 0 0 3px var(--pv2-esp), 0 0 0 5px var(--pv2-orange), 0 18px 40px rgba(0, 0, 0, .45); }
.pv2-avatar__img--init { display: flex; align-items: center; justify-content: center; background: var(--pv2-elev);
  font: 800 56px/1 'Playfair Display', Georgia, serif; color: var(--pv2-gold); }
.pv2-avatar__pro { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); height: 24px; padding: 0 10px; border-radius: 999px;
  background: linear-gradient(180deg, #f0c080, #e0a030); color: #1a0f06; font-size: 11px; font-weight: 700; letter-spacing: .15em;
  display: inline-flex; align-items: center; white-space: nowrap; }

.pv2-id { flex: 999 1 440px; min-width: 0; }
.pv2-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--pv2-copper, #c17d3c); }
.pv2-eyebrow--ink { color: #8b4513; }
.pv2-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pv2-name { margin: 0; font: 800 48px/1.1 'Playfair Display', Georgia, serif; letter-spacing: -.02em; color: var(--pv2-gold); font-style: normal; }
.pv2-verified { width: 24px; height: 24px; border-radius: 50%; background: #5ba8a0; color: #1a0f06; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pv2-handle-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pv2-handle { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--pv2-cream-2); }
.pv2-level { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 4px; border-radius: 999px;
  border: 1px solid rgba(232, 122, 53, .45); background: rgba(232, 122, 53, .12); color: var(--pv2-gold); font-size: 13px; font-weight: 600; text-decoration: none; }
.pv2-level:hover { color: #fff; text-decoration: none; }
.pv2-bio { margin: 16px 0 0; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--pv2-cream); white-space: pre-line; }
.pv2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; font-size: 13px; color: var(--pv2-cream-2); }
.pv2-meta > span, .pv2-meta > a { display: inline-flex; align-items: center; gap: 6px; }
.pv2-meta__seen i { width: 8px; height: 8px; border-radius: 50%; background: var(--pv2-copper); }
.pv2-meta__web { color: var(--pv2-gold); text-decoration: none; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv2-meta__web:hover { color: #fff; }
.pv2-socials { display: inline-flex; gap: 6px; }
.pv2-social { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(232, 221, 208, .2); color: var(--pv2-cream);
  display: inline-flex; align-items: center; justify-content: center; transition: border-color .15s, color .15s; }
.pv2-social svg { width: 14px; height: 14px; }
.pv2-social:hover { border-color: var(--pv2-orange); color: var(--pv2-gold); }

.pv2-actions { flex: 1 1 260px; max-width: 320px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.pv2-actions__row { display: flex; gap: 8px; flex-wrap: wrap; }
.pv2-actions__row > .pv2-btn { flex: 1 1 0; }
.pv2-follow-form { margin: 0; display: flex; }
.pv2-follow-form .pv2-btn { flex: 1; }
.pv2-btn { height: 40px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font: 500 14px/1 'DM Sans', system-ui, sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s; }
.pv2-btn:hover { text-decoration: none; }
.pv2-btn--lg { height: 48px; font-size: 15px; }
.pv2-btn--primary { background: #e87a35; color: #fff; }
.pv2-btn--primary:hover { background: #f08a45; color: #fff; }
.pv2-btn--primary.following { background: transparent; border-color: #e87a35; color: #f0c080; }
.pv2-btn--dark { background: #2d1a0c; border-color: rgba(193, 125, 60, .45); color: #e8ddd0; }
.pv2-btn--dark:hover { border-color: #e87a35; color: #fff; }
.pv2-btn--outline { background: transparent; border-color: #e87a35; color: #f0c080; }
.pv2-btn--outline:hover { background: rgba(232, 122, 53, .12); color: #fff; }
.pv2-btn--outline-light { background: transparent; border-color: #e87a35; color: #b85a1e; }
.pv2-btn--outline-light:hover { background: rgba(232, 122, 53, .1); }
.pv2-icon-btn { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; border: 1px solid rgba(232, 221, 208, .2); background: transparent;
  color: #e8ddd0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pv2-icon-btn:hover { border-color: #e87a35; color: #f0c080; }
.pv2-more { position: relative; }
.pv2-more__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 200px; padding: 6px; border-radius: 12px;
  background: #fbf7ef; border: 1px solid rgba(139, 69, 19, .18); box-shadow: 0 14px 30px rgba(26, 15, 6, .25); }
.pv2-more__menu[hidden] { display: none; }
.pv2-more__item { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent;
  color: #1a0f06; font: 500 14px 'DM Sans', sans-serif; cursor: pointer; text-align: left; }
.pv2-more__item:hover { background: rgba(232, 122, 53, .1); }
.pv2-actions .prof-admin-wrap { align-self: flex-end; }

.pv2-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-top: 36px; border-top: 1px solid var(--pv2-line); }
.pv2-stat { padding: 18px 16px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid rgba(193, 125, 60, .18); color: var(--pv2-cream); text-decoration: none; }
.pv2-stat:last-child { border-right: 0; }
a.pv2-stat:hover { background: rgba(232, 122, 53, .06); text-decoration: none; }
.pv2-stat__n { font: 700 28px/1.1 'Playfair Display', Georgia, serif; color: var(--pv2-gold); }
.pv2-stat__l { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--pv2-copper); }

.pv2-tabs { background: var(--pv2-esp2); border-top: 1px solid var(--pv2-line); position: sticky; top: 0; z-index: 20; }
.pv2-tabs__row { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.pv2-tabs__row::-webkit-scrollbar { display: none; }
.pv2-tab { flex: 0 0 auto; height: 40px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; color: rgba(232, 221, 208, .82); text-decoration: none; white-space: nowrap; }
.pv2-tab:hover { color: #fff; text-decoration: none; }
.pv2-tab.is-on { background: rgba(232, 122, 53, .16); border-color: rgba(232, 122, 53, .45); color: var(--pv2-gold); }
.pv2-tab__n { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(232, 221, 208, .1); color: rgba(232, 221, 208, .85); }

/* page body */
.pv2-layout { background: #f5f0e8; }
.pv2-main { display: flex; flex-direction: column; gap: 28px; }
.pv2-card { background: #fbf7ef; border: 1px solid rgba(139, 69, 19, .18); border-radius: 14px; padding: 20px 22px; }
.pv2-card--dashed { border-style: dashed; border-color: rgba(139, 69, 19, .35); }
.pv2-muted { color: rgba(26, 15, 6, .62); font-size: 13px; }
.pv2-link { color: #8b4513; font-size: 13px; font-weight: 500; text-decoration: none; }
.pv2-link:hover { color: #c17d3c; }
.pv2-h2 { margin: 6px 0 0; font: 700 36px/1.15 'Playfair Display', Georgia, serif; color: #8b4513; font-style: normal; }
.pv2-h3 { margin: 0; font: 600 28px/1.2 'Playfair Display', Georgia, serif; color: #8b4513; font-style: normal; }
.pv2-h-sm { margin: 0; font: 600 18px/1.3 'DM Sans', system-ui, sans-serif; color: #1a0f06; }
.pv2-side-h { margin: 0 0 10px; font: 600 18px/1.3 'DM Sans', system-ui, sans-serif; color: #1a0f06; }
.pv2-row-head { display: flex; align-items: baseline; gap: 10px 16px; flex-wrap: wrap; }
.pv2-row-head > .pv2-link, .pv2-row-head > .pv2-chip-btn { margin-left: auto; }
.pv2-row-head--end { align-items: flex-end; justify-content: space-between; }
.pv2-row-head--wrap { align-items: center; justify-content: space-between; }
.pv2-chip-btn { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid #e87a35; color: #b85a1e; background: transparent;
  font: 500 13px/1 'DM Sans', sans-serif; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pv2-chip-btn:hover { background: rgba(232, 122, 53, .1); color: #8b4513; text-decoration: none; }
.pv2-chip-btn--lg { height: 40px; font-size: 14px; padding: 0 18px; }
.pv2-text-btn { height: 32px; padding: 0 12px; border: 0; background: transparent; color: rgba(26, 15, 6, .72); font: 500 13px 'DM Sans', sans-serif; cursor: pointer; border-radius: 999px; }
.pv2-text-btn:hover { background: rgba(26, 15, 6, .05); }
.pv2-push { margin-left: auto; }
.pv2-tag { padding: 2px 10px; border-radius: 999px; background: rgba(232, 122, 53, .12); color: #a0522d; font-weight: 500; }

/* owner checklist */
.pv2-check { border-color: rgba(232, 122, 53, .35); }
.pv2-check__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pv2-check__head > div:first-child { flex: 1 1 260px; }
.pv2-progress { flex: 1 1 200px; height: 8px; border-radius: 999px; background: #ece5d8; overflow: hidden; }
.pv2-progress span { display: block; height: 100%; background: #e87a35; }
.pv2-check__grid { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.pv2-check__item { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: #f5f0e8; color: #1a0f06; text-decoration: none; font-size: 14px; }
.pv2-check__item:hover { background: #ece5d8; text-decoration: none; }
.pv2-check__item > span:last-child { display: flex; flex-direction: column; }
.pv2-check__item strong { font-weight: 600; }
.pv2-check__item span span { font-size: 13px; color: rgba(26, 15, 6, .62); }
.pv2-check__dot { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; border: 1.5px dashed #c17d3c; }

/* drafts */
.pv2-draft { display: flex; align-items: center; gap: 12px; padding: 12px 0 0; margin-top: 12px; border-top: 1px solid rgba(139, 69, 19, .12); }
.pv2-draft__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pv2-draft__t strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* shelf */
.pv2-shelf__grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pv2-shelf__card { background: #fbf7ef; border: 1px solid rgba(139, 69, 19, .18); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  color: #1a0f06; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.pv2-shelf__card:hover { box-shadow: 0 12px 28px rgba(26, 15, 6, .12); transform: translateY(-2px); text-decoration: none; color: #1a0f06; }
.pv2-shelf__cover { display: block; height: 190px; background: #ece5d8; overflow: hidden; }
.pv2-shelf__cover > * { width: 100%; height: 100%; }
.pv2-shelf__cover .pv2-shelf__img img, .pv2-shelf__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv2-shelf__card--book .pv2-shelf__cover { display: flex; align-items: center; justify-content: center; padding: 14px 0; box-sizing: border-box; background: #ece5d8; }
.pv2-shelf__card--book .pv2-shelf__cover > * { width: 108px; height: 162px; border-radius: 3px 8px 8px 3px; box-shadow: 0 10px 22px rgba(26, 15, 6, .28); overflow: hidden; }
.pv2-shelf__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.pv2-shelf__type { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: #8b4513; }
.pv2-type--course { color: #2c6e6a; } .pv2-type--book { color: #6b3a1e; } .pv2-type--collection { color: #6b4fa0; } .pv2-type--playbook { color: #3f6a2a; }
.pv2-shelf__title { font: 600 18px/1.3 'DM Sans', system-ui, sans-serif; }
.pv2-shelf-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pv2-shelf-cta > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 4px; }

/* pinned */
.pv2-pinned { background: #fbf7ef; border: 1px solid rgba(139, 69, 19, .18); border-radius: 14px; overflow: hidden; display: flex; flex-wrap: wrap; }
.pv2-pinned__img { flex: 1 1 300px; min-height: 240px; max-height: 320px; display: block; }
.pv2-pinned__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv2-pinned__body { flex: 999 1 340px; padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pv2-pinned__title { margin: 0; font: 600 28px/1.2 'Playfair Display', Georgia, serif; font-style: normal; }
.pv2-pinned__title a { color: #8b4513; text-decoration: none; }
.pv2-pinned__title a:hover { color: #c17d3c; }
.pv2-pinned__ex { margin: 0; color: rgba(26, 15, 6, .74); line-height: 1.6; }
.pv2-pinned__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; color: rgba(26, 15, 6, .62); }
.pv2-pinned__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(139, 69, 19, .12); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* activity */
.pv2-activity { display: flex; flex-direction: column; gap: 16px; }
.pv2-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.pv2-filter { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent; color: rgba(26, 15, 6, .74); font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; text-decoration: none; }
.pv2-filter:hover { background: rgba(26, 15, 6, .05); text-decoration: none; color: #1a0f06; }
.pv2-filter.is-on { background: rgba(232, 122, 53, .12); border-color: rgba(232, 122, 53, .35); color: #b85a1e; }
.pv2-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pv2-feed > * + * { margin-top: 0; }
#prof-load-more-wrap { display: flex; justify-content: center; margin-top: 4px; }

.pv2-group { background: #fbf7ef; border: 1px solid rgba(139, 69, 19, .18); border-radius: 14px; padding: 16px 20px; margin-bottom: 16px; font-size: 14px; }
.pv2-group__head { display: flex; align-items: center; gap: 10px; }
.pv2-group__ico { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.pv2-group--follow .pv2-group__ico { background: rgba(91, 168, 160, .16); color: #2c6e6a; }
.pv2-group--like .pv2-group__ico { background: rgba(224, 123, 106, .16); color: #b04a38; }
.pv2-group__head strong { font-weight: 600; }
.pv2-group__people { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.pv2-group__person { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #f5f0e8; color: #1a0f06; text-decoration: none; min-width: 0; }
.pv2-group__person:hover { background: #ece5d8; text-decoration: none; }
.pv2-group__person img, .pv2-group__init { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.pv2-group__init { color: #fff; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.pv2-group__who { display: flex; flex-direction: column; min-width: 0; }
.pv2-group__who strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv2-group__likes { list-style: none; margin: 8px 0 0; padding: 0; }
.pv2-group__likes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 0; border-top: 1px solid rgba(139, 69, 19, .12); }
.pv2-group__likes a { color: #1a0f06; text-decoration: none; flex: 1 1 260px; }
.pv2-group__likes a:hover { color: #8b4513; }

/* sidebar additions */
.pv2-most, .pv2-vis, .pv2-badge-card { padding: 18px 20px; }
.pv2-most__list { list-style: none; margin: 0 0 10px; padding: 0; }
.pv2-most__list a { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(139, 69, 19, .12); color: #1a0f06; text-decoration: none; }
.pv2-most__list a:hover strong { color: #8b4513; }
.pv2-most__list a > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.pv2-most__list strong { font-weight: 600; font-size: 14px; line-height: 1.35; }
.pv2-most__n { width: 20px; flex: 0 0 auto; font: 700 22px/1 'Playfair Display', Georgia, serif; color: #c17d3c; }
.pv2-vis__row { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.pv2-vis__row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #e87a35; flex: 0 0 auto; }
.pv2-vis__note { display: block; margin-top: 6px; }
.pv2-badge-card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* responsive */
@media (max-width: 1100px) {
  .pv2-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pv2-wrap { padding: 0 24px; }
  .pv2-actions { max-width: none; flex-basis: 100%; }
  .pv2-actions > .pv2-btn--lg, .pv2-follow-form { max-width: 360px; }
}
@media (max-width: 640px) {
  .pv2-wrap { padding: 0 16px; }
  .pv2-hero__top { gap: 18px; padding-top: 28px; }
  .pv2-avatar__img { width: 88px; height: 88px; border-radius: 20px; }
  .pv2-avatar__img--init { font-size: 36px; }
  .pv2-avatar__pro { height: 20px; font-size: 10px; bottom: -10px; }
  .pv2-id { flex-basis: calc(100% - 110px); }
  .pv2-name { font-size: 28px; }
  .pv2-bio { font-size: 15px; }
  .pv2-actions { flex-direction: row; flex-wrap: wrap; }
  .pv2-actions > .pv2-btn--lg, .pv2-follow-form { flex: 1 1 140px; height: 44px; max-width: none; }
  .pv2-actions__row { flex: 1 1 100%; }
  .pv2-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; }
  .pv2-stat { padding: 12px 4px; text-align: center; align-items: center; }
  .pv2-stat:nth-child(5) { display: none; }
  .pv2-stat__n { font-size: 22px; }
  .pv2-stat__l { font-size: 10px; letter-spacing: .08em; }
  .pv2-h2 { font-size: 28px; }
  .pv2-h3 { font-size: 22px; }
  .pv2-shelf__grid { display: flex; overflow-x: auto; gap: 12px; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; }
  .pv2-shelf__card { flex: 0 0 210px; scroll-snap-align: start; }
  .pv2-shelf__cover { height: 130px; }
  .pv2-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
  .pv2-filter { flex: 0 0 auto; }
  .pv2-pinned__img { min-height: 190px; }
  .pv2-pinned__title { font-size: 22px; }
}

/* shared classic book cover (copied from series-modal-v2.css) */
/* ── Classic book cover (2026-11-15) — shared by the book page, listings, writeup page and the create window.
      Markup from App\Support\SeriesCover::html(): .bkc > .bkc__k (genre) + .bkc__t (title) + .bkc__a (author).
      Sizes follow the cover's own width (cqw), so one set of rules fits every size. ── */
.bkc.bkc {
  container-type: inline-size; position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  padding: 0; background: var(--bk, #131a3a); color: var(--bk-ink, #d9b979); text-decoration: none;
}
.bkc.bkc::before, .bkc.bkc::after { content: ""; position: absolute; pointer-events: none; border: 1px solid var(--bk-rule, #c9a45c); }
.bkc.bkc::before { inset: 4.5%; opacity: .6; }
.bkc.bkc::after { inset: 6.2%; opacity: .22; }
.bkc.bkc .bkc__k, .bkc.bkc .bkc__a {
  font-family: 'DM Sans', system-ui, sans-serif; font-style: normal; font-weight: 600; text-transform: uppercase;
  overflow-wrap: anywhere; position: relative; z-index: 1; border: 0; opacity: 1;
}
.bkc.bkc .bkc__k { font-size: max(6px, 2.7cqw); letter-spacing: .24em; line-height: 1.4; color: var(--bk-ink, #d9b979); padding: 5.2cqw 9cqw 0; margin-top: 14cqw; }
.bkc.bkc .bkc__a { font-size: max(6px, 3.2cqw); letter-spacing: .2em; line-height: 1.4; color: var(--bk-rule, #c9a45c); padding: 4.8cqw 9cqw 0; margin-bottom: 12.5cqw; }
.bkc.bkc .bkc__t {
  font-family: 'Playfair Display', Georgia, serif; font-style: normal; font-weight: 700; text-transform: uppercase;
  font-size: 9.4cqw; line-height: 1.14; letter-spacing: .02em; color: var(--bk-title, #f5efe0);
  margin: auto 0; padding: 0 9cqw 6.5cqw; border: 0; position: relative; z-index: 1; max-width: 100%; box-sizing: border-box;
  overflow-wrap: break-word; hyphens: none; text-wrap: balance;
}
.bkc.bkc .bkc__t.is-sm { font-size: 7.3cqw; }
.bkc.bkc .bkc__t.is-xs { font-size: 5.7cqw; line-height: 1.2; }
/* ornaments: a short rule with a centre dot above the genre, under the title and above the author */
.bkc.bkc .bkc__k::before, .bkc.bkc .bkc__t::after, .bkc.bkc .bkc__a::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 21cqw; height: 5px;
  background:
    radial-gradient(circle, var(--bk-rule, #c9a45c) 0 1.5px, transparent 2px) center / 9px 5px no-repeat,
    linear-gradient(var(--bk-rule, #c9a45c), var(--bk-rule, #c9a45c)) left center / calc(50% - 8px) 1px no-repeat,
    linear-gradient(var(--bk-rule, #c9a45c), var(--bk-rule, #c9a45c)) right center / calc(50% - 8px) 1px no-repeat;
  opacity: .8;
}
.bkc.bkc .bkc__k::before { top: 0; }
.bkc.bkc .bkc__t::after { bottom: 0; }
.bkc.bkc .bkc__a::before { top: 0; width: 11cqw; background: linear-gradient(var(--bk-rule, #c9a45c), var(--bk-rule, #c9a45c)) center / 100% 1px no-repeat; }
/* uploaded image with the title over it: the image is darkened and sits behind the text */
.bkc.bkc.bkc--photo {
  background: linear-gradient(rgba(14, 11, 8, .62), rgba(14, 11, 8, .78)), var(--bk-img) center / cover no-repeat, #1a120b;
  --bk-title: #f5efe0; --bk-ink: #e6cf9f; --bk-rule: #d9b979;
}
.bkc.bkc.bkc--photo .bkc__t { text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }

/* level badge on the dark header: keep the level name readable */
.pv2-level .wuc-level { display: inline-flex; align-items: center; gap: 6px; color: #f0c080; font-weight: 600; font-size: 13px; background: none; border: 0; padding: 0; }
.pv2-level .wuc-level-n { width: 22px; height: 22px; border-radius: 50%; background: #e87a35; color: #1a0f06; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.pv2-level > span:last-child { color: rgba(232, 221, 208, .85); font-weight: 500; }
/* wide (non-book) title covers on the shelf: the author line is already on the card */
.pv2-shelf__card:not(.pv2-shelf__card--book) .bkc.bkc .bkc__a { display: none; }
.pv2-shelf__card:not(.pv2-shelf__card--book) .bkc.bkc .bkc__k { margin-top: 0; }
.pv2-shelf__card:not(.pv2-shelf__card--book) .bkc.bkc { justify-content: center; gap: 4px; }
