/* Cyber theme styles extracted from global.css */
/* ========== Blade Runner 博客列表页 (body.cyber-page) ========== */
body.cyber-page {
  background: #090b12 !important;
  background-image: none !important;
  background-size: auto !important;
  min-height: 100vh !important;
  --chrome-bg: rgba(7, 13, 24, 0.72);
  --chrome-border: rgba(112, 196, 255, 0.2);
  --chrome-link: rgba(196, 226, 255, 0.92);
  --chrome-link-hover: rgba(232, 206, 245, 0.98);
  --chrome-active: rgba(228, 158, 224, 0.9);
  --chrome-text-muted: rgba(156, 188, 224, 0.76);
}
body.cyber-page .cyber-rain {
  --cyber-rain-layer: 6;
}
/* AI page: scanlines only on header and footer; fade on hover */
body.cyber-page .cyber-spotlight {
  --spotlight-layer: 5;
}
body.cyber-page .cyber-dust {
  --cyber-dust-layer: 2;
}
body.cyber-page header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
body.cyber-page main {
  position: relative;
  z-index: 5;
  width: 960px;
  padding-top: calc(1.5em + 56px);
}
body.cyber-page .title,
body.cyber-page .date {
  color: rgba(202, 228, 255, 0.93);
}
body.cyber-page .date {
  color: rgba(150, 186, 228, 0.68);
}
body.cyber-page ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.cyber-page ul li {
  width: calc(50% - 1rem);
}
body.cyber-page ul li * {
  text-decoration: none;
}
body.cyber-page ul li:first-child {
  width: 100%;
  margin-bottom: 0;
  text-align: left;
}
body.cyber-page ul li:first-child .img-wrapper {
  aspect-ratio: 3 / 1;
}
body.cyber-page ul li:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.cyber-page ul li:first-child .title {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  min-height: 0;
  margin-bottom: 0.35rem;
}
body.cyber-page ul li > .blog-entry {
  display: block;
  position: relative;
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid rgba(116, 194, 255, 0.24);
  box-shadow:
    0 0 6px rgba(100, 182, 255, 0.1),
    0 0 16px rgba(88, 164, 240, 0.07),
    inset 0 0 8px rgba(224, 146, 210, 0.03);
  transition:
    border-color 0.2s,
    box-shadow 0.3s;
}
body.cyber-page ul li > .blog-entry:hover {
  border-color: rgba(124, 204, 255, 0.62);
  box-shadow:
    0 0 10px rgba(112, 196, 255, 0.3),
    0 0 24px rgba(214, 146, 210, 0.2),
    inset 0 0 18px rgba(136, 204, 255, 0.08);
  animation: cyber-neon-flicker 0.45s ease-in-out infinite;
}
@keyframes cyber-neon-flicker {
  0%,
  100% {
    box-shadow:
      0 0 10px rgba(112, 196, 255, 0.3),
      0 0 24px rgba(214, 146, 210, 0.2),
      inset 0 0 18px rgba(136, 204, 255, 0.08);
  }
  50% {
    box-shadow:
      0 0 7px rgba(112, 196, 255, 0.22),
      0 0 15px rgba(214, 146, 210, 0.14),
      inset 0 0 10px rgba(136, 204, 255, 0.06);
  }
}
body.cyber-page ul li > .blog-entry:hover .title {
  animation: cyber-glitch 0.3s ease-in-out;
  color: rgb(212, 236, 255);
  text-shadow:
    0 0 10px rgba(120, 200, 255, 0.62),
    0 0 22px rgba(222, 150, 214, 0.3),
    0 0 34px rgba(90, 170, 240, 0.2);
}
@keyframes cyber-glitch {
  0% {
    transform: translate(0);
    text-shadow: 0 0 8px rgba(120, 200, 255, 0.55);
  }
  20% {
    transform: translate(-2px, 2px);
    text-shadow:
      2px 0 rgba(224, 150, 214, 0.55),
      -2px 0 rgba(120, 202, 255, 0.5);
  }
  40% {
    transform: translate(2px, -2px);
    text-shadow:
      -2px 0 rgba(120, 202, 255, 0.5),
      2px 0 rgba(224, 150, 214, 0.55);
  }
  60% {
    transform: translate(-1px, 1px);
  }
  80% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0);
    text-shadow: 0 0 8px rgba(120, 200, 255, 0.55);
  }
}
body.cyber-page ul li > .blog-entry:hover .date {
  color: rgba(196, 226, 255, 0.95);
  text-shadow:
    0 0 10px rgba(120, 194, 255, 0.45),
    0 0 20px rgba(218, 148, 210, 0.26);
}
body.cyber-page .img-wrapper {
  position: relative;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  overflow: hidden;
}
/* 水平扫线 - 日式樱花+赛博蓝 */
body.cyber-page .img-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 10px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 182, 228, 0.74),
    rgba(234, 148, 214, 0.88),
    rgba(170, 200, 255, 0.9),
    rgba(234, 148, 214, 0.88),
    rgba(255, 182, 228, 0.74),
    transparent
  );
  box-shadow:
    0 0 24px rgba(232, 150, 214, 0.62),
    0 0 48px rgba(110, 182, 255, 0.32);
  pointer-events: none;
  transition: top 1.2s linear;
}
body.cyber-page ul li > .blog-entry:hover .img-wrapper::before {
  top: 100%;
}
body.cyber-page .img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 55% 28% at 12% 100%, rgba(38, 202, 255, 0.38), transparent 75%),
    radial-gradient(ellipse 50% 24% at 88% 100%, rgba(255, 72, 148, 0.32), transparent 75%);
  border-bottom: 2px solid rgba(140, 215, 255, 0.48);
  box-shadow:
    inset 0 0 25px rgba(108, 190, 255, 0.16),
    inset 0 0 50px rgba(224, 148, 212, 0.1);
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.4s ease;
}
body.cyber-page ul li > .blog-entry:hover .img-wrapper::after,
body.cyber-page ul li > .blog-entry:focus-within .img-wrapper::after {
  opacity: 1;
}
body.cyber-page ul li img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.75) contrast(1.05) brightness(0.88) sepia(0.15) hue-rotate(-2deg);
  transition:
    filter 0.3s,
    box-shadow 0.3s;
}
body.cyber-page ul li > .blog-entry:hover img {
  filter: saturate(0.88) contrast(1.11) brightness(0.94) sepia(0.08) hue-rotate(-6deg);
  box-shadow:
    0 0 15px rgba(116, 194, 255, 0.22),
    0 0 30px rgba(224, 148, 212, 0.2);
}
body.cyber-page .title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  min-height: calc(1.2em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  transition:
    color 0.2s,
    text-shadow 0.2s;
}
body.cyber-page .date {
  margin: 0;
  transition:
    color 0.2s,
    text-shadow 0.2s;
}
/* BR2049: Las Vegas/baseline 橙色光晕点缀 */
body.cyber-page footer {
  box-shadow:
    0 -4px 42px rgba(104, 182, 255, 0.14),
    0 -4px 36px rgba(224, 146, 210, 0.16);
}

@media (max-width: 720px) {
  body.cyber-page main {
    padding-top: calc(0.5em + 56px);
  }
  body.cyber-page ul {
    gap: 0.5em;
  }
  body.cyber-page ul li {
    width: 100%;
    text-align: center;
  }
  body.cyber-page ul li:first-child {
    margin-bottom: 0;
  }
  body.cyber-page ul li:first-child .img-wrapper {
    aspect-ratio: 2 / 1;
  }
  body.cyber-page ul li:first-child .title {
    font-size: 1.563em;
  }
}
