/* homepage-only. Loaded when body.home-index. Does not change other pages. */
.home-index {
  padding-top: 60px;
  overflow-x: hidden;
  background: #f2f2f2;
  --accent: #1496ff;
  --accent-deep: #0a78e0;
  --orange: #f0a500;
  --orange-2: #ff7e00;
  --void: #0e131b;
  --head: #171d27;
  --paper: #f2f2f2;
  --ink: #1a1d23;
  --ink-2: #5a6270;
  --ink-3: #98a0ad;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}
.home-index .header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 60px;
  background: transparent;
}
.home-index .header .fixed {
  position: relative;
  z-index: 2;
  height: 60px;
  background: transparent;
  box-shadow: none;
}
.home-index .header .fixed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #171d27, #0e131b);
  box-shadow: 0 4px 8px -2px rgba(9, 30, 66, .25), 0 0 0 1px rgba(9, 30, 66, .08);
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity .38s var(--ease), transform .42s var(--ease);
  pointer-events: none;
}
.home-index .header .fixed > *:not(.tool):not(.menu-slide):not(.mask-bg) { position: relative; z-index: 1; }
.home-index .header .fixed > .tool {
  position: absolute;
  z-index: 4;
}
.home-index:not(.is-solid) .header .search-form {
  width: 0 !important;
  max-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.home-index:not(.is-solid) .unlogin-box .login {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,.2) !important;
  color: rgba(255,255,255,.72) !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}
.home-index:not(.is-solid) .unlogin-box .login:hover {
  border-color: var(--orange) !important;
  color: var(--orange) !important;
}
.home-index.is-solid .header .fixed::before {
  opacity: 1;
  transform: none;
}
.home-index.is-solid .unlogin-box .login {
  background: var(--orange) !important;
  border-color: transparent !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(240, 165, 0, .25) !important;
}
/* search-form-icon is the <svg> itself; search-vision padding/flex assumes a wrapping button. */
.home-index .header .search-form .s-txt,
.home-index .imm-bar input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}
.home-index .header .search-form .s-txt::-webkit-search-decoration,
.home-index .header .search-form .s-txt::-webkit-search-results-button,
.home-index .header .search-form .s-txt::-webkit-search-results-decoration,
.home-index .imm-bar input[type="search"]::-webkit-search-decoration,
.home-index .imm-bar input[type="search"]::-webkit-search-results-button,
.home-index .imm-bar input[type="search"]::-webkit-search-results-decoration {
  display: none !important;
  -webkit-appearance: none;
}
.home-index .header .search-form.sv-ready .search-form-icon {
  display: block !important;
  box-sizing: border-box !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 50%;
  background: #fff !important;
  color: #1a1f2a !important;
  line-height: 0;
  top: 50% !important;
  right: 4px !important;
  left: auto !important;
  transform: translateY(-50%);
  overflow: hidden;
}
.home-index .header .search-form.sv-ready .search-form-icon:hover,
.home-index .header .search-form.sv-ready .s-txt:focus ~ .search-form-icon,
.home-index .header .search-form.sv-ready:focus-within .search-form-icon {
  background: #f3f4f6 !important;
}
.home-index:not(.is-solid) .header .search-form .search-form-icon {
  visibility: hidden;
  opacity: 0;
}

