/* 详情页：与首页 panasia-home 同一套深色与圆角、字号 */

.panasia-detail-page {
  width: 100%;
  max-width: 1200px;
  padding: 0 0 40px;
  box-sizing: border-box;
}

.panasia-detail-hero {
  display: grid;
  grid-template-columns: 253px minmax(0, 1fr);
  gap: 32px;
  padding: 8px 0 0;
  align-items: start;
}

.panasia-detail-poster {
  position: relative;
  width: 100%;
  max-width: 253px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 253 / 340;
}

.panasia-detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.panasia-detail-poster::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
  border-radius: 0 0 12px 12px;
}

.panasia-detail-remarks {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  font-size: 14px;
  line-height: 19.6px;
  font-weight: 400;
  color: #fff;
  text-align: right;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.panasia-detail-main {
  min-width: 0;
}

.panasia-detail-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: #ffffff;
}

.panasia-detail-tagline {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: #9b9998;
}

.panasia-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.panasia-detail-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 22px;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.35;
  background: #2c2c2c;
  color: #eeeeee;
  white-space: nowrap;
}

.panasia-detail-chip--accent {
  background: rgba(0, 231, 231, 0.12);
  color: #00e7e7;
  border: 1px solid rgba(0, 231, 231, 0.35);
}

.panasia-detail-chip--live {
  color: #77f7a0;
  border: 1px solid rgba(119, 247, 160, 0.35);
  background: rgba(13, 58, 33, 0.35);
}

.panasia-detail-line {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #9b9998;
}

.panasia-detail-line:last-of-type {
  margin-bottom: 14px;
}

.panasia-detail-em {
  color: #e6e6e6;
}

.panasia-detail-em a {
  color: #c8c8c8;
  text-decoration: none;
}

.panasia-detail-em a:hover {
  color: #00e7e7;
}

.panasia-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

.panasia-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.panasia-detail-btn-primary {
  background: #00e7e7;
  color: #084949;
}

.panasia-detail-btn-primary:hover {
  filter: brightness(1.06);
}

.panasia-detail-btn-ghost {
  background: #434343;
  border: 1px solid #3b3b3d;
  color: #fff;
}

.panasia-detail-btn-ghost:hover {
  border-color: #00e7e7;
  color: #00e7e7;
}

.panasia-detail-desc {
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.panasia-detail-desc-title {
  margin: 16px 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
}

.panasia-detail-desc-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #9b9998;
  word-break: break-word;
}

.panasia-detail-episodes {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.panasia-detail-ep-group {
  margin-bottom: 24px;
}

.panasia-detail-ep-group:last-child {
  margin-bottom: 0;
}

.panasia-detail-ep-group h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #9b9998;
}

.panasia-detail-ep-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panasia-detail-ep-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 4px;
  background: #2c2c2c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 400;
  color: #eeeeee;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.panasia-detail-ep-list a:hover,
.panasia-detail-ep-list a.panasia-detail-ep-cur {
  border-color: #00e7e7;
  background: rgba(0, 231, 231, 0.12);
  color: #00e7e7;
}

@media (max-width: 768px) {
  .panasia-detail-page {
    padding-bottom: 32px;
  }

  .panasia-detail-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 0;
  }

  .panasia-detail-poster {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .panasia-detail-title {
    font-size: 18px;
    line-height: 26px;
  }

  .panasia-detail-tagline {
    font-size: 14px;
    line-height: 20px;
  }

  .panasia-detail-btn {
    min-height: 44px;
    font-size: 15px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .panasia-detail-actions {
    gap: 10px;
  }
}
