/* Dioramas (assets/dioramas.js): the site's small pictures made of Mosaic's own parts, drawn at
   their own size and scaled to their box. Their own file so any page can have them: the site's,
   the viewer's (/f, /j, /meet), and the pictures for links (spikes/snap/og-cards.cjs). */
/* The app's own values: Share Direct's ground (nearby.css), the meeting room (meeting.css), the link
   page's chips and pill (viewer files.css). */
.dio { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); }
.dio-in { position: absolute; left: 0; top: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform: scale(var(--k, 1)); transform-origin: 0 0; --ui: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif; --hand: 'Caveat', 'Caveat Variable', 'Bradley Hand', cursive; --display: 'Funnel Display', 'Funnel Display Variable', 'Avenir Next', 'Segoe UI', system-ui, sans-serif; font-family: var(--ui); color: #1c1f1d; -webkit-font-smoothing: antialiased; }
.dio-in svg { display: block; }
.d-note { position: relative; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.18)); }
.d-note > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.d-note-text { position: absolute; left: 10%; right: 8%; top: 20%; bottom: 8%; overflow: hidden; font-family: var(--hand); font-weight: 600; line-height: 1.08; color: rgba(38, 33, 20, 0.9); }
.d-note-text .typed { min-height: 1.08em; }
.d-note-text .typed::after { content: ''; display: inline-block; width: 2px; height: 0.9em; margin-left: 2px; background: #3b3222; vertical-align: -0.1em; animation: d-blink 1s steps(1) infinite; }
.d-note-text .typed.done::after { display: none; }
@keyframes d-blink { 50% { opacity: 0.25; } }
.d-chip { display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 8px; border-radius: 12px; background: #fff; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22); }
.d-thumb { position: relative; width: 96px; height: 66px; border-radius: 7px; background-size: cover; background-position: center; }
.d-thumb.film::after { content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(0, 0, 0, 0.5); }
.d-thumb.film::before { content: ''; position: absolute; z-index: 1; left: 50%; top: 50%; margin: -5px 0 0 -3px; border-left: 9px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.d-chip span { padding: 0 2px; color: #2a2d2b; font: 600 10.5px/1.2 var(--ui); white-space: nowrap; }
.d-cur { position: absolute; left: 0; top: 0; z-index: 10; will-change: transform; }
.d-cur svg { width: 22px; height: 22px; color: var(--c); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); transition: transform 0.12s; transform-origin: 5px 3px; }
.d-cur.down svg { transform: scale(0.84); }
.d-cur span { position: absolute; left: 16px; top: 18px; padding: 3px 8px; border-radius: 6px; background: var(--c); color: #111; font: 600 11.5px/1.2 var(--ui); white-space: nowrap; }

/* Share Direct: the ground's rings and wave, the card, the people (nearby.css, light). */
.d-send .ds-ring, .d-send .ds-wave { position: absolute; border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.d-send .ds-ring { border: 1.5px dashed rgba(19, 22, 20, 0.26); animation: d-turn 90s linear infinite; }
.d-send .ds-ring.outer { border-color: rgba(19, 22, 20, 0.16); animation-duration: 140s; animation-direction: reverse; }
@keyframes d-turn { to { rotate: 360deg; } }
.d-send .ds-wave { width: 320px; height: 320px; border: 1.5px solid rgba(63, 138, 76, 0.5); scale: 0.3; opacity: 0; animation: d-wave 4.8s cubic-bezier(0.2, 0.6, 0.35, 1) infinite; }
.d-send .ds-wave.late { animation-delay: 2.4s; }
@keyframes d-wave { 0% { scale: 0.3; opacity: 0; } 12% { opacity: 0.6; } 100% { scale: 1.04; opacity: 0; } }
.ds-card { position: absolute; z-index: 1; width: 112px; border-radius: 12px; background: #fff; transform: translate(-50%, -50%) rotate(-2deg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 14px 30px -12px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(0, 0, 0, 0.12), 6px -5px 0 -1px #eef0ee, 6px -5px 0 -0.5px rgba(0, 0, 0, 0.12); }
.ds-face { height: 70px; overflow: hidden; border-radius: 12px 12px 0 0; }
.ds-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ds-text { display: grid; gap: 1px; padding: 7px 10px 9px; }
.ds-text b { font-size: 13px; font-weight: 600; }
.ds-text span { font-size: 11.5px; color: #6d736f; }
.ds-p { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translate(-50%, -26px); }
.ds-who { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 19px/1 var(--ui); box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(0, 0, 0, 0.45); transition: box-shadow 0.25s; }
.ds-prog { position: absolute; inset: -7px; width: 66px; height: 66px; transform: rotate(-90deg); }
.ds-prog circle { fill: none; stroke: #3f8a4c; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0 100; transition: none; }
.ds-tick { position: absolute; right: -6px; bottom: -4px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: #3f8a4c; box-shadow: 0 0 0 2px #fff; transform: scale(0); transition: transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1); }
.ds-tick svg { width: 12px; height: 12px; color: #fff; }
.ds-name { display: grid; justify-items: center; padding: 3px 8px 4px; border-radius: 8px; background: rgba(255, 255, 255, 0.94); font-size: 12.5px; line-height: 1.2; font-weight: 600; white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.ds-name em { font-style: normal; font-weight: 500; font-size: 10.5px; color: #6d736f; }
.d-send.pick-jonas [data-who='jonas'] .ds-who, .d-send.pick-elif [data-who='elif'] .ds-who { box-shadow: 0 0 0 2.5px #fff, 0 0 0 5px #3f8a4c, 0 6px 14px -6px rgba(0, 0, 0, 0.45); }
.d-send.pick-jonas [data-who='jonas'] .ds-tick, .d-send.pick-elif [data-who='elif'] .ds-tick { transform: scale(1); }
.d-send.sending [data-who='jonas'] .ds-prog circle, .d-send.sending [data-who='elif'] .ds-prog circle { stroke-dasharray: 100 100; transition: stroke-dasharray 2.8s cubic-bezier(0.4, 0, 0.3, 1); }
.d-send.sending [data-who='elif'] .ds-prog circle { transition-duration: 2.3s; }
.d-send.sending .ds-who { box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(0, 0, 0, 0.45) !important; }
.d-send.sent .ds-prog circle { opacity: 0; transition: opacity 0.3s; }
.ds-foot { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 8px; }
.ds-accept { font-size: 12.5px; color: rgba(19, 22, 20, 0.6); }
.ds-send { height: 40px; padding: 0 18px; border-radius: 10px; display: grid; place-items: center; background: #3f8a4c; color: #fff; font-size: 14.5px; font-weight: 600; opacity: 0.45; transition: opacity 0.2s, transform 0.15s; box-shadow: 0 8px 18px -10px rgba(30, 70, 35, 0.8); }
.d-send.pick-jonas .ds-send { opacity: 1; }
.d-send.press .ds-send { transform: scale(0.95); }
.d-send.sending .ds-send { opacity: 0.45; }

/* A link: the folder and its files (the link page's first card). */
.d-link .dl-folder { position: absolute; left: 94px; top: 112px; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.12)); }
.d-link .dl-c { position: absolute; transform: translate(var(--dx), var(--dy)) rotate(0deg) scale(0.4); opacity: 0; transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.05), opacity 0.4s; }
.d-link .dl-c:nth-of-type(2) { transition-delay: 0.18s; }
.d-link .dl-c:nth-of-type(3) { transition-delay: 0.36s; }
.d-link.out .dl-c { transform: rotate(var(--r)); opacity: 1; }
.d-link.out .dl-c .d-chip { animation: d-bob 4s ease-in-out infinite; }
.d-link .dl-c:nth-of-type(2) .d-chip { animation-delay: -1.3s; }
.d-link .dl-c:nth-of-type(3) .d-chip { animation-delay: -2.6s; }
@keyframes d-bob { 50% { transform: translateY(-5px); } }
.dl-pill { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.96); font: 600 13px var(--ui); white-space: nowrap; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.dl-dot { width: 7px; height: 7px; border-radius: 50%; background: #34c76f; box-shadow: 0 0 0 3px rgba(52, 199, 111, 0.2); }
.dl-bar { width: 64px; height: 4px; border-radius: 4px; overflow: hidden; background: #e3e6e3; }
.dl-bar b { display: block; height: 100%; width: 0; border-radius: 4px; background: #2f8f4e; }
.dl-pc { min-width: 30px; font-variant-numeric: tabular-nums; color: #4a524c; }

/* A meeting room, small (meeting.css: walnut slats, the screen, the tiles, the round-ended table). */
.dm-room { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, #f3f1ed 0 58%, #e7e1d7 58%); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 26px 50px -26px rgba(60, 20, 25, 0.5); }
.dm-slats { position: absolute; left: 40px; right: 40px; top: 0; height: 160px; background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.22)), repeating-linear-gradient(90deg, #6f4a2e 0 1.5px, #8c6142 1.5px 11px, #7d553a 11px 15px, #5a3b24 15px 17px); }
.dm-screen { position: absolute; left: 62px; top: 12px; width: 236px; height: 133px; padding: 5px; border-radius: 9px; background: linear-gradient(180deg, #1b1c1f, #0b0c0e); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35), 0 24px 40px -20px rgba(0, 0, 0, 0.65); }
.dm-slide { width: 100%; height: 100%; border-radius: 4px; background: #f6f4ef; padding: 10px 12px; color: #1c1f1d; }
.dm-slide small { display: block; font: 600 6.5px/1 var(--ui); letter-spacing: 0.1em; color: #8b8f8c; }
.dm-slide > b { display: block; margin-top: 4px; font: 700 12.5px/1.15 var(--ui); letter-spacing: -0.01em; }
.dm-rows { display: grid; grid-template-columns: 56px 1fr; gap: 5px 6px; margin-top: 9px; align-items: center; }
.dm-rows span { font: 600 6.5px/1 var(--ui); color: #3d413e; white-space: nowrap; }
.dm-rows i { position: relative; height: 6px; border-radius: 3px; background: #e5e3de; }
.dm-rows em { position: absolute; top: 0; height: 100%; border-radius: 3px; }
.dm-faces { position: absolute; left: 0; right: 0; top: 150px; display: flex; justify-content: center; gap: 8px; }
.dm-tile { position: relative; width: 64px; height: 48px; margin: 0; overflow: hidden; border-radius: 10px; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--who) 34%, #2b2c30), #2b2c30 72%); box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.6); transition: box-shadow 0.3s; }
.dm-tile.speaking { box-shadow: 0 0 0 2.5px #5fd27a, 0 10px 18px -12px rgba(0, 0, 0, 0.6); }
.dm-tile b { width: 22px; height: 22px; margin-top: -6px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 10.5px/1 var(--ui); }
.dm-tile figcaption { position: absolute; left: 4px; bottom: 4px; padding: 1px 5px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); color: #fff; font: 600 7.5px/1.3 var(--ui); }
.dm-desk { position: absolute; left: 88px; right: 88px; top: 210px; height: 50px; padding: 6px; border-radius: 999px; background: linear-gradient(180deg, #6b4a31, #4e331f); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 24px 30px -18px rgba(0, 0, 0, 0.6); }
.dm-top { width: 100%; height: 100%; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 14px; background: repeating-linear-gradient(90deg, #65432b33 0 1px, transparent 1px 7px), linear-gradient(180deg, #7a5236, #5e3e28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.dm-thing { display: block; width: 22px; height: 26px; border-radius: 3px; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.35); }
.dm-thing.photo { width: 30px; height: 22px; background-size: cover; border: 2px solid #fff; }
.dm-thing.pdf { background: #fff; padding: 5px 4px; display: grid; gap: 2px; align-content: start; }
.dm-thing.pdf i { height: 2px; border-radius: 1px; background: #d8d6d0; }
.dm-thing.fig { display: grid; place-items: center; background: #8b5cf6; color: #fff; font: 700 11px/1 var(--ui); }

/* The board: two apps, the line, the note, the cursors, on the violet field. */
.d-board .db-wire { position: absolute; inset: 0; width: 760px; height: 300px; filter: drop-shadow(0 2px 6px rgba(40, 20, 90, 0.35)); }
.d-board .db-app { position: absolute; filter: drop-shadow(0 18px 26px rgba(30, 14, 80, 0.4)); }
.d-board .db-app.edit { left: 16px; top: 28px; }
.d-board .db-app.brief { left: 562px; top: 22px; transition: transform 0.3s; }
.d-board.arrived .db-app.brief { transform: scale(1.02); }
.d-board .db-note { position: absolute; left: 392px; top: 150px; transform: scale(0.6); opacity: 0; transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.25s; }
.d-board .db-note.on { transform: none; opacity: 1; }
.d-board .db-chip { position: absolute; left: 0; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; background: #fff; color: #1d1f1e; font: 600 11px/1 var(--ui); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28); opacity: 0; white-space: nowrap; }
.d-board .db-chip svg { width: 11px; height: 11px; color: #7c5cd6; }

/* The meeting room's table, close (the cards under "Mosaic Meet"). */
.d-table .dt-desk { position: absolute; left: 14px; right: 14px; top: 30px; height: 120px; padding: 9px; border-radius: 999px; background: linear-gradient(180deg, #6b4a31, #4e331f); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 30px 36px -22px rgba(0, 0, 0, 0.55); }
.d-table .dt-top { width: 100%; height: 100%; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 20px; background: repeating-linear-gradient(90deg, #65432b33 0 1px, transparent 1px 7px), linear-gradient(180deg, #7a5236, #5e3e28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.dt-thing { display: grid; justify-items: center; gap: 4px; transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.1), opacity 0.4s; }
.dt-thing > span:first-child { box-shadow: 0 6px 10px rgba(0, 0, 0, 0.35); }
.d-table:not(.dropped) .dt-thing:nth-child(3) { transform: translateY(-60px) scale(1.1); opacity: 0; }
.dt-photo { width: 58px; height: 42px; border: 3px solid #fff; border-radius: 3px; background-size: cover; }
.dt-pdf { position: relative; width: 38px; height: 48px; border-radius: 3px; background: #fff; padding: 14px 6px 0; display: grid; gap: 3px; align-content: start; }
.dt-pdf b { position: absolute; left: 4px; top: 4px; padding: 1px 3px; border-radius: 2px; background: #d8473b; color: #fff; font: 700 6px/1.2 var(--ui); }
.dt-pdf i { height: 2.5px; border-radius: 1px; background: #d8d6d0; }
.dt-fig { width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; background: #8b5cf6; color: #fff; font: 700 18px/1 var(--ui); }
.dt-name { padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.92); font: 600 8.5px/1.4 var(--ui); white-space: nowrap; }
.dt-who { display: inline-flex; align-items: center; gap: 3px; font: 600 7.5px/1 var(--ui); color: rgba(255, 244, 232, 0.85); }
.dt-who i { width: 6px; height: 6px; border-radius: 50%; }
.dt-bar { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.dt-bar span { padding: 4px 10px; border-radius: 999px; background: #fff; font: 600 9.5px/1.2 var(--ui); color: #2a2d2b; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); }

/* The screen, close. */
.d-screen .dsc-slats { position: absolute; inset: 0 0 30px; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.2)), repeating-linear-gradient(90deg, #6f4a2e 0 1.5px, #8c6142 1.5px 11px, #7d553a 11px 15px, #5a3b24 15px 17px); }
.d-screen .dsc-screen { position: absolute; left: 34px; top: 14px; width: 252px; height: 152px; padding: 6px 6px 22px; border-radius: 10px; background: linear-gradient(180deg, #1b1c1f, #0b0c0e); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35), 0 26px 40px -18px rgba(0, 0, 0, 0.6); }
.dm-slide.big { padding: 12px 14px; }
.dm-slide.big > b { font-size: 14px; }
.dm-slide.big .dm-rows { grid-template-columns: 62px 1fr; gap: 6px 8px; }
.dm-slide.big .dm-rows span { font-size: 7.5px; }
.dsc-bar { position: absolute; left: 10px; right: 10px; bottom: 5px; display: flex; justify-content: space-between; font: 500 8px/12px var(--ui); color: rgba(255, 255, 255, 0.62); }
.dsc-pres { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(28, 29, 32, 0.9); color: #fff; font: 600 9.5px/1.2 var(--ui); white-space: nowrap; }
.dsc-pres i { width: 6px; height: 6px; border-radius: 50%; background: #ff5a5f; }

/* The whiteboard, close: a mind map on the board's dotted sheet. */
.d-mind { background-color: #fbfbfa; background-image: radial-gradient(circle, #d3d6d4 1.1px, transparent 1.6px); background-size: 16px 16px; background-position: 8px 8px; border-radius: 10px; box-shadow: 0 10px 24px -14px rgba(19, 22, 20, 0.4); }
.dmd-lines { position: absolute; inset: 0; width: 320px; height: 200px; }
.dmd-lines path { fill: none; stroke: #3a3d3b; stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.7s ease; }
.d-mind.two .dmd-lines path:first-child, .d-mind.three .dmd-lines path:last-child { stroke-dashoffset: 0; }
.dmd-n { position: absolute; transform: scale(0.7); opacity: 0; transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.25s; }
.d-mind.one .dmd-n:not(.late):not(.later), .d-mind.two .dmd-n.late, .d-mind.three .dmd-n.later { transform: none; opacity: 1; }

/* The cinema, close. */
.d-cinema { overflow: hidden; border-radius: 10px; background: #0d0c0b; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.6); }
.dci-shot { display: block; width: 320px; height: 202px; }
.dci-pill { position: absolute; left: 22px; top: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(20, 20, 22, 0.78); color: #fff; font: 600 9.5px/1.2 var(--ui); backdrop-filter: blur(6px); }
.dci-pill svg { width: 10px; height: 10px; color: #6fdc8c; }

/* Links: the share window's parts and the page that opens (FileLinkPage, ShareLink). */
.d-linkflow .lf-page { position: absolute; right: 0; top: 0; width: 336px; padding: 20px; border-radius: 22px; color: #fff; background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)), linear-gradient(160deg, #b57a83, #8f5d68); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 30px 60px -28px rgba(70, 25, 35, 0.6); }
.lf-who { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.lf-who > b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #d7864a; font: 700 12px/1 var(--ui); }
.lf-who span { color: rgba(255, 255, 255, 0.85); }
.lf-who strong { color: #fff; }
.lf-who em { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, 0.85); }
.lf-who em i { width: 7px; height: 7px; border-radius: 50%; background: #34c76f; }
.d-linkflow h4 { margin: 14px 0 0; font: 700 21px/1.1 var(--display); letter-spacing: -0.02em; }
.lf-sub { margin-top: 4px; font-size: 11.5px; color: rgba(255, 255, 255, 0.72); }
.lf-note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); font-size: 11.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.92); }
.lf-all { margin-top: 12px; height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 7px; background: #fff; color: #1c1f1d; font: 600 12.5px/1 var(--ui); }
.lf-all svg { width: 13px; height: 13px; }
.lf-list { margin-top: 10px; border-radius: 14px; overflow: hidden; background: rgba(0, 0, 0, 0.1); }
.lf-file { display: flex; align-items: center; gap: 9px; padding: 9px 10px; font-size: 11.5px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.lf-file:first-child { border-top: 0; }
.lf-file svg { width: 13px; height: 13px; flex: none; color: rgba(255, 255, 255, 0.85); }
.lf-file span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-file em { font-style: normal; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.lf-file em.chev svg { width: 11px; height: 11px; color: rgba(255, 255, 255, 0.6); }
.lf-file b { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); }
.lf-file b svg { width: 12px; height: 12px; }
.d-linkflow .lf-win { position: absolute; left: 0; bottom: 0; width: 292px; padding: 14px 16px 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 34px 60px -26px rgba(10, 40, 60, 0.55), 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.lf-title { text-align: center; font: 600 12.5px/1 var(--ui); }
.lf-scene { position: relative; height: 96px; margin-top: 11px; border-radius: 12px; background-color: #f4f5f4; background-image: radial-gradient(circle, #d7dad8 1px, transparent 1.3px); background-size: 12px 12px; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.lf-card { position: absolute; left: 14px; top: 12px; width: 78px; padding-bottom: 6px; border-radius: 9px; background: #fff; transform: rotate(-3deg); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.35), 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.lf-card span { display: block; height: 42px; border-radius: 9px 9px 0 0; background-size: cover; background-position: center; }
.lf-card b { display: block; padding: 5px 7px 0; font: 600 9px/1.2 var(--ui); }
.lf-card small { display: block; padding: 0 7px; font-size: 8px; color: #7b837d; }
.lf-scene > svg { position: absolute; left: 92px; top: 26px; width: 74px; height: 28px; overflow: visible; }
.lf-scene > svg path { fill: none; stroke: #3f8a4c; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0.02 0.045; opacity: 0.55; }
.lf-url { position: absolute; right: 12px; top: 30px; height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px 0 6px; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(0, 0, 0, 0.1); font: 600 10px/1 var(--ui); color: #5a605c; white-space: nowrap; }
.lf-url > svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #eef0ee; color: #7b837d; }
.lf-url b { display: none; align-items: center; gap: 5px; font-size: 11px; color: #1c1f1d; }
.lf-url b svg { width: 12px; height: 12px; color: #3f8a4c; }
.d-linkflow.made .lf-url span { display: none; }
.d-linkflow.made .lf-url b { display: inline-flex; }
.d-linkflow.made .lf-scene > svg path { opacity: 1; }
.lf-what { margin-top: 12px; display: grid; gap: 2px; }
.lf-what b { font: 600 13px/1.2 var(--ui); }
.lf-what small { font-size: 10.5px; color: #7b837d; }
.lf-seg { margin-top: 10px; padding-bottom: 9px; border-bottom: 1px solid #eceeec; display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.lf-seg div { display: flex; padding: 2px; border-radius: 8px; background: #f1f2f1; }
.lf-seg i { padding: 4px 7px; border-radius: 6px; font-style: normal; font-size: 10px; color: #5a605c; }
.lf-seg i.on { background: #fff; color: #1c1f1d; font-weight: 600; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.06); }
.lf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.lf-row b { display: block; font: 500 11.5px/1.25 var(--ui); }
.lf-row small { display: block; font-size: 9.5px; color: #7b837d; }
.lf-switch { position: relative; width: 30px; height: 18px; border-radius: 999px; background: #e3e5e3; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); flex: none; }
.lf-switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.lf-switch.on { background: #3f8a4c; }
.lf-switch.on::after { left: 14px; }
.lf-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 14px; }
.lf-actions span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; border-radius: 7px; background: #f1f2f1; font: 500 11px/1 var(--ui); box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1); }
.lf-actions span.go { background: #3f8a4c; color: #fff; box-shadow: none; }
.lf-actions svg { width: 11px; height: 11px; }

@media (prefers-reduced-motion: reduce) {
    .d-send .ds-ring, .d-send .ds-wave, .d-link.out .dl-c .d-chip { animation: none; }
}

.ds-rows { position: absolute; left: 8px; right: 8px; top: 380px; display: grid; gap: 6px; }
.ds-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 7px 10px 7px 7px; border-radius: 11px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; }
.d-send.sending .ds-row { opacity: 1; transform: none; }
.d-send.sending .ds-row:nth-child(2) { transition-delay: 0.12s; }
.ds-row > span:first-child { width: 28px; height: 28px; border-radius: 7px; background-size: cover; background-position: center; }
.ds-row b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-row small { display: block; font-size: 10.5px; color: #6d736f; white-space: nowrap; }
.ds-row i { display: block; width: 100%; height: 3px; margin-top: 4px; border-radius: 3px; background: #e3e6e3; overflow: hidden; }
.ds-row i em { display: block; height: 100%; width: 0; border-radius: 3px; background: #3f8a4c; }
.ds-row .st { font-size: 11px; font-weight: 600; color: #3f8a4c; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ds-row .st svg { width: 12px; height: 12px; }

/* Right-click: the Finder's menu, Mosaic's items in it (macOS's light menu). */
.d-menu .mn-file { position: absolute; left: 14px; top: 26px; display: grid; justify-items: center; gap: 6px; width: 104px; }
.d-menu .mn-file span { width: 78px; height: 58px; border: 3px solid #fff; border-radius: 4px; background-size: cover; background-position: center; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.3); }
.d-menu .mn-file b { padding: 1px 6px; border-radius: 4px; background: #2f6fde; color: #fff; font: 500 11px/1.4 var(--ui); white-space: nowrap; }
.d-menu .mn { position: absolute; left: 96px; top: 40px; width: 222px; padding: 5px; border-radius: 11px; background: rgba(246, 246, 246, 0.94); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 18px 40px -12px rgba(0, 0, 0, 0.4); backdrop-filter: blur(20px); }
.mn-i { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px; border-radius: 6px; font: 400 13px/1 var(--ui); color: #1c1f1d; }
.mn-i img { width: 16px; height: 16px; border-radius: 4px; }
.mn-i em { margin-left: auto; font-style: normal; color: #8a8d8b; }
.mn-i.plain { padding-left: 32px; color: #1c1f1d; }
.mn-sep { display: block; height: 1px; margin: 4px 9px; background: rgba(0, 0, 0, 0.1); }
.d-menu.lit .mn-i.on { background: #2f6fde; color: #fff; }
.d-menu.lit .mn-i.on em { color: #fff; }

/* A link made, large (ShareLink's scene). */
.d-copied { border-radius: 18px; background-color: #f4f5f4; background-image: radial-gradient(circle, #d3d6d4 1.2px, transparent 1.5px); background-size: 16px 16px; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 16px 34px -20px rgba(19, 22, 20, 0.35); }
.cp-card { position: absolute; left: 24px; top: 36px; width: 118px; padding-bottom: 9px; border-radius: 12px; background: #fff; transform: rotate(-3deg); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.35), 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.cp-card span { display: block; height: 64px; border-radius: 12px 12px 0 0; background-size: cover; background-position: center; }
.cp-card b { display: block; padding: 7px 10px 0; font: 600 13px/1.2 var(--ui); }
.cp-card small { display: block; padding: 1px 10px 0; font-size: 11.5px; color: #7b837d; }
.cp-way { position: absolute; left: 140px; top: 62px; width: 78px; height: 30px; overflow: visible; }
.cp-way path { fill: none; stroke: #3f8a4c; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.02 0.05; opacity: 0.5; transition: opacity 0.3s; }
.d-copied.made .cp-way path { opacity: 1; }
.cp-url { position: absolute; right: 18px; top: 70px; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 8px; border-radius: 999px; background: #fff; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(0, 0, 0, 0.1); font: 600 12.5px/1 var(--ui); color: #5a605c; white-space: nowrap; }
.cp-url > svg { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: #eef0ee; color: #7b837d; }
.cp-url b { display: none; align-items: center; gap: 6px; font-size: 14px; color: #1c1f1d; }
.cp-url b svg { width: 14px; height: 14px; color: #3f8a4c; }
.d-copied.made .cp-url span { display: none; }
.d-copied.made .cp-url b { display: inline-flex; }
.cp-from { position: absolute; right: 16px; bottom: 16px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.92); font: 500 11.5px/1.3 var(--ui); color: #5a605c; }
/* Someone using my page: the page, their cursor, my capsule (board/Control.tsx). */
.d-control .dc-app { position: absolute; left: 45px; top: 58px; filter: drop-shadow(0 18px 26px rgba(30, 14, 80, 0.3)); }
.dc-live { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12), 0 12px 26px -10px rgba(0, 0, 0, 0.35); font: 500 12px/1 var(--ui); white-space: nowrap; }
.dc-led { width: 7px; height: 7px; border-radius: 50%; background: #34c76f; box-shadow: 0 0 0 3px rgba(52, 199, 111, 0.2); }
.dc-av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 9.5px/1 var(--ui); }
.dc-live strong { font-weight: 600; }
.dc-time { font-style: normal; color: #7b837d; font-variant-numeric: tabular-nums; }
.dc-btn { height: 26px; padding: 0 11px; border-radius: 999px; display: grid; place-items: center; background: #f1f2f1; font-weight: 600; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1); }
