:root {
  --tfeed-bg-base: #060a12;
  --tfeed-bg-deep: #080d18;
  --tfeed-bg-surface: #0d1422;
  --tfeed-bg-elevated: #131c2c;
  --tfeed-purple: #8a5cff;
  --tfeed-purple-bright: #a96cff;
  --tfeed-indigo: #645cff;
  --tfeed-blue: #298cff;
  --tfeed-cyan: #18c8ff;
  --tfeed-pink: #ff4c9d;
  --tfeed-red: #ff4568;
  --tfeed-green: #37d896;
  --tfeed-text-primary: #f5f7ff;
  --tfeed-text-secondary: #b3bdd0;
  --tfeed-text-muted: #748096;
  --tfeed-glass-soft: rgba(20, 29, 45, .72);
  --tfeed-glass-border: rgba(210, 225, 255, .13);
  --tfeed-glass-border-active: rgba(135, 102, 255, .62);
}

#t-feed-container { min-height: 100%; }
.tfeed-app {
  isolation: isolate;
  position: relative;
  min-height: 100dvh;
  overflow-x: clip;
  padding: max(12px, env(safe-area-inset-top)) 13px calc(94px + env(safe-area-inset-bottom));
  color: var(--tfeed-text-primary);
  background: radial-gradient(circle at 14% 0%, rgba(85, 55, 166, .32), transparent 31%), radial-gradient(circle at 93% 16%, rgba(20, 123, 255, .18), transparent 28%), linear-gradient(155deg, #050912 0%, #090e1a 55%, #05070d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.tfeed-ambient { position: fixed; z-index: -1; width: 320px; height: 320px; border-radius: 50%; filter: blur(80px); opacity: .22; pointer-events: none; }
.tfeed-ambient--purple { top: -185px; left: -150px; background: var(--tfeed-purple); }
.tfeed-ambient--blue { right: -210px; bottom: 80px; background: var(--tfeed-blue); }
.tfeed-app *, .tfeed-app *::before, .tfeed-app *::after { box-sizing: border-box; }
.tfeed-app button, .tfeed-app input, .tfeed-app textarea, .tfeed-app select { font: inherit; }
.tfeed-app button { -webkit-tap-highlight-color: transparent; cursor: pointer; }
.tfeed-app button:focus-visible, .tfeed-app input:focus-visible, .tfeed-app textarea:focus-visible, .tfeed-app select:focus-visible { outline: 2px solid var(--tfeed-cyan); outline-offset: 3px; }

.tfeed-topbar { position: sticky; top: max(7px, env(safe-area-inset-top)); z-index: 20; width: min(100%, 760px); min-height: 58px; margin: 0 auto 18px; padding: 7px 9px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 7px; border: 1px solid var(--tfeed-glass-border); border-radius: 20px; background: rgba(9, 14, 25, .78); box-shadow: 0 16px 45px rgba(0, 0, 0, .3), inset 0 1px rgba(255,255,255,.05); backdrop-filter: blur(18px); }
.tfeed-logo { border: 0; background: transparent; color: var(--tfeed-text-primary); font-weight: 900; font-size: 20px; letter-spacing: -1.1px; text-align: center; text-shadow: 0 0 22px rgba(157, 103, 255, .48); }
.tfeed-logo span { color: var(--tfeed-purple-bright); font-style: italic; }
.tfeed-topbar-actions { display: flex; gap: 5px; }
.tfeed-icon-button, .tfeed-plain-icon { position: relative; display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--tfeed-glass-border); color: var(--tfeed-text-primary); background: linear-gradient(145deg, rgba(28, 40, 61, .92), rgba(12, 18, 32, .92)); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tfeed-icon-button { border-radius: 15px; font-size: 17px; }
.tfeed-icon-button:active, .tfeed-plain-icon:active { transform: scale(.94); }
.tfeed-icon-button:hover { border-color: var(--tfeed-glass-border-active); box-shadow: 0 0 18px rgba(117, 89, 255, .25); }
.tfeed-back { border-radius: 50%; }
.tfeed-badge { position: absolute; top: -4px; right: -4px; display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 4px; border: 2px solid #0a0f1b; border-radius: 99px; background: linear-gradient(135deg, var(--tfeed-pink), var(--tfeed-red)); color: #fff; font-size: 10px; font-weight: 900; }

.tfeed-main { width: min(100%, 670px); margin: 0 auto; }
.tfeed-glass { border: 1px solid var(--tfeed-glass-border); background: linear-gradient(135deg, rgba(20,29,45,.82), rgba(8,13,24,.75)); box-shadow: 0 18px 55px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(16px); }
.tfeed-eyebrow { display: block; color: var(--tfeed-cyan); font-size: 10px; line-height: 1.2; font-weight: 800; letter-spacing: 1.55px; }
.tfeed-screen-heading, .tfeed-feed-header { display: flex; flex-direction: column; gap: 6px; margin: 2px 2px 16px; }
.tfeed-screen-heading h1, .tfeed-feed-header h1 { margin: 0; font-size: clamp(25px, 7vw, 32px); letter-spacing: -.7px; }
.tfeed-screen-heading p { margin: 0; color: var(--tfeed-text-secondary); font-size: 13px; line-height: 1.5; }
.tfeed-screen-heading--row, .tfeed-feed-header { flex-direction: row; align-items: end; justify-content: space-between; gap: 12px; }
.tfeed-filter { min-height: 40px; padding: 0 12px; border: 1px solid var(--tfeed-glass-border); border-radius: 12px; background: rgba(21,31,49,.8); color: var(--tfeed-text-secondary); font-size: 12px; white-space: nowrap; }
.tfeed-filter i { color: var(--tfeed-cyan); margin-right: 5px; }

.tfeed-stories { display: flex; align-items: center; gap: 14px; min-height: 102px; margin-bottom: 18px; padding: 12px; border: 1px solid var(--tfeed-glass-border); border-radius: 21px; background: rgba(10, 17, 30, .65); overflow: hidden; }
.tfeed-story { display: flex; flex: 0 0 auto; width: 66px; flex-direction: column; align-items: center; gap: 7px; border: 0; color: var(--tfeed-text-secondary); background: transparent; font-size: 10px; }
.tfeed-story-ring { position: relative; display: grid; width: 57px; height: 57px; padding: 2px; border-radius: 50%; background: conic-gradient(from 120deg, var(--tfeed-cyan), var(--tfeed-purple), var(--tfeed-pink), var(--tfeed-cyan)); box-shadow: 0 0 18px rgba(93,125,255,.38); }
.tfeed-story-ring img { width: 100%; height: 100%; border: 2px solid #0b1120; border-radius: 50%; object-fit: cover; background: #111b2d; }
.tfeed-story-ring b { position: absolute; right: -2px; bottom: -1px; display: grid; width: 21px; height: 21px; place-items: center; border: 2px solid #0d1422; border-radius: 50%; background: var(--tfeed-purple); color: #fff; font-size: 16px; line-height: 1; }
.tfeed-stories-message { min-width: 0; display: flex; flex-direction: column; gap: 3px; color: var(--tfeed-text-secondary); font-size: 12px; line-height: 1.35; }
.tfeed-stories-message strong { color: var(--tfeed-text-primary); font-size: 13px; }

.tfeed-tabs { display: flex; gap: 7px; width: 100%; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.tfeed-tabs::-webkit-scrollbar { display: none; }
.tfeed-tabs button { min-height: 35px; flex: 0 0 auto; padding: 0 13px; border: 1px solid transparent; border-radius: 99px; background: rgba(18,27,43,.82); color: var(--tfeed-text-muted); font-size: 11px; font-weight: 700; }
.tfeed-tabs button.is-active { border-color: rgba(169,108,255,.55); background: linear-gradient(110deg, rgba(138,92,255,.92), rgba(41,140,255,.92)); color: #fff; box-shadow: 0 0 19px rgba(138,92,255,.3); }

.tfeed-post { overflow: hidden; margin-bottom: 13px; border-radius: 21px; }
.tfeed-post-header { display: flex; align-items: center; gap: 10px; padding: 13px 13px 10px; }
.tfeed-avatar { width: 42px; height: 42px; flex: 0 0 auto; border: 2px solid rgba(138,92,255,.75); border-radius: 50%; object-fit: cover; background: #101a2b; }
.tfeed-post-header > div { display: grid; gap: 2px; min-width: 0; }
.tfeed-post-header strong { overflow: hidden; color: var(--tfeed-text-primary); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tfeed-post-header span { color: var(--tfeed-text-muted); font-size: 10px; }
.tfeed-plain-icon { width: 35px; min-width: 35px; min-height: 35px; margin-left: auto; border: 0; border-radius: 11px; background: transparent; color: var(--tfeed-text-secondary); }
.tfeed-post-media { display: block; width: 100%; max-height: min(72vh, 620px); object-fit: cover; background: #050811; }
.tfeed-post-body { margin: 0; padding: 12px 14px 2px; color: var(--tfeed-text-primary); font-size: 13px; line-height: 1.52; overflow-wrap: anywhere; }
.tfeed-post-actions { display: flex; align-items: center; gap: 5px; padding: 9px 9px 10px; }
.tfeed-post-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 43px; min-height: 39px; padding: 0 9px; border: 0; border-radius: 11px; background: transparent; color: var(--tfeed-text-secondary); font-size: 12px; }
.tfeed-post-actions button:hover { background: rgba(126,102,255,.12); color: var(--tfeed-text-primary); }
.tfeed-post-actions .tfeed-action--liked { color: var(--tfeed-pink); }
.tfeed-load-more { display: block; width: 100%; min-height: 46px; margin: 6px 0 16px; border: 1px solid var(--tfeed-glass-border); border-radius: 14px; background: rgba(18,27,43,.74); color: var(--tfeed-cyan); font-weight: 700; }

.tfeed-bottom-nav { position: fixed; z-index: 40; left: 50%; bottom: max(11px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); width: min(470px, calc(100vw - 28px)); min-height: 56px; padding: 4px; transform: translateX(-50%); border: 1px solid rgba(186, 210, 255, .25); border-radius: 20px; background: linear-gradient(135deg, rgba(17, 26, 46, .72), rgba(5, 10, 23, .72)); box-shadow: 0 12px 36px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.10); backdrop-filter: blur(24px) saturate(1.35); -webkit-backdrop-filter: blur(24px) saturate(1.35); }
.tfeed-bottom-nav button { position: relative; display: flex; min-width: 0; min-height: 47px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; border-radius: 14px; background: transparent; color: var(--tfeed-text-muted); font-size: 8px; font-weight: 750; }
.tfeed-bottom-nav button i { font-size: 18px; }
.tfeed-bottom-nav button.is-active { color: #fff; text-shadow: 0 0 13px rgba(169,108,255,.7); }
.tfeed-bottom-nav button.is-active i { color: var(--tfeed-purple-bright); }
.tfeed-bottom-nav .tfeed-create-button { z-index: 2; min-height: 50px; margin: -17px 0 0; border: 1px solid rgba(211,190,255,.72); border-radius: 50%; background: linear-gradient(145deg, var(--tfeed-purple-bright), var(--tfeed-indigo) 50%, var(--tfeed-blue)); color: #fff; box-shadow: 0 0 0 4px rgba(7,12,22,.80), 0 0 22px rgba(130,89,255,.70); }
.tfeed-bottom-nav .tfeed-create-button i { font-size: 19px; }
.tfeed-bottom-nav .tfeed-create-button span { display: none; }

.tfeed-search { margin: 0 0 13px; padding: 1px; border: 1px solid var(--tfeed-glass-border); border-radius: 16px; background: rgba(14,22,37,.82); }
.tfeed-search label { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 14px; color: var(--tfeed-cyan); }
.tfeed-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--tfeed-text-primary); font-size: 13px; }
.tfeed-search input::placeholder { color: var(--tfeed-text-muted); }
.tfeed-explore-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.tfeed-explore-actions button { display: flex; min-height: 74px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--tfeed-glass-border); border-radius: 17px; background: linear-gradient(145deg, rgba(22,32,53,.82), rgba(11,17,29,.76)); color: var(--tfeed-text-primary); font-size: 12px; font-weight: 700; }
.tfeed-explore-actions i { color: var(--tfeed-cyan); font-size: 21px; }
.tfeed-explore-users, .tfeed-thread-list { overflow: hidden; border: 1px solid var(--tfeed-glass-border); border-radius: 18px; background: rgba(11,18,31,.65); }
.tfeed-explore-users h2 { margin: 0; padding: 13px 14px; font-size: 14px; }
.tfeed-explore-users button, .tfeed-thread-list button, .tfeed-user-results button { display: flex; width: 100%; align-items: center; gap: 10px; min-height: 64px; padding: 9px 12px; border: 0; border-top: 1px solid rgba(210,225,255,.08); background: transparent; color: var(--tfeed-text-primary); text-align: left; }
.tfeed-explore-users img, .tfeed-thread-list img, .tfeed-user-results img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #101a2b; }
.tfeed-explore-users span, .tfeed-thread-list span, .tfeed-user-results span { display: grid; min-width: 0; flex: 1; gap: 2px; }
.tfeed-explore-users strong, .tfeed-thread-list strong, .tfeed-user-results strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tfeed-explore-users small, .tfeed-thread-list small, .tfeed-user-results small { overflow: hidden; color: var(--tfeed-text-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tfeed-thread-list time { color: var(--tfeed-text-muted); font-size: 10px; }
.tfeed-direct-search { display: flex; align-items: center; gap: 8px; min-height: 47px; margin-bottom: 14px; padding: 0 14px; border: 1px solid var(--tfeed-glass-border); border-radius: 14px; background: rgba(15,23,39,.74); color: var(--tfeed-text-muted); font-size: 13px; }
.tfeed-direct-search i { color: var(--tfeed-cyan); }

.tfeed-reels-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tfeed-reel-card { position: relative; min-height: 280px; overflow: hidden; border: 1px solid var(--tfeed-glass-border); border-radius: 19px; background: #03050a; }
.tfeed-reel-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tfeed-reel-card::after { position: absolute; inset: 43% 0 0; content: ''; background: linear-gradient(transparent, rgba(2,4,9,.92)); pointer-events: none; }
.tfeed-reel-card > button { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 41px; height: 41px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(8,12,22,.58); color: #fff; backdrop-filter: blur(8px); }
.tfeed-reel-card > div { position: absolute; z-index: 1; right: 11px; bottom: 11px; left: 11px; }
.tfeed-reel-card strong { display: block; font-size: 12px; }
.tfeed-reel-card p { display: -webkit-box; margin: 4px 0 0; overflow: hidden; color: var(--tfeed-text-secondary); font-size: 10px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.tfeed-market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.tfeed-market-card { display: grid; gap: 6px; overflow: hidden; padding: 9px; border-radius: 17px; }
.tfeed-market-photo { display: grid; height: 126px; place-items: center; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 50% 30%, rgba(115,82,238,.62), rgba(11,18,31,.92) 65%); color: var(--tfeed-cyan); font-size: 32px; }
.tfeed-market-photo img { width: 100%; height: 100%; object-fit: cover; }
.tfeed-market-card strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.tfeed-market-card span { color: var(--tfeed-text-muted); font-size: 10px; }
.tfeed-market-card b { color: var(--tfeed-green); font-size: 13px; }
.tfeed-market-card button { min-height: 34px; border: 1px solid rgba(41,140,255,.38); border-radius: 10px; background: rgba(30,70,126,.24); color: var(--tfeed-text-primary); font-size: 10px; font-weight: 700; }

.tfeed-profile-card { display: grid; place-items: center; padding: 27px 18px 21px; border-radius: 23px; text-align: center; }
.tfeed-profile-avatar { width: 90px; height: 90px; margin-bottom: 11px; padding: 3px; border: 2px solid var(--tfeed-purple-bright); border-radius: 50%; object-fit: cover; background: #0a1020; box-shadow: 0 0 28px rgba(150,99,255,.55); }
.tfeed-profile-card h1 { margin: 5px 0 2px; font-size: 24px; }
.tfeed-profile-card > p { margin: 0; color: var(--tfeed-text-muted); font-size: 12px; }
.tfeed-profile-stats { display: flex; justify-content: center; gap: 23px; width: 100%; margin: 18px 0; }
.tfeed-profile-stats span { display: grid; gap: 3px; color: var(--tfeed-text-muted); font-size: 10px; }
.tfeed-profile-stats b { color: var(--tfeed-text-primary); font-size: 17px; }
.tfeed-profile-section { margin-top: 21px; }
.tfeed-profile-section h2 { margin: 0 0 11px; font-size: 17px; }

.tfeed-state { display: grid; min-height: 220px; place-content: center; justify-items: center; padding: 30px; border-radius: 20px; color: var(--tfeed-text-secondary); text-align: center; }
.tfeed-state--loading { min-height: 160px; }
.tfeed-state h2 { margin: 8px 0 5px; color: var(--tfeed-text-primary); font-size: 19px; }
.tfeed-state p { max-width: 310px; margin: 0; font-size: 13px; line-height: 1.5; }
.tfeed-empty-icon { color: var(--tfeed-purple-bright); font-size: 36px; text-shadow: 0 0 26px rgba(169,108,255,.7); }
.tfeed-spinner { width: 31px; height: 31px; border: 3px solid rgba(169,108,255,.18); border-top-color: var(--tfeed-cyan); border-radius: 50%; animation: tfeed-spin .7s linear infinite; }
@keyframes tfeed-spin { to { transform: rotate(360deg); } }
.tfeed-primary, .tfeed-secondary { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 14px; font-size: 12px; font-weight: 800; }
.tfeed-primary { border: 1px solid rgba(206,185,255,.7); background: linear-gradient(100deg, var(--tfeed-purple), var(--tfeed-indigo) 52%, var(--tfeed-blue)); box-shadow: 0 0 23px rgba(117,91,255,.43); color: #fff; }
.tfeed-secondary { border: 1px solid var(--tfeed-glass-border); background: rgba(20,29,45,.75); color: var(--tfeed-text-primary); }

.tfeed-layer { position: relative; z-index: 50; }
.tfeed-modal-backdrop { position: fixed; z-index: 100; inset: 0; display: flex; align-items: end; justify-content: center; padding: 14px; background: rgba(1,4,10,.72); backdrop-filter: blur(8px); }
.tfeed-modal { width: min(100%, 620px); max-height: min(85dvh, 720px); overflow: auto; padding: 18px; border: 1px solid rgba(175,147,255,.52); border-radius: 24px; background: linear-gradient(145deg, #141d30, #0a101d); box-shadow: 0 -10px 55px rgba(0,0,0,.42), 0 0 30px rgba(126,91,255,.17); }
.tfeed-modal > header { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tfeed-modal h2 { margin: 3px 0 0; font-size: 22px; }
.tfeed-modal--thread { height: min(75dvh, 650px); display: flex; flex-direction: column; }
.tfeed-create-menu { display: grid; gap: 9px; }
.tfeed-create-menu button { display: flex; min-height: 70px; align-items: center; gap: 13px; padding: 10px 12px; border: 1px solid var(--tfeed-glass-border); border-radius: 16px; background: linear-gradient(120deg, rgba(29,40,64,.9), rgba(15,21,36,.78)); color: var(--tfeed-text-primary); text-align: left; }
.tfeed-create-menu button > i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, rgba(154,94,255,.4), rgba(38,142,255,.35)); color: var(--tfeed-cyan); font-size: 19px; }
.tfeed-create-menu button span { display: grid; gap: 2px; }
.tfeed-create-menu strong { font-size: 13px; }
.tfeed-create-menu small { color: var(--tfeed-text-muted); font-size: 11px; }
.tfeed-workout-preview { width: 100%; max-height: 280px; object-fit: cover; border: 1px solid var(--tfeed-glass-border); border-radius: 15px; background: #080d18; }
.tfeed-form { display: grid; gap: 13px; }
.tfeed-form label { display: grid; gap: 6px; color: var(--tfeed-text-secondary); font-size: 12px; font-weight: 700; }
.tfeed-form input, .tfeed-form textarea, .tfeed-form select, .tfeed-comment-form input, .tfeed-message-form textarea { width: 100%; border: 1px solid rgba(174,192,229,.2); border-radius: 13px; outline: none; background: rgba(4,9,17,.67); color: var(--tfeed-text-primary); }
.tfeed-form input, .tfeed-form select { min-height: 43px; padding: 0 12px; }
.tfeed-form textarea { min-height: 100px; padding: 11px 12px; resize: vertical; }
.tfeed-form input[type="file"] { padding: 10px; font-size: 11px; }
.tfeed-file-input { min-height: 58px; grid-template-columns: auto 1fr; align-items: center; padding: 0 12px; border: 1px dashed rgba(85,177,255,.57); border-radius: 13px; background: rgba(19,65,111,.16); color: var(--tfeed-cyan) !important; }
.tfeed-file-input input { display: none; }
.tfeed-comment { display: flex; gap: 9px; padding: 8px 0; border-bottom: 1px solid rgba(210,225,255,.08); }
.tfeed-comment img { width: 31px; height: 31px; border-radius: 50%; object-fit: cover; }
.tfeed-comment p { display: grid; gap: 2px; margin: 0; color: var(--tfeed-text-secondary); font-size: 12px; line-height: 1.4; }
.tfeed-comment strong { color: var(--tfeed-text-primary); font-size: 11px; }
.tfeed-comment small { color: var(--tfeed-text-muted); font-size: 10px; }
.tfeed-comment-form, .tfeed-message-form { display: flex; gap: 8px; margin-top: 13px; }
.tfeed-comment-form input { min-height: 43px; flex: 1; padding: 0 11px; }
.tfeed-comment-form button, .tfeed-message-form button { display: grid; width: 43px; min-width: 43px; min-height: 43px; place-items: center; border: 0; border-radius: 13px; background: linear-gradient(135deg, var(--tfeed-purple), var(--tfeed-blue)); color: #fff; }
.tfeed-message-list { flex: 1; min-height: 0; overflow-y: auto; padding: 5px 2px 10px; }
.tfeed-message { width: fit-content; max-width: 82%; margin: 7px 0; padding: 9px 11px; border-radius: 14px 14px 14px 4px; background: rgba(30,43,65,.86); color: var(--tfeed-text-primary); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.tfeed-message.is-mine { margin-left: auto; border-radius: 14px 14px 4px 14px; background: linear-gradient(135deg, rgba(125,76,237,.94), rgba(42,116,229,.9)); }
.tfeed-message small { display: block; margin-top: 3px; color: rgba(255,255,255,.67); font-size: 9px; }
.tfeed-message-form { margin-top: auto; }
.tfeed-message-form textarea { min-height: 45px; flex: 1; padding: 11px; resize: none; }
.tfeed-notification-empty { display: grid; min-height: 180px; place-content: center; justify-items: center; gap: 10px; color: var(--tfeed-text-secondary); text-align: center; font-size: 13px; }
.tfeed-notification-empty i { color: var(--tfeed-purple-bright); font-size: 31px; }
.tfeed-muted-note { padding: 14px 0; color: var(--tfeed-text-muted); font-size: 12px; text-align: center; }

#tfeed-toast-host { position: fixed; z-index: 9999; top: max(14px, env(safe-area-inset-top)); right: 14px; left: 14px; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.tfeed-toast { width: min(100%, 440px); padding: 12px 14px; border: 1px solid var(--tfeed-glass-border); border-radius: 13px; background: rgba(12,20,35,.95); color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.4); font-size: 12px; }
.tfeed-toast--success { border-color: rgba(55,216,150,.55); }.tfeed-toast--error { border-color: rgba(255,69,104,.65); }

@media (min-width: 760px) { .tfeed-app { padding-inline: 22px; } .tfeed-topbar { margin-bottom: 24px; } .tfeed-stories { padding-inline: 17px; } .tfeed-reels-grid { grid-template-columns: repeat(3, 1fr); } .tfeed-market-grid { grid-template-columns: repeat(3, 1fr); } .tfeed-bottom-nav { width: min(470px, calc(100vw - 28px)); } }
@media (max-width: 360px) { .tfeed-app { padding-right: 9px; padding-left: 9px; } .tfeed-topbar { grid-template-columns: 42px 1fr auto; padding: 6px; border-radius: 17px; } .tfeed-icon-button { min-width: 40px; min-height: 40px; } .tfeed-post-actions button { min-width: 37px; padding: 0 6px; } .tfeed-market-grid, .tfeed-reels-grid { gap: 8px; } .tfeed-market-photo { height: 105px; } }
@media (prefers-reduced-motion: reduce) { .tfeed-app *, .tfeed-app *::before, .tfeed-app *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
