/* The Great Library Project: the bookshelf. Every rule is scoped to #glp-bookshelf. */
#glp-bookshelf{
  --bg:#f2ede3; --page:#faf6ee; --sunk:#ebe3d2; --ink:#221808; --ink2:#4f412a; --ink3:#6b5a3c;
  --rule:#d0c4aa; --rule2:#e4dcc8; --gold:#9a7a20; --gold-ink:#7d6212; --gold-wash:rgba(154,122,32,.13);
  --accent:#7a2a08; --water1:#c9b477; --water2:#8fa7ae; --shadow:rgba(90,70,40,.18);
  --live:#2f5d2c; --live-wash:#e1ead6; --press:#8a5a10; --press-wash:#f1e5cc; --ghost:#6b5a3c; --ghost-wash:#ece5d6;
  --pd-likely:#2f5d2c; --pd-unc:#8a5a10; --pd-block:#9c3a1e;
  --linen:#e9e0cb; --linen2:#ded3ba;
  --f-greek:#1f3f6e; --f-latin:#7a2020; --f-coptic:#7a5418; --f-semitic:#6a4520; --f-arabic:#1d5a52; --f-indic:#a8561f;
  --f-chinese:#2f5230; --f-romance:#6a2a4a; --f-germanic:#2f4a5c; --f-slavic:#4a3a6e; --f-americas:#8a5a2a;
  color-scheme:light;
}
body.glp-shelf #glp-bookshelf{
  --bg:#14100a; --page:#1e1810; --sunk:#191309; --ink:#efe6cf; --ink2:#cdbd96; --ink3:#a8966f;
  --rule:#3e3220; --rule2:#2c2416; --gold:#d3ad45; --gold-ink:#e2c064; --gold-wash:rgba(211,173,69,.14);
  --accent:#e0864e; --water1:#6d5a26; --water2:#34525a; --shadow:rgba(0,0,0,.5);
  --live:#9fce8f; --live-wash:#1f2c19; --press:#e2b25c; --press-wash:#2e2410; --ghost:#a8966f; --ghost-wash:#231c12;
  --pd-likely:#9fce8f; --pd-unc:#e2b25c; --pd-block:#f0906a;
  --linen:#3a3222; --linen2:#312a1c;
  color-scheme:dark;
}
#glp-bookshelf *{box-sizing:border-box}
#glp-bookshelf a{color:var(--gold-ink)}
#glp-bookshelf button{font:inherit;color:inherit}
#glp-bookshelf :focus-visible{outline:3px solid var(--gold);outline-offset:2px}
#glp-bookshelf .wrap{max-width:52rem;margin:0 auto;padding-inline:16px;padding-block:0 5rem}
#glp-bookshelf .proto{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--rule);font-size:.86rem;color:var(--ink3)}
#glp-bookshelf .proto b{color:var(--ink2);font-weight:600}
#glp-bookshelf .btn-quiet{background:transparent;border:1px solid var(--rule);border-radius:8px;padding:6px 14px;min-height:40px;cursor:pointer;color:var(--ink2)}
#glp-bookshelf .btn-quiet:hover{border-color:var(--gold);color:var(--ink)}
#glp-bookshelf header.mast{text-align:center;padding:28px 0 10px}
#glp-bookshelf .orn{color:var(--gold);font-size:1.2rem;letter-spacing:.3em}
#glp-bookshelf h1{font-family:"Cinzel",Georgia,serif;font-weight:600;font-size:clamp(1.9rem,6.4vw,3rem);letter-spacing:.06em;margin:6px 0 4px;line-height:1.1;text-wrap:balance}
#glp-bookshelf .sub{color:var(--ink2);font-size:1.12rem;margin:0 auto;max-width:34rem;font-style:italic}
#glp-bookshelf .lede{color:var(--ink2);max-width:40rem;margin:18px 0 14px;font-size:1.06rem}
#glp-bookshelf .lede strong{color:var(--ink);font-weight:600}
#glp-bookshelf section.view[hidden]{display:none}
#glp-bookshelf .legend{display:flex;flex-wrap:wrap;gap:10px 22px;margin:4px 0 16px;font-size:.95rem;color:var(--ink2)}
#glp-bookshelf .legend span{display:inline-flex;align-items:center;gap:8px}
#glp-bookshelf .node{width:16px;height:16px;border-radius:50%;display:inline-block;flex:none}
#glp-bookshelf .node.live{background:var(--gold);box-shadow:0 0 0 3px var(--gold-wash)}
#glp-bookshelf .node.stub{background:var(--page);border:3px solid var(--press)}
#glp-bookshelf .node.ghost{background:transparent;border:2px dashed var(--ghost)}
#glp-bookshelf .controls{position:relative;background:var(--bg);padding:10px 0;border-bottom:1px solid var(--rule2);display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#glp-bookshelf .seg{display:inline-flex;flex-wrap:wrap;border:1.5px solid var(--rule);border-radius:10px;overflow:hidden;background:var(--page)}
#glp-bookshelf .seg button{border:0;background:transparent;padding:8px 14px;min-height:44px;cursor:pointer}
#glp-bookshelf .seg button[aria-pressed="true"]{background:var(--gold-wash);color:var(--ink);font-weight:600;box-shadow:inset 0 -3px 0 var(--gold)}
#glp-bookshelf select{font:inherit;font-size:1rem;background:var(--page);color:var(--ink);border:1.5px solid var(--rule);border-radius:10px;padding:8px 12px;min-height:44px}
#glp-bookshelf .btn-gold{background:var(--gold);color:#fff8e6;border:0;border-radius:10px;padding:8px 16px;min-height:44px;cursor:pointer;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
body.glp-shelf #glp-bookshelf .btn-gold{color:#1b1406}
#glp-bookshelf .btn-gold:hover{filter:brightness(1.08)}
#glp-bookshelf .btn-line{background:var(--page);border:1.5px solid var(--gold);color:var(--gold-ink);border-radius:10px;padding:7px 14px;min-height:44px;cursor:pointer;font-weight:500;text-decoration:none;display:inline-flex;align-items:center}
#glp-bookshelf .btn-line:hover{background:var(--gold-wash)}
#glp-bookshelf .paths-row{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:10px 0 0;padding-bottom:4px}
#glp-bookshelf .paths{display:flex;gap:8px;width:max-content}
#glp-bookshelf .chip{border:1.5px solid var(--rule);background:var(--page);border-radius:999px;padding:6px 14px;min-height:42px;cursor:pointer;white-space:nowrap;font-size:.98rem}
#glp-bookshelf .chip[aria-pressed="true"]{border-color:var(--gold);background:var(--gold-wash);font-weight:600}
#glp-bookshelf .pathnote{margin:10px 0 0;color:var(--ink2);font-style:italic;font-size:1rem}
#glp-bookshelf .focusbar{margin:12px 0 0;background:var(--gold-wash);border:1.5px solid var(--gold);border-radius:12px;padding:10px 14px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
#glp-bookshelf .known{margin:22px 0 8px}
#glp-bookshelf .known h3,#glp-bookshelf .era h2,#glp-bookshelf .sheet h3,#glp-bookshelf .cov h3{font-weight:600;margin:0}
#glp-bookshelf .known h3{font-size:1.15rem;color:var(--ink2);font-style:italic;font-weight:500}
#glp-bookshelf .known-row{overflow-x:auto;margin-top:8px;padding-bottom:6px}
#glp-bookshelf .known-list{display:flex;gap:10px;width:max-content}
#glp-bookshelf .kline{width:16rem;background:var(--page);border:1px solid var(--rule);border-radius:12px;padding:12px 14px;cursor:pointer;text-align:left}
#glp-bookshelf .kline:hover{border-color:var(--gold)}
#glp-bookshelf .kline q{display:block;font-size:1.06rem;line-height:1.3}
#glp-bookshelf .kline small{display:block;color:var(--ink3);margin-top:6px;font-size:.88rem}
#glp-bookshelf .river{position:relative;margin-top:10px}
#glp-bookshelf .era{position:relative;padding-top:18px}
#glp-bookshelf .era h2{font-size:1.5rem;padding-left:48px;line-height:1.2}
#glp-bookshelf .era .span{display:block;color:var(--gold-ink);font-size:1rem;font-weight:500;padding-left:48px}
#glp-bookshelf .era .tally{display:block;color:var(--ink3);font-size:.92rem;padding-left:48px;margin-bottom:6px}
#glp-bookshelf .stream{position:relative;padding-left:48px}
#glp-bookshelf .stream::before{content:"";position:absolute;left:14px;top:0;bottom:0;width:10px;border-radius:6px;
  background:linear-gradient(180deg,var(--water1),var(--water2),var(--water1));background-size:100% 600px;opacity:.75}
