:root {
  --t102-bg: #150816;
  --t102-bg-2: #241026;
  --t102-card: rgba(255,255,255,.08);
  --t102-card-solid: #2a122d;
  --t102-soft: #fff0f6;
  --t102-text: #fff9fc;
  --t102-muted: #d9b7c7;
  --t102-rose: #ff4d8d;
  --t102-hot: #ff8ab7;
  --t102-gold: #ffd08a;
  --t102-purple: #7c3aed;
  --t102-line: rgba(255,255,255,.16);
  --t102-radius: 14px;
  --t102-shadow: 0 24px 70px rgba(0,0,0,.38);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0, rgba(255,77,141,.28), transparent 28%),
    radial-gradient(circle at 86% 9%, rgba(124,58,237,.24), transparent 30%),
    linear-gradient(180deg, #210b22 0, var(--t102-bg) 42%, #0e0710 100%);
  color: var(--t102-text);
}

body,
input,
button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
}

a:hover {
  color: var(--t102-hot);
}

img,
video,
iframe {
  max-width: 100%;
}

.t102-shell,
.container {
  width: min(1320px, calc(100% - 40px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.t102-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(21,8,22,.82);
  border-bottom: 1px solid var(--t102-line);
  backdrop-filter: blur(18px);
}

.t102-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 330px auto;
  gap: 22px;
  align-items: center;
  min-height: 74px;
}

.t102-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.t102-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(255,77,141,.34));
}

.t102-brand span {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t102-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.t102-nav::-webkit-scrollbar {
  display: none;
}

.t102-nav a,
.t102-mobile-panel a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--t102-soft);
  font-weight: 700;
}

.t102-nav a img {
  width: 24px;
  height: 24px;
}

.t102-nav a.active,
.t102-nav a:hover,
.t102-mobile-panel a.active {
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(135deg, rgba(255,77,141,.24), rgba(124,58,237,.2));
  color: #fff;
}

.t102-search,
.t102-mobile-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--t102-line);
  border-radius: 999px;
}

.t102-search input,
.t102-mobile-search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.t102-search input::placeholder,
.t102-mobile-search input::placeholder {
  color: rgba(255,255,255,.58);
}

.t102-search button,
.t102-mobile-search button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  background: linear-gradient(135deg, var(--t102-rose), var(--t102-purple));
  color: #fff;
  font-weight: 900;
}

.t102-menu {
  display: none;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--t102-line);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
}

.t102-mobile-panel {
  width: min(320px, 86vw);
  padding: 18px;
  background: #211024;
}

.t102-mobile-panel a {
  display: flex;
  margin-top: 8px;
}

.t102-main {
  padding-bottom: 46px;
}

.t102-hero {
  padding: 30px 0 10px;
}

.t102-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: 18px;
}

.t102-hero-lead {
  position: relative;
  height: clamp(320px, 46vw, 560px);
  overflow: hidden;
  border: 1px solid var(--t102-line);
  border-radius: 24px;
  background: var(--t102-card-solid);
  box-shadow: var(--t102-shadow);
}

.t102-hero-lead .swiper-slide {
  position: relative;
  display: block;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.t102-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,5,13,.92), rgba(12,5,13,.28) 58%, rgba(12,5,13,.82)),
    linear-gradient(180deg, transparent, rgba(255,77,141,.24));
}

.t102-hero-copy {
  position: absolute;
  left: clamp(22px, 5vw, 64px);
  bottom: clamp(24px, 5vw, 62px);
  max-width: 600px;
}

.t102-hero-copy em,
.t102-kicker,
.t102-page-title p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-style: normal;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.t102-hero-copy em img {
  width: 24px;
  height: 24px;
}

.t102-hero-copy strong {
  display: block;
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
  text-shadow: 0 18px 40px rgba(0,0,0,.42);
}

.t102-hero-copy small {
  color: var(--t102-soft);
  font-size: 17px;
}

.t102-hero-dots {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
}

.t102-spotlight,
.t102-panel,
.t102-filter,
.layout-box,
.vod-list,
.art-box,
.star-box,
.links-box {
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.055));
  border: 1px solid var(--t102-line);
  border-radius: var(--t102-radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}

.t102-spotlight {
  padding: 18px;
}

