:root {
  --t108-bg: #f4f0e8;
  --t108-ink: #151719;
  --t108-muted: #687078;
  --t108-panel: #fffaf0;
  --t108-panel-2: #e9f4f0;
  --t108-line: rgba(21, 23, 25, .12);
  --t108-coral: #e6533c;
  --t108-teal: #087b78;
  --t108-gold: #d49b28;
  --t108-night: #18222b;
  --t108-radius: 8px;
  --t108-shadow: 0 18px 42px rgba(24, 34, 43, .13);
}

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

body {
  margin: 0;
  color: var(--t108-ink);
  background:
    linear-gradient(180deg, rgba(8, 123, 120, .10), transparent 360px),
    repeating-linear-gradient(90deg, rgba(21, 23, 25, .035) 0 1px, transparent 1px 72px),
    var(--t108-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--t108-coral);
}

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

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

.t108-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--t108-line);
  background: rgba(244, 240, 232, .92);
  backdrop-filter: blur(18px);
}

.t108-header-inner {
  display: grid;
  grid-template-columns: 178px minmax(260px, 1fr) minmax(360px, auto) 42px;
  gap: 18px;
  align-items: center;
  min-height: 74px;
}

.t108-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.t108-brand img {
  display: block;
  width: 162px;
  height: auto;
}

.t108-search,
.t108-mobile-search {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--t108-line);
  border-radius: var(--t108-radius);
  background: rgba(255, 250, 240, .86);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
  overflow: hidden;
}

.t108-search-icon {
  position: relative;
  width: 42px;
  height: 44px;
  flex: 0 0 42px;
}

.t108-search-icon:before {
  content: "";
  position: absolute;
  left: 16px;
  top: 13px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--t108-teal);
  border-radius: 50%;
}

.t108-search-icon:after {
  content: "";
  position: absolute;
  left: 28px;
  top: 27px;
  width: 9px;
  height: 2px;
  background: var(--t108-teal);
  transform: rotate(45deg);
  transform-origin: left center;
}

.t108-search input,
.t108-mobile-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: var(--t108-ink);
  background: transparent;
}

.t108-search button,
.t108-mobile-search button {
  height: 44px;
  padding: 0 20px;
  border: 0;
  color: #fff;
  background: var(--t108-night);
  font-weight: 700;
  cursor: pointer;
}

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

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

.t108-nav a,
.t108-mobile-panel a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--t108-radius);
  color: #37424b;
  font-weight: 700;
}

.t108-nav a.active,
.t108-nav a:hover,
.t108-mobile-panel a.active {
  color: #fff;
  background: var(--t108-teal);
}

.t108-menu {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--t108-line);
  border-radius: var(--t108-radius);
  background: var(--t108-panel);
}

.t108-menu span,
.t108-menu:before,
.t108-menu:after {
  content: "";
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  background: var(--t108-ink);
}

.t108-menu span {
  top: 20px;
}

.t108-menu:before {
  top: 14px;
}

.t108-menu:after {
  top: 26px;
}

.t108-mobile-panel {
  width: min(330px, 86vw);
  padding: 18px;
  background: var(--t108-panel);
  z-index: 1001;
  overflow-y: auto;
  box-sizing: border-box;
  align-content: start;
  gap: 8px;
}

.ewave-offcanvas-modal {
  z-index: 79;
}

.t108-mobile-panel a {
  display: flex;
  min-width: 0;
  margin-top: 0;
  justify-content: center;
  background: rgba(255,255,255,.42);
}

.t108-main {
  padding-bottom: 48px;
}

.t108-hero {
  padding: 34px 0 8px;
}

.t108-hero-layout {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.22fr) 300px;
  gap: 20px;
  align-items: stretch;
}

.t108-hero-copy,
.t108-hero-side,
.t108-card,
.t108-news-card,
.t108-panel,
.t108-filter,
.layout-box,
.vod-list,
.art-box,
.star-box,
.links-box,
.mac_msg_l {
  border: 1px solid var(--t108-line);
  border-radius: var(--t108-radius);
  background: rgba(255, 250, 240, .88);
  box-shadow: var(--t108-shadow);
}

