/* NedirYa V50 — mobile-only UI refinement; existing backend/actions preserved */
@media(max-width:767px){
 html,body{max-width:100%;overflow-x:clip}
 .ny-site-header{position:relative;z-index:50;background:#fff}
 .ny-site-header .ny-top{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;min-height:64px}
 .ny-site-header .ny-logo{font-size:clamp(21px,5.7vw,29px)!important;white-space:nowrap;letter-spacing:-.055em}
 .ny-site-header .ny-menu-toggle{grid-column:3!important;grid-row:1!important;margin:0!important;padding:9px 12px!important;min-width:44px;min-height:44px;font-size:0!important;border-radius:13px!important}
 .ny-site-header .ny-menu-toggle:before{content:'☰';font-size:22px}
 .ny-site-header .ny-account{grid-column:2!important;grid-row:1!important;display:flex!important;gap:6px!important;margin:0!important;min-width:0}
 .ny-site-header .ny-account .ny-quiet{min-height:42px;padding:9px 10px!important;white-space:nowrap}
 .ny-site-header .ny-account .ny50-desktop-link,.ny-site-header .ny-account .ny-logout{display:none!important}
 .ny-site-header .ny-links{grid-column:1/-1!important;grid-row:2!important;display:none!important;position:relative!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;padding:8px!important;background:#fff!important;border:1px solid #e4eaf6;border-radius:15px;box-shadow:0 12px 32px #18345b12}
 .ny-site-header .ny-links.ny-open{display:flex!important}
 .ny-site-header .ny-links a{padding:12px 14px!important;border-radius:9px!important}
 .ny44-mobile-dock{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:999!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;align-items:center!important;width:100%!important;min-height:66px!important;padding:7px 5px calc(7px + env(safe-area-inset-bottom,0px))!important;background:#fffffffa!important;border-top:1px solid #e4eaf5!important;box-shadow:0 -8px 30px #1b31510b!important;backdrop-filter:blur(14px)}
 .ny44-mobile-dock a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-width:0!important;min-height:47px!important;padding:2px!important;font-size:25px!important;line-height:1!important;text-decoration:none!important;color:#526482!important;border-radius:12px}
 .ny44-mobile-dock a small{font-size:10px!important;line-height:1.2!important;font-weight:700!important;white-space:nowrap!important;letter-spacing:0!important}
 .ny44-mobile-dock a:nth-child(3){color:#4669e5!important}
 .ny-page-main{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}
 .ny-post-card{padding:16px!important;border-radius:19px!important;min-width:0!important}
 .ny-post-card h3{font-size:clamp(18px,5vw,23px)!important;line-height:1.32!important;overflow-wrap:anywhere}
 .ny-post-card .author{gap:9px!important}.ny-post-card .author .username{font-size:16px!important}
 .ny-post-card .ny-post-stats{font-size:12px!important;line-height:1.5!important;overflow-wrap:anywhere}
 .ny-post-card .ny-post-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding-top:12px!important}
 .ny-post-card .ny-post-actions .pill{min-height:39px!important;padding:8px 11px!important;border-radius:12px!important;font-size:12px!important;font-weight:700!important;width:auto!important;flex:0 0 auto!important;margin:0!important;white-space:nowrap}
 .ny-post-card .ny-post-actions form.ny37-reaction-form{display:contents!important}
 .ny-post-card .ny-post-actions .ny50-more{margin-left:auto;position:relative;flex:0 0 auto}
 .ny-post-card .ny50-more summary{list-style:none;cursor:pointer;border:1px solid #dfe6f5;border-radius:12px;padding:8px 12px;background:#f7f9fe;color:#39558d;font-weight:750;min-height:39px}
 .ny-post-card .ny50-more summary::-webkit-details-marker{display:none}
 .ny-post-card .ny50-more-menu{position:absolute;z-index:30;right:0;top:calc(100% + 6px);min-width:180px;background:white;border:1px solid #dfe6f5;border-radius:13px;padding:8px;box-shadow:0 16px 38px #172b4c25;display:grid;gap:5px}
 .ny-post-card .ny50-more-menu form{display:block!important;margin:0!important}
 .ny-post-card .ny50-more-menu .pill{display:block!important;width:100%!important;text-align:left!important}
 .ny48-backdrop{padding:0!important;align-items:stretch!important}
 .ny48-shell{height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
 .ny48-head{padding:12px 15px!important;min-height:70px!important}.ny48-head h1{font-size:20px!important}.ny48-head p{font-size:12px!important}
 .ny48-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;min-height:0!important}
 .ny48-menu{display:flex!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;gap:6px!important;padding:9px 12px!important;max-width:100vw!important}
 .ny48-menu a{flex:0 0 auto!important;scroll-snap-align:start;white-space:nowrap!important;padding:10px 12px!important;font-size:13px!important}
 .ny48-content{overflow-y:auto!important;padding:14px!important;padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}
 .ny48-welcome{padding:18px!important}.ny48-welcome h2{font-size:19px!important}.ny48-welcome p{font-size:12px!important}
 .ny48-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.ny48-stats>div{padding:12px!important;min-width:0}.ny48-stats b{font-size:23px!important}.ny48-stats span{font-size:11px!important}
 .ny48-card{padding:16px!important}.ny48-card h2{font-size:20px!important}.ny48-actions{gap:8px!important}
 .ny48-primary,.ny48-btn{font-size:13px!important;padding:10px 12px!important}
 .ny42-profile{min-width:0!important}.ny42-profile .profilehead{flex-wrap:wrap!important;align-items:flex-start!important;gap:14px!important}
 .ny42-profile .profilehead h1{font-size:26px!important}.ny42-profile .profilebody{padding:15px!important;min-width:0!important}
 .ny42-profile .tabs{gap:7px!important;overflow-x:auto!important;flex-wrap:nowrap!important}.ny42-profile .tabs a{flex:0 0 auto!important;white-space:nowrap!important;font-size:13px!important}
 .ny42-profile .ny44-badges{flex-wrap:wrap!important}.ny42-profile .ny39-official-kicker{font-size:11px!important}
 .ny42-profile .ny39-badge-collection{max-width:100%!important}
}
@media(max-width:360px){.ny-post-card .ny-post-actions .pill{font-size:11px!important;padding:8px!important}.ny-site-header .ny-logo{font-size:21px!important}.ny48-stats span{font-size:10px!important}}
