.afus-part-q-list .anaqa-content-grid {
  display: block!important;
  position: relative;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 0 80px;
  box-sizing: border-box;
}

.anaqa-content-grid .grid-sizer,.anaqa-content-grid .box {
  width: 25%!important;
  box-sizing: border-box;
}

.anaqa-content-grid .grid-sizer {
  display: block!important;
  padding: 0;
  margin: 0;
  height: 0;
}

.anaqa-content-grid .box {
  padding: 0 10px 20px!important;
  margin: 0!important;
}

.afus-q-list-item .afus-q-item-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  background: #fff;
  border: 1px solid #eee2e4;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(73,44,49,.07);
  transition: box-shadow .25s;
}

.afus-q-list-item .afus-q-item-main:hover {
  transform: none;
  box-shadow: 0 15px 32px rgba(73,44,49,.11);
}

.afus-q-list-item .item-a {
  display: block;
  position: relative;
  flex: none;
  width: 100%;
  height: auto!important;
  min-height: 0!important;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #f8f1f2;
}

.afus-q-list-item .item-a:before {
  display: none!important;
}

.afus-q-list-item .post-featured-img {
  display: block;
  height: auto;
  background: #f8f1f2;
}

.afus-q-list-item .item-img {
  display: block;
  width: 100%!important;
  height: auto!important;
  min-height: 0!important;
  object-fit: contain;
  transform: none!important;
}

.afus-q-list-item .afus-nothumb,.afus-q-list-item .afus-nsfw-post {
  display: grid;
  place-content: center;
  min-height: 145px;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: linear-gradient(135deg,#f8e8ee,#f2edf8);
  color: #ba7790;
  font-size: 30px;
  line-height: 1.5;
  text-align: center;
}

.afus-q-list-item .afus-post-content {
  position: relative!important;
  inset: auto!important;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 15px 16px 14px;
  background: #fff;
  text-align: start;
  z-index: 1;
}

.afus-q-list-item .afus-title-up {
  order: 0;
  margin: 0 0 7px;
}

.afus-q-list-item .afus-q-item-title,.afus-q-list-item .afus-q-item-title h2 {
  order: 1;
  margin: 0;
}

.afus-q-list-item .afus-q-item-title a,.afus-q-list-item .afus-q-item-title h2 {
  display: block;
  color: #2c2224!important;
  font-size: 16px!important;
  font-weight: 800;
  line-height: 1.65;
  text-shadow: none!important;
  overflow-wrap: anywhere;
}

.afus-q-list-item .afus-post-format {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  width: auto;
  padding: 3px 9px;
  background: var(--anaqa-soft-pink)!important;
  color: #c72f5d!important;
  border: 0!important;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.5;
}

.afus-q-list-item .post-meta {
  order: 2;
  position: relative!important;
  inset: auto!important;
  transform: none!important;
  opacity: 1!important;
  margin-top: 9px;
  color: #9a898d;
  font-size: 11px;
  line-height: 1.5;
}

.afus-q-list-item .tislit-post-actions {
  position: absolute;
  top: 12px;
  inset-inline-end: 22px;
  z-index: 10;
  font-size: 13px;
}

.tislit-post-actions>summary {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  cursor: pointer;
  list-style: none;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #49383c;
  box-shadow: 0 4px 14px rgba(38,23,27,.12);
}

.tislit-post-actions>summary::-webkit-details-marker {
  display: none;
}

.tislit-post-actions>summary:focus-visible {
  outline: 2px solid #c72f5d;
  outline-offset: 3px;
}

.tislit-post-actions[open] {
  z-index: 20;
}

.anaqa-content-grid .box:has(.tislit-post-actions[open]) {
  z-index: 21;
}

.tislit-post-actions .tislit-post-action-list {
  position: absolute;
  inset-inline-end: 0;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 180px;
  padding: 7px;
  background: #fff;
  border: 1px solid #eee2e4;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(73,44,49,.14);
}

.tislit-post-action-list>a {
  display: flex!important;
  align-items: center;
  gap: 9px;
  width: 100%!important;
  height: auto!important;
  padding: 9px!important;
  margin: 0!important;
  border-radius: 8px!important;
  line-height: 1.5!important;
  background: transparent!important;
  color: #49383c!important;
  box-shadow: none!important;
  text-decoration: none;
}

.tislit-post-action-list>a:hover {
  background: #f9edf1!important;
  color: #c72f5d!important;
}

@media (max-width:1200px) {
  .anaqa-content-grid .grid-sizer,.anaqa-content-grid .box {
    width: 33.333333%!important;
  }
}

@media (max-width:800px) {
  .anaqa-content-grid .grid-sizer,.anaqa-content-grid .box {
    width: 50%!important;
  }

  .anaqa-content-grid .box {
    padding: 0 7px 14px!important;
  }

  .afus-q-list-item .tislit-post-actions {
    inset-inline-end: 19px;
  }
}

@media (max-width:520px) {
  .anaqa-content-grid .grid-sizer,.anaqa-content-grid .box {
    width: 50%!important;
  }

  .anaqa-content-grid .box {
    padding: 0 5px 12px!important;
  }

  .afus-q-list-item .tislit-post-actions {
    inset-inline-end: 12px;
  }
}

body {
  background: linear-gradient(180deg,#fff 0,var(--anaqa-bg) 58%,#fff 100%);
  color: var(--anaqa-text);
}

.afus-body-in {
  padding: 28px clamp(18px,2.6vw,48px) 40px;
}

.afus-rtl .afus-body {
  padding-left: 0;
  padding-right: 80px;
}

.afus-rtl .leftmenu {
  left: auto;
  right: 0;
  direction: rtl;
}

.afus-rtl .leftmenu-left {
  border-right: 0;
  border-left: 1px solid #c7cdd226;
}

.afus-rtl .afus-nav-main {
  left: auto;
  right: -400px;
  text-align: right;
}

.afus-rtl .leftmenu.open .afus-nav-main {
  right: auto;
}

.afus-rtl .afus-nav-main-link {
  text-align: right;
}

.afus-rtl .afus-nav-main-link i {
  margin-right: 0;
  margin-left: 14px;
}

.afus-main {
  max-width: 1480px;
  margin: 24px auto 44px;
}

.afus-main-in {
  padding-left: 1.2%;
  padding-right: 1.2%;
  min-width: 0;
  box-sizing: border-box;
}

.afus-main.one-page {
  max-width: 1380px;
  margin: 28px auto 48px;
}

.afus-main.one-page .afus-inner {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--anaqa-line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--anaqa-shadow);
}

.afus-part-q-list {
  width: 100%;
}

.container {
  width: 100%;
  margin: 0-.65%;
  padding-bottom: 90px;
}

.post-meta {
  font-size: 12px;
}

.pheader,.head-title,.widget-title {
  background: transparent;
  color: var(--anaqa-text);
  border: 0;
  font-weight: 800;
}

.pheader {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 22px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--anaqa-line);
}

