.anime-schedule-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
}

.anime-schedule-wrapper *,
.anime-schedule-wrapper *::before,
.anime-schedule-wrapper *::after {
  box-sizing: border-box;
}

.anime-schedule-wrapper {
  --anime-bg: #ffffff;
  --anime-text: #2f2f2f;
  --anime-text-secondary: #6b6b6b;
  --anime-border: #e0e0e0;
  --anime-hover-bg: #f5f5f5;
  --anime-summary-bg: #f0f0f0;
  --anime-summary-text: #333333;
  --anime-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.anime-schedule-wrapper .anime-schedule {
  background: var(--anime-bg);
  color: var(--anime-text);
  max-width: 1000px;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.94rem;
}

.anime-schedule-wrapper .day-details {
  margin: 10px 0;
  border: 1px solid var(--anime-border);
  border-radius: 8px;
  overflow: hidden;
}

.anime-schedule-wrapper .day-summary {
  background: var(--anime-summary-bg);
  color: var(--anime-summary-text);
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
  border-bottom: 1px solid var(--anime-border);
}

.anime-schedule-wrapper .day-summary:hover {
  background: #e8e8e8;
}

.anime-schedule-wrapper .day-summary::marker {
  content: "▶";
  color: var(--anime-text-secondary);
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.anime-schedule-wrapper .day-details[open] .day-summary::marker {
  content: "▼";
}

.anime-schedule-wrapper .episodes-container {
  max-height: 400px;
  overflow-y: auto;
  background: white;
}

.anime-schedule-wrapper .episodes-container::-webkit-scrollbar {
  width: 4px;
}

.anime-schedule-wrapper .episodes-container::-webkit-scrollbar-track {
  background: transparent;
}

.anime-schedule-wrapper .episodes-container::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 2px;
}

.anime-schedule-wrapper .episodes-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.anime-schedule-wrapper .episodes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.anime-schedule-wrapper .episode-item {
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--anime-border);
  align-items: center;
  transition: background 0.2s ease;
  cursor: pointer;
}

.anime-schedule-wrapper .episode-item:hover {
  background: var(--anime-hover-bg);
}

.anime-schedule-wrapper .episode-item:last-child {
  border-bottom: none;
}

.anime-schedule-wrapper .episode-poster {
  width: 56px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.anime-schedule-wrapper .episode-item:hover .episode-poster {
  transform: scale(1.02);
}

.anime-schedule-wrapper .episode-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.4;
}

.anime-schedule-wrapper .episode-title {
  font-weight: 500;
  color: var(--anime-text);
  margin: 0 0 3px 0;
  font-size: 0.98em;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.anime-schedule-wrapper .episode-original {
  font-size: 0.86em;
  color: var(--anime-text-secondary);
  margin: 0 0 3px 0;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.anime-schedule-wrapper .episode-meta,
.anime-schedule-wrapper .episode-time {
  font-size: 0.82em;
  color: var(--anime-text-secondary);
}

.anime-schedule-wrapper .episode-meta {
  font-weight: 400;
}

.anime-schedule-wrapper .episode-time {
  font-weight: 500;
  color: #555555;
}