.t108-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  padding: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(230,83,60,.12), transparent 42%),
    linear-gradient(180deg, rgba(255,250,240,.94), rgba(233,244,240,.92));
}

.t108-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--t108-teal);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.t108-kicker:before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--t108-coral);
}

.t108-hero-copy h1 {
  margin: 14px 0 14px;
  font-size: clamp(36px, 5vw, 70px);
  line-height: .98;
  letter-spacing: 0;
}

.t108-hero-copy p {
  margin: 0;
  color: #53606b;
  font-size: 16px;
  line-height: 1.85;
}

.t108-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.t108-hero-actions a,
.t108-section-head > a,
.t108-type-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--t108-line);
  border-radius: var(--t108-radius);
  background: var(--t108-panel);
  color: var(--t108-ink);
  font-weight: 800;
}

.t108-hero-actions a:first-child,
.t108-section-head > a:hover,
.t108-type-links a:hover {
  color: #fff;
  border-color: var(--t108-coral);
  background: var(--t108-coral);
}

.t108-hero-stage {
  min-width: 0;
}

.t108-hero-slider {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: var(--t108-radius);
  overflow: hidden;
  background: var(--t108-night);
  box-shadow: var(--t108-shadow);
}

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

.t108-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24,34,43,.08), rgba(24,34,43,.86)),
    linear-gradient(90deg, rgba(24,34,43,.76), transparent 58%);
}

.t108-slide-copy {
  position: absolute;
  left: clamp(20px, 4vw, 44px);
  right: clamp(20px, 4vw, 44px);
  bottom: clamp(22px, 4vw, 42px);
  z-index: 2;
  color: #fff;
}

.t108-slide-copy em {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 99px;
  color: #fff;
  background: var(--t108-coral);
  font-style: normal;
  font-weight: 800;
}

.t108-slide-copy strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.05;
}

.t108-slide-copy small {
  color: rgba(255,255,255,.82);
  font-size: 15px;
}

.t108-hero-dots {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 4;
}

.t108-hero-side {
  padding: 18px;
  background: var(--t108-night);
  color: #fff;
}

.t108-hero-side h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.t108-rank-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}

.t108-rank-item:first-of-type {
  border-top: 0;
}

.t108-rank-item span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--t108-night);
  background: var(--t108-gold);
  font-weight: 900;
}

.t108-rank-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t108-rank-item em {
  color: rgba(255,255,255,.58);
  font-style: normal;
}

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

.t108-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.t108-section-head h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.16;
}

.t108-type-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.t108-card {
  min-width: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.t108-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(24, 34, 43, .18);
}

.t108-card-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  background: var(--t108-panel-2);
}

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

.t108-card:hover .t108-card-img {
  transform: scale(1.04);
}

.t108-card-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 8px;
  border-radius: 6px;
  color: #fff;
  background: rgba(24,34,43,.86);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t108-card-play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: transparent;
  background: var(--t108-coral);
  box-shadow: 0 10px 24px rgba(230,83,60,.35);
}

.t108-card-play:after {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
}

.t108-card h3 {
  margin: 12px 12px 4px;
  font-size: 16px;
  line-height: 1.35;
}

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

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

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

.t108-news-card {
  display: block;
  min-height: 128px;
  padding: 20px;
  background: linear-gradient(135deg, #fffaf0, #e9f4f0);
}

.t108-news-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.t108-news-card p {
  margin: 10px 0 0;
  color: var(--t108-muted);
  line-height: 1.7;
}

.t108-footer {
  margin-top: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--t108-line);
  background: var(--t108-night);
  color: rgba(255,255,255,.78);
}

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

.t108-footer-brand img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.t108-footer p {
  max-width: 760px;
  margin: 12px 0 0;
  line-height: 1.8;
}

.t108-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.t108-footer-links a {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--t108-radius);
}

.t108-copyright {
  color: rgba(255,255,255,.56);
  font-size: 13px;
}

