:root {
  --mist: #f4f4f6;
  --porcelain: #fbfbfc;
  --anthracite: #1a2123;
  --anthracite-soft: #232b2e;
  --gold: #d4af37;
  --gold-soft: #c5a880;
  --gold-deep: #b8962e;
  --gold-grad: linear-gradient(180deg, #d8c48a 0%, #d4af37 46%, #c5a880 100%);
  --ink-on-dark: #e6e7ea;
  --muted-on-dark: #c9ced1;
  --dust: #5c6569;
  --line: #e4e5e9;
  --safe: 1.25rem;
  --max: 1200px;
  --poster: 2 / 3;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(26, 33, 35, 0.08);
  --shadow-lift: 0 22px 44px rgba(26, 33, 35, 0.14);
  --display: "Cormorant Garamond", Georgia, serif;
  --ui: "Manrope", "Segoe UI", sans-serif;

  --bg: var(--mist);
  --surface: var(--porcelain);
  --bg-card: var(--porcelain);
  --text-primary: var(--anthracite);
  --text-muted: var(--dust);
  --accent-blue: var(--gold);
  --accent-blue-light: #f3ead0;
  --ink: var(--ink-on-dark);
  --panel: var(--porcelain);
  --raised: var(--porcelain);
  --brass: var(--gold);
  --brass-dim: var(--gold-soft);
  --cream: var(--anthracite);
  --cyan: var(--gold);
  --ember: var(--gold);
}

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

html {
  scroll-behavior: smooth;
  background: var(--mist);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--mist);
  color: var(--anthracite);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

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

a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--gold); }

button, input, select, textarea { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.shell {
  width: min(var(--max), calc(100% - 2 * var(--safe)));
  margin-inline: auto;
}

.cv-main {
  padding-top: 0.35rem;
  padding-bottom: 1.25rem;
  background: transparent;
}

/* ----- Navbar ----- */
.cv-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--anthracite);
  border-bottom: 2px solid var(--gold);
}

.cv-header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.cv-brand {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--ink-on-dark);
  flex-shrink: 0;
}
.cv-brand:hover { color: var(--gold); }
.cv-brand-mark {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cv-brand-mark em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.cv-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0 0 0 auto;
  list-style: none;
  padding: 0;
}
.cv-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  color: var(--muted-on-dark);
  font-size: 0.9rem;
  font-weight: 500;
}
.cv-nav a:hover,
.cv-nav .nav-active > a {
  color: var(--gold);
}

.cv-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cv-icon-btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(197, 168, 128, 0.38);
  background: var(--anthracite-soft);
  color: var(--ink-on-dark);
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cv-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cv-icon-btn svg { width: 18px; height: 18px; fill: currentColor; }

.cv-menu-btn { display: none; }

.cv-search {
  display: none;
  background: var(--anthracite-soft);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  padding: 0.95rem 0;
  position: relative;
  z-index: 35;
}
.cv-search.is-open { display: block; }
.cv-search-shell { position: relative; }
.cv-search-form {
  display: flex;
  gap: 0.6rem;
}
.cv-search-form input[type="text"] {
  flex: 1;
  background: var(--anthracite);
  border: 1px solid rgba(197, 168, 128, 0.32);
  color: var(--ink-on-dark);
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
}
.cv-search-form input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
}
.cv-search-form button {
  background: var(--gold-grad);
  color: var(--anthracite);
  border: 0;
  padding: 0 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* DLE'nin dar popup'ını kapat — qs-results kullanılıyor */
#searchsuggestions {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Canlı arama: arama kutusu genişliğinde dropdown */
.qs-results-box {
  display: none;
  width: 100%;
  margin-top: 0.55rem;
  background: var(--porcelain);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  max-height: min(340px, calc(100vh - 11rem));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 10px 28px rgba(26, 33, 35, 0.12);
}
.qs-results-box .fastsearch-item { border-bottom: 1px solid var(--line); }
.qs-results-box .fastsearch-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.78rem 0.95rem;
  color: var(--anthracite);
  text-decoration: none;
}
.qs-results-box .fastsearch-item:hover { background: var(--mist); }
.qs-results-box .fastsearch-link:hover { background: transparent; }
.qs-results-box .fastsearch-thumb-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 64px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: var(--anthracite);
}
.qs-results-box .fastsearch-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qs-results-box .fastsearch-info {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  flex: 1;
}
.qs-results-box .fastsearch-cat {
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.qs-results-box .fastsearch-title,
.qs-results-box span.searchheading {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--anthracite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qs-results-box .fastsearch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--dust);
  font-size: 0.74rem;
}
.qs-results-box > a {
  display: block;
  padding: 0.78rem 0.95rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--anthracite);
}
.qs-results-box > a:hover { background: var(--mist); }
.qs-results-box span.notfound {
  display: block;
  padding: 1rem 0.95rem;
  text-align: center;
  color: var(--dust);
  font-size: 0.86rem;
}
.qs-results-box span.seperator {
  display: block;
  position: sticky;
  bottom: 0;
  margin-top: 0.15rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 244, 246, 0.92) 0%, var(--porcelain) 38%);
  backdrop-filter: blur(4px);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.qs-results-box span.seperator a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
}
.qs-results-box span.seperator a::after {
  content: "→";
  font-size: 0.95rem;
  line-height: 1;
}
.qs-results-box span.seperator a:hover {
  color: var(--anthracite);
  background: rgba(212, 175, 55, 0.1);
}

