/* tile.css | The one tile (19 Nov 2026, the site Standard): every picture of a file on the site is this portrait tile. Extracted from the Files wall (which now uses it too).
   Markup (templates/v3/ftile.html, built by build_site.ftile()): `.ft > a.ft-a[aria-label] (picture, .ft-shade, an optional .ft-hx Hoax mark) + span.ft-pv (the hover card)`.
   `.ft` is a 3:4 portrait by default and fills the width its container gives it (a grid cell, a strip item); a layout can change its aspect (the Files wall sets a justified ratio per tile).
   No label on the picture: the tape number, the short title and the file's own hook line appear on the card on hover or keyboard focus (on a touch screen the first tap opens the card, files-wall.js).
   The only mark ever on a picture is the Hoax stamp, `.ft-hx > .stamp.sm.c-hox`, which fades while the card is open. The picture carries the shared scan-line layer and a hairline ring.
   Class names are unique (ft, ft-*), because the older .tl, .tg, .fcard and .note collide with the site CSS. Reduced motion: the card shows and hides without movement, the picture does not zoom. */
.ft{position:relative;min-width:0;aspect-ratio:3/4;border-radius:var(--r-md);background:#12170C}
.ft-a{position:absolute;inset:0;display:block;width:100%;height:100%;border-radius:var(--r-md);color:#fff;text-decoration:none;cursor:pointer;overflow:hidden}
.ft-a picture{display:contents}
.ft-a img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ft-a:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(0,0,0,.18) 0 1px,transparent 1px 3px);opacity:.55}
.ft:before{content:"";position:absolute;inset:0;z-index:4;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);pointer-events:none}
.ft-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(6,8,4,.28),transparent 30%,transparent 70%,rgba(6,8,4,.35))}
.ft-hx{position:absolute;left:10px;top:10px;z-index:3;display:flex}
.ft-hx .stamp{background:rgba(8,10,6,.86)}
.ft-pv{position:absolute;left:50%;bottom:10px;z-index:30;display:grid;gap:8px;width:max-content;max-width:300px;min-width:min(230px,100%);padding:16px 18px 15px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(8,10,6,.97);box-shadow:0 26px 50px -18px rgba(0,0,0,.95);translate:-50% 0;opacity:0;visibility:hidden;pointer-events:none}
/* the card of the first and last tile of a row stays inside the row (a layout lists its own rows here: .ft-list, the Files wall, the finder grid) */
.ft-list>.ft:first-child .ft-pv,.w3-row>.ft:first-child .ft-pv,.fg-l>li:first-child .ft-pv{left:10px;translate:0 0}
.ft-list>.ft:last-child .ft-pv,.w3-row>.ft:last-child .ft-pv,.fg-l>li:last-child .ft-pv{left:auto;right:10px;translate:0 0}
.ft-rk{font:500 11px/1 var(--font-mono);letter-spacing:.16em;text-transform:uppercase;color:rgba(236,238,227,.78)}
.ft-rt{font:600 19px/1.12 var(--font-display);letter-spacing:-.03em;text-wrap:balance;color:#fff}
.ft-rh{font:400 14.5px/1.4 var(--font-body);color:rgba(236,238,227,.95)}
.ft-rg{font:600 13px/1 var(--font-display);letter-spacing:-.01em;text-decoration:underline;text-underline-offset:4px;color:#fff}
.ft:hover,.ft:focus-within,.ft.is-open{z-index:20}
.ft:hover .ft-pv,.ft:focus-within .ft-pv,.ft.is-open .ft-pv{opacity:1;visibility:visible}
.ft:hover .ft-hx,.ft:focus-within .ft-hx,.ft.is-open .ft-hx{opacity:0}
a[aria-selected=true]>.ft .ft-pv{opacity:1;visibility:visible}
a[aria-selected=true]>.ft .ft-hx{opacity:0}
.ft-a:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
@media (prefers-reduced-motion:no-preference){
 .ft-pv{transition:opacity .25s ease,visibility 0s linear .25s,transform .35s cubic-bezier(.2,.8,.2,1);transform:translateY(8px)}
 .ft:hover .ft-pv,.ft:focus-within .ft-pv,.ft.is-open .ft-pv{transform:none;transition:opacity .25s ease,visibility 0s,transform .35s cubic-bezier(.2,.8,.2,1)}
 .ft-a img{transition:scale .6s cubic-bezier(.2,.7,.2,1)}
 .ft:hover img,.ft:focus-within img,.ft.is-open img{scale:1.06}
 .ft-hx{transition:opacity .2s}
}
/* a strip or grid of tiles: a plain list of them */
.ft-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin:0;padding:0;list-style:none}
@media (max-width:820px){.ft-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
