/* =====================================================================
   Thanh icon "giot nuoc" (gooey droplet dock) - IZON 26/11/2026
   Lay cam hung tu video "Glassy Navigation Tabs V5" (@paulcodes4, TikTok), viet lai tu dau.
   Re chuot / Tab toi icon: icon dang len thanh giot nuoc, co keo dai roi dut, giot noi phia tren.
   Roi khoi thanh: giot roi ve, nhap lai vao thanh, gon nhe nhu mat nuoc.
   Ky thuat: lop nen (than + giot) dung bo loc SVG #giot-loc (lam mo + tang tuong phan kenh alpha)
   nen 2 khoi gan nhau dinh lai nhu chat long; icon va chu nam lop tren, khong bi loc.
   Bien: --giot-mau (mau nen), --giot-icon (mau icon), --giot-cao (do cao giot noi len).
   ===================================================================== */
.giot{--giot-mau:#E6EEFB;--giot-icon:var(--xanh,#1A6FE8);--giot-cao:-74px;--giot-x:50%;
  --lo-xo-len:linear(0, 0.0431, 0.1518, 0.2981, 0.4592, 0.6177, 0.7613, 0.8827, 0.9785, 1.0482, 1.0938, 1.1184, 1.1263, 1.1216, 1.1083, 1.09, 1.0697, 1.0496, 1.0313, 1.0158, 1.0034, 0.9944, 0.9885, 0.9852, 0.9841, 0.9846, 0.9862, 0.9885, 0.991, 0.9936, 0.9959, 0.9979, 0.9995, 1.0006, 1.0014, 1.0019, 1);
  --lo-xo-roi:linear(0, 0.06, 0.2099, 0.4075, 0.6167, 0.8106, 0.9715, 1.0903, 1.1653, 1.2005, 1.203, 1.1816, 1.1457, 1.1033, 1.0611, 1.0238, 0.9944, 0.9738, 0.962, 0.9579, 0.9597, 0.9656, 0.9737, 0.9825, 0.9909, 0.9979, 1.0032, 1.0066, 1.0083, 1.0086, 1.0078, 1.0064, 1.0046, 1.0028, 1.0012, 0.9999, 1);
  position:relative;isolation:isolate}
.giot-loc{position:absolute;width:0;height:0;overflow:hidden}
.giot-nen{position:absolute;inset:0;filter:url(#giot-loc);pointer-events:none;z-index:0}
.giot-than{position:absolute;inset:0;border-radius:22px;background:var(--giot-mau)}
.giot-nen .giot-tron,.giot-noi{position:absolute;left:var(--giot-x);top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;
  transform:translateY(0);transition:transform .8s var(--lo-xo-roi),left .38s cubic-bezier(.2,.8,.2,1)}
.giot-nen .giot-tron{background:var(--giot-mau)}
.giot-noi{z-index:2;display:grid;place-items:center;color:var(--giot-icon);opacity:0;pointer-events:none;transition:transform .8s var(--lo-xo-roi),left .38s cubic-bezier(.2,.8,.2,1),opacity .2s ease .1s}
.giot-noi svg{width:20px;height:20px}
.giot.len .giot-nen .giot-tron,.giot.len .giot-noi{transform:translateY(var(--giot-cao));transition:transform .75s var(--lo-xo-len),left .38s cubic-bezier(.2,.8,.2,1),opacity .15s ease}
.giot.len .giot-noi{opacity:1}
.giot-ds{position:relative;z-index:1;display:flex;margin:0;padding:0;list-style:none}
.giot.giot-nhay .giot-tron,.giot.giot-nhay .giot-noi{transition:none!important}
.giot-o{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 2px 9px;text-decoration:none;color:var(--muc,#0E1116);border-radius:16px;min-width:0}
.giot-o span{display:inline-flex;width:20px;height:20px;color:var(--giot-icon);transition:opacity .2s ease}
.giot-o span svg{width:20px;height:20px}
.giot-o small{font:500 12px/1.2 var(--font,system-ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.giot-o:focus-visible{outline:2px solid var(--giot-icon);outline-offset:-2px}
.giot.len .giot-o.dang span{opacity:0} /* icon dang "noi" trong giot, cho trong thanh de trong */
@media (prefers-reduced-motion:reduce){
  .giot-nen .giot-tron,.giot-noi,.giot.len .giot-nen .giot-tron,.giot.len .giot-noi{transition:none}
  .giot.len .giot-nen .giot-tron,.giot.len .giot-noi{transform:none}
  .giot.len .giot-noi{opacity:0}.giot.len .giot-o.dang span{opacity:1}
  .giot-o.dang{background:rgba(26,111,232,.08)}
}
