
/* ==========================================================
   LYCEUM LIBRARY / LIBRO — EDITORIAL TEST
   Same approved identity: navy + ivory + strategic gold
   ========================================================== */
:root{
 --ll-navy:#03192e;--ll-navy2:#06233e;--ll-ivory:#f4eee4;--ll-paper:#fbf8f2;
 --ll-gold:#e5a936;--ll-gold2:#f4c45c;--ll-ink:#0a2036;--ll-muted:#69747e;
 --ll-line:rgba(10,32,54,.13);--ll-serif:"Playfair Display",Georgia,serif;
}
body.ly-page{background:var(--ll-paper);color:var(--ll-ink)}
main{overflow:hidden}

/* LIBRARY HERO */
.ly-library-hero{
 position:relative;padding:150px 0 74px;overflow:hidden;color:#fff;
 background:radial-gradient(circle at 86% 18%,rgba(229,169,54,.11),transparent 23%),
 linear-gradient(110deg,var(--ll-navy),var(--ll-navy2));
}
.ly-library-hero::before{
 content:"";position:absolute;right:-125px;top:-150px;width:370px;height:370px;
 border:1px solid rgba(229,169,54,.30);border-radius:50%;
 box-shadow:0 0 0 54px rgba(229,169,54,.022);
}
.ly-library-hero::after{
 content:"";position:absolute;right:0;bottom:0;width:130px;height:130px;
 background:linear-gradient(145deg,var(--ll-gold2),var(--ll-gold));
 clip-path:polygon(100% 0,100% 100%,0 100%);opacity:.92;
}
.ly-library-hero>.ly-container{position:relative;z-index:2}
.ly-library-hero .ly-eyebrow{color:var(--ll-gold2)!important}
.ly-library-hero .ly-display{
 max-width:930px;font-family:var(--ll-serif);font-weight:500;font-size:clamp(4rem,7vw,7rem);
 line-height:.91;letter-spacing:-.05em;color:#fff
}
.ly-library-hero .ly-gradient-text{
 background:none!important;-webkit-text-fill-color:initial!important;color:var(--ll-gold)!important
}
.ly-library-hero .ly-lead{max-width:720px;color:rgba(255,255,255,.67);line-height:1.75}

/* Functional glass controls */
.ly-library-controls{
 max-width:1080px;margin-top:42px;padding:24px!important;border-radius:18px!important;
 background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.045))!important;
 border:1px solid rgba(255,255,255,.17)!important;box-shadow:0 22px 55px rgba(0,0,0,.18)!important;
 backdrop-filter:blur(20px) saturate(125%)
}
.ly-library-controls .ly-label,.ly-library-controls__foot{color:rgba(255,255,255,.62)}
.ly-library-controls .ly-input,.ly-library-controls .ly-select{
 background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important
}
.ly-library-controls .ly-input::placeholder{color:rgba(255,255,255,.45)}
.ly-library-controls .ly-btn--ghost{border-color:rgba(229,169,54,.42);color:var(--ll-gold2)}

