/* the timeline: a straight list or a packed board, posts with their slides in layouts and shapes */
.tl { max-width: 640px; margin: 0 auto; }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0 0 14px; }
.tl-head h1 { margin: 0; }
.tl-tabs { display: flex; gap: 14px; }
.tl-tabs a, .tl-c-row a, .tl-sub a { color: var(--dim); cursor: pointer; text-decoration: none; transition: color .15s; }
.tl-tabs a:hover, .tl-tabs a.on, .tl-c-row a:hover, .tl-c-row a.on, .tl-sub a:hover { color: var(--bright); }
.tl-tabs a.on { text-shadow: 0 0 14px color-mix(in srgb, var(--wave) 60%, transparent); }
.tl-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* a button, so a tap never lands on the link beside it */
button.tl-icon { padding: 0; border: 0; background: none; font: inherit; -webkit-appearance: none; appearance: none; }
.tl-icon { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--dim); cursor: pointer; text-decoration: none; transition: color .15s, transform .15s; }
.tl-icon:hover { color: var(--bright); }
.tl-icon .sy-icon, .tl-act .sy-icon { width: 19px; height: 19px; }
.tl-new { color: var(--wave); }
.tl-bell b { position: absolute; top: 1px; right: 0; font-size: 10px; color: var(--accent); }
.tl-grow { flex: 1; }
.tl-dim { color: var(--dim); font-size: 12px; }
.tl-empty, .tl-gone { color: var(--dim); text-align: center; padding: 30px 0; }
.tl-sub { margin: -8px 0 14px; font-size: 13px; color: var(--dim); }

/* the feed: a column, or columns that pack */
.tl-feed.list { display: flex; flex-direction: column; gap: 14px; }
.tl-feed.board { columns: 3 220px; column-gap: 12px; }
.tl-feed.board .tl-post { break-inside: avoid; margin-bottom: 12px; }
.tl:has(.tl-feed.board) { max-width: 1140px; }
main:has(.tl-feed.board) { max-width: 1180px; }
.tl-feed.compact { display: flex; flex-direction: column; gap: 6px; }
.tl-feed.compact .tl-post { padding: 10px 12px; font-size: 13px; }
.tl-feed.compact .tl-words { margin-top: 6px; }
.tl-feed.compact .tl-grid, .tl-feed.compact .tl-car, .tl-feed.compact .tl-stack, .tl-feed.compact .tl-cover { max-width: 300px; }
.tl-feed.compact .tl-acts { margin-top: 4px; }
.tl-feed.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.tl:has(.tl-feed.tiles) { max-width: 900px; }
main:has(.tl-feed.tiles) { max-width: 940px; }
.tl-feed.tiles .tl-post { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; }
.tl-feed.tiles .tl-post > :not(.tl-cover):not(.tl-grid):not(.tl-car):not(.tl-stack):not(.tl-words) { display: none; }
.tl-feed.tiles .tl-post:has(.tl-slide) > .tl-words { display: none; }
.tl-feed.tiles .tl-post > .tl-words { margin: 0; padding: 12px; font-size: 13px; height: 100%; overflow: hidden; }
.tl-feed.tiles .tl-cover, .tl-feed.tiles .tl-veil, .tl-feed.tiles .tl-grid, .tl-feed.tiles .tl-car, .tl-feed.tiles .tl-stack, .tl-feed.tiles .tl-track, .tl-feed.tiles .tl-row { display: block; height: 100%; margin: 0; border-radius: 0; aspect-ratio: auto; }
.tl-feed.tiles .tl-slide ~ .tl-slide, .tl-feed.tiles .tl-row ~ .tl-row, .tl-feed.tiles .tl-dots, .tl-feed.tiles .tl-plus, .tl-feed.tiles .tl-see span { display: none; }
.tl-feed.tiles .tl-slide { width: 100%; height: 100%; aspect-ratio: auto; }
.tl-feed.tiles .tl-slide img, .tl-feed.tiles .tl-slide video { width: 100%; height: 100%; object-fit: cover; }
.tl-pop a.on { color: var(--accent); }

