:root {
  --t100-bg: #0b0f17;
  --t100-panel: #121826;
  --t100-panel-2: #172033;
  --t100-line: rgba(255,255,255,.09);
  --t100-text: #edf2ff;
  --t100-muted: #97a3b8;
  --t100-soft: #c8d1e4;
  --t100-accent: #14b8a6;
  --t100-accent-2: #f59e0b;
  --t100-radius: 8px;
  --t100-shadow: 0 20px 60px rgba(0,0,0,.34);
}

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

body {
  margin: 0;
  background: radial-gradient(circle at 20% 0, rgba(20,184,166,.16), transparent 30%), var(--t100-bg);
  color: var(--t100-text);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

a:hover {
  color: var(--t100-accent);
}

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

.t100-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.t100-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11,15,23,.9);
  border-bottom: 1px solid var(--t100-line);
  backdrop-filter: blur(16px);
}

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

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

.t100-brand img {
  max-height: 42px;
}

.t100-brand span {
  color: #fff;
}

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

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

.t100-nav a,
.t100-mobile-panel a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--t100-soft);
}

.t100-nav a.active,
.t100-nav a:hover,
.t100-mobile-panel a.active {
  background: rgba(20,184,166,.14);
  color: #fff;
}

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

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

.t100-search button,
.t100-mobile-search button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  color: #06110f;
  background: var(--t100-accent);
  font-weight: 700;
}

.t100-menu {
  display: none;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--t100-line);
  border-radius: 999px;
  align-items: center;
}

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

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

.t100-main {
  padding-bottom: 42px;
}

.t100-hero {
  padding: 28px 0 10px;
}

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

.t100-hero-slider {
  position: relative;
  height: clamp(280px, 42vw, 520px);
  border-radius: var(--t100-radius);
  overflow: hidden;
  background: var(--t100-panel);
  box-shadow: var(--t100-shadow);
}

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

.t100-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,10,18,.86), rgba(6,10,18,.34) 52%, rgba(6,10,18,.78));
}

.t100-hero-copy {
  position: absolute;
  left: clamp(22px, 5vw, 64px);
  bottom: clamp(22px, 5vw, 58px);
  max-width: 560px;
}

.t100-hero-copy em,
.t100-kicker,
.t100-page-title p {
  display: inline-flex;
  color: var(--t100-accent);
  font-style: normal;
  font-weight: 700;
}

.t100-hero-copy strong {
  display: block;
  margin: 10px 0;
  font-size: clamp(30px, 6vw, 62px);
  line-height: 1.05;
  color: #fff;
}

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

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

.t100-hero-side,
.t100-panel,
.t100-filter,
.layout-box,
.vod-list,
.art-box,
.star-box,
.links-box {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  border: 1px solid var(--t100-line);
  border-radius: var(--t100-radius);
  box-shadow: 0 12px 38px rgba(0,0,0,.2);
}

.t100-hero-side {
  padding: 20px;
  overflow: hidden;
}

.t100-hero-side h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.t100-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(--t100-line);
}

.t100-rank-item span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(245,158,11,.16);
  color: var(--t100-accent-2);
  font-weight: 800;
}

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

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

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

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

.t100-section-head h2 {
  margin: 0;
  font-size: 26px;
  color: #fff;
}

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

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

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

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

.t100-card-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--t100-radius);
  background: var(--t100-panel);
  box-shadow: 0 12px 30px rgba(0,0,0,.26);
}

.t100-card-img {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .25s ease;
}

.t100-card:hover .t100-card-img {
  transform: scale(1.05);
}

.t100-card-badge {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,.68);
  color: #fff;
  font-size: 12px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

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

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

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

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

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

.t100-footer {
  margin-top: 44px;
  padding: 34px 0;
  background: #080b11;
  border-top: 1px solid var(--t100-line);
  color: var(--t100-muted);
}

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

.t100-footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

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

.t100-copyright {
  margin: 20px 0 0;
  color: #6f7b90;
}

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

.t100-page-title h1 {
  margin: 6px 0 0;
  font-size: clamp(30px, 5vw, 54px);
}

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

.t100-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(--t100-line);
}

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

.t100-filter dt {
  color: var(--t100-muted);
  line-height: 34px;
}

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

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

.t100-filter a.active {
  background: var(--t100-accent);
  color: #06110f;
  font-weight: 800;
}

.t100-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
}

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

.t100-detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,15,23,.72), var(--t100-bg));
}

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

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

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

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

.t100-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: var(--t100-soft);
}

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

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

.t100-detail-lines span {
  display: inline-block;
  width: 42px;
  color: var(--t100-muted);
}

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

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

.t100-actions a.primary,
.t100-play-actions a.primary {
  border-color: var(--t100-accent);
  background: var(--t100-accent);
  color: #06110f;
  font-weight: 800;
}

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

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

.t100-player-wrap {
  padding: 26px 0;
  background: #05070b;
}

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

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

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

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

.t100-player-notice {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--t100-muted);
}

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

.t100-play-info > p:first-child {
  margin-top: 0;
  color: var(--t100-accent);
  font-weight: 800;
}

.t100-play-info h1 {
  margin: 8px 0;
  font-size: 28px;
  line-height: 1.25;
}

/* Compatibility for pages still using the original class names. */
.container {
  width: min(1320px, calc(100% - 40px));
  max-width: none;
}

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

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

.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;
}

.ranking-list {
  margin: 0;
}

.MacPlayer {
  background: #000;
}

.playlist ul,
.vod-playlist ul,
.downlist ul {
  max-width: 100%;
}

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

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

  .t100-search {
    display: none;
  }

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

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

  .t100-hero-side {
    display: none;
  }

  .t100-grid,
  .vlist ul.row,
  .vod-list ul.row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

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

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

  .t100-nav {
    display: none;
  }

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

  .t100-hero-slider {
    height: 360px;
  }

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

  .t100-news-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .t100-brand {
    font-size: 19px;
  }

  .t100-hero-slider {
    height: 260px;
  }

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

  .t100-section {
    margin-top: 26px;
  }

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

  .t100-section-head h2 {
    font-size: 22px;
  }

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

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

  .t100-card h3 {
    font-size: 14px;
  }

  .t100-news-grid {
    grid-template-columns: 1fr;
  }

  .t100-footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

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

  .t100-player-wrap {
    padding: 12px 0;
  }

  .t100-play-info {
    padding: 16px;
  }

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

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

  .t100-hero-slider {
    height: 220px;
  }
}
