.page-home {
  background: var(--c-dark);
  color: var(--c-white);
  --home-hero-line: rgba(154,160,166,0.3);
  --home-card-shadow: 0 4px 20px rgba(0,0,0,0.35);
  --home-neon-blue: 0 0 12px rgba(0,229,255,0.5), 0 0 40px rgba(0,229,255,0.2);
  --home-neon-lime: 0 0 12px rgba(180,255,58,0.55), 0 0 36px rgba(180,255,58,0.25);
}
.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}
.page-home a {
  color: var(--c-blue);
  text-decoration: none;
}
.page-home a:hover {
  color: var(--c-lime);
}
.page-home .container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: var(--sp-4);
  padding-right: var(--sp-4);
}
.page-home .section {
  padding: var(--sp-6) 0;
}
.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--home-hero-line);
  padding-bottom: var(--sp-3);
}
.page-home .section-index {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--c-blue);
  letter-spacing: 0.08em;
  border: 1px solid var(--c-blue);
  padding: 2px 6px;
}
.page-home .section-title,
.page-home .section h2 {
  font-size: var(--fs-title-lg);
  font-weight: 900;
  font-style: italic;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}
.page-home .section-desc {
  font-size: var(--fs-small);
  color: var(--c-gray);
  margin: 0;
}

.page-home .home-hero {
  padding-top: var(--sp-6);
}
.page-home .home-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  border-bottom: 1px solid var(--home-hero-line);
  padding-bottom: var(--sp-5);
}
.page-home .home-hero h1 {
  font-size: var(--fs-title-xl);
  font-weight: 900;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 14em;
  text-shadow: var(--home-neon-blue);
}
.page-home .home-hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-small);
  color: var(--c-gray);
  white-space: nowrap;
  padding-bottom: var(--sp-2);
}
.page-home .hero-stat b {
  font-family: var(--font-mono);
  font-size: var(--fs-title-md);
  font-weight: 700;
  color: var(--c-blue);
}
.page-home .hero-stat--lime b {
  color: var(--c-lime);
  text-shadow: var(--home-neon-lime);
}
.page-home .hero-stat-sep {
  opacity: 0.45;
}
.page-home .home-context {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  padding: var(--sp-3) 0;
  font-size: var(--fs-small);
  color: var(--c-gray);
  flex-wrap: wrap;
}