.widget-title {
  font-size: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--anaqa-line);
  border-radius: 0;
}

.afus-q-view,.afus-a-item,.afus-c-item,.afus-form-tall-table,.afus-part-form,.afus-part-ranafus-users-list,.afus-part-ranafus-users-points {
  background: #fff;
  border: 1px solid var(--anaqa-line);
  border-radius: 22px;
  box-shadow: var(--anaqa-shadow);
}

.afus-q-view {
  overflow: hidden;
}

.afus-form-tall-text,.afus-form-tall-number,input[type="text"],input[type="email"],input[type="password"],textarea,select {
  border-radius: 14px!important;
  border: 1px solid #eadde0!important;
  background: #fff!important;
}

.afus-form-tall-text:focus,input:focus,textarea:focus {
  border-color: #d88aa2!important;
  box-shadow: 0 0 0 4px rgba(200,61,104,.08)!important;
}

.afus-form-tall-button,.afus-button,.afus-form-wide-button {
  border-radius: 14px!important;
  background: var(--anaqa-accent)!important;
  color: #fff!important;
  border: 0!important;
  box-shadow: 0 7px 18px rgba(200,61,104,.18);
}

.afus-q-view-tag-list li a,.afus-q-item-tag-list li a {
  border-radius: 999px;
  background: var(--anaqa-soft-pink);
  color: #a92d53;
  border: 1px solid #f4d6df;
}

.afus-template-search .afus-main,.afus-template-tag .afus-main,.afus-template-user .afus-main,.afus-template-favorites .afus-main,.afus-template-hot .afus-main {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

.afus-template-question .afus-main-in,.afus-template-custom .afus-main-in {
  max-width: 980px;
  margin: auto;
}

.rightsidebar .afus-widget-side {
  background: #fff;
  border: 1px solid var(--anaqa-line);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(83,50,58,.06);
  overflow: hidden;
}

@media (max-width:1200px) {
  .afus-main {
    max-width: 1100px;
  }
}

@media (max-width:820px) {
  .afus-body-in {
    padding: 18px 14px 30px;
  }

  .container {
    margin: 0-.8%;
  }

  .afus-main.one-page .afus-inner {
    padding: 18px;
    border-radius: 18px;
  }

  .afus-rtl .afus-body {
    padding-right: 80px;
  }
}

@media (max-width:520px) {
  .container {
    margin: 0;
  }

  .afus-body-in {
    padding-left: 10px;
    padding-right: 10px;
  }

  .pheader {
    font-size: 23px;
  }
}

.afus-main:not(.post-page),.afus-template-home .afus-main,.afus-template-hot .afus-main,.afus-template-search .afus-main,.afus-template-tag .afus-main,.afus-template-favorites .afus-main,.afus-template-type .afus-main {
  width: 100%;
  max-width: 1540px;
  box-sizing: border-box;
  min-width: 0;
  margin: 26px auto 54px;
}

.afus-q-view,.afus-a-item,.afus-c-item {
  border-radius: 24px!important;
  border-color: #f0e4e5!important;
  box-shadow: 0 12px 38px rgba(76,46,52,.07)!important;
}

.afus-template-question .afus-main-in {
  max-width: 1080px;
  margin: auto;
}

.afus-template-question .afus-q-view {
  background: #fff;
}

.afus-template-home .afus-part-q-list {
  display: block!important;
  width: 100%!important;
  position: relative!important;
}

.afus-template-home .afus-main-in {
  min-width: 0!important;
  width: 100%!important;
}

.afus-template-home .anaqa-home-intro {
  display: block;
  width: 100%;
  max-width: 1380px;
  margin: 20px auto 24px;
  direction: rtl;
  box-sizing: border-box;
}

.afus-template-home .anaqa-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 12px;
}