/* ----- Hero carousel ----- */
.cv-hero {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  background: #f4f4f6;
  isolation: isolate;
}
.cv-hero-track { position: relative; min-height: 68vh; }
.cv-hero-slide {
  position: relative;
  min-height: 68vh;
  display: none;
  align-items: end;
  overflow: hidden;
}
.cv-hero:not(.is-ready) .cv-hero-slide:first-child,
.cv-hero-slide.is-active {
  display: grid;
}
.cv-hero-bg { position: absolute; inset: 0; }
.cv-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cv-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(26, 33, 35, 0.88) 8%, rgba(26, 33, 35, 0.42) 52%, rgba(26, 33, 35, 0.14) 78%),
    linear-gradient(180deg, rgba(26, 33, 35, 0.28) 0%, rgba(26, 33, 35, 0.18) 48%, rgba(244, 244, 246, 0.2) 78%, #f4f4f6 100%);
}
.cv-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7.5rem;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(244, 244, 246, 0) 0%, rgba(244, 244, 246, 0.72) 55%, #f4f4f6 100%);
}
.cv-hero-copy {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr);
  gap: 1.7rem;
  padding: 4.6rem 0 4.2rem;
  margin-inline: auto;
  width: min(var(--max), calc(100% - 2 * var(--safe)));
}
.cv-hero-nav {
  position: absolute;
  top: 46%;
  z-index: 6;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(26, 33, 35, 0.72);
  color: var(--gold);
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.cv-hero-nav:hover {
  background: var(--anthracite);
  border-color: var(--gold);
  color: var(--gold);
}
.cv-hero-nav svg { width: 20px; height: 20px; fill: currentColor; }
.cv-hero-prev { left: 1.1rem; }
.cv-hero-next { right: 1.1rem; }
.cv-hero.is-single .cv-hero-nav,
.cv-hero.is-single .cv-hero-dots { display: none; }
.cv-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  pointer-events: none;
}
.cv-hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(244, 244, 246, 0.45);
  cursor: pointer;
  pointer-events: auto;
}
.cv-hero-dot.is-active {
  background: var(--gold);
  width: 1.35rem;
}
.cv-hero-poster {
  aspect-ratio: var(--poster);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(26, 33, 35, 0.4);
  background: var(--anthracite);
  border: 1px solid rgba(212, 175, 55, 0.45);
}
.cv-hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.cv-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.cv-hero h1 a { color: var(--ink-on-dark); }
.cv-hero h1 a:hover { color: var(--gold); }
.cv-orig {
  color: var(--muted-on-dark);
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}
.cv-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}
.cv-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.58rem;
  border: 1px solid rgba(244, 244, 246, 0.18);
  background: rgba(26, 33, 35, 0.5);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-on-dark);
}
.cv-chip-score,
.f-badge.f-imdb {
  background: var(--anthracite);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.cv-chip-genre {
  border-color: rgba(212, 175, 55, 0.35);
}

.cv-hero p {
  margin: 0 0 1.15rem;
  color: var(--muted-on-dark);
  max-width: 52ch;
}

.cv-cta,
.btn-primary-form,
.btn-submit-comment,
.bbcodes,
.send,
.btn-login-submit,
.btn-poll-vote,
.cv-search-form button {
  background: var(--gold-grad);
  color: var(--anthracite);
  border: 0;
  font-weight: 700;
}

.cv-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1.2rem;
  border-radius: 12px;
}
.cv-cta:hover {
  color: var(--anthracite);
  filter: brightness(1.06);
}

/* ----- Sections ----- */
.cv-section { margin-bottom: 1.15rem; }
.cv-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 0.85rem 1.15rem;
  background: var(--anthracite);
  border-radius: var(--radius);
  box-shadow: inset 0 -2px 0 var(--gold);
}
.cv-section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink-on-dark);
}
.cv-more {
  color: var(--muted-on-dark);
  font-size: 0.88rem;
}
.cv-more:hover { color: var(--gold); }

.cv-coll-row {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  margin: 0 0 1.05rem;
  padding: 0.05rem 0.05rem 0.45rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.cv-coll-row.is-dragging,
.cv-popular-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.cv-coll-row.is-dragging a,
.cv-popular-track.is-dragging a {
  pointer-events: none;
}
.cv-coll-row::-webkit-scrollbar { display: none; }
.cv-coll-card {
  position: relative;
  flex: 0 0 10rem;
  width: 10rem;
  height: 5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.5rem;
  text-decoration: none;
  isolation: isolate;
}
.cv-coll-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cv-coll-card:nth-child(6n+1) .cv-coll-bg { background-image: url("../images/collections/coll-1.jpg"); }
.cv-coll-card:nth-child(6n+2) .cv-coll-bg { background-image: url("../images/collections/coll-2.jpg"); }
.cv-coll-card:nth-child(6n+3) .cv-coll-bg { background-image: url("../images/collections/coll-3.jpg"); }
.cv-coll-card:nth-child(6n+4) .cv-coll-bg { background-image: url("../images/collections/coll-4.jpg"); }
.cv-coll-card:nth-child(6n+5) .cv-coll-bg { background-image: url("../images/collections/coll-5.jpg"); }
.cv-coll-card:nth-child(6n) .cv-coll-bg { background-image: url("../images/collections/coll-6.jpg"); }
.cv-coll-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}
.cv-coll-title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 0.45rem;
  color: #fff;
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cv-coll-card:hover .cv-coll-dim { background: rgba(0, 0, 0, 0.38); }

.cv-stories-wrap { margin: 0.15rem 0 1.35rem; }
.cv-rule-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.75rem;
  min-width: 0;
}
.cv-rule-head-text {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  color: var(--anthracite);
  white-space: nowrap;
}
.cv-rule-head-text svg {
  width: 1.08rem;
  height: 1.08rem;
  fill: var(--gold);
}
.cv-rule-line {
  position: relative;
  flex: 1 1 auto;
  min-width: 2.5rem;
  height: 8px;
}
.cv-rule-line::before,
.cv-rule-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(197, 168, 128, 0.55) 0%, rgba(197, 168, 128, 0.18) 28%, transparent 72%);
}
.cv-rule-line::after {
  height: 4px;
  filter: blur(3px);
  opacity: 0.35;
}
.cv-stories {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.45rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cv-stories::-webkit-scrollbar { display: none; }
.cv-story-ring {
  position: relative;
  flex: 0 0 auto;
  width: 78px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  color: var(--anthracite);
}
.cv-story-ring-frame {
  position: relative;
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 0.4rem;
  padding: 2px;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.28);
}
.cv-story-ring.is-seen .cv-story-ring-frame {
  background: #c5c7cb;
  box-shadow: none;
}
.cv-story-ring-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--mist);
  background: var(--anthracite);
}
.cv-story-play {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--anthracite);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(26, 33, 35, 0.25);
}
.cv-story-play svg { width: 9px; height: 9px; fill: currentColor; margin-left: 1px; }
.cv-story-ring-name {
  display: block;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--anthracite);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cv-story-full-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cv-story-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(26, 33, 35, 0.88);
}
.cv-story-viewer[hidden] { display: none !important; }
.cv-story-sheet {
  position: relative;
  width: min(920px, 100%);
  background: var(--anthracite);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 33, 35, 0.45);
}
.cv-story-bars {
  display: flex;
  gap: 4px;
  padding: 0.7rem 0.8rem 0.35rem;
}
.cv-story-bar {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(244, 244, 246, 0.22);
  overflow: hidden;
}
.cv-story-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
}
.cv-story-bar.is-done .cv-story-bar-fill { width: 100%; }
.cv-story-bar.is-active .cv-story-bar-fill {
  animation: cv-story-fill 90s linear forwards;
}
.cv-story-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.85rem 0.7rem;
}
.cv-story-top img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}
.cv-story-top-copy { min-width: 0; flex: 1; }
.cv-story-top-copy strong {
  display: block;
  color: var(--ink-on-dark);
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cv-story-top-copy a {
  color: var(--gold-soft);
  font-size: 0.75rem;
}
.cv-story-close {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: transparent;
  color: var(--ink-on-dark);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cv-story-close:hover { color: var(--gold); }
.cv-story-close svg { width: 20px; height: 20px; fill: currentColor; }
.cv-story-stage {
  position: relative;
  padding-top: 56.25%;
  background: #111618;
}
.cv-story-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cv-story-hit {
  position: absolute;
  top: 3.6rem;
  bottom: 0;
  width: 28%;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.cv-story-hit-prev { left: 0; }
.cv-story-hit-next { right: 0; }

@keyframes cv-story-fill {
  from { width: 0; }
  to { width: 100%; }
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
  gap: 1.35rem;
}

/* ----- Film cards ----- */
.film-card {
  display: flex;
  flex-direction: column;
  background: var(--porcelain);
  border: 1px solid rgba(26, 33, 35, 0.06);
  border-radius: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.24s ease;
}
.film-card:hover {
  box-shadow: var(--shadow-lift);
}
.film-poster {
  position: relative;
  aspect-ratio: var(--poster);
  overflow: hidden;
  background: #ececef;
}
.film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(26, 33, 35, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.film-card:hover .film-overlay { opacity: 1; }
.film-play {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--anthracite);
  display: grid;
  place-items: center;
}
.film-play svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-left: 2px;
}
.film-badges {
  position: absolute;
  inset: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.film-badges-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.3rem;
}
.f-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.5rem;
  border-radius: 8px;
  line-height: 1.2;
}
.f-year {
  background: rgba(251, 251, 252, 0.94);
  color: var(--anthracite);
  border: 1px solid rgba(26, 33, 35, 0.08);
  margin-left: auto;
}
.f-runtime,
.f-age {
  background: rgba(26, 33, 35, 0.88);
  color: #f4f4f6;
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.f-age {
  margin-left: auto;
  color: var(--gold);
  border-color: var(--gold);
}
.film-body { padding: 1.05rem 1.15rem 1.2rem; }
.film-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.28;
}
.film-title a { color: var(--anthracite); font-weight: 600; }
.film-title a:hover { color: var(--gold); }
.film-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  color: var(--dust);
  font-size: 0.8rem;
  margin-top: 0.55rem;
  line-height: 1.4;
}
.film-meta span {
  display: inline-flex;
  align-items: center;
}
.film-orig-title {
  color: var(--dust);
  font-size: 0.8rem;
  margin-top: 0.28rem;
  line-height: 1.4;
}