@media (prefers-reduced-motion:no-preference){#glp-bookshelf .stream::before{animation:flow 14s linear infinite}
}
@keyframes flow{from{background-position:0 0}to{background-position:0 600px}}
#glp-bookshelf .item{position:relative;padding:12px 0 14px;border-bottom:1px solid var(--rule2)}
#glp-bookshelf .item .dot{position:absolute;left:-41px;top:22px;width:18px;height:18px}
#glp-bookshelf .item .dot.live{border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px var(--gold-wash)}
#glp-bookshelf .item .dot.stub{border-radius:50%;background:var(--page);border:3.5px solid var(--press)}
#glp-bookshelf .item .dot.ghost{border-radius:50%;background:var(--bg);border:2px dashed var(--ghost)}
#glp-bookshelf .item.faded{opacity:.28}
#glp-bookshelf .item.lit{background:linear-gradient(90deg,var(--gold-wash),transparent 70%)}
#glp-bookshelf .irow{display:flex;gap:14px;align-items:flex-start}
#glp-bookshelf .mini{flex:none;width:52px;height:70px;border-radius:3px 6px 6px 3px;color:#f3e7c8;display:flex;align-items:center;justify-content:center;font-size:1.6rem;box-shadow:2px 3px 6px var(--shadow),inset 5px 0 0 rgba(0,0,0,.18)}
#glp-bookshelf .mini.stub{filter:saturate(.35) brightness(1.05);outline:2px dashed var(--press);outline-offset:2px}
#glp-bookshelf .ibody{min-width:0;flex:1}
#glp-bookshelf .date{color:var(--gold-ink);font-size:.98rem;font-variant-numeric:lining-nums tabular-nums}
#glp-bookshelf .date .lng{color:var(--ink3)}
#glp-bookshelf .ttl{font-size:1.32rem;font-weight:600;line-height:1.2;margin:2px 0 0;cursor:pointer;background:none;border:0;padding:0;text-align:left}
#glp-bookshelf .ttl:hover{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}
#glp-bookshelf .by{font-style:italic;color:var(--ink2)}
#glp-bookshelf .hook{color:var(--ink2);margin:4px 0 0;font-size:1.02rem}
#glp-bookshelf .meter{display:flex;align-items:center;gap:10px;margin:8px 0 2px;font-size:.95rem;color:var(--ink2);flex-wrap:wrap}
#glp-bookshelf .bar{flex:0 1 11rem;height:9px;border-radius:5px;background:var(--sunk);border:1px solid var(--rule);overflow:hidden;min-width:6rem}
#glp-bookshelf .bar i{display:block;height:100%;background:var(--gold)}
#glp-bookshelf .bar.fund i{background:var(--press)}
#glp-bookshelf .acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
#glp-bookshelf .item.ghost .ttl{font-weight:500;color:var(--ink2)}
#glp-bookshelf .item.ghost .hook{color:var(--ink3)}
#glp-bookshelf .pd{display:inline-block;font-size:.86rem;border-radius:6px;padding:1px 8px;border:1px solid currentColor}
#glp-bookshelf .pd.likely{color:var(--pd-likely)}
#glp-bookshelf .pd.uncertain{color:var(--pd-unc)}
#glp-bookshelf .pd.blocked{color:var(--pd-block)}
#glp-bookshelf .gap{padding:6px 0;color:var(--ink3);font-style:italic;font-size:.95rem}
#glp-bookshelf .athens{margin:14px 0;background:var(--page);border:1.5px solid var(--gold);border-radius:14px;padding:16px 18px;box-shadow:0 2px 10px var(--shadow)}
#glp-bookshelf .athens h3{margin:0 0 6px;font-size:1.3rem;font-weight:600}
#glp-bookshelf .athens p{margin:0 0 10px;color:var(--ink2)}
#glp-bookshelf .people{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
#glp-bookshelf .person{border:1.5px solid var(--rule);background:var(--bg);border-radius:10px;padding:6px 12px;min-height:44px;cursor:pointer;text-align:left;line-height:1.2}
#glp-bookshelf .person small{display:block;color:var(--ink3);font-size:.82rem}
#glp-bookshelf .person.on{border-color:var(--gold)}
#glp-bookshelf details.deep{margin:12px 0 4px;background:var(--sunk);border:1px dashed var(--rule);border-radius:12px;padding:10px 14px}
#glp-bookshelf details.deep summary{cursor:pointer;color:var(--ink2);min-height:32px}
#glp-bookshelf details.deep summary b{color:var(--ink);font-weight:600}
#glp-bookshelf .deeplist{margin:10px 0 0;padding:0;list-style:none;font-size:.98rem}
#glp-bookshelf .deeplist li{padding:6px 0;border-top:1px solid var(--rule2)}
#glp-bookshelf .deeplist .dy{color:var(--gold-ink);font-variant-numeric:tabular-nums}
#glp-bookshelf .credit{font-size:.86rem;color:var(--ink3);margin-top:8px}
#glp-bookshelf .empty{padding:20px 0 20px 48px;color:var(--ink3);font-style:italic}
#glp-bookshelf .scrim{position:fixed;inset:0;background:rgba(20,14,6,.5);z-index:40;display:flex;align-items:flex-end;justify-content:center}
#glp-bookshelf .scrim[hidden]{display:none!important}
#glp-bookshelf .sheet{background:var(--page);color:var(--ink);width:100%;max-width:40rem;max-height:88vh;overflow-y:auto;border-radius:18px 18px 0 0;padding:20px 20px calc(24px + env(safe-area-inset-bottom,0px));box-shadow:0 -6px 30px rgba(0,0,0,.35)}
@media (min-width:760px){#glp-bookshelf .scrim{align-items:center}
#glp-bookshelf .sheet{border-radius:18px;max-height:84vh}
}
#glp-bookshelf .sheet .close{float:right;margin:-4px -4px 8px 12px}
#glp-bookshelf .sheet h3{font-size:1.7rem;line-height:1.15;margin:4px 0 2px;text-wrap:balance}
#glp-bookshelf .sheet .kv{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:14px 0;font-size:1rem}
#glp-bookshelf .sheet .kv dt{color:var(--ink3)}
#glp-bookshelf .sheet .kv dd{margin:0}
#glp-bookshelf .sheet .why{font-size:1.1rem;margin:10px 0}
#glp-bookshelf .orig{background:var(--sunk);border-left:4px solid var(--gold);padding:10px 14px;margin:12px 0;font-size:1.3rem;line-height:1.35}
#glp-bookshelf .orig small{display:block;font-size:.9rem;color:var(--ink3);margin-top:4px}
#glp-bookshelf .contemp{margin-top:18px;border-top:1px solid var(--rule);padding-top:12px}
#glp-bookshelf .contemp h4{margin:0 0 8px;font-weight:600;font-size:1.1rem}
#glp-bookshelf .clist{display:flex;flex-wrap:wrap;gap:6px}
#glp-bookshelf .cp{border:1px solid var(--rule);border-radius:8px;padding:4px 10px;font-size:.95rem;cursor:pointer;background:var(--bg);min-height:38px}
#glp-bookshelf .cp.live{border-color:var(--gold);background:var(--gold-wash)}
#glp-bookshelf .cp.stub{border-style:solid;border-color:var(--press)}
#glp-bookshelf .cp.ghost{border-style:dashed;color:var(--ink2)}
#glp-bookshelf .amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}
#glp-bookshelf .amounts button{border:1.5px solid var(--rule);border-radius:10px;background:var(--bg);min-height:52px;font-size:1.15rem;cursor:pointer}
#glp-bookshelf .amounts button[aria-pressed="true"]{border-color:var(--gold);background:var(--gold-wash);font-weight:600}
#glp-bookshelf .note{font-size:.92rem;color:var(--ink3);margin:10px 0 0}
#glp-bookshelf .tag{font-family:ui-monospace,Menlo,monospace;font-size:.85rem;background:var(--sunk);padding:1px 6px;border-radius:4px;color:var(--ink2)}
#glp-bookshelf .done{background:var(--live-wash);color:var(--live);border-radius:10px;padding:10px 14px;margin-top:12px}
#glp-bookshelf #shelves.up{display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:30px}
#glp-bookshelf #shelves.up .case{flex:1 1 auto;min-width:min(100%,220px)}
#glp-bookshelf .shelf-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0 14px;font-size:.95rem;color:var(--ink2)}
#glp-bookshelf .sw{display:inline-block;width:18px;height:12px;border-radius:2px;vertical-align:-1px;margin-right:6px}
#glp-bookshelf .case{position:relative;margin:34px 0 10px;padding:30px 14px 0;border-radius:2px;border:13px solid #4a301a;border-image:url(wood-side.jpg) 90 / 13px stretch;
  background:
    linear-gradient(rgba(10,6,2,.38),rgba(10,6,2,.38)),
    linear-gradient(90deg,rgba(0,0,0,.45),transparent 7%,transparent 93%,rgba(0,0,0,.45)),
    linear-gradient(180deg,rgba(0,0,0,.35),transparent 12%),
    url(wood-back.jpg),
    linear-gradient(180deg,#261a10,#1e140b);
  background-size:auto,auto,auto,320px 320px,auto;
  box-shadow:0 12px 26px rgba(0,0,0,.45);
  margin-inline:0}
#glp-bookshelf .case::before{content:none}
#glp-bookshelf .tape{position:absolute;top:-24px;left:12px;z-index:4;padding:7px 18px 6px;font-family:"Special Elite","Courier New",monospace;font-size:1.02rem;line-height:1.15;color:#2e281c;letter-spacing:.01em;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),linear-gradient(180deg,rgba(233,224,196,.93),rgba(222,211,178,.93));background-size:160px,auto;transform:rotate(-1deg);box-shadow:0 1px 2px rgba(0,0,0,.3);
  --clip-old:0;clip-path:polygon(1% 0,99% 0,98.4% 18%,100% 34%,98.6% 52%,99.8% 70%,98.5% 86%,99.3% 100%,0.8% 100%,1.8% 82%,0 64%,1.4% 46%,0.2% 28%,1.6% 12%)}
#glp-bookshelf .tape small{font-size:.85rem;color:#5a4a2a;margin-left:10px}
#glp-bookshelf .tape.b{left:auto;right:18px;top:auto;bottom:-13px;transform:rotate(.8deg);font-size:.86rem;padding:4px 14px 3px}
#glp-bookshelf .case{margin-bottom:26px}
#glp-bookshelf .row-shelf{--plank:22px;}
#glp-bookshelf .case.one .row-shelf{--plank:32px}
#glp-bookshelf .row-shelf{display:flex;flex-wrap:wrap;align-items:flex-end;align-content:flex-start;
  background:url(plank-row.png) 0 0/1024px 352px repeat;
  --old-plank:repeating-linear-gradient(180deg,transparent 0 calc(var(--rowh) - var(--plank)),rgba(0,0,0,.55) calc(var(--rowh) - var(--plank)),#8a5c34 calc(var(--rowh) - var(--plank) + 2px),#6e4526 calc(var(--rowh) - 8px),#3e2410 calc(var(--rowh) - 2px),#1e1006 var(--rowh));
  margin-inline:-14px;padding-inline:14px}
