/* Automatic thumbnails (desk-thumbs.js): a theme picture, a company-logo tile
   over it. They fill whichever tile they are dropped in. */
.dt-art { position: absolute; inset: 0; display: block; overflow: hidden; pointer-events: none; }
.dt-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* a stock photo, toned down so it never outshouts the headline beside it */
.dt-art .dt-theme { filter: saturate(.8) brightness(.82); }

/* The front page's and the welcome block's tiles stack their own label (<b>)
   and play button over a cover at z-index -1; the art sits there too, and the
   label steps aside while the art is in place (it returns if the art fails). */
.fp-thumb .dt-art, .aw-art .dt-art { z-index: -1; }
.fp-thumb:has(> .dt-art) > b, .aw-art:has(> .dt-art) > b { visibility: hidden; }

/* The Autonomous cube, top-right of every tile, the owner's own cover included
   (owner, 2026-10-19: "add autonomous logo too each one ... make sure doesnt
   look messy and cluttered when looking at a bunch of posts/thumbnails
   together", then "if i upload my own image for cover of post ... make sure it
   does. also make sure its the transparent logo"): one spot and one look on
   every tile, over a cover, a logo, a photo or the plain tile alike; the lock
   badge keeps the bottom-left. The transparent cube on its own, no chip behind
   it; a soft shadow keeps it readable on a bright picture. Sized and inset off
   the tile's width (margins in % are too), so the gap matches on both edges
   whatever the tile's shape. */
.dt-mark { position: absolute; top: 0; right: 0; display: block; width: clamp(12px, 6.5%, 24px); aspect-ratio: 1; margin: clamp(4px, 3.2%, 12px);
  background: url('/images/autonomous-head-v1.png') center / contain no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)) drop-shadow(0 0 1px rgba(0, 0, 0, .5)); pointer-events: none; }

/* ── Deep dive covers (owner, 2026-10-20; DeskThumbs.deep) ───────────────────
   Research (default): graph-paper navy, DEEP DIVE · LABEL, the series name big
   and the part's own title small, PART + a big outlined number and OF N on the
   right, the company's logo under it. Photo: his picture toned to the navy
   (the #dd-duo filter desk-thumbs.js adds), the same words, a band naming each
   part. Chart: one of the post's charts in a panel; locked readers get blurred
   bars and the lock. The API's link-preview pictures are a copy (backend
   tile-image.js deepCover): change one, change the other. The layer is its own
   size container, so everything is sized off the tile (cqw); small tiles keep
   the headline and the number. New pictures ship as -v2 (year cache). */
