.yd-share-page {
  background: #fff;
}

.yd-share-nav {
  background: #fff;
}

.yd-share-switch-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.yd-share-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.yd-share-content {
  padding: 0 0 88px;
  background: #fff;
}

/* Stories */
.yd-share-stories {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  overflow-x: auto;
  border-bottom: 1px solid #EEE;
}

.yd-share-story {
  width: 64px;
  flex: 0 0 auto;
  text-align: center;
}

.yd-share-story__ring {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(#F97316, #EC4899, #8B5CF6, #F97316);
  margin: 0 auto;
}

.yd-share-story__avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.yd-share-story__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yd-share-story__name {
  margin-top: 6px;
  font-size: 11px;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Feed */
.yd-share-feed {
  display: flex;
  flex-direction: column;
}

.yd-share-post {
  border-bottom: 1px solid #EEE;
  background: #fff;
}

.yd-share-post__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}

.yd-share-post__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yd-share-post__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yd-share-post__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yd-share-post__name {
  font-size: 14px;
  font-weight: 800;
  color: #111;
}

.yd-share-post__more {
  border: none;
  background: transparent;
  font-size: 18px;
  padding: 4px 8px;
}

.yd-share-post__media {
  width: 100%;
  background: #000;
  aspect-ratio: 1 / 1;
}

.yd-share-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yd-share-post__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}

.yd-share-post__actions-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.yd-share-icon-btn {
  border: none;
  background: transparent;
  padding: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.yd-share-icon-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.yd-share-post__meta {
  padding: 0 14px 12px;
}

.yd-share-post__likes {
  font-size: 13px;
  font-weight: 800;
  color: #111;
}

.yd-share-post__caption {
  margin-top: 6px;
  font-size: 13px;
  color: #111;
  line-height: 1.45;
  word-break: break-word;
}

.yd-share-post__time {
  margin-top: 8px;
  font-size: 11px;
  color: #8E8E93;
}

/* Bottom nav */
.yd-share-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #EEE;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 9999;
}

.yd-share-tab {
  border: none;
  background: transparent;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.yd-share-tab svg {
  width: 24px;
  height: 24px;
}