/* ----- Fullstory ----- */
.fs-raw-source {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  clip: rect(0 0 0 0);
}

.fs-page {
  position: relative;
  margin: 0 0 1.6rem;
  padding: 0;
}
.fs-hero-band {
  position: relative;
  color: var(--ink-on-dark);
  padding: 0.35rem 0 1.8rem;
  min-height: 22rem;
}
.fs-hero-bg,
.fs-hero-scrim {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}
.fs-hero-bg {
  background-size: cover;
  background-position: center 22%;
  background-color: var(--anthracite);
}
.fs-hero-scrim {
  background: linear-gradient(180deg, rgba(26, 33, 35, 0.42) 0%, rgba(26, 33, 35, 0.86) 100%);
}
.fs-page:not(.has-backdrop) .fs-hero-scrim {
  background: #1a2123;
}
.fs-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
  padding-top: 0.85rem;
}
.fs-poster {
  aspect-ratio: var(--poster);
  border-radius: 0;
  overflow: hidden;
  background: var(--anthracite);
  box-shadow: 0 18px 40px rgba(26, 33, 35, 0.42);
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.fs-poster img { width: 100%; height: 100%; object-fit: cover; }
.fs-poster-trailer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.58rem 0.7rem;
  border: 0;
  background: var(--gold-grad);
  color: var(--anthracite);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.fs-poster-trailer:hover { color: var(--anthracite); filter: brightness(1.06); }
.fs-score {
  margin-top: 0.7rem;
  padding: 0.7rem 0.6rem;
  background: var(--anthracite);
  border: 0;
  border-top: 2px solid var(--gold);
  border-radius: 0;
  text-align: center;
}
.fs-score-val {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}
.fs-score-label,
.fs-score-sub {
  color: var(--gold-soft);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}
.fs-side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-top: 0.7rem;
}
.fs-side-links a {
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.fs-side-links a:hover { color: var(--gold); }
.fs-ext {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.fs-ext-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.35rem;
  height: 1.9rem;
  padding: 0 0.55rem;
  background: var(--anthracite);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.fs-ext-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}
.fs-ext-btn:hover { background: var(--gold); color: var(--anthracite); }
.fs-site-rate .fs-score-sub {
  color: var(--gold-soft);
}
.fs-site-rate .fs-score-avg {
  color: var(--gold);
  font-weight: 700;
}
.fs-aside [data-ratig-layer-id],
.fs-aside .rating,
.fs-aside .ratebox,
.fs-aside .ratebox2,
.fs-aside .ratebox3,
.fs-aside .ratebox4,
.fs-aside .article-rating-box {
  background: transparent !important;
  background-color: transparent !important;
  width: 115px !important;
  max-width: 100%;
  margin: 0.45rem auto 0.1rem !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block !important;
  color: var(--gold) !important;
}
.fs-aside .unit-rating {
  float: none !important;
  margin: 0 auto !important;
  background-color: var(--anthracite) !important;
  overflow: hidden !important;
}
.fs-aside .rating {
  overflow: hidden !important;
}
.fs-aside .unit-rating,
.fs-aside .unit-rating li a:hover,
.fs-aside .unit-rating li.current-rating {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='69'%3E%3Crect width='23' height='69' fill='%231a2123'/%3E%3Cpath fill='%23d4af37' d='M11.5 1.8l2.7 6.6 7.1.6-5.4 4.6 1.7 7-6.1-3.8-6.1 3.8 1.7-7L1.7 9l7.1-.6z'/%3E%3Cpath fill='%23e8c84a' d='M11.5 24.8l2.7 6.6 7.1.6-5.4 4.6 1.7 7-6.1-3.8-6.1 3.8 1.7-7L1.7 32l7.1-.6z'/%3E%3Cpath fill='%233a4347' stroke='%23c5a880' stroke-width='1' d='M11.5 47.8l2.7 6.6 7.1.6-5.4 4.6 1.7 7-6.1-3.8-6.1 3.8 1.7-7L1.7 55l7.1-.6z'/%3E%3C/svg%3E") !important;
}
.fs-main {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0.4rem 0 0;
}
.fs-title {
  font-family: var(--display);
  font-size: clamp(1.95rem, 3.2vw, 2.85rem);
  margin: 0 0 0.3rem;
  line-height: 1.1;
  font-weight: 600;
  color: var(--ink-on-dark);
}
.fs-tagline {
  font-family: var(--display);
  font-style: italic;
  color: var(--gold-soft);
  margin: 0 0 0.85rem;
}
.credits {
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr);
  gap: 0.45rem 1rem;
  margin: 1rem 0 0;
  padding: 0.95rem 0 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
}
.fs-hero-band .credits dt { color: var(--muted-on-dark); font-weight: 600; }
.fs-hero-band .credits dd,
.fs-hero-band .credits a { color: var(--ink-on-dark); }
.credits a:hover { color: var(--gold); }
.fs-meta-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
}
.fs-player,
.fs-overview,
.fs-backdrops,
.fs-rel,
.comments-section {
  width: 100%;
  max-width: 100%;
  clear: both;
}
.fs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}
.fs-hero-band .fs-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 0;
  background: rgba(26, 33, 35, 0.35);
  color: var(--ink-on-dark);
  cursor: pointer;
  font-size: 0.85rem;
}
.fs-hero-band .fs-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.fs-hero-band .cv-cta { border-radius: 0; }
body.fs-trailer-lock { overflow: hidden; }
.fs-trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  background: rgba(26, 33, 35, 0.88);
}
.fs-trailer-modal.is-open { display: flex; }
.fs-trailer-dialog {
  position: relative;
  width: min(92vw, 960px);
  background: #000;
}
.fs-trailer-close {
  position: absolute;
  top: -2.35rem;
  right: 0;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
}
.fs-trailer-close:hover { color: #fff; }
.fs-trailer-stage {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.fs-trailer-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.fs-player {
  margin: 1.5rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.fs-player .cv-rule-head { margin-bottom: 0.7rem; }
.fs-player-head { display: none; }
.fs-video {
  position: relative;
  padding-top: 56.25%;
  background: var(--anthracite);
  overflow: hidden;
}
.fs-video iframe,
.fs-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.fs-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.65rem 0 0;
}
.fs-subtabs[hidden] { display: none !important; }
.fs-subtab-btn {
  background: var(--porcelain);
  color: var(--anthracite);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.32rem 0.6rem;
  cursor: pointer;
}
.fs-subtab-btn.active {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: var(--gold);
}
.fs-overview { margin: 1.5rem 0; max-width: none; }
.fs-overview-text,
.fs-content,
.fs-content p {
  max-width: none;
  width: 100%;
  color: var(--anthracite);
  line-height: 1.65;
}
.fs-overview h3,
.fs-rel h3,
.comments-title,
.fs-backdrops h3 {
  margin: 0;
}
.fs-backdrops { margin: 1.6rem 0 2rem; }
.fs-backdrops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.55rem;
}
.fs-backdrops-grid a {
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: var(--anthracite);
  box-shadow: none;
  cursor: zoom-in;
}
.fs-backdrops-grid img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  display: block;
}
.fs-tags { margin: 1rem 0; color: var(--dust); }
.fs-tags a { margin-right: 0.4rem; }
.fs-tags-wrap { margin: 1.2rem 0; }
.fs-tags.cv-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}
.fs-tags.cv-tags-cloud a { margin: 0; }
.fs-meta-block {
  margin: 1.2rem 0 0;
}
.fs-meta-block-title {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--anthracite);
  letter-spacing: 0.02em;
}
.fs-meta-block-title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: 0.38rem;
  background: var(--gold);
}
.fs-meta-pills {
  margin: 0;
}
.fs-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--anthracite);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}
.article-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.article-nav:not(:has(a)) { display: none; }
.article-nav a {
  display: block;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--porcelain);
  color: var(--anthracite);
  box-shadow: none;
}
.article-nav a:hover { border-color: var(--gold); color: var(--gold); }
.article-nav-next { text-align: right; }
.article-pages:empty { display: none; }
.rel-films-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.95rem;
  padding: 0;
  margin: 0;
}
.rel-film-card a { color: var(--anthracite); }
.rel-film-card a:hover { color: var(--gold); }
.rel-film-poster {
  display: block;
  aspect-ratio: var(--poster);
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 0.4rem;
  box-shadow: none;
  border: 0;
  background: var(--anthracite);
}
.rel-film-card a:hover .rel-film-poster {
  transform: none;
  border-color: transparent;
  filter: brightness(1.06);
}
.rel-film-poster img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Comments / forms ----- */
.comments-section {
  margin: 1.75rem 0 2.2rem;
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.cv-comment {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.9rem 1.05rem;
  margin: 0;
  padding: 1.05rem 1.15rem 1.1rem;
  background: var(--porcelain);
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.cv-comment-side { text-align: center; }
.cv-comment-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--gold);
  background: var(--anthracite);
}
.cv-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.5rem;
  margin-bottom: 0.4rem;
}
.cv-comment-author {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--anthracite);
}
.cv-comment-author a { color: inherit; }
.cv-comment-author a:hover { color: var(--gold-deep); }
.cv-comment-tag,
.cv-comment-online {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.4rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 700;
}
.cv-comment-group,
.cv-comment-group *,
.cv-comment-date {
  color: var(--dust) !important;
  font-size: 0.78rem;
  font-weight: 500;
  background: none !important;
}
.cv-comment-news {
  margin: 0 0 0.4rem;
  font-size: 0.84rem;
}
.cv-comment-text {
  color: var(--anthracite);
  line-height: 1.55;
}
.cv-comment-sign {
  margin-top: 0.45rem;
  color: var(--dust);
  font-size: 0.82rem;
}
.cv-comment-rate {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.78rem;
  color: var(--gold-deep);
}
.cv-comment-rate a,
.cv-comment-rate span {
  color: var(--gold-deep);
}
.cv-comment-rate a:hover { color: var(--gold); }
.cv-comment-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  font-size: 0.8rem;
}
.cv-comment-foot a,
.cv-comment-foot span {
  color: var(--gold-deep);
  cursor: pointer;
}
.cv-comment-foot a:hover,
.cv-comment-foot span:hover { color: var(--gold); }
.cv-comment-pick:empty,
.cv-comment-pick:not(:has(input)) { display: none; }
.cv-comment-pick,
.cv-comment-pick .form-check-label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  min-height: 0;
}
.cv-comment-pick .form-check-input {
  margin: 0 !important;
  float: none !important;
  position: static !important;
}
.cv-comment-foot .cv-comment-ip,
.cv-comment-foot .cv-comment-ip a {
  margin-left: auto;
  cursor: default;
  color: var(--dust) !important;
}
.cv-comment-foot .cv-comment-ip:hover,
.cv-comment-foot .cv-comment-ip a:hover { color: var(--dust) !important; }
.mass_comments_action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  margin-top: 0.35rem;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--dust);
  font-size: 0.82rem;
}
.mass_comments_action select {
  min-width: 10rem;
}
.mass_comments_action .bbcodes {
  background: var(--anthracite);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 0;
}

