:root{--ink:#2f1d24;--muted:#806e74;--wine:#8f2948;--wine-deep:#681b35;--rose:#d45b7b;--blush:#fbe9eb;--cream:#fffaf8;--line:#eadde0;--white:#fff;--shadow:0 20px 60px rgba(83,31,48,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"Be Vietnam Pro",sans-serif;font-size:16px;line-height:1.6}button,input{font:inherit}button,a{color:inherit}button{cursor:pointer}.shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,250,248,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(234,221,224,.8)}.header-inner{width:min(1280px,calc(100% - 48px));height:82px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;flex-shrink:0}.brand-mark{width:42px;height:42px;border-radius:50% 50% 48% 52%;display:grid;place-items:center;background:var(--wine);color:#fff;font:italic 25px "DM Serif Display";box-shadow:inset -5px -5px 0 rgba(74,10,29,.16)}.brand-text{font:25px "DM Serif Display";line-height:1;color:var(--wine-deep)}.brand-text small{display:block;font:600 8px "Be Vietnam Pro";letter-spacing:1.65px;margin-top:7px;color:var(--muted)}.main-nav{display:flex;align-items:center;gap:32px;height:100%}.main-nav a{text-decoration:none;font-size:14px;font-weight:500;position:relative;white-space:nowrap}.main-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-12px;height:2px;background:var(--wine);transition:.25s}.main-nav a:hover::after,.main-nav a.active::after{right:0}.main-nav a.active{color:var(--wine);font-weight:600}.header-actions{display:flex;align-items:center;gap:10px}.icon-button,.circle-button,.avatar,.arrow-actions button,.ranking-head button,.mini-play,.book-fav{border:0;background:transparent}.icon-button{width:42px;height:42px;border-radius:50%;font-size:25px}.icon-button:hover{background:var(--blush)}.library-button{height:42px;border:1px solid var(--line);border-radius:22px;padding:0 16px;background:#fff;color:var(--wine);font-size:14px;font-weight:600}.avatar{width:40px;height:40px;border-radius:50%;background:#2f1d24;color:#fff;font-weight:700}.search-panel{display:none;position:absolute;left:0;right:0;top:82px;padding:22px;background:rgba(255,250,248,.98);border-bottom:1px solid var(--line);box-shadow:0 14px 24px rgba(63,24,36,.06)}.search-panel.open{display:block}.search-box{max-width:760px;margin:auto;height:54px;border:1px solid var(--line);border-radius:27px;background:#fff;display:flex;align-items:center;padding:0 20px;gap:12px}.search-box span{font-size:24px}.search-box input{flex:1;border:0;outline:0;color:var(--ink);font-size:15px}.search-box kbd{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:2px 6px}.search-suggestions{max-width:760px;margin:10px auto 0;color:var(--muted);font-size:13px}
.hero{min-height:570px;display:grid;grid-template-columns:50% 50%;align-items:center;position:relative}.hero::before{content:"“";position:absolute;top:60px;left:-30px;font:220px "DM Serif Display";color:rgba(143,41,72,.045);line-height:1}.hero-copy{padding:54px 20px 54px 36px;position:relative;z-index:2}.eyebrow,.section-kicker{color:var(--wine);font-size:11px;font-weight:700;letter-spacing:2.2px}.hero h1{font:58px/1.04 "DM Serif Display";margin:14px 0 20px;letter-spacing:-1px}.hero h1 em{color:var(--wine);font-weight:400}.hero-description{color:var(--muted);max-width:500px;font-size:17px;line-height:1.75;margin:0 0 18px}.story-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:#6f5860}.story-meta i{width:3px;height:3px;border-radius:50%;background:var(--rose)}.hero-actions{display:flex;gap:12px;margin-top:30px}.primary-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:28px;padding:13px 24px;background:var(--wine);color:#fff;font-weight:600;text-decoration:none;box-shadow:0 10px 24px rgba(143,41,72,.2);transition:.2s}.primary-button:hover{background:var(--wine-deep);transform:translateY(-2px)}.primary-button span{margin-left:16px}.circle-button{width:50px;height:50px;border:1px solid var(--line);background:#fff;border-radius:50%;font-size:24px;color:var(--wine)}.circle-button.active,.book-fav.active{background:var(--wine);color:#fff}.hero-pagination{display:flex;gap:8px;margin-top:43px}.hero-pagination button{width:8px;height:8px;border:0;border-radius:5px;background:#d9c9cd;padding:0}.hero-pagination button.active{width:27px;background:var(--wine)}.hero-art{height:490px;position:relative;display:flex;align-items:center;justify-content:center}.hero-art::after{content:"";position:absolute;width:76%;height:78%;right:4%;bottom:5%;background:linear-gradient(135deg,#f1c5cc,#e8a6b7);border-radius:48% 52% 16% 84% / 50% 42% 58% 50%;z-index:-2}.art-halo{position:absolute;width:390px;height:390px;border-radius:50%;border:1px solid rgba(143,41,72,.18);right:11%;top:12%;z-index:-1}.art-halo::before,.art-halo::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(143,41,72,.11);inset:24px}.art-halo::after{inset:58px}.hero-art img{width:88%;height:96%;object-fit:cover;object-position:center;border-radius:44% 44% 12px 12px / 30% 30% 12px 12px;filter:saturate(.85) contrast(.96);box-shadow:var(--shadow)}.reader-note{position:absolute;left:1%;bottom:13%;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-radius:14px;padding:12px 16px;box-shadow:var(--shadow);display:grid;grid-template-columns:auto auto;align-items:center;column-gap:9px}.reader-note strong{font-size:14px}.reader-note>span{font-size:10px;color:var(--muted);grid-column:2}.tiny-avatars{grid-row:1/3}.tiny-avatars span{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;border:2px solid #fff;margin-left:-7px;background:#ead1d6;color:var(--wine);font-size:9px;font-weight:700}.tiny-avatars span:first-child{margin:0}
.section{padding-top:72px;padding-bottom:72px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section-heading h2,.ranking-card h2{font:35px "DM Serif Display";margin:3px 0 0}.section-heading>a{color:var(--wine);font-size:13px;font-weight:600;text-decoration:none}.section-heading>a span{margin-left:8px}.continue-section{padding-top:28px}.continue-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.continue-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;display:grid;grid-template-columns:85px 1fr 46px;gap:17px;align-items:center;box-shadow:0 10px 30px rgba(60,20,34,.04)}.mini-cover{height:112px;border-radius:9px;padding:13px 10px;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;box-shadow:0 8px 18px rgba(40,20,30,.15);overflow:hidden}.mini-cover-image{padding:0;background:var(--blush)}.mini-cover-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.mini-cover span{font:24px "DM Serif Display"}.mini-cover small{font-size:7px;letter-spacing:1.4px}.cover-violet{background:linear-gradient(145deg,#524469,#a07088)}.cover-coral{background:linear-gradient(145deg,#ad4c55,#e7a06e)}.continue-info .status{font-size:9px;letter-spacing:1.5px;color:var(--wine);font-weight:700}.continue-info h3{margin:3px 0 0;font-size:16px}.continue-info p{margin:2px 0 10px;color:var(--muted);font-size:12px}.continue-info small{font-size:10px;color:var(--muted)}.progress{height:4px;background:#f0e7e9;border-radius:4px;overflow:hidden;margin-bottom:4px}.progress span{display:block;height:100%;background:var(--rose);border-radius:4px}.mini-play{width:38px;height:38px;border-radius:50%;background:var(--blush);color:var(--wine);font-size:18px}.mini-play:hover{background:var(--wine);color:white}
.genres-strip{border-block:1px solid var(--line);background:#fff;padding:24px 0}.genres-inner{display:flex;align-items:center;gap:28px}.genres-label{font:20px "DM Serif Display";white-space:nowrap}.genre-chips{display:flex;gap:9px;overflow:auto;scrollbar-width:none}.genre-chips a{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:20px;padding:8px 15px;white-space:nowrap;font-size:12px;color:var(--muted);text-decoration:none}.genre-chips a.active,.genre-chips a:hover{background:var(--wine);border-color:var(--wine);color:#fff}.arrow-actions{display:flex;gap:8px}.arrow-actions button{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#fff}.arrow-actions button:hover{border-color:var(--wine);color:var(--wine)}.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}.book-card{position:relative}.book-cover{aspect-ratio:3/4.2;border-radius:8px;padding:30px 24px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;box-shadow:0 16px 30px rgba(52,24,31,.13);transition:.3s}.book-cover::after{content:"";position:absolute;right:-20%;bottom:-18%;width:150px;height:150px;border:1px solid rgba(255,255,255,.33);border-radius:50%;box-shadow:0 0 0 26px rgba(255,255,255,.07),0 0 0 53px rgba(255,255,255,.05)}.book-card:hover .book-cover{transform:translateY(-6px)}.cover-blue{background:linear-gradient(145deg,#36536b,#7192a0)}.cover-red{background:linear-gradient(145deg,#771d36,#ce5b6c)}.cover-green{background:linear-gradient(145deg,#365c53,#8ba486)}.cover-yellow{background:linear-gradient(145deg,#bf6f36,#e7b762)}.cover-author{font-size:8px;letter-spacing:2px}.book-cover strong{font:30px/1.08 "DM Serif Display";position:relative;z-index:1}.book-cover small{font-size:7px;letter-spacing:1.3px;position:relative;z-index:1}.book-fav{position:absolute;right:10px;top:10px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.9);z-index:3;color:var(--wine);font-size:19px}.book-info>span{display:block;color:var(--wine);font-size:10px;font-weight:600;margin-top:16px}.book-info h3{font-size:15px;margin:4px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-info p{font-size:12px;color:var(--muted);margin:0}.book-stats{display:flex;justify-content:space-between;margin-top:8px;color:var(--muted);font-size:10px}.book-stats span:first-child{color:#b77827}
.updates-ranking{display:grid;grid-template-columns:1.6fr 1fr;gap:50px}.section-heading.compact{margin-bottom:17px}.section-heading.compact h2{font-size:31px}.update-row{display:grid;grid-template-columns:44px 1fr 100px 90px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);gap:12px}.update-row .number{font:21px "DM Serif Display";color:#c7b7bb}.update-row h3{font-size:14px;margin:0}.update-row p{font-size:10px;color:var(--muted);margin:1px 0}.update-row .chapter{font-size:11px;color:var(--wine);background:var(--blush);padding:5px 10px;border-radius:12px;text-align:center}.update-row time{font-size:10px;color:var(--muted);text-align:right}.ranking-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px 28px;box-shadow:0 14px 35px rgba(63,24,36,.05)}.ranking-head h2{font-size:30px}.ranking-head>div{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-top:13px}.ranking-head button{font-size:11px;color:var(--muted);padding:7px 0;position:relative}.ranking-head button.active{color:var(--wine);font-weight:700}.ranking-head button.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--wine)}.ranking-list{padding:0;margin:7px 0 0;list-style:none}.ranking-list li{display:grid;grid-template-columns:30px 1fr 20px;align-items:center;padding:12px 0;border-bottom:1px solid #f3edef}.ranking-list li>span{font:20px "DM Serif Display";color:#b9a9ae}.ranking-list li:first-child>span{color:var(--wine)}.ranking-list h3{font-size:13px;margin:0}.ranking-list p{font-size:9px;color:var(--muted);margin:1px 0}.ranking-list b{font-size:10px;color:#aa8a58}footer{background:#2b1b21;color:#fff;padding:45px 0;margin-top:20px}.footer-inner{display:flex;align-items:center;justify-content:space-between}.footer-brand .brand-mark{background:#fff;color:var(--wine)}.footer-brand .brand-text{color:#fff}.footer-brand .brand-text small{color:#c7b7bb}.footer-inner p{font-size:11px;color:#bcaeb3}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#2f1d24;color:#fff;padding:11px 18px;border-radius:24px;font-size:13px;opacity:0;pointer-events:none;transition:.25s;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-nav{display:none}
@media(max-width:900px){.main-nav{display:none}.hero{grid-template-columns:1fr;min-height:auto;padding-top:25px}.hero-copy{padding:34px 8px 20px}.hero h1{font-size:48px}.hero-art{height:460px}.continue-grid{grid-template-columns:1fr}.book-grid{grid-template-columns:repeat(2,1fr)}.updates-ranking{grid-template-columns:1fr}.genres-inner{align-items:flex-start;flex-direction:column;gap:13px}.genres-inner{width:100%;padding-left:24px}.genre-chips{width:100%}.shell{width:min(100% - 32px,700px)}}
@media(max-width:600px){body{padding-bottom:68px}.site-header{position:relative}.header-inner{height:68px;width:calc(100% - 28px)}.brand-mark{width:36px;height:36px;font-size:21px}.brand-text{font-size:22px}.brand-text small{font-size:6px}.header-actions .library-button,.header-actions .avatar{display:none}.search-panel{top:68px}.hero{width:100%;display:flex;flex-direction:column}.hero-copy{order:2;padding:27px 24px 38px}.hero h1{font-size:43px}.hero-description{font-size:15px}.hero-art{order:1;width:100%;height:390px}.hero-art img{width:100%;height:100%;border-radius:0;box-shadow:none}.hero-art::after,.art-halo{display:none}.reader-note{left:20px;bottom:18px}.hero-pagination{margin-top:30px}.section{padding-top:50px;padding-bottom:50px}.section-heading h2{font-size:30px}.continue-card{grid-template-columns:70px 1fr 38px;gap:12px}.mini-cover{height:98px}.section-heading>a{font-size:11px}.genres-strip{padding:19px 0}.book-grid{gap:24px 15px}.book-cover{padding:22px 15px}.book-cover strong{font-size:23px}.book-info h3{font-size:13px}.book-stats{flex-direction:column;gap:3px}.updates-ranking{gap:35px}.update-row{grid-template-columns:32px 1fr auto}.update-row time{display:none}.update-row .chapter{font-size:9px;padding:4px 7px}.ranking-card{padding:22px 20px}.footer-inner{flex-direction:column;gap:20px;text-align:center}.footer-inner p{margin:0}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;height:66px;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-top:1px solid var(--line);z-index:90}.mobile-nav a,.mobile-nav button{border:0;background:transparent;text-decoration:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;color:var(--muted);font-size:9px}.mobile-nav span{font-size:21px;line-height:1}.mobile-nav .active{color:var(--wine)}.toast{bottom:82px;white-space:nowrap}.arrow-actions{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Final usability pass */
.skip-link{position:fixed;top:10px;left:10px;z-index:200;transform:translateY(-150%);background:#fff;color:var(--wine);padding:9px 14px;border-radius:8px;font-weight:700;text-decoration:none;box-shadow:var(--shadow)}
.skip-link:focus{transform:translateY(0)}
:focus-visible{outline:3px solid rgba(143,41,72,.32);outline-offset:3px}
.brand-text small{font-size:10px;letter-spacing:1.35px}
.eyebrow,.section-kicker{font-size:12px;letter-spacing:2px}
.reader-note>span{font-size:12px}.tiny-avatars span{font-size:11px}
.mini-cover small{font-size:10px}.continue-info .status{font-size:11px}.continue-info p{font-size:13px}.continue-info small{font-size:12px}
.genre-chips a{font-size:13px}.cover-author{font-size:11px;letter-spacing:1.7px}.book-cover small{font-size:10px;letter-spacing:1.1px}
.book-info>span{font-size:12px}.book-info p{font-size:13px}.book-stats{font-size:12px}
.update-row p,.update-row .chapter,.update-row time{font-size:12px}.ranking-head button{font-size:12px}.ranking-list p{font-size:11px}.ranking-list b{font-size:12px}.footer-inner p{font-size:12px}
.hero-pagination button{min-width:12px;min-height:12px}.hero-pagination button.active{width:31px}.hero-copy{transition:opacity .18s ease,transform .18s ease}.hero-copy.changing{opacity:.3;transform:translateY(4px)}
@media(max-width:600px){.brand-text small{font-size:9px}.section-heading>a{font-size:12px}.update-row .chapter{font-size:11px}.mobile-nav a,.mobile-nav button{font-size:11px}}

/* Compact synchronized recommendation banner */
.hero{min-height:440px;grid-template-columns:48% 52%}
.hero-copy{padding:34px 24px 34px 36px}
.hero h1{font-size:48px;margin:10px 0 14px}
.hero-description{font-size:15px;line-height:1.65;margin-bottom:14px}
.hero-actions{margin-top:22px}
.hero-pagination{margin-top:24px}
.hero-art{height:370px}
.art-halo{width:300px;height:300px}
.hero-art img{width:90%;height:92%;border-radius:34% 34% 12px 12px / 24% 24% 12px 12px;transition:opacity .25s ease,transform .35s ease}
.hero-art img.changing{opacity:.2;transform:scale(.985)}
.reader-note{bottom:9%}
.continue-section{padding-top:18px}
@media(max-width:900px){.hero{grid-template-columns:1fr;padding-top:12px}.hero-copy{padding:26px 8px 18px}.hero-art{height:340px}.hero h1{font-size:42px}}
@media(max-width:600px){.hero{padding-top:0}.hero-art{height:275px}.hero-copy{padding:22px 24px 30px}.hero h1{font-size:36px}.hero-description{font-size:14px}.hero-actions{margin-top:18px}.hero-pagination{margin-top:20px}}

/* Landscape artwork layout */
.hero{min-height:390px;grid-template-columns:44% 56%;column-gap:28px;padding-block:24px}
.hero-copy{padding:26px 6px 26px 28px}
.hero-art{width:100%;height:auto;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:#f2e3e6;box-shadow:0 18px 45px rgba(83,31,48,.14)}
.hero-art::after,.art-halo,.reader-note{display:none}
.hero-art img{display:block;width:100%;height:100%;border-radius:0;object-fit:cover;object-position:center;box-shadow:none;filter:saturate(.9) contrast(.97)}
@media(max-width:900px){.hero{grid-template-columns:1fr;gap:14px;padding-block:18px}.hero-copy{padding:18px 8px 10px}.hero-art{width:min(100%,700px);aspect-ratio:16/9;height:auto}}
@media(max-width:600px){.hero{padding-top:12px}.hero-art{order:1;width:calc(100% - 32px);height:auto;aspect-ratio:16/9;border-radius:15px}.hero-copy{order:2;padding:18px 24px 28px}}

/* Portrait 3:4 cover layout — matches standard story artwork */
.hero{min-height:420px;grid-template-columns:minmax(0,1fr) 300px;column-gap:64px;padding-block:24px}
.hero-copy{padding:24px 0 24px 34px}
.hero-art{width:270px;height:auto;aspect-ratio:3/4;justify-self:end;border-radius:14px;background:#f2e3e6;box-shadow:0 16px 36px rgba(83,31,48,.16)}
.hero-art img{width:100%;height:100%;object-fit:contain;object-position:center;border-radius:14px}
@media(max-width:900px){.hero{grid-template-columns:minmax(0,1fr) 240px;column-gap:34px;padding-block:20px}.hero-copy{padding:20px 0}.hero-art{width:230px;aspect-ratio:3/4;justify-self:end}}
@media(max-width:600px){.hero{display:grid;grid-template-columns:1fr;gap:16px;padding-block:18px}.hero-art{order:1;width:180px;height:auto;aspect-ratio:3/4;justify-self:center;border-radius:12px}.hero-art img{border-radius:12px}.hero-copy{order:2;display:flex;flex-direction:column;align-items:center;width:100%;padding:0 24px 24px;text-align:center}.story-meta,.hero-actions{justify-content:center}.hero h1{font-size:34px}.hero-actions{margin-top:16px}.hero-pagination{margin-top:18px;justify-content:center}}

/* Theme toggle and story publication state */
.theme-toggle{font-size:20px;line-height:1;transition:background .2s,color .2s,transform .2s}
.theme-toggle:hover{transform:rotate(8deg)}
.story-status{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}
.story-status.is-complete{color:#246044;background:#e3f3e9}
.story-status.is-ongoing{color:#98571c;background:#fff0d7}

html[data-theme="dark"]{color-scheme:dark;--ink:#f5e9ed;--muted:#bcaab1;--wine:#f08eaa;--wine-deep:#ffc0d2;--rose:#e56e92;--blush:#3b222d;--cream:#171015;--line:#44303a;--white:#281c22;--shadow:0 20px 60px rgba(0,0,0,.28)}
html[data-theme="dark"] body{background:var(--cream);color:var(--ink)}
html[data-theme="dark"] .site-header{background:rgba(23,16,21,.92);border-color:var(--line)}
html[data-theme="dark"] .search-panel{background:rgba(23,16,21,.98);border-color:var(--line)}
html[data-theme="dark"] .search-box,
html[data-theme="dark"] .library-button,
html[data-theme="dark"] .circle-button,
html[data-theme="dark"] .continue-card,
html[data-theme="dark"] .genres-strip,
html[data-theme="dark"] .genre-chips a,
html[data-theme="dark"] .arrow-actions button,
html[data-theme="dark"] .ranking-card{background:var(--white);border-color:var(--line)}
html[data-theme="dark"] .search-box input{background:transparent;color:var(--ink)}
html[data-theme="dark"] .avatar,html[data-theme="dark"] footer,html[data-theme="dark"] .toast{background:#0f0a0d}
html[data-theme="dark"] .hero-art{background:#2b2026}
html[data-theme="dark"] .story-meta{color:var(--muted)}
html[data-theme="dark"] .story-status.is-complete{color:#9ee2b8;background:#173627}
html[data-theme="dark"] .story-status.is-ongoing{color:#ffd099;background:#452d18}
html[data-theme="dark"] .ranking-list li{border-color:var(--line)}
html[data-theme="dark"] .mobile-nav{background:rgba(23,16,21,.96);border-color:var(--line)}
html[data-theme="dark"] .skip-link{background:var(--white)}
@media(max-width:600px){.story-meta{flex-wrap:wrap;row-gap:8px}.theme-toggle,.search-toggle{width:38px;height:38px}}

/* Complete story genre directory */
.genres-section{padding:42px 0;background:var(--white)}
.genres-section .genres-inner{display:block;width:min(1180px,calc(100% - 48px));padding-left:0}
.genres-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.genres-heading h2{margin:3px 0 0;font:34px "DM Serif Display"}
.all-genres-link{color:var(--wine);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.all-genres-link span{margin-left:7px;transition:margin .2s}
.all-genres-link:hover span{margin-left:11px}
.genres-section .genre-chips{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;overflow:visible;width:100%}
.genres-section .genre-chips a{min-height:48px;padding:9px 12px;border-radius:13px;background:var(--cream);color:var(--ink);font-size:13px;font-weight:600;text-align:center;transition:transform .2s,border-color .2s,background .2s,color .2s}
.genres-section .genre-chips a:hover{transform:translateY(-2px)}
html[data-theme="dark"] .genres-section{background:var(--white)}
html[data-theme="dark"] .genres-section .genre-chips a{background:var(--cream);border-color:var(--line)}
@media(max-width:900px){.genres-section .genres-inner{width:min(100% - 32px,700px);padding-left:0}.genres-section .genre-chips{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.genres-section{padding:34px 0}.genres-heading{align-items:flex-start;margin-bottom:20px}.genres-heading h2{font-size:30px}.all-genres-link{font-size:12px;white-space:normal;text-align:right;max-width:112px}.genres-section .genre-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.genres-section .genre-chips a{min-height:46px;font-size:13px}}

/* Nine-image recommendation grid */
.recommendations .book-grid{grid-template-columns:repeat(5,194px);justify-content:space-between;gap:34px 24px}
.recommendations .book-card{min-width:0}
.recommendations .book-cover{width:100%;aspect-ratio:194/284;padding:0;border-radius:10px;background:var(--blush)}
.recommendations .book-cover::after{display:none}
.recommendations .book-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit;transition:transform .35s}
.recommendations .book-card:hover .book-cover{transform:translateY(-5px)}
.recommendations .book-card:hover .book-cover img{transform:scale(1.025)}
.cover-state{position:absolute;left:8px;bottom:8px;z-index:2;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:700;box-shadow:0 3px 12px rgba(0,0,0,.16)}
.cover-state.is-full{color:#215b3e;background:rgba(229,248,236,.94)}
.cover-state.is-ongoing{color:#8b4a12;background:rgba(255,239,210,.94)}
.recommendations .book-info h3{min-height:44px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45}
html[data-theme="dark"] .recommendations .book-cover{background:#2b2026}
@media(max-width:1000px){.recommendations .book-grid{grid-template-columns:repeat(3,minmax(0,194px));justify-content:space-evenly}}
@media(max-width:600px){.recommendations .book-grid{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;gap:24px 10px}.recommendations .book-cover{border-radius:8px}.recommendations .book-fav{right:5px;top:5px;width:29px;height:29px;font-size:16px}.cover-state{left:5px;bottom:5px;padding:2px 6px;font-size:9px}.recommendations .book-info>span{font-size:10px;margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recommendations .book-info h3{min-height:38px;margin-top:3px;font-size:12px;line-height:1.45}.recommendations .book-info p{display:none}.recommendations .book-stats{font-size:10px;gap:3px}.recommendations .book-stats span:last-child{display:none}}

/* Image-first latest updates catalog */
.updates-ranking{grid-template-columns:1fr;gap:44px}
.updates-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.update-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:15px;align-items:center;padding:10px;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 24px rgba(60,20,34,.04)}
.update-cover{position:relative;width:72px;aspect-ratio:194/284;overflow:hidden;border-radius:8px;background:var(--blush)}
.update-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.update-cover .cover-state{left:4px;bottom:4px;padding:2px 5px;font-size:8px}
.update-copy{min-width:0}
.update-row h3{margin:0;font-size:14px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.update-row p{margin:4px 0 10px;font-size:12px;color:var(--muted)}
.update-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}
.update-row .chapter{padding:4px 8px;font-size:11px;white-space:nowrap}
.update-row time{font-size:11px;color:var(--muted);text-align:right;white-space:nowrap}
html[data-theme="dark"] .update-row{background:var(--white);border-color:var(--line)}
@media(max-width:700px){.updates-catalog{grid-template-columns:1fr}.update-row{grid-template-columns:62px minmax(0,1fr);gap:13px;padding:9px}.update-cover{width:62px}.update-row h3{font-size:13px}.update-row p{margin:3px 0 8px;font-size:11px}.update-row .chapter,.update-row time{font-size:10px}.update-cover .cover-state{font-size:7px}}

/* Ranking and completed stories share one balanced row */
.bottom-story-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
.bottom-story-row .ranking-card,.completed-card{height:100%}
.completed-card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:26px 28px;box-shadow:0 14px 35px rgba(63,24,36,.05)}
.completed-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:17px}
.completed-head h2{margin:3px 0 0;font:30px "DM Serif Display"}
.completed-head a{color:var(--wine);font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.completed-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.completed-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;align-items:center;min-width:0;padding:9px;border:1px solid var(--line);border-radius:12px;background:var(--cream)}
.completed-cover{position:relative;width:58px;aspect-ratio:194/284;overflow:hidden;border-radius:7px;background:var(--blush)}
.completed-cover img{display:block;width:100%;height:100%;object-fit:cover}
.completed-cover span{position:absolute;left:4px;bottom:4px;padding:1px 5px;border-radius:999px;background:rgba(229,248,236,.94);color:#215b3e;font-size:8px;font-weight:700}
.completed-item h3{margin:0;font-size:12px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.completed-item p{margin:4px 0 2px;color:var(--muted);font-size:10px}
.completed-item small{color:#b77827;font-size:9px}
html[data-theme="dark"] .completed-card{background:var(--white);border-color:var(--line)}
html[data-theme="dark"] .completed-item{background:var(--cream);border-color:var(--line)}
html[data-theme="dark"] .completed-cover span{color:#9ee2b8;background:#173627}
@media(max-width:900px){.bottom-story-row{gap:18px}.completed-card{padding:22px 20px}.completed-list{grid-template-columns:1fr}.completed-item{grid-template-columns:52px minmax(0,1fr)}.completed-cover{width:52px}}
@media(max-width:700px){.bottom-story-row{grid-template-columns:1fr}.bottom-story-row .ranking-card{order:1}.bottom-story-row .completed-card{order:2}.completed-list{grid-template-columns:1fr 1fr}.completed-item{grid-template-columns:48px minmax(0,1fr);padding:8px}.completed-cover{width:48px}.completed-head h2{font-size:27px}}
@media(max-width:430px){.completed-list{grid-template-columns:1fr}.completed-item{grid-template-columns:56px minmax(0,1fr)}.completed-cover{width:56px}}

/* Polished top-ten ranking and balanced completed list */
.ranking-list li{grid-template-columns:38px minmax(0,1fr) 30px;gap:10px;min-height:50px;padding:8px 0}
.ranking-list li>span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--blush);color:var(--wine);font:700 13px "Be Vietnam Pro";box-shadow:inset 0 0 0 1px var(--line)}
.ranking-list li:nth-child(1)>span{background:linear-gradient(145deg,#ffd96a,#dca62c);color:#5c3a00;box-shadow:0 5px 14px rgba(190,139,28,.25)}
.ranking-list li:nth-child(2)>span{background:linear-gradient(145deg,#f5f7fa,#b9c0cb);color:#4f5966;box-shadow:0 5px 14px rgba(94,105,120,.18)}
.ranking-list li:nth-child(3)>span{background:linear-gradient(145deg,#e7ad7c,#b66d3e);color:#fff8f1;box-shadow:0 5px 14px rgba(148,79,38,.2)}
.ranking-list li>div{min-width:0}
.ranking-list h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ranking-list li>b{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:var(--cream);color:var(--wine);font-size:11px}
.completed-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.completed-item{grid-template-columns:58px minmax(0,1fr);min-height:92px;padding:7px}
.completed-cover{width:58px}
html[data-theme="dark"] .ranking-list li>span{box-shadow:inset 0 0 0 1px var(--line)}
html[data-theme="dark"] .ranking-list li:nth-child(-n+3)>span{box-shadow:0 5px 14px rgba(0,0,0,.24)}
@media(max-width:900px){.completed-list{grid-template-columns:repeat(2,minmax(0,1fr))}.completed-item{grid-template-columns:48px minmax(0,1fr);min-height:88px}.completed-cover{width:48px}.completed-item small{display:none}}
@media(max-width:700px){.ranking-list li{grid-template-columns:36px minmax(0,1fr) 28px}.completed-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.completed-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.completed-item{grid-template-columns:42px minmax(0,1fr);gap:8px;min-height:82px;padding:6px}.completed-cover{width:42px}.completed-item h3{font-size:11px}.completed-item p{font-size:9px}}

/* Full-width ranking and completed story blocks */
.bottom-story-row{grid-template-columns:1fr;gap:30px}
.ranking-card{padding:32px 34px}
.ranking-head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:16px;margin-bottom:20px}
.ranking-head>span,.ranking-head>h2{grid-column:1}
.ranking-head>div{grid-column:2;grid-row:1/3;margin:0;align-self:end}
.ranking-head h2{font-size:36px;margin-top:2px}
.ranking-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin-top:0}
.ranking-list li{grid-template-columns:38px 54px minmax(0,1fr) 36px;gap:12px;min-height:96px;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:var(--cream)}
.ranking-list li>span.rank-number{width:30px;height:30px}
.rank-cover{width:54px;aspect-ratio:194/284;overflow:hidden;border-radius:7px;background:var(--blush)}
.rank-cover img{display:block;width:100%;height:100%;object-fit:cover}
.rank-copy{min-width:0}
.rank-copy h3{margin:0;font-size:14px}
.rank-copy p{margin:3px 0 8px;font-size:11px}
.rank-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rank-meta span{color:var(--wine);font-size:11px;font-weight:700}
.ranking-list .rank-meta b{display:inline-flex;width:auto;height:auto;padding:2px 6px;border-radius:6px;background:#e3f3e9;color:#246044;font-size:9px;font-weight:700}
.ranking-list .rank-meta b.down{background:#fbe4e8;color:#9c3e55}
.rank-fav{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--wine);font-size:18px}
.rank-fav.active{background:var(--wine);border-color:var(--wine);color:#fff}
.completed-card{padding:30px 32px}
.completed-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.completed-item{grid-template-columns:58px minmax(0,1fr);min-height:98px;padding:8px}
html[data-theme="dark"] .ranking-list li{background:var(--cream);border-color:var(--line)}
html[data-theme="dark"] .ranking-list .rank-meta b{background:#173627;color:#9ee2b8}
html[data-theme="dark"] .ranking-list .rank-meta b.down{background:#45222d;color:#f1a3b8}
html[data-theme="dark"] .rank-fav{background:var(--white);border-color:var(--line)}
@media(max-width:1000px){.completed-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ranking-card,.completed-card{padding:24px 20px}.ranking-list{grid-template-columns:1fr}.ranking-head h2{font-size:31px}.completed-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.ranking-card,.completed-card{padding:21px 16px}.ranking-head{grid-template-columns:1fr}.ranking-head>div{grid-column:1;grid-row:auto}.ranking-list li{grid-template-columns:32px 48px minmax(0,1fr) 32px;gap:8px;min-height:88px;padding:7px}.rank-cover{width:48px}.rank-copy h3{font-size:12px}.rank-copy p,.rank-meta span{font-size:10px}.rank-fav{width:30px;height:30px}.completed-list{grid-template-columns:1fr 1fr}}

/* Large completed-story showcase, matching the recommendation catalog */
.completed-card.completed-showcase{height:auto;padding:42px 0 0;background:transparent;border:0;border-radius:0;box-shadow:none}
.completed-showcase .completed-head{margin-bottom:28px}
.completed-showcase .completed-head h2{font-size:35px}
.completed-showcase .completed-head a{font-size:13px}
.completed-showcase .completed-list{grid-template-columns:repeat(5,194px);justify-content:space-between;gap:34px 24px}
.completed-showcase .completed-item{display:block;min-height:0;padding:0;border:0;border-radius:0;background:transparent}
.completed-showcase .completed-cover{width:100%;aspect-ratio:194/284;border-radius:10px;box-shadow:0 16px 30px rgba(52,24,31,.13);transition:transform .3s}
.completed-showcase .completed-cover img{object-position:center;transition:transform .35s}
.completed-showcase .completed-cover span{left:8px;bottom:8px;padding:3px 8px;font-size:10px;box-shadow:0 3px 12px rgba(0,0,0,.16)}
.completed-showcase .completed-item:hover .completed-cover{transform:translateY(-5px)}
.completed-showcase .completed-item:hover .completed-cover img{transform:scale(1.025)}
.completed-info>span{display:block;margin-top:16px;color:var(--wine);font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.completed-showcase .completed-info h3{min-height:44px;margin:4px 0 2px;font-size:15px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.completed-showcase .completed-info p{margin:0;color:var(--muted);font-size:13px}
.completed-info>div{display:flex;justify-content:space-between;gap:8px;margin-top:8px;color:var(--muted);font-size:12px}
.completed-info b{color:#b77827;font-weight:500}
.completed-showcase .completed-info small{color:var(--muted);font-size:12px}
html[data-theme="dark"] .completed-card.completed-showcase,html[data-theme="dark"] .completed-showcase .completed-item{background:transparent;border-color:transparent}
@media(max-width:1000px){.completed-showcase .completed-list{grid-template-columns:repeat(3,minmax(0,194px));justify-content:space-evenly}}
@media(max-width:760px){.completed-card.completed-showcase{padding:36px 0 0}}
@media(max-width:600px){.completed-card.completed-showcase{padding:28px 0 0}.completed-showcase .completed-list{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;gap:24px 10px}.completed-showcase .completed-cover{border-radius:8px}.completed-showcase .completed-cover span{left:5px;bottom:5px;padding:2px 6px;font-size:9px}.completed-info>span{margin-top:10px;font-size:10px}.completed-showcase .completed-info h3{min-height:38px;margin-top:3px;font-size:12px}.completed-showcase .completed-info p{display:none}.completed-info>div{font-size:10px;gap:3px}.completed-showcase .completed-info small{font-size:10px}}

/* Refined account, theme and menu controls */
.site-header{overflow:visible}
.header-inner{position:relative;width:min(1360px,calc(100% - 40px));gap:24px}
.header-actions{height:44px;gap:8px}
.header-topup-link{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:112px;height:44px;flex:0 0 auto;padding:0 14px 0 11px;border:1px solid rgba(183,120,39,.28);border-radius:23px;background:linear-gradient(145deg,#fff9e8,#f7dfab);color:#9c651c;text-decoration:none;box-shadow:0 5px 16px rgba(140,91,26,.1);transition:transform .2s,border-color .2s,box-shadow .2s}
.header-topup-link::after{content:"+";position:absolute;right:-2px;top:-2px;display:grid;place-items:center;width:17px;height:17px;border:2px solid var(--cream);border-radius:50%;background:var(--wine);color:#fff;font:700 11px/1 "Be Vietnam Pro",sans-serif}
.header-topup-link svg{width:23px;height:23px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.header-topup-link>span{font-size:12px;font-weight:700;line-height:1;white-space:nowrap}.header-topup-link:hover,.header-topup-link.active{transform:translateY(-1px);border-color:#c68b35;box-shadow:0 8px 20px rgba(140,91,26,.17)}
.search-toggle{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--ink);box-shadow:0 5px 16px rgba(83,31,48,.06);transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}
.search-toggle svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.search-toggle:hover{border-color:var(--line);background:var(--white);color:var(--wine)}
.theme-toggle{height:44px;padding:4px 12px 4px 5px;border:1px solid var(--line);border-radius:24px;background:var(--white);display:flex;align-items:center;gap:9px;color:var(--ink);box-shadow:0 5px 16px rgba(83,31,48,.06);transition:transform .2s,border-color .2s,box-shadow .2s}
.theme-toggle:hover{transform:translateY(-1px);border-color:rgba(143,41,72,.35);box-shadow:0 8px 20px rgba(83,31,48,.1)}
.theme-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(145deg,#fff2cc,#ffd477);color:#7d5015;font-size:18px;line-height:1;box-shadow:inset 0 0 0 1px rgba(155,100,21,.12)}
.theme-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.05}
.theme-copy small{color:var(--muted);font-size:9px;font-weight:600}
.theme-copy b{margin-top:3px;font-size:11px}
.auth-actions{display:flex;align-items:center;gap:5px;margin-left:3px}
.auth-actions a,.auth-actions button{height:42px;padding:0 13px;border:0;border-radius:22px;background:transparent;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:13px;font-weight:650;white-space:nowrap;transition:background .2s,color .2s,transform .2s}
.login-button{color:var(--wine)}
.login-button:hover{background:var(--blush)}
.register-button{background:var(--wine);color:#fff;box-shadow:0 8px 18px rgba(143,41,72,.18)}
.register-button:hover{background:var(--wine-deep);transform:translateY(-1px)}
.auth-actions .profile-shortcut{width:42px;padding:0;border:2px solid rgba(143,41,72,.14);border-radius:50%;background:linear-gradient(145deg,var(--wine),var(--wine-deep));color:#fff;font-size:11px;letter-spacing:.04em;box-shadow:0 7px 18px rgba(143,41,72,.18)}
.auth-actions .profile-shortcut:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(143,41,72,.25)}
.user-access{position:relative;flex:0 0 auto}.user-access-toggle{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--wine);box-shadow:0 5px 16px rgba(83,31,48,.07);transition:transform .2s,border-color .2s,background .2s,color .2s}.user-access-toggle:hover,.user-access.open .user-access-toggle{transform:translateY(-1px);border-color:rgba(143,41,72,.35);background:var(--blush)}.user-access-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.user-access.is-authenticated .user-access-toggle{border-color:transparent;background:linear-gradient(145deg,var(--wine),var(--wine-deep));color:#fff}.user-access.is-authenticated .user-access-toggle::after{content:"";position:absolute;right:1px;bottom:1px;width:9px;height:9px;border:2px solid var(--cream);border-radius:50%;background:#3aa76d}.user-access-menu{position:absolute;right:0;top:calc(100% + 12px);z-index:80;width:190px;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--white);box-shadow:0 18px 45px rgba(48,20,30,.18)}.user-access-menu[hidden]{display:none}.user-access-menu::before{content:"";position:absolute;right:14px;top:-6px;width:10px;height:10px;border-left:1px solid var(--line);border-top:1px solid var(--line);background:var(--white);transform:rotate(45deg)}.user-access-menu strong{display:block;padding:5px 8px 9px;color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase}.user-access-menu a{display:flex;align-items:center;justify-content:center;min-height:40px;margin-top:5px;border-radius:11px;background:var(--blush);color:var(--wine);text-decoration:none;font-size:12px;font-weight:700}.user-access-menu .user-register-link{background:var(--wine);color:#fff}
html[data-theme="dark"] .theme-toggle{background:var(--white);border-color:var(--line)}
html[data-theme="dark"] .header-topup-link{border-color:#66502d;background:linear-gradient(145deg,#3b3020,#282117);color:#f4cd82}
html[data-theme="dark"] .theme-icon{background:linear-gradient(145deg,#392a52,#191127);color:#e7d8ff;box-shadow:inset 0 0 0 1px rgba(225,207,255,.13)}
@media(max-width:1180px){.main-nav{gap:18px}.main-nav a{font-size:12px}.theme-copy{display:none}.theme-toggle{width:44px;padding:4px;justify-content:center}.auth-actions a{padding-inline:10px}}
@media(max-width:900px){.auth-actions{display:none}}
@media(max-width:600px){.header-inner{width:calc(100% - 24px);gap:8px}.brand-text small{display:none}.header-actions{height:40px;gap:6px}.search-toggle,.theme-toggle{width:40px;height:40px;flex-basis:40px;padding:3px;justify-content:center}.header-topup-link{min-width:0;width:auto;height:40px;flex-basis:auto;padding:3px 10px 3px 8px;gap:5px;border-radius:21px}.search-toggle svg{width:21px;height:21px}.header-topup-link svg{width:20px;height:20px}.header-topup-link>span{font-size:11px}.header-topup-link::after{right:-1px;top:-3px;width:16px;height:16px;font-size:10px}.theme-icon{width:32px;height:32px;font-size:16px}}
@media(max-width:360px){.brand-text{font-size:20px}.header-actions{gap:4px}.header-topup-link{padding-inline:7px}.header-topup-link>span{font-size:10px}}
.user-access-menu button{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;margin-top:5px;border:0;border-radius:11px;background:var(--blush);color:var(--wine);font:700 12px "Be Vietnam Pro"}.user-access-menu button.user-register-link{background:var(--wine);color:#fff}
@media(max-width:600px){.user-access-toggle{width:40px;height:40px}.user-access-menu{position:fixed;top:72px;right:12px;width:min(220px,calc(100vw - 24px))}}

/* Complete responsive footer */
.site-footer{position:relative;overflow:hidden;margin-top:24px;padding:64px 0 0;background:#24171d;color:#fff}
.site-footer::before{content:"";position:absolute;right:-140px;top:-170px;width:390px;height:390px;border:1px solid rgba(255,255,255,.07);border-radius:50%;box-shadow:0 0 0 48px rgba(255,255,255,.025),0 0 0 96px rgba(255,255,255,.018);pointer-events:none}
.footer-main{position:relative;display:grid;grid-template-columns:minmax(260px,1.55fr) repeat(3,minmax(145px,1fr));gap:54px;padding-bottom:48px}
.footer-intro{max-width:350px}
.footer-brand{width:max-content}
.footer-brand .brand-mark{width:46px;height:46px;background:#fff;color:var(--wine);box-shadow:none}
.footer-brand .brand-text{color:#fff;font-size:27px}
.footer-brand .brand-text small{margin-top:7px;color:#cbbcc2;font-size:9px;letter-spacing:1.35px}
.footer-intro>p{margin:24px 0 20px;color:#cbbcc2;font-size:13px;line-height:1.8}
.footer-social{display:flex;gap:9px}
.footer-social a{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.16);border-radius:50%;color:#fff;text-decoration:none;font-size:15px;font-weight:700;transition:transform .2s,background .2s,border-color .2s}
.footer-social a:hover{transform:translateY(-2px);background:var(--wine);border-color:var(--wine)}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.footer-column h2{position:relative;margin:3px 0 12px;padding-bottom:12px;color:#fff;font-size:14px;font-weight:700}
.footer-column h2::after{content:"";position:absolute;left:0;bottom:0;width:28px;height:2px;border-radius:2px;background:var(--rose)}
.footer-column a{color:#cbbcc2;font-size:12px;text-decoration:none;transition:color .2s,transform .2s}
.footer-column a:hover{color:#fff;transform:translateX(3px)}
.footer-bottom{position:relative;min-height:72px;border-top:1px solid rgba(255,255,255,.1);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.site-footer .footer-bottom p{margin:0;color:#aFA0a6;font-size:11px}
.footer-note{justify-self:center;letter-spacing:.2px}
.footer-note span{margin-right:5px;color:#e9819e}
.back-to-top{justify-self:end;color:#d9cbd0;font-size:11px;font-weight:600;text-decoration:none;transition:color .2s}
.back-to-top span{display:inline-grid;place-items:center;width:28px;height:28px;margin-left:7px;border:1px solid rgba(255,255,255,.18);border-radius:50%;transition:background .2s,border-color .2s}
.back-to-top:hover{color:#fff}.back-to-top:hover span{background:var(--wine);border-color:var(--wine)}
.footer-signature{justify-self:end;color:#afa0a6;font-size:11px}
html[data-theme="dark"] .site-footer{background:#0f0a0d}
@media(max-width:900px){.footer-main{grid-template-columns:1.4fr repeat(2,1fr);gap:42px 34px}.footer-column:last-child{grid-column:2/4}.footer-bottom{grid-template-columns:1fr auto}.footer-note{display:none}}
@media(max-width:600px){.site-footer{margin-top:10px;padding-top:44px}.footer-main{grid-template-columns:1fr 1fr;gap:36px 24px;padding-bottom:36px}.footer-intro{grid-column:1/-1;max-width:100%}.footer-intro>p{max-width:430px;margin:20px 0 18px}.footer-column:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}.footer-column:last-child h2{grid-column:1/-1}.footer-bottom{min-height:96px;grid-template-columns:1fr auto;gap:14px}.site-footer .footer-bottom p{max-width:190px;line-height:1.6}.back-to-top{font-size:0}.back-to-top span{margin:0;font-size:13px}}

/* Floating back-to-top control */
.back-to-top-button{position:fixed;right:26px;bottom:26px;z-index:85;width:54px;height:54px;padding:0;border:1px solid rgba(143,41,72,.18);border-radius:18px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);display:grid;place-items:center;color:var(--wine);box-shadow:0 14px 34px rgba(63,24,36,.18);opacity:0;visibility:hidden;transform:translateY(14px) scale(.92);transition:opacity .22s,transform .22s,visibility .22s,background .2s,color .2s}
.back-to-top-button.visible{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.back-to-top-button span{font-size:21px;line-height:1;transform:translateY(4px)}
.back-to-top-button small{font-size:8px;font-weight:700;transform:translateY(-3px)}
.back-to-top-button:hover{background:var(--wine);color:#fff;transform:translateY(-3px) scale(1)}
html[data-theme="dark"] .back-to-top-button{background:rgba(40,28,34,.94);border-color:var(--line);color:var(--wine-deep)}
html[data-theme="dark"] .back-to-top-button:hover{background:var(--wine);color:#171015}
@media(max-width:600px){.footer-signature{display:none}.back-to-top-button{right:14px;bottom:79px;width:46px;height:46px;border-radius:15px}.back-to-top-button span{font-size:19px;transform:translateY(3px)}.back-to-top-button small{font-size:7px;transform:translateY(-3px)}}

/* Accessible sign-in dialog */
body.modal-open{overflow:hidden}
.login-modal{position:fixed;inset:0;z-index:180;display:grid;place-items:center;padding:24px}
.login-modal[hidden]{display:none}
.login-backdrop{position:absolute;inset:0;background:rgba(31,18,24,.62);backdrop-filter:blur(7px);opacity:0;transition:opacity .18s}
.login-dialog{position:relative;width:min(460px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow-y:auto;overflow-x:hidden;padding:32px;border:1px solid var(--line);border-radius:24px;background:var(--white);color:var(--ink);box-shadow:0 30px 80px rgba(28,12,19,.3);opacity:0;transform:translateY(18px) scale(.97);transition:opacity .18s,transform .18s}
.login-modal.open .login-backdrop,.login-modal.open .login-dialog{opacity:1}
.login-modal.open .login-dialog{transform:translateY(0) scale(1)}
.login-close{position:absolute;right:16px;top:16px;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--cream);color:var(--muted);font-size:23px;line-height:1;transition:background .2s,color .2s,transform .2s}
.login-close:hover{background:var(--blush);color:var(--wine);transform:rotate(5deg)}
.login-brand{display:grid;place-items:center;width:50px;height:50px;margin-bottom:18px;border-radius:50%;background:var(--wine);color:#fff;font:italic 29px "DM Serif Display";box-shadow:0 10px 22px rgba(143,41,72,.2)}
.auth-view{width:100%;min-width:0}
.auth-view[hidden]{display:none}
.login-dialog h2{margin:5px 0 7px;font:34px/1.15 "DM Serif Display"}
.auth-description{margin:0 0 22px;color:var(--muted);font-size:13px;line-height:1.7}
.google-login{width:100%;min-height:58px;padding:0 22px;border:1px solid #d9dce1;border-radius:15px;background:#fff;display:flex;align-items:center;justify-content:center;gap:14px;color:#2b2f33;font-size:15px;font-weight:700;letter-spacing:.01em;box-shadow:0 7px 20px rgba(38,47,61,.08);transition:border-color .2s,background .2s,transform .2s,box-shadow .2s}
.google-login:hover{transform:translateY(-2px);border-color:rgba(66,133,244,.6);background:#f8fbff;box-shadow:0 11px 25px rgba(66,133,244,.14)}
.google-login:focus-visible{outline:3px solid rgba(66,133,244,.24);outline-offset:2px}
.google-logo{flex:0 0 auto;width:27px;height:27px;background:#fff;border-radius:50%}
.login-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--muted);font-size:10px;white-space:nowrap}
.login-divider::before,.login-divider::after{content:"";height:1px;flex:1;background:var(--line)}
.login-form{display:flex;width:100%;min-width:0;flex-direction:column}
.login-form>label,.password-label label{margin-bottom:6px;color:var(--ink);font-size:12px;font-weight:700}
.login-form>label:not(:first-child){margin-top:15px}
.login-form>input,.password-field input{display:block;width:100%;min-width:0;max-width:100%;height:48px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--cream);color:var(--ink);font-size:14px;outline:0;transition:border-color .2s,box-shadow .2s}
.login-form>input:focus,.password-field input:focus{border-color:var(--wine);box-shadow:0 0 0 3px rgba(143,41,72,.1)}
.login-form input::placeholder{color:#aa999f}
.password-label{display:flex;align-items:center;justify-content:space-between;margin-top:15px}
.password-label a,.password-label button{margin-bottom:6px;padding:0;border:0;background:transparent;color:var(--wine);font-size:10px;font-weight:600;text-decoration:none}
.password-field{position:relative;width:100%;min-width:0}
.password-field input{padding-right:52px}
.password-field input[aria-invalid="true"]{border-color:#c63e5b;box-shadow:0 0 0 3px rgba(198,62,91,.1)}
.password-toggle{position:absolute;top:50%;right:8px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--muted);transform:translateY(-50%);transition:background .2s,color .2s}
.password-toggle:hover{background:var(--blush);color:var(--wine)}
.password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.password-toggle .eye-closed,.password-toggle.showing .eye-open{display:none}
.password-toggle.showing .eye-closed{display:block}
.form-error{min-height:18px;margin:7px 2px 0;color:#b52e4b;font-size:11px;line-height:1.45}
.remember-login{display:flex;align-items:center;gap:7px;margin:13px 0 18px!important;color:var(--muted)!important;font-size:11px!important;font-weight:500!important}
.remember-login input{width:16px;height:16px;accent-color:var(--wine)}
.terms-check{align-items:flex-start;line-height:1.45}
.recaptcha-box{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) 76px;align-items:center;gap:10px;width:100%;min-height:72px;margin:0 0 18px;padding:10px 12px;border:1px solid #d7d7d7;border-radius:4px;background:#fafafa;color:#202124;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.recaptcha-box>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.recaptcha-check{display:grid;place-items:center;width:28px;height:28px;border:2px solid #666;border-radius:3px;background:#fff;color:transparent;font-size:19px;font-weight:800;transition:border-color .18s,background .18s,color .18s,transform .18s}
.recaptcha-box:hover .recaptcha-check{border-color:#4285f4}
.recaptcha-box>input:focus-visible+.recaptcha-check{outline:3px solid rgba(66,133,244,.28);outline-offset:2px}
.recaptcha-box>input:checked+.recaptcha-check{border-color:#34a853;background:#34a853;color:#fff;transform:scale(.94)}
.recaptcha-copy{min-width:0;font-size:14px;font-weight:500;line-height:1.35}
.recaptcha-brand{display:grid;justify-items:center;align-content:center;color:#555;line-height:1;text-align:center}
.recaptcha-brand svg{width:31px;height:31px;margin-bottom:2px}.captcha-blue{fill:#4285f4}.captcha-grey{fill:#9aa0a6}
.recaptcha-brand small{font-size:9px;font-weight:700}.recaptcha-brand em{margin-top:3px;font-size:6px;font-style:normal;white-space:nowrap}
.login-submit{height:50px;border:0;border-radius:13px;background:var(--wine);color:#fff;font-size:14px;font-weight:700;box-shadow:0 10px 22px rgba(143,41,72,.2);transition:background .2s,transform .2s}
.login-submit:hover{background:var(--wine-deep);transform:translateY(-1px)}
.login-dialog .login-register{margin:19px 0 0;text-align:center;font-size:11px}
.login-register a,.login-register button{padding:0;border:0;background:transparent;color:var(--wine);font-weight:700;text-decoration:none}
html[data-theme="dark"] .login-backdrop{background:rgba(5,3,4,.72)}
html[data-theme="dark"] .google-login{background:#fff;border-color:#d9dce1;color:#202124}
html[data-theme="dark"] .login-form>input,html[data-theme="dark"] .password-field input{background:var(--cream);border-color:var(--line)}
html[data-theme="dark"] .recaptcha-box{border-color:#555;background:#f5f5f5;color:#202124}
@media(max-width:520px){.login-modal{align-items:end;padding:0}.login-dialog{width:100%;max-height:94vh;padding:30px 22px 26px;border-radius:24px 24px 0 0;transform:translateY(30px)}.login-dialog h2{font-size:30px}.login-brand{width:44px;height:44px;font-size:25px;margin-bottom:14px}.auth-description{margin-bottom:18px}.google-login{min-height:54px;font-size:14px}.google-logo{width:25px;height:25px}.login-submit{height:48px}.login-form>input,.password-field input{height:46px;font-size:16px}.recaptcha-box{grid-template-columns:28px minmax(0,1fr) 68px;min-height:68px;padding:8px 10px;gap:8px}.recaptcha-check{width:26px;height:26px}.recaptcha-copy{font-size:13px}.recaptcha-brand svg{width:28px;height:28px}}

/* Clickable story blocks */
.story-link-card{position:relative}
.story-link{position:absolute;inset:0;z-index:1;border-radius:inherit;text-decoration:none}
.story-link:focus-visible{outline:3px solid rgba(143,41,72,.38);outline-offset:3px}
.story-link-card button{z-index:2}
.story-link-card a:not(.story-link){position:relative;z-index:2}
.story-link-card:hover h3{color:var(--wine)}
.story-link-card h3{transition:color .2s}

/* Featured slider controls */
.hero-slide-arrow{position:absolute;top:50%;z-index:7;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid rgba(143,41,72,.16);border-radius:50%;background:rgba(255,255,255,.9);color:var(--wine);box-shadow:0 10px 26px rgba(83,31,48,.16);backdrop-filter:blur(10px);transform:translateY(-50%);transition:background .2s,color .2s,box-shadow .2s,transform .2s}
.hero-slide-prev{left:-23px}
.hero-slide-next{right:-23px}
.hero-slide-arrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hero-slide-arrow:hover{background:var(--wine);color:#fff;box-shadow:0 14px 30px rgba(143,41,72,.28);transform:translateY(-50%) scale(1.06)}
.hero-slide-arrow:active{transform:translateY(-50%) scale(.96)}
.hero-slide-arrow:focus-visible{outline:3px solid rgba(143,41,72,.28);outline-offset:3px}
html[data-theme="dark"] .hero-slide-arrow{border-color:rgba(255,255,255,.12);background:rgba(43,32,38,.9);color:#f4cbd5}
html[data-theme="dark"] .hero-slide-arrow:hover{background:var(--wine);color:#fff}
@media(max-width:900px){.hero-slide-prev{left:-18px}.hero-slide-next{right:-18px}}
@media(max-width:600px){.hero-slide-arrow{top:153px;width:40px;height:40px}.hero-slide-arrow svg{width:21px;height:21px}.hero-slide-prev{left:calc(50% - 120px)}.hero-slide-next{right:calc(50% - 120px)}}
@media(max-width:360px){.hero-slide-prev{left:calc(50% - 110px)}.hero-slide-next{right:calc(50% - 110px)}}

/* Readable story-title scale across devices */
.book-info h3{font-size:17px;line-height:1.45;font-weight:700}
.recommendations .book-info h3{font-size:16px;line-height:1.45}
.update-row h3{font-size:16px;line-height:1.45;font-weight:700}
.rank-copy h3,.ranking-list h3{font-size:15px;line-height:1.4;font-weight:700}
.completed-showcase .completed-info h3{font-size:16px;line-height:1.45;font-weight:700}
.continue-info h3{font-size:17px;line-height:1.4;font-weight:700}
@media(max-width:900px){.book-info h3{font-size:16px}.recommendations .book-info h3{font-size:15px}.update-row h3{font-size:15px}.rank-copy h3,.ranking-list h3{font-size:14px}.completed-showcase .completed-info h3{font-size:15px}}
@media(max-width:600px){.hero h1{font-size:38px;line-height:1.08}.continue-info h3{font-size:16px}.recommendations .book-info h3{min-height:41px;font-size:13px;line-height:1.55}.update-row h3{font-size:15px}.rank-copy h3,.ranking-list h3{font-size:14px}.completed-showcase .completed-info h3{min-height:41px;font-size:13px;line-height:1.55}}

/* Hồng Truyện — responsive brand and narrow-screen fit */
html,body{width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip}
img,video,iframe{max-width:100%}
.header-inner,.header-actions,.brand,.brand-text{min-width:0}
.brand-text{white-space:nowrap}
@media(max-width:700px){
  .site-header{width:100%}
  .header-inner{width:calc(100% - 20px);height:66px;gap:7px}
  .site-header .brand{gap:7px;max-width:calc(100% - 170px)}
  .brand-mark{width:34px;height:34px;flex:0 0 34px;font-size:20px}
  .brand-text{overflow:hidden;font-size:20px;line-height:1.05;text-overflow:ellipsis}
  .brand-text small{display:none}
  .header-actions{flex:0 0 auto;height:38px;gap:5px}
  .header-topup-link{width:38px;min-width:38px;height:38px;flex-basis:38px;padding:0;border-radius:50%}
  .header-topup-link>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .header-topup-link svg{width:20px;height:20px}
  .search-toggle,.theme-toggle,.user-access-toggle{width:38px;height:38px;flex-basis:38px;padding:2px}
  .theme-icon{width:30px;height:30px}
  .reader-library-link,.story-library-link,.genre-library-link,.topup-library-link,.library-home-link{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--white);font-size:18px}
  .search-panel{top:66px;padding:14px 12px}
  .search-box{width:100%;height:48px;padding:0 14px}
  .search-box kbd{display:none}
  .shell{width:min(100% - 28px,700px)}
  .hero-copy{max-width:100%;padding-inline:18px}
  .hero-actions{max-width:100%;flex-wrap:wrap}
  .section-heading,.genres-heading,.completed-head{max-width:100%;gap:12px}
  .login-dialog{max-width:100%;overflow-x:hidden}
  .mobile-nav{width:100%;max-width:100%}
}
@media(max-width:380px){
  .header-inner{width:calc(100% - 16px);gap:5px}
  .site-header .brand{max-width:calc(100% - 124px);gap:6px}
  .brand-mark{width:32px;height:32px;flex-basis:32px;font-size:19px}
  .brand-text{font-size:18px}
  .header-actions{gap:4px}
  .header-actions .theme-toggle{display:none}
  .header-topup-link,.search-toggle,.user-access-toggle,.reader-library-link,.story-library-link,.genre-library-link,.topup-library-link,.library-home-link{width:36px;min-width:36px;height:36px;flex-basis:36px}
  .shell{width:calc(100% - 22px)}
  .hero h1{font-size:32px}
  .primary-button{padding-inline:18px}
  .recommendations .book-grid,.completed-showcase .completed-list{gap-inline:7px}
  .ranking-card,.completed-card{padding-inline:13px}
  .footer-main{gap-inline:18px}
}

/* Five server-rendered hero stories; JavaScript only switches DOM slides */
.hero-slider{position:relative}
.hero-slides{position:relative}
.hero-slide{width:100%}
.hero-slide[hidden]{display:none!important}
.hero-slide.active{animation:hero-slide-in .32s ease}
.hero-title-link{color:inherit;text-decoration:none}
.hero-title-link:hover{color:var(--wine)}
.hero-art{text-decoration:none}
.hero-slider>.hero-pagination{position:absolute;left:34px;bottom:35px;z-index:8;margin:0}
@keyframes hero-slide-in{from{opacity:.25;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.hero-slider>.hero-pagination{left:8px;bottom:14px}}
@media(max-width:600px){.hero-slider>.hero-pagination{position:static;justify-content:center;width:100%;margin:-8px 0 22px}.hero-slider .hero{padding-bottom:4px}.hero-slider .hero-slide-arrow{top:153px}}
@media(prefers-reduced-motion:reduce){.hero-slide.active{animation:none}}

/* Long-title resilience across cards, grids and the hero */
.hero-copy,.book-info,.continue-info,.update-copy,.rank-copy,.completed-info{min-width:0;max-width:100%}
.hero h1{max-width:100%;font-size:clamp(34px,4.5vw,58px);line-height:1.08;overflow-wrap:anywhere;word-break:normal}
.hero-title-link{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow-wrap:anywhere;word-break:normal}
.book-info h3,.continue-info h3,.update-copy h3,.rank-copy h3,.completed-info h3{display:-webkit-box;min-width:0;max-width:100%;overflow:hidden;white-space:normal;text-overflow:clip;line-height:1.45;overflow-wrap:anywhere;word-break:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.book-info h3,.completed-info h3{min-height:2.9em}
@media(max-width:900px){.hero h1{font-size:clamp(32px,6vw,46px)}}
@media(max-width:600px){.hero h1{width:100%;font-size:clamp(28px,9vw,38px);line-height:1.12}.hero-title-link{-webkit-line-clamp:3;line-clamp:3}.continue-info h3,.update-copy h3,.rank-copy h3{-webkit-line-clamp:2;line-clamp:2}}

/* Long genre names stay readable without stretching cards */
.genres-section .genre-chips a{min-width:0;max-width:100%;white-space:normal;line-height:1.35;overflow-wrap:anywhere;word-break:normal}
.genres-section .genre-chips a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-align:center}
@media(max-width:600px){.genres-section .genre-chips a{min-height:52px;padding:7px 9px;font-size:12px}}

/* Giữ tên thể loại trên card truyện trong đúng một dòng ở mọi kích thước. */
.book-info > span {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Liên kết nội bộ cho card truyện: giữ nguyên giao diện và mở rộng vùng chạm. */
.book-cover, .update-cover, .rank-cover, .completed-cover, .mini-cover {
  color: inherit;
  text-decoration: none;
}
.book-info h3 a, .update-copy h3 a, .rank-copy h3 a, .completed-info h3 a, .continue-info h3 a {
  color: inherit;
  text-decoration: none;
}
.book-info h3 a:hover, .update-copy h3 a:hover, .rank-copy h3 a:hover, .completed-info h3 a:hover, .continue-info h3 a:hover {
  color: var(--accent);
}
.update-meta .chapter {
  color: inherit;
  text-decoration: none;
}
.update-meta .chapter:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Truyện hoàn thành dùng chung hệ card với Truyện đề cử. */
.completed-showcase .book-card {
  position: relative;
  min-width: 0;
}
.completed-showcase .book-info > span {
  display: block;
  margin-top: 16px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.completed-showcase .book-info h3 {
  min-height: 44px;
  margin: 4px 0 2px;
  font-size: 15px;
  line-height: 1.45;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.completed-showcase .book-info p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.completed-showcase .book-stats {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}
.completed-showcase .book-stats span:first-child {
  color: #b77827;
}
@media (max-width: 600px) {
  .completed-showcase .book-info > span {
    margin-top: 10px;
    font-size: 10px;
  }
  .completed-showcase .book-info h3 {
    min-height: 41px;
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.55;
  }
  .completed-showcase .book-info p {
    display: none;
  }
  .completed-showcase .book-stats {
    gap: 3px;
    font-size: 10px;
  }
  .completed-showcase .book-stats span:last-child {
    display: none;
  }
}
