:root {
  --lh-bg: #0a0a0a;
  --lh-panel: #050505;
  --lh-pink: #ff0055;
  --lh-cyan: #00e5ff;
  --lh-text: #ffffff;
  --lh-muted: #9ba7b1;
  --lh-line: #353a40;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--lh-bg);
}
body.lh-page {
  margin: 0;
  padding: 20px;
  min-width: 320px;
  color: var(--lh-text);
  background: radial-gradient(circle at 50% 0, rgba(0, 229, 255, .10), transparent 420px), var(--lh-bg);
  font-family: "Courier New", "Microsoft YaHei", monospace;
  line-height: 1.6;
  text-shadow: 2px 2px 0 #000;
}
a {
  color: inherit;
  text-decoration: none;
}
.lh-scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .22;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, .36) 50%);
  background-size: 100% 4px;
}
.lh-cabinet {
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px;
  border: 4px solid var(--lh-cyan);
  box-shadow: 0 0 20px var(--lh-cyan), inset 0 0 20px rgba(0, 229, 255, .55);
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(0, 0, 0, .10));
}
.lh-header {
  text-align: center;
  padding-bottom: 26px;
  border-bottom: 4px dashed var(--lh-pink);
}
.lh-logo {
  display: inline-block;
  color: var(--lh-pink);
  font-size: 32px;
  font-weight: 900;
  text-shadow: 4px 4px 0 var(--lh-cyan);
  animation: lhBlink 2s infinite;
}
@keyframes lhBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .78; text-shadow: 2px 2px 0 var(--lh-cyan); }
}
.lh-search {
  display: flex;
  width: min(500px, 100%);
  margin: 24px auto 0;
  border: 4px solid var(--lh-text);
  background: #000;
}
.lh-search input {
  min-width: 0;
  flex: 1;
  padding: 13px 15px;
  border: 0;
  outline: 0;
  color: var(--lh-cyan);
  background: transparent;
  font: 700 14px/1.2 "Courier New", monospace;
  letter-spacing: 1px;
}
.lh-search input::placeholder {
  color: #737373;
}
.lh-search button {
  border: 0;
  padding: 0 20px;
  color: #000;
  background: var(--lh-text);
  cursor: pointer;
  font: 900 13px/1 "Courier New", monospace;
}
.lh-search button:hover {
  color: #fff;
  background: var(--lh-pink);
}
.lh-stage-nav {
  margin-top: 46px;
}
.lh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 15px;
  align-items: center;
}
.lh-tags a,
.lh-pager a,
.lh-pager span,
.lh-episodes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 2px solid var(--lh-text);
  padding: 8px 13px;
  color: var(--lh-text);
  background: #000;
  box-shadow: 4px 4px 0 var(--lh-text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform .1s ease, color .1s ease, background .1s ease, border-color .1s ease, box-shadow .1s ease;
}
.lh-tags a:hover,
.lh-tags a.is-active,
.lh-tags a[data-ready="1"]:hover,
.lh-pager a:hover,
.lh-episodes a:hover {
  color: #fff;
  border-color: var(--lh-pink);
  background: var(--lh-pink);
  box-shadow: 4px 4px 0 var(--lh-cyan);
  transform: translate(2px, 2px);
}
.lh-tags-mini a {
  font-size: 11px;
}
.lh-tags-select a {
  min-width: 92px;
}
.lh-tags-dense {
  gap: 12px;
}
.lh-tags-dense a {
  min-width: 58px;
  font-size: 11px;
}
.lh-section {
  margin-top: 48px;
}
.lh-sec-title,
.lh-page-title {
  margin: 0 0 20px;
  color: var(--lh-cyan);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}