.afus-template-home .anaqa-section-title h2 {
  font-size: 27px;
  margin: 0;
  color: #261d20;
  font-weight: 900;
}

.afus-template-home .anaqa-section-title span {
  height: 2px;
  width: 54px;
  background: #dc3e6c;
  border-radius: 2px;
}

@media (max-width:1200px) {
  .afus-template-home .anaqa-home-intro {
    max-width: calc(100% - 28px)!important;
  }
}

@media (max-width:520px) {
  .afus-template-home .anaqa-home-intro {
    max-width: calc(100% - 16px)!important;
  }

  .afus-template-home .anaqa-section-title h2 {
    font-size: 22px;
  }
}

@media (max-width:700px) {
  .afus-body,.afus-rtl .afus-body {
    padding-left: 0!important;
    padding-right: 0!important;
  }

  .afus-body-in {
    width: 100%!important;
    max-width: 100%!important;
    padding: 12px!important;
    box-sizing: border-box!important;
  }

  .leftmenu,.afus-rtl .leftmenu {
    left: auto!important;
    right: 8px!important;
    top: 10px!important;
    bottom: auto!important;
    width: 48px!important;
    min-height: 48px!important;
    height: 48px!important;
    border: 1px solid #f0e1e6!important;
    border-radius: 16px!important;
    background: rgba(255,255,255,.96)!important;
    box-shadow: 0 8px 24px rgba(72,43,53,.10)!important;
    overflow: hidden!important;
  }

  .leftmenu .leftmenu-left {
    width: 48px!important;
    min-width: 48px!important;
    height: 48px!important;
    padding: 0!important;
    border: 0!important;
    justify-content: center!important;
  }

  .leftmenu:not(.open) .leftmenu-left>span {
    display: none!important;
  }

  .leftmenu:not(.open) .leftmenu-left>span:first-child {
    display: flex!important;
    margin: 0!important;
  }

  .leftmenu:not(.open) .leftmenu-left>span:first-child>* {
    display: none!important;
  }

  .leftmenu:not(.open) .leftmenu-left>span:first-child>.afus-left-toggle {
    display: block!important;
    margin: 0!important;
  }

  .leftmenu:not(.open) .afus-nav-main {
    display: none!important;
  }

  .leftmenu.open,.afus-rtl .leftmenu.open {
    top: 8px!important;
    right: 8px!important;
    width: min(88vw,340px)!important;
    height: calc(100vh - 16px)!important;
    min-height: 0!important;
    border-radius: 22px!important;
    overflow-y: auto!important;
    align-items: stretch!important;
  }

  .leftmenu.open .leftmenu-left {
    width: 58px!important;
    min-width: 58px!important;
    height: auto!important;
    min-height: 100%!important;
    padding: 14px 0!important;
    justify-content: space-between!important;
  }

  .leftmenu.open .leftmenu-left>span {
    display: flex!important;
  }

  .leftmenu.open .leftmenu-left>span:first-child>* {
    display: block!important;
  }

  .leftmenu.open .afus-nav-main {
    display: block!important;
    opacity: 1!important;
    left: auto!important;
    right: auto!important;
    min-width: 0!important;
    width: calc(100% - 58px)!important;
    margin: 0!important;
    padding: 14px 10px!important;
    box-sizing: border-box!important;
  }
}

/* Incremental loading controls; native pagination remains available on errors. */
.tislit-load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  clear: both;
  padding: 20px 12px;
  text-align: center;
}
.tislit-load-more [hidden] { display: none !important; }
.tislit-load-more button:disabled { opacity: .6; cursor: wait; }
.tislit-load-more [role="status"] { font-size: 13px; color: var(--anaqa-muted); }

@media(max-width:520px) {
  .anaqa-content-grid .afus-q-item-title { font-size: 14px; line-height: 1.65; }
}
