/* =========================================================
   AnimeQ.ru — custom.css
   Dark Anime / Neon Purple / Pink / Cyan
   DLE + Bootstrap 4
   Селекторы сохранены: site-*, tv-*, coffee-*
   ========================================================= */

/* =========================
   ROOT
   ========================= */

:root {
  --aq-bg: #070814;
  --aq-bg-2: #0a0c1d;
  --aq-bg-3: #10132b;

  --aq-card: rgba(16, 19, 43, 0.94);
  --aq-card-2: rgba(22, 26, 58, 0.94);
  --aq-card-3: rgba(255, 255, 255, 0.045);

  --aq-text: #f6f7ff;
  --aq-text-2: #c9cfee;
  --aq-muted: #8e96bf;
  --aq-muted-2: #69719c;

  --aq-line: rgba(150, 165, 255, 0.15);
  --aq-line-2: rgba(150, 165, 255, 0.09);
  --aq-line-strong: rgba(255, 79, 216, 0.28);

  --aq-pink: #ff4fd8;
  --aq-pink-2: #ff7ae5;
  --aq-purple: #8b5cff;
  --aq-purple-2: #a58cff;
  --aq-cyan: #35e7ff;
  --aq-cyan-2: #94f6ff;
  --aq-blue: #5e8cff;
  --aq-yellow: #ffd166;
  --aq-red: #ff5c7a;

  --aq-grad: linear-gradient(135deg, #ff4fd8 0%, #8b5cff 50%, #35e7ff 100%);
  --aq-grad-soft: linear-gradient(135deg, rgba(255, 79, 216, 0.17), rgba(139, 92, 255, 0.14), rgba(53, 231, 255, 0.12));
  --aq-grad-card: linear-gradient(180deg, rgba(18, 22, 51, 0.96), rgba(9, 11, 28, 0.98));

  --aq-radius-xl: 28px;
  --aq-radius-lg: 22px;
  --aq-radius-md: 16px;
  --aq-radius-sm: 12px;

  --aq-shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.23);
  --aq-shadow-md: 0 18px 44px rgba(0, 0, 0, 0.31);
  --aq-shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.42);

  --aq-glow-pink: 0 0 34px rgba(255, 79, 216, 0.14);
  --aq-glow-cyan: 0 0 34px rgba(53, 231, 255, 0.12);

  --aq-ease: 0.24s ease;
}

/* =========================
   BASE
   ========================= */

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--aq-bg);
}

body,
body.coffee-body {
  margin: 0;
  padding-top: 0 !important;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--aq-text-2);
  font-family: "Inter", "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 8% -6%, rgba(255, 79, 216, 0.20), transparent 30%),
    radial-gradient(circle at 92% 2%, rgba(53, 231, 255, 0.14), transparent 28%),
    radial-gradient(circle at 52% 38%, rgba(139, 92, 255, 0.10), transparent 36%),
    linear-gradient(180deg, #080916 0%, #090b1d 46%, #060713 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.20;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent 86%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.35) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 28%, rgba(255,255,255,.26) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 68%, rgba(255,255,255,.22) 0 1px, transparent 2px);
  background-size: 260px 260px, 320px 320px, 280px 280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  color: #ffffff;
  background: rgba(255, 79, 216, 0.45);
}

a {
  color: var(--aq-cyan);
  text-decoration: none;
  transition:
    color var(--aq-ease),
    background-color var(--aq-ease),
    border-color var(--aq-ease),
    box-shadow var(--aq-ease),
    transform var(--aq-ease);
}

a:hover,
a:focus {
  color: #ffffff;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

p,
li {
  color: var(--aq-text-2);
}

small,
span,
label,
div,
td,
th {
  word-wrap: break-word;
}

.text-muted {
  color: var(--aq-muted) !important;
}

.container {
  max-width: 1320px;
  position: relative;
  z-index: 2;
}

/* =========================
   TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-top: 0;
  color: var(--aq-text);
  font-family: "Inter", "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

h3 {
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
}

/* =========================
   COMMON UI
   ========================= */

.card,
.story,
.box,
.shortstory,
.fullstory,
.page,
.content-box,
.base-box,
.main-news,
.sect,
.sect-white {
  color: var(--aq-text-2);
  border: 1px solid var(--aq-line) !important;
  border-radius: var(--aq-radius-lg) !important;
  background: var(--aq-grad-card) !important;
  box-shadow: var(--aq-shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.card-body {
  padding: 22px;
}

.form-control,
input[type="text"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  min-height: 46px;
  border-radius: 14px !important;
  border: 1px solid rgba(150, 165, 255, 0.17) !important;
  background: rgba(5, 7, 18, 0.72) !important;
  color: var(--aq-text) !important;
  font-size: 0.94rem;
  box-shadow: none !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(201, 207, 238, 0.50) !important;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: rgba(53, 231, 255, 0.48) !important;
  background: rgba(8, 11, 28, 0.90) !important;
  box-shadow: 0 0 0 0.20rem rgba(53, 231, 255, 0.12) !important;
}

.btn,
button,
input[type="submit"] {
  border-radius: 14px;
  border: 0;
  font-family: "Inter", "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
  font-weight: 850;
  transition: all var(--aq-ease);
}

.btn:focus,
button:focus {
  box-shadow: 0 0 0 0.20rem rgba(255, 79, 216, 0.15) !important;
  outline: none !important;
}

.btn-primary,
.site-search-btn,
.tv-main-btn,
.tv-auth-check-btn,
.tv-shortstory-readmore,
.related-btn-fix,
.comments-submit-btn,
.tv-download-btn,
.tv-vpn-offer-btn {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: var(--aq-grad) !important;
  box-shadow:
    0 14px 30px rgba(139, 92, 255, 0.24),
    0 0 24px rgba(255, 79, 216, 0.12);
}

.btn-primary:hover,
.site-search-btn:hover,
.tv-main-btn:hover,
.tv-auth-check-btn:hover,
.tv-shortstory-readmore:hover,
.related-btn-fix:hover,
.comments-submit-btn:hover,
.tv-download-btn:hover,
.tv-vpn-offer-btn:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(139, 92, 255, 0.32),
    0 0 34px rgba(255, 79, 216, 0.20);
}

.btn-secondary,
.tv-shortstory-rate-btn,
.tv-shortstory-rate-multi,
.tv-shortstory-more-btn,
.tv-fs-pro-more,
.db-comment-iconbtn,
.db-comment-like-btn,
.tv-main-btn-light {
  color: var(--aq-text-2) !important;
  border: 1px solid var(--aq-line) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

.btn-secondary:hover,
.tv-shortstory-rate-btn:hover,
.tv-shortstory-more-btn:hover,
.tv-fs-pro-more:hover,
.db-comment-iconbtn:hover,
.db-comment-like-btn:hover,
.tv-main-btn-light:hover {
  color: #ffffff !important;
  border-color: rgba(53, 231, 255, 0.30) !important;
  background: rgba(53, 231, 255, 0.075) !important;
}

/* =========================
   HEADER
   ========================= */

.site-header-tech {
  position: sticky;
  top: 0;
  z-index: 1300;
  margin-top: 0 !important;
  padding: 0;
  border-bottom: 1px solid rgba(150, 165, 255, 0.13);
  background: rgba(6, 7, 18, 0.90) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header-tech.navbar-light.bg-light {
  background: rgba(6, 7, 18, 0.90) !important;
}

.site-header-tech::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 79, 216, 0.45), rgba(53, 231, 255, 0.35), transparent);
}

.site-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
}

/* =========================
   LOGO
   ========================= */

.site-logo,
.site-logo.tv-logo,
.tv-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 28px;
  padding: 0 !important;
  color: var(--aq-text) !important;
  text-transform: none !important;
  letter-spacing: 0;
  font-weight: 900;
}

.site-logo:hover,
.site-logo:focus,
.tv-logo:hover,
.tv-logo:focus {
  color: #ffffff !important;
  text-decoration: none;
  opacity: 1;
}

.tv-logo-mark {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
  overflow: hidden;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 32%),
    var(--aq-grad);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow:
    0 14px 28px rgba(139, 92, 255, 0.24),
    0 0 28px rgba(255, 79, 216, 0.18);
}

.tv-logo-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(6, 8, 20, 0.18);
}

.tv-logo-mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32), transparent 68%);
  transform: translateX(-70%) rotate(12deg);
  transition: transform 0.65s ease;
}

.tv-logo:hover .tv-logo-mark::after,
.site-logo:hover .tv-logo-mark::after {
  transform: translateX(70%) rotate(12deg);
}

.tv-logo-icon,
.site-logo-icon {
  position: relative;
  z-index: 2;
  font-size: 23px;
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.34));
}

.tv-logo-text {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 4px;
  row-gap: 3px;
  align-items: end;
  line-height: 1;
}

.tv-logo-main,
.site-logo .lgg {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.72rem;
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.055em;
  color: #ffffff;
}

.tv-logo-dot,
.site-logo-accent {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-left: 3px;
  font-size: 1rem;
  font-weight: 950;
  color: var(--aq-pink);
  text-shadow: 0 0 16px rgba(255, 79, 216, 0.50);
}

.tv-logo-sub,
.tv-logo-text::after {
  grid-column: 1 / 3;
  grid-row: 2;
  content: attr(data-sub);
  display: block;
  font-size: 0.54rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(201, 207, 238, 0.70);
  white-space: nowrap;
}

/* =========================
   BURGER
   ========================= */

.site-toggler {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(150, 165, 255, 0.17) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: var(--aq-text) !important;
}

.site-toggler:hover,
.site-toggler:focus {
  background: rgba(255, 79, 216, 0.10) !important;
  border-color: rgba(255, 79, 216, 0.30) !important;
}

/* =========================
   NAV
   ========================= */

.site-header-tech .navbar-collapse {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

@media (min-width: 1200px) {
  .site-header-tech .navbar-collapse {
    display: flex !important;
  }
}

.site-main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: 0;
  margin-right: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-main-nav::-webkit-scrollbar {
  display: none;
}

.site-main-nav .nav-item {
  flex: 0 0 auto;
  margin-right: 0;
}

.site-main-nav .nav-link {
  position: relative;
  min-height: 42px;
  padding: 10px 15px !important;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: rgba(246, 247, 255, 0.78) !important;
  font-size: 0.91rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  box-shadow: none !important;
}

.site-main-nav .nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  background: var(--aq-grad-soft);
  transition: opacity var(--aq-ease);
}

.site-main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--aq-grad);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity var(--aq-ease), transform var(--aq-ease);
}

.site-main-nav .nav-link:hover,
.site-main-nav .nav-link:focus {
  color: #ffffff !important;
  border-color: rgba(150, 165, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

.site-main-nav .nav-link:hover::before,
.site-main-nav .nav-link:focus::before {
  opacity: 1;
}

.site-main-nav .nav-link:hover::after,
.site-main-nav .nav-link:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-main-nav .active .nav-link,
.site-main-nav .nav-link.active,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: #ffffff !important;
  background:
    linear-gradient(135deg, rgba(255, 79, 216, 0.22), rgba(139, 92, 255, 0.18), rgba(53, 231, 255, 0.14)) !important;
  border-color: rgba(255, 79, 216, 0.27) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 24px rgba(139, 92, 255, 0.15) !important;
}

.site-main-nav .active .nav-link::before,
.site-main-nav .nav-link.active::before {
  opacity: 1;
}

.site-main-nav .active .nav-link::after,
.site-main-nav .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(246, 247, 255, 0.78) !important;
}

.site-nav-right {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-contact-link {
  padding: 10px 13px !important;
  border-radius: 16px;
  color: rgba(246, 247, 255, 0.78) !important;
  font-weight: 850;
}

.site-contact-link:hover,
.site-contact-link:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.055);
}

/* =========================
   SEARCH
   ========================= */

.site-search-form {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
}

.site-search-wrap {
  width: 245px;
  flex: 0 0 245px;
  position: relative;
}