/* LIBRARY BODY */
.ly-library-body{padding:76px 0 96px!important;background:linear-gradient(90deg,var(--ll-ivory),var(--ll-paper))!important}
.ly-library-shelf{padding:0 0 62px;margin-bottom:58px;border-bottom:1px solid var(--ll-line)}
.ly-library-shelf:last-child{border-bottom:0;margin-bottom:0}
.ly-library-shelf__head{margin-bottom:25px}
.ly-library-shelf__head .ly-kicker{color:#9a690b!important;letter-spacing:.12em}
.ly-library-shelf__title{
 margin-top:8px;font-family:var(--ll-serif)!important;font-weight:500!important;
 font-size:clamp(2rem,3.5vw,3.2rem)!important;letter-spacing:-.025em;color:var(--ll-ink)!important
}
.ly-shelf-arrow{
 border:1px solid var(--ll-line)!important;background:rgba(255,255,255,.42)!important;color:var(--ll-ink)!important
}
.ly-shelf-arrow:hover{border-color:rgba(229,169,54,.55)!important;color:#9a690b!important}

/* Covers stay protagonist */
.ly-book-card{background:transparent!important}
.ly-book-card__open{background:transparent!important}
.ly-book-card__cover{
 border-radius:10px!important;border:1px solid rgba(10,32,54,.12)!important;
 box-shadow:0 18px 34px rgba(10,32,54,.12)!important;background:#e9e3d9!important
}
.ly-book-card__cover img{border-radius:9px!important}
.ly-book-card__info{
 right:10px!important;bottom:10px!important;padding:7px 10px!important;border-radius:999px!important;
 background:rgba(3,25,46,.88)!important;color:var(--ll-gold2)!important;
 border:1px solid rgba(255,255,255,.12)!important;backdrop-filter:blur(10px)
}
.ly-book-card__meta h3{
 font-family:var(--ll-serif)!important;font-weight:500!important;color:var(--ll-ink)!important;font-size:1rem!important
}
.ly-book-card__meta p{color:var(--ll-muted)!important}
@media(hover:hover) and (pointer:fine){
 .ly-book-card:hover .ly-book-card__cover{transform:translateY(-5px);box-shadow:0 24px 45px rgba(10,32,54,.16)!important}
}

/* DRAWER */
.ly-book-drawer{
 background:linear-gradient(160deg,var(--ll-navy2),var(--ll-navy))!important;
 border-left:1px solid rgba(255,255,255,.10)!important;color:#fff
}
.ly-book-drawer__content .ly-kicker{color:var(--ll-gold2)!important}
.ly-book-drawer__content h2{font-family:var(--ll-serif)!important;font-weight:500!important;color:#fff!important}
.ly-book-drawer__author,.ly-book-drawer__content p{color:rgba(255,255,255,.62)!important}
.ly-book-drawer .ly-btn--primary{background:linear-gradient(180deg,var(--ll-gold2),var(--ll-gold))!important;color:#172330!important}
.ly-book-drawer .ly-btn--secondary{border-color:rgba(229,169,54,.45)!important;color:var(--ll-gold2)!important}

/* ==========================================================
   BOOK DETAIL
   ========================================================== */
.ly-book-detail-hero{
 position:relative!important;padding:145px 0 76px!important;overflow:hidden!important;color:#fff;
 background:radial-gradient(circle at 84% 15%,rgba(229,169,54,.11),transparent 23%),
 linear-gradient(110deg,var(--ll-navy),var(--ll-navy2))!important
}
.ly-book-detail-hero::before{
 content:"";position:absolute;right:-130px;top:-155px;width:380px;height:380px;
 border:1px solid rgba(229,169,54,.30);border-radius:50%;box-shadow:0 0 0 55px rgba(229,169,54,.022)
}
.ly-book-detail-hero>.ly-container{position:relative;z-index:2}
.ly-book-detail-back{color:var(--ll-gold2)!important}
.ly-book-detail-grid{max-width:1120px!important;grid-template-columns:minmax(220px,285px) minmax(0,1fr)!important}
.ly-book-detail-cover{
 border-radius:10px!important;border:1px solid rgba(255,255,255,.14)!important;
 box-shadow:0 30px 65px rgba(0,0,0,.28)!important;background:#13283d!important
}
.ly-book-detail-title{
 max-width:800px!important;font-family:var(--ll-serif)!important;font-weight:500!important;
 font-size:clamp(3.4rem,6vw,6.2rem)!important;line-height:.93!important;color:#fff!important
}
.ly-book-detail-hero .ly-eyebrow{color:var(--ll-gold2)!important}
.ly-book-detail-author{color:rgba(255,255,255,.58)!important}
.ly-book-detail-summary{color:rgba(255,255,255,.68)!important}
.ly-book-detail-actions .ly-btn--primary{
 background:linear-gradient(180deg,var(--ll-gold2),var(--ll-gold))!important;color:#172330!important;border-color:transparent!important
}
.ly-book-detail-actions .ly-btn--secondary{
 background:rgba(255,255,255,.03)!important;border-color:rgba(229,169,54,.48)!important;color:var(--ll-gold2)!important
}

/* Editorial book content */
.ly-book-detail-hero + .ly-section{
 padding:76px 0 94px!important;background:linear-gradient(90deg,var(--ll-ivory),var(--ll-paper))!important
}
.ly-book-editorial{gap:0!important}
.ly-book-editorial-card{
 padding:42px 0!important;border-radius:0!important;background:transparent!important;border:0!important;
 border-bottom:1px solid var(--ll-line)!important;box-shadow:none!important;backdrop-filter:none!important
}
.ly-book-editorial-card:first-child{padding-top:0!important}
.ly-book-editorial-card .ly-kicker{color:#9a690b!important}
.ly-book-editorial-card h2{
 max-width:820px!important;font-family:var(--ll-serif)!important;font-weight:500!important;
 color:var(--ll-ink)!important;font-size:clamp(2rem,3.4vw,3.25rem)!important
}
.ly-book-review p,.ly-book-editorial-card>p{color:#344553!important;font-size:1rem!important;line-height:1.88!important}
.ly-book-highlight{
 max-width:900px!important;font-family:var(--ll-serif)!important;color:var(--ll-ink)!important;
 font-size:clamp(1.7rem,3.2vw,3rem)!important
}
.ly-related-cover{
 border-radius:8px!important;border-color:var(--ll-line)!important;background:#e9e3d9!important;
 box-shadow:0 14px 30px rgba(10,32,54,.10)
}
.ly-related-title{font-family:var(--ll-serif)!important;color:var(--ll-ink)!important}
.ly-related-author{color:var(--ll-muted)!important}

/* Footer */
.ly-footer{background:var(--ll-navy)!important;color:rgba(255,255,255,.66)!important;border-top:1px solid rgba(255,255,255,.08)!important}
.ly-footer a{color:rgba(255,255,255,.72)!important}
.ly-footer a:hover{color:var(--ll-gold2)!important}
.ly-footer .ly-brand__name{color:#fff!important}

@media(max-width:820px){
 .ly-library-hero,.ly-book-detail-hero{padding-top:118px!important}
 .ly-book-detail-grid{grid-template-columns:1fr!important}
}
@media(max-width:680px){
 .ly-library-hero{padding-bottom:52px}
 .ly-library-hero .ly-display{font-size:3.45rem}
 .ly-library-controls{padding:18px!important}
 .ly-library-body{padding:54px 0 70px!important}
 .ly-book-detail-title{font-size:3.25rem!important}
 .ly-book-detail-hero + .ly-section{padding:54px 0 68px!important}
 .ly-book-editorial-card{padding:32px 0!important}
}
