/* Shared native/export card geometry. Palette comes only from the vendored estate tokens. */
.tweetcard-thread{display:grid;gap:8px;min-width:0}
.tc-video{margin-top:10px}.tc-video video{display:block;width:100%;max-height:65dvh;background:#000;object-fit:contain;border-radius:5px}.tc-video a{font-size:11px}
.tc-export .tc-video{display:none}
.tc-page{margin:0;padding:16px;background:var(--paper);color:var(--ink);font:13px/1.5 var(--font,Arial,sans-serif)}.tc-page main{max-width:760px;margin:auto}.tc-page nav{display:flex;gap:16px;margin-bottom:12px}.tc-page a{color:var(--ink)}
article.card.tweetcard{box-sizing:border-box;padding:10px 12px;margin:0;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:var(--r-card,8px);font-family:var(--font,Arial,sans-serif);min-width:0;overflow-wrap:anywhere}
.tweetcard .tc-head{display:flex;align-items:center;gap:8px;margin:0;padding:0;border:0;background:none}
.tweetcard .tc-avatar{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:var(--paper-soft);color:var(--muted);font-size:14px;font-weight:bold}
.tweetcard .tc-identity{display:flex;flex-direction:column;min-width:0;flex:1}
.tweetcard .slug{font-size:13px;line-height:1.3;color:var(--ink);font-weight:700;text-transform:none;letter-spacing:0}
.tweetcard .tc-handle,.tweetcard .tc-meta{font-size:11px;line-height:1.35;color:var(--muted)}
.tweetcard .tc-meta{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:baseline;justify-content:space-between;margin:8px 0 0}
.tweetcard .tc-stamp{display:flex;flex-wrap:wrap;gap:5px;align-items:baseline;min-width:0}
.tweetcard .tc-meta .prov{margin-left:auto;font-size:inherit;letter-spacing:0;color:var(--muted);white-space:nowrap}
.tweetcard .type,.tweetcard .tc-label{font-size:10px;line-height:1.35;color:var(--muted);font-weight:500;letter-spacing:.025em}
.tweetcard .tc-text{font-size:13px;line-height:1.5;white-space:pre-wrap;margin:0;overflow-wrap:anywhere}
.tweetcard .tc-title{font-size:12px;font-weight:700;margin:0 0 5px}
.tweetcard .tc-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}
.tweetcard .tc-share{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:28px;padding:0 6px;flex:0 0 auto;border-radius:5px;color:var(--muted);font:11px/1.35 var(--font,Arial,sans-serif);text-decoration:none;touch-action:manipulation}
.tweetcard .tc-share:hover,.tweetcard .tc-share:focus-visible{background:var(--accent-subtle);color:var(--ink)}
.tweetcard .tc-share svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
.tweetcard .tc-context{margin:8px 0 0;padding:7px 9px;border:1px solid var(--line);border-radius:5px;background:var(--paper);font-size:12px;line-height:1.4;white-space:pre-wrap}
.tweetcard .tc-context strong,.tweetcard .tc-label{display:block}.tweetcard .tc-context p{margin:4px 0 0}
.tweetcard .tc-sources{margin-top:6px;font-size:11px}.tweetcard .tc-sources summary{cursor:pointer}.tweetcard .tc-source{display:inline-block;margin-top:6px;font-size:11px}
.tweetcard a{color:var(--link,var(--ink))}.tweetcard .tc-status{border:1px solid var(--line);padding:1px 5px;border-radius:4px;color:var(--ink)}
@media(pointer:coarse),(max-width:600px){.tweetcard .tc-share{min-height:44px}}
/* Exports use this same HTML at a larger optical scale. No line clamp or hidden source text. */
.tc-export{margin:0;box-sizing:border-box;display:grid;place-items:center;background:var(--paper);padding:42px;width:100vw;height:100vh}
.tc-export .tweetcard{width:100%;padding:32px 38px;border-radius:20px;box-shadow:var(--shadow)}
.tc-export .tc-avatar{width:62px;height:62px;flex-basis:62px;font-size:28px}.tc-export .tc-head{gap:16px}
.tc-export .slug{font-size:27px}.tc-export .tc-handle,.tc-export .tc-meta{font-size:18px}.tc-export .tc-meta{margin:20px 0 0;gap:9px 24px}
.tc-export .type,.tc-export .tc-label,.tc-export .tc-source,.tc-export .tc-sources{font-size:16px}
.tc-export .tc-text{font-size:30px;line-height:1.4}.tc-export .tc-title{font-size:22px}.tc-export .tc-context{font-size:20px;margin-top:20px;padding:14px 18px}
.tc-export .tc-share{min-height:44px;font-size:20px}.tc-export .tc-share svg{width:28px;height:28px}
.tc-export.tc-portrait{padding:60px}.tc-portrait .tc-text{font-size:36px}.tc-portrait .tc-context{font-size:24px}
/* Card clamp (lane notecard-clamp, owner 2026-10-06 14:13): the headline in full, then at most two lines of small text ending
 * "[tap to continue...]" where the text is cut (tweetcard.js clampCard). Only a graphic (video, documents) makes a collapsed card
 * taller. A tap opens the card in place; another tap closes it. Exports (.tc-export) are never clamped. */
.tweetcard .tc-headline{font-size:14px;line-height:1.35;font-weight:700;margin:6px 0 3px;color:var(--ink)}
.tweetcard.tc-clamp .tc-text{font-size:12.5px;line-height:1.45}
.tweetcard.tc-clamp:not(.tc-open) .tc-text{max-height:calc(2 * 1.45em + 2px);overflow:hidden}
.tweetcard.tc-clamp:not(.tc-open) .tc-more{display:none}
.tweetcard.tc-clamp[data-clamp="cut"],.tweetcard.tc-clamp[data-clamp="more"],.tweetcard.tc-clamp[data-clamp="open"]{cursor:pointer}
.tweetcard .tc-continue{display:inline;margin:0;padding:0;border:0;background:none;color:var(--muted);font:inherit;font-weight:600;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tweetcard .tc-continue:hover,.tweetcard .tc-continue:focus-visible{color:var(--ink);text-decoration:underline}
.tc-export .tweetcard.tc-clamp .tc-text{max-height:none;overflow:visible;font-size:30px;line-height:1.4}.tc-export .tweetcard.tc-clamp .tc-more{display:revert}
.tc-export .tc-headline{font-size:30px}
.tweetcard > .tc-label{margin:6px 0 2px}

.tweetcard .tc-drawer-toggle { display: flex; align-items: center; gap: 4px; width: 100%; margin: 6px 0 0; padding: 4px 6px; border: 0; background: transparent; color: var(--muted); font: 11px/1.4 system-ui, -apple-system, sans-serif; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tweetcard .tc-drawer-toggle[hidden] { display: none; }
.tweetcard .tc-drawer-toggle:hover { color: var(--ink); }
.tweetcard .tc-tri { display: inline-block; width: 1em; text-align: center; transition: transform .15s; }
.tweetcard.tc-open .tc-tri { transform: rotate(90deg); }