.add-comment-box {
  background: var(--porcelain);
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-left: 3px solid var(--gold);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.15rem 1.15rem;
  margin: 1.15rem 0 0;
}
.cv-comment-form-head {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--anthracite);
}
.comments-section .comments-image-uploader-area a,
.add-comment-box .comments-image-uploader-area a {
  color: var(--gold-deep);
  font-weight: 600;
}
.comments-section .comments-image-uploader-area a:hover,
.add-comment-box .comments-image-uploader-area a:hover {
  color: var(--gold);
}
.comments-section .btn-submit-comment {
  border-radius: 0;
}
.form-card-box,
.pm-page,
.userinfo-page,
.search-page-box,
.stats-page-box {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
  margin: 1rem 0 2rem;
}
.form-card-title,
.search-page-title,
.stats-title {
  font-family: var(--display);
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--anthracite);
}
.add-comment-title {
  margin: 0;
}
.form-group { margin-bottom: 0.85rem; }
.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--dust);
  font-size: 0.86rem;
}

.form-input,
.form-textarea,
.f_input,
.f_textarea,
.form-card-box input[type="text"],
.form-card-box input[type="email"],
.form-card-box input[type="password"],
.add-comment-box input[type="text"],
.add-comment-box input[type="email"],
.auth-dropdown-popover input[type="text"],
.auth-dropdown-popover input[type="password"] {
  width: 100%;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--anthracite);
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-input:focus,
.form-textarea:focus,
.f_input:focus,
.f_textarea:focus,
.form-card-box input:focus,
.add-comment-box input:focus,
.auth-dropdown-popover input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.btn-primary-form,
.btn-submit-comment,
.bbcodes,
.send,
.btn-poll-vote {
  padding: 0.66rem 1.1rem;
  border-radius: 12px;
  cursor: pointer;
}
.btn-poll-vote { margin-right: 0.4rem; }
.btn-secondary-form {
  background: var(--porcelain);
  color: var(--anthracite);
  border: 1px solid var(--line);
  padding: 0.66rem 1.1rem;
  border-radius: 12px;
  cursor: pointer;
}
.btn-secondary-form:hover { border-color: var(--gold); color: var(--gold); }

