/* Riley Locke 5.0.0 — Archive shell and palette system */
:root{--rl-archive-rail:76px;--rl-archive-top:72px}
body.rl-archive-shell{
  --rlx-bg:#07101a;--rlx-bg2:#0a1621;--rlx-panel:#0d1722;--rlx-panel2:#13202d;--rlx-panel3:#1a2a39;
  --rlx-text:#f2f4f1;--rlx-muted:#a5adb2;--rlx-muted2:#6e7a82;--rlx-line:#263848;
  --rlx-accent:#67c3b5;--rlx-accent2:#94ddd3;--rlx-gold:#d0a65f;--rlx-blue:#72aee6;--rlx-plum:#735c86;--rlx-copper:#bd795f;
  --rlx-chrome:#07101a;--rlx-chrome2:#101c28;--rlx-chrome-text:#f2f4f1;--rlx-chrome-muted:#a5adb2;
  --rlx-hero1:#0d1722;--rlx-hero2:#17364a;--rlx-heroGlow:rgba(103,195,181,.24);
  --rlx-shadow:0 22px 55px rgba(0,0,0,.32);--rlx-radius:16px;
  --rl12-bg:var(--rlx-bg);--rl12-surface:var(--rlx-panel);--rl12-soft:var(--rlx-bg2);--rl12-ink:var(--rlx-text);--rl12-muted:var(--rlx-muted);--rl12-line:var(--rlx-line);
  --rl12-g950:var(--rlx-chrome);--rl12-g900:var(--rlx-panel);--rl12-g800:var(--rlx-panel2);--rl12-g700:#275b5c;--rl12-g600:var(--rlx-accent);--rl12-g500:var(--rlx-accent);--rl12-g300:var(--rlx-accent2);--rl12-g100:var(--rlx-panel2);--rl12-gold:var(--rlx-gold);
  --rlm-paper:var(--rlx-bg);--rlm-paper2:var(--rlx-bg2);--rlm-white:var(--rlx-panel);--rlm-ink:var(--rlx-text);--rlm-muted:var(--rlx-muted);--rlm-line:var(--rlx-line);--rlm-purple:var(--rlx-accent);--rlm-purple2:var(--rlx-accent2);--rlm-pink:var(--rlx-copper);--rlm-gold:var(--rlx-gold);--rlm-sky:var(--rlx-blue);
  --rg-paper:var(--rlx-bg);--rg-paper-2:var(--rlx-bg2);--rg-card:var(--rlx-panel);--rg-ink:var(--rlx-text);--rg-ink-2:var(--rlx-muted);--rg-ink-3:var(--rlx-muted2);--rg-rule:var(--rlx-line);--rg-house:var(--rlx-chrome);--rg-romance:var(--rlx-copper);--rg-good:var(--rlx-accent);--rg-gold:var(--rlx-gold);--rg-btn:var(--rlx-accent);--rg-data:var(--rlx-blue);
  background:radial-gradient(900px 520px at 72% -150px,rgba(103,195,181,.11),transparent 58%),linear-gradient(180deg,var(--rlx-bg),#08131e 55%,var(--rlx-bg))!important;color:var(--rlx-text)!important;
}
body.rl-palette-verdant-library{
  --rlx-bg:#07110e;--rlx-bg2:#091610;--rlx-panel:#0f1815;--rlx-panel2:#15221d;--rlx-panel3:#1b2a24;--rlx-text:#f5efe5;--rlx-muted:#aaa79f;--rlx-muted2:#72786f;--rlx-line:#283830;--rlx-accent:#8fc8aa;--rlx-accent2:#b9dcc9;--rlx-gold:#d6b46d;--rlx-blue:#7fb6c3;--rlx-plum:#835f70;--rlx-copper:#c47e61;--rlx-chrome:#07110e;--rlx-chrome2:#122019;--rlx-chrome-text:#f5efe5;--rlx-chrome-muted:#aaa79f;--rlx-hero1:#122019;--rlx-hero2:#3f4c3d;--rlx-heroGlow:rgba(143,200,170,.23)
}
body.rl-palette-midnight-plum{
  --rlx-bg:#100b12;--rlx-bg2:#140e16;--rlx-panel:#171019;--rlx-panel2:#201623;--rlx-panel3:#291d2d;--rlx-text:#f7f0e8;--rlx-muted:#b0a5ab;--rlx-muted2:#7d7279;--rlx-line:#3a2a3d;--rlx-accent:#d69ab4;--rlx-accent2:#edbfd0;--rlx-gold:#d9b66f;--rlx-blue:#8faacb;--rlx-plum:#9c6f91;--rlx-copper:#c9866d;--rlx-chrome:#100b12;--rlx-chrome2:#1b121e;--rlx-chrome-text:#f7f0e8;--rlx-chrome-muted:#b0a5ab;--rlx-hero1:#1c1320;--rlx-hero2:#4b2d45;--rlx-heroGlow:rgba(214,154,180,.24)
}
body.rl-palette-ivory-ink{
  --rlx-bg:#f4efe6;--rlx-bg2:#eee7dc;--rlx-panel:#fffaf2;--rlx-panel2:#efe8dc;--rlx-panel3:#e7ddcf;--rlx-text:#18221f;--rlx-muted:#6f736f;--rlx-muted2:#96978f;--rlx-line:#d9d0c3;--rlx-accent:#2f6a57;--rlx-accent2:#4f8572;--rlx-gold:#9d7b37;--rlx-blue:#3d6f8d;--rlx-plum:#7f5266;--rlx-copper:#a85f46;--rlx-chrome:#f9f4eb;--rlx-chrome2:#eee6d9;--rlx-chrome-text:#18221f;--rlx-chrome-muted:#6f736f;--rlx-hero1:#e9e1d5;--rlx-hero2:#ccd8ce;--rlx-heroGlow:rgba(47,106,87,.16);--rlx-shadow:0 20px 50px rgba(66,53,37,.14)
}
body.rl-palette-ivory-ink{background:radial-gradient(860px 500px at 72% -140px,rgba(47,106,87,.07),transparent 58%),linear-gradient(180deg,#f6f1e9,var(--rlx-bg) 55%,#eee6da)!important}
body.rl-archive-shell *{box-sizing:border-box}
body.rl-archive-shell a{text-decoration:none}

/* Global archive header */
body.rl-archive-shell .rl-mock-header{position:sticky!important;top:0!important;z-index:120!important;background:color-mix(in srgb,var(--rlx-chrome) 94%,transparent)!important;color:var(--rlx-chrome-text)!important;border-bottom:1px solid var(--rlx-line)!important;backdrop-filter:blur(18px) saturate(120%)}
body.admin-bar.rl-archive-shell .rl-mock-header{top:32px!important}
body.rl-archive-shell .rl-mock-head{height:72px!important;display:grid!important;grid-template-columns:190px minmax(280px,1fr) auto!important;gap:18px!important;align-items:center!important;width:min(1480px,calc(100% - 40px))!important}
body.rl-archive-shell .rl-mock-brand{font:800 22px/1 Inter,system-ui,sans-serif!important;letter-spacing:-.8px!important;color:var(--rlx-chrome-text)!important;white-space:nowrap}
body.rl-archive-shell .rl-mock-brand span{color:var(--rlx-accent)!important}
body.rl-archive-shell .rl-mock-nav{display:none!important}
body.rl-archive-shell .rl-mock-actions{grid-column:2/4!important;display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
body.rl-archive-shell .rl-mock-search{order:-1!important;display:flex!important;flex:1 1 560px!important;width:auto!important;max-width:820px!important;height:46px!important;margin:0!important;border:1px solid var(--rlx-line)!important;border-radius:14px!important;background:var(--rlx-chrome2)!important;padding:0 16px!important}
body.rl-archive-shell .rl-mock-search input{width:100%!important;color:var(--rlx-chrome-text)!important;font:500 14px/1.2 Inter,system-ui,sans-serif!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important}
body.rl-archive-shell .rl-mock-search input::placeholder{color:var(--rlx-chrome-muted)!important}
body.rl-archive-shell .rl-mock-userchip{height:44px!important;border:1px solid var(--rlx-line)!important;border-radius:12px!important;background:var(--rlx-chrome2)!important;color:var(--rlx-chrome-text)!important}
body.rl-archive-shell .rl-mock-userchip strong{color:var(--rlx-chrome-text)!important}
body.rl-archive-shell .rl-mock-userchip>span:last-child>span{color:var(--rlx-chrome-muted)!important}
body.rl-archive-shell .rl-mock-avatar{background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum))!important;color:var(--rlx-chrome)!important}
body.rl-archive-shell .rl-mock-theme,body.rl-archive-shell .rl-mock-dock{border:1px solid var(--rlx-line)!important;background:var(--rlx-chrome2)!important;color:var(--rlx-chrome-text)!important;border-radius:12px!important}
body.rl-archive-shell .rl-mock-theme{width:42px!important;height:42px!important;cursor:pointer!important;font-size:0!important;position:relative}
body.rl-archive-shell .rl-mock-theme:before{content:"";width:18px;height:18px;border-radius:50%;display:block;margin:auto;background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum));box-shadow:0 0 0 4px color-mix(in srgb,var(--rlx-accent) 12%,transparent)}
body.rl-archive-shell .rl-mock-dock{padding:10px 12px!important;font-size:11px!important;font-weight:850!important}

