#q52tabs{display:flex;gap:2px;padding:2px;background:#eee}#q52tabs button{flex:1;border:0;border-radius:14px;padding:4px;color:#444;background:#eee}#q52tabs button.on{background:#315c73;color:white}#q52badge:not(:empty){background:#bd293c;color:white;border-radius:12px;padding:2px 6px}#q52posts{height:calc(100% - 32px);position:relative}#q52posts[hidden],#q52[hidden],#q52menu[hidden],#q52file[hidden]{display:none!important}#q52{height:calc(100% - 32px);display:flex;flex-direction:column;background:#fff;min-height:0}#q52game,#q52form{display:flex;gap:3px;padding:2px;background:#fff}#q52game button,#q52menu button,#q52form button{border:1px solid #ccc;border-radius:3px;background:#315c73;color:#fff;padding:4px;cursor:pointer}#q52feed{flex:1;min-height:0;overflow:auto;direction:ltr;padding:0}#q52menu{max-height:35%;overflow:auto;padding:5px;display:flex;flex-wrap:wrap;gap:5px;background:#eee}#q52form{direction:ltr}#q52form input:not([type=file]){flex:1;min-width:0;border:1px solid #ccc;border-radius:0;padding:4px;direction:rtl}#q52 .q52fallback{display:grid;place-items:center;background:#bac3c7;color:white;font-size:28px}#q52 .u-topic{display:block;text-align:left;padding-right:65px!important;max-width:100%!important;overflow-wrap:anywhere}#q52 .u-msg{text-align:start}#q52 .q52image{display:block;max-width:100%;max-height:180px;object-fit:contain;cursor:pointer}#q52status{color:#a12828;padding:0 5px}#q52status:empty{display:none}.q52zoom{position:fixed;inset:0;background:#000d;z-index:2147483647;display:grid;place-items:center}.q52zoom img{max-width:95vw;max-height:90vh}

/* V54: independent scroll panes, fixed header and composer */
#wall.active{display:flex!important;flex-direction:column!important;overflow:hidden!important;height:100%!important;min-height:0!important;position:relative!important}
#wall #q52tabs{flex:0 0 auto;position:relative;z-index:2;direction:rtl}
#wall #q52tabs[hidden],#wall #q52posts[hidden],#wall #q52[hidden]{display:none!important}
#wall #q52posts,#wall #q52{flex:1 1 0!important;height:auto!important;min-height:0!important;overflow:hidden!important;display:flex;flex-direction:column;position:relative!important;width:100%!important}
#wall #q52posts>#f1e,#wall #q52posts>.youtubeSearch{flex:0 0 auto;float:none!important}
#wall #q52posts>#d2bc,#wall #q52feed{flex:1 1 0!important;height:0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;float:none!important;width:100%!important}
#wall #q52posts>.tablebox,#wall #q52form{position:relative!important;bottom:auto!important;top:auto!important;flex:0 0 auto!important;float:none!important;width:100%!important;display:flex!important;align-items:center;gap:2px;padding:4px!important;box-sizing:border-box;z-index:2}
#wall #q52posts>.tablebox textarea,#wall #q52text{flex:1 1 0!important;width:0!important;min-width:0!important}
#wall #q52form button{flex:0 0 auto;height:32px;padding:4px;background:inherit;color:inherit;border:0}
#wall #q52form .btn-primary{background:#315c73;color:white}
#wall #q52game{display:none!important}
#wall #q52 .u-topic{padding-right:0!important;max-width:calc(100% - 35px)!important}
#wall #q52 .mm>.like2,#wall #q52 .mm>.comm{float:right!important}
