/* 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-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);width:100%;max-width:none;margin:0;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{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{width:38px;border:1px solid var(--ol3-line);background:#fff}

.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{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-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-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}}