.tl-post { position: relative; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--sy-surface) 42%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tl-by { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tl-by > a:first-child { display: inline-flex; }
.tl-name { font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 3px 4px; margin: -3px -4px; }
.tl-when { color: var(--dim); font-size: 12px; text-decoration: none; white-space: nowrap; }
.tl-mark { font-size: 11px; color: var(--accent); }
.tl-by .tl-icon { width: 26px; height: 26px; }
.tl-words { margin: 10px 0 0; line-height: 1.5; overflow-wrap: anywhere; white-space: normal; }
.tl-words a { color: var(--wave); text-decoration: none; }
/* passed on: in the head row, so a passed card starts level with the rest */
.tl-passed { display: inline-flex; align-items: center; gap: 4px; min-width: 0; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; }
.tl-passed .tl-icon { width: 20px; height: 20px; }
.tl-passed a { color: var(--text); text-decoration: none; cursor: pointer; }
.tl-passed .sy-icon { width: 14px; height: 14px; }
.tl-down { margin: 10px 0 0; padding: 8px 10px; border-left: 2px solid var(--accent); color: var(--dim); font-size: 13px; }
.tl-down .sy-icon { width: 14px; height: 14px; vertical-align: -2px; }
.tl-quote { display: block; margin-top: 10px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); color: inherit; text-decoration: none; }
.tl-quote .tl-name { font-size: 13px; }