/* Desktop rail */
.rl-archive-rail{position:fixed;z-index:110;left:0;top:var(--rl-archive-top);bottom:0;width:var(--rl-archive-rail);display:flex;flex-direction:column;align-items:center;padding:18px 0 14px;background:color-mix(in srgb,var(--rlx-chrome) 97%,transparent);border-right:1px solid var(--rlx-line);backdrop-filter:blur(16px)}
body.admin-bar .rl-archive-rail{top:calc(var(--rl-archive-top) + 32px)}
.rl-archive-rail-main,.rl-archive-rail-bottom{display:flex;flex-direction:column;gap:8px;align-items:center}.rl-archive-rail-bottom{margin-top:auto}
.rl-archive-rail-link{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;color:var(--rlx-chrome-muted)!important;position:relative;transition:.16s;background:transparent}
.rl-archive-rail-link>span{font:700 18px/1 Inter,system-ui,sans-serif}.rl-archive-rail-link>em{position:absolute;left:58px;top:50%;transform:translateY(-50%) translateX(-5px);font-style:normal;font-size:11px;font-weight:750;background:var(--rlx-panel3);border:1px solid var(--rlx-line);color:var(--rlx-text);padding:7px 9px;border-radius:8px;white-space:nowrap;opacity:0;pointer-events:none;transition:.14s;box-shadow:var(--rlx-shadow)}
.rl-archive-rail-link:hover,.rl-archive-rail-link.is-active{background:var(--rlx-panel3);color:var(--rlx-text)!important}.rl-archive-rail-link:hover>em{opacity:1;transform:translateY(-50%) translateX(0)}
.rl-archive-rail-link.is-active:before{content:"";position:absolute;left:-15px;width:4px;height:24px;border-radius:99px;background:linear-gradient(180deg,var(--rlx-accent),var(--rlx-plum))}
body.rl-archive-shell .rl-public-shell{display:block!important;max-width:none!important;width:calc(100% - var(--rl-archive-rail))!important;margin:0 0 0 var(--rl-archive-rail)!important;padding:0!important;background:transparent!important}
body.rl-archive-shell .rl-public-main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important}
body.rl-archive-shell .rl-mock-footer{width:calc(100% - var(--rl-archive-rail));margin-left:var(--rl-archive-rail);background:var(--rlx-chrome)!important;color:var(--rlx-chrome-muted)!important;border-top:1px solid var(--rlx-line)!important}
body.rl-archive-shell .rl-mock-footer strong{color:var(--rlx-chrome-text)!important}body.rl-archive-shell .rl-mock-footer a,body.rl-archive-shell .rl-mock-footer button{color:var(--rlx-chrome-muted)!important}