/* ----- Login ----- */
.user-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--anthracite-soft);
  border: 1px solid rgba(197, 168, 128, 0.38);
  color: var(--ink-on-dark);
  border-radius: 12px;
  padding: 0.25rem 0.5rem 0.25rem 0.3rem;
  cursor: pointer;
}
.user-pill-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.user-pill-img,
.user-pill-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}
.user-pill-avatar {
  display: grid;
  place-items: center;
  background: var(--anthracite);
}
.user-pill-avatar svg { width: 16px; height: 16px; fill: currentColor; }
.pill-chevron { width: 16px; height: 16px; fill: currentColor; }
.auth-dropdown-popover {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 232px;
  background: var(--porcelain);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(26, 33, 35, 0.14);
  padding: 0;
  z-index: 50;
  color: var(--anthracite);
  overflow: hidden;
}
.auth-dropdown-popover.is-visible { display: block; }
.user-auth-wrapper { position: relative; }
.user-pill-name {
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
}
.user-dropdown-panel {
  width: 232px;
  padding: 0;
}
.auth-login-panel { padding: 0.85rem; }
.user-dropdown-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.72rem;
  border-bottom: 1px solid var(--line);
}
.user-dropdown-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.4);
  flex-shrink: 0;
}
.user-dropdown-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}
.user-dropdown-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--anthracite);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown-name:hover { color: var(--gold-deep); }
.user-dropdown-role {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  color: var(--dust);
  font-size: 0.66rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown-nav {
  display: flex;
  flex-direction: column;
  padding: 0.2rem 0 0.28rem;
}
.user-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.36rem 0.72rem;
  color: var(--anthracite);
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease;
}
.user-dropdown-link:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-deep);
}
.user-dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: var(--dust);
  flex-shrink: 0;
}
.user-dropdown-icon svg {
  width: 15px;
  height: 15px;
}
.user-dropdown-link:hover .user-dropdown-icon { color: var(--gold); }
.user-dropdown-label {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}
.user-dropdown-badge {
  min-width: 1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-deep);
  font-size: 0.64rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}
.user-dropdown-link-out {
  margin-top: 0.12rem;
  padding-top: 0.42rem;
  border-top: 1px solid var(--line);
  color: var(--dust);
}
.user-dropdown-link-out:hover { color: var(--anthracite); }
.btn-login-submit {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.62rem;
  border-radius: 12px;
}
.auth-form-header h3 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  color: var(--anthracite);
}
.lost-pass-link,
.form-footer-register a { color: var(--gold-deep); }
.pm-counter-badge { color: var(--gold-deep); }

/* ----- Pagination / engine ----- */
.pagination-wrapper,
.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.8rem 0 2.2rem;
}
.pages-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pagination-wrapper a,
.pagination-wrapper span,
.pages-list a,
.pages-list span,
.page-link,
.navigation a,
.navigation span {
  display: inline-flex;
  min-width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #dddfe3;
  border-radius: 999px;
  color: var(--anthracite);
  background: var(--porcelain);
  padding: 0 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(26, 33, 35, 0.05);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.pagination-wrapper a:hover,
.pages-list a:hover,
.navigation a:hover,
.page-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.pagination-wrapper span,
.pages-list span,
.navigation span,
.page-link.active {
  background: var(--gold-grad);
  color: var(--anthracite);
  border-color: var(--gold);
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.28);
}
.speedbar {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.12rem 0;
  margin: 0;
  font-family: var(--ui);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-on-dark);
}
.speedbar a {
  color: var(--muted-on-dark);
  text-decoration: none;
}
.speedbar a:hover { color: var(--gold); }
.cv-speed {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.05rem;
  padding: 0.42rem 0.8rem 0.42rem 0.45rem;
  background: var(--anthracite);
  border: 0;
}
.cv-speed-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  background: var(--gold);
  color: var(--anthracite);
}
.cv-speed-mark svg {
  width: 0.92rem;
  height: 0.92rem;
  fill: currentColor;
}
.cv-speed-sep {
  display: inline-block;
  width: 0.34rem;
  height: 0.34rem;
  margin: 0 0.42rem 0 0.38rem;
  border-right: 1.5px solid var(--gold);
  border-top: 1.5px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.85;
}
.cv-speed-now {
  color: var(--ink-on-dark);
  font-weight: 700;
}
.cv-speed[hidden] { display: none; }
.info-alert-box,
#dle-info {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1rem;
  margin: 0.8rem 0;
  border-radius: var(--radius);
}
.sort-bar {
  background: var(--porcelain) !important;
  border-color: var(--line) !important;
}
.sort > li a {
  background: var(--mist) !important;
  color: var(--dust) !important;
}
.sort > li.asc a,
.sort > li.desc a {
  background: var(--gold-grad) !important;
  color: var(--anthracite) !important;
}
.sort > li.asc a:after { border-bottom-color: var(--anthracite) !important; }
.sort > li.desc a:after { border-top-color: var(--anthracite) !important; }

