body .feed-container .feed-grid .feed-card .feed-card-preview, body[data-profile-login] #profile-files-grid.feed-grid>.feed-card .feed-card-preview, #profile-files-grid .feed-card .feed-card-preview, .profile-main-content .feed-grid .feed-card .feed-card-preview {
  align-items: center;
  background: #181a1b;
  border-radius: 1rem;
  box-sizing: border-box;
  display: flex;
  height: 12.9375rem;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

body .feed-container .feed-grid .feed-card .feed-card-username, body[data-profile-login] #profile-files-grid.feed-grid>.feed-card .feed-card-username, #profile-files-grid .feed-card .feed-card-username, .profile-main-content .feed-grid .feed-card .feed-card-username {
  font-weight: 800;
  text-rendering: optimizeLegibility;
}

body .feed-container .feed-grid .feed-card, body[data-profile-login] #profile-files-grid.feed-grid>.feed-card, #profile-files-grid .feed-card, .profile-main-content .feed-grid .feed-card {
  background: #262626;
  border-radius: 0.75rem;
  border: 0.0625rem solid var(--feed-card-border);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 26.25rem;
  justify-content: space-between;
  max-width: 26.25rem;
  overflow: hidden;
  padding: 1rem;
  transition: transform 0.2s ease;
  width: 100%;
}

body .feed-container .feed-grid .feed-card:hover, body[data-profile-login] #profile-files-grid.feed-grid>.feed-card:hover, #profile-files-grid .feed-card:hover, .profile-main-content .feed-grid .feed-card:hover {
  transform: translateY(-0.125rem);
}

body[data-profile-login="feed"] .feed-container .feed-grid .feed-card {
  height: auto !important;
  justify-content: flex-start;
  padding: 0;
}

body[data-profile-login="feed"] .feed-container .feed-grid .feed-card .feed-card-author {
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

body[data-profile-login="feed"] .feed-container .feed-grid .feed-card .feed-card-description {
  margin-bottom: 8px;
}

body[data-profile-login="feed"] .feed-container .feed-grid .feed-card .feed-card-info {
  gap: 6px;
  justify-content: flex-start !important;
  padding: 16px;
}

body[data-profile-login="feed"] .feed-container .feed-grid .feed-card .feed-card-info-link {
  gap: 0.35rem;
}

body[data-profile-login="feed"] .feed-container .feed-grid .feed-card .feed-card-preview, body[data-profile-login="feed"] .feed-container .feed-grid .feed-card .feed-card-preview-link {
  border-radius: 0;
}

body[data-profile-login="feed"] .feed-container .feed-grid .feed-card .feed-card-stats {
  gap: 16px;
}

body[data-profile-login="feed"] .feed-container .feed-grid .feed-card .feed-card-title {
  margin-bottom: 0.35rem;
}

body[data-profile-login] #profile-files-grid .feed-card {
  display: flex;
  flex-direction: column;
  height: 26.25rem;
}

body[data-profile-login] #profile-files-grid .feed-card .feed-card-preview {
  align-items: center;
  display: flex;
  flex: 0 0 13.9375rem;
  height: 13.9375rem;
  justify-content: center;
  overflow: hidden;
}

body[data-profile-login] #profile-files-grid .feed-card .feed-card-preview img, body[data-profile-login] #profile-files-grid .feed-card .feed-card-preview video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body[data-profile-login] #profile-files-grid .feed-card-preview .listing-icon-box .listing-icon, #profile-files-grid .feed-card-preview .listing-icon-box .listing-icon {
  height: 4rem;
  max-height: 4rem;
  max-width: 4rem;
  min-height: 4rem;
  min-width: 4rem;
  object-fit: contain;
  object-position: center;
  width: 4rem;
}

body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card {
  height: auto !important;
  justify-content: flex-start;
  padding: 0;
}

body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card .feed-card-author {
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card .feed-card-description {
  margin-bottom: 8px;
}

body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card .feed-card-info {
  gap: 6px;
  justify-content: flex-start !important;
  padding: 16px;
}

body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card .feed-card-info-link {
  gap: 0.35rem;
}

body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card .feed-card-preview {
  flex: none;
  height: 12.9375rem;
}

body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card .feed-card-preview, body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card .feed-card-preview-link {
  border-radius: 0;
}

body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card .feed-card-stats {
  gap: 16px;
}

body[data-profile-login]:not([data-profile-login="feed"]) #profile-files-grid.feed-grid>.feed-card .feed-card-title {
  margin-bottom: 0.35rem;
}

