/* Local prototype only. Everything is explicitly scoped; no app styles imported. */
:where(.tlr-ds).tlr-prototype {margin:0;background:var(--tlr-ivory);--p-line:#d8c9ba;--p-gold:#8a6937;--p-title:var(--tlr-font-title)}
:where(.tlr-ds) .p-symbols {position:absolute;width:0;height:0;overflow:hidden}
:where(.tlr-ds) [hidden] {display:none!important}
:where(.tlr-ds) .p-proofbar {display:flex;justify-content:space-between;gap:1rem;background:var(--tlr-midnight);color:var(--tlr-ivory);font-size:10px;letter-spacing:.12em;padding:.45rem max(1.25rem,calc((100vw - 1200px)/2));}
:where(.tlr-ds) .p-proofbar a {color:inherit;letter-spacing:0;white-space:nowrap;text-underline-offset:3px}
:where(.tlr-ds) .p-header {background:var(--tlr-ivory);border-bottom:1px solid var(--p-line)}
:where(.tlr-ds) .p-header__inner {max-width:1240px;padding:1.2rem 1.5rem;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:2rem}
:where(.tlr-ds) .p-brand {display:flex;align-items:center;gap:.5rem;white-space:nowrap;font-family:var(--p-title);font-size:1.8rem;font-weight:700;color:var(--tlr-brown);border:0;background:none;padding:0;cursor:pointer}
:where(.tlr-ds) .p-brand span {margin-left:-.4rem;color:var(--tlr-plum)}
:where(.tlr-ds) .p-brand img {object-fit:contain}
:where(.tlr-ds) .p-desktop-nav {display:flex;gap:1.75rem;align-items:center}
:where(.tlr-ds) .p-desktop-nav button {border:0;border-bottom:1px solid transparent;padding:.75rem 0;background:none;font-size:.8rem;color:var(--tlr-text-muted);cursor:pointer}
:where(.tlr-ds) .p-desktop-nav [aria-current=page] {border-color:var(--tlr-burgundy);color:var(--tlr-burgundy)}
:where(.tlr-ds) .p-header__actions {display:flex;align-items:center;gap:1rem}
:where(.tlr-ds) .p-icon-button {border:0;background:none;color:inherit;display:grid;place-items:center;min-width:44px;min-height:44px;cursor:pointer}
:where(.tlr-ds) .p-account {display:flex;align-items:center;gap:.5rem;border:0;background:none;font-size:.8rem;color:var(--tlr-brown);cursor:pointer;min-height:44px}
:where(.tlr-ds) .p-avatar {display:inline-grid;place-items:center;flex:none;width:72px;height:72px;border-radius:50%;background:var(--tlr-sand);border:1px solid var(--p-gold);outline:3px solid #e9dfd355;outline-offset:3px;color:var(--tlr-burgundy);font-family:var(--p-title);font-size:2.5rem}
:where(.tlr-ds) .p-avatar--small {width:34px;height:34px;font-size:1.25rem;outline:0}
:where(.tlr-ds) .p-wrap {width:min(1200px,calc(100% - 3rem));margin-inline:auto}
:where(.tlr-ds) .p-kicker {display:block;color:var(--p-gold);font-size:10px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;line-height:1.6}
:where(.tlr-ds) .p-hero {position:relative;isolation:isolate;margin:1.5rem auto 0;width:min(1240px,calc(100% - 3rem));min-height:450px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;padding:3.5rem clamp(2rem,5vw,4.5rem);background:var(--tlr-parchment);overflow:hidden}
:where(.tlr-ds) .p-atmosphere {position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
:where(.tlr-ds) .p-atmosphere img {display:block;width:100%;height:100%;object-fit:cover;object-position:center}
:where(.tlr-ds) .p-hero::after {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f8f3ecd9,#f8f3ec50 75%)}
:where(.tlr-ds) .p-hero h1 {font-size:clamp(3rem,5vw,4.8rem);font-weight:500;line-height:1;letter-spacing:-.035em;margin:1.25rem 0}
:where(.tlr-ds) .p-hero h1 em {font-weight:500;color:var(--tlr-burgundy)}
:where(.tlr-ds) .p-hero__copy {max-width:34rem}
:where(.tlr-ds) .p-hero__copy>p {max-width:27rem;color:#56454d;line-height:1.7;font-size:.95rem}
:where(.tlr-ds) .p-actions {display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;margin-top:1.5rem}
:where(.tlr-ds) .p-button {display:inline-flex;align-items:center;justify-content:center;gap:.7rem;min-height:46px;border:1px solid var(--tlr-burgundy);background:var(--tlr-burgundy);color:var(--tlr-ivory);border-radius:4px;padding:.8rem 1.25rem;font-size:.8rem;font-weight:500;line-height:1.4;cursor:pointer;text-decoration:none;transition:background var(--tlr-motion-fast),color var(--tlr-motion-fast)}
:where(.tlr-ds) .p-button--outline {background:transparent;color:var(--tlr-burgundy);border-color:#866a75}
:where(.tlr-ds) .p-button--light {background:var(--tlr-ivory);border-color:var(--tlr-ivory);color:var(--tlr-midnight)}
:where(.tlr-ds) .p-link {display:inline-flex;align-items:center;gap:.5rem;min-height:44px;border:0;background:none;color:var(--tlr-burgundy);font-size:.8rem;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:5px}
:where(.tlr-ds) .p-hero-books {display:flex;align-items:center;justify-content:center;gap:1rem;padding:1rem 0 0 2rem}
:where(.tlr-ds) .p-hero-book {padding:0;border:0;background:none;cursor:pointer;width:clamp(90px,10vw,145px);transition:transform var(--tlr-motion-normal);}
:where(.tlr-ds) .p-hero-book img {display:block;width:100%;height:auto;box-shadow:5px 12px 20px #493b432b}
:where(.tlr-ds) .p-hero-book:nth-child(2) {transform:translateY(-22px)}
:where(.tlr-ds) .p-quick {display:grid;grid-template-columns:repeat(4,1fr);padding:1.75rem 0;border-bottom:1px solid var(--p-line);gap:0}
:where(.tlr-ds) .p-quick button {display:flex;align-items:center;justify-content:center;gap:.8rem;border:0;border-right:1px solid var(--p-line);padding:.5rem 1rem;background:none;color:var(--tlr-brown);min-height:60px;text-align:left;cursor:pointer}
:where(.tlr-ds) .p-quick button:last-child {border-right:0}
:where(.tlr-ds) .p-quick strong {display:block;font-size:.82rem;font-weight:500}
:where(.tlr-ds) .p-quick small {display:block;font-size:.7rem;color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-quick svg {width:26px;height:26px;color:var(--tlr-burgundy)}
:where(.tlr-ds) .p-section {padding-block:3rem}
:where(.tlr-ds) .p-section-head {display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
:where(.tlr-ds) .p-section-head h2 {font-size:clamp(2rem,3vw,2.75rem);font-weight:500;margin-top:.35rem}
:where(.tlr-ds) .p-section-head p {font-size:.85rem;color:var(--tlr-text-muted);margin-top:.5rem}
:where(.tlr-ds) .p-book-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.75rem}
:where(.tlr-ds) .p-book {position:relative;min-width:0;display:flex;flex-direction:column}
:where(.tlr-ds) .p-book__cover {border:0;padding:1.5rem;cursor:pointer;background:#eee5da;display:flex;align-items:center;justify-content:center;width:100%;height:255px;position:relative}
:where(.tlr-ds) .p-book__cover img {max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain;box-shadow:3px 5px 10px #493b4326;transition:transform var(--tlr-motion-normal)}
:where(.tlr-ds) .p-book__favorite {position:absolute;top:.6rem;right:.6rem;width:36px;height:36px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#fffdf9ed;color:var(--tlr-burgundy);display:grid;place-items:center;cursor:pointer}
:where(.tlr-ds) .p-book__favorite[aria-pressed=true] svg {fill:var(--tlr-burgundy)}
:where(.tlr-ds) .p-book__body {padding:.9rem 0 0}
:where(.tlr-ds) .p-book__genre {font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--p-gold)}
:where(.tlr-ds) .p-book__title {font-family:var(--p-title);font-size:1.5rem;line-height:1.12;font-weight:600;border:0;background:none;text-align:left;padding:0;color:var(--tlr-brown);margin:.45rem 0 .35rem;cursor:pointer;overflow-wrap:anywhere}
:where(.tlr-ds) .p-book__author {font-size:.78rem;color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-ribbon {display:flex;gap:1rem;border-top:1px solid var(--p-line);border-bottom:1px solid var(--p-line);padding:1.5rem 0;margin-top:1.75rem;font-size:.8rem;color:var(--tlr-text-muted);align-items:center}
:where(.tlr-ds) .p-recommend {position:relative;isolation:isolate;overflow:hidden;background:var(--tlr-midnight);color:var(--tlr-ivory);padding:3rem;display:flex;justify-content:space-between;align-items:center;gap:2rem}
:where(.tlr-ds) .p-recommend::after {position:absolute;content:'';inset:0;z-index:-1;background:#202b407d}
:where(.tlr-ds) .p-recommend h2 {font-size:clamp(2.2rem,3.5vw,3.3rem);font-weight:500;max-width:38rem}
:where(.tlr-ds) .p-recommend .p-kicker {color:#e4cc9f;margin-bottom:1rem}
:where(.tlr-ds) .p-recommend p {font-size:.85rem;color:#eee4d9;max-width:32rem;margin-top:1rem}
:where(.tlr-ds) .p-recommend .p-button {flex:none}
:where(.tlr-ds) .p-editorial-grid {display:grid;grid-template-columns:1.2fr 1fr;gap:1.75rem}
:where(.tlr-ds) .p-editorial {position:relative;isolation:isolate;overflow:hidden;background:var(--tlr-burgundy);color:var(--tlr-ivory);padding:2.5rem;min-height:260px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
:where(.tlr-ds) .p-editorial::after {content:'';position:absolute;inset:0;z-index:-1;background:#351c2980}
:where(.tlr-ds) .p-editorial .p-kicker {color:#e4cc9f}
:where(.tlr-ds) .p-editorial h3 {font-size:2.35rem;font-weight:500;margin:.75rem 0}
:where(.tlr-ds) .p-editorial p {font-size:.85rem;max-width:30rem}
:where(.tlr-ds) .p-editorial--egg {background:var(--tlr-parchment);color:var(--tlr-brown);padding-right:10rem}
:where(.tlr-ds) .p-editorial--egg::after {background:#f8f3ec99}
:where(.tlr-ds) .p-editorial--egg .p-kicker {color:var(--p-gold)}
:where(.tlr-ds) .p-egg-art {position:absolute;right:.5rem;bottom:.5rem;width:145px;height:190px;object-fit:contain;filter:drop-shadow(0 10px 10px #493b431a)}
:where(.tlr-ds) .p-categories {display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--p-line)}
:where(.tlr-ds) .p-category {display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.5rem 1.25rem;border:0;border-right:1px solid var(--p-line);background:none;color:var(--tlr-brown);font-family:var(--p-title);font-size:1.6rem;cursor:pointer;text-align:left}
:where(.tlr-ds) .p-category:last-child {border-right:0}
:where(.tlr-ds) .p-footer {max-width:1200px;margin:1rem auto 0;padding:2rem 0;border-top:1px solid var(--p-line);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;font-size:.7rem;color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-mobile-nav {display:none}
:where(.tlr-ds) .p-page-title {padding:2.75rem 0 1.75rem}
:where(.tlr-ds) .p-page-title h1 {font-size:clamp(2.5rem,5vw,4rem);font-weight:500;margin:.5rem 0}
:where(.tlr-ds) .p-page-title p {font-size:.9rem;color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-catalog-bar {display:flex;align-items:center;gap:.75rem;margin:0 0 1rem;flex-wrap:wrap}
:where(.tlr-ds) .p-search {display:flex;align-items:center;gap:.75rem;flex:1;min-width:0;border-bottom:1px solid var(--tlr-border-strong);padding:.5rem 0;max-width:36rem}
:where(.tlr-ds) .p-search input {font:inherit;border:0;background:transparent;min-width:0;width:100%;padding:.5rem 0;color:var(--tlr-brown);font-size:1rem}
:where(.tlr-ds) .p-search input::placeholder {color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-search:focus-within {outline:2px solid var(--tlr-focus);outline-offset:4px}
:where(.tlr-ds) .p-search input:focus-visible {outline:0}
:where(.tlr-ds) .p-sort {display:flex;align-items:center;gap:.5rem;font-size:.75rem;margin-left:auto}
:where(.tlr-ds) .p-sort select {min-height:44px;min-width:0;border:0;border-bottom:1px solid var(--tlr-border-strong);background:transparent;color:inherit;padding:.5rem;font:inherit}
:where(.tlr-ds) .p-filter-chips {display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0 1.5rem}
:where(.tlr-ds) .p-chip {border:1px solid var(--p-line);border-radius:2px;padding:.5rem .85rem;min-height:44px;background:none;font:inherit;font-size:.75rem;cursor:pointer;color:var(--tlr-brown)}
:where(.tlr-ds) .p-chip[aria-pressed=true] {background:var(--tlr-burgundy);border-color:var(--tlr-burgundy);color:var(--tlr-ivory)}
:where(.tlr-ds) .p-empty {padding:3rem 1rem;text-align:center;border-block:1px solid var(--p-line);color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-corner-head {position:relative;isolation:isolate;overflow:hidden;padding:2.5rem;background:var(--tlr-parchment);display:flex;align-items:center;gap:1.5rem}
:where(.tlr-ds) .p-corner-head::after {position:absolute;content:'';inset:0;background:#f8f3ecc4;z-index:-1}
:where(.tlr-ds) .p-corner-head h1 {font-size:3rem;font-weight:500;margin:.5rem 0}
:where(.tlr-ds) .p-corner-tools {display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem}
:where(.tlr-ds) .p-corner-tools button {border:0;border-bottom:1px solid #a58f9d;background:none;color:var(--tlr-burgundy);padding:.35rem 0;font-size:.75rem;min-height:44px;cursor:pointer}
:where(.tlr-ds) .p-rank {padding:1.5rem 2rem;display:flex;align-items:center;gap:1.25rem;background:#eee4d6;margin-top:1.5rem;border-left:2px solid var(--tlr-champagne)}
:where(.tlr-ds) .p-rank-mark {display:grid;place-items:center;width:56px;height:56px;border:1px solid var(--p-gold);border-radius:50%;background:var(--tlr-ivory);color:var(--p-gold);flex:none}
:where(.tlr-ds) .p-rank__body {flex:1;min-width:0}
:where(.tlr-ds) .p-rank h3 {font-size:1.5rem;font-weight:500}
:where(.tlr-ds) .p-rank small {font-size:.75rem;color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-rank progress {margin-top:.75rem}
:where(.tlr-ds) .p-tabs {display:flex;gap:1.5rem;flex-wrap:wrap;border-bottom:1px solid var(--p-line);margin:2rem 0 1.5rem}
:where(.tlr-ds) .p-tabs button {padding:.75rem 0;border:0;border-bottom:2px solid transparent;background:none;color:var(--tlr-text-muted);font:inherit;font-size:.8rem;min-height:44px;cursor:pointer}
:where(.tlr-ds) .p-tabs [aria-pressed=true] {color:var(--tlr-burgundy);border-color:var(--tlr-burgundy)}
:where(.tlr-ds) .p-diary {display:grid;grid-template-columns:70px 1fr auto;gap:1.5rem;align-items:center;padding:1.25rem 0;border-bottom:1px solid var(--p-line)}
:where(.tlr-ds) .p-diary img {width:70px;height:100px;object-fit:contain}
:where(.tlr-ds) .p-diary h3 {font-size:1.6rem}
:where(.tlr-ds) .p-meta {font-size:.75rem;color:var(--tlr-text-muted);margin-top:.25rem}
:where(.tlr-ds) .p-stars {color:var(--p-gold);letter-spacing:.12em;font-size:.9rem}
:where(.tlr-ds) .p-review {padding:1.5rem 0;border-bottom:1px solid var(--p-line)}
:where(.tlr-ds) .p-review-author {display:flex;align-items:center;gap:.8rem;margin-bottom:.85rem}
:where(.tlr-ds) .p-review-author button {border:0;background:none;padding:0;text-align:left;font-size:.85rem;color:inherit;cursor:pointer;font-weight:600}
:where(.tlr-ds) .p-review p {font-size:.9rem;line-height:1.8}
:where(.tlr-ds) .p-topic {padding:1.5rem;border:1px solid var(--p-line);margin-bottom:1rem;background:var(--tlr-surface)}
:where(.tlr-ds) .p-topic h3 {font-size:1.8rem;margin:.5rem 0 .75rem}
:where(.tlr-ds) .p-topic-footer {display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-top:1rem;font-size:.75rem;color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-topic-footer button {border:0;background:none;color:var(--tlr-burgundy);min-height:44px;cursor:pointer;font:inherit}
:where(.tlr-ds) .p-library-stage {padding:2rem;background:var(--tlr-parchment);border-top:2px solid #bba582;margin:1rem 0 2rem}
:where(.tlr-ds) .p-shelf {display:flex;gap:1.5rem;align-items:end;justify-content:center;padding:1rem 1rem 0;border-bottom:8px solid #ac9278;box-shadow:0 9px 10px -8px #493b4355;margin-bottom:1.75rem;min-height:185px}
:where(.tlr-ds) .p-shelf button {border:0;padding:0;background:none;max-width:120px;cursor:pointer}
:where(.tlr-ds) .p-shelf img {width:auto;max-width:100%;height:150px;object-fit:contain;display:block}
:where(.tlr-ds) .p-challenge {padding:1.5rem 0;max-width:38rem}
:where(.tlr-ds) .p-challenge strong {font-family:var(--p-title);font-size:3rem;font-weight:500}
:where(.tlr-ds) .p-challenge progress {margin:1rem 0}
:where(.tlr-ds).p-dialog {width:min(760px,calc(100% - 2rem));border-radius:12px;background:var(--tlr-ivory)}
:where(.tlr-ds) .p-dialog .tlr-dialog__head {background:var(--tlr-ivory);border-bottom-color:var(--p-line,#d8c9ba)}
:where(.tlr-ds) .p-dialog h2 {font-size:2rem;font-weight:500}
:where(.tlr-ds) .p-detail {display:grid;grid-template-columns:150px minmax(0,1fr);gap:1.5rem;margin:.5rem 0 1.5rem;align-items:start}
:where(.tlr-ds) .p-detail>img {width:100%;height:auto;max-height:250px;object-fit:contain;object-position:top}
:where(.tlr-ds) .p-detail h3 {font-size:2.25rem;line-height:1.05;margin:.5rem 0}
:where(.tlr-ds) .p-detail .p-stars {margin:.75rem 0}
:where(.tlr-ds) .p-detail-plot {padding-block:1rem;line-height:1.8;font-size:.9rem}
:where(.tlr-ds) .p-detail-grid {display:grid;grid-template-columns:1fr 1fr;gap:1rem;border-block:1px solid var(--p-line,#d8c9ba);padding:1rem 0}
:where(.tlr-ds) .p-detail-grid dt {font-size:.7rem;color:var(--tlr-text-muted)}
:where(.tlr-ds) .p-detail-grid dd {margin:0;font-size:.85rem}
:where(.tlr-ds) .p-profile-card {text-align:center;padding:1.5rem 0}
:where(.tlr-ds) .p-profile-card .p-avatar {margin-bottom:1.5rem}
:where(.tlr-ds) .p-profile-card .p-actions {justify-content:center}
:where(.tlr-ds) .p-profile-card h3 {font-size:2.5rem}
:where(.tlr-ds) .p-toast {position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);background:var(--tlr-midnight);color:var(--tlr-ivory);padding:.8rem 1.25rem;font-size:.8rem;width:max-content;max-width:calc(100% - 2rem);z-index:30;pointer-events:none}
:where(.tlr-ds) .p-toast:empty {display:none}
:where(.tlr-ds).p-modal-open {overflow:hidden;overscroll-behavior:none}
:where(.tlr-ds) .p-mobile-only {display:none}
:where(.tlr-ds) .p-button:disabled {background:var(--tlr-disabled-surface);border-color:var(--tlr-border);color:var(--tlr-disabled-text);cursor:not-allowed}
:where(.tlr-ds) .p-button[aria-busy=true] {cursor:progress}
:where(.tlr-ds) .p-button[aria-pressed=true] {background:var(--tlr-midnight);border-color:var(--tlr-midnight);color:var(--tlr-ivory)}
:where(.tlr-ds) .p-book-grid:has(>.p-book:nth-child(2):last-child) {grid-template-columns:repeat(2,minmax(0,1fr))}
:where(.tlr-ds) .p-book-grid:has(>.p-book:nth-child(2):last-child) .p-book {display:grid;grid-template-columns:minmax(100px,42%) 1fr;align-items:center;gap:1.5rem;border-bottom:1px solid var(--p-line);padding-bottom:1.5rem}
:where(.tlr-ds) .p-book-grid:has(>.p-book:nth-child(2):last-child) .p-book__body {padding:0}
:where(.tlr-ds) .p-recommend-choices {border-block:1px solid var(--p-line,#d8c9ba);margin-top:1rem;max-height:320px;overflow:auto;overscroll-behavior:none}
:where(.tlr-ds) .p-recommend-choice {width:100%;display:flex;align-items:center;gap:1rem;min-height:80px;border:0;border-bottom:1px solid #d8c9ba70;background:transparent;color:inherit;padding:.75rem .5rem;text-align:left;font:inherit;cursor:pointer}
:where(.tlr-ds) .p-recommend-choice:last-child {border-bottom:0}
:where(.tlr-ds) .p-recommend-choice img {width:35px;height:55px;object-fit:contain;flex:none}
:where(.tlr-ds) .p-recommend-choice span {flex:1;min-width:0}
:where(.tlr-ds) .p-recommend-choice strong {font-family:var(--tlr-font-title);font-size:1.3rem;font-weight:600;line-height:1.2;display:block}
:where(.tlr-ds) .p-recommend-choice small {font-size:.75rem}
:where(.tlr-ds) .p-recommend-intro h3 {font-size:2.4rem;font-weight:500;margin:.5rem 0 1rem}
:where(.tlr-ds) .p-recommend-intro {margin-bottom:1.5rem}
:where(.tlr-ds) .p-suggest-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
:where(.tlr-ds) .p-suggest-grid .p-book__cover {height:180px;padding:1.25rem .6rem}
:where(.tlr-ds) .p-suggest-grid .p-book__title {font-size:1.25rem}
:where(.tlr-ds) .p-badge-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
:where(.tlr-ds) .p-badge {text-align:center;padding:1.5rem 1rem;background:#e5e0dd;color:#70666b}
:where(.tlr-ds) .p-badge>span {display:inline-grid;place-items:center;width:48px;height:48px;border:1px solid #a89a9c;border-radius:50%;margin-bottom:.8rem}
:where(.tlr-ds) .p-badge h3 {font-size:1.4rem}
:where(.tlr-ds) .p-badge p,:where(.tlr-ds) .p-badge small {font-size:.75rem;margin-top:.5rem}
:where(.tlr-ds) .p-badge--earned {background:var(--tlr-parchment);color:var(--tlr-burgundy);border-bottom:2px solid var(--tlr-champagne)}
:where(.tlr-ds) .p-egg-demo {text-align:center}
:where(.tlr-ds) .p-egg-demo>img {width:150px;height:180px;object-fit:contain;display:block;margin:auto}
:where(.tlr-ds) .p-egg-demo h3 {font-size:2.25rem;margin:1rem 0}
:where(.tlr-ds) .p-egg-demo p {font-size:.85rem;max-width:28rem;margin:0 auto 1.5rem}
:where(.tlr-ds).p-dialog--magic {background:linear-gradient(#202b40c9,#202b40ed),url('assets/backgrounds/desktop/03-midnight-celestial.jpg') center / cover;color:var(--tlr-ivory)}
:where(.tlr-ds) .p-dialog--magic .p-atmosphere {display:none}
:where(.tlr-ds) .p-dialog--magic .tlr-dialog__head {background:transparent;border-bottom-color:#d8c9ba55}
:where(.tlr-ds) .p-dialog--magic :where(.p-kicker,.p-book__genre) {color:#e4cc9f}
:where(.tlr-ds) .p-dialog--magic :where(.p-meta,.p-book__author,.p-book__title) {color:var(--tlr-ivory)}
:where(.tlr-ds) .p-dialog--magic .p-book__cover {background:#f8f3ec}
@media (max-width:767px) {
 :where(.tlr-ds) .p-book-grid:has(>.p-book:nth-child(2):last-child) .p-book {display:flex;gap:0;border:0;padding-bottom:0}
 :where(.tlr-ds) .p-book-grid:has(>.p-book:nth-child(2):last-child) .p-book__body {padding-top:.9rem}
 :where(.tlr-ds) .p-suggest-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
 :where(.tlr-ds) .p-suggest-grid .p-book__cover {height:140px;padding:1rem}
 :where(.tlr-ds) .p-suggest-grid .p-book__title {font-size:1.15rem}
 :where(.tlr-ds).p-dialog--magic {background-image:linear-gradient(#202b40c9,#202b40ed),url('assets/backgrounds/mobile/03-midnight-celestial.jpg')}
}
@media(hover:hover) {
 :where(.tlr-ds) .p-button:hover {background:#412632;color:var(--tlr-ivory)}
 :where(.tlr-ds) .p-button--light:hover {background:var(--tlr-sand);color:var(--tlr-midnight)}
 :where(.tlr-ds) .p-book__cover:hover img {transform:translateY(-4px)}
 :where(.tlr-ds) .p-category:hover {background:var(--tlr-sand)}
 :where(.tlr-ds) .p-quick button:hover {background:var(--tlr-surface-soft)}
}
@media(max-width:1000px) {
 :where(.tlr-ds) .p-desktop-nav {gap:1rem}
 :where(.tlr-ds) .p-header__inner {gap:1rem}
 :where(.tlr-ds) .p-account>span:last-child {display:none}
 :where(.tlr-ds) .p-book-grid {gap:1.2rem}
}
@media(max-width:767px) {
 :where(.tlr-ds).tlr-prototype {padding-bottom:calc(72px + env(safe-area-inset-bottom))}
 :where(.tlr-ds) .p-proofbar {font-size:8px;padding:.4rem 1rem;letter-spacing:.07em}
 :where(.tlr-ds) .p-header__inner {padding:.85rem 1rem}
 :where(.tlr-ds) .p-brand {font-size:1.5rem}
 :where(.tlr-ds) .p-brand img {width:28px;height:28px}
 :where(.tlr-ds) .p-desktop-nav {display:none}
 :where(.tlr-ds) .p-header__actions {gap:.3rem}
 :where(.tlr-ds) .p-wrap {width:calc(100% - 2rem)}
 :where(.tlr-ds) .p-hero {width:100%;margin:0;min-height:0;padding:2.5rem 1.5rem 2rem;grid-template-columns:1fr;gap:2.25rem;background:#e9dbcf}
 :where(.tlr-ds) .p-hero::after {background:linear-gradient(180deg,#f8f3ec70,#efe5d8d9)}
 :where(.tlr-ds) .p-hero h1 {font-size:3.25rem;max-width:21rem}
 :where(.tlr-ds) .p-hero__copy>p {font-size:.85rem;max-width:23rem}
 :where(.tlr-ds) .p-hero .p-atmosphere img {object-position:top center}
 :where(.tlr-ds) .p-hero-books {padding:0;gap:1rem;justify-content:flex-start}
 :where(.tlr-ds) .p-hero-book {width:calc((100% - 2rem)/3);max-width:95px}
 :where(.tlr-ds) .p-hero-book:nth-child(2) {transform:translateY(-10px)}
 :where(.tlr-ds) .p-quick {padding:1.1rem 0}
 :where(.tlr-ds) .p-quick button {flex-direction:column;justify-content:flex-start;text-align:center;gap:.5rem;padding:.4rem;min-height:80px}
 :where(.tlr-ds) .p-quick strong {font-size:.65rem;line-height:1.4}
 :where(.tlr-ds) .p-quick small {display:none}
 :where(.tlr-ds) .p-quick svg {width:24px;height:24px}
 :where(.tlr-ds) .p-section {padding-block:2rem}
 :where(.tlr-ds) .p-section-head {align-items:start}
 :where(.tlr-ds) .p-section-head h2 {font-size:2.1rem}
 :where(.tlr-ds) .p-section-head .p-link {font-size:.7rem;flex:none;margin-top:.25rem}
 :where(.tlr-ds) .p-book-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.75rem 1rem}
 :where(.tlr-ds) .p-book__cover {height:210px;padding:1.4rem 1rem}
 :where(.tlr-ds) .p-book__title {font-size:1.35rem}
 :where(.tlr-ds) .p-book__genre {font-size:8px}
 :where(.tlr-ds) .p-book__author {font-size:.75rem}
 :where(.tlr-ds) .p-recommend {padding:2rem 1.5rem;display:block}
 :where(.tlr-ds) .p-recommend h2 {font-size:2.5rem}
 :where(.tlr-ds) .p-recommend .p-button {margin-top:1.5rem}
 :where(.tlr-ds) .p-editorial-grid {grid-template-columns:1fr;gap:1.5rem}
 :where(.tlr-ds) .p-editorial {padding:2rem 1.5rem;min-height:245px}
 :where(.tlr-ds) .p-editorial--egg {padding-right:8rem}
 :where(.tlr-ds) .p-editorial h3 {font-size:2rem}
 :where(.tlr-ds) .p-egg-art {width:120px;height:170px;right:0}
 :where(.tlr-ds) .p-categories {grid-template-columns:1fr 1fr}
 :where(.tlr-ds) .p-category {font-size:1.45rem;padding:1rem .5rem}
 :where(.tlr-ds) .p-category:nth-child(2) {border-right:0}
 :where(.tlr-ds) .p-category:nth-child(-n+2) {border-bottom:1px solid var(--p-line)}
 :where(.tlr-ds) .p-footer {margin:0 1rem;padding:1.5rem 0;display:flex;align-items:start;flex-direction:column;gap:.5rem}
 :where(.tlr-ds) .p-mobile-nav {position:fixed;bottom:0;left:0;right:0;z-index:8;display:grid;grid-template-columns:repeat(5,1fr);background:var(--tlr-ivory);border-top:1px solid var(--p-line);padding:.4rem .3rem max(.5rem,env(safe-area-inset-bottom));min-height:68px}
 :where(.tlr-ds) .p-mobile-nav button {border:0;background:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.25rem;color:var(--tlr-text-muted);font-size:9px;min-height:48px;padding:.25rem 0;cursor:pointer}
 :where(.tlr-ds) .p-mobile-nav [aria-current=page] {color:var(--tlr-burgundy);background:#e9dfd380;border-radius:4px}
 :where(.tlr-ds) .p-toast {bottom:calc(85px + env(safe-area-inset-bottom))}
 :where(.tlr-ds) .p-page-title {padding:2rem 0 1.5rem}
 :where(.tlr-ds) .p-catalog-bar {column-gap:.75rem}
 :where(.tlr-ds) .p-catalog-bar .p-search {flex-basis:65%}
 :where(.tlr-ds) .p-catalog-bar .p-sort {margin-left:0;flex-basis:100%}
 :where(.tlr-ds) .p-catalog-bar .p-button {padding:.6rem .75rem;font-size:.75rem}
 :where(.tlr-ds) .p-corner-head {padding:1.5rem;align-items:flex-start;gap:1rem;flex-wrap:wrap}
 :where(.tlr-ds) .p-corner-head h1 {font-size:2rem}
 :where(.tlr-ds) .p-corner-head .p-avatar {width:56px;height:56px;font-size:2rem}
 :where(.tlr-ds) .p-corner-tools {gap:.75rem}
 :where(.tlr-ds) .p-rank {padding:1.25rem 1rem;gap:1rem}
 :where(.tlr-ds) .p-rank .p-link {font-size:0;width:44px;flex:none}
 :where(.tlr-ds) .p-rank-mark {width:44px;height:44px}
 :where(.tlr-ds) .p-tabs {gap:.5rem 1rem;margin-top:1.5rem}
 :where(.tlr-ds) .p-tabs button {font-size:.75rem}
 :where(.tlr-ds) .p-diary {grid-template-columns:54px 1fr;gap:1rem}
 :where(.tlr-ds) .p-diary>button {grid-column:2}
 :where(.tlr-ds) .p-diary img {width:54px;height:85px}
 :where(.tlr-ds) .p-diary h3 {font-size:1.5rem}
 :where(.tlr-ds) .p-library-stage {padding:1rem}
 :where(.tlr-ds) .p-shelf {gap:.75rem;padding-inline:0;min-height:140px}
 :where(.tlr-ds) .p-shelf img {height:115px}
 :where(.tlr-ds) .p-detail {grid-template-columns:100px minmax(0,1fr);gap:1rem}
 :where(.tlr-ds) .p-detail h3 {font-size:1.7rem}
 :where(.tlr-ds) .p-detail .p-actions {grid-column:1/-1;margin-top:0}
 :where(.tlr-ds) .p-topic {padding:1.25rem}
 :where(.tlr-ds) .p-topic h3 {font-size:1.6rem}
 :where(.tlr-ds) .p-mobile-only {display:initial}
}
@media(max-width:360px) {
 :where(.tlr-ds) .p-hero h1 {font-size:2.8rem}
 :where(.tlr-ds) .p-hero {padding-inline:1.25rem}
 :where(.tlr-ds) .p-book__cover {height:180px;padding:1.25rem .75rem}
 :where(.tlr-ds) .p-hero .p-actions {gap:.5rem}
 :where(.tlr-ds) .p-hero .p-button {font-size:.75rem;padding:.7rem 1rem}
 :where(.tlr-ds) .p-detail {grid-template-columns:80px minmax(0,1fr)}
}
