/* Akış, gönderi detayı ve bağlı araçlar için ortak, sade yüzey. */
#feedPage { --feed-width:660px; --feed-line:var(--t-border-subtle,#242424); --feed-muted:var(--t-text-muted,#929292); padding-bottom:calc(92px + env(safe-area-inset-bottom)); }
#feedPage :is(.twitter-feed-timeline,.feed-quick-compose-card) { width:min(var(--feed-width),100%)!important; max-width:var(--feed-width)!important; box-sizing:border-box; margin-inline:auto; }
#threadsSearchModal .threads-search-state{grid-column:1/-1;display:flex;min-height:120px;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;color:var(--t-text-muted,#999);text-align:center;font-size:13px;line-height:1.55}
#threadsSearchModal #threadsTrendingChips .threads-search-state{width:100%;min-height:72px;box-sizing:border-box}
#threadsSearchModal .threads-search-state.is-error{color:var(--t-text-secondary,#c5c6c7)}
#threadsSearchModal .threads-search-spinner{width:20px;height:20px;border:2px solid var(--t-border-subtle,rgba(255,255,255,.1));border-top-color:var(--t-text-secondary,#c5c6c7);border-radius:50%;animation:threads-search-spin .75s linear infinite}
#threadsSearchModal .threads-search-retry{min-height:44px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--t-text-primary,#fff);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
#threadsSearchModal .threads-search-retry:hover{background:var(--t-bg-subtle,rgba(255,255,255,.06))}
#threadsSearchModal .threads-search-empty{padding:24px 12px;color:var(--t-text-muted,#999);text-align:center;font-size:13px;line-height:1.55}
@keyframes threads-search-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#threadsSearchModal .threads-search-spinner{animation:none}}
#feedList .tweet-card { width:100%!important; max-width:none!important; margin:0!important; }
#feedPage .feed-quick-compose-card { display:flex; align-items:center; gap:14px; padding:18px 20px; margin-block:10px 8px; border:0!important; border-bottom:1px solid var(--feed-line)!important; border-radius:0!important; background:transparent!important; }
#feedPage .feed-quick-compose-body { display:flex; flex:1; min-width:0; align-items:center; gap:10px; }
#feedPage .feed-compose-input-sim { flex:1; min-width:0; text-align:left; color:var(--feed-muted); font-size:15px; background:none; border:0; min-height:44px; cursor:text; }
#feedPage .feed-quick-compose-tools { display:flex; flex:0 0 auto; gap:4px; }
#feedPage .feed-quick-tool-btn { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; padding:0; border:0; border-radius:8px; background:transparent!important; box-shadow:none!important; }
#feedPage .feed-header-actions { gap:4px; }
#feedPage .feed-icon-btn { min-width:40px; min-height:44px; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
#feedPage .feed-icon-btn:hover,
#feedPage .feed-icon-btn:active { background:transparent!important; box-shadow:none!important; transform:none!important; color:var(--t-text-primary)!important; }
#feedPage .feed-reels-btn { display:inline-flex; align-items:center; justify-content:center; width:44px; min-width:44px; height:44px; padding:0; border-radius:0!important; color:var(--t-text-primary); }
#feedPage .feed-reels-btn svg { display:block; flex:none; }
#feedPage .feed-reels-btn[aria-busy="true"] svg { animation:feed-video-loading .8s linear infinite; }
@keyframes feed-video-loading { to { transform:rotate(360deg); } }
#feedPage .threads-stream-pill-btn { min-height:36px; padding-inline:8px!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; backdrop-filter:none!important; -webkit-backdrop-filter:none!important; }
#feedPage .threads-stream-pill-btn:hover,
#feedPage .threads-stream-pill-btn:active { border:0!important; background:transparent!important; box-shadow:none!important; transform:none!important; opacity:.76; }
#feedPage .threads-stream-dropdown-menu .threads-stream-preferences-item { margin-top:3px; padding-top:11px; border-top:1px solid var(--t-border-subtle,#242424); border-radius:7px; color:var(--t-text-secondary,#c5c5c5); }
#feedPage .threads-stream-dropdown-menu .threads-stream-preferences-item:hover,
#feedPage .threads-stream-dropdown-menu .threads-stream-preferences-item:focus-visible { background:rgba(255,255,255,.075); color:var(--t-text-primary,#fff); }
#feedPage .threads-stream-menu-item.active .threads-stream-check-icon { color:var(--t-text-primary,#fff)!important; }
#feedPage .feed-quick-tool-btn:hover,
#feedPage .feed-quick-tool-btn:active { background:transparent!important; box-shadow:none!important; transform:none!important; color:var(--t-text-primary,#fff)!important; }
body:has(#feedPage.active) .unified-feed-header { background:color-mix(in srgb,var(--t-bg-app,#08090c) 84%,transparent)!important; backdrop-filter:blur(18px) saturate(1.25)!important; -webkit-backdrop-filter:blur(18px) saturate(1.25)!important; border-bottom:1px solid color-mix(in srgb,var(--feed-line) 72%,transparent)!important; }
body:has(#feedPage.active) .unified-feed-header-inner { max-width:1040px!important; margin-inline:auto; }
.tweet-card { padding:22px 20px!important; border:0!important; border-bottom:1px solid var(--t-border-subtle,#242424)!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.tweet-main-row { gap:12px!important; }
.tweet-content-wrapper { min-width:0; }
.tweet-header { gap:8px; align-items:flex-start; }
.tweet-header-user { min-width:0; display:flex; align-items:center; flex-wrap:wrap; gap:4px 6px; line-height:1.5; }
.tweet-author-name { font-size:14px!important; font-weight:650!important; overflow-wrap:anywhere; }
.tweet-author-handle,.tweet-time { color:var(--t-text-muted)!important; font-size:12px!important; }
.tweet-text { font-size:15px!important; line-height:1.65!important; font-weight:400!important; overflow-wrap:anywhere; white-space:pre-wrap; }
.tweet-text pre { white-space:pre; overflow:auto; max-width:100%; }
.tweet-text :is(span,a) { color:inherit!important; }
.tweet-text [onclick] { text-decoration:underline; text-decoration-color:var(--t-border-strong); text-underline-offset:3px; }
.tweet-actions-bar { display:flex!important; justify-content:space-between; gap:4px; max-width:400px; padding-top:8px; }
.tweet-action-btn { min-width:40px; min-height:40px; gap:5px; font-size:12px!important; color:var(--t-text-muted)!important; }
.tweet-action-btn:is(.liked,.bookmarked,.reposted) { color:var(--t-text-primary)!important; }
.tweet-action-btn svg { stroke:currentColor!important; }
.tweet-action-btn:is(.liked,.bookmarked) svg { fill:currentColor!important; }
.tweet-action-btn:hover,.feed-post-menu:hover { color:var(--t-text-primary)!important; background:var(--t-bg-hover)!important; }
.feed-post-menu,.tweet-delete-btn { flex:0 0 32px; width:32px; height:32px; display:grid; place-items:center; border:0; background:none; color:var(--t-text-muted); border-radius:50%; cursor:pointer; }
.tweet-media-container,.tweet-carousel-wrapper { margin-top:12px; border:1px solid var(--t-border-subtle)!important; border-radius:14px!important; overflow:hidden; background:var(--t-bg-input)!important; }
.tweet-media-container .original-ratio-img,.tweet-carousel-img { width:100%!important; height:auto!important; max-height:600px!important; object-fit:contain!important; display:block; }
.tweet-carousel-track { align-items:center; }
.tweet-carousel-track { touch-action:auto!important; overscroll-behavior-x:contain; }
.tweet-carousel-track { height:min(560px,calc((min(100vw,660px) - 90px) * 1.25),65svh); }
.tweet-carousel-wrapper { border:1px solid color-mix(in srgb,var(--feed-line) 80%,transparent)!important; border-radius:18px!important; background:#07080b!important; box-shadow:0 12px 32px rgba(0,0,0,.12); }
.tweet-carousel-dots { bottom:10px!important; gap:0!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; backdrop-filter:none!important; -webkit-backdrop-filter:none!important; }
.tweet-carousel-dot { position:relative; width:24px!important; min-width:24px; height:28px!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; display:grid!important; place-items:center; }
.tweet-carousel-dot::before { content:""; display:block; width:5px; height:5px; border-radius:999px; background:rgba(255,255,255,.7); box-shadow:0 1px 4px #000b; transition:width .2s ease,background .2s ease; }
.tweet-carousel-dot.active { width:24px!important; height:28px!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.tweet-carousel-dot.active::before { width:15px; height:5px; border-radius:999px; background:#fff; box-shadow:0 1px 5px #000b; }
.tweet-carousel-dot:focus-visible { outline:2px solid #fff!important; outline-offset:-5px; border-radius:8px!important; }
.tweet-carousel-slide { height:100%; max-height:none!important; background:transparent!important; }
.tweet-carousel-slide .tweet-carousel-img { height:100%!important; max-height:100%!important; object-fit:contain!important; }
.tweet-carousel-arrow:disabled { visibility:hidden; pointer-events:none; }
.tweet-carousel-badge { font-weight:500!important; letter-spacing:0; }
.media-load-failed { min-height:160px; padding:20px; box-sizing:border-box; color:var(--t-text-muted); }
.tweet-carousel-slide { flex:0 0 100%; min-width:0; }
.tweet-question-label { color:var(--t-text-secondary); font-size:10px; border:1px solid var(--t-border-subtle); border-radius:5px; padding:1px 5px; }
.feed-empty-state { padding:60px 24px; text-align:center; color:var(--t-text-muted); }
.feed-empty-state strong { color:var(--t-text-primary); font-size:17px; }
.feed-empty-state p { font-size:13px; line-height:1.6; }
.feed-empty-state button,.feed-end-note button { border:1px solid var(--t-border-subtle); border-radius:9px; padding:10px 16px; color:var(--t-text-primary); background:var(--t-bg-card); cursor:pointer; }
#feedStatus[hidden] { display:none!important; }
#feedStatus.feed-status { display:flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:12px 16px; color:var(--t-text-muted,#929292); font-size:13px; line-height:1.5; }
#feedStatus.is-error { flex-wrap:wrap; color:var(--t-text-secondary,#c5c5c5); }
.feed-status-spinner { width:16px; height:16px; flex:0 0 16px; border:1.5px solid var(--t-border-subtle,#303030); border-top-color:var(--t-text-secondary,#c5c5c5); border-radius:50%; animation:feed-status-spin .75s linear infinite; }
.feed-status-retry { min-height:40px; padding:0 10px; border:0!important; border-radius:8px; background:transparent!important; color:var(--t-text-primary,#fff)!important; font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
.feed-status-retry:hover { background:var(--t-bg-hover,rgba(255,255,255,.06))!important; }
.feed-status-retry:disabled { opacity:.55; cursor:wait; }
.feed-empty-screen { display:flex; min-height:220px; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:36px 24px; }
.feed-empty-title { margin:0; color:var(--t-text-primary,#f5f5f5); font-size:17px; font-weight:650; letter-spacing:-.02em; }
.feed-empty-screen p { max-width:340px; margin:0; color:var(--t-text-muted,#929292); font-size:13px; line-height:1.6; }
.feed-empty-screen .feed-empty-action { min-height:40px; margin-top:8px; padding:0 12px; border:0; border-radius:8px; background:transparent; color:var(--t-text-primary,#f5f5f5); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.feed-empty-screen .feed-empty-action:hover { background:var(--t-bg-hover,rgba(255,255,255,.06)); }
@keyframes feed-status-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .feed-status-spinner { animation:none; } }
#postLikersModal.post-likers-overlay { z-index:10000025!important; background:rgba(0,0,0,.64); transition:opacity .2s ease,visibility .2s ease; }
body #postLikersModal > .post-likers-sheet { display:flex; flex-direction:column; width:min(100%,440px); max-height:min(74dvh,calc(100dvh - 32px))!important; padding:0 0 env(safe-area-inset-bottom); overflow:hidden; border-radius:20px!important; background:var(--t-bg-modal,#101010); color:var(--t-text-primary,#f5f5f5); }
#postLikersModal .post-likers-header { flex:0 0 auto; min-height:60px; padding:8px 16px 8px 20px; border:0; }
#postLikersModal .post-likers-header h2 { margin:0; color:var(--t-text-primary,#f5f5f5); font-size:17px; font-weight:650; letter-spacing:-.02em; text-transform:none; }
#postLikersModal .post-likers-close { box-sizing:border-box; display:grid; place-items:center; width:44px; height:44px; min-width:44px; min-height:44px; padding:0; border:0; border-radius:9px; background:transparent; color:var(--t-text-secondary,#aaa); cursor:pointer; }
#postLikersModal .post-likers-close:hover { background:var(--t-bg-hover,rgba(255,255,255,.06)); color:var(--t-text-primary,#fff); }
#postLikersModal .post-likers-list { display:flex; flex:1 1 auto; min-height:0; flex-direction:column; gap:0; padding:0 16px 12px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--t-border-strong,#444) transparent; }
#postLikersModal .post-liker-row { display:flex; align-items:center; gap:12px; width:100%; min-height:64px; padding:8px 4px; border:0; border-bottom:1px solid var(--t-border-subtle,#242424); border-radius:0; background:transparent; color:var(--t-text-primary,#f5f5f5); text-align:left; font:inherit; cursor:pointer; }
#postLikersModal .post-liker-row:last-child { border-bottom:0; }
#postLikersModal .post-liker-row:hover { background:transparent; }
#postLikersModal .post-liker-row:active { opacity:.72; }
#postLikersModal .post-liker-row:focus-visible,#postLikersModal .post-likers-close:focus-visible,#postLikersModal .post-likers-retry:focus-visible { outline:2px solid var(--t-text-secondary,#c7c7c7); outline-offset:2px; }
#postLikersModal .post-liker-avatar,#postLikersModal .post-liker-initial { position:relative; display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; overflow:hidden; border-radius:50%; background:var(--t-bg-tab-active,#1b1b1b); color:var(--t-text-secondary,#c7c7c7); }
#postLikersModal .post-liker-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
#postLikersModal .post-liker-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:3px; }
#postLikersModal .post-liker-copy strong { overflow:hidden; color:var(--t-text-primary,#f5f5f5); font-size:13px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
#postLikersModal .post-liker-copy small { color:var(--t-text-muted,#929292); font-size:11px; }
#postLikersModal .post-liker-arrow { color:var(--t-text-muted,#777); font-size:24px; font-weight:300; line-height:1; }
#postLikersModal .post-likers-state { display:flex; min-height:132px; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:20px 16px; color:var(--t-text-muted,#929292); text-align:center; font-size:13px; line-height:1.55; }
#postLikersModal .post-likers-spinner { width:18px; height:18px; border:1.5px solid var(--t-border-subtle,#333); border-top-color:var(--t-text-secondary,#c7c7c7); border-radius:50%; animation:post-likers-spin .75s linear infinite; }
#postLikersModal .post-likers-retry { min-height:40px; padding:0 10px; border:0; border-radius:8px; background:transparent; color:var(--t-text-primary,#f5f5f5); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
#postLikersModal .post-likers-retry:hover { background:var(--t-bg-hover,rgba(255,255,255,.06)); }
@keyframes post-likers-spin { to { transform:rotate(360deg); } }
@media(max-width:600px) { body #postLikersModal > .post-likers-sheet { width:100%; max-height:min(76dvh,calc(100dvh - 12px))!important; border-radius:24px 24px 0 0!important; } }
@media(prefers-reduced-motion:reduce) { #postLikersModal .post-likers-spinner { animation:none; } }
#profilePostPreview .thread-post-load-state{display:flex;min-height:240px;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--t-text-secondary,#c5c6c7);font-size:13px;line-height:1.5}
#profilePostPreview .thread-post-load-spinner{width:20px;height:20px;border:2px solid var(--t-border-subtle,rgba(255,255,255,.1));border-top-color:var(--t-text-secondary,#c5c6c7);border-radius:50%;animation:thread-post-spin .75s linear infinite}
#profilePostPreview .thread-post-retry{min-height:44px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--t-text-primary,#fff);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
#profilePostPreview .thread-post-retry:hover{background:var(--t-bg-subtle,rgba(255,255,255,.06))}
@keyframes thread-post-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#profilePostPreview .thread-post-load-spinner{animation:none}}
.feed-end-note { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; padding:28px 16px; color:var(--t-text-muted); font-size:12px; }
.feed-new-posts { position:sticky; z-index:30; top:70px; display:block; margin:8px auto; min-height:38px; padding:8px 16px; border:1px solid var(--t-border-strong); border-radius:30px; background:var(--t-text-primary); color:var(--t-text-inverse,#000); font-size:12px; box-shadow:0 4px 20px rgba(0,0,0,.12); cursor:pointer; }
.feed-new-posts[hidden] { display:none; }
.feed-live-room { left:calc(50% + 362px)!important; width:min(248px,calc(50vw - 386px))!important; padding:20px!important; border-radius:16px!important; }
.feed-live-room h2 { font-size:12px!important; font-weight:500; color:var(--t-text-muted); }
.feed-live-room strong { font-size:16px; font-weight:600; }
.feed-live-room p { font-size:12px!important; line-height:1.7; }
.feed-live-room button { width:100%; margin-top:8px; min-height:44px; }
.feed-room-avatars { display:flex; gap:5px; margin:14px 0; }
.feed-room-avatars .avatar { width:30px; height:30px; }
.has-live-call #feedLiveRoom { display:none!important; }
.feed-call-person { display:inline-flex; border:1px solid transparent; border-radius:50%; padding:2px; }
.feed-call-person.speaking { border-color:var(--t-text-primary); }
.feed-context-card { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:14px 0 6px; padding:14px; background:var(--t-bg-card); border:1px solid var(--t-border-subtle); border-radius:12px; }
.feed-context-card > span { flex-basis:100%; font-size:13px; font-weight:600; }
.feed-context-card a,.feed-context-card button { min-height:36px; display:inline-flex; align-items:center; padding:6px 10px; border:1px solid var(--t-border-subtle); border-radius:8px; background:none; color:var(--t-text-primary); text-decoration:none; font-size:12px; cursor:pointer; }
.feed-room-disclosure { display:block; margin-top:10px; color:var(--t-text-muted); font-size:11px; line-height:1.6; }
.feed-feedback-backdrop { position:fixed; inset:0; z-index:10000100; box-sizing:border-box; background:rgba(0,0,0,.68); display:grid; place-items:center; padding:20px; overflow:hidden; overscroll-behavior:none; }
.feed-feedback-dialog { width:min(420px,100%); max-height:min(80dvh,100%); box-sizing:border-box; overflow:auto; overscroll-behavior:contain; background:var(--t-bg-modal,#101010); color:var(--t-text-primary); border:1px solid var(--t-border-subtle,#242424); border-radius:16px; padding:8px 12px 12px; box-shadow:0 18px 56px rgba(0,0,0,.38); animation:feed-tool-in .18s ease-out both; }
.feed-feedback-dialog header { display:flex; align-items:center; gap:12px; min-height:56px; padding:4px 4px 8px; border-bottom:1px solid var(--t-border-subtle,#242424); margin-bottom:6px; }
.feed-feedback-dialog h2 { flex:1; margin:0; font-size:16px; font-weight:650; letter-spacing:-.02em; }
.feed-feedback-dialog .feed-tool-action { display:flex; align-items:center; gap:12px; width:100%; min-height:48px; padding:10px 8px; text-align:left; background:transparent; color:inherit; border:0; border-radius:8px; font:inherit; font-size:14px; font-weight:500; cursor:pointer; transition:background .16s ease,color .16s ease; }
.feed-feedback-dialog .feed-tool-action:hover { background:rgba(255,255,255,.055); }
.feed-feedback-dialog .feed-tool-action:active { background:rgba(255,255,255,.09); }
.feed-feedback-dialog .feed-tool-action:disabled { opacity:.55; cursor:wait; }
.feed-feedback-dialog .feed-tool-icon { display:grid; place-items:center; width:22px; height:22px; flex:0 0 22px; color:var(--t-text-secondary,#a1a1a1); }
.feed-feedback-dialog .feed-tool-icon svg { display:block; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.feed-feedback-dialog .feed-tool-action.is-danger { color:#ff7777; }
.feed-feedback-dialog .feed-tool-action.is-danger .feed-tool-icon { color:inherit; }
.feed-feedback-dialog .feed-tools-close { display:grid; place-items:center; width:40px; height:40px; min-width:40px; min-height:40px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--t-text-secondary,#aaa); cursor:pointer; }
.feed-feedback-dialog .feed-tools-close:hover { color:var(--t-text-primary); }
.feed-feedback-dialog .feed-tools-close svg { display:block; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.feed-feedback-dialog .feed-tools-close:focus-visible,.feed-feedback-dialog .feed-tool-action:focus-visible { outline:2px solid rgba(255,255,255,.72); outline-offset:2px; }
.feed-feedback-dialog button:not(.feed-tool-action):not(.feed-tools-close) { display:flex; align-items:center; gap:10px; width:100%; min-height:46px; padding:12px; text-align:left; background:none; color:inherit; border:0; border-radius:9px; font:inherit; font-size:13px; cursor:pointer; }
.feed-feedback-dialog button:not(.feed-tool-action):not(.feed-tools-close):hover { background:var(--t-bg-hover); }
.feed-feedback-dialog header button { flex:0 0 40px; justify-content:center; padding:0; }
.feed-feedback-dialog header button svg { display:block; }
.feed-feedback-dialog p { color:var(--t-text-secondary); font-size:13px; line-height:1.65; padding:0 4px; }
@keyframes feed-tool-in { from { opacity:0; transform:translateY(8px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
.feed-feedback-dialog .feed-pref-row { display:flex; align-items:center; gap:8px; padding:6px 8px; }
.feed-pref-row span { flex:1; min-width:0; overflow-wrap:anywhere; }
.feed-pref-row button { width:auto; border:1px solid var(--t-border-subtle); }
.feed-topic-options { display:flex; flex-wrap:wrap; gap:8px; padding:8px; }
.feed-topic-options label { display:flex; align-items:center; gap:6px; min-height:40px; padding:8px 10px; border:1px solid var(--t-border-subtle); border-radius:10px; font-size:12px; cursor:pointer; }
.feed-topic-options input { accent-color:var(--t-text-primary); }
.feed-undo { position:fixed; z-index:10000110; bottom:calc(90px + env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:20px; padding:12px 16px; max-width:calc(100% - 32px); background:var(--t-bg-modal); color:var(--t-text-primary); border:1px solid var(--t-border-strong); border-radius:12px; font-size:13px; box-shadow:0 4px 24px rgba(0,0,0,.2); }
.feed-undo button { border:0; color:inherit; background:none; min-height:32px; white-space:nowrap; cursor:pointer; text-decoration:underline; }
.post-type-controls { display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding:10px 0; font-size:12px; color:var(--t-text-muted); }
.post-type-controls label { display:flex; align-items:center; gap:6px; min-height:32px; cursor:pointer; }
.post-type-controls input { accent-color:var(--t-text-primary); }
.post-type-controls { padding-top:4px; }
.post-type-controls > span { display:none; }
.post-media-review { order:8; width:100%; padding:14px 0 4px; border-top:1px solid var(--t-border-subtle); margin-top:12px; }
.post-media-review strong { font-size:12px; font-weight:600; }
.post-media-review p { font-size:11px; color:var(--t-text-muted); line-height:1.6; }
.post-media-order { display:flex; gap:8px; margin:10px 0; }
.post-media-order button { min-height:40px; flex:1; border:1px solid var(--t-border-subtle); border-radius:8px; background:transparent; color:var(--t-text-primary); font-size:12px; }
.post-media-preview-button { width:100%; min-height:40px; border:1px solid var(--t-border-subtle); background:var(--t-bg-input); color:var(--t-text-primary); border-radius:9px; font-size:12px; cursor:pointer; }
.feed-feedback-dialog.post-gallery-preview { width:min(720px,100%); }
.post-gallery-preview-image { display:block; width:100%; max-height:55dvh; object-fit:contain; border-radius:10px; background:var(--t-bg-input); }
.post-gallery-preview .post-media-order button { justify-content:center; border:1px solid var(--t-border-subtle); }
.post-media-review label { display:grid; gap:6px; font-size:11px; color:var(--t-text-muted); }
.post-media-review textarea,.post-settings-caption,.post-alt-setting textarea { width:100%; box-sizing:border-box; resize:vertical; padding:8px 0; background:transparent!important; color:var(--t-text-primary); border:0!important; outline:0!important; box-shadow:none!important; font:inherit; font-size:14px; line-height:1.6; }
.post-media-review textarea { font-size:16px; }
.post-upload-status { flex-basis:100%; padding:8px 0; color:var(--t-text-secondary); font-size:12px; line-height:1.5; }
#postModalOverlay .post-modal-footer { flex-wrap:wrap; }
#postModalOverlay .multi-image-thumb-remove { min-width:24px; min-height:24px; }
.post-setting-toggle { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:48px; padding:8px; font-size:13px; border-bottom:1px solid var(--t-border-subtle); }
.post-setting-toggle input { width:18px; height:18px; accent-color:var(--t-text-primary); }
.post-alt-setting { display:grid; gap:4px; padding:12px 8px; font-size:12px; color:var(--t-text-muted); border-bottom:1px solid var(--t-border-subtle); }
.post-settings-caption { padding:12px 8px; font-size:16px; }
.post-stats-ranges { display:flex; gap:4px; padding:8px; }
.feed-feedback-dialog .post-stats-ranges button { justify-content:center; padding:8px; min-height:36px; font-size:12px; border:1px solid var(--t-border-subtle); }
.post-stats-ranges button[aria-pressed=true] { background:var(--t-text-primary); color:var(--t-text-inverse); }
.post-stats-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:8px; }
.post-stats-grid > div { display:grid; gap:8px; padding:14px; background:var(--t-bg-input); border:1px solid var(--t-border-subtle); border-radius:12px; }
.post-stats-grid strong { font-size:26px; font-weight:600; font-variant-numeric:tabular-nums; }
.post-stats-grid span { font-size:11px; color:var(--t-text-muted); line-height:1.5; }
.post-stats-grid.compact strong { font-size:20px; }
.post-media-stat { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:10px 8px; border-bottom:1px solid var(--t-border-subtle); font-size:12px; }
.post-media-stat img { width:42px; height:48px; object-fit:contain; background:var(--t-bg-input); border-radius:5px; }
.post-media-stat small { color:var(--t-text-muted); }
.post-draft-note { font-size:11px; color:var(--t-text-muted); margin:0 0 8px; }
#profilePostPreview .thread-modal-content { width:100%; min-width:0; }
#profilePostPreview .thread-modal-content-wrapper { max-width:680px; }
#profilePostPreview .thread-modal-header { background:var(--t-bg-modal)!important; border-bottom:1px solid var(--t-border-subtle); }
#profilePostPreview .thread-header-title { font-size:15px; font-weight:600; }
#profilePostPreview .thread-reply-container { background:var(--t-bg-modal)!important; border-top:1px solid var(--t-border-subtle); padding:12px 16px max(12px,env(safe-area-inset-bottom)); }
#profilePostPreview .thread-reply-input-wrapper { position:relative; width:100%; }
#profilePostPreview .pdetail-no-comment { display:grid; min-height:104px; place-items:center; padding:20px 12px; color:var(--t-text-muted,#929292); font-size:13px; font-weight:450; line-height:1.55; text-align:center; }
#profilePostPreview .thread-reply-guest-cta { display:flex; flex-direction:column; align-items:flex-start; gap:5px; padding:2px 0; }
#profilePostPreview .thread-reply-guest-title { color:var(--t-text-primary,#f5f5f5); font-size:13px; font-weight:600; }
#profilePostPreview .thread-reply-guest-cta p { margin:0; color:var(--t-text-muted,#929292); font-size:12px; line-height:1.5; }
#profilePostPreview .thread-reply-login-btn { min-height:40px; padding:0 8px; margin-left:-8px; border:0; border-radius:8px; background:transparent; color:var(--t-text-primary,#fff); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
#profilePostPreview .thread-reply-login-btn:hover { background:var(--t-bg-hover,rgba(255,255,255,.06)); }
#profilePostPreview .profile-post-menu-panel { border:1px solid var(--t-border-subtle,#292929); background:var(--t-bg-modal,#101010); box-shadow:0 14px 42px rgba(0,0,0,.32); }
#profilePostPreview .profile-post-menu-title { padding:12px 14px 8px; color:var(--t-text-muted,#929292); font-size:11px; font-weight:600; letter-spacing:0; text-transform:none; }
#profilePostPreview .thread-comment-input { min-width:0; min-height:44px; max-height:120px; resize:none; background:transparent!important; border:0!important; outline:0!important; box-shadow:none!important; color:var(--t-text-primary); font-size:15px; line-height:1.5; padding:10px 6px; font-family:inherit; }
#profilePostPreview .thread-comment-send { min-height:40px; flex:0 0 auto; padding:8px 12px; border-radius:9px; background:var(--t-text-primary)!important; color:var(--t-text-inverse)!important; }
#profilePostPreview .pdetail-comment-text { font-weight:400; line-height:1.6; overflow-wrap:anywhere; }
#profilePostPreview .feed-comment-target { animation:feed-target 4s ease-out; }
#profilePostPreview .pdetail-comment.feed-comment-target { scroll-margin-top:82px; border-radius:10px; box-shadow:none; }
#profilePostPreview .pdetail-replies-wrapper { position:relative; margin:6px 0 0!important; padding:0 0 0 44px!important; border:0!important; }
#profilePostPreview .pdetail-replies-toggle-btn { min-height:32px; margin:0; padding:5px 0!important; color:var(--t-text-muted,#929292)!important; font-size:12px; }
#profilePostPreview .pdetail-replies-toggle-btn:hover { color:var(--t-text-primary,#fff)!important; }
#profilePostPreview .pdetail-replies-toggle-btn .line { width:18px!important; height:1px!important; background:var(--t-text-muted,#777)!important; }
#profilePostPreview .pdetail-replies-list { display:none!important; margin:2px 0 0 18px; padding:0 0 0 10px; border:0; gap:8px; }
#profilePostPreview .pdetail-replies-list.open { display:flex!important; }
#profilePostPreview .pdetail-comment.reply-item { margin:0!important; padding:8px 0 0!important; }
#profilePostPreview .comment-reply-action-btn:hover { color:var(--t-text-primary,#fff)!important; }
@keyframes feed-target { from { background:rgba(255,255,255,.09); } to { background:transparent; } }
@media(min-width:769px) { #profilePostPreview .thread-modal-content { display:flex; flex-direction:column; max-height:calc(100dvh - 60px); } #profilePostPreview .thread-detail-scroll { display:block; overflow:auto; overscroll-behavior:contain; min-height:0; flex:1; } #profilePostPreview :is(.thread-modal-header,.thread-reply-container) { flex-shrink:0; } }
@media(max-width:1259px) { .feed-live-room { display:none!important; } }
@media(max-width:768px) {
  #feedPage .feed-reels-btn { width:40px; min-width:40px; height:40px; padding:0; }
  #profilePostPreview .pdetail-comment.feed-comment-target { scroll-margin-top:12px; }
  #profilePostPreview .pdetail-replies-wrapper { padding-left:42px!important; }
  #feedPage .feed-quick-compose-card { padding:12px 16px; margin-top:0; }
  #feedPage .feed-quick-compose-body { gap:0; }
  #feedPage .feed-quick-tool-btn { width:36px; height:36px; flex-basis:36px; }
  .tweet-card { padding:18px 16px!important; }
  .tweet-text { font-size:14px!important; }
  .tweet-media-container .original-ratio-img,.tweet-carousel-img { max-height:65svh!important; }
  .tweet-carousel-arrow { display:none!important; }
  .tweet-carousel-badge { display:none!important; }
  .tweet-carousel-dots { bottom:6px!important; }
  .tweet-content-wrapper:has(.tweet-body .tweet-media-container) { position:relative; }
  .tweet-content-wrapper:has(.tweet-body .tweet-media-container) > .tweet-actions-bar {
    position:absolute;z-index:12;right:2px;bottom:18px;
    width:44px;max-width:none;padding:0;margin:0;
    flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;
  }
  .tweet-content-wrapper:has(.tweet-body .tweet-video-wrapper) > .tweet-actions-bar { bottom:62px; }
  .tweet-content-wrapper:has(.tweet-body .tweet-media-container) .tweet-action-btn {
    width:44px;min-width:44px;min-height:44px;padding:2px 0;
    flex-direction:column;justify-content:center;gap:0;
    border:0!important;border-radius:0!important;background:transparent!important;
    color:#fff!important;text-shadow:0 1px 4px #000;
  }
  .tweet-content-wrapper:has(.tweet-body .tweet-media-container) .tweet-action-btn .tweet-icon-wrap {
    width:36px;height:32px;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
  }
  .tweet-content-wrapper:has(.tweet-body .tweet-media-container) .tweet-action-btn svg {
    width:21px;height:21px;filter:drop-shadow(0 1px 2px #000b);
  }
  .tweet-content-wrapper:has(.tweet-body .tweet-media-container) .tweet-action-btn > span {
    color:#fff!important;font-size:10px;line-height:12px;text-shadow:0 1px 4px #000;
  }
  .tweet-content-wrapper:has(.tweet-body .tweet-media-container) .tweet-action-btn.like.liked { color:#ff4865!important; }
  .tweet-content-wrapper:has(.tweet-body .tweet-media-container) .tweet-action-btn.like.liked > span { color:#fff!important; }
  .tweet-content-wrapper:has(.tweet-body .tweet-media-container) .tweet-action-btn:is(:hover,:active) { background:transparent!important;transform:none!important; }
  #profilePostPreview .thread-modal-header { padding-top:env(safe-area-inset-top); min-height:calc(52px + env(safe-area-inset-top)); }
  #profilePostPreview .thread-comment-input { font-size:16px; }
  .feed-feedback-backdrop { padding:0; align-items:end; }
  .feed-feedback-dialog { width:100%; max-height:min(88dvh,760px); padding:8px 16px max(12px,env(safe-area-inset-bottom)); border:0; border-radius:18px 18px 0 0; box-shadow:0 -12px 40px rgba(0,0,0,.22); animation:feed-tool-sheet-in .2s ease-out both; }
  .feed-feedback-dialog header { min-height:56px; padding-inline:0; }
  .feed-feedback-dialog .feed-tool-action { min-height:50px; padding-inline:4px; }
}
@keyframes feed-tool-sheet-in { from { opacity:.8; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:no-preference) {
  .tweet-action-btn { transition:color .16s ease,transform .16s ease,background .16s ease!important; }
  .tweet-action-btn:active { transform:scale(.92); }
  .tweet-carousel-dot::before { transition:width .22s ease,background .22s ease!important; }
}
@media(prefers-reduced-motion:reduce) { .feed-comment-target { animation:none!important; } }
@media(prefers-reduced-motion:reduce) { #feedPage .feed-reels-btn[aria-busy="true"] svg { animation:none; } }
@media(max-height:500px) {
  #profilePostPreview.thread-modal-backdrop { inset:0; height:var(--thread-viewport-height,100dvh); background:var(--t-bg-app)!important; }
  #profilePostPreview :is(.thread-modal-container,.thread-modal-content-wrapper,.thread-modal-content) { display:flex; flex-direction:column; width:100%; height:100%; max-width:none; max-height:none; padding:0; margin:0; border:0!important; border-radius:0; overflow:hidden; }
  #profilePostPreview .thread-detail-scroll { display:block; min-height:0; flex:1; overflow:auto; }
}
