@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

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

:root {
  --red:        #cc1a1a;
  --red-dark:   #a31515;
  --red-bright: #e02020;
  --black:      #111111;
  --dark:       #1a1a1a;
  --mid:        #2a2a2a;
  --gray:       #888;
  --light-gray: #d0d0d0;
  --white:      #ffffff;
  --off-white:  #f4f4f4;
  --border:     #e0e0e0;
  --font-head:  'Barlow Condensed', sans-serif;
  --font-body:  'Barlow', sans-serif;
  --surface:        #ffffff;
  --surface-hover:  #fafafa;
  --surface-muted:  #f0f0f0;
  --placeholder:    #e8e8e8;
  --body-text:      #333333;
}

html[data-theme="dark"] {
  --black:         #e8e8e8;
  --off-white:     #111111;
  --white:         #1a1a1a;
  --border:        #2a2a2a;
  --light-gray:    #555555;
  --surface:       #1a1a1a;
  --surface-hover: #222222;
  --surface-muted: #1e1e1e;
  --placeholder:   #2a2a2a;
  --body-text:     #cccccc;
}

html { scroll-behavior: smooth; }
body {
  background: var(--off-white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { display: block; max-width: 100%; }

/* ── HEADER ── */
header {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
}
.logo {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
}
.logo:hover { color: white; }
.logo-icon { flex-shrink: 0; display: block; }nav {
  display: flex;
  align-items: center;
}
nav a {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  padding: 0 18px;
  height: 56px;
  display: flex;
  align-items: center;
  letter-spacing: 0.3px;
  transition: background 0.15s, color 0.15s;
  border-right: 1px solid rgba(255,255,255,0.12);
}
nav a:first-child { border-left: 1px solid rgba(255,255,255,0.12); }
nav a:hover { background: var(--red-dark); color: white; }
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-icon { color: white; opacity: 0.85; cursor: pointer; transition: opacity 0.2s; }
.header-icon:hover { opacity: 1; }
.btn-login {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.3px;
}
.btn-login:hover { background: rgba(255,255,255,0.25); }

/* ── HERO SLIDESHOW ── */
.hero-section { position: relative; }
.slideshow {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  background: #000;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
  background-color: #111;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 28px 0;
}
.slide-thumb-strip {
  display: flex;
  gap: 4px;
  padding: 0 0 16px 28px;
}
.slide-thumb-strip img {
  width: 130px;
  height: 49px;
  object-fit: cover;
  opacity: 0.55;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s;
}
.slide-thumb-strip img:hover,
.slide-thumb-strip img.active-thumb {
  opacity: 1;
  border-color: var(--red);
}
.slide-content { padding: 0 28px; max-width: 600px; height: 150px; display: flex; flex-direction: column; justify-content: flex-start; }
.slide-cat {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 8px;
  display: inline-block;
  background: rgba(0,0,0,0.5);
  padding: 2px 8px;
}
.slide-title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: white;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  margin-bottom: 10px;
  transition: color 0.2s;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.slide-content a:hover .slide-title { color: var(--red-bright); }
.slide-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  max-width: 480px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 32px;
  width: 40px;
  height: 60px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.slide-arrow:hover { background: var(--red); }
.slide-prev { left: 0; }
.slide-next { right: 0; }
.slide-dots {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.sdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.sdot.active { background: var(--red); }

/* ── HOT ROW ── */
.hot-row {
  background: var(--dark);
  border-bottom: 3px solid var(--red);
}
.hot-row-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.hot-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
  overflow: hidden;
}
.hot-card:last-child { border-right: none; }
.hot-card:hover { background: rgba(255,255,255,0.04); }
.hot-card-thumb {
  width: 100%;
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}
.hot-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s;
}
.hot-card:hover .hot-card-thumb img { transform: scale(1.04); }
.hot-card-body { padding: 10px 12px 14px; }
.hot-cat {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 5px;
}
.hot-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--light-gray);
  line-height: 1.35;
  transition: color 0.2s;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.hot-card:hover .hot-title { color: white; }

/* ── MAIN LAYOUT ── */
.main-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ── TWO COLUMN ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 12px;
  margin: 12px 0 20px;
}