.home-index .top-band {
  position: relative;
  margin: -60px 0 0;
  padding: 60px 0 96px;
  background: linear-gradient(180deg, #171d27 0%, #121821 48%, #0e131b 100%);
  overflow: visible;
  --mx: 50%;
  --my: 34%;
  --glow: .35;
}
.home-index .top-band__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 78%, transparent 100%);
}
.home-index .top-band__aurora {
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(115deg, transparent 20%, rgba(20,150,255,.16) 42%, rgba(240,165,0,.1) 55%, transparent 72%);
  background-size: 220% 220%;
  animation: homeAurora 14s ease-in-out infinite;
  mix-blend-mode: screen;
  opacity: .7;
}
.home-index .top-band__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .48;
  mix-blend-mode: screen;
}
.home-index .top-band__blob--a {
  width: 460px; height: 460px; left: -10%; top: -24%;
  background: radial-gradient(circle, rgba(20,150,255,.58), transparent 68%);
  animation: homeBlobA 18s var(--ease) infinite alternate;
}
.home-index .top-band__blob--b {
  width: 340px; height: 340px; right: -6%; top: -6%;
  background: radial-gradient(circle, rgba(240,165,0,.4), transparent 70%);
  animation: homeBlobB 22s var(--ease) infinite alternate;
}
.home-index .top-band__blob--c {
  width: 300px; height: 300px; left: 38%; top: 18%;
  background: radial-gradient(circle, rgba(41,165,255,.36), transparent 72%);
  animation: homeBlobC 16s var(--ease) infinite alternate;
}
.home-index .top-band__cursor {
  position: absolute;
  width: 520px; height: 520px;
  left: var(--mx); top: var(--my);
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,150,255,.3) 0%, rgba(240,165,0,.1) 40%, transparent 68%);
  opacity: calc(.28 + var(--glow) * .42);
  filter: blur(8px);
  mix-blend-mode: screen;
  animation: homeGlowPulse 5.5s ease-in-out infinite;
  pointer-events: none;
}
.home-index .top-band.is-lit .top-band__cursor {
  animation: none;
  opacity: calc(.5 + var(--glow) * .3);
}
.home-index .top-band__shine {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 48% 40% at var(--mx) var(--my), rgba(88,181,255,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 42%);
  opacity: calc(.5 + var(--glow) * .35);
  pointer-events: none;
}
@keyframes homeAurora {
  0% { transform: translate3d(-8%, 4%, 0) rotate(-2deg); background-position: 0% 40%; opacity: .45; }
  50% { transform: translate3d(6%, -3%, 0) rotate(2deg); background-position: 100% 60%; opacity: .85; }
  100% { transform: translate3d(-8%, 4%, 0) rotate(-2deg); background-position: 0% 40%; opacity: .45; }
}
@keyframes homeBlobA {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .42; }
  to { transform: translate3d(48px, 36px, 0) scale(1.18); opacity: .62; }
}
@keyframes homeBlobB {
  from { transform: translate3d(0, 0, 0) scale(1.05); opacity: .36; }
  to { transform: translate3d(-42px, 30px, 0) scale(1.2); opacity: .55; }
}
@keyframes homeBlobC {
  from { transform: translate3d(0, 0, 0) scale(.95); opacity: .3; }
  to { transform: translate3d(36px, -28px, 0) scale(1.22); opacity: .58; }
}
@keyframes homeGlowPulse {
  0%, 100% { opacity: .28; transform: scale(1); }
  50% { opacity: .48; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .home-index .top-band__blob,
  .home-index .top-band__aurora,
  .home-index .top-band__cursor { animation: none; }
}

.home-index .home-seek {
  position: relative;
  z-index: 2;
  height: 220px;
  color: #fff;
  overflow: visible;
  background: transparent;
}
.home-index .home-seek__in {
  position: relative;
  z-index: 12;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 55px 12px;
  box-sizing: border-box;
}
.home-index .imm-wrap { width: 680px; max-width: 100%; text-align: center; }
.home-index .imm-title {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255,255,255,.96);
}
.home-index .imm { width: 100%; }
.home-index .imm-bar {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 4px 4px 4px 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.14);
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.home-index .imm-bar:focus-within {
  border-color: rgba(88,181,255,.7);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(20,150,255,.14);
}
.home-index .imm-bar input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: none;
  caret-color: #1496ff;
}
.home-index .imm-bar input[type="search"]::placeholder { color: rgba(255,255,255,.46); }
.home-index .imm-bar input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.home-index .imm-go {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 19px;
  background: linear-gradient(135deg, #29a5ff, #087cf2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}
.home-index .imm-go:hover {
  background: linear-gradient(135deg, #3aadff, #0a78e0);
}
.home-index .imm-hots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 16px;
  font-size: 13px;
}
.home-index .imm-hots b { font-weight: 400; color: rgba(255,255,255,.38); }
.home-index .imm-hots a {
  color: rgba(255,255,255,.62);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
}
.home-index .imm-hots a:hover { color: var(--orange); }

.home-index .topic-film-wrap {
  position: relative;
  z-index: 4;
  padding: 4px 0 8px;
  background: none;
}
.home-index .topic-film__btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 34px; height: 34px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 8px 22px -10px rgba(0,0,0,.5);
  transition: background .22s var(--ease), transform .22s var(--ease), opacity .2s;
}
.home-index .topic-film__btn:hover {
  background: rgba(20,150,255,.42);
  color: #fff;
  transform: scale(1.05);
}
.home-index .topic-film__btn:disabled { opacity: .18; cursor: default; transform: none; box-shadow: none; }
.home-index .topic-film__btn--prev { left: 14px; }
.home-index .topic-film__btn--next { right: 14px; }
.home-index .topic-film {
  display: flex;
  gap: 7px;
  height: 130px;
  padding: 5px 50px 0;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  background: none;
  border: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
}
.home-index .topic-film::-webkit-scrollbar { display: none; }
.home-index .topic-film.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.home-index .topic-film.is-dragging a { pointer-events: none; }
.home-index .topic-film a {
  position: relative;
  flex: 0 0 144px;
  width: 144px;
  min-width: 144px;
  height: 112px;
  overflow: hidden;
  border-radius: 10px;
  background: #121722;
  color: #fff;
  text-decoration: none;
  display: block;
  isolation: isolate;
  box-shadow: 0 10px 24px -16px rgba(0,0,0,.68), 0 2px 5px -2px rgba(0,0,0,.32);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.home-index .topic-film a::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,12,20,.06) 0%, rgba(8,12,20,.12) 42%, rgba(6,10,16,.55) 72%, rgba(4,8,14,.88) 100%);
}
.home-index .topic-film a::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
}
.home-index .topic-film a img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  max-width: none;
  filter: brightness(.62) saturate(1.1) contrast(1.04);
  transform: scale(1.03);
  transition: filter .4s var(--ease), transform .55s var(--ease), opacity .25s var(--ease);
}
.home-index .topic-film a img[data-src] { opacity: 0; }
.home-index .topic-film a b {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 44%;
  padding: 0 6px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255,255,255,.96);
  letter-spacing: .05em;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
  background: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.home-index .topic-film a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(20,150,255,.32), 0 10px 20px -12px rgba(0,0,0,.45);
}
.home-index .topic-film a:hover img {
  filter: brightness(.88) saturate(1.14) contrast(1.03);
  transform: scale(1.08);
}
.home-index .topic-film a:hover::after {
  box-shadow: inset 0 0 0 1px rgba(88,181,255,.38);
}
.home-index .topic-film a.more::before {
  background: linear-gradient(180deg, rgba(20,150,255,.18) 0%, rgba(10,60,130,.35) 45%, rgba(6,28,58,.88) 100%);
}
.home-index .topic-film a.more b { color: #c8e6ff; }

.home-index .home-feed {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  padding: 0 0 28px;
  background: transparent;
}
.home-index .home-feed > .auto.layout {
  position: relative;
  z-index: 1;
  float: none;
  width: auto;
  height: auto;
  margin: 0 28px;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,248,251,.99));
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow:
    0 1px 0 rgba(255,255,255,.75) inset,
    0 24px 52px -28px rgba(14,19,27,.48),
    0 12px 28px -16px rgba(20,40,70,.16);
  overflow: hidden;
}
.home-index .home-feed > .auto.layout + .auto.layout {
  margin-top: 16px;
}
.home-index .home-feed .layout-hd {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 22px;
  line-height: 56px;
  background: linear-gradient(180deg, rgba(20,150,255,.04), transparent 70%);
  border-bottom: 1px solid rgba(14,19,27,.05);
  box-sizing: border-box;
}
.home-index .home-feed .layout-hd h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: .02em;
}
.home-index .home-feed .layout-hd h2::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--accent), rgba(20,150,255,.35));
  box-shadow: 0 0 12px rgba(20,150,255,.35);
}
.home-index .home-feed .layout-hd .hd-r {
  margin-left: auto;
  font-size: 13px;
  line-height: 1;
}
.home-index .home-feed .layout-hd .hd-r a {
  color: var(--ink-3);
  text-decoration: none;
}
.home-index .home-feed .layout-hd .hd-r a:hover { color: var(--accent-deep); }

