:root{
  --eg-bg:#03120f;
  --eg-panel:rgba(5,24,19,.62);
  --eg-panel-2:rgba(7,34,27,.72);
  --eg-gold:#d7ad55;
  --eg-gold-2:#f5d98e;
  --eg-cream:#f8ecd0;
  --eg-muted:rgba(248,236,208,.66);
  --eg-line:rgba(215,173,85,.22);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#02100d;color:var(--eg-cream);font-family:"Be Vietnam Pro",system-ui,sans-serif;overflow-x:hidden}
.ebook-gallery-body{
  background:
    radial-gradient(circle at 50% 15%,rgba(240,202,118,.10),transparent 24%),
    linear-gradient(180deg,rgba(2,16,13,.68),rgba(1,7,6,.95)),
    url('/assets/tlg-home-live-preview-final/bg_landscape_artfinal.webp') center/cover fixed no-repeat;
}
.ebook-app{min-height:100vh;position:relative;isolation:isolate}
.ebook-app:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.22),transparent 42%,rgba(0,0,0,.24));z-index:-1}
.ebook-loader{min-height:100vh;display:grid;place-items:center;text-align:center;color:var(--eg-gold);letter-spacing:.22em;text-transform:uppercase}
.ebook-seal{font-family:"Playfair Display",serif;font-size:54px;text-shadow:0 0 32px rgba(215,173,85,.45)}
.eg-top{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px clamp(18px,4vw,64px);backdrop-filter:blur(18px);background:linear-gradient(180deg,rgba(2,13,10,.88),rgba(2,13,10,.55));border-bottom:1px solid rgba(215,173,85,.14)}
.eg-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--eg-cream)}
.eg-brand-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(215,173,85,.36);color:var(--eg-gold);background:rgba(0,0,0,.22);box-shadow:0 0 32px rgba(215,173,85,.12)}
.eg-brand b{display:block;font-family:"Playfair Display",serif;letter-spacing:.12em;font-size:18px;color:var(--eg-gold-2)}
.eg-brand small{display:block;color:var(--eg-muted);font-size:10px;letter-spacing:.18em;text-transform:uppercase}
.eg-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.eg-btn{border:1px solid rgba(215,173,85,.28);background:rgba(5,24,19,.58);color:var(--eg-cream);border-radius:999px;padding:10px 16px;font-weight:800;font-size:12px;letter-spacing:.04em;text-decoration:none;cursor:pointer;box-shadow:0 12px 28px rgba(0,0,0,.16)}
.eg-btn.gold{background:linear-gradient(135deg,#ffe9a7,#bd8234);color:#201207;border:0}
.eg-btn.glass{background:rgba(255,255,255,.05)}
.eg-library-hero{padding:clamp(48px,7vw,92px) clamp(18px,5vw,80px) 32px;text-align:center}
.eg-kicker{color:var(--eg-gold);font-size:11px;letter-spacing:.32em;text-transform:uppercase;font-weight:900}
.eg-library-hero h1{font-family:"Playfair Display",serif;font-size:clamp(42px,7vw,96px);line-height:.95;margin:14px auto 18px;max-width:1000px;color:transparent;background:linear-gradient(100deg,#fff9dc,#e7c06d 58%,#a56e28);-webkit-background-clip:text;background-clip:text;letter-spacing:.055em;text-transform:uppercase}
.eg-library-hero p{max-width:760px;margin:0 auto;color:var(--eg-muted);line-height:1.8;font-size:15px}
.eg-hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.eg-toolbar{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding:12px 18px 28px}
.eg-filter{border:1px solid rgba(215,173,85,.18);background:rgba(4,22,17,.52);color:var(--eg-cream);padding:10px 14px;border-radius:999px;font-weight:800;font-size:12px;cursor:pointer}
.eg-filter.active{background:rgba(215,173,85,.18);border-color:rgba(215,173,85,.42);color:#ffe6a6}
.eg-bookcase{position:relative;max-width:1500px;margin:0 auto 90px;padding:22px clamp(14px,4vw,64px) 70px;border-radius:38px;border:1px solid rgba(215,173,85,.13);background:linear-gradient(145deg,rgba(3,18,14,.66),rgba(0,5,4,.76));box-shadow:0 42px 120px rgba(0,0,0,.46),inset 0 0 0 1px rgba(255,236,180,.035);overflow:hidden}
.eg-cabinet-light{position:absolute;inset:0;background:radial-gradient(circle at 50% 0%,rgba(255,229,139,.16),transparent 24%),radial-gradient(circle at 12% 42%,rgba(215,173,85,.08),transparent 18%),radial-gradient(circle at 88% 52%,rgba(215,173,85,.08),transparent 18%);pointer-events:none}
.eg-shelf-row{position:relative;padding:36px 18px 38px;margin-bottom:18px}
.eg-shelf-books{position:relative;z-index:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:22px;align-items:end}
.eg-shelf-plank{position:absolute;left:10px;right:10px;bottom:14px;height:22px;border-radius:100%;background:linear-gradient(180deg,rgba(245,209,117,.40),rgba(89,51,15,.36));box-shadow:0 18px 30px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,239,190,.24)}
.eg-book-card{position:relative;min-height:386px;border:1px solid rgba(215,173,85,.16);border-radius:22px;background:linear-gradient(145deg,rgba(5,25,20,.70),rgba(1,8,7,.68));box-shadow:0 26px 70px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04);overflow:hidden;cursor:pointer;transition:transform .28s ease,border-color .28s ease}
.eg-book-card:hover{transform:translateY(-8px) rotateX(1deg);border-color:rgba(215,173,85,.44)}
.eg-book-module:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent,rgba(255,244,194,.08),transparent);transform:translateX(-100%);transition:transform .7s ease}
.eg-book-module:hover:before{transform:translateX(100%)}
.eg-book-depth{position:absolute;left:11px;top:18px;bottom:128px;width:12px;border-radius:9px;background:linear-gradient(180deg,#21110a,#d2a851 42%,#241409);box-shadow:0 0 18px rgba(215,173,85,.22)}
.eg-book-cover{position:relative;margin:18px 18px 0 30px;aspect-ratio:3/4;border-radius:16px;overflow:hidden;background:#06140f;border:1px solid rgba(215,173,85,.25);box-shadow:0 20px 42px rgba(0,0,0,.34)}
.eg-book-cover img{width:100%;height:100%;object-fit:cover;display:block}
.eg-cover-shine{position:absolute;inset:0;background:linear-gradient(110deg,rgba(255,255,255,.0),rgba(255,245,198,.22),rgba(255,255,255,0));mix-blend-mode:screen;transform:translateX(-120%) skewX(-12deg);transition:transform .65s ease}
.eg-book-card:hover .eg-cover-shine{transform:translateX(120%) skewX(-12deg)}
.eg-book-meta{padding:14px 18px 18px 30px}
.eg-book-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.eg-book-badges span{border:1px solid rgba(215,173,85,.24);border-radius:999px;padding:4px 7px;color:#f2d27c;font-size:10px;font-weight:800;background:rgba(0,0,0,.18)}
.eg-book-meta h3{margin:0 0 8px;font-size:17px;line-height:1.18;color:#fff3d1}
.eg-book-meta p{margin:0;color:var(--eg-muted);font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.eg-book-row{display:flex;justify-content:space-between;gap:8px;color:#e6c574;font-size:11px;font-weight:800;margin-top:12px}
.eg-empty{max-width:720px;margin:80px auto;padding:48px;text-align:center;border:1px solid rgba(215,173,85,.18);border-radius:28px;background:rgba(5,24,19,.62)}
.eg-reader{min-height:calc(100vh - 79px);display:grid;grid-template-rows:auto 1fr auto auto;gap:12px;padding:14px clamp(12px,2vw,28px) 22px}
.eg-reader-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border:1px solid rgba(215,173,85,.14);border-radius:18px;background:rgba(2,12,9,.62);backdrop-filter:blur(14px)}
.eg-reader-title b{display:block;font-family:"Playfair Display",serif;color:#f5db94;letter-spacing:.04em}
.eg-reader-title small{color:var(--eg-muted)}
.eg-reader-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.eg-icon{border:1px solid rgba(215,173,85,.22);background:rgba(5,24,19,.62);color:var(--eg-cream);border-radius:999px;padding:9px 12px;cursor:pointer;font-weight:800;font-size:12px}
.eg-icon.gold{background:linear-gradient(135deg,#ffe9a7,#bd8234);color:#201207;border:0}
.eg-page-count,.eg-zoom-label{color:#f1d483;font-size:12px;font-weight:800;white-space:nowrap}
.eg-music-panel{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:10px;border:1px solid rgba(215,173,85,.14);border-radius:18px;background:rgba(2,12,9,.56)}
.eg-music-panel label{display:flex;align-items:center;gap:8px;color:#f3d88b;font-size:12px;font-weight:800}
.eg-music-panel select{min-width:240px;background:#061a14;color:var(--eg-cream);border:1px solid rgba(215,173,85,.25);border-radius:10px;padding:9px}
.eg-audio-state{font-size:12px;color:var(--eg-muted)}
.eg-reader-stage{position:relative;min-height:60vh;display:grid;place-items:center;perspective:1800px;overflow:hidden}
.eg-book-spread{--zoom:1;position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;width:min(1280px,96vw);height:min(72vh,820px);transform:scale(var(--zoom));transform-origin:center center;transition:transform .22s ease}
.eg-book-spread.is-single{grid-template-columns:1fr;width:min(620px,94vw)}
.eg-book-gutter{position:absolute;top:0;bottom:0;left:50%;width:24px;transform:translateX(-50%);z-index:4;background:linear-gradient(90deg,rgba(0,0,0,.28),rgba(255,239,190,.08),rgba(0,0,0,.28));box-shadow:0 0 28px rgba(0,0,0,.45)}
.eg-book-spread.is-single .eg-book-gutter{display:none}
.eg-page{position:relative;margin:0;overflow:hidden;background:#f6e8cc;box-shadow:0 24px 70px rgba(0,0,0,.38);border:1px solid rgba(90,61,25,.28);transform-style:preserve-3d}
.eg-page.left{border-radius:22px 4px 4px 22px;transform-origin:right center}
.eg-page.right{border-radius:4px 22px 22px 4px;transform-origin:left center}
.eg-book-spread.is-single .eg-page{border-radius:22px}
.eg-page img{width:100%;height:100%;object-fit:contain;background:#0b1512;display:block}
.eg-page figcaption{position:absolute;left:14px;bottom:10px;padding:5px 9px;border-radius:999px;background:rgba(2,10,8,.56);color:#f5da91;font-size:11px;backdrop-filter:blur(6px)}
.eg-book-spread.flip-next .eg-page.right{animation:eliteFlipRight .42s ease both}
.eg-book-spread.flip-next .eg-page.left{animation:eliteFlipLeft .42s ease both}
@keyframes eliteFlipRight{0%{transform:rotateY(-7deg) translateZ(4px);filter:brightness(.86)}100%{transform:rotateY(0);filter:brightness(1)}}
@keyframes eliteFlipLeft{0%{transform:rotateY(7deg) translateZ(4px);filter:brightness(.86)}100%{transform:rotateY(0);filter:brightness(1)}}
.eg-page-hotspot{position:absolute;top:12%;bottom:12%;width:22%;z-index:7;border:0;background:transparent;cursor:pointer}
.eg-page-hotspot.left{left:0}.eg-page-hotspot.right{right:0}
.eg-reader-bottom{display:flex;justify-content:center}
.eg-page-slider{width:min(760px,90vw);accent-color:#d7ad55}
.eg-thumbs{display:flex;gap:8px;overflow:auto;padding:10px;border:1px solid rgba(215,173,85,.14);border-radius:18px;background:rgba(2,12,9,.60)}
.eg-thumb{position:relative;min-width:72px;height:96px;border:1px solid rgba(215,173,85,.14);background:#06140f;border-radius:10px;overflow:hidden;cursor:pointer}
.eg-thumb.active{border-color:#f5d98e;box-shadow:0 0 0 2px rgba(245,217,142,.16)}
.eg-thumb img{width:100%;height:100%;object-fit:cover}
.eg-thumb span{position:absolute;right:4px;bottom:4px;background:rgba(0,0,0,.6);color:#fff;padding:2px 5px;border-radius:99px;font-size:10px}
@media(max-width:760px){
  .eg-top{position:relative;align-items:flex-start;padding:14px;flex-direction:column}
  .eg-nav{justify-content:flex-start}
  .eg-bookcase{margin:0 8px 44px;padding:16px 8px 42px;border-radius:26px}
  .eg-shelf-row{padding:24px 8px 30px}
  .eg-shelf-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .eg-book-card{min-height:310px;border-radius:18px}
  .eg-book-cover{margin:12px 12px 0 24px}
  .eg-book-meta{padding:10px 12px 12px 24px}
  .eg-book-meta h3{font-size:14px}
  .eg-reader{padding:8px;min-height:100vh}
  .eg-reader-top{align-items:flex-start;flex-direction:column}
  .eg-reader-actions{justify-content:flex-start}
  .eg-icon{padding:8px 10px;font-size:11px}
  .eg-reader-stage{min-height:60vh}
  .eg-book-spread{width:94vw;height:68vh}
  .eg-page{border-radius:18px!important}
  .eg-page-hotspot{width:35%}
  .eg-music-panel{align-items:stretch;flex-direction:column}
  .eg-music-panel select{min-width:0;width:100%}
}
@media(max-width:420px){
  .eg-shelf-books{grid-template-columns:1fr 1fr}
  .eg-book-card{min-height:276px}
  .eg-book-meta p{display:none}
  .eg-book-badges span{font-size:9px}
}


/* V18.8.9.15 · The Legends Tech Bookshelf + Elite Page Flip + Mobile Reader polish */
:root{--eg-emerald:#041c17;--eg-emerald2:#092c24;--eg-gold:#d7ad55;--eg-gold2:#f5d98a;--eg-cream:#f6ead0;}
.eg-library-hero{
  max-width:1180px;margin:42px auto 24px;padding:48px clamp(22px,4vw,58px);border-radius:34px;
  border:1px solid rgba(215,173,85,.26);
  background:radial-gradient(circle at 18% 16%,rgba(245,217,138,.14),transparent 28%),linear-gradient(135deg,rgba(3,20,17,.96),rgba(5,44,35,.82));
  box-shadow:0 28px 90px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,238,184,.08);position:relative;overflow:hidden;
}
.eg-library-hero:before{content:'';position:absolute;inset:16px;border-radius:26px;border:1px solid rgba(215,173,85,.12);pointer-events:none;}
.eg-kicker{letter-spacing:.22em;text-transform:uppercase;color:var(--eg-gold2);font-size:12px;font-weight:900}
.eg-library-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(42px,6vw,88px);line-height:.9;margin:14px 0;color:transparent;background:linear-gradient(100deg,#fff7de,#f0c86b,#9e6928);-webkit-background-clip:text;background-clip:text;}
.eg-library-hero p{max-width:720px;color:rgba(246,234,208,.78);font-size:16px;line-height:1.7}
.eg-toolbar{max-width:1180px;margin:0 auto 24px;display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.eg-filter,.eg-btn,.eg-icon{border:1px solid rgba(215,173,85,.24);background:rgba(4,25,20,.58);color:#f2dfad;border-radius:999px;padding:11px 16px;backdrop-filter:blur(8px);box-shadow:0 10px 22px rgba(0,0,0,.14);cursor:pointer}
.eg-filter.active,.eg-btn.gold,.eg-icon.gold{background:linear-gradient(135deg,#fff1bb,#d0a34b,#8d5f25);color:#201305;border-color:rgba(255,226,150,.16)}
.eg-bookcase-elite{max-width:1240px;margin:20px auto 78px;padding:36px clamp(14px,3vw,36px) 42px;border-radius:36px;border:1px solid rgba(215,173,85,.22);background:linear-gradient(180deg,rgba(8,40,32,.82),rgba(2,13,11,.94)),radial-gradient(circle at center top,rgba(245,217,138,.13),transparent 36%);box-shadow:0 40px 120px rgba(0,0,0,.44),inset 0 0 0 1px rgba(255,239,184,.05);position:relative;overflow:hidden}
.eg-bookcase-elite:before{content:'';position:absolute;inset:14px;border-radius:28px;border:1px solid rgba(215,173,85,.10);pointer-events:none}
.eg-cabinet-crown{position:relative;z-index:2;text-align:center;margin:0 auto 26px;color:#edcf80;letter-spacing:.18em;text-transform:uppercase}
.eg-cabinet-crown span{display:block;font-size:12px;opacity:.78}
.eg-cabinet-crown b{font-family:Georgia,'Times New Roman',serif;font-size:clamp(20px,3vw,38px);font-weight:500;color:transparent;background:linear-gradient(100deg,#fff8dd,#d7ad55,#8f6427);-webkit-background-clip:text;background-clip:text}
.eg-cabinet-light{position:absolute;inset:-20% 5% auto;height:320px;background:radial-gradient(ellipse at center,rgba(255,224,142,.18),transparent 58%);pointer-events:none}
.eg-shelf-row{position:relative;z-index:2;margin:0 0 34px;padding:0 18px 28px}
.eg-shelf-books{display:grid;grid-template-columns:repeat(auto-fit,minmax(172px,1fr));gap:26px;align-items:end}
.eg-shelf-plank{height:18px;margin:16px 0 0;border-radius:999px;background:linear-gradient(180deg,rgba(246,209,126,.32),rgba(82,48,17,.84));box-shadow:0 18px 34px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,237,180,.24)}
.eg-book-module{min-height:354px;padding:14px;border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.012));border:1px solid rgba(215,173,85,.18);box-shadow:0 22px 46px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05);transform-style:preserve-3d;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;cursor:pointer}
.eg-book-module:hover{transform:translateY(-8px) rotateX(2deg);border-color:rgba(215,173,85,.34);box-shadow:0 34px 70px rgba(0,0,0,.30)}
.eg-book-depth{position:absolute;left:11px;top:20px;bottom:92px;width:16px;border-radius:10px;background:linear-gradient(90deg,#20160b,#b58236,#4e2c0d);box-shadow:inset -3px 0 8px rgba(0,0,0,.45)}
.eg-book-cover{height:244px;border-radius:18px;overflow:hidden;position:relative;margin-left:12px;background:#061510;box-shadow:0 14px 28px rgba(0,0,0,.30),inset 0 0 0 1px rgba(255,232,160,.16)}
.eg-book-cover img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.05) contrast(1.04)}
.eg-cover-shine{position:absolute;inset:0;background:linear-gradient(112deg,transparent 0 34%,rgba(255,255,255,.20) 46%,transparent 58%);mix-blend-mode:screen;opacity:.38}
.eg-book-badges{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 8px}
.eg-book-badges span{font-size:10px;padding:5px 8px;border-radius:999px;background:rgba(215,173,85,.12);border:1px solid rgba(215,173,85,.20);color:#f3d998}
.eg-book-meta h3{font-size:15px;line-height:1.18;margin:0 0 6px;color:#fff2c8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.eg-book-meta p{font-size:12px;line-height:1.42;color:rgba(246,234,208,.62);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.eg-book-row{display:flex;justify-content:space-between;gap:8px;color:#d9ba71;font-size:11px;margin-top:8px}

.eg-reader{min-height:calc(100vh - 74px);background:radial-gradient(circle at 50% 10%,rgba(215,173,85,.14),transparent 28%),linear-gradient(180deg,#04120f,#010605);padding:18px;}
.eg-reader-top{display:flex;justify-content:space-between;gap:16px;align-items:center;max-width:1380px;margin:0 auto 12px;padding:12px 14px;border:1px solid rgba(215,173,85,.16);border-radius:22px;background:rgba(4,22,18,.54);backdrop-filter:blur(10px)}
.eg-reader-title b{display:block;color:#fff2c8;font-family:Georgia,'Times New Roman',serif;font-size:20px}
.eg-reader-title small{color:rgba(246,234,208,.62)}
.eg-reader-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.eg-icon{height:38px;padding:0 13px;font-size:12px}
.eg-reader-stage{position:relative;display:grid;place-items:center;min-height:calc(100vh - 190px);perspective:2200px;overflow:hidden}
.eg-book-spread{position:relative;width:min(1260px,94vw);height:min(76vh,820px);display:grid;grid-template-columns:1fr 1fr;gap:0;transform:scale(var(--zoom,1));transform-origin:center center;transition:transform .22s ease;filter:drop-shadow(0 32px 60px rgba(0,0,0,.48));transform-style:preserve-3d}
.eg-book-spread.is-single{width:min(680px,92vw);grid-template-columns:1fr}
.eg-book-shadow{position:absolute;inset:3% 1%;border-radius:28px;background:radial-gradient(ellipse at center,rgba(0,0,0,.42),transparent 72%);transform:translateY(18px);z-index:0}
.eg-book-gutter{position:absolute;left:50%;top:2%;bottom:2%;width:34px;transform:translateX(-50%);z-index:5;background:linear-gradient(90deg,rgba(0,0,0,.34),rgba(255,240,190,.10),rgba(0,0,0,.34));box-shadow:0 0 32px rgba(0,0,0,.45);border-radius:50%}
.eg-book-spread.is-single .eg-book-gutter{display:none}
.eg-page{position:relative;z-index:2;margin:0;background:#f8f0dd;border-radius:18px;overflow:hidden;transform-style:preserve-3d;box-shadow:inset 0 0 0 1px rgba(91,61,21,.16),0 18px 38px rgba(0,0,0,.24)}
.eg-page.left{border-radius:24px 8px 8px 24px;transform-origin:right center}
.eg-page.right{border-radius:8px 24px 24px 8px;transform-origin:left center}
.eg-page img{width:100%;height:100%;object-fit:contain;background:#efe5cf;display:block}
.eg-page figcaption{position:absolute;left:18px;bottom:12px;color:rgba(52,34,12,.55);font-size:11px;background:rgba(255,250,237,.66);padding:4px 8px;border-radius:999px}
.eg-page:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.30),transparent 16%,transparent 84%,rgba(77,45,10,.12));pointer-events:none;z-index:2}
.eg-page-curl{position:absolute;right:0;top:0;width:32%;height:100%;z-index:4;pointer-events:none;opacity:0;background:linear-gradient(105deg,transparent,rgba(0,0,0,.14),rgba(255,255,255,.38));filter:blur(.2px)}
.eg-book-spread.flip-next .eg-page.right{animation:egFlipNext .74s cubic-bezier(.2,.72,.18,1)}
.eg-book-spread.flip-prev .eg-page.left{animation:egFlipPrev .74s cubic-bezier(.2,.72,.18,1)}
.eg-book-spread.flip-next .eg-page.right .eg-page-curl,.eg-book-spread.flip-prev .eg-page.left .eg-page-curl{animation:egCurl .74s ease}
@keyframes egFlipNext{0%{transform:rotateY(-14deg)}38%{transform:rotateY(-64deg);filter:brightness(.86)}100%{transform:rotateY(0deg)}}
@keyframes egFlipPrev{0%{transform:rotateY(14deg)}38%{transform:rotateY(64deg);filter:brightness(.86)}100%{transform:rotateY(0deg)}}
@keyframes egCurl{0%{opacity:0;transform:translateX(0)}35%{opacity:1;transform:translateX(-8px)}100%{opacity:0;transform:translateX(0)}}
.eg-music-panel{max-width:1380px;margin:8px auto 12px;padding:12px 14px;border-radius:18px;background:rgba(4,22,18,.78);border:1px solid rgba(215,173,85,.20);display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.eg-music-panel label{color:#f2dfad;font-size:12px;display:grid;gap:5px;min-width:280px}
.eg-music-select{height:40px;border-radius:12px;border:1px solid rgba(215,173,85,.22);background:#061d18;color:#ffe8b2;padding:0 10px}
.eg-audio-state{color:rgba(246,234,208,.68);font-size:12px}
.eg-reader-bottom{max-width:920px;margin:8px auto;display:flex;justify-content:center}
.eg-page-slider{width:min(720px,88vw);accent-color:#d7ad55}
.eg-thumbs{max-width:1180px;margin:12px auto;display:flex;gap:10px;overflow:auto;padding:8px}
.eg-thumb{width:70px;min-width:70px;border:1px solid rgba(215,173,85,.18);border-radius:10px;background:rgba(4,22,18,.68);color:#f0d286;padding:5px;cursor:pointer}
.eg-thumb.active{border-color:#f1d487;box-shadow:0 0 0 2px rgba(215,173,85,.20)}
.eg-thumb img{width:100%;height:84px;object-fit:cover;border-radius:7px}
.eg-page-hotspot{position:absolute;top:12%;bottom:12%;width:20%;z-index:10;background:transparent;border:0;cursor:pointer}
.eg-page-hotspot.left{left:0}.eg-page-hotspot.right{right:0}

@media(max-width:900px){
  .eg-top{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:rgba(2,12,10,.82);backdrop-filter:blur(12px)}
  .eg-nav{display:none}
  .eg-library-hero{margin:16px 10px 14px;padding:32px 20px;border-radius:26px}
  .eg-library-hero h1{font-size:42px}
  .eg-toolbar{padding:0 10px;justify-content:flex-start;overflow:auto;flex-wrap:nowrap}
  .eg-filter{white-space:nowrap;padding:10px 13px;font-size:12px}
  .eg-bookcase-elite{margin:12px 8px 48px;padding:24px 10px 28px;border-radius:28px}
  .eg-cabinet-crown b{font-size:24px}
  .eg-shelf-row{padding:0 6px 22px;margin-bottom:22px}
  .eg-shelf-books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .eg-book-module{min-height:286px;padding:10px;border-radius:18px}
  .eg-book-cover{height:184px;margin-left:8px;border-radius:14px}
  .eg-book-depth{top:16px;bottom:82px;width:12px}
  .eg-book-meta h3{font-size:13px}
  .eg-book-meta p{display:none}
  .eg-book-row{font-size:10px}
  .eg-reader{padding:8px;min-height:100svh}
  .eg-reader-top{position:sticky;top:6px;z-index:40;border-radius:18px;margin-bottom:8px;display:grid;grid-template-columns:1fr;gap:8px}
  .eg-reader-title b{font-size:15px}
  .eg-reader-title small{font-size:11px}
  .eg-reader-actions{gap:6px;justify-content:flex-start;overflow:auto;flex-wrap:nowrap;padding-bottom:2px}
  .eg-icon{height:34px;min-width:34px;padding:0 10px;font-size:11px;white-space:nowrap}
  .eg-reader-stage{min-height:calc(100svh - 164px);overflow:hidden}
  .eg-book-spread{width:94vw;height:calc(100svh - 220px);grid-template-columns:1fr!important}
  .eg-book-spread:not(.is-single){grid-template-columns:1fr!important}
  .eg-book-gutter{display:none}
  .eg-page.left,.eg-page.right,.eg-page{border-radius:18px!important}
  .eg-page img{object-fit:contain}
  .eg-page:nth-of-type(n+4){display:none}
  .eg-page figcaption{left:12px;bottom:10px;font-size:10px}
  .eg-music-panel{margin:6px 4px 8px;border-radius:16px;display:grid;grid-template-columns:1fr;gap:8px}
  .eg-music-panel label{min-width:0}
  .eg-thumbs{margin:8px 0;padding:8px 0}
  .eg-thumb{width:56px;min-width:56px}
  .eg-thumb img{height:70px}
}
@media(max-width:420px){.eg-shelf-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.eg-book-cover{height:158px}.eg-book-module{min-height:256px}.eg-book-badges span{font-size:9px;padding:4px 6px}}


/* V18.8.9.15 · The Legends Collections as programmed luxury bookshelf using art-directed frame background */
body.eg-collections-art-mode .eg-top{display:none!important}
body.eg-collections-art-mode{overflow-x:hidden;background:#010b09!important}
.eg-art-library{min-height:100svh;padding:0 0 48px;background:#010b09;color:var(--eg-cream)}
.eg-art-stage{position:relative;width:min(100vw,1920px);margin:0 auto;aspect-ratio:1672/941;overflow:hidden;background:#010b09;isolation:isolate;box-shadow:0 30px 120px rgba(0,0,0,.55)}
.eg-art-bg,.eg-art-bg img{position:absolute;inset:0;width:100%;height:100%;display:block}
.eg-art-bg img{object-fit:cover;object-position:center top;filter:saturate(1.02) contrast(1.02)}
.eg-art-slots{position:absolute;inset:0;z-index:8;pointer-events:none}
.eg-art-slot{position:absolute;display:block;padding:0;margin:0;border:0;background:transparent;pointer-events:auto;border-radius:4px;cursor:pointer;overflow:hidden;transition:transform .25s ease, filter .25s ease, box-shadow .25s ease}
.eg-art-slot-book{box-shadow:0 14px 32px rgba(0,0,0,.38),0 0 0 1px rgba(244,210,126,.22);background:rgba(2,12,9,.25)}
.eg-art-slot-book:hover{transform:translateY(-4px) scale(1.025);filter:brightness(1.08);box-shadow:0 22px 44px rgba(0,0,0,.42),0 0 0 1px rgba(255,224,142,.56),0 0 30px rgba(215,173,85,.18)}
.eg-art-slot-book img{width:100%;height:100%;object-fit:cover;display:block;border-radius:3px;filter:saturate(1.04) contrast(1.04)}
.eg-art-slot-book i{position:absolute;inset:0;background:linear-gradient(110deg,transparent 0 34%,rgba(255,246,194,.30) 48%,transparent 62%);mix-blend-mode:screen;opacity:.32;transform:translateX(-120%) skewX(-10deg);transition:transform .65s ease}
.eg-art-slot-book:hover i{transform:translateX(120%) skewX(-10deg)}
.eg-art-slot-book small{position:absolute;left:6%;right:6%;bottom:5%;padding:3px 5px;border-radius:999px;background:rgba(1,8,6,.66);color:#f6dd9c;font-size:clamp(5px,.55vw,10px);line-height:1.1;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .25s ease}
.eg-art-slot-book:hover small{opacity:1}
.eg-art-slot-empty{pointer-events:none;background:transparent}
.eg-art-slot-empty span{display:none}
.eg-art-hot-nav a{position:absolute;z-index:12;display:block;border-radius:999px;outline:0}
.eg-art-hot-nav a:focus-visible{box-shadow:0 0 0 2px rgba(255,227,150,.7)}
.eg-art-filters{position:absolute;left:16.55%;top:24.7%;width:49%;height:7.8%;z-index:13;display:flex;gap:.85%;align-items:stretch}
.eg-art-filter{height:100%;border:0;background:transparent;color:transparent;cursor:pointer;border-radius:10px;min-width:12.2%;padding:0;transition:box-shadow .22s ease,background .22s ease}
.eg-art-filter:nth-child(1){width:15.2%}.eg-art-filter:nth-child(2){width:13.8%}.eg-art-filter:nth-child(3){width:14.8%}.eg-art-filter:nth-child(4){width:16.4%}
.eg-art-filter.active,.eg-art-filter:hover{background:rgba(255,219,126,.045);box-shadow:inset 0 0 0 1px rgba(255,219,126,.22),0 0 24px rgba(215,173,85,.16)}
.eg-art-all{position:absolute;left:83%;top:0;width:10%!important}
.eg-art-status{position:absolute;right:8.2%;bottom:3.15%;z-index:14;color:rgba(246,234,208,.78);font-size:clamp(7px,.72vw,12px);letter-spacing:.12em;text-transform:uppercase}
.eg-art-status b{color:#f5d98e}
.eg-art-notes{max-width:1180px;margin:34px auto 0;padding:22px 26px;border:1px solid rgba(215,173,85,.18);border-radius:24px;background:linear-gradient(135deg,rgba(5,24,19,.62),rgba(1,9,7,.72));box-shadow:0 22px 70px rgba(0,0,0,.28)}
.eg-art-notes h2{margin:0 0 8px;font-family:Georgia,'Times New Roman',serif;font-size:24px;color:#f4d787;letter-spacing:.05em}
.eg-art-notes p{margin:0;color:rgba(246,234,208,.72);line-height:1.65}
.eg-art-asset-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}
.eg-art-asset-grid span{border:1px solid rgba(215,173,85,.14);border-radius:14px;padding:12px;background:rgba(255,255,255,.035);color:#f3d88b;font-size:12px;font-weight:800}
@media(max-width:900px){
  body.eg-collections-art-mode{overflow-x:auto}
  .eg-art-library{min-width:1180px;padding-bottom:34px}
  .eg-art-stage{width:1180px;max-width:none;margin:0;}
  .eg-art-notes{margin-left:18px;margin-right:18px;max-width:1140px}
}


/* THE LEGENDS · COLLECTION BOOKS MULTI-SHELF V18.8.9.15
   Page 2+ bookshelf pagination, cyclic navigation, hard-button hover, type management polish. */
.eg-art-stage[data-shelf-page]{ overflow:visible; }
.eg-art-stage[data-shelf-page]::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(circle at 50% 52%, rgba(245,211,125,.08), transparent 30%),
             linear-gradient(90deg, rgba(0,0,0,.06), transparent 40%, rgba(0,0,0,.10));
  opacity:.72;
}
.eg-art-stage[data-shelf-page]::after{
  content:""; position:absolute; z-index:5; left:12.2%; right:12.2%; bottom:7.5%; height:1px; pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(245,211,125,.55), transparent);
  filter:drop-shadow(0 0 8px rgba(215,173,85,.5));
}
.eg-art-filter{
  position:absolute!important; top:25.15%!important; height:5.5%!important;
  border-radius:14px!important; border:1px solid rgba(231,194,103,.26)!important;
  color:#f7e7bc!important; background:rgba(3,17,13,.16)!important;
  backdrop-filter:blur(3px)!important; transition:transform .22s ease, background .22s ease, box-shadow .22s ease, border-color .22s ease!important;
  display:flex!important; align-items:center!important; justify-content:center!important; gap:8px!important;
  font-size:clamp(8px, .72vw, 12px)!important; letter-spacing:.04em!important; text-transform:uppercase!important;
}
.eg-art-filter:nth-child(1){ left:16.5%!important; width:12.2%!important; }
.eg-art-filter:nth-child(2){ left:29.6%!important; width:11.5%!important; }
.eg-art-filter:nth-child(3){ left:42.2%!important; width:12.0%!important; }
.eg-art-filter:nth-child(4){ left:55.0%!important; width:13.0%!important; }
.eg-art-filter.eg-art-all{ left:69.6%!important; top:25.15%!important; width:9.6%!important; }
.eg-art-filter b{
  min-width:20px; height:20px; padding:0 6px; border-radius:999px;
  display:inline-grid; place-items:center; background:rgba(215,173,85,.16); color:#ffe6a7; font-size:.86em;
  border:1px solid rgba(215,173,85,.20);
}
.eg-art-filter:hover,
.eg-art-filter:focus-visible{
  transform:translateY(-2px)!important; border-color:rgba(245,211,125,.56)!important;
  background:rgba(19,46,36,.52)!important; box-shadow:0 0 22px rgba(215,173,85,.18), inset 0 1px 0 rgba(255,238,180,.10)!important;
}
.eg-art-filter.active{
  background:linear-gradient(135deg, rgba(217,174,86,.32), rgba(8,40,31,.36))!important;
  border-color:rgba(245,211,125,.72)!important; box-shadow:0 0 28px rgba(215,173,85,.22)!important;
}
.eg-art-hot-nav a{
  border-radius:16px; transition:background .22s ease, box-shadow .22s ease, transform .22s ease;
}
.eg-art-hot-nav a:hover,
.eg-art-hot-nav a:focus-visible{
  background:rgba(244,213,130,.08)!important; box-shadow:0 0 0 1px rgba(244,213,130,.28), 0 0 28px rgba(244,213,130,.14)!important;
  transform:translateY(-1px);
}
.eg-art-slot-book{
  overflow:visible!important; transform-origin:50% 86%!important;
  transition:transform .26s cubic-bezier(.2,.8,.2,1), filter .26s ease, box-shadow .26s ease!important;
}
.eg-art-slot-book img{
  width:100%!important; height:100%!important; object-fit:cover!important; border-radius:4px!important;
  box-shadow:0 14px 28px rgba(0,0,0,.34), 0 0 0 1px rgba(245,211,125,.34)!important;
}
.eg-art-slot-book::before{
  content:""; position:absolute; inset:-4px; border-radius:8px; pointer-events:none;
  background:linear-gradient(135deg, rgba(255,238,174,.28), transparent 22%, transparent 70%, rgba(215,173,85,.25));
  opacity:0; transition:opacity .24s ease;
}
.eg-art-slot-book:hover,
.eg-art-slot-book:focus-visible{
  transform:translateY(-8px) scale(1.035)!important; z-index:20!important; filter:drop-shadow(0 18px 30px rgba(0,0,0,.5))!important;
}
.eg-art-slot-book:hover::before,
.eg-art-slot-book:focus-visible::before{ opacity:1; }
.eg-art-slot-book small{
  position:absolute!important; left:50%!important; bottom:-17px!important; transform:translateX(-50%)!important;
  width:150%!important; padding:4px 7px!important; border-radius:999px!important; font-size:clamp(7px,.55vw,10px)!important;
  color:#f8e7b4!important; background:rgba(3,14,11,.72)!important; border:1px solid rgba(215,173,85,.22)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.25)!important;
}
.eg-art-slot-empty{
  opacity:.64!important; border-radius:8px!important; transition:opacity .2s ease, transform .2s ease, box-shadow .2s ease!important;
}
.eg-art-slot-empty:hover{ opacity:.9!important; transform:translateY(-3px)!important; box-shadow:0 0 24px rgba(215,173,85,.12)!important; }
.eg-shelf-switcher{
  position:absolute; left:50%; bottom:3.1%; transform:translateX(-50%); z-index:30;
  display:grid; grid-template-columns:42px minmax(150px, auto) 42px; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px; background:linear-gradient(180deg, rgba(5,24,19,.78), rgba(2,10,8,.72));
  border:1px solid rgba(215,173,85,.28); box-shadow:0 16px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,236,174,.08);
  backdrop-filter:blur(10px);
}
.eg-shelf-btn{
  width:42px; height:42px; border-radius:999px; cursor:pointer;
  border:1px solid rgba(215,173,85,.38); color:#ffe6a7; background:rgba(5,25,20,.62);
  font-size:28px; line-height:1; display:grid; place-items:center;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.eg-shelf-btn:hover,
.eg-shelf-btn:focus-visible{
  transform:translateY(-2px) scale(1.04); background:rgba(215,173,85,.18); box-shadow:0 0 22px rgba(215,173,85,.24);
}
.eg-shelf-state{ text-align:center; min-width:150px; }
.eg-shelf-state small{ display:block; color:rgba(248,236,208,.62); font-size:9px; letter-spacing:.18em; text-transform:uppercase; }
.eg-shelf-state strong{ display:block; color:#ffdf8c; font-family:Georgia,serif; font-size:18px; letter-spacing:.12em; line-height:1.15; }
.eg-shelf-state strong span{ color:rgba(248,236,208,.38); padding:0 4px; }
.eg-shelf-state em{ display:block; color:rgba(248,236,208,.70); font-style:normal; font-size:10px; }
.eg-art-status{
  bottom:9.25%!important; left:50%!important; transform:translateX(-50%)!important; z-index:28!important;
  background:rgba(3,15,12,.46)!important; border-color:rgba(215,173,85,.18)!important; backdrop-filter:blur(8px)!important;
}

@media (max-width: 900px){
  .eg-art-filter span{ display:none!important; }
  .eg-art-filter b{ font-size:10px; min-width:18px; height:18px; }
  .eg-shelf-switcher{ bottom:2.4%; grid-template-columns:36px minmax(132px, auto) 36px; padding:7px 9px; gap:7px; }
  .eg-shelf-btn{ width:36px; height:36px; font-size:24px; }
  .eg-shelf-state strong{ font-size:15px; }
  .eg-shelf-state em{ font-size:9px; }
}


/* V18.8.9.15 · Collection bookshelf controls + elite badges + aligned hot zones */
.eg-art-hot-nav button{position:absolute;z-index:18;display:block;border:0;background:transparent;border-radius:999px;outline:0;cursor:pointer;color:transparent;transition:background .22s ease, box-shadow .22s ease, transform .22s ease}
.eg-art-hot-nav button:hover,.eg-art-hot-nav button:focus-visible,.eg-art-hot-nav button.active{background:rgba(255,219,126,.055);box-shadow:inset 0 0 0 1px rgba(255,219,126,.30),0 0 24px rgba(215,173,85,.18);transform:translateY(-1px)}
.eg-art-filters{left:16.5%!important;top:24.45%!important;width:50.6%!important;height:6.4%!important;z-index:19!important;gap:.65%!important}
.eg-art-filter{height:100%!important;border:0!important;background:transparent!important;color:transparent!important;cursor:pointer!important;border-radius:10px!important;min-width:0!important;padding:0!important;transition:background .22s ease, box-shadow .22s ease, transform .22s ease!important}
.eg-art-filter:nth-child(1){width:15.3%!important}.eg-art-filter:nth-child(2){width:13.0%!important}.eg-art-filter:nth-child(3){width:14.1%!important}.eg-art-filter:nth-child(4){width:17.1%!important}
.eg-art-filter:hover,.eg-art-filter:focus-visible,.eg-art-filter.active{background:rgba(255,219,126,.07)!important;box-shadow:inset 0 0 0 1px rgba(255,219,126,.34),0 0 24px rgba(215,173,85,.22)!important;transform:translateY(-1px)!important}
.eg-art-filter b,.eg-art-filter span{display:none!important}
.eg-art-all{left:88.4%!important;top:0!important;width:8.4%!important}
.eg-art-status{display:none!important}
.eg-art-badges{position:absolute;right:8.5%;bottom:3.05%;z-index:20;display:flex;align-items:center;gap:8px;pointer-events:none}
.eg-art-status-badge,.eg-art-sync-badge{display:inline-flex;align-items:center;gap:7px;min-height:26px;padding:6px 10px;border-radius:999px;background:linear-gradient(180deg,rgba(10,28,22,.72),rgba(3,11,9,.62));border:1px solid rgba(226,186,94,.24);box-shadow:0 8px 18px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,242,190,.06);color:#f2dfad;font-size:clamp(7px,.62vw,11px);font-weight:800;letter-spacing:.035em;text-transform:uppercase;backdrop-filter:blur(7px)}
.eg-art-status-badge b{color:#fff0b8;font-size:1.05em}.eg-art-status-badge span,.eg-art-sync-badge em{font-style:normal;color:rgba(245,224,178,.74)}.eg-art-sync-badge span{color:#f8da8e}
.eg-art-toast{position:absolute;left:50%;bottom:8.2%;transform:translateX(-50%);z-index:24;max-width:460px;padding:10px 16px;border-radius:999px;background:rgba(3,15,12,.76);border:1px solid rgba(226,186,94,.30);box-shadow:0 16px 36px rgba(0,0,0,.32);color:#f8dfa0;font-size:12px;font-weight:800;text-align:center;backdrop-filter:blur(10px)}
.eg-art-slot-book{will-change:transform;}
.eg-art-slot-book:hover{transform:translateY(-5px) scale(1.03)!important;}
@media(max-width:900px){.eg-art-badges{right:5%;bottom:2.6%;gap:5px}.eg-art-status-badge,.eg-art-sync-badge{padding:5px 8px;font-size:8px}.eg-art-toast{bottom:9%;max-width:84vw;font-size:10px}}


/* THE LEGENDS · COLLECTIONS REAL BUTTON SYSTEM V18.8.9.15
   9 top functional buttons + 7 lower controls with real hover/click panels. */
.eg-art-library[data-version="18.8.9.15"] .eg-art-hot-nav button.eg-hot-btn,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter{
  position:absolute;display:block;border:0;background:transparent;border-radius:999px;outline:0;cursor:pointer;
  color:transparent;transition:filter .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.eg-art-library[data-version="18.8.9.15"] .eg-art-hot-nav button.eg-hot-btn::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter::before{
  content:'';position:absolute;inset:-3px;border-radius:inherit;opacity:0;pointer-events:none;
  background:url('/assets/ebook-gallery/ui/hot-button-glow.svg') center/100% 100% no-repeat;
  filter:drop-shadow(0 0 14px rgba(215,173,85,.22));transition:opacity .2s ease, transform .2s ease;
}
.eg-art-library[data-version="18.8.9.15"] .eg-art-hot-nav button.eg-hot-btn.active::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter.active::before{
  opacity:.72;background-image:url('/assets/ebook-gallery/ui/hot-button-active.svg');
}
.eg-art-library[data-version="18.8.9.15"] .eg-art-hot-nav button.eg-hot-btn:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-hot-nav button.eg-hot-btn:focus-visible::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:focus-visible::before{opacity:1;transform:translateY(-1px)}
.eg-art-library[data-version="18.8.9.15"] .eg-art-hot-nav button.eg-hot-btn:hover,
.eg-art-library[data-version="18.8.9.15"] .eg-art-hot-nav button.eg-hot-btn:focus-visible,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:hover,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:focus-visible{transform:translateY(-1px);}
.eg-art-library[data-version="18.8.9.15"] .eg-hot-btn span,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter span{
  position:absolute;left:50%;top:100%;transform:translate(-50%,8px);z-index:4;opacity:0;pointer-events:none;white-space:nowrap;
  padding:5px 9px;border-radius:999px;background:rgba(4,16,12,.86);border:1px solid rgba(229,190,96,.34);
  color:#f5dda3;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 10px 18px rgba(0,0,0,.28);transition:opacity .16s ease, transform .16s ease;
}
.eg-art-library[data-version="18.8.9.15"] .eg-hot-btn:hover span,
.eg-art-library[data-version="18.8.9.15"] .eg-hot-btn:focus-visible span,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:hover span,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:focus-visible span{opacity:1;transform:translate(-50%,4px)}
.eg-art-library[data-version="18.8.9.15"] .eg-icon-action span{top:105%;font-size:9px;padding:4px 7px}
.eg-art-library[data-version="18.8.9.15"] .eg-member-action span{top:92%;}
.eg-art-library[data-version="18.8.9.15"] .eg-bottom-action span{top:110%;}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter b{
  position:absolute;right:7px;top:5px;display:grid!important;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  background:rgba(5,21,16,.78);border:1px solid rgba(229,190,96,.35);color:#f5d98e;font-size:9px;font-weight:900;opacity:.0;transform:scale(.86);transition:opacity .18s ease, transform .18s ease;
}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:hover b,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter.active b{opacity:1;transform:scale(1)}
.eg-art-library[data-version="18.8.9.15"] .eg-art-all{left:88.4%!important;top:0!important;width:8.4%!important;}

.eg-art-library[data-version="18.8.9.15"] .eg-art-action-panel{
  position:absolute;right:8.4%;top:31.3%;z-index:30;width:min(360px,28vw);min-height:124px;padding:18px 20px 18px;
  border:1px solid rgba(229,190,96,.28);border-radius:20px;background:linear-gradient(145deg,rgba(4,22,17,.90),rgba(1,9,7,.78));
  color:#f5e2b3;box-shadow:0 22px 54px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,244,203,.06);backdrop-filter:blur(12px);
}
.eg-art-library[data-version="18.8.9.15"] .eg-art-action-panel::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-action-panel::after{content:'';position:absolute;width:56px;height:56px;background:url('/assets/ebook-gallery/ui/panel-corner-gold.svg') center/contain no-repeat;opacity:.78;pointer-events:none}
.eg-art-library[data-version="18.8.9.15"] .eg-art-action-panel::before{left:-5px;top:-5px}
.eg-art-library[data-version="18.8.9.15"] .eg-art-action-panel::after{right:-5px;bottom:-5px;transform:rotate(180deg)}
.eg-art-library[data-version="18.8.9.15"] .eg-art-action-panel h3{margin:0 0 6px;font-family:Georgia,'Times New Roman',serif;font-size:18px;color:#f4d98f;letter-spacing:.08em;text-transform:uppercase}
.eg-art-library[data-version="18.8.9.15"] .eg-art-action-panel p{margin:0 0 12px;color:rgba(245,226,179,.76);font-size:12px;line-height:1.55}
.eg-art-library[data-version="18.8.9.15"] .eg-panel-close{position:absolute;right:10px;top:9px;width:28px;height:28px;border-radius:999px;border:1px solid rgba(229,190,96,.22);background:rgba(5,20,15,.62);color:#f4d98f;cursor:pointer}
.eg-art-library[data-version="18.8.9.15"] .eg-search-row{display:flex;gap:8px}
.eg-art-library[data-version="18.8.9.15"] .eg-search-row input{flex:1;height:38px;border-radius:999px;border:1px solid rgba(229,190,96,.22);background:rgba(1,9,7,.62);color:#fff3cf;padding:0 13px;outline:0}
.eg-art-library[data-version="18.8.9.15"] .eg-search-row button,
.eg-art-library[data-version="18.8.9.15"] .eg-chip-list button,
.eg-art-library[data-version="18.8.9.15"] .eg-mini-book-list button{border:1px solid rgba(229,190,96,.25);background:rgba(7,32,24,.58);color:#f6dda0;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:900;cursor:pointer;transition:background .2s, transform .2s, box-shadow .2s}
.eg-art-library[data-version="18.8.9.15"] .eg-search-row button:hover,
.eg-art-library[data-version="18.8.9.15"] .eg-chip-list button:hover,
.eg-art-library[data-version="18.8.9.15"] .eg-mini-book-list button:hover{background:rgba(215,173,85,.18);transform:translateY(-1px);box-shadow:0 10px 20px rgba(0,0,0,.24)}
.eg-art-library[data-version="18.8.9.15"] .eg-chip-list{display:flex;gap:8px;flex-wrap:wrap}
.eg-art-library[data-version="18.8.9.15"] .eg-panel-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.eg-art-library[data-version="18.8.9.15"] .eg-panel-metrics span{border:1px solid rgba(229,190,96,.18);border-radius:14px;padding:10px 8px;background:rgba(255,255,255,.035);font-weight:900;text-align:center;color:#f4d98f}
.eg-art-library[data-version="18.8.9.15"] .eg-panel-list{left:9%;right:auto;top:31%;width:360px;max-height:46%;overflow:auto}
.eg-art-library[data-version="18.8.9.15"] .eg-mini-book-list{display:grid;gap:7px}
.eg-art-library[data-version="18.8.9.15"] .eg-mini-book-list button{display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;border-radius:14px;text-align:left;padding:7px 9px}
.eg-art-library[data-version="18.8.9.15"] .eg-mini-book-list img{width:34px;height:44px;object-fit:cover;border-radius:6px;border:1px solid rgba(229,190,96,.22)}
.eg-art-library[data-version="18.8.9.15"] .eg-mini-book-list span{grid-column:2;color:#fff0c0;font-size:11px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eg-art-library[data-version="18.8.9.15"] .eg-mini-book-list em{grid-column:2;color:rgba(245,226,179,.62);font-size:10px;font-style:normal}

/* Correct hot-zone alignment for 9 top buttons + 7 lower controls */
.eg-art-library[data-version="18.8.9.15"] .eg-hot-logo{left:5.5%!important;top:1.0%!important;width:16.0%!important;height:7.4%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="library"]{left:26.6%!important;top:1.45%!important;width:7.1%!important;height:6.3%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="collections"]{left:34.1%!important;top:1.45%!important;width:9.1%!important;height:6.3%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="authors"]{left:43.7%!important;top:1.45%!important;width:7.5%!important;height:6.3%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="exclusives"]{left:51.7%!important;top:1.45%!important;width:9.7%!important;height:6.3%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="membership"]{left:62.0%!important;top:1.45%!important;width:10.4%!important;height:6.3%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="about"]{left:73.0%!important;top:1.45%!important;width:7.0%!important;height:6.3%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="search"]{left:81.35%!important;top:1.1%!important;width:3.35%!important;height:7.0%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="notify"]{left:85.35%!important;top:1.1%!important;width:3.0%!important;height:7.0%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="profile"]{left:88.9%!important;top:1.0%!important;width:9.2%!important;height:7.0%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="sort"]{left:67.5%!important;top:24.15%!important;width:11.7%!important;height:6.4%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="view-grid"]{left:79.75%!important;top:24.0%!important;width:3.25%!important;height:6.5%!important;}
.eg-art-library[data-version="18.8.9.15"] button[data-hot="view-list"]{left:83.4%!important;top:24.0%!important;width:3.25%!important;height:6.5%!important;}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filters{left:16.45%!important;top:24.15%!important;width:48.8%!important;height:6.6%!important;gap:.72%!important;}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:nth-child(1){width:15.2%!important}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:nth-child(2){width:13.2%!important}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:nth-child(3){width:14.4%!important}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:nth-child(4){width:17.0%!important}
.eg-art-library[data-version="18.8.9.15"] .eg-art-all{left:88.3%!important;}
@media(max-width:900px){
  .eg-art-library[data-version="18.8.9.15"] .eg-hot-btn span,.eg-art-library[data-version="18.8.9.15"] .eg-art-filter span{display:none!important}
  .eg-art-library[data-version="18.8.9.15"] .eg-art-action-panel{left:50%!important;right:auto!important;top:31%!important;transform:translateX(-50%);width:min(86vw,360px)}
  .eg-art-library[data-version="18.8.9.15"] .eg-panel-list{top:32%!important;max-height:42%;}
}


/* THE LEGENDS · COLLECTIONS SEPARATED ASSETS + REAL BUTTONS V18.8.9.15
   Hard background has no button text/icons. All top/bottom controls are real HTML buttons using separated SVG assets. */
.eg-art-library[data-version="18.8.9.15"] .eg-art-bg img{object-fit:cover;object-position:center top;filter:saturate(1.04) contrast(1.03) brightness(.98)!important}
.eg-art-library[data-version="18.8.9.15"] .eg-art-hot-nav,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filters{position:absolute;inset:0;z-index:24;pointer-events:none}
.eg-art-library[data-version="18.8.9.15"] .eg-real-btn,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter{position:absolute!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:.52vw!important;border:0!important;margin:0!important;padding:0!important;background:transparent!important;color:#f6dea4!important;pointer-events:auto!important;cursor:pointer!important;overflow:visible!important;isolation:isolate!important;text-transform:uppercase!important;letter-spacing:.055em!important;font-weight:900!important;font-size:clamp(8px,.74vw,14px)!important;text-shadow:0 1px 2px rgba(0,0,0,.65),0 0 12px rgba(242,196,88,.22)!important;transition:transform .18s ease, filter .18s ease!important}
.eg-art-library[data-version="18.8.9.15"] .eg-real-btn::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter::before{content:"";position:absolute;inset:-6% -4%;z-index:-1;background:center/100% 100% no-repeat;filter:drop-shadow(0 10px 15px rgba(0,0,0,.42));opacity:.96;transition:opacity .18s ease,filter .18s ease,transform .18s ease}
.eg-art-library[data-version="18.8.9.15"] .eg-top-action::before{background-image:url('/assets/ebook-gallery/ui/nav-plaque-normal.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-top-action.active::before,
.eg-art-library[data-version="18.8.9.15"] .eg-top-action:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-top-action:focus-visible::before{background-image:url('/assets/ebook-gallery/ui/nav-plaque-active.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-icon-action::before{background-image:url('/assets/ebook-gallery/ui/icon-circle-normal.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-icon-action.active::before,
.eg-art-library[data-version="18.8.9.15"] .eg-icon-action:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-icon-action:focus-visible::before{background-image:url('/assets/ebook-gallery/ui/icon-circle-active.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-member-action::before{background-image:url('/assets/ebook-gallery/ui/nav-plaque-normal.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-member-action.active::before,
.eg-art-library[data-version="18.8.9.15"] .eg-member-action:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-member-action:focus-visible::before{background-image:url('/assets/ebook-gallery/ui/nav-plaque-active.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-bottom-action::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter::before{background-image:url('/assets/ebook-gallery/ui/control-plaque-normal.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-bottom-action.active::before,
.eg-art-library[data-version="18.8.9.15"] .eg-bottom-action:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-bottom-action:focus-visible::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter.active::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:focus-visible::before{background-image:url('/assets/ebook-gallery/ui/control-plaque-active.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-square-action::before{background-image:url('/assets/ebook-gallery/ui/square-button-normal.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-square-action.active::before,
.eg-art-library[data-version="18.8.9.15"] .eg-square-action:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-square-action:focus-visible::before{background-image:url('/assets/ebook-gallery/ui/square-button-active.svg')}
.eg-art-library[data-version="18.8.9.15"] .eg-real-btn:hover,
.eg-art-library[data-version="18.8.9.15"] .eg-real-btn:focus-visible,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:hover,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:focus-visible{transform:translateY(-2px)!important;filter:brightness(1.12)!important}
.eg-art-library[data-version="18.8.9.15"] .eg-real-btn:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-real-btn:focus-visible::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:focus-visible::before{filter:drop-shadow(0 0 18px rgba(236,190,83,.48)) drop-shadow(0 12px 16px rgba(0,0,0,.42));transform:scale(1.015)}
.eg-art-library[data-version="18.8.9.15"] .eg-real-btn span,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter span{position:relative!important;left:auto!important;top:auto!important;transform:none!important;opacity:1!important;pointer-events:none!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#f7dfa3!important;font-size:inherit!important;font-weight:900!important;letter-spacing:inherit!important;white-space:nowrap!important;text-transform:uppercase!important}
.eg-art-library[data-version="18.8.9.15"] .eg-icon-action span,
.eg-art-library[data-version="18.8.9.15"] .eg-square-action span{font-size:clamp(15px,1.55vw,27px)!important;line-height:1!important;color:#f5cf6e!important}
.eg-art-library[data-version="18.8.9.15"] .eg-member-action span{font-size:clamp(7px,.58vw,11px)!important;letter-spacing:.03em!important;max-width:78%;overflow:hidden;text-overflow:ellipsis}
.eg-art-library[data-version="18.8.9.15"] .eg-member-action em,
.eg-art-library[data-version="18.8.9.15"] .eg-bottom-action em{font-style:normal;color:#f3c96e;font-size:clamp(9px,.75vw,14px);margin-left:.15vw}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter i{font-style:normal;font-size:clamp(12px,1.15vw,22px);color:#eec05b;text-shadow:0 0 14px rgba(238,192,91,.32)}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter b{position:absolute!important;right:8%;top:4%;min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:grid!important;place-items:center!important;background:rgba(2,12,9,.75)!important;border:1px solid rgba(229,190,96,.45)!important;color:#ffe7a5!important;font-size:9px!important;opacity:0;transform:scale(.86);transition:.18s ease}
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter:hover b,
.eg-art-library[data-version="18.8.9.15"] .eg-art-filter.active b{opacity:1;transform:scale(1)}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-switcher{position:absolute;inset:0;z-index:28;pointer-events:none}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-orb{position:absolute;width:4.8%;height:8.6%;border:0;background:transparent;pointer-events:auto;cursor:pointer;display:grid;place-items:center;color:#f5d98d;font-size:clamp(18px,2vw,36px);font-weight:900;transition:transform .2s ease,filter .2s ease}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-prev{left:8.9%;top:51.7%;transform:scaleX(-1)}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-next{left:87.0%;top:51.7%}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-orb::before{content:"";position:absolute;inset:-16%;z-index:-1;background:url('/assets/ebook-gallery/ui/shelf-arrow-normal.svg') center/contain no-repeat;filter:drop-shadow(0 10px 18px rgba(0,0,0,.44));transition:.2s ease}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-prev::before{transform:scaleX(1)}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-orb:hover,
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-orb:focus-visible{filter:brightness(1.12)}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-orb:hover::before,
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-orb:focus-visible::before{background-image:url('/assets/ebook-gallery/ui/shelf-arrow-active.svg');filter:drop-shadow(0 0 18px rgba(236,190,83,.48)) drop-shadow(0 12px 18px rgba(0,0,0,.44));}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-prev span{transform:scaleX(-1)}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-state{position:absolute;right:13.8%;bottom:8.55%;display:flex;align-items:center;gap:9px;min-height:32px;padding:6px 12px;border-radius:999px;background:rgba(3,14,11,.58);border:1px solid rgba(229,190,96,.22);box-shadow:0 10px 22px rgba(0,0,0,.24);color:#f6dfa7;backdrop-filter:blur(8px)}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-state small{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:rgba(246,223,167,.65)}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-state strong{font-size:13px;color:#ffe6a0;letter-spacing:.06em}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-state strong span{opacity:.5;padding:0 2px}
.eg-art-library[data-version="18.8.9.15"] .eg-shelf-state em{font-size:10px;font-style:normal;color:rgba(246,223,167,.66)}
.eg-art-library[data-version="18.8.9.15"] .eg-art-badges{display:none!important}
.eg-art-library[data-version="18.8.9.15"] .eg-art-notes{display:none!important}
/* slot realignment for blank background */
.eg-art-library[data-version="18.8.9.15"] .eg-art-slot-book img{border-radius:5px!important;}
.eg-art-library[data-version="18.8.9.15"] .eg-art-slot-book:hover{transform:translateY(-7px) scale(1.03)!important}
@media(max-width:900px){
  .eg-art-library[data-version="18.8.9.15"] .eg-art-stage{width:1180px;max-width:none}
  .eg-art-library[data-version="18.8.9.15"] .eg-real-btn span,.eg-art-library[data-version="18.8.9.15"] .eg-art-filter span{display:flex!important}
  .eg-art-library[data-version="18.8.9.15"] .eg-top-action span,.eg-art-library[data-version="18.8.9.15"] .eg-bottom-action span,.eg-art-library[data-version="18.8.9.15"] .eg-art-filter span{font-size:10px!important}
}


/* THE LEGENDS · COLLECTIONS BACKGROUND + EXTRACTED BUTTON ASSETS V18.8.9.16
   Final fix: background is a clean plate, buttons are real HTML overlays using transparent PNG/SVG assets. */
body.eg-collections-art-mode{background:#010b09!important;overflow-x:hidden!important;}
.eg-art-library[data-version="18.8.9.16"]{min-height:100svh;background:#010b09;color:#f6e4b0;}
.eg-art-library[data-version="18.8.9.16"] .eg-art-stage{
  position:relative!important;width:min(100vw,1672px)!important;max-width:1672px!important;margin:0 auto!important;aspect-ratio:1672/941!important;overflow:hidden!important;background:#010b09!important;isolation:isolate!important;box-shadow:0 30px 120px rgba(0,0,0,.55)!important;
}
.eg-art-library[data-version="18.8.9.16"] .eg-art-stage::before,
.eg-art-library[data-version="18.8.9.16"] .eg-art-stage::after{display:none!important;content:none!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-art-bg,
.eg-art-library[data-version="18.8.9.16"] .eg-art-bg img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-art-bg img{object-fit:cover!important;object-position:center center!important;filter:saturate(1.03) contrast(1.02) brightness(.99)!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.16"] .eg-asset-controls{position:absolute!important;inset:0!important;z-index:30!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn{
  position:absolute!important;border:0!important;margin:0!important;padding:0!important;background-color:transparent!important;background-position:center!important;background-repeat:no-repeat!important;background-size:100% 100%!important;pointer-events:auto!important;cursor:pointer!important;color:transparent!important;text-indent:-9999px!important;overflow:visible!important;transition:transform .18s ease, filter .18s ease, opacity .18s ease!important;outline:0!important;
}
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn span{position:absolute!important;inline-size:1px!important;block-size:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn:focus-visible{transform:translateY(-1px)!important;filter:drop-shadow(0 0 15px rgba(239,190,74,.58)) brightness(1.08)!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn:active{transform:translateY(0) scale(.985)!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn::after{content:attr(title);position:absolute;left:50%;top:100%;transform:translate(-50%,6px);z-index:60;opacity:0;pointer-events:none;white-space:nowrap;padding:5px 9px;border-radius:999px;background:rgba(4,16,12,.92);border:1px solid rgba(229,190,96,.34);color:#f5dda3;text-indent:0;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 10px 18px rgba(0,0,0,.28);transition:opacity .16s ease, transform .16s ease;}
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn:hover::after,
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn:focus-visible::after{opacity:1;transform:translate(-50%,2px);}
/* Top bar asset positioning on 1672x941 background */
.eg-art-library[data-version="18.8.9.16"] .eg-nav-library{left:8.85%;top:3.65%;width:10.6%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/library-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-collections{left:20.95%;top:3.65%;width:10.4%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/collections-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-authors{left:32.35%;top:3.65%;width:10.0%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/authors-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-exclusives{left:43.0%;top:3.65%;width:10.2%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/exclusives-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-membership{left:54.0%;top:3.65%;width:10.35%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/membership-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-about{left:65.15%;top:3.65%;width:9.85%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/about-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-search{left:75.55%;top:3.18%;width:4.05%;height:6.1%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/search-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-notification{left:80.05%;top:3.18%;width:4.05%;height:6.1%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/notification-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-member{left:84.65%;top:3.55%;width:12.15%;height:5.35%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/member-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-library.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-nav-library:hover,.eg-art-library[data-version="18.8.9.16"] .eg-nav-library:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/library-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-collections.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-nav-collections:hover,.eg-art-library[data-version="18.8.9.16"] .eg-nav-collections:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/collections-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-authors.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-nav-authors:hover,.eg-art-library[data-version="18.8.9.16"] .eg-nav-authors:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/authors-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-exclusives.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-nav-exclusives:hover,.eg-art-library[data-version="18.8.9.16"] .eg-nav-exclusives:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/exclusives-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-membership.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-nav-membership:hover,.eg-art-library[data-version="18.8.9.16"] .eg-nav-membership:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/membership-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-about.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-nav-about:hover,.eg-art-library[data-version="18.8.9.16"] .eg-nav-about:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/about-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-search.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-nav-search:hover,.eg-art-library[data-version="18.8.9.16"] .eg-nav-search:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/search-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-notification.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-nav-notification:hover,.eg-art-library[data-version="18.8.9.16"] .eg-nav-notification:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/notification-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-nav-member.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-nav-member:hover,.eg-art-library[data-version="18.8.9.16"] .eg-nav-member:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/member-hover-active.png')}
/* Second row controls */
.eg-art-library[data-version="18.8.9.16"] .eg-control-picture-books{left:13.0%;top:32.5%;width:12.4%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/picture-books-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-novels{left:25.3%;top:32.5%;width:12.0%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/novels-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-audiobooks{left:37.5%;top:32.5%;width:12.4%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/audiobooks-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-interactive-books{left:50.3%;top:32.5%;width:12.4%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/interactive-books-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-sort{left:64.5%;top:32.5%;width:13.4%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/sort-newest-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-grid{left:79.0%;top:32.3%;width:3.9%;height:6.25%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/grid-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-list{left:83.1%;top:32.3%;width:3.9%;height:6.25%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/list-normal.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-picture-books.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-control-picture-books:hover,.eg-art-library[data-version="18.8.9.16"] .eg-control-picture-books:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/picture-books-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-novels.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-control-novels:hover,.eg-art-library[data-version="18.8.9.16"] .eg-control-novels:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/novels-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-audiobooks.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-control-audiobooks:hover,.eg-art-library[data-version="18.8.9.16"] .eg-control-audiobooks:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/audiobooks-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-interactive-books.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-control-interactive-books:hover,.eg-art-library[data-version="18.8.9.16"] .eg-control-interactive-books:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/interactive-books-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-sort:hover,.eg-art-library[data-version="18.8.9.16"] .eg-control-sort:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/sort-newest-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-grid.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-control-grid:hover,.eg-art-library[data-version="18.8.9.16"] .eg-control-grid:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/grid-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-control-list.is-active,.eg-art-library[data-version="18.8.9.16"] .eg-control-list:hover,.eg-art-library[data-version="18.8.9.16"] .eg-control-list:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/list-hover-active.png')}
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn b{position:absolute;right:5%;top:0;min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:rgba(2,12,9,.82);border:1px solid rgba(229,190,96,.45);color:#ffe7a5;text-indent:0;font-size:9px;font-weight:900;opacity:0;transition:.18s ease;}
.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn:hover b,.eg-art-library[data-version="18.8.9.16"] .eg-asset-btn.is-active b{opacity:1;}
/* Dynamic cover slots */
.eg-art-library[data-version="18.8.9.16"] .eg-art-slots{position:absolute!important;inset:0!important;z-index:18!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-art-slot{position:absolute!important;border:0!important;background:transparent!important;pointer-events:auto!important;border-radius:6px!important;overflow:hidden!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-art-slot-book{box-shadow:0 14px 32px rgba(0,0,0,.38),0 0 0 1px rgba(244,210,126,.20)!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-art-slot-book img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:5px!important;display:block!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-art-slot-book:hover{transform:translateY(-5px) scale(1.025)!important;filter:brightness(1.08)!important;box-shadow:0 22px 44px rgba(0,0,0,.42),0 0 0 1px rgba(255,224,142,.56),0 0 30px rgba(215,173,85,.18)!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-art-slot-empty{pointer-events:none!important;}
/* Independent shelf arrows */
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-switcher-v16{position:absolute!important;inset:0!important;z-index:35!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-asset{position:absolute!important;border:0!important;margin:0!important;padding:0!important;background-color:transparent!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;pointer-events:auto!important;cursor:pointer!important;color:transparent!important;text-indent:-9999px!important;transition:transform .18s ease,filter .18s ease!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-prev{left:8.7%!important;top:58.5%!important;width:4.2%!important;height:12.2%!important;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/shelf_arrows/shelf-prev-normal.svg')!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-next{left:87.0%!important;top:58.5%!important;width:4.2%!important;height:12.2%!important;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/shelf_arrows/shelf-next-normal.svg')!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-prev:hover,.eg-art-library[data-version="18.8.9.16"] .eg-shelf-prev:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/shelf_arrows/shelf-prev-hover.svg')!important;filter:drop-shadow(0 0 14px rgba(236,190,83,.62)) brightness(1.1)!important;transform:translateX(-2px)!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-next:hover,.eg-art-library[data-version="18.8.9.16"] .eg-shelf-next:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/shelf_arrows/shelf-next-hover.svg')!important;filter:drop-shadow(0 0 14px rgba(236,190,83,.62)) brightness(1.1)!important;transform:translateX(2px)!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-state{position:absolute;left:43.4%!important;bottom:4.7%!important;width:12.4%!important;height:4.4%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border-radius:999px!important;background:rgba(3,14,11,.36)!important;border:1px solid rgba(229,190,96,.20)!important;box-shadow:0 10px 22px rgba(0,0,0,.18)!important;color:#f6dfa7!important;backdrop-filter:blur(8px)!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-state small{font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:rgba(246,223,167,.65)}
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-state strong{font-size:12px;color:#ffe6a0;letter-spacing:.06em}
.eg-art-library[data-version="18.8.9.16"] .eg-shelf-state em{font-size:9px;font-style:normal;color:rgba(246,223,167,.66)}
.eg-art-library[data-version="18.8.9.16"] .eg-art-action-panel{position:absolute;right:8.3%;top:39.5%;z-index:45;width:min(360px,28vw);min-height:124px;padding:18px 20px;border:1px solid rgba(229,190,96,.28);border-radius:20px;background:linear-gradient(145deg,rgba(4,22,17,.92),rgba(1,9,7,.82));color:#f5e2b3;box-shadow:0 22px 54px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,244,203,.06);backdrop-filter:blur(12px);}
.eg-art-library[data-version="18.8.9.16"] .eg-art-notes,.eg-art-library[data-version="18.8.9.16"] .eg-art-badges{display:none!important;}
@media(max-width:900px){
  body.eg-collections-art-mode{overflow-x:auto!important;}
  .eg-art-library[data-version="18.8.9.16"]{min-width:1180px;}
  .eg-art-library[data-version="18.8.9.16"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
}


/* THE LEGENDS · COLLECTIONS BACKGROUND + EXTRACTED BUTTON ASSETS V18.8.9.17
   Final fix: background is a clean plate, buttons are real HTML overlays using transparent PNG/SVG assets. */
body.eg-collections-art-mode{background:#010b09!important;overflow-x:hidden!important;}
.eg-art-library[data-version="18.8.9.17"]{min-height:100svh;background:#010b09;color:#f6e4b0;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-stage{
  position:relative!important;width:min(100vw,1672px)!important;max-width:1672px!important;margin:0 auto!important;aspect-ratio:1672/941!important;overflow:hidden!important;background:#010b09!important;isolation:isolate!important;box-shadow:0 30px 120px rgba(0,0,0,.55)!important;
}
.eg-art-library[data-version="18.8.9.17"] .eg-art-stage::before,
.eg-art-library[data-version="18.8.9.17"] .eg-art-stage::after{display:none!important;content:none!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-bg,
.eg-art-library[data-version="18.8.9.17"] .eg-art-bg img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-bg img{object-fit:cover!important;object-position:center center!important;filter:saturate(1.03) contrast(1.02) brightness(.99)!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.17"] .eg-asset-controls{position:absolute!important;inset:0!important;z-index:30!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn{
  position:absolute!important;border:0!important;margin:0!important;padding:0!important;background-color:transparent!important;background-position:center!important;background-repeat:no-repeat!important;background-size:100% 100%!important;pointer-events:auto!important;cursor:pointer!important;color:transparent!important;text-indent:-9999px!important;overflow:visible!important;transition:transform .18s ease, filter .18s ease, opacity .18s ease!important;outline:0!important;
}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn span{position:absolute!important;inline-size:1px!important;block-size:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn:focus-visible{transform:translateY(-1px)!important;filter:drop-shadow(0 0 15px rgba(239,190,74,.58)) brightness(1.08)!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn:active{transform:translateY(0) scale(.985)!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn::after{content:attr(title);position:absolute;left:50%;top:100%;transform:translate(-50%,6px);z-index:60;opacity:0;pointer-events:none;white-space:nowrap;padding:5px 9px;border-radius:999px;background:rgba(4,16,12,.92);border:1px solid rgba(229,190,96,.34);color:#f5dda3;text-indent:0;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 10px 18px rgba(0,0,0,.28);transition:opacity .16s ease, transform .16s ease;}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn:hover::after,
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn:focus-visible::after{opacity:1;transform:translate(-50%,2px);}
/* Top bar asset positioning on 1672x941 background */
.eg-art-library[data-version="18.8.9.17"] .eg-nav-library{left:8.85%;top:3.65%;width:10.6%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/library-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-collections{left:20.95%;top:3.65%;width:10.4%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/collections-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-authors{left:32.35%;top:3.65%;width:10.0%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/authors-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-exclusives{left:43.0%;top:3.65%;width:10.2%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/exclusives-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-membership{left:54.0%;top:3.65%;width:10.35%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/membership-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-about{left:65.15%;top:3.65%;width:9.85%;height:5.2%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/about-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-search{left:75.55%;top:3.18%;width:4.05%;height:6.1%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/search-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-notification{left:80.05%;top:3.18%;width:4.05%;height:6.1%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/notification-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-member{left:84.65%;top:3.55%;width:12.15%;height:5.35%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/member-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-library.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-nav-library:hover,.eg-art-library[data-version="18.8.9.17"] .eg-nav-library:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/library-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-collections.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-nav-collections:hover,.eg-art-library[data-version="18.8.9.17"] .eg-nav-collections:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/collections-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-authors.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-nav-authors:hover,.eg-art-library[data-version="18.8.9.17"] .eg-nav-authors:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/authors-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-exclusives.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-nav-exclusives:hover,.eg-art-library[data-version="18.8.9.17"] .eg-nav-exclusives:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/exclusives-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-membership.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-nav-membership:hover,.eg-art-library[data-version="18.8.9.17"] .eg-nav-membership:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/membership-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-about.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-nav-about:hover,.eg-art-library[data-version="18.8.9.17"] .eg-nav-about:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/about-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-search.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-nav-search:hover,.eg-art-library[data-version="18.8.9.17"] .eg-nav-search:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/search-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-notification.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-nav-notification:hover,.eg-art-library[data-version="18.8.9.17"] .eg-nav-notification:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/notification-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-member.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-nav-member:hover,.eg-art-library[data-version="18.8.9.17"] .eg-nav-member:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/member-hover-active.png')}
/* Second row controls */
.eg-art-library[data-version="18.8.9.17"] .eg-control-picture-books{left:13.0%;top:32.5%;width:12.4%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/picture-books-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-novels{left:25.3%;top:32.5%;width:12.0%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/novels-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-audiobooks{left:37.5%;top:32.5%;width:12.4%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/audiobooks-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-interactive-books{left:50.3%;top:32.5%;width:12.4%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/interactive-books-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-sort{left:64.5%;top:32.5%;width:13.4%;height:6.0%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/sort-newest-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-grid{left:79.0%;top:32.3%;width:3.9%;height:6.25%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/grid-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-list{left:83.1%;top:32.3%;width:3.9%;height:6.25%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/list-normal.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-picture-books.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-control-picture-books:hover,.eg-art-library[data-version="18.8.9.17"] .eg-control-picture-books:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/picture-books-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-novels.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-control-novels:hover,.eg-art-library[data-version="18.8.9.17"] .eg-control-novels:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/novels-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-audiobooks.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-control-audiobooks:hover,.eg-art-library[data-version="18.8.9.17"] .eg-control-audiobooks:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/audiobooks-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-interactive-books.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-control-interactive-books:hover,.eg-art-library[data-version="18.8.9.17"] .eg-control-interactive-books:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/interactive-books-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-sort:hover,.eg-art-library[data-version="18.8.9.17"] .eg-control-sort:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/sort-newest-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-grid.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-control-grid:hover,.eg-art-library[data-version="18.8.9.17"] .eg-control-grid:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/grid-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-control-list.is-active,.eg-art-library[data-version="18.8.9.17"] .eg-control-list:hover,.eg-art-library[data-version="18.8.9.17"] .eg-control-list:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/list-hover-active.png')}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn b{position:absolute;right:5%;top:0;min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:rgba(2,12,9,.82);border:1px solid rgba(229,190,96,.45);color:#ffe7a5;text-indent:0;font-size:9px;font-weight:900;opacity:0;transition:.18s ease;}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn:hover b,.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn.is-active b{opacity:1;}
/* Dynamic cover slots */
.eg-art-library[data-version="18.8.9.17"] .eg-art-slots{position:absolute!important;inset:0!important;z-index:18!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-slot{position:absolute!important;border:0!important;background:transparent!important;pointer-events:auto!important;border-radius:6px!important;overflow:hidden!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-slot-book{box-shadow:0 14px 32px rgba(0,0,0,.38),0 0 0 1px rgba(244,210,126,.20)!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-slot-book img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:5px!important;display:block!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-slot-book:hover{transform:translateY(-5px) scale(1.025)!important;filter:brightness(1.08)!important;box-shadow:0 22px 44px rgba(0,0,0,.42),0 0 0 1px rgba(255,224,142,.56),0 0 30px rgba(215,173,85,.18)!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-slot-empty{pointer-events:none!important;}
/* Independent shelf arrows */
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-switcher-v16{position:absolute!important;inset:0!important;z-index:35!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-asset{position:absolute!important;border:0!important;margin:0!important;padding:0!important;background-color:transparent!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;pointer-events:auto!important;cursor:pointer!important;color:transparent!important;text-indent:-9999px!important;transition:transform .18s ease,filter .18s ease!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-prev{left:8.7%!important;top:58.5%!important;width:4.2%!important;height:12.2%!important;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/shelf_arrows/shelf-prev-normal.svg')!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-next{left:87.0%!important;top:58.5%!important;width:4.2%!important;height:12.2%!important;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/shelf_arrows/shelf-next-normal.svg')!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-prev:hover,.eg-art-library[data-version="18.8.9.17"] .eg-shelf-prev:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/shelf_arrows/shelf-prev-hover.svg')!important;filter:drop-shadow(0 0 14px rgba(236,190,83,.62)) brightness(1.1)!important;transform:translateX(-2px)!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-next:hover,.eg-art-library[data-version="18.8.9.17"] .eg-shelf-next:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/shelf_arrows/shelf-next-hover.svg')!important;filter:drop-shadow(0 0 14px rgba(236,190,83,.62)) brightness(1.1)!important;transform:translateX(2px)!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-state{position:absolute;left:43.4%!important;bottom:4.7%!important;width:12.4%!important;height:4.4%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border-radius:999px!important;background:rgba(3,14,11,.36)!important;border:1px solid rgba(229,190,96,.20)!important;box-shadow:0 10px 22px rgba(0,0,0,.18)!important;color:#f6dfa7!important;backdrop-filter:blur(8px)!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-state small{font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:rgba(246,223,167,.65)}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-state strong{font-size:12px;color:#ffe6a0;letter-spacing:.06em}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-state em{font-size:9px;font-style:normal;color:rgba(246,223,167,.66)}
.eg-art-library[data-version="18.8.9.17"] .eg-art-action-panel{position:absolute;right:8.3%;top:39.5%;z-index:45;width:min(360px,28vw);min-height:124px;padding:18px 20px;border:1px solid rgba(229,190,96,.28);border-radius:20px;background:linear-gradient(145deg,rgba(4,22,17,.92),rgba(1,9,7,.82));color:#f5e2b3;box-shadow:0 22px 54px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,244,203,.06);backdrop-filter:blur(12px);}
.eg-art-library[data-version="18.8.9.17"] .eg-art-notes,.eg-art-library[data-version="18.8.9.17"] .eg-art-badges{display:none!important;}
@media(max-width:900px){
  body.eg-collections-art-mode{overflow-x:auto!important;}
  .eg-art-library[data-version="18.8.9.17"]{min-width:1180px;}
  .eg-art-library[data-version="18.8.9.17"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
}


/* THE LEGENDS · V18.8.9.17 emergency layout fix
   - Disable temporary prev/next shelf arrows.
   - Remove fullscreen dark overlay caused by inherited .eg-shelf-switcher styles.
   - Fit real buttons into the background placeholders.
   - Keep action panels compact, not blob-like. */
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-switcher,
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-switcher-v17,
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-switcher-v16{
  position:absolute!important; inset:0!important; z-index:36!important;
  display:block!important; pointer-events:none!important;
  background:transparent!important; border:0!important; box-shadow:none!important;
  backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
  padding:0!important; margin:0!important; border-radius:0!important; transform:none!important;
}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-asset,
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-prev,
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-next{
  display:none!important; visibility:hidden!important; pointer-events:none!important;
}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-state{
  position:absolute!important; left:43.55%!important; bottom:3.8%!important;
  width:12.0%!important; height:3.5%!important; min-width:0!important;
  display:flex!important; align-items:center!important; justify-content:center!important; gap:5px!important;
  border-radius:999px!important; background:rgba(3,14,11,.30)!important;
  border:1px solid rgba(229,190,96,.18)!important; box-shadow:0 8px 18px rgba(0,0,0,.12)!important;
  color:#f6dfa7!important; backdrop-filter:blur(5px)!important; -webkit-backdrop-filter:blur(5px)!important;
  pointer-events:none!important; padding:0!important;
}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-state small{display:none!important}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-state strong{font-size:clamp(8px,.68vw,12px)!important;color:#ffe6a0!important;letter-spacing:.06em!important;line-height:1!important}
.eg-art-library[data-version="18.8.9.17"] .eg-shelf-state em{font-size:clamp(6px,.48vw,9px)!important;font-style:normal!important;color:rgba(246,223,167,.62)!important;line-height:1!important}

/* Top buttons: slightly smaller to sit inside blank plaques */
.eg-art-library[data-version="18.8.9.17"] .eg-nav-library{left:8.95%!important;top:3.42%!important;width:10.05%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-collections{left:21.35%!important;top:3.42%!important;width:10.05%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-authors{left:32.62%!important;top:3.42%!important;width:9.70%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-exclusives{left:43.18%!important;top:3.42%!important;width:9.95%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-membership{left:54.05%!important;top:3.42%!important;width:10.05%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-about{left:65.05%!important;top:3.42%!important;width:9.55%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-search{left:75.45%!important;top:3.14%!important;width:3.60%!important;height:5.62%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-notification{left:79.65%!important;top:3.14%!important;width:3.60%!important;height:5.62%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-nav-member{left:83.95%!important;top:3.42%!important;width:13.45%!important;height:4.85%!important}

/* Lower row: tightened to real empty control frames */
.eg-art-library[data-version="18.8.9.17"] .eg-control-picture-books{left:13.10%!important;top:32.46%!important;width:12.0%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-control-novels{left:25.12%!important;top:32.46%!important;width:12.0%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-control-audiobooks{left:37.16%!important;top:32.46%!important;width:12.0%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-control-interactive-books{left:49.38%!important;top:32.46%!important;width:12.45%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-control-sort{left:63.12%!important;top:32.46%!important;width:13.40%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-control-grid{left:78.05%!important;top:32.42%!important;width:3.45%!important;height:5.72%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-control-list{left:82.20%!important;top:32.42%!important;width:3.45%!important;height:5.72%!important}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn:focus-visible{
  transform:translateY(-.7px)!important; filter:drop-shadow(0 0 9px rgba(239,190,74,.45)) brightness(1.035)!important;
}
.eg-art-library[data-version="18.8.9.17"] .eg-asset-btn::after{font-size:9px!important;padding:4px 7px!important;top:95%!important}

/* Cover slots recalibration for the centered background */
.eg-art-library[data-version="18.8.9.17"] .eg-art-slot{border-radius:5px!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-slot-book img{border-radius:4px!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-slot-book:hover{transform:translateY(-4px) scale(1.018)!important;}

/* Compact panels: no oversized blur/blob */
.eg-art-library[data-version="18.8.9.17"] .eg-art-action-panel{
  position:absolute!important; right:8.1%!important; top:39.4%!important; left:auto!important;
  width:min(330px,24vw)!important; min-height:0!important; max-height:42%!important; overflow:auto!important;
  padding:14px 16px!important; border-radius:16px!important; background:linear-gradient(145deg,rgba(4,22,17,.86),rgba(1,9,7,.78))!important;
  border:1px solid rgba(229,190,96,.23)!important; box-shadow:0 18px 42px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,244,203,.05)!important;
  backdrop-filter:blur(8px)!important; -webkit-backdrop-filter:blur(8px)!important;
}
.eg-art-library[data-version="18.8.9.17"] .eg-panel-list{left:8.1%!important;right:auto!important;top:39.4%!important;width:min(330px,24vw)!important;}
.eg-art-library[data-version="18.8.9.17"] .eg-art-action-panel h3{font-size:15px!important;margin:0 0 5px!important}
.eg-art-library[data-version="18.8.9.17"] .eg-art-action-panel p{font-size:11px!important;line-height:1.45!important;margin:0 0 9px!important}
.eg-art-library[data-version="18.8.9.17"] .eg-search-row input{height:34px!important;font-size:11px!important}
.eg-art-library[data-version="18.8.9.17"] .eg-search-row button,
.eg-art-library[data-version="18.8.9.17"] .eg-chip-list button,
.eg-art-library[data-version="18.8.9.17"] .eg-mini-book-list button{font-size:10px!important;padding:7px 10px!important}

/* Mobile/tablet: keep desktop art board scrollable but no blob */
@media(max-width:900px){
  .eg-art-library[data-version="18.8.9.17"]{min-width:1180px!important;}
  .eg-art-library[data-version="18.8.9.17"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
  .eg-art-library[data-version="18.8.9.17"] .eg-shelf-state{bottom:3.8%!important}
  .eg-art-library[data-version="18.8.9.17"] .eg-art-action-panel{left:50%!important;right:auto!important;top:39%!important;transform:translateX(-50%)!important;width:330px!important;}
}


/* THE LEGENDS · V18.8.9.18 emergency layout fix
   - Disable temporary prev/next shelf arrows.
   - Remove fullscreen dark overlay caused by inherited .eg-shelf-switcher styles.
   - Fit real buttons into the background placeholders.
   - Keep action panels compact, not blob-like. */
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-switcher,
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-switcher-v17,
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-switcher-v16{
  position:absolute!important; inset:0!important; z-index:36!important;
  display:block!important; pointer-events:none!important;
  background:transparent!important; border:0!important; box-shadow:none!important;
  backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
  padding:0!important; margin:0!important; border-radius:0!important; transform:none!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-asset,
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-prev,
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-next{
  display:none!important; visibility:hidden!important; pointer-events:none!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-state{
  position:absolute!important; left:43.55%!important; bottom:3.8%!important;
  width:12.0%!important; height:3.5%!important; min-width:0!important;
  display:flex!important; align-items:center!important; justify-content:center!important; gap:5px!important;
  border-radius:999px!important; background:rgba(3,14,11,.30)!important;
  border:1px solid rgba(229,190,96,.18)!important; box-shadow:0 8px 18px rgba(0,0,0,.12)!important;
  color:#f6dfa7!important; backdrop-filter:blur(5px)!important; -webkit-backdrop-filter:blur(5px)!important;
  pointer-events:none!important; padding:0!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-state small{display:none!important}
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-state strong{font-size:clamp(8px,.68vw,12px)!important;color:#ffe6a0!important;letter-spacing:.06em!important;line-height:1!important}
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-state em{font-size:clamp(6px,.48vw,9px)!important;font-style:normal!important;color:rgba(246,223,167,.62)!important;line-height:1!important}

/* Top buttons: slightly smaller to sit inside blank plaques */
.eg-art-library[data-version="18.8.9.18"] .eg-nav-library{left:8.95%!important;top:3.42%!important;width:10.05%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-collections{left:21.35%!important;top:3.42%!important;width:10.05%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-authors{left:32.62%!important;top:3.42%!important;width:9.70%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-exclusives{left:43.18%!important;top:3.42%!important;width:9.95%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-membership{left:54.05%!important;top:3.42%!important;width:10.05%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-about{left:65.05%!important;top:3.42%!important;width:9.55%!important;height:4.82%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-search{left:75.45%!important;top:3.14%!important;width:3.60%!important;height:5.62%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-notification{left:79.65%!important;top:3.14%!important;width:3.60%!important;height:5.62%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-member{left:83.95%!important;top:3.42%!important;width:13.45%!important;height:4.85%!important}

/* Lower row: tightened to real empty control frames */
.eg-art-library[data-version="18.8.9.18"] .eg-control-picture-books{left:13.10%!important;top:32.46%!important;width:12.0%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-novels{left:25.12%!important;top:32.46%!important;width:12.0%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-audiobooks{left:37.16%!important;top:32.46%!important;width:12.0%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-interactive-books{left:49.38%!important;top:32.46%!important;width:12.45%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-sort{left:63.12%!important;top:32.46%!important;width:13.40%!important;height:5.65%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-grid{left:78.05%!important;top:32.42%!important;width:3.45%!important;height:5.72%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-list{left:82.20%!important;top:32.42%!important;width:3.45%!important;height:5.72%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.18"] .eg-asset-btn:focus-visible{
  transform:translateY(-.7px)!important; filter:drop-shadow(0 0 9px rgba(239,190,74,.45)) brightness(1.035)!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-asset-btn::after{font-size:9px!important;padding:4px 7px!important;top:95%!important}

/* Cover slots recalibration for the centered background */
.eg-art-library[data-version="18.8.9.18"] .eg-art-slot{border-radius:5px!important;}
.eg-art-library[data-version="18.8.9.18"] .eg-art-slot-book img{border-radius:4px!important;}
.eg-art-library[data-version="18.8.9.18"] .eg-art-slot-book:hover{transform:translateY(-4px) scale(1.018)!important;}

/* Compact panels: no oversized blur/blob */
.eg-art-library[data-version="18.8.9.18"] .eg-art-action-panel{
  position:absolute!important; right:8.1%!important; top:39.4%!important; left:auto!important;
  width:min(330px,24vw)!important; min-height:0!important; max-height:42%!important; overflow:auto!important;
  padding:14px 16px!important; border-radius:16px!important; background:linear-gradient(145deg,rgba(4,22,17,.86),rgba(1,9,7,.78))!important;
  border:1px solid rgba(229,190,96,.23)!important; box-shadow:0 18px 42px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,244,203,.05)!important;
  backdrop-filter:blur(8px)!important; -webkit-backdrop-filter:blur(8px)!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-panel-list{left:8.1%!important;right:auto!important;top:39.4%!important;width:min(330px,24vw)!important;}
.eg-art-library[data-version="18.8.9.18"] .eg-art-action-panel h3{font-size:15px!important;margin:0 0 5px!important}
.eg-art-library[data-version="18.8.9.18"] .eg-art-action-panel p{font-size:11px!important;line-height:1.45!important;margin:0 0 9px!important}
.eg-art-library[data-version="18.8.9.18"] .eg-search-row input{height:34px!important;font-size:11px!important}
.eg-art-library[data-version="18.8.9.18"] .eg-search-row button,
.eg-art-library[data-version="18.8.9.18"] .eg-chip-list button,
.eg-art-library[data-version="18.8.9.18"] .eg-mini-book-list button{font-size:10px!important;padding:7px 10px!important}

/* Mobile/tablet: keep desktop art board scrollable but no blob */
@media(max-width:900px){
  .eg-art-library[data-version="18.8.9.18"]{min-width:1180px!important;}
  .eg-art-library[data-version="18.8.9.18"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
  .eg-art-library[data-version="18.8.9.18"] .eg-shelf-state{bottom:3.8%!important}
  .eg-art-library[data-version="18.8.9.18"] .eg-art-action-panel{left:50%!important;right:auto!important;top:39%!important;transform:translateX(-50%)!important;width:330px!important;}
}



/* THE LEGENDS · V18.8.9.18 precise visual alignment
   Goal: buttons become real overlay elements that sit INSIDE blank frames, not stretched or shifted. */
.eg-art-library[data-version="18.8.9.18"] .eg-art-stage{
  width:min(100vw,1672px)!important;
  max-width:1672px!important;
  aspect-ratio:1672/941!important;
  margin:0 auto!important;
  overflow:hidden!important;
  background:#010b09!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-art-bg img{
  object-fit:cover!important;
  object-position:center center!important;
}

/* Absolute overlay layers must not generate dark masks */
.eg-art-library[data-version="18.8.9.18"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.18"] .eg-asset-controls,
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-switcher,
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-switcher-v17{
  position:absolute!important;
  inset:0!important;
  z-index:34!important;
  pointer-events:none!important;
  display:block!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  transform:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Button images keep their own original aspect ratio; no more horizontal/vertical distortion */
.eg-art-library[data-version="18.8.9.18"] .eg-asset-btn{
  background-size:contain!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.18"] .eg-asset-btn:focus-visible{
  transform:translateY(-1px)!important;
  filter:drop-shadow(0 0 10px rgba(239,190,74,.50)) brightness(1.05)!important;
}

/* Top row: recalculated from the blank plaques on 1672x941 background.
   Each element covers the placeholder zone, while asset itself is contained and centered. */
.eg-art-library[data-version="18.8.9.18"] .eg-nav-library{left:9.15%!important;top:3.20%!important;width:10.15%!important;height:5.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-collections{left:21.08%!important;top:3.20%!important;width:10.15%!important;height:5.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-authors{left:32.68%!important;top:3.20%!important;width:10.15%!important;height:5.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-exclusives{left:43.82%!important;top:3.20%!important;width:10.15%!important;height:5.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-membership{left:55.28%!important;top:3.20%!important;width:10.15%!important;height:5.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-about{left:66.55%!important;top:3.20%!important;width:10.15%!important;height:5.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-search{left:77.42%!important;top:2.86%!important;width:3.62%!important;height:5.72%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-notification{left:81.62%!important;top:2.86%!important;width:3.62%!important;height:5.72%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-nav-member{left:85.55%!important;top:3.14%!important;width:12.55%!important;height:5.08%!important}

/* Lower control row: aligned to the row of blank placeholders, no stretch */
.eg-art-library[data-version="18.8.9.18"] .eg-control-picture-books{left:13.20%!important;top:32.20%!important;width:12.10%!important;height:6.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-novels{left:25.20%!important;top:32.20%!important;width:12.10%!important;height:6.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-audiobooks{left:37.22%!important;top:32.20%!important;width:12.10%!important;height:6.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-interactive-books{left:49.55%!important;top:32.20%!important;width:12.35%!important;height:6.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-sort{left:63.35%!important;top:32.20%!important;width:13.30%!important;height:6.05%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-grid{left:78.15%!important;top:32.05%!important;width:3.55%!important;height:6.28%!important}
.eg-art-library[data-version="18.8.9.18"] .eg-control-list{left:82.25%!important;top:32.05%!important;width:3.55%!important;height:6.28%!important}

/* Temporarily hide shelf prev/next assets until final independent arrows are accepted */
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-asset,
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-prev,
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-next{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-state{
  position:absolute!important;
  left:43.58%!important;
  bottom:3.82%!important;
  width:12.05%!important;
  height:3.35%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:5px!important;
  border-radius:999px!important;
  background:rgba(2,12,9,.34)!important;
  border:1px solid rgba(229,190,96,.16)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.10)!important;
  padding:0!important;
  pointer-events:none!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-state small{display:none!important}
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-state strong{font-size:clamp(8px,.62vw,11px)!important;line-height:1!important}
.eg-art-library[data-version="18.8.9.18"] .eg-shelf-state em{font-size:clamp(6px,.45vw,8px)!important;line-height:1!important}

/* Book cover slots calibrated to the frame openings */
.eg-art-library[data-version="18.8.9.18"] .eg-art-slot{border-radius:4px!important;}
.eg-art-library[data-version="18.8.9.18"] .eg-art-slot-book img{border-radius:3px!important;}
.eg-art-library[data-version="18.8.9.18"] .eg-art-slot-book:hover{transform:translateY(-4px) scale(1.018)!important;}

/* Compact action panels */
.eg-art-library[data-version="18.8.9.18"] .eg-art-action-panel{
  right:7.95%!important;
  top:39.2%!important;
  width:min(318px,23vw)!important;
  max-height:40%!important;
  padding:13px 15px!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,rgba(4,22,17,.84),rgba(1,9,7,.78))!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-panel-list{
  left:8.0%!important;
  right:auto!important;
  top:39.2%!important;
  width:min(318px,23vw)!important;
}
.eg-art-library[data-version="18.8.9.18"] .eg-art-action-panel h3{font-size:14px!important;letter-spacing:.07em!important}
.eg-art-library[data-version="18.8.9.18"] .eg-art-action-panel p{font-size:10.5px!important;line-height:1.42!important}
.eg-art-library[data-version="18.8.9.18"] .eg-search-row input{height:32px!important;font-size:10.5px!important}
.eg-art-library[data-version="18.8.9.18"] .eg-search-row button,
.eg-art-library[data-version="18.8.9.18"] .eg-chip-list button,
.eg-art-library[data-version="18.8.9.18"] .eg-mini-book-list button{font-size:9.8px!important;padding:6px 9px!important}

@media(max-width:900px){
  body.eg-collections-art-mode{overflow-x:auto!important;}
  .eg-art-library[data-version="18.8.9.18"]{min-width:1180px!important;}
  .eg-art-library[data-version="18.8.9.18"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
  .eg-art-library[data-version="18.8.9.18"] .eg-art-action-panel{left:50%!important;right:auto!important;top:39%!important;transform:translateX(-50%)!important;width:318px!important;}
}



/* =========================================================
   THE LEGENDS · V18.8.9.23 EBOOK LIBRARY REAL BUTTONS + COVER ALIGNMENT
   Fixes: missing button assets, wrong data-version selector, cover slot drift.
   ========================================================= */
.eg-art-library[data-version="18.8.9.23"] {
  background:#010b09!important;
  min-height:100vh!important;
  overflow-x:auto!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-art-stage {
  width:min(100vw,1672px)!important;
  max-width:1672px!important;
  aspect-ratio:1672/941!important;
  margin:0 auto!important;
  position:relative!important;
  overflow:hidden!important;
  background:#010b09!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-art-bg,
.eg-art-library[data-version="18.8.9.23"] .eg-art-bg img {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  pointer-events:none!important;
  user-select:none!important;
  z-index:0!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.23"] .eg-asset-controls,
.eg-art-library[data-version="18.8.9.23"] .eg-art-slots,
.eg-art-library[data-version="18.8.9.23"] .eg-shelf-switcher {
  position:absolute!important;
  inset:0!important;
  z-index:20!important;
  pointer-events:none!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-art-slots { z-index:14!important; }
.eg-art-library[data-version="18.8.9.23"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.23"] .eg-asset-controls { z-index:30!important; }
.eg-art-library[data-version="18.8.9.23"] .eg-asset-btn {
  position:absolute!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
  background-color:transparent!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  color:transparent!important;
  text-indent:-9999px!important;
  overflow:visible!important;
  outline:0!important;
  transition:transform .16s ease, filter .16s ease, opacity .16s ease!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-asset-btn span,
.eg-art-library[data-version="18.8.9.23"] .eg-asset-btn b {
  position:absolute!important;
  inline-size:1px!important;
  block-size:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.23"] .eg-asset-btn:focus-visible {
  transform:translateY(-1px)!important;
  filter:drop-shadow(0 0 12px rgba(239,190,74,.52)) brightness(1.055)!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-asset-btn:active { transform:translateY(0) scale(.988)!important; }
.eg-art-library[data-version="18.8.9.23"] .eg-asset-btn::after {
  content:attr(title);
  position:absolute;
  left:50%;
  top:100%;
  transform:translate(-50%,5px);
  opacity:0;
  pointer-events:none;
  white-space:nowrap;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(4,16,12,.94);
  border:1px solid rgba(229,190,96,.34);
  color:#f5dda3;
  text-indent:0;
  font-size:9px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:0 10px 18px rgba(0,0,0,.28);
  transition:opacity .16s ease, transform .16s ease;
}
.eg-art-library[data-version="18.8.9.23"] .eg-asset-btn:hover::after,
.eg-art-library[data-version="18.8.9.23"] .eg-asset-btn:focus-visible::after {
  opacity:1;
  transform:translate(-50%,2px);
}

/* Topbar real buttons fitted into the empty plaques */
.eg-art-library[data-version="18.8.9.23"] .eg-nav-library{left:9.10%;top:3.15%;width:10.15%;height:5.05%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/library-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-collections{left:21.08%;top:3.15%;width:10.15%;height:5.05%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/collections-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-authors{left:32.64%;top:3.15%;width:10.15%;height:5.05%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/authors-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-exclusives{left:43.78%;top:3.15%;width:10.15%;height:5.05%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/exclusives-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-membership{left:55.23%;top:3.15%;width:10.15%;height:5.05%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/membership-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-about{left:66.47%;top:3.15%;width:10.15%;height:5.05%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/about-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-search{left:77.35%;top:2.82%;width:3.66%;height:5.86%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/search-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-notification{left:81.58%;top:2.82%;width:3.66%;height:5.86%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/notification-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-member{left:85.55%;top:3.08%;width:12.55%;height:5.25%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/member-normal.png')}

.eg-art-library[data-version="18.8.9.23"] .eg-nav-library.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-nav-library:hover,.eg-art-library[data-version="18.8.9.23"] .eg-nav-library:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/library-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-collections.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-nav-collections:hover,.eg-art-library[data-version="18.8.9.23"] .eg-nav-collections:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/collections-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-authors.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-nav-authors:hover,.eg-art-library[data-version="18.8.9.23"] .eg-nav-authors:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/authors-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-exclusives.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-nav-exclusives:hover,.eg-art-library[data-version="18.8.9.23"] .eg-nav-exclusives:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/exclusives-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-membership.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-nav-membership:hover,.eg-art-library[data-version="18.8.9.23"] .eg-nav-membership:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/membership-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-about.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-nav-about:hover,.eg-art-library[data-version="18.8.9.23"] .eg-nav-about:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/about-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-search.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-nav-search:hover,.eg-art-library[data-version="18.8.9.23"] .eg-nav-search:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/search-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-notification.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-nav-notification:hover,.eg-art-library[data-version="18.8.9.23"] .eg-nav-notification:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/notification-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-nav-member.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-nav-member:hover,.eg-art-library[data-version="18.8.9.23"] .eg-nav-member:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/topbar_individual/member-hover-active.png')}

/* Lower controls */
.eg-art-library[data-version="18.8.9.23"] .eg-control-picture-books{left:13.05%;top:32.40%;width:12.12%;height:6.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/picture-books-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-novels{left:25.25%;top:32.40%;width:12.12%;height:6.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/novels-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-audiobooks{left:37.38%;top:32.40%;width:12.12%;height:6.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/audiobooks-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-interactive-books{left:49.65%;top:32.40%;width:12.40%;height:6.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/interactive-books-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-sort{left:63.45%;top:32.40%;width:13.38%;height:6.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/sort-newest-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-grid{left:78.18%;top:32.24%;width:3.70%;height:6.34%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/grid-normal.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-list{left:82.28%;top:32.24%;width:3.70%;height:6.34%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/list-normal.png')}

.eg-art-library[data-version="18.8.9.23"] .eg-control-picture-books.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-control-picture-books:hover,.eg-art-library[data-version="18.8.9.23"] .eg-control-picture-books:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/picture-books-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-novels.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-control-novels:hover,.eg-art-library[data-version="18.8.9.23"] .eg-control-novels:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/novels-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-audiobooks.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-control-audiobooks:hover,.eg-art-library[data-version="18.8.9.23"] .eg-control-audiobooks:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/audiobooks-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-interactive-books.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-control-interactive-books:hover,.eg-art-library[data-version="18.8.9.23"] .eg-control-interactive-books:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/interactive-books-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-sort.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-control-sort:hover,.eg-art-library[data-version="18.8.9.23"] .eg-control-sort:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/sort-newest-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-grid.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-control-grid:hover,.eg-art-library[data-version="18.8.9.23"] .eg-control-grid:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/grid-hover-active.png')}
.eg-art-library[data-version="18.8.9.23"] .eg-control-list.is-active,.eg-art-library[data-version="18.8.9.23"] .eg-control-list:hover,.eg-art-library[data-version="18.8.9.23"] .eg-control-list:focus-visible{background-image:url('/assets/ebook-gallery/ui/v18_8_9_16/controls_individual/list-hover-active.png')}

/* Cover slots */
.eg-art-library[data-version="18.8.9.23"] .eg-art-slot {
  position:absolute!important;
  display:block!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  pointer-events:auto!important;
  overflow:visible!important;
  cursor:pointer!important;
  border-radius:6px!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-art-slot-book {
  box-shadow:0 18px 30px rgba(0,0,0,.18)!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-art-slot-book img {
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
  border-radius:5px!important;
  border:1px solid rgba(235,196,97,.20)!important;
  box-shadow:0 4px 18px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.05)!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-art-slot-book i {
  position:absolute!important;
  inset:0!important;
  border-radius:5px!important;
  pointer-events:none!important;
  background:linear-gradient(180deg, rgba(255,232,160,.08), transparent 34%, rgba(0,0,0,.16))!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-art-slot-book small {
  position:absolute!important;
  left:6px!important;
  right:6px!important;
  bottom:6px!important;
  padding:4px 5px!important;
  border-radius:8px!important;
  background:rgba(1,9,7,.64)!important;
  color:#f4d98f!important;
  font-size:8px!important;
  line-height:1.12!important;
  text-align:center!important;
  text-shadow:0 1px 4px rgba(0,0,0,.7)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  opacity:.92!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-art-slot-empty {
  pointer-events:none!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-art-slot-book:hover {
  transform:translateY(-4px) scale(1.018)!important;
  filter:drop-shadow(0 0 14px rgba(239,190,74,.32))!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-shelf-asset {
  display:none!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-shelf-state {
  position:absolute!important;
  left:43.55%!important;
  bottom:3.8%!important;
  width:12.05%!important;
  height:3.35%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:5px!important;
  border-radius:999px!important;
  background:rgba(2,12,9,.34)!important;
  border:1px solid rgba(229,190,96,.16)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.10)!important;
  padding:0!important;
  pointer-events:none!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-shelf-state small{display:none!important}
.eg-art-library[data-version="18.8.9.23"] .eg-shelf-state strong{font-size:clamp(8px,.62vw,11px)!important;line-height:1!important;color:#ffe6a0!important}
.eg-art-library[data-version="18.8.9.23"] .eg-shelf-state em{font-size:clamp(6px,.45vw,8px)!important;line-height:1!important;color:rgba(246,223,167,.62)!important;font-style:normal!important}

.eg-art-library[data-version="18.8.9.23"] .eg-art-action-panel {
  position:absolute!important;
  right:7.95%!important;
  top:39.2%!important;
  width:min(318px,23vw)!important;
  max-height:40%!important;
  overflow:auto!important;
  padding:13px 15px!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,rgba(4,22,17,.84),rgba(1,9,7,.78))!important;
  border:1px solid rgba(229,190,96,.23)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,244,203,.05)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
  z-index:50!important;
}
.eg-art-library[data-version="18.8.9.23"] .eg-panel-list {
  left:8.0%!important;
  right:auto!important;
}
@media(max-width:900px){
  body.eg-collections-art-mode{overflow-x:auto!important;}
  .eg-art-library[data-version="18.8.9.23"]{min-width:1180px!important;}
  .eg-art-library[data-version="18.8.9.23"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
}



/* =========================================================
   THE LEGENDS · V18.8.9.24 EXACT LIBRARY BACKGROUND + REAL BUTTONS
   Clean slate for /collections: no legacy dark overlay, no embedded button layer,
   9 top buttons + 7 controls as real HTML <button>, covers locked into 24 frames.
   ========================================================= */

body.eg-collections-art-mode {
  background:#010b09!important;
  overflow-x:auto!important;
}
body.eg-collections-art-mode .eg-top,
body.eg-collections-art-mode .eg-toolbar,
body.eg-collections-art-mode .eg-art-status,
body.eg-collections-art-mode .eg-art-badges,
body.eg-collections-art-mode .eg-art-hot-nav,
body.eg-collections-art-mode .eg-art-filters {
  display:none!important;
}
.eg-art-library[data-version="18.8.9.24"] {
  min-height:100svh!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  background:#010b09!important;
  color:#f7e5b6!important;
  overflow-x:auto!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-stage {
  position:relative!important;
  width:min(100vw,1672px)!important;
  max-width:1672px!important;
  aspect-ratio:1672/941!important;
  margin:0 auto!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:#010b09!important;
  box-shadow:0 24px 96px rgba(0,0,0,.46)!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-stage::before,
.eg-art-library[data-version="18.8.9.24"] .eg-art-stage::after,
.eg-art-library[data-version="18.8.9.24"] .eg-cabinet-light,
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-switcher,
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-switcher-v16,
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-switcher-v17,
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-asset,
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-orb,
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-prev,
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-next {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  background:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-bg,
.eg-art-library[data-version="18.8.9.24"] .eg-art-bg img {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  filter:none!important;
  z-index:0!important;
  pointer-events:none!important;
  user-select:none!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.24"] .eg-asset-controls,
.eg-art-library[data-version="18.8.9.24"] .eg-art-slots {
  position:absolute!important;
  inset:0!important;
  margin:0!important;
  padding:0!important;
  width:100%!important;
  height:100%!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-slots { z-index:15!important; }
.eg-art-library[data-version="18.8.9.24"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.24"] .eg-asset-controls { z-index:35!important; }

.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn {
  position:absolute!important;
  display:block!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
  outline:0!important;
  background-color:transparent!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  color:transparent!important;
  text-indent:-9999px!important;
  overflow:visible!important;
  opacity:.96!important;
  transition:transform .18s ease, filter .18s ease, opacity .18s ease!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn span,
.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn b {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn:focus-visible,
.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn.is-active {
  opacity:1!important;
  transform:translateY(-1px)!important;
  filter:drop-shadow(0 0 12px rgba(246,205,92,.58)) brightness(1.06)!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn:active {
  transform:translateY(0) scale(.99)!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn::after {
  content:attr(title);
  position:absolute!important;
  left:50%!important;
  top:100%!important;
  transform:translate(-50%,6px)!important;
  opacity:0!important;
  pointer-events:none!important;
  text-indent:0!important;
  white-space:nowrap!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:rgba(3,13,10,.94)!important;
  border:1px solid rgba(229,190,96,.35)!important;
  color:#f6dfa4!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  box-shadow:0 10px 20px rgba(0,0,0,.28)!important;
  transition:opacity .16s ease, transform .16s ease!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn:hover::after,
.eg-art-library[data-version="18.8.9.24"] .eg-asset-btn:focus-visible::after {
  opacity:1!important;
  transform:translate(-50%,2px)!important;
}

/* 9 top bar buttons — positions locked to the blank frames in image 3 */
.eg-art-library[data-version="18.8.9.24"] .eg-nav-library{left:9.20%;top:3.05%;width:10.65%;height:5.95%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/library-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-collections{left:21.32%;top:3.05%;width:10.65%;height:5.95%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/collections-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-authors{left:32.96%;top:3.05%;width:10.65%;height:5.95%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/authors-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-exclusives{left:44.18%;top:3.05%;width:10.65%;height:5.95%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/exclusives-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-membership{left:55.65%;top:3.05%;width:10.65%;height:5.95%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/membership-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-about{left:66.96%;top:3.05%;width:10.65%;height:5.95%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/about-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-search{left:77.95%;top:2.72%;width:3.70%;height:6.35%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/search-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-notification{left:82.10%;top:2.72%;width:3.70%;height:6.35%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/notification-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-member{left:85.98%;top:3.06%;width:12.85%;height:5.80%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/member-normal.png')}

.eg-art-library[data-version="18.8.9.24"] .eg-nav-library:hover,.eg-art-library[data-version="18.8.9.24"] .eg-nav-library:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-nav-library.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/library-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-collections:hover,.eg-art-library[data-version="18.8.9.24"] .eg-nav-collections:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-nav-collections.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/collections-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-authors:hover,.eg-art-library[data-version="18.8.9.24"] .eg-nav-authors:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-nav-authors.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/authors-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-exclusives:hover,.eg-art-library[data-version="18.8.9.24"] .eg-nav-exclusives:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-nav-exclusives.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/exclusives-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-membership:hover,.eg-art-library[data-version="18.8.9.24"] .eg-nav-membership:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-nav-membership.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/membership-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-about:hover,.eg-art-library[data-version="18.8.9.24"] .eg-nav-about:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-nav-about.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/about-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-search:hover,.eg-art-library[data-version="18.8.9.24"] .eg-nav-search:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-nav-search.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/search-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-notification:hover,.eg-art-library[data-version="18.8.9.24"] .eg-nav-notification:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-nav-notification.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/notification-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-nav-member:hover,.eg-art-library[data-version="18.8.9.24"] .eg-nav-member:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-nav-member.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/topbar_individual/member-hover-active.png')}

/* 7 control buttons */
.eg-art-library[data-version="18.8.9.24"] .eg-control-picture-books{left:13.00%;top:31.78%;width:12.25%;height:6.36%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/picture-books-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-novels{left:25.06%;top:31.78%;width:12.25%;height:6.36%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/novels-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-audiobooks{left:37.06%;top:31.78%;width:12.25%;height:6.36%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/audiobooks-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-interactive-books{left:49.44%;top:31.78%;width:12.58%;height:6.36%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/interactive-books-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-sort{left:63.10%;top:31.78%;width:13.46%;height:6.36%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/sort-newest-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-grid{left:78.00%;top:31.58%;width:3.78%;height:6.76%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/grid-normal.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-list{left:82.20%;top:31.58%;width:3.78%;height:6.76%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/list-normal.png')}

.eg-art-library[data-version="18.8.9.24"] .eg-control-picture-books:hover,.eg-art-library[data-version="18.8.9.24"] .eg-control-picture-books:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-control-picture-books.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/picture-books-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-novels:hover,.eg-art-library[data-version="18.8.9.24"] .eg-control-novels:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-control-novels.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/novels-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-audiobooks:hover,.eg-art-library[data-version="18.8.9.24"] .eg-control-audiobooks:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-control-audiobooks.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/audiobooks-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-interactive-books:hover,.eg-art-library[data-version="18.8.9.24"] .eg-control-interactive-books:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-control-interactive-books.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/interactive-books-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-sort:hover,.eg-art-library[data-version="18.8.9.24"] .eg-control-sort:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-control-sort.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/sort-newest-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-grid:hover,.eg-art-library[data-version="18.8.9.24"] .eg-control-grid:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-control-grid.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/grid-hover-active.png')}
.eg-art-library[data-version="18.8.9.24"] .eg-control-list:hover,.eg-art-library[data-version="18.8.9.24"] .eg-control-list:focus-visible,.eg-art-library[data-version="18.8.9.24"] .eg-control-list.is-active{background-image:url('/assets/ebook-gallery/ui/v18_8_9_24/controls_individual/list-hover-active.png')}

/* Cover slots: locked inside the 24 frames */
.eg-art-library[data-version="18.8.9.24"] .eg-art-slot {
  position:absolute!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  pointer-events:auto!important;
  overflow:hidden!important;
  border-radius:6px!important;
  cursor:pointer!important;
  transition:transform .22s ease, filter .22s ease!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-slot-empty {
  pointer-events:none!important;
  opacity:0!important;
  display:block!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-slot-book {
  box-shadow:0 18px 34px rgba(0,0,0,.24)!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-slot-book:hover,
.eg-art-library[data-version="18.8.9.24"] .eg-art-slot-book:focus-visible {
  transform:translateY(-4px) scale(1.018)!important;
  filter:drop-shadow(0 0 14px rgba(239,190,74,.32))!important;
  z-index:25!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-slot-book img {
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:5px!important;
  border:1px solid rgba(235,196,97,.20)!important;
  box-shadow:0 4px 18px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.05)!important;
  background:#06150f!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-slot-book i {
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  border-radius:5px!important;
  background:linear-gradient(180deg, rgba(255,232,160,.08), transparent 34%, rgba(0,0,0,.16))!important;
  opacity:.65!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-slot-book small {
  position:absolute!important;
  left:6px!important;
  right:6px!important;
  bottom:6px!important;
  padding:4px 5px!important;
  border-radius:8px!important;
  background:rgba(1,9,7,.64)!important;
  color:#f4d98f!important;
  font-size:8px!important;
  line-height:1.12!important;
  text-align:center!important;
  text-shadow:0 1px 4px rgba(0,0,0,.7)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  opacity:.92!important;
}

/* Bottom shelf info: tiny, centered, clickable to next shelf; no arrows. */
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-mini-state {
  position:absolute!important;
  left:43.42%!important;
  bottom:3.54%!important;
  width:13.00%!important;
  height:3.68%!important;
  z-index:42!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:5px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:rgba(3,13,10,.40)!important;
  border:1px solid rgba(229,190,96,.20)!important;
  box-shadow:0 10px 22px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04)!important;
  color:#f6dfa4!important;
  cursor:pointer!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-mini-state small {
  font-size:clamp(6px,.45vw,8px)!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:rgba(246,223,167,.62)!important;
  min-width:0!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-mini-state strong {
  font-size:clamp(8px,.62vw,11px)!important;
  line-height:1!important;
  color:#ffe6a0!important;
  letter-spacing:.04em!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-mini-state strong span {
  padding:0 2px!important;
  color:rgba(246,223,167,.42)!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-mini-state em {
  font-size:clamp(6px,.44vw,8px)!important;
  line-height:1!important;
  color:rgba(246,223,167,.62)!important;
  font-style:normal!important;
  text-overflow:ellipsis!important;
  overflow:hidden!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-shelf-mini-state:hover {
  border-color:rgba(229,190,96,.34)!important;
  box-shadow:0 0 18px rgba(229,190,96,.14), 0 10px 22px rgba(0,0,0,.20)!important;
}

/* Compact panels only when a real function is clicked */
.eg-art-library[data-version="18.8.9.24"] .eg-art-action-panel {
  position:absolute!important;
  right:8.0%!important;
  top:39.4%!important;
  width:min(320px,23vw)!important;
  max-height:40%!important;
  z-index:60!important;
  overflow:auto!important;
  padding:13px 15px!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,rgba(4,22,17,.86),rgba(1,9,7,.78))!important;
  border:1px solid rgba(229,190,96,.24)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,244,203,.05)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
  color:#f5e1b1!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-panel-list {
  left:8.0%!important;
  right:auto!important;
}
.eg-art-library[data-version="18.8.9.24"] .eg-art-action-panel h3{font-size:14px!important;margin:0 0 5px!important;letter-spacing:.07em!important;color:#ffe6a0!important}
.eg-art-library[data-version="18.8.9.24"] .eg-art-action-panel p{font-size:10.5px!important;line-height:1.42!important;margin:0 0 9px!important;color:rgba(246,229,186,.78)!important}
.eg-art-library[data-version="18.8.9.24"] .eg-search-row input{height:32px!important;font-size:10.5px!important}
.eg-art-library[data-version="18.8.9.24"] .eg-search-row button,
.eg-art-library[data-version="18.8.9.24"] .eg-chip-list button,
.eg-art-library[data-version="18.8.9.24"] .eg-mini-book-list button{font-size:9.8px!important;padding:6px 9px!important}

@media(max-width:900px){
  body.eg-collections-art-mode{overflow-x:auto!important;}
  .eg-art-library[data-version="18.8.9.24"]{min-width:1180px!important;}
  .eg-art-library[data-version="18.8.9.24"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
  .eg-art-library[data-version="18.8.9.24"] .eg-art-action-panel{left:50%!important;right:auto!important;top:39%!important;transform:translateX(-50%)!important;width:318px!important;}
}



/* =========================================================
   THE LEGENDS · V18.8.9.25 CLEAN BUTTONS + COVER FIT
   Decision: stop using framed button PNGs on top of a framed background.
   The background supplies the frame; HTML buttons supply text, icon, hover, active,
   tooltip and click handlers. This removes double-frame/double-border drift.
   ========================================================= */

.eg-art-library[data-version="18.8.9.25"] {
  background:#010b09!important;
  color:#f7e5b6!important;
  min-height:100svh!important;
  overflow-x:auto!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-stage {
  position:relative!important;
  width:min(100vw,1672px)!important;
  max-width:1672px!important;
  aspect-ratio:1672/941!important;
  margin:0 auto!important;
  overflow:hidden!important;
  background:#010b09!important;
  isolation:isolate!important;
  box-shadow:0 24px 96px rgba(0,0,0,.46)!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-stage::before,
.eg-art-library[data-version="18.8.9.25"] .eg-art-stage::after,
.eg-art-library[data-version="18.8.9.25"] .eg-cabinet-light,
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-switcher,
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-switcher-v16,
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-switcher-v17,
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-asset,
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-orb,
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-prev,
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-next,
.eg-art-library[data-version="18.8.9.25"] .eg-art-status,
.eg-art-library[data-version="18.8.9.25"] .eg-art-badges,
.eg-art-library[data-version="18.8.9.25"] .eg-art-hot-nav,
.eg-art-library[data-version="18.8.9.25"] .eg-art-filters {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  background:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-bg,
.eg-art-library[data-version="18.8.9.25"] .eg-art-bg img {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  filter:none!important;
  z-index:0!important;
  pointer-events:none!important;
  user-select:none!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.25"] .eg-asset-controls,
.eg-art-library[data-version="18.8.9.25"] .eg-art-slots {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-slots { z-index:15!important; }
.eg-art-library[data-version="18.8.9.25"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.25"] .eg-asset-controls { z-index:36!important; }

/* Real HTML buttons: no framed image. The background frame underneath stays visible. */
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn {
  position:absolute!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:0!important;
  margin:0!important;
  padding:0 10px!important;
  outline:0!important;
  background-image:none!important;
  background-color:rgba(2,18,13,.10)!important;
  color:#f4d98c!important;
  text-indent:0!important;
  text-align:center!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  border-radius:10px!important;
  overflow:visible!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.075em!important;
  text-shadow:0 1px 5px rgba(0,0,0,.7),0 0 10px rgba(243,202,98,.16)!important;
  transition:transform .18s ease, filter .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn span {
  position:relative!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  overflow:hidden!important;
  clip:auto!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  color:inherit!important;
  line-height:1.05!important;
  max-width:100%!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn b {
  position:absolute!important;
  right:7px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  min-width:16px!important;
  height:16px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:rgba(244,210,126,.16)!important;
  border:1px solid rgba(244,210,126,.22)!important;
  color:#ffe9ad!important;
  font-size:7px!important;
  line-height:1!important;
  text-indent:0!important;
  clip:auto!important;
  opacity:.0!important;
  transition:opacity .18s ease!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn:hover b,
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn:focus-visible b,
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn.is-active b {
  opacity:1!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn:focus-visible,
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn.is-active {
  color:#fff0bc!important;
  background:rgba(244,210,126,.060)!important;
  box-shadow:inset 0 0 0 1px rgba(244,210,126,.22),0 0 18px rgba(244,210,126,.18)!important;
  filter:drop-shadow(0 0 10px rgba(246,205,92,.30))!important;
  transform:translateY(-1px)!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn:active {
  transform:translateY(0) scale(.99)!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn::after {
  content:attr(title);
  position:absolute!important;
  left:50%!important;
  top:100%!important;
  transform:translate(-50%,7px)!important;
  opacity:0!important;
  pointer-events:none!important;
  white-space:nowrap!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:rgba(3,13,10,.96)!important;
  border:1px solid rgba(229,190,96,.34)!important;
  color:#f6dfa4!important;
  font-family:'Be Vietnam Pro',system-ui,sans-serif!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
  box-shadow:0 10px 20px rgba(0,0,0,.30)!important;
  transition:opacity .16s ease, transform .16s ease!important;
  z-index:90!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn:hover::after,
.eg-art-library[data-version="18.8.9.25"] .eg-asset-btn:focus-visible::after {
  opacity:1!important;
  transform:translate(-50%,3px)!important;
}

/* Topbar text buttons aligned to the empty gold frames */
.eg-art-library[data-version="18.8.9.25"] .eg-nav-library{left:9.25%;top:3.25%;width:10.10%;height:4.90%;font-size:clamp(8px,.72vw,12px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-collections{left:21.36%;top:3.25%;width:10.10%;height:4.90%;font-size:clamp(8px,.72vw,12px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-authors{left:33.00%;top:3.25%;width:10.10%;height:4.90%;font-size:clamp(8px,.72vw,12px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-exclusives{left:44.22%;top:3.25%;width:10.10%;height:4.90%;font-size:clamp(8px,.72vw,12px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-membership{left:55.69%;top:3.25%;width:10.10%;height:4.90%;font-size:clamp(7px,.68vw,11px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-about{left:67.00%;top:3.25%;width:10.10%;height:4.90%;font-size:clamp(8px,.72vw,12px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-search{left:78.04%;top:3.12%;width:3.12%;height:4.98%;font-size:0!important}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-notification{left:82.25%;top:3.12%;width:3.12%;height:4.98%;font-size:0!important}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-member{left:86.05%;top:3.30%;width:12.42%;height:4.76%;font-size:clamp(6px,.52vw,9px)!important;letter-spacing:.04em!important}

.eg-art-library[data-version="18.8.9.25"] .eg-nav-search::before{content:'⌕';font-size:clamp(18px,1.45vw,26px);line-height:1;color:#f4d98c;text-indent:0}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-notification::before{content:'●';font-size:clamp(12px,.95vw,17px);line-height:1;color:#f4d98c;text-indent:0;text-shadow:0 0 12px rgba(244,210,126,.42)}
.eg-art-library[data-version="18.8.9.25"] .eg-nav-member span{max-width:88%!important}

/* Control row text buttons aligned to lower empty frames */
.eg-art-library[data-version="18.8.9.25"] .eg-control-picture-books{left:13.22%;top:31.98%;width:11.15%;height:5.52%;font-size:clamp(7px,.58vw,10px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-control-novels{left:25.38%;top:31.98%;width:11.15%;height:5.52%;font-size:clamp(7px,.58vw,10px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-control-audiobooks{left:37.42%;top:31.98%;width:11.15%;height:5.52%;font-size:clamp(7px,.58vw,10px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-control-interactive-books{left:49.72%;top:31.98%;width:11.55%;height:5.52%;font-size:clamp(6px,.52vw,9px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-control-sort{left:63.34%;top:31.98%;width:12.70%;height:5.52%;font-size:clamp(6px,.52vw,9px)!important}
.eg-art-library[data-version="18.8.9.25"] .eg-control-grid{left:78.24%;top:31.84%;width:3.04%;height:5.78%;font-size:0!important}
.eg-art-library[data-version="18.8.9.25"] .eg-control-list{left:82.43%;top:31.84%;width:3.04%;height:5.78%;font-size:0!important}
.eg-art-library[data-version="18.8.9.25"] .eg-control-grid::before{content:'▦';font-size:clamp(15px,1.15vw,22px);color:#f4d98c;text-indent:0}
.eg-art-library[data-version="18.8.9.25"] .eg-control-list::before{content:'☰';font-size:clamp(14px,1.05vw,20px);color:#f4d98c;text-indent:0}

/* Cover slots: inset and non-cropping. Text on the cover is preserved. */
.eg-art-library[data-version="18.8.9.25"] .eg-art-slot {
  position:absolute!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  pointer-events:auto!important;
  overflow:hidden!important;
  border-radius:5px!important;
  cursor:pointer!important;
  transition:transform .22s ease, filter .22s ease!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-slot-empty {
  pointer-events:none!important;
  opacity:0!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-slot-book {
  background:linear-gradient(180deg,rgba(5,20,15,.85),rgba(1,8,6,.92))!important;
  box-shadow:0 16px 28px rgba(0,0,0,.24)!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-slot-book:hover,
.eg-art-library[data-version="18.8.9.25"] .eg-art-slot-book:focus-visible {
  transform:translateY(-3px) scale(1.015)!important;
  filter:drop-shadow(0 0 13px rgba(239,190,74,.30))!important;
  z-index:25!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-slot-book img {
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:4px!important;
  border:1px solid rgba(235,196,97,.18)!important;
  background:#05120e!important;
  padding:2px!important;
  box-sizing:border-box!important;
  box-shadow:0 4px 16px rgba(0,0,0,.30), inset 0 0 0 1px rgba(255,255,255,.035)!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-slot-book i {
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  border-radius:5px!important;
  background:linear-gradient(180deg, rgba(255,232,160,.05), transparent 34%, rgba(0,0,0,.10))!important;
  opacity:.50!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-slot-book small {
  display:none!important;
}

/* Bottom shelf info remains inside the small center frame, no arrows for now. */
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-mini-state {
  position:absolute!important;
  left:43.42%!important;
  bottom:3.55%!important;
  width:13.00%!important;
  height:3.66%!important;
  z-index:42!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:5px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:rgba(3,13,10,.32)!important;
  border:1px solid rgba(229,190,96,.18)!important;
  color:#f6dfa4!important;
  cursor:pointer!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  backdrop-filter:blur(4px)!important;
  -webkit-backdrop-filter:blur(4px)!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-mini-state small {
  font-size:clamp(5px,.42vw,7px)!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:rgba(246,223,167,.56)!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-mini-state strong {
  font-size:clamp(7px,.58vw,10px)!important;
  color:#ffe6a0!important;
  line-height:1!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-mini-state strong span {
  padding:0 2px!important;
  color:rgba(246,223,167,.38)!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-mini-state em {
  font-size:clamp(5px,.40vw,7px)!important;
  color:rgba(246,223,167,.60)!important;
  font-style:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-shelf-mini-state:hover {
  border-color:rgba(229,190,96,.32)!important;
  box-shadow:0 0 16px rgba(229,190,96,.12)!important;
}

/* Function panels: compact and real, only visible after click */
.eg-art-library[data-version="18.8.9.25"] .eg-art-action-panel {
  position:absolute!important;
  right:8.0%!important;
  top:39.4%!important;
  width:min(320px,23vw)!important;
  max-height:40%!important;
  z-index:60!important;
  overflow:auto!important;
  padding:13px 15px!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,rgba(4,22,17,.88),rgba(1,9,7,.78))!important;
  border:1px solid rgba(229,190,96,.24)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,244,203,.05)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
  color:#f5e1b1!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-panel-list {
  left:8.0%!important;
  right:auto!important;
}
.eg-art-library[data-version="18.8.9.25"] .eg-art-action-panel h3{font-size:14px!important;margin:0 0 5px!important;letter-spacing:.07em!important;color:#ffe6a0!important}
.eg-art-library[data-version="18.8.9.25"] .eg-art-action-panel p{font-size:10.5px!important;line-height:1.42!important;margin:0 0 9px!important;color:rgba(246,229,186,.78)!important}

@media(max-width:900px){
  body.eg-collections-art-mode{overflow-x:auto!important;}
  .eg-art-library[data-version="18.8.9.25"]{min-width:1180px!important;}
  .eg-art-library[data-version="18.8.9.25"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
  .eg-art-library[data-version="18.8.9.25"] .eg-art-action-panel{left:50%!important;right:auto!important;top:39%!important;transform:translateX(-50%)!important;width:318px!important;}
}



/* =========================================================
   THE LEGENDS · V18.8.9.26 12-SLOT EBOOK SHELF + NAV ASSETS
   - No extra button frames are drawn by CSS.
   - Background keeps the decorative frame.
   - 12 larger cover slots per shelf.
   - Prev/Next circle PNG assets are included but not placed yet.
   ========================================================= */

.eg-art-library[data-version="18.8.9.26"] .eg-asset-btn {
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  color:#f7dc96!important;
  opacity:.88!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.26"] .eg-asset-btn:focus-visible,
.eg-art-library[data-version="18.8.9.26"] .eg-asset-btn.is-active {
  background:rgba(246,205,92,.045)!important;
  color:#fff0bc!important;
  box-shadow:none!important;
  filter:drop-shadow(0 0 12px rgba(246,205,92,.28))!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-asset-btn b {
  display:none!important;
}

/* Hide any legacy visible arrow/socket overlays; circle assets are prepared only. */
.eg-art-library[data-version="18.8.9.26"] .eg-shelf-asset,
.eg-art-library[data-version="18.8.9.26"] .eg-shelf-prev,
.eg-art-library[data-version="18.8.9.26"] .eg-shelf-next,
.eg-art-library[data-version="18.8.9.26"] .eg-shelf-orb {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* 12 large covers: keep full artwork and book title readable */
.eg-art-library[data-version="18.8.9.26"] .eg-art-slot {
  border-radius:7px!important;
  overflow:hidden!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-art-slot-book {
  background:linear-gradient(180deg,rgba(5,20,15,.88),rgba(1,8,6,.94))!important;
  box-shadow:0 22px 38px rgba(0,0,0,.26),0 0 0 1px rgba(224,179,73,.12)!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-art-slot-book img {
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  padding:3px!important;
  box-sizing:border-box!important;
  background:#06130e!important;
  border-radius:6px!important;
  border:1px solid rgba(235,196,97,.20)!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-art-slot-book small {
  display:none!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-art-slot-book:hover,
.eg-art-library[data-version="18.8.9.26"] .eg-art-slot-book:focus-visible {
  transform:translateY(-5px) scale(1.018)!important;
  filter:drop-shadow(0 0 18px rgba(239,190,74,.35))!important;
  z-index:32!important;
}

/* Bottom shelf information: larger, centered in the large bottom plaque */
.eg-art-library[data-version="18.8.9.26"] .eg-shelf-mini-state {
  left:39.45%!important;
  bottom:2.98%!important;
  width:21.10%!important;
  height:5.15%!important;
  z-index:42!important;
  border-radius:999px!important;
  background:rgba(3,13,10,.30)!important;
  border:1px solid rgba(229,190,96,.18)!important;
  box-shadow:none!important;
  gap:8px!important;
  padding:0 14px!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-shelf-mini-state small {
  display:inline!important;
  font-size:clamp(7px,.55vw,10px)!important;
  letter-spacing:.12em!important;
  color:rgba(246,223,167,.64)!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-shelf-mini-state strong {
  font-size:clamp(9px,.78vw,14px)!important;
  color:#ffe7a9!important;
  letter-spacing:.04em!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-shelf-mini-state em {
  font-size:clamp(7px,.52vw,10px)!important;
  color:rgba(246,223,167,.72)!important;
  max-width:46%!important;
}

/* Prepared future nav buttons positions. Disabled until next phase. */
.eg-art-library[data-version="18.8.9.26"] .eg-nav-circle-prev,
.eg-art-library[data-version="18.8.9.26"] .eg-nav-circle-next {
  display:none!important;
  position:absolute!important;
  width:4.25%!important;
  aspect-ratio:1/1!important;
  top:55.35%!important;
  z-index:46!important;
  border:0!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-nav-circle-prev {
  left:8.70%!important;
  background-image:url('/assets/ebook-gallery/ui/v18_8_9_26/shelf_nav/shelf-prev-circle.png')!important;
}
.eg-art-library[data-version="18.8.9.26"] .eg-nav-circle-next {
  right:8.70%!important;
  background-image:url('/assets/ebook-gallery/ui/v18_8_9_26/shelf_nav/shelf-next-circle.png')!important;
}

/* Keep panels compact */
.eg-art-library[data-version="18.8.9.26"] .eg-art-action-panel {
  width:min(320px,23vw)!important;
  max-height:40%!important;
  border-radius:15px!important;
}


/* =========================================================
   THE LEGENDS · V18.8.9.27 FINAL EBOOK MODULE
   - Real separated transparent PNG assets for every button.
   - 9 top-bar buttons + 7 control buttons + 2 round shelf arrows.
   - 12 cover slots: 6 columns × 2 rows.
   ========================================================= */
.eg-art-library[data-version="18.8.9.27"]{min-height:100svh;padding:0;background:#010b09;overflow:hidden;}
.eg-art-library[data-version="18.8.9.27"] .eg-art-stage{width:min(100vw,1920px);max-width:1920px;margin:0 auto;aspect-ratio:1672/941;overflow:hidden!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-art-bg img{object-fit:cover;object-position:center top;filter:saturate(1.04) contrast(1.03) brightness(1.01)!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.27"] .eg-asset-controls,
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-switcher-v27{position:absolute;inset:0;z-index:34;pointer-events:none;}
.eg-art-library[data-version="18.8.9.27"] .eg-asset-btn,
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-circle{position:absolute!important;display:block!important;margin:0!important;padding:0!important;border:0!important;background-color:transparent!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important;box-shadow:none!important;outline:0!important;pointer-events:auto!important;cursor:pointer!important;color:transparent!important;text-indent:-9999px!important;overflow:visible!important;transition:filter .18s ease, transform .18s ease, opacity .18s ease!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-asset-btn span,
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-circle span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.27"] .eg-asset-btn:focus-visible,
.eg-art-library[data-version="18.8.9.27"] .eg-asset-btn.is-active{filter:drop-shadow(0 0 15px rgba(245,202,90,.46)) brightness(1.08)!important;transform:translateY(-1px)!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-asset-btn b{display:none!important;}

/* Top bar: 9 separated button assets */
.eg-art-library[data-version="18.8.9.27"] .eg-nav-library{left:7.65%;top:5.05%;width:9.58%;height:7.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/library-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-collections{left:17.75%;top:5.05%;width:10.25%;height:7.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/collections-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-authors{left:28.30%;top:5.05%;width:9.35%;height:7.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/authors-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-exclusives{left:37.95%;top:5.05%;width:10.05%;height:7.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/exclusives-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-membership{left:48.25%;top:5.05%;width:10.35%;height:7.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/membership-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-about{left:58.90%;top:5.05%;width:9.00%;height:7.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/about-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-search{left:68.95%;top:5.05%;width:8.85%;height:7.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/search-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-notification{left:78.05%;top:5.05%;width:10.15%;height:7.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/notification-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-member{left:88.35%;top:5.05%;width:8.95%;height:7.10%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/member-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-library:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/library-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-collections:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/collections-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-authors:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/authors-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-exclusives:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/exclusives-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-membership:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/membership-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-about:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/about-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-search:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/search-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-notification:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/notification-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-nav-member:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/member-hover-active.png')!important;}

/* Middle/control bar: 7 separated button assets */
.eg-art-library[data-version="18.8.9.27"] .eg-control-picture-books{left:13.18%;top:33.25%;width:12.20%;height:6.62%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/picture-books-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-novels{left:25.48%;top:33.25%;width:10.75%;height:6.62%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/novels-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-audiobooks{left:36.55%;top:33.25%;width:11.75%;height:6.62%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/audiobooks-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-interactive-books{left:48.72%;top:33.25%;width:13.92%;height:6.62%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/interactive-books-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-sort{left:62.92%;top:33.25%;width:14.28%;height:6.62%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/sort-newest-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-grid{left:77.72%;top:33.20%;width:5.45%;height:6.82%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/grid-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-list{left:83.25%;top:33.20%;width:5.45%;height:6.82%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/list-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-picture-books:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/picture-books-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-novels:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/novels-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-audiobooks:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/audiobooks-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-interactive-books:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/interactive-books-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-sort:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/sort-newest-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-grid:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/grid-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-control-list:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/list-hover-active.png')!important;}

/* 12 dynamic book covers. Covers sit over the 12 final frames. */
.eg-art-library[data-version="18.8.9.27"] .eg-art-slots{position:absolute!important;inset:0!important;z-index:22!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-art-slot{position:absolute!important;border:0!important;background:transparent!important;border-radius:7px!important;overflow:hidden!important;pointer-events:auto!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-art-slot-book{background:linear-gradient(180deg,rgba(5,20,15,.90),rgba(1,8,6,.95))!important;box-shadow:0 18px 32px rgba(0,0,0,.30),0 0 0 1px rgba(224,179,73,.20)!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-art-slot-book img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;display:block!important;border-radius:6px!important;border:1px solid rgba(235,196,97,.22)!important;background:#06130e!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-art-slot-book small{display:none!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-art-slot-book:hover,
.eg-art-library[data-version="18.8.9.27"] .eg-art-slot-book:focus-visible{transform:translateY(-5px) scale(1.02)!important;filter:drop-shadow(0 0 18px rgba(239,190,74,.34)) brightness(1.06)!important;z-index:42!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-art-slot-empty{pointer-events:none!important;opacity:0!important;}

/* Shelf navigation arrows: placed inside the small circular sockets on the background. */
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-circle{width:4.62%!important;aspect-ratio:1/1!important;top:59.55%!important;z-index:45!important;opacity:.95!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-prev{left:8.42%!important;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/shelf_nav/shelf-prev-circle-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-next{right:8.42%!important;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/shelf_nav/shelf-next-circle-normal.png')!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-prev:is(:hover,:focus-visible){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/shelf_nav/shelf-prev-circle-hover.png')!important;filter:drop-shadow(0 0 16px rgba(236,190,83,.58)) brightness(1.08)!important;transform:translateX(-2px)!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-next:is(:hover,:focus-visible){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/shelf_nav/shelf-next-circle-hover.png')!important;filter:drop-shadow(0 0 16px rgba(236,190,83,.58)) brightness(1.08)!important;transform:translateX(2px)!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-circle:disabled{opacity:.45!important;filter:saturate(.72) brightness(.78)!important;cursor:default!important;}

.eg-art-library[data-version="18.8.9.27"] .eg-shelf-mini-state{position:absolute!important;left:39.45%!important;bottom:2.98%!important;width:21.10%!important;height:5.15%!important;z-index:42!important;border:0!important;border-radius:999px!important;background:rgba(3,13,10,.24)!important;color:#f6dfa4!important;box-shadow:none!important;gap:8px!important;padding:0 14px!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-mini-state small{display:inline!important;font-size:clamp(7px,.55vw,10px)!important;letter-spacing:.12em!important;color:rgba(246,223,167,.64)!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-mini-state strong{font-size:clamp(9px,.78vw,14px)!important;color:#ffe7a9!important;letter-spacing:.04em!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-shelf-mini-state em{font-size:clamp(7px,.52vw,10px)!important;color:rgba(246,223,167,.72)!important;max-width:46%!important;}

.eg-art-library[data-version="18.8.9.27"] .eg-art-action-panel{width:min(320px,23vw)!important;max-height:40%!important;top:40.5%!important;right:7.5%!important;border-radius:15px!important;z-index:70!important;}
.eg-art-library[data-version="18.8.9.27"] .eg-panel-list{left:7.5%!important;right:auto!important;}
@media(max-width:900px){
  body.eg-collections-art-mode{overflow-x:auto!important;}
  .eg-art-library[data-version="18.8.9.27"]{min-width:1180px!important;}
  .eg-art-library[data-version="18.8.9.27"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
  .eg-art-library[data-version="18.8.9.27"] .eg-art-action-panel{left:50%!important;right:auto!important;top:40%!important;transform:translateX(-50%)!important;width:318px!important;}
}


/* =========================================================
   THE LEGENDS · V18.8.9.28 EBOOK EXACT LAYOUT RESET
   Fix: use the clean 12-cover background, stretch extracted PNG buttons
   to the designed placement boxes, and lock cover slots to the 6×2 shelf.
   ========================================================= */
body.eg-collections-art-mode{background:#010b09!important;overflow-x:auto!important;}
body.eg-collections-art-mode .eg-top,
body.eg-collections-art-mode .eg-toolbar,
body.eg-collections-art-mode .eg-art-status,
body.eg-collections-art-mode .eg-art-badges,
body.eg-collections-art-mode .eg-art-hot-nav,
body.eg-collections-art-mode .eg-art-filters{display:none!important;}
.eg-art-library[data-version="18.8.9.28"]{min-height:100svh!important;width:100%!important;margin:0!important;padding:0!important;background:#010b09!important;color:#f7e5b6!important;overflow-x:auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-stage{position:relative!important;width:min(100vw,1672px)!important;max-width:1672px!important;margin:0 auto!important;aspect-ratio:1672/941!important;overflow:hidden!important;background:#010b09!important;isolation:isolate!important;box-shadow:0 30px 120px rgba(0,0,0,.56)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-stage::before,
.eg-art-library[data-version="18.8.9.28"] .eg-art-stage::after{display:none!important;content:none!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-bg,
.eg-art-library[data-version="18.8.9.28"] .eg-art-bg img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-bg img{object-fit:cover!important;object-position:center center!important;filter:saturate(1.035) contrast(1.025) brightness(1.01)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-controls,
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-switcher-v27{position:absolute!important;inset:0!important;z-index:40!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn,
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-circle{position:absolute!important;display:block!important;margin:0!important;padding:0!important;border:0!important;background-color:transparent!important;background-position:center!important;background-repeat:no-repeat!important;background-size:100% 100%!important;box-shadow:none!important;outline:0!important;pointer-events:auto!important;cursor:pointer!important;color:transparent!important;text-indent:-9999px!important;overflow:visible!important;transition:filter .18s ease,transform .18s ease,opacity .18s ease!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn span,
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-circle span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:focus-visible,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn.is-active{filter:drop-shadow(0 0 16px rgba(245,202,90,.48)) brightness(1.08)!important;transform:translateY(-1px)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:active{transform:translateY(0) scale(.985)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn b{display:none!important;}

/* Top action bar: 9 independent PNG buttons, stretched to the elite placeholders */
.eg-art-library[data-version="18.8.9.28"] .eg-nav-library{left:7.78%;top:4.25%;width:8.98%;height:7.02%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/library-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-collections{left:16.99%;top:4.25%;width:9.87%;height:7.02%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/collections-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-authors{left:27.27%;top:4.25%;width:8.67%;height:7.02%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/authors-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-exclusives{left:36.30%;top:4.25%;width:10.17%;height:7.02%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/exclusives-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-membership{left:46.83%;top:4.25%;width:10.47%;height:7.02%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/membership-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-about{left:57.66%;top:4.25%;width:7.78%;height:7.02%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/about-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-search{left:65.79%;top:4.25%;width:8.68%;height:7.02%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/search-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-notification{left:74.88%;top:4.25%;width:10.17%;height:7.02%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/notification-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-member{left:85.52%;top:4.25%;width:8.08%;height:7.02%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/member-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-library:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/library-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-collections:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/collections-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-authors:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/authors-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-exclusives:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/exclusives-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-membership:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/membership-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-about:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/about-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-search:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/search-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-notification:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/notification-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-member:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/topbar_individual/member-hover-active.png')!important;}

/* Middle control bar: aligned to the long action rail above the shelf */
.eg-art-library[data-version="18.8.9.28"] .eg-control-picture-books{left:13.46%;top:35.38%;width:11.36%;height:6.80%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/picture-books-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-novels{left:25.18%;top:35.38%;width:10.17%;height:6.80%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/novels-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-audiobooks{left:35.77%;top:35.38%;width:10.77%;height:6.80%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/audiobooks-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-interactive-books{left:46.95%;top:35.38%;width:12.56%;height:6.80%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/interactive-books-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-sort{left:61.60%;top:35.38%;width:12.56%;height:6.80%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/sort-newest-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-grid{left:74.64%;top:35.38%;width:5.68%;height:6.80%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/grid-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-list{left:80.74%;top:35.38%;width:5.68%;height:6.80%;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/list-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-picture-books:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/picture-books-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-novels:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/novels-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-audiobooks:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/audiobooks-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-interactive-books:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/interactive-books-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-sort:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/sort-newest-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-grid:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/grid-hover-active.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-list:is(:hover,:focus-visible,.is-active){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/controls_individual/list-hover-active.png')!important;}

/* Cover slots: locked into the 12 new frames, not the old 24-frame board */
.eg-art-library[data-version="18.8.9.28"] .eg-art-slots{position:absolute!important;inset:0!important;z-index:22!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot{position:absolute!important;display:block!important;border:0!important;padding:0!important;margin:0!important;background:transparent!important;border-radius:6px!important;overflow:hidden!important;pointer-events:auto!important;cursor:pointer!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-empty{pointer-events:none!important;opacity:0!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book{background:#06130e!important;box-shadow:0 12px 24px rgba(0,0,0,.30),0 0 0 1px rgba(224,179,73,.18)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;display:block!important;border-radius:5px!important;border:1px solid rgba(235,196,97,.18)!important;background:#06130e!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book i{position:absolute!important;inset:0!important;border-radius:5px!important;pointer-events:none!important;background:linear-gradient(110deg,transparent 0 35%,rgba(255,246,194,.22) 48%,transparent 64%)!important;mix-blend-mode:screen!important;opacity:.22!important;transform:translateX(-120%) skewX(-10deg)!important;transition:transform .65s ease!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book:hover i,.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book:focus-visible i{transform:translateX(120%) skewX(-10deg)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book small{display:none!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book:hover,
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book:focus-visible{transform:translateY(-4px) scale(1.018)!important;filter:drop-shadow(0 0 18px rgba(239,190,74,.34)) brightness(1.06)!important;z-index:42!important;}

/* Shelf next/prev: small, centered in the background circular sockets */
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-circle{width:4.67%!important;height:8.30%!important;top:64.82%!important;z-index:45!important;opacity:.96!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-prev{left:13.64%!important;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/shelf_nav/shelf-prev-circle-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-next{left:82.24%!important;background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/shelf_nav/shelf-next-circle-normal.png')!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-prev:is(:hover,:focus-visible){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/shelf_nav/shelf-prev-circle-hover.png')!important;filter:drop-shadow(0 0 16px rgba(236,190,83,.58)) brightness(1.08)!important;transform:translateX(-2px)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-next:is(:hover,:focus-visible){background-image:url('/assets/ebook-gallery/ui/v18_8_9_27/shelf_nav/shelf-next-circle-hover.png')!important;filter:drop-shadow(0 0 16px rgba(236,190,83,.58)) brightness(1.08)!important;transform:translateX(2px)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-circle:disabled{opacity:.38!important;filter:saturate(.72) brightness(.78)!important;cursor:default!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state{position:absolute!important;left:42.80%!important;bottom:3.34%!important;width:14.40%!important;height:3.90%!important;z-index:42!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;border:0!important;border-radius:999px!important;background:rgba(3,13,10,.24)!important;color:#f6dfa4!important;box-shadow:none!important;padding:0 8px!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state small{display:none!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state strong{font-size:clamp(8px,.70vw,12px)!important;color:#ffe7a9!important;line-height:1!important;letter-spacing:.04em!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state em{font-size:clamp(6px,.46vw,8px)!important;color:rgba(246,223,167,.58)!important;line-height:1!important;max-width:58%!important;font-style:normal!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-toast{position:absolute!important;left:50%!important;bottom:8.5%!important;transform:translateX(-50%)!important;z-index:65!important;max-width:460px!important;padding:10px 16px!important;border-radius:999px!important;background:rgba(3,15,12,.78)!important;border:1px solid rgba(226,186,94,.30)!important;box-shadow:0 16px 36px rgba(0,0,0,.32)!important;color:#f8dfa0!important;font-size:12px!important;font-weight:800!important;text-align:center!important;backdrop-filter:blur(10px)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-action-panel{position:absolute!important;right:7.5%!important;top:43.5%!important;width:min(320px,23vw)!important;max-height:38%!important;overflow:auto!important;z-index:70!important;border-radius:15px!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-panel-list{left:7.5%!important;right:auto!important;}
@media(max-width:900px){
  body.eg-collections-art-mode{overflow-x:auto!important;}
  .eg-art-library[data-version="18.8.9.28"]{min-width:1180px!important;}
  .eg-art-library[data-version="18.8.9.28"] .eg-art-stage{width:1180px!important;max-width:none!important;margin:0!important;}
  .eg-art-library[data-version="18.8.9.28"] .eg-art-action-panel{left:50%!important;right:auto!important;top:43%!important;transform:translateX(-50%)!important;width:318px!important;}
}



/* =========================================================
   THE LEGENDS · V18.8.9.28.3 EBOOK BUTTON + STATUS POLISH
   Scope: /collections only. Keeps data-version "18.8.9.28".
   ========================================================= */

.eg-art-library[data-version="18.8.9.28"] .eg-art-stage {
  overflow:hidden!important;
}

.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn {
  background-size:96% auto!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  transform-origin:center center!important;
  border-radius:10px!important;
  filter:none!important;
  opacity:.985!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:focus-visible,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn.is-active {
  transform:translateY(-1px) scale(.992)!important;
  filter:drop-shadow(0 0 10px rgba(245,202,90,.38)) brightness(1.045)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:active {
  transform:translateY(0) scale(.982)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn::after {
  font-size:8px!important;
  padding:4px 8px!important;
  transform:translate(-50%,5px)!important;
  max-width:180px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Top bar: reduce height and recenter each PNG inside its gold frame. */
.eg-art-library[data-version="18.8.9.28"] .eg-nav-library{left:7.98%!important;top:3.74%!important;width:8.22%!important;height:5.62%!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-collections{left:17.22%!important;top:3.74%!important;width:9.12%!important;height:5.62%!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-authors{left:27.66%!important;top:3.74%!important;width:7.98%!important;height:5.62%!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-exclusives{left:36.78%!important;top:3.74%!important;width:9.42%!important;height:5.62%!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-membership{left:47.18%!important;top:3.74%!important;width:9.72%!important;height:5.62%!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-about{left:58.02%!important;top:3.74%!important;width:7.22%!important;height:5.62%!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-search{left:65.98%!important;top:3.74%!important;width:8.02%!important;height:5.62%!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-notification{left:75.00%!important;top:3.74%!important;width:9.72%!important;height:5.62%!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-member{left:85.58%!important;top:3.74%!important;width:8.05%!important;height:5.62%!important;}

/* Middle controls: compacted to sit inside the rail, not across the frame line. */
.eg-art-library[data-version="18.8.9.28"] .eg-control-picture-books{left:14.02%!important;top:34.62%!important;width:10.38%!important;height:5.38%!important;background-size:96% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-novels{left:25.74%!important;top:34.62%!important;width:9.36%!important;height:5.38%!important;background-size:96% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-audiobooks{left:37.46%!important;top:34.62%!important;width:9.85%!important;height:5.38%!important;background-size:96% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-interactive-books{left:48.66%!important;top:34.62%!important;width:11.42%!important;height:5.38%!important;background-size:96% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-sort{left:61.58%!important;top:34.62%!important;width:12.30%!important;height:5.38%!important;background-size:96% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-grid{left:75.05%!important;top:34.54%!important;width:4.02%!important;height:5.56%!important;background-size:92% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-list{left:80.36%!important;top:34.54%!important;width:4.02%!important;height:5.56%!important;background-size:92% auto!important;}

/* Cover slots: fit inside 12 frames. */
.eg-art-library[data-version="18.8.9.28"] .eg-art-slots{z-index:22!important;pointer-events:none!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot {
  overflow:hidden!important;
  border-radius:6px!important;
  pointer-events:auto!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book {
  box-shadow:0 18px 30px rgba(0,0,0,.28),0 0 0 1px rgba(227,185,79,.12)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book img {
  object-fit:contain!important;
  padding:3px!important;
  background:#06130e!important;
  border-radius:5px!important;
  box-sizing:border-box!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book small{display:none!important;}

/* Bottom shelf status: readable, centered, no broken text. */
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state {
  left:42.22%!important;
  bottom:3.26%!important;
  width:15.65%!important;
  height:4.30%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:rgba(3,13,10,.30)!important;
  border:1px solid rgba(229,190,96,.14)!important;
  box-shadow:0 0 14px rgba(229,190,96,.06)!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  backdrop-filter:blur(3px)!important;
  -webkit-backdrop-filter:blur(3px)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state small {
  display:inline!important;
  flex:0 0 auto!important;
  font-size:clamp(6px,.46vw,8px)!important;
  line-height:1!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  color:rgba(246,223,167,.62)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state strong {
  flex:0 0 auto!important;
  font-size:clamp(8px,.68vw,11px)!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  color:#ffe7a9!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state strong span {
  padding:0 2px!important;
  color:rgba(246,223,167,.45)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state em {
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:48%!important;
  font-size:clamp(5px,.40vw,7px)!important;
  line-height:1!important;
  font-style:normal!important;
  color:rgba(246,223,167,.60)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state:hover {
  border-color:rgba(229,190,96,.28)!important;
  box-shadow:0 0 18px rgba(229,190,96,.13)!important;
}

/* Compact panels; no big black layer over the shelf. */
.eg-art-library[data-version="18.8.9.28"] .eg-art-action-panel {
  width:min(300px,22vw)!important;
  max-height:36%!important;
  padding:11px 13px!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,rgba(4,22,17,.86),rgba(1,9,7,.76))!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-art-action-panel h3{font-size:13px!important;margin-bottom:4px!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-action-panel p{font-size:10px!important;line-height:1.38!important;}



/* =========================================================
   THE LEGENDS · V18.8.9.28.4 COLLECTIONS BUTTON MICROFIT
   Fix from real screenshot: top/control PNG buttons were too large and drifting out of the decorative frames.
   ========================================================= */
.eg-art-library[data-version="18.8.9.28"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-controls{z-index:48!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn{background-size:82% auto!important;background-position:center center!important;background-repeat:no-repeat!important;border-radius:8px!important;opacity:.96!important;transform:none!important;box-shadow:none!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.16))!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:focus-visible,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn.is-active{transform:translateY(-1px) scale(.985)!important;filter:drop-shadow(0 0 8px rgba(245,202,90,.42)) brightness(1.06)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-library{left:8.02%!important;top:3.38%!important;width:8.25%!important;height:4.60%!important;background-size:80% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-collections{left:17.32%!important;top:3.38%!important;width:8.92%!important;height:4.60%!important;background-size:80% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-authors{left:28.06%!important;top:3.38%!important;width:7.62%!important;height:4.60%!important;background-size:80% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-exclusives{left:37.12%!important;top:3.38%!important;width:8.92%!important;height:4.60%!important;background-size:80% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-membership{left:47.66%!important;top:3.38%!important;width:8.82%!important;height:4.60%!important;background-size:80% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-about{left:58.26%!important;top:3.38%!important;width:7.18%!important;height:4.60%!important;background-size:80% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-search{left:66.30%!important;top:3.38%!important;width:7.12%!important;height:4.60%!important;background-size:78% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-notification{left:75.10%!important;top:3.38%!important;width:8.90%!important;height:4.60%!important;background-size:78% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-member{left:85.76%!important;top:3.38%!important;width:7.72%!important;height:4.60%!important;background-size:78% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-picture-books{left:15.22%!important;top:35.02%!important;width:8.40%!important;height:4.34%!important;background-size:78% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-novels{left:26.24%!important;top:35.02%!important;width:7.48%!important;height:4.34%!important;background-size:78% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-audiobooks{left:38.52%!important;top:35.02%!important;width:8.18%!important;height:4.34%!important;background-size:78% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-interactive-books{left:49.88%!important;top:35.02%!important;width:9.52%!important;height:4.34%!important;background-size:78% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-sort{left:62.78%!important;top:35.02%!important;width:10.20%!important;height:4.34%!important;background-size:80% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-grid{left:76.02%!important;top:34.98%!important;width:3.14%!important;height:4.46%!important;background-size:72% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-list{left:80.54%!important;top:34.98%!important;width:3.14%!important;height:4.46%!important;background-size:72% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-grid.is-active,
.eg-art-library[data-version="18.8.9.28"] .eg-control-list.is-active,
.eg-art-library[data-version="18.8.9.28"] .eg-nav-library.is-active,
.eg-art-library[data-version="18.8.9.28"] .eg-nav-collections.is-active,
.eg-art-library[data-version="18.8.9.28"] .eg-control-picture-books.is-active,
.eg-art-library[data-version="18.8.9.28"] .eg-control-novels.is-active,
.eg-art-library[data-version="18.8.9.28"] .eg-control-audiobooks.is-active,
.eg-art-library[data-version="18.8.9.28"] .eg-control-interactive-books.is-active{filter:drop-shadow(0 0 9px rgba(244,204,89,.46)) brightness(1.08)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state{left:42.34%!important;bottom:3.34%!important;width:15.30%!important;height:4.04%!important;gap:6px!important;background:rgba(3,13,10,.25)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state small{font-size:clamp(5px,.40vw,7px)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state strong{font-size:clamp(7px,.60vw,10px)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state em{font-size:clamp(5px,.36vw,7px)!important;max-width:44%!important;}


/* V18.8.9.28.5 · TOP BAR + MIDDLE BAR FINAL FIT */
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn{background-size:76% auto!important;filter:drop-shadow(0 1px 2px rgba(0,0,0,.18))!important}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:focus-visible,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn.is-active{transform:translateY(-1px)!important;filter:drop-shadow(0 0 7px rgba(245,202,90,.36)) brightness(1.05)!important}

/* top bar: smaller, vertically centered inside top frame */
.eg-art-library[data-version="18.8.9.28"] .eg-nav-library{left:8.55%!important;top:2.92%!important;width:7.00%!important;height:3.78%!important;background-size:74% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-collections{left:17.64%!important;top:2.92%!important;width:8.02%!important;height:3.78%!important;background-size:74% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-authors{left:28.25%!important;top:2.92%!important;width:6.68%!important;height:3.78%!important;background-size:74% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-exclusives{left:37.23%!important;top:2.92%!important;width:7.96%!important;height:3.78%!important;background-size:74% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-membership{left:47.88%!important;top:2.92%!important;width:7.92%!important;height:3.78%!important;background-size:74% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-about{left:58.45%!important;top:2.92%!important;width:6.30%!important;height:3.78%!important;background-size:74% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-search{left:66.64%!important;top:2.92%!important;width:6.12%!important;height:3.78%!important;background-size:70% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-notification{left:75.46%!important;top:2.92%!important;width:8.04%!important;height:3.78%!important;background-size:70% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-member{left:86.16%!important;top:2.92%!important;width:6.66%!important;height:3.78%!important;background-size:70% auto!important;}

/* middle bar: reduced to fit inside decorative blanks, no collision */
.eg-art-library[data-version="18.8.9.28"] .eg-control-picture-books{left:15.74%!important;top:35.06%!important;width:6.98%!important;height:3.34%!important;background-size:72% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-novels{left:26.78%!important;top:35.06%!important;width:5.82%!important;height:3.34%!important;background-size:72% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-audiobooks{left:38.90%!important;top:35.06%!important;width:6.78%!important;height:3.34%!important;background-size:72% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-interactive-books{left:50.08%!important;top:35.06%!important;width:8.18%!important;height:3.34%!important;background-size:72% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-sort{left:62.90%!important;top:35.06%!important;width:8.62%!important;height:3.34%!important;background-size:74% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-grid{left:76.36%!important;top:35.00%!important;width:2.42%!important;height:3.56%!important;background-size:64% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-list{left:80.48%!important;top:35.00%!important;width:2.42%!important;height:3.56%!important;background-size:64% auto!important;}

.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state{left:43.02%!important;bottom:2.94%!important;width:14.12%!important;height:3.82%!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state strong{font-size:clamp(8px,.58vw,11px)!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state small,
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state em{font-size:clamp(5px,.34vw,7px)!important;}



/* =========================================================
   THE LEGENDS · V18.8.9.28.5.1 COLLECTIONS ELITE FINAL POLISH
   Final pass from screenshot:
   - Buttons are visually smaller but click areas remain comfortable.
   - Top bar and middle bar sit inside their decorative frames.
   - Active state is elegant, not blocky.
   - Panels/status stay compact and do not cover the shelf.
   ========================================================= */

.eg-art-library[data-version="18.8.9.28"] .eg-art-stage {
  overflow:hidden!important;
  background:#020b08!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-nav,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-controls {
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:52!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn {
  pointer-events:auto!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:68% auto!important;
  border:0!important;
  outline:0!important;
  border-radius:8px!important;
  box-shadow:none!important;
  opacity:.94!important;
  mix-blend-mode:normal!important;
  transform:none!important;
  transition:filter .18s ease, transform .18s ease, opacity .18s ease!important;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.20))!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:focus-visible {
  opacity:1!important;
  transform:translateY(-.5px) scale(.985)!important;
  filter:drop-shadow(0 0 6px rgba(245,202,90,.30)) brightness(1.045)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn.is-active {
  opacity:1!important;
  transform:scale(.982)!important;
  filter:drop-shadow(0 0 7px rgba(255,218,120,.38)) brightness(1.06)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn::after {
  transform:translate(-50%,4px)!important;
  font-size:7px!important;
  letter-spacing:.09em!important;
  padding:3px 7px!important;
  border-radius:999px!important;
  background:rgba(3,13,10,.86)!important;
  border:1px solid rgba(227,185,79,.20)!important;
  color:#ffe8a9!important;
  box-shadow:0 6px 16px rgba(0,0,0,.22)!important;
}

/* TOP BAR */
.eg-art-library[data-version="18.8.9.28"] .eg-nav-library{left:8.74%!important;top:2.84%!important;width:6.54%!important;height:3.34%!important;background-size:67% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-collections{left:17.88%!important;top:2.84%!important;width:7.42%!important;height:3.34%!important;background-size:67% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-authors{left:28.50%!important;top:2.84%!important;width:6.12%!important;height:3.34%!important;background-size:67% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-exclusives{left:37.54%!important;top:2.84%!important;width:7.18%!important;height:3.34%!important;background-size:67% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-membership{left:48.18%!important;top:2.84%!important;width:7.16%!important;height:3.34%!important;background-size:67% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-about{left:58.76%!important;top:2.84%!important;width:5.60%!important;height:3.34%!important;background-size:67% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-search{left:66.86%!important;top:2.84%!important;width:5.44%!important;height:3.34%!important;background-size:62% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-notification{left:75.72%!important;top:2.84%!important;width:7.36%!important;height:3.34%!important;background-size:62% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-nav-member{left:86.46%!important;top:2.84%!important;width:6.08%!important;height:3.34%!important;background-size:62% auto!important;}

/* MIDDLE BAR */
.eg-art-library[data-version="18.8.9.28"] .eg-control-picture-books{left:16.02%!important;top:35.18%!important;width:6.34%!important;height:2.92%!important;background-size:64% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-novels{left:27.02%!important;top:35.18%!important;width:5.16%!important;height:2.92%!important;background-size:64% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-audiobooks{left:39.18%!important;top:35.18%!important;width:6.08%!important;height:2.92%!important;background-size:64% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-interactive-books{left:50.42%!important;top:35.18%!important;width:7.58%!important;height:2.92%!important;background-size:64% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-sort{left:63.16%!important;top:35.18%!important;width:7.94%!important;height:2.92%!important;background-size:66% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-grid{left:76.56%!important;top:35.08%!important;width:2.02%!important;height:3.12%!important;background-size:56% auto!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-control-list{left:80.54%!important;top:35.08%!important;width:2.02%!important;height:3.12%!important;background-size:56% auto!important;}

/* Status plaque */
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state {
  left:43.52%!important;
  bottom:3.10%!important;
  width:12.96%!important;
  height:3.44%!important;
  padding:0 8px!important;
  gap:5px!important;
  border:1px solid rgba(229,190,96,.12)!important;
  background:rgba(1,10,8,.22)!important;
  box-shadow:0 0 10px rgba(229,190,96,.04)!important;
  backdrop-filter:blur(2px)!important;
  -webkit-backdrop-filter:blur(2px)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state small {
  font-size:clamp(4px,.30vw,6px)!important;
  letter-spacing:.16em!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state strong {
  font-size:clamp(7px,.52vw,10px)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state em {
  font-size:clamp(4px,.30vw,6px)!important;
  max-width:40%!important;
}

/* Cover inset */
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot {
  transform:scale(.965)!important;
  transform-origin:center center!important;
  border-radius:5px!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book:hover {
  transform:translateY(-3px) scale(1.012)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot-book img {
  padding:4px!important;
  border:1px solid rgba(235,196,97,.14)!important;
}

/* Action panels */
.eg-art-library[data-version="18.8.9.28"] .eg-art-action-panel {
  width:min(270px,20vw)!important;
  max-height:34%!important;
  padding:10px 12px!important;
  border-radius:13px!important;
  background:linear-gradient(145deg,rgba(4,22,17,.82),rgba(1,9,7,.70))!important;
  border:1px solid rgba(227,185,79,.18)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-art-action-panel h3 {font-size:12px!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-art-action-panel p,
.eg-art-library[data-version="18.8.9.28"] .eg-art-action-panel button {font-size:9px!important;}

@media(max-width:900px) {
  .eg-art-library[data-version="18.8.9.28"] .eg-asset-btn {background-size:58% auto!important;}
  .eg-art-library[data-version="18.8.9.28"] .eg-nav-library,
  .eg-art-library[data-version="18.8.9.28"] .eg-nav-collections,
  .eg-art-library[data-version="18.8.9.28"] .eg-nav-authors,
  .eg-art-library[data-version="18.8.9.28"] .eg-nav-exclusives,
  .eg-art-library[data-version="18.8.9.28"] .eg-nav-membership,
  .eg-art-library[data-version="18.8.9.28"] .eg-nav-about,
  .eg-art-library[data-version="18.8.9.28"] .eg-nav-search,
  .eg-art-library[data-version="18.8.9.28"] .eg-nav-notification,
  .eg-art-library[data-version="18.8.9.28"] .eg-nav-member {
    height:3.10%!important;
    top:2.92%!important;
  }
  .eg-art-library[data-version="18.8.9.28"] .eg-control-picture-books,
  .eg-art-library[data-version="18.8.9.28"] .eg-control-novels,
  .eg-art-library[data-version="18.8.9.28"] .eg-control-audiobooks,
  .eg-art-library[data-version="18.8.9.28"] .eg-control-interactive-books,
  .eg-art-library[data-version="18.8.9.28"] .eg-control-sort,
  .eg-art-library[data-version="18.8.9.28"] .eg-control-grid,
  .eg-art-library[data-version="18.8.9.28"] .eg-control-list {
    height:2.62%!important;
    top:35.30%!important;
  }
}



/* =========================================================
   THE LEGENDS · V18.8.9.28.6 CLEAN EBOOK BACKGROUND
   Remove all visible physical button assets from the library background.
   Functional hotspots stay in DOM but are invisible, so the bookshelf art is clean.
   ========================================================= */
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn{
  background-image:none!important;
  background:none!important;
  opacity:0!important;
  filter:none!important;
  box-shadow:none!important;
  border:0!important;
  color:transparent!important;
  text-shadow:none!important;
  mix-blend-mode:normal!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn span,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn b{display:none!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn::before,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn::after{display:none!important;content:none!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:hover,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn:focus-visible,
.eg-art-library[data-version="18.8.9.28"] .eg-asset-btn.is-active{
  opacity:0!important;
  background:none!important;
  filter:none!important;
  transform:none!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-switcher-v27{display:none!important;}
.eg-art-library[data-version="18.8.9.28"] .eg-shelf-mini-state{
  left:43.4%!important;
  bottom:3.05%!important;
  width:13.2%!important;
  height:3.5%!important;
  opacity:.82!important;
  background:rgba(1,10,8,.18)!important;
  border:1px solid rgba(229,190,96,.10)!important;
}
.eg-art-library[data-version="18.8.9.28"] .eg-art-slot{transform:scale(.965)!important;}
