:root {
  --t101-bg: #fffaf1;
  --t101-paper: #ffffff;
  --t101-cream: #fff4cf;
  --t101-blue: #8bd3ff;
  --t101-pink: #ff8fb3;
  --t101-mint: #b8f3d4;
  --t101-yellow: #ffd166;
  --t101-ink: #2f3340;
  --t101-muted: #687083;
  --t101-line: #2f3340;
  --t101-radius: 18px;
  --t101-shadow: 0 12px 0 rgba(47,51,64,.12);
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,143,179,.24), transparent 22%),
    radial-gradient(circle at 84% 12%, rgba(139,211,255,.28), transparent 24%),
    linear-gradient(180deg, #fffdf7 0, var(--t101-bg) 100%);
  color: var(--t101-ink);
}

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

a {
  color: inherit;
}

a:hover {
  color: #e84f83;
}

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

.t101-shell,
.container {
  width: min(1280px, calc(100% - 36px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.t101-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.88);
  border-bottom: 3px solid var(--t101-line);
  backdrop-filter: blur(14px);
}

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

.t101-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 24px;
  font-weight: 900;
  color: var(--t101-ink);
  letter-spacing: 0;
}

.t101-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

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

.t101-nav {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

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

.t101-nav a,
.t101-mobile-panel a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--t101-ink);
  font-weight: 800;
}

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

.t101-nav a.active,
.t101-nav a:hover,
.t101-mobile-panel a.active {
  background: var(--t101-cream);
  border-color: var(--t101-line);
  box-shadow: 0 4px 0 rgba(47,51,64,.18);
  color: var(--t101-ink);
}

.t101-search,
.t101-mobile-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 3px solid var(--t101-line);
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(47,51,64,.12);
}

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

.t101-search button,
.t101-mobile-search button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  background: var(--t101-yellow);
  color: var(--t101-ink);
  font-weight: 900;
}

.t101-menu {
  display: none;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 3px solid var(--t101-line);
  border-radius: 999px;
  background: var(--t101-mint);
  font-weight: 900;
}

.t101-mobile-panel {
  width: min(320px, 86vw);
  padding: 18px;
  background: #fff;
  border-right: 3px solid var(--t101-line);
}

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

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

.t101-hero {
  position: relative;
  padding: 32px 0 8px;
}

.t101-cloud {
  position: absolute;
  z-index: 0;
  width: 150px;
  pointer-events: none;
}

.t101-cloud-a {
  left: 3vw;
  top: 18px;
  transform: rotate(-7deg);
}

.t101-cloud-b {
  right: 4vw;
  bottom: -12px;
  transform: rotate(8deg) scale(.88);
}

.t101-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
}

.t101-hero-slider {
  position: relative;
  height: clamp(280px, 42vw, 500px);
  overflow: hidden;
  border: 4px solid var(--t101-line);
  border-radius: 26px;
  background: var(--t101-blue);
  box-shadow: var(--t101-shadow);
}

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

.t101-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.32) 60%, rgba(255,255,255,.82));
}

.t101-hero-copy {
  position: absolute;
  left: clamp(22px, 5vw, 58px);
  bottom: clamp(24px, 5vw, 58px);
  max-width: 540px;
}

.t101-hero-copy em,
.t101-kicker,
.t101-page-title p {
  display: inline-flex;
  padding: 7px 12px;
  border: 2px solid var(--t101-line);
  border-radius: 999px;
  background: var(--t101-mint);
  color: var(--t101-ink);
  font-style: normal;
  font-weight: 900;
}

.t101-hero-copy strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1.05;
  color: var(--t101-ink);
  text-shadow: 3px 3px 0 #fff;
}

.t101-hero-copy small {
  display: inline-block;
  color: var(--t101-ink);
  font-size: 17px;
  font-weight: 800;
}

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

.t101-hero-side,
.t101-panel,
.t101-filter,
.layout-box,
.vod-list,
.art-box,
.star-box,
.links-box {
  background: var(--t101-paper);
  border: 3px solid var(--t101-line);
  border-radius: var(--t101-radius);
  box-shadow: var(--t101-shadow);
}

.t101-hero-side {
  padding: 20px;
}

.t101-hero-side h2,
.t101-section-head h2,
.layout-box h2,
.vod-list h2,
.art-box h2,
.star-box h2 {
  color: var(--t101-ink);
}

