html, body { max-width: 100%; overflow-x: hidden; }
.closed-beta-hidden { display: none !important; }
.lc-user-search { position: relative; flex: 1 1 240px; max-width: 360px; z-index: 60; }
.lc-user-search input { width: 100%; min-height: 44px; border-radius: 999px; border: 1px solid rgba(243,199,91,.25); background: rgba(255,255,255,.08); color: #fff6df; padding: 0 16px; }
.lc-search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: rgba(12,8,4,.98); border: 1px solid rgba(243,199,91,.3); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); padding: 8px; max-height: 330px; overflow:auto; }
.lc-search-results button { width: 100%; display:flex; gap:10px; align-items:center; padding:10px; border:0; border-radius:14px; background:transparent; color:#fff6df; text-align:left; }
.lc-search-results button:hover { background: rgba(255,255,255,.08); }
.lc-search-results small { display:block; color:rgba(255,255,255,.58); }
.lc-home-feed, .lc-home-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items:start; }
.lc-post-card { position:relative; width:100%; max-width:100%; border:1px solid rgba(243,199,91,.18); background:rgba(255,255,255,.06); border-radius:26px; padding:16px; box-shadow:0 18px 50px rgba(0,0,0,.28); overflow:hidden; }
.lc-post-head { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.lc-author { border:0; background:transparent; color:#fff6df; text-align:left; padding:0; flex:1; min-width:0; }
.lc-author strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lc-author span { display:block; color:rgba(255,255,255,.62); font-size:.9rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lc-avatar { flex:0 0 auto; width:44px; height:44px; border-radius:15px; border:1px solid rgba(243,199,91,.28); background:linear-gradient(135deg,rgba(243,199,91,.45),rgba(255,255,255,.12)); background-size:cover; background-position:center; color:#fff6df; font-weight:900; display:grid; place-items:center; cursor:pointer; }
.lc-avatar.small { width:44px; height:44px; }
.lc-avatar.tiny { width:32px; height:32px; border-radius:11px; font-size:.75rem; }
.lc-media { width:100%; display:block; border-radius:20px; max-height:520px; object-fit:cover; background:#050403; border:1px solid rgba(255,255,255,.08); }
.lc-video-frame { width:100%; max-width:420px; margin:0 auto 12px; aspect-ratio:9/16; border-radius:24px; overflow:hidden; background:#050403; display:grid; place-items:center; }
.lc-video-frame video { width:100%; height:100%; object-fit:cover; border-radius:0; }
.lc-short-card { max-width:480px; margin-left:auto; margin-right:auto; }
.lc-post-body { color:rgba(255,255,255,.86); line-height:1.6; overflow-wrap:anywhere; }
.lc-liked-badge { display:inline-flex; margin:4px 0 10px; padding:7px 11px; border-radius:999px; background:rgba(255,64,104,.16); color:#ff8eaa; font-size:.84rem; font-weight:800; }
.lc-post-actions { display:flex; flex-wrap:wrap; gap:8px; border-top:1px solid rgba(255,255,255,.08); padding-top:12px; }
.lc-action, .lc-icon-btn { border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.07); color:#fff6df; border-radius:999px; padding:9px 12px; font-weight:800; }
.lc-action.active { border-color:rgba(243,199,91,.45); background:rgba(243,199,91,.14); color:#ffe8a6; }
.lc-owner-menu { position:relative; }
.lc-owner-dropdown { display:none; position:absolute; right:0; top:calc(100% + 6px); min-width:140px; background:#120d07; border:1px solid rgba(243,199,91,.25); border-radius:14px; padding:6px; z-index:10; box-shadow:0 18px 40px rgba(0,0,0,.38); }
.lc-owner-menu:hover .lc-owner-dropdown, .lc-owner-menu:focus-within .lc-owner-dropdown { display:block; }
.lc-owner-dropdown button { width:100%; text-align:left; border:0; background:transparent; color:#fff6df; padding:9px 10px; border-radius:10px; }
.lc-owner-dropdown button:hover { background:rgba(255,255,255,.08); }
.lc-comments { margin-top:12px; border-top:1px solid rgba(255,255,255,.08); padding-top:12px; }
.lc-comment { display:flex; gap:10px; margin-bottom:12px; }
.lc-comment-author { border:0; background:transparent; color:#fff6df; padding:0; font-weight:900; text-align:left; }
.lc-comment-author span { color:rgba(255,255,255,.58); font-weight:600; }
.lc-comment p { margin:.2rem 0 0; color:rgba(255,255,255,.82); overflow-wrap:anywhere; }
.lc-comment-form { display:flex; gap:8px; }
.lc-comment-form input { flex:1; min-width:0; border-radius:999px; border:1px solid rgba(243,199,91,.22); background:rgba(255,255,255,.08); color:#fff; padding:0 14px; }
.lc-comment-form button { border:0; border-radius:999px; padding:10px 14px; background:linear-gradient(135deg,#f3c75b,#fff0a6); color:#160d03; font-weight:900; }
.lc-heart-pop { position:absolute; left:50%; top:46%; transform:translate(-50%,-50%); color:#ff3d68; font-size:4rem; animation:lcHeart .85s ease forwards; pointer-events:none; text-shadow:0 12px 40px rgba(255,0,70,.45); }
.lc-feed-empty, .lc-feed-loading { padding:22px; border-radius:22px; background:rgba(255,255,255,.06); border:1px solid rgba(243,199,91,.18); color:#fff6df; }
.lc-muted { color:rgba(255,255,255,.6); }
@keyframes lcHeart { 0%{opacity:0; transform:translate(-50%,-50%) scale(.4)} 25%{opacity:1} 100%{opacity:0; transform:translate(-50%,-95%) scale(1.2)} }
@media (max-width: 820px) {
  .nav-shell { flex-wrap:wrap; }
  .lc-user-search { order:3; flex-basis:100%; max-width:none; width:100%; }
  .lc-search-results { position:fixed; left:12px; right:12px; top:86px; }
  .lc-home-feed, .lc-home-grid { grid-template-columns:1fr; }
  .lc-post-card { border-radius:22px; padding:13px; }
  .lc-video-frame { max-width:100%; }
  .lc-comment-form { flex-direction:column; }
  .lc-comment-form button { width:100%; }
}

/* Liberation v3.9: unified interaction bars and real feed cleanup */
.feed-section .section-copy h2{font-size:clamp(2.3rem,5vw,4.6rem)}
.feed-section .section-copy p{max-width:720px}
.feed-wall.lc-real-feed-wall{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;align-items:start;width:100%}
.feed-wall.lc-real-feed-wall .lc-post-card{min-height:0}
.post-actions,.lc-post-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;border-top:1px solid rgba(255,255,255,.09)!important;padding-top:14px!important;margin-top:12px!important}
.post-actions button,.lc-action,.lc-icon-btn{appearance:none;border:1px solid rgba(255,255,255,.13)!important;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045))!important;color:#fff6df!important;border-radius:999px!important;min-height:44px!important;padding:0 16px!important;font-weight:900!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;cursor:pointer!important;text-decoration:none!important;white-space:nowrap!important}
.post-actions button:hover,.lc-action:hover,.lc-icon-btn:hover{border-color:rgba(243,199,91,.42)!important;background:rgba(243,199,91,.13)!important;transform:translateY(-1px)}
.post-actions button.active,.lc-action.active,.lc-like.active{border-color:rgba(243,199,91,.55)!important;background:linear-gradient(135deg,rgba(243,199,91,.26),rgba(255,255,255,.08))!important;color:#ffe8a6!important}
.lc-like.active{color:#ff8eaa!important}
.lc-liked-badge{margin-top:8px!important;margin-bottom:4px!important;background:rgba(255,64,104,.18)!important;color:#ff9bb3!important;border:1px solid rgba(255,64,104,.18)!important}
.lc-post-card .lc-post-body{font-size:1rem;line-height:1.55;margin:12px 0;display:block;overflow-wrap:anywhere}
.lc-post-card .lc-post-body:empty{display:none}
.lc-post-card{display:flex;flex-direction:column}
.lc-post-card .lc-video-frame,.lc-post-card img.lc-media{margin-bottom:12px}
.lc-home-feed .lc-post-card,.lc-home-grid .lc-post-card{height:auto}
.lc-home-feed .lc-short-card,.lc-home-grid .lc-short-card{max-width:100%;margin:0}
.lc-home-feed .lc-video-frame,.lc-home-grid .lc-video-frame{max-width:100%}
.lc-comment-form input{min-height:44px!important}
.hidden{display:none!important}
@media(max-width:820px){.feed-wall.lc-real-feed-wall{grid-template-columns:1fr}.post-actions,.lc-post-actions{gap:8px!important}.post-actions button,.lc-action,.lc-icon-btn{flex:1 1 auto;min-width:0;padding:0 12px!important}.lc-share,.lc-save{flex:1 1 120px}.lc-like,.lc-comment-toggle{flex:0 0 auto}}
