:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:var(--tg-theme-bg-color,#fff);--text:var(--tg-theme-text-color,#0f1419);--hint:var(--tg-theme-hint-color,#536471);--secondary:var(--tg-theme-secondary-bg-color,#f4f5f7);--line:#53647133;--button:var(--tg-theme-button-color,#229ed9);--button-text:var(--tg-theme-button-text-color,#fff);--danger:#e5484d;--nav-height:62px}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:var(--tg-theme-bg-color,#17212b);--text:var(--tg-theme-text-color,#f5f5f5);--hint:var(--tg-theme-hint-color,#8e9baa);--secondary:var(--tg-theme-secondary-bg-color,#0e1621);--line:#ffffff1f;--button:var(--tg-theme-button-color,#2aabee)}*{box-sizing:border-box}body{background:var(--bg);min-width:320px;color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;line-height:1.4}button,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.58}.app-shell{background:var(--bg);border-left:1px solid var(--line);border-right:1px solid var(--line);max-width:640px;min-height:100dvh;padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom));margin:0 auto}.topbar{z-index:5;background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:10px 16px;display:flex;position:sticky;top:0}.topbar h1{margin:0;font-size:21px;font-weight:800;line-height:1.2}.topbar>span{color:var(--hint);font-size:13px;font-weight:600}.tabbar{z-index:10;background:color-mix(in srgb, var(--bg) 94%, transparent);border-top:1px solid var(--line);width:min(640px,100vw);padding-bottom:env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);grid-template-columns:repeat(3,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tabbar button{height:var(--nav-height);min-width:0;color:var(--hint);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:600;display:flex;position:relative}.tabbar button.active{color:var(--button)}.tabbar button.active:before{content:"";background:var(--button);border-radius:0 0 2px 2px;width:32px;height:2px;position:absolute;top:0;left:50%;transform:translate(-50%)}.tabbar svg{flex:none}.feed{flex-direction:column;display:flex}.add-view{min-height:calc(100dvh - 116px)}.add-head{z-index:4;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:10px 16px;display:flex;position:sticky;top:54px}.add-head h2{margin:0;font-size:18px;line-height:1.25}.add-head p{color:var(--hint);margin:2px 0 0;font-size:13px}.add-head button{background:var(--secondary);width:36px;height:36px;color:var(--hint);border:0;border-radius:50%;place-items:center;display:grid}.post{border-bottom:1px solid var(--line);padding:14px 16px 12px;display:block;position:relative}.post-avatar{position:absolute;top:14px;left:16px}.post-body,.comment-body{min-width:0}.post-body{position:relative}.post-meta{align-items:baseline;gap:6px;min-width:0;line-height:1.3;display:flex}.post-body>.post-meta{align-items:center;min-height:42px;padding-left:54px;padding-right:34px}.post-menu{z-index:2;position:absolute;top:-5px;right:-6px}.post-menu-trigger{width:28px;height:28px;color:var(--hint);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.post-menu-trigger:active,.post-menu-trigger[aria-expanded=true]{background:var(--secondary);color:var(--button)}.post-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:750;overflow:hidden}.post-meta span{color:var(--hint);flex:none;font-size:12px}.post-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;line-height:1.45}.avatar{background:var(--secondary);width:42px;height:42px;color:var(--button);object-fit:cover;border-radius:50%;place-items:center;display:grid}.avatar.large{width:78px;height:78px}.media,.video-placeholder{border:1px solid var(--line);object-fit:cover;background:#000;border-radius:8px;width:100%;max-height:68dvh;display:block;overflow:hidden}.video-player{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:100%;position:relative}.video-media{pointer-events:none;display:block}.video-hitbox,.video-hide-hitbox{cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:8px;width:100%;height:100%;padding:0;position:absolute;inset:0}.video-hide-hitbox{z-index:1}.video-center-control{z-index:3;color:#ffffffe0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:#00000047;border:0;border-radius:50%;place-items:center;width:58px;height:58px;padding:0;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.video-volume-control{z-index:3;color:#ffffffe6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:#00000057;border:0;border-radius:50%;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;top:10px;right:10px}.video-timeline{z-index:3;pointer-events:auto;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;padding:0;display:block;position:absolute;bottom:0;left:0;right:0}.video-progress-shell{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;width:100%;height:24px;position:relative}.video-progress-track{background:#ffffff57;height:3px;position:absolute;bottom:0;left:0;right:0}.video-progress-fill{background:#ffffffeb;height:100%;display:block}.video-progress{opacity:0;cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:pan-y;outline:none;width:100%;height:24px;margin:0;position:absolute;inset:0}.video-duration-badge{color:#ffffffe0;font-variant-numeric:tabular-nums;text-align:right;text-shadow:0 1px 5px #000000b3;pointer-events:none;-webkit-user-select:none;user-select:none;min-width:24px;font-size:11px;font-weight:700;position:absolute;bottom:5px;right:8px}.video-placeholder{color:#fff;background-color:#111;background-position:50%;background-size:cover;place-items:center;gap:8px;min-height:220px;padding:0;display:grid;position:relative}.video-placeholder svg{width:42px;height:42px}.video-placeholder-content{z-index:1;text-align:center;text-shadow:0 1px 8px #0000008c;background:linear-gradient(#0000000a,#00000052);place-items:center;gap:8px;width:100%;min-height:220px;padding:18px;font-weight:800;display:grid;position:relative}.actions{justify-content:flex-start;align-items:center;gap:10px;width:100%;margin-top:5px;display:flex}.actions button,.mini-action{color:var(--hint);background:0 0;border:0;align-items:center;gap:6px;padding:7px 8px;font-size:13px;display:inline-flex}.actions button{border-radius:18px;flex:none;min-width:0;max-width:min(44vw,9rem)}.actions button:first-child{margin-left:-8px}.action-count{font-variant-numeric:tabular-nums;white-space:nowrap;min-width:0;max-width:5ch;overflow:hidden}.actions button:active{background:var(--secondary)}.liked{color:#f91880!important}.primary-action,.load-more{background:var(--button);color:var(--button-text);border:0;border-radius:8px;min-height:42px;margin-top:10px;padding:10px 16px;font-weight:700}.post .primary-action{width:100%}.load-more{align-self:center;min-width:150px;margin:18px}.delete-pop{border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:4px;display:flex;position:absolute;top:32px;right:0;box-shadow:0 10px 28px #0f141929}.delete-pop button{white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:8px 10px;display:inline-flex}.delete-pop button,.danger{color:var(--danger)}.profile-head{border-bottom:1px solid var(--line);align-items:center;gap:16px;min-height:116px;padding:20px 16px 18px;display:flex}.profile-head h2{margin:0 0 3px;font-size:21px;line-height:1.25}.profile-head p{color:var(--hint);margin:0}.empty,.center-state{color:var(--hint);text-align:center;padding:44px 18px}.center-state{place-items:center;gap:10px;min-height:50dvh;display:grid}.compact{padding:16px 12px}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.sheet-backdrop{z-index:20;background:#00000047;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);border:1px solid var(--line);width:min(640px,100vw);max-height:50dvh;padding:8px 14px calc(12px + env(safe-area-inset-bottom));border-bottom:0;border-radius:16px 16px 0 0;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 -10px 32px #0f14191f}.sheet-handle{background:var(--line);border-radius:999px;flex:none;width:36px;height:4px;margin:0 auto 8px}.sheet h2{flex:none;margin:0 0 10px;font-size:18px;line-height:1.3}.comments{overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;flex:0 auto;gap:14px;min-height:0;padding:2px 2px 10px;display:flex;overflow-y:auto}.comment{flex:none;grid-template-columns:36px minmax(0,1fr);gap:10px;display:grid}.comment .avatar{width:36px;height:36px}.comment p{overflow-wrap:anywhere;white-space:pre-wrap;margin:3px 0 1px;line-height:1.4}.comment-form{background:var(--bg);border-top:1px solid var(--line);flex:none;grid-template-columns:minmax(0,1fr) 42px;gap:8px;padding-top:10px;display:grid}.comment-form input{border:1px solid var(--line);background:var(--secondary);min-width:0;height:42px;color:var(--text);border-radius:999px;outline:0;padding:10px 14px}.comment-form input:focus{border-color:var(--button)}.comment-form button{background:var(--button);width:42px;height:42px;color:var(--button-text);border:0;border-radius:50%;place-items:center;display:grid}@media (width<=420px){.app-shell{border:0}.post{padding:13px 12px 11px}.post-avatar{top:13px;left:12px}.post>.post-avatar .avatar{width:40px;height:40px}.post-body>.post-meta{min-height:40px;padding-left:50px}.topbar,.profile-head{padding-left:14px;padding-right:14px}.sheet{padding-left:12px;padding-right:12px}}
