.public-share-body {
  margin: 0;
  min-height: 100vh;
  display: block;
  align-items: initial;
  color: #1d1d1f;
  background: #f5f5f7;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.public-seo-summary {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.public-share-category-page {
  --public-category-header-height: 56px;
  padding-top: var(--public-category-header-height);
}

.public-share-category-page .public-header {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.public-header-inner,
.public-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.public-header-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.public-brand,
.public-share-home-link,
.public-open-mine,
.public-primary-link,
.public-back-link,
.public-category-card,
.public-link-card {
  color: #1d1d1f;
  text-decoration: none;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 0;
}

.public-brand-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.public-brand-wordmark {
  display: block;
  width: 156px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.public-header-actions {
  flex: 0 0 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.public-share-home-link,
.public-open-mine {
  flex: 0 0 auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  color: #111827;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.public-share-home-link i,
.public-open-mine i {
  color: #4b5563;
  font-size: 12px;
}

.public-share-home-link:hover,
.public-open-mine:hover {
  background: #ffffff;
  border-color: rgba(17, 24, 39, 0.16);
  color: #111827;
}

.public-share-type-badge,
.public-share-type-badge:hover {
  gap: 6px;
  background: rgba(17, 24, 39, 0.06);
  border-color: rgba(17, 24, 39, 0.1);
  color: #374151;
  cursor: default;
}

.public-share-home-link:focus-visible,
.public-open-mine:focus-visible {
  outline: 3px solid rgba(0, 122, 255, 0.22);
  outline-offset: 2px;
}

.public-primary-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #1d1d1f;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.public-shell {
  padding: 44px 0 72px;
}

.public-profile {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.public-profile-home {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.public-avatar {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  color: #007aff;
  font-size: 34px;
  font-weight: 700;
}

.public-profile-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
  padding-top: 2px;
}

.public-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-eyebrow {
  margin: 0 0 7px;
  color: #86868b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.public-profile h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.public-profile h1 {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-category-hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
}

.public-profile-bio {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 680px;
  margin: 8px 0 0;
  overflow: hidden;
  color: #515154;
  font-size: 15px;
  line-height: 1.45;
}

.public-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
}

.public-profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.public-profile-meta i {
  color: #86868b;
  font-size: 12px;
}

.public-copy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 0;
}

.public-copy-button,
.public-copy-site-button {
  border: 1px solid rgba(0, 113, 227, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #0071e3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.public-copy-button:hover,
.public-copy-site-button:hover {
  border-color: rgba(0, 113, 227, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.14);
  transform: translateY(-1px);
}

.public-copy-button:active,
.public-copy-site-button:active {
  transform: translateY(0);
}

.public-copy-button:disabled,
.public-copy-site-button:disabled {
  cursor: default;
  opacity: 0.78;
  transform: none;
}

.public-profile,
.public-category-hero,
.public-share-site {
  position: relative;
}

.public-category-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.public-category-title-row h1 {
  min-width: 0;
  flex: 1 1 auto;
}

.public-category-title-row .public-copy-actions {
  flex: 0 0 auto;
  padding-top: 1px;
}

.public-category-hero-main {
  max-width: 100%;
}

.public-card-actions {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
}

.public-share-category-page #simpleModel .public-card-actions {
  justify-content: center;
}

.public-share-category-page #exploreModel .public-card-actions {
  width: auto;
  margin-left: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

.public-share-category-page #listModel .public-card-actions {
  width: min(100%, calc(100% - 282px));
  margin-right: auto;
}

.public-share-site:hover .public-card-actions,
.public-card-actions:focus-within {
  opacity: 1;
  pointer-events: auto;
}

.public-copy-site-button {
  height: 28px;
  min-height: 28px;
  margin-top: 0;
  padding: 0 10px;
  border-color: rgba(0, 113, 227, 0.22);
  font-size: 11px;
  font-weight: 600;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.public-copy-site-button:hover {
  background: rgba(0, 113, 227, 0.06);
  box-shadow: none;
  transform: none;
}

.public-share-category-page .nav-item .text-content,
.public-share-category-page .site-simple {
  box-sizing: border-box;
  padding-right: 1.2rem;
}

.public-copy-site-button:focus-visible,
.public-copy-site-button:disabled {
  opacity: 1;
  transform: translateY(0);
}

.public-directory,
.public-links-section {
  padding-top: 28px;
}

.public-category-header-inner {
  width: min(1320px, calc(100% - 32px));
  min-height: 56px;
  height: auto;
  align-items: center;
  flex-wrap: nowrap;
  padding: 8px 0;
  box-sizing: border-box;
}

.public-header-search {
  flex: 1 1 auto;
  min-width: 220px;
  display: flex;
  justify-content: center;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.public-header-search .search-container {
  width: min(650px, 100%);
  min-height: 36px;
  height: auto;
  float: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  padding-top: 5px;
  padding-bottom: 5px;
  background: #fff;
  position: relative;
  z-index: 2;
}

.public-search-entry {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.public-header-search #search-input {
  border: 0;
  outline: none;
  flex: 1 1 170px;
  min-width: 150px;
  height: 24px;
  color: var(--color-text-primary);
  font-size: var(--font-size-subhead);
  padding: 0 var(--spacing-2);
}

.public-header-search .search-container.has-selected-tags #search-input::placeholder {
  color: transparent;
}

.public-selected-tag-chips {
  display: contents;
}

.public-selected-tag-chips::-webkit-scrollbar {
  display: none;
}

.public-selected-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(160px, 100%);
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.12);
  color: #0057c2;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-selected-tag-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-selected-tag-remove {
  width: 0;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.16);
  color: #0057c2;
  cursor: pointer;
  padding: 0;
  font-size: 10px;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scale(0.7);
  transition: width 160ms ease, margin-left 160ms ease, opacity 140ms ease, transform 160ms ease;
}