/* Palette chooser */
.rl-palette-popover[hidden]{display:none!important}.rl-palette-popover{position:fixed;z-index:500;inset:0;background:rgba(0,0,0,.35);display:flex;align-items:flex-start;justify-content:flex-end;padding:82px 22px 22px;backdrop-filter:blur(3px)}
.rl-palette-card{width:min(430px,calc(100vw - 28px));background:var(--rlx-panel);border:1px solid var(--rlx-line);border-radius:18px;padding:18px;box-shadow:var(--rlx-shadow);color:var(--rlx-text)}
.rl-palette-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:12px}.rl-palette-head small{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:9px;font-weight:900;color:var(--rlx-accent)}.rl-palette-head h2{margin:4px 0 0;font:750 22px/1.05 Inter,system-ui,sans-serif;letter-spacing:-.6px}.rl-palette-close{width:34px;height:34px;border-radius:10px;border:1px solid var(--rlx-line);background:var(--rlx-panel2);color:var(--rlx-text);font-size:20px;cursor:pointer}
.rl-palette-options{display:grid;gap:8px}.rl-palette-option{width:100%;display:grid;grid-template-columns:76px 1fr 24px;gap:12px;align-items:center;text-align:left;border:1px solid var(--rlx-line);border-radius:13px;background:var(--rlx-panel2);color:var(--rlx-text);padding:10px;cursor:pointer}.rl-palette-option:hover,.rl-palette-option.is-selected{border-color:var(--rlx-accent)}.rl-palette-option strong{display:block;font-size:13px}.rl-palette-option small{display:block;color:var(--rlx-muted);font-size:10px;line-height:1.4;margin-top:2px}.rl-palette-option>b{opacity:0;color:var(--rlx-accent);font-size:16px}.rl-palette-option.is-selected>b{opacity:1}
.rl-palette-preview{height:46px;border-radius:9px;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:6px;border:1px solid rgba(255,255,255,.12)}.rl-palette-preview i{border-radius:5px}.rl-palette-preview--cobalt-archive{background:#07101a}.rl-palette-preview--cobalt-archive i:nth-child(1){background:#67c3b5}.rl-palette-preview--cobalt-archive i:nth-child(2){background:#72aee6}.rl-palette-preview--cobalt-archive i:nth-child(3){background:#735c86}.rl-palette-preview--cobalt-archive i:nth-child(4){background:#d0a65f}.rl-palette-preview--verdant-library{background:#07110e}.rl-palette-preview--verdant-library i:nth-child(1){background:#8fc8aa}.rl-palette-preview--verdant-library i:nth-child(2){background:#835f70}.rl-palette-preview--verdant-library i:nth-child(3){background:#d6b46d}.rl-palette-preview--verdant-library i:nth-child(4){background:#7fb6c3}.rl-palette-preview--ivory-ink{background:#f4efe6;border-color:#d9d0c3}.rl-palette-preview--ivory-ink i:nth-child(1){background:#2f6a57}.rl-palette-preview--ivory-ink i:nth-child(2){background:#7f5266}.rl-palette-preview--ivory-ink i:nth-child(3){background:#9d7b37}.rl-palette-preview--ivory-ink i:nth-child(4){background:#3d6f8d}.rl-palette-preview--midnight-plum{background:#100b12}.rl-palette-preview--midnight-plum i:nth-child(1){background:#d69ab4}.rl-palette-preview--midnight-plum i:nth-child(2){background:#b8a0dc}.rl-palette-preview--midnight-plum i:nth-child(3){background:#d9b66f}.rl-palette-preview--midnight-plum i:nth-child(4){background:#c9866d}.rl-palette-note{color:var(--rlx-muted);font-size:10px;line-height:1.5;margin:12px 2px 0}

/* Archive home */
.rl-archive-home{min-height:100vh;background:transparent;color:var(--rlx-text);font-family:Inter,system-ui,sans-serif;padding-bottom:68px}.rl-archive-wrap{width:min(1460px,calc(100% - 56px));margin:0 auto}.rl-archive-home a{color:inherit}
.rl-lensbar{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:14px 28px 2px;scrollbar-width:none}.rl-lensbar::-webkit-scrollbar{display:none}.rl-lens-label{flex:0 0 auto;font-size:9px;letter-spacing:.15em;text-transform:uppercase;font-weight:900;color:var(--rlx-accent);margin-right:2px}.rl-lens-chip{flex:0 0 auto;border:1px solid var(--rlx-line);background:var(--rlx-panel);color:var(--rlx-muted)!important;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:750}.rl-lens-chip:hover,.rl-lens-chip.is-active{color:var(--rlx-text)!important;border-color:color-mix(in srgb,var(--rlx-accent) 55%,var(--rlx-line));background:color-mix(in srgb,var(--rlx-accent) 10%,var(--rlx-panel))}
.rl-archive-hero{padding:22px 28px 0}.rl-archive-hero-frame{position:relative;min-height:410px;overflow:hidden;border:1px solid var(--rlx-line);border-radius:24px;background:linear-gradient(135deg,var(--rlx-hero1),var(--rlx-hero2));box-shadow:var(--rlx-shadow)}.rl-archive-hero-frame:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 74% 26%,var(--rlx-heroGlow),transparent 25%),repeating-linear-gradient(120deg,transparent 0 58px,rgba(255,255,255,.025) 59px 60px)}
.rl-archive-hero-slide{position:absolute;inset:0;display:grid;grid-template-columns:minmax(320px,430px) 1fr;opacity:0;pointer-events:none;transition:opacity .35s ease;z-index:1}.rl-archive-hero-slide.is-active{opacity:1;pointer-events:auto;z-index:2}.rl-archive-hero-copy{padding:46px 28px 46px 48px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:3}.rl-archive-ribbon{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:7px 9px;border:1px solid color-mix(in srgb,var(--rlx-accent) 24%,transparent);border-radius:8px;background:color-mix(in srgb,var(--rlx-accent) 8%,transparent);font-size:10px;color:var(--rlx-accent2);font-weight:750}.rl-archive-ribbon:before{content:"RL";display:grid;place-items:center;width:21px;height:21px;border-radius:6px;background:var(--rlx-accent);color:var(--rlx-chrome);font-size:8px;font-weight:950}.rl-archive-eyebrow{margin:13px 0 0;text-transform:uppercase;letter-spacing:.15em;color:var(--rlx-accent);font-size:9px;font-weight:900}.rl-archive-hero h1{margin:9px 0 7px;font:800 clamp(34px,4vw,53px)/.95 Inter,system-ui,sans-serif;letter-spacing:-2px;max-width:420px;color:var(--rlx-text)}.rl-archive-hero-author{font-size:12px;color:var(--rlx-muted);margin-bottom:13px}.rl-archive-hero-copy>p:not(.rl-archive-eyebrow):not(.rl-archive-hero-author){font-size:13px;line-height:1.58;color:var(--rlx-muted);margin:0;max-width:390px}.rl-archive-meta{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0}.rl-archive-meta span{font-size:9px;font-weight:800;border:1px solid var(--rlx-line);background:var(--rlx-panel);padding:6px 8px;border-radius:999px;color:var(--rlx-muted)}.rl-archive-meta span:first-child{color:var(--rlx-accent);border-color:color-mix(in srgb,var(--rlx-accent) 35%,var(--rlx-line))}.rl-archive-actions{display:flex;gap:9px;flex-wrap:wrap}.rl-archive-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:11px 14px;font-size:11px;font-weight:850;border:1px solid var(--rlx-line)}.rl-archive-btn.is-primary{background:var(--rlx-accent);border-color:var(--rlx-accent);color:var(--rlx-chrome)!important}.rl-archive-btn.is-secondary{background:var(--rlx-panel);color:var(--rlx-text)!important}
.rl-archive-hero-art{position:relative;overflow:hidden;min-height:410px}.rl-archive-cover-stack{position:absolute;right:5%;bottom:-35px;display:flex;gap:18px;align-items:flex-end;z-index:3}.rl-archive-hero-cover{width:185px;aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:var(--rlx-panel);border:1px solid rgba(255,255,255,.12);box-shadow:0 28px 52px rgba(0,0,0,.42);transform:translateY(24px) rotate(-6deg);opacity:.72}.rl-archive-hero-cover.is-main{width:225px;transform:none;opacity:1;z-index:3}.rl-archive-hero-cover:last-child{transform:translateY(38px) rotate(6deg)}.rl-archive-hero-cover .rl-simple-book-cover{display:block;width:100%;height:100%;position:relative;background:var(--rlx-panel2)}.rl-archive-hero-cover .rl-simple-book-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.rl-archive-hero-cover .rl-simple-book-cover__fallback{position:absolute;inset:0;background:linear-gradient(145deg,var(--rlx-panel2),var(--rlx-plum))}.rl-archive-hero-nav{position:absolute;left:48px;bottom:18px;z-index:6;display:flex;align-items:center;gap:9px}.rl-archive-hero-nav button{width:31px;height:31px;border-radius:50%;border:1px solid var(--rlx-line);background:rgba(0,0,0,.22);color:var(--rlx-text);cursor:pointer}.rl-archive-hero-count{font-size:9px;color:var(--rlx-muted);min-width:42px;text-align:center}.rl-archive-hero-count b{color:var(--rlx-accent)}
.rl-archive-section{margin-top:34px}.rl-archive-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:0 28px 12px}.rl-archive-section-title{display:flex;gap:11px;align-items:flex-start}.rl-archive-spine{width:7px;height:27px;border-radius:2px 5px 5px 2px;background:linear-gradient(180deg,var(--rlx-accent),var(--rlx-plum));box-shadow:inset -2px 0 rgba(255,255,255,.12);flex:0 0 auto}.rl-archive-section h2{font:800 23px/1.05 Inter,system-ui,sans-serif;letter-spacing:-.6px;margin:0 0 4px;color:var(--rlx-text)}.rl-archive-section-head p{margin:0;color:var(--rlx-muted);font-size:12px}.rl-archive-more{font-size:11px;font-weight:750;color:var(--rlx-muted)!important;white-space:nowrap}.rl-archive-more:hover{color:var(--rlx-text)!important}
.rl-shelf-wrap{position:relative}.rl-shelf{display:flex;gap:19px;overflow-x:auto;padding:8px 28px 12px;scroll-snap-type:x proximity;scrollbar-width:none}.rl-shelf::-webkit-scrollbar{display:none}.rl-archive-book{flex:0 0 158px;min-width:0;scroll-snap-align:start;color:var(--rlx-text)!important}.rl-archive-book-cover{width:158px;aspect-ratio:2/3;position:relative;border-radius:9px;overflow:hidden;background:var(--rlx-panel2);border:1px solid var(--rlx-line);box-shadow:0 12px 24px rgba(0,0,0,.22);transition:.16s}.rl-archive-book:hover .rl-archive-book-cover{transform:translateY(-4px);box-shadow:0 18px 30px rgba(0,0,0,.32)}.rl-archive-book-cover .rl-simple-book-cover{position:absolute;inset:0;display:block}.rl-archive-book-cover .rl-simple-book-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.rl-archive-book-cover .rl-simple-book-cover__fallback{position:absolute;inset:0;background:linear-gradient(145deg,var(--rlx-panel2),var(--rlx-plum))}.rl-archive-badge{position:absolute;top:7px;left:7px;max-width:calc(100% - 14px);padding:5px 7px;border-radius:6px;background:color-mix(in srgb,var(--rlx-chrome) 88%,transparent);border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(8px);font-size:8px;font-weight:850;color:var(--rlx-accent2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rl-archive-book h3{font:800 13px/1.25 Inter,system-ui,sans-serif;margin:9px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rl-archive-book .rl-book-author{font-size:10px;color:var(--rlx-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rl-archive-book .rl-book-signal{font-size:9px;color:var(--rlx-accent);font-weight:750;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rl-shelf-next{position:absolute;right:16px;top:38%;z-index:5;width:43px;height:43px;border-radius:50%;border:2px solid var(--rlx-text);background:color-mix(in srgb,var(--rlx-chrome) 88%,transparent);color:var(--rlx-text);display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 26px rgba(0,0,0,.32)}
.rl-resume-card{flex:0 0 330px;display:grid;grid-template-columns:72px 1fr;gap:13px;align-items:center;min-height:123px;padding:8px 15px 8px 8px;border-radius:13px;background:var(--rlx-panel);border:1px solid var(--rlx-line);color:var(--rlx-text)!important}.rl-resume-cover{height:106px;border-radius:7px;overflow:hidden;position:relative;background:var(--rlx-panel2)}.rl-resume-cover .rl-simple-book-cover{position:absolute;inset:0;display:block}.rl-resume-cover img{width:100%;height:100%;object-fit:cover}.rl-resume-card h3{font-size:13px;line-height:1.2;margin:0 0 4px}.rl-resume-card p{font-size:9px;color:var(--rlx-muted);margin:0 0 9px}.rl-progress{height:3px;background:var(--rlx-line);border-radius:99px;overflow:hidden}.rl-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--rlx-accent),var(--rlx-plum))}.rl-progress-meta{display:flex;justify-content:space-between;gap:10px;margin-top:6px;font-size:8px;color:var(--rlx-muted)}
.rl-experience-grid{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:12px;padding:7px 28px 2px}.rl-experience-card{min-height:145px;border-radius:15px;border:1px solid var(--rlx-line);background:var(--rlx-panel);padding:16px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden;color:var(--rlx-text)!important}.rl-experience-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 12%,var(--card-glow,var(--rlx-heroGlow)),transparent 38%),linear-gradient(145deg,transparent 0 42%,rgba(255,255,255,.025) 43% 44%,transparent 45%)}.rl-experience-card>*{position:relative}.rl-experience-card small{font-size:8px;text-transform:uppercase;letter-spacing:.13em;color:var(--rlx-accent);font-weight:900}.rl-experience-card strong{font-size:16px;margin-top:4px}.rl-experience-card span{font-size:10px;color:var(--rlx-muted);line-height:1.4;margin-top:4px}
.rl-series-shelf{display:flex;gap:16px;overflow-x:auto;padding:8px 28px 12px;scrollbar-width:none}.rl-series-shelf::-webkit-scrollbar{display:none}.rl-series-card{flex:0 0 305px;border:1px solid var(--rlx-line);border-radius:15px;background:var(--rlx-panel);padding:15px;color:var(--rlx-text)!important}.rl-series-covers{height:120px;display:flex;align-items:flex-end;margin-bottom:14px;padding-left:6px}.rl-series-mini{width:76px;aspect-ratio:2/3;border-radius:6px;overflow:hidden;background:var(--rlx-panel2);border:1px solid var(--rlx-line);box-shadow:0 10px 18px rgba(0,0,0,.22);margin-left:-8px;position:relative}.rl-series-mini:first-child{margin-left:0}.rl-series-mini:nth-child(2){transform:translateY(-4px)}.rl-series-mini .rl-simple-book-cover{position:absolute;inset:0}.rl-series-mini img{width:100%;height:100%;object-fit:cover}.rl-series-card small{color:var(--rlx-accent);font-size:8px;text-transform:uppercase;letter-spacing:.12em;font-weight:900}.rl-series-card h3{font-size:16px;line-height:1.15;margin:5px 0}.rl-series-card p{font-size:10px;color:var(--rlx-muted);margin:0}
.rl-community-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:13px;padding:8px 28px}.rl-community-pulse{min-height:170px;border:1px solid var(--rlx-line);border-radius:15px;background:var(--rlx-panel);padding:18px;display:flex;flex-direction:column;justify-content:space-between;color:var(--rlx-text)!important}.rl-community-pulse.is-featured{background:radial-gradient(circle at 84% 44%,color-mix(in srgb,var(--rlx-plum) 30%,transparent),transparent 34%),var(--rlx-panel)}.rl-community-pulse small{font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:var(--rlx-accent);font-weight:900}.rl-community-pulse h3{font-size:18px;line-height:1.12;margin:6px 0}.rl-community-pulse p{font-size:10px;line-height:1.5;color:var(--rlx-muted);margin:0}.rl-community-meta{font-size:9px;color:var(--rlx-muted);margin-top:14px}.rl-community-meta b{color:var(--rlx-accent)}
body.rl-palette-ivory-ink .rl-archive-book-cover,body.rl-palette-ivory-ink .rl-series-mini{box-shadow:0 12px 24px rgba(62,48,33,.13)}body.rl-palette-ivory-ink .rl-shelf-next{border-color:var(--rlx-text);background:rgba(255,250,242,.92)}body.rl-palette-ivory-ink .rl-archive-badge{background:rgba(255,250,242,.9);color:var(--rlx-accent);border-color:rgba(24,34,31,.12)}