#feed-grid, .feed-grid {
  align-items: start;
  box-sizing: border-box;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(18.75rem,100%), 1fr));
  justify-items: center;
  margin: 0 auto;
  max-width: 73rem;
  width: 100%;
}

#feed-grid.feed-grid, .feed-container #feed-grid, .feed-container>div>#feed-grid {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(18.75rem,100%), 1fr));
  margin: 1.5rem auto 0;
  max-width: 73rem;
}

#feed-grid>.feed-card, .feed-container .feed-grid>.feed-card {
  box-sizing: border-box;
  max-width: 26.25rem;
  width: 100%;
}

#profile-files-grid .feed-card, .feed-grid .feed-card {
  margin-bottom: 0;
  margin-right: 0;
}

#profile-files-grid .feed-card-preview .listing-icon-box .listing-icon, .profile-main-content .feed-grid .feed-card-preview .listing-icon-box .listing-icon {
  display: block;
  height: 4rem;
  max-height: 4rem;
  max-width: 4rem;
  min-height: 4rem;
  min-width: 4rem;
  object-fit: contain;
  object-position: center;
  width: 4rem;
}

.empty-state {
  align-items: center;
  color: var(--muted,#989898);
  display: flex;
  font-size: 1.125rem;
  font-weight: 600;
  height: 12.5rem;
  justify-content: center;
  margin: 2.5rem 0;
  text-align: center;
  width: 100%;
}

.feed-card {
  align-items: unset;
  background: var(--feed-card-bg);
  box-sizing: border-box;
  color: var(--muted,#b6c6e3);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  justify-content: space-between;
  max-width: 25.8125rem;
  min-width: 0;
  position: relative;
}

.feed-card-author {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.feed-card-author a:hover .feed-card-username {
  color: #789d2a;
  text-decoration: underline;
  transform: scale(1.05);
}

.feed-card-author-date {
  color: #8f8f8f;
  cursor: help;
  font-size: 0.875rem;
  line-height: 1;
  white-space: nowrap;
}

.feed-card-avatar {
  border-radius: 50%;
  display: block;
  height: 1.5rem;
  min-height: 1.5rem;
  min-width: 1.5rem;
  object-fit: cover;
  width: 1.5rem;
}

.feed-card-comments svg, .feed-card-likes svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.feed-card-comments, .feed-card-date, .feed-card-likes, .feed-card-views {
  align-items: center;
  color: #8f8f8f;
  display: flex;
  font-size: 0.75rem;
  gap: 0.5rem;
}

.feed-card-date span {
  cursor: help;
}

.feed-card-delete {
  align-items: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background-color: transparent;
  bottom: 10px;
  cursor: pointer;
  display: none;
  height: 26px;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 10px;
  transition: all 0.2s ease;
  width: 26px;
  z-index: 30;
}

.feed-card-description {
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 1 !important;
  color: var(--feed-card-desc-color);
  display: -webkit-box !important;
  font-size: 14px;
  font-size: 16px;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-clamp: 1 !important;
  line-height: 1.4;
  line-height: 22px;
  line-height: 24px;
  margin-bottom: 12px;
  max-height: 24px !important;
  min-height: 24px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  vertical-align: middle;
}

.feed-card-info {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  justify-content: space-between !important;
  padding: 12px;
}

.feed-card-info-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
}

.feed-card-link {
  color: inherit;
  display: block;
  text-decoration: none;
  width: 100%;
}

.feed-card-link:focus-visible {
  outline-offset: 0.1875rem;
  outline: 0.125rem solid #8ab31f;
}

.feed-card-preview {
  box-sizing: border-box;
  height: 56vw;
  max-height: 360px;
  max-width: 100% !important;
  overflow: hidden;
  width: 100% !important;
}

.feed-card-preview .listing-icon-box {
  align-items: center !important;
  background: transparent !important;
  display: flex !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}

.feed-card-preview .listing-icon-box .blurred-bg {
  filter: blur(12px) !important;
  image-rendering: pixelated !important;
  opacity: 1 !important;
  transform: scale(1.1) !important;
}

.feed-card-preview .listing-icon-box .listing-icon {
  -webkit-backdrop-filter: blur(4px) !important;
  backdrop-filter: blur(4px) !important;
  background: rgba(0,0,0,0.65) !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  height: 64px !important;
  max-height: 64px !important;
  max-width: 64px !important;
  min-height: 64px !important;
  min-width: 64px !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 14px !important;
  position: relative !important;
  width: 64px !important;
  z-index: 10 !important;
}

.feed-card-preview audio {
  height: 40px;
  width: 90%;
}

.feed-card-preview img, .feed-card-preview video {
  height: 100% !important;
  max-height: 100% !important;
  max-width: 100% !important;
  min-height: 100% !important;
  min-width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  pointer-events: none !important;
  width: 100% !important;
}

.feed-card-preview-link {
  border-radius: 1rem;
  display: block;
  overflow: hidden;
}

.feed-card-stats {
  align-items: center;
  color: var(--feed-card-stats-color);
  display: flex;
  flex-wrap: wrap;
  font-size: 18px;
  font-weight: 500;
  gap: 6px;
  justify-content: flex-start;
  letter-spacing: 0%;
  line-height: 24px;
  min-height: 20px;
  opacity: 1;
  padding: 4px 0;
}

.feed-card-stats img {
  display: block;
  flex: 0 0 18px;
  height: 18px !important;
  object-fit: contain;
  width: 18px !important;
}

.feed-card-stats span {
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0%;
  line-height: 24px;
  vertical-align: middle;
}

.feed-card-title {
  color: #ebebeb;
  color: var(--feed-card-title-color);
  display: block;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-card-username {
  color: #8f8f8f;
  color: var(--feed-card-author-color);
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  text-rendering: optimizeLegibility;
  transition: transform 0.2s ease, color 0.2s ease;
}

.feed-container {
  background: transparent;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 1.25rem 0;
  width: 100%;
}

.feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feed-grid {
  align-items: start !important;
  box-sizing: border-box;
  display: grid !important;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(18.75rem,100%), 1fr));
  justify-items: stretch;
  margin-top: 1.25rem;
  max-width: 100%;
}

.feed-video-poster {
  background: #0f0f0f;
  border-radius: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.feed-video-poster img {
  display: block;
  height: 100% !important;
  min-height: 100% !important;
  min-width: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

.filter-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown-btn {
  align-items: center;
  background: #262626;
  border-radius: 0.75rem;
  border: 1px solid #3a3a3a;
  color: #e0e6ed;
  cursor: pointer;
  display: flex;
  font-size: 0.9375rem;
  font-weight: 500;
  gap: 0.5rem;
  justify-content: space-between;
  min-width: 9.375rem;
  padding: 0.625rem 1rem;
  transition: all 0.2s ease;
}

.filter-dropdown-btn.active {
  background: #789d2a;
  border-color: #789d2a;
  color: #fff;
}

.filter-dropdown-btn:hover {
  background: #2e2e2e;
  border-color: #789d2a;
}

.filter-dropdown-menu {
  background: #262626;
  border-radius: 0.75rem;
  border: 1px solid #3a3a3a;
  display: none;
  left: 0;
  min-width: 100%;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  z-index: 1000;
}

.filter-dropdown.open .filter-arrow {
  transform: rotate(180deg);
}

.filter-dropdown.open .filter-dropdown-menu {
  display: block;
}

.filter-label {
  white-space: nowrap;
}

.filter-option {
  background: transparent;
  border-radius: 0.5rem;
  border: none;
  color: #b6c6e3;
  cursor: pointer;
  display: block;
  font-size: 0.9375rem;
  padding: 0.625rem 1rem;
  text-align: left;
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 100%;
}

.filter-option.active {
  background: #789d2a;
  color: #fff;
}

.filter-option:hover {
  background: #2e2e2e;
  color: #789d2a;
}

.filter-separator {
  background: #3a3a3a;
  height: 0.0625rem;
  margin: 0.35rem 0.5rem;
}

.lazy-image {
  transition: opacity 0.3s ease;
}

.lazy-loaded {
  opacity: 1;
}

.lazy-placeholder {
  align-items: center;
  animation: pulse 1.5s ease-in-out infinite alternate;
  background: #181a1b;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
}

.listing-icon, .listing-icon-box img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

.listing-icon-box {
  align-items: center;
  background: var(--card-bg);
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.listing-icon-box .listing-icon {
  height: 4rem;
  object-fit: contain;
  width: 4rem;
}

.listing-icon-box img {
  pointer-events: none;
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.load-more-btn {
  background: var(--accent);
  border-radius: 0.5rem;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: background 0.2s ease;
}

.load-more-btn:disabled {
  background: #555;
  cursor: not-allowed;
}

.nsfw-toggle-btn {
  align-items: center;
  background: #262626;
  border-radius: 0.75rem;
  border: 1px solid var(--muted);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.375rem;
  margin-left: auto;
  padding: 0.625rem 0.875rem;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nsfw-toggle-btn.nsfw-active {
  background: rgba(152,152,152,0.1);
  border-color: var(--muted);
  color: var(--muted);
}

.nsfw-toggle-btn.nsfw-active .nsfw-toggle-icon {
  -webkit-mask-image: url('/static/image/censor-icon.svg');
  mask-image: url('/static/image/censor-icon.svg');
}

.nsfw-toggle-btn.nsfw-stream {
  background: rgba(120,157,42,0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.nsfw-toggle-btn.nsfw-stream .nsfw-toggle-icon {
  -webkit-mask-image: url('/static/image/view-icon.svg');
  mask-image: url('/static/image/view-icon.svg');
}

.nsfw-toggle-btn:hover {
  background: #2e2e2e;
  border-color: var(--accent);
  color: var(--accent);
}

.nsfw-toggle-icon {
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  background-color: currentColor;
  display: inline-block;
  flex-shrink: 0;
  height: 18px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 18px;
}

.nsfw-toggle-label {
  line-height: 1;
}

.video-tooltip {
  background: rgba(24,24,24,.96);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  max-width: 320px;
  padding: 8px 10px;
  pointer-events: none;
  position: fixed;
  transition: opacity .12s ease;
  word-break: break-word;
  z-index: 9999;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.8;
  }
}

@media (max-width: 767px) {
  body .feed-container .feed-grid .feed-card, body[data-profile-login] #profile-files-grid#feed-grid>.feed-card, .feed-grid>.feed-card, #profile-files-grid .feed-card, .feed-container .feed-grid>.feed-card {
    height: auto;
    max-height: none;
    max-width: 26.25rem;
    min-height: 0;
  }

  body, html {
    overflow-x: hidden;
  }

  #feed-grid, .feed-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    justify-items: center;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 0.75rem;
    width: 100%;
  }

  #feed-grid>.feed-card, .feed-grid>.feed-card {
    box-sizing: border-box;
    max-width: 26.25rem;
    width: 100%;
  }

  .empty-state {
    font-size: 1rem;
    height: 9.375rem;
    margin: 1.25rem 0;
  }

  .feed-card {
    border-radius: 0.625rem;
    margin: 0;
    padding: 0.75rem;
  }

  .feed-card-description {
    color: #828282;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .feed-card-description, .feed-card-title, .feed-card-username {
    hyphens: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .feed-card-info {
    padding: 0.75rem;
  }

  .feed-card-preview {
    border-radius: 0.75rem;
    height: 60vw;
    max-height: 20rem;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
  }

  .feed-card-preview img, .feed-card-preview video {
    box-sizing: border-box;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    object-fit: cover;
    width: 100%;
  }

  .feed-card-stats {
    font-size: 0.875rem;
    gap: 0.5rem;
    height: auto;
    width: auto;
  }

  .feed-card-stats img {
    flex: 0 0 1rem;
    height: 1rem;
    width: 1rem;
  }

  .feed-card-title {
    font-size: 1.125rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }

  .feed-container {
    padding: 0.75rem 0.75rem 2rem 0.75rem;
  }

  .feed-container, .feed-container>div, .feed-grid {
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .feed-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  .feed-grid {
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  .filter-dropdown {
    width: 100%;
  }

  .filter-dropdown-btn {
    font-size: 0.875rem;
    min-width: 0;
    padding: 0.625rem 0.75rem;
    width: 100%;
  }

  .filter-dropdown-menu {
    left: 0;
    min-width: 100%;
    right: 0;
  }

  .filter-option {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }

  .nsfw-toggle-btn {
    font-size: 0.875rem;
    justify-content: center;
    margin-left: 0;
    padding: 0.625rem 0.75rem;
    width: 100%;
  }
}

@media (min-width: 1025px) {
  html body[data-profile-login] div#profile-files-grid.feed-grid>.feed-card {
    align-self: start;
    display: flex;
    flex-direction: column;
    margin: 0;
    max-width: 26.25rem;
    width: 100%;
  }

  #feed-grid, .feed-grid {
    grid-template-columns: repeat(3,1fr);
    justify-items: center;
    max-width: 85rem;
  }

  #feed-grid.feed-grid, .feed-container #feed-grid, .feed-container>div>#feed-grid {
    grid-template-columns: repeat(3,1fr);
    max-width: 85rem;
  }

  #feed-grid>.feed-card, .feed-container .feed-grid>.feed-card {
    max-width: 26.25rem;
  }

  .feed-card-delete {
    display: flex;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #feed-grid, .feed-grid {
    box-sizing: border-box;
    gap: 1.5rem;
    grid-template-columns: repeat(2,1fr);
    justify-items: center;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 1.5rem;
    width: 100%;
  }

  #feed-grid.feed-grid, .feed-container #feed-grid, .feed-container>div>#feed-grid {
    box-sizing: border-box;
    grid-template-columns: repeat(2,1fr);
    max-width: 100%;
    padding: 0 1.5rem;
  }

  #feed-grid>.feed-card, .feed-grid>.feed-card {
    box-sizing: border-box;
    max-width: 26.25rem;
    min-width: 0;
    width: 100%;
  }

  .feed-card {
    box-sizing: border-box;
    margin: 0;
    max-width: 26.25rem;
    padding: 0.75rem;
    width: 100%;
  }

  .feed-card-description {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .feed-card-info {
    padding: 0.75rem;
  }

  .feed-card-preview {
    border-radius: 0.75rem;
    height: 60vw;
    max-height: 20rem;
  }

  .feed-card-stats {
    font-size: 0.875rem;
    gap: 0.5rem;
    height: auto;
    width: auto;
  }

  .feed-card-stats img {
    flex: 0 0 1rem;
    height: 1rem;
    width: 1rem;
  }

  .feed-card-title {
    font-size: 1.125rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }

  .feed-container {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0.75rem 1.5rem 2rem 1.5rem;
  }

  .feed-filters {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .feed-grid {
    gap: 1.5rem;
    grid-template-columns: repeat(2,1fr);
    margin: 0 auto;
    max-width: 100%;
    padding: 0 1.5rem;
  }

  .filter-dropdown-btn {
    font-size: 0.875rem;
    min-width: 7.5rem;
    padding: 0.5rem 0.75rem;
  }

  .filter-dropdown-menu {
    min-width: 10rem;
  }

  .filter-option {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }

  .nsfw-toggle-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.625rem;
  }

  .nsfw-toggle-label {
    display: none;
  }
}

/* Desktop Post Preview Modal Styling */
.post-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-preview-modal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.post-preview-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.post-preview-modal-overlay.fullscreen-viewer {
  background: transparent !important;
}

.post-preview-modal-overlay.fullscreen-active {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: #000000 !important;
}

.post-preview-modal-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.post-preview-modal-container.fullscreen-viewer {
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
  max-width: none !important;
  max-height: none !important;
}


.post-preview-modal-body {
  flex: 1;
  width: 100%;
  height: 100%;
}

.post-preview-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.post-preview-modal-body iframe.loaded {
  opacity: 1;
}

.post-preview-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  outline: none;
  padding: 0;
}

.post-preview-nav-btn:hover {
  background: rgba(120, 157, 42, 0.85);
  border-color: #789d2a;
  transform: translateY(-50%) scale(1.1);
}

.post-preview-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.post-preview-nav-btn.prev {
  left: 24px;
}

.post-preview-nav-btn.next {
  right: 24px;
}

.post-preview-nav-btn.hidden {
  display: none !important;
}

.post-preview-nav-spinner {
  animation: post-nav-spin 1s linear infinite;
}

@keyframes post-nav-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .post-preview-nav-btn {
    width: 40px;
    height: 40px;
  }
  .post-preview-nav-btn.prev {
    left: 12px;
  }
  .post-preview-nav-btn.next {
    right: 12px;
  }
}

@media (max-width: 768px) {
  .post-preview-nav-btn {
    display: none !important;
  }
}