.public-selected-tag-chip:hover,
.public-selected-tag-chip:focus-within {
  gap: 4px;
  padding-right: 4px;
}

.public-selected-tag-chip:hover .public-selected-tag-remove,
.public-selected-tag-chip:focus-within .public-selected-tag-remove {
  width: 18px;
  flex-basis: 18px;
  margin-left: 2px;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.public-header-search .search-icon,
.public-header-search #filterIcon,
.public-header-search .clear-input-icon,
.public-header-search .sliders-icon {
  margin-top: 0;
  flex: 0 0 auto;
}

.public-header-search .sliders-icon {
  margin-left: 0;
}

.public-header-search .filter-panel {
  box-sizing: border-box;
  width: 100%;
  left: 0;
  right: auto;
  text-align: left;
  z-index: 1002;
}

.public-header-search .public-category-tag-panel {
  box-sizing: border-box;
  width: 100%;
  left: 0;
  right: auto;
  text-align: left;
  z-index: 1003;
}

.public-header-search .filter-panel li.is-active {
  background-color: rgb(250, 203, 150);
}

.public-floating-search-panel {
  position: fixed;
  z-index: 10020;
  right: auto;
  box-sizing: border-box;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

.public-search-icon-button,
.public-filter-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.public-search-icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.public-search-icon-button.is-visible {
  opacity: 1;
}

.public-filter-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.public-filter-close:hover,
.public-filter-close:focus,
.public-filter-close:active,
.public-filter-close .close-filterPanel-icon,
.public-filter-close .close-filterPanel-icon:hover {
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

.public-share-card-container {
  width: 100%;
  min-width: 0;
}

.public-category-tag-row {
  width: 100%;
  display: grid;
  box-sizing: border-box;
  max-height: none;
  margin: 0 0 16px;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px 14px;
  overflow: visible;
}

.public-share-card-container > .public-category-tag-row {
  display: none;
}

.public-category-tag-panel .public-category-tag-row {
  display: grid !important;
  max-height: min(280px, calc(100vh - 190px));
  margin: 0 0 10px;
  overflow: auto;
}

.public-category-tag {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  cursor: pointer;
  border-radius: var(--radius-small);
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  outline: none;
}

.public-category-tag i {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-right: var(--spacing-2, 8px);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.public-category-tag.is-active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.public-category-tag:focus-visible {
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.public-share-category-page .site-grid-simple,
.public-share-category-page .nav-grid {
  margin-top: 0;
}

.public-share-category-page #listModel.news-container {
  display: none;
  margin: 0;
}

.public-share-category-page .news-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.public-share-category-page .news-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 122, 255, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.public-share-category-page .news-content {
  min-height: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: stretch;
  padding-top: 0;
}

.public-share-category-page .title-context {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  color: #1d1d1f;
  line-height: 1.45;
}

.public-share-category-page .news-info {
  min-width: 0;
  margin-bottom: 0;
  color: #1d1d1f;
}

.public-share-category-page .news-info .card-title {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 0;
}

.public-share-category-page .source-logo,
.public-share-category-page .default-bookmark-icon.source-logo {
  width: 44px;
  height: 44px;
  margin-right: 0;
  border-radius: 8px;
}

.public-share-category-page .source-name {
  min-width: 0;
  margin-right: 0;
  gap: 6px;
}

.public-share-category-page .news-info h3 {
  overflow: hidden;
  font-size: 16px;
  line-height: 1.42;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-share-category-page .nav-item h3,
.public-share-category-page .text-content h3,
.public-share-category-page .site-simple-title h3,
.public-share-category-page .news-info h3 {
  line-height: 1.42;
}

.public-share-category-page .nav-item h3,
.public-share-category-page .text-content h3,
.public-share-category-page .site-simple-title h3 {
  white-space: normal;
  overflow-wrap: anywhere;
}

.public-share-category-page .news-meta-info {
  gap: 6px;
}

.public-share-category-page .nav-meta-info,
.public-share-category-page .site-meta-info,
.public-share-category-page .news-meta-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
  min-width: 0;
}

.public-share-category-page .nav-meta-info .time,
.public-share-category-page .site-meta-info .time,
.public-share-category-page .news-meta-info .time {
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  color: #86868b;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.public-share-category-page .nav-meta-info .time:first-child,
.public-share-category-page .site-meta-info .time:first-child,
.public-share-category-page .news-meta-info .time:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-share-category-page .nav-meta-info .time i,
.public-share-category-page .site-meta-info .time i,
.public-share-category-page .news-meta-info .time i {
  width: 12px;
  flex: 0 0 12px;
  margin: 0;
  color: #86868b;
  font-size: 11px;
  text-align: center;
}

.public-share-category-page .news-text {
  flex: 0 0 auto;
  display: block;
  min-height: 22px;
  padding: 0 10px 0 0;
  overflow: visible;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

.public-share-category-page .news-card .card-description-wrap {
  max-width: 100%;
  margin-top: 8px;
}

.public-share-category-page .news-card .card-description-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  line-height: inherit;
  text-align: left;
}

.public-share-category-page .tags-context {
  margin-top: 10px;
  padding-left: 0;
  padding-top: 0;
}

.public-share-category-page .tags-context .card-tag-list {
  min-height: 0;
  padding: 0;
  align-items: flex-start;
}

.public-share-category-page .card-tag-list {
  gap: 5px;
  overflow: visible;
  align-items: flex-start;
}

.public-share-category-page .site-grid-simple .card-tag-list {
  margin-top: 7px;
}

.public-share-category-page .site-simple-container {
  min-height: 184px;
}

.public-share-category-page .site-simple {
  height: 100%;
  align-items: flex-start;
}

.public-share-category-page .site-simple-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.public-share-category-page .site-simple-title {
  min-width: 0;
  flex: 0 0 auto;
}

.public-share-category-page .site-simple-title p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 42px;
  margin: 9px 0 0;
  overflow: hidden;
  color: #6e6e73;
  line-height: 1.5;
}

.public-share-category-page .site-grid-simple .card-tag-list {
  flex: 0 0 auto;
  margin-top: 8px;
  padding-top: 0;
  overflow: visible;
  flex-wrap: wrap;
}

.public-share-category-page .card-tag {
  max-width: 120px;
  min-height: 18px;
  box-sizing: border-box;
  padding: 1px 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #8a8f98;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-share-category-page .card-tag i {
  margin-right: 2px;
  color: #b3bac3;
  font-size: 9px;
}

.public-share-category-page .card-tag:not(:last-child)::after {
  display: none;
}

.public-share-category-page .nav-item > .text-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.public-share-category-page .nav-item.public-share-site,
.public-share-category-page .site-simple {
  padding-bottom: 0;
}

.public-share-category-page .card-description-wrap {
  min-width: 0;
  margin-top: 8px;
}

.public-share-category-page .nav-item .text-content .card-description-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #6e6e73;
  line-height: 1.6;
  text-align: justify;
  text-align-last: left;
}

.public-share-category-page .nav-item .card-tag-list {
  margin-top: 8px;
  padding-top: 0;
}

@media (max-width: 768px) {
  .public-share-category-page
    .nav-item
    .text-content
    .card-description-preview {
    -webkit-line-clamp: 5;
  }
}

.public-share-category-page .image-div {
  width: auto;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.public-share-category-page .image-div .card-title {
  width: 100%;
  padding: 0;
}

.public-share-category-page .news-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: none;
}

.public-filter-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.public-share-closed-card {
  width: 100%;
  min-height: 148px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-sizing: border-box;
  padding: 32px 36px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.public-profile-home + .public-share-closed-card {
  margin-top: 28px;
}

.public-share-closed-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff7ed;
  color: #f97316;
  font-size: 22px;
}

.public-share-closed-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.public-share-closed-copy h2 {
  margin: 0 0 10px;
  color: #1d1d1f;
  font-size: 24px;
  line-height: 1.25;
}

.public-share-closed-copy p {
  max-width: none;
  margin: 0;
  color: #6e6e73;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hidden {
  display: none !important;
}

.public-directory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.public-directory-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.public-directory-head > span {
  color: #86868b;
  font-size: 13px;
  font-weight: 600;
}

.public-directory-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

.public-directory-actions > span {
  color: #86868b;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.public-directory-actions .public-directory-count {
  align-self: flex-end;
}

.public-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.public-category-card {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.public-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 122, 255, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.public-category-card-top,
.public-category-meta,
.public-category-hero-meta {
  display: flex;
  align-items: center;
}

.public-category-card-top {
  justify-content: space-between;
  gap: 14px;
}

.public-category-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.public-category-title h3 {
  margin: 0;
  overflow: hidden;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-category-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf6ff;
  color: #007aff;
  font-size: 18px;
}

.public-category-arrow {
  flex: 0 0 auto;
  color: #c7c7cc;
  font-size: 12px;
}

.public-category-card-desc {
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 16px 0 0;
  overflow: hidden;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.55;
}

.public-category-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.55;
}

.public-category-meta,
.public-category-hero-meta {
  flex-wrap: wrap;
  gap: 10px 14px;
  color: #6e6e73;
  font-size: 12px;
}

.public-category-meta {
  margin-top: 18px;
}

.public-category-meta i,
.public-category-hero-meta i {
  margin-right: 6px;
  color: #86868b;
}

.public-category-updated {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: #86868b;
  font-size: 12px;
}

.public-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #007aff;
  font-size: 14px;
  font-weight: 600;
}

.public-back-link i {
  font-size: 11px;
}

.public-category-hero {
  display: flex;
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.public-category-hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.public-category-hero-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  font-size: 23px;
}

.public-category-description {
  width: 100%;
  max-width: none;
  -webkit-line-clamp: 3;
  margin-top: 10px;
}

.public-category-hero-meta {
  margin-top: 16px;
  font-size: 13px;
}

.public-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.public-link-card {
  min-height: 84px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.public-link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 122, 255, 0.3);
  background: #fff;
}

.public-link-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f7;
  color: #007aff;
}