.t108-page-title,
.mac_msg_l {
  padding: 24px;
  margin: 24px auto;
}

.t108-page-title {
  width: min(1340px, calc(100% - 40px));
  background: transparent;
}

.t108-page-title .t108-shell {
  width: 100%;
}

.t108-page-title h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
}

.t108-page-title p,
.text-muted,
.text-muted a,
.ewave-text-muted {
  color: var(--t108-muted);
}

.t108-filter,
.layout-box,
.vod-list,
.art-box,
.star-box,
.links-box {
  padding: 18px;
  margin-bottom: 18px;
}

.t108-filter dl {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--t108-line);
}

.t108-filter dl:first-child {
  border-top: 0;
}

.t108-filter dt {
  color: var(--t108-muted);
  font-weight: 900;
}

.t108-filter dd {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.t108-filter dd a,
.ewave-tab a,
.t108-playlist a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--t108-line);
  border-radius: var(--t108-radius);
  background: rgba(255,250,240,.72);
}

.t108-filter dd a.active,
.ewave-tab a.active,
.t108-playlist a.active {
  border-color: var(--t108-teal);
  color: #fff;
  background: var(--t108-teal);
}

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

.t108-detail-hero {
  position: relative;
  min-height: 520px;
  padding: 44px 0;
  overflow: hidden;
  background: var(--t108-night);
  color: #fff;
}

.t108-detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(.9);
  transform: scale(1.08);
  opacity: .38;
}

.t108-detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24,34,43,.96), rgba(24,34,43,.62)),
    linear-gradient(180deg, rgba(24,34,43,.10), var(--t108-night));
}

.t108-detail-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.t108-detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--t108-radius);
  background: rgba(255,255,255,.08);
  box-shadow: 0 22px 52px rgba(0,0,0,.34);
}

.t108-detail-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
}

.t108-detail-info {
  min-width: 0;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--t108-radius);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

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

.t108-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.t108-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 99px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.12);
}

.t108-desc {
  max-width: 860px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.76);
  line-height: 1.8;
}

.t108-detail-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.t108-detail-lines p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}

.t108-detail-lines span {
  display: inline-flex;
  width: 64px;
  color: rgba(255,255,255,.52);
  font-weight: 800;
}

.t108-actions,
.t108-play-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.t108-actions a,
.t108-play-actions a,
.episode-box a,
.playlist-tab li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--t108-line);
  border-radius: var(--t108-radius);
  background: var(--t108-panel);
  color: var(--t108-ink);
  font-weight: 800;
}

.t108-actions a.primary,
.t108-play-actions a.primary,
.episode-box a.active,
.playlist-tab li.active {
  border-color: var(--t108-coral);
  background: var(--t108-coral);
  color: #fff;
}

.playlist-box .playlist-tab-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.playlist-box .playlist-tab {
  flex: 1;
  min-width: 0;
}

.episode-box ul {
  padding: 0;
  margin: 0;
}

.episode-box li {
  list-style: none;
  margin-bottom: 10px;
}

.episode-box a {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t108-player-wrap {
  padding: 28px 0;
  background: var(--t108-night);
}

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

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

.t108-play-info {
  padding: 20px;
  border-radius: var(--t108-radius);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.t108-detail-main .t108-panel,
.t108-content {
  line-height: 1.85;
}

.t108-content img {
  border-radius: var(--t108-radius);
}

.t108-playlist,
.t108-related,
.t108-detail-info {
  margin-bottom: 20px;
}

.t108-detail-info {
  border-radius: var(--t108-radius);
  overflow: hidden;
}

.module,
.module-main,
.module-box,
.ewave-box,
.ewave-content {
  border-radius: var(--t108-radius);
}

.btn,
.ewave-btn,
button,
input[type="submit"] {
  border-radius: var(--t108-radius);
}

.btn-primary,
.ewave-btn-primary,
.mac_login .login_form_submit,
.mac_verify_submit {
  border-color: var(--t108-teal) !important;
  background: var(--t108-teal) !important;
  color: #fff !important;
}

.swiper-pagination-bullet {
  width: 18px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.72);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--t108-coral);
}