.site-search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 2;
  transform: translateY(-50%);
  color: rgba(201, 207, 238, 0.52);
  font-size: 18px;
  pointer-events: none;
}

.site-search-input {
  width: 100%;
  height: 44px !important;
  padding: 0 14px 0 42px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(150, 165, 255, 0.16) !important;
  background: rgba(5, 7, 18, 0.72) !important;
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-search-input::placeholder {
  color: rgba(201, 207, 238, 0.50) !important;
}

.site-search-input:focus {
  border-color: rgba(53, 231, 255, 0.48) !important;
  box-shadow: 0 0 0 0.20rem rgba(53, 231, 255, 0.12) !important;
}

.site-search-btn {
  height: 44px;
  min-width: 96px;
  padding: 0 16px;
  border-radius: 16px !important;
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

/* =========================
   LAYOUT
   ========================= */

.coffee-layout {
  position: relative;
  padding-top: 28px;
  padding-bottom: 42px;
}

.coffee-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 79, 216, 0.08), transparent 24%),
    radial-gradient(circle at 92% 60%, rgba(53, 231, 255, 0.07), transparent 26%);
}

.coffee-main-col,
.coffee-side-col {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.coffee-main-col {
  padding-right: 18px;
}

.coffee-side-col {
  padding-left: 6px;
}

@media (min-width: 992px) {
  .coffee-side-col::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(150, 165, 255, 0.16), transparent);
  }
}

/* =========================
   HOMEPAGE HERO
   ========================= */

.homepage-hero,
.category-seo-box,
.coffee-info-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--aq-radius-xl) !important;
}

.homepage-hero {
  max-width: 100%;
  border: 1px solid rgba(150, 165, 255, 0.16) !important;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 79, 216, 0.18), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(53, 231, 255, 0.11), transparent 32%),
    linear-gradient(135deg, rgba(23, 27, 60, 0.94), rgba(8, 10, 26, 0.98)) !important;
  box-shadow:
    0 22px 58px rgba(0,0,0,.34),
    0 0 38px rgba(255,79,216,.10) !important;
}

.homepage-hero::before {
  content: "";
  position: absolute;
  right: 30px;
  top: 30px;
  width: 108px;
  height: 108px;
  border-radius: 30px;
  transform: rotate(8deg);
  background:
    linear-gradient(135deg, rgba(255,79,216,.22), rgba(53,231,255,.14)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.20), transparent 36%);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow:
    0 18px 38px rgba(0,0,0,.22),
    0 0 30px rgba(255,79,216,.11);
}

.homepage-hero::after {
  content: "ANIMEQ";
  position: absolute;
  right: 26px;
  bottom: 16px;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.homepage-hero .card-body {
  position: relative;
  z-index: 2;
  padding: 28px 32px !important;
}

.homepage-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  margin-bottom: 15px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 79, 216, 0.27);
  background: rgba(255, 79, 216, 0.10);
  color: #ffd7f7;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.homepage-hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--aq-grad);
  box-shadow: 0 0 16px rgba(255, 79, 216, 0.58);
}

.homepage-hero h1 {
  max-width: 770px;
  margin-bottom: 14px !important;
  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.35vw, 2.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.065em !important;
}

.homepage-hero p {
  max-width: 850px;
  margin-bottom: 0 !important;
  color: rgba(246, 247, 255, 0.70) !important;
  font-size: 0.96rem !important;
  line-height: 1.62 !important;
  font-weight: 600 !important;
}

.homepage-hero p + p {
  margin-top: 8px !important;
}

.category-seo-box,
.coffee-info-wrap {
  border: 1px solid var(--aq-line) !important;
  background: var(--aq-grad-card) !important;
  box-shadow: var(--aq-shadow-sm);
}

.category-seo-box .card-body {
  padding: 20px 22px;
}

.category-seo-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--aq-text);
  font-size: 1.02rem;
  font-weight: 900;
}

.category-seo-title i {
  color: var(--aq-pink);
}

.coffee-info-wrap {
  margin-bottom: 24px;
}

.coffee-info-wrap:empty {
  display: none;
}

/* =========================
   SHORTSTORY
   ========================= */

.tv-shortstory {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--aq-line) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,79,216,.10), transparent 32%),
    linear-gradient(180deg, rgba(18, 22, 51, .94), rgba(10, 12, 31, .97)) !important;
  box-shadow: var(--aq-shadow-md) !important;
  transition:
    transform var(--aq-ease),
    box-shadow var(--aq-ease),
    border-color var(--aq-ease);
}

.tv-shortstory::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--aq-grad);
  opacity: 0.96;
  box-shadow: 0 0 16px rgba(255,79,216,.24);
}

.tv-shortstory:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 216, 0.30) !important;
  box-shadow: var(--aq-shadow-lg), var(--aq-glow-pink) !important;
}

.tv-shortstory-body {
  padding: 22px !important;
}

.tv-shortstory-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #070917;
  border: 1px solid rgba(150, 165, 255, 0.13);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.32);
}

.tv-shortstory-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(7, 8, 21, 0.48));
  opacity: 0;
  transition: opacity var(--aq-ease);
}

.tv-shortstory:hover .tv-shortstory-poster::after {
  opacity: 1;
}

.tv-shortstory-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.tv-shortstory:hover .tv-shortstory-image {
  transform: scale(1.055);
  filter: saturate(1.12) contrast(1.04);
}

.tv-shortstory-fixed-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  background: rgba(255, 209, 102, 0.14);
  color: #ffe59a;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0,0,0,0.28);
}

.tv-shortstory-topline {
  margin-bottom: 7px;
}

.tv-shortstory-category,
.tv-shortstory-category a {
  color: var(--aq-cyan-2) !important;
  font-size: 0.70rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 950;
  text-shadow: 0 0 14px rgba(53,231,255,.16);
}

.tv-shortstory-title {
  margin: 6px 0 12px;
}

.tv-shortstory-title a {
  display: inline;
  color: #ffffff !important;
  font-weight: 950;
  font-size: clamp(1.38rem, 1.75vw, 1.82rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
}

.tv-shortstory-title a:hover {
  color: var(--aq-pink-2) !important;
  text-shadow: 0 0 18px rgba(255, 79, 216, 0.18);
}

.tv-shortstory-excerpt,
.tv-shortstory-excerpt p {
  color: rgba(246, 247, 255, 0.68) !important;
  font-size: 0.96rem !important;
  line-height: 1.66 !important;
}

.tv-shortstory-editnote {
  margin-top: 14px;
  color: var(--aq-muted);
  font-size: 0.84rem;
}

.tv-shortstory-editreason {
  display: block;
  margin-top: 6px;
}

.tv-shortstory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--aq-line-2);
}

.tv-shortstory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.tv-shortstory-meta .list-inline-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  margin-right: 0 !important;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(150, 165, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--aq-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.tv-shortstory-meta i {
  color: var(--aq-purple-2);
}

.tv-shortstory-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tv-shortstory-rate-link:hover {
  text-decoration: none;
}

.tv-shortstory-rate-btn,
.tv-shortstory-rate-multi {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px !important;
  font-size: 0.84rem;
  font-weight: 850;
}

.tv-shortstory-readmore {
  min-height: 40px;
  min-width: 108px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px !important;
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 950;
}

/* dropdown */

.tv-shortstory-dropdown-menu,
.tv-fs-pro-dropdown-menu,
.dropdown-menu {
  padding: 9px;
  border: 1px solid var(--aq-line) !important;
  border-radius: 18px;
  background: rgba(13, 16, 36, 0.98) !important;
  box-shadow: var(--aq-shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dropdown-item {
  border-radius: 11px;
  color: var(--aq-text-2) !important;
  font-weight: 750;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #ffffff !important;
  background: rgba(255, 79, 216, 0.10) !important;
}

.tv-shortstory-more-btn,
.tv-fs-pro-more {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0 !important;
  border-radius: 14px !important;
}

/* =========================
   FULLSTORY
   ========================= */

.tv-fs-pro,
.tv-fullstory {
  position: relative;
  overflow: visible !important;
  border: 1px solid var(--aq-line) !important;
  border-radius: var(--aq-radius-xl) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 79, 216, 0.09), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(53, 231, 255, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(18, 22, 51, 0.96), rgba(9, 11, 28, 0.98)) !important;
  box-shadow: var(--aq-shadow-lg) !important;
}

.tv-fs-pro::before,
.tv-fullstory::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--aq-grad);
  box-shadow: 0 0 16px rgba(255,79,216,.22);
}

.tv-fs-pro-body,
.tv-fs-body {
  padding: 28px !important;
  color: var(--aq-text-2);
}

.tv-fs-pro-header,
.tv-fs-header {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--aq-line-2);
}

.tv-fs-pro-title,
.tv-fs-title,
.fs-title {
  max-width: 940px;
  margin: 0 0 15px;
  padding-right: 54px;
  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.25vw, 3.05rem) !important;
  line-height: 1.02 !important;
  font-weight: 950;
  letter-spacing: -0.067em !important;
}

.tv-fs-pro-title .ffx,
.tv-fs-title .ffx {
  color: var(--aq-pink);
  text-shadow: 0 0 16px rgba(255, 79, 216, 0.42);
}

.tv-fs-pro-meta,
.tv-fs-meta,
.fs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 10px;
  align-items: center;
  color: var(--aq-muted) !important;
  font-size: 0.83rem;
  line-height: 1.35;
}

.tv-fs-pro-meta .fs-meta-item,
.tv-fs-meta .fs-meta-item,
.fs-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(150, 165, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--aq-muted) !important;
  font-weight: 750;
}

.tv-fs-pro-meta .fs-meta-item i,
.tv-fs-meta .fs-meta-item i,
.fs-meta-item i {
  color: var(--aq-cyan);
}

.tv-fs-pro-meta .fs-meta-item a,
.tv-fs-pro-meta .fs-meta-item span,
.tv-fs-pro-meta .fs-meta-item time {
  color: inherit !important;
}

.tv-fs-pro-category,
.tv-fs-category,
.fs-category {
  border-color: rgba(255, 79, 216, 0.22) !important;
  background: rgba(255, 79, 216, 0.10) !important;
  color: #ffd7f7 !important;
}

.tv-fs-pro-rating .rate,
.tv-fs-pro-rating .rate_like,
.tv-fs-pro-rating .rate_like-dislike,
.tv-fs-pro-rating .rate_stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* hero fullstory */

.tv-fs-pro-hero,
.tv-fs-hero {
  display: grid;
  grid-template-columns: minmax(270px, 36%) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 17px 0 28px;
}

.tv-fs-pro-poster,
.tv-fs-hero-poster {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(150, 165, 255, 0.14);
  background: #050711;
  box-shadow:
    0 18px 42px rgba(0,0,0,.38),
    0 0 30px rgba(139, 92, 255, .10);
}

.tv-fs-pro-poster::after,
.tv-fs-hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(7,8,21,.40)),
    radial-gradient(circle at 50% 0%, rgba(255,79,216,.12), transparent 38%);
}

.tv-fs-pro-poster-image,
.tv-fs-hero-image {
  display: block;
  width: 100%;
  min-height: 340px;
  max-height: 520px;
  object-fit: cover;
  object-position: center center;
  background: #050711;
}

.tv-fs-pro-note-wrap,
.tv-fs-hero-aside {
  min-width: 0;
  align-self: start !important;
}

.tv-fs-pro-note-mount,
.tv-fs-note-mount {
  width: 100%;
  min-height: 0 !important;
  display: flex;
}

/* =========================
   AI NOTE
   ========================= */

.tv-fs-pro-note-mount .ai-note,
.tv-fs-note-mount .ai-note,
.tv-fs-pro .ai-note {
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 18px 18px 16px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(150, 165, 255, 0.14);
  background:
    radial-gradient(circle at 18% 0%, rgba(53,231,255,.09), transparent 34%),
    linear-gradient(180deg, rgba(22,26,58,.92), rgba(12,15,36,.95));
  box-shadow: var(--aq-shadow-sm);
}