.quote,
.title_quote,
.scriptcode,
.title_spoiler,
.text_spoiler {
  background: var(--mist) !important;
  border-color: var(--line) !important;
  color: var(--anthracite) !important;
}
.hide {
  background: var(--mist) !important;
  color: var(--gold-deep) !important;
}

.ui-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}
.ui-sidebar,
.ui-main {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.ui-profile-header {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.ui-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.ui-card,
.ui-profile-header {
  background: var(--porcelain);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-left: 3px solid var(--gold);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 1rem;
  margin-bottom: 0;
}
.ui-avatar,
.ui-avatar-preview {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--gold);
}
.ui-status-badge {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  padding: 0.12rem 0.42rem;
  border: 1px solid var(--porcelain);
  font-size: 0.62rem;
  font-weight: 700;
}
.ui-online { background: var(--anthracite); color: var(--gold); }
.ui-offline { background: var(--dust); color: #fff; }
.ui-header-info { flex: 1; min-width: 0; }
.ui-username {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.15;
}
.ui-uid {
  padding: 0.12rem 0.45rem;
  background: var(--mist);
  color: var(--dust);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
}
.ui-status,
.ui-time-limit {
  margin: 0 0 0.45rem;
  color: var(--dust);
  font-size: 0.84rem;
}
.ui-banned-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  padding: 0.55rem 0.7rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--anthracite);
  font-size: 0.82rem;
}
.ui-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}
.ui-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.48rem 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: var(--mist);
  color: var(--anthracite);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.ui-action-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: currentColor;
}
.ui-action-btn a {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: inherit;
}
.ui-edit-btn:hover,
.ui-pm-btn {
  background: var(--anthracite);
  border-color: var(--gold);
  color: var(--gold);
}
.ui-card-title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
}
.ui-stat-label,
.ui-detail-label { color: var(--dust); }
.ui-stat-val,
.ui-detail-row { color: var(--anthracite); }
.ui-rating-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
}
.ui-rating-row strong { color: var(--gold-deep); }
.ui-form-section {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.ui-form-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.ui-form-section-title {
  margin: 0 0 0.65rem;
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 700;
}
.ui-avatar-edit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ui-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-size: 0.84rem;
}
.ui-social-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  padding: 0.55rem 0.7rem;
  background: var(--mist);
  border-left: 2px solid var(--gold);
  font-size: 0.84rem;
}
.ui-delete-profile-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--dust);
  font-size: 0.82rem;
  font-weight: 600;
}
.ui-delete-profile-btn:hover { color: var(--gold-deep); }

/* PM */
.pm-nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: var(--mist);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-left: 3px solid var(--gold);
}
.pm-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.48rem 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: var(--porcelain);
  color: var(--anthracite);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.pm-nav-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}
.pm-nav-btn a {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: inherit;
}
.pm-compose-btn,
.pm-nav-btn:hover {
  background: var(--anthracite);
  border-color: var(--gold);
  color: var(--gold);
}
.pm-storage-bar {
  flex: 1 1 120px;
  height: 6px;
  min-width: 80px;
  overflow: hidden;
  background: var(--line);
}
.pm-storage-fill {
  height: 100%;
  background: var(--gold);
}
.pm-storage-label {
  color: var(--dust);
  font-size: 0.76rem;
  white-space: nowrap;
}
.pm-list-section,
.pm-compose-section,
.pm-read-section {
  padding: 1rem;
  background: var(--porcelain);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.pm-section-title,
.pm-thread-subject {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}
.pm-message-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.pm-message-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.pm-avatar-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--gold);
}
.pm-message-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.35rem;
}
.pm-message-author { font-weight: 700; color: var(--anthracite); }
.pm-message-group,
.pm-message-date { color: var(--dust); font-size: 0.78rem; }
.pm-message-text { line-height: 1.55; }
.pm-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.45rem;
  font-size: 0.8rem;
}
.pm-action-link { color: var(--gold-deep); cursor: pointer; }
.pm-reply-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
table.pm {
  width: 100%;
  border-collapse: collapse;
}
table.pm th,
table.pm td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  text-align: left;
}
table.pm th {
  color: var(--dust);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
table.pm td a { color: var(--gold-deep); font-weight: 600; }
.pm_list.pm_icon svg {
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: middle;
}
.ui-stat-row,
.ui-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.7rem;
}
.stat-item,
.stat-period {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.8rem;
}
.stat-value {
  display: block;
  font-size: 1.4rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.vote-widget-box,
.poll-box {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.vote-title {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--anthracite);
}
.vote-options { color: var(--anthracite); }
.vote-total { color: var(--dust); font-size: 0.86rem; }

.fastsearch-item { border-bottom: 1px solid #e6e7ea; }
.fastsearch-link {
  display: flex;
  gap: 0.7rem;
  padding: 0.6rem;
  color: var(--anthracite);
}
.fastsearch-thumb {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}
.search-result-post {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.9rem;
  background: var(--porcelain);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.7rem;
}
.search-result-post img {
  width: 90px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
}

.cv-rule-head .cv-more {
  flex: 0 0 auto;
  font-size: 0.84rem;
  white-space: nowrap;
}

/* Ana sayfa: son yorumlar + etiketler (yan yana) */
.cv-home-duo {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1rem;
  margin: 1.35rem 0 0.15rem;
  align-items: stretch;
}
.cv-home-duo-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.cv-home-widget {
  margin: 1.35rem 0 0.15rem;
}
.cv-home-duo .cv-home-widget {
  margin: 0;
  height: 100%;
}
.cv-lastcomments-list,
.cv-lastcomments-page {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.cv-lastcomments-list {
  flex: 1;
  min-height: 0;
  max-height: 17.5rem;
  overflow-y: auto;
  padding: 0.15rem 1rem;
}
.cv-home-tags .cv-tags-cloud {
  flex: 1;
  min-height: 0;
  max-height: 17.5rem;
  overflow-y: auto;
  align-content: flex-start;
}
.cv-lastcomments-page {
  padding: 0.35rem 1rem 0.75rem;
}
.cv-lastcomments-page .cv-comment {
  margin-bottom: 0.65rem;
}
.cv-lastcomments-page .cv-comment:last-child {
  margin-bottom: 0;
}
.last-comment-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--anthracite);
  text-decoration: none;
  transition: background 0.15s ease;
}
.last-comment-item:last-child { border-bottom: 0; }
.last-comment-item:hover {
  background: var(--mist);
  color: var(--anthracite);
}
.last-comment-body { min-width: 0; }
.last-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.2rem;
}
.last-comment-author {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--anthracite);
}
.last-comment-time {
  font-size: 0.74rem;
  color: var(--dust);
}
.last-comment-snippet {
  margin: 0 0 0.28rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--anthracite);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.last-comment-news {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cv-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.cv-tags-cloud a {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--anthracite);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.cv-tags-cloud a:hover {
  border-color: rgba(212, 175, 55, 0.65);
  color: var(--gold-deep);
  background: rgba(212, 175, 55, 0.12);
}
.cv-tags-cloud-page {
  border-left: 0;
  padding: 0.25rem 0 0;
  box-shadow: none;
  border: 0;
}

.topnews-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #d5d7dc;
  color: var(--anthracite);
}
.topnews-item:last-child { border-bottom: 0; }
.topnews-thumb {
  width: 48px;
  height: 68px;
  object-fit: cover;
  border-radius: 0;
}
.topnews-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}
.topnews-title a { color: var(--anthracite); }
.topnews-title a:hover { color: var(--gold); }
.topnews-meta {
  color: var(--dust);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}