.t102-spotlight h2,
.t102-section-head h2,
.layout-box h2,
.vod-list h2,
.art-box h2,
.star-box h2 {
  color: #fff;
}

.t102-spotlight h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 22px;
}

.t102-spotlight h2 img,
.t102-section-head h2 img {
  width: 28px;
  height: 28px;
}

.t102-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.t102-mini-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--t102-card-solid);
}

.t102-mini-card span {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .24s ease;
}

.t102-mini-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.76));
}

.t102-mini-card:hover span {
  transform: scale(1.06);
}

.t102-mini-card strong {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t102-channel-strip {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  overflow-x: auto;
  border: 1px solid var(--t102-line);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.t102-channel-strip a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--t102-soft);
  font-weight: 800;
}

.t102-channel-strip a.active,
.t102-channel-strip a:hover {
  background: linear-gradient(135deg, var(--t102-rose), var(--t102-purple));
  color: #fff;
}

.t102-section {
  margin-top: 34px;
}

.t102-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.t102-section-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 28px;
}

.t102-section-head a,
.t102-section-head span {
  color: var(--t102-muted);
}

.t102-section-head div {
  display: flex;
  gap: 14px;
  max-width: 70%;
  overflow-x: auto;
  white-space: nowrap;
}

.t102-feature-grid,
.t102-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
}

.t102-feature-grid .t102-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.t102-feature-grid.compact .t102-card:first-child {
  grid-column: auto;
  grid-row: auto;
}

.t102-card {
  min-width: 0;
}

.t102-card-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--t102-radius);
  background: var(--t102-card-solid);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}

.t102-card-img {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .24s ease, filter .24s ease;
}

.t102-card:hover .t102-card-img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.t102-card-badge {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,77,141,.92), rgba(124,58,237,.9));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t102-card h3 {
  margin: 10px 0 4px;
  font-size: 15px;
  line-height: 1.35;
}

.t102-card h3 a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t102-card p {
  margin: 0;
  color: var(--t102-muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t102-rank-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--t102-line);
}

.t102-rank-item span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,77,141,.2);
  color: #fff;
  font-weight: 900;
}

.t102-rank-item strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t102-rank-item em {
  color: var(--t102-muted);
  font-style: normal;
  font-size: 12px;
}

.t102-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.t102-news-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--t102-line);
  border-radius: var(--t102-radius);
  background: var(--t102-card);
}

.t102-news-card strong {
  display: block;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t102-news-card p,
.t102-desc,
.t102-content {
  color: var(--t102-muted);
  line-height: 1.8;
}

.t102-footer {
  margin-top: 44px;
  padding: 34px 0;
  border-top: 1px solid var(--t102-line);
  background: rgba(0,0,0,.28);
  color: var(--t102-muted);
}

.t102-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
}

.t102-footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}

.t102-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.t102-copyright {
  margin: 20px 0 0;
}

.t102-page-title {
  padding: 34px 0 10px;
}

.t102-page-title h1 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
}

.t102-filter {
  padding: 14px 18px;
}

.t102-filter dl {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--t102-line);
}

.t102-filter dl:last-child {
  border-bottom: 0;
}

.t102-filter dt {
  color: var(--t102-muted);
  line-height: 34px;
  font-weight: 800;
}

.t102-filter dd {
  display: flex;
  gap: 8px;
  margin: 0;
  overflow-x: auto;
  white-space: nowrap;
}

.t102-filter a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--t102-soft);
}

.t102-filter a.active,
.t102-filter a:hover {
  background: linear-gradient(135deg, var(--t102-rose), var(--t102-purple));
  color: #fff;
}

.t102-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  border-bottom: 1px solid var(--t102-line);
}

.t102-detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .16;
  filter: blur(16px);
  transform: scale(1.08);
}

.t102-detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,8,22,.62), var(--t102-bg));
}

.t102-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.t102-detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--t102-shadow);
}

.t102-detail-info h1 {
  margin: 12px 0;
  color: #fff;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.05;
}

.t102-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.t102-meta span {
  padding: 7px 11px;
  border: 1px solid var(--t102-line);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: var(--t102-soft);
}

.t102-detail-lines {
  margin: 18px 0;
}

.t102-detail-lines p {
  margin: 8px 0;
  color: var(--t102-muted);
}