.t101-hero-side h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.t101-rank-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 2px dashed rgba(47,51,64,.22);
}

.t101-rank-item span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--t101-line);
  border-radius: 50%;
  background: var(--t101-pink);
  color: #fff;
  font-weight: 900;
}

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

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

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

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

.t101-section-head h2 {
  position: relative;
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.t101-section-head h2:before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  vertical-align: -5px;
  background: url("/style/101/images/cartoon-star.svg") center / contain no-repeat;
}

.t101-section-head a,
.t101-section-head span {
  color: var(--t101-muted);
  font-weight: 800;
}

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

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

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

.t101-card-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 3px solid var(--t101-line);
  border-radius: 18px;
  background: var(--t101-cream);
  box-shadow: 0 8px 0 rgba(47,51,64,.13);
}

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

.t101-card:hover .t101-card-img {
  transform: scale(1.05) rotate(1deg);
}

.t101-card-badge {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 8px;
  border: 2px solid var(--t101-line);
  border-radius: 999px;
  background: var(--t101-yellow);
  color: var(--t101-ink);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

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

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

.t101-news-card {
  display: block;
  padding: 18px;
  background: #fff;
  border: 3px solid var(--t101-line);
  border-radius: var(--t101-radius);
  box-shadow: 0 8px 0 rgba(47,51,64,.12);
}

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

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

.t101-footer {
  margin-top: 44px;
  padding: 34px 0;
  background: #fff;
  border-top: 3px solid var(--t101-line);
  color: var(--t101-muted);
}

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

.t101-footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--t101-ink);
  font-size: 23px;
  font-weight: 900;
}

.t101-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 800;
}

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

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

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

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

.t101-filter dl {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 12px 0;
  border-bottom: 2px dashed rgba(47,51,64,.22);
}

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

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

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

.t101-filter a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--t101-ink);
  font-weight: 800;
}

.t101-filter a.active {
  background: var(--t101-blue);
  border-color: var(--t101-line);
}

.t101-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0;
  background: linear-gradient(135deg, #fff4cf, #eaf8ff 55%, #fff);
  border-bottom: 3px solid var(--t101-line);
}

.t101-detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .08;
  filter: blur(10px);
  transform: scale(1.05);
}

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

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

.t101-detail-info h1 {
  margin: 12px 0;
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1.05;
  color: var(--t101-ink);
  text-shadow: 3px 3px 0 #fff;
}

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

.t101-meta span {
  padding: 7px 11px;
  border: 2px solid var(--t101-line);
  border-radius: 999px;
  background: #fff;
  color: var(--t101-ink);
  font-weight: 800;
}

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

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

.t101-detail-lines span {
  display: inline-block;
  width: 42px;
  color: var(--t101-ink);
  font-weight: 900;
}

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

.t101-actions a,
.t101-play-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 42px;
  padding: 0 18px;
  border: 3px solid var(--t101-line);
  border-radius: 999px;
  background: #fff;
  color: var(--t101-ink);
  font-weight: 900;
  box-shadow: 0 5px 0 rgba(47,51,64,.12);
}

.t101-actions a.primary,
.t101-play-actions a.primary {
  background: var(--t101-pink);
  color: #fff;
}

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

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

.t101-player-wrap {
  padding: 26px 0;
  background: linear-gradient(180deg, #fff4cf, #fffaf1);
  border-bottom: 3px solid var(--t101-line);
}

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

.t101-player {
  overflow: hidden;
  border: 4px solid var(--t101-line);
  border-radius: 22px;
  background: #000;
  box-shadow: var(--t101-shadow);
}

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

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

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

.t101-play-info {
  padding: 22px;
  border: 3px solid var(--t101-line);
  border-radius: var(--t101-radius);
  background: #fff;
  box-shadow: var(--t101-shadow);
}

.t101-play-info > p:first-child {
  margin-top: 0;
  color: #e84f83;
  font-weight: 900;
}

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

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

.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: 1180px) {
  .t101-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .t101-search {
    display: none;
  }

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

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

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

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

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

  .t101-header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .t101-nav {
    display: none;
  }

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

  .t101-hero-slider {
    height: 350px;
  }

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

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

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

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

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

  .t101-brand img {
    width: 38px;
    height: 38px;
  }

  .t101-hero-slider {
    height: 250px;
    border-radius: 20px;
  }

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

  .t101-cloud {
    display: none;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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