/* Asarkade.ir */
.ak-auth.ak-auth--entry {
  --ak-auth-accent: #6930cb;
  width: min(100%, 460px);
  max-width: none;
  margin: clamp(.75rem, 3vw, 2.5rem) auto;
  padding: clamp(1.125rem, 4.5vw, 2.15rem);
  border: 1px solid var(--ak-border);
  border-radius: 24px;
  background: var(--ak-surface);
  color: var(--ak-text);
  box-shadow: var(--ak-shadow);
}
html.dark:not([data-theme="light"]) .ak-auth--entry { --ak-auth-accent: #c4a4ff; }
body.light-theme .ak-auth.ak-auth--entry { --ak-auth-accent: #6930cb; }
.ak-auth--entry .ak-auth__intro { display: grid; justify-items: center; gap: .55rem; margin-block-end: 1.5rem; text-align: center; }
.ak-auth--entry .ak-auth__mark { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 16px; color: var(--ak-auth-accent); background: var(--ak-surface-soft); }
.ak-auth--entry :is(.ak-auth__mark, .ak-auth__sms) svg { width: 1.3rem; height: 1.3rem; flex: none; }
.ak-auth.ak-auth--entry .ak-auth__title { margin: 0; font-size: clamp(1.25rem, 4vw, 1.6rem); line-height: 1.5; text-align: center; }
.ak-auth--entry .ak-auth__hint { margin: 0; max-width: 32ch; color: var(--ak-text-muted); font-size: .875rem; line-height: 1.85; opacity: 1; }
.ak-auth--entry .ak-auth__form { position: relative; display: grid; gap: .9rem; }
.ak-auth--entry .ak-auth__form label { margin: 0; font-size: .875rem; }
.ak-auth--entry .ak-auth__form input:not(.ak-auth__trap) { display: block; min-height: 46px; border-color: var(--ak-border-strong); background: var(--ak-surface-soft); color: var(--ak-text); font-size: 1rem; font-weight: 400; }
.ak-auth--entry .ak-auth__form input::placeholder { opacity: 1; color: var(--ak-text-muted); }
.ak-auth--entry .ak-auth__form .ak-auth__trap { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; clip-path: inset(50%); }
.ak-auth--entry .ak-auth__form button { min-height: 46px; padding: .55rem 1rem; border-radius: 12px; border: 0; background: #6930cb; color: #fff; font-weight: 700; }
.ak-auth--entry .ak-auth__form button:hover { background: #5b28b4; }
.ak-auth--entry .ak-auth__small { margin: .85rem 0 0; }
.ak-auth--entry .ak-auth__small a { color: var(--ak-auth-accent); text-underline-offset: .18em; }
.ak-auth--entry .ak-auth__small a:hover { text-decoration: underline; }
.ak-auth--entry .ak-auth__err { color: #b42318; }
html.dark:not([data-theme="light"]) .ak-auth--entry .ak-auth__err { color: #ffb4b4; }
body.light-theme .ak-auth--entry .ak-auth__err { color: #b42318; }
.ak-auth--entry .ak-auth__methods { display: grid; justify-items: center; gap: .6rem; margin-block-start: 1rem; }
.ak-auth--entry .ak-auth__divider { display: flex; width: 100%; align-items: center; justify-content: center; gap: .65rem; margin: 0; color: var(--ak-text-muted); font-size: .8rem; text-align: center; }
.ak-auth--entry .ak-auth__divider::before,
.ak-auth--entry .ak-auth__divider::after { content: ''; flex: 1 0 .5rem; border-top: 1px solid var(--ak-border); }
.ak-auth--entry .ak-auth__social { display: grid; place-items: center; width: min(100%, 260px); margin: 0; text-align: center; }
.ak-auth--entry .ak-auth__social .nsl-container { width: 100%; text-align: center; }
.ak-auth--entry .ak-auth__social .nsl-container-buttons { width: 100%; max-width: none; padding: 0; }
.ak-auth--entry .ak-auth__social .nsl-container-buttons > a { display: flex; width: 100%; min-width: 0; margin: 0; }
.ak-auth--entry .ak-auth__social .nsl-button { display: flex; align-items: center; width: 100%; min-height: 44px; border-radius: 12px; }
.ak-auth--entry .ak-auth__social .nsl-button-label-container { flex: 1; min-width: 0; margin-inline: .35rem 0; font-family: inherit; white-space: normal; text-align: center; }
.ak-auth--entry .ak-auth__sms { display: flex; justify-content: center; align-items: center; gap: .5rem; width: min(100%, 260px); min-height: 44px; padding: .4rem .75rem; border: 1px solid var(--ak-border-strong); border-radius: 12px; color: var(--ak-text); font-size: .875rem; text-align: center; text-decoration: none; }
.ak-auth--entry .ak-auth__sms:hover { color: var(--ak-auth-accent); border-color: currentColor; }
.ak-auth--entry :is(a, button, input):focus-visible { outline: 2px solid var(--ak-auth-accent); outline-offset: 2px; }

.ak-footer .ak-footer-main > .ak-footer-cols.ak-footer-cols--balanced {
  --ak-footer-gap: clamp(1rem, 2.25vw, 2rem);
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--ak-footer-gap);
}
.ak-footer .ak-footer-cols.ak-footer-cols--balanced > * { grid-area: auto; min-width: 0; }
.ak-footer .ak-footer-cols--balanced .ak-footer-links :is(a, span) { overflow-wrap: anywhere; }
.ak-footer .ak-footer-cols--balanced > .ak-footer-stats {
  width: min(100%, 11.75rem);
  align-self: center;
  justify-self: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}
.ak-footer .ak-footer-cols--balanced .ak-footer-stats > div {
  aspect-ratio: 1;
  min-height: 0;
  min-width: 0;
  gap: .2rem;
  padding: .2rem;
  border: 1px solid var(--ak-border);
  border-radius: 12px;
  background: var(--ak-surface-soft);
  color: var(--ak-text);
  line-height: 1.3;
  text-align: center;
}
.ak-footer .ak-footer-cols--balanced .ak-footer-stats span { color: var(--ak-text-muted); font-size: .73rem; opacity: 1; }
.ak-footer .ak-footer-cols--balanced .ak-footer-stats strong { display: block; color: var(--ak-text); font-size: clamp(.82rem, 1.5vw, 1.04rem); overflow-wrap: anywhere; }
.ak-footer .ak-footer-cols--balanced .ak-footer-stats i { font-size: 18px; width: 18px; height: 18px; }
.ak-footer .ak-footer-trust { display: grid; place-items: center; }
.ak-footer .ak-footer-trust .ak-footer-slider { width: min(100%, 11.75rem); max-width: none; margin: 0; }
.ak-footer .ak-footer-trust .ak-footer-slider.is-multi { padding: 0 25px; }
.ak-footer .ak-footer-trust .ak-slider-btn { width: 24px; height: 30px; border-radius: 8px; }
.ak-footer .ak-footer-trust .ak-footer-track { min-width: 0; align-items: stretch; padding: 0; }
.ak-footer .ak-footer-trust .ak-footer-slide { display: grid; place-items: center; place-content: center; min-width: 0; width: 100%; min-height: 0; aspect-ratio: 4 / 5; max-height: 11.75rem; padding: .5rem; margin: 0; border: 1px solid var(--ak-border); border-radius: 12px; background: var(--ak-surface-soft); }
.ak-footer .ak-footer-trust .ak-footer-slide img { display: block; width: auto; max-width: 100%; max-height: clamp(3rem, 10vw, 8rem); height: auto; object-fit: contain; }
@media (min-width: 650px) and (max-width: 1023px) {
  .ak-footer .ak-footer-main > .ak-footer-cols.ak-footer-cols--balanced { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 649px) {
  .ak-footer .ak-footer-cols.ak-footer-cols--balanced > .ak-footer-trust:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ak-footer .ak-footer-trust .ak-footer-slide img { max-height: 5rem; }
}
@media (min-width: 1024px) {
  .ak-footer .ak-footer-main > .ak-footer-cols.ak-footer-cols--balanced { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .ak-footer .ak-footer-cols--balanced > * + * { position: relative; }
  .ak-footer .ak-footer-cols--balanced > * + *::before { content: ''; position: absolute; inset-block: .15rem; inset-inline-start: calc(var(--ak-footer-gap) / -2 - .5px); width: 1px; height: auto; background: var(--ak-border); transform: none; clip-path: none; mask-image: none; pointer-events: none; }
  .ak-footer .ak-footer-cols--balanced > .ak-footer-stats { align-self: stretch; width: 100%; justify-content: center; align-content: center; grid-template-columns: repeat(2, minmax(0, min(46%, 5.625rem))); }
}
