/* Kingdom Atmosphere — Official Library v3
   Clear object language: published book, free booklet, collection folder, audio. */
:root{
  --ol3-bg:#f6f1e7;
  --ol3-paper:#fffdf8;
  --ol3-paper-2:#fbf7ef;
  --ol3-ink:#12362c;
  --ol3-ink-2:#203b33;
  --ol3-muted:#6d7a73;
  --ol3-line:rgba(19,57,45,.12);
  --ol3-green:#0b513d;
  --ol3-green-2:#163e31;
  --ol3-gold:#c19032;
  --ol3-gold-soft:#f0e0b9;
  --ol3-free:#197049;
  --ol3-paid:#6f4d17;
  --ol3-side:224px;
  --ol3-shadow:0 12px 30px rgba(28,43,36,.07);
}
*{box-sizing:border-box}
body.ks-official-library-v3{margin:0;background:linear-gradient(135deg,#f8f4eb 0%,#fbf8f2 48%,#f5efe5 100%);color:var(--ol3-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}
.ks-official-library-v3 a{text-decoration:none;color:inherit}
.ks-official-library-v3 button,.ks-official-library-v3 input{font:inherit}
.ks-official-library-v3.ks-has-unified-shell{padding-left:0!important;margin-left:0!important}
.ks-official-library-v3 .ks-unified-sidebar,.ks-official-library-v3 .ks-shell-mobile-trigger,.ks-official-library-v3 .ks-shell-overlay,.ks-official-library-v3 .ks-bible-launcher,.ks-official-library-v3 .ks-launchpad-trigger{display:none!important}

.ol3-shell{min-height:100dvh}
.ol3-topbar{position:sticky;top:0;z-index:70;display:grid;grid-template-columns:260px minmax(280px,720px) 1fr;align-items:center;gap:18px;min-height:70px;padding:10px 22px;border-bottom:1px solid var(--ol3-line);background:rgba(253,250,244,.95);backdrop-filter:blur(18px)}
.ol3-mobile-menu{display:none;width:40px;height:40px;border:1px solid var(--ol3-line);border-radius:11px;background:#fff;color:var(--ol3-ink);cursor:pointer}
.ol3-brand{display:flex;align-items:center;gap:10px}
.ol3-brand-mark{font-size:31px;color:var(--ol3-gold);line-height:1}
.ol3-brand>span:last-child{display:flex;flex-direction:column;line-height:1}
.ol3-brand strong{font:700 19px Georgia,"Times New Roman",serif}
.ol3-brand small{margin-top:5px;color:#66736d;font-size:8px;font-weight:800;letter-spacing:.2em}
.ol3-search{height:45px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid var(--ol3-line);border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(31,48,40,.035)}
.ol3-search>span{font-size:19px;color:#7b8781}
.ol3-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ol3-ink)}
.ol3-search input::placeholder{color:#8c9691}
.ol3-search kbd{padding:4px 7px;border-radius:6px;background:#f1eee7;color:#777f7a;font-size:10px}
.ol3-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.ol3-home,.ol3-launchpad,.ol3-icon,.ol3-signin,.ol3-avatar{height:40px;border:1px solid var(--ol3-line);background:#fff;color:var(--ol3-ink);border-radius:11px}
.ol3-language{height:36px;padding:3px;display:flex;align-items:center;gap:2px;border:1px solid var(--ol3-line);border-radius:10px;background:#fff}.ol3-language a{min-width:31px;height:28px;display:grid;place-items:center;border-radius:7px;font-size:10px;font-weight:900;color:var(--ol3-muted)}.ol3-language a.is-active{background:var(--ol3-green);color:#fff}
.ol3-home,.ol3-launchpad{display:inline-flex;align-items:center;gap:7px;padding:0 13px;font-weight:800}
.ol3-home{color:var(--ol3-green)!important;box-shadow:0 4px 14px rgba(22,57,45,.04)}
.ol3-home:hover{background:#edf4ef;border-color:rgba(11,81,61,.22)}
.ol3-launchpad{cursor:pointer}
.ol3-icon{width:40px;display:grid;place-items:center;cursor:pointer}
.ol3-signin{display:inline-flex;align-items:center;padding:0 14px;font-size:12px;font-weight:800}
.ol3-avatar{width:40px;display:grid;place-items:center;border-radius:50%;background:var(--ol3-green-2);color:#fff;font-weight:900}

.ol3-layout{display:grid;grid-template-columns:var(--ol3-side) minmax(0,1fr);max-width:1720px;margin:0 auto;transition:grid-template-columns .2s ease}
.ol3-side{position:sticky;top:70px;height:calc(100dvh - 70px);overflow:auto;padding:18px 14px 24px;border-right:1px solid var(--ol3-line);background:linear-gradient(180deg,#0c4a38 0%,#0c4a38 58%,#103e32 100%);color:#fff;transition:padding .2s ease}
.ol3-side-toggle{position:absolute;z-index:3;right:10px;top:16px;width:31px;height:31px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center;font-size:20px;line-height:1;cursor:pointer;transition:transform .2s ease,background .15s ease}
.ol3-side-toggle:hover{background:rgba(255,255,255,.15)}
.ol3-side-close{display:none;position:absolute;right:11px;top:11px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:21px}
.ol3-side-title{display:flex;align-items:center;gap:10px;padding:2px 40px 16px 4px}
.ol3-side-emblem{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.1);color:#f2c66d;font-size:18px}
.ol3-side-title div{display:flex;flex-direction:column}
.ol3-side-title strong{font-family:Georgia,"Times New Roman",serif;font-size:16px}
.ol3-side-title small{margin-top:3px;color:rgba(255,255,255,.65);font-size:9px}
.ol3-nav{display:grid;gap:4px}
.ol3-nav a,.ol3-nav button{min-height:42px;display:flex;align-items:center;gap:11px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:rgba(255,255,255,.88);text-align:left;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.ol3-nav a:hover,.ol3-nav button:hover,.ol3-nav .is-active{background:rgba(255,255,255,.11);color:#fff}
.ol3-nav span:first-child{width:20px;text-align:center;color:#efc56d}

/* Desktop sidebar: expanded navigation or compact icon rail. */
.ol3-shell.ol3-sidebar-collapsed .ol3-layout{grid-template-columns:72px minmax(0,1fr)}
.ol3-shell.ol3-sidebar-collapsed .ol3-side{padding-left:10px;padding-right:10px}
.ol3-shell.ol3-sidebar-collapsed .ol3-side-toggle{right:20px;transform:rotate(180deg)}
.ol3-shell.ol3-sidebar-collapsed .ol3-side-title{justify-content:center;padding:44px 0 14px}
.ol3-shell.ol3-sidebar-collapsed .ol3-side-title>div,
.ol3-shell.ol3-sidebar-collapsed .ol3-nav a span:nth-child(2),
.ol3-shell.ol3-sidebar-collapsed .ol3-nav button span:nth-child(2),
.ol3-shell.ol3-sidebar-collapsed .ol3-side-note,
.ol3-shell.ol3-sidebar-collapsed .ol3-verse{display:none}
.ol3-shell.ol3-sidebar-collapsed .ol3-nav a,
.ol3-shell.ol3-sidebar-collapsed .ol3-nav button{width:48px;min-height:46px;margin:0 auto;padding:0;justify-content:center}
.ol3-shell.ol3-sidebar-collapsed .ol3-nav span:first-child{width:auto;font-size:16px}
.ol3-shell.ol3-sidebar-collapsed .ol3-side-emblem{width:42px;height:42px}

.ol3-side-note{margin:20px 7px 0;padding:16px 0;border-top:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.13)}
.ol3-side-note>span{font-size:9px;font-weight:900;letter-spacing:.16em;color:#f0c66d}
.ol3-side-note p{margin:9px 0 0;color:rgba(255,255,255,.68);font-size:10px;line-height:1.55}
.ol3-side-note b{color:#fff}
.ol3-verse{margin:18px 7px 0;padding:0}
.ol3-verse p{margin:0;font:italic 13px/1.5 Georgia,"Times New Roman",serif;color:rgba(255,255,255,.91)}
.ol3-verse cite{display:block;margin-top:8px;color:#f0c66d;font:800 8px Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase}

.ol3-main{min-width:0;padding:26px 30px 60px}
.ol3-intro{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px;align-items:end;max-width:1320px;margin:0 auto 24px}
.ol3-kicker,.ol3-section-head>div>span{display:block;margin-bottom:7px;color:#a8761f;font-size:9px;font-weight:900;letter-spacing:.17em}
.ol3-intro h1{margin:0;font:700 clamp(38px,4vw,58px)/.98 Georgia,"Times New Roman",serif;letter-spacing:-.045em}
.ol3-intro>div>p{max-width:700px;margin:9px 0 0;color:var(--ol3-muted);font-size:14px;line-height:1.5}
.ol3-intro blockquote{margin:0 0 5px;padding-left:17px;border-left:2px solid #d2a145;color:#52625b;font:italic 16px/1.45 Georgia,"Times New Roman",serif}
.ol3-intro cite{display:block;margin-top:7px;font:800 8px Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#818984}

.ol3-featured,.ol3-browse,.ol3-audio{max-width:1320px;margin:0 auto}
.ol3-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}
.ol3-section-head h2{margin:0;font:700 25px/1.06 Georgia,"Times New Roman",serif;letter-spacing:-.025em}
.ol3-section-head>small{color:var(--ol3-muted);font-size:10px}
.ol3-featured-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ol3-feature-card{min-height:238px;display:grid;grid-template-columns:154px minmax(0,1fr);gap:21px;padding:20px;border:1px solid var(--ol3-line);border-radius:18px;background:rgba(255,253,248,.92);box-shadow:var(--ol3-shadow);overflow:hidden;position:relative}
.ol3-feature-card.is-booklet{background:linear-gradient(135deg,#fffdf8 0%,#f4f7f1 100%)}
.ol3-feature-object{display:flex;align-items:center;justify-content:center;min-width:0}
.ol3-object-cover{position:relative;width:128px;height:184px;display:block;border-radius:5px 10px 10px 5px;background:#173f32;overflow:hidden;box-shadow:-7px 10px 24px rgba(28,40,33,.2),inset 7px 0 rgba(255,255,255,.08),inset -4px 0 rgba(0,0,0,.12)}
.ol3-object-cover:before{content:"";position:absolute;z-index:2;left:7px;top:0;bottom:0;width:1px;background:rgba(255,255,255,.24)}
.ol3-object-cover img{width:100%;height:100%;object-fit:cover}
.ol3-feature-card.is-booklet .ol3-object-cover{width:140px;height:164px;border-radius:5px;transform:rotate(-1deg);box-shadow:0 10px 20px rgba(31,49,39,.16),8px 7px 0 #efe9dc}
.ol3-feature-card.is-booklet .ol3-object-cover:before{display:none}
.ol3-object-cover.is-generated{display:flex;flex-direction:column;justify-content:space-between;padding:17px 14px;background:linear-gradient(145deg,#245b48,#113e31);color:#fff}
.ol3-object-cover.is-generated small{font-size:7px;letter-spacing:.1em;text-transform:uppercase;opacity:.78}
.ol3-object-cover.is-generated strong{font:700 20px/1.03 Georgia,"Times New Roman",serif}
.ol3-object-cover.is-generated em{font-style:normal;font-size:7px;opacity:.75}
.ol3-feature-copy{align-self:center}
.ol3-badges{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ol3-format-badge,.ol3-access-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.09em}
.ol3-format-badge{background:#ece8dd;color:#5f655f}
.ol3-access-badge.is-free{background:#e4f3e9;color:#17643e}
.ol3-access-badge.is-paid{background:#f3e8cf;color:#755315}
.ol3-access-badge.is-included{background:#e8eef2;color:#315665}
.ol3-feature-copy h3{margin:10px 0 0;font:700 26px/1.04 Georgia,"Times New Roman",serif;letter-spacing:-.025em}
.ol3-feature-copy>p{margin:8px 0 0;color:#5f6d67;font-size:12px;line-height:1.48}
.ol3-meta{display:flex;gap:13px;flex-wrap:wrap;margin-top:12px;color:#7c8681;font-size:9px}
.ol3-feature-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px}
.ol3-primary,.ol3-secondary,.ol3-save,.ol3-bible{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:10px;font-size:10px;font-weight:850}
.ol3-primary{gap:8px;padding:0 14px;background:var(--ol3-green);color:#fff!important}
.ol3-secondary{padding:0 13px;border:1px solid var(--ol3-line);background:#fff}
.ol3-save,.ol3-bible{width:38px;border:1px solid var(--ol3-line);background:#fff;color:var(--ol3-green);cursor:pointer}.ol3-feature-actions .ol3-bible{width:auto;padding:0 12px;gap:5px}

.ol3-browse{margin-top:30px}
.ol3-browse-head{align-items:center}
.ol3-view{display:flex;padding:3px;border:1px solid var(--ol3-line);border-radius:10px;background:#fff}
.ol3-view button{width:36px;height:32px;border:0;border-radius:7px;background:transparent;color:#7b8781;cursor:pointer}
.ol3-view button.is-active{background:#e7eee9;color:var(--ol3-green)}
.ol3-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.ol3-filter-row{display:flex;gap:7px;flex-wrap:wrap}
.ol3-filter{min-height:34px;padding:0 12px;border:1px solid var(--ol3-line);border-radius:999px;background:rgba(255,253,248,.88);color:#52645c;font-size:10px;font-weight:800;cursor:pointer}
.ol3-filter.is-active{background:var(--ol3-green);border-color:var(--ol3-green);color:#fff}
.ol3-type-key{display:flex;gap:13px;color:#76817c;font-size:9px;white-space:nowrap}
.ol3-type-key span{display:flex;align-items:center;gap:6px}
.ol3-type-key i{display:inline-block}
.ol3-type-key i.is-book{width:10px;height:14px;border-radius:1px 3px 3px 1px;background:#305b4c;box-shadow:inset 2px 0 rgba(255,255,255,.35)}
.ol3-type-key i.is-booklet{width:13px;height:10px;border:1px solid #6a8b7e;background:#edf2ee;box-shadow:3px 2px 0 #ddd6c9}
.ol3-type-key i.is-folder{width:15px;height:10px;border-radius:2px;background:#d1a44f;position:relative}
.ol3-type-key i.is-folder:before{content:"";position:absolute;left:0;top:-3px;width:7px;height:4px;border-radius:2px 2px 0 0;background:#d1a44f}

.ol3-resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.ol3-resource-card{position:relative;min-width:0;border:1px solid var(--ol3-line);border-radius:16px;background:rgba(255,253,248,.92);box-shadow:0 7px 20px rgba(26,44,36,.045);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.ol3-resource-card:hover{transform:translateY(-2px);box-shadow:var(--ol3-shadow)}
.ol3-resource-card.ol-hidden{display:none!important}
.ol3-card-menu{position:absolute;z-index:5;right:10px;top:10px;width:31px;height:31px;border:1px solid rgba(25,50,41,.08);border-radius:50%;background:rgba(255,255,255,.92);color:#4a5c54;cursor:pointer}
.ol3-resource-object{height:190px;display:flex;align-items:center;justify-content:center;padding:19px;background:linear-gradient(155deg,#f5f0e6 0%,#eee6d8 100%);overflow:hidden}
.ol3-resource-card.is-booklet .ol3-resource-object{background:linear-gradient(155deg,#eef4ef 0%,#f8f4e9 100%)}
.ol3-resource-card.is-folder .ol3-resource-object{align-items:flex-end;background:linear-gradient(155deg,#f6f0e4 0%,#efe5d3 100%)}
.ol3-physical{position:relative;display:block;overflow:hidden;background:#163f31}
.ol3-physical.is-book{width:105px;height:151px;border-radius:4px 8px 8px 4px;box-shadow:-6px 9px 18px rgba(24,40,33,.2),inset 6px 0 rgba(255,255,255,.08),inset -3px 0 rgba(0,0,0,.16)}
.ol3-physical.is-book:before{content:"";position:absolute;z-index:2;left:6px;top:0;bottom:0;width:1px;background:rgba(255,255,255,.24)}
.ol3-physical.is-booklet{width:119px;height:137px;border-radius:4px;box-shadow:0 9px 16px rgba(24,40,33,.15),7px 5px 0 #ddd5c7;transform:rotate(-1deg)}
.ol3-physical img{width:100%;height:100%;object-fit:cover}
.ol3-generated-cover{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:12px;color:#fff;background:linear-gradient(145deg,#255b49,#123f32)}
.ol3-generated-cover small{font-size:6px;letter-spacing:.08em;text-transform:uppercase}
.ol3-generated-cover strong{font:700 16px/1.03 Georgia,"Times New Roman",serif}
.ol3-generated-cover em{font-style:normal;font-size:6px;opacity:.75}
.ol3-folder-object{position:relative;width:84%;height:122px;padding:39px 18px 15px;border-radius:5px 9px 9px 9px;background:linear-gradient(145deg,#c99942,#b57e25);color:#fff;box-shadow:0 12px 19px rgba(90,62,16,.16),inset 0 1px rgba(255,255,255,.25)}
.ol3-folder-object.is-series{background:linear-gradient(145deg,#1e5a4a,#113f34);box-shadow:0 12px 19px rgba(16,64,49,.18),inset 0 1px rgba(255,255,255,.22)}
.ol3-folder-tab{position:absolute;left:0;top:-17px;min-width:88px;height:25px;padding:0 13px;display:flex;align-items:center;border-radius:7px 7px 0 0;background:inherit;color:rgba(255,255,255,.82);font-size:7px;font-weight:900;letter-spacing:.12em}
.ol3-folder-pages{position:absolute;right:15px;top:17px;display:flex;gap:3px}
.ol3-folder-pages i{width:18px;height:25px;border-radius:2px;background:rgba(255,255,255,.86);box-shadow:0 2px 5px rgba(0,0,0,.08)}
.ol3-folder-pages i:nth-child(2){transform:translateY(3px)}
.ol3-folder-pages i:nth-child(3){transform:translateY(6px)}
.ol3-folder-object strong{position:relative;z-index:2;display:block;max-width:70%;font:700 17px/1.05 Georgia,"Times New Roman",serif}
.ol3-folder-object small{position:absolute;left:18px;bottom:14px;font-size:8px;opacity:.75}
.ol3-card-copy{padding:14px 14px 13px}
.ol3-card-copy h3{margin:9px 0 0;font:700 17px/1.08 Georgia,"Times New Roman",serif;letter-spacing:-.016em}
.ol3-card-copy>p{min-height:32px;margin:5px 0 0;color:#66736d;font-size:10px;line-height:1.45}
.ol3-card-meta{display:flex;justify-content:space-between;gap:10px;margin-top:10px;color:#818983;font-size:8px}
.ol3-card-actions{display:flex;align-items:center;gap:6px;margin-top:12px}
.ol3-card-actions .ol3-primary{flex:1}
.ol3-card-actions .ol3-secondary{min-width:62px}
.ol3-card-actions .ol3-save,.ol3-card-actions .ol3-bible{flex:0 0 38px}

.ol3-empty{padding:45px 22px;border:1px dashed var(--ol3-line);border-radius:15px;text-align:center;color:var(--ol3-muted)}
.ol3-audio{margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid var(--ol3-line);border-radius:15px;background:linear-gradient(135deg,#eef3ef,#f7f2e8)}
.ol3-audio>div{display:flex;align-items:center;gap:13px}
.ol3-audio>div>span{width:42px;height:42px;border-radius:50%;background:var(--ol3-green);color:#fff;display:grid;place-items:center}
.ol3-audio strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:16px}
.ol3-audio p{margin:4px 0 0;color:#69766f;font-size:10px}
.ol3-audio>small{color:#7c8781;font-size:9px;font-weight:800}

.ol3-backdrop{display:none}
.ol3-context{position:fixed;z-index:3000;min-width:180px;padding:6px;border:1px solid var(--ol3-line);border-radius:11px;background:#fff;box-shadow:0 16px 38px rgba(17,35,28,.18)}
.ol3-context a,.ol3-context button{width:100%;display:flex;align-items:center;gap:9px;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#27463b;text-align:left;font-size:11px;cursor:pointer}
.ol3-context a:hover,.ol3-context button:hover{background:#eef3ef}

/* List view keeps object identity visible rather than flattening everything into identical rows. */
.ol3-shell.ol-list-view .ol3-resource-grid{grid-template-columns:1fr}
.ol3-shell.ol-list-view .ol3-resource-card{display:grid;grid-template-columns:160px minmax(0,1fr)}
.ol3-shell.ol-list-view .ol3-resource-object{height:150px}
.ol3-shell.ol-list-view .ol3-card-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto auto;column-gap:20px;align-content:center}
.ol3-shell.ol-list-view .ol3-badges,.ol3-shell.ol-list-view .ol3-card-copy h3,.ol3-shell.ol-list-view .ol3-card-copy>p,.ol3-shell.ol-list-view .ol3-card-meta{grid-column:1}
.ol3-shell.ol-list-view .ol3-card-actions{grid-column:2;grid-row:1/5;align-self:center}
.ol3-shell.ol-list-view .ol3-card-copy>p{min-height:0;max-width:720px}

@media(max-width:1220px){
  .ol3-topbar{grid-template-columns:220px minmax(260px,1fr) auto}
  .ol3-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ol3-feature-card{grid-template-columns:135px minmax(0,1fr);padding:17px}
  .ol3-object-cover{width:112px;height:162px}
  .ol3-feature-card.is-booklet .ol3-object-cover{width:120px;height:145px}
  .ol3-type-key{display:none}
}
@media(max-width:960px){
  .ol3-layout,.ol3-shell.ol3-sidebar-collapsed .ol3-layout{grid-template-columns:1fr}
  .ol3-side-toggle{display:none}
  .ol3-shell.ol3-sidebar-collapsed .ol3-side{padding:60px 14px 24px}
  .ol3-shell.ol3-sidebar-collapsed .ol3-side-title{justify-content:flex-start;padding:2px 4px 16px}
  .ol3-shell.ol3-sidebar-collapsed .ol3-side-title>div{display:flex}
  .ol3-shell.ol3-sidebar-collapsed .ol3-nav a span:nth-child(2),
  .ol3-shell.ol3-sidebar-collapsed .ol3-nav button span:nth-child(2){display:inline}
  .ol3-shell.ol3-sidebar-collapsed .ol3-side-note,
  .ol3-shell.ol3-sidebar-collapsed .ol3-verse{display:block}
  .ol3-shell.ol3-sidebar-collapsed .ol3-nav a,
  .ol3-shell.ol3-sidebar-collapsed .ol3-nav button{width:auto;min-height:42px;margin:0;padding:0 12px;justify-content:flex-start}
  .ol3-shell.ol3-sidebar-collapsed .ol3-nav span:first-child{width:20px;font-size:inherit}
  .ol3-shell.ol3-sidebar-collapsed .ol3-side-emblem{width:38px;height:38px}
  .ol3-side{position:fixed;z-index:120;left:0;top:0;width:min(300px,86vw);height:100dvh;transform:translateX(-102%);transition:transform .2s ease;padding-top:60px}
  .ol3-side.is-open{transform:none}
  .ol3-side-close{display:grid;place-items:center}
  .ol3-backdrop{position:fixed;z-index:110;inset:0;background:rgba(8,19,15,.48)}
  .ol3-backdrop.is-open{display:block}
  .ol3-topbar{grid-template-columns:auto minmax(0,1fr) auto}
  .ol3-mobile-menu{display:grid;place-items:center}
  .ol3-brand{display:none}
  .ol3-main{padding:23px 20px 80px}
  .ol3-intro{grid-template-columns:1fr}
  .ol3-intro blockquote{display:none}
  .ol3-featured-grid{grid-template-columns:1fr}
  .ol3-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .ol3-topbar{gap:8px;padding:8px 10px;min-height:62px}
  .ol3-home span:last-child,.ol3-launchpad span:last-child,.ol3-search kbd{display:none}
  .ol3-home,.ol3-launchpad{width:40px;padding:0;justify-content:center}
  .ol3-icon{display:none}
  .ol3-signin{padding:0 10px}
  .ol3-main{padding:18px 12px 84px}
  .ol3-intro{margin-bottom:18px}
  .ol3-intro h1{font-size:39px}
  .ol3-intro>div>p{font-size:12px}
  .ol3-section-head{align-items:center}
  .ol3-feature-card{grid-template-columns:108px minmax(0,1fr);gap:14px;min-height:205px;padding:14px}
  .ol3-object-cover{width:90px;height:132px}
  .ol3-feature-card.is-booklet .ol3-object-cover{width:96px;height:116px}
  .ol3-feature-copy h3{font-size:20px}
  .ol3-feature-copy>p{display:none}
  .ol3-meta{font-size:8px;gap:8px}
  .ol3-feature-actions{margin-top:11px}
  .ol3-feature-actions .ol3-secondary{display:none}
  .ol3-controls{align-items:flex-start;flex-direction:column}
  .ol3-filter-row{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px;scrollbar-width:none}
  .ol3-filter-row::-webkit-scrollbar{display:none}
  .ol3-filter{white-space:nowrap}
  .ol3-resource-grid{grid-template-columns:1fr}
  .ol3-resource-card{display:grid;grid-template-columns:132px minmax(0,1fr)}
  .ol3-resource-object{height:100%;min-height:170px;padding:14px}
  .ol3-physical.is-book{width:84px;height:122px}
  .ol3-physical.is-booklet{width:92px;height:106px}
  .ol3-folder-object{width:104px;height:92px;padding:30px 11px 10px}
  .ol3-folder-tab{min-width:70px;height:20px;top:-13px;padding:0 9px}
  .ol3-folder-pages{right:9px;top:11px}.ol3-folder-pages i{width:13px;height:18px}
  .ol3-folder-object strong{font-size:12px;max-width:72%}
  .ol3-folder-object small{left:11px;bottom:10px;font-size:7px}
  .ol3-card-copy{padding:12px}
  .ol3-card-copy>p{display:none}
  .ol3-card-meta{flex-direction:column;gap:3px}
  .ol3-card-actions .ol3-secondary{display:none}
  .ol3-card-menu{right:8px;top:8px}
  .ol3-audio{align-items:flex-start;flex-direction:column}
  .ol3-shell.ol-list-view .ol3-resource-card{grid-template-columns:132px minmax(0,1fr)}
  .ol3-shell.ol-list-view .ol3-resource-object{height:auto}
  .ol3-shell.ol-list-view .ol3-card-copy{display:block}
  .ol3-shell.ol-list-view .ol3-card-actions{display:flex}
}
html[data-theme="dark"]{
  --ol3-bg:#0c1511;
  --ol3-paper:#14211b;
  --ol3-paper-2:#18261f;
  --ol3-ink:#eef5f1;
  --ol3-ink-2:#d6e3dc;
  --ol3-muted:#9caaa3;
  --ol3-line:rgba(255,255,255,.1);
}
html[data-theme="dark"] body.ks-official-library-v3{background:linear-gradient(135deg,#0b1410,#111b16)}
html[data-theme="dark"] .ol3-topbar{background:rgba(14,23,18,.96)}
html[data-theme="dark"] .ol3-search,html[data-theme="dark"] .ol3-home,html[data-theme="dark"] .ol3-launchpad,html[data-theme="dark"] .ol3-icon,html[data-theme="dark"] .ol3-signin,html[data-theme="dark"] .ol3-language,html[data-theme="dark"] .ol3-feature-card,html[data-theme="dark"] .ol3-resource-card,html[data-theme="dark"] .ol3-view,html[data-theme="dark"] .ol3-filter:not(.is-active),html[data-theme="dark"] .ol3-secondary,html[data-theme="dark"] .ol3-save,html[data-theme="dark"] .ol3-bible,html[data-theme="dark"] .ol3-context{background:#14211b;color:#eef5f1}
html[data-theme="dark"] .ol3-resource-object{background:linear-gradient(155deg,#1c2a23,#16211c)}
html[data-theme="dark"] .ol3-resource-card.is-booklet .ol3-resource-object{background:linear-gradient(155deg,#1d2d25,#1b261f)}
html[data-theme="dark"] .ol3-resource-card.is-folder .ol3-resource-object{background:linear-gradient(155deg,#2c261c,#1f1d18)}
html[data-theme="dark"] .ol3-audio{background:linear-gradient(135deg,#15241d,#1c231d)}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}


/* 2026-09-20 — library density + fixed sidebar alignment
   Keeps the existing visual language; only tightens scale and makes the desktop rail behave like the rest of Kingdom Atmosphere. */
@media(min-width:961px){
  .ol3-layout{
    display:block;
    width:100%;
    max-width:none;
    margin:0;
  }
  .ol3-side{
    position:fixed;
    left:0;
    top:64px;
    z-index:65;
    width:var(--ol3-side);
    height:calc(100dvh - 64px);
    padding:15px 12px 20px;
    overflow:auto;
    overscroll-behavior:contain;
    transition:width .2s ease,padding .2s ease;
  }
  .ol3-main{
    width:auto;
    margin-left:var(--ol3-side);
    padding:22px 26px 54px;
    transition:margin-left .2s ease;
  }
  .ol3-shell.ol3-sidebar-collapsed .ol3-side{
    width:72px;
    padding-left:10px;
    padding-right:10px;
  }
  .ol3-shell.ol3-sidebar-collapsed .ol3-main{margin-left:72px}
  .ol3-side-toggle{
    position:fixed;
    left:calc(var(--ol3-side) - 16px);
    right:auto;
    top:82px;
    width:32px;
    height:32px;
    border-radius:999px;
    box-shadow:0 8px 22px rgba(8,31,24,.18);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    transition:left .2s ease,transform .2s ease,background .15s ease;
  }
  .ol3-shell.ol3-sidebar-collapsed .ol3-side-toggle{
    left:56px;
    right:auto;
  }
}
@media(min-width:961px){
  .ol3-topbar{min-height:64px;padding:8px 18px;grid-template-columns:238px minmax(280px,680px) 1fr;gap:14px}
  .ol3-brand-mark{font-size:28px}
  .ol3-brand strong{font-size:18px}
  .ol3-search{height:41px}
  .ol3-home,.ol3-launchpad,.ol3-icon,.ol3-signin,.ol3-avatar{height:37px}
  .ol3-avatar,.ol3-icon{width:37px}
  .ol3-side-title{padding-bottom:13px}
  .ol3-side-emblem{width:34px;height:34px}
  .ol3-nav a,.ol3-nav button{min-height:38px;font-size:11px}
  .ol3-side-note{margin-top:16px;padding:13px 0}
  .ol3-side-note p{font-size:9px}
  .ol3-verse{margin-top:14px}
  .ol3-verse p{font-size:12px}
  .ol3-intro{margin-bottom:20px}
  .ol3-intro h1{font-size:clamp(34px,3.4vw,50px)}
  .ol3-featured-grid{gap:12px}
  .ol3-feature-card{min-height:220px;grid-template-columns:142px minmax(0,1fr);gap:18px;padding:17px}
  .ol3-object-cover{width:118px;height:170px}
  .ol3-feature-card.is-booklet .ol3-object-cover{width:128px;height:150px}
  .ol3-feature-copy h3{font-size:23px}
  .ol3-feature-copy>p{font-size:11px}
  .ol3-browse{margin-top:25px}
  .ol3-resource-object{height:174px;padding:16px}
  .ol3-physical.is-book{width:96px;height:139px}
  .ol3-physical.is-booklet{width:108px;height:126px}
  .ol3-folder-object{height:112px}
  .ol3-card-copy{padding:12px}
  .ol3-card-copy h3{font-size:16px}
}



/* Believer's Essentials booklet covers — crop from the existing collection artwork.
   No new artwork: both first booklets use believers-essentials-collection.png. */
.ol3-object-cover.is-collection-crop img,
.ol3-physical.is-collection-crop img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  max-width:none!important;
  transform:scale(3.05);
}
.ol3-object-cover.is-collection-crop.is-believers-essentials img,
.ol3-physical.is-collection-crop.is-believers-essentials img{
  transform-origin:18% 18%;
}
.ol3-object-cover.is-collection-crop.is-the-ancient-lie img,
.ol3-physical.is-collection-crop.is-the-ancient-lie img{
  transform-origin:38% 17%;
}


/* 2026-09-24 — compact browse cards + verified booklet cover windows */
/* Uses the existing Believer's Essentials collection artwork; no replacement artwork is generated. */
.ol3-object-cover.is-collection-crop,
.ol3-physical.is-collection-crop{position:relative;overflow:hidden}
.ol3-object-cover.is-collection-crop img,
.ol3-physical.is-collection-crop img{
  position:absolute!important;
  width:500%!important;
  height:auto!important;
  max-width:none!important;
  object-fit:initial!important;
  transform:none!important;
  transform-origin:center!important;
}
.ol3-object-cover.is-collection-crop.is-believers-essentials img,
.ol3-physical.is-collection-crop.is-believers-essentials img{left:-36%!important;top:-29%!important}
.ol3-object-cover.is-collection-crop.is-the-ancient-lie img,
.ol3-physical.is-collection-crop.is-the-ancient-lie img{left:-132%!important;top:-24%!important}

@media(min-width:961px){
  .ol3-browse{margin-top:20px}
  .ol3-browse-head{margin-bottom:8px}
  .ol3-browse-head h2{font-size:22px;line-height:1.04}
  .ol3-controls{gap:8px;margin-bottom:11px}
  .ol3-filter{min-height:34px;padding:0 12px;font-size:10px}
  .ol3-resource-grid{gap:11px}
  .ol3-resource-card{border-radius:15px}
  .ol3-resource-object{height:142px;padding:11px}
  .ol3-physical.is-book{width:82px;height:119px}
  .ol3-physical.is-booklet{width:86px;height:102px;box-shadow:0 7px 14px rgba(24,40,33,.14),5px 4px 0 #ddd5c7}
  .ol3-card-copy{padding:10px 11px 11px}
  .ol3-badges{gap:5px}
  .ol3-format-badge,.ol3-access-badge{min-height:20px;padding:0 7px;font-size:7px}
  .ol3-card-copy h3{margin-top:7px;font-size:15px;line-height:1.06}
  .ol3-card-copy>p{min-height:24px;margin-top:4px;font-size:9px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .ol3-card-meta{margin-top:7px;gap:8px;font-size:7.5px}
  .ol3-card-actions{margin-top:9px;gap:5px;flex-wrap:nowrap}
  .ol3-card-actions>a,.ol3-card-actions>button{min-height:32px!important;border-radius:9px!important;font-size:8.5px!important}
  .ol3-card-actions .ol3-primary,.ol3-card-actions .ol3-secondary{min-width:0;padding:0 9px;white-space:nowrap}
  .ol3-card-actions .ol3-save,.ol3-card-actions .ol3-bible{flex:0 0 32px;width:32px;padding:0!important}
  .ol3-card-menu{top:8px;right:8px;width:30px;height:30px}
}
@media(max-width:680px){
  .ol3-object-cover.is-collection-crop img,
  .ol3-physical.is-collection-crop img{width:500%!important}
  .ol3-resource-card{border-radius:14px}
  .ol3-resource-object{min-height:148px;padding:11px}
  .ol3-card-copy{padding:11px}
  .ol3-card-copy h3{font-size:16px}
  .ol3-card-actions{gap:5px;flex-wrap:wrap}
  .ol3-card-actions>a,.ol3-card-actions>button{min-height:34px}
}

/* CHRIST IS RISEN GENERATED COVER — premium fallback until the print artwork is deployed */
.ol3-object-cover.is-generated.christ-risen,
.ol3-generated-cover.christ-risen{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 76% 32%,rgba(255,218,130,.78) 0 2%,rgba(255,185,70,.30) 3% 10%,transparent 27%),
    radial-gradient(ellipse at 72% 46%,rgba(255,245,214,.18),transparent 35%),
    linear-gradient(160deg,#081016 0%,#10171a 33%,#332012 67%,#080b0d 100%);
  border:1px solid rgba(224,177,79,.42);
  box-shadow:inset 0 0 42px rgba(0,0,0,.42);
}
.ol3-object-cover.is-generated.christ-risen::before,
.ol3-generated-cover.christ-risen::before{
  content:"";
  position:absolute;
  right:14%;
  bottom:23%;
  width:2px;
  height:30%;
  background:#d7a340;
  box-shadow:0 0 12px rgba(246,192,84,.55);
}
.ol3-object-cover.is-generated.christ-risen::after,
.ol3-generated-cover.christ-risen::after{
  content:"";
  position:absolute;
  right:7.5%;
  bottom:40%;
  width:15%;
  height:2px;
  background:#d7a340;
  box-shadow:0 0 12px rgba(246,192,84,.55);
}
.ol3-object-cover.is-generated.christ-risen small,
.ol3-generated-cover.christ-risen small{position:relative;z-index:1;color:#e9bd61;opacity:.92}
.ol3-object-cover.is-generated.christ-risen strong,
.ol3-generated-cover.christ-risen strong{
  position:relative;
  z-index:1;
  max-width:78%;
  color:#fff7e7;
  text-shadow:0 2px 18px rgba(0,0,0,.65);
}
.ol3-object-cover.is-generated.christ-risen em,
.ol3-generated-cover.christ-risen em{position:relative;z-index:1;color:#f1cf8a;opacity:.95}

/* Phone layout: keep search, purchase links, descriptions and actions usable. */
@media(max-width:680px){
  .ol3-topbar{grid-template-columns:44px minmax(0,1fr);gap:8px;padding:9px 12px}
  .ol3-mobile-menu{width:44px;height:44px}
  .ol3-search{min-width:0;height:44px}
  .ol3-search input{font-size:16px}
  .ol3-top-actions{grid-column:1/-1;min-width:0;justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}
  .ol3-top-actions>*{flex:none}
  .ol3-main{padding-inline:clamp(12px,4vw,20px)}
  .ol3-intro h1{font-size:clamp(32px,9vw,39px);line-height:1.08}
  .ol3-intro>div>p,.ol3-feature-copy>p{font-size:14px;line-height:1.5}
  .ol3-feature-copy>p{display:block}
  .ol3-meta,.ol3-card-meta{font-size:12px;line-height:1.4}
  .ol3-card-copy>p{display:block;min-height:0;font-size:13px;line-height:1.45}
  .ol3-primary,.ol3-secondary,.ol3-save,.ol3-bible{min-height:44px;font-size:13px}
  .ol3-save,.ol3-bible{width:44px}
  .ol3-card-menu{width:44px;height:44px}
  .ol3-card-actions{flex-wrap:wrap}
  .ol3-card-actions .ol3-primary{flex:1 1 auto}
  .ol3-card-actions .ol3-secondary{display:inline-flex}
  .ol3-card-actions .ol3-save,.ol3-card-actions .ol3-bible{flex-basis:44px}
  .ol3-feature-actions .ol3-secondary{display:inline-flex}
  .ol3-filter{min-height:44px;font-size:12px}
  .ol3-context a,.ol3-context button{min-height:44px;font-size:14px}
}
@media(max-width:400px){
  .ol3-feature-card{grid-template-columns:90px minmax(0,1fr);gap:10px;padding:12px}
  .ol3-object-cover{width:78px;height:114px}
  .ol3-feature-card.is-booklet .ol3-object-cover{width:80px;height:100px}
  .ol3-feature-copy h3{font-size:19px}
  .ol3-resource-card,.ol3-shell.ol-list-view .ol3-resource-card{grid-template-columns:105px minmax(0,1fr)}
  .ol3-resource-object{padding:8px}
  .ol3-physical.is-book{width:72px;height:104px}
  .ol3-physical.is-booklet{width:78px;height:90px}
  .ol3-folder-object{width:86px;height:86px;padding:27px 8px 8px}
  .ol3-card-copy{min-width:0;padding:10px}
  .ol3-card-actions .ol3-primary,.ol3-card-actions .ol3-secondary{flex:1 1 100%}
}


/* 2026-09-24 — compact browse cards + verified booklet cover windows */
/* Uses the existing Believer's Essentials collection artwork; no replacement artwork is generated. */
.ol3-object-cover.is-collection-crop,
.ol3-physical.is-collection-crop{position:relative;overflow:hidden}
.ol3-object-cover.is-collection-crop img,
.ol3-physical.is-collection-crop img{
  position:absolute!important;
  width:500%!important;
  height:auto!important;
  max-width:none!important;
  object-fit:initial!important;
  transform:none!important;
  transform-origin:center!important;
}

/* 2026-09-25 — compact responsive top actions.
   Avoid the oversized horizontal pill-strip anomaly on tablet/phone. */
@media(max-width:900px){
  .ol3-top-actions{
    min-width:0!important;
    width:auto!important;
    margin-left:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    overflow:visible!important;
    padding:0!important;
    scrollbar-width:none!important;
  }
  .ol3-top-actions::-webkit-scrollbar{display:none}
  .ol3-top-actions>*{flex:0 0 auto!important}
  .ol3-home,.ol3-launchpad,.ol3-icon,.ol3-avatar{height:38px!important}
  .ol3-home,.ol3-launchpad{width:38px!important;padding:0!important;justify-content:center!important}
  .ol3-home span:last-child,.ol3-launchpad span:last-child{display:none!important}
  .ol3-avatar,.ol3-icon{width:38px!important}
}
@media(max-width:680px){
  .ol3-topbar{
    grid-template-columns:44px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:7px!important;
    padding:8px 10px!important;
  }
  .ol3-top-actions{
    grid-column:auto!important;
    max-width:max-content!important;
  }
  /* Home is already present in the unified sidebar/mobile drawer. Remove only
     this duplicate topbar button on phones; the route itself remains available. */
  .ol3-home{display:none!important}
  .ol3-icon{display:none!important}
  .ol3-launchpad{display:inline-flex!important}
  .ol3-language{height:38px!important}
  .ol3-language a{min-width:32px!important;height:34px!important;padding:0 7px!important}
  .ol3-cart{height:38px!important;min-width:38px!important;padding:0 9px!important}
  .ol3-cart span:nth-child(2){display:none!important}
  .ol3-purchases{display:none!important}
  .ol3-avatar{display:grid!important}
}
@media(max-width:420px){
  .ol3-topbar{grid-template-columns:44px minmax(0,1fr) auto!important}
  .ol3-top-actions{gap:4px!important}
  .ol3-language a{min-width:30px!important;padding:0 6px!important}
  .ol3-launchpad,.ol3-avatar{width:36px!important;height:36px!important}
}

/* 2026-09-26 — Official Library topbar containment fix.
   Prevents Purchases / language / Home / Launchpad from colliding or being cut off. */
@media (max-width:1180px){
  .ol3-topbar{grid-template-columns:auto minmax(220px,1fr) auto;gap:10px;padding-left:12px;padding-right:12px}
  .ol3-brand{min-width:0}.ol3-brand strong{font-size:16px}.ol3-brand small{letter-spacing:.12em}
  .ol3-top-actions{min-width:0;gap:6px}
  .ol3-purchases,.ol3-cart,.ol3-home,.ol3-launchpad{min-height:38px;height:38px;padding-left:10px;padding-right:10px;font-size:11px;border-radius:10px}
}
@media (max-width:820px){
  .ol3-topbar{
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-areas:"menu search actions";
    align-items:center;
  }
  .ol3-mobile-menu{grid-area:menu}
  .ol3-search{grid-area:search;min-width:0}
  .ol3-top-actions{grid-area:actions;max-width:100%;overflow:visible}
  .ol3-purchases{width:40px;padding:0;justify-content:center;font-size:0}
  .ol3-purchases::before{content:"▤";font-size:17px;line-height:1}
  .ol3-cart>span:nth-child(2){display:none}
  .ol3-cart{padding:0 9px}
  .ol3-language{height:38px}
  .ol3-home,.ol3-launchpad{width:40px;padding:0;justify-content:center}
  .ol3-home span:last-child,.ol3-launchpad span:last-child{display:none}
  .ol3-avatar{width:38px;min-width:38px}
}
@media (max-width:620px){
  .ol3-topbar{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:7px;
    padding:8px;
  }
  .ol3-top-actions{gap:4px}
  .ol3-language{display:none}
  .ol3-purchases{display:none}
  .ol3-cart{width:40px;min-width:40px;padding:0;justify-content:center}
  .ol3-cart b{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;font-size:9px;padding:0 4px}
  .ol3-home{display:none}
  .ol3-launchpad{width:40px;min-width:40px}
  .ol3-search{height:40px;padding:0 10px}
}
