:root{color-scheme:light;font-family:Manrope,Segoe UI,sans-serif;background:radial-gradient(circle at top,rgba(86,161,255,.18),transparent 35%),linear-gradient(180deg,#eff6ff,#f8fafc 48%,#eef2ff);color:#0f172a}*{box-sizing:border-box}html,body,#app{min-height:100%}body{margin:0}html.threads-theme,body.threads-theme{background:radial-gradient(circle at top,rgba(255,255,255,.08),transparent 24%),radial-gradient(circle at 20% 20%,rgba(37,99,235,.14),transparent 22%),radial-gradient(circle at 80% 0%,rgba(16,185,129,.12),transparent 20%),linear-gradient(180deg,#060708,#0d0f11 52%,#08090a);color:#f4f4f5}body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(148,163,184,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.08) 1px,transparent 1px);background-size:32px 32px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.28),transparent 75%);mask-image:linear-gradient(180deg,rgba(0,0,0,.28),transparent 75%)}.page-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.browser-hero,.telegram-card{width:min(100%,440px);border:1px solid rgba(148,163,184,.25);background:#ffffffd1;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:28px;box-shadow:0 24px 80px #0f172a24;padding:32px 28px;text-align:center}.eyebrow{margin:0 0 12px;font-size:.8rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#2563eb}h1{margin:0;font-size:clamp(2rem,8vw,3.4rem);line-height:.95;letter-spacing:-.05em}.lead{margin:16px auto 0;max-width:30rem;font-size:1rem;line-height:1.6;color:#475569}.avatar-frame{width:116px;height:116px;border-radius:50%;margin:0 auto 20px;padding:4px;background:linear-gradient(135deg,#0ea5e9,#2563eb,#7c3aed);display:grid;place-items:center}.avatar-image,.avatar-fallback{width:100%;height:100%;border-radius:50%}.avatar-image{object-fit:cover;display:block;background:#dbeafe}.avatar-fallback{display:grid;place-items:center;background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1d4ed8;font-weight:800;font-size:1.7rem}.telegram-meta{display:grid;gap:12px;margin:24px 0 0}.telegram-meta div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:16px;background:#eff6ffe6}.telegram-meta dt{font-weight:700;color:#334155}.telegram-meta dd{margin:0;color:#0f172a;font-weight:600}.init-data-block{margin-top:20px;text-align:left;padding:16px;border-radius:20px;background:#0f172a;color:#e2e8f0}.init-data-title{margin:0 0 10px;font-size:.85rem;font-weight:700;color:#93c5fd}.init-data-block code{display:block;white-space:pre-wrap;word-break:break-word;font-size:.84rem;line-height:1.5}.auth-block{margin-top:16px;text-align:left;padding:16px;border-radius:20px;background:#2563eb14;border:1px solid rgba(37,99,235,.16)}.auth-block code{display:block;white-space:pre-wrap;word-break:break-word;font-size:.84rem;line-height:1.5;color:#0f172a}.auth-status{margin:0 0 10px;font-size:.95rem;color:#334155;font-weight:600}.auth-endpoint{margin:0 0 10px;font-size:.78rem;line-height:1.5;color:#64748b;word-break:break-word}.sdk-error{margin:14px 0 0;color:#b91c1c;font-weight:600}@media(max-width:640px){.browser-hero,.telegram-card{padding:24px 20px;border-radius:24px}}.threads-shell{min-height:100vh;padding:24px;background:radial-gradient(circle at top,rgba(255,255,255,.08),transparent 24%),radial-gradient(circle at 20% 20%,rgba(37,99,235,.14),transparent 22%),radial-gradient(circle at 80% 0%,rgba(16,185,129,.12),transparent 20%),linear-gradient(180deg,#060708,#0d0f11 52%,#08090a);color:#f4f4f5}.threads-search-hero,.threads-layout{width:min(100%,760px);margin:0 auto}.threads-search-hero{min-height:calc(100vh - 48px);display:grid;place-content:center;gap:18px;text-align:center}.threads-kicker{margin:0;font-size:.76rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#a1a1aa}.threads-search-hero h1,.threads-topbar h1{margin:0;font-size:clamp(2rem,5vw,4.25rem);line-height:.92;letter-spacing:-.06em;color:#fafafa}.threads-lead{margin:0 auto;max-width:34rem;color:#a1a1aa;font-size:1rem;line-height:1.7}.threads-search-form{width:min(100%,640px);margin:10px auto 0;padding:18px;border-radius:28px;border:1px solid rgba(255,255,255,.08);background:#111315d6;box-shadow:0 30px 80px #00000057;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.threads-search-label{display:block;margin:0 0 10px;text-align:left;color:#71717a;font-size:.82rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.threads-search-row,.threads-inline-form{display:flex;align-items:center;gap:12px}.threads-search-row{border-radius:20px;border:1px solid rgba(255,255,255,.08);background:#ffffff0a;padding:10px}.threads-search-prefix{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:16px;background:#ffffff0f;color:#fafafa;font-weight:800;font-size:1.1rem}.threads-search-input,.threads-inline-input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:#fafafa;font:inherit}.threads-search-input{font-size:1.05rem}.threads-search-input::placeholder,.threads-inline-input::placeholder{color:#52525b}.threads-search-button,.threads-inline-button,.threads-load-more{border:0;outline:none;cursor:pointer;transition:transform .14s ease,background-color .14s ease,opacity .14s ease}.threads-search-button,.threads-inline-button{border-radius:16px;background:#fafafa;color:#09090b;font-weight:800}.threads-search-button{min-width:112px;height:46px;font-size:.95rem}.threads-search-button:disabled{opacity:.45;cursor:not-allowed}.threads-search-button:not(:disabled):hover,.threads-inline-button:hover,.threads-load-more:hover{transform:translateY(-1px)}.threads-layout{display:grid;gap:8px}.threads-column{display:grid;gap:10px}.threads-profile-banner,.thread-card,.threads-empty-state,.threads-error{border-radius:28px;border:1px solid rgba(255,255,255,.08);background:#121417e6;box-shadow:0 14px 48px #00000042;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.threads-profile-card{border-radius:24px;border:1px solid rgba(255,255,255,.08);background:#181818f5;box-shadow:0 14px 48px #00000042;overflow:hidden}.threads-profile-card-loading{padding:20px;text-align:center;color:#a1a1aa}.threads-profile-card-top{display:flex;align-items:start;justify-content:space-between;gap:16px;padding:18px 18px 14px}.threads-profile-card-copy{min-width:0}.threads-profile-card-copy h2{margin:0;color:#fafafa;font-size:1.68rem;line-height:1;letter-spacing:-.05em}.threads-profile-handle{margin:4px 0 0;color:#a1a1aa;font-size:.92rem}.threads-profile-bio{margin:16px 0 0;color:#d4d4d8;line-height:1.5;font-size:.95rem;white-space:pre-wrap}.threads-profile-stats{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:14px;font-size:.9rem}.threads-profile-stat-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#a1a1aa;font:inherit;font-size:.9rem;padding:0;cursor:pointer;text-decoration:none;text-align:center;transition:color .14s ease}.threads-profile-stat-button:hover,.threads-profile-stat-button.is-active{color:#fafafa}.threads-profile-actions{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}.threads-refresh-cache-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:#ffffff0a;color:#d4d4d8;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;text-decoration:none;text-align:center;transition:background-color .14s ease,border-color .14s ease,color .14s ease,opacity .14s ease}.threads-refresh-cache-button:hover:not(:disabled){background:#ffffff14;border-color:#ffffff29;color:#fafafa}.threads-refresh-cache-button:disabled{opacity:.55;cursor:not-allowed}.threads-sync-status{margin-top:12px;display:grid;gap:6px;padding:10px 12px;border-radius:14px;background:#ffffff08;border:1px solid rgba(255,255,255,.06)}.threads-sync-status.inline{margin-top:0}.threads-sync-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#d4d4d8;font-size:.82rem}.threads-sync-meta{color:#8b8b95}.threads-profile-avatar-wrap{position:relative;flex:none}.threads-profile-avatar-button,.threads-user-avatar-button,.thread-avatar-button{padding:0;border:0;background:transparent;cursor:pointer;border-radius:50%}.threads-profile-avatar-button{display:block}.threads-profile-banner{display:flex;align-items:center;gap:14px;padding:18px}.threads-profile-avatar,.thread-avatar{display:grid;place-items:center;border-radius:50%;font-weight:800;color:#09090b;background:radial-gradient(circle at top,#fff,#d4d4d8 48%,#a1a1aa)}.threads-profile-avatar{width:58px;height:58px;font-size:1rem}.threads-profile-avatar-image,.threads-profile-avatar-fallback{width:74px;height:74px;border-radius:50%}.threads-profile-avatar-image{display:block;object-fit:cover;border:1px solid rgba(255,255,255,.1)}.threads-profile-avatar-fallback{display:grid;place-items:center;font-size:1.35rem;color:#09090b}.threads-verified-dot{position:absolute;right:2px;bottom:2px;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#0ea5e9;color:#fff;font-size:.68rem;font-weight:800;box-shadow:0 0 0 3px #181818f5}.threads-profile-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.08)}.threads-profile-tab{display:inline-flex;align-items:center;justify-content:center;border:0;border-bottom:2px solid transparent;background:transparent;color:#71717a;height:44px;font:inherit;font-size:.92rem;font-weight:700;cursor:pointer;text-decoration:none;text-align:center}.threads-profile-tab.is-active{color:#fafafa;border-bottom-color:#fafafa}.threads-profile-name{margin:0;font-size:1.02rem;font-weight:800;color:#fafafa}.threads-profile-subtitle{margin:4px 0 0;color:#a1a1aa;line-height:1.5}.threads-feed{display:grid;gap:8px}.threads-section-toolbar{display:grid;gap:10px;margin-bottom:12px}.threads-section-toolbar-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}.threads-section-toolbar-meta{color:#a1a1aa;font-size:.86rem}.threads-user-list,.threads-events-list{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}.threads-events-wrap{display:grid;gap:14px}.threads-events-tabs{display:flex;gap:8px}.threads-events-tab{min-height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:#ffffff0a;color:#a1a1aa;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.threads-events-tab:hover{color:#e4e4e7;border-color:#ffffff29}.threads-events-tab.is-active{background:#ffffff14;color:#fafafa;border-color:#fff3}.threads-user-card{display:grid;grid-template-rows:auto 1fr;gap:12px;flex:1 1 calc(33.333% - 8px);min-width:220px;max-width:calc(33.333% - 8px);min-height:220px;padding:16px;border:1px solid rgba(255,255,255,.06);border-radius:22px;background:#0a0a0cb8;text-align:center;transition:background-color .14s ease,border-color .14s ease;justify-items:center}.threads-event-card{display:grid;grid-template-rows:auto 1fr;gap:12px;flex:1 1 calc(33.333% - 8px);min-width:220px;max-width:calc(33.333% - 8px);min-height:240px;padding:16px;border:1px solid rgba(255,255,255,.06);border-radius:22px;background:#0a0a0cb8;text-align:center;transition:background-color .14s ease,border-color .14s ease;justify-items:center}@media(max-width:980px){.threads-user-card,.threads-event-card{flex-basis:calc(50% - 6px);max-width:calc(50% - 6px)}}@media(max-width:640px){.threads-user-card,.threads-event-card{flex-basis:100%;max-width:100%}}.threads-user-card:hover,.threads-event-card:hover{background:#121215f0;border-color:#ffffff1a}.threads-user-avatar{width:96px;height:96px;display:grid;place-items:center;border-radius:50%;font-size:1.5rem;font-weight:800;color:#09090b;background:radial-gradient(circle at top,#fff,#d4d4d8 48%,#a1a1aa)}.threads-user-avatar-button{width:96px;height:96px}.threads-user-avatar-image{display:block;object-fit:cover}.threads-user-copy{min-width:0;display:grid;gap:6px;align-content:start;justify-items:center}.threads-user-line{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;flex-wrap:wrap}.threads-user-name{color:#f5f5f5;font-size:.95rem;font-weight:700;min-width:0}.threads-user-handle{color:#8b8b95;font-size:.86rem}.threads-user-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;color:#a1a1aa;font-size:.84rem}.threads-user-private{color:#71717a}.threads-event-label{color:#d4d4d8;font-size:.84rem;font-weight:700}.threads-event-label.is-danger{color:#fca5a5}.threads-event-date{color:#71717a;font-size:.8rem}.threads-user-actions{margin-top:6px}.threads-user-open-button{min-height:30px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:#ffffff0a;color:#d4d4d8;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.threads-user-open-button:hover{background:#ffffff14;border-color:#ffffff29;color:#fafafa}.thread-card{padding:12px 14px;border-radius:22px}.thread-card-header{display:flex;align-items:start;gap:10px}.thread-card-header.is-compact{gap:10px}.thread-avatar{width:32px;height:32px;flex:none;font-size:.72rem}.thread-avatar-button{width:32px;height:32px;flex:none}.thread-card-header.is-compact .thread-avatar,.thread-card-header.is-compact .thread-avatar-button{width:28px;height:28px}.thread-avatar-image{display:block;object-fit:cover}.thread-card-meta{min-width:0;display:grid;gap:4px}.thread-card-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}.thread-author{color:#f5f5f5;font-size:.94rem;font-weight:700}.thread-verified{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#0ea5e9;color:#fff;font-size:.65rem;font-weight:800}.thread-date{color:#71717a;font-size:.84rem}.thread-badge{width:fit-content;border-radius:999px;background:#ffffff0f;color:#d4d4d8;padding:4px 8px;font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.thread-badge-inline{margin-left:auto}.thread-pinned{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;color:#71717a;font-size:.9rem;font-weight:600}.thread-pinned-icon{width:16px;height:16px;color:#71717a;flex:none}.thread-text{margin:10px 0 0;color:#e4e4e7;font-size:.94rem;line-height:1.48;white-space:pre-wrap;word-break:break-word}.thread-text-child{margin-top:10px}.thread-text-attachment{position:relative;margin-top:10px;padding:18px 20px 14px;border-radius:22px;background:#ffffff09;border:1px solid rgba(255,255,255,.08)}.thread-text-attachment-copy{margin:0;color:#f5f5f5;font-family:Georgia,Times New Roman,serif;font-size:1rem;line-height:1.62;white-space:pre-line;word-break:break-word;display:-webkit-box;overflow:hidden;-webkit-line-clamp:6;-webkit-box-orient:vertical}.thread-text-attachment-more{padding:0;border:0;background:transparent;cursor:pointer;margin-top:10px;color:#71717a;font-size:.9rem;font-weight:600}.thread-text-attachment-more:hover{color:#a1a1aa}.thread-text-modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:#000000b8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.thread-text-modal{width:min(100%,860px);max-height:min(100vh - 48px,920px);display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:28px;border:1px solid rgba(255,255,255,.08);background:#181818fa;box-shadow:0 24px 80px #00000073}.thread-text-modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid rgba(255,255,255,.08)}.thread-text-modal-title{color:#fafafa;font-size:1rem;font-weight:800}.thread-text-modal-close{border:0;border-radius:999px;background:#ffffff14;color:#f4f4f5;padding:10px 14px;font:inherit;font-weight:700;cursor:pointer}.thread-text-modal-body{overflow:auto;padding:24px 28px 28px}.thread-text-modal-copy{margin:0;color:#f5f5f5;font-family:Georgia,Times New Roman,serif;font-size:1.18rem;line-height:1.85;white-space:pre-wrap;word-break:break-word}.thread-reply-context{margin-top:10px;padding:8px 10px;border-radius:12px;background:#ffffff0a;color:#a1a1aa;font-size:.84rem;line-height:1.5;white-space:pre-wrap;word-break:break-word}.thread-reply-stack{display:grid;gap:10px}.thread-reply-child-wrap{display:grid;grid-template-columns:32px minmax(0,1fr);gap:0 10px}.thread-reply-child-line{justify-self:center;width:2px;min-height:100%;border-radius:999px;background:#ffffff24}.thread-reply-child{min-width:0}.thread-media{margin-top:10px;display:flex;justify-content:flex-start}.thread-media-trigger{display:block;width:fit-content;max-width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.thread-carousel{display:flex;gap:10px;width:100%;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.thread-carousel-item{flex:0 0 auto;width:min(320px,calc(100vw - 80px));padding:0;border:0;background:transparent;cursor:zoom-in}.thread-embedded{margin-top:10px;padding:12px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:#ffffff05}.thread-embedded-reply-to{margin-top:8px;color:#71717a;font-size:.84rem}.thread-embedded-text{margin:8px 0 0;color:#e4e4e7;font-size:.92rem;line-height:1.45;white-space:pre-wrap;word-break:break-word}.thread-embedded-media{margin-top:10px}.thread-media-image,.thread-media-video{width:auto;max-width:100%;max-height:400px;display:block;object-fit:contain;border-radius:24px;background:#09090b;border:1px solid rgba(255,255,255,.07)}.thread-carousel-item .thread-media-image,.thread-carousel-item .thread-media-video{width:100%;height:400px;object-fit:cover}.thread-media-link{display:inline-flex;align-items:center;gap:8px;color:#fafafa;text-decoration:none;border-radius:14px;background:#ffffff0f;padding:10px 14px}.thread-media-modal-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:#000000d1;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.thread-media-modal{position:relative;width:min(100%,1100px);max-height:min(100vh - 48px,920px);display:grid;place-items:center}.thread-media-modal-close{position:absolute;top:0;right:0;transform:translateY(-100%);width:40px;height:40px;border:0;border-radius:999px;background:#ffffff1f;color:#fafafa;font-size:1.5rem;line-height:1;cursor:pointer}.thread-media-modal-image,.thread-media-modal-video{max-width:100%;max-height:min(100vh - 96px,860px);display:block;border-radius:20px;background:#09090b}.thread-actions{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:10px;color:#d4d4d8}.thread-actions.is-compact{margin-top:10px}.thread-action{display:inline-flex;align-items:center;gap:6px;min-height:20px;color:#a1a1aa;font-size:.88rem;font-weight:500}.thread-actions.is-compact .thread-action{font-size:.84rem;gap:6px}.thread-action-icon{width:18px;height:18px;color:#d4d4d8;flex:none}.thread-actions.is-compact .thread-action-icon{width:17px;height:17px}.threads-empty-state,.threads-error{padding:18px;text-align:center;color:#a1a1aa}.threads-error{color:#fca5a5}.threads-load-more{justify-self:center;min-width:180px;padding:14px 18px;border-radius:18px;background:#fafafa;color:#09090b;font-weight:800}.threads-load-more:disabled{opacity:.55;cursor:wait}@media(max-width:640px){.threads-shell{padding:16px}.threads-search-form,.thread-card,.threads-profile-card,.threads-profile-banner,.threads-empty-state,.threads-error{border-radius:22px}.threads-profile-card-top{flex-direction:column-reverse;align-items:start}.threads-profile-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.threads-search-row,.threads-inline-form{flex-wrap:wrap}.threads-search-button,.threads-inline-button{width:100%}}
