/* Asarkade.ir */
@property --ak-articles-angle { syntax:"<angle>"; initial-value:0deg; inherits:false; }
@keyframes ak-articles-spin { to { --ak-articles-angle:360deg; } }
form.ak-articles-neon {
  --ak-search-bg:rgba(255,255,255,.92); --ak-search-text:#1a1a1a; --ak-search-placeholder:#71717a;
  position:relative; isolation:isolate; display:flex; align-items:center; direction:rtl;
  width:100%; max-width:100%; min-width:0; box-sizing:border-box;
  margin:28px auto 0; padding:3px; border:0; border-radius:16px;
  background:transparent; box-shadow:0 8px 24px rgba(0,0,0,.08);
}
:is(.dark,.dark-mode,.dark-theme,[data-theme="dark"],[data-mode="dark"],[data-color-mode="dark"]) form.ak-articles-neon {
  --ak-search-bg:rgba(13,15,18,.94); --ak-search-text:#fff; --ak-search-placeholder:#a1a1aa;
}
form.ak-articles-neon::before,form.ak-articles-neon::after {content:"";position:absolute;pointer-events:none;}
form.ak-articles-neon::before {
  inset:0; z-index:0; border-radius:inherit; padding:2.5px;
  background:conic-gradient(from var(--ak-articles-angle,0deg),transparent 0deg,#402fb5 45deg,transparent 90deg 180deg,#cf30aa 225deg,transparent 270deg 360deg);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; animation:ak-articles-spin 3.5s linear infinite;
}
form.ak-articles-neon::after {inset:2px;z-index:-1;border-radius:14px;background:var(--ak-search-bg);backdrop-filter:blur(12px);}
form.ak-articles-neon input[type="search"] {
  position:relative; width:100%; min-width:0; flex:1 1 auto; height:48px; margin:0; padding:0 16px;
  background:transparent; border:0; box-shadow:none; color:var(--ak-search-text); font:inherit; font-size:16px; text-align:start;
}
form.ak-articles-neon input::placeholder { color:var(--ak-search-placeholder); font-size:13.5px; opacity:1; }
form.ak-articles-neon button.ak-blog__search-btn {
  position:relative; inset:auto; display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px;
  padding:0; margin:0 0 0 4px; border:0; border-radius:12px; background:transparent; box-shadow:none;
  color:#cf30aa; cursor:pointer; transition:transform .35s,color .35s;
}
form.ak-articles-neon button.ak-blog__search-btn:hover { color:var(--ak-brand, #8058e8); transform:rotate(20deg) scale(1.12); }
form.ak-articles-neon button.ak-blog__search-btn:active { transform:rotate(360deg) scale(.95); }
form.ak-articles-neon :is(input,button):focus-visible {outline:2px solid var(--ak-brand, #9a62ed);outline-offset:-3px;}
@media(prefers-reduced-motion:reduce) {
  form.ak-articles-neon::before {animation:none;}
  form.ak-articles-neon button.ak-blog__search-btn {transition:none;transform:none;}
}