.t102-detail-lines span {
  display: inline-block;
  width: 42px;
  color: #fff;
  font-weight: 800;
}

.t102-actions,
.t102-play-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.t102-actions a,
.t102-play-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--t102-line);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
}

.t102-actions a.primary,
.t102-play-actions a.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--t102-rose), var(--t102-purple));
  font-weight: 900;
}

.t102-detail-main {
  margin-top: 24px;
}

.t102-panel {
  padding: 22px;
  margin-top: 20px;
}

.t102-player-wrap {
  padding: 26px 0;
  background: #09050a;
  border-bottom: 1px solid var(--t102-line);
}

.t102-player-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
}

.t102-player {
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: var(--t102-shadow);
}

.t102-player .embed-responsive {
  aspect-ratio: 16 / 9;
  height: auto;
}

.t102-player .MacPlayer,
.t102-player iframe {
  width: 100% !important;
  height: 100% !important;
}

.t102-player-notice {
  display: grid;
  place-items: center;
  height: 100%;
  color: #fff;
}

.t102-play-info {
  padding: 22px;
  border: 1px solid var(--t102-line);
  border-radius: var(--t102-radius);
  background: var(--t102-card);
}

.t102-play-info > p:first-child {
  margin-top: 0;
  color: var(--t102-hot);
  font-weight: 900;
}

.t102-play-info h1 {
  margin: 8px 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
}

.layout-box,
.vod-list,
.art-box,
.star-box,
.links-box {
  padding: 20px;
  color: var(--t102-text);
}

.vlist ul.row,
.vod-list ul.row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.vlist ul.row:before,
.vlist ul.row:after,
.vod-list ul.row:before,
.vod-list ul.row:after {
  display: none;
}

.vlist ul.row > li,
.vod-list ul.row > li {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
}

.MacPlayer {
  background: #000;
}

.playlist a,
.vod-playlist a,
.downlist a {
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 1240px) {
  .t102-feature-grid,
  .t102-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .t102-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .t102-search {
    display: none;
  }

  .t102-menu {
    display: inline-flex;
  }

  .t102-hero-layout,
  .t102-player-grid {
    grid-template-columns: 1fr;
  }

  .t102-mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .t102-mini-card {
    min-height: 150px;
  }
}

@media (max-width: 900px) {
  .t102-shell,
  .container {
    width: min(100% - 28px, 1320px);
  }

  .t102-nav {
    display: none;
  }

  .t102-hero-lead {
    height: 360px;
  }

  .t102-feature-grid,
  .t102-grid,
  .vlist ul.row,
  .vod-list ul.row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .t102-feature-grid .t102-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .t102-detail-grid {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .t102-shell,
  .container {
    width: min(100% - 20px, 1320px);
  }

  .t102-header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .t102-brand {
    font-size: 18px;
  }

  .t102-brand img {
    width: 36px;
    height: 36px;
  }

  .t102-hero {
    padding-top: 18px;
  }

  .t102-hero-lead {
    height: 270px;
    border-radius: 18px;
  }

  .t102-hero-copy strong {
    font-size: 30px;
  }

  .t102-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t102-mini-card {
    min-height: 135px;
  }

  .t102-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .t102-section-head h2 {
    font-size: 23px;
  }

  .t102-section-head div {
    max-width: 100%;
  }

  .t102-feature-grid,
  .t102-grid,
  .vlist ul.row,
  .vod-list ul.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .t102-feature-grid .t102-card:first-child {
    grid-column: span 2;
  }

  .t102-filter {
    padding: 8px 12px;
  }

  .t102-filter dl {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
  }

  .t102-detail-hero {
    padding: 28px 0;
  }

  .t102-detail-grid {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .t102-detail-info h1 {
    font-size: 28px;
  }

  .t102-desc,
  .t102-detail-lines {
    display: none;
  }

  .t102-actions a,
  .t102-play-actions a {
    min-width: 0;
    height: 38px;
    padding: 0 14px;
  }

  .t102-play-info,
  .layout-box,
  .vod-list,
  .art-box,
  .star-box,
  .links-box {
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .t102-feature-grid,
  .t102-grid,
  .vlist ul.row,
  .vod-list ul.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t102-feature-grid .t102-card:first-child {
    grid-column: auto;
  }

  .t102-hero-lead {
    height: 230px;
  }
}
