/* Targeted visual revision. Loaded by prototype.html only. */
:where(.tlr-ds) .p-hero-books {position:relative;gap:1.25rem;padding-left:1.5rem}
:where(.tlr-ds) .p-hero-books::after {content:'';position:absolute;bottom:-1.25rem;left:1.5rem;right:0;height:1px;background:#a5885b60}
:where(.tlr-ds) .p-hero-book:first-child {transform:rotate(-4deg) translateY(8px)}
:where(.tlr-ds) .p-hero-book:last-child {transform:rotate(4deg) translateY(8px)}
:where(.tlr-ds) .p-book__visual {position:relative;min-width:0;overflow:hidden;background:var(--tlr-parchment)}
:where(.tlr-ds) .p-book__cover {background:linear-gradient(145deg,#f0e7dc,#e7dbcd);border-bottom:1px solid #c4a36a66}
:where(.tlr-ds) .p-book__cover img {max-height:94%;box-shadow:3px 7px 13px #493b4326}
:where(.tlr-ds) .p-book__folio {position:absolute;bottom:.65rem;left:.7rem;font-family:var(--tlr-font-title);font-size:.8rem;color:#80623c}
:where(.tlr-ds) .p-book__favorite {top:.65rem;right:.65rem;background:var(--tlr-surface);border:1px solid #c9b8ab80}
:where(.tlr-ds) .p-book__body {display:flex;flex-direction:column;align-items:flex-start;padding-top:1rem;min-width:0}
:where(.tlr-ds) .p-book__genre {display:inline-flex;align-items:center;gap:.4rem;color:#795e38;font-size:9px;letter-spacing:.12em}
:where(.tlr-ds) .p-book__genre::before {content:'';display:block;width:12px;height:1px;background:var(--tlr-champagne)}
:where(.tlr-ds) .p-book__discover {display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:44px;width:100%;margin-top:.65rem;padding:.5rem 0;border:0;border-top:1px solid var(--p-line);background:none;font-size:.7rem;color:var(--tlr-burgundy);cursor:pointer}
:where(.tlr-ds) .p-book__discover svg {width:16px;height:16px}
:where(.tlr-ds) #p-catalog-results .p-book-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
:where(.tlr-ds) #p-catalog-results .p-book {background:#fffdf970;padding:1rem 1rem 0;border-bottom:1px solid #b49c79}
:where(.tlr-ds) #p-catalog-results .p-book__cover {height:290px}
:where(.tlr-ds) #p-catalog-results .p-book__title {font-size:1.8rem}
:where(.tlr-ds) #p-catalog-results .p-book__body {padding:.95rem .15rem 0;flex:1;align-items:stretch}
:where(.tlr-ds) #p-catalog-results .p-book__discover {margin-top:auto;min-height:48px}
:where(.tlr-ds) #p-catalog-results .p-book__author {margin-bottom:1rem}
:where(.tlr-ds) #p-catalog-results .p-book-grid:has(>.p-book:nth-child(2):last-child) .p-book {display:flex;gap:0}
:where(.tlr-ds) .p-page-title {position:relative;isolation:isolate}
:where(.tlr-ds) #prototype-main:has(#p-catalog-results) {background:linear-gradient(#f8f3ec,#f2eadf 70%,#f8f3ec)}
:where(.tlr-ds).p-dialog--book {width:min(1000px,calc(100% - 3rem));background:var(--tlr-ivory)}
:where(.tlr-ds) .p-book-sheet {display:grid;grid-template-columns:230px minmax(0,1fr);gap:2.25rem;align-items:start;padding:.5rem}
:where(.tlr-ds) .p-book-sheet__cover {background:var(--tlr-parchment);padding:1.25rem}
:where(.tlr-ds) .p-book-sheet__cover img {display:block;max-height:330px;width:100%;height:auto;object-fit:contain;box-shadow:3px 7px 14px #493b4326}
:where(.tlr-ds) .p-book-sheet__cover p {font-size:.65rem;text-align:center;margin-top:1rem}
:where(.tlr-ds) .p-book-sheet__main {min-width:0}
:where(.tlr-ds) .p-book-sheet__summary h3 {font-size:2.65rem;line-height:1.05;font-weight:500;margin:.45rem 0 .7rem}
:where(.tlr-ds) .p-book-sheet__author {font-size:.9rem;color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-book-sheet__rating {display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin:.75rem 0 1.25rem}
:where(.tlr-ds) .p-book-sheet__rating .p-meta {font-size:.65rem;margin:0}
:where(.tlr-ds) .p-book-sheet__actions {display:flex;flex-wrap:wrap;gap:.6rem;padding-block:.25rem .75rem}
:where(.tlr-ds) .p-book-sheet__actions .p-button {font-size:.73rem;padding:.7rem .9rem;min-height:44px}
:where(.tlr-ds) .p-book-sheet .p-tabs {margin:1rem 0 1.25rem}
:where(.tlr-ds) .p-book-sheet .p-detail-plot {padding-top:.6rem;font-size:.9rem}
:where(.tlr-ds) .p-book-sheet #p-book-panel>h3 {font-size:1.65rem;font-weight:500}
:where(.tlr-ds) .p-corner-overview {display:grid;grid-template-columns:1.15fr 1fr;gap:1.75rem;margin-top:1.75rem;margin-bottom:2rem}
:where(.tlr-ds) .p-corner-overview h2 {font-size:2.3rem;font-weight:500}
:where(.tlr-ds) .p-overview-diary {padding:1rem 1.5rem 1.5rem 0}
:where(.tlr-ds) .p-reading-entry {display:flex;align-items:center;gap:1rem;text-align:left;width:100%;border:0;border-top:1px solid var(--p-line);background:none;color:inherit;padding:1rem 0;cursor:pointer}
:where(.tlr-ds) .p-reading-entry>img {width:48px;height:74px;object-fit:contain}
:where(.tlr-ds) .p-reading-entry>span {flex:1;min-width:0}
:where(.tlr-ds) .p-reading-entry strong {display:block;font-family:var(--tlr-font-title);font-size:1.5rem;line-height:1.15;font-weight:600}
:where(.tlr-ds) .p-reading-entry small {display:block;font-size:.75rem;color:var(--tlr-text-muted);margin-top:.3rem}
:where(.tlr-ds) .p-reading-entry .p-stars {display:block;margin-top:.25rem;font-size:.75rem}
:where(.tlr-ds) .p-overview-challenge,:where(.tlr-ds) .p-overview-library {position:relative;isolation:isolate;overflow:hidden;padding:2rem}
:where(.tlr-ds) .p-overview-challenge {background:var(--tlr-burgundy);color:var(--tlr-ivory)}
:where(.tlr-ds) .p-overview-challenge::after {content:'';position:absolute;inset:0;background:#351c2980;z-index:-1}
:where(.tlr-ds) .p-overview-challenge :where(.p-kicker,.p-link) {color:#f0dcba}
:where(.tlr-ds) .p-overview-challenge h2 {font-size:2.7rem;margin-top:.75rem}
:where(.tlr-ds) .p-challenge-total {display:flex;gap:.75rem;align-items:baseline;margin:.75rem 0 1rem}
:where(.tlr-ds) .p-challenge-total strong {font-family:var(--tlr-font-title);font-size:3.5rem;font-weight:500;line-height:1}
:where(.tlr-ds) .p-challenge-total span {font-size:.8rem;color:#f0dcba}
:where(.tlr-ds) .p-overview-challenge progress {--tlr-action:#c4a36a;--tlr-sand:#eee4d9;max-width:25rem}
:where(.tlr-ds) .p-overview-challenge .p-link {margin-top:.8rem}
:where(.tlr-ds) .p-overview-favorites {padding:1.5rem 1.5rem 1.5rem 0;border-top:1px solid var(--p-line)}
:where(.tlr-ds) .p-favorite-preview {display:flex;gap:1rem;align-items:end;min-height:155px}
:where(.tlr-ds) .p-favorite-preview button {border:0;padding:0;background:none;cursor:pointer;max-width:100px}
:where(.tlr-ds) .p-favorite-preview img {height:150px;max-width:100%;width:auto;object-fit:contain;display:block;box-shadow:3px 5px 10px #493b4326}
:where(.tlr-ds) .p-overview-library {background:var(--tlr-parchment);display:flex;flex-direction:column;align-items:start;justify-content:center}
:where(.tlr-ds) .p-overview-library::after {content:'';position:absolute;inset:0;background:#f8f3ecb8;z-index:-1}
:where(.tlr-ds) .p-overview-library h2 {margin:.75rem 0}
:where(.tlr-ds) .p-overview-library p {font-size:.85rem;max-width:23rem;margin-bottom:1.25rem}
:where(.tlr-ds) .p-dialog--magic .p-book__visual {background:transparent}
:where(.tlr-ds) .p-dialog--magic .p-book__discover {color:var(--tlr-ivory)}
@media(hover:hover) {
 :where(.tlr-ds) .p-book__discover:hover {color:var(--tlr-plum)}
 :where(.tlr-ds) #p-catalog-results .p-book:hover .p-book__cover img {transform:translateY(-3px)}
}
@media(max-width:1000px) {
 :where(.tlr-ds) #p-catalog-results .p-book-grid {gap:1.25rem}
 :where(.tlr-ds) #p-catalog-results .p-book__cover {height:245px}
 :where(.tlr-ds) .p-book-sheet {grid-template-columns:200px minmax(0,1fr);gap:1.5rem}
}
@media(max-width:767px) {
 :where(.tlr-ds) .p-hero-books {padding-left:0;justify-content:center;gap:1.1rem}
 :where(.tlr-ds) .p-hero-books::after {left:0;bottom:-.65rem}
 :where(.tlr-ds) .p-hero-book:first-child {transform:rotate(-3deg) translateY(4px)}
 :where(.tlr-ds) .p-hero-book:last-child {transform:rotate(3deg) translateY(4px)}
 :where(.tlr-ds) #p-catalog-results .p-book-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem .85rem}
 :where(.tlr-ds) #p-catalog-results .p-book {padding:.5rem .5rem 0}
 :where(.tlr-ds) #p-catalog-results .p-book__cover {height:215px;padding:1.5rem .7rem}
 :where(.tlr-ds) #p-catalog-results .p-book__title {font-size:1.4rem}
 :where(.tlr-ds) #p-catalog-results .p-book__author {font-size:.72rem;line-height:1.5}
 :where(.tlr-ds) .p-book__favorite {right:.2rem;top:.2rem;width:44px;height:44px}
 :where(.tlr-ds) .p-book__discover {font-size:.65rem}
 :where(.tlr-ds) .p-book__genre {font-size:8px}
 :where(.tlr-ds).p-dialog--book {width:calc(100% - 1.5rem)}
 :where(.tlr-ds) .p-book-sheet {display:grid;grid-template-columns:100px minmax(0,1fr);gap:1rem;padding:0}
 :where(.tlr-ds) .p-book-sheet__cover {padding:.5rem;grid-column:1;grid-row:1;align-self:start}
 :where(.tlr-ds) .p-book-sheet__cover p {display:none}
 :where(.tlr-ds) .p-book-sheet__main {display:contents}
 :where(.tlr-ds) .p-book-sheet__summary {grid-column:2;grid-row:1;min-width:0;align-self:start}
 :where(.tlr-ds) .p-book-sheet__summary h3 {font-size:1.9rem;margin:.4rem 0 .5rem}
 :where(.tlr-ds) .p-book-sheet__author {font-size:.78rem}
 :where(.tlr-ds) .p-book-sheet__rating {gap:.25rem;margin:.5rem 0 0}
 :where(.tlr-ds) .p-book-sheet__rating .p-meta {font-size:.6rem;line-height:1.4}
 :where(.tlr-ds) .p-book-sheet__actions {grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:.6rem;padding:0}
 :where(.tlr-ds) .p-book-sheet__actions .p-button:first-child {grid-column:1/-1}
 :where(.tlr-ds) .p-book-sheet__actions .p-button {padding:.65rem .5rem}
 :where(.tlr-ds) .p-book-sheet .p-tabs {grid-column:1/-1;margin:.25rem 0 0;justify-content:space-between;gap:.75rem}
 :where(.tlr-ds) #p-book-panel {grid-column:1/-1;min-width:0}
 :where(.tlr-ds) .p-corner-overview {grid-template-columns:1fr;gap:1.25rem;margin-top:.5rem}
 :where(.tlr-ds) .p-corner-head {display:grid;grid-template-columns:56px minmax(0,1fr);gap:.3rem 1rem;align-items:center}
 :where(.tlr-ds) .p-corner-head>div {display:contents}
 :where(.tlr-ds) .p-corner-head>.p-avatar {grid-column:1;grid-row:1/span 2;align-self:start}
 :where(.tlr-ds) .p-corner-head .p-kicker {grid-column:2}
 :where(.tlr-ds) .p-corner-head h1 {grid-column:2;margin:0;font-size:1.9rem}
 :where(.tlr-ds) .p-corner-head p {grid-column:1/-1;margin-top:.75rem}
 :where(.tlr-ds) .p-corner-head .p-corner-tools {grid-column:1/-1;gap:.3rem 1rem;margin-top:.6rem}
 :where(.tlr-ds) .p-overview-diary,:where(.tlr-ds) .p-overview-favorites {padding:1rem 0}
 :where(.tlr-ds) .p-overview-challenge,:where(.tlr-ds) .p-overview-library {padding:1.5rem}
 :where(.tlr-ds) .p-overview-challenge h2 {font-size:2.35rem}
 :where(.tlr-ds) .p-corner-overview .p-section-head {margin-bottom:.75rem}
 :where(.tlr-ds) .p-corner-overview h2 {font-size:2rem}
 :where(.tlr-ds) .p-favorite-preview {min-height:0}
}
@media(max-width:360px) {
 :where(.tlr-ds) #p-catalog-results .p-book__cover {height:180px;padding:1.5rem .5rem}
 :where(.tlr-ds) #p-catalog-results .p-book__title {font-size:1.25rem}
 :where(.tlr-ds) .p-book-sheet {grid-template-columns:82px minmax(0,1fr);gap:.85rem}
 :where(.tlr-ds) .p-book-sheet__summary h3 {font-size:1.65rem}
}