.tv-fs-pro-note-mount .ai-note::before,
.tv-fs-note-mount .ai-note::before,
.tv-fs-pro .ai-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 4px;
  border-radius: 999px;
  background: var(--aq-grad);
}

.tv-fs-pro-note-mount .ai-note-title,
.tv-fs-note-mount .ai-note-title,
.tv-fs-pro .ai-note-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(53, 231, 255, 0.20);
  background: rgba(53, 231, 255, 0.08);
  color: var(--aq-cyan-2);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-fs-pro-note-mount .ai-note-title::before,
.tv-fs-note-mount .ai-note-title::before,
.tv-fs-pro .ai-note-title::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--aq-grad);
  box-shadow: 0 0 16px rgba(53,231,255,.34);
}

.tv-fs-pro-note-mount .ai-note-body,
.tv-fs-note-mount .ai-note-body,
.tv-fs-pro .ai-note-body {
  position: relative;
  color: rgba(246, 247, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.70;
  overflow: hidden;
  transition: max-height var(--aq-ease);
}

.tv-fs-pro-note-mount .ai-note-body p:last-child,
.tv-fs-note-mount .ai-note-body p:last-child,
.tv-fs-pro .ai-note-body p:last-child {
  margin-bottom: 0;
}

.tv-fs-pro .ai-note.is-collapsed .ai-note-body,
.tv-fs-pro-note-mount .ai-note.is-collapsed .ai-note-body,
.tv-fs-note-mount .ai-note.is-collapsed .ai-note-body {
  max-height: 110px;
}

.tv-fs-pro .ai-note:not(.is-open) .ai-note-body::after,
.tv-fs-pro-note-mount .ai-note:not(.is-open) .ai-note-body::after,
.tv-fs-note-mount .ai-note:not(.is-open) .ai-note-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12,15,36,0), rgba(12,15,36,.98));
}

.tv-fs-pro .ai-note.is-open .ai-note-body,
.tv-fs-pro-note-mount .ai-note.is-open .ai-note-body,
.tv-fs-note-mount .ai-note.is-open .ai-note-body {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 8px;
}

.tv-fs-pro .ai-note-toggle,
.tv-fs-pro-note-mount .ai-note-toggle,
.tv-fs-note-mount .ai-note-toggle {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--aq-line-2);
}

.tv-fs-pro .ai-note-toggle-btn,
.tv-fs-pro-note-mount .ai-note-toggle-btn,
.tv-fs-note-mount .ai-note-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(53, 231, 255, 0.20);
  border-radius: 999px;
  background: rgba(53, 231, 255, 0.08);
  color: #dffcff;
  font-size: 0.88rem;
  font-weight: 950;
  cursor: pointer;
}

.tv-fs-pro .ai-note-toggle-btn:hover,
.tv-fs-pro-note-mount .ai-note-toggle-btn:hover,
.tv-fs-note-mount .ai-note-toggle-btn:hover {
  transform: translateY(-1px);
  background: rgba(53,231,255,.13);
  border-color: rgba(53,231,255,.32);
}

/* =========================
   ARTICLE TEXT
   ========================= */

.tv-fs-pro-content,
.tv-fs-content,
.fs-content {
  display: block;
  color: var(--aq-text-2);
}

.tv-fs-pro-text,
.tv-fs-text,
.fs-text {
  position: relative;
  color: var(--aq-text-2);
  font-size: 16.4px !important;
  line-height: 1.82 !important;
  word-wrap: break-word;
}

.tv-fs-pro-text::after,
.tv-fs-text::after,
.fs-text::after {
  content: "";
  display: block;
  clear: both;
}

.tv-fs-pro-text > *:first-child,
.tv-fs-text > *:first-child,
.fs-text > *:first-child {
  margin-top: 0 !important;
}

.tv-fs-pro-text p,
.tv-fs-text p,
.fs-text p {
  margin: 0 0 1.08rem;
  color: rgba(246, 247, 255, 0.78);
}

.tv-fs-pro-text strong,
.tv-fs-text strong,
.fs-text strong,
.tv-fs-pro-text b,
.tv-fs-text b,
.fs-text b {
  color: #ffffff;
  font-weight: 850;
}

.tv-fs-pro-text em,
.tv-fs-text em,
.fs-text em {
  color: rgba(201, 207, 238, 0.78);
}

.tv-fs-pro-text a,
.tv-fs-text a,
.fs-text a {
  color: var(--aq-cyan);
  font-weight: 800;
  border-bottom: 1px solid rgba(53, 231, 255, 0.28);
  box-shadow: inset 0 -1px 0 rgba(53,231,255,.10);
}

.tv-fs-pro-text a:hover,
.tv-fs-text a:hover,
.fs-text a:hover {
  color: #ffffff;
  border-color: rgba(255,79,216,.35);
  box-shadow: inset 0 -1px 0 rgba(255,79,216,.16);
}

.tv-fs-pro-text ul,
.tv-fs-pro-text ol,
.tv-fs-text ul,
.tv-fs-text ol,
.fs-text ul,
.fs-text ol {
  margin: 0 0 1.2rem;
  padding-left: 1.35rem;
}

.tv-fs-pro-text li,
.tv-fs-text li,
.fs-text li {
  margin-bottom: 0.5rem;
}

.tv-fs-pro-text ul li::marker,
.tv-fs-text ul li::marker,
.fs-text ul li::marker {
  color: var(--aq-pink);
}

.tv-fs-pro-text h2,
.tv-fs-pro-text h3,
.tv-fs-pro-text h4,
.tv-fs-text h2,
.tv-fs-text h3,
.tv-fs-text h4,
.fs-text h2,
.fs-text h3,
.fs-text h4 {
  position: relative;
  color: #ffffff;
  margin: 1.8rem 0 0.9rem;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.tv-fs-pro-text h2,
.tv-fs-text h2,
.fs-text h2 {
  padding-left: 17px;
  font-size: clamp(1.42rem, 2.2vw, 1.95rem);
}

.tv-fs-pro-text h2::before,
.tv-fs-text h2::before,
.fs-text h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 6px;
  height: calc(100% - 0.30em);
  border-radius: 999px;
  background: var(--aq-grad);
}

.tv-fs-pro-text h3,
.tv-fs-text h3,
.fs-text h3 {
  padding-left: 16px;
  font-size: clamp(1.16rem, 1.6vw, 1.42rem);
}

.tv-fs-pro-text h3::before,
.tv-fs-text h3::before,
.fs-text h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aq-cyan);
  box-shadow: 0 0 0 6px rgba(53,231,255,.10);
}

.tv-fs-pro-text blockquote,
.tv-fs-text blockquote,
.fs-text blockquote {
  margin: 1.3rem 0;
  padding: 1rem 1.1rem 1rem 1.15rem;
  border: 1px solid rgba(255, 209, 102, 0.18);
  border-left: 4px solid var(--aq-yellow);
  border-radius: 18px;
  background: rgba(255, 209, 102, 0.07);
  color: rgba(246, 247, 255, 0.80);
}

.tv-fs-pro-text img,
.tv-fs-text img,
.fs-text img {
  border-radius: 18px;
  box-shadow: var(--aq-shadow-sm);
}

/* =========================
   AI TOC
   ========================= */

.tv-fs-pro-text .ai-toc,
.tv-fs-text .ai-toc,
.fs-text .ai-toc {
  float: right;
  width: min(340px, 44%);
  margin: 0.3rem 0 1.15rem 1.4rem;
  padding: 17px;
  border-radius: 20px;
  border: 1px solid rgba(150, 165, 255, 0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(255,79,216,.11), transparent 32%),
    linear-gradient(180deg, rgba(22,26,58,.92), rgba(12,15,36,.95));
  box-shadow: var(--aq-shadow-sm);
}

.tv-fs-pro-text .ai-toc-title,
.tv-fs-text .ai-toc-title,
.fs-text .ai-toc-title {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 950;
}

.tv-fs-pro-text .ai-toc-title::before,
.tv-fs-text .ai-toc-title::before,
.fs-text .ai-toc-title::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--aq-grad);
  box-shadow: 0 0 14px rgba(255,79,216,.34);
}

.tv-fs-pro-text .ai-toc ul,
.tv-fs-text .ai-toc ul,
.fs-text .ai-toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.tv-fs-pro-text .ai-toc li,
.tv-fs-text .ai-toc li,
.fs-text .ai-toc li {
  margin-bottom: 0.42rem;
  padding-left: 0;
}

.tv-fs-pro-text .ai-toc a,
.tv-fs-text .ai-toc a,
.fs-text .ai-toc a {
  display: inline-block;
  color: rgba(246, 247, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.42;
  border: 0;
  box-shadow: none;
}

.tv-fs-pro-text .ai-toc a:hover,
.tv-fs-text .ai-toc a:hover,
.fs-text .ai-toc a:hover {
  color: var(--aq-cyan);
}

/* =========================
   TABLES
   ========================= */

.tv-table-scroll,
.tv-fs-pro-text .ai-table-wrap,
.tv-fs-text .ai-table-wrap,
.fs-text .ai-table-wrap {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.3rem 0;
  padding-bottom: 6px;
  border-radius: 18px;
}

.tv-table-scroll table,
.tv-fs-pro-text table,
.tv-fs-text table,
.fs-text table,
.tv-fs-pro-text .ai-table-wrap table,
.tv-fs-text .ai-table-wrap table,
.fs-text .ai-table-wrap table {
  width: 100%;
  min-width: 660px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(150, 165, 255, 0.14);
  border-radius: 18px;
  background: rgba(5, 7, 18, 0.56);
}

.tv-table-scroll table th,
.tv-table-scroll table td,
.tv-fs-pro-text table th,
.tv-fs-pro-text table td,
.tv-fs-text table th,
.tv-fs-text table td,
.fs-text table th,
.fs-text table td {
  padding: 13px 15px;
  border-right: 1px solid var(--aq-line-2);
  border-bottom: 1px solid var(--aq-line-2);
  vertical-align: top;
  text-align: left;
  color: rgba(246, 247, 255, 0.77);
}

.tv-table-scroll table th,
.tv-fs-pro-text table th,
.tv-fs-text table th,
.fs-text table th {
  color: #ffffff;
  background: rgba(139, 92, 255, 0.16);
  font-weight: 950;
}

/* =========================
   FAQ / BLOCKS
   ========================= */

.tv-fs-pro-text .ai-proscons,
.tv-fs-text .ai-proscons,
.fs-text .ai-proscons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin: 1.3rem 0;
}

.tv-fs-pro-text .ai-pros,
.tv-fs-pro-text .ai-cons,
.tv-fs-text .ai-pros,
.tv-fs-text .ai-cons,
.fs-text .ai-pros,
.fs-text .ai-cons {
  padding: 17px;
  border-radius: 20px;
  border: 1px solid rgba(150, 165, 255, 0.14);
  box-shadow: var(--aq-shadow-sm);
}

.tv-fs-pro-text .ai-pros,
.tv-fs-text .ai-pros,
.fs-text .ai-pros {
  background: rgba(53, 231, 255, 0.07);
}

.tv-fs-pro-text .ai-cons,
.tv-fs-text .ai-cons,
.fs-text .ai-cons {
  background: rgba(255, 92, 122, 0.07);
}

.tv-fs-pro-text .ai-pros-title,
.tv-fs-pro-text .ai-cons-title,
.tv-fs-text .ai-pros-title,
.tv-fs-text .ai-cons-title,
.fs-text .ai-pros-title,
.fs-text .ai-cons-title {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 950;
}

.tv-fs-pro-text .ai-pros-title,
.tv-fs-text .ai-pros-title,
.fs-text .ai-pros-title {
  color: var(--aq-cyan-2);
}

.tv-fs-pro-text .ai-cons-title,
.tv-fs-text .ai-cons-title,
.fs-text .ai-cons-title {
  color: #ff9caf;
}

