/* khabardoni.com — additions for the globe (site3d/kh-world.js) and the owner's link rules.
   The page's own styles are in the page; nothing there is changed. Rules under .kh-gl apply only while the globe runs. */
#totop{display:none!important}
footer .kh-top{font-weight:700;white-space:nowrap}
canvas.kh-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;display:block}
html.kh-gl{background:#0d0d12}
html.kh-gl body{background:radial-gradient(90% 60% at 50% 0%,rgba(255,214,10,.07),rgba(255,214,10,0) 70%)}
/* glass cards: the globe glows through them a little */
.kh-gl .card{background:rgba(22,22,29,.62);border-color:rgba(255,255,255,.1);border-radius:18px;-webkit-backdrop-filter:blur(6px) saturate(1.2);backdrop-filter:blur(6px) saturate(1.2);
  box-shadow:0 10px 30px -18px rgba(0,0,0,.9);transition:border-color .15s,transform .2s}
.kh-gl .card:hover{transform:translateY(-3px);border-color:rgba(255,214,10,.55)}
.kh-gl .card .thumb,.kh-gl .card .noimg{border-radius:13px;margin:5px 5px 0;width:calc(100% - 10px)}
.kh-gl .search input,.kh-gl .pager a,.kh-gl .pager span:not(.cur),.kh-gl .back{background:rgba(22,22,29,.7);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
/* the carousel at the top of list pages */
.kh-hero{display:none}
.kh-gl .kh-hero{display:block;position:relative;height:clamp(400px,56vh,540px);perspective:1400px;perspective-origin:50% 40%;margin-top:6px}
.kh-gl.kh-off .kh-hero{display:none}
.kh-gl .kh-hero .kh-rc{position:absolute;left:0;top:0;width:250px;margin:0;visibility:hidden;will-change:transform,opacity;
  background:rgba(22,22,29,.93);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 18px 40px -16px rgba(0,0,0,.95);transition:border-color .15s}
.kh-gl .kh-hero .kh-rc:hover{transform:none;border-color:rgba(255,214,10,.8)}
.kh-gl .kh-hero .kh-rc h2{font-size:14.5px;line-height:1.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kh-gl .kh-hero .kh-rc .cbody{padding:9px 12px 10px;gap:5px}
html.kh-gl,html.kh-gl body{overflow-x:clip}
.kh-gl .kh-hero{contain:layout}
@media(max-width:700px){.kh-gl .kh-hero{height:clamp(340px,46vh,420px)}
  .kh-gl .kh-hero .kh-rc{width:160px}.kh-gl .kh-hero .kh-rc h2{font-size:12px}
  .kh-gl .card{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(22,22,29,.74)}}
.kh-gl h1.pg{color:#c9cad2;text-shadow:0 1px 10px #0d0d12}
.kh-gl .art{background:rgba(13,13,18,.72);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:6px 20px 10px;margin:14px -20px 0}
@media(max-width:640px){.kh-gl .art{margin-inline:-8px;padding-inline:8px}}
