/* Rich reference artwork stays decorative. Actual books, counts and actions
   continue to use the approved home markup and domain data. */
html[data-theme="romance"] {--home-art:url('/theme-romance-peony-v1.jpg');--home-greeting:#72152d;--home-caption:#753047;--home-sign:#b30e4d}
html[data-theme="club-epique"] {--home-art:url('/theme-literary-fantasy-v1.jpg');--home-greeting:#fff0c2;--home-caption:#f7e7c8;--home-sign:#813e4d}
html:is([data-theme="romance"],[data-theme="club-epique"]) body[data-view=home] {
 background-image:linear-gradient(180deg,transparent 130px,transparent min(46vw,239px),var(--ui-paper) min(66.66vw,346px)),var(--home-art);
 background-size:100% 350px,min(100vw,520px) auto;background-position:center top;background-repeat:no-repeat;
}
html:is([data-theme="romance"],[data-theme="club-epique"]) body[data-view=home] .workspace {background:transparent}
html:is([data-theme="romance"],[data-theme="club-epique"]) body[data-view=home] .mobile-header {height:75px;background:none;border:0}
html:is([data-theme="romance"],[data-theme="club-epique"]) body[data-view=home] .mobile-brand {color:var(--home-greeting)}
html:is([data-theme="romance"],[data-theme="club-epique"]) body[data-view=home] .mobile-brand>span:last-child {font:700 27px/1 Cormorant,Georgia,serif;letter-spacing:0}
html[data-theme="romance"] body[data-view=home] #brand-icon img {filter:sepia(1) saturate(1.7) hue-rotate(295deg)}
html[data-theme="club-epique"] body[data-view=home] #brand-icon img {filter:sepia(.6) brightness(1.4)}
html:is([data-theme="romance"],[data-theme="club-epique"]) body[data-view=home] #profile-shortcut {border:1px solid var(--ui-line);box-shadow:0 0 0 3px #fff5;background:var(--ui-surface)}
html:is([data-theme="romance"],[data-theme="club-epique"]) body[data-view=home] main {padding-top:0}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-welcome {position:relative;min-height:115px;padding-top:12px;margin:8px 0 22px;gap:13px}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-welcome h1 {color:var(--home-greeting);font-size:27px;line-height:1.2;letter-spacing:-.5px}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-welcome p {font:14px/1.5 Nunito,Arial,sans-serif;color:var(--home-caption);margin-top:9px;max-width:250px}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-add {border:1px solid var(--ui-line);background:linear-gradient(var(--ui-primary-start),var(--ui-primary-end));color:var(--ui-on-primary);box-shadow:0 3px 9px #641d2820}
html[data-theme="romance"] #home-design .hd-welcome::after {content:'♡';position:absolute;bottom:2px;left:55px;right:26px;color:#bd5376;text-align:center;font:28px/1 Georgia;background:linear-gradient(90deg,transparent,#dba6b6 32%,transparent 46%,transparent 54%,#dba6b6 68%,transparent) center/100% 1px no-repeat;pointer-events:none}
html[data-theme="club-epique"] #home-design .hd-welcome::after {content:'✧';position:absolute;bottom:2px;left:55px;right:26px;color:#d7b76f;text-align:center;font:26px/1 Georgia;background:linear-gradient(90deg,transparent,#c3a477 32%,transparent 46%,transparent 54%,#c3a477 68%,transparent) center/100% 1px no-repeat;pointer-events:none}
html[data-theme="club-epique"] #home-design .hd-welcome h1 {font-size:34px;font-weight:600;text-shadow:0 2px 6px #10251c}
html[data-theme="club-epique"] #home-design .hd-welcome p {font:italic 16px/1.4 Cormorant,Georgia,serif;text-shadow:0 2px 5px #10251c}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-section-title {margin-bottom:10px}
html[data-theme="romance"] #home-design h2 {font:700 19px/1.2 Playfair,Georgia,serif;letter-spacing:-.5px}
html[data-theme="club-epique"] #home-design h2 {font:700 25px/1.15 Cormorant,Georgia,serif;letter-spacing:-.2px}
html[data-theme="club-epique"] #home-design .hd-current>.hd-section-title h2 {color:#fff0c4;text-shadow:0 1px 4px #183123}
html[data-theme="club-epique"] #home-design .hd-current>.hd-section-title {background:linear-gradient(90deg,#223a2be0,#223a2b55,transparent);border-radius:5px;padding:4px 7px}
html[data-theme="romance"] #home-design .hd-current>.hd-section-title h2 {color:#65152b}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-reading {position:relative;padding:13px;gap:10px 14px;--hd-cover-height:142px;overflow:hidden}
html[data-theme="romance"] #home-design .hd-reading {background:linear-gradient(125deg,#fffaf5,#fff4ed);border:1px solid #ffe6dc;border-radius:18px;box-shadow:0 6px 20px #ab36502b,inset 0 1px #fff}
html[data-theme="club-epique"] #home-design .hd-reading {background:#f6e8d1 url('/literary-parchment.svg') center/cover;border:1px solid #c4a171;border-radius:10px;box-shadow:inset 0 0 0 3px #fff4df,0 4px 11px #44352129}
html[data-theme="club-epique"] #home-design .hd-reading::before {content:'';position:absolute;inset:5px;border:1px solid #ceb18780;border-radius:6px;pointer-events:none}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-reading::after {content:'';position:absolute;top:0;right:14px;width:19px;height:32px;background:linear-gradient(90deg,var(--home-sign),color-mix(in srgb,var(--home-sign) 80%,white),var(--home-sign));clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);pointer-events:none}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-current-cover {border-radius:6px;box-shadow:0 3px 8px #542a3833;z-index:1}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-reading-info {padding:8px 4px 18px 0}
html[data-theme="romance"] #home-design .hd-reading-info h3 {font:700 21px/1.15 Playfair,Georgia,serif;letter-spacing:-.5px;margin-right:8px;color:#541024}
html[data-theme="club-epique"] #home-design .hd-reading-info h3 {font:700 25px/1.05 Cormorant,Georgia,serif;letter-spacing:-.3px;margin-right:8px;color:#272e29}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-reading-info>p {font:13px/1.4 Nunito,Arial,sans-serif;color:var(--ui-muted)}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-progress-text {font:11px/1.3 Nunito,Arial,sans-serif;color:var(--ui-text)}
html[data-theme="romance"] #home-design .hd-progress-track {background:#f5d5c6;border:0;height:9px}
html[data-theme="romance"] #home-design progress::-webkit-progress-bar {background:#f5d5c6}
html[data-theme="romance"] #home-design progress::-webkit-progress-value {background:linear-gradient(90deg,#b30e4d,#cf3167)}
html[data-theme="club-epique"] #home-design .hd-progress-track {background:#d8c5a7;border:1px solid #fffaeb;height:10px;box-shadow:0 0 0 1px #bca27d55}
html[data-theme="club-epique"] #home-design progress::-webkit-progress-bar {background:#d8c5a7}
html[data-theme="club-epique"] #home-design progress::-webkit-progress-value {background:linear-gradient(90deg,#647451,#354e3b)}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-resume {position:relative;z-index:1;border-radius:24px;min-height:38px;padding:9px 18px;background:linear-gradient(var(--ui-primary-start),var(--ui-primary-end));color:var(--ui-on-primary);border:1px solid var(--ui-primary-end);box-shadow:0 2px 4px #682d2b24;font:700 13px/1.2 Nunito,Arial,sans-serif}
html[data-theme="club-epique"] #home-design .hd-resume {font:600 17px/1.1 Cormorant,Georgia,serif;border-color:#bda076;box-shadow:inset 0 1px #fff2,0 2px 4px #40331a22}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-resume::after {content:'›';position:absolute;right:14px;font:24px/1 Georgia}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-collections {padding:0;gap:8px;min-height:90px;margin:19px 0 21px;background:none}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-collections a {gap:5px;padding:12px 3px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-surface);box-shadow:0 3px 8px #6f3a2920;color:var(--ui-text)}
html[data-theme="romance"] #home-design .hd-collections a {border-color:#ffe2d6;background:linear-gradient(#fffaf4,#fff0e7);box-shadow:0 4px 10px #c3546a20}
html[data-theme="club-epique"] #home-design .hd-collections a {border-radius:9px;background:#f5e6cd url('/literary-parchment.svg') center/cover;box-shadow:inset 0 0 0 2px #fff3df,0 2px 5px #74502c1a}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-collections .ui-icon {width:29px;height:29px;stroke:var(--ui-accent);margin-bottom:2px}
html[data-theme="romance"] #home-design .hd-collections strong {font:600 12px/1.2 Nunito,Arial,sans-serif;color:#64142c;letter-spacing:0}
html[data-theme="club-epique"] #home-design .hd-collections strong {font:700 16px/1 Cormorant,Georgia,serif;color:#272e29;letter-spacing:0}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-collections span {font:11px/1.2 Nunito,Arial,sans-serif;color:var(--ui-muted)}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-period {border-color:var(--ui-line);background:var(--ui-surface);border-radius:15px}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-period button {font:10px/1.2 Nunito,Arial,sans-serif;border-radius:12px;color:var(--ui-text)}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-period button[aria-pressed=true] {background:linear-gradient(var(--ui-primary-start),var(--ui-primary-end));color:var(--ui-on-primary)}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-statistics .hd-section-title {gap:4px}
html[data-theme="romance"] #home-design .hd-statistics h2 {font-size:18px}
html[data-theme="club-epique"] #home-design .hd-statistics h2 {font-size:24px}
html[data-theme="romance"] #home-design .hd-stat-strip {gap:8px;padding:0;border:0;background:none;min-height:78px}
html[data-theme="romance"] #home-design .hd-stat {flex-direction:column;gap:7px;padding:10px 3px;border:1px solid #ffe1d6;border-radius:13px;background:linear-gradient(#fffaf4,#fff2eb);box-shadow:0 3px 9px #c43c5a19;color:#ad1647}
html[data-theme="romance"] #home-design .hd-stat>div {text-align:center}
html[data-theme="romance"] #home-design .hd-stat strong {font:700 22px/1 Playfair,Georgia,serif;color:#60162b}
html[data-theme="romance"] #home-design .hd-stat span {font:11px/1.2 Nunito,Arial,sans-serif;color:#763448;margin-top:5px}
html[data-theme="club-epique"] #home-design .hd-stat-strip {padding:14px 7px;min-height:72px;background:#f5e6cc url('/literary-parchment.svg') center/cover;border:1px solid #c7aa7f;box-shadow:inset 0 0 0 2px #fff5e4}
html[data-theme="club-epique"] #home-design .hd-stat {border-color:#d3bb99;color:#9e7745;gap:8px}
html[data-theme="club-epique"] #home-design .hd-stat strong {font:700 27px/1 Cormorant,Georgia,serif;color:#292a23}
html[data-theme="club-epique"] #home-design .hd-stat span {font:11px/1.2 Nunito,Arial,sans-serif;color:#72614d}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-next {margin-top:20px}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-see-all {color:var(--ui-muted);font:12px Nunito,Arial,sans-serif}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-next-cover {border:1px solid var(--ui-line);box-shadow:0 3px 9px #6b3c2426}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-book-name {font:600 16px/1.25 var(--ui-heading);color:var(--ui-text)}
html:is([data-theme="romance"],[data-theme="club-epique"]) #home-design .hd-author {color:var(--ui-muted)}
html[data-theme="romance"] body[data-view=home] .bottom-nav {background:linear-gradient(#fffaf4,#fff0e6);border-top:1px solid #edc8b8;box-shadow:0 -2px 14px #bd4f6314}
html[data-theme="romance"] body[data-view=home] .bottom-nav a {color:#6b172d}
html[data-theme="romance"] body[data-view=home] .bottom-nav a[aria-current=page] {background:#f3d3d0;color:#a00c40;border-radius:15px}
html[data-theme="romance"] body[data-view=home] .bottom-nav a[aria-current=page] .ui-icon {fill:#b30e4d;color:#b30e4d}
html[data-theme="club-epique"] body[data-view=home] .bottom-nav {background:linear-gradient(#354b38,#1d3427);border:1px solid #b8945a;border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -2px 10px #2b241b25}
html[data-theme="club-epique"] body[data-view=home] .bottom-nav a {color:#f2dfaf}
html[data-theme="club-epique"] body[data-view=home] .bottom-nav .ui-icon {color:#edc986;stroke:#edc986}
html[data-theme="club-epique"] body[data-view=home] .bottom-nav a[aria-current=page] {box-shadow:inset 0 -2px #d2ad68;background:#c0a67415;color:#ffe4ad}
html[data-theme="club-epique"] body[data-view=home] .bottom-nav a[aria-current=page] .ui-icon {fill:#ddba76;color:#f6dba4}
@media(max-width:360px){html[data-theme="romance"] #home-design .hd-welcome h1{font-size:23px}html[data-theme="romance"] #home-design .hd-statistics h2{font-size:15px}html[data-theme="club-epique"] #home-design .hd-statistics h2{font-size:21px}html[data-theme="club-epique"] #home-design .hd-collections strong{font-size:14px}}
