:root{color:var(--tg-theme-text-color,#182033);background:var(--tg-theme-bg-color,#f5f6fa);font-synthesis:none;text-rendering:optimizelegibility;--accent:#f36b3d;--accent-dark:#dc5125;--accent-soft:#f36b3d1f;--surface:var(--tg-theme-secondary-bg-color,#fff);--muted:var(--tg-theme-hint-color,#71798b);--border:#6e789124;--shadow:0 12px 40px #1f274114;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:where(*){box-sizing:border-box}html{background:var(--tg-theme-bg-color,#f5f6fa);min-width:320px;min-height:100%}body,#root{min-width:320px;min-height:100svh;margin:0}body{background:radial-gradient(circle at 8% 0%, #f36b3d1a, transparent 30rem), var(--tg-theme-bg-color,#f5f6fa);overflow-x:hidden}button{font:inherit}button:focus-visible{outline-offset:3px;outline:3px solid #f36b3d4d}.icon{width:24px;height:24px}.state-screen{min-height:100svh;padding:max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));place-items:center;display:grid}.state-card{text-align:center;background:var(--surface);border:1px solid var(--border);width:min(100%,420px);box-shadow:var(--shadow);border-radius:28px;padding:38px 28px}.brand-mark{color:#fff;background:linear-gradient(145deg, #ff925d, var(--accent));border-radius:21px;place-items:center;width:64px;height:64px;margin:0 auto 20px;font-size:30px;font-weight:800;display:grid;box-shadow:0 14px 30px #f36b3d42}.state-card h1{letter-spacing:-.04em;margin:8px 0 0;font-size:30px;line-height:1.1}.state-card>p:last-of-type{max-width:300px;color:var(--muted);margin:14px auto 0;font-size:15px;line-height:1.55}.loader{border:3px solid #f36b3d33;border-top-color:var(--accent);border-radius:50%;width:24px;height:24px;margin:24px auto 0;animation:.7s linear infinite spin;display:block}.dashboard-shell{min-height:100svh;padding-bottom:calc(82px + env(safe-area-inset-bottom))}.dashboard-content{width:min(100%,760px);padding:max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 32px max(18px, env(safe-area-inset-left));margin:0 auto}.topbar{justify-content:space-between;align-items:center;min-height:48px;display:flex}.brand{align-items:center;gap:11px;display:flex}.brand-logo{color:#fff;background:linear-gradient(145deg, #ff925d, var(--accent));border-radius:14px;place-items:center;width:42px;height:42px;font-size:20px;font-weight:800;display:grid;box-shadow:0 8px 20px #f36b3d38}.brand-name,.brand-caption{display:block}.brand-name{font-size:17px;font-weight:800;line-height:1.1}.brand-caption{color:var(--muted);margin-top:3px;font-size:11px;line-height:1}.profile-button{width:42px;height:42px;color:var(--accent-dark);background:var(--accent-soft);cursor:pointer;border:1px solid #f36b3d29;border-radius:50%;padding:0;font-size:16px;font-weight:800}.greeting{justify-content:space-between;align-items:flex-start;gap:16px;margin-top:34px;display:flex}.eyebrow,.section-label{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:800}.greeting .eyebrow{margin:0 0 7px}.greeting h1{letter-spacing:-.045em;margin:0;font-size:clamp(29px,8vw,42px);line-height:1.08}.greeting p:last-child{max-width:430px;color:var(--muted);margin:10px 0 0;font-size:15px;line-height:1.5}.plan-badge{color:var(--tg-theme-button-text-color,#fff);background:var(--tg-theme-button-color,var(--accent));border-radius:999px;flex:none;padding:7px 10px;font-size:11px;font-weight:750}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:26px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:19px;align-items:center;gap:12px;min-width:0;padding:15px;display:flex;box-shadow:0 7px 24px #1f27410d}.stat-icon{width:40px;height:40px;color:var(--accent);background:var(--accent-soft);border-radius:13px;flex:none;place-items:center;display:grid}.stat-icon .icon{width:21px;height:21px}.stat-card strong,.stat-card span{display:block}.stat-card strong{letter-spacing:-.025em;font-size:19px;line-height:1.15}.stat-card span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;line-height:1.3;overflow:hidden}.setup-card{background:linear-gradient(135deg, #f36b3d1a, transparent 58%), var(--surface);box-shadow:var(--shadow);border:1px solid #f36b3d2e;border-radius:24px;grid-template-columns:auto 1fr;gap:14px;margin-top:22px;padding:22px;display:grid;position:relative;overflow:hidden}.setup-card:after{content:"";pointer-events:none;background:#f36b3d14;border-radius:50%;width:140px;height:140px;position:absolute;top:-58px;right:-48px}.setup-icon{color:#fff;background:linear-gradient(145deg, #ff925d, var(--accent));border-radius:15px;place-items:center;width:45px;height:45px;display:grid}.setup-copy{min-width:0}.setup-copy h2,.section-heading h2{letter-spacing:-.03em;margin:5px 0 0;line-height:1.15}.setup-copy h2{font-size:21px}.setup-copy p{color:var(--muted);margin:9px 0 0;font-size:13px;line-height:1.55}.primary-button{z-index:1;min-height:48px;color:var(--tg-theme-button-text-color,#fff);background:var(--tg-theme-button-color,var(--accent));cursor:pointer;border:0;border-radius:15px;grid-column:1/-1;justify-content:center;align-items:center;gap:9px;margin-top:3px;padding:11px 18px;font-size:14px;font-weight:750;display:flex;position:relative;box-shadow:0 10px 22px #f36b3d33}.primary-button:active{transform:translateY(1px)}.primary-button .icon{width:20px;height:20px}.recent-section{margin-top:30px}.section-heading{justify-content:space-between;align-items:flex-end;margin-bottom:13px;display:flex}.section-heading h2{font-size:22px}.empty-state{text-align:center;background:var(--surface);border:1px dashed #6e789142;border-radius:22px;padding:30px 22px}.empty-icon{width:48px;height:48px;color:var(--muted);background:#6e789117;border-radius:16px;place-items:center;margin:0 auto;display:grid}.empty-state h3{margin:15px 0 0;font-size:16px}.empty-state p{max-width:330px;color:var(--muted);margin:7px auto 0;font-size:13px;line-height:1.5}.bottom-navigation{z-index:20;padding:8px max(14px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));background:color-mix(in srgb, var(--surface) 94%, transparent);border-top:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 30px #1f274112}.nav-item{min-height:53px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:4px;font-size:10px;font-weight:700;display:flex}.nav-item .icon{width:22px;height:22px}.nav-item--active{color:var(--tg-theme-link-color,var(--accent));background:var(--accent-soft)}@media (width>=620px){.dashboard-content{padding-top:26px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{flex-direction:column;align-items:flex-start}.setup-card{grid-template-columns:auto 1fr auto;align-items:center}.primary-button{grid-column:auto;min-width:160px;margin:0}.bottom-navigation{border:1px solid var(--border);border-bottom:0;border-radius:22px 22px 0 0;width:min(100%,480px);left:auto;right:50%;transform:translate(50%)}}@media (prefers-reduced-motion:no-preference){.dashboard-content,.state-card{animation:.32s ease-out both enter}@keyframes enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}}.profile-button{overflow:hidden}.profile-button img{object-fit:cover;width:100%;height:100%;display:block}.brand-mark,.brand-logo{box-shadow:none;background:0 0;overflow:hidden}.brand-mark img,.brand-logo img{object-fit:contain;width:100%;height:100%;display:block}.stat-card,.setup-card,.empty-state,.profile-button,.primary-button,.nav-item{transition:color .16s,background-color .16s,border-color .16s,box-shadow .18s,opacity .16s,transform .16s}.profile-button:active,.nav-item:active{transform:scale(.94)}.primary-button:active{transform:scale(.985);box-shadow:0 5px 14px #f36b3d29}@media (hover:hover){.stat-card:hover,.setup-card:hover,.empty-state:hover{border-color:#f36b3d38;transform:translateY(-2px);box-shadow:0 12px 34px #1f274117}.profile-button:hover{background:#f36b3d2e}.primary-button:hover{filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 13px 28px #f36b3d40}.nav-item:hover{color:var(--tg-theme-link-color,var(--accent));background:#f36b3d12}}@media (prefers-reduced-motion:no-preference){.topbar,.greeting,.stats-grid,.setup-card,.recent-section{opacity:0;animation:.36s ease-out forwards section-enter}.topbar{animation-delay:20ms}.greeting{animation-delay:65ms}.stats-grid{animation-delay:.11s}.setup-card{animation-delay:.155s}.recent-section{animation-delay:.2s}.stat-card{opacity:0;animation:.3s ease-out forwards card-enter}.stat-card:first-child{animation-delay:.15s}.stat-card:nth-child(2){animation-delay:.185s}.stat-card:nth-child(3){animation-delay:.22s}.stat-card:nth-child(4){animation-delay:.255s}@keyframes section-enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes card-enter{0%{opacity:0;transform:translateY(5px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.page-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-top:34px;display:flex}.page-heading .eyebrow{margin:0 0 7px}.page-heading h1{letter-spacing:-.045em;margin:0;font-size:clamp(29px,8vw,42px);line-height:1.08}.page-heading p:last-child{max-width:430px;color:var(--muted);margin:10px 0 0;font-size:15px;line-height:1.5}.capacity-badge{color:var(--accent-dark);background:var(--accent-soft);border-radius:999px;flex:none;padding:7px 10px;font-size:11px;font-weight:750}.channel-empty-state{text-align:center;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:24px;margin-top:28px;padding:38px 24px}.channel-empty-icon{width:58px;height:58px;color:var(--accent);background:var(--accent-soft);border-radius:19px;place-items:center;margin:0 auto;display:grid}.channel-empty-state h2{letter-spacing:-.03em;margin:19px 0 0;font-size:22px}.channel-empty-state>p{max-width:390px;color:var(--muted);margin:10px auto 0;font-size:14px;line-height:1.55}.channel-connect-button{width:min(100%,320px);margin:24px auto 0}.permission-note{color:var(--muted);justify-content:center;align-items:center;gap:7px;margin-top:14px;font-size:11px;line-height:1.4;display:flex}.permission-note span{color:#24a568;font-weight:800}@media (prefers-reduced-motion:no-preference){.page-heading,.channel-empty-state{opacity:0;animation:.34s ease-out forwards section-enter}.page-heading{animation-delay:45ms}.channel-empty-state{animation-delay:.105s}}.plan-summary{flex-direction:column;flex:none;align-items:stretch;gap:6px;display:flex}.upgrade-button{color:var(--accent-dark);cursor:pointer;background:0 0;border:1px solid #f36b3d42;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;transition:background-color .16s,transform .16s}.upgrade-button:active{transform:scale(.95)}.sheet-open{overflow:hidden}.sheet-layer{z-index:100;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c111c85;border:0;width:100%;position:absolute;inset:0}.plan-sheet{z-index:1;width:min(100%,720px);max-height:min(90svh,820px);padding:10px max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));color:var(--tg-theme-text-color,#182033);background:var(--tg-theme-bg-color,#f5f6fa);border-radius:26px 26px 0 0;position:relative;overflow-y:auto;box-shadow:0 -24px 70px #0a101e3d}.sheet-handle{background:#6e789159;border-radius:999px;width:38px;height:4px;margin:0 auto 16px}.plan-sheet-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.plan-sheet-header .eyebrow{margin:0 0 5px}.plan-sheet-header h2{letter-spacing:-.035em;margin:0;font-size:25px}.sheet-close{width:38px;height:38px;color:var(--muted);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:50%;padding:0;font-size:25px;line-height:1}.plans-list{gap:13px;margin-top:20px;display:grid}.subscription-status{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px;display:grid}.subscription-status>div{background:var(--surface);border:1px solid var(--border);border-radius:14px;min-width:0;padding:12px}.subscription-status span,.subscription-status strong{display:block}.subscription-status span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:750}.subscription-status strong{text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:12px;overflow:hidden}.subscription-status strong img{vertical-align:-3px;width:15px;height:15px;margin-left:4px}.plan-card{background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:20px}.plan-card--pro{border-color:#f36b3d5c;box-shadow:0 12px 34px #f36b3d17}.plan-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.plan-name{font-size:19px;font-weight:850}.plan-card-heading p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.45}.current-badge,.pro-badge{border-radius:999px;flex:none;padding:6px 9px;font-size:10px;font-weight:800}.current-badge{color:#16794a;background:#24b06a1f}.pro-badge{color:var(--tg-theme-button-text-color,#fff);background:var(--tg-theme-button-color,var(--accent))}.plan-price{align-items:baseline;gap:7px;margin-top:18px;display:flex}.plan-price strong{letter-spacing:-.045em;font-size:32px;line-height:1}.plan-price span{color:var(--muted);font-size:12px;font-weight:650}.plan-card ul{gap:9px;margin:18px 0 0;padding:0;list-style:none;display:grid}.plan-card li{color:var(--muted);align-items:center;gap:9px;font-size:12px;line-height:1.4;display:flex}.plan-check{color:#24a568;flex:none;width:17px;height:17px}.plan-button{border-radius:14px;width:100%;min-height:45px;margin-top:20px;font-size:13px;font-weight:800}.plan-button--current{color:var(--muted);border:1px solid var(--border);background:#6e789117}.plan-button--pro{color:var(--tg-theme-button-text-color,#fff);background:var(--tg-theme-button-color,var(--accent));opacity:.65;border:0}.plans-note{max-width:480px;color:var(--muted);text-align:center;margin:16px auto 0;font-size:10px;line-height:1.5}@media (width>=620px){.plans-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:no-preference){.sheet-backdrop{animation:.18s ease-out both backdrop-enter}.plan-sheet{animation:.26s cubic-bezier(.22,.8,.3,1) both sheet-enter}@keyframes backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes sheet-enter{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}}.post-tabs{background:#6e789117;border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:25px;padding:5px;display:grid}.post-tab{min-width:0;min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:7px 5px;font-size:11px;font-weight:750;transition:color .16s,background-color .16s,box-shadow .16s,transform .16s;display:flex}.post-tab span{background:#6e78911c;border-radius:999px;min-width:18px;padding:2px 5px;font-size:9px}.post-tab--active{color:var(--tg-theme-text-color,#182033);background:var(--surface);box-shadow:0 4px 14px #1f274112}.post-tab--active span{color:var(--accent-dark);background:var(--accent-soft)}.post-tab:active{transform:scale(.97)}.posts-empty-state{text-align:center;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:24px;margin-top:16px;padding:42px 24px}.posts-empty-illustration{width:76px;height:68px;margin:0 auto;position:relative}.posts-empty-page,.posts-empty-accent{border-radius:17px;place-items:center;display:grid;position:absolute}.posts-empty-page{width:56px;height:62px;color:var(--accent);background:var(--accent-soft);top:0;left:4px;transform:rotate(-5deg)}.posts-empty-accent{color:#fff;background:linear-gradient(145deg, #ff925d, var(--accent));width:36px;height:36px;bottom:0;right:0;box-shadow:0 8px 18px #f36b3d38}.posts-empty-page .icon{width:28px;height:28px}.posts-empty-accent .icon{width:18px;height:18px}.posts-empty-state h2{letter-spacing:-.03em;margin:20px 0 0;font-size:22px}.posts-empty-state>p{max-width:390px;color:var(--muted);margin:10px auto 0;font-size:14px;line-height:1.55}.secondary-button{min-height:44px;color:var(--accent-dark);background:var(--accent-soft);cursor:pointer;border:1px solid #f36b3d2e;border-radius:14px;margin-top:23px;padding:10px 18px;font-size:13px;font-weight:800;transition:background-color .16s,transform .16s}.secondary-button:active{transform:scale(.97)}@media (prefers-reduced-motion:no-preference){.post-tabs,.posts-empty-state{opacity:0;animation:.34s ease-out forwards section-enter}.post-tabs{animation-delay:70ms}.posts-empty-state{animation-delay:.125s}}.setup-icon--animated{box-shadow:none;background:0 0;overflow:visible}.setup-icon--animated img{object-fit:contain;width:58px;height:58px;display:block}.posts-empty-illustration--gif{width:104px;height:104px}.posts-empty-illustration--gif img{object-fit:contain;width:100%;height:100%;display:block}.top-plan-button{min-height:36px;color:var(--tg-theme-text-color,#172033);background:var(--tg-theme-secondary-bg-color,#fff);white-space:nowrap;cursor:pointer;border:1px solid #808ca32e;border-radius:999px;align-items:center;gap:7px;margin-left:auto;margin-right:10px;padding:8px 12px;font-size:12px;font-weight:750;transition:transform .16s,border-color .16s,box-shadow .16s;display:inline-flex;box-shadow:0 5px 18px #262d4112}.top-plan-button:active{transform:scale(.96)}.top-plan-button:focus-visible{outline:2px solid var(--tg-theme-button-color,#ff754c);outline-offset:2px}.top-plan-dot{background:linear-gradient(145deg,#ff9a4d,#f45d48);border-radius:50%;flex:none;width:7px;height:7px;box-shadow:0 0 0 4px #f45d481a}.pro-promo{isolation:isolate;color:#fff;background:linear-gradient(130deg,#20243a 0%,#302c50 58%,#513858 100%);border:1px solid #ffffff1a;border-radius:24px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin-top:18px;padding:20px;display:grid;position:relative;overflow:hidden;box-shadow:0 16px 40px #1e1d332e}.pro-promo-glow{z-index:-1;filter:blur(8px);pointer-events:none;background:#ff7e4b47;border-radius:50%;width:190px;height:190px;position:absolute;top:-70px;right:-35px}.pro-promo-icon{color:#fff1d7;background:#ffffff1a;border:1px solid #ffffff21;border-radius:15px;place-items:center;width:46px;height:46px;display:grid}.pro-promo-icon .icon{width:23px;height:23px}.pro-promo-copy{min-width:0}.pro-promo-label{color:#ffcda9;letter-spacing:.11em;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:800;display:block}.pro-promo h2{color:#fff;letter-spacing:-.025em;margin:0;font-size:18px;line-height:1.2}.pro-promo p{color:#ffffffad;max-width:450px;margin:7px 0 0;font-size:13px;line-height:1.45}.pro-promo-button{color:#252238;white-space:nowrap;cursor:pointer;background:#fff;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 15px;font-size:13px;font-weight:800;transition:transform .16s,box-shadow .16s;display:inline-flex}.pro-promo-button:active{transform:scale(.96)}@media (width<=560px){.top-plan-button{padding-inline:10px}.pro-promo{grid-template-columns:auto minmax(0,1fr)}.pro-promo-button{grid-column:1/-1;width:100%}}@media (prefers-reduced-motion:no-preference){.pro-promo{animation:.38s ease-out both pro-promo-enter}@keyframes pro-promo-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}.stars-price-unit{align-items:center;gap:6px;display:inline-flex}.stars-price-unit img{object-fit:contain;width:24px;height:24px;display:block}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.channels-list{gap:12px;margin-top:26px;display:grid}.channel-card{background:var(--surface);border:1px solid var(--border);min-height:104px;box-shadow:var(--shadow);border-radius:22px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:15px;padding:18px;display:grid}.connected-channel-icon{width:50px;height:50px;color:var(--accent);background:var(--accent-soft);border-radius:16px;place-items:center;display:grid}.connected-channel-icon .icon{width:23px;height:23px}.channel-card-copy{min-width:0}.channel-card-title{align-items:center;gap:9px;min-width:0;display:flex}.channel-card-title h2{letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:17px;line-height:1.25;overflow:hidden}.connected-badge{color:#16794a;text-transform:uppercase;background:#24b06a1c;border-radius:999px;flex:none;align-items:center;gap:5px;padding:5px 8px;font-size:9px;font-weight:800;display:inline-flex}.connected-badge>span{background:#24b06a;border-radius:50%;width:5px;height:5px}.channel-card-copy>p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:6px 0 0;font-size:12px;overflow:hidden}.channel-meta{flex-wrap:wrap;align-items:center;gap:7px;margin-top:11px;display:flex}.channel-role,.permission-ready{color:var(--muted);align-items:center;gap:4px;font-size:10px;font-weight:700;display:inline-flex}.channel-role{background:#6e789114;border-radius:999px;padding:5px 8px}.permission-ready{color:#16794a}.permission-ready .icon{width:13px;height:13px}.secondary-add-channel{width:100%;min-height:48px;color:var(--accent-dark);background:var(--accent-soft);cursor:pointer;border:1px solid #f36b3d2e;border-radius:16px;justify-content:center;align-items:center;gap:8px;margin-top:14px;font-size:13px;font-weight:800;transition:transform .16s,opacity .16s;display:flex}.secondary-add-channel .icon{width:18px;height:18px}.secondary-add-channel:active:not(:disabled){transform:scale(.98)}.secondary-add-channel:disabled{color:var(--muted);border-color:var(--border);cursor:default;opacity:.75;background:#6e789114}.channel-card--loading{grid-template-columns:auto minmax(0,1fr)}.channel-skeleton{background:#7882961f;border-radius:10px;display:block}.channel-skeleton--icon{border-radius:16px;width:50px;height:50px}.channel-skeleton--title{width:55%;height:14px}.channel-skeleton--text{width:34%;height:10px;margin-top:10px}@media (prefers-reduced-motion:no-preference){.channel-card:not(.channel-card--loading){animation:.3s ease-out both channel-card-enter}.channel-card--loading .channel-skeleton{animation:1.2s ease-in-out infinite channel-skeleton-pulse}@keyframes channel-card-enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes channel-skeleton-pulse{50%{opacity:.45}}}.connected-channel-icon img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.posts-heading{align-items:flex-end}.posts-create-button{flex:none;width:auto}.posts-loading{gap:12px;margin-top:22px;display:grid}.posts-loading>div{background:linear-gradient(90deg,#78829612,#78829624,#78829612) 0 0/220% 100%;border-radius:22px;height:150px;animation:1.2s ease-in-out infinite posts-loading-pulse}.posts-list{gap:13px;margin-top:22px;display:grid}.post-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:22px;padding:19px}.post-card-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.post-card-heading>div{flex-wrap:wrap;align-items:center;gap:7px;min-width:0;display:flex}.post-channel{max-width:230px;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.post-card-heading time{color:var(--muted);flex:none;font-size:9px;line-height:1.4}.post-status{color:var(--muted);letter-spacing:.045em;text-transform:uppercase;background:#6e789117;border-radius:999px;align-items:center;padding:5px 8px;font-size:8px;font-weight:850;display:inline-flex}.post-status--prepared{color:var(--accent-dark);background:var(--accent-soft)}.post-status--publishing{color:#8c6419;background:#f0ae3924}.post-status--scheduled{color:#4f65a7;background:#536fc41f}.post-status--published{color:#16794a;background:#24b06a1f}.post-status--failed{color:#b53939;background:#d240401f}.post-card-text{color:var(--text);overflow-wrap:anywhere;white-space:pre-wrap;margin:15px 0 0;font-size:14px;line-height:1.6}.post-error{color:#a83939;background:#d2404014;border-radius:11px;margin:13px 0 0;padding:10px 12px;font-size:11px;line-height:1.45}.post-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:9px;margin-top:17px;padding-top:15px;display:flex}.post-actions .primary-button,.post-actions .secondary-button{width:auto;min-width:105px}.composer-layer{z-index:120;padding:max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));place-items:center;display:grid;position:fixed;inset:0}.composer-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0d121e8f;border:0;width:100%;padding:0;position:absolute;inset:0}.post-composer{z-index:1;width:min(100%,560px);max-height:min(90svh,760px);color:var(--text);background:var(--tg-theme-bg-color,#f5f6fa);border:1px solid #ffffff59;border-radius:26px;padding:23px;position:relative;overflow-y:auto;box-shadow:0 28px 80px #0a101e47}.composer-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.composer-header .section-label{margin-bottom:5px;display:block}.composer-header h2{letter-spacing:-.035em;margin:0;font-size:24px}.composer-field{color:var(--muted);gap:8px;margin-top:19px;font-size:11px;font-weight:750;display:grid}.composer-field select,.composer-field textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:15px;outline:0;font-size:14px;transition:border-color .16s,box-shadow .16s}.composer-field select{min-height:48px;padding:0 13px}.composer-field textarea{resize:vertical;min-height:220px;padding:14px;line-height:1.55}.composer-field select:focus,.composer-field textarea:focus{border-color:#f36b3d8c;box-shadow:0 0 0 4px #f36b3d17}.composer-field select:disabled{color:var(--muted);background:#6e789112}.composer-counter{color:var(--muted);text-align:right;margin-top:7px;font-size:9px}.composer-error{color:#a83939;background:#d240401a;border-radius:11px;margin-top:13px;padding:11px 12px;font-size:11px;line-height:1.45}.composer-main-button{width:100%;margin-top:18px}.post-preview-meta{color:var(--muted);text-transform:uppercase;margin-top:21px;font-size:10px}.post-preview-meta strong{color:var(--text);text-transform:none;margin-top:5px;font-size:14px;display:block}.telegram-post-preview{min-height:190px;color:var(--text);background:var(--surface);border:1px solid var(--border);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:18px;margin-top:13px;padding:17px;font-size:14px;line-height:1.6}.composer-preview-actions{grid-template-columns:1fr 1fr;gap:9px;margin-top:17px;display:grid}.composer-preview-actions .primary-button{grid-column:1/-1;width:100%}.composer-preview-actions .secondary-button{width:100%}@keyframes posts-loading-pulse{to{background-position:-220% 0}}@media (width<=560px){.posts-heading{align-items:flex-start}.posts-create-button{width:100%}.post-card-heading{flex-direction:column}.post-actions{grid-template-columns:1fr 1fr;display:grid}.post-actions .primary-button,.post-actions .secondary-button{width:100%;min-width:0}.composer-layer{align-items:end;padding:0}.post-composer{width:100%;max-height:94svh;padding:20px max(17px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(17px, env(safe-area-inset-left));border-radius:26px 26px 0 0}.composer-field textarea{min-height:185px}}@media (prefers-reduced-motion:reduce){.posts-loading>div{animation:none}}.posts-page-heading{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;display:grid}.posts-page-heading>div{min-width:0}.posts-page-heading>div>p:last-child{max-width:430px}.posts-create-button{white-space:nowrap;width:auto;min-width:150px;min-height:48px;padding:0 22px}@media (width<=560px){.posts-page-heading{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:18px}.posts-create-button{width:100%;min-width:0}}.posts-page-heading{grid-template-columns:minmax(0,1fr) 52px;align-items:start}@media (width<=560px){.posts-create-button{border-radius:50%;justify-self:end;width:52px;min-width:52px;height:52px;min-height:52px;padding:0;font-size:0}}.posts-create-button{border-radius:50%;justify-self:end;width:52px;min-width:52px;height:52px;min-height:52px;padding:0;font-size:0}.posts-create-button .icon{width:23px;height:23px}.posts-create-button{place-items:center;line-height:1;display:grid}.posts-create-button .icon{margin:0;display:block}.post-actions{flex-wrap:wrap;gap:9px;display:flex}.post-actions>button{flex:auto;width:auto;min-width:92px}.post-delete-button{color:#c43d3d;background:#d2404014;border-color:#d2404033}.post-delete-button:disabled{cursor:wait;opacity:.6}.posts-create-button{justify-content:center!important;align-items:center!important;padding:0!important;line-height:1!important;display:flex!important}.posts-create-button>*{display:none!important}.posts-create-button:before{content:"+";margin:0;font-size:36px;font-weight:300;line-height:1;display:block;transform:translateY(-2px)}.post-card .post-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid!important}.post-card .post-actions>button{white-space:nowrap;border-radius:13px;gap:5px;min-height:44px;padding:8px 6px;font-size:12px;width:100%!important;min-width:0!important;margin:0!important}.post-card .post-actions>button .icon{width:16px;height:16px}@media (width<=360px){.post-card .post-actions{gap:6px}.post-card .post-actions>button{padding-inline:4px;font-size:11px}}.posts-create-button{position:relative}.posts-create-button:before{margin:0;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-54%)}.post-card .post-actions>button,.post-card .post-actions>.primary-button,.post-card .post-actions>.secondary-button{grid-area:auto!important;width:100%!important;min-width:0!important}.post-card .post-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}@media (width<=390px){.post-card .post-actions>button{min-height:42px;padding:7px 3px;font-size:11px}}