#glp-bookshelf .slot{height:var(--rowh);padding-bottom:var(--plank);display:flex;align-items:flex-end;position:relative;margin-right:1px}
#glp-bookshelf .slot .rib{position:absolute;bottom:-4px;width:7px;height:30px;background:linear-gradient(90deg,#8a2014,#b8392a,#8a2014);clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%);z-index:2;box-shadow:0 1px 1px rgba(0,0,0,.4)}
#glp-bookshelf .bookend{height:var(--rowh,352px);padding-bottom:var(--plank);display:flex;align-items:flex-end;margin-left:6px}
#glp-bookshelf .bookend i{display:block;width:12px;height:118px;border-radius:2px 2px 0 0;background:linear-gradient(90deg,#8c6a2a,#e2c26a 40%,#9a7a2a);box-shadow:-3px 0 0 #6a4e1a,2px 2px 4px rgba(0,0,0,.4)}
#glp-bookshelf .stack-case{position:relative;margin:34px 0 10px;padding:22px 0 0 26px}
#glp-bookshelf .stack-case .plank{height:22px;margin-left:-26px;border-radius:1px;background:linear-gradient(180deg,rgba(255,230,190,.18),rgba(0,0,0,.05) 40%,rgba(0,0,0,.45)),url(wood-plank.jpg) 0 0/1024px 180px;box-shadow:0 6px 12px rgba(0,0,0,.3)}
#glp-bookshelf .stack-case .end{position:absolute;left:0;bottom:22px;width:22px;height:170px;border-radius:1px;background:linear-gradient(90deg,rgba(0,0,0,.35),transparent 40%,rgba(0,0,0,.3)),url(wood-side.jpg) 0 0/220px;box-shadow:2px 0 5px rgba(0,0,0,.35)}
#glp-bookshelf .stack-case .tape{left:40px;top:-18px}
#glp-bookshelf .stack{display:flex;flex-direction:column-reverse;align-items:flex-start}
#glp-bookshelf .flatslot{position:relative;max-width:100%}
#glp-bookshelf .flatslot .rib{position:absolute;top:100%;margin-top:-6px;width:9px;height:26px;background:linear-gradient(90deg,#8a2014,#b8392a,#8a2014);clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);z-index:3}
#glp-bookshelf .spine{--gilt:#e0c275;--gilt2:#a8862e;position:relative;display:flex;align-items:center;gap:6px;border:0;margin:0;cursor:pointer;overflow:hidden;
  font-family:"EB Garamond",Georgia,serif;color:var(--sp-ink,#f1e2bd);background:url(leather.jpg) 0 0/220px,var(--sp-bg);background-blend-mode:soft-light;text-align:center;flex:none;
  transition:transform .18s ease,filter .18s ease}
#glp-bookshelf .spine.up{writing-mode:vertical-rl;--dir:180deg;--x:90deg;width:var(--t);height:var(--h);padding:10px 0;border-radius:3px 3px 1px 1px}
#glp-bookshelf .spine.flat{--dir:90deg;--x:0deg;width:var(--len);max-width:100%;height:var(--t);padding:0 12px;border-radius:2px 5px 5px 2px}
#glp-bookshelf .spine::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(var(--x),rgba(0,0,0,.42),rgba(255,255,255,.16) 24%,rgba(255,255,255,.05) 52%,rgba(0,0,0,.14) 80%,rgba(0,0,0,.45))}
#glp-bookshelf .spine:hover{filter:brightness(1.12)}
#glp-bookshelf .spine.up:hover{transform:translateY(-6px)}
#glp-bookshelf .spine.flat:hover{transform:translateX(6px)}
#glp-bookshelf .spine:focus-visible{outline:3px solid var(--gold);outline-offset:1px}
#glp-bookshelf .spine .t{flex:1 1 auto;min-inline-size:0;font-weight:600;font-size:var(--fs,15px);line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sp-title,var(--gilt));letter-spacing:.01em;text-shadow:0 1px 0 rgba(0,0,0,.35)}
#glp-bookshelf .spine .t.two{white-space:normal;text-overflow:clip;line-height:1.02}
#glp-bookshelf .spine .a{flex:none;max-inline-size:36%;font-style:italic;font-size:var(--afs,12px);opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#glp-bookshelf .spine .hd,#glp-bookshelf .spine .tl{flex:none;align-self:stretch;position:relative}
#glp-bookshelf .spine .mono{flex:none;width:1.7em;height:1.7em;border-radius:50%;border:1.5px solid var(--gilt);display:flex;align-items:center;justify-content:center;font-size:calc(var(--fs,15px)*.95);color:var(--gilt);writing-mode:horizontal-tb}
#glp-bookshelf .spine.flat .mono{width:1.6em;height:1.6em}
#glp-bookshelf .s-raised .hd,#glp-bookshelf .s-raised .tl{inline-size:26px;background:repeating-linear-gradient(var(--dir),transparent 0 5px,rgba(0,0,0,.5) 5px 6px,rgba(255,225,150,.45) 6px 7.5px,rgba(0,0,0,.25) 7.5px 8.5px,transparent 8.5px 13px)}
#glp-bookshelf .s-rules .hd,#glp-bookshelf .s-rules .tl{inline-size:18px;background:linear-gradient(var(--dir),transparent 0 3px,var(--gilt) 3px 5px,transparent 5px 8px,var(--gilt) 8px 9px,transparent 9px)}
#glp-bookshelf .s-rules .tl{transform:scale(-1)}
#glp-bookshelf .s-rules .t::before,#glp-bookshelf .s-rules .t::after{content:"◆";font-size:.6em;color:var(--gilt);margin:0 .5em;vertical-align:.2em}
#glp-bookshelf .s-label .t{background:var(--sp-lab,#1c120a);color:var(--gilt);padding:6px 3px;border:1px solid var(--gilt2);box-shadow:inset 0 0 0 2px var(--sp-lab,#1c120a),inset 0 0 0 3px var(--gilt2);flex:0 1 auto;margin:auto 0}
#glp-bookshelf .s-label.flat .t{padding:3px 8px}
#glp-bookshelf .s-label .hd,#glp-bookshelf .s-label .tl{inline-size:12px;background:linear-gradient(var(--dir),transparent 0 4px,var(--gilt2) 4px 5px,transparent 5px)}
#glp-bookshelf .s-fleur .hd::before,#glp-bookshelf .s-fleur .tl::before{content:"❦";color:var(--gilt);font-size:1.05em}
#glp-bookshelf .s-fleur .hd,#glp-bookshelf .s-fleur .tl{inline-size:20px;display:flex;align-items:center;justify-content:center}
#glp-bookshelf .s-fleur .t{font-style:italic;font-weight:500}
#glp-bookshelf .s-key .hd,#glp-bookshelf .s-key .tl{inline-size:14px;background-size:14px 14px;background-repeat:repeat;opacity:.95}
#glp-bookshelf .s-key.up .hd,#glp-bookshelf .s-key.up .tl{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M1 13V1h10v8H5V5h3' fill='none' stroke='%23e0c275' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:repeat-x}
#glp-bookshelf .s-key.flat .hd,#glp-bookshelf .s-key.flat .tl{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M13 1H1v10h8V5H5v3' fill='none' stroke='%23e0c275' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:repeat-y}
#glp-bookshelf .s-stars .hd,#glp-bookshelf .s-stars .tl{inline-size:auto;display:flex;align-items:center;justify-content:center;padding:0 2px}
#glp-bookshelf .s-stars .hd::before{content:"⁂";font-size:.9em;color:var(--gilt)}
#glp-bookshelf .s-stars .tl::before{content:"· · ·";font-size:.8em;color:var(--gilt)}
#glp-bookshelf .s-band{background:linear-gradient(var(--dir),var(--sp-bg2) 0 24%,var(--gilt) 24% calc(24% + 2px),var(--sp-bg) calc(24% + 2px))}
#glp-bookshelf .s-band .hd{inline-size:22%}
#glp-bookshelf .s-band .t{font-weight:500}
#glp-bookshelf .s-cloth{background:repeating-linear-gradient(45deg,rgba(255,255,255,.05) 0 1px,transparent 1px 3px),repeating-linear-gradient(-45deg,rgba(0,0,0,.08) 0 1px,transparent 1px 3px),var(--sp-bg);--sp-title:#f0e3c4}
#glp-bookshelf .s-cloth .t{box-shadow:inset 0 0 0 1px rgba(0,0,0,.35),inset 1px 1px 0 1.5px rgba(255,255,255,.08);padding:8px 2px;flex:0 1 auto;margin:auto 0}
#glp-bookshelf .s-cloth .hd,#glp-bookshelf .s-cloth .tl{inline-size:10px}
#glp-bookshelf .s-mono .hd{inline-size:8px}
#glp-bookshelf .s-linen{background:url(linen.jpg) 0 0/210px,#e6dcc2;background-blend-mode:normal;--sp-title:#3a2c16;color:#4f412a}
#glp-bookshelf .s-linen .t{text-shadow:none;font-weight:500}
#glp-bookshelf .s-linen .hd,#glp-bookshelf .s-linen .tl{inline-size:10px}
#glp-bookshelf .s-linen .a{max-inline-size:52%;font-style:normal;background:#f6f0de;color:#5a4a2a;padding:4px 2px;border:1px solid #cbbd98;opacity:1}
#glp-bookshelf .s-linen.flat .a{padding:1px 8px}
#glp-bookshelf .mast{padding-top:18px}
#glp-bookshelf .crown-h{margin:0}
#glp-bookshelf .crown{display:block;width:100%;max-width:52rem;height:auto;margin:0 auto;border-radius:3px;box-shadow:0 10px 24px rgba(0,0,0,.35)}
#glp-bookshelf .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#glp-bookshelf .case.one{margin-top:14px}
#glp-bookshelf .sec{position:relative;--rowh:352px}
#glp-bookshelf .sec.empty{--rowh:140px}
#glp-bookshelf .sec.empty .row-shelf{height:140px;background:url(plank-row.png) 0 100%/1024px 352px repeat-x;align-items:center}
#glp-bookshelf .shelf-label{position:absolute;z-index:6;left:50%;top:calc(var(--rowh) - 22px + 2px);transform:translateX(-50%);max-width:92%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-family:"Special Elite","Courier New",monospace;font-size:.86rem;line-height:1;color:#2e281c;padding:3px 12px 3px;
  background:linear-gradient(180deg,#f1e8cc,#e2d6b2);box-shadow:0 1px 2px rgba(0,0,0,.5),inset 0 0 0 1px rgba(120,100,60,.25)}
#glp-bookshelf .sec.fav .shelf-label{background:linear-gradient(180deg,#f6e7b6,#e6cf88)}
#glp-bookshelf .empty-fav{align-self:center;margin:0 auto;padding:0 10px 30px;max-width:26rem;text-align:center;color:#d8c9a4;font-style:italic;font-size:1.05rem;line-height:1.4}
#glp-bookshelf .empty-fav b{color:#efdca6;font-style:normal}
#glp-bookshelf .empty-fav.flat{padding:26px 10px 16px}
#glp-bookshelf .searchbar{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 6px}
#glp-bookshelf .searchbar input{flex:1 1 16rem;min-width:0;font:inherit;font-size:1.1rem;color:var(--ink);background:var(--page);border:1.5px solid var(--rule);border-radius:12px;padding:10px 14px;min-height:50px}
#glp-bookshelf .searchbar input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-wash)}
#glp-bookshelf .results{background:var(--page);border:1px solid var(--rule);border-radius:12px;padding:8px;margin:6px 0 12px;display:grid;gap:4px}
#glp-bookshelf .results .res{display:block;text-align:left;border:0;background:transparent;border-radius:8px;padding:8px 10px;cursor:pointer;min-height:48px}
#glp-bookshelf .results .res:hover,#glp-bookshelf .results .res:focus-visible{background:var(--gold-wash)}
#glp-bookshelf .results .res b{display:block;font-size:1.08rem}
#glp-bookshelf .results .res span{color:var(--ink2);font-size:.95rem}
#glp-bookshelf .results .count,#glp-bookshelf .results .none{margin:4px 10px;color:var(--ink3);font-size:.95rem}
#glp-bookshelf #shelves.searching .slot,#glp-bookshelf #shelves.searching .flatslot{opacity:.22;transition:opacity .25s}
#glp-bookshelf #shelves.searching .slot.hit,#glp-bookshelf #shelves.searching .flatslot.hit{opacity:1}
#glp-bookshelf .spine.up .t.hz{writing-mode:horizontal-tb;white-space:normal;word-break:normal;overflow-wrap:normal;text-overflow:clip;hyphens:manual;width:calc(var(--t) - 12px);flex:0 0 auto;margin:10px 0 auto;text-align:center;line-height:1.08;overflow:hidden;hyphens:manual;max-height:4.5em}
#glp-bookshelf .spine.up .a.hz{writing-mode:horizontal-tb;width:calc(var(--t) - 12px);max-inline-size:none;white-space:normal;text-align:center;font-size:12px;line-height:1.15;margin:0 0 6px}
#glp-bookshelf .spine.up .hz ~ .tl{margin-top:0}
#glp-bookshelf .spine .hd.g,#glp-bookshelf .spine .tl.g{flex:none;align-self:stretch;opacity:.95}
#glp-bookshelf .case.one{border:0;border-image:none;padding:26px 16px 0;background:
    linear-gradient(rgba(8,6,4,.64),rgba(8,6,4,.64)),
    linear-gradient(90deg,rgba(0,0,0,.5),transparent 8%,transparent 92%,rgba(0,0,0,.5)),
    url(wood-back.jpg) 0 0/320px 320px,#140e09;
  box-shadow:0 14px 30px rgba(0,0,0,.5);margin-inline:22px}
