:root {
  --news-bg: #edf6f7;
  --news-panel: rgba(255, 255, 255, 0.9);
  --news-panel-strong: rgba(255, 255, 255, 0.96);
  --news-line: rgba(17, 24, 39, 0.16);
  --news-text: #151515;
  --news-muted: #4b5563;
  --news-orange: #ff7a00;
  --news-blue: #1f7bd7;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--news-text);
  font-family: Inter, Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(237, 246, 247, 0.72), rgba(255, 255, 255, 0.96) 24%, rgba(255, 255, 255, 0.96) 76%, rgba(237, 246, 247, 0.72)),
    url('/public/images/bg/115980.png') center top / cover fixed,
    var(--news-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-list-page {
  width: min(1040px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 76px;
}

.news-list-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.news-list-brand img {
  display: block;
  width: min(190px, 42vw);
  height: auto;
}

.news-list-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  font-family: 'Chakra Petch', Inter, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.news-list-nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 0;
  color: #111827;
  background: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.news-list-nav a:hover {
  color: #f04d22;
  border-bottom-color: var(--news-orange);
  transform: translateY(-2px);
}

.news-list-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 252px;
  padding: 10px 0 24px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.news-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero-visual img {
  display: block;
  width: min(616px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(17, 24, 39, 0.14));
}

.news-hero-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-eyebrow {
  color: #ffcf7a;
  font-family: 'Chakra Petch', Inter, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.news-hero-copy h1 {
  margin: 8px 0 16px;
  color: #fff;
  font-family: 'Chakra Petch', Inter, sans-serif;
  font-size: clamp(2.7rem, 8vw, 6.6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 122, 0, 0.32);
}

.news-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--news-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.news-list-panel {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 0 24px;
  border: 0;
  border-radius: 0;
  background: var(--news-panel);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 18px 10px 0;
  border-bottom: 1px solid var(--news-line);
}

.news-tab {
  position: relative;
  min-width: 112px;
  border: 0;
  border-radius: 0;
  padding: 12px 16px 14px;
  color: #1f2937;
  background: transparent;
  font-family: 'Chakra Petch', Inter, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease;
}

.news-tab::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 3px;
  background: transparent;
}

.news-tab:hover,
.news-tab.active {
  color: #f04d22;
  background: transparent;
  transform: none;
}

.news-tab.active::after {
  background: #f04d22;
}

.news-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 520px;
  margin: 20px auto 16px;
  padding: 0 14px;
}

.news-search input[type='search'] {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 2px;
  padding: 0 12px;
  color: #111827;
  background: #fff;
  outline: none;
}

.news-search input[type='search']::placeholder {
  color: rgba(17, 24, 39, 0.46);
}

.news-search input[type='search']:focus {
  border-color: var(--news-blue);
  box-shadow: 0 0 0 3px rgba(55, 163, 255, 0.16);
}

.news-search button,
.news-more {
  border: 0;
  border-radius: 2px;
  padding: 9px 16px;
  color: #fff;
  background: #ff8a00;
  font-family: 'Chakra Petch', Inter, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.news-results-meta {
  margin: 0 0 10px;
  color: var(--news-muted);
  text-align: center;
  font-size: 0.82rem;
}

.news-list {
  display: grid;
  gap: 0;
  padding: 0 18px;
}

.news-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 15px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background 0.2s ease;
}

.news-row:hover {
  border-color: rgba(17, 24, 39, 0.16);
  box-shadow: none;
  transform: none;
}

.news-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.news-thumb img {
  display: block;
  width: 100%;
  max-width: 122px;
  height: auto;
  object-fit: contain;
}

.news-row-body {
  min-width: 0;
}

.news-row-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  padding: 0;
  color: #f04d22;
  background: transparent;
  font-family: 'Chakra Petch', Inter, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-badge.payment {
  color: #168447;
  background: transparent;
}

.news-badge.giftcode {
  color: #f04d22;
  background: transparent;
}

.news-badge.mod {
  color: #2563eb;
  background: transparent;
}

.news-row time {
  color: var(--news-muted);
  font-size: 0.78rem;
}

.news-row h2 {
  margin: 0 0 5px;
  color: #f04d22;
  font-family: 'Chakra Petch', Inter, sans-serif;
  font-size: 0.96rem;
  line-height: 1.24;
}

.news-row h2 a:hover {
  color: #111827;
}

.news-row p {
  margin: 0 0 8px;
  color: var(--news-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  color: #fff;
  background: #111;
  font-size: 0.72rem;
}

.news-empty {
  margin: 20px 0 0;
  padding: 18px;
  border: 1px dashed rgba(17, 24, 39, 0.22);
  border-radius: 2px;
  color: var(--news-muted);
  text-align: center;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.news-pagination button {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(17, 24, 39, 0.2);
  border-radius: 0;
  color: #fff;
  background: #4b5563;
  font-weight: 800;
  cursor: pointer;
}

.news-pagination button.active,
.news-pagination button:hover {
  color: #111827;
  background: #ffd400;
}

@media (max-width: 820px) {
  .news-list-topbar,
  .news-list-hero {
    grid-template-columns: 1fr;
  }

  .news-list-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-list-nav {
    justify-content: flex-start;
  }

  .news-hero-copy h1 {
    font-size: clamp(2.5rem, 14vw, 4.8rem);
  }
}

@media (max-width: 640px) {
  .news-list-page {
    width: min(100% - 20px, 1120px);
    padding-top: 18px;
  }

  .news-list-hero,
  .news-list-panel {
    border-radius: 0;
  }

  .news-search {
    grid-template-columns: 1fr;
  }

  .news-row {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .news-thumb {
    min-height: 132px;
  }

  .news-thumb img {
    max-width: 190px;
  }

  .news-tab {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }
}

/* Dark anime forest redesign for the standalone news listing. */
:root {
  --news-bg: #050914;
  --news-panel: rgba(10, 16, 28, 0.9);
  --news-panel-strong: rgba(12, 18, 30, 0.96);
  --news-line: rgba(255, 184, 77, 0.2);
  --news-text: #f8fafc;
  --news-muted: #aebbd1;
  --news-orange: #f97316;
  --news-gold: #ffd166;
  --news-green: #22c55e;
  --news-blue: #22d3ee;
}

body {
  color: var(--news-text);
  background:
    radial-gradient(circle at 16% 0%, rgba(249, 115, 22, 0.22), transparent 32%),
    radial-gradient(circle at 86% 7%, rgba(34, 197, 94, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.72), rgba(5, 9, 20, 0.96) 58%, #050914),
    url('/public/images/bg/115980.png') center top / cover fixed,
    var(--news-bg);
}

.news-list-page {
  max-width: 1120px;
}

.news-list-topbar {
  padding: 12px 14px;
  border: 1px solid rgba(255, 184, 77, 0.16);
  border-radius: 16px;
  background: rgba(5, 9, 20, 0.68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.news-list-brand img,
.news-hero-visual img {
  filter: drop-shadow(0 0 24px rgba(255, 179, 71, 0.22));
}

.news-list-nav a {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(248, 250, 252, 0.82);
  background: rgba(255, 255, 255, 0.055);
}

.news-list-nav a:hover {
  color: #111827;
  border-color: rgba(255, 209, 102, 0.56);
  background: linear-gradient(135deg, var(--news-orange), #ffb347 58%, var(--news-gold));
}

.news-list-hero {
  min-height: 300px;
  padding: 24px 0 28px;
}

.news-list-panel {
  overflow: hidden;
  padding-bottom: 28px;
  border: 1px solid rgba(255, 184, 77, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(249, 115, 22, 0.18), transparent 33%),
    radial-gradient(circle at 88% 5%, rgba(34, 197, 94, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(13, 19, 32, 0.94), rgba(5, 9, 20, 0.94));
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.44);
}

.news-tabs {
  border-bottom-color: rgba(255, 184, 77, 0.16);
}

.news-tab {
  min-height: 44px;
  color: rgba(248, 250, 252, 0.72);
}

.news-tab:hover,
.news-tab.active {
  color: var(--news-gold);
}

.news-tab.active::after {
  background: linear-gradient(90deg, var(--news-green), var(--news-gold), var(--news-orange));
  box-shadow: 0 0 14px rgba(255, 179, 71, 0.34);
}

.news-search input[type='search'] {
  min-height: 46px;
  color: #f8fafc;
  border-color: rgba(255, 184, 77, 0.2);
  border-radius: 12px;
  background: rgba(5, 9, 20, 0.88);
}

.news-search input[type='search']::placeholder {
  color: rgba(174, 187, 209, 0.58);
}

.news-search input[type='search']:focus {
  border-color: #ffb347;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.news-search button,
.news-more {
  min-height: 42px;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, var(--news-orange), #ffb347 58%, var(--news-gold));
}

.news-results-meta {
  color: var(--news-muted);
}

.news-list {
  gap: 12px;
}

.news-row {
  grid-template-columns: 132px minmax(0, 1fr);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.news-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 184, 77, 0.34);
  background: rgba(255, 255, 255, 0.07);
}

.news-thumb {
  border-radius: 12px;
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.1), transparent 62%),
    rgba(5, 9, 20, 0.7);
}

.news-badge,
.news-badge.giftcode {
  color: var(--news-gold);
}

.news-badge.payment {
  color: #86efac;
}

.news-badge.mod {
  color: #93c5fd;
}

.news-row time,
.news-row p {
  color: var(--news-muted);
}

.news-row h2 {
  color: #fff7ed;
}

.news-row h2 a:hover {
  color: var(--news-gold);
}

.news-empty {
  border-color: rgba(255, 184, 77, 0.22);
  color: var(--news-muted);
  background: rgba(249, 115, 22, 0.08);
}

.news-pagination button {
  width: 36px;
  height: 36px;
  border-color: rgba(255, 184, 77, 0.2);
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.07);
}

.news-pagination button.active,
.news-pagination button:hover {
  color: #111827;
  background: linear-gradient(135deg, var(--news-orange), var(--news-gold));
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll, scroll, scroll, scroll, scroll;
  }

  .news-list-topbar {
    border-radius: 14px;
  }

  .news-list-panel {
    border-radius: 14px;
  }

  .news-row {
    grid-template-columns: 1fr;
  }
}
