/* SHIPPO-CSS-11 / 2026-10-25 / candidate, not approved or deployed.
 * Purpose: let the homepage lead into the actual shelves with less ceremony.
 * Append after existing Additional CSS; remove this entire block to revert.
 * Requires the confirmed .shippo-home-experience / .hx-* homepage modules.
 * No effect on articles, original character page, photos or stories.
 * Existing fonts, paper rules, shelf colours, images and DOM order are kept.
 */

/* 1. A shorter introduction. No content is hidden, reordered or replaced. */
body.shippo-home-experience .hx-hero {
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  padding: 24px 0 28px;
}
body.shippo-home-experience .hx-hero-copy { padding: 0; }
body.shippo-home-experience .hx-hero h1 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.65;
  letter-spacing: .04em;
  white-space: normal;
  margin-bottom: 18px;
}
body.shippo-home-experience .hx-hero .hx-kicker {
  letter-spacing: .06em;
  margin-bottom: 12px;
  color: var(--muted, #5e6347);
}
body.shippo-home-experience .hx-hero-art { padding: 0; }
/* Remove only the empty decorative backdrop, not meaningful text. */
body.shippo-home-experience .hx-hero-art::before { content: none; }
body.shippo-home-experience .hx-hero-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
body.shippo-home-experience .hx-hero-art figcaption {
  position: static;
  padding: 8px 0 0;
  font-size: 13px;
  letter-spacing: .02em;
  line-height: 1.7;
  color: var(--muted, #5e6347);
  background: transparent;
}
body.shippo-home-experience .hx-entrances > a { gap: 10px; }
body.shippo-home-experience .hx-entrances small {
  font-size: 14px;
  color: var(--muted, #5e6347);
}
body.shippo-home-experience .hx-entrances span {
  font-size: 13px;
  color: var(--muted, #5e6347);
}
body.shippo-home-experience #v4-shelves { padding-block: 36px 48px; }
body.shippo-home-experience #v4-shelves .hx-section-head { margin-bottom: 22px; }

/* 2. The shelf is a stable place to choose a book, not a moving CTA grid.
 * Preserve its approved visual direction: book jackets and the wooden ledge.
 */
body.shippo-home-experience .shippo-home a,
body.shippo-home-experience .shippo-home img { transition: none; }
body.shippo-home-experience .hx-button,
body.shippo-home-experience .hx-button:hover { box-shadow: none; transform: none; }
body.shippo-home-experience .hx-book:hover {
  transform: none;
  box-shadow: 2px 1px 4px #35352622;
}
body.shippo-home-experience .hx-person:hover img,
body.shippo-home-experience .hx-scene-link:hover img { transform: none; }
body.shippo-home-experience .hx-scene-link { box-shadow: none; }
body.shippo-home-experience .hx-scene-link img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
/* Same quiet paper for all portraits; do not infer identity by nth-child. */
body.shippo-home-experience .hx-portraits .hx-person .hx-portrait {
  background: var(--paper-2, #faf6ec);
  border-radius: 0;
}
body.shippo-home-experience .hx-person-more {
  font-size: 13px;
  color: var(--muted, #5e6347);
}
body.shippo-home-experience .shippo-home a:focus-visible,
body.shippo-home-experience .shippo-home summary:focus-visible,
body.shippo-home-experience .shippo-home input:focus-visible {
  outline: 2px solid var(--accent, #4f6f43);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  body.shippo-home-experience .hx-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 20px 24px;
  }
  body.shippo-home-experience .hx-hero-art { max-width: 280px; }
  body.shippo-home-experience #v4-shelves { padding-block: 28px 36px; }
}
/* END SHIPPO-CSS-11 */

/* SHIPPO-ROUND-13 / 2026-10-25 / unapproved local candidate.
 * Use after SHIPPO-CSS-11. Remove SHIPPO-TYPE-12 first if present.
 * Existing fonts, content, dimensions, focus outlines and book ledge stay intact.
 * Only the homepage's actual cards, portrait panels and controls are rounded.
 */
body.shippo-home-experience .shippo-home .hx-book {
  border-radius: 12px;
}
body.shippo-home-experience .hx-books .hx-book img {
  border-radius: 8px 12px 0 0;
}
body.shippo-home-experience .hx-portraits .hx-person .hx-portrait {
  border-radius: 14px;
}
body.shippo-home-experience .shippo-home .hx-entrances,
body.shippo-home-experience .shippo-home .hx-entrances > a,
body.shippo-home-experience .shippo-home .hx-question,
body.shippo-home-experience .shippo-home .hx-daily-links details,
body.shippo-home-experience .shippo-home #v4-recommendations {
  border-radius: 12px;
}
body.shippo-home-experience .shippo-home .hx-scene-link {
  border-radius: 16px;
}
body.shippo-home-experience .shippo-home .hx-button,
body.shippo-home-experience .menu-toggle,
body.shippo-home-experience .shippo-home summary,
body.shippo-home-experience .shippo-home .hx-search input,
body.shippo-home-experience .shippo-home .v4-filter button,
body.shippo-home-experience .shippo-home .v4-pagination button,
body.shippo-home-experience .shippo-home [data-search-more] {
  border-radius: 10px;
}
@media (max-width: 700px) {
  body.shippo-home-experience .hx-books .hx-book img {
    border-radius: 8px 0 0 8px;
  }
}
/* END SHIPPO-ROUND-13 */

/* SHIPPO-WELCOME-14: only the new fixed welcome conversation. */
body.shippo-home-experience .shippo-home .hx-welcome-talk {
  max-width: 900px;
  margin: 12px auto 36px;
  padding: 24px 0;
  border-top: 1px solid var(--hx-rule);
}
body.shippo-home-experience .shippo-home .hx-welcome-talk h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
body.shippo-home-experience .shippo-home .hx-welcome-note {
  font-size: 13px;
  color: var(--muted);
}
body.shippo-home-experience .hx-welcome-talk .talk { gap: 14px; margin-bottom: 0; }
body.shippo-home-experience .shippo-home .hx-welcome-talk .talkline__say {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  border-radius: 18px;
}
@media (max-width: 640px) {
  body.shippo-home-experience .hx-welcome-talk .talkline-wrap[data-align="left"] { grid-template-columns: 64px minmax(0,1fr); grid-template-rows: 64px auto; }
  body.shippo-home-experience .hx-welcome-talk .talkline-wrap[data-align="right"] { grid-template-columns: minmax(0,1fr) 64px; grid-template-rows: 64px auto; }
  body.shippo-home-experience .hx-welcome-talk .talkline__who,
  body.shippo-home-experience .hx-welcome-talk .talkline__avatar { width: 64px; height: 64px; min-width: 64px; }
  body.shippo-home-experience .hx-welcome-talk .talkline__name { width: 64px; font-size: 12px; letter-spacing: 0; }
  body.shippo-home-experience .shippo-home .hx-welcome-talk .talkline__say { font-size: 14px; padding: 12px; min-height: 64px; }
}
/* END SHIPPO-WELCOME-14 */

/* SHIPPO-ENTRANCES-15 / three real links, before the welcome conversation.
 * Home only. Existing type, wording, destinations and keyboard order are kept.
 * Add after WELCOME-14; no images, fonts, scripts or remote resources.
 */
body.shippo-home-experience .shippo-home .hx-entrances {
  gap: 12px;
  border: 0;
  background: transparent;
}
body.shippo-home-experience .shippo-home .hx-entrances > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 8px 12px;
  border: 1px solid #788567;
  background: var(--paper-2, #faf6ec);
  text-align: left;
  cursor: pointer;
}
body.shippo-home-experience .shippo-home .hx-entrances > a > small {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}
body.shippo-home-experience .shippo-home .hx-entrances > a > div {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}
body.shippo-home-experience .shippo-home .hx-entrances strong {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  white-space: normal;
}
body.shippo-home-experience .shippo-home .hx-entrances > a > b {
  display: grid;
  place-items: center;
  grid-column: 2;
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  margin: 0;
  align-self: center;
  border: 1px solid #788567;
  border-radius: 50%;
  color: var(--accent, #4f6f43);
}
body.shippo-home-experience .shippo-home .hx-entrances > a:hover,
body.shippo-home-experience .shippo-home .hx-entrances > a:focus-visible {
  background: #eaeede;
  border-color: var(--accent, #4f6f43);
}
body.shippo-home-experience .shippo-home .hx-entrances > a:focus-visible {
  outline: 3px solid var(--accent, #4f6f43);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  body.shippo-home-experience .shippo-home .hx-entrances {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.shippo-home-experience .shippo-home .hx-entrances > a {
    grid-template-columns: 22px minmax(0, 1fr) 32px;
  }
  body.shippo-home-experience .shippo-home .hx-entrances > a > small {
    align-self: center;
  }
  body.shippo-home-experience .shippo-home .hx-entrances > a > div {
    grid-column: 2;
    grid-row: 1;
  }
  body.shippo-home-experience .shippo-home .hx-entrances > a > b {
    grid-column: 3;
    grid-row: 1;
  }
}
/* END SHIPPO-ENTRANCES-15 */

/* SHIPPO-SELF-TALK-17: native talk UI; do not rebuild bubble tails or colors.
 * Match the existing welcome conversation. Only the profile link is extra.
 */
body.shippo-home-experience .shippo-home .hx-self-introductions .talkline__say {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  border-radius: 18px;
}
body.shippo-home-experience .shippo-home .hx-self-introductions .hx-introduction-text {
  font: inherit;
  margin: 0;
}
body.shippo-home-experience .shippo-home .hx-self-introductions .hx-person-more {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  min-height: 32px;
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 640px) {
  body.shippo-home-experience .hx-self-introductions .talkline-wrap[data-align="left"] { grid-template-columns: 64px minmax(0,1fr); grid-template-rows: 64px auto; }
  body.shippo-home-experience .hx-self-introductions .talkline-wrap[data-align="right"] { grid-template-columns: minmax(0,1fr) 64px; grid-template-rows: 64px auto; }
  body.shippo-home-experience .hx-self-introductions .talkline__who,
  body.shippo-home-experience .hx-self-introductions .talkline__avatar { width: 64px; height: 64px; min-width: 64px; }
  body.shippo-home-experience .hx-self-introductions .talkline__name { width: 64px; font-size: 12px; letter-spacing: 0; }
  body.shippo-home-experience .shippo-home .hx-self-introductions .talkline__say { font-size: 14px; padding: 12px; min-height: 64px; }
}
/* END SHIPPO-SELF-TALK-17 */