/* Force legacy public cards and forms into chosen palette without changing their hierarchy. */
body.rl-archive-shell:not(.rl-palette-ivory-ink) .rl-v12-page,body.rl-archive-shell:not(.rl-palette-ivory-ink) .rl-v12-section,body.rl-archive-shell:not(.rl-palette-ivory-ink) .rl-community-main{background:var(--rlx-bg)!important;color:var(--rlx-text)!important}
body.rl-archive-shell .rl-v12-section.is-soft{background:var(--rlx-bg2)!important;border-color:var(--rlx-line)!important}
body.rl-archive-shell .rl-v12-book-card,body.rl-archive-shell .rl-v12-genre-card,body.rl-archive-shell .rl-v12-three article,body.rl-archive-shell .rl-v12-empty,body.rl-archive-shell .rg-card,body.rl-archive-shell .rg-panel,body.rl-archive-shell .rl-community-card{background:var(--rlx-panel)!important;color:var(--rlx-text)!important;border-color:var(--rlx-line)!important}
body.rl-archive-shell .rl-v12-section-head h2,body.rl-archive-shell .rl-v12-book-card>strong,body.rl-archive-shell .rl-v12-genre-card strong{color:var(--rlx-text)!important}
body.rl-archive-shell input,body.rl-archive-shell textarea,body.rl-archive-shell select{background:var(--rlx-panel)!important;color:var(--rlx-text)!important;border-color:var(--rlx-line)!important}
body.rl-archive-shell .rl-v12-btn:not(.is-outline):not(.is-light),body.rl-archive-shell .rg-btn-primary{background:var(--rlx-accent)!important;border-color:var(--rlx-accent)!important;color:var(--rlx-chrome)!important}
body.rl-palette-ivory-ink .rl-v12-page,body.rl-palette-ivory-ink .rl-v12-section,body.rl-palette-ivory-ink .rl-community-main{background:var(--rlx-bg)!important;color:var(--rlx-text)!important}

@media(max-width:1180px){
  .rl-experience-grid{grid-template-columns:repeat(3,1fr)}.rl-community-grid{grid-template-columns:1fr 1fr}.rl-community-pulse.is-featured{grid-column:1/-1}
  body.rl-archive-shell .rl-mock-head{grid-template-columns:165px minmax(220px,1fr) auto!important}.rl-archive-hero-slide{grid-template-columns:390px 1fr}.rl-archive-hero-cover{width:150px}.rl-archive-hero-cover.is-main{width:190px}
}
@media(max-width:900px){
  :root{--rl-archive-rail:0px}.rl-archive-rail{display:none}.rl-archive-home{padding-bottom:68px}
  body.rl-archive-shell .rl-public-shell{width:100%!important;margin-left:0!important}body.rl-archive-shell .rl-mock-footer{width:100%;margin-left:0}
  body.rl-archive-shell .rl-mock-head{grid-template-columns:140px 1fr!important;width:calc(100% - 24px)!important}.rl-mock-userchip>span:last-child,.rl-mock-dock{display:none!important}body.rl-archive-shell .rl-mock-actions{grid-column:2!important}.rl-archive-hero-slide{grid-template-columns:1fr;grid-template-rows:auto 185px;position:absolute}.rl-archive-hero-frame{min-height:540px}.rl-archive-hero-copy{padding:30px 28px 10px}.rl-archive-hero-art{min-height:185px}.rl-archive-cover-stack{right:5%;bottom:-95px;transform:scale(.7);transform-origin:bottom right}.rl-archive-hero-nav{left:28px}.rl-archive-wrap{width:100%}
  body.rl-archive-shell .rl-mobile-nav{position:fixed!important;z-index:150!important;bottom:0;left:0;right:0;display:block!important;background:color-mix(in srgb,var(--rlx-chrome) 96%,transparent)!important;border-top:1px solid var(--rlx-line)!important;backdrop-filter:blur(16px)}body.rl-archive-shell .rl-mobile-nav .rl-mock-wrap{width:100%!important;display:flex!important;justify-content:space-around!important;gap:2px!important;padding:8px!important}body.rl-archive-shell .rl-mobile-nav a{font-size:9px!important;color:var(--rlx-chrome-muted)!important;padding:6px!important}
}
@media(max-width:700px){
  body.admin-bar.rl-archive-shell .rl-mock-header{top:46px!important}.rl-palette-popover{padding:76px 12px 72px}.rl-archive-hero{padding:14px 12px 0}.rl-lensbar{padding-left:12px;padding-right:12px}.rl-archive-section-head{padding-left:14px;padding-right:14px}.rl-shelf,.rl-series-shelf{padding-left:14px;padding-right:14px;gap:14px}.rl-archive-book{flex-basis:138px}.rl-archive-book-cover{width:138px}.rl-shelf-next{display:none}.rl-experience-grid{grid-template-columns:repeat(2,1fr);padding-left:14px;padding-right:14px}.rl-community-grid{grid-template-columns:1fr;padding-left:14px;padding-right:14px}.rl-community-pulse.is-featured{grid-column:auto}.rl-series-card{flex-basis:270px}.rl-resume-card{flex-basis:285px}
  body.rl-archive-shell .rl-mock-head{grid-template-columns:112px 1fr!important}.rl-mock-brand{font-size:17px!important}.rl-mock-search{height:42px!important;padding-inline:11px!important}.rl-mock-search input{font-size:12px!important}.rl-mock-theme{width:38px!important;height:38px!important}
}


/* 4.95.1 — Reader OS / Archive palette compatibility.
   Reader OS keeps its own information architecture on deeper tools, but it
   must consume the same palette tokens and must never show a second rail. */