/* ── BOX HEADER ── */
.box-header {
  background: var(--red);
  color: white;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.box-header::before {
  content: '';
  width: 3px;
  height: 16px;
  background: white;
  opacity: 0.6;
}

/* ── ARTICLES COLUMN ── */
.articles-col { display: flex; flex-direction: column; gap: 12px; }

.latest-articles { background: var(--surface); border: 1px solid var(--border); }

.article-row {
  display: grid;
  grid-template-columns: 1fr 240px;
  border-bottom: 1px solid var(--surface-muted);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.article-row:last-child { border-bottom: none; }
.article-row:hover { background: var(--surface-hover); }
.article-row:hover .article-row-title { color: var(--red); }
.article-row-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-row-cat {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.article-row-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 6px;
  transition: color 0.2s;
}
.article-row-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.article-row-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--gray);
}
.meta-author { display: flex; align-items: center; gap: 5px; }
.author-avatar {
  width: 20px; height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}
.meta-icon { display: flex; align-items: center; gap: 3px; }
.article-row-img {
  width: 240px;
  height: 160px;
  flex-shrink: 0;
  align-self: center;
}
.article-row-img-placeholder {
  width: 240px;
  height: 160px;
  background: var(--placeholder);
  flex-shrink: 0;
}

/* ── REVIEWS SIDEBAR ── */
.reviews-box { background: var(--surface); border: 1px solid var(--border); }

.review-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.review-table th {
  background: var(--surface-muted);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--black);
}
.review-table td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--surface-muted);
  vertical-align: middle;
}
.review-table tr:hover td { background: var(--surface-hover); }
.review-table tr:last-child td { border-bottom: none; }
.review-table .game-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  transition: color 0.2s;
  text-decoration: none;
}
a.game-name { cursor: pointer; }
a.game-name:hover { color: var(--red); }
.score-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  padding: 2px 8px;
  min-width: 34px;
  text-align: center;
}
.score-badge.high { background: #1a7a1a; }
.score-badge.mid  { background: #c47d00; }
.score-badge.low  { background: #999; }
.review-date { color: var(--gray); font-size: 15px; white-space: nowrap; text-align: center; }
.review-table td:nth-child(2) { text-align: center; }
.review-table td:nth-child(3) { text-align: center; }
.review-table th:nth-child(1),
.review-table th:nth-child(2),
.review-table th:nth-child(3) { text-align: center; }
/* ── REVIEW MINI-SLIDESHOW ── */
.review-slideshow {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}
.review-slideshow:empty { display: none; }
.review-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}
.review-slide.active { opacity: 1; }
.review-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.review-slide-overlay {
  position: absolute;
  bottom: 8px; right: 8px;
}
.review-slide-score {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
}
.review-slideshow-dots {
  position: absolute;
  bottom: 6px;
  right: 8px;
  display: flex;
  gap: 4px;
}
.review-slideshow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s;
}
.review-slideshow-dot.active { background: #fff; }

.btn-all-reviews {
  display: block;
  background: var(--red);
  color: white;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.btn-all-reviews:hover { background: var(--red-dark); color: white; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 3px solid var(--red);
  padding: 28px 0 16px;
  color: var(--light-gray);
}
.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 20px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}
.footer-desc { font-size: 13px; color: #888; line-height: 1.6; }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #333;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { font-size: 13px; color: #888; transition: color 0.2s; }
.footer-links a:hover { color: var(--red-bright); }
.footer-bottom {
  max-width: 1260px;
  margin: 0 auto;
  padding: 14px 16px 0;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #555;
}

/* ── ARTICLE PAGE ── */
.article-page { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.article-page__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--gray); text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 28px; transition: color 0.2s;
}
.article-page__back:hover { color: var(--red); }
.article-page__hero { margin-bottom: 28px; }
.article-page__hero img { width: 100%; max-height: 460px; object-fit: cover; object-position: center; }
.article-page__hero--review {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 32px;
}
.article-page__hero--review img { max-height: 800px; object-position: top center; }
.article-page__meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; font-size: 12px; color: var(--gray);
}
.article-page__cat {
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red);
}
.article-page__title {
  font-family: var(--font-head); font-size: 42px; font-weight: 800;
  line-height: 1.05; margin-bottom: 16px; color: var(--black);
}
.article-page__excerpt {
  font-size: 17px; color: var(--gray); line-height: 1.6;
  border-left: 3px solid var(--red); padding-left: 14px; margin-bottom: 28px;
}
.article-page__content { font-size: 17px; line-height: 1.75; color: var(--body-text); }
.article-page__content h2, .article-page__content h3 {
  font-family: var(--font-head); font-weight: 700; margin: 24px 0 10px; color: var(--black);
}
.article-page__content h1 { font-size: 36px; }
.article-page__content h2 { font-size: 30px; }
.article-page__content h3 { font-size: 24px; }
.article-page__content p  { margin-bottom: 16px; }
.article-page__content ul,
.article-page__content ol { padding-left: 28px; margin-bottom: 16px; }
.article-page__content li { margin-bottom: 6px; }
.article-page__content blockquote {
  border-left: 4px solid var(--red); padding-left: 16px;
  color: var(--gray); font-style: italic; margin: 20px 0;
}
.article-page__content pre {
  background: #1a1a1a; color: #a8ff78; padding: 14px 18px;
  border-radius: 4px; font-size: 13px; overflow-x: auto; margin-bottom: 16px;
}
.article-page__content a { color: var(--red); }
.article-page__content a:hover { text-decoration: underline; }
.article-page__content strong { font-weight: 700; }
.article-page__content em { font-style: italic; }

