#elementsk::-webkit-scrollbar {
    width: 9px;
    background-color: var(--fltx);
}
#elementsk::-webkit-scrollbar-thumb {
    background-color: var(--tt-accent);
	border-radius:10px;
}
#elementb::-webkit-scrollbar {
    width: 11px;
    background-color: #111;
}
#elementb::-webkit-scrollbar-thumb {
    background-color: var(--tt-accent);
	border-radius:10px;
}
::-webkit-scrollbar {
    width: 11px;
    background-color: var(--fltx)
	
}
::-webkit-scrollbar-thumb {
    background-color: var(--tt-accent);
	border-radius:10px;
}
/* Карточки аниме — под постером на фуллстори */
.amd-poster-cards-btn {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 240px;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 2px;
    padding: 10px 16px;
    background: #c656ff;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(139, 107, 201, 0.4);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.amd-poster-cards-btn:hover {
  filter: brightness(1.07);
  box-shadow: 0 6px 18px rgba(139, 107, 201, 0.5);
  color: #fff !important;
  transform: translateY(-1px);
}
.amd-poster-cards-btn i {
  font-size: 15px;
  opacity: 0.95;
}
button.amd-poster-cards-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.amd-poster-cards-btn--suggest {
  background: #2f8f6b;
  box-shadow: 0 4px 14px rgba(47, 143, 107, 0.35);
  margin-top: 8px;
}
.amd-poster-cards-btn--suggest:hover {
  box-shadow: 0 6px 18px rgba(47, 143, 107, 0.45);
}
.amd-cards-names-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100040;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.amd-cards-names-modal.is-open { display: flex; }
.amd-cards-names-modal__box {
  background: #fff;
  color: #222;
  border-radius: 14px;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 20px 18px 16px;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.amd-cards-names-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
.amd-cards-names-modal__title {
  margin: 0 40px 8px 0;
  font-size: 20px;
}
.amd-cards-names-modal__hint {
  margin: 0 0 14px;
  color: #666;
  font-size: 13px;
}
.amd-cards-names-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.amd-cards-names-fields input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}
.amd-cards-names-vote-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.amd-cards-names-vote-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
}
.amd-cards-names-vote-item__main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.amd-cards-names-vote-item__name {
  flex: 1 1 140px;
  font-weight: 600;
}
.amd-cards-names-vote-item__cnt {
  font-size: 13px;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}
.amd-cards-names-vote-item__cnt--yes { color: #1a7f37; }
.amd-cards-names-vote-item__cnt--no { color: #c62828; }
.amd-cards-names-vote-btn {
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  min-width: 34px;
}
.amd-cards-names-vote-btn--yes {
  border: 1px solid #1a7f37;
  background: #e6f6ea;
  color: #1a7f37;
}
.amd-cards-names-vote-btn--no {
  border: 1px solid #c62828;
  background: #fdecea;
  color: #c62828;
}
.amd-cards-names-vote-btn.is-on-yes {
  background: #1a7f37;
  border-color: #1a7f37;
  color: #fff;
}
.amd-cards-names-vote-btn.is-on-no {
  background: #c62828;
  border-color: #c62828;
  color: #fff;
}
.amd-cards-names-vote-item__fix {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
  border-top: 1px dashed #ddd;
}
.amd-cards-names-vote-item__fix[hidden] {
  display: none !important;
}
.amd-cards-names-vote-fix-input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #222;
}
.amd-cards-names-vote-item__fix .btn {
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
  background: #2f8f6b;
  color: #fff;
}
.amd-cards-names-vote-item button {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 13px;
}
.amd-cards-names-vote-item button.is-on-yes {
  background: #e6f6ea;
  border-color: #1a7f37;
  color: #1a7f37;
}
.amd-cards-names-vote-item button.is-on-no {
  background: #fdecea;
  border-color: #c62828;
  color: #c62828;
}
.amd-cards-names-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.amd-cards-names-modal__actions .btn {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}
.amd-cards-names-modal__actions .btn-primary {
  background: #2f8f6b;
  color: #fff;
}
.amd-cards-names-modal__actions .btn-ghost {
  background: #eee;
  color: #333;
}
.dt-is-active .amd-cards-names-modal__box {
  background: #1e1e24;
  color: #eee;
}
.dt-is-active .amd-cards-names-fields input,
.dt-is-active .amd-cards-names-vote-item,
.dt-is-active .amd-cards-names-vote-fix-input,
.dt-is-active .amd-cards-names-vote-btn {
  background: #2a2a32;
  border-color: #444;
  color: #eee;
}
.dt-is-active .amd-cards-names-vote-btn--yes {
  background: #1e3d28;
  border-color: #3d9a5c;
  color: #8fe6a8;
}
.dt-is-active .amd-cards-names-vote-btn--no {
  background: #3d2020;
  border-color: #c62828;
  color: #ffb4b4;
}
.dt-is-active .amd-cards-names-vote-btn.is-on-yes {
  background: #1a7f37;
  color: #fff;
}
.dt-is-active .amd-cards-names-vote-btn.is-on-no {
  background: #c62828;
  color: #fff;
}
.lr-heading{margin:0 0 6px;font-size:24px;line-height:1.2;text-align: center}
.lr-subheading{margin:0 0 14px;color:#cfcfcf}
.lr-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 14px}
.lr-tab{display:inline-block;padding: 8px 16px;
    border-radius: 20px;text-decoration:none;background:var(--fltx);color:var(--tt)}
.lr-tab:hover{background:var(--bg1s);color:#fff}
.lr-tab.is-active{background:var(--tt-accent);color:#fff}
.lr-empty{padding:16px 0;color:#cfcfcf}
.lr-status-pill{
display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
    color: #fff;
    background: rgb(0 0 0 / 58%);
   
}
.lr-status-pill i{font-size:13px } 
.lr-rank-badge{
  position:absolute;
  top:8px;
  left:8px;
  z-index:3;
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:13px;
  color:#fff;
  background:rgba(0,0,0,.65);
  border:1px solid rgba(255,255,255,.25);
}
@media (max-width:700px){
  .lr-heading{font-size:20px}
}
.from-pwa .hide-in-pwa,
.from-pwa [data-hide-in-pwa] {
  display: none !important;
}

.ya-rtb-block {
  min-height: 250px;
  width: 100%;
}

/* CARD */
.amd-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  background: var(--bg-2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  position: relative;
}

/* INFO BLOCK INSIDE CARD */
.amd-info {
  width: 100%;
  background: #f3f4f6;
  color: #111827;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: center;
  font-size: 14px;
  margin-bottom: 16px;
  grid-column: 1/-1; /* чтобы занимал всю ширину карточки */
}

/* LEFT COLUMN */
.amd-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  position: relative;
}

.amd-poster {
  width: 240px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  position: relative;
}

.amd-poster img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.amd-poster:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* LIKE/DISLIKE */
.poster-actions {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 95px;
}

.poster-actions button {
  background: rgb(255 255 255 / 86%);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  font-size: 20px;
}

.poster-actions button:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.1);
}

#like-btn { color: #3b82f6; }
#dislike-btn { color: #ef4444; }

.poster-actions .count {
position: absolute;
    top: -16px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg1s);
    color: #fff;
    padding: 4px 6px;
    border-radius: 8px;
}

#like-count { left: -12px; }
#dislike-count { right: -12px; }

/* TIMER BLOCK */
.amd-timer {
    display: flex;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    width: 100%;
    text-align: center;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
}

.timer-block div {
    font-size: 30px;
    font-weight: 700;
}

.timer-block span {
  font-size: 10px;
     color: var(--tt-2);
}

.timer-sep {
  font-size: 26px;
    font-weight: 700;
}

/* NEXT & BUTTON */
.amd-next {
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 16px;
    font-weight: 500;
    background: var(--fltx);
    font-size: 17px;
}
.amd-vser {font-size: 16px;}
.amd-vser span {color: var(--tt-accent);
    font-size: 20px;
    font-weight: 600;}
.amd-button {
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 16px;
  font-weight: 500;
  background: #6366f1;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.amd-button:hover {
  background: #4f46e5;
  transform: translateY(-2px);
}

/* RIGHT CONTENT */
.amd-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.amd-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

}

.amd-title {
  font-size: 32px;
  font-weight: 700;
}

.amd-fan-title-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.amd-fan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  white-space: nowrap;
  border-radius: 999px;
  pointer-events: none;
}

.amd-fan-badge--solid {
  padding: 6px 14px;
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  background: #6d28d9;
}

.amd-fan-badge--ghost {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #6d28d9;
  background: rgba(109, 40, 217, .12);
}

.amd-fan-badge--poster {
  position: absolute;
  left: 12px;
  top: 38%;
  z-index: 12;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  background: #6d28d9;
  box-shadow: 0 4px 12px rgba(55, 20, 110, .28);
}

.amd-fan-badge--card {
  top: auto;
  bottom: 8px;
  left: 8px;
  padding: 4px 8px;
  font-size: 11px;
}

.carou .amd-fan-badge--card {
  left: 6px;
  bottom: 6px;
  padding: 3px 7px;
  font-size: 10px;
}

.amd-fan-badge--home {
  top: 6px;
  left: 6px;
  bottom: auto;
  padding: 3px 7px;
  font-size: 9px;
}

.fan-home {
  padding: 22px 24px 20px;
  border-radius: 22px;
  background: #efe7ff;
}

.fan-home__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.fan-home__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fan-home__title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--tt);
}

.fan-home__lead {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.fan-home__all {
  flex-shrink: 0;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #6d28d9;
  text-decoration: none;
  white-space: nowrap;
}

.fan-home__all:hover {
  color: #5b21b6;
}

.fan-home__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.fan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 14px rgba(88, 28, 135, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.fan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(88, 28, 135, .14);
}

.fan-card__poster {
  aspect-ratio: 16 / 10;
  background: #ddd6fe;
}

.fan-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fan-card__body {
  padding: 8px 9px 10px;
}

.fan-card__title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--tt);
}

.fan-card__meta {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #6d28d9;
}

body.dt-is-active .amd-fan-badge--ghost {
  color: #c4b5fd;
  background: rgba(167, 139, 250, .18);
}

body.dt-is-active .fan-home {
  background: rgba(109, 40, 217, .16);
}

body.dt-is-active .fan-home__lead {
  color: #9ca3af;
}

body.dt-is-active .fan-home__all {
  color: #c4b5fd;
}