.tv-fs-pro-text .ai-faq,
.tv-fs-text .ai-faq,
.fs-text .ai-faq {
  clear: both;
  margin: 1.35rem 0 0;
}

.tv-fs-pro-text .ai-faq-item,
.tv-fs-text .ai-faq-item,
.fs-text .ai-faq-item {
  overflow: hidden;
  margin-bottom: 0.86rem;
  border: 1px solid rgba(150, 165, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--aq-shadow-sm);
}

.tv-fs-pro-text .ai-faq-question,
.tv-fs-text .ai-faq-question,
.fs-text .ai-faq-question {
  margin: 0;
  padding: 15px 18px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 950;
  cursor: pointer !important;
}

.tv-fs-pro-text .ai-faq-question::before,
.tv-fs-text .ai-faq-question::before,
.fs-text .ai-faq-question::before {
  display: none;
}

.tv-fs-pro-text .ai-faq-answer,
.tv-fs-text .ai-faq-answer,
.fs-text .ai-faq-answer {
  padding: 0 18px 15px;
  color: rgba(246, 247, 255, 0.76);
}

.tv-fs-pro-text .ai-faq-item.faq-collapsed .ai-faq-answer,
.tv-fs-text .ai-faq-item.faq-collapsed .ai-faq-answer,
.fs-text .ai-faq-item.faq-collapsed .ai-faq-answer {
  display: none;
}

.ai-faq-item,
.ai-faq-question,
.ai-faq-question *,
.ai-faq-item.faq-collapsed,
.ai-faq-item.faq-open .ai-faq-question {
  cursor: pointer !important;
}

.ai-faq-answer,
.ai-faq-answer * {
  cursor: default;
}

.tv-fs-pro-text .ai-summary,
.tv-fs-text .ai-summary,
.fs-text .ai-summary {
  clear: both;
  margin-top: 1.6rem;
  padding: 1.1rem 1.15rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 79, 216, 0.18);
  background:
    radial-gradient(circle at 0 0, rgba(255, 79, 216, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--aq-shadow-sm);
}

/* =========================
   DOWNLOAD / OFFER
   ========================= */

.tv-download-box,
.ai-download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 26px;
  padding: 19px;
  border-radius: 22px;
  border: 1px solid rgba(53, 231, 255, 0.21);
  background:
    radial-gradient(circle at 0 0, rgba(53,231,255,.13), transparent 34%),
    linear-gradient(180deg, rgba(22,26,58,.92), rgba(12,15,36,.95));
  box-shadow: var(--aq-shadow-sm), var(--aq-glow-cyan);
}

.tv-download-title,
.ai-download-title {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1.2;
}

.tv-download-text,
.ai-download-text {
  color: rgba(246, 247, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.58;
}

.tv-download-btn,
.ai-download-box a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 950;
}

.tv-download-waiting,
.ai-download-waiting {
  opacity: 0.88;
  cursor: wait !important;
}

.tv-download-delay-note,
.ai-download-delay-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(150, 165, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 247, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.55;
}

.tv-delay-title,
.ai-delay-title {
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 950;
}

.tv-delay-small,
.ai-delay-small {
  color: var(--aq-muted);
  font-size: 0.84rem;
}

/* promo */

.tv-vpn-offer {
  position: relative;
  overflow: hidden;
  margin: 22px 0 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 79, 216, 0.21);
  background:
    radial-gradient(circle at 0 0, rgba(255,79,216,.18), transparent 34%),
    radial-gradient(circle at 100% 20%, rgba(53,231,255,.13), transparent 30%),
    linear-gradient(135deg, rgba(22,26,58,.96), rgba(10,12,28,.98));
  box-shadow: var(--aq-shadow-md), var(--aq-glow-pink);
}

.tv-vpn-offer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.tv-vpn-offer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 21px;
}

.tv-vpn-offer-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-vpn-shield {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--aq-grad);
  box-shadow: 0 16px 32px rgba(139, 92, 255, 0.24);
}

.tv-vpn-shield-lock {
  color: #ffffff;
  font-size: 0.80rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.tv-vpn-offer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(53,231,255,.20);
  background: rgba(53,231,255,.08);
  color: var(--aq-cyan-2);
  font-size: 0.70rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-vpn-offer-title {
  color: #ffffff;
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1.18;
}

.tv-vpn-offer-desc {
  margin-top: 8px;
  color: rgba(246, 247, 255, 0.72);
  line-height: 1.58;
  font-size: 0.93rem;
}

.tv-vpn-offer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tv-vpn-offer-points span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(150, 165, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 247, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 750;
}

.tv-vpn-offer-actions {
  min-width: 170px;
  text-align: center;
}

.tv-vpn-offer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 950;
}

.tv-vpn-offer-small {
  margin-top: 8px;
  color: var(--aq-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

/* =========================
   RELATED
   ========================= */

.related-item-fix {
  width: 50%;
  float: left;
  padding: 8px;
  box-sizing: border-box;
}

.related-item-fix:nth-child(2n + 1) {
  clear: both;
}

.related-card-fix {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  min-height: 116px;
  overflow: hidden;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(150, 165, 255, 0.14);
  background: linear-gradient(180deg, rgba(18,22,51,.94), rgba(10,12,31,.97));
  box-shadow: var(--aq-shadow-sm);
  transition: transform var(--aq-ease), box-shadow var(--aq-ease), border-color var(--aq-ease);
}

.related-card-fix::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: var(--aq-grad);
}

.related-card-fix:hover {
  transform: translateY(-3px);
  border-color: rgba(255,79,216,.28);
  box-shadow: var(--aq-shadow-md), var(--aq-glow-pink);
}

.related-thumb-fix {
  flex: 0 0 112px;
  width: 112px;
  display: block;
}

.related-thumb-fix img {
  width: 112px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(150, 165, 255, 0.12);
}

.related-content-fix {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-cat-fix a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(53,231,255,.18);
  background: rgba(53,231,255,.08);
  color: var(--aq-cyan-2) !important;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-title-fix {
  margin-bottom: 0;
}

.related-title-fix a {
  display: block;
  color: #ffffff !important;
  font-size: 1.05rem;
  line-height: 1.14;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.related-title-fix a:hover {
  color: var(--aq-pink-2) !important;
}

.related-bottom-fix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.related-date-fix {
  color: var(--aq-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.related-btn-fix {
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================
   SIDEBAR
   ========================= */

.coffee-sidebar-wrap .card,
.coffee-sidebar-wrap .widget,
.coffee-sidebar-wrap .box,
.coffee-sidebar-wrap .module,
.coffee-sidebar-wrap .sidebox,
.sidebar .box,
.right .box,
.left .box,
.side-block,
.sidebox,
.sect-side,
.tv-side-card {
  overflow: hidden;
  border: 1px solid var(--aq-line) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(53,231,255,.075), transparent 32%),
    linear-gradient(180deg, rgba(18,22,51,.94), rgba(10,12,31,.97)) !important;
  box-shadow: var(--aq-shadow-sm);
}

.coffee-sidebar-wrap .card + .card,
.coffee-sidebar-wrap .widget + .widget,
.coffee-sidebar-wrap .box + .box,
.coffee-sidebar-wrap .module + .module,
.coffee-sidebar-wrap .sidebox + .sidebox,
.tv-side-card + .tv-side-card {
  margin-top: 14px;
}

.coffee-sidebar-wrap .card-body,
.coffee-sidebar-wrap .widget-body,
.coffee-sidebar-wrap .box-body,
.tv-side-card .card-body {
  padding: 18px;
}

.tv-side-card::before,
.tv-top-card::before,
.tv-links-card::before,
.tv-auth-card::before,
.tv-profile-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--aq-grad);
  box-shadow: 0 0 16px rgba(255,79,216,.20);
}

.coffee-sidebar-wrap h3,
.coffee-sidebar-wrap h4,
.coffee-sidebar-wrap h5,
.coffee-sidebar-wrap .card-title,
.tv-side-card .card-title {
  margin-bottom: 0;
  color: #ffffff !important;
  font-size: 1.12rem !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
  letter-spacing: -0.035em;
}

.tv-side-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.tv-side-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(53,231,255,.20);
  background: rgba(53,231,255,.08);
  color: var(--aq-cyan-2);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tv-side-divider {
  width: 100%;
  height: 1px;
  margin: 14px 0 8px;
  background: linear-gradient(90deg, rgba(255,79,216,.26), rgba(53,231,255,.12), transparent);
}

/* top news */

.tv-top-news-item + .tv-top-news-item {
  margin-top: 12px;
}

.tv-top-news-link {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--aq-line-2);
  background: rgba(255, 255, 255, 0.035);
}

.tv-top-news-link:hover {
  border-color: rgba(53,231,255,.22);
  background: rgba(53,231,255,.06);
}

.tv-top-news-thumb-wrap {
  width: 88px;
}

.tv-top-news-thumb {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(150, 165, 255, 0.12);
}

.tv-top-news-title {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 850;
}

.tv-top-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tv-top-news-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--aq-muted);
  font-size: 0.72rem;
}

/* side links */

.tv-side-links {
  padding-top: 8px;
}

.tv-side-links li + li {
  margin-top: 10px;
}

.tv-side-links a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--aq-line-2);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(246, 247, 255, 0.76) !important;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
}

.tv-side-links a::before {
  content: "";
  width: 8px;
  height: 8px;
  min-width: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--aq-grad);
  box-shadow: 0 0 0 5px rgba(255,79,216,.075);
}

.tv-side-links a:hover {
  color: #ffffff !important;
  border-color: rgba(255,79,216,.22);
  background: rgba(255,79,216,.075);
  transform: translateY(-1px);
}

/* =========================
   AUTH / USER / PROFILE
   ========================= */

.tv-auth-page,
.tv-profile-card,
.pmlist,
.users .card,
.users_search .card,
.addnews .card,
.stats .card,
.pm .card {
  color: var(--aq-text-2);
}

.tv-auth-card,
.tv-register-card,
.tv-login-card,
.tv-user-card,
.tv-profile-card,
.pm .card,
.users .card,
.users_search .card,
.addnews .card {
  overflow: hidden;
  border: 1px solid var(--aq-line) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(53,231,255,.075), transparent 32%),
    linear-gradient(180deg, rgba(18,22,51,.94), rgba(10,12,31,.97)) !important;
  box-shadow: var(--aq-shadow-sm);
}

.tv-auth-card-body {
  padding: 24px;
}

.tv-user-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-user-avatar,
.tv-profile-avatar {
  border-radius: 18px;
  border: 2px solid rgba(255,79,216,.22);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

.tv-user-avatar {
  width: 62px;
  height: 62px;
  object-fit: cover;
}

.tv-user-kicker,
.tv-profile-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(53,231,255,.20);
  background: rgba(53,231,255,.08);
  color: var(--aq-cyan-2);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tv-user-title,
.tv-profile-title,
.tv-auth-title {
  color: #ffffff !important;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.tv-user-title {
  margin: 0 0 4px;
  font-size: 1.12rem;
}

.tv-auth-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
}

.tv-profile-title {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
}

.tv-user-name,
.tv-profile-name {
  color: var(--aq-pink-2);
  font-size: 0.98rem;
  font-weight: 800;
  word-break: break-word;
}

.tv-user-action-wrap {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--aq-line-2);
}

.tv-user-menu {
  border-top: 1px solid var(--aq-line-2);
  background: transparent;
}

.tv-user-menu .list-group-item,
.list-group-item {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 13px 18px;
  border-color: var(--aq-line-2) !important;
  background: rgba(255, 255, 255, 0.028) !important;
  color: rgba(246, 247, 255, 0.72) !important;
  font-size: 0.94rem;
  font-weight: 850;
}

.tv-user-menu .list-group-item:hover,
.list-group-item:hover {
  color: #ffffff !important;
  background: rgba(255,79,216,.075) !important;
}

.tv-user-menu .list-group-item i {
  color: var(--aq-cyan);
}