/* ── LOADING ── */
.loading-pulse { background: var(--placeholder); border-radius: 3px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
.empty-msg { padding: 32px; text-align: center; color: var(--gray); font-size: 13px; }

/* ── IMAGE FADE-IN ── */
img.img-fade { opacity: 0; transition: opacity 0.4s ease; }
img.img-fade.loaded { opacity: 1; }

/* ── SEARCH BAR ── */
.header-search-btn {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: white; opacity: 0.85; transition: opacity 0.2s;
  min-width: 44px; min-height: 44px;
  touch-action: manipulation;
}
.header-search-btn:hover { opacity: 1; }
.search-bar {
  background: #111; border-bottom: 2px solid var(--red);
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease;
  position: sticky; top: 56px; z-index: 190;
}
.search-bar.active { max-height: 56px; }
.search-bar__inner {
  max-width: 1260px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; gap: 12px; height: 52px;
}
.search-bar__inner input {
  flex: 1; background: none; border: none; outline: none;
  color: white; font-family: var(--font-body); font-size: 16px;
}
.search-bar__inner input::placeholder { color: #555; }
#searchClose {
  background: none; border: none; color: #666; font-size: 24px;
  cursor: pointer; line-height: 1; padding: 0 4px;
  transition: color 0.15s;
}
#searchClose:hover { color: white; }

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; margin-left: 4px;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  touch-action: manipulation;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px;
}
.mobile-nav {
  background: var(--dark); border-bottom: 2px solid var(--red);
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease;
  position: sticky; top: 56px; z-index: 185;
}
.mobile-nav.active { max-height: 400px; }
.mobile-nav a {
  display: block; padding: 13px 20px;
  font-family: var(--font-head); font-size: 18px; font-weight: 600;
  color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.05); color: white; }

/* ── CATEGORY FILTER ── */
.cat-filter-wrap {
  background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: 56px; z-index: 100;
}
.cat-filter {
  max-width: 1260px; margin: 0 auto; padding: 10px 12px;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
}
.cat-filter::-webkit-scrollbar { display: none; }
.cat-btn {
  flex-shrink: 0; padding: 6px 18px; border-radius: 20px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--off-white); border: 1px solid var(--border);
  color: var(--gray); cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cat-btn:hover { background: var(--surface-muted); color: var(--black); }
.cat-btn.active { background: var(--red); color: white; border-color: var(--red); }

/* ── TOUCH ACTION ── */
button, a, label, .cat-btn { touch-action: manipulation; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: white; border: none;
  font-size: 20px; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--red-dark); }