@media (max-width: 1180px) {
  .t108-header-inner {
    grid-template-columns: 166px minmax(220px, 1fr) 42px;
  }

  .t108-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .t108-hero-layout {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  }

  .t108-hero-side {
    grid-column: 1 / -1;
  }

  .t108-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

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

  .t108-header-inner {
    grid-template-columns: 150px minmax(0, 1fr) 42px;
    gap: 12px;
  }

  .t108-nav {
    display: none;
  }

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

  .t108-brand img {
    width: 142px;
  }

  .t108-search button {
    padding: 0 14px;
  }

  .t108-hero-layout {
    grid-template-columns: 1fr;
  }

  .t108-hero-copy,
  .t108-hero-slider,
  .t108-hero-slider .swiper-slide {
    min-height: 330px;
  }

  .t108-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .t108-news-grid,
  .t108-footer-grid {
    grid-template-columns: 1fr;
  }

  .t108-detail-grid,
  .t108-player-grid {
    grid-template-columns: 1fr;
  }

  .t108-detail-poster {
    width: min(220px, 56vw);
    margin: 0 auto;
  }

  .t108-detail-info {
    padding: 20px;
  }

  .t108-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .t108-header-inner {
    grid-template-columns: 1fr 42px;
    min-height: auto;
    padding: 12px 0;
  }

  .t108-brand img {
    width: 136px;
  }

  .t108-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

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

  .t108-hero-copy {
    min-height: 260px;
    padding: 22px;
  }

  .t108-hero-copy h1 {
    font-size: 36px;
  }

  .t108-hero-copy p {
    font-size: 14px;
  }

  .t108-hero-slider,
  .t108-hero-slider .swiper-slide {
    min-height: 300px;
  }

  .t108-slide-copy strong {
    font-size: 30px;
  }

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

  .t108-type-links {
    justify-content: flex-start;
  }

  .t108-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .t108-mobile-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(360px, 92vw);
    padding: 14px;
  }

  .t108-mobile-search {
    grid-column: 1 / -1;
  }

  .t108-detail-hero {
    min-height: auto;
    padding: 26px 0;
  }

  .t108-detail-info h1 {
    font-size: 30px;
  }

  .playlist-box .playlist-tab-box {
    display: block;
  }

  .t108-card h3 {
    margin: 9px 9px 3px;
    font-size: 14px;
  }

  .t108-card p {
    margin: 0 9px 11px;
    font-size: 12px;
  }

  .t108-card-play {
    width: 34px;
    height: 34px;
  }

  .t108-card-play:after {
    left: 14px;
    top: 10px;
  }
}

@media (max-width: 420px) {
  .t108-shell {
    width: calc(100% - 22px);
  }

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

  .t108-search-icon {
    display: none;
  }

  .t108-search input {
    padding-left: 12px;
  }
}

/* Template 108 visual layer */
:root {
  --t108-bg: #eef2f7;
  --t108-ink: #111827;
  --t108-muted: #64748b;
  --t108-panel: #ffffff;
  --t108-panel-2: #f6f8fb;
  --t108-line: rgba(17, 24, 39, .11);
  --t108-coral: #ff3d6e;
  --t108-teal: #00a889;
  --t108-gold: #f4b740;
  --t108-night: #111827;
  --t108-radius: 6px;
  --t108-shadow: 0 18px 46px rgba(15, 23, 42, .16);
}

