/* TASKVN V291 — logo mới (đồng xu T, nền trong suốt) hoà vào giao diện + animation. File riêng, không đụng CSS cũ. */
.logo .mk{position:relative;display:inline-grid;place-items:center;width:38px;height:38px;flex:none;perspective:200px}
.logo .mk img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 4px 10px rgba(47,109,246,.45));animation:tkFloat 3.6s ease-in-out infinite;transform-origin:50% 60%;will-change:transform}
.logo .mk::before{content:"";position:absolute;inset:-7px;border-radius:50%;background:radial-gradient(circle,rgba(79,143,255,.5),rgba(79,143,255,0) 68%);animation:tkGlow 3.6s ease-in-out infinite}
.logo .mk::after{content:"";position:absolute;z-index:2;top:-5px;left:-6px;width:11px;height:11px;background:#dbe8ff;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);animation:tkTwinkle 2.8s ease-in-out infinite}
.logo:hover .mk img{animation:tkSpin 1s cubic-bezier(.3,.7,.2,1) 1}
.logo .lw{font:700 15px var(--tech,inherit);letter-spacing:.08em}
.auth-l .logo .mk,.top .logo .mk{width:42px;height:42px}
@keyframes tkFloat{0%,100%{transform:translateY(1.5px) rotate(-2deg)}50%{transform:translateY(-2.5px) rotate(2deg)}}
@keyframes tkGlow{0%,100%{opacity:.35;transform:scale(.88)}50%{opacity:.9;transform:scale(1.12)}}
@keyframes tkTwinkle{0%,100%{opacity:0;transform:scale(.3) rotate(0)}45%,55%{opacity:1;transform:scale(1) rotate(45deg)}}
@keyframes tkSpin{to{transform:rotateY(360deg)}}
@media(prefers-reduced-motion:reduce){.logo .mk img,.logo .mk::before,.logo .mk::after{animation:none!important}.logo .mk::after{opacity:0}}

/* ===== V292: header trang chủ không tràn trên điện thoại ===== */
@media(max-width:860px){
  .top .wrap{gap:8px!important}
  .top .logo{flex:none;gap:7px}
  .top .logo .lw{font-size:14px;letter-spacing:.04em}
  .top .sp{flex:1;min-width:0}
  .top .acts{flex:0 1 auto;min-width:0;gap:8px}
  .top .acts .btn.sm{padding:9px 13px!important;font-size:12.5px!important;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .top .acts .burger{flex:none}
}
@media(max-width:380px){.top .logo .lw{display:none}}
