.joe_search-panel {
  padding: 12px;
}

.joe_search-panel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--minor);
  font-size: 12px;
  margin-bottom: 10px;
}

.joe_search-panel__title {
  font-weight: 600;
  color: var(--main);
}

.joe_search-panel__chips,
.joe_search-panel__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.joe_search-chip {
  border: 1px solid var(--classC);
  background: var(--classD);
  color: var(--routine);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.joe_search-chip:hover,
.joe_search-chip.active {
  border-color: var(--theme);
  color: var(--theme);
  background: rgba(64, 158, 255, 0.08);
}

.joe_search-panel__list {
  display: grid;
  gap: 10px;
}

.joe_search-result {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--classD);
  transition: all 0.25s ease;
}

.joe_search-result:hover {
  transform: translateY(-1px);
  border-color: rgba(64, 158, 255, 0.2);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.joe_search-result__cover {
  width: 72px;
  min-width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--classC);
}

.joe_search-result__body {
  min-width: 0;
  flex: 1;
}

.joe_search-result__title {
  display: block;
  color: var(--main);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
}

.joe_search-result__title mark,
.joe_search-result__excerpt mark {
  color: var(--theme);
  background: rgba(64, 158, 255, 0.12);
  border-radius: 4px;
  padding: 0 2px;
}

.joe_search-result__excerpt {
  color: var(--minor);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.joe_search-result__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--seat);
  font-size: 12px;
}

.joe_search-empty {
  padding: 18px 14px;
  color: var(--minor);
  text-align: center;
  background: var(--classD);
  border-radius: 14px;
}

.joe_header__above-search .result {
  padding: 0;
  max-height: 420px;
  overflow-y: auto;
}

.joe_header__searchout-results {
  display: none;
  margin-top: 12px;
}

.joe_header__searchout-results.active {
  display: block;
}

.joe_detail__operate {
  display: grid;
  gap: 12px;
}

.joe_detail__operate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.joe_detail__tool {
  border: none;
  background: var(--classD);
  color: var(--main);
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.joe_detail__tool:hover,
.joe_detail__tool.active {
  background: rgba(64, 158, 255, 0.1);
  color: var(--theme);
}

.joe_aside__item--dynamic .joe_aside__item-contain {
  padding-top: 12px;
}

.joe_dynamic-list {
  display: grid;
  gap: 12px;
}

.joe_dynamic-list__item {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.joe_dynamic-list__cover {
  width: 62px;
  min-width: 62px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--classC);
}

.joe_dynamic-list__body {
  min-width: 0;
  flex: 1;
}

.joe_dynamic-list__title {
  display: block;
  color: var(--main);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.joe_dynamic-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--seat);
  font-size: 12px;
}

.joe_dynamic-empty {
  color: var(--minor);
  text-align: center;
  padding: 8px 0;
}

.joe_comment__summary {
  text-align: center;
  color: var(--minor);
  margin-top: -6px;
  margin-bottom: 15px;
  font-size: 13px;
}

.joe_comment__preview {
  display: none;
  min-height: 160px;
  border-radius: var(--radius-inner);
  background: var(--background);
  color: var(--routine);
  padding: 16px;
  line-height: 1.7;
  word-break: break-word;
}

.joe_comment__preview.is-active {
  display: block !important;
}

.joe_comment__toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.joe_comment__preview-toggle {
  border: none;
  background: var(--background);
  color: var(--main);
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
}

.joe_comment__counter {
  color: var(--minor);
  font-size: 12px;
}

.joe_comment__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: var(--theme);
}

.joe_comment__badge.is-member {
  background: #67c23a;
}

.joe_comment__badge.is-guest {
  background: #909399;
}

.joe_comment__badge.is-floor {
  background: #e6a23c;
}

.joe_comment .comment-list__item .term .content .handle {
  gap: 12px;
  flex-wrap: wrap;
}