.last-comment-avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 0;
}

.cv-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.cv-widget {
  background: #eceef2;
  border: 1px solid #c8cad0;
  border-top: 2px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.cv-widget h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  background: var(--anthracite);
  color: var(--ink-on-dark);
  padding: 0.78rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: none;
}
.cv-widget-body {
  padding: 0.35rem 0 0.45rem;
  background: #eceef2;
}
.cv-cats {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cv-cats li { margin: 0; }
.cv-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.62rem 1rem;
  color: var(--anthracite);
  border-bottom: 1px solid #d8dae0;
  border-left: 2px solid transparent;
  transition: none;
}
.cv-cats li:last-child > a { border-bottom: 0; }
.cv-cats a:hover {
  color: var(--anthracite);
  background: #e4e6eb;
  border-left-color: var(--gold);
}
.drop-name { min-width: 0; }
.drop-count {
  flex: 0 0 auto;
  min-width: 1.7rem;
  text-align: center;
  color: var(--dust);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.16rem 0.42rem;
  border: 1px solid transparent;
  background: transparent;
}
.cv-cats a:hover .drop-count {
  background: var(--gold);
  color: var(--anthracite);
  border-color: var(--gold);
}

.cv-widget-body .topnews-item {
  padding: 0.7rem 1rem;
  margin: 0;
}
.cv-widget-body .topnews-item:last-child { border-bottom: 0; }
.cv-widget .vote-widget-box,
.cv-widget .poll-box {
  padding: 0.75rem 1rem 0.9rem;
}
.cv-widget .btn-poll-vote,
.cv-widget .btn-secondary-form {
  border-radius: 0;
}

.cv-popular {
  width: 100%;
  margin: 0;
  padding: 1.55rem 0 1.75rem;
  background: var(--anthracite);
  border-top: 2px solid var(--gold);
}
.cv-popular-head {
  margin: 0 0 0.85rem;
}
.cv-popular-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.cv-popular-track {
  display: flex;
  gap: 0.35rem 0.15rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.4rem;
  counter-reset: vault;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.cv-popular-track::-webkit-scrollbar { display: none; }
.cv-pop-card {
  flex: 0 0 auto;
  width: 9.6rem;
  text-decoration: none;
  color: var(--ink-on-dark);
  counter-increment: vault;
}
.cv-pop-visual {
  display: flex;
  align-items: flex-end;
}
.cv-pop-rank {
  flex: 0 0 2.55rem;
  margin-right: -1.2rem;
  z-index: 0;
  line-height: 0.72;
}
.cv-pop-rank::before {
  content: counter(vault);
  font-family: var(--display);
  font-size: 5.1rem;
  font-weight: 600;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  letter-spacing: -0.06em;
}
.cv-pop-poster {
  position: relative;
  z-index: 1;
  width: 7.15rem;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--anthracite-soft);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}
.cv-pop-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cv-pop-copy {
  display: block;
  margin-top: 0.42rem;
  padding-left: 2.45rem;
}
.cv-pop-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-on-dark);
}
.cv-pop-meta {
  display: block;
  margin-top: 0.12rem;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 600;
}
.cv-pop-card:hover .cv-pop-poster { filter: brightness(1.08); }
.cv-pop-card:hover .cv-pop-title { color: var(--gold); }

.cv-footer {
  width: 100%;
  margin-top: 0;
  background: var(--anthracite);
  color: var(--muted-on-dark);
  font-size: 0.9rem;
  padding: 2rem 0 1.85rem;
  border-top: 2px solid var(--gold);
  text-align: center;
}
.cv-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}
.cv-footer-brand {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink-on-dark);
  letter-spacing: 0.01em;
}
.cv-footer-brand:hover { color: var(--gold); }
.cv-footer-brand em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.cv-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.15rem;
}
.cv-footer a { color: var(--muted-on-dark); }
.cv-footer a:hover { color: var(--gold); }
.cv-footer-copy {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 36rem;
}
.cv-footer-tagline {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(244, 244, 246, 0.58);
  letter-spacing: 0.02em;
}
.cv-footer-design {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a8084;
}
.cv-footer-design a {
  color: var(--gold);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.cv-footer-design a em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
}
.cv-footer-design a:hover {
  color: var(--gold-deep);
}

.page-link.prev-btn,
.page-link.next-btn,
.pagination-wrapper a:first-child,
.pagination-wrapper a:last-child { padding: 0 1rem; }

.article-rating-box,
.ratebox2,
.ratebox3,
.ratebox4 { margin: 0.8rem 0; }
.ratingplus { color: var(--gold-deep) !important; }
.ratingminus { color: #8a5a5a !important; }

.share-wrapper { position: relative; display: inline-block; }
.share-popover {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 180px;
  z-index: 8;
}
.share-popover.is-visible { display: block; }
.share-item {
  display: block;
  padding: 0.45rem 0.7rem;
  color: var(--anthracite);
}

.banned-box,
.offline-box { text-align: center; padding: 3rem 1rem; }
.attachment { display: block; padding: 0.5rem 0; }

.main-with-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 1.55rem;
  align-items: start;
}

.cv-mobile-nav {
  display: none;
  background: var(--anthracite-soft);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}
.cv-mobile-nav.is-open { display: block; }
.cv-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem var(--safe) 0.85rem;
}
.cv-mobile-nav a {
  display: block;
  padding: 0.55rem 0;
  color: var(--muted-on-dark);
}
.cv-mobile-nav a:hover { color: var(--gold); }

.calendar tr th.weekday {
  background: var(--anthracite) !important;
  color: var(--gold) !important;
}
.btn,
.ui-dialog-buttonset button:last-child {
  background: var(--gold-grad) !important;
  color: var(--anthracite) !important;
  border: 0 !important;
}
.voteprogress .vote1,
.pollprogress .poll1 {
  background: var(--gold) !important;
}