/* slides: a picture cut to its box, kept on its focus, drawn through its shape */
.tl-slide { position: relative; overflow: hidden; background: rgba(255, 255, 255, .03); user-select: none; -webkit-user-select: none; }
.tl-slide > img, .tl-slide > video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.tl-slide[class*=" s-"], .tl-c-big[class*=" s-"], .tl-c-thumb[class*=" s-"] { background: none; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.s-round { -webkit-mask-image: url(/people/shapes/round.svg); mask-image: url(/people/shapes/round.svg); }
.s-rounded { -webkit-mask-image: url(/people/shapes/rounded.svg); mask-image: url(/people/shapes/rounded.svg); }
.s-heart { -webkit-mask-image: url(/people/shapes/heart.svg); mask-image: url(/people/shapes/heart.svg); }
.s-star { -webkit-mask-image: url(/people/shapes/star.svg); mask-image: url(/people/shapes/star.svg); }
.s-flower { -webkit-mask-image: url(/people/shapes/flower.svg); mask-image: url(/people/shapes/flower.svg); }
.s-arch { -webkit-mask-image: url(/people/shapes/arch.svg); mask-image: url(/people/shapes/arch.svg); }
.s-hexagon { -webkit-mask-image: url(/people/shapes/hexagon.svg); mask-image: url(/people/shapes/hexagon.svg); }
.s-diamond { -webkit-mask-image: url(/people/shapes/diamond.svg); mask-image: url(/people/shapes/diamond.svg); }
.s-cloud { -webkit-mask-image: url(/people/shapes/cloud.svg); mask-image: url(/people/shapes/cloud.svg); }
.s-scallop { -webkit-mask-image: url(/people/shapes/scallop.svg); mask-image: url(/people/shapes/scallop.svg); }
.s-sparkle { -webkit-mask-image: url(/people/shapes/sparkle.svg); mask-image: url(/people/shapes/sparkle.svg); }
.s-ticket { -webkit-mask-image: url(/people/shapes/ticket.svg); mask-image: url(/people/shapes/ticket.svg); }
.s-blob { -webkit-mask-image: url(/people/shapes/blob.svg); mask-image: url(/people/shapes/blob.svg); }
.tl-count { position: absolute; top: 8px; right: 10px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .45); font-size: 11px; color: #fff; }
.tl-plus { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 6, 14, .55); color: #fff; font-size: 26px; }
.tl-tagmark, .tl-hush { position: absolute; bottom: 14px; left: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; }
.tl-hush { left: auto; right: 8px; }
/* the volume: a hair of a line over the film, shown while it is pointed at, always where there is no pointer */
.tl-vol { position: absolute; bottom: 17px; right: 42px; width: 92px; height: 20px; display: none; align-items: center; filter: drop-shadow(0 0 3px rgba(0, 0, 0, .7)); }
.tl-slide:hover .tl-vol, .tl-slide.held .tl-vol, .tl-vol:focus-within { display: flex; }
@media (hover: none) { .tl-vol { display: flex; } }
.tl-vol input { width: 100%; height: 16px; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.tl-vol input::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .45); }
.tl-vol input::-moz-range-track { height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .45); }
.tl-vol input::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -4px; border: 0; border-radius: 50%; background: #fff; -webkit-appearance: none; appearance: none; }
.tl-vol input::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #fff; }
.tl-tagmark .sy-icon, .tl-hush .sy-icon { width: 14px; height: 14px; }
/* a film's own: a tap pauses (a glyph flashes and fades), the hair line at its foot seeks */
.tl-slide > video { cursor: pointer; }
.tl-flash { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 0, 0, .4); color: #fff; pointer-events: none; animation: tl-flash .7s ease-out forwards; }
.tl-flash .sy-icon { width: 26px; height: 26px; }
@keyframes tl-flash { 0% { transform: translate(-50%, -50%) scale(.7); opacity: 0; } 20% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.25); opacity: 0; } }
.tl-seek { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; cursor: pointer; touch-action: none; }
.tl-seek::before, .tl-seek b { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .18); transition: height .15s; }
.tl-seek b { background: rgba(255, 255, 255, .85); transform: scaleX(0); transform-origin: left; transition: transform .25s linear, height .15s; }
.tl-seek:hover::before, .tl-seek:hover b, .tl-seek.on::before, .tl-seek.on b, .tl-slide.held .tl-seek::before, .tl-slide.held .tl-seek b { height: 4px; }
.tl-seek.on b { transition: height .15s; }
.tl-seek.on::after { content: attr(data-at); position: absolute; left: var(--at, 0); bottom: 12px; transform: translateX(-50%); padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; white-space: nowrap; pointer-events: none; }
.tl-feed.tiles .tl-seek { display: none; }
.tl-tag { position: absolute; transform: translate(-50%, 6px); padding: 3px 8px; border-radius: 7px; background: color-mix(in srgb, var(--sy-bg) 82%, transparent); color: #fff; font-size: 12px; text-decoration: none; white-space: nowrap; pointer-events: auto; opacity: 0; transition: opacity .2s, transform .2s; }
.tl-tag::before { content: ""; position: absolute; top: -5px; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top: 0; border-bottom-color: color-mix(in srgb, var(--sy-bg) 82%, transparent); }
.tl-slide:not(.tags-on) .tl-tag { pointer-events: none; }
.tl-slide.tags-on .tl-tag, .tl-c-big .tl-tag { opacity: 1; transform: translate(-50%, 8px); }

/* twitter's grid: one whole, two beside, three one tall and two stacked, four a square */
.tl-grid { display: grid; gap: 3px; margin-top: 10px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.tl-grid.n1 { aspect-ratio: auto; }
.tl-grid.n1 .tl-slide { max-height: 560px; }
.tl-grid.n1 .tl-slide > img, .tl-grid.n1 .tl-slide > video { height: auto; max-height: 560px; }
.tl-grid.n2 { grid-template-columns: 1fr 1fr; }
.tl-grid.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.tl-grid.n3 .tl-slide:first-child { grid-row: span 2; }
.tl-grid.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1; }
.tl-feed.board .tl-grid:not(.n1) { aspect-ratio: 1; }
.tl-grid .tl-slide { min-height: 0; }

/* instagram's: one at a time, swiped; old instagram's: a square in a white edge */
.tl-car { margin-top: 10px; }
.tl-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; }
.tl-track::-webkit-scrollbar { display: none; }
.tl-track > .tl-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; }
.tl-car.classic .tl-track { border-radius: 2px; }
.tl-car.classic .tl-track > .tl-slide { aspect-ratio: 1; border: 10px solid #f6f3ee; border-bottom-width: 34px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); background: #f6f3ee; }
.tl-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.tl-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.tl-dots i.on { background: var(--wave); transform: scale(1.3); }

/* tumblr's: rows down the post */
.tl-stack { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; border-radius: 12px; overflow: hidden; }
.tl-row { display: grid; gap: 3px; }
.tl-row.r1 { aspect-ratio: 4 / 3; }
.tl-row.r2 { grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1; }
.tl-row.r3 { grid-template-columns: 1fr 1fr 1fr; aspect-ratio: 3 / 1; }

/* covered until asked */
.tl-cover { position: relative; overflow: hidden; margin-top: 10px; border-radius: 12px; }
.tl-cover > .tl-veil > :first-child { margin-top: 0; }
.tl-cover:not(.open) .tl-veil { filter: blur(28px) saturate(.6); pointer-events: none; }
.tl-see { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--bright); cursor: pointer; text-decoration: none; }
.tl-cover.open .tl-see { display: none; }