.dd { position: absolute; inset: 0; display: block; overflow: hidden; container-type: inline-size; color: #fff; pointer-events: none; text-align: left;
  background: radial-gradient(120% 90% at 85% 10%, #17345e 0%, #0b1729 55%, #060d19 100%); }
.dd img { position: absolute; display: block; max-width: none; }
.dd .ddc-grid { position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 4cqw 4cqw; background-position: -1px -1px; }
.dd .ddc-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .32; filter: none; }
.dd.is-photo { background: #081121; }
.dd .ddc-ph { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: url(#dd-duo); }
.dd .ddc-shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 17, 33, .97) 0%, rgba(8, 17, 33, .9) 34%, rgba(8, 17, 33, .5) 62%, rgba(8, 17, 33, .3) 100%),
              linear-gradient(to top, rgba(8, 17, 33, .75) 0%, rgba(8, 17, 33, 0) 34%); }
.dd .ddc-word { z-index: 2; left: 5.5cqw; top: 5.2cqw; width: auto; height: max(3.2cqw, 7px); opacity: .95; }
.dd .ddc-txt { position: absolute; z-index: 2; left: 5.5cqw; top: 14.9cqw; width: var(--w, 54cqw); }
.dd .ddc-kick { display: flex; align-items: center; gap: 1.2cqw; font: 700 1.55cqw/1 'Rubik', system-ui, sans-serif; letter-spacing: .2em; color: rgba(255, 255, 255, .86); white-space: nowrap; }
.dd .ddc-kick i { flex: none; width: 4cqw; height: .45cqw; border-radius: 2px; background: #00ff41; box-shadow: 0 0 1cqw rgba(0, 255, 65, .5); }
.dd .ddc-h { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 2.15cqw 0 0; font: 700 var(--hs, 6.2cqw)/1.06 'Rubik', system-ui, sans-serif; letter-spacing: -.02em; color: #fff; text-transform: none; }
.dd .ddc-sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 1.3cqw; font: 600 2.55cqw/1.2 'Rubik', system-ui, sans-serif; color: rgba(255, 255, 255, .8); }
.dd .ddc-meta { position: absolute; z-index: 2; left: 5.5cqw; bottom: 9.6cqw; display: flex; align-items: center; gap: 1.6cqw; font: 600 1.5cqw/1 'Rubik', system-ui, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.dd .ddc-meta i { font-style: normal; margin: 0 .9cqw; }
.dd .ddc-lock { display: inline-flex; align-items: center; gap: .7cqw; padding: .55cqw 1.1cqw; border-radius: .5cqw; background: var(--lc, #6741d9); color: #fff; font: 700 1.45cqw/1 'Rubik', system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.dd .ddc-lock svg { width: 1.4cqw; height: 1.4cqw; flex: none; }
/* PART, OF N and the big outlined number */
.dd .ddc-num { position: absolute; z-index: 2; right: 5cqw; top: 11.4cqw; display: flex; flex-direction: column; }
.dd .ddc-num-lab { display: flex; justify-content: space-between; padding: 0 .4cqw 0 .6cqw; font: 700 1.9cqw/1 'Rubik', system-ui, sans-serif; letter-spacing: .32em; }
.dd .ddc-num-lab em { font-style: normal; color: #00ff41; }
.dd .ddc-num-lab small { font: inherit; color: rgba(255, 255, 255, .62); letter-spacing: .32em; margin-right: -.32em; }
.dd .ddc-num b { display: block; margin-top: 1.9cqw; font: 700 30cqw/.8 'Rubik', system-ui, sans-serif; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: max(.24cqw, 1px) rgba(255, 255, 255, .36); }
.dd.is-photo .ddc-num b { -webkit-text-stroke-color: rgba(255, 255, 255, .55); }
.dd .ddc-logo-sm { z-index: 2; right: 5.5cqw; bottom: 9.4cqw; width: auto; height: auto; max-width: 15cqw; max-height: 4.4cqw; filter: brightness(0) invert(1); opacity: .92; }
.dd .ddc-logo { z-index: 1; right: 6.5cqw; top: 27cqw; translate: 0 -50%; width: 28cqw; height: 11cqw; object-fit: contain; object-position: right center; filter: brightness(0) invert(1); }
/* the band naming each part (photo cover) */
.dd .ddc-band { position: absolute; z-index: 2; right: 5.5cqw; bottom: 3.6cqw; width: 41cqw; display: flex; gap: .5cqw; }
.dd .ddc-band span { flex: 1; min-width: 0; height: 5.2cqw; box-sizing: border-box; padding: .9cqw 1.2cqw 0; border-radius: .5cqw; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .6); font: 600 1.35cqw/1.2 'Rubik', system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd .ddc-band small { display: block; margin-bottom: .55cqw; font: 700 1.1cqw/1 'Rubik', system-ui, sans-serif; letter-spacing: .2em; color: rgba(255, 255, 255, .5); }
.dd .ddc-band .on { background: #fff; color: #0b1729; }
.dd .ddc-band .on small { color: #1a6dba; }
/* the chart panel (chart cover) */
.dd .ddc-ex { position: absolute; z-index: 2; right: 4.5cqw; top: 27cqw; translate: 0 -50%; width: 47cqw; box-sizing: border-box; padding: 2.4cqw; display: flex; flex-direction: column;
  border-radius: 1cqw; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 max(1px, .125cqw) rgba(255, 255, 255, .12); }
.dd .ddc-ex > small { display: block; margin-bottom: .9cqw; font: 700 1.25cqw/1 'Rubik', system-ui, sans-serif; letter-spacing: .2em; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.dd .ddc-ex-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: .5cqw; font: 600 2.05cqw/1.25 'Rubik', system-ui, sans-serif; color: #fff; }
.dd .ddc-ex-s { display: block; margin-bottom: .5cqw; font: 600 1.4cqw/1.1 'Rubik', system-ui, sans-serif; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd .ddc-ex-svg { display: block; width: 100%; height: auto; margin-top: 1.4cqw; overflow: visible; }
.dd .ddc-ex-lk { position: relative; display: block; margin-top: .8cqw; height: 10.3cqw; }
.dd .ddc-ex-blur { position: absolute; inset: 0; filter: blur(.75cqw); opacity: .9; }
.dd .ddc-ex-blur i { display: block; height: 2.5cqw; margin-bottom: 1.4cqw;
  background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) 0 50% / 6cqw 1.1cqw no-repeat,
              linear-gradient(var(--bc, #8b96a3), var(--bc, #8b96a3)) 9cqw 0 / calc((100% - 9cqw) * var(--bf, .5)) 100% no-repeat; }
.dd .ddc-ex-lk .ddc-lock { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
@container (max-width: 420px) {
  .dd .ddc-meta, .dd .ddc-band, .dd .ddc-ex > small, .dd .ddc-ex-s, .dd .ddc-kick { display: none; }
  .dd .ddc-h { margin-top: 0; }
  .dd .ddc-ex-t { font-size: 2.6cqw; }
}
@container (max-width: 260px) {
  .dd .ddc-word, .dd .ddc-sub, .dd .ddc-ex, .dd .ddc-logo-sm, .dd .ddc-logo, .dd .ddc-num-lab { display: none; }
  .dd .ddc-txt { top: 8cqw; width: 52cqw; }
  .dd.is-chart .ddc-txt, .dd.is-solo .ddc-txt { width: 84cqw; }
  .dd .ddc-h { font-size: calc(var(--hs, 6.2cqw) * 1.5); }
  .dd .ddc-num { top: 6cqw; }
}
/* the lock badge steps to the right, off DEEP DIVE */
.thumb.is-deep .lockbadge { left: auto; right: 8px; }

/* ── The tile family (owner, 2026-10-19; DeskThumbs.tile) ─────────────────────
   One frame on every tile: the wordmark top-left, the cube top-right, a stamp
   bottom-left in the label's colour (--c), the bank bottom-right. Each kind
   leads with its own thing (his picture, the time, the ticker and payoff, the
   quote). The layer is its own size container, so it is sized off the tile in
   any box on the Desk; under 260px the wordmark and the small lines step out.
   Approved ideas page: https://claude.ai/artifact/9aDm2LrTdkBXbrevt4aXEx */
.dtl { --c: #e2e8f0; position: absolute; inset: 0; display: block; overflow: hidden; container-type: inline-size; color: #fff; pointer-events: none; text-align: left;
  font-family: 'Rubik', system-ui, sans-serif;
  background: radial-gradient(80% 100% at 100% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 60%), linear-gradient(160deg, #13203a 0%, #0b1322 58%, #060b15 100%); }
.dtl img { position: absolute; display: block; max-width: none; }
.dtl .dtl-bg { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dtl .dtl-bg.dtl-photo { filter: saturate(.8) brightness(.82); }
.dtl-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(5, 10, 20, .9) 0%, rgba(5, 10, 20, .5) 30%, rgba(5, 10, 20, 0) 56%), linear-gradient(to bottom, rgba(5, 10, 20, .72) 0%, rgba(5, 10, 20, .3) 14%, rgba(5, 10, 20, 0) 28%); }
.dtl-rings { position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 96% 140%, transparent 0 calc(5.5cqw - 1px), rgba(160, 205, 255, .1) calc(5.5cqw - 1px) 5.5cqw);
  -webkit-mask-image: radial-gradient(90% 130% at 96% 125%, #000 15%, transparent 72%); mask-image: radial-gradient(90% 130% at 96% 125%, #000 15%, transparent 72%); }
.dtl-wm { position: absolute; right: -10cqw; bottom: -20cqw; width: 64cqw; aspect-ratio: 280 / 306; background: url('/images/deep-dive-cube-v1.png') center / contain no-repeat; opacity: .05; }
.dtl .dtl-word { z-index: 3; left: 5.5cqw; top: 5.5cqw; width: auto; height: max(3.1cqw, 7px); opacity: .95; }
.dtl .dtl-logo { z-index: 1; right: 7cqw; top: 41%; translate: 0 -50%; width: 32cqw; height: 14cqw; object-fit: contain; object-position: right center; filter: brightness(0) invert(1); }
/* his chart, framed: an inset card, so a white chart and a dark one both read */
.dtl-shot { position: absolute; z-index: 1; right: 4cqw; top: 14cqw; width: 40cqw; height: 46cqw; overflow: hidden; border-radius: 1.2cqw; background: #fff; rotate: -1.5deg;
  box-shadow: 0 1.8cqw 5cqw rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.dtl-shot.is-dark { background: #000; }
.dtl .dtl-shot img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* the stamp: what it is */
.dtl-stamp { position: absolute; z-index: 3; left: 5.5cqw; bottom: 5.5cqw; right: 30cqw; }
.dtl .dtl-stamp i { display: block; width: 5cqw; height: max(.7cqw, 2px); margin-bottom: 1.8cqw; border-radius: 1px; background: var(--c); box-shadow: 0 0 2cqw color-mix(in srgb, var(--c) 60%, transparent); }
.dtl .dtl-stamp b { display: block; max-width: 50cqw; margin: 0; font: 700 max(4.4cqw, 8.5px)/1.1 'Rubik', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: inherit; opacity: 1; visibility: inherit; text-align: left; }
.dtl .dtl-stamp small { display: block; margin-top: 1.8cqw; font: 600 max(2.25cqw, 8px)/1 'Rubik', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.dtl-lk { color: #fde68a; }
/* the bank: its transparent logo, white on the dark; a chip only where the logo is a filled box */
.dtl-src { position: absolute; z-index: 3; right: 5cqw; bottom: 5.2cqw; display: flex; align-items: center; justify-content: flex-end; height: calc(max(4.2cqw, 9px) * var(--s, 1)); max-width: 30cqw; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55)); }
.dtl .dtl-src img { position: static; height: 100%; width: auto; max-width: 30cqw; object-fit: contain; filter: brightness(0) invert(1); }
.dtl-src.is-colour { filter: none; }
.dtl .dtl-src.is-colour img { filter: none; }
.dtl-src.is-chip { height: auto; padding: 1cqw 1.6cqw; border-radius: max(.9cqw, 3px); background: #fff; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.dtl .dtl-src.is-chip img { height: calc(max(4.2cqw, 9px) * var(--s, 1) * .82); filter: none; }
.dtl-src.is-text { height: auto; font: 700 max(2.3cqw, 8px)/1.1 'Rubik', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-align: right; white-space: nowrap; }
/* over his framed picture (often a white chart) the white logo sits on a dark
   plate; the API's drawn tiles do the same (backend services/tile-image.js) */
@container (min-width: 261px) {
  .dtl-shot ~ .dtl-src:not(.is-chip) { box-sizing: content-box; padding: .9cqw 1.4cqw; border-radius: max(.9cqw, 3px); background: rgba(8, 16, 30, .8); filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
}
/* diary and trades: the time, or the ticker, leads */
.dtl-when { position: absolute; z-index: 3; left: 5.5cqw; top: 47%; translate: 0 -50%; }
.dtl .dtl-when small { display: block; margin-bottom: 1.6cqw; font: 600 max(2.3cqw, 8px)/1 'Rubik', system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.dtl .dtl-when b { display: block; margin: 0; font: 700 max(12.5cqw, 17px)/.95 'Rubik', system-ui, sans-serif; letter-spacing: -.02em; white-space: nowrap; color: #fff; visibility: inherit; text-align: left; }
.dtl .dtl-when b em { font-style: normal; margin-left: 1.4cqw; font-size: max(3.6cqw, 9px); font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .78); }
.dtl.is-diary .dtl-shot { width: 40cqw; }
.dtl.is-trade .dtl-when b { font-size: max(13cqw, 17px); }
.dtl.is-trade.has-payoff .dtl-when b { font-size: max(11cqw, 16px); }
/* the payoff of an option package */
.dtl-po { position: absolute; z-index: 1; right: 5cqw; top: 15cqw; width: 42cqw; height: 26cqw; padding: 1.6cqw 1.8cqw; border-radius: 1.4cqw; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.dtl-payoff { display: block; width: 100%; height: 100%; overflow: visible; }
.dtl-po small { position: absolute; right: 1.8cqw; bottom: -4.6cqw; font: 600 max(2.2cqw, 8px)/1 'Rubik', system-ui, sans-serif; letter-spacing: .1em; color: rgba(255, 255, 255, .72); white-space: nowrap; }
/* quotes and Off the tape: warm paper */
.dtl.is-paper { background: linear-gradient(160deg, #fbf7ef 0%, #f3ead9 100%); color: #2b2418; }
.dtl.is-paper .dtl-word { filter: brightness(0); opacity: .72; }
.dtl-qmark { position: absolute; z-index: 1; left: 4.5cqw; top: 8cqw; font: 800 34cqw/1 Georgia, 'Times New Roman', serif; color: #d9c4a0; }
.dtl-qtext { position: absolute; z-index: 2; left: 23cqw; right: 8cqw; top: 20cqw; font: 600 max(5cqw, 10px)/1.15 'Rubik', system-ui, sans-serif; letter-spacing: -.01em; color: #2b2418;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dtl-qtext.is-note { left: 5.5cqw; top: 16cqw; }
.dtl.is-paper .dtl-stamp b { color: #2b2418; }
.dtl.is-paper .dtl-stamp small { color: rgba(43, 36, 24, .62); }
.dtl.is-paper .dtl-lk { color: #92400e; }
@container (max-width: 260px) {
  .dtl .dtl-word, .dtl .dtl-stamp small, .dtl .dtl-when small, .dtl-po small { display: none; }
  .dtl .dtl-stamp i { width: 7cqw; margin-bottom: 3.6cqw; }
  .dtl-stamp { right: 38cqw; }
  .dtl-src { height: calc(7cqw * var(--s, 1)); max-width: 34cqw; }
  .dtl .dtl-src img { max-width: 34cqw; }
  .dtl-src.is-text { display: none; }
  .dtl-qtext { display: none; }
  .dtl-shot { display: none; }
  .dtl-po { top: 13cqw; width: 46cqw; height: 30cqw; }
}
/* the tiles carry their own lock in the stamp */
.thumb.is-tile .lockbadge { display: none; }
.dd .dtl-src { right: 5cqw; bottom: 5.2cqw; }
.dd .dtl-src img { position: static; }
.dd .dtl-src:not(.is-chip) img { height: 100%; width: auto; max-width: 30cqw; object-fit: contain; filter: brightness(0) invert(1); }
.dd .dtl-src.is-chip img { height: calc(max(4.2cqw, 9px) * var(--s, 1) * .82); width: auto; }
/* Breaking (2026-10-20): the word in red before the line over a diary tile's time. Copied in the API's tile-image.js. */
.dtl .dtl-when small .dtl-bk { margin-right: 1.6cqw; font-weight: 700; color: #ff6b6b; }
/* ── His own build (2026-10-21; desk-thumbs.js build(), drawn the same by the
   API's tile-image.js): a photo where he centred it and as dark as he set it,
   his logos and boxes of words (2026-10-22: several of each) centred where he
   dragged them (left/top in % of the tile) at his sizes (cqw), and the parts
   he left on. A logo is whitened and fitted in a box 45% as high as wide; a
   box of words is as wide as he set it, its words wrapped and set inside it. */
.dtl-dim { position: absolute; inset: 0; z-index: 1; background: #050a14; }
.dtl .dtl-blogo { z-index: 2; translate: -50% -50%; object-fit: contain; object-position: center; filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.dtl-tx { position: absolute; z-index: 3; translate: -50% -50%; text-align: center; }
.dtl-tx.is-left { text-align: left; }
.dtl-tx.is-right { text-align: right; }
.dtl-tx > span { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font: 700 1em/1.08 'Rubik', system-ui, sans-serif; letter-spacing: -.02em; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.dtl-lkchip { position: absolute; z-index: 3; left: 5.5cqw; bottom: 5.5cqw; font: 600 max(2.25cqw, 8px)/1 'Rubik', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