/* ── RELATED ARTICLES ── */
.related-articles {
  max-width: 800px; margin: 48px auto 0; padding: 0 20px 60px;
}
.related-articles__header {
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em;
  border-left: 4px solid var(--red); padding-left: 12px; margin-bottom: 20px;
}
.related-articles__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.related-card {
  background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: inherit; display: block;
  transition: box-shadow 0.2s, transform 0.2s;
}
.related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-2px); }
.related-card img { width: 100%; height: 120px; object-fit: cover; display: block; }
.related-card__placeholder { width: 100%; height: 120px; background: var(--placeholder); }
.related-card__body { padding: 12px; }
.related-card__cat {
  font-family: var(--font-head); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 4px;
}
.related-card__title {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  line-height: 1.3; color: var(--black); transition: color 0.2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related-card:hover .related-card__title { color: var(--red); }

/* ── STATIC PAGES (About / Contact / Privacy) ── */
.static-page { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.static-page__header { margin-bottom: 36px; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.static-page__title {
  font-family: var(--font-head); font-size: 44px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--black); margin-bottom: 6px;
}
.static-page__sub { font-size: 14px; color: var(--gray); }
.static-page__body { font-size: 17px; line-height: 1.8; color: var(--body-text); }
.static-page__body h2 {
  font-family: var(--font-head); font-size: 24px; font-weight: 800;
  text-transform: uppercase; color: var(--black); margin: 32px 0 10px;
  border-left: 3px solid var(--red); padding-left: 10px;
}
.static-page__body p { margin-bottom: 16px; }
.static-page__body ul { padding-left: 24px; margin-bottom: 16px; }
.static-page__body ul li { margin-bottom: 8px; }
.static-page__body a { color: var(--red); }
.static-page__body a:hover { text-decoration: underline; }

/* Contact form */
.contact-form { max-width: 560px; }
.form-group-s { margin-bottom: 18px; }
.form-group-s label {
  display: block; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray); margin-bottom: 6px;
}
.form-group-s input,
.form-group-s textarea {
  width: 100%; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 3px; color: var(--black);
  font-family: var(--font-body); font-size: 14px; outline: none;
  transition: border-color 0.15s;
}
.form-group-s input:focus,
.form-group-s textarea:focus { border-color: var(--red); }
.form-group-s textarea { resize: vertical; min-height: 140px; }
.contact-submit {
  padding: 12px 28px; background: var(--red); color: white; border: none;
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer;
  border-radius: 3px; transition: background 0.2s;
}
.contact-submit:hover:not(:disabled) { background: var(--red-dark); }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-success {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 48px 20px; text-align: center;
}
.contact-success h3 {
  font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--black);
}
.contact-success p { color: var(--gray); font-size: 15px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .hot-row-inner { grid-template-columns: repeat(3, 1fr); }
  .hot-card:nth-child(4), .hot-card:nth-child(5) { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .related-articles__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { display: none; }
  .nav-hamburger { display: flex; }
  .cat-filter-wrap { top: 56px; }
  .search-bar { top: 56px; }
  .mobile-nav { top: 56px; }
  .article-page__title { font-size: 30px; }
}

/* ── MOBILE (≤600px) ── */
@media (max-width: 600px) {

  /* Hot row: 2-column grid — more visual than a scroll strip */
  .hot-row { overflow: visible; }
  .hot-row-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    overflow: hidden;
  }
  .hot-card { flex: unset; display: flex; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .hot-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .hot-card:nth-child(3),
  .hot-card:nth-child(4) { display: flex; }
  .hot-card:nth-child(5) { display: none; }
  .hot-card-thumb { height: 120px; }
  .hot-title { font-size: 13px; }

  /* Article rows: full-bleed card — image on top, text below */
  .article-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
  }
  .article-row-img {
    width: 100%;
    height: 52vw;
    max-height: 240px;
    order: -1;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
  }
  .article-row-img-placeholder { display: none; }
  .article-row-body { padding: 12px 14px 16px; }
  .article-row-cat { font-size: 10px; margin-bottom: 5px; }
  .article-row-title { font-size: 19px; line-height: 1.2; margin-bottom: 7px; }
  .article-row-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 8px;
  }
  .article-row-meta { font-size: 11px; gap: 10px; }

  /* Reviews sidebar: full-width below articles */
  .reviews-box { margin-top: 0; }
  .review-summary { display: none; }
  .review-table { font-size: 14px; }
  .review-table th, .review-table td { padding: 8px 8px; }
  .review-table .game-name { font-size: 14px; }
  .score-badge { font-size: 14px; min-width: 30px; }

  /* Layout & spacing */
  .main-wrap { padding: 0 10px; }
  .two-col { gap: 0; margin: 0; }
  .articles-col { gap: 0; }
  .latest-articles { border-left: none; border-right: none; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-links a { font-size: 14px; line-height: 2.2; }

  /* Slideshow mobile layout */
  .slideshow { height: auto; overflow: visible; }
  .slide { background-size: cover !important; background-position: center center !important; }
  .slide-mobile { position: relative !important; inset: auto !important; display: none; flex-direction: column; overflow: hidden; min-height: 260px; }
  .slide-mobile.active { display: flex; }
  .slide-mobile-blur { position: absolute; inset: -20px; background: var(--slide-bg) center/cover; filter: blur(18px); opacity: 0.7; transform: scale(1.05); z-index: 0; }
  .slide-mobile-img { position: relative; z-index: 1; width: 100%; height: 185px; object-fit: cover; display: block; }
  .slide-mobile .slide-content {
    position: relative; z-index: 1; width: 100%; box-sizing: border-box;
    flex: 1; padding: 10px 14px 12px; background: rgba(10,10,20,0.82);
  }
  .slide-inner { padding: 0; justify-content: flex-end; }
  .slide-content {
    height: auto; max-width: 100%; padding: 10px 14px 12px;
    background: rgba(10,10,20,0.82);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  }
  .slide-cat { font-size: 10px; margin-bottom: 5px; }
  .slide-title { font-size: 19px; margin-bottom: 0; -webkit-line-clamp: 3; }
  .slide-sub { display: none; }
  .slide-thumb-strip { display: none; }
  .slide-arrow { display: none; }

  /* Related & static pages */
  .related-articles { padding: 0 14px 40px; margin-top: 32px; }
  .related-articles__grid { grid-template-columns: 1fr; }
  .static-page { padding: 28px 16px 60px; }
  .static-page__title { font-size: 32px; }

  /* Article page */
  .article-page { margin: 16px auto; padding: 0 14px; }
  .article-page__title { font-size: 26px; line-height: 1.1; }
  .article-page__excerpt { font-size: 15px; }
  .article-page__content { font-size: 16px; line-height: 1.7; }
  .article-page__content h2 { font-size: 24px; }
  .article-page__content h3 { font-size: 20px; }

  /* Cat filter */
  .cat-btn { padding: 6px 14px; }
}