@media (max-width: 900px) {
  :root { --safe: 1rem; }

  .cv-nav { display: none; }
  .cv-menu-btn { display: grid; }
  .cv-header-inner {
    gap: 0.65rem;
    min-height: 4rem;
  }
  .cv-brand { min-width: 0; }
  .cv-brand-mark { font-size: 1.5rem; }
  .cv-actions { gap: 0.35rem; margin-left: auto; }

  .cv-hero,
  .cv-hero-track,
  .cv-hero-slide { min-height: 58vh; }
  .cv-hero-copy,
  .fs-layout,
  .main-with-side,
  .ui-layout { grid-template-columns: 1fr; }
  .cv-hero-copy {
    gap: 1.1rem;
    padding: 3.2rem 0 3rem;
    text-align: center;
  }
  .cv-hero-poster,
  .fs-poster {
    max-width: 220px;
    margin-inline: auto;
  }
  .cv-hero-meta,
  .fs-meta-foot,
  .fs-actions,
  .fs-ext {
    justify-content: center;
  }
  .cv-hero h1 { font-size: clamp(1.55rem, 5vw, 2.15rem); }
  .cv-hero-nav { width: 2.2rem; height: 2.2rem; top: 42%; }
  .cv-hero-prev { left: 0.55rem; }
  .cv-hero-next { right: 0.55rem; }

  .fs-hero-band { min-height: auto; padding-bottom: 1.35rem; }
  .fs-title { font-size: clamp(1.45rem, 4.8vw, 2rem); }
  .fs-layout { gap: 1.2rem; }
  .fs-aside { max-width: 280px; margin-inline: auto; width: 100%; }
  .fs-ext-btn {
    min-height: 2.35rem;
    padding-inline: 0.65rem;
    font-size: 0.78rem;
  }
  .credits {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    font-size: 0.84rem;
  }

  .reel-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
  .cv-home-duo { grid-template-columns: 1fr; }
  .cv-lastcomments-list,
  .cv-home-tags .cv-tags-cloud { max-height: none; }

  .ui-profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ui-header-actions { justify-content: center; }
  .ui-username { justify-content: center; }

  .cv-story-sheet { border-radius: 12px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .cv-comment {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.7rem 0.75rem;
  }
  .cv-comment-avatar {
    width: 48px;
    height: 48px;
  }

  .auth-dropdown-popover,
  .user-dropdown-panel {
    width: min(232px, calc(100vw - 2 * var(--safe)));
  }

  .pm-nav-bar { align-items: stretch; }
  .pm-storage-label { white-space: normal; }
  .pm-page { overflow-x: auto; }
}

@media (max-width: 600px) {
  :root { --safe: 0.85rem; }

  .shell {
    width: min(var(--max), calc(100% - 1.7rem));
  }

  .cv-header {
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }
  .cv-footer {
    padding-bottom: calc(1.85rem + env(safe-area-inset-bottom, 0));
  }

  .cv-search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .cv-search-form button {
    width: 100%;
    min-height: 2.75rem;
  }
  .qs-results-box {
    max-height: min(280px, calc(100dvh - 12rem));
  }

  .cv-hero,
  .cv-hero-track,
  .cv-hero-slide { min-height: 52vh; }
  .cv-hero-copy { padding: 2.4rem 0 2.5rem; }
  .cv-hero-scrim {
    background:
      linear-gradient(180deg, rgba(26, 33, 35, 0.55) 0%, rgba(26, 33, 35, 0.82) 58%, rgba(244, 244, 246, 0.24) 100%);
  }
  .cv-hero-dots { bottom: 0.85rem; }

  .cv-rule-head {
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
  }
  .cv-rule-head-text {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
  }
  .cv-popular-head h2 { font-size: 1.55rem; }
  .cv-pop-card { width: 8.5rem; }
  .cv-pop-rank::before { font-size: 4.2rem; }
  .cv-pop-poster { width: 6.35rem; }

  .reel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .film-body { padding: 0.65rem 0.7rem 0.75rem; }
  .film-title { font-size: 0.88rem; }

  .fs-hero-band { padding-top: 0.15rem; }
  .fs-title { font-size: clamp(1.3rem, 6vw, 1.75rem); }
  .fs-poster,
  .cv-hero-poster { max-width: 190px; }
  .credits {
    grid-template-columns: 1fr;
    gap: 0.15rem 0;
  }
  .credits dt {
    margin-top: 0.55rem;
    color: var(--gold-deep);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .credits dd { margin: 0; }
  .fs-backdrops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .fs-backdrops-grid img { height: 96px; }
  .fs-trailer-modal { padding: 0.75rem; }
  .fs-trailer-close { top: -2rem; right: 0.15rem; }

  .form-card-box,
  .pm-page,
  .userinfo-page,
  .search-page-box,
  .stats-page-box,
  .add-comment-box {
    padding: 1rem;
  }
  .cv-speed {
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
    padding: 0.55rem 0.65rem;
  }
  .speedbar { font-size: 0.74rem; }

  .pm-message-item {
    flex-direction: column;
    gap: 0.55rem;
  }
  .pm-message-head { flex-direction: column; align-items: flex-start; }
  table.pm { min-width: 520px; }
  .pm-list-section,
  .pm-compose-section,
  .pm-read-section { padding: 0.85rem; }

  .cv-story-viewer { padding: 0; }
  .cv-story-sheet {
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .cv-story-stage { min-height: calc(100dvh - 7.5rem); }

  .share-popover {
    right: auto;
    left: 0;
    min-width: min(100%, 220px);
  }

  .user-pill-name { max-width: 5.5rem; }
  .auth-dropdown-popover,
  .user-dropdown-panel {
    width: min(232px, calc(100vw - 1.2rem));
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
  }
}

@media (max-width: 420px) {
  .user-pill-name { display: none; }
  .cv-icon-btn {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 10px;
  }
  .user-pill-btn { padding-right: 0.35rem; }
  .cv-pop-card { width: 7.6rem; }
  .cv-pop-poster { width: 5.75rem; }
  .cv-coll-card {
    flex-basis: 8.5rem;
    width: 8.5rem;
    height: 4.5rem;
  }
  .cv-footer-tagline { font-size: 0.84rem; }
  .cv-footer-design { letter-spacing: 0.08em; }
}

@media (hover: none) and (pointer: coarse) {
  .film-overlay {
    opacity: 0;
  }
  .film-card:active .film-overlay,
  .film-card:focus-within .film-overlay {
    opacity: 1;
  }
  .cv-coll-row,
  .cv-popular-track {
    cursor: default;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film-card,
  .film-overlay,
  .rel-film-poster,
  .cv-pop-poster { transition: none; }
  .film-card:hover,
  .rel-film-card a:hover .rel-film-poster,
  .cv-pop-card:hover .cv-pop-poster { transform: none; filter: none; }
}