.home-index .home-feed .pic-list,
.home-index .home-feed .gallery {
  min-width: 0;
  margin: 0 14px;
  padding: 8px 0 18px;
  box-sizing: border-box;
}
.home-index .home-feed .pic-list .bd {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(14,19,27,.05);
  box-shadow: 0 14px 32px -24px rgba(14,19,27,.4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.home-index .home-feed .pic-list .bd:hover {
  transform: translateY(-6px);
  border-color: rgba(20,150,255,.18);
  box-shadow:
    0 22px 44px -22px rgba(20,150,255,.28),
    0 16px 28px -20px rgba(14,19,27,.28);
}
.home-index .home-feed .pic-list .pic {
  position: relative;
  display: block;
  overflow: hidden;
  background: #121722;
}
.home-index .home-feed .pic-list .pic img {
  display: block;
  width: 100%;
  max-width: 100%;
  transform: scale(1.02);
  transition: transform .65s var(--ease), filter .45s var(--ease);
}
.home-index .home-feed .pic-list .bd:hover .pic img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.04) brightness(1.03);
}
.home-index .home-feed .pic-list .text {
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, #fff, #f8f9fc);
}
.home-index .home-feed .pic-list .title,
.home-index .home-feed .pic-list .title a {
  color: #1a1d23;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
.home-index .home-feed .pic-list .title a:hover { color: var(--accent-deep); }
.home-index .home-feed .pic-list .gray.info { display: none !important; }

.home-index .home-feed .tags-list .links {
  margin: 0;
  padding: 8px 18px 18px;
}
.home-index .home-feed .tags-list .links li {
  float: left;
  margin: 6px 5px 0 0;
}
.home-index .home-feed .tags-list .links li a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  background: rgba(14,19,27,.04);
  border: 1px solid rgba(14,19,27,.06);
  text-decoration: none;
}
.home-index .home-feed .tags-list .links li a:hover {
  color: var(--accent-deep);
  background: linear-gradient(135deg, #29a5ff, #087cf2);
}

@media (max-width: 1280px) {
  /* Same hamburger as inner pages: left .tool.menu, logo padded 55px via style.css */
  .home-index .header .tool.menu {
    display: block !important;
    left: 0;
    top: 5px;
    width: 50px;
    height: 50px;
    padding: 13px;
    box-sizing: border-box;
  }
  .home-index .header .tool .icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: 300px 300px;
  }
  .home-index .header .tool .menu-icon { background-position: 0 -163px; }
}
@media (max-width: 1200px) {
  .home-index .home-seek__in { padding: 8px 28px 12px; }
  .home-index .home-feed > .auto.layout { margin-left: 16px; margin-right: 16px; }
  .home-index .home-feed { margin-top: -56px; }
  .home-index .top-band { padding-bottom: 72px; }
}
@media (max-width: 900px) {
  .home-index .home-seek { height: auto; min-height: 180px; }
  .home-index .home-seek__in { padding: 12px 16px 8px; }
  .home-index .imm-title { font-size: 20px; }
  .home-index .imm-bar { height: 40px; border-radius: 20px; }
  .home-index .imm-go { height: 32px; padding: 0 14px; font-size: 13px; }
  .home-index .topic-film__btn { display: none; }
  .home-index .topic-film {
    height: 112px;
    padding: 4px 16px 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .home-index .topic-film a { flex-basis: 118px; width: 118px; min-width: 118px; height: 94px; }
  .home-index .home-feed { margin-top: -40px; padding-bottom: 20px; }
  .home-index .top-band { padding-bottom: 56px; }
  .home-index .home-feed .layout-hd { height: 48px; padding: 0 14px; line-height: 48px; }
  .home-index .home-feed .layout-hd h2 { font-size: 15px; }
  .home-index .home-feed .pic-list,
  .home-index .home-feed .gallery { margin: 0 6px; padding: 4px 0 12px; }
  .home-index .home-feed .pic-list .bd:hover { transform: none; }
  .home-index .home-feed .pic-list .text { padding: 10px 10px 12px; }
  .home-index .home-feed .pic-list .title { font-size: 13px; line-height: 18px; }
}
@media (max-width: 480px) {
  .home-index .imm-title { font-size: 18px; }
  .home-index .imm-hots a:nth-child(n+6) { display: none; }
}