@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2"),
       url("../fonts/fontawesome-webfont.woff") format("woff"),
       url("../fonts/fontawesome-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

body {
  color: var(--t108-ink);
  background:
    linear-gradient(180deg, rgba(0, 168, 137, .12), transparent 340px),
    linear-gradient(90deg, rgba(255, 61, 110, .08), transparent 28%),
    #eef2f7;
}

.t108-shell {
  width: min(1380px, calc(100% - 40px));
}

.t108-header {
  border-bottom: 1px solid rgba(17, 24, 39, .08);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
}

.t108-header-inner {
  grid-template-columns: 168px minmax(0, 1fr) minmax(260px, 380px) 44px;
  min-height: 70px;
}

.t108-brand img {
  width: 156px;
}

.t108-nav {
  justify-content: flex-start;
}

.t108-nav a,
.t108-mobile-panel a {
  gap: 7px;
  height: 36px;
  color: #334155;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
}

.t108-nav a i {
  color: var(--t108-teal);
}

.t108-nav a.active,
.t108-nav a:hover,
.t108-mobile-panel a.active {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: var(--t108-night);
  box-shadow: 0 10px 22px rgba(17, 24, 39, .18);
}

.t108-nav a.active i,
.t108-nav a:hover i {
  color: var(--t108-gold);
}

.t108-search,
.t108-mobile-search {
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 999px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9);
}

.t108-search button,
.t108-mobile-search button {
  width: 48px;
  padding: 0;
  background: var(--t108-coral);
}

.t108-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 50%;
  background: var(--t108-night);
}

.t108-main {
  padding-bottom: 44px;
}

.t108-hero {
  padding: 34px 0 18px;
}

.t108-hero-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: stretch;
}

.t108-hero-rail,
.t108-hero-side,
.t108-card,
.t108-news-card,
.t108-panel,
.t108-filter {
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: var(--t108-radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .09);
}

.t108-hero-rail {
  padding: 18px;
}

.t108-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--t108-coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.t108-hero-rail a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  margin-top: 8px;
  color: #233044;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: var(--t108-radius);
  background: #f8fafc;
  font-weight: 800;
}

.t108-hero-rail a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--t108-teal);
}

.t108-hero-stage,
.t108-hero-slider,
.t108-hero-slider .swiper-slide {
  min-height: 470px;
  border-radius: var(--t108-radius);
}

.t108-hero-stage {
  position: relative;
  overflow: hidden;
  box-shadow: var(--t108-shadow);
  background: var(--t108-night);
}

.t108-hero-slider .swiper-slide {
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
}

.t108-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, .88), rgba(17, 24, 39, .30) 56%, rgba(17, 24, 39, .72)),
    linear-gradient(0deg, rgba(17, 24, 39, .92), transparent 54%);
}

.t108-slide-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 86%);
  padding: 0 0 42px 42px;
  color: #fff;
}

.t108-slide-copy em {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: #111827;
  border-radius: 999px;
  background: var(--t108-gold);
  font-style: normal;
  font-weight: 900;
}

.t108-slide-copy strong {
  display: block;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 900;
}

.t108-slide-copy small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.t108-hero-dots {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 5;
}

.t108-hero-side {
  padding: 20px;
  background: #111827;
  color: #fff;
}

.t108-hero-side h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.t108-rank-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 43px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.t108-rank-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #111827;
  border-radius: 50%;
  background: var(--t108-gold);
  font-weight: 900;
}

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

.t108-rank-item em {
  color: rgba(255, 255, 255, .58);
  font-style: normal;
  font-size: 12px;
}

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

.t108-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.t108-section-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.t108-section-head > a,
.t108-type-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-weight: 800;
}

.t108-section-head > a:hover,
.t108-type-links a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--t108-coral);
}

.t108-type-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.t108-grid-compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.t108-card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.t108-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, .16);
}

.t108-card-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.25;
  overflow: hidden;
  background: #dbe2ea;
}

.t108-card-img {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform .28s ease;
}

.t108-card:hover .t108-card-img {
  transform: scale(1.045);
}

.t108-card-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
  padding: 5px 8px;
  overflow: hidden;
  color: #111827;
  border-radius: 999px;
  background: var(--t108-gold);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t108-card-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  border-radius: 50%;
  background: var(--t108-coral);
  box-shadow: 0 12px 26px rgba(255, 61, 110, .38);
}

.t108-card-play:after {
  display: none;
}

.t108-card h3 {
  margin: 10px 10px 2px;
  font-size: 15px;
  line-height: 1.35;
}