/* ── SMALL MOBILE (≤430px) ── */
@media (max-width: 430px) {
  .header-left { gap: 0; }
  .logo { font-size: 26px; letter-spacing: -0.5px; }

  /* Hot row: single column on very small phones */
  .hot-row-inner { grid-template-columns: 1fr; }
  .hot-card { border-right: none !important; }
  .hot-card:nth-child(3), .hot-card:nth-child(4) { display: flex; }
  .hot-card-thumb { height: 160px; }
  .hot-title { font-size: 14px; }

  /* Review table: drop date column */
  .review-date, .review-table th:first-child { display: none; }

  .article-page__title { font-size: 23px; }
}

/* ── Verdict Card ── */
.verdict-card {
  margin-top: 48px;
  border: 2px solid var(--border, #e0e0e0);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--font-body, sans-serif);
}
.verdict-header {
  background: #111;
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.verdict-header__label {
  font-family: var(--font-head, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #777;
}
.verdict-score {
  font-family: var(--font-head, sans-serif);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}
.verdict-score-sep {
  width: 1px;
  height: 44px;
  background: #333;
}
.verdict-label {
  font-family: var(--font-head, sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid;
  padding: 4px 10px;
  border-radius: 3px;
}
.verdict-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  background: var(--surface);
}
.verdict-divider {
  background: var(--border, #e0e0e0);
  width: 1px;
}
.verdict-col {
  padding: 22px 26px;
}
.verdict-col__title {
  font-family: var(--font-head, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.verdict-col__title--pro { color: #27ae60; }
.verdict-col__title--con { color: #e74c3c; }
.verdict-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.5;
}
.verdict-list li {
  display: flex;
  gap: 9px;
  margin-bottom: 8px;
  align-items: flex-start;
}
.verdict-icon {
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.verdict-pro { color: #27ae60; }
.verdict-con { color: #e74c3c; }
.verdict-empty { color: #bbb; }
@media (max-width: 600px) {
  .verdict-body { grid-template-columns: 1fr; }
  .verdict-divider { height: 1px; width: auto; }
  .verdict-score { font-size: 40px; }
}

/* ── THEME TOGGLE ── */
.header-theme-btn {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: white; opacity: 0.85; transition: opacity 0.2s;
  min-width: 44px; min-height: 44px;
  touch-action: manipulation;
}
.header-theme-btn:hover { opacity: 1; }

/* ── BROWSE PAGE ── */
.browse-page { min-height: 60vh; }
.browse-hero {
  background: var(--dark);
  border-bottom: 3px solid var(--red);
  padding: 40px 20px;
}
.browse-hero__inner { max-width: 1260px; margin: 0 auto; }
.browse-hero__eyebrow {
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 8px;
}
.browse-hero__title {
  font-family: var(--font-head); font-size: 52px; font-weight: 800;
  line-height: 1; color: white; letter-spacing: -1px; margin-bottom: 10px;
}
.browse-hero__desc { font-size: 15px; color: #aaa; max-width: 520px; }
.browse-wrap { max-width: 1260px; margin: 0 auto; padding: 32px 16px 64px; }
.browse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.browse-card {
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.browse-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.14); transform: translateY(-3px); }
.browse-card__img { width: 100%; height: 200px; overflow: hidden; flex-shrink: 0; background: var(--placeholder); }
.browse-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.browse-card:hover .browse-card__img img { transform: scale(1.04); }
.browse-card__img-placeholder { width: 100%; height: 100%; background: var(--placeholder); }
.browse-card__body { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
.browse-card__cat {
  font-family: var(--font-head); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.browse-card__title {
  font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.25;
  color: var(--black); margin-bottom: 8px; transition: color 0.2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.browse-card:hover .browse-card__title { color: var(--red); }
.browse-card__excerpt {
  font-size: 14px; color: var(--gray); line-height: 1.5; margin-bottom: 12px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.browse-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--gray); margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.browse-loading { text-align: center; padding: 60px 20px; color: var(--gray); font-size: 14px; }
.browse-empty { text-align: center; padding: 80px 20px; color: var(--gray); }
.browse-empty p { font-size: 16px; margin-bottom: 12px; }
.browse-empty.hidden { display: none; }
@media (max-width: 960px) { .browse-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .browse-grid { grid-template-columns: 1fr; }
  .browse-hero__title { font-size: 36px; }
}

/* ── ARTICLE BODY EMBEDS & IMAGES ── */
.article-page__content img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  margin: 28px 0;
}
.article-page__content .ql-video {
  width: 100%;
  height: 480px;
  display: block;
  border: none;
  border-radius: 6px;
  margin: 0;
}
.article-page__content p:has(> br:only-child):has(+ iframe.ql-video),
.article-page__content p:empty:has(+ iframe.ql-video) { display: none; }
.article-page__content p:has(+ iframe.ql-video) { margin-bottom: 0; }
.article-page__content iframe.ql-video + h1,
.article-page__content iframe.ql-video + h2,
.article-page__content iframe.ql-video + h3,
.article-page__content iframe.ql-video + p { margin-top: 0; }
.article-page__content figure.uploaded-video {
  margin: 28px 0;
}
.article-page__content figure.uploaded-video video {
  width: 100%;
  max-height: 480px;
  border-radius: 4px;
  background: #000;
  display: block;
}
.article-page__content .embed-twitter,
.article-page__content .embed-reddit {
  margin: 28px auto;
  max-width: 560px;
}

/* ── Tweet Card ──────────────────────────────────────────── */
.tweet-card {
  margin: 28px auto;
  max-width: 560px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px 14px;
  background: var(--card-bg);
  font-family: inherit;
}
.tweet-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.tweet-card__author {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.tweet-card__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.tweet-card__handle {
  font-size: 13px;
  color: var(--text-muted);
}
.tweet-card__logo {
  color: var(--text);
  opacity: 0.8;
  flex-shrink: 0;
}
.tweet-card__logo:hover { opacity: 1; }
.tweet-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 12px;
  word-break: break-word;
}
.tweet-card__text a {
  color: #1d9bf0;
  text-decoration: none;
}
.tweet-card__text a:hover { text-decoration: underline; }
.tweet-card__date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.tweet-card__cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #1d9bf0;
  text-decoration: none;
  border: 1px solid #1d9bf0;
  border-radius: 20px;
  padding: 4px 14px;
}
.tweet-card__cta:hover { background: rgba(29,155,240,0.08); }
@media (max-width: 600px) {
  .article-page__content .ql-video { height: 240px; }
}

/* ── Auth Modal ────────────────────────────────────────────── */
.gfm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gfm-overlay--visible { display: flex; }
.gfm-box {
  background: var(--card-bg, #fff);
  border-radius: 10px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
[data-theme="dark"] .gfm-box { background: #1e1e1e; }
.gfm-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  color: var(--text-muted, #888);
  padding: 4px 8px;
}
.gfm-close:hover { color: var(--text, #111); }
.gfm-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  color: #cc1a1a;
  margin-bottom: 20px;
  letter-spacing: .5px;
}
.gfm-tabs {
  display: flex;
  border-bottom: 2px solid var(--border, #eee);
  margin-bottom: 20px;
  gap: 0;
}
[data-theme="dark"] .gfm-tabs { border-color: #333; }
.gfm-tab {
  flex: 1;
  background: none; border: none;
  padding: 8px 0 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  color: var(--text-muted, #888);
  position: relative;
  transition: color .15s;
}
.gfm-tab--active { color: #cc1a1a; }
.gfm-tab--active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: #cc1a1a;
}
.gfm-form { display: flex; flex-direction: column; gap: 12px; }
.gfm-form--hidden { display: none; }
.gfm-label { font-size: 13px; font-weight: 600; color: var(--text-muted, #555); margin-bottom: -6px; }
.gfm-input {
  padding: 10px 12px;
  border: 1.5px solid var(--border, #ddd);
  border-radius: 6px;
  font-size: 14px;
  background: var(--input-bg, #fff);
  color: var(--text, #111);
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
}
.gfm-input:focus { outline: none; border-color: #cc1a1a; }
[data-theme="dark"] .gfm-input { background: #2a2a2a; border-color: #444; color: #f0f0f0; }
.gfm-error {
  font-size: 13px;
  color: #cc1a1a;
  min-height: 18px;
}
.gfm-submit {
  margin-top: 4px;
  padding: 11px;
  background: #cc1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.gfm-submit:hover:not(:disabled) { background: #b31515; }
.gfm-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ── User Nav Button ──────────────────────────────────────────── */
.gf-user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  padding: 5px 12px 5px 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.gf-user-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.75);
}
.gf-user-btn--in {
  background: #fff;
  border-color: #fff;
  color: #cc1a1a;
}
.gf-user-btn--in:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
}
.gf-user-btn svg { flex-shrink: 0; }

/* ── User Dropdown ────────────────────────────────────────────── */
.gf-user-dropdown {
  position: absolute;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  min-width: 160px;
  z-index: 8000;
  overflow: hidden;
}
[data-theme="dark"] .gf-user-dropdown { background: #1e1e1e; border-color: #333; }
.gf-user-dropdown__name {
  padding: 10px 14px 8px;
  font-size: 13px; font-weight: 700;
  color: var(--text, #111);
  border-bottom: 1px solid var(--border, #eee);
}
[data-theme="dark"] .gf-user-dropdown__name { color: #f0f0f0; border-color: #333; }
.gf-user-dropdown__logout {
  display: block; width: 100%;
  padding: 10px 14px;
  background: none; border: none;
  text-align: left;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  color: #cc1a1a;
}
.gf-user-dropdown__logout:hover { background: rgba(204,26,26,.06); }

/* ── Comment Section ──────────────────────────────────────────── */
.comment-section {
  max-width: 780px;
  margin: 48px auto 0;
  padding: 0 16px 64px;
}
.cs-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border, #eee);
}
[data-theme="dark"] .cs-header { border-color: #2a2a2a; }
.cs-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text, #111);
}
[data-theme="dark"] .cs-title { color: #f0f0f0; }
.cs-count {
  background: #cc1a1a;
  color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}
.cs-login-prompt {
  font-size: 14px;
  color: var(--text-muted, #777);
  margin-bottom: 24px;
}
.cs-login-link { color: #cc1a1a; font-weight: 600; }
.cs-login-link:hover { text-decoration: underline; }
.cs-form {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.cs-form__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #cc1a1a;
  color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.cs-form__right { flex: 1; }
.cs-textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px 12px;
  border: 1.5px solid var(--border, #ddd);
  border-radius: 8px;
  font-size: 14px;
  resize: vertical;
  background: var(--input-bg, #fff);
  color: var(--text, #111);
  font-family: 'Barlow', sans-serif;
  box-sizing: border-box;
  transition: border-color .15s;
}
.cs-textarea:focus { outline: none; border-color: #cc1a1a; }
[data-theme="dark"] .cs-textarea { background: #1e1e1e; border-color: #333; color: #f0f0f0; }
.cs-form__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.cs-charcount { font-size: 12px; color: var(--text-muted, #aaa); }
.cs-submit {
  padding: 8px 18px;
  background: #cc1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.cs-submit:hover:not(:disabled) { background: #b31515; }
.cs-submit:disabled { opacity: .6; cursor: not-allowed; }
.cs-list { display: flex; flex-direction: column; gap: 0; }
.cs-comment {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border, #f0f0f0);
  position: relative;
}
[data-theme="dark"] .cs-comment { border-color: #2a2a2a; }
.cs-comment:last-child { border-bottom: none; }
.cs-comment__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .cs-comment__avatar { background: #444; }
.cs-comment__body { flex: 1; }
.cs-comment__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.cs-comment__user { font-size: 14px; font-weight: 700; color: var(--text, #111); }
[data-theme="dark"] .cs-comment__user { color: #f0f0f0; }
.cs-comment__time { font-size: 12px; color: var(--text-muted, #aaa); }
.cs-comment__text {
  font-size: 14px;
  color: var(--text, #333);
  line-height: 1.55;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
[data-theme="dark"] .cs-comment__text { color: #ccc; }
.cs-delete {
  position: absolute;
  top: 14px; right: 0;
  background: none; border: none;
  font-size: 18px; line-height: 1;
  cursor: pointer;
  color: var(--text-muted, #bbb);
  padding: 2px 6px;
  opacity: 0;
  transition: opacity .15s, color .15s;
}
.cs-comment:hover .cs-delete { opacity: 1; }
.cs-delete:hover { color: #cc1a1a; }
.cs-empty {
  font-size: 14px;
  color: var(--text-muted, #aaa);
  padding: 20px 0;
}
@media (max-width: 600px) {
  .gf-user-btn span { display: none; }
  .gf-user-btn { padding: 7px; border-radius: 50%; }
}

/* ── GIF Picker ────────────────────────────────────────────────────────────── */
.cs-form__actions { display: flex; align-items: center; gap: 10px; }
.cs-gif-btn {
  padding: 5px 10px;
  background: none;
  border: 1.5px solid var(--border, #ddd);
  border-radius: 6px;
  font-size: 12px; font-weight: 800;
  cursor: pointer;
  color: var(--text-muted, #777);
  letter-spacing: .5px;
  transition: border-color .15s, color .15s;
}
.cs-gif-btn:hover,
.cs-gif-btn--active { border-color: #cc1a1a; color: #cc1a1a; }
[data-theme="dark"] .cs-gif-btn { border-color: #444; color: #aaa; }
.cs-gif-picker {
  border: 1.5px solid var(--border, #ddd);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}
[data-theme="dark"] .cs-gif-picker { border-color: #333; }
.cs-gif-search { padding: 8px; border-bottom: 1px solid var(--border, #eee); }
[data-theme="dark"] .cs-gif-search { border-color: #333; }
.cs-gif-input {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--border, #ddd);
  border-radius: 6px;
  font-size: 13px;
  background: var(--input-bg, #fff);
  color: var(--text, #111);
  box-sizing: border-box;
}
.cs-gif-input:focus { outline: none; border-color: #cc1a1a; }
[data-theme="dark"] .cs-gif-input { background: #1e1e1e; border-color: #444; color: #f0f0f0; }
.cs-gif-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 6px;
  max-height: 240px;
  overflow-y: auto;
  background: var(--card-bg, #fff);
}
[data-theme="dark"] .cs-gif-grid { background: #1a1a1a; }
.cs-gif-result {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity .15s;
}
.cs-gif-result:hover { opacity: .8; }
.cs-gif-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: var(--text-muted, #aaa);
}
.cs-gif-preview {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}
.cs-gif-preview img {
  max-width: 200px;
  max-height: 150px;
  border-radius: 6px;
  object-fit: cover;
}
.cs-gif-remove {
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: 14px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cs-gif-remove:hover { background: #cc1a1a; }
.cs-comment__gif {
  max-width: 280px;
  max-height: 200px;
  border-radius: 6px;
  display: block;
  margin-top: 6px;
  object-fit: cover;
}

/* ── Forgot Password ───────────────────────────────────────────────────────── */
.gfm-forgot-wrap { text-align: center; margin-top: 10px; }
.gfm-forgot-link { font-size: 13px; color: var(--text-muted, #888); text-decoration: none; }
.gfm-forgot-link:hover { color: #cc1a1a; }
.gfm-back-link { font-size: 13px; color: var(--text-muted, #888); text-decoration: none; display: inline-block; margin-bottom: 12px; }
.gfm-back-link:hover { color: #cc1a1a; }
.gfm-forgot-desc { font-size: 14px; color: var(--text-muted, #666); margin: 0 0 16px; line-height: 1.5; }
.gfm-success { font-size: 13px; color: #27ae60; min-height: 18px; }

/* ─── Pagination ─────────────────────────────────────────────────────────── */
.pagination { display:flex; align-items:center; justify-content:center; gap:12px; padding:20px 0 8px; }
.page-btn { background:var(--surface,#1a1a2e); color:var(--text,#e0e0e0); border:1px solid var(--border,#333); border-radius:6px; padding:7px 16px; font-size:13px; font-family:inherit; cursor:pointer; transition:background .15s,border-color .15s; }
.page-btn:hover:not(:disabled) { background:#cc1a1a; border-color:#cc1a1a; color:#fff; }
.page-btn:disabled { opacity:.4; cursor:default; }
.page-info { font-size:13px; color:var(--text-muted,#888); }
