/* Complete scene illustrations for four companion pages. No global overrides. */
.lively-picture { display: block; min-width: 0; width: 100%; }
.lively-picture > img { display: block; max-width: 100%; }
.lively-home .home-main-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); min-height: 0; background: #fffaf0; }
.lively-home .home-main-panel > .character-chapter { grid-column: 1 / -1; }
.lively-home .home-main-copy { width: auto; align-self: center; padding: 27px 16px 27px 24px; }
.lively-home .home-main-copy h1 { font-size: clamp(35px, 4vw, 49px); }
.lively-home .home-main-copy .btn { max-width: 100%; padding: 11px 10px; font-size: 11px; white-space: normal; line-height: 1.7; }
.lively-home .home-scene-figure { display: flex; flex-direction: column; justify-content: center; margin: 0; min-width: 0; border-left: 2px solid var(--comic-ink); background: #f7ecd8; }
.lively-home .home-main-art { position: static; display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; }
.lively-home .home-hello-bubble { position: relative; top: auto; right: auto; display: table; margin: 20px 0 0 4px; padding: 8px 15px; background: #fff2c8; font-size: 11px; border-width: 2px; transform: rotate(-4deg); }
.lively-home .home-panel-caption { position: static; display: block; margin: 0; padding: 9px 12px; border-left: 0; border-top: 2px solid var(--comic-ink); background: #eef4fb; color: #3e5674; font-size: 9px; font-weight: 700; }
.lively-chapters { margin: 27px 0 30px; }
.lively-chapters-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.lively-chapters-heading .character-eyebrow { margin: 0 0 5px; font-size: 9px; letter-spacing: 1.3px; }
.lively-chapters-heading h2 { margin: 0; font-size: 26px; font-weight: 900; }
.lively-chapters-heading > p { margin: 0 0 3px; color: #53647a; font-size: 11px; }
.lively-chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lively-chapter-card { display: flex; min-width: 0; flex-direction: column; border: 2px solid var(--comic-ink); border-radius: 5px; background: #fffefa; color: var(--comic-ink); box-shadow: 4px 4px 0 #d6dfeb; overflow: hidden; text-decoration: none!important; }
.lively-chapter-card:hover { color: var(--comic-ink); box-shadow: 4px 4px 0 #b9cde8; }
.lively-chapter-art { display: block; background: #f8eedc; border-bottom: 2px solid var(--comic-ink); }
.lively-chapter-art > img { display: block; width: 100%; height: 158px; object-fit: contain; object-position: center; }
.lively-chapter-card > div { padding: 17px 18px 18px; }
.lively-chapter-number { color: #486a93; font-size: 9px; font-weight: 850; letter-spacing: 1px; }
.lively-chapter-card h3 { margin: 8px 0; font-size: 18px; font-weight: 850; line-height: 1.5; }
.lively-chapter-card p { margin: 0 0 13px; color: #53647a; font-size: 11px; line-height: 1.9; }
.lively-chapter-link { font-size: 11px; font-weight: 850; color: var(--comic-blue); }
.lively-chapters-note { margin: 15px 0 0; color: #53647a; font-size: 10px; line-height: 1.9; }
.lively-login .character-cover-heading { padding: 23px 25px 21px; }
.lively-login .character-cover-heading h1 { max-width: 88%; font-size: clamp(30px, 3.1vw, 40px); line-height: 1.35; letter-spacing: -1.4px; }
.lively-login .character-cover-burst { top: 33px; right: 14px; width: 60px; height: 60px; border-width: 2px; font-size: 11px; transform: rotate(9deg); }
.lively-login .character-cover-scene { background: #f8eedc; }
.lively-login .character-cover-portrait { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; }
.lively-login-scene-note { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 16px 16px; border-top: 2px solid var(--comic-ink); background: #fffaf0; }
.lively-login .character-scene-caption { position: static; padding: 0; border: 0; background: none; color: #53647a; font-size: 10px; }
.lively-login .character-cover-scene .character-dialogue { position: relative; right: auto; bottom: auto; width: auto; max-width: 210px; padding: 8px 15px; border-width: 2px; font-size: 12px; transform: rotate(-3deg); }
.lively-login .character-dialogue::after { width: 10px; height: 10px; bottom: -7px; border-width: 2px; }
.diary-page .lively-story-cover, .proactive-page .lively-story-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: 0; background: #fffaf0; }
.diary-page .lively-story-copy, .proactive-page .lively-story-cover > .lively-story-copy { align-self: center; padding: 30px; }
.diary-page .lively-story-cover h1, .proactive-page .lively-story-cover h1 { font-size: clamp(26px, 3.2vw, 35px); }
.lively-scene-whisper { display: block; margin-top: 16px; padding-left: 10px; border-left: 3px solid #edc676; color: #6a654e; font-size: 11px; line-height: 1.8; }
.diary-page .lively-story-art, .proactive-page .lively-story-cover > .lively-story-art { display: flex; flex-direction: column; justify-content: center; width: auto; min-width: 0; padding: 0; border-left: 3px solid var(--comic-ink); background: #f8eedc; }
.diary-page .lively-story-art img, .proactive-page .lively-story-art img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; }
.diary-page .lively-story-art > span, .proactive-page .lively-letter-caption { position: static; align-self: flex-end; display: block; margin: 9px 13px 12px; padding: 4px 10px; border: 1px solid var(--comic-ink); border-radius: 2px; background: #fff5d3; color: var(--comic-ink); font-size: 10px; font-weight: 750; transform: rotate(-2deg); }
@media (max-width: 959px) and (min-width: 720px) {
  .lively-home .character-home-cover { grid-template-columns: minmax(0, 1fr) 205px; }
  .lively-home .home-main-panel { grid-template-columns: 1fr; }
  .lively-home .home-main-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 8px 12px; padding: 19px; }
  .lively-home .home-main-copy h1 { grid-row: 2 / 4; font-size: 38px; margin: 0; }
  .lively-home .home-main-copy .character-eyebrow { grid-column: 1 / -1; margin: 0; }
  .lively-home .home-main-copy .btn { grid-column: 1 / -1; margin-top: 4px; }
  .lively-home .home-hello-bubble { display: none; }
  .lively-home .home-scene-figure { border-left: 0; border-top: 2px solid var(--comic-ink); }
  .lively-login .character-cover-heading h1 { font-size: 30px; }
  .lively-login .character-cover-burst { display: none; }
  .lively-login-scene-note { padding: 12px; gap: 10px; }
  .lively-login .character-cover-scene .character-dialogue { font-size: 10px; padding: 8px 10px; }
  .lively-chapter-card > div { padding: 14px; }
  .lively-chapter-card h3 { font-size: 16px; }
}
@media (max-width: 719px) {
  .lively-home .home-main-panel { grid-template-columns: 1fr; }
  .lively-home .home-main-copy { padding: 20px; }
  .lively-home .home-main-copy h1 { font-size: 35px; margin-bottom: 10px; }
  .lively-home .home-main-copy h1 br { display: none; }
  .lively-home .home-main-copy .character-eyebrow { font-size: 9px; margin-bottom: 7px; }
  .lively-home .home-main-copy > p:not(.character-eyebrow) { font-size: 11px; margin-bottom: 0; }
  .lively-home .home-main-copy > p br { display: none; }
  .lively-home .home-main-copy .btn { margin-top: 14px; font-size: 11px; padding: 10px 13px; }
  .lively-home .home-hello-bubble { position: absolute; right: 18px; top: 32px; margin: 0; padding: 6px 10px; font-size: 9px; }
  .lively-home .home-scene-figure { border-left: 0; border-top: 2px solid var(--comic-ink); }
  .lively-home .home-panel-caption { padding: 8px 12px; font-size: 8px; }
  .lively-chapters { margin: 25px 0; }
  .lively-chapters-heading { display: block; margin-bottom: 14px; }
  .lively-chapters-heading h2 { font-size: 23px; }
  .lively-chapters-heading > p { margin-top: 7px; font-size: 10px; }
  .lively-chapter-grid { grid-template-columns: 1fr; gap: 13px; }
  .lively-chapter-card { flex-direction: row; align-items: stretch; }
  .lively-chapter-art { flex: 0 0 36%; display: flex; align-items: center; border-bottom: 0; border-right: 2px solid var(--comic-ink); }
  .lively-chapter-art > img { height: auto; max-height: none; }
  .lively-chapter-card > div { padding: 13px; }
  .lively-chapter-number { font-size: 8px; letter-spacing: .3px; }
  .lively-chapter-card h3 { margin: 5px 0; font-size: 15px; }
  .lively-chapter-card p { margin-bottom: 8px; font-size: 9px; }
  .lively-chapter-card p br { display: none; }
  .lively-chapter-link { font-size: 10px; }
  .lively-chapters-note { font-size: 9px; }
  .lively-login .character-cover-heading { padding: 19px 20px 17px; }
  .lively-login .character-cover-heading h1 { font-size: 30px; }
  .lively-login .character-cover-burst { top: 31px; right: 17px; width: 54px; height: 54px; font-size: 10px; }
  .lively-login-scene-note { padding: 11px 13px 15px; gap: 10px; }
  .lively-login .character-scene-caption { font-size: 9px; }
  .lively-login .character-cover-scene .character-dialogue { font-size: 11px; padding: 7px 13px; }
  .diary-page .lively-story-cover, .proactive-page .lively-story-cover { grid-template-columns: 1fr; }
  .diary-page .lively-story-copy, .proactive-page .lively-story-cover > .lively-story-copy { padding: 23px 20px; }
  .diary-page .lively-story-cover h1, .proactive-page .lively-story-cover h1 { font-size: 28px; margin-top: 13px; }
  .diary-page .lively-story-cover p, .proactive-page .lively-story-cover p { font-size: 11px; }
  .diary-page .lively-story-cover .chapter-label, .proactive-page .lively-story-cover .chapter-label { font-size: 9px; }
  .lively-scene-whisper { margin-top: 13px; font-size: 10px; }
  .diary-page .lively-story-art, .proactive-page .lively-story-cover > .lively-story-art { border-left: 0; border-top: 3px solid var(--comic-ink); }
  .diary-page .lively-story-art > span, .proactive-page .lively-letter-caption { margin: 8px 12px 10px; font-size: 9px; }
}
@media (max-width: 359px) {
  .lively-home .home-main-copy { padding: 17px 15px; }
  .lively-home .home-main-copy h1 { font-size: 30px; }
  .lively-home .home-hello-bubble { right: 11px; top: 27px; font-size: 8px; padding: 6px 8px; }
  .lively-login .character-cover-heading { padding: 18px 16px; }
  .lively-login .character-cover-heading h1 { font-size: 26px; }
  .lively-login .character-cover-burst { right: 11px; top: 29px; width: 46px; height: 46px; font-size: 9px; }
  .lively-login .character-cover-scene .character-dialogue { font-size: 10px; padding: 7px 10px; }
  .lively-chapter-card > div { padding: 11px; }
  .lively-chapter-card h3 { font-size: 14px; }
  .diary-page .lively-story-copy, .proactive-page .lively-story-cover > .lively-story-copy { padding: 20px 16px; }
  .diary-page .lively-story-cover h1, .proactive-page .lively-story-cover h1 { font-size: 25px; }
  .diary-page .lively-story-cover .chapter-label, .proactive-page .lively-story-cover .chapter-label { font-size: 8px; }
}
