/* Whole card = one link (Vlad 26.11), marked by CardLinks.tsx. Quiet hover (Vlad 26.11:
   no green): the site's neutral hover tint on the cell, no underline (Vlad 27.11) and the
   link's arrow steps right, so it reads that a click anywhere opens the page. */
.dk .dk-cardlink{cursor:pointer;transition:background-image .2s ease}
/* Vlad 01.12 (later): back to the site's quiet grey hover tint; no border, no lift */
.dk .dk-cardlink:hover{background-image:linear-gradient(var(--hover-tint),var(--hover-tint))!important}
.dk .dk-cardlink :is(h3,.h3,h4) a{color:inherit}
.dk .dk-cardlink .arrowlink{display:inline-block;transition:transform .2s ease}
.dk .dk-cardlink:hover .arrowlink{transform:translateX(4px)}
@media (hover:none){.dk .dk-cardlink:hover{background-image:none!important}}
/* a diagonal arrow in the top-right corner of every clickable card (Peter 26.11, hub #1727) */
.dk .dk-cardlink{position:relative}
.dk .dk-cardlink::after{content:"↗";position:absolute;top:18px;right:18px;width:28px;height:28px;display:grid;place-items:center;
  font:500 16px/1 var(--font-geist-sans),system-ui,sans-serif;color:var(--fg-secondary,currentColor);border:1px solid var(--border-subtle);
  background:var(--bg-100);transition:transform .2s ease,color .2s ease,border-color .2s ease;pointer-events:none;z-index:2}
.dk .dk-cardlink::after{transition:transform .25s ease,color .25s ease,border-color .25s ease,background-color .25s ease}
.dk .dk-cardlink:hover::after{transform:translate(2px,-2px);color:#0a0a0a;background:var(--accent-fill,#00fa9a);border-color:var(--accent-fill,#00fa9a)}
@media (hover:none){.dk .dk-cardlink:hover::after{transform:none;color:var(--fg-secondary,currentColor);background:var(--bg-100);border-color:var(--border-subtle)}}
/* the corner button shows only on hover (Vlad 01.12), green with a black arrow (Vlad 02.12: the white one got lost on mint); phones keep it */
@media (hover:hover){.dk .dk-cardlink::after{opacity:0;transform:translate(-2px,2px)}
  .dk .dk-cardlink:hover::after{opacity:1}}
.dk .dk-cardlink::after{transition:opacity .2s ease,transform .25s ease,color .25s ease,border-color .25s ease,background-color .25s ease}
/* the layer cards keep their status badge clear of the arrow */
.dk .dk-cardlink .zq-lyh{padding-right:40px}
/* card titles stay clear of the ↗ (Vlad 27.11: "Sena Consumer Activity" ran under it on a phone) */
.dk .dk-cardlink:not(.zq-ly):not(.zq-cc) :is(h3,.h3){padding-right:40px}
/* the "files → database" table runs on past its frame: fade the last row instead of a hard cut */
.dk :is(.zq-card,.h6mc) .stage .rows{-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent);mask-image:linear-gradient(180deg,#000 72%,transparent)}
