/* 鎾缁勪欢鏍峰紡 */
.aimoofa-podcast-wrapper {
  width: 100%;
  margin: 0px 0;
}

.markdown-content {
  border-top: 1px #dbdbdb solid;
  padding-top: 10px;
  margin-top: 20px;
}

.aimoofa-podcast-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9姣斾緥 */
  border-radius: 12px;
  overflow: hidden;
  background: var(
    --podcast-bg,
    linear-gradient(135deg, rgb(5, 76, 208) 0%, rgb(15, 53, 118) 100%)
  );
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}

.aimoofa-podcast-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aimoofa-podcast-header {
  margin-bottom: 10px;
}

.aimoofa-podcast-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.aimoofa-podcast-title-line {
  margin-bottom: 5px;
}

.aimoofa-podcast-player {
  width: 100%;
  margin-top: 10px;
}

.aimoofa-podcast-player audio {
  width: 100%;
  border-radius: 8px;
  opacity: 0.7;
  margin-top: 60px;
  display: flex;
  height: 40px;
  top: 10px;
}

/* 鎻愮ず璇嶅鍣ㄦ牱寮? */
.prompt-container {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  position: relative;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

.prompt-content {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.prompt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}

.prompt-ai-tool,
.prompt-url {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #6c757d;
}

.ai-tool-icon,
.url-icon {
  margin-right: 6px;
  display: inline-flex;
}

.prompt-url-link {
  color: #007bff;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.prompt-url-link:hover {
  text-decoration: underline;
}

.prompt-copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  background-color: #e9ecef;
  color: #495057;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.prompt-copy-button:hover {
  background-color: #dee2e6;
}

.copy-icon {
  margin-right: 4px;
  display: inline-flex;
}

.container {
  max-width: 100% !important;
  margin: 0 auto;
  background-color: #333;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #333;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 400px;
  background-attachment: fixed;
  transition: background-size 0.3s ease-in-out;
  position: relative;
  overflow-x: hidden;
  line-height: 1.55em;
  text-align: justify !important;
}

.article-title {
  padding: 24px 25px;
}

.title-image-container {
  max-width: 100%;
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-image-container img {
  max-width: 100%;
  height: auto;
}

body.theme-dark .markdown-content {
  border-top-color: rgba(205, 173, 124, 0.18);
}

body.theme-dark .prompt-container {
  background-color: rgba(12, 18, 23, 0.88);
  border-color: rgba(205, 173, 124, 0.18);
}

body.theme-dark .prompt-content,
body.theme-dark .prompt-ai-tool,
body.theme-dark .prompt-url,
body.theme-dark .w-player-title,
body.theme-dark .teacher-text,
body.theme-dark .user-text {
  color: #e7ddd1 !important;
}

body.theme-dark .prompt-copy-button,
body.theme-dark .w-player-controls,
body.theme-dark .user-container > div:not(.teacher-info),
body.theme-dark .user-program > div:not(.teacher-info) {
  background-color: rgba(20, 28, 34, 0.96) !important;
  color: #e7ddd1 !important;
}

body.theme-dark .user-container,
body.theme-dark .user-program,
body.theme-dark .teacher-comment {
  background: rgba(12, 18, 23, 0.82) !important;
  border-color: rgba(205, 173, 124, 0.18) !important;
}