.public-link-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.public-link-copy {
  min-width: 0;
}

.public-link-copy h3 {
  margin: 0;
  overflow: hidden;
  color: #1d1d1f;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-link-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 5px 0 0;
  overflow: hidden;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.4;
}

.public-link-arrow {
  color: #c7c7cc;
  font-size: 12px;
}

.public-empty-page,
.public-empty-state {
  min-height: 70vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 40px 20px;
  text-align: center;
}

.public-empty-state {
  min-height: 320px;
}

.public-empty-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: #86868b;
  font-size: 24px;
}

.public-empty-page h1,
.public-empty-state h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.public-empty-page p,
.public-empty-state p {
  max-width: 420px;
  margin: 0;
  color: #6e6e73;
  line-height: 1.5;
}

.public-resource-kicker {
  margin: 0 0 6px;
  color: #0071e3;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.public-resource-home-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(360px, 420px);
  align-items: center;
}

.public-resource-home-stats {
  display: grid;
  grid-template-columns: minmax(82px, 0.75fr) minmax(96px, 0.8fr) minmax(150px, 1.45fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.07);
}

.public-resource-home-stats div {
  min-width: 0;
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.88);
}

.public-resource-home-stats strong {
  display: block;
  color: #1d1d1f;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}

.public-resource-home-stats span,
.public-resource-section-head p,
.public-resource-list-head p {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.45;
}

.public-resource-section-head {
  margin-bottom: 18px;
}

.public-directory-head.public-resource-section-head {
  align-items: flex-start;
}

.public-directory-head.public-resource-section-head > div:first-child {
  flex: 1 1 auto;
}

.public-resource-section-head > div {
  min-width: 0;
}

.public-resource-section-head p {
  max-width: 680px;
  margin: 6px 0 0;
}

.public-featured-resources {
  padding-top: 28px;
}

.public-featured-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.public-featured-resource-card {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #1d1d1f;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.public-featured-resource-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 122, 255, 0.26);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.public-featured-resource-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #eef6ff;
  color: #007aff;
}

.public-featured-resource-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.public-featured-resource-copy {
  min-width: 0;
}

.public-featured-resource-copy strong,
.public-featured-resource-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-featured-resource-copy strong {
  font-size: 14px;
  line-height: 1.3;
}

.public-featured-resource-copy small {
  margin-top: 3px;
  color: #86868b;
  font-size: 12px;
}

.public-featured-resource-arrow {
  color: #a1a1a6;
  font-size: 12px;
}

.public-category-hot-heading {
  margin-bottom: 12px;
}

.public-category-hot-strip {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.public-category-hot-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.public-category-hot-list a {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  color: #1d1d1f;
  text-decoration: none;
}

.public-category-hot-list a:hover {
  background: #f5f8ff;
}

.public-category-hot-rank {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #eef6ff;
  color: #007aff;
  font-size: 12px;
  font-weight: 750;
}

.public-category-hot-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #007aff;
}

.public-category-hot-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.public-category-hot-copy {
  min-width: 0;
}

.public-category-hot-copy strong,
.public-category-hot-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-category-hot-copy strong {
  font-size: 13px;
  line-height: 1.3;
}

.public-category-hot-copy small {
  color: #86868b;
  font-size: 12px;
}

.public-resource-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.public-resource-list-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.public-resource-list-head p {
  margin: 6px 0 0;
}

.public-resource-list-head > span {
  flex: 0 0 auto;
  color: #86868b;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 720px) {
  .public-share-closed-card {
    min-height: 180px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .public-share-closed-copy p {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .public-header-inner,
  .public-shell {
    width: min(100% - 24px, 1320px);
  }

  .public-shell {
    padding-top: 30px;
  }

  .public-header-inner {
    height: 52px;
    gap: 12px;
  }

  .public-brand {
    gap: 9px;
  }

  .public-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .public-brand-wordmark {
    width: 136px;
    height: 38px;
  }

  .public-header-actions {
    gap: 8px;
  }

  .public-share-home-link {
    min-height: 34px;
  }

  .public-open-mine {
    min-height: 32px;
    font-size: 12px;
  }

  .public-profile {
    align-items: flex-start;
    gap: 14px;
  }

  .public-resource-home-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .public-resource-home-stats {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 14px;
  }

  .public-avatar {
    width: 64px;
    height: 64px;
    border-width: 3px;
    font-size: 24px;
  }

  .public-profile-copy {
    min-height: 64px;
    padding-top: 0;
  }

  .public-category-hero > .public-category-hero-copy {
    padding-right: 0;
  }

  .public-category-title-row {
    align-items: flex-start;
    gap: 10px;
  }

  .public-category-title-row .public-copy-actions {
    padding-top: 0;
  }

  .public-copy-button {
    min-height: 34px;
    padding: 0 13px;
  }

  .public-profile h1 {
    font-size: 24px;
  }

  .public-category-hero h1 {
    font-size: 24px;
  }

  .public-category-hero {
    gap: 14px;
  }

  .public-profile-bio {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
  }

  .public-profile-meta {
    gap: 8px 12px;
    margin-top: 10px;
    font-size: 12px;
  }

  .public-category-grid,
  .public-link-grid,
  .public-featured-resource-grid,
  .public-category-hot-list {
    grid-template-columns: 1fr;
  }

  .public-resource-list-head,
  .public-resource-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-directory-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .public-resource-list-head > span {
    display: none;
  }

  .public-share-category-page .news-card {
    min-height: 0;
    padding: 14px;
  }

  .public-share-category-page .nav-item .text-content,
  .public-share-category-page .site-simple {
    padding-right: 1.2rem;
  }

  .public-card-actions {
    position: static;
    align-self: flex-start;
    opacity: 1;
    transform: none;
  }

  .public-share-category-page #listModel .public-card-actions {
    width: 100%;
  }

  .public-copy-site-button {
    min-height: 29px;
  }

  .public-share-category-page .news-content {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
  }

  .public-share-category-page .news-info .card-title {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .public-share-category-page .source-logo,
  .public-share-category-page .default-bookmark-icon.source-logo {
    width: 36px;
    height: 36px;
  }

  .public-share-category-page .news-info h3 {
    font-size: 14px;
    line-height: 1.42;
  }

  .public-share-category-page .news-meta-info {
    gap: 8px;
  }

  .public-share-category-page .news-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .public-share-category-page .news-card .card-description-preview {
    -webkit-line-clamp: 2;
  }

  .public-share-category-page .image-div {
    width: auto;
  }

  .public-share-category-page .news-image {
    height: auto;
    min-height: 72px;
  }

  .public-category-header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 0;
  }

  .public-share-category-page {
    padding-top: var(--public-category-header-height);
  }

  .public-header-search {
    order: 3;
    flex-basis: 100%;
  }

  .public-header-search .search-container {
    width: 100%;
  }

  .public-header-search .filter-panel,
  .public-mobile-sheet-panel {
    display: block;
    position: fixed;
    top: auto;
    left: 4px;
    right: 4px;
    bottom: 0;
    width: auto;
    height: 80svh;
    max-height: calc(100svh - 16px);
    margin-top: 0;
    padding: 18px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    animation: publicBottomSheetIn var(--duration-normal) var(--ease-out);
  }

  .public-header-search .public-category-tag-panel,
  .public-mobile-sheet-panel.public-category-tag-panel {
    display: block;
    position: fixed;
    top: auto;
    left: 4px;
    right: 4px;
    bottom: 0;
    width: auto;
    height: 80svh;
    max-height: calc(100svh - 16px);
    margin-top: 0;
    padding: 18px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    animation: publicBottomSheetIn var(--duration-normal) var(--ease-out);
  }

  .public-share-category-page.public-mobile-sheet-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.28);
  }

  .public-share-category-page.public-mobile-sheet-open {
    overflow: hidden;
  }

  .public-category-tag-panel .public-category-tag-row {
    max-height: none;
    overflow: visible;
  }

  .public-category-tag-row {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 8px 10px;
    margin-bottom: 14px;
  }

  @supports (height: 100dvh) {
    .public-header-search .filter-panel,
    .public-mobile-sheet-panel,
    .public-header-search .public-category-tag-panel,
    .public-mobile-sheet-panel.public-category-tag-panel {
      height: 80dvh;
      max-height: calc(100dvh - 16px);
    }
  }

  .public-category-card {
    min-height: 178px;
    padding: 18px;
  }

  .public-directory-head > span,
  .public-directory-actions > span {
    display: none;
  }
}

@keyframes publicBottomSheetIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