.t108-card h3 a {
  display: block;
  overflow: hidden;
  color: var(--t108-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t108-card p {
  display: flex;
  gap: 8px;
  margin: 0 10px 12px;
  color: var(--t108-muted);
  font-size: 12px;
}

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

.t108-news-card {
  padding: 18px;
}

.t108-news-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--t108-ink);
  font-size: 17px;
}

.t108-news-card p {
  margin: 0;
  color: var(--t108-muted);
  line-height: 1.65;
}

.t108-footer {
  margin-top: 48px;
  padding: 34px 0;
  color: rgba(255, 255, 255, .78);
  background: #111827;
}

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

.t108-footer-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.t108-footer a:hover {
  color: var(--t108-gold);
}

.t108-css-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.t108-css-icon.home:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px;
}

.t108-css-icon.home:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.t108-css-icon.film {
  border: 2px solid currentColor;
  border-radius: 3px;
}

.t108-css-icon.film:before,
.t108-css-icon.film:after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: currentColor;
}

.t108-css-icon.film:before {
  left: 3px;
}

.t108-css-icon.film:after {
  right: 3px;
}

.t108-css-icon.clock {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.t108-css-icon.clock:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 2px;
  height: 5px;
  background: currentColor;
}

.t108-css-icon.clock:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 5px;
  height: 2px;
  background: currentColor;
  transform: rotate(30deg);
  transform-origin: left center;
}

.t108-css-icon.chart:before,
.t108-css-icon.chart:after,
.t108-css-icon.sort:before,
.t108-css-icon.sort:after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 3px;
  background: currentColor;
  border-radius: 2px;
}

.t108-css-icon.chart:before {
  left: 3px;
  height: 7px;
}

.t108-css-icon.chart:after {
  left: 10px;
  height: 12px;
}

.t108-css-icon.search:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.t108-css-icon.search:after {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 7px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.t108-css-icon.menu:before,
.t108-css-icon.menu:after {
  content: "";
  position: absolute;
  left: 1px;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.t108-css-icon.menu:before {
  top: 4px;
  box-shadow: 0 4px 0 currentColor;
}

.t108-css-icon.menu:after {
  top: 12px;
}

.t108-css-icon.arrow:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.t108-css-icon.play:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.t108-css-icon.sort:before {
  left: 3px;
  height: 11px;
}

.t108-css-icon.sort:after {
  left: 10px;
  height: 6px;
}

.t108-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: #fff;
  background: #111827;
}

.t108-detail-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(.9);
  opacity: .34;
}

.t108-detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, .98), rgba(17, 24, 39, .56) 52%, rgba(17, 24, 39, .92)),
    linear-gradient(0deg, #111827, transparent 54%);
}

.t108-detail-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  min-height: 520px;
  padding: 54px 0;
}

.t108-detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--t108-radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
}

.t108-detail-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.25;
  object-fit: cover;
}

.t108-detail-info {
  max-width: 820px;
}

.t108-detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.02;
  font-weight: 900;
}

.t108-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.t108-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
}

.t108-detail-info .t108-desc {
  max-width: 700px;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.8;
}

.t108-detail-lines {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, .78);
}

.t108-detail-lines p {
  margin: 0;
}

.t108-detail-lines span {
  display: inline-flex;
  width: 48px;
  color: var(--t108-gold);
  font-weight: 900;
}

.t108-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.t108-actions a,
.t108-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  font-weight: 900;
}

.t108-actions a.primary {
  color: #111827;
  border-color: transparent;
  background: var(--t108-gold);
}

.t108-detail-main {
  margin-top: 28px;
}

.t108-panel {
  padding: 20px;
  margin-bottom: 22px;
}

.t108-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.t108-faq-item {
  padding: 15px;
  border-left: 4px solid var(--t108-coral);
  background: #f8fafc;
}

.t108-faq-item h3 {
  margin: 0;
  color: var(--t108-ink);
  font-size: 15px;
  line-height: 1.55;
}

.t108-faq-item p {
  margin: 7px 0 0;
  color: var(--t108-muted);
  font-size: 13px;
  line-height: 1.75;
}

.t108-playlist-panel {
  background: #fff;
  overflow: hidden;
}