.page-home .update-section {
  padding-top: var(--sp-5);
}
.page-home .update-scroll {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  padding-bottom: var(--sp-4);
  scroll-snap-type: x mandatory;
}
.page-home .update-card {
  flex: 0 0 240px;
  background: var(--c-dark);
  border: 1px solid var(--home-hero-line);
  border-radius: 0;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-home .update-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-blue);
  box-shadow: var(--home-card-shadow), 0 0 0 1px rgba(0,229,255,0.2);
}
.page-home .update-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-ink);
}
.page-home .update-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .update-card-media--flat {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-home .res-tag {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  background: rgba(13,13,18,0.75);
  color: var(--c-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 8px;
  border: 1px solid var(--c-blue);
  letter-spacing: 0.06em;
  z-index: 2;
}
.page-home .update-card .badge {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  z-index: 2;
}
.page-home .update-card-glyph {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-white);
  opacity: 0.8;
  letter-spacing: 0.1em;
}
.page-home .update-card--orange .update-card-media--flat {
  background: linear-gradient(135deg, var(--c-orange), #ff9a55);
}
.page-home .update-card--teal .update-card-media--flat {
  background: linear-gradient(135deg, var(--c-teal), #35e0c0);
}
.page-home .update-card--yellow .update-card-media--flat {
  background: linear-gradient(135deg, var(--c-yellow), #ffe08a);
}
.page-home .update-card--pink .update-card-media--flat {
  background: linear-gradient(135deg, var(--c-pink), #ff7a95);
}
.page-home .update-card--ink .update-card-media--flat {
  background: linear-gradient(135deg, var(--c-ink), #2a4858);
}
.page-home .update-card--blue .update-card-media--flat {
  background: linear-gradient(135deg, var(--c-blue), #66f0ff);
}
.page-home .update-card--purple .update-card-media--flat {
  background: linear-gradient(135deg, var(--c-purple), #5a3a8a);
}
.page-home .update-card--dark .update-card-media--flat {
  background: linear-gradient(135deg, var(--c-dark), #23232e);
}
.page-home .update-card-body {
  padding: var(--sp-3);
}
.page-home .update-card-body h3 {
  font-size: var(--fs-title-sm);
  font-weight: 800;
  margin: 0 0 var(--sp-2);
  line-height: 1.2;
  font-style: italic;
}
.page-home .update-card-meta {
  font-size: var(--fs-small);
  color: var(--c-gray);
  margin: 0;
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  font-family: var(--font-mono);
}

.page-home .tile-section {
  background: var(--c-purple);
}
.page-home .tile-section .section-head {
  border-color: rgba(245,245,250,0.15);
}
.page-home .tile-section .section-desc {
  color: rgba(245,245,250,0.65);
}
.page-home .home-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.page-home .tile {
  position: relative;
  display: block;
  padding: var(--sp-4);
  border: 1px solid rgba(245,245,250,0.12);
  border-radius: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 150px;
  overflow: hidden;
}
.page-home .tile--purple {
  background: var(--c-purple);
}
.page-home .tile--purple:hover {
  background: #3a2264;
}
.page-home .tile--ink {
  background: var(--c-ink);
}
.page-home .tile--ink:hover {
  background: #24424e;
}
.page-home .tile:hover {
  transform: translateY(-3px);
  border-color: var(--c-blue);
  box-shadow: var(--home-card-shadow);
}
.page-home .tile-icon {
  margin-bottom: var(--sp-3);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.page-home .tile-icon img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-home .tile-icon--plain {
  height: 40px;
  position: relative;
}
.page-home .tile-icon--plain::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--c-blue);
  box-shadow: 0 10px 0 var(--c-blue), 0 20px 0 var(--c-blue);
  opacity: 0.6;
}
.page-home .tile--ink .tile-icon--plain::before {
  background: var(--c-lime);
  box-shadow: 0 10px 0 var(--c-lime), 0 20px 0 var(--c-lime);
}
.page-home .tile-title {
  font-size: var(--fs-title-sm);
  font-weight: 900;
  font-style: italic;
  margin: 0 0 var(--sp-1);
  color: var(--c-white);
}
.page-home .tile-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--c-gray);
  display: block;
}
.page-home .tile-tag {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  background: rgba(255,255,255,0.12);
  color: var(--c-white);
  font-size: 11px;
  padding: 2px 8px;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}

.page-home .hot-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-4);
}
.page-home .hot-topbar .section-head {
  flex: 1;
}
.page-home .hot-decor {
  margin-top: var(--sp-2);
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(0,229,255,0.3);
}
.page-home .hot-decor img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  display: block;
}
.page-home .hot-list {
  margin-top: var(--sp-4);
}
.page-home .hot-row {
  display: grid;
  grid-template-columns: 44px 1fr 120px;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--home-hero-line);
}
.page-home .hot-row:last-child {
  border-bottom: none;
}
.page-home .hot-row-main {
  min-width: 0;
}
.page-home .hot-row .list-row-title {
  display: block;
  font-size: var(--fs-body);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--c-white);
}
.page-home .hot-row .list-row-meta {
  font-size: 11px;
  color: var(--c-gray);
  font-family: var(--font-mono);
}
.page-home .hot-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.page-home .hot-bar .bar-track {
  flex: 1;
  height: 6px;
  background: rgba(245,245,250,0.12);
  border-radius: 3px;
  overflow: hidden;
}
.page-home .hot-bar .bar-fill {
  height: 100%;
  border-radius: 3px;
}
.page-home .hot-percent {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-lime);
  min-width: 38px;
  text-align: right;
}