.tv-logout-link:hover {
  color: #ffd5dd !important;
  background: rgba(255,92,122,.10) !important;
}

.tv-auth-label,
.addnews label,
.tv-modal-body label {
  color: #ffffff;
  font-weight: 850;
}

.tv-auth-input,
.tv-auth-textarea,
.tv-auth-file,
.tv-login-form .form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
}

.tv-auth-alert,
.tv-auth-subcard,
.tv-auth-captcha,
.tv-upload-box,
.tv-profile-info-box,
.tv-profile-options {
  border-radius: 18px;
  border: 1px solid var(--aq-line);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 247, 255, 0.76);
}

.tv-auth-alert,
.tv-auth-subcard-body,
.tv-auth-captcha,
.tv-upload-box,
.tv-profile-info-box,
.tv-profile-options {
  padding: 16px;
}

.tv-auth-subcard-title {
  padding: 14px 16px;
  border-bottom: 1px solid var(--aq-line-2);
  color: #ffffff;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.03);
}

.tv-input-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.tv-auth-check-btn {
  min-width: 136px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  white-space: nowrap;
}

.tv-auth-submit-wrap {
  margin-top: 22px;
}

.tv-auth-submit-wrap .tv-main-btn,
.tv-login-form .tv-main-btn,
.tv-auth-links .tv-main-btn {
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 18px;
}

.tv-btn-block {
  width: 100%;
}

.tv-auth-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tv-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  color: var(--aq-cyan) !important;
  font-weight: 800;
}

.tv-text-link:hover {
  color: #ffffff !important;
}

.tv-login-sep {
  position: relative;
  margin: 18px 0 16px;
  text-align: center;
}

.tv-login-sep::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--aq-line-2);
  transform: translateY(-50%);
}

.tv-login-sep span {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 0 10px;
  background: #11142d;
  color: var(--aq-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.tv-profile-avatar-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--aq-line);
  background: rgba(255,255,255,.04);
}

.tv-profile-status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}

.tv-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(0,0,0,.24);
}

.tv-status-online {
  background: rgba(53, 231, 255, 0.88);
  color: #061921;
}

.tv-status-offline {
  background: rgba(255, 92, 122, 0.92);
}

.tv-profile-action,
.tv-profile-action-static,
.tv-profile-action-wrap > a,
.tv-profile-action-wrap .tv-profile-pm-link > a,
.tv-profile-action-wrap .tv-profile-pm-link > button,
.tv-profile-action-wrap .tv-profile-pm-link input[type="button"] {
  display: flex;
  align-items: center;
  min-height: 50px;
  width: 100%;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid var(--aq-line);
  background: rgba(255,255,255,.04);
  color: rgba(246, 247, 255, 0.76) !important;
  font-size: 0.94rem;
  font-weight: 850;
}

.tv-profile-action:hover,
.tv-profile-action-wrap > a:hover,
.tv-profile-action-wrap .tv-profile-pm-link > a:hover {
  color: #ffffff !important;
  border-color: rgba(53,231,255,.22);
  background: rgba(53,231,255,.075);
  transform: translateY(-1px);
}

.tv-profile-action i,
.tv-profile-action-static i {
  color: var(--aq-cyan);
}

.tv-profile-table,
.tv-xfields-table,
.xfields,
.addnews table,
.users table {
  overflow: hidden;
  border-radius: 16px;
  color: var(--aq-text-2);
}

.tv-profile-table td,
.tv-xfields-table td,
.tv-xfields-table th,
.xfields td,
.xfields th,
.addnews table td,
.addnews table th {
  padding: 12px 14px !important;
  border-color: var(--aq-line-2) !important;
  color: rgba(246, 247, 255, 0.74);
  vertical-align: middle;
}

.tv-profile-table td:first-child,
.xfields tr td:first-child {
  color: var(--aq-muted);
  font-weight: 850;
}

/* =========================
   COMMENTS
   ========================= */

.tv-comments-card,
.fs-comments-card {
  overflow: hidden;
  border: 1px solid var(--aq-line) !important;
  border-radius: var(--aq-radius-xl) !important;
  background: linear-gradient(180deg, rgba(18,22,51,.94), rgba(10,12,31,.97)) !important;
  box-shadow: var(--aq-shadow-md);
}

.tv-comments-card .card-body,
.fs-comments-card .card-body {
  padding: 24px;
}

.db-comment {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--aq-line-2);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
}

.db-comment + .db-comment {
  margin-top: 12px;
}

.db-comment-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,79,216,.22);
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
}

.db-comment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.db-comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.db-comment-author,
.db-comment-date,
.db-comment-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--aq-line-2);
  background: rgba(255,255,255,.04);
  color: var(--aq-muted) !important;
  font-size: 0.8rem;
  font-weight: 750;
}

.db-comment-author {
  color: #ffffff !important;
}

.db-comment-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.db-comment-iconbtn,
.db-comment-like-btn {
  min-height: 34px;
  min-width: 34px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.db-comment-content {
  color: rgba(246, 247, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.70;
}

.db-comment-signature {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px dashed var(--aq-line);
  color: var(--aq-muted);
  font-size: 0.84rem;
}

.comments-form-wrap {
  margin-top: 18px;
  padding: 19px;
  border: 1px solid var(--aq-line);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
}

.comments-form-title {
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 1.38rem;
  font-weight: 950;
  line-height: 1;
}

.comments-form-subtitle {
  color: var(--aq-muted);
  font-size: 0.9rem;
}

.comments-submit-btn {
  min-width: 200px;
}

/* =========================
   MODAL
   ========================= */

.tv-modal-content,
.modal-content {
  overflow: hidden;
  border: 1px solid var(--aq-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18,22,51,.98), rgba(10,12,31,.99));
  color: var(--aq-text-2);
  box-shadow: var(--aq-shadow-lg);
}

.tv-modal-content::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--aq-grad);
}

.tv-modal-header,
.modal-header {
  border-bottom: 1px solid var(--aq-line-2);
  background: rgba(255,255,255,.025);
}

.tv-modal-footer,
.modal-footer {
  border-top: 1px solid var(--aq-line-2);
  background: rgba(255,255,255,.025);
}

.modal-title {
  color: #ffffff;
  font-weight: 950;
}

.close,
.tv-modal-close {
  color: #ffffff;
  text-shadow: none;
  opacity: 0.78;
}

.close:hover,
.tv-modal-close:hover {
  color: var(--aq-pink-2);
  opacity: 1;
}

/* =========================
   PAGINATION / BREADCRUMBS
   ========================= */

.breadcrumb,
.bread,
.navigation,
.speedbar {
  border: 1px solid var(--aq-line) !important;
  border-radius: 16px;
  background: rgba(18,22,51,.86) !important;
  color: var(--aq-muted);
  box-shadow: var(--aq-shadow-sm);
}

.breadcrumb a,
.speedbar a {
  color: var(--aq-cyan);
}

.pagination,
.pages,
.navigation {
  gap: 8px;
}

.page-link,
.pages a,
.navigation a,
.pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 13px !important;
  border: 1px solid var(--aq-line) !important;
  background: rgba(255,255,255,.04) !important;
  color: var(--aq-text-2) !important;
}

.page-link:hover,
.pages a:hover,
.navigation a:hover {
  color: #ffffff !important;
  border-color: rgba(53,231,255,.28) !important;
  background: rgba(53,231,255,.075) !important;
}

.pages span,
.page-item.active .page-link {
  color: #ffffff !important;
  border-color: transparent !important;
  background: var(--aq-grad) !important;
  font-weight: 950;
}

/* =========================
   CODE / ALERTS
   ========================= */

pre {
  overflow: auto;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(150, 165, 255, 0.14);
  background: #050711;
  color: #f6f7ff;
}

code {
  padding: 2px 7px;
  border-radius: 8px;
  color: var(--aq-cyan);
  background: rgba(53,231,255,.10);
}

.alert {
  border-radius: 16px;
}

.alert-warning {
  color: #ffe8b0;
  border-color: rgba(255, 209, 102, 0.22);
  background: rgba(255, 209, 102, 0.10);
}

.alert-danger {
  color: #ffd5dd;
  border-color: rgba(255, 92, 122, 0.22);
  background: rgba(255, 92, 122, 0.10);
}

.alert-success {
  color: #dffcff;
  border-color: rgba(53, 231, 255, 0.22);
  background: rgba(53, 231, 255, 0.10);
}

/* =========================
   FOOTER
   ========================= */

.footer,
.site-footer,
footer,
#footer {
  margin-top: 40px;
  padding: 32px 0 26px;
  border-top: 1px solid rgba(150, 165, 255, 0.12);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,79,216,.10), transparent 32%),
    linear-gradient(180deg, rgba(10,12,28,.94), rgba(5,7,18,.98)) !important;
  color: var(--aq-muted);
}

.footer a,
.site-footer a,
footer a,
#footer a {
  color: var(--aq-cyan);
}

/* =========================
   SCROLL TOP
   ========================= */

.coffee-scrolltop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255,79,216,.24);
  color: #ffffff;
  background: var(--aq-grad);
  box-shadow:
    0 16px 34px rgba(139, 92, 255, 0.28),
    0 0 30px rgba(255,79,216,.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--aq-ease),
    visibility var(--aq-ease),
    transform var(--aq-ease),
    box-shadow var(--aq-ease);
}

.coffee-scrolltop:hover,
.coffee-scrolltop:focus {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 20px 42px rgba(139, 92, 255, 0.36),
    0 0 38px rgba(255,79,216,.22);
}

.coffee-scrolltop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   ANIMATION
   ========================= */

.fade-up {
  animation: revealUp 0.58s cubic-bezier(0.19, 0.87, 0.34, 1) both;
}

@keyframes revealUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-hero,
  .tv-shortstory,
  .tv-fs-pro,
  .tv-side-card {
    animation: revealUp 0.48s cubic-bezier(0.19, 0.87, 0.34, 1) both;
  }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1399.98px) {
  .homepage-hero h1 {
    font-size: clamp(1.85rem, 3.15vw, 2.95rem) !important;
  }

  .site-search-wrap {
    width: 215px;
    flex-basis: 215px;
  }

  .site-main-nav .nav-link {
    padding: 9px 11px !important;
    font-size: 0.84rem;
  }

  .tv-logo-main,
  .site-logo .lgg {
    font-size: 1.58rem;
  }
}