.t108-playlist-head {
  align-items: center;
  margin-bottom: 14px;
}

.t108-sort {
  flex: 0 0 auto;
  min-width: 86px;
  justify-content: center;
  border: 1px solid rgba(17, 24, 39, .12);
  color: #111827;
  background: #f8fafc;
  cursor: pointer;
}

.t108-source-tabs {
  width: 100%;
  margin: 2px 0 16px;
  overflow: visible;
}

.t108-source-tabs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  height: auto;
  transform: none;
  padding: 0 0 2px;
  margin: 0;
  list-style: none;
}

.t108-source-tabs li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto !important;
  min-width: 96px;
  max-width: 190px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 999px;
  background: #f8fafc;
  color: #111827;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.t108-source-tabs li.active {
  color: #fff;
  border-color: transparent;
  background: #111827;
}

.t108-episode-box ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
}

.t108-episode-box .row {
  margin-left: 0;
  margin-right: 0;
}

.t108-episode-box .ewave-playlist-item {
  float: none;
  width: auto;
  max-width: none;
  padding: 0;
}

.t108-episode-box .ewave-playlist-item.ewave-width-auto {
  width: auto;
}

.t108-episode-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: var(--t108-radius);
  background: #f8fafc;
  text-align: center;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.t108-episode-box a.active,
.t108-episode-box a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--t108-coral);
}

@media (max-width: 767px) {
  .t108-faq-list {
    grid-template-columns: 1fr;
  }

  .t108-playlist-panel {
    padding: 16px;
  }

  .t108-section-head.t108-playlist-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
  }

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

  .t108-sort {
    min-width: 74px;
    min-height: 36px;
    padding: 0 12px;
  }

  .t108-source-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .t108-source-tabs ul {
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    padding-bottom: 4px;
  }

  .t108-source-tabs li {
    min-width: 86px;
    min-height: 36px;
    padding: 0 13px;
  }

  .t108-episode-box ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .t108-episode-box a {
    min-height: 38px;
    padding: 8px 6px;
    font-size: 13px;
  }
}

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

  .t108-search {
    display: none;
  }

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

  .t108-hero-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .t108-hero-rail {
    display: none;
  }

  .t108-grid,
  .t108-grid-compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .t108-header-inner {
    grid-template-columns: 150px 42px;
    justify-content: space-between;
  }

  .t108-nav {
    display: none;
  }

  .t108-mobile-panel {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(320px, 86vw);
    height: 100vh;
    padding: 22px;
    background: #fff;
    transform: translateX(-102%);
    transition: transform .2s ease;
  }

  .t108-mobile-panel.active {
    transform: translateX(0);
  }

  .t108-hero-layout {
    grid-template-columns: 1fr;
  }

  .t108-hero-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .t108-hero-side h2 {
    grid-column: 1 / -1;
  }

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

  .t108-news-grid,
  .t108-footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .t108-shell {
    width: min(100% - 24px, 1380px);
  }

  .t108-brand img {
    width: 136px;
  }

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

  .t108-hero-stage,
  .t108-hero-slider,
  .t108-hero-slider .swiper-slide {
    min-height: 420px;
  }

  .t108-slide-copy {
    width: calc(100% - 28px);
    padding: 0 14px 28px;
  }

  .t108-slide-copy strong {
    font-size: 34px;
  }

  .t108-hero-side {
    display: block;
  }

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

  .t108-section-head h2 {
    font-size: 24px;
  }

  .t108-grid,
  .t108-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .t108-card h3 {
    margin-inline: 8px;
    font-size: 13px;
  }

  .t108-card p {
    margin-inline: 8px;
    font-size: 11px;
  }

  .t108-detail-hero {
    min-height: 0;
  }

  .t108-detail-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 0;
  }

  .t108-detail-poster {
    width: min(210px, 62vw);
  }

  .t108-detail-info h1 {
    font-size: 32px;
  }

  .t108-detail-lines span {
    width: 42px;
  }
}

@media (max-width: 420px) {
  .t108-grid,
  .t108-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