body.dt-is-active .fan-card {
  background: var(--bg, #1a1f27);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

body.dt-is-active .fan-card__meta {
  color: #c4b5fd;
}

@media (max-width: 1200px) {
  .fan-home__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .amd-fan-title-badges { gap: 6px; margin-bottom: 8px; }
  .amd-fan-badge--solid { padding: 5px 10px; font-size: 11px; }
  .amd-fan-badge--ghost { padding: 5px 10px; font-size: 12px; }
  .fan-home { padding: 16px; border-radius: 18px; }
  .fan-home__title { font-size: 22px; }
  .fan-home__head { flex-direction: column; gap: 8px; }
  .fan-home__grid { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
}

/* SUBTITLE WITH DROPDOWN */
.amd-sub-container {
display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
    margin-top: 0px;
}

.amd-dropdown-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.amd-alt-names {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--tt-2);
  background: var(--fltx);
  border-radius: 12px;
  padding: 8px 12px;
  line-height: 1.5;
}

.amd-score {
font-size: 42px;
    line-height: 44px;
    font-weight: 700;
    color: var(--tt-accent);
}
.amd-score-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.amd-discuss-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px 8px 14px;
  border-radius: 999px;
  background: #fff1f3;
  color: #c83249 !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  height: auto;
  box-shadow: none;
}
.amd-discuss-pill__ico { display: flex; }
.amd-discuss-pill__count {
  min-width: 22px;
  padding: 3px 7px;
  border-radius: 8px;
  background: #ffe0e6;
  font-size: 13px;
  text-align: center;
}
.amd-discuss-pill__arrow { font-size: 14px; margin-left: 2px; }
body.dt-is-active .amd-discuss-pill { background: color-mix(in srgb, var(--tt-accent) 16%, #1b2935); color: var(--tt-accent) !important; }
body.dt-is-active .amd-discuss-pill__count { background: color-mix(in srgb, var(--tt-accent) 28%, #1b2935); color: var(--tt-accent); }
.amd-discuss-box {
  margin: 16px 0 8px;
  background: var(--bg-2, #fff);
  border: 1px solid var(--bdc, #f0f0f3);
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(28,35,52,.06);
  overflow: hidden;
}
body.dt-is-active .amd-discuss-box { box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.amd-discuss-box__head, .amd-discuss-box__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
}
.amd-discuss-box__head { border-bottom: 1px solid var(--bdc, #f0f0f3); }
.amd-discuss-box__ico { display: flex; color: #c83249; }
body.dt-is-active .amd-discuss-box__ico { color: #ff9aaf; }
.amd-discuss-box h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; min-width: 0; }
.amd-discuss-box__ico, .amd-discuss-box__count, .amd-discuss-box__all { flex-shrink: 0; }
.amd-discuss-box__count {
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid var(--bdc, #eee);
  color: var(--tt-2, #888);
  font-size: 13px;
}
.amd-discuss-box__all { margin-left: auto; color: #c83249; font-weight: 700; font-size: 14px; text-decoration: none; }
body.dt-is-active .amd-discuss-box__all { color: var(--tt-accent, #29b7d8); }
.amd-discuss-box__item {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--bdc, #f0f0f3);
  text-decoration: none;
  color: inherit;
}
.amd-discuss-box__item .avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #f3eef8; color: #8a78a8; font-size: 12px; font-weight: 700; overflow: hidden; }
.amd-discuss-box__item .avatar img { width: 34px; height: 34px; object-fit: cover; display: block; }
body.dt-is-active .amd-discuss-box__item .avatar { background: #2a2438; color: #cbb6e6; }
.amd-discuss-box__main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.amd-discuss-box__title { font-weight: 700; font-size: 16px; color: inherit; text-decoration: none; }
.amd-discuss-box__title::after { content: ""; position: absolute; inset: 0; }
.amd-discuss-box__meta a.discuss-user { position: relative; z-index: 1; color: inherit; text-decoration: none; font-weight: 600; }
.amd-discuss-box__meta a.discuss-user:hover { color: var(--tt-accent, #c50725); }
.amd-discuss-box__meta { color: var(--tt-2, #8b909a); font-size: 12px; }
.amd-discuss-box__replies { display: flex; gap: 7px; align-items: center; justify-content: center; color: var(--tt-2, #8b909a); font-size: 14px; white-space: nowrap; }
.amd-discuss-box__replies .ico { display: flex; }
.amd-discuss-box__replies svg { width: 20px; height: 20px; display: block; }
.amd-discuss-box__score { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 30px; font-size: 18px; color: var(--tt-2, #8b909a); }
.amd-discuss-box__score b { line-height: 1.4; font-weight: 600; font-size: 18px; color: var(--tt-2, #8b909a); }
.amd-discuss-box__score b.is-plus { color: #398063; }
.amd-discuss-box__score b.is-minus { color: #c4002f; }
.amd-discuss-box__chev { display: flex; align-items: center; justify-content: center; padding: 2px 6px; line-height: 1; }
.amd-discuss-box__chev svg { width: 14px; height: 14px; display: block; }
.amd-discuss-box__empty { padding: 18px; color: var(--tt-2, #888); }
.amd-discuss-box__foot { color: var(--tt-2, #8b909a); font-size: 14px; }
.amd-discuss-box__create {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: #b4233c;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
body.dt-is-active .amd-discuss-box__create { background: var(--tt-accent, #29b7d8); color: #fff !important; }



.amd-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}
.amd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}
.amd-tags a  {
    text-decoration: none;
    cursor: pointer;
    background: var(--fltx);
    padding: 0 8px;
    font-size: 14px;
    border-radius: 6px;
}

.amd-meta a {
  text-decoration: none;
  color: var(--tt-2);
  cursor: pointer;
}
.dot {
width: 8px;
    height: 8px;
    font-size: 14px;
    background-color: #6b7280;
    border-radius: 50%;
    margin: 4px 0px;
    vertical-align: middle;
}
.amd-tags a:hover{

}
.amd-meta a:hover {
  text-decoration: underline;
}
.amd-description {
    font-size: 17px;
    line-height: 1.3; 
    max-width: 100%;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--fltx);
    padding: 8px 10px;
    border-radius: 10px;
}

.amd-more {
color: var(--tt-accent);
    cursor: pointer;
    font-size: 15px;
    margin-top: -20px;
	text-align: right;
}

/* RATINGS */
.amd-ratings {
  margin-top: 10px;
}

/* В списках у пользователей — сегментированная шкала под рейтингом */
.amd-mylists-bar {

}
.amd-mylists-bar__title {
font-size: 13px;
    font-weight: 500;
    color: var(--tt-2);
    margin: 0 0 4px 0;
}
.amd-mylists-bar__track {
  display: flex;
  width: 100%;
  height: 16px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-2, #f3f4f6);
  gap: 2px;
  padding: 2px;
  box-sizing: border-box;
}
.amd-mylists-bar__segment {
  flex: 1 1 0;
  min-width: 4px;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.amd-mylists-bar__segment:hover {
  opacity: 0.9;
}
.amd-mylists-bar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--tt-2, #6b7280);
}
.amd-mylists-bar__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.amd-mylists-bar__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.amd-mylists-bar__legend-item strong {
  color: var(--tt, #1f2937);
  font-weight: 600;
}

.amd-rate {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.amd-rate-title {
  font-size: 12px;
  color: #6b7280;
}

.amd-rate-value {
  font-size: 16px;
  font-weight: 600;
}

.amd-rate-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.amd-rate-bar span {
  display: block;
  height: 100%;
  background: #6366f1;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .amd-card { grid-template-columns: 1fr; gap: 20px; }
  .amd-left { flex-direction: column; gap: 12px; align-items: center; }
  .amd-poster img {  }
  .amd-next, .amd-button { width: 100%; padding: 10px; font-size: 14px; }
  .amd-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .amd-title { font-size: 24px; }
  .amd-score { font-size: 32px; }
}

.obv {
    text-align: center;
    color: #000000;
    font-size: 20px;
    background: #ffed45;
    margin-bottom: 20px;
    border-radius: 8px;
    line-height: 48px;
    padding: 0 13px;
}
.obv a {
        color: #fff;
    background: #fb0808;
    padding: 2px 10px;
    border-radius: 8px;
    margin-left: 20px;
}
.obv a:hover {
    
    background: #c80000;
 
}
.show-only-in-pwa { display: none !important; }
.from-pwa .show-only-in-pwa { display: block !important; }
.hide-when-pwa { display: block; }
.from-pwa .hide-when-pwa { display: none !important; }

.revli { margin-top: 20px; }
.revli--top { margin-top: 0; margin-bottom: 16px; }
.review-modal { position: fixed; inset: 0; z-index: 100060; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; }
.review-modal.is-open { opacity: 1; visibility: visible; }
.review-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); cursor: pointer; }
.review-modal__box { position: relative; background: var(--bg, #fff); color: var(--tt, #333); border-radius: 12px; padding: 24px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.review-modal__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: none; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--tt-2); }
.review-modal__close:hover { color: var(--tt); }
.review-modal__title { margin: 0 0 16px 0; font-size: 18px; font-weight: 600; }
.review-add-form .recc { margin-bottom: 12px; }
.review-add-form textarea { width: 100%; min-height: 200px; margin-bottom: 12px; }
.review-add-form select { margin-bottom: 12px; }
.review-add-form input[type="submit"] { margin-top: 8px; }

.review-ai-warning {
	margin: 0 0 18px;
	padding: 16px 18px;
	border: 2px solid #c50725;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(197, 7, 37, 0.14), rgba(197, 7, 37, 0.06));
	box-shadow: 0 8px 24px rgba(197, 7, 37, 0.12);
}

.review-ai-warning__title {
	display: block;
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	color: #c50725;
	letter-spacing: 0.02em;
}

.review-ai-warning__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	font-weight: 600;
	color: var(--tt, #222);
}

.review-ai-warning__text strong {
	font-weight: 800;
}

.review-ai-warning__ban {
	color: #c50725;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

body.dt-is-active .review-ai-warning {
	border-color: #ff5a72;
	background: linear-gradient(135deg, rgba(255, 90, 114, 0.22), rgba(255, 90, 114, 0.08));
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

body.dt-is-active .review-ai-warning__title,
body.dt-is-active .review-ai-warning__ban {
	color: #ff8a9a;
}

body.dt-is-active .review-ai-warning__text {
	color: var(--tt, #e8e8e8);
}
.srochno  {
  text-align: center;
    border-radius: 8px;
    margin-top: 30px;
    background: #0098f1;
    padding: 4px;
}

.srochno strong{
    font-weight: 700;
    background: #c60926;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
}
.srochno a {
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
    
}
.tg-sub-block {
  margin: 12px 0;
text-align: center;}


.srochno:hover {
    
    background: #2b6ba4;
 
}
.rev-nom {  
font-size: 12px;
    font-weight: bold;
    margin: 0 0 0 10px;
    color: #4d4d4d;
    background: #5eed00;
    padding: 2px 5px;
    line-height: 18px;
    border-radius: 4px;}
.revshap {
    width: 100%;
}
.revlink{ margin: 0 6px; font-size: 18px; }
.revlink.active { font-weight: 700; text-decoration: none; }
.goodlin{}
.badlin{}
.wendlin{}
.revfilt { text-align: center; margin: 30px 0; }
.reviews-pagination { margin-top: 20px; text-align: center; }
.reviews-pagination a { margin: 0 8px; }
.recc{margin-bottom:20px;}
.revzag {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    width: 100%;
    margin-top: 40px;
}
.revzag--title a {
    font-size: 1.1em;
    font-weight: 700;
}
.rev-avatar {
    margin-right: 10px;
}
 .revbatt  { 
 background: var(--bg1s);
    color: white;
    font-size: 16px;
    border-radius: 8px;
    text-align: center;
    padding: 6px;}
.recenzgood {
    background: #a6fcff40;
    border-radius: 8px;
    padding: 10px;
}
.recenznotgood{
    background: #ffa6ad40;
    border-radius: 8px;
    padding: 10px;
}
.recenzbitween{
    background: #97979740;
    border-radius: 8px;
    padding: 10px;
}
.spanser {
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
}
.spanser span {
    color: var(--tt-accent);
    opacity: 0.7;
}
.spanser i {
   font-size: 16px;
    font-weight: 400;
    font-style: normal;
}
.footer__soc .fab{
    font-size: 22px;
    color: #fff;
}
.footer__soc .fab:hover{

    color: #ccc;
}
.vseri {font-size: 16px;
       color: var(--tt);
    font-weight: 600;}
.animefilm {
    margin-bottom: 40px;
}
.animefilm1 {
    margin: 40px 0;
}
.animefilm2 {
    margin-bottom: 40px;
}
img[data-src] {opacity: 0; transition: opacity .3s;}
img.lazy-loaded {opacity: 1;}

.infocomm {
    background-color: var(--fltx);
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}
.infocomm a {
   color: var(--tt-accent);
}
.infocomm .fas{
    color: var(--bg1s);
    font-size: 22px;
    margin: 0 10px;
}
.header__menu .sub  ul { display: none;} 
.edit {
    margin-bottom: 20px;
    background-color: #fff82d;
    padding: 6px 20px;
    border-radius: 10px;
    color: #ff0000;
    text-align: center;
    font-size: 20px;
}
.mylists-tabs a {padding:5px 10px;}

/*-- РЎРљР РРџРў РЎР’РћР РђР§РР’РђРќРРЇ/Р РђР—Р’РћР РђР§РР’РђРќРРЇ  ------------------------------*/
.razvern { }
.slice-masked:before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 1;
    height: 100px;
    pointer-events: none;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), to(var(--bg-2)));
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, var(--bg-2) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--bg-2) 100%);
}
	.slice { z-index: 0; }

.slice { overflow:hidden;  position:relative;  -webkit-transition:height .2s;  -o-transition:height .2s;  transition:height .2s;  z-index: 0; }

.slice-btn {
padding: 5px 40px;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    margin: auto;
    font-size: 18px;
    margin-top: -30px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    background: var(--fltx);
 }
.slice-btn_tgd { margin-top: 10px; }
.global__right_all .slice-btn { margin-bottom: 35px; }

.ulpad {
    padding: 10px;
    
}
.sockn{
    position: absolute;
    right: 0;
}
.socseti   {    display: grid;
   
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-gap: 0 8px;
	    font-size: 20px;
    }
.socseti .fab { font-size:30px;
    margin: 5px 10px;}
.favorstar { 
    top: 5px;
    left: -30px;
    position: absolute;
}
.vysser {
    padding: 2px 5px;
    position: absolute;
    left: 6px;
    top: 6px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    color: var(--tt-accent);
    margin-left: 10px;
    background-color: var(--bg-2);
    border-radius: 5px;
}
.socdiscord	{background: #678ade;
    padding: 10px;
    border-radius: 10px;
	color: white;}
.soctelega	{background: #28a4e4;
    padding: 10px 20px;
    border-radius: 10px;
	color: white;} 
.socdiscord:hover	{
	opacity: 0.7;
	 transition: .2s;
	 color: white;
	 font-size: 22px;
}
.soctelega:hover	{
	opacity: 0.7;
	 transition: .2s;
	 color: white;
	 font-size: 22px;
}
	
/* DLE Friends v1.6 */
#no-friends { padding: 6px; border: 1px solid #C0D4DE; background-color: #F3F7F9; color: #507D98; margin: 10px 0; }

.delcom {color: var(--tt-accent);
    float: right;
}
.show_spoiler_main  {
    font-size: 14px;
    margin: 10px;
    color: #f80019;
    cursor: pointer;
}
.friends { margin-bottom: 10px; }
.friends ul, .prof-list { margin-top: 10px; }
.friends li { width: 100px; text-align: center; float: left; margin-right: 10px; }
.friends img { display: block; margin: 0 auto; width: 100px; height: 100px; }

.friends_table h3 { margin-bottom: 6px; font-size: 14px; line-height: 14px; font-weight: bold; }
.friends_table h3 a span { font-size: 12px; font-weight: normal; color: #6C838E; }
.friends_table h3 a span:hover { text-decoration: underline; }
.friends_table ul { list-style: none; margin: 0; padding: 0; }
.friends_table td { padding: 10px; border-bottom: 1px solid #EEE; font-size:12px; vertical-align: top; }
.friends_table .active { background-color: #F8F8F8; }
.contact_friends { width: 140px; }
.contact_friends a, .contact_friends span { display: block; padding: 6px; margin-bottom: 4px; line-height: 11px; }
.contact_friends a:hover { background-color: #DAE7ED; text-decoration: none; }

#allfriends .rcol { margin-top: 4px; }
#allfriends h2.lcol a { text-decoration: underline; }
#allfriends h2.lcol a:hover { text-decoration: none; }

#friends_feed { margin: 0 15px; }
#friends_feed table { width: 100%; border-collapse: collapse; border-spacing: 0; margin-bottom: 25px; }
#friends_feed td { vertical-align: top; text-align: left; }
#friends_feed td.f_avatar, #friends_feed td.f_author { border: 1px solid; border-color: #ACCCDA #E2EDF2 #E2EDF2; vertical-align: middle; background-color: #F4F8FA; }
#friends_feed td.f_avatar { width: 50px; border-spacing: 10px; padding: 2px; border-right-width: 0; }
#friends_feed td.f_avatar img { width: 50px; height: 50px; }
#friends_feed td.f_author { padding: 0 10px; border-left-width: 0; border-style: solid; font-size: 11px; }
#friends_feed td.f_author h3 { fonst-size: 14px; font-weight: bold; margin-bottom: 4px; }
#friends_feed td.f_story { padding: 15px 0; }
#friends_feed .f_cover { width: 104px; max-height: 104px; overflow: hidden; margin-right: 10px; float: left; border: 1px solid #E2EDF2; background-color: #F4F8FA; }
#friends_feed .f_cover img { width: 100px; padding: 2px; }
#friends_feed td.f_det { border-top: 1px solid #E2EDF2; padding: 5px 0; }

.feed_loader { padding: 10px; text-align: center; border-top: 1px solid #E2EDF2; color: #284B5A; margin-bottom: 20px; }
.f_active:hover { border-color: #ACCCDA; background-color: #F4F8FA; cursor: pointer; }
.player_blok {
    display: grid;
    gap: 0 20px;
    grid-template-columns: 260px minmax(0,1fr);
    grid-template-areas: "serii player ";
}
.pmovie__player {position: relative; margin-bottom: 20px;    grid-area: player;}
.posled_ser {
    grid-area: serii;
	max-height: 850px;
}
.pos_ser{
    grid-area: serii;
	max-height: 300px;        /* РїРѕР»РѕРІРёРЅР° РІС‹СЃРѕС‚С‹ СЌРєСЂР°РЅР° */
    overflow-y: auto;        /* РІРµСЂС‚РёРєР°Р»СЊРЅС‹Р№ СЃРєСЂРѕР»Р» */
    overflow-x: hidden;
	    margin-bottom: 20px;
}
.pos_ser::-webkit-scrollbar {
    width: 5px;
}
.pos_ser::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 4px;
}
.posled_ser--full { max-height: none; }
.posled_ser--full .pos_ser {
    max-height: none;
    overflow: hidden;
}
.posled_ser--full .pos_ser .ftop-itempl { margin-right: 0; }

.ftop-itempl {
    margin-bottom: 10px;
    background-color: var(--fltx);
    border-radius: 10px;
    width: 100%;
    margin-right: 2%;
    float: left;
}
.ftop-item__imgpl {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 5px;
    z-index: 5;
}
.ftop-item__titlepl {
    font: 15px 'GothamProRegular', sans-serif;
    line-height: 15px;
    margin-top: 6px;
    white-space: nowrap;
    height: 20px;
}
.animseripl span {
    font-size: 20px;
    font-weight: 700;
    color: var(--tt-accent);
    display: block;
    opacity: 0.6;
    line-height: 20px;
}
.animseripl {
    padding: 4px;
    text-align: center;
    color: #8e8e8e;
    font-size: 13px;
    line-height: 13px;
}
.zagser {text-align: center;
    margin: 20px 0;
    font-size: 18px;}
/* ---- Плеер: верхняя строка (серии, «Вы остановились», «Следующая») ---- */
.playlist-episode-last {
    padding: 2px;
    text-align: center;
    background: var(--bg1s1);
    color: #fff;
    font-size: 17px;
    margin: -8px 0 10px 0;
}

.episode-top-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #000;
    padding: 8px 10px;
    margin-top: -12px;
    margin-bottom: 4px;
    border-radius: 4px;
}

.episode-top-bar .episode-sort-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.episode-top-bar .episode-sort-btn {
  width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #1a1d23;
    color: #aaa;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.episode-top-bar .episode-sort-btn:hover {
    background: #3f90d6;
}

.episode-top-bar .episode-sort-btn i + i {
    margin-left: 4px;
}

/* «Вы остановились — N серия» в одной строке с кнопками */
.episode-top-bar .playlist-episode-last {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 15px;
    color: #fff;
    flex: 1;
    min-width: 0;
}

.episode-top-bar .playlist-episode-last a.playlist-next-ep {
   margin-left: 8px;
    width: 80px;
    height: 36px;
    border-radius: 10px;
    line-height: 22px;
    padding: 6px 10px;
    white-space: nowrap;
    font-size: 14px;
    text-decoration: none !important;
}

.episode-top-bar .playlist-episode-last a.playlist-next-ep:hover {
    background: #3f90d6;
}

/* Кнопка «Следующая» справа в верхней строке (перенесена из сетки серий) */
.episode-top-bar .sel-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 36px;
    min-width: 102px;
    width: auto;
    line-height: 36px;
    padding: 0 16px;
    border-radius: 10px;
    border: none;
    background: #ff3b3b;
    color: #fff !important;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.episode-top-bar .sel-next:hover {
    background: #3f90d6;
}

.amd-kodik-voices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: #000;
    padding: 8px 10px;
    margin: 0;
    line-height: 1;
    position: relative;
}

iframe.amd-kodik-iframe {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: #000;
    vertical-align: top;
}

.amd-kodik-voices__label {
    color: #888;
    font-size: 13px;
    margin-right: 4px;
}

.amd-kodik-voice {
    height: 32px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: #1a1d23;
    color: #ccc;
    cursor: pointer;
    font-size: 13px;
    line-height: 32px;
    transition: 0.2s;
}

.amd-kodik-voice:hover {
    background: #2a3140;
    color: #fff;
}

.amd-kodik-voice.is-active {
    background: #3f90d6;
    color: #fff;
}

/* Кнопка «Предыдущая» отключена */
.sel-prev {
    display: none !important;
}
.ftop-item {    margin-bottom: 20px;
    background-color: var(--fltx);
    border-radius: 10px;
    width: 49%;
    margin-right: 2%;
    float: left;}
.ftop-item:nth-child(even) {
    margin-right: 0;
}
.sectcomm
{
    margin-top: 60px;
}
@keyframes pmNew {
	from {background-color: #7ae026;box-shadow: 0 0 0 0 rgba(81, 175, 5,1);}
	to {background-color: #51af05; box-shadow: 0 0 0 10px rgba(81, 175, 5,0);}
}
@keyframes pmNew1 {
	from {background-color: #e02660;box-shadow: 0 0 0 0 rgb(175 5 5);}
	to {background-color: #e02660; box-shadow: 0 0 0 10px rgba(81, 175, 5,0);}
}
.amdcomm {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.last-reviews-block {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.last-review-item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto;
	gap: 15px;
	align-items: center;
	min-height: 126px;
	padding: 12px 14px;
	border: 1px solid var(--bdc);
	border-radius: 12px;
	background: var(--bg-2);
	overflow: hidden;
	transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}
.last-review-item:hover {
	border-color: var(--bg1s);
	background: color-mix(in srgb, var(--bg1s) 8%, var(--bg-2));
	transform: translateY(-2px);
}
.last-review-poster-wrap {
	display: block;
	width: 88px;
	height: 102px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--fltx);
	flex-shrink: 0;
}
.last-review-poster-wrap .last-review-poster,
.last-review-poster-wrap img.last-review-poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.last-review-poster-placeholder .last-review-poster {
	width: 100%;
	height: 100%;
	display: block;
	background: var(--bdc);
}
.last-review__copy {
	min-width: 0;
}
.last-review-title {
	display: block;
	margin: 0 0 7px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--tt);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.last-review-title:hover { color: var(--bg1s); }
a.last-review-text {
	text-decoration: none;
	color: var(--tt-2);
}
a.last-review-text:hover { color: var(--tt); }
.last-review-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--tt-2);
	word-wrap: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.last-review__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 10px;
	min-width: 0;
}
.last-review-avatar,
.last-review-item .last-review-avatar {
	width: 27px;
	height: 27px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}
.last-review-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.last-review__author-copy {
	min-width: 0;
	flex: 0 1 auto;
}
.last-review-nick {
	display: block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--tt);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 140px;
}
.last-review-nick a {
	color: inherit;
	text-decoration: none;
}
.last-review-nick a:hover { color: var(--bg1s); }
.last-review__tag {
	display: inline-block;
	max-width: 160px;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--fltx);
	color: var(--tt-2);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex-shrink: 1;
	min-width: 0;
}
.last-review__tag:hover { color: var(--bg1s); }
.last-review__arrow {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	color: var(--tt-2);
	background: var(--fltx);
	text-decoration: none;
	font-size: 18px;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.last-review-item:hover .last-review__arrow {
	background: var(--bg1s);
	color: #fff;
	transform: translateX(2px);
}
@media (max-width: 860px) {
	.last-reviews-block { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	.last-review-item {
		grid-template-columns: 72px minmax(0, 1fr);
		min-height: 0;
		padding: 10px 12px;
	}
	.last-review-poster-wrap {
		width: 72px;
		height: 94px;
	}
	.last-review__arrow { display: none; }
	.last-review__tag { max-width: 120px; }
}
.page__reviews-block { margin-top: 1.5rem; }
.page__reviews-block__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.page__reviews-block__left { order: 1; }
.page__reviews-block__title { margin: 0; order: 2; flex: 1; text-align: center; }
.page__reviews-block__right { order: 3; }
.page__reviews-write-btn { display: inline-block; padding: 0.4em 0.9em; font-weight: 500; background: var(--bg1s); color: #fff; border: none; border-radius: 6px; text-decoration: none; }
.page__reviews-write-btn:hover { background-color: var(--bg-btn-hover); }
.page__reviews-block .last-reviews-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media screen and (max-width: 860px) {
	.page__reviews-block .last-reviews-list { grid-template-columns: 1fr; }
}
.page__reviews-block__right .last-reviews-read-all { display: inline-block; padding: 0.4em 0.9em; font-weight: 500; background: var(--bg1s); color: #fff; border-radius: 6px; text-decoration: none; }
.page__reviews-block__right .last-reviews-read-all:hover { background-color: var(--bg-btn-hover); }
.last-reviews-read-all { font-weight: 500; text-decoration: none; color: inherit; }
.last-reviews-read-all:hover { text-decoration: underline; }
.comment-item__img-wrap { display: block; text-decoration: none; }
.last-reviews-empty { margin: 0; color: var(--muted-color, #9ca3af); }
.reviews-page-title {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 700;
	color: var(--tt);
}
.reviews-list-page .revfilt { margin: 0 0 16px; }
.reviews-more-wrap { margin: 20px 0 8px; text-align: center; }
.reviews-more-btn {
	display: inline-block;
	min-width: 140px;
	padding: 8px 22px;
	border: none;
	border-radius: 8px;
	background: var(--bg1s);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.reviews-more-btn:hover { background-color: var(--bg-btn-hover, var(--bg1s)); }
.reviews-more-btn[data-pending="1"] { opacity: .7; pointer-events: none; }
.review-single {
	position: relative;
	padding: 18px 20px 22px;
	border: 1px solid var(--bdc);
	border-radius: 12px;
	background: var(--bg-2);
}
.review-single__head {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: start;
	margin-bottom: 16px;
}
.review-single__head-copy { min-width: 0; }
.review-single__title {
	margin: 10px 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--tt);
}
.review-single__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}
.review-single__date {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--tt-2);
}
.review-single__rating {
	flex-shrink: 0;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 10px;
}
.review-single__rating a { text-decoration: none; }
.review-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.review-single__tags .last-review__tag {
	max-width: 100%;
}
.last-review-item--author {
	grid-template-columns: auto minmax(0, 1fr) auto;
}
.last-review-author-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 88px;
	flex-shrink: 0;
}
.last-review-avatar-lg {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--fltx);
	flex-shrink: 0;
}
.last-review-avatar-lg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.last-review-nick--under {
	max-width: 88px;
	text-align: center;
	font-size: 11px;
}
.profile-reviews-block {
	margin-top: 0;
	margin-bottom: 1.5rem;
}
.profile-reviews-block .page__reviews-block__head {
	justify-content: space-between;
}
.profile-reviews-block .page__reviews-block__title {
	text-align: left;
	flex: 1;
}
.profile-reviews-block .last-reviews-list {
	grid-template-columns: 1fr;
}
@media (max-width: 620px) {
	.last-review-author-col {
		width: 64px;
	}
	.last-review-avatar-lg {
		width: 56px;
		height: 56px;
	}
	.last-review-nick--under { max-width: 64px; }
}
.review-single__text {
	font-size: 15px;
	line-height: 1.7;
	color: var(--tt);
	word-wrap: break-word;
}
@media (max-width: 620px) {
	.review-single__head {
		grid-template-columns: 72px minmax(0, 1fr);
	}
	.review-single__rating {
		grid-column: 1 / -1;
	}
	.review-single__title { font-size: 18px; }
}
.uved{
    position: absolute;
    bottom: 20px;
    font-size: 11px;
    background: var(--bg1s);
    display: block;
    padding: 0 5px;
    color: white;
    border-radius: 4px;
    font-weight: 600;
}
.otvetcomm {
    
    padding: 10px;
    border-radius: 10px;
    max-height: 96px;
    overflow: hidden;
}
.alert_module{
	position:relative;
	z-index:9999;
	max-width:350px;
	color:#212121;
}
.alert_module-icon{
width: 35px;
    height: 35px;
    position: relative;
    font-size: 18px;
    float: right;
    display: grid;
    place-items: center;
    margin-left: 10px;
    background: #a1a1a13d;
    color: var(--tt-3);
    border-radius: 50%;
}
.alert_module-icon:hover {
    color: #a1a1a196;
}
.alert_list-text a{
    color: var(--tt-accent);
    font-size: 15px;
}
.alert_module-title{
	    color: var(--tt);
    padding: 14px;
    border-bottom: 2px var(--hov) solid;
}
.alert_module-title i{
	font-style:normal;
	font-weight:600;
}
.alert_list {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 100%;
    max-width: 450px;
    background: var(--bg-2);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 80px;
    max-height: 400px;
    box-shadow: 0px 0px 10px #dbdbdb;
    overflow-y: auto;
    display: none;
	z-index: 999;
}
	.alert_list-item{
		    padding: 10px;
			    color: var(--tt);
    display: flex;
    position: relative;
    text-decoration: none;
    transition: background 0.3s;
    cursor: pointer;
    background: var(--fltx);
    border-radius: 10px;
    margin: 10px 6px;
	}
		.alert_list-item:hover{
			background:var(--hov);
			text-decoration:none;
		}
	.alert_list-item--global{
		border: 1px solid rgba(245, 158, 11, 0.62);
		background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(59, 130, 246, 0.12)), var(--fltx);
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16), inset 4px 0 0 #f59e0b;
	}
	.alert_list-item--global:hover{
		background: linear-gradient(135deg, rgba(245, 158, 11, 0.26), rgba(59, 130, 246, 0.18)), var(--hov);
	}
	.alert_list-item--clan{
		border: 1px solid rgba(45, 212, 191, 0.48);
		background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(56, 189, 248, 0.12)), var(--fltx);
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16), inset 4px 0 0 #2dd4bf;
	}
	.alert_list-item--clan:hover{
		background: linear-gradient(135deg, rgba(45, 212, 191, 0.26), rgba(56, 189, 248, 0.18)), var(--hov);
	}
	.alert_list-item--strike{
		border: 1px solid rgba(225, 29, 72, 0.55);
		background: linear-gradient(135deg, rgba(225, 29, 72, 0.16), rgba(225, 29, 72, 0.06)), var(--fltx);
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16), inset 4px 0 0 #e11d48;
		color: var(--tt);
	}
	.alert_list-item--strike:hover{
		background: linear-gradient(135deg, rgba(225, 29, 72, 0.32), rgba(127, 29, 29, 0.18)), var(--hov);
	}
	.alert-strike-label{
		display: inline-flex;
		align-items: center;
		margin-bottom: 6px;
		padding: 3px 8px;
		border-radius: 999px;
		background: #e11d48;
		color: #fff;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: .02em;
		text-transform: uppercase;
	}
	.alert-clan-label{
		display: inline-flex;
		align-items: center;
		margin-bottom: 6px;
		padding: 3px 8px;
		border-radius: 999px;
		background: #2dd4bf;
		color: #042f2e;
		font-size: 11px;
		font-weight: 800;
		letter-spacing: .02em;
		text-transform: uppercase;
	}
	.alert-clan-title{
		display: block;
		margin-bottom: 4px;
		color: #5eead4;
		font-size: 15px;
	}
	.alert-clan-title a{
		color: inherit;
		text-decoration: none;
	}
	.alert-clan-title a:hover{
		text-decoration: underline;
	}
	.alert-clan-subject{
		margin: 0 0 6px;
		color: var(--tt);
		font-size: 14px;
		font-weight: 700;
		white-space: pre-wrap;
		word-break: break-word;
	}
	.alert_list-item--clan .otvetcomm{
		max-height: none;
		overflow: visible;
		white-space: pre-wrap;
		word-break: break-word;
	}
	.alert-global-label{
		display: inline-flex;
		align-items: center;
		margin-bottom: 6px;
		padding: 3px 8px;
		border-radius: 999px;
		background: #f59e0b;
		color: #111827;
		font-size: 11px;
		font-weight: 800;
		letter-spacing: .02em;
		text-transform: uppercase;
	}
	.alert-global-title{
		display: block;
		margin-bottom: 4px;
		color: var(--tt);
		font-size: 15px;
	}
	.alert_list-text{
		width:100%;
	}
	.alert_list-image{
		width:30%;
		height:80px;
		overflow:hidden;
	}
	.alert_list-image img{
		width:100% !important;
		height:auto;
	}
	.alert_list-date{
		display: block;
    font-size: 12px;
    margin: 10px 0 -7px 0;
    color: #6e6e6e;
	}
	.alert_list-item--active::before
	{
		    content: " ";
    display: block;
    width: 12px;
	animation: pmNew1 1s infinite linear;
    animation-direction: alternate;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    top: -5px;
    right: 0;
    position: absolute;
	}
	.alert_module-icon--active:before{
		content: " ";
		animation: pmNew 1s infinite linear;
    animation-direction: alternate;
    display: block;
    width: 5px;
    height: 5px;
    background: #68e300;
    border-radius: 5px;
    top: 15px;
    left: 5px;
    position: absolute;
	}
	.alert_module-icon--active:before{
		top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    left: unset;
	}
	.alert_list-item-remove {
    color: var(--bg1s);
    position: absolute;
    bottom: 2px;
    right: 10px;
}

/* Toast уведомления */
.amd-toast-container {
	position: fixed;
	top: 16px;
	right: 16px;
	left: auto;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	pointer-events: none;
	max-width: 380px;
	width: calc(100vw - 32px);
	box-sizing: border-box;
}
.amd-toast {
	pointer-events: auto;
	background: var(--bg-2, #fff);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.18);
	padding: 14px 16px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	animation: amdToastIn .35s ease-out;
	transition: opacity .3s, transform .3s;
	border-left: 4px solid #3b82f6;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	word-break: break-word;
}
.amd-toast--global {
	border-left-color: #f59e0b;
}
.amd-toast--hiding {
	opacity: 0;
	transform: translateX(100%);
}
.amd-toast__icon {
	font-size: 20px;
	color: #3b82f6;
	flex-shrink: 0;
	margin-top: 2px;
}
.amd-toast--global .amd-toast__icon {
	color: #f59e0b;
}
.amd-toast__body {
	flex: 1;
	min-width: 0;
}
.amd-toast__title {
	font-weight: 700;
	font-size: 13px;
	color: var(--tt, #111);
	margin-bottom: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.amd-toast__text {
	font-size: 13px;
	color: var(--tt-2, #555);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.amd-toast--clan .amd-toast__text {
	display: block;
	-webkit-line-clamp: unset;
	max-height: none;
	overflow: visible;
	white-space: pre-wrap;
	word-break: break-word;
}
.amd-toast__close {
	background: none;
	border: none;
	color: var(--tt-3, #999);
	font-size: 18px;
	cursor: pointer;
	padding: 0 2px;
	line-height: 1;
	flex-shrink: 0;
}
	.alert-pm-link{
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 22px;
		height: 22px;
		margin-left: 4px;
		vertical-align: middle;
		border-radius: 50%;
		color: var(--tt-accent, #3b82f6);
		text-decoration: none !important;
		background: rgba(59, 130, 246, 0.12);
	}
	.alert-pm-link:hover{
		background: rgba(59, 130, 246, 0.22);
		color: var(--tt-accent, #3b82f6);
		text-decoration: none !important;
	}
	.alert-pm-link i{
		font-size: 12px;
		line-height: 1;
	}
	.amd-toast__user{
		color: inherit;
		text-decoration: none;
	}
	.amd-toast__user:hover{
		text-decoration: underline;
	}
	.amd-toast .alert-pm-link{
		margin-left: 0;
	}
@keyframes amdToastIn {
	from { opacity: 0; transform: translateX(80px); }
	to   { opacity: 1; transform: translateX(0); }
}
@media (max-width: 640px) {
	.amd-toast-container {
		left: 8px !important;
		right: 8px !important;
		width: auto !important;
		max-width: none !important;
	}
}
 .commenty{
    float: left;
}
.rank{
text-align: center;
    padding: 5px 2px;

}
.comment-item__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	gap: 4px 6px;
	min-width: 0;
}
.comment-item__meta .group-icon {
	float: none;
	flex-shrink: 0;
}
.comment-item__meta:has(.comm-authorpremium) .group-icon {
	display: none !important;
}
.comment-item__meta .comm-authorpremium {
	display: inline-flex;
	align-items: center;
	margin-left: 0 !important;
	margin-bottom: 0;
	vertical-align: middle;
}
.comment-item__meta .comm-authorpremium .rank-tip-anchor {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 0;
}
.comm-count-row {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	vertical-align: middle;
}
.comment-item__meta .comm-nom {
	margin-left: 0;
}
.comment-item__meta .rank {
	display: flex;
	align-items: center;
	padding: 0;
	margin: 0;
	line-height: 0;
	flex: 0 0 auto;
	text-align: left;
}
.comment-item__meta .rank img {
	height: 22px;
	width: auto;
	display: block;
}
.comm-authorvip a {
    color: #ffffff;
    background: #ff3b00;
	background: linear-gradient(#7e00ff, #e90000);
    padding: 5px 6px;
    border-radius: 5px 3px;
}
.comm-authorguru a {
    color: #ffffff;
    background: #f50066;
    padding: 2px 3px;
    border-radius: 5px 3px;
}

.comm-authorlord a {
    color: #ffffff;
    background: #d600f5;
    background: linear-gradient(#ff0000, #a100e9);
    padding: 4px 4px;
    border-radius: 5px 3px;
}
.comm-authorlord a:hover {
    color: #ccc;
 
}

.comm-authorpremium a {
color: #fedd80;
    font-size: 15px;
    padding: 3px 11px 3px 0;
   
}
.comm-authorpremium a:hover {
    color: #ccc;
 
}

.comm-authorgl a {
    color: #ffffff;
    background: #05ba13;
    padding: 2px 3px;
    border-radius: 5px 3px;
}
.comm-authorvet a {
color: #00807a;
    padding: 2px 3px;
    border-radius: 5px 3px;
}
.comm-id, .comm-author, .comm-authorvip, .comm-nom, .rev-nom,.comm-authorguru, .comm-authorlord, .comm-authorpremium, .comm-date,  .comm-authorvet,  .comm-authorgl  { color:#888; font-size:10px; display:inline-block;}
.comm-author, .comm-authorvip,   .comm-authorguru,  .comm-authorlord, .comm-authorvet,  .comm-authorgl  
{font-size:12px; font-weight:bold; margin: 0; color:#f34f00;}

 .comm-authorpremium {background: linear-gradient(139deg, #235a95 0%, #000000 100%);
    border-radius: 12px;
    outline: 1px solid #fedd80;
    outline-offset: -3px;
    box-shadow: 0 0 0 2px #fedd80;
	display: inline-flex;
	align-items: center;
	margin-left: 0 !important;
	line-height: 22px;
    margin-bottom: 0;}
 .comm-authorpremium img {
	padding: 0;
	margin: 0 6px 0 8px;
	height: 12px;
	width: auto;
	display: block;
	flex-shrink: 0;
}
 
 
.comm-author a {color:#f34f00;}
.comm-nom {  
font-size: 12px;
    font-weight: bold;
    margin: 0;
    color: #4d4d4d;
    background: #f3d500;
    padding: 2px 5px;
    line-height: 18px;
    border-radius: 4px;}
 .rank img {   
    height: 30px;
}
.group-icon{    float: left;
		width: 25px;
    height: 25px;
 } 

.num{
background: #d83948;
    width: 25px;
    color: white;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    position: relative;
    top: 15px;
    left: -10px;
	
}
.comm-group-mark {padding:3px; text-align:center; font-size:10px; font-weight:normal !important; margin-top:5px;
background-color:#ffffff; color:#444; overflow:hidden;}
.comm-admin {background-color:#d60505; color:#fff;border-radius: 6px;}
.comm-admin span, .comm-jour span {color:#fff !important;}
.comm-jour {background-color:#1ca101; color:#fff;border-radius: 6px;}
.comm-user {background-color:#f34f00; color:#fff;border-radius: 6px;}
.comm-post {background-color:#3f90d6; color:#fff;border-radius: 6px;}
.comm-mest {background-color:#da005b; color:#fff;border-radius: 6px;}
.comm-gl {background-color:#05ba13; color:#fff;border-radius: 6px;}
.comm-vet {background-color:#00aca4; color:#fff;border-radius: 6px;}
.comm-vip {
    color: #000;
    background-color: #fff476;
    font-size: 14px;
    font-weight: 600 !important;
    padding: 5px;
    border-radius: 6px;
    background: url(../images/vip.png) no-repeat;
}
.comm-guru {
    color: #000;
    background-color: #ffeb00;
    font-size: 12px;
    font-weight: 600 !important;
    border-radius: 6px;
   
}

.comm-lord {
    color: #fff;
    background-color: #bb00a6;
    font-size: 14px;
    background: linear-gradient(#ff0000, #a100e9);
    font-weight: 600 !important;
    border-radius: 6px;
    padding: 4px;
}
.comm-premium {
color: #fedd80;
    font-size: 12px;
    background: linear-gradient(139deg, #235a95 0%, #000000 100%);
    font-weight: 600 !important;
    border-radius: 16px;
    padding: 4px 0 2px 0;
    outline: 1px solid #fedd80;
    outline-offset: -3px;
    box-shadow: 0 0 0 2px #fedd80;
    text-transform: uppercase;
	margin-top: 7px;
}
.amd-supporter {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	height: 22px;
	box-sizing: border-box;
	margin-left: 6px;
	padding: 0 8px 0 5px;
	border-radius: 16px;
	color: #fedd80;
	background: linear-gradient(139deg, #235a95 0%, #000000 100%);
	outline: 1px solid #fedd80;
	outline-offset: -2px;
	box-shadow: 0 0 0 1px #fedd80;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
	white-space: nowrap;
	cursor: default;
	z-index: 2;
}
.amd-supporter img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	display: block;
}
.amd-supporter__tip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%) translateY(6px);
	min-width: 168px;
	max-width: 240px;
	padding: 10px 12px 11px;
	border-radius: 12px;
	background: linear-gradient(180deg, #1c1c28 0%, #12121a 100%);
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 12px 32px rgba(0,0,0,.45);
	color: #f0f0f5;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 80;
}
.amd-supporter__tip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top-color: #12121a;
}
.amd-supporter__tip-title {
	display: block;
	margin-bottom: 3px;
	color: #e8c547;
	font-size: 13px;
	font-weight: 700;
}
.amd-supporter__tip-text {
	display: block;
	color: #d4d4de;
	font-weight: 500;
}
@media (hover: hover) and (pointer: fine) {
	.amd-supporter:hover .amd-supporter__tip,
	.amd-supporter:focus-visible .amd-supporter__tip {
		opacity: 1;
		visibility: visible;
		transform: translateX(-50%) translateY(0);
	}
}
@media (max-width: 767px), (hover: none) {
	.amd-supporter:hover .amd-supporter__tip,
	.amd-supporter:focus-visible .amd-supporter__tip {
		opacity: 0;
		visibility: hidden;
		transform: translateX(-50%) translateY(6px);
	}
	.amd-supporter.is-open .amd-supporter__tip {
		opacity: 1;
		visibility: visible;
	}
}
#am-wide-fund { font-family: Arial, sans-serif; width: 1340px; max-width: 100%; margin: 20px auto 0; }
#am-wide-fund * { box-sizing: border-box; }
#am-wide-fund .banner { width: 1340px; max-width: 100%; height: 340px; padding: 28px 32px; color: #edf1f6; background: radial-gradient(ellipse at 100% 0, #3b3020, transparent 60%), #10151e; border: 1px solid #665338; border-radius: 20px; display: grid; grid-template-columns: 1fr 300px; gap: 34px; overflow: hidden; }
#am-wide-fund .top { display: flex; align-items: center; gap: 18px; margin-bottom: 17px; }
#am-wide-fund .premium { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #f5d17a; box-shadow: 0 0 0 2px #36546e, inset 0 0 0 2px #36546e; border-radius: 24px; background: linear-gradient(139deg, #235a95 0%, #000 100%); color: #ffdb80; font-size: 16px; font-weight: 700; padding: 5px 12px; letter-spacing: .5px; }
#am-wide-fund .premium img, #am-wide-fund .badge img { width: 16px; height: 16px; display: block; object-fit: contain; }
#am-wide-fund .tag { color: #c7b488; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
#am-wide-fund h2 { font-size: 32px; letter-spacing: -.7px; line-height: 1.15; margin: 0 0 10px; font-weight: 800; color: #fff; }
#am-wide-fund h2 span { color: #ffdc8b; }
#am-wide-fund p { font-size: 14px; color: #bac3d1; line-height: 1.55; margin: 0; }
#am-wide-fund .notice { margin-top: 10px; color: #aeb9c9; font-size: 12px; line-height: 1.5; }
#am-wide-fund .notice strong { color: #e5c990; }
#am-wide-fund .meter-head { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 10px; }
#am-wide-fund .number { font-size: 29px; font-weight: 800; color: #f9e1a7; }
#am-wide-fund .muted { font-size: 13px; color: #aab7c8; }
#am-wide-fund .percent { margin-left: auto; font-size: 14px; color: #f4d38c; }
#am-wide-fund .am-fund-next-wrap { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; align-self: center; }
#am-wide-fund .am-fund-next-label { font-size: 12px; line-height: 1.25; color: #c7b488; text-align: right; max-width: 130px; }
#am-wide-fund .am-fund-next { margin-left: 0; align-self: center; }
#am-wide-fund .am-fund-next-wrap + .percent { margin-left: 12px; }
#am-wide-fund .track { height: 13px; background: #2c303b; border-radius: 20px; }
#am-wide-fund .fill { width: 0; height: 100%; border-radius: 20px; background: linear-gradient(90deg, #bb8b3e, #ffe7a5); }
#am-wide-fund .caption { font-size: 11px; color: #9fadc1; margin-top: 10px; }
#am-wide-fund .right { border-left: 1px solid #4b4234; padding-left: 28px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
#am-wide-fund .annual { font-size: 13px; color: #e3d7be; margin-bottom: 8px; }
#am-wide-fund .old { display: flex; gap: 10px; align-items: center; color: #a9aeba; font-size: 15px; }
#am-wide-fund .sale { font-size: 11px; color: #1a1408; background: #ffdc8b; padding: 4px 7px; border-radius: 5px; font-weight: 700; }
#am-wide-fund .price { font-size: 42px; letter-spacing: -1px; font-weight: 800; color: #fff; margin: 3px 0 12px; }
#am-wide-fund .gift { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
#am-wide-fund .badge { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #f4d382; box-shadow: 0 0 0 2px #36546e; border-radius: 22px; background: linear-gradient(139deg, #235a95 0%, #000 100%); color: #ffde8b; font-size: 16px; font-weight: 800; padding: 4px 10px 4px 6px; }
#am-wide-fund .gift-text { font-size: 11px; line-height: 1.5; color: #c3c9d2; }
#am-wide-fund .buy { width: 100%; border: 0; border-radius: 9px; padding: 14px 10px; background: linear-gradient(110deg, #ffe5a0, #eabd64); color: #251c0c; font: bold 14px Arial; display: flex; gap: 9px; justify-content: center; align-items: center; text-decoration: none; }
#am-wide-fund .saving { text-align: center; font-size: 11px; color: #b8b5ab; margin-top: 9px; }
#am-wide-fund .am-fund-desc-check { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#am-wide-fund .am-fund-desc-link { display: none; }
#am-wide-fund .am-fund-copy { display: block; }
@media (max-width: 800px) {
	#am-wide-fund .banner { height: auto; grid-template-columns: 1fr; gap: 16px; padding: 18px 16px; overflow: visible; }
	#am-wide-fund .right { border-left: 0; border-top: 1px solid #4b4234; padding-left: 0; padding-top: 16px; }
	#am-wide-fund .am-fund-desc-link { display: inline-block; margin: 2px 0 0; color: #e5c990; font-size: 14px; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
	#am-wide-fund .am-fund-copy { display: none; }
	#am-wide-fund .am-fund-desc-check:checked ~ .am-fund-copy { display: block; margin-top: 8px; }
}
 .video-inside iframe, .video-inside frame, .plcdn {
    height: 500px;
	border-radius: 0 10px 0 0;
	background: black;
}

.zakl {
    background: black;
    margin-top: -8px;
    padding-top: 1px;
 
}
.ac-navigation {
	display: flex;
	clear: both;
	width: 100%;
	flex: 1 0 100%;
	flex-wrap: wrap;
	padding-top: 30px;
	font-size: 14px;
	line-height: 30px;
	margin-right: -8px;
	justify-content: center;
}
	.ac-navigation > span,
	.ac-navigation > a {
		box-sizing: border-box;
		padding: 0 10px;
		margin: 5px 15px 0 0;
		border-radius: 4px;
		min-width: 36px;
		color: #123;
		border: 1px solid #e0e0e0;
		background-color: #fff;
		text-align: center;
		transition: .2s;
	}
	.ac-navigation > a:hover,
	.ac-navigation > span {
		background-color: var(--bg1s);
		color: #fff;
		border-color: transparent;
	}
	.ac-navigation a.disabled {
		cursor: default;
		opacity: .2;
	}
	.ac-navigation > span {
		cursor: default;
	}
	.ac-navigation span.nav_ext {
		background: transparent;
		color: #aaa;
	} 


.dlevideoplayer ul[data-theme] {
	display: none;
}

.buttttons {
  display: table;
  height: 100%;
  width: 100%;
}

.kontaiher {
    text-align: center;
    vertical-align: middle;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 260px;
    -webkit-overflow-scrolling: touch;
    background: black;
    padding: 20px 10px;
    margin-top: -10px;
    border-radius: 0 0 10px 10px;
}
 

.BatcoH {
    color: white !important;
    cursor: pointer;
    background: #ae0821;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    margin: 4px 2px;
    max-width: 90px;
    position: relative;
    text-decoration: none !important;
    vertical-align: middle;
    width: 100%;
    
}
@media (min-width: 400px) {
  .BatcoH {
    display: inline-block;
    margin-right: 0.4em;
  }
  .BatcoH:nth-of-type(even) {
    margin-right: 0.4em;
  }
}
@media (min-width: 600px) {
  .BatcoH:nth-of-type(even) {
    margin-right: 0.5em;
  }
  .BatcoH:nth-of-type(5) {
    margin-right: 0.5em;
  }
}
.BatcoH:hover {
  text-decoration: none !important;
}
 
.BatcoH-dub {
  color: red;
  cursor: pointer;
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 45px;
  margin: 0 auto 0.5em;
  max-width: 200px;
  position: relative;
  text-decoration: none;
  vertical-align: middle;
  width: 100%;
}
@media (min-width: 400px) {
  .BatcoH-dub {
    display: inline-block;
    margin-right: 0.4em;
  }
  .BatcoH-dub:nth-of-type(even) {
    margin-right: 0.4em;
  }
}
@media (min-width: 600px) {
  .BatcoH-dub:nth-of-type(even) {
    margin-right: 0.5em;
  }
  .BatcoH-dub:nth-of-type(5) {
    margin-right: 0.5em;
  }
}
.BatcoH-dub:hover {
  text-decoration: none;
}

.BatcoH-prevnext {
    color: white;
    cursor: pointer;
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin: 0 auto 0.5em;
    position: relative;
    text-decoration: none;
    vertical-align: middle;
    width: 110px;
}
@media (min-width: 400px) {
  .BatcoH-prevnext {
    display: inline-block;
    margin-right: 0.5em;
  }
  .BatcoH-prevnext:nth-of-type(even) {
    margin-right: 0.1em;
  }
}
@media (min-width: 600px) {
  .BatcoH-prevnext:nth-of-type(even) {
    margin-right: 0.5em;
  }
  .BatcoH-prevnext:nth-of-type(5) {
    margin-right: 0.5em;
  }
}
.BatcoH-prevnext:hover {
  text-decoration: none;
}

.BatcoH-4 {
    background: var(--bg1s1);
    border-radius: 5px;
}
.BatcoH-4:after {
  background: #3f90d6;

}

.BatcoH-4:hover:after {

}
 .sel-active{

    background: #ff3b3b  !important; 
 
}
.BatcoH-5 {
   height: 45px;
    width: 45px;
    font-size: 14px;
    line-height: 46px;
    border-radius: 10px;
    border: none;
    background: #1a1d23;
    color: #bbb !important;
    cursor: pointer;
    transition: 0.2s;
}
.BatcoH-5 a {
  color: white !important;
  text-decoration: none;
}

.BatcoH-5:hover {
background: #2a2f38;
    color: #fff!important;
}

.BatcoH-5:active {
background: #2a2f38;
}
.BatcoH-5 .ep-q {
	display: none !important;
}
.amedia-eps .BatcoH-5 .ep-q {
	display: block !important;
}
.BatcoH-6 {
    text-align: center;
background: #125794;
    color: white !important;
	text-decoration: none !important;
}
.BatcoH-6:first-child{

background: #3f90d6;

}
.BatcoH-6 a {
  color: white !important;
  text-decoration: none;
}

.BatcoH-6:hover {
background: #3f90d6;
}

.playlist-episodes {
overflow: hidden;
    max-height: 260px;
    overflow-y: auto;
    text-align: center;
    padding: 10px 0;
    background: #000000;
}


.tabs {
font-size: 0;
}

.tabs>input[type="radio"] {
display: none;
}

.tabs>div {
/* СЃРєСЂС‹С‚СЊ РєРѕРЅС‚РµРЅС‚ РїРѕ СѓРјРѕР»С‡Р°РЅРёСЋ */
display: none;
margin-top: 6px;
 border: 2px solid var(--bg-lightest);
padding: 10px 5px;
font-size: 16px;
}

/* РѕС‚РѕР±СЂР°Р·РёС‚СЊ РєРѕРЅС‚РµРЅС‚, СЃРІСЏР·Р°РЅРЅС‹Р№ СЃ РІР°Р±СЂР°РЅРЅРѕР№ СЂР°РґРёРѕРєРЅРѕРїРєРѕР№ (input type="radio") */
#tab-btn-1:checked~#content-1,
#tab-btn-2:checked~#content-2,
#tab-btn-3:checked~#content-3, 
#tab-btn-4:checked~#content-4, 
#tab-btn-5:checked~#content-5,
#tab-btn-6:checked~#content-6,
#tab-btn-7:checked~#content-7
{
display: block;
}

.tabs>label {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    width: 14.2%;
    background-color: var(--fltx);
    border: 2px solid var(--bg);
    padding: 20px 5px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    top: 1px;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 10px;
}



.tabs>input[type="radio"]:checked+label {
background-color: var(--bodd);

}


/* СЃРєСЂС‹РІР°РµРј С‡РµРєР±РѕРєСЃС‹ Рё Р±Р»РѕРєРё СЃ СЃРѕРґРµСЂР¶Р°РЅРёРµРј */
.hide,
.hide + label ~ div {
    display: none;
}
/* РІРёРґ С‚РµРєСЃС‚Р° label */
.hide + label {
  margin: 0;
    padding: 0;
    color: var(--bg1s);
    cursor: pointer;
    display: inline-block;
    line-height: 44px;
    font-size: 16px;
}
/* РІРёРґ С‚РµРєСЃС‚Р° label РїСЂРё Р°РєС‚РёРІРЅРѕРј РїРµСЂРµРєР»СЋС‡Р°С‚РµР»Рµ */
.hide:checked + label {
    color: red;
    border-bottom: 0;
}
/* РєРѕРіРґР° С‡РµРєР±РѕРєСЃ Р°РєС‚РёРІРµРЅ РїРѕРєР°Р·С‹РІР°РµРј Р±Р»РѕРєРё СЃ СЃРѕРґРµСЂР¶Р°РЅРёРµРј  */

.commpr span{
font-weight: 600;
    color: #f34f00;
}
.hide:checked + label + div {
      display: block;
    padding: 20px;
    background: var(--fltx);
    border-radius: 10px;
    margin-top: 15px;
    -webkit-animation: fade ease-in 0.5s;
    -moz-animation: fade ease-in 0.5s;
    animation: fade ease-in 0.5s;
}
/* Р°РЅРёРјР°С†РёСЏ РїСЂРё РїРѕСЏРІР»РµРЅРёРё СЃРєСЂС‹С‚С‹С… Р±Р»РѕРєРѕРІ */
@-moz-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
@-webkit-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
@keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }   
}
.hide + label:before {
  background-color: var(--bg1s);
    color: #fff;
    content: "!";
    display: block;
    float: left;
    font-size: 26px;
    font-weight: bold;
    height: 36px;
    line-height: 39px;
    margin: 3px 5px;
    text-align: center;
    width: 36px;
    border-radius: 10px;
}
.hide:checked + label:before {
    content: "\2212";
}

.item__rating {
   width: 54px;
    padding: 5px 0 2px 24px;
    position: absolute;
    right: 6px;
    top: 6px;
        font-size: 14px;
    line-height: 18px;
    z-index: 10;
    background: var(--bg-sh1p);
    margin-left: 10px;
    background-color: var(--bg-2);
    border-radius: 5px 5px 0 0;
	
}

.item__rating1 {
  width: 54px;
    padding: 5px 0 2px 24px;
    position: absolute;
    right: 6px;
    top: 27px;
        font-size: 14px;
    line-height: 18px;
    z-index: 10;
    background: var(--bg-shp);
    margin-left: 10px;
    background-color: var(--bg-2);
    border-radius: 5px;
	 
}

.item-slide__ext-rating { font-weight: 400; font-size: 22px; }
.item-slide__ext-rating--imdb {padding: 4px 4px 4px 32px;
    background: var(--bg-sh1);
    background-color: var(--fltx);
    border-radius: 9px;
	width: 50%;
	}
.item-slide__ext-rating--kp {padding: 4px 4px 4px 32px;
    background: var(--bg-sh);
    background-color: var(--fltx);
    border-radius: 9px;
	width: 47%;
	margin-right: 3%;} 
.item-slide__ext-rating--kp span {	color: #b8b8b8; font-size: 16px;}



.comment-item__rating a:last-child > span:first-child {
    color: #ffffff;
    margin-right: 2px;
    font-weight: 600;
    font-size: 16px;
    background: #d25050;
    padding: 4px;
    border-radius: 8px;
}
.comment-item__rating a > span:first-child {
    color: #ffffff;
    margin-right: 2px;
    font-weight: 600;
    font-size: 16px;
    background: #509fd2;
    padding: 4px;
    border-radius: 8px;
}

.discr {
    background: var(--fltx);
    padding: 20px;
    border-radius: 10px;
	margin-top: 40px;
}

.owl-stage-outer .order-last a {
    color: #fff;
}

.dropdown_spb{display: table;}

.dropdown_sp {
       
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin: 8px  0 0 8px;
	color: var(--tt-accent);
        }
.courssp {
           display: none;
    position: absolute;
   background: var(--bg);
    border-radius: 6px;
	left: 10px;
    box-shadow: -1px 1px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 16px;
        }
		
		
.dropdown_button {
        padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin: 10px 0;
        }
.courses {
           display: none;
    position: absolute;
   background: var(--bg);
    border-radius: 10px;
    box-shadow: -1px 1px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
        }
	
.animrei {
    margin-bottom: 30px;
    font-size: 22px;
}
.reitingkp {
    background: whitesmoke;
    padding: 10px;
    border-radius: 10px;
    margin-right: 20px;
    background: var(--bg-sh);
}
.reitingam {
    background: whitesmoke;
    padding: 10px;
    border-radius: 10px;
	background: var(--bg-am);
}
 
.pmovie__anime {
    position: relative;
    grid-area: anime;
   
}
.pmovie__anime2 {
    position: relative;
    grid-area: anime2;
   
}
.pmovie__anime3 {
    position: relative;
    grid-area: anime3; 
   
} 
.pmovie__anime4 {
    position: relative;
    grid-area: anime4; 
   
} 
	.mylists-switch, .mylists-tabs {
list-style: none;
    font-size: 16px;
    margin: 10px 0;
    text-align: center;
	}

	.mylists-switch li, .mylists-tabs li {
display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px; 
    color: var(--tt);
    text-decoration: none;
    background: var(--fltx);
    border-radius: 20px;
   padding: 7px 10px;
	}
	.mylists-switch li:hover, .mylists-tabs li:hover {
		background: var(--bg1s);
		cursor: pointer;
		color: #fff;
	}
	.mylists-switch li:last-child, .mylists-tabs li:last-child {
		margin: 0px;
	}
	.mylists-switch li.active, .mylists-tabs li.active {
    background: var(--tt-accent);
    color: #fff;
    border: 0px;
   
	}
	.mylists-tabs li.active a {
		color: #fff;
	}
	.mylists-bar {
		grid-column: 1 / -1;
		margin: 0 0 8px;
	}
	.mylists-tools {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 2px 0 14px;
		color: var(--tt);
		font-size: 14px;
	}
	.mylists-tools__check {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 36px;
		margin: 0;
		padding: 0 14px;
		border-radius: 20px;
		background: var(--fltx);
		color: var(--tt);
		cursor: pointer;
		user-select: none;
	}
	.mylists-tools__check input {
		width: 16px;
		height: 16px;
		margin: 0;
		accent-color: var(--tt-accent);
		cursor: pointer;
	}
	.mylists-tools__check:has(input:checked) {
		background: var(--tt-accent);
		color: #fff;
	}
	.mylists-tools__check:has(input:checked) input {
		accent-color: #fff;
	}
	.mylists-tools__sort {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-left: auto;
		position: relative;
		cursor: pointer;
		color: var(--tt-2);
	}
	.mylists-tools__sort-icon {
		display: flex;
		opacity: 0.75;
		flex: 0 0 auto;
	}
	.mylists-tools__sort select {
		appearance: none;
		-webkit-appearance: none;
		height: 36px;
		min-width: 200px;
		max-width: 100%;
		margin: 0;
		padding: 0 32px 0 12px;
		border: 1px solid var(--bdc);
		border-radius: 12px;
		background: var(--fltx);
		color: var(--tt);
		font-size: 14px;
		font-weight: 500;
		cursor: pointer;
	}
	.mylists-tools__sort::after {
		content: "";
		position: absolute;
		right: 12px;
		top: 50%;
		width: 7px;
		height: 7px;
		border-right: 2px solid var(--tt-2);
		border-bottom: 2px solid var(--tt-2);
		transform: translateY(-70%) rotate(45deg);
		pointer-events: none;
	}
	@media (max-width: 640px) {
		.mylists-tools {
			flex-wrap: wrap;
		}
		.mylists-tools__sort select {
			min-width: 0;
			width: min(240px, 68vw);
		}
	}

.home-block[data-home-block="watched"] {
	min-width: 0;
}
.home-block[data-home-block="watched"]:not(:has(.wh-card)) {
	display: none !important;
}
.wh-home {
	min-width: 0;
}
.wh-home .sect__title--center {
	padding-left: 150px;
	padding-right: 150px;
}
.wh-all {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: var(--tt-accent);
	font-size: 15px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
}
@media screen and (max-width: 760px) {
	.wh-home .sect__title--center {
		padding-left: 0;
		padding-right: 0;
	}
	.wh-all {
		position: static;
		transform: none;
	}
}
.wh-all:hover {
	opacity: 0.8;
}
.wh-row {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding: 2px 2px 12px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}
.wh-home .wh-row.is-draggable {
	cursor: grab;
}
.wh-home .wh-row.is-draggable img,
.wh-home .wh-row.is-draggable a {
	-webkit-user-drag: none;
}
.wh-home .wh-row.is-grabbing {
	cursor: grabbing;
	user-select: none;
	scroll-snap-type: none;
}
.wh-row::-webkit-scrollbar {
	height: 8px;
}
.wh-row::-webkit-scrollbar-thumb {
	background: var(--bdc);
	border-radius: 8px;
}
.wh-card {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 250px;
	min-width: 0;
	scroll-snap-align: start;
	padding: 10px 12px;
	border-radius: 16px;
	background: var(--bg);
	border: 1px solid var(--bdc);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	text-decoration: none;
	color: var(--tt);
	transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}
.wh-card:hover {
	border-color: var(--bg1s);
	background: color-mix(in srgb, var(--bg1s) 8%, var(--bg));
	transform: translateY(-2px);
}
body.dt-is-active .wh-card {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.wh-card__poster {
	flex: 0 0 52px;
	width: 52px;
	height: 74px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--fltx);
}
.wh-card__poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wh-card__text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.wh-card__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tt);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.wh-card__ep {
	font-size: 13px;
	color: var(--tt-2);
}
.wh-card__play {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tt-accent);
	color: #fff;
}
.wh-page__title {
	margin: 0 0 18px;
	text-align: center;
	font-size: 26px;
	color: var(--tt);
}
.wh-page .wh-row {
	flex-wrap: wrap;
	overflow: visible;
}
.wh-day {
	margin: 0 0 22px;
}
.wh-day__title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--tt-2);
}
.wh-empty {
	margin: 0;
	text-align: center;
	color: var(--tt-2);
	font-size: 16px;
}
	




.podborkianime a {
      padding: 5px 10px;
    margin: 4px;
    border-radius: 10px;
    line-height: 40px;
background: var(--fltx);
    font-size: 16px;
    color: var(--tt);
	 white-space: nowrap;
}



.seriianime {
    color: var(--tt-accent);
    font-size: 24px;
    
}
.seriianime span {
    color: var(--tt-accent);
}
.img-mask::before {
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    opacity: 0.8;
}
.animli a{
   padding: 3px 8px;
    border-radius: 10px;
       color: var(--tt);
    background: var(--fltx);
    font-size: 16px;
    margin-right: 4px;
    line-height: 36px;
}
.animli{
      
}
.pmovie__list .animli {
   margin: 10px 0;
}

.pmovie__list li a:hover {
    color: #3883ad;
}
.animli a:hover, .podborkianime a:hover {
    border: 0px;
    background: var(--bg1s);
	color: #fff!important;
}
.animserii {
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 10px;
    text-align: center;
    background: var(--fltx);
}
/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative;  padding-bottom: 40px;}
.wrapper-container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20;}
.wrapper-main {min-height: 100vh; background-color: var(--bg-2); }
.header {padding: 0 var(--indent);  position: relative; z-index: 100; }
/* Всплывающее окно «Информация о пользователе» на странице профиля — выше шапки (только десктоп) */
@media screen and (min-width: 591px) {
	.usp__info-popup { z-index: 99999 !important; top: 10vh !important; transform: translate(-50%, 0) !important; }
}
/* На мобильном — в пределах экрана: отступы по бокам, по вертикали по центру, ограничение по высоте */
@media screen and (max-width: 590px) {
	.usp__info-popup {
		z-index: 99999 !important;
		left: 12px !important;
		right: 12px !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		max-height: 85vh !important;
		padding: 20px 16px !important;
		box-sizing: border-box;
	}
}
.content {padding: 20px var(--indent); padding-bottom: 40px; min-height: 80vh;}
#amdHomeLayout .home-block + .home-block { margin-top: 60px !important; }

.footer {
    padding: 20px var(--indent);
    color: var(--tt-dark);
    border-radius: 10px;
	margin: 0 var(--indent);
    background-color: var(--bg1s);
}
.footer__bottom {margin-top: 16px; gap: 20px;}

#scrolltop {position: fixed; width: 60px; height: 60px; line-height: 60px; right: 10px; bottom: 10px;
	z-index: 990; display: none; background-color: var(--bg); color: var(--tt-2); 
	cursor: pointer; font-size: 24px; border-radius: 50%; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.1);}
body.clans-clan-chat-open #scrolltop,
body.site-chat-page-open #scrolltop,
body:has(.site-chat--page) #scrolltop {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}


/* HEADER, NAV
----------------------------------------------- */
.logo {
   height: 90px;
    width: 225px;
    display: block;
    background: var(--bg-bga);
    overflow: hidden;
    text-indent: -1000px;
}
.header__btn-pm {
    margin-left: 10px;
    display: grid;
    place-items: center;
    height: 35px;
    width: 35px;
    border-radius: 10px;
    padding: 0;
    color: #fff;
    text-decoration: none;
    position: relative;
    background-color: var(--bg1s, transparent);
    transition: opacity 0.2s;
}
.header__btn-pm:hover { opacity: 0.9; color: #fff; }
.header__btn-pm .header__pm-icon { font-size: 18px; }
.header__btn-pm .header__pm-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    background: var(--accent, #e53935);
    color: #fff;
    border-radius: 8px;
}
.header__btn-login {    margin-left: 10px;
    font-size: 17px;
    display: grid;
    place-items: center;
    height: 35px;
    width: 35px;
    border-radius: 50%;
	overflow: hidden;
    padding: 0;
    background: #a1a1a13d;
    color: var(--tt-3);
   }
.header__avatar-wrap .header__btn-login { border-radius: 10px; overflow: visible; }
.theme-toggle {margin-left: 10px;
    font-size: 17px;
    display: grid;
    place-items: center;
    height: 35px;
    width: 35px;
    padding: 0;
    background: #a1a1a13d;
    color: var(--tt-3);
    border-radius: 50%;}
.dt-is-active .theme-toggle .fal::before {content:"\f185";}

.header__menu {gap: 20px; position: relative;}
.header__menu > li > a {font-weight: 600;
    color: var(--tt);
    height: 90px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
	font-family: GothamProRegular,sans-serif;
	cursor: pointer;
    font-size: 14px;}
.header__menu > li.header__menu--fw400 > a {font-weight: 400;}
/* Выпадающее меню в шапке: по умолчанию сетка */
.header__menu-hidden {position: absolute; top: 80%; left: 0; z-index: 100; border-radius: 6px;
	background-color: var(--bg); box-shadow: 0 10px 60px rgba(0,0,0,0.2);  padding: 15px 20px; 
	display: grid; gap: 10px 20px; }
/* Жанр: ровно 4 колонки */
.header__menu-hidden--genres { grid-template-columns: repeat(4, 1fr); }

.header__menu-hidden a { padding: 5px 10px; border-radius: 4px; font-size: 16px; }

/* Тип, Статус, Ещё: ширина 200px, левый край под ссылкой, вертикальный список */
.header__menu > li.sub { position: relative; }
.header__menu-hidden--vertical { width: 200px; min-width: 200px; left: 0; padding: 10px 12px; flex-direction: column; gap: 4px 0; grid-template-columns: none; }
.header__menu-hidden--vertical a { display: flex; align-items: center; gap: 8px; }
.header__menu-hidden--vertical a .fal { font-size: 14px; color: var(--tt-2); flex-shrink: 0; }

.header__menu-hidden--more {
	display: none;
	left: auto;
	right: 0;
	top: 74px;
	width: 380px;
	max-width: calc(100vw - 24px);
	max-height: calc(100vh - 96px);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 18px;
	border: 1px solid #e8eaf0;
	border-radius: 14px;
	background: var(--bg, #fff);
	box-shadow: 0 10px 30px rgba(38, 50, 74, 0.08);
	grid-template-columns: none;
}
.header__menu-hidden--more a { padding: 0; font-size: 14px; color: #30343c; text-transform: none; font-weight: 400; height: auto; }
.header__menu-hidden--more a:hover { color: #30343c; }
.header__menu-hidden--more a.hmm-game { padding: 12px; }
.header__menu-hidden--more a.hmm-game .hmm-game__name { font-size: 18px; }
.header__menu-hidden--more a.hmm-game .hmm-game__cap { font-size: 12px; }
.header__menu-hidden--more a.hmm-tile { font-size: 13px; padding: 10px 12px; }
.header__menu-hidden--more a.hmm-support { font-size: 15px; padding: 10px 8px; }
.hmm-game {
	display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box;
	margin: 0 0 8px; padding: 10px; border: 1px solid #dce9f1; border-radius: 9px; background: #f0f7fb; text-decoration: none;
}
.hmm-game:hover { background: #e5f1f8; border-color: #bdd7e7; color: #263341; }
.hmm-game__ico { width: 25px; flex: none; text-align: center; font-size: 20px; color: #4c93bb; }
.hmm-game__copy { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.hmm-game__name { font-size: 18px; font-weight: 700; letter-spacing: -0.4px; line-height: 1; color: #263341; }
.hmm-game__name em { font-style: normal; font-weight: 700; color: #62a9ce; }
.hmm-game__cap { font-size: 12px; color: #7c8895; }
.hmm-game__play { display: flex; align-items: center; gap: 5px; flex: none; color: #397fa7; font-size: 13px; font-weight: 600; }
.hmm-game__play .fal { font-size: 12px; }
.hmm-sec { padding: 8px 0 2px; margin-top: 2px; border-top: 1px solid #eceef2; }
.hmm-sec__title { margin: 0 4px 6px; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #9398a2; }
.hmm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.hmm-tile {
	display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 8px 10px;
	border: 1px solid #eceef2; border-radius: 7px; background: #f8f9fb; font-size: 13px; box-sizing: border-box;
}
.hmm-tile .fal, .hmm-tile .fas, .hmm-tile .fa-solid { width: 18px; flex: none; text-align: center; font-size: 15px; color: #737b87; }
.hmm-tile span:last-child { min-width: 0; line-height: 1.2; }
.hmm-tile:hover { border-color: #c8dfec; background: #f0f7fb; color: #30343c; }
.hmm-support {
	display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 7px; min-height: 36px;
	border-top: 1px solid #eceef2; border-radius: 7px; color: #b72b35; font-size: 15px; box-sizing: border-box;
}
.hmm-support .fal { width: 18px; flex: none; text-align: center; color: #b72b35; }
.hmm-support span:nth-child(2) { flex: 1; }
.hmm-support:hover { background: #fdf4f5; color: #b72b35; }
body.dt-is-active .header__menu-hidden--more { background: var(--bg-2); border-color: rgba(255,255,255,.08); box-shadow: 0 16px 36px rgba(0,0,0,.4); }
body.dt-is-active .header__menu-hidden--more a,
body.dt-is-active .hmm-game__name { color: var(--tt); }
body.dt-is-active .hmm-game { background: rgba(66,167,210,.12); border-color: rgba(66,167,210,.28); }
body.dt-is-active .hmm-game:hover { background: rgba(66,167,210,.2); }
body.dt-is-active .hmm-game__cap { color: var(--tt-2); }
.hmm-radio { background: #fff6ec; border-color: #f0d0a8; }
.hmm-radio:hover { background: #ffefdd; border-color: #e8c090; color: #263341; }
.hmm-radio .hmm-game__ico,
.hmm-radio .hmm-game__name em,
.hmm-radio .hmm-game__play { color: #e8892a; }
body.dt-is-active .hmm-radio { background: rgba(255,156,64,.14); border-color: rgba(255,156,64,.34); }
body.dt-is-active .hmm-radio:hover { background: rgba(255,156,64,.24); }
body.dt-is-active .hmm-radio .hmm-game__ico,
body.dt-is-active .hmm-radio .hmm-game__name em,
body.dt-is-active .hmm-radio .hmm-game__play { color: #ff9c40; }
body.dt-is-active .hmm-sec { border-color: rgba(255,255,255,.1); }
body.dt-is-active .hmm-tile { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
body.dt-is-active .hmm-tile:hover { background: rgba(66,167,210,.16); border-color: rgba(66,167,210,.4); }
body.dt-is-active .hmm-support { border-color: rgba(255,255,255,.1); }
body.dt-is-active .hmm-support:hover { background: rgba(183,43,53,.16); }

.header__menu > li:hover > a {color: var(--accent-anim);}
/* Десктоп: пункт «Ещё» с подменю; в шапке скрыты отдельные Расписание, Топ 100, Чат */
.header .header__menu .header__menu-item--mobile-only { display: none !important; }
/* Мобильное меню: скрыть «Ещё», показывать Расписание, Топ 100, Чат отдельно как раньше */
.mobile-menu .header__menu .header__menu-item--desktop-only { display: none !important; }
.mobile-menu .header__menu .header__menu-item--mobile-only { display: flex !important; }
.mobile-menu .header__menu .hmm-dup { display: none !important; }
.mobile-menu .header__menu .header__menu-more { display: block !important; width: 100%; }
.mobile-menu .header__menu-more > a { display: none !important; }
.mobile-menu .header__menu-hidden--more {
	display: block !important;
	position: static;
	width: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	box-shadow: none;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 14px 16px 16px;
}
/* Иконки пунктов меню показываем только в мобильном меню; у «Ещё» — шеврон справа, мельче */
.header .header__menu .header__menu-item--desktop-only .header__menu-link--with-chevron { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.header .header__menu .header__menu-item--desktop-only .header__menu-chevron { display: inline-block; font-size: 10px; opacity: 0.8; margin-left: 4px; }
.header .header__menu .header__menu-ico { display: none; }

/* Premium в шапке: корона + бейдж в стиле .comm-premium; надпись 16px (десктоп после «Ещё», в моб. меню — первым пунктом) */
.header .header__menu > li.header__menu-premium > a {
	text-transform: none;
	font-weight: 600;
}
.header__menu-premium-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	line-height: 1;
	color: #fedd80;
	background: linear-gradient(139deg, #235a95 0%, #000000 100%);
	border-radius: 12px;
	padding: 5px 12px 4px;
	outline: 1px solid #fedd80;
	outline-offset: -2px;
	box-shadow: 0 0 0 2px #fedd80;
}
.header__menu-premium-text {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 600 !important;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #fedd80;
}
.header__menu-premium-crown {
	width: auto;
	height: 16px;
	max-height: 1em;
	flex-shrink: 0;
	display: block;
	margin: 0;
	object-fit: contain;
	object-position: center center;
	transform: translateY(-0.08em);
}
.header .header__menu > li.header__menu-premium > a:hover {
	color: inherit;
}
.header .header__menu > li.header__menu-premium > a:hover .header__menu-premium-inner {
	box-shadow: 0 0 0 2px #ffe08a, 0 0 14px rgba(254, 221, 128, 0.28);
}

/* AMDейлик в шапке — стиль как лого дейлика (AMD + акцент «ейлик») */
.header .header__menu > li.header__menu-daily > a {
	text-transform: none;
	font-weight: 600;
}
.header__menu-daily-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	line-height: 1;
	padding: 5px 12px 4px;
	border-radius: 12px;
	background: linear-gradient(135deg, #ecf8fd 0%, #ffffff 100%);
	border: 1px solid #b8deef;
	box-shadow: 0 0 0 1px rgba(66, 167, 210, 0.12);
}
.header__menu-daily-text {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
	color: #14212c;
}
.header__menu-daily-text em {
	font-style: normal;
	font-weight: 900;
	color: #42a7d2;
}
.header .header__menu > li.header__menu-daily > a:hover {
	color: inherit;
}
.header .header__menu > li.header__menu-daily > a:hover .header__menu-daily-inner {
	border-color: #42a7d2;
	box-shadow: 0 0 0 1px rgba(66, 167, 210, 0.28), 0 0 14px rgba(66, 167, 210, 0.18);
}
.header__menu-hidden .header__menu-daily-text--menu {
	font-size: inherit;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #14212c;
}
.header__menu-hidden .header__menu-daily-text--menu em {
	font-style: normal;
	font-weight: 900;
	color: #42a7d2;
}
.mobile-menu .header__menu-daily .header__menu-daily-text--menu {
	font-size: inherit;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #14212c;
}
.mobile-menu .header__menu-daily .header__menu-daily-text--menu em {
	font-style: normal;
	font-weight: 900;
	color: #42a7d2;
}
body.dt-is-active .header__menu-daily-inner {
	background: linear-gradient(135deg, #1c2831 0%, #172028 100%);
	border-color: #2f6178;
	box-shadow: 0 0 0 1px rgba(66, 167, 210, 0.2);
}
body.dt-is-active .header__menu-daily-text,
body.dt-is-active .header__menu-hidden .header__menu-daily-text--menu,
body.dt-is-active .mobile-menu .header__menu-daily .header__menu-daily-text--menu {
	color: #e8f0f4;
}
body.dt-is-active .header__menu-daily-text em,
body.dt-is-active .header__menu-hidden .header__menu-daily-text--menu em,
body.dt-is-active .mobile-menu .header__menu-daily .header__menu-daily-text--menu em {
	color: #42a7d2;
}
.mobile-menu .header__menu-daily {
	order: -19;
}
.mobile-menu .header__menu > li.header__menu-daily > a:hover,
.mobile-menu .header__menu > li.header__menu-daily > a:focus-visible {
	color: var(--tt);
}
.mobile-menu .header__menu-premium {
	order: -20;
}
.mobile-menu .header__menu > li.header__menu-premium > a:hover,
.mobile-menu .header__menu > li.header__menu-premium > a:focus-visible {
	color: var(--tt);
}
.mobile-menu .header__menu > li.header__menu-premium > a:hover .header__menu-premium-inner,
.mobile-menu .header__menu > li.header__menu-premium > a:hover .header__menu-premium-text,
.mobile-menu .header__menu > li.header__menu-premium > a:focus-visible .header__menu-premium-inner,
.mobile-menu .header__menu > li.header__menu-premium > a:focus-visible .header__menu-premium-text {
	color: #fedd80;
}

/* Поиск в шапке: по умолчанию только иконка, по клику открывается поле */
.header__search {display: flex; align-items: center; position: relative; width: auto;}
.header__search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: none;
   background: #a1a1a13d;
    color: var(--tt-3);
	border-radius: 50%;
    font-size: 17px;
    cursor: pointer;
    transition: color .2s;
    
}

.header__search-form {display: flex; align-items: center;}
.header__search-box {width: 0; overflow: hidden; opacity: 0; transition: width .25s ease, opacity .2s ease;}
.header__search.header__search--open .header__search-trigger {display: none;}
.header__search.header__search--open .header__search-box {width: 210px; opacity: 1;}
.header__search .header__search-box {position: relative;}
.header__search input, .header__search input:focus {padding: 0 30px 0 10px; border-radius: 10px; 
	background: var(--fltx);  color: var(--tt); height: 36px; line-height: 36px; min-width: 210px;}
.header__search input:not(:focus)::placeholder {color: var(--tt-3); opacity: 1; font-size: 14px;} 
.header__search .search-btn {position:absolute; right: 0; top: 0; padding: 0; width: 40px; height: 40px;
	background: none; color: var(--tt-3); font-size: 14px;}


/* CAROU TOP ITEM, COLLECTION ITEM
----------------------------------------------- */
.carou {    background-color: var(--bg1s);
    padding: 20px 40px;
    margin: 0 var(--indent);
    border-radius: 10px;}
.carou__content:not(.owl-carousel) {display: flex; overflow: hidden;}
.carou__content > .poster {width: calc((100% - 120px)/7); flex-shrink: 0; margin-right: 20px;}
.carou .poster__title { display: block; white-space: nowrap; text-overflow: ellipsis;}
.ftop-item__title {
font: 16px 'GothamProRegular', sans-serif;
    line-height: 17px;
    margin-top: 10px;
    white-space: nowrap;
    height: 30px;
}
.carou .poster__subtitle {font-size: 10px; font-weight: 400;}
.carou .has-overlay__icon {padding: 0;}
.carou .poster__fav {top: 140px;}
.carou .poster__label {background-color: var(--bg); color: var(--tt-3);}
.carou .poster__series {left: 5px; bottom: 5px; border-radius: 3px; height: 20px; 
	padding: 0 6px; font-size: 10px; display: flex; align-items: center;}
	.carou .poster__series div {display: inline; margin-left: 6px;}

.grid-collectons {display: grid; grid-template-columns: repeat(2,1fr); gap: 20px 0;}
.coll {display: block; padding-top: 0; height: 160px; text-align: center;}
.coll__title {position: absolute; inset: 0; color: #fff; background-color: rgba(0,0,0,0.5); 
	padding: 20px; text-transform: uppercase; font-weight: 700; font-size: 15px; z-index: 5;}
.coll__title:hover {background-color: var(--accent-anim); color: #fff;}
.grid-items > .coll, #dle-content > .coll {grid-column: span 2;}


/* SECTION
----------------------------------------------- */
.sect:not(:last-child) {margin-bottom: 40px;}
.sect__header {margin-bottom: 20px; gap: 10px;}
/* Блок «Новые серии аниме»: кнопка слева, заголовок по центру */
.sect__header--poslednie {
	position: relative;
	display: block;
	width: 100%;
	min-height: 36px;
	margin-bottom: 20px;
}
.sect__header--poslednie .sect__title--center {
	display: block;
	width: 100%;
	text-align: center;
	margin: 0;
	padding-left: 134px;
	padding-right: 134px;
	box-sizing: border-box;
}
.sect__header--poslednie .sect__header-btns {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}
.sect__header--poslednie .sect__header-btns .mylist-eye-btn,
.sect__header--poslednie .sect__header-btns .sect-filter-btn {
	position: static;
	transform: none;
}
/* На мобильном: заголовок выше, кнопки в одну строку */
@media screen and (max-width: 760px) {
	.sect__header--poslednie {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
		min-height: 0;
	}
	.sect__header--poslednie .sect__title--center {
		padding-left: 0;
		padding-right: 0;
	}
	.sect__header--poslednie .sect__header-btns {
		position: static;
		transform: none;
		justify-content: center;
	}
}
.mylist-eye-btn,
.sect-filter-btn {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 8px;
    border: none;
    font-weight: 600;
    border-radius: 50%;
    cursor: pointer;
    background: #a1a1a13d;
    color: var(--tt-3);
    transition: background .2s, color .2s, opacity .2s;
    font-size: 13px;
}
.mylist-eye-btn:hover,
.sect-filter-btn:hover { opacity: 0.9; color: #fff; }
.mylist-eye-btn.active,
.sect-filter-btn.active { background: var(--accent-anim, #c00); opacity: 1; color: #fff; }
.mylist-eye-btn i { font-size: 1.1rem; }
.sect__title {
   font-size: 16px;
    text-align: center;
    text-transform: uppercase;
	margin-bottom: 20px;
}
.sect__ctrl {margin-top: -6px; gap: 10px;}
.sect__ctrl-menu {gap: 20px 20px; font-size: 13px;}
.sect__ctrl-menu--main {font-weight: 600;}
.sect__ctrl-menu label {position: relative; display: block;}
.sect__ctrl-menu label input {display: block; appearance: none; -webkit-appearance: none; 
	position: absolute; inset: 0; opacity: 0; cursor: pointer;}
.sect__ctrl-menu a, .sect__ctrl-menu label div {height: 30px; display: flex; align-items: center;}
.sect__ctrl-menu a.is-active, .sect__ctrl-menu label input:checked + div {background-color: var(--bg-dark); color: var(--tt-dark); border-radius: 4px; padding: 0 10px;}
.sect__ctrl-menu a:not(.is-active):hover, .sect__ctrl-menu label div:hover {color: var(--accent-anim);}
.sect__link {display: flex; align-items: center; height: 30px; border-radius: 4px; padding: 0 10px; 
	font-size: 12px; background-color: var(--bg); color: var(--tt-2); gap: 10px;}
.sect__content--carousel:not(.owl-carousel) {display: flex; overflow: hidden;}
.sect__content--carousel:not(.owl-carousel) > .poster {flex-shrink: 0; margin-right: 20px; width: calc((100% - 100px)/6);}
.sect--carou .sect__header {padding-right: 80px;}

.descr {    display: grid;
    grid-gap: 20px;
    line-height: 1.7;
    color: var(--tt);
    margin-top: 60px;
    background: var(--fltx);
    padding: 20px;
    border-radius: 10px;}
.descr h1, .descr h2, .descr h3 {
    font-weight: 500;
    font-size: 16px;
    color: var(--tt);
    line-height: 1.3;
    text-align: center;
	text-transform: uppercase;
}
.descr a {text-decoration: underline; color: var(--tt-accent);}
.descr ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.descr ul li::before {content:"\f00c"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
	color: var(--tt-accent); position: absolute; left: 0; top: 0;}
.speedbar {font-size: 13px; color: var(--tt-2); margin-top: 20px; margin-bottom: -20px;}
.speedbar .fal {margin-right: 8px; color: var(--tt-accent);}
.speedbar a:hover {text-decoration: underline;}


/* POSTER ITEM
----------------------------------------------- */
.poster {position: relative;}
.poster__img {border-radius: 5px; margin-bottom: 15px;}
.poster:hover { 
   webkit-filter: saturate(200%);
    filter: saturate(200%);
       transition: .4s;}	
.poster__label {position: absolute; left: 5px; top: 5px; border-radius: 3px; height: 20px; display: flex; 
	align-items: center; padding: 0 6px; font-size: 13px; background-color: var(--bg1s); color: var(--tt-dark); 
	z-index: 10; pointer-events: none;}
.poster__label--white {background-color: var(--bg); color: var(--tt-3);}
.poster__series { 
    position: absolute;
    bottom: 10px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;}

.has-overlay__icon {position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; padding-bottom: 50px;
	background-color: rgba(0,0,0,0.5); opacity: 0; justify-content: center; align-items: center; gap: 20px;}
.has-overlay__icon::before {display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; 
	background: #fff url(../images/play.svg) center center / 14px no-repeat; content: '';}
.poster__ratings {color: #fff; font-size: 11px; text-align: center; line-height: 1.6; 
	position: absolute; left: 0; right: 0; bottom: 20px;}
.poster__btn-info, .poster__fav a {padding: 0 10px; display: flex; align-items: center; justify-content: center; height: 24px; 
	border-radius: 3px; background-color: var(--accent-anim); color: #fff; gap: 5px; font-size: 12px; white-space: nowrap;}
.poster__fav a {background-color: #fff; color: #000;}
.poster__btn-info, .poster__fav {position: absolute; left: 50%; top: 50px; z-index: 11; cursor: pointer;
	opacity: 0; visibility: hidden; transform: translate(-50%,-30px); transition: all 0.2s ease-in-out;}
.poster__fav {top: 146px; transform: translate(-50%,30px);}
.poster:hover .poster__fav, .poster:hover .poster__btn-info {opacity: 1; visibility: visible; transform: translate(-50%,0px);}
.poster:hover .poster__btn-info {transition-delay: 0.2s;}
.poster__fav a::before {content: ''; background: url(../images/heart.svg) 0 0 / contain no-repeat; width: 16px; height: 16px;}
.has-overlay:hover .has-overlay__icon {opacity: 1;}
.poster:hover .poster__series {opacity: 0;}
.poster__fav a:hover {background-color: var(--bg-dark); color: #fff;}
.poster__btn-info:hover {background-color: var(--bg-dark);}
.poster__link {display: block;}
.poster__link::before {content: ''; position: absolute; inset: 0; z-index: 5;}
.poster__title {font-size: 14px; font-weight: 500;} 

.poster__subtitle {color: var(--tt-2); font-size: 13px; font-weight: 500; }
.poster__subtitle span {        color: var(--tt-accent);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.7;}

.th-active {z-index: 100;}
.th-text {display: none; background-color: var(--bg); cursor: auto; 
	padding: 20px; text-align: left; position: absolute; z-index: 1000; left: 100%; top: 0; 
	width: 460px; box-shadow: 0 0 30px rgba(0,0,0,0.2); border-radius: 4px; min-height: 100px;}
.th-text::after {content: ""; border: 10px solid var(--bg); position: absolute; top: 24px; right: 100%;
	border-left-color: transparent; border-bottom-color: transparent; }
.pop-left .th-text::after {border: 10px solid var(--bg); border-right-color: transparent; 
	border-bottom-color: transparent; left: 100%; right: auto;}
.pop-left .th-text {left: auto; right: 100%;}
.th-text-loader {text-align: center; font-size: 18px; color: var(--tt-accent); padding-top: 20px;}
.th-text-header {display: block; text-decoration: underline; font-weight: 500; font-size: 18px; color: var(--tt-accent);}
.th-text .not-shown-ajax, .th-text .pmovie__header h1 a {display: none;}
.th-text .pmovie__text {font-size: 13px; line-height: 1.4; margin: 15px 0;
	display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;}
.th-text .pmovie__list {background: none; padding: 0; font-size: 13px;}
.th-text .pmovie__list li + li {margin-top: 5px;}
.th-text button {width: 100%; margin-top: 15px; gap: 10px;}


/* CARD SHORTSTORY, TOP SHORTSTORY
----------------------------------------------- */
.card {padding: 20px; border-radius: 5px; background-color: var(--bg); display: grid; gap: 15px 20px; 
	grid-template-columns: 200px minmax(0,1fr); grid-template-rows: min-content 1fr min-content; 
	grid-template-areas: "cimg ctitle" "cimg cdesc" "cimg cbtm"; position: relative;} 
.card__img {display: block; height: 300px; border-radius: 5px; grid-area: cimg; border: 1px solid var(--bdc);}
.card .has-overlay__icon {padding: 0;}
.card .poster__fav {left: auto; right: 20px; top: 20px; opacity: 1; visibility: visible; transform: none;}
.card .poster__fav a:not(:hover) {background-color: var(--bg-2);}
.card__title {display: block; grid-area: ctitle; margin-right: 130px;}
a.card__title:hover {text-decoration: underline;}
.card__title h3 {font-size: 18px; font-weight: 600;}
.card__desc {grid-area: cdesc;}
.card__list {display: grid; grid-gap: 6px 0; font-size: 13px;}
.card__list li > span:first-child {font-weight: 500; margin-right: 3px;}
.card__list a {text-decoration: underline; color: var(--tt-accent);}
.card__text {margin-top: 15px; -webkit-line-clamp: 4; line-height: 1.5;}
.card__bottom {font-size: 12px; grid-area: cbtm; gap: 10px 20px;}
.card__meta .fal {margin-right: 5px; opacity: 0.66;}
.card__btn {height: 30px; padding: 0 10px;}
.card__fav {position: absolute; right: 0; top: 0; width: 60px; height: 60px; cursor: pointer; 
	font-size: 18px; overflow: hidden; color: var(--tt-lighter);}
.card__fav .fas {position: relative; z-index: 1; width: 100%; height: 100%; cursor: pointer;
	display: flex !important; justify-content: center; align-items: center; padding: 0 0 25px 25px;}
.card__fav .fas::after {content: ''; background: var(--gradient); box-shadow: var(--bsh-2); z-index: -1;
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform: skew(45deg); transform-origin: 0 0;}
.card__fav .fas.added::after {background: var(--gradient-accent);}
.card__rating-ext {font-size: 16px; font-weight: 500; color: var(--tt); gap: 3px;
	position: relative; display: flex; align-items: center; line-height: 1; white-space: nowrap;}
.card__rating-ext > span {font-size: 11px; font-weight: 400;}
.card__rating-ext::before {content: attr(data-text); display: inline-flex; height: 24px; align-items: center; 
	border-radius: 3px; padding: 0 5px; font-size: 11px; margin-right: 3px;}
.card__rating-ext.kp::before {background: var(--bg-sh1);width: 20px; color: #fff;}
.card__rating-ext.imdb::before {background: var(--bg-sh); width: 20px; color: #000;}
.card__meta.flex-grow-1 {align-self: center; text-align: right; margin-right: -10px;}

.linek {background-color: var(--fltx);
    border-radius: 10px;
  
    padding: 10px 20px;
    gap: 0 !important;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    display: flex !important;
    }
	.linek:hover {background-color: var(--hov);
transition: .3s;
    }
	.ftop-item:hover {background-color: var(--hov);
    transition: .3s;
    }

.spiski #dle-content, .sect .grid-items {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}
	
	
	
.linek__img {width: 90px; height: 120px; margin: -10px -20px; margin-right: 15px; border-radius: 10px;}
.linek__title {color: var(--tt); font-weight: 500; font-size: 17px; }
.linek__meta {margin-top: 10px; color: var(--tt-2); font-size: 12px;}
.linek .card__bottom {margin-top: 10px;}
.linek .poster__fav {right: 5px; top: 5px;}
.count-items {counter-reset: num;}
.count-items .linek::before {content: counter(num); counter-increment: num; color: var(--tt-2); opacity: 0.3; 
	position: absolute; right: 20px; top: 50%; margin-top: -10px; transform: translateY(-50%); font-size: 40px; font-weight: 700;}

/* Карточки «Мои списки» — блок «Вы остановились» и кнопка списка */
.mylist-card .linek__desc--column { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mylist-card .mylist-stopped {
	margin-top: auto;
	padding-top: 6px;
	font-size: 12px;
	color: var(--tt-2);
	line-height: 1.3;
}
.mylist-card .mylist-stopped b { color: var(--tt-accent, #c00); font-weight: 600; font-size: 17px;}
.mylist-actions {
	position: absolute;
	bottom: 10px;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	z-index: 5;
}
/* Когда меню открыто — весь блок поверх кнопок других карточек */
.mylist-actions:has(.mylist-dropdown-menu.is-open) {
	z-index: 100;
}
/* Кнопка: только иконка списка + стрелка вниз */
.mylist-actions .animedia-fs-dropdown .animedia-fs-btn.mylist-btn-icon-only {
	min-width: auto;
	width: auto;
	height: 34px;
	min-height: 34px;
	padding: 0 12px;
}
.mylist-actions .mylist-toggle-list.animedia-fs-btn--list {
	background: var(--bg1s);
	color: #ffffff;
	border: none;
	box-shadow: none;
	height: 34px;
	min-height: 34px;
}
.mylist-actions .mylist-toggle-list.animedia-fs-btn--list:hover {
	background: var(--bg1s);
	opacity: 0.9;
	color: #fff;
}
.mylist-actions .mylist-toggle-list.is-open .animedia-fs-dropdown__arrow {
	transform: rotate(180deg);
}
/* Выпадающее меню открывается вниз, скрыто по умолчанию */
.mylist-actions .mylist-dropdown-menu {
	top: calc(100% + 8px);
	left: auto;
	right: 0;
	bottom: auto;
	transform: none;
	display: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 20;
}
.mylist-actions .mylist-dropdown-menu.is-open {
	display: block;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	z-index: 20;
}
.mylist-actions .mylist-status-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.mylist-actions .mylist-status-list li {
	padding: 6px 10px;
	border-radius: 4px;
	cursor: pointer;
	transition: background .2s;
}
.mylist-actions .mylist-status-list li:hover { background: rgba(255,255,255,0.08); }
.mylist-actions .mylist-status-list li.active { background: var(--accent-anim); color: #fff; }

.animetitle {margin-bottom: 30px;} 
.animetitle h1 {
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ttan);} 
.animetitle h1 span {
    font-size: 14px;
}
/* SIDEBAR
----------------------------------------------- */
.sb {background-color: var(--bg);}
.sb__title {font-weight: 600; font-size: 16px; padding: 15px 20px;}
.upd__date {background-color: var(--bg-dark); color: var(--tt-dark); 
	padding: 10px 20px; font-weight: 500; font-size: 13px; cursor: pointer;}
.updli {position: relative;}
.updli__link {padding: 10px 20px; border-bottom: 1px solid var(--bdc);}
.updli__img {width: 50px; height: 50px; border-radius: 3px; margin-right: 10px;}
.updli__title {font-weight: 500; font-size: 13px;}
.updli__season {margin-top: 6px; border-radius: 3px; background-color: var(--bg-2); 
	padding: 3px 6px; font-size: 11px; display: inline-block;}
.updli__meta {border-radius: 3px; background-color: var(--bg-2); margin-left: 10px;
	padding: 6px 10px; font-size: 11px; text-align: center; width: 80px; font-weight: 500;}
.updli__voice {font-weight: 400; color: var(--tt-2); margin-top: 3px;}
.upd.is-active .upd__items {display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr));}
.upd:not(.is-active) + .upd {margin-top: 5px;}
.updli__fav {width: 50px; height: 50px; border-radius: 3px; inset: 10px auto auto 20px; 
	color: #fff; font-size: 10px; z-index: 10; white-space: nowrap;}
.updli__fav a {color: #fff; width: 100%; height: 100%; display: block; text-align: center;}
.updli__fav a::before {content: ''; background: #fff url(../images/heart.svg) center center / 12px no-repeat; 
	width: 20px; height: 20px; border-radius: 50%; display: block; margin: 0 auto; margin-bottom: 2px;}
.updli:hover .updli__meta, .updli:hover .updli__voice, .upd__date:hover {background-color: var(--accent-anim); color: #fff;}
.upd__items {max-height: 460px; overflow-x: hidden; overflow-y: auto;}

.sb + .sb {border-top: 1px solid var(--bdc);}
.sblogin {padding: 20px;}
.sblogin__img {width: 64px; height: 64px; border-radius: 10px; margin-right: 10px; background-color: #000;}
.sblogin__name {font-weight: 600;}
.sblogin__name div:last-child {font-weight: 400; color: var(--tt-2); font-size: 11px; margin-top: 2px;}
.sblogin__ctrl {gap: 10px; font-weight: 500; font-size: 11px; margin-left: 10px;}
.sblogin__desc-btm {gap: 6px; margin-top: 6px;}
.sblogin__desc-btm a, .sblogin__desc-btm a span {border-radius: 3px; background-color: var(--bg-2); display: flex; align-items: center; 
	padding: 0 6px; font-size: 11px; height: 20px; overflow: hidden;}
.sblogin__desc-btm a span {margin-right: -6px; margin-left: 6px; 
	background-color: var(--accent-anim); color: #fff; border-radius: 0; font-size: 10px;}
.sblogin a:hover {text-decoration: underline;}


/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__menu {gap: 20px 40px; font-weight: 400;}
.footer__menu a {color: var(--tt-dark);}
.footer__menu--fw600 {font-weight: 600;}
.footer__text, .footer__copyright {font-size: 13px;}
.footer__soc {gap: 20px 15px;}
.footer__soc img {display: block; height: 16px; opacity: 0.5;}
.footer__menu a:hover {text-decoration: underline;}
.footer__soc a:hover img {opacity: 1;}

.pagination__pages {text-align: center; padding-top: 40px; gap: 20px;}
.pagination__pages > a, .pagination__pages > span, .pagination__pages-btn > a, 
.pagination__pages-btn > span {height: 36px; font-weight: 600; color: var(--tt-3);
width: 36px;
	font-size: 14px; border-radius: 5px; display: flex; align-items: center; justify-content: center;}
.pagination__pages-btn {font-size: 30px;}
.pagination__pages > span:not(.nav_ext) {background: var(--bg1s); color: #fff; min-width: 36px; padding: 0 10px;}
.pagination__pages a:hover {color: white;
    background: #0000007d;}


/* INNER PAGE
----------------------------------------------- */
.pmovie { border-radius: 10px; }
.pmovie__main {
    display: grid;
    gap: 0 30px;
    grid-template-columns: 260px minmax(0,1fr) minmax(0,1fr);
   
    grid-template-areas:
"pimg pheader pheader"
"pimg plist anime"
"pimg plist anime2"
"pimg plist anime3"
"pimg plist anime4";
    margin-bottom: 40px;
}
.pmovie__img {height: 380px;
    width: 260px;
    border-radius: 10px;
    border: 1px solid var(--bdc);}
.pmovie__poster {grid-area: pimg; position: relative;}
.pmovie__clan-capture {
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 2;
    display: inline-block;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
    border-radius: 50%;
}
.pmovie__clan-capture:hover {opacity: 0.95;}
.pmovie__clan-capture-img {
    display: block;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    border: 4px solid var(--tt-accent);
    object-fit: cover;
    vertical-align: middle;
}
.pmovie__header {position: relative;  grid-area: pheader;}
.pmovie__list {grid-area: plist;}
.pmovie__header h1 {font-weight: 600; font-size: 20px;line-height: 26px; text-transform: uppercase;}
.pmovie__header h1 a {font-weight: 600;
    font-size: 20px;
	color: var(--tt-accent);
    text-transform: uppercase;}
	.pmovie__header h1 a:hover {
	color: #3883ad;
}
.pmovie__main-info {font-weight: 500;
margin-left: 14px;
    font-size: 11px;
    color: var(--tt-2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
	    float: left;
}
.pmovie__header .poster__fav {left: auto; right: 0px; top: 0px; opacity: 1; visibility: visible; transform: none;}
.pmovie__header .poster__fav a:not(:hover) {background-color: var(--bg-2);}
.pmovie__subtitle {font-weight: 600;
    font-size: 16px;
      margin: 20px 0;
    text-transform: uppercase;
    text-align: center;}
.animefilm1 + .pmovie__subtitle {margin-bottom: 30px; margin-top: 30px;} 

.pmovie__list {
    line-height: 1.5;
    font-size: 16px;
    word-wrap: break-word;
}
.pmovie__list li {position: relative; padding-left: 160px;}
.pmovie__list li + li {margin-top: 14px;}
.pmovie__list li > span:first-child {position: absolute;
    left: 0;
    top: 0;
    color: var(--animli);}
.pmovie__list li a {color: var(--tt-accent);}
.pmovie__list li a:hover {text-decoration: none;}

.pmovie__rating {    font-size: 16px;
    font-weight: 600;}
.pmovie__rating-caption {font-weight: 600; margin-bottom: 6px;}
.pmovie__rating-votes {font-size: 12px; color: var(--tt-2); position: absolute; right: 0; top: 1px;}
.pmovie__rating-score {position: absolute; right: 0; top: 25px; height: 28px; width: 28px; border-radius: 3px; 
	font-size: 12px; font-weight: 500; background-color: var(--bg-dark); color: #fff; display: grid; place-items: center;}


.tabs-block__select {gap: 10px;}
.tabs-block__select button {       height: 40px;
    padding: 0 10px;
    border-radius: 10px 10px 0 0;
    gap: 10px;
   background: var(--fltx);
       color: var(--tt);
    font-weight: 500;
    font-size: 16px;}
.tabs-block__select button.is-active, .tabs-block__select button:hover {background: var(--bg1s); color: #fff;}
.pmovie__player-bottom {background-color: var(--bg-2); padding-left: 20px;}
.ya-share2 {height: 24px; margin-left: 10px;}
.ya-share2 a:not(:hover) {filter: grayscale(1); opacity: 0.66;}
.pmovie__complaint a {display: grid; place-items: center; width: 50px; height: 50px; 
	font-size: 24px; background: var(--accent-anim); color: #fff;}
	
.pmovie__related {padding: 0 !important; background: none;}
@media screen and (min-width: 760px) {
	.pmovie__related .grid-items {grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px;}
	.pmovie__related .poster__img {margin-bottom: 8px;}
	.pmovie__related .has-overlay__icon {padding-bottom: 0; padding-top: 55px;}
	.pmovie__related .poster__btn-info {top: 32px; padding: 0 7px;}
}
.pactor .pmovie__header .poster__fav {position: static;}
.pactor .pmovie__header .pmovie__btn-scroll {margin: 0; height: 40px; padding: 0 20px; margin-top: 20px; font-size: 16px; gap: 20px;}
.pactor .poster .poster__ratings, .pactor .poster .poster__fav {display: none;}
.pactor .card, .pactor .linek {padding: 0; background: none;}


/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.full-text {  
    font-size: 16px;
    text-align: justify;
    word-wrap: break-word;
    background: var(--fltx);
    border-radius: 8px;
    padding: 20px;}
.full-text-com {
    line-height: 1.4;
    font-size: 16px;
    text-align: justify;
    word-wrap: break-word; 
	    padding-left: 10px;
}
.cb{float:left;
    margin-right: 10px;}
.full-text img:not(.emoji), .full-text p, .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5, 
.full-text > ul, .full-text > ol, .full-text table, .page__title {margin-bottom: 8px;}
.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {margin:0 10px 10px 0;}
.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {margin:0 0 10px 10px;}
.full-text > ul li, .full-text > ol li {padding-left: 60px; position: relative;}
.full-text > ul li:before {content: ''; width: 8px; height: 8px; border-radius: 50%; 
	border: 3px solid var(--accent); position: absolute; top: 5px; left: 34px;}
.full-text > ol {counter-reset: num;}
.full-text > ol li:before {content: counter(num); counter-increment: num; background-color: var(--accent); color: #fff; 
	position: absolute; top: -2px; left: 17px; width: 24px; height: 30px; font-size: 14px; font-weight: 500;
	display: flex; justify-content: flex-end; align-items: center; padding-right: 6px; box-sizing: border-box;}
.full-text > ol li:after {content: ''; border: 10px solid transparent; border-left-color: var(--accent); 
	position: absolute; left: 41px; top: -2px; transform: scale(0.66,1.5); transform-origin: 0 0;}
.full-text > ul li + li, .full-text > ol li + li {margin-top: 10px;}
.full-text table, .video-inside > * {width:100%;}
.full-text table tr td {padding:10px; }
.full-text table tr:nth-child(2n+1) {background-color:var(--fltx);} 
.full-text table tr:nth-child(1) {background-color:var(--fltx);}
.full-text table img:not(.emoji) {margin:0; max-width:350px}
.full-text > *:last-child {margin-bottom: 0;}
.video-responsive {padding-top: 60%; position: relative; background-color: #000;}
.video-responsive > iframe, .video-responsive > video {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 21px;}
.full-text iframe {width: 100%; height: 400px; margin-bottom: 20px;}


/* COMMENTS
----------------------------------------------- */
/* Вкладки Комментарии / Рецензии — внешний вид как у вкладок плеера (CDN / Amedia / Kodik) */
.page__comments-tabs { margin-top: 1.5rem; }
.page__comments-tabs-head {
	display: flex;
	gap: 10px;
	margin-bottom: 0;
}
.page__comments-tabs-head .page__comments-tab {
	height: 40px;
	padding: 0 10px;
	border-radius: 10px 10px 0 0;
	background: var(--fltx);
	color: var(--tt);
	font-weight: 500;
	font-size: 16px;
	border: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.page__comments-tabs-head .page__comments-tab:hover,
.page__comments-tabs-head .page__comments-tab.is-active {
	background: var(--bg1s);
	color: #fff;
}
.page__comments-tab-panel { display: none; }
.page__comments-tab-panel.is-active { display: block; }
.page__comments-tab-panel.is-active[hidden] { display: block !important; }
#tab-reviews { padding-top: 24px; }
.page__comments-tabs .page__comments { margin: 0; border: 2px solid var(--bg-2); border-top: none; }

.reviews-list-container .review-card { margin-bottom: 1.25rem !important; }

.recenzgood, .recenznotgood, .recenzbitween { position: relative; }
.review-card__rating-top { position: absolute; top: 12px; right: 12px; z-index: 2; }
.review-card__rating-top .rate { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-card__rating-top .rate_like-dislike { display: flex; align-items: center; gap: 6px; }
.review-card__rating-top .ratingtypeplusminus { font-weight: 600; font-size: 14px; }
.review-card__rating-top .rate_stars { font-weight: 600; }
.rate_review-danet { gap: 10px; }
.rate_review-danet__da { color: #22c55e; font-weight: 600; cursor: pointer; }
.rate_review-danet__net { color: #ef4444; font-weight: 600; cursor: pointer; }

.review-card__body { margin-top: 6px; font-size: 16px; position: relative; z-index: 1; }
.review-card__short { display: block; }
.review-card.is-expanded .review-card__short { display: none; }
.review-card__expand, .review-card__collapse { cursor: pointer; color: var(--tt-accent); position: relative; z-index: 2; pointer-events: auto; }
.review-card__full { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.review-card.is-expanded .review-card__full { max-height: 5000px; transition: max-height 0.5s ease; }
.review-card__collapse { margin-top: 8px; display: inline-block; }

.page__comments {margin: 0; border: 2px solid var(--bg-2);}
.page__comments-psform {padding: 15px; background-color: var(--bg-2); display: flex; flex-direction: column; gap: 0;}
.page__comments-psform .sect__title.sect__header { display: block !important; visibility: visible !important; margin: 0 0 15px 0 !important; padding: 0 !important; font-size: 16px; color: var(--tt); position: relative; z-index: 2; flex-shrink: 0; order: 1; }
.page__comments-form { margin-top: 0; position: relative; z-index: 1; order: 2; }
/* Модалка правил внутри формы — иначе z-index:1 держит её под списком комментариев */
.page__comments-form:has(.review-modal.is-open),
.page__comments-psform:has(.review-modal.is-open) {
	z-index: 100060;
}
.page__comments-form .add-comments-form { margin-top: 0 !important; }
.page__comments-form .form__textarea-inside { position: relative; z-index: 1; }
.page__comments-psform-title {font-weight: 600; font-size: 13px; margin-bottom: 15px;}
.page__comments-psform-form {background-color: var(--bg); cursor: pointer; color: var(--tt-2); font-size: 13px; padding: 15px;}
.page__comments-title {font-size: 13px; color: var(--tt-2); padding: 15px;}
.page__comments-title span {font-weight: 600; color: var(--tt-3);}
 #dle-comments-list #comment:first-child + .comments-tree-list {margin-top: -15px;}

.page__comments-list {padding: 0;}
.page__comments-list--not-comments {padding: 0; border: 0;}
.add-comments-form.form {padding: 0; margin-bottom: 0px;}
.add-comments-form .form__input, .add-comments-form__input, .add-comments-form .form__textarea-inside textarea, 
.mass_comments_action select {box-shadow: inset 0 0 0 1px #e3e3e3; border-radius: 0;}
.add-comments-form__footer { flex-wrap: wrap; align-items: center; gap: 12px; }
.add-comments-form__primary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.add-comments-form__rules-link {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	color: var(--tt-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.add-comments-form__rules-link:hover {
	color: var(--tt);
	background: none;
}
.add-comments-form__guest-fields {
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
	min-width: min(100%, 280px);
}
.add-comments-form__guest-fields .add-comments-form__input { margin-left: 0; }
.comment-rules-modal__box { max-width: 560px; }
.comment-rules-modal__body { font-size: 15px; line-height: 1.5; color: var(--tt, #333); }
.comment-rules-modal__list { margin: 0 0 12px; padding-left: 1.25em; }
.comment-rules-modal__list:last-of-type { margin-bottom: 0; }
.comment-rules-modal__section-title { margin: 16px 0 8px; }
.comment-rules-modal__section-title:first-of-type { margin-top: 4px; }
.comment-rules-modal__punish { margin: 16px 0 0; }
.add-comments-form__input {margin-left: 20px;}
.add-comments-form .d-none, .comments_subscribe + br {display: none;}
.mass_comments_action {display: flex; align-items: center; max-width: 800px; white-space: nowrap; padding: 15px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 -8px 0 20px;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}
.show-comms a {padding: 15px; height: 60px; display: flex; justify-content: center; align-items: center; 
	background-color: var(--bg-2); color: var(--tt-3); font-size: 13px;}

.comment-item__title {font-weight: 500; font-size: 18px; margin-bottom: 20px;}
.comment-item {
    padding: 10px 15px 0;
    margin-bottom: 10px;
    min-height: 160px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
/* Фон комментариев (модуль AvatarSelect): светлая тема — svg/N.svg, тёмная — svg/Nd.svg; класс на .bodycomm (пузырёк текста); фон повторяется плиткой, не растягивается */
.bodycomm[data-comm-bg-dark] {
    background-repeat: repeat;
    background-size: auto; /* свой размер SVG — тогда repeat даёт плитку, а не растягивание */
}
.bodycomm.comm-bg-1 {
    background-color: transparent;
    background-image: url(/uploads/commfon/svg/1.svg);
    background-repeat: repeat;
    background-size: auto;
}
.bodycomm.comm-bg-1::before {
    border-top-color: transparent;
}
body.dt-is-active .bodycomm.comm-bg-1 {
    background-image: url(/uploads/commfon/svg/1d.svg);
    background-repeat: repeat;
    background-size: auto;
}
/* Свой фон: убираем цветную полоску у «хвоста» пузыря */
.bodycomm[data-comm-bg-dark^="/"]::before {
    border-top-color: transparent;
}
.bodycommpre[data-comm-bg-dark^="/"]::before {
    border-top-color: transparent;
}
/* Обёртка текста (comm-id-*) только у комментариев с выбранным фоном — стеклянный стиль */
.bodycomm[data-comm-bg-dark^="/"] > [id^="comm-id-"],
.bodycomm[data-comm-bg-dark^="/"] > div[id^="comm-id-"] {
   background: var(--foncomm);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 30%), inset 0 1px 0 rgb(85 162 198 / 23%);
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px);
    padding: 10px;
}
.bodycommpre[data-comm-bg-dark^="/"] > [id^="comm-id-"],
.bodycommpre[data-comm-bg-dark^="/"] > div[id^="comm-id-"] {
 background: linear-gradient(139deg, #174474db 0%, #000000de 100%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 30%), inset 0 1px 0 rgb(85 162 198 / 23%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 10px;
}
/* Шапка выше пузыря — иначе rank/streak tip уходит под .bodycomm */
.comment-item__header {position: relative; z-index: 2; margin-bottom: 5px;}

/* Шапка без .d-flex: не тянет flex-wrap:wrap из common.css — десктоп в строку, на мобиле две строки */
.comment-item__header--stack {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	width: 100%;
	min-width: 0;
	gap: 0;
}
.comment-item__header--stack .comment-item__header-top {
	flex: 1 1 auto;
	min-width: 0;
}
.comment-item__header--stack .comment-item__header-bottom {
	flex: 0 0 auto;
	min-width: 0;
	margin-left: auto;
}
.comment-item__header--stack .comment-item__rating {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	min-width: 0;
}
.comment-item__header--stack .comment-item__rating .reactions {
	justify-content: flex-end;
}
.comment-item__header--stack .comment-item__meta {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	min-width: 0;
}

/* Мобильная шапка: строка 1 — мета; строка 2 — реакции + энергия */
@media (max-width: 767px) {
	.comment-item__header--stack {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.comment-item__header--stack .comment-item__header-top,
	.comment-item__header--stack .comment-item__header-bottom {
		width: 100%;
		flex: none;
		min-width: 0;
	}
	.comment-item__header--stack .comment-item__meta {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		width: 100%;
	}
	.comment-item__header--stack .comment-item__meta::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}
	.comment-item__header--stack .comment-item__rating {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}
	.comment-item__header--stack .comment-item__rating .reactions {
		justify-content: flex-end;
		flex-wrap: wrap;
	}
	.comment-item__header--stack .group-icon {
		float: none;
		flex-shrink: 0;
	}
	.comment-item__header--stack .comm-authorpremium {
		margin-left: 0;
		margin-bottom: 0;
	}
	.comment-item__header--stack .comm-status-thumb {
		flex-shrink: 0;
	}

	/* Старый разметка с d-flex (другие tpl / моды) — принудительно колонка, перебиваем common.css .d-flex */
	.comment-item > .comment-item__main > .comment-item__header.d-flex {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: 6px;
	}
	.comment-item > .comment-item__main > .comment-item__header.d-flex > .comment-item__meta.flex-grow-1 {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100%;
		min-width: 0;
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center;
		gap: 4px 8px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.comment-item > .comment-item__main > .comment-item__header.d-flex .comment-item__rating {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		width: 100%;
		max-width: 100%;
		flex: none;
		margin: 0;
	}
	.comment-item > .comment-item__main > .comment-item__header.d-flex .comment-item__rating .reactions {
		justify-content: flex-end;
	}
}

.comment-item__img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
}
/* Премиум (группа 16): рамка как у бейджа + корона над аватаром */
.comment-item__avatar-col--premium {
	position: relative;
	width: 70px;
	padding-top: 16px;
	box-sizing: content-box;
	    margin-top: -14px;

}
.comment-item__premium-avatar-crown {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	line-height: 0;
	pointer-events: none;
}
.comment-item__premium-avatar-crown img {
	height: 16px;
	width: auto;
	display: block;
}
.comment-item__img.comment-item__img--premium {
	box-sizing: border-box;
	border-radius: 14px;
	padding: 2px;
	background: linear-gradient(145deg, #1c1e4d, #19183b);
	outline: 1px solid #fedd80;
	outline-offset: -3px;
	box-shadow: 0 0 0 2px #fedd80;
	overflow: hidden;
}
.comment-item__img.comment-item__img--premium img {
	border-radius: 8px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bodycomm {background: var(--bocomm);
    padding: 10px 15px;
    border-radius: 8px;
	position: relative;
	z-index: 1;
	font-size: 17px;}
.bodycomm::before  {
    border: 11px solid transparent;
    border-top: 13px solid var(--bocomm);
    border-bottom: 0;
    height: 0;
    width: 0;
    border-top-width: 17px;
    content: '';
    display: block;
    position: absolute;
    left: 1px;
    top: 15px;
    transform-origin: center;
    transform: rotate(92deg) skew(331deg) translateY(17px);
}
.bodycommpre {
     background: linear-gradient(139deg, #05305e 35%, #000000 100%);
    padding: 10px 15px;
    color: #ffeca8;
    border-radius: 16px;
    position: relative;
	z-index: 1;
    font-size: 17px;
    outline: 1px solid #fedd80;
    outline-offset: -3px;
    box-shadow: 0 0 0 2px #fedd80;
	margin-top: 8px;
}
/* Premium: обычный пузырь без рамки и тёмного градиента */
.bodycommpre.comm-bg-plain,
.bodycommpre[data-comm-bg="plain"] {
    background: var(--bocomm);
    color: inherit;
    border-radius: 8px;
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}
.bodycommpre.comm-bg-plain::before,
.bodycommpre[data-comm-bg="plain"]::before {
    border: 11px solid transparent;
    border-top: 13px solid var(--bocomm);
    border-bottom: 0;
    height: 0;
    width: 0;
    border-top-width: 17px;
    content: '';
    display: block;
    position: absolute;
    left: 1px;
    top: 15px;
    transform-origin: center;
    transform: rotate(92deg) skew(331deg) translateY(17px);
}
.comment-item__main:has(> .bodycommpre.comm-bg-plain) > .comment-item__header,
.comment-item__main:has(> .bodycommpre[data-comm-bg="plain"]) > .comment-item__header {
	margin-bottom: 5px;
}
.comment-item__main:has(> .bodycommpre) > .comment-item__header {
	margin-bottom: 10px;
}
.bodycommpre::before  {
   
}
.comment-item__letter {width: 100%; height: 100%; text-transform: uppercase; font-weight: 500; 
	position: absolute; left: 0; top: 0; z-index: 5; color: #fff; font-size: 18px;}
.comment-item__author, .comment-item__author a {font-weight: 600; font-size: 14px; color: var(--tt-3);}
.comment-item__date {color: var(--tt-2); font-size: 12px;}
/* Отступ колонки — через flex+gap (levels.css), не через margin: иначе двойной зазор у пузыря */
.comment-item__main {margin: 0; }
.comment-item__footer, .comment-item__controls {gap: 10px; font-size: 12px;    margin-top: 2px;}
.comment-item__rating a {color: var(--tt-3);}
.comment-item__rating a > span {    font-weight: 600;
    font-size: 14px;
    margin-right: 15px;}

.comment-item__controls a {color: var(--tt-2);}
.comm-strike { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; flex-shrink: 0; }
.comm-strike[hidden] { display: none !important; }
.comm-strike__x {
	width: 18px; height: 18px; padding: 0; border: 0; background: transparent;
	color: #9aa0a6; font-size: 22px; line-height: 16px; cursor: pointer; position: relative;
	font-family: Arial, sans-serif; font-weight: 700;
}
.comm-strike__x:hover { color: #6b7280; }
.comm-strike__x--red { color: #e11d48; cursor: help; }
.comm-strike__x--red:hover { color: #be123c; }
.comm-strike__tip {
	display: none; position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 40;
	white-space: nowrap; padding: 5px 8px; border-radius: 6px; background: #1f2937; color: #fff;
	font-size: 12px; font-weight: 600; line-height: 1.2; pointer-events: none;
	box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.comm-strike__x:hover .comm-strike__tip { display: block; }
.comm-strike-modal {
	position: fixed; inset: 0; z-index: 12020; display: flex; align-items: center; justify-content: center;
	background: rgba(10, 14, 22, 0.55); padding: 16px;
}
.comm-strike-modal[hidden] { display: none !important; }
.comm-strike-modal__card {
	width: min(92vw, 320px); background: var(--ui-bg, #fff); color: var(--tt, #1f2937);
	border-radius: 12px; padding: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.3);
}
.comm-strike-modal__title { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.comm-strike-modal__opt { display: flex; align-items: center; gap: 8px; margin: 8px 0; cursor: pointer; font-size: 14px; }
.comm-strike-modal__opt.is-off { opacity: .45; cursor: default; }
.comm-strike-modal__acts { display: flex; gap: 8px; margin-top: 14px; }
.comm-strike-modal__send, .comm-strike-modal__cancel {
	border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 700; cursor: pointer;
}
.comm-strike-modal__send { background: #e11d48; color: #fff; }
.comm-strike-modal__cancel { background: var(--ui-bg-darkest, #e7e9ee); color: var(--tt, #1f2937); }
@media (max-width: 720px) {
	.comm-strike { display: inline-flex !important; }
}
.comment-item__footer a:hover, .comment-item__controls a:hover,.show-comms a:hover, .page__comments-psform-form:hover {text-decoration: underline;}
.comment-item__controls .checkbox {transform: scale(0.8,0.8); margin-right: -10px;}
.comments-tree-list {display: block;margin: 0;padding: 0;list-style: none;}
.comments-tree-list .comments-tree-list {padding-left: 20px; position:relative;}
.comments-tree-item {display: block; margin: 0; padding: 0; width: 100%; box-sizing: border-box;}

/* Сворачивание ветки ответов (2+), в духе YouTube */
.comments-tree-replies-collapsed { margin: 6px 0 10px; }
/* Строка «N ответов» как колонка текста; сами ответы — только +20px от родителя */
.comments-tree-item > .comments-tree-replies-collapsed {
	--comm-replies-indent: 95px; /* 15px + 80px — как у .comment-item__main */
	--comm-thread-axis-x: 50px; /* под серединой аватарки 70px: 15 + 35 */
	/* fallback до измерения JS (comments-thread-line.js) */
	--thread-line-gap: 28px;
	--thread-corner-drop: 16px;
	--thread-line-arm: 52px;
	position: relative;
	z-index: 0;
	clear: both;
	margin: 2px 0 8px;
	margin-left: 0;
}
.comments-tree-item > .comments-tree-replies-collapsed > .comments-tree-list {
	padding-left: 20px;
}
/* «Нитка» от колонки аватара к строке «N ответов» (угол слева снизу блока) */
.comments-tree-item > .comments-tree-replies-collapsed::before {
	content: '';
	position: absolute;
	pointer-events: none;
	box-sizing: border-box;
	/* JS задаёт --thread-pseudo-left от центра .commenty; иначе как раньше */
	left: var(--thread-pseudo-left, var(--comm-thread-axis-x));
	top: calc(-1 * var(--thread-line-gap));
	width: var(--thread-line-arm, 52px);
	height: calc(var(--thread-line-gap) + var(--thread-corner-drop));
	border-left: 2px solid var(--tt-accent);
	border-bottom: 2px solid var(--tt-accent);
	border-radius: 0 0 0 8px;
	z-index: 0;
}
.comments-tree-replies-collapsed[open]::before {
	display: none;
}
.comments-tree-replies-collapsed__summary {
	position: relative;
	z-index: 1;
	cursor: pointer;
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	user-select: none;
	margin: 0 0 0 var(--comm-replies-indent, 95px);
	padding: 4px 0 6px;
}
.comments-tree-replies-collapsed__text {
	font-size: 17px;
	font-weight: 600;
	color: var(--tt-accent);
}
.comments-tree-replies-collapsed__summary::-webkit-details-marker { display: none; }
.comments-tree-replies-collapsed__summary::marker { content: ''; }
.comments-tree-replies-collapsed__chevron {
	display: inline-block;
	font-size: 11px;
	line-height: 1;
	transition: transform 0.15s ease;
}
.comments-tree-replies-collapsed[open] .comments-tree-replies-collapsed__chevron { transform: rotate(180deg); }
.comments-tree-replies-collapsed__summary:hover .comments-tree-replies-collapsed__text { text-decoration: underline; }


/* LOGIN
----------------------------------------------- */
.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); overflow: hidden;
	background-color: var(--ui-bg); border-radius: 4px; width: 400px; 
	box-shadow: 0 0 0 10px rgba(255,255,255,0.2), 0 15px 45px rgba(0,0,0,1);}
/* Меню пользователя (залогинен) — справа, без фона вкладок, прокручивается со страницей */
.login.login--modal-style {
	position: absolute;
	left: auto;
	right: max(8px, var(--indent));
	top: 78px;
	transform: none;
	box-sizing: border-box;
	width: 390px;
	max-width: calc(100% - max(8px, var(--indent)) - 8px);
	max-height: calc(100dvh - 92px);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	background: var(--bg, #fff);
	border: 1px solid #e9eaee;
	border-radius: 17px;
	box-shadow: 0 12px 45px rgba(35, 38, 51, 0.1);
	padding: 12px;
	min-width: 0;
}
.login--modal-style a { color: inherit; }
.login--modal-style a:hover,
.login--modal-style a:focus { color: inherit; text-decoration: none; }
.login--modal-style .login__header--user {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0 2px 10px;
	background: transparent;
	border-radius: 0;
}
.login--modal-style .login__avatar { width: 46px; height: 46px; margin: 0; border-radius: 10px; flex-shrink: 0; overflow: hidden; background: #b5222a; }
.login--modal-style .login__avatar img { width: 100%; height: 100%; object-fit: cover; }
.login--modal-style .login__user-info { min-width: 0; flex: 1; }
.login--modal-style .login__name { font-size: 19px; font-weight: 700; line-height: 1.15; color: var(--tt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login--modal-style .login__admin-link { display: inline-block; margin: 3px 0 0; font-weight: 400; font-size: 12px; color: var(--tt-2); text-decoration: underline; text-underline-offset: 3px; border: 0; }
.login--modal-style .login__admin-link:hover { color: var(--tt); }
.login--modal-style .login__balance { flex: 0 1 auto; min-width: 0; margin: 0; padding-left: 12px; border-left: 1px solid #ececf0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.login--modal-style .login__balance-num { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; font-weight: 600; font-size: 14px; color: var(--tt); white-space: nowrap; }
.login--modal-style .login__balance-link { color: var(--tt-2); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; border: 0; }
.login--modal-style .login__balance-link:hover { color: var(--tt); }
.login--modal-style .login__balance-icon { width: 25px; height: 25px; border-radius: 7px; background: #5bbf66; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.login--modal-style .login__balance-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.login--modal-style .login__link {
	display: flex; align-items: center; gap: 10px; width: 100%; min-height: 30px; padding: 6px;
	border-radius: 8px; color: var(--tt); font-size: 15px; text-align: left; box-sizing: border-box;
}
.login--modal-style .login__link:hover { background: #f7f7f9; }
.login--modal-style .login__link--profile { border-top: 1px solid #ececf0; border-radius: 0 0 8px 8px; padding-top: 9px; padding-bottom: 9px; }
.login--modal-style .login__ico { width: 23px; flex: none; text-align: center; font-size: 18px; color: var(--tt); }
.login--modal-style .login__txt { flex: 1; min-width: 0; line-height: 1.25; }
.login--modal-style .login__go { flex: none; width: 16px; font-size: 12px; color: #999ca5; text-align: center; }
.login--modal-style .login__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 2px 0 6px; }
.login--modal-style .login__quick a {
	display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 36px;
	padding: 8px 4px; border-radius: 8px; background: #fcf2f3; color: #b5222a; font-size: 12px; line-height: 1.15; text-align: center;
}
.login--modal-style .login__quick a span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login--modal-style .login__quick a .fal { font-size: 16px; flex: none; }
.login--modal-style .login__quick a:hover { background: #f6e3e5; color: #b5222a; }
.login--modal-style .login__adfree-slot:not(:has(a)) { display: none; }
.login--modal-style .login__adfree-slot li { list-style: none; margin: 0 0 8px; }
.login--modal-style .login__menu-item--adfree {
	display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; height: auto;
	margin: 0; padding: 8px 10px; border-radius: 8px; background: #25a55c; color: #fff; font-size: 13px; box-shadow: none;
}
.login--modal-style .login__menu-item--adfree:hover { background: #1f8f4f; color: #fff; }
.login--modal-style .login__sec { border-top: 1px solid #ececf0; padding-top: 7px; margin-bottom: 4px; }
.login--modal-style .login__sec-title { margin: 0 6px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #82858e; }
.login--modal-style .login__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.login--modal-style .login__tile {
	display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 36px; padding: 8px 10px;
	border: 1px solid #eaebef; border-radius: 9px; background: #f8f9fb; color: var(--tt); font-size: 13px; box-sizing: border-box;
}
.login--modal-style .login__tile .fal,
.login--modal-style .login__tile .fas { width: 20px; flex: none; text-align: center; font-size: 16px; }
.login--modal-style .login__tile span:last-child { min-width: 0; line-height: 1.2; }
.login--modal-style .login__tile:hover { border-color: #e1b5b8; background: #fcf2f3; color: var(--tt); }
.login--modal-style .login__foot { border-top: 1px solid #ececf0; padding-top: 5px; }
.login--modal-style .login__foot .login__link { font-size: 13px; color: #656976; }
.login--modal-style .login__foot .login__ico { color: #656976; font-size: 16px; }
.login--modal-style .login__link--out { margin-top: 2px; }
body.dt-is-active .login.login--modal-style { background: var(--bg-2); border-color: rgba(255,255,255,.08); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
body.dt-is-active .login--modal-style .login__balance,
body.dt-is-active .login--modal-style .login__link--profile,
body.dt-is-active .login--modal-style .login__sec,
body.dt-is-active .login--modal-style .login__foot { border-color: rgba(255,255,255,.1); }
body.dt-is-active .login--modal-style .login__link:hover { background: rgba(255,255,255,.06); }
body.dt-is-active .login--modal-style .login__quick a { background: rgba(181,34,42,.22); color: #ffb4ba; }
body.dt-is-active .login--modal-style .login__quick a:hover { background: rgba(181,34,42,.32); color: #ffb4ba; }
body.dt-is-active .login--modal-style .login__tile { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
body.dt-is-active .login--modal-style .login__tile:hover { background: rgba(181,34,42,.18); border-color: rgba(255,180,186,.35); }
body.dt-is-active .login--modal-style .login__foot .login__link,
body.dt-is-active .login--modal-style .login__foot .login__ico,
body.dt-is-active .login--modal-style .login__sec-title { color: var(--tt-2); }
@media screen and (max-width: 1023px) {
	.login.login--modal-style {
		position: fixed;
		top: max(96px, env(safe-area-inset-top));
		right: max(8px, env(safe-area-inset-right));
		max-height: calc(100dvh - 108px - env(safe-area-inset-bottom));
		z-index: 1000;
	}
}
@media screen and (max-width: 760px) {
	.login.login--modal-style {
		top: 148px;
		max-height: calc(100dvh - 160px - env(safe-area-inset-bottom));
	}
}
@media screen and (max-width: 640px) {
	.login.login--modal-style {
		left: max(8px, env(safe-area-inset-left));
		right: max(8px, env(safe-area-inset-right));
		width: auto;
		max-width: none;
	}
}
@media screen and (max-width: 420px) {
	.login.login--modal-style { padding: 10px; border-radius: 14px; }
	.login--modal-style .login__name { font-size: 16px; }
	.login--modal-style .login__balance { padding-left: 8px; }
	.login--modal-style .login__balance-num { font-size: 12px; gap: 4px; }
	.login--modal-style .login__balance-icon { width: 22px; height: 22px; font-size: 11px; }
	.login--modal-style .login__link { font-size: 14px; min-height: 30px; }
	.login--modal-style .login__quick { gap: 4px; }
	.login--modal-style .login__quick a { font-size: 11px; gap: 4px; padding: 8px 2px; }
	.login--modal-style .login__tile { padding: 8px; gap: 7px; font-size: 12px; }
}

.login__header {padding: 20px 40px; background-color: var(--ui-bg-darker);}
.login__title {font-size: 17px; font-weight: 600; padding: 1px 0; text-transform: capitalize;}
.login__close {cursor: pointer; font-size: 24px; opacity: 0.6; margin-left: 20px;}
.login__title a {border-bottom: 1px dotted var(--tt-2); margin-left: 10px; font-weight: 400; color: var(--tt-2);}
.login__content {padding: 20px 40px;}
.login__row {margin-bottom: 20px; position: relative; display: block; font-size: 14px; color: var(--tt-2);}
.login__caption {font-size: 14px; color: var(--tt); margin-bottom: 10px;}
.login__caption a {text-decoration: underline; margin-left: 6px; color: var(--tt-accent);}
.login__input input {padding-left: 40px;}
.login__row .fal {opacity: 0.5; position: absolute; left: 0; bottom: 0; line-height: 40px; width: 40px; text-align: center;}
.login__row button {width: 100%;}
.login__social {background-color: var(--ui-bg-darker); padding: 20px 40px; text-align: center;}
.login__social-caption {font-size: 11px; text-transform: uppercase; margin-bottom: 10px;}
.login__social-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
.login__social-btns img {display:block; width:30px; height: 30px; border-radius: 50%;}
.login__avatar {width: 40px; height: 40px; border-radius: 10px; margin-right: 10px;}
.login__menu {padding-left: 35px; padding-right: 35px; margin-bottom: -10px;}
.login__menu li {flex: 1 1 0; min-width: auto; max-width: 100%; margin: 0 5px 10px 5px;}
.login__menu a {display: block; border-radius: 6px; padding: 10px; text-align: center; white-space: nowrap;
	background-color: var(--ui-bg-darker); box-shadow: inset 0 0 10px rgba(0,0,0,0.1); font-size: 13px;}
.login__menu .fal {
    display: block;
    height: 19px;
    font-size: 18px;
}

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
 .owl-carousel {width: 100%; position: relative; z-index: 1;}
 .owl-carousel .owl-stage {position: relative; display:flex; justify-content:flex-start;}
 .owl-carousel .owl-stage-outer {position: relative; overflow: hidden; transform: translate3d(0px, 0px, 0px);}
 .owl-carousel .owl-item {position: relative; min-height: 10px;}
 .owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled, .owl-carousel.owl-refresh .owl-item {display: none;}
 .owl-carousel.owl-loaded, .owl-carousel.owl-loading, .no-js .owl-carousel {display: block; opacity: 1;}
 .owl-carousel.owl-drag .owl-item {user-select: none;}
 .owl-carousel.owl-grab {cursor: move; cursor: grab;}
 .owl-carousel .animated {animation-duration: 1000ms; animation-fill-mode: both;}
 .owl-carousel .owl-animated-in {z-index: 0;}
 .owl-carousel .owl-animated-out {z-index: 1;}
 .owl-carousel .fadeOut {animation-name: fadeOut;}
 @keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
 .owl-height {transition: height 500ms ease-in-out;}
 .owl-carousel .owl-item .owl-lazy {opacity: 0; transition: opacity 400ms ease;}
 .owl-carousel .owl-item img.owl-lazy {transform-style: preserve-3d;}
 .owl-nav {position: absolute; left: 0; right: 0; top: 54%;}
 .owl-prev, .owl-next {display: flex; cursor: pointer; box-shadow: none; width: 40px; height: 40px; border-radius: 5px; 
	background: none; color: var(--tt); position: absolute; top: 0; font-size: 28px; margin-top: -40px;}
 .owl-prev {left: -40px;}
 .owl-next {right: -40px;}
 .owl-prev:hover, .owl-next:hover {background: var(--bg-dark) !important; color: #fff !important;}
 .owl-prev, .owl-next {
    color: #fff !important;
	
}
 .owl-dots {text-align: center; position: absolute; left: 0; right: 0; bottom: -37px;}
 .owl-dot {display: inline-block; width: 16px; height: 16px; border-radius: 50%; 
	cursor: pointer; background: var(--bg); margin: 0 5px; box-shadow: var(--bsh-2);}
.owl-dot.active, .owl-dot:hover {background: var(--accent-green);}
.sect--carou .owl-nav {left: auto; top: -10px; display: flex; gap: 10px;}
.sect--carou .owl-prev, .sect--carou .owl-next {position: static; width: 30px; height: 30px; border-radius: 4px; 
	font-size: 18px; background-color: var(--bg-dark); color: #fff;}


/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	opacity: 0.6; background-color: #000; cursor: pointer; display: none;}
.mobile-menu {width: min(360px, calc(100vw - 48px)); height: 100%; overflow-x: hidden; overflow-y: auto;
	padding: 0 0 env(safe-area-inset-bottom); z-index: 999; position: fixed; left: -100%; top: 0; transition: left .4s; background: var(--bg-2); border-right: 1px solid var(--bdc); -webkit-overflow-scrolling: touch;}
.mobile-menu.is-active {left: 0;}
.mobile-menu-close {cursor: pointer; display: block; left: min(360px, calc(100vw - 48px)); top: -40px; position: fixed; z-index: 999;
	width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 18px; opacity: 0;
	background-color: var(--bg-2); color: var(--tt); border: 1px solid var(--bdc); border-left: none; transition: top .4s, opacity .4s;}
.mobile-menu-close:hover { background-color: var(--fltx); color: var(--tt); }
.mobile-menu-close.is-active {top: 0px; opacity: 1;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu .header__menu {margin: 0; display: flex; flex-direction: column;}
.mobile-menu .header__menu-item--chat { order: -1; }
.mobile-menu .header__menu > li > a {height: 52px; min-height: 52px;
    border-bottom: 1px solid var(--bdc);
    padding: 0 20px;
    background: var(--bg-2);
    color: var(--tt);
    display: flex; align-items: center; gap: 12px;
    font-weight: 500; text-transform: none;}
.mobile-menu .header__menu > li > a:hover { background: var(--fltx); color: var(--tt); }
.mobile-menu .header__menu-ico { display: inline-flex; align-items: center; justify-content: center; width: 22px; font-size: 16px; color: var(--tt-2); flex-shrink: 0; }
.mobile-menu .header__menu > li > a:hover .header__menu-ico { color: var(--tt); }
.mobile-menu .header__menu-hidden a {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 5px 0;}
.mobile-menu .header__menu-hidden {    background-color: var(--bg-2);
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    width: 100%;
    display: grid;
    border-radius: 0;
    gap: 5px 10px;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    padding: 10px 20px;
    font-size: 16px;}
.mobile-menu .header__menu-hidden--more,
.mobile-menu .header__menu-hidden--more a { white-space: normal; }
.mobile-menu .header__menu-hidden--more { padding: 14px 16px 16px; }
.mobile-menu .header__menu-hidden--more a.hmm-tile { padding: 8px; overflow: visible; text-overflow: clip; }
.mobile-menu .header__menu-hidden--more a.hmm-game { padding: 10px; overflow: visible; text-overflow: clip; }
.mobile-menu .header__menu-hidden--more a.hmm-support { padding: 8px 7px; overflow: visible; text-overflow: clip; }

@media screen and (max-width: 1220px) {
	body {background-image: none;}
	.wrapper {padding: 0; background-image: none; overflow: hidden;}
	 .video-inside iframe, .video-inside frame, .plcdn {
    height: 420px;
}
	.logo {width: 200px; }
	.header__menu {
    gap: 10px;}
	.header__search.header__search--open .header__search-box { width: 180px; }
	.header__search { width: auto; }
	
	.spiski #dle-content, .sect .grid-items {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px 16px;}
	 .has-overlay__icon, .poster .poster__fav, .poster__btn-info {display: none;}
	
	#scrolltop {width: 40px; height: 40px; line-height: 40px; font-size: 18px;}
	.carou__content > .poster, .sect__content--carousel:not(.owl-carousel) > .poster {width: calc((100% - 100px)/6);}
	.sect__ctrl-menu {min-width: 100%;}
	.cols {display: block;}
	.cols__right {margin-top: 60px;}
}
@media screen and (max-width: 1080px) {
.header__menu > li > a {
  
    font-size: 13px;
}
}
@media screen and (max-width: 1023px) {

.header .header__menu {display: none;}
	.header__search {flex: 0 1 auto; max-width: 280px; min-width: 35px; margin-left: auto;}

.header__btn-menu {        display: flex;
        margin-left: 10px;
        padding: 0;
        width: 35px;
        height: 35px;
        font-size: 17px;
        order: 1;
        background: #a1a1a13d;
        color: var(--tt-3);
        border-radius: 50%;}
	.header__avatar-wrap { order: 2; }
	.header > .header__btn-login { order: 2; }
	.header__btn-login {background-color: var(--bg); color: var(--tt-3); box-shadow: 0 0 0 1px var(--bdc);}
 .video-inside iframe, .video-inside frame, .plcdn {
    height: 380px;
}
}

@media screen and (max-width: 950px) {
	.animli {
    margin: 20px 0 0;
}
.sockn {
    position: relative;
  
   
}
 .video-inside iframe, .video-inside frame, .plcdn {
    height: 350px;
}
.comment-item__rating a > span {

    margin-right: 5px;
}

	.spiski #dle-content, .sect .grid-items {
    grid-template-columns: repeat(1,minmax(0,1fr));
 
}
	
	.carou__content > .poster, .sect__content--carousel:not(.owl-carousel) > .poster {width: calc((100% - 80px)/5);}
	.card__bottom .btn {width: 100%;}
	.card__meta.flex-grow-1 {margin: 0;}
	.card__text {-webkit-line-clamp: 3;}
	.linek__img {margin: 0px; margin-right: 10px; width: 70px;
    height: 90px;}
	.linek {padding: 10px;}
	.count-items .linek::before {right: 10px; margin-top: -20px;}
	.pmovie__main {
    display: grid;
    gap: 0 30px;
    grid-template-columns: 260px minmax(0,1fr);
   grid-template-areas:
		"pimg pheader"
"pimg  plist"
"anime2 anime"
"anime3 anime4";
    margin-bottom: 60px;
}
}
@media screen and (max-width: 760px) {
	
		/* На мобильной поле поиска всегда видно, как раньше */
	.header__search .header__search-trigger { display: none; }
	.header__search .header__search-box { width: 100%; max-width: 280px; opacity: 1; }
	.header__search input { min-width: 0; }
	.header__search.header__search--open .header__search-box { width: 100%; max-width: 280px; }
	.header__search.header__search--open input { min-width: 0; }
	.content {
    padding: 30px var(--indent);   }
	 .player_blok {
    display: grid;
    gap: 0;
    grid-template-columns: 100%;
    grid-template-areas: "player ";
}
.posled_ser {
  
    display: none;
}
	.header__avatar-btn .uved {
		top: -4px;
		right: -4px;
		bottom: auto;
		left: auto;
		min-width: 16px;
		height: 16px;
		padding: 0 4px;
		line-height: 16px;
		text-align: center;
		border-radius: 99px;
		box-sizing: border-box;
	}
.ftop-item__title {
    font: 15px 'GothamProRegular', sans-serif;
    line-height: 18px;
    margin-top: 6px;
    white-space: nowrap;
    height: 35px;
}
	.ulpad{background: var(--fltx);
	border-radius:10px;
	margin-bottom: 10px;}
	.full-text-com {
    padding: 0 10px;}
	
	.comment-item__img {
    width: 50px;
    height: 50px;}
	.commenty {
		width: 50px;
		max-width: 50px;
	}
	.commenty .comm-premium {
		font-size: 8px;
	}
	.comment-item__avatar-col--premium {
		width: 50px;
		padding-top: 14px;
	}
	.comment-item__img.comment-item__img--premium {
		width: 50px;
		height: 50px;
	}
	
.comment-item__main {
    margin: 0;}
	.comments-tree-item > .comments-tree-replies-collapsed {
		--comm-replies-indent: calc(var(--indent) + 60px);
		--comm-thread-axis-x: calc(var(--indent) + 25px); /* середина аватарки 50px */
		--thread-corner-drop: 14px;
		margin-left: 0;
	}
	/* ширина «нитки» задаётся JS — --thread-line-arm */
	
	.carou {
    display: none;}
	
.theme-toggle {margin-left: 9px;}
.alert_module-icon {margin-left: 9px;}
.header__btn-login {margin-left: 9px;}
.header__btn-menu {margin-left: 9px;}




.amdcomm {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1,minmax(0,1fr));
}
.ftop-item { width: 100%;
    margin-right: 0;
	margin-bottom: 10px;} 
 .video-inside iframe, .video-inside frame, .plcdn {
    height: 300px;
}
	.carou__content > .poster, .sect__content--carousel:not(.owl-carousel) > .poster {width: calc((100% - 40px)/3);}
	.header__search {order: 10; min-width: 100%; margin: 0;}
	/* На мобильной поле поиска всегда на всю ширину, как раньше */
	.header__search .header__search-trigger { display: none; }
	.header__search .header__search-box { width: 100%; max-width: none; opacity: 1; }
	.header__search input { min-width: 0; width: 100%; }
	.header__search.header__search--open .header__search-box { width: 100%; max-width: none; }
	.header__search.header__search--open input { min-width: 0; width: 100%; }
	.logo {flex: 1 1 0; min-width: 50px; max-width: 100%;}
	.sect__ctrl-menu li, .sect__ctrl-menu li a, .sect__ctrl-menu label, 
	.sect__ctrl-menu label div {justify-content: center; flex-grow: 1; text-align: center;}
	.footer__top, .footer__bottom, .footer__menu, .footer__text {justify-content: center; min-width: 100%; text-align: center;}
	.footer__menu {gap: 20px; margin-bottom: 20px;}
	.sect__ctrl-menu {gap: 10px;}
	.sect__ctrl-menu a, .sect__ctrl-menu label div {background-color: var(--bg); color: var(--tt); border-radius: 4px; padding: 0 10px;}
	.card {grid-template-columns: 120px minmax(0,1fr); grid-template-rows: min-content min-content 1fr; 
		grid-template-areas: "cimg ctitle" "cimg cbtm" "cdesc cdesc"; gap: 15px 10px;}
	.card__img {height: 180px;}
	.card__bottom {align-self: flex-end;}
	.card .poster__fav {right: auto; top: 100px; left: 150px;}
	.card__rating-ext span {display: none;}
	.card__title {padding: 0; margin: 0;}
	.linek {align-items: flex-start;}
	.linek .poster__fav {position: static; margin-top: 10px;}
	.linek__title {padding: 0;}
	.linek__meta {margin-top: 5px;}
	.linek .card__btn {margin-left: -90px; width: calc(100% + 90px);}
	.count-items .linek::before {right: 10px; margin-top: -5px; top: 10px; transform: none;}

	.pmovie__main {
    display: grid; 
    gap: 0 10px;
    grid-template-columns: 100%;
   grid-template-areas:
  "pheader"
"pimg"
"anime"
"anime2"
"anime3"
"plist"
"anime4";
    margin-bottom: 60px;}

	.pmovie__header h1 {font-size: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: center;}
	.pmovie__main-info {
    text-align: center;
}
	.pmovie__list li {padding-left: 130px;}
	.pmovie__img {margin: 0 auto;}
	.pmovie__rating--10-stars {bottom: 13px; width: 200px;}
	.pmovie__header {padding: 0; margin: 0 auto;}
	.pmovie__header .poster__fav {position: static; margin-top: 20px; display: inline-flex;}
	
	.page__text .quote {margin-left: var(--indent-negative); margin-right: var(--indent-negative); padding-right: var(--indent);}
	.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 18px;}
	
	.comments-tree-list .comments-tree-list {padding-left: 20px;}
	.show-comms a {margin: 0 var(--indent); margin-top: 15px; margin-bottom: -5px;}
	.page__comments {border: 0; margin-left: var(--indent-negative); margin-right: var(--indent-negative);}
	.page__comments-psform, .comment-item, .page__comments-title {padding-left: var(--indent); padding-right: var(--indent);}
	.add-comments-form__input {min-width: 100%; margin: 0 0 10px 0;}
	.add-comments-form__btn {width: 100%; order: 10;}
	.add-comments-form .form__row--protect .form__caption {width: 100%; margin: 0 0 10px 0;}
	.mass_comments_action, .comment-item__controls {display: none;}
	/* Стена профиля: «Удалить» и др. — показывать на мобильной (общее правило скрывает правую колонку у комментариев) */
	.profile-wall .comment-item__controls {
		display: flex;
	}
	/* Подборки (страница подборки) + стена профиля: те же мобильные правила дерева/карточки, что diary.css для дневника */
	.ac-page--single #ac-comments .comments-tree-list .comments-tree-list,
	#profile-wall .comments-tree-list .comments-tree-list {
		padding-left: 20px;
	}
	.ac-page--single #ac-comments .comments-tree-list .comments-tree-list .comments-tree-list,
	#profile-wall .comments-tree-list .comments-tree-list .comments-tree-list {
		padding-left: 20px;
	}
	.ac-page--single #ac-comments .comments-tree-list .comments-tree-list .comments-tree-list .comments-tree-list,
	.ac-page--single #ac-comments .comments-tree-list .comments-tree-list .comments-tree-list .comments-tree-list .comments-tree-list,
	#profile-wall .comments-tree-list .comments-tree-list .comments-tree-list .comments-tree-list,
	#profile-wall .comments-tree-list .comments-tree-list .comments-tree-list .comments-tree-list .comments-tree-list {
		padding-left: 0;
	}
	.ac-page--single #ac-comments .ac-comm-tree > .comments-tree-item > .comment-item,
	#profile-wall ol.profile-wall-tree-list > li > .comment-item {
		margin-left: var(--indent-negative);
		margin-right: var(--indent-negative);
		padding-left: 0;
		padding-right: 0;
	}
	.ac-page--single #ac-comments .comments-tree-list .comments-tree-list > .comments-tree-item > .comment-item,
	#profile-wall .comments-tree-list .comments-tree-list > li > .comment-item {
		padding-left: 0;
		padding-right: 0;
	}
	.ac-page--single #ac-comments .comment-item__main,
	#profile-wall .comment-item__main {
		margin-left: 0;
	}
	.ac-page--single #ac-comments .comment-item__main.full-text-com,
	#profile-wall .comment-item__main.full-text-com {
		padding-left: 0;
		padding-right: 0;
	}
}

@media screen and (max-width: 590px) {
.grid-items, #dle-content {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}
	 .video-inside iframe, .video-inside frame, .plcdn {
    border-radius: 10px 10px 0 0;
}
 .video-inside iframe, .video-inside frame, .plcdn {
    height: 250px;
}
	.login {max-width: 90%; max-height: 90%; overflow-x: hidden; overflow-y: auto;}
	.login__header, .login__content, .login__social, .pages-bg {padding-left: 20px; padding-right: 20px;}
	.sect--carou .sect__title {min-width: calc(100% + 80px); margin-right: -80px;}
	
	.pmovie__subtitle {font-size: 16px;}
	.pmovie__share-caption {display: none;}
}

@media screen and (max-width: 470px) {
.logo {
 background: var(--bg-bgam);
}
.video-inside iframe, .video-inside frame, .plcdn {
    border-radius: 0;
}
.kontaiher {
    border-radius: 0;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 220px;
}
	.carou__content > .poster, .sect__content--carousel:not(.owl-carousel) > .poster {width: calc((100% - 20px)/2);}
	.header__logo {font-size: 18px;}
	.header__search-form {
    width: 100%;
}
	.header__search {margin-top: 0px;}
	.coll {height: 140px;}
	.cols__right {margin: 0 var(--indent-negative); margin-top: 40px;}
	.descr {padding-top: 40px;}
	.pagination__pages {padding-top: 20px;}
	.card__meta.flex-grow-1 {display: none;}
	.card__title h3 {font-size: 16px; padding: 0;
		display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
	.speedbar {margin-bottom: -20px;}
	.comment-item__date {width: 100%;}
}


/* BUG FIXES 
----------------------------------------------- */
/* РІС‹С€Рµ РёР·РјРµРЅРµРЅРѕ 507 СЃС‚СЂРѕРєР°. 1fr --> minmax(0,1fr) */

/* UPDATES
----------------------------------------------- */
@media screen and (min-width: 1220px) {
	.cols--no-cols {display: block;}
	.cols--no-cols .cols__right {margin-top: 60px;}
	.cols--no-cols .sb__grid, .cols--no-cols .upd.is-active .upd__items {grid-template-columns: repeat(auto-fill,minmax(360px,1fr));}
}
.sb__grid {display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); counter-reset: num;}
.sb--mt {margin-top: 20px;}
.sb--mt .sb__title {border-bottom: 1px solid var(--bdc);}
.ftop-item .has-overlay__icon {padding: 0;}

.amd {overflow: hidden;margin-bottom: 40px;}
.ftop-item, .ftop-item__desc {position: relative; z-index: 5;}
.ftop-item__img {
    width: 60px;
    height: 70px;
    border-radius: 10px;
    margin-right: 15px;
    z-index: 5;
	
}
.animseri {        padding: 8px;
    text-align: center;
    color: #8e8e8e;
    font-size: 15px;
	  line-height: 15px;}
.animseri span {
  font-size: 30px;
    font-weight: 700;
    color: var(--tt-accent);
    display: block;
    opacity: 0.6;
    line-height: 32px;
}
.animseri .ep-q-home {
	display: block;
	width: fit-content;
	margin: 4px auto 0;
	opacity: 0.9;
	padding: 1px 4px;
	border-radius: 4px;
	background: #ffbb00;
	color: #000000;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
}
.lcomm {font-size: 13px; border-bottom: 1px solid var(--bdc); padding: 15px;}
.lcomm__link {display: block; font-size: 12px; color: var(--tt-3); padding-left: 1px; font-weight: 500;}
.lcomm__date {font-size: 12px; color: var(--tt-2); margin-left: 10px;}
.lcomm__text {margin: 8px 0 10px 0; opacity: 0.66; -webkit-line-clamp: 3;}
.lcomm__author {font-weight: 500;}
.lcomm__av {width: 24px; height: 24px; border-radius: 10px; margin-right: 10px;}


.fr-list {counter-reset: num;  flex-direction: column-reverse;}
.fr::before {content: counter(num); counter-increment: num; width: 40px; text-align: center; margin-top: -1px; 
	color: var(--tt-accent); font-weight: 600; position: absolute; left: 0px; top: 50%; transform: translateY(-50%);}
.fr {cursor: pointer; position: relative; padding: 6px 10px; padding-left: 40px; border-radius: 4px;}
.fr:nth-child(2n) {background-color: var(--fltx);}
.fr__title {display: inline-block; max-width: 100%; line-height: 26px; height: 20px; font-weight: 400;font-size:16px;}
.fr:hover {    background: var(--hov); z-index: 3;}
.fr__year {color: var(--tt-2); margin: 0 10px; font-size: 13px;}
.fr__rating {background: var(--accent-gray); color: #fff; font-weight: 700; font-size: 12px; width: 30px; height: 30px; border-radius: 15px;}
.clrrating-1, .clrrating-2, .clrrating-3, .clrrating-4 {background-color: var(--accent-anim);}
.clrrating-7, .clrrating-8 {background-color: var(--accent-green);}
.clrrating-9, .clrrating-10 {background-color: var(--accent-gold);}
.is-active .fr__title { color: var(--tt-3);}
.fr.is-active::before {content: ""; display: block; left: 13px; 
	background-size: 13px 15px; background-repeat: no-repeat; width: 13px; height: 15px; 
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='13px' height='15px' viewBox='0 0 13 15' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='sprite' transform='translate(-170.000000, -111.000000)' fill='%23000000' fill-rule='nonzero'%3E%3Cg id='play_black' transform='translate(170.000000, 111.000000)'%3E%3Cpath d='M12.508581,8.36085 L1.50873,14.86076 C1.033253,15.14173 0.420037,14.98404 0.139074,14.50857 C0.048028,14.35449 0,14.1788 0,13.99984 L0,1 C0,0.44772 0.447715,0 1,0 C1.178966,0 1.354653,0.04803 1.50873,0.13908 L12.508581,6.63899 C12.984057,6.91996 13.141741,7.53317 12.860778,8.00865 C12.774963,8.15388 12.653806,8.27503 12.508581,8.36085 Z' id='Triangle'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.dt-is-active .fr.is-active::before {filter: invert(0.8);}
.pmovie__btn-scroll {margin-top: 6px; padding: 0 10px; height: 24px; gap: 5px; font-size: 12px; border-radius: 3px;}
.pmovie__rating-likes {gap: 10px; padding-top: 2px;}
.pmovie__rating-likes > * {display: flex;
    align-items: center;
    color: #fff;
    padding: 0 10px 0 0;
    overflow: hidden;}
.pmovie__rating-likes > * .fal 
{font-size: 20px;
    margin-right: 10px;
    width: 40px;
    border-radius: 10px;
    height: 40px;
    display: grid;
    place-items: center;
    background-color: #1e98c4;
    color: #fff;}
.pmovie__rating-likes > * + * .fal {background-color: #dd5161;}

.pmovie__rating-likes > * .fal:hover   { opacity: 0.8}
.pmovie__rating-likes > a:hover  { color: #fff;}
[data-actorimg] {position: relative; z-index: 999;}
.actor-preview {position: absolute; left: 50%; bottom: 100%; margin-left: -100px; width: 200px; 
	background-color: var(--bg); border-radius: 6px; padding: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.2);}
.bottom .actor-preview {top: 100%; bottom: auto;}
@media screen and (max-width: 760px) {
	.pmovie .poster__fav {display: flex; justify-content: space-between; gap: 10px;}
	.pmovie__btn-scroll {margin: 0; flex-grow: 1; padding: 0;}
	.pmovie__btn-scroll span {display: none;}
	.pmovie__btn-scroll::before {content: attr(data-mobtext); display: inline;}
}

.filter-block-toggle {border-radius: 0; width: 100%; gap: 10px; margin-bottom: 40px;}
.filter-block {    margin-bottom: 40px;
    background-color: var(--fltx);
    padding: 20px;
    border-radius: 10px;}
.filter-block__form {display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); grid-gap: 10px 20px;}
.filter-block__cell--full-width {grid-column: 1 / -1;}
.filter-block__cell-caption {margin-bottom: 10px;}
.filter-block__cell-content > * {width: 100%; display: block;}
.filter-block__cell-content--two-columns {display: flex; justify-content: space-between;}
.filter-block__cell-content--two-columns > * {width: calc((100% - 10px)/2) !important;}
.filter-block__cell-content select, .filter-block__cell-content input[type="text"], 
.filter-block__cell-content--check-group {height: 36px; line-height: 34px; background-position: right 8px top 50%;
	background-color: var(--bg); color: var(--tt-2); border: 1px solid var(--bdc); border-radius: 4px; 
	box-shadow: none; font-size: 14px;  padding: 0 7px; 
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.filter-block__cell-content select {padding: 0 20px 0 4px;}
.filter-block__cell-content input[type="text"]::placeholder {opacity: 1; color: var(--tt-2); font-size: 14px;}
.filter-block__cell-content input[type="text"]:focus::placeholder {opacity: 0;}
.filter-block__cell-content label {position: relative; padding-left: 50px; cursor: pointer; 
	height: 36px; display: flex; flex-direction: column; justify-content: center; font-size: 14px;}
.filter-block__cell-content label input {display: inline-block; appearance: none; -webkit-appearance: none;
	height: 20px; width: 40px; border-radius: 10px; background-color: #8c8c8c; cursor: pointer; transition: all .2s linear; 
	box-shadow: inset 0 2px 5px rgba(0,0,0,0.1); position: absolute; left: 0; top: 50%; margin-top: -10px;}
.filter-block__cell-content label input::before {content: ''; width: 18px; height: 18px; border-radius: 10px; 
	position: absolute; left: 1px; top: 1px; background-color: var(--bg); transition: all .2s linear;}
.filter-block__cell-content label input:checked {background-color: #6ab04c;}
.filter-block__cell-content label input:checked::before {left: 21px;}
.filter-block__cell-content input[type="button"], .filter-block__cell-content button {cursor: pointer; 
	height: 36px; display: inline-flex; justify-content: center; padding: 0 10px; box-shadow: none; border-radius: 4px;}
.filter-block__cell-content input[type="button"][data-dlefilter="reset"] {background: var(--bg-2); color: var(--tt-2);}
.filter-block__cell-content--check-group label {padding: 0; text-align: center; white-space: nowrap; 
	flex: 1 1 0; min-width: 30px; max-width: 100%;}
	.filter-block__cell-content--check-group label:hover {

    background: var(--bg-btn-hover);
	color:#fff;
}
.filter-block__cell-content--check-group label input {position: absolute; left: 0; top: 0; 
	width: 100%; height: 100%; opacity: 0; z-index: 5;}
.filter-block__cell-content--check-group {display: flex; justify-content: center; overflow: hidden; padding: 0;}
.filter-block__cell-content--check-group label + label {border-left: 1px solid var(--bg-2);}
.filter-block__cell-content--check-group label div {height: 36px; font-size: 13px;}
.filter-block__cell-content--check-group label input:checked + div  {
    background-color: var(--bg-btn-hover1);
    color: #ffffff;
}
@media screen and (max-width: 1220px) {
	.filter-block-toggle {display: flex; margin-bottom: 40px;     border-radius: 10px;}
	.filter-block {display: none; margin-top: -40px;}
}

/* только кнопка под постером */
.animedia-fs-actions--poster .animedia-fs-btn {}
.animedia-fs-actions--poster .animedia-fs-dropdown .animedia-fs-btn {
        width: 100%;
    border: 0;
    box-shadow: none;
    background: var(--bg1s);
}
.animedia-fs-actions--poster .animedia-fs-dropdown .animedia-fs-btn:hover {
   
    background: #973e48;
}
/* выпадающее меню под постером */
.animedia-fs-actions--poster .animedia-fs-dropdown__menu { }

/* РљРѕРЅС‚РµР№РЅРµСЂ РєРЅРѕРїРѕРє */
.animedia-fs-actions {
	
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0px 0px 10px;
    background: #000000;
    margin-top: -8px;
	padding-top: 8px;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* РћР±С‰РёРµ СЃС‚РёР»Рё РєРЅРѕРїРѕРє вЂ” РѕРґРёРЅ СЂР°Р·РјРµСЂ Рё РѕРґРёРЅ С€СЂРёС„С‚ */
.animedia-fs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 240px;
	min-height: 36px;
	height: 36px;
	padding: 0 18px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
	outline: none;
	box-sizing: border-box;
}

/* РЎСЃС‹Р»РєР°-РєРЅРѕРїРєР° (Telegram): С‚Рµ Р¶Рµ С€СЂРёС„С‚ Рё РІС‹СЃРѕС‚Р°, Р±РµР· РїРµСЂРµРѕРїСЂРµРґРµР»РµРЅРёСЏ РіР»РѕР±Р°Р»СЊРЅС‹РјРё СЃС‚РёР»СЏРјРё a */
a.animedia-fs-btn {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
}


.animedia-fs-btn__icon {
	display: inline-flex;
	font-size: 1.1em;
	opacity: 0.95;
}

.animedia-fs-btn__text {
	display: inline-block;
}

/* 1. РљРЅРѕРїРєР° СЂР°СЃСЃС‹Р»РєРё (Telegram) вЂ” Р±РµР»С‹Р№ С‚РµРєСЃС‚ */
.animedia-fs-btn--newsletter {
	background: linear-gradient(135deg, #2481cc 0%, #1a6bb3 100%);
	color: #fff !important;
	box-shadow: 0 2px 8px rgba(36, 129, 204, 0.35);
}



.animedia-fs-newsletter {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.animedia-fs-newsletter .animedia-fs-btn {
	flex: 0 0 auto;
}

.animedia-fs-newsletter__count {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

/* 2. РљРЅРѕРїРєР° РїСЂРёР»РѕР¶РµРЅРёСЏ AniMedia вЂ” РєСЂР°СЃРЅС‹Р№ С„РѕРЅ, Р±РµР»С‹Р№ С‚РµРєСЃС‚ */
.animedia-fs-btn--app {
	color: #fff !important;
    background: linear-gradient(179deg, #ffac00ad 0%, #ff9900c9 100%);
    box-shadow: inset 0 1px 0 rgb(255 221 15 / 49%);
}

.animedia-fs-btn--app:hover {
	    background: #845900;

}
.tg-sub-block a {
  display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(179deg, #037dacad 0%, #097b92c9 100%);
    box-shadow: inset 0 1px 0 rgb(25 167 212 / 49%);
}

.tg-sub-block a:hover {
  background: #005365;
}
/* 3. РљРЅРѕРїРєР° В«Р”РѕР±Р°РІРёС‚СЊ РІ СЃРїРёСЃРєРёВ» Рё РІС‹РїР°РґР°СЋС‰РµРµ РјРµРЅСЋ */
.animedia-fs-btn--list {
	color: #e8e8e8;
    background: linear-gradient(179deg, #ca0000ad 0%, #bf0000c9 100%);
    box-shadow: inset 0 1px 0 rgb(251 3 3 / 49%);
}

.animedia-fs-btn--list:hover {
	 background: #660a19;
}

.animedia-fs-dropdown__arrow {
	margin-left: 2px;
	font-size: 0.75em;
	transition: transform 0.2s ease;
}

.animedia-fs-dropdown__toggle.is-open .animedia-fs-dropdown__arrow {
	transform: rotate(180deg);
}

/* Р’С‹РїР°РґР°СЋС‰РµРµ РјРµРЅСЋ */
.animedia-fs-dropdown {
	position: relative;
}

.animedia-fs-dropdown .animedia-fs-btn {
	width: 200px;
}

.animedia-fs-dropdown__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 200px;
	padding: 8px;
	background: linear-gradient(180deg, #252525 0%, #1a1a1a 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 100;
}

.animedia-fs-dropdown__menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.animedia-fs-dropdown__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* Р­Р»РµРјРµРЅС‚С‹ СЃРїРёСЃРєР° (РЎРјРѕС‚СЂСЋ, Р—Р°РїР»Р°РЅРёСЂРѕРІР°РЅРѕ Рё С‚.Рґ.) вЂ” РІРЅСѓС‚СЂРё РІС‹РїР°РґР°СЋС‰РµРіРѕ РјРµРЅСЋ */
.animedia-fs-dropdown__list li {
	display: block;
	margin: 0;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	transition: background 0.15s ease, color 0.15s ease;
}

.animedia-fs-dropdown__list li:hover {
	background: rgba(255, 255, 255, 0.08);
}

.animedia-fs-dropdown__list li.active {
	background: linear-gradient(135deg, #de3e3e 0%, #b83232 100%);
	color: #fff;
}

.animedia-fs-dropdown__list li a {
	color: inherit;
	text-decoration: none;
	display: block;
}

/* РђРґР°РїС‚РёРІ вЂ” РєРЅРѕРїРєРё РІ СЃС‚РѕР»Р±РёРє, РѕРґРЅРѕРіРѕ СЂР°Р·РјРµСЂР° */
@media (max-width: 600px) {
	.animedia-fs-actions {
		flex-direction: column;
		align-items: stretch;
		padding: 12px 10px;
		gap: 10px;
	}

	.animedia-fs-actions__item {
		width: 100%;
	}

	.animedia-fs-btn,
	.animedia-fs-dropdown .animedia-fs-btn {
	
	}

	.animedia-fs-newsletter {
		flex-direction: column;
		align-items: stretch;
	}

	.animedia-fs-newsletter .animedia-fs-btn {
		width: 100%;
	}

	.animedia-fs-btn__text {
		display: inline-block;
	}

	.animedia-fs-btn__icon {
		margin: 0;
	}

	.animedia-fs-dropdown__arrow {
		display: inline-block;
	}

	.animedia-fs-newsletter__count {
		text-align: center;
		font-size: 12px;
		margin-top: 2px;
	}
}

@media (min-width: 601px) {
	.animedia-fs-dropdown__menu {
		left: 0;
		transform: translateY(-6px);
		min-width: 220px;
	}

	.animedia-fs-dropdown__menu.is-open {
		transform: translateY(0);
	}
}

/* Витрина карточек на профиле (под «Смотрю»; styles.css — без cards.css) */
.profile-cards-showcase {
	margin: 0 0 24px;
	width: 100%;
	padding: 0;
	border: none;
	background: transparent;
}
.profile-cards-showcase .friends-section-head {
	margin-bottom: 12px;
}
.profile-cards-showcase .friends-cards-line {
	flex-wrap: wrap;
	overflow: visible;
}

/* Дневник в профиле (над стеной) */
.profile-diary-widget {
	margin: 0 0 16px;
	padding: 14px;
	border: 1px solid var(--bdc);
	border-radius: 12px;
	background: var(--ui-bg, var(--bg));
}

.profile-diary-widget__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.profile-diary-widget__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--tt);
}

.profile-diary-widget__all {
	color: var(--tt-accent, var(--accent));
	text-decoration: none;
	font-weight: 700;
}

.profile-diary-widget__all:hover {
	text-decoration: underline;
}

.profile-diary-widget__card {
	margin-top: 4px;
}

.usp-cards-showcase__row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: flex-start;
	align-items: stretch;
	overflow: visible;
}
.usp-cards-showcase__row::-webkit-scrollbar {
	display: none;
}
.usp-cards-showcase__card {
	display: block;
	flex: 0 0 auto;
	width: 112px;
	max-width: 112px;
	text-decoration: none;
	color: inherit;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(106, 159, 212, 0.45);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.usp-cards-showcase__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(106, 159, 212, 0.35);
}
.usp-cards-showcase__thumb {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	border-radius: 9px;
	background: rgba(0, 0, 0, 0.2);
}
.usp-cards-showcase__thumb .amd-card-video,
.usp-cards-showcase__thumb > img:not(.amd-card-frame-q) {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	border-radius: 8px;
}
.usp-cards-showcase__thumb .amd-card-frame-q {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: fill;
	pointer-events: none;
	z-index: 2;
	border-radius: 0;
}
.usp-cards-showcase__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	vertical-align: top;
}

.home-diary-widget {
	margin-top: 16px;
	margin-bottom: 40px;
}

.home-diary-widget__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.home-diary-widget__head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.home-diary-widget__all-link,
.home-diary-widget__create-link {
	text-decoration: none;
}

.home-diary-widget__all-link {
	color: var(--tt);
}

.home-diary-widget__create-link {
	color: var(--bg1s);
	font-size: 0.92em;
	font-weight: 700;
}

.home-diary-widget__create-link:hover,
.home-diary-widget__all-link:hover {
	text-decoration: underline;
}

.home-diary-widget__card {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 14px 16px;
	border: 1px solid var(--bdc);
	border-radius: 12px;
	background: var(--bg-2);
	transition: border-color .22s ease, background-color .22s ease, transform .22s ease;
}

.home-diary-widget__card:hover {
	border-color: var(--bg1s);
	background: color-mix(in srgb, var(--bg1s) 8%, var(--bg-2));
	transform: translateX(2px);
}

.home-diary-widget__avatar {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--fltx);
}

.home-diary-widget__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-diary-widget__copy {
	min-width: 0;
}

.home-diary-widget__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home-diary-widget__title a {
	color: var(--tt);
	text-decoration: none;
}

.home-diary-widget__title a:hover {
	color: var(--bg1s);
}

.home-diary-widget__desc {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--tt-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-diary-widget__nick {
	display: inline-block;
	margin-top: 4px;
	max-width: 100%;
	font-size: 13px;
	font-weight: 600;
	color: var(--tt);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home-diary-widget__nick:hover {
	color: var(--bg1s);
}

.home-diary-widget__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	font-size: 11px;
	color: var(--tt-2);
}

.home-diary-widget__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.home-diary-widget__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 28px;
	padding: 0 10px;
	border: none;
	background: var(--bg1s);
	color: #fff;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.home-diary-widget__action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	align-self: center;
	justify-self: end;
	flex-shrink: 0;
}

.home-diary-widget__btn:hover {
	opacity: 0.92;
	color: #fff;
	transform: translateY(-1px);
}

.home-diary-widget__btn--disabled {
	cursor: default;
	opacity: 1;
	background: var(--fltx);
	color: var(--tt-2);
	transform: none;
}

.home-diary-widget__card--subscribed .home-diary-widget__btn {
	background: var(--bg1s);
	color: #fff;
}

.home-diary-widget__card--follow .home-diary-widget__btn {
	background: var(--fltx);
	color: var(--tt);
	border: 1px solid var(--bdc);
}

.home-diary-widget__card--follow .home-diary-widget__btn:hover {
	border-color: var(--bg1s);
	color: var(--bg1s);
}

@media (max-width: 900px) {
	.home-diary-widget__grid {
		grid-template-columns: 1fr;
	}

	.home-diary-widget__card {
		display: grid;
		grid-template-columns: 52px minmax(0, 1fr);
		grid-template-areas:
			"ava copy"
			"btn btn";
		align-items: start;
		padding: 12px;
		gap: 10px 12px;
	}

	.home-diary-widget__avatar {
		grid-area: ava;
		width: 52px;
		height: 52px;
	}

	.home-diary-widget__copy {
		grid-area: copy;
	}

	.home-diary-widget__action {
		grid-area: btn;
		grid-column: 1 / -1;
		justify-self: stretch;
		align-self: stretch;
		width: 100%;
		justify-content: stretch;
	}

	.home-diary-widget__btn {
		width: 100%;
		height: 36px;
	}

	.home-diary-widget__card:hover {
		transform: none;
	}

	.home-diary-widget__title {
		white-space: normal;
	}
}

/* comment form */
/* Форма комментария в стиле макета Animedia */
.amd-comm-composer {
	--amd-comm-red: #d72d46;
	--amd-comm-ink: #292d35;
	--amd-comm-muted: #8b909c;
	--amd-comm-line: #e5e6eb;
	--amd-comm-card: #fff;
	--amd-comm-bar: #fdfdfe;
	--amd-comm-hover: #f0f1f4;
	--amd-comm-active: #fbe9ec;
	--amd-comm-hint: #989ca6;
	--amd-comm-count: #a0a4af;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}
.amd-comm-eyebrow {
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 2px;
	color: var(--amd-comm-red);
	margin: 0 0 18px;
}
.amd-comm-heading {
	margin: 0 0 18px;
}
.amd-comm-heading .amd-heading__text p {
	display: none !important;
}
.amd-comm-heading > svg {
	display: none !important;
}
.amd-comm-rules {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	height: auto !important;
	min-height: 0 !important;
	color: var(--tt-accent, var(--amd-comm-red)) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: inherit !important;
	vertical-align: baseline;
	cursor: pointer;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}
.amd-comm-rules:hover {
	opacity: .85;
	background: none !important;
	color: var(--tt-accent, var(--amd-comm-red)) !important;
	box-shadow: none !important;
}
.amd-comm-card {
	background: var(--amd-comm-card);
	border: 1px solid #dddfe6;
	border-radius: 17px;
	box-shadow: 0 8px 24px rgba(35, 41, 66, 0.03);
	overflow: hidden;
	transition: border-color .2s, box-shadow .2s;
}
.amd-comm-card:focus-within {
	border-color: #d99aa4;
	box-shadow: 0 0 0 4px rgba(215, 45, 70, 0.05);
}
.amd-comm-toolbar {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-bottom: 1px solid var(--amd-comm-line);
	background: var(--amd-comm-bar);
	flex-wrap: wrap;
}
.amd-comm-tool {
	border: 0;
	background: transparent;
	color: #555b67;
	border-radius: 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 38px;
	height: 40px;
	padding: 0 11px;
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
	line-height: 1;
}
.amd-comm-tool:hover {
	background: var(--amd-comm-hover);
}
.amd-comm-tool.is-on,
.amd-comm-tool[aria-pressed="true"] {
	background: var(--amd-comm-active);
	color: var(--amd-comm-red);
}
.amd-comm-tool--letter {
	font-family: Georgia, serif;
	font-size: 20px;
}
.amd-comm-sep {
	height: 22px;
	width: 1px;
	background: var(--amd-comm-line);
	margin: 0 8px;
}
.amd-comm-tool svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}
.amd-comm-writing {
	position: relative;
	min-height: 200px;
}
.amd-comm-mascot {
	pointer-events: none;
	position: absolute;
	bottom: 12px;
	right: 24px;
	color: #d3d5dc;
	width: 90px;
	height: 60px;
	z-index: 2;
	transition: opacity .2s;
}
.amd-comm-writing.is-filled .amd-comm-mascot {
	opacity: 0;
}
.amd-comm-footer {
	padding: 10px;
	border-top: 1px solid #eff0f3;
	display: flex;
	justify-content: space-between;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
	background: var(--amd-comm-card);
}
.amd-comm-hint {
	font-size: 12px;
	color: var(--amd-comm-hint);
}
.amd-comm-hint strong {
	font-weight: 500;
	color: #69707c;
}
.amd-comm-actions {
	display: flex;
	gap: 15px;
	align-items: center;
	margin-left: auto;
}
.amd-comm-count {
	color: var(--amd-comm-count);
	font-size: 12px;
	white-space: nowrap;
}
.amd-comm-send {
	display: inline-flex !important;
	align-items: center;
	gap: 9px;
	background: var(--amd-comm-red) !important;
	color: #fff !important;
	border: 0 !important;
	padding: 11px 23px !important;
	border-radius: 10px !important;
	font-weight: 650 !important;
	font-size: 14px !important;
	box-shadow: 0 4px 9px rgba(215, 45, 70, 0.11) !important;
	cursor: pointer;
	width: auto !important;
}
.amd-comm-send:hover {
	background: #c3233b !important;
	color: #fff !important;
}
.amd-comm-cancel {
	border: 0;
	background: #f0f1f4;
	color: #555b67;
	border-radius: 10px;
	padding: 11px 18px;
	font-weight: 650;
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
}
.amd-comm-cancel:hover {
	background: #e4e6eb;
}
.comments-edit-area.amd-comm-composer,
.comments-reply-area.amd-comm-composer {
	margin: 8px 0 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border: 0;
}
.amd-comm-send svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.amd-comm-below {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	flex-wrap: wrap;
}
.amd-comm-composer .add-comments-form__rules-link.amd-comm-rules {
	color: var(--tt-accent, var(--amd-comm-red));
	text-decoration: underline;
	font-size: 13px;
}
.amd-comm-composer .add-comments-form__rules-link.amd-comm-rules:hover {
	color: var(--tt-accent, var(--amd-comm-red));
}
.amd-comm-composer .form__row {
	margin: 0;
}
.amd-comm-composer .form__row--without-label {
	padding: 0;
}
.amd-comm-composer .form__content.form__textarea-inside {
	padding: 0;
	margin: 0;
}
.amd-comm-composer .form__textarea-inside,
.amd-comm-composer .wseditor,
.amd-comm-composer .dlecomments-editor {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.amd-comm-composer .tox-tinymce {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.amd-comm-composer .tox-editor-header {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
.amd-comm-composer .tox-statusbar,
.amd-comm-composer .tox-promotion,
.amd-comm-composer .tox-throbber {
	display: none !important;
}
.amd-comm-composer .tox-edit-area,
.amd-comm-composer .tox-edit-area__iframe {
	background: transparent !important;
}
.amd-comm-composer .tox-edit-area__iframe {
	min-height: 200px;
	height: 200px;
}
.amd-comm-composer .form__row--protect {
	padding: 14px 20px 0;
}
.amd-comm-composer .add-comments-form__guest-fields {
	padding: 0 20px 16px;
	margin-top: 12px;
}
.amd-comm-composer .add-comments-form__input,
.amd-comm-composer .form__input {
	border-radius: 10px !important;
	box-shadow: inset 0 0 0 1px var(--amd-comm-line) !important;
	background: #fff !important;
}

/* TinyMCE / цитата / спойлер — окна в стиле макета */
body .tox.tox-tinymce-aux .tox-dialog,
.tox-silver-sink .tox-dialog {
	border-radius: 15px !important;
	border: 1px solid var(--amd-comm-line, #e5e6eb) !important;
	box-shadow: 0 12px 35px rgba(49, 54, 70, 0.12) !important;
	overflow: hidden;
}
body .tox-dialog:has(.tox-dialog__body-iframe),
.tox-silver-sink .tox-dialog:has(.tox-dialog__body-iframe) {
	position: relative !important;
	width: 460px !important;
	max-width: 460px !important;
	height: 380px !important;
	max-height: 380px !important;
}
body .tox .tox-dialog__header {
	padding: 16px 18px 10px !important;
	background: #fff !important;
	border-bottom: 0 !important;
}
body .tox .tox-dialog__title {
	font-size: 16px !important;
	font-weight: 650 !important;
	color: #292d35 !important;
}
body .tox .tox-dialog__body-content {
	padding: 8px 18px 16px !important;
}
body .tox .tox-dialog__footer {
	background: #fdfdfe !important;
	border-top: 1px solid #eff0f3 !important;
	padding: 12px 16px !important;
}
body .tox .tox-button {
	background: #d72d46 !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-weight: 650 !important;
	box-shadow: 0 4px 9px rgba(215, 45, 70, 0.14) !important;
}
body .tox .tox-button:hover {
	background: #c3233b !important;
}
body .tox .tox-button--secondary {
	background: #f0f1f4 !important;
	color: #555b67 !important;
	box-shadow: none !important;
}
body .tox .tox-textarea,
body .tox .tox-textfield {
	border-radius: 10px !important;
	border: 1px solid #e5e6eb !important;
	min-height: 120px;
}
body .tox .tox-dialog-wrap__backdrop {
	background: rgba(28, 32, 42, 0.28) !important;
}

/* Тёмная тема */
body.dt-is-active .amd-comm-composer {
	--amd-comm-ink: #e8eaef;
	--amd-comm-muted: #9aa1ae;
	--amd-comm-line: #2c3342;
	--amd-comm-card: #1c212b;
	--amd-comm-bar: #181d26;
	--amd-comm-hover: #2a3140;
	--amd-comm-active: #3a2430;
	--amd-comm-hint: #8b93a3;
	--amd-comm-count: #8b93a3;
}
body.dt-is-active .amd-comm-heading > svg {
	display: none !important;
}
body.dt-is-active .amd-comm-rules {
	border: 0;
	color: var(--tt-accent);
	background: none;
}
body.dt-is-active .amd-comm-card {
	border-color: #323a4a;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
body.dt-is-active .amd-comm-card:focus-within {
	border-color: #a05060;
	box-shadow: 0 0 0 4px rgba(215, 45, 70, 0.12);
}
body.dt-is-active .amd-comm-tool {
	color: #c5cad4;
}
body.dt-is-active .amd-comm-mascot {
	color: #3a4254;
}
body.dt-is-active .amd-comm-footer {
	border-top-color: #2c3342;
}
body.dt-is-active .amd-comm-hint strong {
	color: #c5cad4;
}
body.dt-is-active .amd-comm-composer .add-comments-form__input,
body.dt-is-active .amd-comm-composer .form__input {
	background: #151922 !important;
	box-shadow: inset 0 0 0 1px #323a4a !important;
	color: #e8eaef !important;
}
body.dt-is-active .amd-comm-cancel {
	background: #2a3140;
	color: #e8eaef;
}
body.dt-is-active .tox .tox-dialog {
	background: #1c212b !important;
	border-color: #323a4a !important;
}
body.dt-is-active .tox .tox-dialog__header,
body.dt-is-active .tox .tox-dialog__body,
body.dt-is-active .tox .tox-dialog__body-content {
	background: #1c212b !important;
}
body.dt-is-active .tox .tox-dialog__title {
	color: #eef0f5 !important;
}
body.dt-is-active .tox .tox-dialog__footer {
	background: #181d26 !important;
	border-top-color: #2c3342 !important;
}
body.dt-is-active .tox .tox-textarea,
body.dt-is-active .tox .tox-textfield {
	background: #151922 !important;
	border-color: #323a4a !important;
	color: #e8eaef !important;
}
body.dt-is-active .tox .tox-label,
body.dt-is-active .tox .tox-dialog__body-content {
	color: #c5cad4 !important;
}
body.dt-is-active .tox .tox-button--secondary {
	background: #2a3140 !important;
	color: #e8eaef !important;
}

@media (max-width: 600px) {
	.amd-comm-heading h2 { font-size: 22px; }
	.amd-comm-heading p { font-size: 12px; }
	.amd-comm-heading { gap: 12px; }
	.amd-comm-toolbar { gap: 1px; padding: 9px; }
	.amd-comm-tool { padding: 0 8px; font-size: 12px; gap: 6px; }
	.amd-comm-tool span { display: none; }
	.amd-comm-tool--letter span { display: inline; }
	.amd-comm-sep { margin: 0 3px; }
	.amd-comm-footer { padding: 13px; }
	.amd-comm-actions { width: 100%; justify-content: space-between; }
}

/* headings */
.amd-heading-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.amd-heading {
	position: relative;
	display: block;
	min-width: 0;
	min-height: 36px;
	margin: 0 0 18px;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.amd-heading__icon,
.amd-heading__svg,
.amd-heading-sprite,
.amd-comm-heading > svg {
	display: none !important;
}

.amd-heading__text {
	display: block;
	width: 100%;
	min-width: 0;
	text-align: center;
}

.amd-heading:has(.amd-heading__action) .amd-heading__text {
	padding-left: 140px;
	padding-right: 140px;
	box-sizing: border-box;
}

.amd-heading__text h1,
.amd-heading__text h2,
.amd-heading__text h3,
.amd-heading__text .sect__title,
.amd-heading__text .sect__header {
	font-size: 22px !important;
	line-height: 1 !important;
	font-weight: 700 !important;
	letter-spacing: -0.6px !important;
	margin: 0 !important;
	padding: 0 !important;
	text-transform: none !important;
	text-align: center !important;
	color: var(--tt);
}

.amd-heading__text h1 a,
.amd-heading__text h2 a,
.amd-heading__text h3 a {
	color: inherit;
	text-decoration: none;
}

.amd-heading__text h1 a:hover,
.amd-heading__text h2 a:hover,
.amd-heading__text h3 a:hover {
	color: var(--tt-accent, #c50725);
}

.amd-heading__text h1:last-child,
.amd-heading__text h2:last-child,
.amd-heading__text h3:last-child {
	margin-bottom: 0 !important;
}

.amd-heading__text p {
	display: none !important;
}

.amd-heading__action {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	flex-shrink: 0;
	z-index: 2;
}

.amd-heading__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tt-accent, #c50725);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.amd-heading__link:hover {
	opacity: .85;
}

.amd-heading__filters {
	display: flex;
	gap: 4px;
	border: 1px solid var(--bdc, #eceef1);
	padding: 3px;
	border-radius: 9px;
	align-items: center;
}

.amd-heading__filters .sect-filter-btn,
.amd-heading__filters .mylist-eye-btn {
	background: none !important;
	border: 0 !important;
	padding: 6px 12px !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	line-height: 1.2 !important;
	color: var(--tt-2, #9296a0) !important;
	min-width: 0 !important;
	height: auto !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

.amd-heading__filters .sect-filter-btn.active,
.amd-heading__filters .mylist-eye-btn.active {
	background: color-mix(in srgb, var(--tt-accent, #c50725) 12%, transparent) !important;
	color: var(--tt-accent, #c50725) !important;
	font-weight: 650;
}

.amd-heading.sect__header,
.amd-heading.sect__header--poslednie {
	position: relative;
	display: block;
	min-height: 36px;
	margin-bottom: 18px;
}

.amd-heading.sect__header--poslednie .amd-heading__action {
	left: 0;
	right: auto;
}

.wh-home .amd-heading .wh-all,
.amd-heading .wh-all {
	position: static;
	right: auto;
	top: auto;
	transform: none;
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tt-accent, #c50725);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.home-diary-widget .amd-heading {
	margin-bottom: 20px;
}

.home-diary-widget .amd-heading .home-diary-widget__all-link {
	color: inherit;
	text-decoration: none;
}

.ac-home-coll__head {
	display: block;
	justify-content: flex-start;
	margin-bottom: 18px;
}

.ac-home-coll__head .amd-heading {
	margin: 0;
}

.last-reviews-sect > .amd-heading {
	margin-bottom: 18px;
}

.sectcomm > .amd-heading {
	margin-bottom: 18px;
}

.lb-head {
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.lb-head__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-left: 0;
}

.lb-head .amd-heading {
	margin: 0;
}

.lb-head .amd-heading h3 a {
	color: inherit;
	text-decoration: none;
}

.lb-head__more.amd-heading__link,
.lb-head .amd-heading__link {
	color: var(--tt-accent, #c50725);
}

.page__reviews-block + .page__comments {
	margin-top: 20px;
}

.page__reviews-block__head {
	position: relative;
	display: block;
	min-height: 36px;
	margin-bottom: 18px;
}

.page__reviews-block__head .amd-heading {
	margin: 0;
}

.page__reviews-block__head .page__reviews-write-btn {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.page__reviews-block__head .amd-heading__action {
	display: flex;
	align-items: center;
	gap: 12px;
	left: auto;
	right: 0;
}

.page__reviews-block__head .last-reviews-read-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	background: none;
	color: var(--tt-accent, #c50725);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.page__reviews-block__head .last-reviews-read-all:hover {
	background: none;
	opacity: .85;
	text-decoration: none;
}

.posled_ser > .amd-heading,
.zagser.amd-heading {
	text-align: center;
	margin: 12px 0 16px;
	font-size: inherit;
}

.pmovie__heading.amd-heading {
	margin: 16px 0 18px;
}

.pmovie__subtitle {
	font-family: GothamProRegular, sans-serif !important;
	font-size: 22px !important;
	line-height: 1.2 !important;
	font-weight: 700 !important;
	letter-spacing: -0.6px !important;
	text-transform: none !important;
	text-align: center !important;
	color: var(--tt);
	margin: 20px 0;
}

.amd-heading--page-title {
	margin: 0 0 8px;
	text-align: center;
}

.amd-heading--page-title .amd-heading__text h1 {
	font-size: 22px !important;
	line-height: 1.2 !important;
}

.amd-heading--page-title .amd-heading__text p,
.amd-heading--page-title .amd-sub {
	font-size: 13px;
	line-height: 1.5;
	color: var(--tt-2, #8a8f9a);
	margin: 0;
}

.amd-heading__settings {
	display: flex;
	color: var(--tt-2, #999da7);
}

@media screen and (max-width: 640px) {
	.amd-heading:has(.amd-heading__action) {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		min-height: 0;
	}

	.amd-heading:has(.amd-heading__action) .amd-heading__text {
		padding: 0;
	}

	.amd-heading__text h1,
	.amd-heading__text h2,
	.amd-heading__text h3 {
		font-size: 22px !important;
	}

	.amd-heading__action,
	.page__reviews-block__head .page__reviews-write-btn {
		position: static;
		transform: none;
	}
}