/* what one does to it */
.tl-acts { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.tl-act { display: inline-flex; align-items: center; gap: 5px; min-width: 30px; height: 30px; padding: 0 6px 0 4px; color: var(--dim); cursor: pointer; text-decoration: none; transition: color .15s, transform .12s; }
.tl-act:hover { color: var(--bright); }
.tl-act:active { transform: scale(.88); }
.tl-act.on { color: var(--accent); }
.tl-act b { font-weight: 500; font-size: 13px; }
.tl-friends { display: inline-flex; }
.tl-friends > * { margin-left: -5px; }
.tl-views { display: inline-flex; align-items: center; gap: 4px; color: var(--dim); font-size: 12px; margin-right: 6px; }
.tl-views .sy-icon { width: 15px; height: 15px; }
.tl-burst { position: absolute; left: 50%; top: 50%; color: #fff; filter: drop-shadow(0 4px 18px color-mix(in srgb, var(--sy-accent) 70%, transparent)); animation: tl-burst .9s ease-out forwards; pointer-events: none; }
.tl-burst .sy-icon { width: 90px; height: 90px; }
@keyframes tl-burst { 0% { transform: translate(-50%, -50%) scale(.3); opacity: 0; } 25% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } 60% { transform: translate(-50%, -50%) scale(.95); opacity: 1; } 100% { transform: translate(-50%, -80%) scale(1.05); opacity: 0; } }

/* a post's page: the reply box and the thread */
/* one line that grows with its words, the tray above it, the icons centred on the line */
.tl-say { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; border-radius: 12px; background: color-mix(in srgb, var(--sy-surface) 50%, transparent); }
.tl-say-tray:empty { display: none; }
.tl-say-tray .sy-room-tray { height: 260px; border-top: 0; border-bottom: 0; }
.tl-say-row { display: flex; align-items: center; gap: 4px; padding: 3px 6px; }
.tl-say textarea { flex: 1; min-height: 22px; max-height: 160px; padding: 7px 4px; border: 0; outline: none; resize: none; background: none; color: var(--text); font: inherit; line-height: 1.4; field-sizing: content; }
.tl-say .tl-icon { flex: none; align-self: center; }
.tl-say .tl-icon.on { color: var(--wave); }
.tl-send { color: var(--wave); }
.tl-replies { display: flex; flex-direction: column; gap: 4px; }
.tl-reply { display: flex; gap: 10px; padding: 8px 4px; }
.tl-reply.sub { margin-left: 34px; }
.tl-reply.down { opacity: .55; }
.tl-reply-body { flex: 1; min-width: 0; }
.tl-reply .tl-words { margin-top: 2px; }
.tl-reply-acts { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.tl-reply-acts a { color: var(--dim); cursor: pointer; text-decoration: none; }
.tl-reply-acts a:hover { color: var(--bright); }
.tl-reply-acts .tl-act { height: 24px; }
.tl-reply-acts .sy-icon { width: 15px; height: 15px; }

/* notes, boards, the queue */
.tl-notes { display: flex; flex-direction: column; }
.tl-note { display: flex; align-items: center; gap: 10px; padding: 9px 4px; color: var(--text); text-decoration: none; }
.tl-note span:nth-child(2) { flex: 1; }
.tl-note.new span:nth-child(2) { color: var(--bright); }
.tl-note.new::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tl-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.tl-board { display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none; }
.tl-covers { display: grid; gap: 2px; aspect-ratio: 1; grid-template-rows: minmax(0, 1fr); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .04); }
.tl-covers.n2, .tl-covers.n4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tl-covers.n4 { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.tl-covers.n3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.tl-covers.n3 img:first-child { grid-row: span 2; }
.tl-covers img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.tl-board-new { justify-content: flex-end; flex-direction: row; align-items: center; }
.tl-board-new input, .tl-c-alt, .tl-c-rows, .tl-c-find input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: color-mix(in srgb, var(--sy-surface) 50%, transparent); color: var(--text); font: inherit; font-size: 13px; }
.tl-case .tl-post { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.tl-reports { padding: 10px 14px; border-radius: 0 0 14px 14px; background: rgba(255, 255, 255, .03); font-size: 13px; color: var(--dim); }
.tl-reports p { margin: 0 0 4px; }
.tl-reports b { color: var(--text); font-weight: 500; }
.tl-reports a { color: var(--wave); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.tl-reports .sy-icon { width: 14px; height: 14px; }

/* a small menu by a button, and a word that comes and goes */
.tl-pop { position: absolute; z-index: 70; min-width: 190px; max-width: min(300px, calc(100vw - 16px)); max-height: 60vh; overflow: auto; padding: 6px; border: 1px solid var(--sy-line, var(--line)); border-radius: 12px; background: color-mix(in srgb, var(--sy-surface) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); font-size: 13px; }
.tl-pop a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--text); cursor: pointer; text-decoration: none; }
.tl-pop a:hover { color: var(--bright); background: rgba(255, 255, 255, .05); }
.tl-pop .sy-icon { width: 15px; height: 15px; color: var(--dim); }
.tl-pop-head { margin: 2px 8px 6px; color: var(--dim); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.tl-toast { position: fixed; z-index: 80; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--sy-surface) 88%, transparent); color: var(--text); font-size: 13px; animation: tl-toast 2.6s ease forwards; }
@keyframes tl-toast { 0% { opacity: 0; transform: translate(-50%, 8px); } 10%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* the composer, over everything */
.tl-sheet { position: fixed; inset: 0; z-index: 66; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px 16px; background: rgba(6, 4, 10, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); overflow: auto; }
.tl-c { width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--sy-surface) 88%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 24px 70px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 12px; }
.tl-c-head { display: flex; align-items: center; }
.tl-c-words { width: 100%; box-sizing: border-box; resize: vertical; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(8, 6, 14, .5); color: var(--text); font: inherit; }
.tl-c-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.tl-c-thumb, .tl-c-add { flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .65; transition: opacity .15s; }
.tl-c-thumb.on, .tl-c-thumb:hover { opacity: 1; }
.tl-c-thumb:not([class*=" s-"]).on { box-shadow: inset 0 0 0 2px var(--wave); }
.tl-c-thumb img, .tl-c-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-c-add { display: grid; place-items: center; border: 1px dashed var(--line); color: var(--dim); opacity: 1; }
.tl-c-add:hover { color: var(--bright); }
.tl-c-stage { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 12px; }
.tl-c-big { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; cursor: crosshair; background: rgba(255, 255, 255, .03); }
.tl-c-big img, .tl-c-big video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-c-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0, 0, 0, .4); pointer-events: none; }
.tl-c-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tl-c-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; }
.tl-c-row a { display: inline-flex; align-items: center; gap: 4px; }
.tl-c-row .sy-icon { width: 15px; height: 15px; }
.tl-c-row input[type=range] { flex: 1; accent-color: var(--wave); }
.tl-c-shapes { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tl-c-shape { display: grid; place-items: center; aspect-ratio: 1; border-radius: 7px; cursor: pointer; }
.tl-c-shape i { width: 70%; height: 70%; background: var(--dim); transition: background .15s; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.tl-c-shape i:not([class]) { background: none; border: 1.5px solid var(--dim); border-radius: 2px; }
.tl-c-shape:hover i, .tl-c-shape.on i { background: var(--wave); }
.tl-c-shape.on i:not([class]) { background: none; border-color: var(--wave); }
.tl-c-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; }
.tl-c-tags a { display: inline-flex; align-items: center; gap: 2px; color: var(--text); cursor: pointer; }
.tl-c-tags .sy-icon { width: 12px; height: 12px; color: var(--dim); }
.tl-c-find { display: flex; flex-direction: column; gap: 4px; }
.tl-c-hits a { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 7px; color: var(--text); cursor: pointer; font-size: 13px; }
.tl-c-hits a:hover { background: rgba(255, 255, 255, .06); }
.tl-c-of .tl-quote { margin: 0; pointer-events: none; }
.tl-c-foot { display: flex; align-items: center; gap: 10px; }
.tl-c-said { color: var(--dim); font-size: 12px; }
.tl-c-go { color: var(--wave); font-weight: 600; cursor: pointer; letter-spacing: .02em; transition: color .15s, text-shadow .15s; }
.tl-c-go:hover { color: var(--bright); text-shadow: 0 0 14px color-mix(in srgb, var(--wave) 70%, transparent); }

@media (max-width: 640px) {
  .tl-post { padding: 12px; border-radius: 12px; }
  .tl-head { gap: 4px 14px; }
  .tl-tools { margin-left: 0; width: 100%; justify-content: flex-end; }
  .tl-c-stage { grid-template-columns: 1fr; }
  .tl-feed.board { columns: 2 140px; column-gap: 8px; }
  .tl-feed.board .tl-post { padding: 9px; margin-bottom: 8px; font-size: 13px; }
  .tl-feed.board .tl-acts { gap: 0; }
  .tl-feed.board .tl-act:not(:first-child) b { display: none; }
  .tl-feed.board .tl-act { min-width: 22px; padding: 0 2px; gap: 3px; }
  .tl-feed.board .tl-act b { font-size: 11px; }
  .tl-feed.board .tl-friends, .tl-feed.board .tl-views { display: none; }
}