@media (max-width: 1199.98px) {
  .site-header-inner {
    min-height: 74px;
  }

  .site-header-tech .navbar-collapse.show,
  .site-header-tech .navbar-collapse.collapsing {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(150, 165, 255, 0.16);
    border-radius: 22px;
    background: rgba(8, 10, 24, 0.98) !important;
    box-shadow: var(--aq-shadow-lg);
  }

  .site-main-nav {
    width: 100%;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0 0 14px;
  }

  .site-main-nav .nav-item {
    width: 100%;
  }

  .site-main-nav .nav-link {
    width: 100%;
    min-height: 42px;
    white-space: normal;
    text-align: left;
    border-radius: 14px;
    border-color: rgba(150, 165, 255, 0.12) !important;
    background: rgba(255,255,255,.04) !important;
  }

  .site-nav-right,
  .site-search-form {
    width: 100%;
  }

  .site-nav-right {
    display: block;
    margin-top: 6px;
  }

  .site-contact-link {
    display: block;
    margin-bottom: 8px;
  }

  .site-search-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-search-wrap {
    width: 100%;
    flex: 1 1 auto;
  }

  .site-search-btn {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .coffee-main-col,
  .coffee-side-col {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .coffee-main-col {
    padding-right: 15px;
  }

  .coffee-side-col {
    padding-left: 15px;
    margin-top: 22px;
  }

  .homepage-hero .card-body,
  .tv-fs-pro-body,
  .tv-shortstory-body,
  .tv-comments-card .card-body,
  .fs-comments-card .card-body {
    padding: 22px !important;
  }

  .homepage-hero h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 5.6vw, 2.65rem) !important;
  }

  .homepage-hero::before {
    display: none;
  }

  .tv-shortstory-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .tv-shortstory-actions {
    width: 100%;
    justify-content: space-between;
  }

  .tv-fs-pro-hero,
  .tv-fs-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tv-fs-pro-poster-image,
  .tv-fs-hero-image {
    min-height: 260px;
    max-height: 440px;
  }

  .tv-fs-pro-text .ai-toc,
  .tv-fs-text .ai-toc,
  .fs-text .ai-toc {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }

  .tv-fs-pro-text .ai-proscons,
  .tv-fs-text .ai-proscons,
  .fs-text .ai-proscons {
    grid-template-columns: 1fr;
  }

  .related-item-fix {
    width: 100%;
  }

  .related-item-fix:nth-child(2n + 1) {
    clear: none;
  }

  .tv-vpn-offer-content,
  .tv-download-box,
  .ai-download-box {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .tv-vpn-offer-actions {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .site-header-inner {
    min-height: 68px;
  }

  .site-logo,
  .site-logo.tv-logo,
  .tv-logo {
    gap: 10px;
    margin-right: 12px;
  }

  .tv-logo-mark {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
  }

  .tv-logo-icon,
  .site-logo-icon {
    font-size: 20px;
  }

  .tv-logo-main,
  .site-logo .lgg {
    font-size: 1.34rem;
  }

  .tv-logo-dot,
  .site-logo-accent {
    font-size: 0.92rem;
  }

  .tv-logo-sub,
  .tv-logo-text::after {
    font-size: 0.50rem;
    letter-spacing: 0.14em;
  }

  .homepage-hero {
    border-radius: 22px !important;
  }

  .homepage-hero .card-body,
  .tv-shortstory-body,
  .tv-fs-pro-body,
  .tv-comments-card .card-body,
  .fs-comments-card .card-body {
    padding: 18px !important;
  }

  .homepage-hero-badge {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    padding: 6px 11px;
  }

  .homepage-hero h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.25rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.055em !important;
  }

  .homepage-hero p,
  .tv-shortstory-excerpt,
  .tv-shortstory-excerpt p,
  .tv-fs-pro-content,
  .tv-fs-pro-text,
  .fs-text {
    font-size: 0.93rem !important;
    line-height: 1.66 !important;
  }

  .tv-shortstory-image {
    aspect-ratio: 16 / 10;
  }

  .tv-shortstory-readmore {
    min-width: 100%;
  }

  .tv-fs-pro-title,
  .fs-title {
    padding-right: 42px;
    font-size: clamp(1.55rem, 7.4vw, 2.2rem) !important;
  }

  .tv-fs-pro-poster-image,
  .tv-fs-hero-image {
    min-height: 230px;
    max-height: 360px;
  }

  .tv-fs-pro .ai-note,
  .tv-fs-pro .ai-toc,
  .tv-fs-pro .ai-summary {
    padding: 15px;
    border-radius: 18px;
  }

  .tv-fs-pro .ai-note-toggle-btn {
    width: 100%;
  }

  .db-comment {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .db-comment-avatar-img {
    width: 48px;
    height: 48px;
  }

  .db-comment-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .comments-form-wrap {
    padding: 14px;
  }

  .related-card-fix {
    padding: 10px;
    gap: 10px;
  }

  .related-thumb-fix,
  .related-thumb-fix img {
    width: 92px;
  }

  .related-thumb-fix {
    flex-basis: 92px;
  }

  .related-thumb-fix img {
    height: 68px;
  }

  .related-title-fix a {
    font-size: 1rem;
  }

  .tv-top-news-link {
    grid-template-columns: 80px minmax(0, 1fr);
    padding: 8px;
  }

  .tv-top-news-thumb-wrap,
  .tv-top-news-thumb {
    width: 80px;
  }

  .tv-top-news-thumb {
    height: 60px;
  }

  .coffee-scrolltop {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .tv-main-btn,
  .tv-auth-check-btn,
  .tv-profile-action {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .container,
  .site-header-tech .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tv-logo-text::after,
  .tv-logo-sub {
    display: none;
  }

  .tv-logo-main,
  .site-logo .lgg {
    font-size: 1.25rem;
  }

  .tv-logo-mark {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 13px;
  }

  .site-search-input,
  .site-search-btn {
    height: 42px !important;
  }

  .homepage-hero .card-body {
    padding: 16px !important;
  }

  .homepage-hero h1 {
    font-size: 1.72rem !important;
    line-height: 1.05 !important;
  }

  .homepage-hero p {
    font-size: 0.9rem !important;
    line-height: 1.58 !important;
  }

  .tv-shortstory .row {
    margin-left: -6px;
    margin-right: -6px;
  }

  .tv-shortstory .row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }

  .tv-shortstory-body {
    padding: 12px !important;
  }

  .tv-shortstory-title a {
    font-size: 1.28rem !important;
  }

  .tv-shortstory-meta {
    gap: 6px;
  }

  .tv-shortstory-meta .list-inline-item {
    font-size: 0.72rem;
    padding: 5px 9px;
  }

  .tv-shortstory-actions {
    gap: 8px;
  }

  .tv-shortstory-rate-btn,
  .tv-shortstory-rate-multi,
  .tv-shortstory-readmore {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .tv-shortstory-rate-btn,
  .tv-shortstory-rate-multi,
  .tv-shortstory-readmore {
    width: auto;
  }

  .tv-shortstory-readmore {
    flex: 1 1 auto;
  }

  .tv-fs-pro-text,
  .fs-text {
    font-size: 0.92rem !important;
  }

  .tv-download-box,
  .ai-download-box,
  .tv-vpn-offer-content {
    padding: 16px;
  }

  .tv-vpn-shield {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .tv-vpn-offer-title {
    font-size: 1.04rem;
  }
}
/* =========================================================
   AnimeQ.ru — MENU / LOGO / DROPDOWN FINAL FIX
   Меню: 6 пунктов, 2 подменю, hover не убегает
   ========================================================= */

/* =========================================================
   AnimeQ.ru — clean word logo without square/icon/dots
   ========================================================= */

.aq-header.site-header-tech {
	background:
		radial-gradient(circle at 8% 0%, rgba(255, 79, 216, 0.12), transparent 28%),
		radial-gradient(circle at 92% 0%, rgba(53, 231, 255, 0.10), transparent 26%),
		rgba(6, 7, 18, 0.92) !important;
	border-bottom: 1px solid rgba(150, 165, 255, 0.14) !important;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35) !important;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.aq-header.site-header-tech::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 79, 216, 0.50), rgba(53, 231, 255, 0.42), transparent);
	pointer-events: none;
}

.site-header-inner {
	min-height: 76px !important;
}

/* выключаем старые элементы, если где-то остались */
.aq-anime-mark,
.aq-logo-mark,
.tv-logo-mark,
.aq-eye,
.aq-eye-pupil,
.aq-eye-shine,
.aq-mark-tail,
.aq-mark-spark,
.aq-logo-glint,
.aq-logo-orbit {
	display: none !important;
}

/* новый текстовый логотип */
.aq-word-logo {
	position: relative;
	display: inline-flex !important;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 4px;
	margin-right: 30px;
	padding: 0 2px !important;
	text-decoration: none !important;
	line-height: 1;
	white-space: nowrap;
}

.aq-word-logo:hover,
.aq-word-logo:focus {
	text-decoration: none !important;
	opacity: 1 !important;
}

.aq-word-logo-main {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	line-height: 0.9;
	font-family: "Inter", "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
	letter-spacing: -0.075em;
}

.aq-word-anime {
	color: #ffffff;
	font-size: 2.05rem;
	font-weight: 950;
	text-shadow: 0 0 20px rgba(139, 92, 255, 0.18);
}

.aq-word-q {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 2px;
	color: transparent;
	font-size: 2.08rem;
	font-weight: 950;
	letter-spacing: -0.08em;
	-webkit-text-stroke: 2px #35e7ff;
	text-stroke: 2px #35e7ff;
	text-shadow:
		0 0 14px rgba(53, 231, 255, 0.38),
		0 0 22px rgba(255, 79, 216, 0.20);
}

/* хвост Q без квадрата и без точек */
.aq-word-q::after {
	content: "";
	position: absolute;
	right: -4px;
	bottom: 1px;
	width: 13px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ff4fd8, #35e7ff);
	transform: rotate(42deg);
	box-shadow: 0 0 12px rgba(53, 231, 255, 0.36);
}

.aq-word-ru {
	margin-left: 4px;
	color: #ff4fd8;
	font-size: 1rem;
	font-weight: 950;
	letter-spacing: -0.04em;
	text-shadow: 0 0 14px rgba(255, 79, 216, 0.48);
}

.aq-word-logo-sub {
	display: block;
	padding-left: 2px;
	color: rgba(201, 207, 238, 0.70);
	font-size: 0.58rem;
	font-weight: 850;
	letter-spacing: 0.18em;
	line-height: 1;
	text-transform: uppercase;
}

/* тонкая линия под логотипом */
.aq-word-logo::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ff4fd8 0%, #8b5cff 50%, #35e7ff 100%);
	opacity: 0.78;
	transform: scaleX(0.78);
	transform-origin: left center;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.aq-word-logo:hover::after,
.aq-word-logo:focus::after {
	opacity: 1;
	transform: scaleX(1);
}

/* меню без подменю */
.aq-main-nav .dropdown-menu,
.aq-dropdown-menu {
	display: none !important;
}

.aq-main-nav .aq-has-menu::after {
	display: none !important;
}

.aq-navbar-collapse {
	gap: 14px;
}

.aq-main-nav {
	gap: 8px !important;
	overflow: visible !important;
}

.aq-main-nav .aq-nav-link,
.site-main-nav .nav-link {
	position: relative;
	min-height: 42px !important;
	padding: 10px 15px !important;
	border-radius: 16px !important;
	border: 1px solid transparent !important;
	background: transparent !important;
	color: rgba(246, 247, 255, 0.80) !important;
	font-size: 0.9rem !important;
	line-height: 1 !important;
	font-weight: 850 !important;
	letter-spacing: -0.01em !important;
	white-space: nowrap;
	box-shadow: none !important;
	transition:
		color 0.22s ease,
		background-color 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease;
}

.aq-main-nav .aq-nav-link::before,
.site-main-nav .nav-link::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	opacity: 0;
	background: linear-gradient(135deg, rgba(255, 79, 216, 0.15), rgba(139, 92, 255, 0.12), rgba(53, 231, 255, 0.10)) !important;
	transition: opacity 0.22s ease;
}

.aq-main-nav .aq-nav-link::after,
.site-main-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 15px !important;
	right: 15px !important;
	bottom: 6px !important;
	height: 2px !important;
	border-radius: 999px;
	opacity: 0;
	transform: scaleX(0);
	transform-origin: left center;
	background: linear-gradient(90deg, #ff4fd8 0%, #8b5cff 55%, #35e7ff 100%) !important;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.aq-main-nav .aq-nav-link:hover,
.aq-main-nav .aq-nav-link:focus,
.site-main-nav .nav-link:hover,
.site-main-nav .nav-link:focus {
	color: #ffffff !important;
	border-color: rgba(150, 165, 255, 0.15) !important;
	background: rgba(255, 255, 255, 0.055) !important;
}

.aq-main-nav .aq-nav-link:hover::before,
.aq-main-nav .aq-nav-link:focus::before,
.site-main-nav .nav-link:hover::before,
.site-main-nav .nav-link:focus::before {
	opacity: 1;
}

.aq-main-nav .aq-nav-link:hover::after,
.aq-main-nav .aq-nav-link:focus::after,
.site-main-nav .nav-link:hover::after,
.site-main-nav .nav-link:focus::after {
	opacity: 1;
	transform: scaleX(1);
}

/* поиск */
.aq-nav-right {
	margin-left: auto;
}

.aq-search-form {
	gap: 10px !important;
}

.aq-search-wrap {
	width: 235px !important;
	flex: 0 0 235px !important;
}

.aq-search-input {
	height: 44px !important;
	padding-left: 42px !important;
	border-radius: 16px !important;
	border: 1px solid rgba(150, 165, 255, 0.16) !important;
	background: rgba(5, 7, 18, 0.72) !important;
	color: #ffffff !important;
	font-size: 0.91rem !important;
	font-weight: 650;
}

.aq-search-input::placeholder {
	color: rgba(201, 207, 238, 0.50) !important;
}

.aq-search-input:focus {
	border-color: rgba(53, 231, 255, 0.48) !important;
	box-shadow: 0 0 0 0.20rem rgba(53, 231, 255, 0.12) !important;
}

.aq-search-icon {
	color: rgba(201, 207, 238, 0.52) !important;
}

.aq-search-btn {
	height: 44px !important;
	min-width: 94px !important;
	padding: 0 16px !important;
	border-radius: 16px !important;
	color: #ffffff !important;
	font-size: 0.9rem !important;
	font-weight: 900 !important;
	background: linear-gradient(135deg, #ff4fd8 0%, #8b5cff 52%, #35e7ff 100%) !important;
	border: 1px solid rgba(255,255,255,.12) !important;
	box-shadow:
		0 14px 30px rgba(139, 92, 255, 0.25),
		0 0 24px rgba(255, 79, 216, 0.12) !important;
}

.aq-search-btn:hover,
.aq-search-btn:focus {
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow:
		0 18px 38px rgba(139, 92, 255, 0.32),
		0 0 34px rgba(255, 79, 216, 0.20) !important;
}

/* адаптив */
@media (max-width: 1399.98px) {
	.aq-word-logo {
		margin-right: 22px;
	}

	.aq-word-anime {
		font-size: 1.72rem;
	}

	.aq-word-q {
		font-size: 1.75rem;
	}

	.aq-main-nav .aq-nav-link,
	.site-main-nav .nav-link {
		padding: 9px 12px !important;
		font-size: 0.84rem !important;
	}

	.aq-search-wrap {
		width: 205px !important;
		flex-basis: 205px !important;
	}
}

@media (max-width: 1199.98px) {
	.site-header-inner {
		min-height: 72px !important;
	}

	.aq-navbar-collapse.show,
	.aq-navbar-collapse.collapsing,
	.site-header-tech .navbar-collapse.show,
	.site-header-tech .navbar-collapse.collapsing {
		margin-top: 14px;
		padding: 16px;
		border: 1px solid rgba(150, 165, 255, 0.16);
		border-radius: 22px;
		background:
			radial-gradient(circle at 0% 0%, rgba(255, 79, 216, 0.12), transparent 34%),
			rgba(8, 10, 24, 0.98) !important;
		box-shadow: 0 24px 58px rgba(0,0,0,.45);
	}

	.aq-main-nav {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 6px !important;
		margin: 0 0 14px !important;
	}

	.aq-main-nav .nav-item {
		width: 100%;
	}

	.aq-main-nav .aq-nav-link,
	.site-main-nav .nav-link {
		width: 100%;
		min-height: 42px !important;
		text-align: left;
		white-space: normal;
		border-radius: 14px !important;
		border-color: rgba(150, 165, 255, 0.12) !important;
		background: rgba(255,255,255,.04) !important;
	}

	.aq-nav-right,
	.aq-search-form {
		width: 100%;
	}

	.aq-nav-right {
		margin-top: 6px;
	}

	.aq-search-form {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.aq-search-wrap {
		width: 100% !important;
		flex: 1 1 auto !important;
	}

	.aq-search-btn {
		width: 100%;
	}
}

@media (max-width: 767.98px) {
	.aq-word-logo {
		margin-right: 12px;
	}

	.aq-word-anime {
		font-size: 1.46rem;
	}

	.aq-word-q {
		font-size: 1.49rem;
		-webkit-text-stroke-width: 1.6px;
		text-stroke-width: 1.6px;
	}

	.aq-word-ru {
		font-size: 0.82rem;
	}

	.aq-word-logo-sub {
		font-size: 0.48rem;
		letter-spacing: 0.14em;
	}
}

@media (max-width: 575.98px) {
	.aq-word-logo-sub {
		display: none;
	}

	.aq-word-anime {
		font-size: 1.32rem;
	}

	.aq-word-q {
		font-size: 1.35rem;
	}

	.aq-word-ru {
		font-size: 0.76rem;
	}

	.aq-search-input,
	.aq-search-btn {
		height: 42px !important;
	}
}
/* =========================================================
   AnimeQ.ru — AUTH / LOGIN / REGISTER FINAL FIX
   Вставить в самый низ custom.css
   ========================================================= */

/* ---------- AUTH PAGE BASE ---------- */

.tv-auth-page {
  width: 100%;
  position: relative;
  color: var(--aq-text-2) !important;
}

.tv-auth-shell,
.tv-auth-main {
  width: 100%;
}

.tv-register-card,
.tv-login-card,
.tv-user-card,
.tv-auth-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(150, 165, 255, 0.16) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 79, 216, 0.10), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(53, 231, 255, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(18, 22, 51, 0.96), rgba(9, 11, 28, 0.985)) !important;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(139, 92, 255, 0.08) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tv-register-card::before,
.tv-login-card::before,
.tv-user-card::before,
.tv-auth-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff4fd8 0%, #8b5cff 50%, #35e7ff 100%);
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.24);
}

.tv-auth-card-body,
.tv-login-card .card-body,
.tv-user-card .card-body {
  padding: 24px !important;
}

/* ---------- REGISTER CARD ---------- */

.tv-register-card {
  max-width: 980px;
}

.tv-auth-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px !important;
  color: #ffffff !important;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: -0.06em !important;
}