body.rl-reader-os-v24.rl-archive-shell{
  --ro-bg:var(--rlx-bg);--ro-paper:var(--rlx-panel);--ro-card:var(--rlx-panel);--ro-ink:var(--rlx-text);
  --ro-muted:var(--rlx-muted);--ro-line:var(--rlx-line);--ro-forest:var(--rlx-chrome);--ro-forest2:var(--rlx-panel2);
  --ro-sage:color-mix(in srgb,var(--rlx-accent) 12%,var(--rlx-panel));--ro-green:var(--rlx-accent);--ro-gold:color-mix(in srgb,var(--rlx-gold) 16%,var(--rlx-panel));
  --ro-rose:color-mix(in srgb,var(--rlx-plum) 18%,var(--rlx-panel));--ro-shadow:var(--rlx-shadow);
  background:radial-gradient(900px 520px at 72% -150px,color-mix(in srgb,var(--rlx-accent) 12%,transparent),transparent 58%),var(--rlx-bg)!important;
  color:var(--rlx-text)!important;color-scheme:dark;
}
body.rl-reader-os-v24.rl-palette-ivory-ink{color-scheme:light}
body.rl-reader-os-v24.rl-archive-shell>.rl-archive-rail{display:none!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail{background:var(--rlx-chrome)!important;color:var(--rlx-chrome-text)!important;border-right:1px solid var(--rlx-line)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-logo{font-family:Inter,system-ui,sans-serif!important;font-size:25px!important;letter-spacing:-.7px!important;color:var(--rlx-chrome-text)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-logo span{color:var(--rlx-accent)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail>p,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-profile-mini small{color:var(--rlx-chrome-muted)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail nav a{color:var(--rlx-chrome-muted)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail nav a:hover,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail nav a.is-active{background:var(--rlx-panel3)!important;color:var(--rlx-chrome-text)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail nav b{background:color-mix(in srgb,var(--rlx-accent) 18%,var(--rlx-panel2))!important;color:var(--rlx-accent2)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-profile-mini{border-color:var(--rlx-line)!important;color:var(--rlx-chrome-text)!important;background:color-mix(in srgb,var(--rlx-panel) 72%,transparent)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-profile-mini i{background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum))!important;color:var(--rlx-chrome)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top{background:color-mix(in srgb,var(--rlx-chrome) 94%,transparent)!important;border-color:var(--rlx-line)!important;color:var(--rlx-chrome-text)!important;backdrop-filter:blur(18px) saturate(120%)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search{background:var(--rlx-chrome2)!important;border-color:var(--rlx-line)!important;border-radius:14px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search input{color:var(--rlx-chrome-text)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search input::placeholder{color:var(--rlx-chrome-muted)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search button{color:var(--rlx-accent)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top>div a,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top>div button{background:var(--rlx-chrome2)!important;border:1px solid var(--rlx-line)!important;color:var(--rlx-chrome-text)!important;border-radius:12px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top>div a.is-primary{background:var(--rlx-accent)!important;border-color:var(--rlx-accent)!important;color:var(--rlx-chrome)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-appearance{width:40px!important;height:40px!important;padding:0!important;display:grid!important;place-items:center!important;cursor:pointer!important;font-size:0!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-appearance:before{content:"";width:17px;height:17px;border-radius:50%;background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum));box-shadow:0 0 0 4px color-mix(in srgb,var(--rlx-accent) 12%,transparent)}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content{color:var(--rlx-text)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content h1,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content h2,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content h3,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-body strong{color:var(--rlx-text)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-eyebrow,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-section-head a{color:var(--rlx-accent)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-lede,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-section-head p,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-body small,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-body p,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-decision p,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-knowledge p,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-knowledge li{color:var(--rlx-muted)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-hero{background:radial-gradient(circle at 86% 20%,color-mix(in srgb,var(--rlx-accent) 10%,transparent),transparent 34%),linear-gradient(135deg,var(--rlx-panel),var(--rlx-bg2))!important;border-color:var(--rlx-line)!important;box-shadow:var(--rlx-shadow)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-hero p{color:var(--rlx-muted)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-panel,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-metric,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-card,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-control,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-decision article,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-knowledge article{background:var(--rlx-panel)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important;box-shadow:var(--rlx-shadow)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-metric strong{color:var(--rlx-text)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-metric span,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-metric small{color:var(--rlx-muted)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-btn{background:var(--rlx-panel2)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-btn.is-primary{background:var(--rlx-accent)!important;border-color:var(--rlx-accent)!important;color:var(--rlx-chrome)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-tags span,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-pill,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-facts span{background:color-mix(in srgb,var(--rlx-accent) 12%,var(--rlx-panel))!important;color:var(--rlx-accent2)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-queue-row{background:var(--rlx-panel2)!important;border-color:var(--rlx-line)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-queue-row>b{background:var(--rlx-accent)!important;color:var(--rlx-chrome)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-list-row{border-color:var(--rlx-line)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-progress{background:var(--rlx-line)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-progress i{background:linear-gradient(90deg,var(--rlx-accent),var(--rlx-plum))!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-control select,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-control input{background:var(--rlx-panel2)!important;border-color:var(--rlx-line)!important;color:var(--rlx-text)!important}
body.rl-reader-os-v24.rl-palette-ivory-ink .rl-ro24-top>div a.is-primary,body.rl-reader-os-v24.rl-palette-ivory-ink .rl-ro24-btn.is-primary{color:#f8f3eb!important}


/* ==========================================================================
   4.95.2 — Archive shell visual cleanup
   The archive header must be self-contained. Performance pruning can omit
   legacy mockup CSS, so no critical chrome layout may depend on it.
   ========================================================================== */
:root{--rl-archive-rail:70px;--rl-archive-top:68px}

body.rl-archive-shell .rl-mock-header{
  min-height:68px!important;
  height:68px!important;
  overflow:visible!important;
}
body.rl-archive-shell .rl-mock-head{
  height:68px!important;
  min-height:68px!important;
  width:calc(100% - 36px)!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:176px minmax(320px,1fr) auto!important;
  gap:16px!important;
}
body.rl-archive-shell .rl-mock-brand{
  display:inline-flex!important;
  align-items:center!important;
  min-width:0!important;
  font-size:20px!important;
}
body.rl-archive-shell .rl-mock-actions{
  grid-column:2/4!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(280px,820px) auto auto!important;
  justify-content:end!important;
  align-items:center!important;
  gap:10px!important;
}
body.rl-archive-shell .rl-mock-search{
  order:initial!important;
  grid-column:1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:44px!important;
  display:flex!important;
  align-items:center!important;
}
body.rl-archive-shell .rl-mock-userchip{
  grid-column:2!important;
  height:42px!important;
  min-width:0!important;
  max-width:142px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  padding:5px 10px 5px 6px!important;
  overflow:hidden!important;
}
body.rl-archive-shell .rl-mock-avatar{
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.rl-archive-shell .rl-mock-userchip>span:last-child{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  line-height:1.05!important;
  overflow:hidden!important;
}
body.rl-archive-shell .rl-mock-userchip strong{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:10px!important;
  line-height:1.15!important;
}
body.rl-archive-shell .rl-mock-userchip>span:last-child>span{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  margin-top:2px!important;
  font-size:8px!important;
  line-height:1.1!important;
}
body.rl-archive-shell .rl-mock-theme{
  grid-column:3!important;
  width:40px!important;
  height:40px!important;
  margin:0!important;
  padding:0!important;
}
body.rl-archive-shell .rl-mock-dock{display:none!important}

/* Desktop never shows the mobile link strip. */
body.rl-archive-shell .rl-mobile-nav{
  display:none!important;
  height:0!important;
  overflow:hidden!important;
}

/* Rail now aligns to the real 68px top bar and uses a slightly slimmer footprint. */
.rl-archive-rail{
  top:var(--rl-archive-top)!important;
  width:var(--rl-archive-rail)!important;
  padding-top:14px!important;
}
body.admin-bar .rl-archive-rail{top:calc(var(--rl-archive-top) + 32px)!important}
.rl-archive-rail-link{width:42px!important;height:42px!important;border-radius:12px!important}
.rl-archive-rail-link.is-active:before{left:-14px!important}
body.rl-archive-shell .rl-public-shell{
  width:calc(100% - var(--rl-archive-rail))!important;
  margin-left:var(--rl-archive-rail)!important;
}

/* The homepage should feel like a media library immediately, not an admin page. */
body.home.rl-archive-shell .rl-v13-opbar,
body.front-page.rl-archive-shell .rl-v13-opbar{display:none!important}
.rl-lensbar{padding-top:12px!important;padding-bottom:4px!important}
.rl-archive-hero{padding-top:16px!important}
.rl-archive-hero-frame{min-height:370px!important}
.rl-archive-hero-slide{grid-template-columns:minmax(310px,410px) 1fr!important}
.rl-archive-hero-copy{padding:38px 26px 40px 42px!important}
.rl-archive-hero h1{
  font-size:clamp(32px,3.5vw,47px)!important;
  line-height:.98!important;
  letter-spacing:-1.65px!important;
}
.rl-archive-hero-art{min-height:370px!important}
.rl-archive-cover-stack{right:5%!important;bottom:-44px!important;gap:15px!important}
.rl-archive-hero-cover{width:164px!important}
.rl-archive-hero-cover.is-main{width:204px!important}
.rl-archive-hero-nav{left:42px!important;bottom:14px!important}
.rl-archive-section{margin-top:30px!important}

/* A missing cover is still a designed book object, never an empty gradient slab. */
body.rl-archive-shell .rl-simple-book-cover__fallback{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:7px!important;
  padding:14px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 78% 18%,color-mix(in srgb,var(--rlx-accent) 30%,transparent),transparent 30%),
    linear-gradient(150deg,var(--rlx-panel2),color-mix(in srgb,var(--rlx-plum) 56%,var(--rlx-panel)))!important;
  color:var(--rlx-text)!important;
}
body.rl-archive-shell .rl-simple-book-cover__fallback:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  opacity:.28!important;
  background:repeating-linear-gradient(120deg,transparent 0 32px,rgba(255,255,255,.06) 33px 34px)!important;
}
body.rl-archive-shell .rl-simple-book-cover__fallback small,
body.rl-archive-shell .rl-simple-book-cover__fallback strong,
body.rl-archive-shell .rl-simple-book-cover__fallback em{position:relative!important;z-index:1!important}
body.rl-archive-shell .rl-simple-book-cover__fallback small{
  order:-1!important;
  margin-bottom:auto!important;
  font:850 7px/1.1 Inter,system-ui,sans-serif!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  color:var(--rlx-accent2)!important;
}
body.rl-archive-shell .rl-simple-book-cover__fallback strong{
  font:800 clamp(13px,1.35vw,20px)/1.02 Inter,system-ui,sans-serif!important;
  letter-spacing:-.45px!important;
  color:var(--rlx-text)!important;
}
body.rl-archive-shell .rl-simple-book-cover__fallback em{
  font:600 8px/1.25 Inter,system-ui,sans-serif!important;
  font-style:normal!important;
  color:var(--rlx-muted)!important;
}
body.rl-archive-shell .rl-simple-book-cover img{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}

/* Keep user-facing content from starting beneath the fixed WordPress admin bar. */
body.admin-bar.rl-archive-shell .rl-mock-header{top:32px!important}

@media(max-width:1180px){
  body.rl-archive-shell .rl-mock-head{
    grid-template-columns:150px minmax(250px,1fr) auto!important;
  }
  body.rl-archive-shell .rl-mock-actions{
    grid-template-columns:minmax(240px,1fr) auto auto!important;
  }
  body.rl-archive-shell .rl-mock-userchip{max-width:118px!important}
  .rl-archive-hero-slide{grid-template-columns:360px 1fr!important}
  .rl-archive-hero-cover{width:142px!important}
  .rl-archive-hero-cover.is-main{width:182px!important}
}
@media(max-width:900px){
  :root{--rl-archive-rail:0px}
  body.rl-archive-shell .rl-mock-header{height:64px!important;min-height:64px!important}
  body.rl-archive-shell .rl-mock-head{
    height:64px!important;min-height:64px!important;
    width:calc(100% - 22px)!important;
    grid-template-columns:118px minmax(0,1fr) 40px!important;
    gap:9px!important;
  }
  body.rl-archive-shell .rl-mock-actions{
    grid-column:2/4!important;
    grid-template-columns:minmax(0,1fr) 40px!important;
    gap:8px!important;
  }
  body.rl-archive-shell .rl-mock-userchip{display:none!important}
  body.rl-archive-shell .rl-mock-search{height:40px!important}
  body.rl-archive-shell .rl-mock-theme{grid-column:2!important;width:40px!important;height:40px!important}
  body.rl-archive-shell .rl-mobile-nav{
    position:fixed!important;
    z-index:150!important;
    bottom:0!important;left:0!important;right:0!important;
    height:auto!important;
    overflow:visible!important;
    display:block!important;
    background:color-mix(in srgb,var(--rlx-chrome) 96%,transparent)!important;
    border-top:1px solid var(--rlx-line)!important;
    backdrop-filter:blur(16px)!important;
  }
  body.rl-archive-shell .rl-mobile-nav .rl-mock-wrap{
    width:100%!important;display:flex!important;justify-content:space-around!important;
    gap:2px!important;padding:8px!important;margin:0!important
  }
  body.rl-archive-shell .rl-mobile-nav a{
    font-size:9px!important;color:var(--rlx-chrome-muted)!important;padding:6px!important;white-space:nowrap!important
  }
  body.rl-archive-shell .rl-public-shell{width:100%!important;margin-left:0!important}
  .rl-archive-hero-frame{min-height:500px!important}
  .rl-archive-hero-slide{
    grid-template-columns:1fr!important;
    grid-template-rows:auto 170px!important
  }
  .rl-archive-hero-copy{padding:28px 26px 8px!important}
  .rl-archive-hero-art{min-height:170px!important}
  .rl-archive-cover-stack{bottom:-92px!important;transform:scale(.68)!important;transform-origin:bottom right!important}
  .rl-archive-hero-nav{left:26px!important}
}
@media(max-width:782px){
  body.admin-bar.rl-archive-shell .rl-mock-header{top:46px!important}
  body.admin-bar .rl-archive-rail{top:calc(var(--rl-archive-top) + 46px)!important}
}

/* ==========================================================================
   4.95.3 — Human readability + dependable cover geometry
   ========================================================================== */

/* Header: restore a real desktop menu bar and make the controls legible. */
body.rl-archive-shell .rl-mock-head{
  width:calc(100% - 40px)!important;
  grid-template-columns:170px auto minmax(360px,1fr)!important;
  gap:22px!important;
}
body.rl-archive-shell .rl-mock-brand{
  font-size:24px!important;
  line-height:1!important;
  letter-spacing:-.9px!important;
}
body.rl-archive-shell .rl-mock-nav{
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  min-width:max-content!important;
}
body.rl-archive-shell .rl-mock-nav a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:40px!important;
  padding:0 2px!important;
  color:var(--rlx-chrome-muted)!important;
  font:700 13.5px/1 Inter,system-ui,sans-serif!important;
  white-space:nowrap!important;
  border-bottom:2px solid transparent!important;
}
body.rl-archive-shell .rl-mock-nav a:hover,
body.rl-archive-shell .rl-mock-nav a[aria-current="page"]{
  color:var(--rlx-chrome-text)!important;
  border-bottom-color:var(--rlx-accent)!important;
}
body.rl-archive-shell .rl-mock-actions{
  grid-column:3!important;
  display:grid!important;
  grid-template-columns:minmax(300px,1fr) auto auto!important;
  width:100%!important;
  gap:10px!important;
}
body.rl-archive-shell .rl-mock-search{
  height:48px!important;
  min-width:0!important;
  border-radius:14px!important;
  padding-inline:17px!important;
}
body.rl-archive-shell .rl-mock-search input{
  font-size:15px!important;
  line-height:1.25!important;
}
body.rl-archive-shell .rl-mock-userchip{
  height:46px!important;
  max-width:126px!important;
  min-width:92px!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  padding:6px 10px 6px 6px!important;
}
body.rl-archive-shell .rl-mock-avatar{
  width:32px!important;
  height:32px!important;
  font-size:12px!important;
}
body.rl-archive-shell .rl-mock-userchip strong{
  font-size:12px!important;
  line-height:1.15!important;
}
body.rl-archive-shell .rl-mock-userchip>span:last-child>span{
  display:none!important;
}
body.rl-archive-shell .rl-mock-theme{
  width:44px!important;
  height:44px!important;
}
body.rl-archive-shell .rl-mock-theme:before{width:20px!important;height:20px!important}

/* Rail tooltips must be readable if someone relies on the icons. */
.rl-archive-rail-link>em{
  left:56px!important;
  font-size:13px!important;
  line-height:1.2!important;
  padding:8px 10px!important;
}

/* Reading lenses: density without 9px UI copy. */
.rl-lensbar{gap:9px!important;padding:15px 28px 5px!important}
.rl-lens-label{font-size:11px!important}
.rl-lens-chip{padding:9px 13px!important;font-size:12.5px!important;line-height:1!important}

/* Hero copy: preserve the visual scale, but make supporting text normal reading size. */
.rl-archive-ribbon{font-size:12px!important;padding:8px 10px!important}
.rl-archive-ribbon:before{width:23px!important;height:23px!important;font-size:9px!important}
.rl-archive-eyebrow{font-size:11px!important;margin-top:14px!important}
.rl-archive-hero-author{font-size:14px!important;margin-bottom:13px!important}
.rl-archive-hero-copy>p:not(.rl-archive-eyebrow):not(.rl-archive-hero-author){
  font-size:15px!important;
  line-height:1.55!important;
  max-width:410px!important;
}
.rl-archive-meta span{font-size:11px!important;padding:7px 9px!important}
.rl-archive-btn{font-size:13px!important;padding:11px 15px!important}
.rl-archive-hero-count{font-size:11px!important}

/* Section typography: no public-facing 8–11px descriptive text on desktop. */
.rl-archive-section{margin-top:36px!important}
.rl-archive-section h2{font-size:26px!important;line-height:1.05!important}
.rl-archive-section-head p{font-size:14px!important;line-height:1.45!important}
.rl-archive-more{font-size:13px!important}
.rl-archive-spine{height:30px!important}

/* Book shelves: the previous span remained inline, collapsing the intended 2:3 cover box.
   Make every cover a real block and increase the shelf size to a human-readable media rail. */
.rl-shelf{gap:22px!important;padding-top:10px!important;padding-bottom:16px!important}
.rl-archive-book{flex:0 0 176px!important;width:176px!important}
.rl-archive-book-cover{
  display:block!important;
  width:176px!important;
  height:264px!important;
  aspect-ratio:auto!important;
  border-radius:10px!important;
}
.rl-archive-book-cover .rl-simple-book-cover{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
  margin:0!important;
  border-radius:inherit!important;
}
.rl-archive-book-cover .rl-simple-book-cover img,
.rl-archive-book-cover .rl-simple-book-cover__fallback{
  width:100%!important;
  height:100%!important;
  border-radius:inherit!important;
}
.rl-archive-badge{font-size:10.5px!important;padding:6px 8px!important}
.rl-archive-book h3{
  font-size:15.5px!important;
  line-height:1.3!important;
  margin-top:11px!important;
}
.rl-archive-book .rl-book-author{font-size:12.5px!important;line-height:1.3!important}
.rl-archive-book .rl-book-signal{font-size:12px!important;line-height:1.25!important;margin-top:5px!important}
.rl-shelf-next{width:48px!important;height:48px!important;font-size:17px!important}

/* Missing art should still look intentionally like a book, not a broken thumbnail. */
body.rl-archive-shell .rl-archive-book-cover .rl-simple-book-cover__fallback{padding:16px!important}
body.rl-archive-shell .rl-archive-book-cover .rl-simple-book-cover__fallback small{font-size:9px!important}
body.rl-archive-shell .rl-archive-book-cover .rl-simple-book-cover__fallback strong{
  font-size:18px!important;
  line-height:1.04!important;
}
body.rl-archive-shell .rl-archive-book-cover .rl-simple-book-cover__fallback em{font-size:11px!important}

/* Resume cards */
.rl-resume-card{
  flex-basis:360px!important;
  grid-template-columns:82px 1fr!important;
  gap:15px!important;
  min-height:139px!important;
  padding:8px 16px 8px 8px!important;
}
.rl-resume-cover{
  display:block!important;
  width:82px!important;
  height:123px!important;
}
.rl-resume-cover .rl-simple-book-cover{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
}
.rl-resume-cover .rl-simple-book-cover__fallback,
.rl-resume-cover .rl-simple-book-cover img{width:100%!important;height:100%!important}
.rl-resume-card h3{font-size:16px!important;line-height:1.2!important;margin-bottom:5px!important}
.rl-resume-card p{font-size:12.5px!important;line-height:1.35!important;margin-bottom:11px!important}
.rl-progress{height:4px!important}
.rl-progress-meta{font-size:11px!important;margin-top:7px!important}

/* Experience, series and community cards */
.rl-experience-card{min-height:160px!important;padding:18px!important}
.rl-experience-card small{font-size:10.5px!important}
.rl-experience-card strong{font-size:19px!important;line-height:1.15!important}
.rl-experience-card span{font-size:13px!important;line-height:1.45!important}
.rl-series-card{flex-basis:320px!important;padding:17px!important}
.rl-series-mini{display:block!important}
.rl-series-mini .rl-simple-book-cover{
  display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important
}
.rl-series-card small{font-size:10.5px!important}
.rl-series-card h3{font-size:18px!important;line-height:1.2!important;margin:6px 0!important}
.rl-series-card p{font-size:13px!important;line-height:1.4!important}
.rl-community-pulse{padding:20px!important}
.rl-community-pulse small{font-size:10.5px!important}
.rl-community-pulse h3{font-size:20px!important;line-height:1.15!important}
.rl-community-pulse p{font-size:13.5px!important;line-height:1.55!important}
.rl-community-meta{font-size:12px!important;line-height:1.35!important}

/* Appearance chooser */
.rl-palette-head small{font-size:11px!important}
.rl-palette-head h2{font-size:24px!important}
.rl-palette-option strong{font-size:14px!important}
.rl-palette-option small{font-size:12px!important}
.rl-palette-note{font-size:12px!important}

/* Protect readability when older public CSS is present. */
body.rl-archive-shell .rl-archive-home{font-size:16px!important;line-height:1.5!important}

@media(max-width:1320px){
  body.rl-archive-shell .rl-mock-head{grid-template-columns:150px auto minmax(320px,1fr)!important;gap:16px!important}
  body.rl-archive-shell .rl-mock-nav{gap:13px!important}
  body.rl-archive-shell .rl-mock-nav a{font-size:12.5px!important}
  body.rl-archive-shell .rl-mock-userchip{min-width:44px!important;max-width:44px!important;padding:6px!important;grid-template-columns:1fr!important}
  body.rl-archive-shell .rl-mock-userchip>span:last-child{display:none!important}
}
@media(max-width:1100px){
  body.rl-archive-shell .rl-mock-head{grid-template-columns:145px minmax(0,1fr)!important}
  body.rl-archive-shell .rl-mock-nav{display:none!important}
  body.rl-archive-shell .rl-mock-actions{grid-column:2!important;grid-template-columns:minmax(240px,1fr) auto auto!important}
}
@media(max-width:900px){
  body.rl-archive-shell .rl-mock-brand{font-size:20px!important}
  body.rl-archive-shell .rl-mock-search input{font-size:14px!important}
  .rl-archive-book{flex-basis:154px!important;width:154px!important}
  .rl-archive-book-cover{width:154px!important;height:231px!important}
  .rl-archive-book h3{font-size:15px!important}
  .rl-archive-book .rl-book-author{font-size:12px!important}
  .rl-mobile-nav a{font-size:11px!important}
}
@media(max-width:700px){
  body.rl-archive-shell .rl-mock-head{grid-template-columns:108px minmax(0,1fr)!important}
  body.rl-archive-shell .rl-mock-brand{font-size:18px!important}
  body.rl-archive-shell .rl-mock-actions{grid-template-columns:minmax(0,1fr) 38px!important}
  body.rl-archive-shell .rl-mock-userchip{display:none!important}
  body.rl-archive-shell .rl-mock-theme{width:38px!important;height:38px!important}
  .rl-lens-label{font-size:10px!important}
  .rl-lens-chip{font-size:12px!important}
  .rl-archive-section h2{font-size:23px!important}
  .rl-archive-section-head p{font-size:13px!important}
  .rl-archive-book{flex-basis:146px!important;width:146px!important}
  .rl-archive-book-cover{width:146px!important;height:219px!important}
  .rl-archive-book h3{font-size:14.5px!important}
  .rl-archive-book .rl-book-author,.rl-archive-book .rl-book-signal{font-size:12px!important}
}


/* ================================================================
   4.95.4 — Spotlight masthead cleanup
   The homepage hero is editorial content, not product onboarding. One quiet
   label, title, byline and real book copy. No stacked internal product jargon.
   ================================================================ */
.rl-archive-hero-frame{min-height:392px!important}
.rl-archive-hero-slide{grid-template-columns:minmax(360px,455px) 1fr!important}
.rl-archive-hero-copy{padding:42px 30px 48px 48px!important;justify-content:center!important}
.rl-archive-spotlight{
  display:flex!important;align-items:center!important;gap:9px!important;
  margin:0 0 14px!important;color:var(--rlx-accent2)!important;
  font:850 12.5px/1.2 Inter,system-ui,sans-serif!important;
  letter-spacing:.055em!important;text-transform:uppercase!important;
}
.rl-archive-spotlight>span{
  display:grid!important;place-items:center!important;width:28px!important;height:28px!important;
  border-radius:8px!important;background:var(--rlx-accent)!important;color:var(--rlx-chrome)!important;
  font-size:9px!important;font-weight:950!important;letter-spacing:0!important;
}
.rl-archive-ribbon,.rl-archive-eyebrow{display:none!important}
.rl-archive-hero h1{
  margin:0 0 9px!important;max-width:500px!important;
  font-size:clamp(36px,3.7vw,52px)!important;line-height:.98!important;
  letter-spacing:-1.8px!important;text-wrap:balance!important;
}
.rl-archive-hero-author{
  margin:0 0 18px!important;font-size:15px!important;line-height:1.35!important;
  color:var(--rlx-muted)!important;font-weight:600!important;
}
.rl-archive-hero-summary{
  margin:0!important;max-width:445px!important;color:var(--rlx-text2,var(--rlx-muted))!important;
  font-size:16px!important;line-height:1.58!important;text-wrap:pretty!important;
}
.rl-archive-meta{margin:20px 0 18px!important}
.rl-archive-meta span{font-size:12px!important;padding:7px 10px!important}
.rl-archive-btn{min-height:42px!important;font-size:13.5px!important;padding:11px 16px!important}
.rl-archive-hero-art{min-height:392px!important}
.rl-archive-cover-stack{bottom:-36px!important}
.rl-archive-hero-cover{width:170px!important}
.rl-archive-hero-cover.is-main{width:216px!important}
.rl-archive-hero-nav{left:48px!important;bottom:15px!important}

@media (max-width:1180px){
  .rl-archive-hero-slide{grid-template-columns:380px 1fr!important}
  .rl-archive-hero-copy{padding-left:38px!important}
  .rl-archive-hero-cover{width:145px!important}
  .rl-archive-hero-cover.is-main{width:188px!important}
  .rl-archive-hero-nav{left:38px!important}
}
@media (max-width:820px){
  .rl-archive-hero-frame{min-height:520px!important}
  .rl-archive-hero-slide{grid-template-columns:1fr!important;grid-template-rows:auto 180px!important}
  .rl-archive-hero-copy{padding:30px 26px 12px!important}
  .rl-archive-hero h1{font-size:clamp(34px,10vw,46px)!important;max-width:100%!important}
  .rl-archive-hero-summary{font-size:15px!important;line-height:1.52!important;max-width:100%!important}
  .rl-archive-hero-art{min-height:180px!important}
  .rl-archive-hero-nav{left:26px!important;bottom:12px!important}
}

/* ========================================================================== 
   4.96.1 — Reader OS joins the Archive shell
   The old 232px Reader OS sidebar is retired. All Reader OS routes now use a
   compact media-library rail and a readable top bar that matches Archive Home.
   ========================================================================== */
body.rl-reader-os-v24.rl-archive-shell{
  --rl-ro-rail:76px;
  --rl-ro-top:72px;
  background:radial-gradient(900px 520px at 72% -150px,color-mix(in srgb,var(--rlx-accent) 10%,transparent),transparent 58%),linear-gradient(180deg,var(--rlx-bg),var(--rlx-bg2) 55%,var(--rlx-bg))!important;
  color:var(--rlx-text)!important;
  font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-app{display:block!important;min-height:100vh!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail{
  position:fixed!important;z-index:115!important;left:0!important;top:var(--rl-ro-top)!important;bottom:0!important;
  width:var(--rl-ro-rail)!important;height:auto!important;padding:18px 0 14px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  background:color-mix(in srgb,var(--rlx-chrome) 97%,transparent)!important;border-right:1px solid var(--rlx-line)!important;
  backdrop-filter:blur(16px)!important;color:var(--rlx-chrome-text)!important;
}
body.admin-bar.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail{top:calc(var(--rl-ro-top) + 32px)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-nav{display:flex!important;flex-direction:column!important;gap:8px!important;align-items:center!important;width:100%!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-nav>a,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-profile-mini,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-dock-mini{
  position:relative!important;width:46px!important;height:46px!important;border-radius:14px!important;
  display:grid!important;place-items:center!important;padding:0!important;margin:0!important;
  color:var(--rlx-chrome-muted)!important;background:transparent!important;border:1px solid transparent!important;
  text-decoration:none!important;box-shadow:none!important;
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-nav>a:hover,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-nav>a.is-active,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-profile-mini:hover,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-dock-mini:hover{background:var(--rlx-panel3)!important;color:var(--rlx-text)!important;border-color:color-mix(in srgb,var(--rlx-line) 70%,transparent)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-nav>a.is-active:before{
  content:""!important;position:absolute!important;left:-16px!important;width:4px!important;height:25px!important;border-radius:999px!important;background:linear-gradient(180deg,var(--rlx-accent),var(--rlx-plum))!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-nav>a>span,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-dock-mini>span{font:800 18px/1 Inter,system-ui,sans-serif!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-nav>a>em,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-profile-mini>em,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-dock-mini>em{
  position:absolute!important;left:58px!important;top:50%!important;transform:translateY(-50%) translateX(-5px)!important;
  opacity:0!important;pointer-events:none!important;white-space:nowrap!important;font-style:normal!important;
  padding:7px 9px!important;border-radius:8px!important;background:var(--rlx-panel3)!important;border:1px solid var(--rlx-line)!important;
  color:var(--rlx-text)!important;font:750 11px/1 Inter,system-ui,sans-serif!important;box-shadow:var(--rlx-shadow)!important;transition:.14s!important;z-index:10!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-nav>a:hover>em,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-profile-mini:hover>em,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-dock-mini:hover>em{opacity:1!important;transform:translateY(-50%) translateX(0)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-nav>a>b{
  position:absolute!important;right:-3px!important;top:-3px!important;min-width:19px!important;height:19px!important;padding:0 5px!important;
  display:grid!important;place-items:center!important;border-radius:999px!important;background:var(--rlx-accent)!important;color:var(--rlx-chrome)!important;
  font:900 9px/1 Inter,system-ui,sans-serif!important;border:2px solid var(--rlx-chrome)!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail-bottom{margin-top:auto!important;display:flex!important;flex-direction:column!important;gap:8px!important;align-items:center!important;width:100%!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-profile-mini{grid-template-columns:1fr!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-profile-mini i{
  width:32px!important;height:32px!important;border-radius:10px!important;display:grid!important;place-items:center!important;margin:0!important;
  background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum))!important;color:var(--rlx-chrome)!important;font-style:normal!important;font-weight:900!important;font-size:11px!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-main{min-width:0!important;margin-left:var(--rl-ro-rail)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top{
  position:sticky!important;top:0!important;z-index:105!important;height:var(--rl-ro-top)!important;min-height:var(--rl-ro-top)!important;
  display:grid!important;grid-template-columns:190px minmax(300px,1fr) auto!important;gap:16px!important;align-items:center!important;
  padding:0 22px!important;background:color-mix(in srgb,var(--rlx-chrome) 94%,transparent)!important;border-bottom:1px solid var(--rlx-line)!important;
  backdrop-filter:blur(18px) saturate(120%)!important;color:var(--rlx-chrome-text)!important
}
body.admin-bar.rl-reader-os-v24.rl-archive-shell .rl-ro24-top{top:32px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-logo{
  display:inline-flex!important;align-items:center!important;padding:0!important;color:var(--rlx-chrome-text)!important;
  font:900 22px/1 Inter,system-ui,sans-serif!important;letter-spacing:-.8px!important;white-space:nowrap!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-logo span{color:var(--rlx-accent)!important;margin-left:5px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search{
  width:100%!important;max-width:820px!important;height:46px!important;margin:0!important;padding:0 13px!important;
  display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:8px!important;
  border:1px solid var(--rlx-line)!important;border-radius:14px!important;background:var(--rlx-chrome2)!important;box-shadow:none!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search>span{color:var(--rlx-chrome-muted)!important;font-size:15px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search input{
  min-width:0!important;width:100%!important;height:42px!important;padding:0!important;margin:0!important;border:0!important;outline:0!important;
  background:transparent!important;color:var(--rlx-chrome-text)!important;box-shadow:none!important;font:500 14px/1.2 Inter,system-ui,sans-serif!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search input::placeholder{color:var(--rlx-chrome-muted)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search button{border:0!important;background:transparent!important;color:var(--rlx-accent)!important;font:850 12px/1 Inter,system-ui,sans-serif!important;padding:10px 4px!important;cursor:pointer!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top-actions{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mybooks-chip,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip{
  height:42px!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0 11px!important;
  border:1px solid var(--rlx-line)!important;border-radius:12px!important;background:var(--rlx-chrome2)!important;color:var(--rlx-chrome-text)!important;text-decoration:none!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mybooks-chip{font-size:12px!important;font-weight:800!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip{padding-left:6px!important;max-width:165px!important;min-width:112px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip>i{
  width:30px!important;height:30px!important;border-radius:9px!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;
  background:linear-gradient(135deg,var(--rlx-accent),var(--rlx-plum))!important;color:var(--rlx-chrome)!important;font-style:normal!important;font-size:11px!important;font-weight:900!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip>span{min-width:0!important;display:block!important;line-height:1.05!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip strong,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip strong{font-size:11px!important;color:var(--rlx-chrome-text)!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip small{font-size:9px!important;color:var(--rlx-chrome-muted)!important;margin-top:3px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-appearance{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:12px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content{
  width:min(1480px,100%)!important;max-width:1480px!important;margin:0 auto!important;padding:28px 28px 88px!important;
  color:var(--rlx-text)!important;font-size:16px!important;line-height:1.55!important
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content h1,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content h2,
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content h3{font-family:Inter,system-ui,sans-serif!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content h1{font-size:clamp(38px,4.7vw,60px)!important;line-height:1!important;letter-spacing:-1.9px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content h2{font-size:28px!important;line-height:1.08!important;letter-spacing:-.8px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-cover{display:block!important;aspect-ratio:2/3!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-body strong{font-size:15px!important;line-height:1.3!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-body small{font-size:12px!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-body p{font-size:12.5px!important;line-height:1.45!important}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mobile{display:none!important}

@media(max-width:1180px){
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top{grid-template-columns:150px minmax(260px,1fr) auto!important;gap:12px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mybooks-chip strong{display:none!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip{max-width:46px!important;min-width:46px!important;padding:5px 7px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip>span{display:none!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:900px){
  body.rl-reader-os-v24.rl-archive-shell{--rl-ro-rail:0px;--rl-ro-top:64px}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail{display:none!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-main{margin-left:0!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top{height:64px!important;min-height:64px!important;grid-template-columns:112px minmax(0,1fr) auto!important;padding:0 12px!important;gap:9px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-logo{font-size:18px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search{height:40px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search button{display:none!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mybooks-chip,body.rl-reader-os-v24.rl-archive-shell .rl-ro24-account-chip{display:none!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-appearance{width:40px!important;height:40px!important;flex-basis:40px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-content{padding:20px 15px 82px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mobile{
    position:fixed!important;z-index:150!important;left:0!important;right:0!important;bottom:0!important;height:60px!important;
    display:grid!important;grid-template-columns:repeat(5,1fr)!important;background:color-mix(in srgb,var(--rlx-chrome) 96%,transparent)!important;
    border-top:1px solid var(--rlx-line)!important;backdrop-filter:blur(16px)!important
  }
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-mobile a{display:grid!important;place-items:center!important;color:var(--rlx-chrome-muted)!important;font:750 10px/1.1 Inter,system-ui,sans-serif!important;padding:8px 4px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:782px){
  body.admin-bar.rl-reader-os-v24.rl-archive-shell .rl-ro24-top{top:46px!important}
}
@media(max-width:560px){
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top{grid-template-columns:92px minmax(0,1fr) 40px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-logo{font-size:16px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search{padding:0 10px!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-search input{font-size:12px!important}
}

/* ==========================================================================
   4.98.0 — One rail, one position, every public page
   The Archive/Home rail is now the only desktop left navigation. Reader OS
   never renders or styles a competing sidebar.
   ========================================================================== */
:root{--rl-archive-rail:70px;--rl-archive-top:68px}
body.rl-archive-shell>.rl-archive-rail,
body.rl-reader-os-v24.rl-archive-shell>.rl-archive-rail{
  display:flex!important;
  position:fixed!important;
  z-index:115!important;
  left:0!important;
  top:var(--rl-archive-top)!important;
  bottom:0!important;
  width:var(--rl-archive-rail)!important;
  padding:14px 0 14px!important;
  align-items:center!important;
  background:color-mix(in srgb,var(--rlx-chrome) 97%,transparent)!important;
  border-right:1px solid var(--rlx-line)!important;
  backdrop-filter:blur(16px)!important;
}
body.admin-bar.rl-archive-shell>.rl-archive-rail,
body.admin-bar.rl-reader-os-v24.rl-archive-shell>.rl-archive-rail{
  top:calc(var(--rl-archive-top) + 32px)!important;
}
.rl-archive-rail-main,.rl-archive-rail-bottom{width:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important}
.rl-archive-rail-bottom{margin-top:auto!important}
.rl-archive-rail-link{width:42px!important;height:42px!important;border-radius:12px!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important}
.rl-archive-rail-link.is-active:before{left:-14px!important}

/* Retire all historical Reader OS desktop-sidebar chrome. */
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-rail{display:none!important}
body.rl-reader-os-v24.rl-archive-shell{--rl-ro-rail:var(--rl-archive-rail);--rl-ro-top:var(--rl-archive-top)}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-main{
  margin-left:var(--rl-archive-rail)!important;
  width:calc(100% - var(--rl-archive-rail))!important;
}
body.rl-reader-os-v24.rl-archive-shell .rl-ro24-top{
  height:var(--rl-archive-top)!important;
  min-height:var(--rl-archive-top)!important;
}

@media(max-width:900px){
  :root{--rl-archive-rail:0px}
  body.rl-archive-shell>.rl-archive-rail,
  body.rl-reader-os-v24.rl-archive-shell>.rl-archive-rail{display:none!important}
  body.rl-reader-os-v24.rl-archive-shell .rl-ro24-main{margin-left:0!important;width:100%!important}
}