.page-home .archive-section {
  background: var(--c-ink);
}
.page-home .archive-section .section-head {
  border-color: rgba(245,245,250,0.12);
}
.page-home .archive-section .section-desc {
  color: rgba(245,245,250,0.6);
}
.page-home .archive-index {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}
.page-home .archive-index .index-strip-label {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--c-gray);
  margin-right: var(--sp-1);
}
.page-home .archive-index .index-link {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--c-white);
  padding: 4px 12px;
  border: 1px solid rgba(245,245,250,0.25);
  transition: all 0.15s ease;
}
.page-home .archive-index .index-link:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
}
.page-home .archive-index .index-link.is-active {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-dark);
  font-weight: 700;
}
.page-home .archive-table {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(245,245,250,0.1);
}
.page-home .table-head {
  display: none;
  grid-template-columns: 2.4fr 1.2fr 0.8fr 0.8fr 0.6fr;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--c-gray);
  border-bottom: 1px solid rgba(245,245,250,0.12);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.page-home .table-batch-head {
  grid-column: 1;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(13,13,18,0.5);
  color: var(--c-lime);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  border-bottom: 1px solid rgba(245,245,250,0.1);
  letter-spacing: 0.04em;
}
.page-home .table-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-2) var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid rgba(245,245,250,0.08);
  align-items: center;
  transition: background 0.15s ease;
}
.page-home .table-row:hover {
  background: rgba(0,229,255,0.06);
}
.page-home .table-row:last-child {
  border-bottom: none;
}
.page-home .table-cell-title {
  font-weight: 700;
  color: var(--c-white);
}
.page-home .table-cell-channel {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--c-blue);
}
.page-home .table-cell-time {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--c-gray);
}
.page-home .table-cell-res {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--c-yellow);
}
.page-home .table-cell-status {
  text-align: right;
}
.page-home .tableViewport {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.page-home .btn {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--c-blue);
  font-size: var(--fs-small);
  font-weight: 700;
  transition: all 0.15s ease;
  background: transparent;
  color: var(--c-blue);
}
.page-home .btn:hover {
  background: var(--c-blue);
  color: var(--c-dark);
}
.page-home .btn--solid {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-dark);
}
.page-home .btn--solid:hover {
  background: #ff8a5e;
  border-color: #ff8a5e;
  color: var(--c-dark);
}
.page-home .btn--dark {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-white);
}
.page-home .btn--dark:hover {
  background: #23232e;
  border-color: #23232e;
  color: var(--c-white);
}

.page-home .index-note-section {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-7);
}
.page-home .index-note-section h2 {
  font-size: var(--fs-title-md);
  font-weight: 900;
  font-style: italic;
  margin: 0 0 var(--sp-4);
  color: var(--c-white);
  border-bottom: 1px solid var(--home-hero-line);
  padding-bottom: var(--sp-2);
}
.page-home .index-note-section p {
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--c-gray);
  max-width: 680px;
  margin: 0;
}

@media (min-width: 768px) {
  .page-home .section {
    padding: var(--sp-7) 0;
  }
  .page-home .home-hero-row {
    flex-wrap: nowrap;
    align-items: flex-end;
  }
  .page-home .update-card {
    flex-basis: 280px;
  }
  .page-home .home-tile-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-4);
  }
  .page-home .tile {
    min-height: 180px;
  }
  .page-home .tile--span-wide {
    grid-column: span 2;
  }
  .page-home .tile:nth-child(4n) {
    grid-column: span 2;
  }
  .page-home .table-head {
    display: grid;
  }
  .page-home .table-row {
    grid-template-columns: 2.4fr 1.2fr 0.8fr 0.8fr 0.6fr;
    padding: var(--sp-3) var(--sp-4);
  }
  .page-home .table-batch-head {
    grid-column: 1 / -1;
  }
  .page-home .table-cell-status {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .page-home .update-card {
    flex-basis: 300px;
  }
  .page-home .hot-row {
    grid-template-columns: 48px 1fr 160px;
  }
  .page-home .home-tile-grid {
    gap: var(--sp-5);
  }
  .page-home .tile {
    padding: var(--sp-5);
  }
}
