
:root{
  --ink:#f8efe3;--paper:#140f12;--muted:#c7b6a5;--line:rgba(255,255,255,.14);
  --gold:#d5a75d;--rose:#b86b72;--wine:#4c1821;--deep:#0c090b;--card:#1d1518;
  --blue:#6887a8;--green:#6e8e73;--amber:#b8793d;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:radial-gradient(circle at 20% 0%,#3a1720 0,#140f12 38%,#090708 100%);color:var(--ink);line-height:1.55}a{color:inherit}.site-header{position:sticky;top:0;z-index:20;backdrop-filter:blur(18px);background:rgba(12,9,11,.78);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:14px 5vw}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;letter-spacing:.04em}.mark{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--gold);border-radius:14px;color:var(--gold);background:linear-gradient(145deg,rgba(213,167,93,.2),rgba(255,255,255,.02))}.site-header nav{display:flex;gap:18px;font-size:.92rem;color:var(--muted)}.site-header nav a{text-decoration:none}.site-header nav a:hover{color:var(--gold)}main{overflow:hidden}.hero{min-height:82vh;display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;padding:72px 5vw 54px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.75rem;color:var(--gold);font-weight:800;margin:0 0 10px}.hero h1{font-family:Georgia,serif;font-size:clamp(3.1rem,8vw,7.4rem);line-height:.9;margin:0 0 22px;letter-spacing:-.07em}.hero-text{max-width:680px;font-size:1.15rem;color:#eadbca}.hero-actions,.button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:999px;padding:0 22px;background:linear-gradient(135deg,var(--gold),#f1ce8a);color:#1b1110;text-decoration:none;font-weight:800;border:0;box-shadow:0 18px 48px rgba(213,167,93,.2)}.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line);box-shadow:none}.btn-small{min-height:38px;padding:0 16px;font-size:.9rem;margin-top:auto}.hero-covers{position:relative;min-height:520px}.cover{position:absolute;object-fit:cover;border-radius:22px;box-shadow:0 35px 90px rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.18)}.cover-main{width:54%;right:25%;top:0;transform:rotate(-5deg)}.cover-side{width:48%;right:0;bottom:12%;transform:rotate(8deg)}section{padding:74px 5vw}.section-heading{max-width:780px;margin-bottom:32px}.section-heading.centered{text-align:center;margin-left:auto;margin-right:auto}.section-heading h2{font-family:Georgia,serif;font-size:clamp(2rem,4vw,4rem);line-height:1;margin:0 0 12px;letter-spacing:-.045em}.section-heading p{color:var(--muted);margin:0}.spotlight{background:linear-gradient(180deg,rgba(76,24,33,.72),rgba(12,9,11,.18));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.book-card{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid var(--line);border-radius:26px;overflow:hidden;display:flex;flex-direction:column;min-height:100%;box-shadow:0 20px 70px rgba(0,0,0,.23)}.book-card-featured{background:linear-gradient(180deg,rgba(213,167,93,.17),rgba(255,255,255,.035));border-color:rgba(213,167,93,.35)}.cover-wrap{aspect-ratio:5/7;background:#0e0a0c;overflow:hidden}.cover-wrap img{width:100%;height:100%;object-fit:cover;display:block}.book-copy{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}.book-copy h3{font-family:Georgia,serif;font-size:1.36rem;line-height:1.05;margin:0}.subtitle{color:#d8c7b8;margin:0;font-size:.96rem}.meta-row{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 6px}.meta-row span{font-size:.72rem;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:5px 9px}.house-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.house-card{text-decoration:none;min-height:210px;border-radius:28px;padding:22px;border:1px solid var(--line);background:linear-gradient(150deg,rgba(255,255,255,.08),rgba(255,255,255,.02));display:flex;flex-direction:column;justify-content:flex-end;transition:transform .2s,border-color .2s}.house-card:hover{transform:translateY(-4px);border-color:rgba(213,167,93,.5)}.house-card h3{font-family:Georgia,serif;font-size:1.65rem;margin:8px 0 6px;line-height:1}.house-card p{margin:0;color:var(--muted);font-size:.95rem}.house-count{color:var(--gold);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.house-romance{background:linear-gradient(150deg,rgba(184,107,114,.24),rgba(255,255,255,.03))}.house-devotional{background:linear-gradient(150deg,rgba(104,135,168,.22),rgba(255,255,255,.03))}.house-cafecito{background:linear-gradient(150deg,rgba(184,121,61,.23),rgba(255,255,255,.03))}.house-kids{background:linear-gradient(150deg,rgba(213,167,93,.21),rgba(255,255,255,.03))}.house-suspense{background:linear-gradient(150deg,rgba(90,80,101,.28),rgba(255,255,255,.03))}.house-section{border-top:1px solid var(--line)}.filter-bar{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 auto 28px}.filter{background:rgba(255,255,255,.06);color:var(--ink);border:1px solid var(--line);border-radius:999px;min-height:40px;padding:0 16px;font-weight:700}.filter.active,.filter:hover{background:var(--gold);color:#1b1110}.catalog .book-card.hidden{display:none}.app-promise{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;background:linear-gradient(90deg,rgba(213,167,93,.16),rgba(255,255,255,.04));border-top:1px solid var(--line);border-bottom:1px solid var(--line);align-items:center}.app-promise h2{font-family:Georgia,serif;font-size:clamp(2rem,4vw,4rem);line-height:1;margin:0 0 12px;letter-spacing:-.04em}.app-promise p{color:#eadbca}.promise-list{margin:0;padding:0;list-style:none;display:grid;gap:12px}.promise-list li{padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:rgba(0,0,0,.18)}footer{padding:34px 5vw;color:var(--muted);border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#090708}footer p{margin:0}@media(max-width:980px){.hero{grid-template-columns:1fr;min-height:auto}.hero-covers{min-height:420px}.featured-grid,.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.house-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-promise{grid-template-columns:1fr}.site-header{align-items:flex-start}.site-header nav{display:none}}@media(max-width:620px){section,.hero{padding-left:20px;padding-right:20px}.hero h1{font-size:3.45rem}.hero-covers{min-height:340px}.cover-main{width:62%;left:0;right:auto}.cover-side{width:55%;right:0;bottom:3%}.featured-grid,.book-grid,.house-grid{grid-template-columns:1fr}.site-header{padding:12px 20px}.book-card{border-radius:22px}}


/* V1.1 surgical polish: calmer Romance spotlight + access wing */
.spotlight-refined .section-heading{margin-bottom:24px}.flagship-panel{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:stretch;max-width:1180px;margin:0 auto}.flagship-copy,.flagship-notes,.access-card{border:1px solid var(--line);border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025));box-shadow:0 24px 90px rgba(0,0,0,.22)}.flagship-copy{padding:34px}.flagship-copy h3{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.8rem);line-height:.98;letter-spacing:-.045em;margin:0 0 16px}.flagship-copy p{color:#eadbca;max-width:720px}.edition-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.flagship-notes{display:grid;gap:0;overflow:hidden}.note-card{padding:24px;border-bottom:1px solid var(--line)}.note-card:last-child{border-bottom:0}.note-card span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(213,167,93,.17);border:1px solid rgba(213,167,93,.35);color:var(--gold);font-weight:900;margin-bottom:12px}.note-card strong{display:block;font-family:Georgia,serif;font-size:1.35rem;line-height:1.05}.note-card p{color:var(--muted);margin:8px 0 0}.access-wing{background:linear-gradient(180deg,rgba(213,167,93,.12),rgba(12,9,11,.12));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.access-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1080px;margin:0 auto}.access-card{padding:28px}.access-card h3{font-family:Georgia,serif;font-size:2rem;line-height:1.05;margin:0 0 10px}.access-card p{color:#eadbca}.access-card-primary{background:linear-gradient(180deg,rgba(213,167,93,.18),rgba(255,255,255,.035));border-color:rgba(213,167,93,.36)}.optional-note{font-size:.84rem;color:var(--muted);margin-top:8px}.gate-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 25% 0%,#3a1720 0,#140f12 42%,#090708 100%)}.gate-card{width:min(720px,100%);border:1px solid var(--line);border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025));box-shadow:0 30px 100px rgba(0,0,0,.4);padding:34px}.gate-card h1{font-family:Georgia,serif;font-size:clamp(2.2rem,7vw,4.5rem);line-height:.95;letter-spacing:-.055em;margin:0 0 14px}.gate-form{display:grid;gap:12px;margin-top:22px}.gate-form input{min-height:52px;border-radius:18px;border:1px solid var(--line);background:rgba(0,0,0,.22);color:var(--ink);font-size:1rem;padding:0 16px}.gate-message{min-height:24px;color:var(--gold);font-weight:800}.library-shell{padding:38px 5vw}.library-hero{max-width:1040px;margin:0 auto 34px;padding:34px;border:1px solid var(--line);border-radius:34px;background:linear-gradient(135deg,rgba(213,167,93,.18),rgba(255,255,255,.035))}.library-hero h1{font-family:Georgia,serif;font-size:clamp(2.4rem,7vw,5.2rem);line-height:.92;letter-spacing:-.055em;margin:0 0 14px}.start-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;max-width:1180px;margin:0 auto 34px}.mini-door{border:1px solid var(--line);border-radius:22px;padding:18px;text-decoration:none;background:rgba(255,255,255,.055)}.mini-door strong{display:block;font-family:Georgia,serif;font-size:1.25rem}.mini-door span{display:block;color:var(--muted);font-size:.88rem;margin-top:5px}.clarity-box{max-width:1040px;margin:0 auto 34px;border:1px solid rgba(213,167,93,.32);border-radius:24px;padding:22px;background:rgba(213,167,93,.08)}.clarity-box p{margin:0;color:#eadbca}@media(max-width:860px){.flagship-panel,.access-grid{grid-template-columns:1fr}.start-grid{grid-template-columns:1fr 1fr}.flagship-copy{padding:26px}}@media(max-width:560px){.start-grid{grid-template-columns:1fr}.gate-card{padding:24px}.access-card{padding:24px}}


/* V1.2 Reader Wing - premium private library interiors */
:root{--reader-size:19px}.btn-read{margin-right:8px;background:linear-gradient(135deg,#f3d08d,#d5a75d);}.book-copy .btn-read + .btn{margin-left:0}.reader-body{background:radial-gradient(circle at 18% 0%,rgba(85,30,43,.95),#110d10 45%,#070607 100%);}.reader-header{position:sticky;top:0;background:rgba(8,6,7,.82);backdrop-filter:blur(18px);}.reader-app{display:grid;grid-template-columns:minmax(260px,330px) 1fr;gap:24px;padding:28px 5vw 70px;align-items:start}.reader-toc{position:sticky;top:90px;max-height:calc(100vh - 120px);overflow:auto;border:1px solid var(--line);border-radius:30px;padding:18px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025));box-shadow:0 28px 90px rgba(0,0,0,.32)}.toc-cover{aspect-ratio:5/7;border-radius:22px;overflow:hidden;background:#100b0d;margin-bottom:16px}.toc-cover img{width:100%;height:100%;object-fit:cover}.reader-toc h2{font-family:Georgia,serif;line-height:1.05;margin:0 0 8px;font-size:1.55rem}.reader-toc p{color:var(--muted);font-size:.94rem}.toc-list{display:grid;gap:7px;margin-top:14px}.toc-item{border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.045);color:var(--ink);text-align:left;padding:10px 12px;font-weight:700;cursor:pointer}.toc-item.active,.toc-item:hover{border-color:rgba(213,167,93,.55);background:rgba(213,167,93,.13);color:#ffe6b8}.reader-stage{min-width:0}.reader-bookbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.reader-card{border:1px solid var(--line);border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(246,236,222,.98));color:#211714;box-shadow:0 34px 110px rgba(0,0,0,.35);overflow:hidden}.reader-titleline{padding:36px 38px 24px;border-bottom:1px solid rgba(52,30,24,.16);background:linear-gradient(135deg,rgba(213,167,93,.25),rgba(255,255,255,.42))}.reader-titleline h1{font-family:Georgia,serif;font-size:clamp(2rem,5vw,4.2rem);letter-spacing:-.055em;line-height:.98;margin:0;color:#211714}.reader-titleline .eyebrow{color:#7c5226}.reader-progress{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;color:#6d554b;font-weight:800}.reader-content{font-family:Georgia,serif;font-size:var(--reader-size);line-height:1.78;padding:38px;max-width:900px;margin:0 auto}.reader-content p{margin:0 0 1.05em}.reader-content .worksheet-line{font-family:system-ui,-apple-system,Segoe UI,sans-serif}.write-line{display:block;height:26px;border-bottom:1px solid rgba(70,45,35,.32);margin:6px 0}.reader-actions{display:flex;gap:12px;flex-wrap:wrap;padding:0 38px 30px;justify-content:center}.reader-actions .btn-ghost,.reader-bookbar .filter{color:inherit}.reader-actions button:disabled{opacity:.4;cursor:not-allowed}.reader-notes{margin:0 38px 26px;border:1px solid rgba(52,30,24,.14);border-radius:22px;padding:18px;background:rgba(255,255,255,.35)}.reader-notes label{display:grid;gap:3px;color:#322018}.reader-notes label span{font-size:.85rem;color:#795f55}.reader-notes textarea{width:100%;min-height:105px;margin-top:12px;border-radius:16px;border:1px solid rgba(52,30,24,.18);padding:14px;font:inherit;resize:vertical;background:rgba(255,255,255,.62);color:#211714}.reader-note-line{text-align:center;color:#7d655c;margin:0 24px 32px}.page-image{margin:0 auto;text-align:center}.page-image img{max-width:min(100%,900px);border-radius:22px;box-shadow:0 22px 70px rgba(0,0,0,.18);background:#fff}.page-image figcaption{font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:.85rem;color:#715b52;margin-top:10px}.reader-error,.reader-loading{min-height:60vh;display:grid;place-items:center;text-align:center;padding:60px}.reader-error h1,.reader-loading h1{font-family:Georgia,serif;font-size:clamp(2.5rem,7vw,5rem);line-height:.95}body[data-reader-theme="sepia"] .reader-card{background:linear-gradient(180deg,#f1dfbf,#e8d1a7);color:#2d1b10}body[data-reader-theme="night"] .reader-card{background:linear-gradient(180deg,#11100f,#090807);color:#eee0cc}body[data-reader-theme="night"] .reader-titleline{background:linear-gradient(135deg,rgba(213,167,93,.12),rgba(0,0,0,.32));border-color:rgba(255,255,255,.12)}body[data-reader-theme="night"] .reader-titleline h1,body[data-reader-theme="night"] .reader-notes label{color:#f2dfc1}body[data-reader-theme="night"] .reader-content,body[data-reader-theme="night"] .reader-progress,body[data-reader-theme="night"] .reader-note-line{color:#e6d3b9}body[data-reader-theme="night"] .reader-notes{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}body[data-reader-theme="night"] .reader-notes textarea{background:rgba(0,0,0,.35);color:#f2dfc1;border-color:rgba(255,255,255,.18)}@media(max-width:980px){.reader-app{grid-template-columns:1fr}.reader-toc{position:fixed;z-index:30;inset:80px 18px auto;max-height:70vh;transform:translateY(-120%);transition:.25s ease;box-shadow:0 28px 120px rgba(0,0,0,.65)}.toc-open .reader-toc{transform:translateY(0)}}@media(max-width:620px){.reader-app{padding:18px 18px 60px}.reader-titleline,.reader-content{padding:26px 22px}.reader-actions{padding:0 22px 24px}.reader-notes{margin:0 22px 22px}.reader-card{border-radius:26px}.reader-bookbar{position:sticky;top:65px;z-index:20;background:rgba(15,11,12,.84);padding:8px;border-radius:18px;backdrop-filter:blur(12px)}}

.compact-catalog{background:rgba(0,0,0,.12);border-top:1px solid var(--line)}
.title-list-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.title-list-card{border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));padding:20px;min-height:100%}
.title-list-card h3{font-family:Georgia,serif;font-size:1.35rem;margin:0 0 14px}
.title-list-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.title-list-card li{display:grid;gap:2px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.08)}
.title-list-card li:last-child{border-bottom:0;padding-bottom:0}
.title-list-card a{text-decoration:none;color:var(--ink);font-weight:750;line-height:1.18}
.title-list-card a:hover{color:var(--gold)}
.title-list-card span{font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
@media(max-width:980px){.title-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.title-list-grid{grid-template-columns:1fr}}

/* Reader room polish */
.reader-bookbar .filter,
.reader-bookbar a.filter{
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
}
.reader-bookbar a.filter:visited,
.reader-bookbar a.filter:active,
.reader-bookbar a.filter:hover{
  text-decoration:none;
}
@media(max-width:620px){
  .reader-header{
    padding:10px 18px;
  }
  .reader-header .mark{
    width:38px;
    height:38px;
    border-radius:13px;
  }
  .reader-header .brand{
    gap:9px;
    font-size:1rem;
  }
  .reader-app{
    padding:8px 0 44px;
    gap:10px;
  }
  .reader-stage{
    width:100%;
  }
  .reader-bookbar{
    top:58px;
    margin:0 10px 10px;
    padding:8px;
    border-radius:18px;
    display:flex;
    gap:7px;
    justify-content:flex-start;
    overflow-x:auto;
    flex-wrap:nowrap;
    scrollbar-width:none;
  }
  .reader-bookbar::-webkit-scrollbar{
    display:none;
  }
  .reader-bookbar .filter{
    min-height:38px;
    padding:0 17px;
    flex:0 0 auto;
    font-size:.92rem;
    line-height:1;
    border-radius:999px;
  }
  .reader-card{
    width:calc(100% - 18px);
    margin:0 auto;
    border-radius:24px;
  }
  .reader-titleline{
    padding:24px 24px 20px;
  }
  .reader-titleline h1{
    font-size:clamp(2.15rem,11vw,3.25rem);
    line-height:.97;
  }
  .reader-titleline .eyebrow{
    letter-spacing:.16em;
    font-size:.68rem;
    line-height:1.55;
  }
  .reader-progress{
    gap:6px;
    margin-top:13px;
    font-size:.96rem;
  }
  .reader-content{
    padding:27px 23px 16px;
    font-size:var(--reader-size);
    line-height:1.76;
    max-width:none;
  }
  .reader-content p{
    margin-bottom:1.02em;
  }
  .reader-notes{
    margin:0 20px 20px;
  }
  .reader-actions{
    padding:0 20px 22px;
  }
  .reader-note-line{
    margin:0 20px 26px;
  }
}
@media(max-width:380px){
  .reader-bookbar .filter{
    min-height:36px;
    padding:0 14px;
    font-size:.88rem;
  }
  .reader-card{
    width:calc(100% - 12px);
  }
  .reader-content{
    padding-left:20px;
    padding-right:20px;
  }
}


/* V1.2.4 Reader chapters drawer polish */
.toc-backdrop{display:none}.toc-panel-top{display:none}.toc-close{font:inherit}.reader-toc{background:linear-gradient(180deg,rgba(22,16,18,.97),rgba(8,7,7,.985));}
@media(max-width:980px){
  .toc-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(8px);z-index:44;opacity:0;pointer-events:none;transition:opacity .22s ease;display:block}
  .toc-open .toc-backdrop{opacity:1;pointer-events:auto}
  .toc-open{overflow:hidden}
  .reader-toc{z-index:55;inset:76px 14px 18px;max-height:none;border-radius:28px;padding:16px;background:linear-gradient(180deg,#23171b 0%,#100c0e 100%);box-shadow:0 32px 140px rgba(0,0,0,.86);transform:translateY(-126%);overflow:auto}
  .toc-open .reader-toc{transform:translateY(0)}
  .toc-panel-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
  .toc-panel-label{font-size:.78rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:#f3d08d}
  .toc-close{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.075);color:#f8efe1;border-radius:999px;padding:8px 12px;font-weight:850;cursor:pointer}
  .toc-cover{height:130px;aspect-ratio:auto;border-radius:18px;margin-bottom:12px}
  .reader-toc h2{font-size:1.28rem;letter-spacing:-.02em;margin-bottom:6px;color:#fff4df}
  .reader-toc p{font-size:.86rem}.toc-list{gap:8px}.toc-item{border-radius:16px;padding:12px 14px;background:rgba(255,255,255,.07);color:#f9ead3}.toc-item.active{background:linear-gradient(135deg,rgba(243,208,141,.95),rgba(190,132,57,.9));color:#28150d;border-color:rgba(255,231,183,.7)}
}
@media(max-width:620px){
  .reader-toc{inset:78px 10px 16px;border-radius:24px;padding:14px}.toc-cover{height:104px}.reader-toc h2{font-size:1.12rem}.toc-item{font-size:.94rem;padding:11px 13px}.reader-bookbar{z-index:25}.reader-bookbar .filter{white-space:nowrap}
}

/* V1.2.5 Reader width + control alignment polish */
.reader-bookbar .filter,
.reader-bookbar a.filter,
.reader-bookbar button.filter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
  text-align:center;
  line-height:1;
  white-space:nowrap;
}
@media(max-width:620px){
  .reader-app{
    padding-left:0;
    padding-right:0;
  }
  .reader-stage{
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
  }
  .reader-bookbar{
    margin-left:8px;
    margin-right:8px;
    width:calc(100vw - 16px);
  }
  .reader-bookbar .filter,
  .reader-bookbar a.filter,
  .reader-bookbar button.filter{
    height:38px;
    min-height:38px;
    padding:0 18px;
  }
  .reader-card{
    width:calc(100vw - 10px);
    max-width:calc(100vw - 10px);
    margin-left:auto;
    margin-right:auto;
    border-radius:22px;
  }
  .reader-titleline{
    padding-left:20px;
    padding-right:20px;
  }
  .reader-content{
    padding-left:18px;
    padding-right:18px;
  }
}
@media(max-width:380px){
  .reader-bookbar{
    margin-left:6px;
    margin-right:6px;
    width:calc(100vw - 12px);
  }
  .reader-card{
    width:calc(100vw - 6px);
    max-width:calc(100vw - 6px);
  }
  .reader-content{
    padding-left:16px;
    padding-right:16px;
  }
}

/* V1.2.6 Reader pane centering polish
   Cosmetic-only fix: removes the mobile 100vw offset that could push the page right,
   keeps the reader wide, centered, and stable across mobile and desktop. */
.reader-body{
  overflow-x:hidden;
}
.reader-stage{
  margin-left:auto;
  margin-right:auto;
}
@media(max-width:620px){
  .reader-app{
    display:block;
    padding:16px 8px 60px;
  }
  .reader-stage{
    width:100%;
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
  }
  .reader-bookbar{
    width:100%;
    max-width:100%;
    margin:0 auto 14px;
    padding:8px;
    overflow-x:auto;
    justify-content:flex-start;
    scrollbar-width:none;
  }
  .reader-bookbar::-webkit-scrollbar{display:none;}
  .reader-card{
    width:100%;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
  }
  .reader-titleline{
    padding-left:18px;
    padding-right:18px;
  }
  .reader-content{
    padding-left:18px;
    padding-right:18px;
  }
}
@media(max-width:380px){
  .reader-app{
    padding-left:6px;
    padding-right:6px;
  }
  .reader-stage,
  .reader-card,
  .reader-bookbar{
    width:100%;
    max-width:100%;
  }
  .reader-content{
    padding-left:16px;
    padding-right:16px;
  }
}
@media(min-width:981px){
  .reader-stage{
    max-width:980px;
  }
}


/* V1.2.7 Reader toolbar containment fix
   Stops the mobile toolbar from becoming a sideways scroll strip.
   Controls are grouped in clear rows so every action is visible without horizontal scrolling. */
.reader-bookbar{
  overflow:visible;
}
.reader-control-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:nowrap;
}
.reader-bookbar .filter,
.reader-bookbar a.filter,
.reader-bookbar button.filter{
  text-decoration:none;
}
@media(min-width:621px){
  .reader-bookbar{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    overflow:visible;
  }
}
@media(max-width:620px){
  .reader-bookbar{
    display:grid !important;
    grid-template-columns:1fr;
    gap:8px;
    width:100%;
    max-width:100%;
    margin:0 auto 14px;
    padding:10px;
    overflow:visible !important;
    justify-content:stretch;
    align-items:stretch;
  }
  .reader-control-row{
    width:100%;
    gap:8px;
  }
  .reader-control-primary{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .reader-control-theme{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
  .reader-control-size{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:min(62%, 230px);
    justify-self:center;
  }
  .reader-bookbar .filter,
  .reader-bookbar a.filter,
  .reader-bookbar button.filter{
    width:100%;
    min-width:0;
    height:38px;
    min-height:38px;
    padding:0 8px;
    font-size:.9rem;
    line-height:1;
    white-space:nowrap;
    flex:initial;
  }
}
@media(max-width:380px){
  .reader-bookbar{
    padding:8px;
    gap:7px;
  }
  .reader-control-row{
    gap:7px;
  }
  .reader-bookbar .filter,
  .reader-bookbar a.filter,
  .reader-bookbar button.filter{
    font-size:.84rem;
    height:36px;
    min-height:36px;
    padding:0 6px;
  }
  .reader-control-size{
    width:min(68%, 220px);
  }
}

.support-line{max-width:760px;margin:12px auto 0;color:rgba(250,244,230,.84);font-weight:600;}


/* V1.3 Dedicated pages navigation repair */
.site-header nav a.active{color:var(--gold)}
.site-footer{padding:40px 5vw;border-top:1px solid var(--line);background:rgba(8,6,7,.62);color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.site-footer p{max-width:760px;margin:0}.footer-links{display:flex;gap:14px;flex-wrap:wrap}.footer-links a{text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:9px 13px}.home-hero{min-height:72vh}.centered-actions{justify-content:center}.house-page-hero{padding:76px 5vw 44px;background:linear-gradient(180deg,rgba(76,24,33,.48),rgba(12,9,11,.08));border-bottom:1px solid var(--line)}
.house-page-hero h1,.library-hero h1{font-family:Georgia,serif;font-size:clamp(2.6rem,7vw,6.2rem);letter-spacing:-.06em;line-height:.92;margin:0 0 16px}.house-page-hero p,.library-hero p{max-width:760px;color:#eadbca;font-size:1.1rem}.house-page-hero .hero-actions{margin-top:24px}.library-shell{overflow:visible}.library-hero{padding:68px 5vw 24px}.start-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:26px 5vw 0}.mini-door{text-decoration:none;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid var(--line);border-radius:22px;padding:18px;min-height:120px;display:flex;flex-direction:column;justify-content:space-between}.mini-door strong{font-family:Georgia,serif;font-size:1.28rem}.mini-door span{color:var(--muted);font-size:.92rem}.clarity-box{margin:24px 5vw;padding:20px 22px;border:1px solid rgba(213,167,93,.3);background:rgba(213,167,93,.08);border-radius:24px}.clarity-box p{margin:0;color:#f1dfc9}.btn-read{background:linear-gradient(135deg,#f1ce8a,var(--gold));}
@media(max-width:980px){.start-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header{align-items:flex-start;gap:12px}.site-header nav{flex-wrap:wrap;justify-content:flex-end}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.site-header{position:relative;display:block}.brand{margin-bottom:12px}.site-header nav{display:grid;grid-template-columns:1fr 1fr;gap:8px}.site-header nav a{border:1px solid var(--line);border-radius:999px;padding:8px 10px;text-align:center}.hero{grid-template-columns:1fr;min-height:auto;padding-top:46px}.hero-covers{min-height:380px}.start-grid{grid-template-columns:1fr;margin-left:5vw;margin-right:5vw}.book-grid{grid-template-columns:1fr}.site-footer{display:block}.footer-links{margin-top:18px}.house-page-hero,.library-hero{padding-top:42px}.house-page-hero h1,.library-hero h1{font-size:clamp(2.4rem,15vw,4rem)}}


/* V1.3.1 Two-Path Gateway Polish
   Keeps the working reader and access system intact while making the public homepage calmer. */
.gateway-hero{min-height:62vh;align-items:center;padding-top:54px;padding-bottom:38px;}
.gateway-hero h1{font-size:clamp(2.75rem,7.2vw,6.4rem);}
.compact-hero-covers{min-height:410px;}
.two-path-gateway{padding:44px 5vw 54px;display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(76,24,33,.20));}
.path-card{border:1px solid var(--line);border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));padding:30px;box-shadow:0 22px 80px rgba(0,0,0,.20);}
.path-card-gold{border-color:rgba(213,167,93,.38);background:linear-gradient(180deg,rgba(213,167,93,.14),rgba(255,255,255,.025));}
.path-card h2{font-family:Georgia,serif;font-size:clamp(1.85rem,4vw,3.35rem);line-height:1;letter-spacing:-.045em;margin:0 0 12px;}
.path-card p{color:#eadbca;margin:0 0 18px;}
.romance-preview-mini{padding:46px 5vw 56px;background:linear-gradient(180deg,rgba(76,24,33,.40),rgba(12,9,11,.08));}
.amazon-hero{background:linear-gradient(180deg,rgba(76,24,33,.56),rgba(12,9,11,.10));}
.clarity-box-gate{margin:20px 0 0;}
@media(max-width:900px){.two-path-gateway{grid-template-columns:1fr}.compact-hero-covers{min-height:350px}}
@media(max-width:640px){.gateway-hero{padding-top:40px}.gateway-hero h1{font-size:3.15rem}.two-path-gateway{padding:30px 20px 36px}.path-card{padding:24px;border-radius:26px}.romance-preview-mini{padding:34px 20px 42px}.compact-hero-covers{display:none}.site-header nav{grid-template-columns:1fr 1fr 1fr}.site-header nav a{font-size:.92rem;padding:8px 7px}}