.joe_comment .comment-list__item .term .content .handle .quote,
.joe_comment .comment-list__item .term .content .handle .toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--main);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.joe_comment .comment-list__item .term .content .handle .quote:hover,
.joe_comment .comment-list__item .term .content .handle .toggle:hover,
.joe_comment .comment-list__item .term .content .handle .toggle.is-collapsed {
  color: var(--theme);
}

.joe_comment .comment-list__item .term .content .substance blockquote {
  margin: 8px 0;
  padding: 8px 12px;
  border-left: 3px solid rgba(64, 158, 255, 0.4);
  background: rgba(64, 158, 255, 0.08);
  border-radius: 10px;
}

.joe-sc-notice {
  margin: 18px 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: var(--classD);
}

.joe-sc-notice__title {
  font-weight: 700;
  margin-bottom: 8px;
}

.joe-sc-notice.is-info {
  border-color: rgba(64, 158, 255, 0.25);
}

.joe-sc-notice.is-success {
  border-color: rgba(103, 194, 58, 0.25);
}

.joe-sc-notice.is-warning {
  border-color: rgba(230, 162, 60, 0.25);
}

.joe-sc-notice.is-danger {
  border-color: rgba(245, 108, 108, 0.25);
}

.joe-sc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  margin: 0 4px 4px 0;
}

.joe-sc-badge.is-info {
  background: #409eff;
}

.joe-sc-badge.is-success {
  background: #67c23a;
}

.joe-sc-badge.is-warning {
  background: #e6a23c;
}

.joe-sc-badge.is-danger {
  background: #f56c6c;
}

.joe-sc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  margin: 8px 8px 8px 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.joe-sc-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.joe-sc-button.is-primary {
  background: var(--theme);
  color: #fff !important;
}

.joe-sc-button.is-success {
  background: #67c23a;
  color: #fff !important;
}

.joe-sc-button.is-danger {
  background: #f56c6c;
  color: #fff !important;
}

.joe-sc-button.is-ghost {
  background: var(--classD);
  color: var(--theme) !important;
}

.joe-sc-faq {
  margin: 18px 0;
  border: 1px solid var(--classC);
  border-radius: 16px;
  background: var(--classD);
  overflow: hidden;
}

.joe-sc-faq summary {
  list-style: none;
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--main);
}

.joe-sc-faq summary::-webkit-details-marker {
  display: none;
}

.joe-sc-faq__body {
  padding: 0 18px 18px;
  color: var(--routine);
  line-height: 1.75;
}

.joe-sc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.joe-sc-grid__item {
  border-radius: 18px;
  padding: 18px;
  background: var(--classD);
  border: 1px solid rgba(64, 158, 255, 0.08);
}

.joe-sc-grid__item h4 {
  margin-bottom: 8px;
  color: var(--main);
}

.joe-sc-grid__item p {
  color: var(--minor);
  line-height: 1.7;
  margin-bottom: 12px;
}

.joe-sc-grid__item a {
  color: var(--theme) !important;
  font-weight: 600;
}

.joe-sc-timeline-item {
  position: relative;
  margin: 18px 0;
  padding: 0 0 0 18px;
  border-left: 2px solid rgba(64, 158, 255, 0.2);
}

.joe-sc-timeline-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme);
}

.joe-sc-timeline-item__label {
  font-weight: 700;
  color: var(--main);
  margin-bottom: 6px;
}

.joe-sc-timeline-item__body {
  color: var(--routine);
  line-height: 1.75;
  padding-bottom: 10px;
}

@media (max-width: 768px) {
  .joe_search-result {
    padding: 10px;
  }

  .joe_search-result__cover {
    width: 58px;
    min-width: 58px;
    height: 58px;
  }

  .joe_detail__operate-actions {
    gap: 8px;
  }

  .joe_detail__tool {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .joe_comment__toolbar {
    width: 100%;
    margin-bottom: 10px;
  }

  .joe_comment .comment-list__item-children {
    padding-left: 18px;
  }
}