.tv-auth-title .icon-user-follow {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.6rem !important;
  border-radius: 16px;
  border: 1px solid rgba(53, 231, 255, 0.22);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 79, 216, 0.22), rgba(53, 231, 255, 0.16));
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

.tv-auth-alert {
  margin: 0 0 18px !important;
  padding: 18px 20px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(150, 165, 255, 0.15) !important;
  background:
    radial-gradient(circle at 0 0, rgba(53, 231, 255, 0.075), transparent 36%),
    rgba(255, 255, 255, 0.045) !important;
  color: rgba(246, 247, 255, 0.74) !important;
  font-size: 0.98rem !important;
  line-height: 1.68 !important;
  font-weight: 650 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

/* ---------- FORM ROWS ---------- */

.tv-form-row {
  margin-bottom: 10px;
}

.tv-input-group {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px;
  align-items: stretch;
}

.tv-auth-input,
.tv-auth-textarea,
.tv-login-form .form-control,
.tv-auth-file,
.tv-register-card input[type="text"],
.tv-register-card input[type="password"],
.tv-register-card input[type="email"],
.tv-register-card textarea {
  width: 100% !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(150, 165, 255, 0.16) !important;
  background: rgba(4, 6, 18, 0.72) !important;
  color: #ffffff !important;
  font-size: 0.96rem !important;
  font-weight: 650 !important;
  box-shadow: none !important;
  outline: none !important;
}

.tv-auth-textarea,
.tv-register-card textarea {
  min-height: 132px !important;
  padding: 14px 16px !important;
  resize: vertical;
}

.tv-auth-input::placeholder,
.tv-auth-textarea::placeholder,
.tv-login-form .form-control::placeholder,
.tv-register-card input::placeholder,
.tv-register-card textarea::placeholder {
  color: rgba(201, 207, 238, 0.46) !important;
}

.tv-auth-input:focus,
.tv-auth-textarea:focus,
.tv-login-form .form-control:focus,
.tv-register-card input:focus,
.tv-register-card textarea:focus {
  border-color: rgba(53, 231, 255, 0.48) !important;
  background: rgba(7, 10, 26, 0.94) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.20rem rgba(53, 231, 255, 0.12) !important;
}

.tv-auth-label {
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 850;
}

/* ---------- CHECK LOGIN BUTTON ---------- */

.tv-auth-check-btn {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  border-radius: 18px !important;
  color: #ffffff !important;
  font-size: 0.94rem !important;
  font-weight: 950 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: linear-gradient(135deg, #ff4fd8 0%, #8b5cff 52%, #35e7ff 100%) !important;
  box-shadow:
    0 14px 30px rgba(139, 92, 255, 0.24),
    0 0 22px rgba(255, 79, 216, 0.10) !important;
}

.tv-auth-check-btn:hover,
.tv-auth-check-btn:focus {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow:
    0 18px 36px rgba(139, 92, 255, 0.32),
    0 0 30px rgba(255, 79, 216, 0.18) !important;
}

.tv-auth-result {
  margin-top: 8px;
  padding-left: 4px;
  color: var(--aq-muted) !important;
  font-size: 0.84rem;
  font-weight: 700;
}

#result-registration:empty {
  display: none;
}

/* ---------- CAPTCHA / RECAPTCHA ---------- */

.tv-auth-recaptcha {
  margin: 14px 0 6px !important;
}

.tv-auth-recaptcha > div,
.tv-auth-recaptcha iframe {
  max-width: 100% !important;
}

.tv-auth-captcha {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 6px !important;
  padding: 14px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(150, 165, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.tv-auth-captcha img,
.tv-auth-captcha svg,
.tv-auth-captcha .captcha,
.tv-auth-captcha #dle-captcha {
  display: block;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.tv-auth-captcha .tv-auth-input {
  flex: 1 1 240px;
  min-width: 180px;
}

/* ---------- SUBCARDS / XFIELDS ---------- */

.tv-auth-subcard,
.tv-auth-xfields {
  margin-top: 14px;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(150, 165, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.tv-auth-subcard-title {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(150, 165, 255, 0.10) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: #ffffff !important;
  font-size: 0.94rem !important;
  font-weight: 950 !important;
}

.tv-auth-subcard-body {
  padding: 16px !important;
}

.tv-auth-xfields .tv-xfields-table,
.tv-auth-xfields .xfields {
  width: 100%;
  margin-bottom: 0 !important;
  background: transparent !important;
  color: var(--aq-text-2) !important;
}

.tv-auth-xfields td,
.tv-auth-xfields th {
  padding: 12px 14px !important;
  border-color: rgba(150, 165, 255, 0.10) !important;
  color: var(--aq-text-2) !important;
}

/* ---------- SUBMIT ---------- */

.tv-auth-submit-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(150, 165, 255, 0.10);
}

.tv-main-btn,
.tv-main-btn-green,
.tv-auth-submit-wrap .tv-main-btn,
.tv-login-form .tv-main-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-size: 0.98rem !important;
  font-weight: 950 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: linear-gradient(135deg, #ff4fd8 0%, #8b5cff 52%, #35e7ff 100%) !important;
  box-shadow:
    0 16px 34px rgba(139, 92, 255, 0.28),
    0 0 26px rgba(255, 79, 216, 0.13) !important;
  text-decoration: none !important;
}

.tv-main-btn:hover,
.tv-main-btn-green:hover,
.tv-main-btn:focus,
.tv-main-btn-green:focus {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow:
    0 20px 42px rgba(139, 92, 255, 0.36),
    0 0 34px rgba(255, 79, 216, 0.20) !important;
}

/* ---------- SIDEBAR LOGIN ---------- */

.tv-login-card .card-body {
  padding: 22px !important;
}

.tv-auth-head {
  margin-bottom: 16px;
}

.tv-user-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(53, 231, 255, 0.20);
  background: rgba(53, 231, 255, 0.08);
  color: var(--aq-cyan-2) !important;
  font-size: 0.70rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tv-user-title {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 1.16rem !important;
  line-height: 1.14 !important;
  font-weight: 950 !important;
  letter-spacing: -0.04em;
}

.tv-login-form .form-group {
  margin-bottom: 12px !important;
}

.tv-login-form .tv-auth-input {
  height: 54px !important;
  min-height: 54px !important;
  border-radius: 18px !important;
}

/* убираем странную полоску "или", если соцкнопок нет */
.tv-login-sep {
  display: none !important;
}

.tv-social-btns:empty {
  display: none !important;
}

.tv-social-btns {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 14px !important;
}

.tv-social-btns li {
  margin: 0 !important;
}

.tv-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(150, 165, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff !important;
  font-weight: 900;
}

/* checkbox */

.tv-check-wrap {
  margin: 14px 0 18px !important;
}

.tv-check-label,
.custom-control-label {
  color: rgba(246, 247, 255, 0.74) !important;
  font-size: 0.94rem !important;
  font-weight: 750 !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: rgba(53, 231, 255, 0.55) !important;
  background: linear-gradient(135deg, #ff4fd8, #35e7ff) !important;
}

.custom-control-label::before {
  border-radius: 6px !important;
  border-color: rgba(150, 165, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* links */

.tv-auth-links {
  display: grid;
  gap: 10px;
  margin-top: 16px !important;
}

.tv-main-btn-light {
  min-height: 50px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(150, 165, 255, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035)) !important;
  color: rgba(246, 247, 255, 0.82) !important;
  box-shadow: none !important;
}

.tv-main-btn-light:hover {
  color: #ffffff !important;
  border-color: rgba(53, 231, 255, 0.24) !important;
  background: rgba(53, 231, 255, 0.075) !important;
}

.tv-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  color: var(--aq-cyan) !important;
  font-size: 0.92rem;
  font-weight: 950;
  text-decoration: none !important;
}

.tv-text-link:hover,
.tv-text-link:focus {
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(53, 231, 255, 0.28);
}

/* ---------- LOGGED USER CARD ---------- */

.tv-user-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-user-avatar-wrap {
  flex: 0 0 auto;
}

.tv-user-avatar {
  width: 62px !important;
  height: 62px !important;
  object-fit: cover;
  border-radius: 18px !important;
  border: 2px solid rgba(255, 79, 216, 0.24) !important;
  background: rgba(255,255,255,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

.tv-user-name {
  color: var(--aq-pink-2) !important;
  font-weight: 900;
}

.tv-user-action-wrap {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(150, 165, 255, 0.10);
}

.tv-user-menu {
  border-top: 1px solid rgba(150, 165, 255, 0.10) !important;
}

.tv-user-menu .list-group-item {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px !important;
  border-color: rgba(150, 165, 255, 0.10) !important;
  background: rgba(255,255,255,.025) !important;
  color: rgba(246, 247, 255, 0.72) !important;
  font-size: 0.94rem;
  font-weight: 850;
}

.tv-user-menu .list-group-item i {
  color: var(--aq-cyan) !important;
}

.tv-user-menu .list-group-item:hover {
  color: #ffffff !important;
  background: rgba(255, 79, 216, 0.075) !important;
  padding-left: 22px !important;
}

.tv-logout-link:hover {
  color: #ffd5dd !important;
  background: rgba(255, 92, 122, 0.10) !important;
}

.tv-logout-link i {
  color: #ff5c7a !important;
}

/* ---------- LEGACY CLEANUP ---------- */

.tv-register-card .card,
.tv-register-card .card-body,
.tv-register-card .card-header,
.tv-login-card .card,
.tv-login-card .card-body,
.tv-login-card .card-header {
  color: inherit;
}

.tv-register-card hr,
.tv-login-card hr {
  display: none !important;
}

.tv-register-card .input-group,
.tv-register-card .input-group-addon,
.tv-register-card .input-group-btn {
  display: contents;
}

.tv-register-card .wide {
  width: 100% !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(150, 165, 255, 0.16) !important;
  background: rgba(4, 6, 18, 0.72) !important;
  color: #ffffff !important;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 991.98px) {
  .tv-register-card {
    max-width: 100%;
  }

  .tv-auth-card-body,
  .tv-login-card .card-body,
  .tv-user-card .card-body {
    padding: 20px !important;
  }
}

@media (max-width: 767.98px) {
  .tv-auth-title {
    font-size: 1.55rem !important;
    gap: 10px;
  }

  .tv-auth-title .icon-user-follow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 14px;
    font-size: 1.35rem !important;
  }

  .tv-auth-alert {
    padding: 15px !important;
    font-size: 0.92rem !important;
  }

  .tv-input-group {
    grid-template-columns: 1fr;
  }

  .tv-auth-check-btn {
    min-height: 48px !important;
  }

  .tv-auth-submit-wrap {
    display: block;
  }

  .tv-auth-submit-wrap .tv-main-btn,
  .tv-main-btn,
  .tv-main-btn-green {
    width: 100% !important;
  }

  .tv-auth-recaptcha {
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 4px;
  }
}

@media (max-width: 575.98px) {
  .tv-auth-card-body,
  .tv-login-card .card-body,
  .tv-user-card .card-body {
    padding: 16px !important;
  }

  .tv-auth-input,
  .tv-login-form .form-control {
    min-height: 50px !important;
  }

  .tv-auth-title {
    font-size: 1.38rem !important;
  }
}
/* =========================================================
   AnimeQ.ru — RELATED NEWS FULLSTORY FIX
   Фикс рекомендаций под fullstory: сетка, клики, кнопки, адаптив
   Вставить строго в самый низ custom.css
   ========================================================= */

.aq-related-section {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px;
  padding: 22px;
  border: 1px solid rgba(150, 165, 255, 0.16) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 79, 216, 0.10), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(53, 231, 255, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(18, 22, 51, 0.96), rgba(9, 11, 28, 0.985)) !important;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.30),
    0 0 34px rgba(139, 92, 255, 0.08) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.aq-related-section::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4fd8 0%, #8b5cff 50%, #35e7ff 100%);
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.22);
  pointer-events: none;
}

.aq-related-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(150, 165, 255, 0.10);
}

.aq-related-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 9px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(53, 231, 255, 0.20);
  background: rgba(53, 231, 255, 0.08);
  color: #94f6ff;
  font-size: 0.70rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.aq-related-title {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(1.28rem, 2.1vw, 1.72rem) !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  letter-spacing: -0.055em !important;
}

/* новая сетка вместо старых float */
.aq-related-grid {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  clear: both;
}

/* убиваем старые float/width, из-за которых блоки ехали */
.aq-related-grid > .related-item-fix,
.aq-related-grid > .aq-related-item {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.aq-related-grid > .related-item-fix:nth-child(2n + 1),
.aq-related-grid > .aq-related-item:nth-child(2n + 1) {
  clear: none !important;
}

/* карточка */
.aq-related-card,
.related-card-fix {
  position: relative !important;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch !important;
  gap: 12px;
  width: 100% !important;
  min-height: 118px;
  height: 100%;
  overflow: hidden !important;
  padding: 12px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(150, 165, 255, 0.14) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 79, 216, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(18, 22, 51, 0.94), rgba(10, 12, 31, 0.97)) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
  cursor: pointer;
  transform: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.aq-related-card::before,
.related-card-fix::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  z-index: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff4fd8 0%, #8b5cff 50%, #35e7ff 100%);
  pointer-events: none;
}

.aq-related-card:hover,
.related-card-fix:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 79, 216, 0.30) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(255, 79, 216, 0.12) !important;
}