#glp-bookshelf .case.one .row-shelf{background-image:url(plank-row-ebony.png);margin-inline:-16px;padding-inline:16px}
#glp-bookshelf .case.one .sec.empty .row-shelf{background-image:url(plank-row-ebony.png)}
#glp-bookshelf .case.one .sec + .sec{margin-top:0}
#glp-bookshelf .case.one .sec + .sec::before{content:"";display:block;height:7px;margin:0 -16px;border-radius:4px;
  background:linear-gradient(180deg,#fff0b8 0,#e2bd5c 30%,#a7802a 65%,#5e4410 100%);box-shadow:0 2px 3px rgba(0,0,0,.6)}
#glp-bookshelf .case.one .shelf-label{top:calc(var(--rowh) - 32px + 5px)}
#glp-bookshelf .case.one .sec + .sec .shelf-label{top:calc(7px + var(--rowh) - 32px + 5px)}
#glp-bookshelf .case.one .shelf-label{font-family:"EB Garamond",Georgia,serif;font-size:.9rem;line-height:1.05;font-weight:600;letter-spacing:.01em;color:#1e1a14;
  background:linear-gradient(180deg,#fbfaf6,#e9e5da);border-radius:2px;padding:3px 12px;box-shadow:0 1px 2px rgba(0,0,0,.6)}
#glp-bookshelf .case.one::before,#glp-bookshelf .case.one::after{content:"";position:absolute;top:-4px;bottom:-4px;width:26px;z-index:7;pointer-events:none;
  background:#140e09 url(column.png) center top/26px auto repeat-y;box-shadow:0 0 8px rgba(0,0,0,.6);filter:brightness(.62) saturate(.6) contrast(.95)}
#glp-bookshelf .case.one::before{left:-22px}
#glp-bookshelf .case.one::after{right:-22px}
@media (max-width:520px){#glp-bookshelf .case.one{margin-inline:12px;padding-inline:10px}
#glp-bookshelf .case.one .row-shelf{margin-inline:-10px;padding-inline:10px}
#glp-bookshelf .case.one .sec + .sec::before{margin:0 -10px}
#glp-bookshelf .case.one::before,#glp-bookshelf .case.one::after{width:18px;background-size:18px auto}
#glp-bookshelf .case.one::before{left:-15px}
#glp-bookshelf .case.one::after{right:-15px}
}
#glp-bookshelf .sec.covers{--rowh:276px;--cw:162px}
#glp-bookshelf .case.one .row-shelf.covers{--plank:32px;gap:0 18px;justify-content:center;background-image:none;
  background:repeating-linear-gradient(180deg,transparent 0 calc(var(--rowh) - 32px),rgba(0,0,0,.6) calc(var(--rowh) - 32px),#2e241c calc(var(--rowh) - 31px),#1c150f calc(var(--rowh) - 10px),#0c0806 var(--rowh))}
#glp-bookshelf .cslot{padding-bottom:32px;flex-direction:column;justify-content:flex-end;align-items:center}
#glp-bookshelf .pbar{position:absolute;left:0;right:0;bottom:0;height:6px;background:rgba(10,7,3,.72);z-index:3}
#glp-bookshelf .pbar i{display:block;height:100%;background:linear-gradient(180deg,#f3d98a,#c99d3a 60%,#9a7420)}
#glp-bookshelf .ftitle.st{min-height:0;padding:4px 6px}
#glp-bookshelf .ftitle.st i{margin:0;font-size:.85rem}
#glp-bookshelf .ftitle{display:block;width:var(--cw);min-height:50px;padding:5px 6px 4px;background:linear-gradient(180deg,#fbfaf6,#e9e5da);border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.6);text-align:center;color:#1e1a14;line-height:1.12}
#glp-bookshelf .ftitle b{display:block;font-size:.92rem;font-weight:600}
#glp-bookshelf .ftitle i{display:block;font-style:normal;font-size:.78rem;color:#6a5a3a;margin-top:2px}
#glp-bookshelf .ftitle i.fs-done{color:#8a6a14;font-weight:600}
#glp-bookshelf .face-out{position:relative;display:block;width:var(--cw);height:calc(var(--cw) / .74);padding:0;border:0;cursor:pointer;overflow:hidden;border-radius:2px 5px 5px 2px;
  font-size:calc(var(--cw) / 11);font-family:"EB Garamond",Georgia,serif;box-shadow:inset 6px 0 10px rgba(0,0,0,.35),0 8px 14px rgba(0,0,0,.55);transform:perspective(900px) rotateX(3deg);transform-origin:50% 100%;transition:transform .2s ease}
#glp-bookshelf .face-out:hover{transform:perspective(900px) rotateX(0) translateY(-6px)}
#glp-bookshelf .face-out:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
#glp-bookshelf .face-out.done{box-shadow:inset 6px 0 10px rgba(0,0,0,.35),0 8px 14px rgba(0,0,0,.55),0 0 0 1px rgba(224,194,117,.55)}
#glp-bookshelf .face-out .cover-plate{left:8%;right:8%;padding:4px 5px 3px}
#glp-bookshelf .face-out .cover-plate b{font-size:1.05em}
#glp-bookshelf .belly.hi{bottom:auto;top:10%}
#glp-bookshelf .belly{position:absolute;left:0;right:0;bottom:12%;padding:4px 0;background:linear-gradient(180deg,#f6efd9,#e4d8b6);color:#3a2c14;font-size:max(.8em,12px);font-weight:600;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.45)}
@media (max-width:520px){#glp-bookshelf .sec.covers{--rowh:220px;--cw:124px}
#glp-bookshelf .case.one .row-shelf.covers{gap:0 12px}
}
#glp-bookshelf .pull{position:fixed;inset:0;z-index:30;display:grid;grid-template-columns:1fr;grid-template-rows:68vh auto;background:rgba(12,8,3,.8);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);overflow-y:auto}
#glp-bookshelf .pull[hidden]{display:none!important}
#glp-bookshelf .stage{position:relative;perspective:1600px;min-height:0}
#glp-bookshelf .pull-x{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));right:14px;z-index:35;width:52px;height:52px;border-radius:50%;border:1.5px solid rgba(240,225,190,.55);background:rgba(20,14,6,.55);color:#f3e7c8;font-size:1.5rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
#glp-bookshelf .pull-x:hover{background:rgba(40,28,12,.85);border-color:#e0c275}
#glp-bookshelf .book3d{position:absolute;left:50%;top:50%;transform-style:preserve-3d;will-change:transform}
#glp-bookshelf .face{position:absolute;backface-visibility:hidden;-webkit-backface-visibility:hidden}
#glp-bookshelf .face.front{inset:0;border-radius:2px 6px 6px 2px;overflow:hidden;box-shadow:inset 6px 0 10px rgba(0,0,0,.35)}
#glp-bookshelf .face.pages{background:repeating-linear-gradient(90deg,#f1e8d0 0 1px,#dccfae 1px 2px);border-radius:1px}
#glp-bookshelf .face.top{background:repeating-linear-gradient(0deg,#f1e8d0 0 1px,#dccfae 1px 2px)}
#glp-bookshelf .face.back{inset:0;border-radius:6px 2px 2px 6px}
#glp-bookshelf .face.spinef{overflow:hidden}
#glp-bookshelf .face.spinef .spine{transform-origin:0 0;position:absolute;left:0;top:0;pointer-events:none}
#glp-bookshelf .cover-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#glp-bookshelf .cover-plate{position:absolute;left:10%;right:10%;top:4.5%;padding:6px 10px 5px;background:rgba(246,238,216,.94);color:#24190b;text-align:center;border:1px solid #9a7a20;box-shadow:inset 0 0 0 3px rgba(246,238,216,.94),inset 0 0 0 4px #9a7a20,0 3px 10px rgba(0,0,0,.35)}
#glp-bookshelf .cover-plate.low{top:auto;bottom:4.5%}
#glp-bookshelf .cover-plate b{display:block;font-size:1.2em;font-weight:600;line-height:1.08}
#glp-bookshelf .cover-plate i{display:block;font-size:.8em;color:#5a4a2a;margin-top:1px}
#glp-bookshelf .cover-cloth{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:14%;text-align:center;color:#e8cc80}
#glp-bookshelf .cover-cloth::before{content:"";position:absolute;inset:6%;border:2px solid rgba(224,194,117,.8);box-shadow:inset 0 0 0 4px transparent,inset 0 0 0 5px rgba(224,194,117,.55)}
#glp-bookshelf .cover-cloth .cm{width:2.6em;height:2.6em;border-radius:50%;border:1.5px solid #e0c275;display:flex;align-items:center;justify-content:center;font-size:1.3em}
#glp-bookshelf .cover-cloth b{font-size:1.5em;line-height:1.1;font-weight:600}
#glp-bookshelf .cover-cloth i{font-size:.95em;color:#d9c08a}
#glp-bookshelf .cover-cloth .orn{font-size:1.4em;color:#e0c275;letter-spacing:0}
#glp-bookshelf .cover-linen{color:#3a2c16}
#glp-bookshelf .cover-linen::before{border-color:#b9a77e;box-shadow:none}
#glp-bookshelf .cover-linen .stamp{border:2px solid #9c3a1e;color:#9c3a1e;padding:4px 10px;transform:rotate(-6deg);font-size:.95em;border-radius:3px}
#glp-bookshelf .pinfo{background:var(--page);color:var(--ink);padding:18px 20px calc(22px + env(safe-area-inset-bottom,0px));border-radius:18px 18px 0 0;opacity:0;transition:opacity .35s ease;align-self:end}
#glp-bookshelf .pinfo.on{opacity:1}
#glp-bookshelf .pinfo h3{margin:2px 0 0;font-size:1.6rem;line-height:1.15;font-weight:600;text-wrap:balance}
#glp-bookshelf .pinfo .hook{font-size:1.06rem;margin:8px 0}
@media (min-width:820px){#glp-bookshelf .pull{grid-template-columns:minmax(0,1.25fr) minmax(20rem,1fr);grid-template-rows:1fr}
#glp-bookshelf .pinfo{align-self:center;border-radius:16px;margin-right:32px;max-width:30rem}
}
@media (max-width:520px){#glp-bookshelf .case{margin-inline:0;padding-inline:10px}
#glp-bookshelf .row-shelf{margin-inline:-10px;padding-inline:10px}
#glp-bookshelf .tape{font-size:1.35rem}
}
#glp-bookshelf .spine .t{font-family:var(--ff),"EB Garamond",Georgia,serif;font-weight:var(--fw,600)}
#glp-bookshelf .spine .a{font-family:"EB Garamond",Georgia,serif}
#glp-bookshelf .spine .mono{font-family:"EB Garamond",Georgia,serif}
#glp-bookshelf .spine::before{content:none}
#glp-bookshelf .spine::after{z-index:3;background:linear-gradient(180deg,rgba(242,228,192,var(--fade,0)) 0,transparent 42%),linear-gradient(var(--x),rgba(0,0,0,.42),rgba(255,255,255,.16) 24%,rgba(255,255,255,.05) 52%,rgba(0,0,0,.14) 80%,rgba(0,0,0,.45))}
#glp-bookshelf .spine .t,#glp-bookshelf .spine .a,#glp-bookshelf .spine .mono,#glp-bookshelf .spine .seal{position:relative;z-index:4}
#glp-bookshelf .spine.done{box-shadow:none}
#glp-bookshelf .spine.done::before{content:none}
#glp-bookshelf .spine.done:not(.s-label) .t{background:linear-gradient(180deg,#fbe9ad,#eccb6a 45%,#d4a846 70%,#f2d68a);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 1px 0 rgba(0,0,0,.7)) drop-shadow(0 0 1px rgba(0,0,0,.5))}
#glp-bookshelf .spine .seal{display:none;flex:none;width:1.45em;height:1.45em;border-radius:50%;font-size:calc(var(--fs,15px)*.78);display:flex;align-items:center;justify-content:center;writing-mode:horizontal-tb;color:#5a3c08;
  background:radial-gradient(circle at 35% 30%,#fff3c0,#e0b64c 50%,#8a6418);box-shadow:0 1px 2px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,240,190,.6)}
#glp-bookshelf .spine .sheen{position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(120deg,transparent 35%,rgba(255,244,210,.45) 48%,transparent 60%);background-size:260% 260%;background-position:130% 0;transition:background-position 1.1s ease}
#glp-bookshelf .spine.done:hover .sheen,#glp-bookshelf .spine.done:focus-visible .sheen{background-position:-30% 0}
#glp-bookshelf .spine .unbound{position:absolute;z-index:1;pointer-events:none;
  background:url(linen.jpg) 0 0/210px,#e8dec4}
#glp-bookshelf .spine.up .unbound{left:0;right:0;top:0;height:calc(100% - var(--p));box-shadow:0 2px 0 rgba(0,0,0,.28),0 4px 4px -1px rgba(0,0,0,.3)}
#glp-bookshelf .spine.flat .unbound{top:0;bottom:0;right:0;width:calc(100% - var(--p));box-shadow:-2px 0 0 rgba(0,0,0,.28),-4px 0 4px -1px rgba(0,0,0,.3)}
#glp-bookshelf .spine.part .t{background:var(--sp-lab);color:#e8cb7c;padding:7px 2px;border:1px solid #a8862e;box-shadow:inset 0 0 0 2px var(--sp-lab),inset 0 0 0 3px #a8862e;flex:0 1 auto;margin:auto 0;-webkit-text-fill-color:#e8cb7c}
#glp-bookshelf .spine.part.flat .t{padding:3px 9px}
#glp-bookshelf .spine.part .a{background:#f6f0de;color:#4f412a;padding:4px 2px;border:1px solid #cbbd98;opacity:1;font-style:normal}
#glp-bookshelf .spine.part.flat .a{padding:1px 8px}
#glp-bookshelf .slot.lean{margin-left:10px}
#glp-bookshelf .slot.lean .spine{transform-origin:100% 100%;transform:rotate(5deg)}
#glp-bookshelf .slot.lean .spine.up:hover{transform:rotate(5deg) translateY(-5px)}
#glp-bookshelf .cardslot{margin:0 4px}
#glp-bookshelf .note{width:88px;padding:10px 8px 12px;margin-bottom:2px;background:#fbf6e6;color:#2d2210;font-family:"Caveat",cursive,serif;font-weight:600;font-size:1.12rem;line-height:1.08;text-align:left;
  box-shadow:0 2px 4px rgba(0,0,0,.4);background-image:linear-gradient(180deg,transparent 0 22px,rgba(190,70,60,.55) 22px 23px,transparent 23px),repeating-linear-gradient(180deg,transparent 0 17px,rgba(90,120,170,.25) 17px 18px);background-position:0 0,0 6px}
#glp-bookshelf .state-key{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:12px 0 4px;background:var(--page);border:1px solid var(--rule);border-radius:14px;padding:14px}
#glp-bookshelf .state-key .k{display:flex;gap:12px;align-items:flex-end}
#glp-bookshelf .state-key .kbook{flex:none;height:250px;display:flex;align-items:flex-end}
#glp-bookshelf .state-key b{display:block;font-size:1.1rem}
#glp-bookshelf .state-key span{display:block;color:var(--ink2);font-size:.95rem;line-height:1.3}
@media (max-width:640px){#glp-bookshelf .state-key{grid-template-columns:1fr;gap:10px}
}
#glp-bookshelf .face.pages.gilt{background:linear-gradient(90deg,#b8902c,#f2d98a 50%,#b8902c)}
#glp-bookshelf .face.top.gilt{background:linear-gradient(0deg,#b8902c,#f2d98a 50%,#b8902c)}
#glp-bookshelf .cover-gilt{position:absolute;inset:4%;border:2px solid rgba(240,210,120,.9);box-shadow:inset 0 0 0 4px transparent,inset 0 0 0 5px rgba(240,210,120,.6);pointer-events:none}
#glp-bookshelf .cover-plate.gold{background:linear-gradient(180deg,#2a1a08,#1a1006);color:#f0d98a;border-color:#e0c275;box-shadow:inset 0 0 0 3px #1a1006,inset 0 0 0 4px #c99d3a,0 3px 12px rgba(0,0,0,.5)}
#glp-bookshelf .cover-plate.gold i{color:#d9c08a}
#glp-bookshelf .cover-cloth.gold{background:radial-gradient(ellipse at 50% 40%,rgba(255,230,160,.12),transparent 60%)}
#glp-bookshelf .cover-done{display:none;position:absolute;left:50%;bottom:5%;transform:translateX(-50%);white-space:nowrap;padding:4px 14px;border-radius:999px;font-size:.85em;font-weight:600;color:#3a2606;background:linear-gradient(180deg,#fff0b8,#e0b64c 55%,#b8902c);box-shadow:0 2px 6px rgba(0,0,0,.45)}
#glp-bookshelf .state{display:flex;gap:10px;align-items:center;margin:10px 0;padding:10px 12px;border-radius:12px;font-size:1rem;flex-wrap:wrap}
#glp-bookshelf .state.done{background:linear-gradient(90deg,rgba(224,182,76,.22),rgba(224,182,76,.06));border:1.5px solid #c99d3a}
#glp-bookshelf .state.part{background:var(--sunk);border:1px solid var(--rule)}
#glp-bookshelf .state.stub{background:var(--sunk);border:1px dashed var(--rule)}
#glp-bookshelf .seal-big{display:none;flex:none;width:34px;height:34px;border-radius:50%;align-items:center;justify-content:center;color:#5a3c08;font-size:1.1rem;background:radial-gradient(circle at 35% 30%,#fff3c0,#e0b64c 50%,#8a6418);box-shadow:0 1px 3px rgba(0,0,0,.4)}
#glp-bookshelf .nbrs{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#glp-bookshelf .nbrs span{color:var(--ink3);font-size:.95rem;width:100%}
#glp-bookshelf .pinfo .orig{font-size:1.2rem}
#glp-bookshelf .il-open{margin:12px 0;padding:12px 14px 10px;background:var(--sunk);border-radius:12px;border:1px solid var(--rule)}
#glp-bookshelf .il-head{color:var(--ink3);font-size:.9rem;margin-bottom:6px}
#glp-bookshelf .il{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-start}
#glp-bookshelf .il .w{display:inline-flex;flex-direction:column;align-items:center;text-align:center;max-width:9.5rem}
#glp-bookshelf .il .o{font-size:1.4rem;line-height:1.2;color:var(--ink)}
#glp-bookshelf .il .g{font-size:.95rem;line-height:1.2;color:var(--gold-ink);font-weight:600;margin-top:2px}
#glp-bookshelf .il-go{display:inline-block;margin-top:10px;font-weight:600;color:var(--gold-ink)}
#glp-bookshelf .badge-done{display:inline-block;padding:1px 10px;border:1.5px solid #b8902c;border-radius:4px;font-weight:600;font-size:.95rem;color:var(--gold-ink)}
#glp-bookshelf .cov .booksel{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}
#glp-bookshelf .big{font-size:clamp(1.6rem,5vw,2.3rem);line-height:1.15;font-weight:600;margin:6px 0;text-wrap:balance}
#glp-bookshelf .big em{color:var(--gold-ink);font-style:normal}
#glp-bookshelf .chart{background:var(--page);border:1px solid var(--rule);border-radius:14px;padding:12px 10px 6px;margin:14px 0}
#glp-bookshelf .chart svg{display:block;width:100%;max-width:38rem;height:auto;margin:0 auto}
#glp-bookshelf .slider{display:flex;flex-direction:column;gap:6px;margin:14px 0}
#glp-bookshelf .slider label{font-size:1.1rem}
#glp-bookshelf .slider output{font-weight:600;color:var(--gold-ink)}
#glp-bookshelf input[type=range]{width:100%;accent-color:var(--gold);height:36px}
#glp-bookshelf .words-wrap{overflow-x:auto;border:1px solid var(--rule);border-radius:12px;background:var(--page)}
#glp-bookshelf table.words{border-collapse:collapse;width:100%;font-size:1.02rem}
#glp-bookshelf table.words th{text-align:left;font-weight:600;color:var(--ink2);padding:8px 10px;border-bottom:1px solid var(--rule);font-size:.95rem;position:sticky;top:0;background:var(--page)}
#glp-bookshelf table.words td{padding:7px 10px;border-bottom:1px solid var(--rule2);vertical-align:top}
#glp-bookshelf table.words td.w{font-size:1.2rem;white-space:nowrap}
#glp-bookshelf table.words td.n{text-align:right;font-variant-numeric:tabular-nums;color:var(--ink3)}
#glp-bookshelf .wscroll{max-height:26rem;overflow-y:auto}
#glp-bookshelf .card-demo{display:flex;gap:14px;flex-wrap:wrap;margin:14px 0}
#glp-bookshelf .fcard{width:13rem;height:8.4rem;border-radius:12px;border:1.5px solid var(--rule);background:var(--page);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 3px 10px var(--shadow);cursor:pointer;padding:10px;text-align:center}
#glp-bookshelf .fcard .fw{font-size:1.9rem;line-height:1.1}
#glp-bookshelf .fcard .fb{font-size:1.05rem;color:var(--ink2)}
#glp-bookshelf textarea{width:100%;min-height:8rem;font-family:ui-monospace,Menlo,monospace;font-size:.85rem;background:var(--sunk);color:var(--ink);border:1px solid var(--rule);border-radius:10px;padding:10px}
#glp-bookshelf footer{margin-top:3rem;padding-top:16px;border-top:1px solid var(--rule);color:var(--ink3);font-size:.9rem}
#glp-bookshelf footer p{margin:0 0 8px}
@media (min-width:700px){#glp-bookshelf .controls{position:sticky;top:env(safe-area-inset-top,0px);z-index:20}
}
#glp-bookshelf #shelves,#glp-bookshelf .case,#glp-bookshelf .stack-case,#glp-bookshelf .state-key{position:relative;isolation:isolate;z-index:0}
@media (max-width:520px){#glp-bookshelf .spine .sa{display:none}
#glp-bookshelf .spine.stub .sa{display:block;font-size:.8rem}
#glp-bookshelf .objgrid{grid-template-columns:1fr 1fr;gap:16px 10px}
#glp-bookshelf .era h2,#glp-bookshelf .era .span,#glp-bookshelf .era .tally{padding-left:40px}
#glp-bookshelf .stream{padding-left:40px}
#glp-bookshelf .stream::before{left:10px;width:9px}
#glp-bookshelf .item .dot{left:-37px}
#glp-bookshelf .mini{width:44px;height:60px;font-size:1.3rem}
#glp-bookshelf .ttl{font-size:1.24rem}
#glp-bookshelf .amounts{grid-template-columns:1fr 1fr}
}

/* the bookshelf replaces the classic grid and the favorites book grid (My shelf holds them now) */
#shelf-sections{display:none!important}
#fav-books-grid{display:none!important}
#glp-bookshelf{font-family:"EB Garamond",Georgia,"Times New Roman",serif;font-size:19px;line-height:1.5;color:var(--ink);max-width:52rem;margin:0 auto;padding:0 16px 3rem}
#glp-bookshelf .crown{display:block;width:100%;height:auto;margin:10px auto 0;border-radius:3px;box-shadow:0 10px 24px rgba(0,0,0,.35)}
#glp-bookshelf .controls{background:transparent}

/* the whole front page takes the bookshelf's look (Eric, 2026-09-30: one title, the new look, old features kept) */
body.glp-shelf{--bg:#14100a;--page-bg:#1e1810;--page-shadow:rgba(0,0,0,.5);--border:#3a2e1a;--border-light:#2a2418;--text:#e8dfc8;--text2:#c4b48c;--text3:#9a8a66;--accent:#e0864e;--gold:#d3ad45;--gold-light:rgba(211,173,69,.14);
  background:#14100a!important;background-image:none!important;color:#e8dfc8}
body.glp-shelf #glp-masthead,body.glp-shelf .lib-header .ornament,body.glp-shelf .lib-header .subtitle,body.glp-shelf .lib-rule,body.glp-shelf .a11y-night{display:none!important}
body.glp-shelf .lib-header{max-width:52rem;padding-top:6px}
body.glp-shelf .glp-crown-top{display:block;width:100%;height:auto;margin:6px auto 12px;border-radius:3px;box-shadow:0 10px 24px rgba(0,0,0,.45)}
body.glp-shelf .lib-header .benefit{font-family:"EB Garamond",Georgia,serif;font-size:1.15rem;color:#d8c9a4;font-style:italic}
body.glp-shelf .lib-search-input{background:#1e1810;color:#efe6cf;border-color:#4a3b24}
body.glp-shelf .lib-search-results{background:#1e1810;color:#efe6cf;border-color:#4a3b24}
body.glp-shelf .study-link{color:#e2c064;border-color:#8a6d20}
body.glp-shelf .section-label{color:#e2c064}
body.glp-shelf #glp-bookshelf > .crown{display:none}

/* the pulled-out book sits above the site's sticky menu, so its ✕ is never covered */
#glp-bookshelf .pull{z-index:2147483000}
#glp-bookshelf .pull-x{z-index:2147483001;top:calc(14px + env(safe-area-inset-top,0px))}

/* the old continue-reading row is replaced by the Continue reading shelf */
#continue-section{display:none!important}
#glp-bookshelf .cont-case{margin-bottom:22px}
#glp-bookshelf .cont-case .sec.covers{--rowh:300px}
#glp-bookshelf .cont-case .cslot{gap:8px}
@media (max-width:520px){ #glp-bookshelf .cont-case .sec.covers{--rowh:246px} }

/* home page: reading size lives in the books, not on the shelf (Eric, 2026-09-30) */
body.glp-shelf .a11y-btns,body.glp-shelf .a11y-label{display:none!important}

/* My Favorites in the new look; the passage list obeys its toggle (it was always open: display:flex beat [hidden]) */
#fav-pass-list[hidden]{display:none!important}
body.glp-shelf #favorites-section{max-width:52rem;margin:0 auto 14px;padding:0 16px}
body.glp-shelf .fav-tools{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0}
body.glp-shelf .fav-tool-btn{font-family:"EB Garamond",Georgia,serif;font-size:1.02rem;color:#e2c064;background:transparent;border:1.5px solid #8a6d20;border-radius:10px;padding:8px 14px;min-height:44px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center}
body.glp-shelf .fav-tool-btn:hover{background:rgba(211,173,69,.14)}
body.glp-shelf .fav-pass-list{gap:8px;flex-wrap:wrap;margin:6px 0 4px}
body.glp-shelf .fav-pass{display:inline-flex;align-items:center;gap:10px;background:#1e1810;border:1px solid #4a3b24;color:#efe6cf;border-radius:10px;padding:8px 12px;text-decoration:none;font-family:"EB Garamond",Georgia,serif;font-size:1rem}
body.glp-shelf .fav-pass:hover{border-color:#d3ad45}
body.glp-shelf .fav-pass-book{font-weight:600}
body.glp-shelf .fav-pass-id{color:#c4b48c}
body.glp-shelf .fav-pass .fav-star{color:#e2c064;background:transparent;border:0;font-size:1.1rem;cursor:pointer;position:static}

/* compact front door (Eric 2026-10-01): the shelf, not the furniture above it, gets the screen */
body.glp-shelf .glp-crown-top{height:clamp(64px,13vw,128px);object-fit:cover;object-position:50% 50%;margin:4px auto 6px}
body.glp-shelf .lib-header{padding:4px 16px 0}
body.glp-shelf .lib-header .benefit{font-size:1rem;margin:0 0 8px}
body.glp-shelf .a11y-bar,body.glp-shelf .glp-a11y,body.glp-shelf .a11y-wrap{display:none!important}
body.glp-shelf .glp-toprow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;max-width:52rem;margin:0 auto 6px}
body.glp-shelf .glp-toprow .lib-search{flex:1 1 260px;margin:0;min-width:0}
body.glp-shelf .glp-toprow .lib-search-input{min-height:44px;padding:8px 16px;font-size:1rem}
body.glp-shelf .glp-toprow .study-link{margin:0;padding:8px 14px;min-height:44px;display:inline-flex;align-items:center}
body.glp-shelf .glp-toprow #glp-lang-mount{margin:0}
body.glp-shelf .glp-toprow #favorites-section{margin:0;padding:0;max-width:none}
body.glp-shelf .glp-toprow #favorites-section[style*="block"]{display:contents!important}
body.glp-shelf .glp-toprow #favorites-section .section-label,body.glp-shelf .glp-toprow #fav-books-grid{display:none!important}
body.glp-shelf .glp-toprow #fav-passages{display:contents}
body.glp-shelf .glp-toprow .fav-tools{display:contents}
body.glp-shelf .glp-toprow .fav-tool-btn{min-height:44px;padding:6px 12px;font-size:.98rem}
body.glp-shelf .glp-toprow .fav-pass-list{flex-basis:100%;order:9}
#glp-bookshelf .state-key{display:flex!important;flex-wrap:wrap;gap:6px 18px;align-items:center;padding:8px 12px;margin:6px 0;font-size:.95rem}
#glp-bookshelf .k2{display:inline-flex;align-items:center;gap:7px;color:var(--ink2)}
#glp-bookshelf .k2.note{color:var(--ink3)}
#glp-bookshelf .sw2{display:inline-block;width:12px;height:26px;border-radius:2px 2px 1px 1px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.3)}
#glp-bookshelf .sw2.done{background:linear-gradient(180deg,transparent 0 3px,#e0c275 3px 4px,transparent 4px calc(100% - 4px),#e0c275 calc(100% - 4px) calc(100% - 3px),transparent calc(100% - 3px)),#1f3f6e}
#glp-bookshelf .sw2.part{background:linear-gradient(0deg,#1f3f6e 0 45%,#e8dec4 45%)}
#glp-bookshelf .sw2.stub{background:#e6dcc2}
#glp-bookshelf .controls{gap:6px 8px;padding:6px 0}
#glp-bookshelf .seg button,#glp-bookshelf .controls .btn-line{min-height:38px;padding:5px 11px;font-size:.92rem}
/* the bookcase runs wall to wall; on a wide browser each shelf simply holds more books */
#glp-bookshelf{max-width:none!important;padding-inline:max(16px,calc((100vw - 1500px)/2))}
#glp-bookshelf .controls,#glp-bookshelf .state-key,#glp-bookshelf .shelf-legend{max-width:60rem;margin-inline:auto}
#glp-bookshelf .controls{justify-content:center}
#glp-bookshelf #shelves.up .case.one,#glp-bookshelf #shelves.cover .case.one{margin-inline:22px}
@media (min-width:1600px){ #glp-bookshelf{padding-inline:40px} }

#glp-bookshelf .state-key span.k2{display:inline-flex!important;font-size:.92rem;line-height:1.3;margin:0}
#glp-bookshelf .state-key{min-height:0!important;height:auto!important;grid-template-columns:none!important}
body.glp-shelf .glp-crown-top{height:clamp(56px,9vw,104px)}
body.glp-shelf .glp-toprow .lib-search{flex:1 1 220px}
body.glp-shelf .glp-toprow .study-link,body.glp-shelf .glp-toprow .fav-tool-btn{white-space:nowrap}
#glp-bookshelf .shelf-legend{font-size:.85rem;gap:4px 12px;margin:4px auto 8px}

#glp-bookshelf .keyline{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;align-items:center;max-width:60rem;margin:4px auto 2px;font-size:.92rem}
#glp-bookshelf .keyline .k2{display:inline-flex;align-items:center;gap:7px;color:var(--ink2);background:none;padding:0;border:0;width:auto}
body.glp-shelf .glp-toprow .lib-search{flex:1 1 160px}

/* pinned filters */
#glp-bookshelf .controls{position:sticky!important;top:var(--navh,0px)!important;z-index:60!important;background:rgba(20,16,10,.95)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-bottom:1px solid #3a2e1a;padding:6px 10px!important;border-radius:0 0 10px 10px}
@media (max-width:700px){ #glp-bookshelf .controls{flex-wrap:nowrap!important;overflow-x:auto;-webkit-overflow-scrolling:touch;justify-content:flex-start} #glp-bookshelf .controls .seg{flex-wrap:nowrap!important;flex:none} #glp-bookshelf .controls>*{flex:none} }

/* the crown: whole, never cropped, and the carved board runs wall to wall (its own moulding, tiled outward) */
body.glp-shelf .glp-crown-band{display:flex;justify-content:center;width:100%;margin:2px 0 8px;background:url(crown-edge.jpg) 0 0/auto 100% repeat-x;box-shadow:0 10px 24px rgba(0,0,0,.45);height:clamp(96px,15vw,200px)}
body.glp-shelf .glp-crown-band .glp-crown-top{height:100%!important;width:auto!important;max-width:none;object-fit:contain!important;margin:0!important;border-radius:0;box-shadow:none}
body.glp-shelf .glp-crown-band .glp-crown-top{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%)}
/* tapes ride the section's own bottom board, however many rows the section wraps to */
#glp-bookshelf .case.one .shelf-label,#glp-bookshelf .case.one .sec + .sec .shelf-label{top:auto;bottom:5px}
/* front door: no saved words / saved passages buttons (books you keep are on My shelf; words live in Flashcards) */
body.glp-shelf #favorites-section,body.glp-shelf .glp-toprow #favorites-section[style*="block"]{display:none!important}

/* flashcards live behind the Flashcards menu link only, never on the front door */
body.glp-shelf .study-link{display:none!important}
/* columns climb to the title board */
#glp-bookshelf .case.one::before,#glp-bookshelf .case.one::after{top:calc(-4px - var(--rise,0px))}
#glp-bookshelf .keyline,#glp-bookshelf .legend,#glp-bookshelf .lang-key{padding-inline:30px}
@media (max-width:520px){#glp-bookshelf .keyline,#glp-bookshelf .legend,#glp-bookshelf .lang-key{padding-inline:20px}}
/* one carved header: the menu rail and the title board share a seamless ebony frieze (ChatGPT strip, looped) */
body.glp-shelf .glp-crown-band{background:url(frieze.jpg) center top/auto 100% repeat-x;margin:0 0 8px}
body.glp-shelf .glp-crown-band .glp-crown-top{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%)}
body.glp-shelf .glp-nav{background:#140c07 url(frieze.jpg) center top/auto 100% repeat-x!important;border:0!important;box-shadow:0 1px 0 rgba(0,0,0,.6)}
body.glp-shelf .glp-nav a{color:#ecd9a6;text-shadow:0 1px 2px rgba(0,0,0,.8)}
body.glp-shelf .glp-nav a.current{color:#f3d77e;border-color:#c9a54a;background:rgba(0,0,0,.28)}
body.glp-shelf .glp-nav-rule{display:none}
body.glp-shelf .glp-crown-band .glp-crown-top{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 2%,#000 98%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 2%,#000 98%,transparent 100%)}
#glp-bookshelf .shelf-legend{padding-inline:30px}
@media (max-width:520px){#glp-bookshelf .shelf-legend{padding-inline:20px}}
body.glp-shelf .glp-nav{max-width:none!important;width:100%;margin-inline:0!important}
@media (max-width:520px){
  body.glp-shelf #glp-bookshelf{padding-inline:4px!important}
  body.glp-shelf .lib-header{padding-inline:24px!important}
  #glp-bookshelf .keyline,#glp-bookshelf .controls{margin-inline:20px}
  #glp-bookshelf .shelf-legend{padding-inline:24px}
}
@media (max-width:520px){
  #glp-bookshelf #shelves.up .case.one,#glp-bookshelf #shelves.cover .case.one{margin-inline:16px}
  body.glp-shelf .lib-header{padding-inline:28px!important}
  #glp-bookshelf .keyline,#glp-bookshelf .controls{margin-inline:24px}
  #glp-bookshelf .shelf-legend{padding-inline:28px}
}

/* interlinear, said plainly and shown */
body.glp-shelf .lib-header .subtitle,body.glp-shelf .lib-header .benefit,body.glp-shelf .lib-header .glossed{display:none!important}
body.glp-shelf .glp-il-hero{text-align:center;margin:2px auto 12px;max-width:46rem}
body.glp-shelf .glp-il-hero .il-head{font-family:"EB Garamond",Georgia,serif;font-size:clamp(1.7rem,4.2vw,2.3rem);font-weight:600;line-height:1.1;color:#f0d68c;letter-spacing:.01em;text-shadow:0 1px 2px rgba(0,0,0,.7)}
body.glp-shelf .glp-il-hero .il-sub{font-family:"EB Garamond",Georgia,serif;font-size:1.15rem;color:#e6d6b0;margin:2px 0 8px}
body.glp-shelf .glp-il-hero .il-demo{display:inline-flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;padding:8px 16px 6px;border:1px solid rgba(201,165,74,.45);border-radius:8px;background:rgba(255,240,200,.04)}
body.glp-shelf .glp-il-hero .il-demo:hover{border-color:#c9a54a;background:rgba(255,240,200,.08)}
body.glp-shelf .glp-il-hero .il-words{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px}
body.glp-shelf .glp-il-hero .w{display:inline-flex;flex-direction:column;align-items:center;line-height:1.2}
body.glp-shelf .glp-il-hero .o{font-family:"EB Garamond","Noto Serif",Georgia,serif;font-size:1.45rem;color:#fbf3dc}
body.glp-shelf .glp-il-hero .g{font-family:"EB Garamond",Georgia,serif;font-size:1rem;font-style:italic;color:#d9b25a}
body.glp-shelf .glp-il-hero .il-src{font-size:.85rem;color:#a99671;margin-top:2px}
@media (max-width:520px){body.glp-shelf .glp-il-hero .o{font-size:1.25rem} body.glp-shelf .glp-il-hero .g{font-size:.95rem} body.glp-shelf .glp-il-hero .il-words{gap:4px 12px}}

/* full author on every binding: let it wrap rather than be cut */
#glp-bookshelf .spine .a{max-inline-size:none;text-overflow:clip}
#glp-bookshelf .spine .a.wrap{white-space:normal;line-height:1.02;max-inline-size:48%}
#glp-bookshelf .spine .t{text-overflow:clip}
/* on their side: books keep their real length; on a wide frame the stacks stand side by side */
#glp-bookshelf #shelves.flat{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,600px),1fr));gap:0 34px;align-items:end}
#glp-bookshelf .flatslot{max-width:100%}

/* an editor's insertion: a paper tape reading "interlinear" stuck between Great and Library */
body.glp-shelf .glp-crown-wrap{position:relative;display:block;height:100%}
body.glp-shelf .glp-crown-tape{position:absolute;left:41.3%;top:19%;transform:translateX(-50%) rotate(-4deg);z-index:2;
  font-family:"EB Garamond",Georgia,serif;font-style:italic;font-weight:600;font-size:clamp(11px,1.65vw,20px);line-height:1;color:#2a2117;
  padding:.28em .7em .32em;background:linear-gradient(180deg,#fbf8ef,#ebe4d2);border-radius:1px;
  box-shadow:0 2px 4px rgba(0,0,0,.55),inset 0 0 0 1px rgba(0,0,0,.06);white-space:nowrap;pointer-events:none}
body.glp-shelf .glp-crown-tape::before{content:"";position:absolute;left:50%;bottom:-.55em;width:0;height:0;transform:translateX(-50%);
  border-left:.4em solid transparent;border-right:.4em solid transparent;border-top:.55em solid #ebe4d2;filter:drop-shadow(0 2px 1px rgba(0,0,0,.4))}
body.glp-shelf .glp-crown-tape{font-size:clamp(12px,1.95vw,23px);top:16%}

#glp-bookshelf .spine .a,#glp-bookshelf .spine.s-linen .a{max-inline-size:none;overflow:visible;text-overflow:clip}
#glp-bookshelf .spine .a.wrap,#glp-bookshelf .spine.s-linen .a.wrap{white-space:normal;max-inline-size:50%;line-height:1.05;text-align:center}

/* support the press: next to the sample, impossible to miss */
body.glp-shelf .glp-il-hero .il-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px 14px}
body.glp-shelf .glp-il-hero .il-support{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;text-decoration:none;
  padding:10px 20px;border-radius:8px;border:1px solid #d9b25a;background:linear-gradient(180deg,#8a3a1c,#5e2410);box-shadow:0 2px 8px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,220,170,.25);
  font-family:"EB Garamond",Georgia,serif;font-size:1.3rem;font-weight:600;color:#fbe9b8;line-height:1.1}
body.glp-shelf .glp-il-hero .il-support small{font-size:.92rem;font-weight:500;font-style:italic;color:#f0d8a8}
body.glp-shelf .glp-il-hero .il-support:hover{background:linear-gradient(180deg,#9a4422,#6a2a14)}
#glp-bookshelf #shelves.flat{grid-template-columns:repeat(auto-fill,minmax(min(100%,450px),1fr))}

/* why read it: the first thing under the title when a book comes down */
#glp-bookshelf .pinfo .why{font-family:"EB Garamond",Georgia,serif;font-size:1.12rem;line-height:1.45;color:#f3e6c4;margin:10px 0 12px;padding-left:12px;border-left:2px solid #c9a54a}
#glp-bookshelf .face,#glp-bookshelf .face.front.done,#glp-bookshelf .face.front.part,#glp-bookshelf .face.front.stub{margin:0;padding:0;border-radius:2px 6px 6px 2px}

body.glp-shelf .glp-il-hero .il-support{max-width:270px;text-align:center}
body.glp-shelf .glp-il-hero .il-support small{line-height:1.25;margin-top:2px}

/* stacks of lying books, shelf-high, side by side */
#glp-bookshelf #shelves.flat{display:block}
#glp-bookshelf .stacks{display:flex;align-items:flex-end;gap:0 28px}
#glp-bookshelf .stacks .stack{flex:none;max-width:100%}
#glp-bookshelf .stack-case.more{margin-top:14px}

body.glp-shelf .glp-il-hero .il-give{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:290px}
body.glp-shelf .glp-il-hero .il-give .il-support{width:100%;max-width:none}
body.glp-shelf .glp-il-hero .il-request{font-family:"EB Garamond",Georgia,serif;font-size:.98rem;line-height:1.3;color:#e2c46e;text-align:center;text-decoration:underline;text-decoration-color:rgba(226,196,110,.45);text-underline-offset:3px}
body.glp-shelf .glp-il-hero .il-request:hover{color:#f5dc8e;text-decoration-color:#f5dc8e}

/* share a whole shelf: a small paper tab on the board, beside the shelf's tape */
#glp-bookshelf .shelf-share{position:absolute;z-index:6;right:22px;bottom:5px;display:inline-flex;align-items:center;gap:5px;cursor:pointer;
  font-family:"EB Garamond",Georgia,serif;font-size:.85rem;line-height:1;color:#2a2117;padding:4px 9px;border:0;border-radius:1px;
  background:linear-gradient(180deg,#fbf8ef,#e6dfcc);box-shadow:0 1px 2px rgba(0,0,0,.6)}
#glp-bookshelf .shelf-share:hover{background:#fff8e2}
#glp-bookshelf .stack-case .shelf-share{bottom:auto;top:-14px;right:8px}
#glp-bookshelf .sec.covers .shelf-share{bottom:5px}
@media (max-width:520px){#glp-bookshelf .shelf-share{right:10px;font-size:.78rem;padding:3px 7px}}
/* a shared shelf: say which one, and the way back to everything */
#glp-bookshelf .shelf-focus{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 14px;margin:6px auto 14px;padding:10px 16px;max-width:46rem;
  border:1px solid rgba(201,165,74,.5);border-radius:8px;background:rgba(255,240,200,.05);font-family:"EB Garamond",Georgia,serif;font-size:1.1rem;color:#efe3c4;text-align:center}
#glp-bookshelf .shelf-focus b{color:#f0d68c}
#glp-bookshelf .shelf-focus .sf-all{font:inherit;font-size:1rem;color:#2a1a08;background:#e2c46e;border:0;border-radius:6px;padding:6px 12px;cursor:pointer}
/* a focused shelf (?shelf=key): the banner takes its own row, so the bookcase keeps full width and its columns stay at the edges */
#glp-bookshelf #shelves:has(> .shelf-focus){flex-wrap:wrap}
#glp-bookshelf #shelves > .shelf-focus{flex:0 0 100%;max-width:none;box-sizing:border-box;margin-inline:0}
#glp-bookshelf #shelves > .shelf-focus ~ .case{flex:1 1 100%}

/* Ethiopian bindings (2026-10-09): Ge'ez books are bound like Ethiopian manuscripts, in tooled reddish-brown goatskin
   (the same leather as the readers' background) with braided headbands in place of gilt; the lettering stays gilt. */
#glp-bookshelf .spine.s-ethio{background:url(../art/geez-leather.jpg) center/170px auto,var(--sp-bg);box-shadow:inset 0 0 0 1px rgba(20,8,2,.55),inset 3px 0 6px rgba(0,0,0,.35),inset -3px 0 6px rgba(0,0,0,.35)}
#glp-bookshelf .spine.s-ethio.up .hd,#glp-bookshelf .spine.s-ethio.up .tl{inline-size:13px !important;background:url(../art/geez-braid-h.jpg) center/auto 100% repeat-x !important;box-shadow:0 0 0 1px rgba(20,8,2,.6);opacity:1}
#glp-bookshelf .spine.s-ethio.flat .hd,#glp-bookshelf .spine.s-ethio.flat .tl{inline-size:13px !important;background:url(../art/geez-braid.jpg) center/100% auto repeat-y !important;box-shadow:0 0 0 1px rgba(20,8,2,.6);opacity:1}
#glp-bookshelf .spine.s-ethio .hd,#glp-bookshelf .spine.s-ethio .tl{z-index:5}   /* the braided headbands show above the unbound linen too */
/* the original-script title on the spine (Ethiopian books first): horizontal, gilt, one word per line */
#glp-bookshelf .spine .o{writing-mode:horizontal-tb;flex:none;align-self:center;margin:8px 0 4px;font-family:'Noto Serif Ethiopic','Abyssinica SIL',Kefa,Nyala,serif;font-weight:600;font-size:13.5px;line-height:1.25;text-align:center;color:#f0d68e;text-shadow:0 1px 1px rgba(0,0,0,.75);position:relative;z-index:5;background:rgba(40,14,6,.78);padding:4px 5px;border-radius:2px;box-shadow:0 0 0 1px rgba(240,214,142,.55)}
#glp-bookshelf .spine.flat .o{margin:0 6px;align-self:center}