.lh-sec-title::before {
  content: "▶ ";
  color: var(--lh-pink);
  animation: lhBlink 1s infinite;
}
.lh-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.lh-sec-head > a,
.lh-start {
  border: 2px solid var(--lh-cyan);
  padding: 8px 12px;
  color: var(--lh-cyan);
  background: #000;
  font-weight: 900;
  font-size: 12px;
}
.lh-sec-head > a:hover,
.lh-start:hover {
  color: #000;
  background: var(--lh-cyan);
}
.lh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.lh-card {
  min-width: 0;
}
.lh-card-link {
  position: relative;
  display: block;
  height: 100%;
  border: 4px solid #333;
  padding: 5px;
  background: #000;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.lh-card-link:hover {
  z-index: 5;
  border-color: var(--lh-cyan);
  box-shadow: 0 0 15px var(--lh-cyan);
  transform: scale(1.04);
}
.lh-screen {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid #222;
  background: #111;
}
.lh-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.35) saturate(1.18);
  opacity: .78;
  transition: opacity .16s ease, filter .16s ease;
}
.lh-card-link:hover .lh-screen img {
  opacity: 1;
  filter: none;
}
.lh-screen b {
  position: absolute;
  left: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  padding: 3px 6px;
  color: #fff;
  background: rgba(255, 0, 85, .86);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lh-card-name {
  display: -webkit-box;
  min-height: 42px;
  margin-top: 12px;
  color: #d6dde4;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.7;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lh-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--lh-muted);
  font-size: 11px;
}
.lh-card-meta em,
.lh-card-meta i {
  min-width: 0;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lh-crumb {
  border-bottom: 2px dashed var(--lh-pink);
  padding-bottom: 18px;
}
.lh-crumb p {
  margin: 0;
  color: var(--lh-muted);
  font-size: 13px;
}
.lh-detail {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 26px;
}
.lh-detail-cover {
  border: 4px solid var(--lh-line);
  background: #000;
  padding: 6px;
}
.lh-detail-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.lh-detail-info h1 {
  margin: 0 0 18px;
  color: var(--lh-pink);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
  text-shadow: 3px 3px 0 var(--lh-cyan);
}
.lh-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lh-detail-meta span {
  border: 2px solid var(--lh-text);
  padding: 6px 10px;
  background: #000;
  font-size: 12px;
  font-weight: 900;
}
.lh-detail-desc {
  margin: 22px 0;
  color: #cbd4dc;
  font-size: 14px;
  line-height: 1.9;
}
.lh-lines {
  display: grid;
  gap: 18px;
}
.lh-line {
  border: 2px solid var(--lh-line);
  padding: 16px;
  background: rgba(0, 0, 0, .45);
}
.lh-line h3 {
  margin: 0 0 14px;
  color: var(--lh-pink);
  font-size: 15px;
}
.lh-episodes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lh-player-box {
  min-height: 420px;
  border: 4px solid var(--lh-cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, .65);
  background: #000;
}
.lh-player-box iframe,
.lh-player-box video {
  width: 100%;
  min-height: 420px;
  display: block;
}
.lh-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.lh-pager span {
  color: #000;
  background: var(--lh-cyan);
  border-color: var(--lh-cyan);
  box-shadow: 4px 4px 0 var(--lh-pink);
}
.lh-empty {
  border: 2px dashed var(--lh-pink);
  padding: 30px;
  color: var(--lh-pink);
  text-align: center;
  font-weight: 900;
}
.lh-footer {
  margin-top: 54px;
  padding: 34px 0 10px;
  border-top: 4px dashed var(--lh-cyan);
  color: #888;
  text-align: center;
  font-size: 12px;
}
.lh-footer-nav,
.lh-flinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 18px;
}
.lh-footer-nav span,
.lh-flinks span {
  color: var(--lh-cyan);
  font-weight: 900;
}
.lh-footer-nav a,
.lh-flinks a {
  color: #d6dde4;
}
.lh-footer-nav a:hover,
.lh-flinks a:hover {
  color: var(--lh-pink);
}
.lh-disc,
.lh-contact,
.lh-copy {
  max-width: 820px;
  margin: 10px auto 0;
}
.lh-copy span {
  color: var(--lh-pink);
}
@media (max-width: 900px) {
  body.lh-page {
    padding: 10px;
  }
  .lh-cabinet {
    padding: 16px;
    border-width: 2px;
  }
  .lh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .lh-logo {
    font-size: 24px;
  }
  .lh-detail {
    grid-template-columns: 1fr;
  }
  .lh-player-box,
  .lh-player-box iframe,
  .lh-player-box video {
    min-height: 260px;
  }
}
@media (max-width: 520px) {
  .lh-search {
    border-width: 3px;
  }
  .lh-search input {
    font-size: 12px;
    padding: 10px;
  }
  .lh-search button {
    padding: 0 12px;
    font-size: 12px;
  }
  .lh-tags {
    gap: 9px;
  }
  .lh-tags a,
  .lh-pager a,
  .lh-pager span,
  .lh-episodes a {
    min-height: 28px;
    padding: 7px 9px;
    font-size: 10px;
    box-shadow: 3px 3px 0 var(--lh-text);
  }
  .lh-tags-select a,
  .lh-tags-dense a {
    min-width: 0;
  }
  .lh-sec-title,
  .lh-page-title {
    font-size: 15px;
  }
  .lh-card-name {
    min-height: 38px;
    font-size: 11px;
  }
  .lh-card-meta {
    display: block;
    font-size: 10px;
  }
  .lh-card-meta i {
    display: block;
    margin-top: 2px;
  }
}