/* большая кликабельная зона карточки */
.related-card-click {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  display: block;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  text-decoration: none !important;
}

/* внутренности выше overlay */
.related-thumb-fix,
.aq-related-thumb,
.related-content-fix,
.aq-related-content {
  position: relative;
  z-index: 2;
}

/* реальные ссылки выше overlay, чтобы кнопка/заголовок прожимались */
.related-card-fix a:not(.related-card-click),
.aq-related-card a:not(.related-card-click) {
  position: relative;
  z-index: 3;
}

.related-thumb-fix,
.aq-related-thumb {
  width: 112px !important;
  min-width: 112px !important;
  height: 82px !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid rgba(150, 165, 255, 0.13) !important;
  background: #050711 !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26) !important;
}

.related-thumb-fix img,
.aq-related-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.aq-related-card:hover .related-thumb-fix img,
.related-card-fix:hover .related-thumb-fix img,
.aq-related-card:hover .aq-related-thumb img,
.related-card-fix:hover .aq-related-thumb img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.04);
}

.related-content-fix,
.aq-related-content {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.related-cat-fix,
.aq-related-cat {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.related-cat-fix a,
.aq-related-cat a {
  display: inline-flex !important;
  align-items: center;
  max-width: 100%;
  min-height: 26px;
  padding: 5px 10px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(53, 231, 255, 0.20) !important;
  background: rgba(53, 231, 255, 0.08) !important;
  color: #94f6ff !important;
  font-size: 0.68rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: none !important;
}

.related-cat-fix a:hover,
.aq-related-cat a:hover {
  color: #ffffff !important;
  border-color: rgba(53, 231, 255, 0.34) !important;
  background: rgba(53, 231, 255, 0.13) !important;
}

.related-title-fix,
.aq-related-card-title {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.related-title-fix::before,
.aq-related-card-title::before {
  display: none !important;
}

.related-title-fix a,
.aq-related-card-title a {
  display: -webkit-box !important;
  overflow: hidden;
  color: #ffffff !important;
  font-size: 1.02rem !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
  letter-spacing: -0.035em;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-title-fix a:hover,
.aq-related-card-title a:hover {
  color: #ff7ae5 !important;
  text-shadow: 0 0 16px rgba(255, 79, 216, 0.18);
}

.related-bottom-fix,
.aq-related-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px;
  min-width: 0;
  margin-top: 2px;
}

.related-date-fix,
.aq-related-date {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: rgba(142, 150, 191, 0.95) !important;
  font-size: 0.75rem !important;
  line-height: 1.2;
  font-weight: 800 !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.related-btn-fix,
.aq-related-btn {
  flex: 0 0 auto;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 7px 13px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(135deg, #ff4fd8 0%, #8b5cff 52%, #35e7ff 100%) !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow:
    0 10px 22px rgba(139, 92, 255, 0.22),
    0 0 18px rgba(255, 79, 216, 0.10) !important;
}

.related-btn-fix:hover,
.aq-related-btn:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(139, 92, 255, 0.30),
    0 0 24px rgba(255, 79, 216, 0.18) !important;
}

/* чтобы старые clearfix/float не ломали сетку */
.aq-related-grid::before,
.aq-related-grid::after {
  display: none !important;
}

/* планшет */
@media (max-width: 991.98px) {
  .aq-related-section {
    padding: 20px;
    border-radius: 24px !important;
  }

  .aq-related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .aq-related-card,
  .related-card-fix {
    min-height: 112px;
  }
}

/* мобилка */
@media (max-width: 575.98px) {
  .aq-related-section {
    padding: 16px;
    border-radius: 22px !important;
  }

  .aq-related-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .aq-related-title {
    font-size: 1.32rem !important;
  }

  .aq-related-card,
  .related-card-fix {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    min-height: 104px;
    padding: 10px !important;
    border-radius: 20px !important;
  }

  .related-thumb-fix,
  .aq-related-thumb {
    width: 92px !important;
    min-width: 92px !important;
    height: 70px !important;
    border-radius: 14px !important;
  }

  .related-title-fix a,
  .aq-related-card-title a {
    font-size: 0.96rem !important;
    line-height: 1.16 !important;
  }

  .related-cat-fix a,
  .aq-related-cat a {
    min-height: 24px;
    padding: 4px 9px;
    font-size: 0.62rem !important;
  }

  .related-btn-fix,
  .aq-related-btn {
    min-height: 30px !important;
    padding: 6px 10px !important;
    font-size: 0.66rem !important;
  }

  .related-date-fix,
  .aq-related-date {
    font-size: 0.70rem !important;
  }
}

@media (max-width: 420px) {
  .aq-related-card,
  .related-card-fix {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .related-thumb-fix,
  .aq-related-thumb {
    width: 82px !important;
    min-width: 82px !important;
    height: 64px !important;
  }

  .related-bottom-fix,
  .aq-related-bottom {
    gap: 7px;
  }

  .related-btn-fix,
  .aq-related-btn {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
}