/* =======================================================================
   FACEBOOK FEED DESIGN SYSTEM & LANDING PAGE STYLES
   ======================================================================= */

:root {
  --fb-bg: #f0f2f5;
  --fb-card-bg: #ffffff;
  --fb-primary-text: #050505;
  --fb-secondary-text: #65676b;
  --fb-tertiary-text: #8a8d91;
  --fb-divider: #e4e6eb;
  --fb-border-subtle: #ced0d4;
  --fb-hover-bg: #f2f2f2;
  --fb-button-active: #e4e6eb;
  --fb-blue: #1877f2;
  --fb-blue-hover: #166fe5;
  --fb-live-red: #e41e3f;
  --fb-post-width: 690px;
  --fb-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fb-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.04);
  --fb-shadow-navbar: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--fb-bg);
  font-family: var(--fb-font-family);
  color: var(--fb-primary-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.34;
  overflow-x: hidden;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

input {
  font-family: inherit;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* -----------------------------------------------------------------------
   1. TOP FACEBOOK-STYLE BAR (SocialTopBar)
   ----------------------------------------------------------------------- */
.social-top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 56px;
  background-color: var(--fb-card-bg);
  box-shadow: var(--fb-shadow-navbar);
  border-bottom: 1px solid var(--fb-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-logo-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  overflow: hidden;
  transition: transform 0.15s ease;
}

.social-logo-btn:hover {
  transform: scale(1.04);
}

.social-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.social-logo-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.search-box-container {
  display: flex;
  align-items: center;
  background-color: var(--fb-bg);
  height: 40px;
  border-radius: 50px;
  padding: 0 12px;
  gap: 8px;
  color: var(--fb-secondary-text);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.search-box-container:hover {
  background-color: #e4e6eb;
}

.search-box-input {
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--fb-primary-text);
  width: 160px;
  display: none; /* Collapses gracefully on smaller screens, expands on desktop */
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.utility-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e4e6eb;
  color: var(--fb-primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.15s ease;
}

.utility-icon-btn:hover {
  background-color: #d8dadf;
}

.utility-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.profile-avatar-topbar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ced0d4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

/* -----------------------------------------------------------------------
   2. MAIN FEED CONTAINER
   ----------------------------------------------------------------------- */
.feed-layout-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 40px 0;
}

/* -----------------------------------------------------------------------
   3. POST CARD (PostCard)
   ----------------------------------------------------------------------- */
.fb-post-card {
  width: 100%;
  max-width: var(--fb-post-width);
  background-color: var(--fb-card-bg);
  border-radius: 8px;
  box-shadow: var(--fb-shadow-card);
  border: 1px solid var(--fb-divider);
  overflow: hidden;
  position: relative;
}

/* -----------------------------------------------------------------------
   4. AUTHOR HEADER (AuthorHeader)
   ----------------------------------------------------------------------- */
.post-author-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px 16px;
}

.author-left-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e4e6eb;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

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

.author-text-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--fb-primary-text);
  line-height: 1.25;
  cursor: pointer;
}

.author-name:hover {
  text-decoration: underline;
}

.author-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fb-blue);
  width: 15px;
  height: 15px;
}

.author-verified-badge svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.header-live-badge {
  background-color: var(--fb-live-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  margin-left: 2px;
}

.author-sub-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--fb-secondary-text);
  line-height: 1.3;
  margin-top: 1px;
}

.sub-meta-item {
  cursor: pointer;
}

.sub-meta-item:hover {
  text-decoration: underline;
}

.meta-dot {
  font-weight: 700;
  color: var(--fb-secondary-text);
}

.public-globe-icon {
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  color: var(--fb-secondary-text);
}

.public-globe-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.author-right-cluster {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-options-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fb-secondary-text);
  transition: background-color 0.15s ease;
}

.post-options-btn:hover {
  background-color: var(--fb-hover-bg);
}

.post-options-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* -----------------------------------------------------------------------
   5. POST HEADLINE / INTRO TEXT (PostHeadline)
   ----------------------------------------------------------------------- */
.post-headline-section {
  padding: 4px 16px 12px 16px;
}

.post-headline-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.38;
  color: var(--fb-primary-text);
  word-break: break-word;
  white-space: pre-line;
}

/* -----------------------------------------------------------------------
   6. VIDEO / VSL CONTAINER & OVERLAYS (VSLContainer)
   ----------------------------------------------------------------------- */
.vsl-post-container {
  position: relative;
  width: 100%;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vsl-embed-slot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}

/* Responsive aspect ratio wrapper for embeds/iframes/videos */
.html5-video-wrapper,
.vsl-embed-slot iframe,
.vsl-embed-slot video,
.vsl-embed-slot embed,
.vsl-embed-slot object,
.vsl-embed-slot vturb-smartplayer {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.html5-video-wrapper video {
  width: 100%;
  max-height: 720px;
  background: #000;
  display: block;
  outline: none;
}

/* Aspect ratio handling for standard 16:9 iframes if injected */
.vsl-embed-slot iframe {
  aspect-ratio: 16 / 9;
  border: none;
}

/* -----------------------------------------------------------------------
   7. FAKE LIVE VISUAL OVERLAY (LiveOverlay)
   ----------------------------------------------------------------------- */
.live-visual-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none; /* Allows user to click video underneath */
  user-select: none;
}

.live-tag-badge {
  background-color: var(--fb-live-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 4px 9px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ffffff;
  animation: livePulsing 1.4s infinite ease-in-out;
}

@keyframes livePulsing {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  }
  100% {
    transform: scale(0.85);
    opacity: 0.6;
  }
}

.live-viewer-badge {
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.live-viewer-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* -----------------------------------------------------------------------
   8. DECORATIVE VIDEO CONTROLS OVERLAY (VideoControlsOverlay)
   ----------------------------------------------------------------------- */
.video-controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none; /* Let video underneath receive clicks */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  padding: 18px 12px 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.controls-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 12px;
}

.controls-left-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.mini-play-icon {
  width: 14px;
  height: 14px;
  fill: #ffffff;
}

.live-status-pill {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
}

.decorative-progress-track {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.decorative-progress-fill {
  width: 86%;
  height: 100%;
  background-color: var(--fb-live-red);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* -----------------------------------------------------------------------
   9. ENGAGEMENT METRICS ROW (EngagementRow)
   ----------------------------------------------------------------------- */
.engagement-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px 16px;
  font-size: 14px;
  color: var(--fb-secondary-text);
  user-select: none;
}

.reactions-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.reactions-icons-stack {
  display: flex;
  align-items: center;
}

.reaction-bubble {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  margin-right: -4px;
  position: relative;
}

.reaction-bubble.bubble-like {
  background: linear-gradient(180deg, #1877f2 0%, #0c63d4 100%);
  z-index: 3;
}

.reaction-bubble.bubble-love {
  background: linear-gradient(180deg, #f3425f 0%, #e02444 100%);
  z-index: 2;
}

.reaction-bubble.bubble-care {
  background: linear-gradient(180deg, #f7b125 0%, #e0960d 100%);
  z-index: 1;
}

.reaction-bubble svg {
  width: 10px;
  height: 10px;
  fill: #ffffff;
}

.reaction-count-text {
  font-size: 15px;
  color: var(--fb-secondary-text);
  margin-left: 8px;
  cursor: pointer;
}

.reaction-count-text:hover {
  text-decoration: underline;
}

.comments-shares-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fb-secondary-text);
}

.engagement-item {
  cursor: pointer;
}

.engagement-item:hover {
  text-decoration: underline;
}

/* Divider separating metrics and action bar */
.engagement-divider {
  margin: 0 16px;
  height: 1px;
  background-color: var(--fb-divider);
}

/* -----------------------------------------------------------------------
   10. ACTION BUTTON ROW (ActionRow)
   ----------------------------------------------------------------------- */
.action-button-row {
  display: flex;
  align-items: center;
  padding: 4px 12px;
  user-select: none;
}

.post-action-btn {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fb-secondary-text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.post-action-btn:hover {
  background-color: var(--fb-hover-bg);
}

.post-action-btn:active {
  background-color: var(--fb-button-active);
  transform: scale(0.98);
}

.action-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.action-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Liked state */
.post-action-btn.liked {
  color: var(--fb-blue);
}

.post-action-btn.liked .action-icon svg {
  fill: var(--fb-blue);
  animation: likeBounce 0.3s ease;
}

@keyframes likeBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.25) rotate(-10deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Divider separating action bar and comments */
.actions-bottom-divider {
  margin: 0 16px;
  height: 1px;
  background-color: var(--fb-divider);
}

/* -----------------------------------------------------------------------
   11. COMMENT FIELD (CommentInput)
   ----------------------------------------------------------------------- */
.comment-input-section {
  padding: 12px 16px 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e4e6eb;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

.comment-input-pill {
  flex: 1;
  background-color: var(--fb-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 6px 12px;
  gap: 8px;
  transition: background-color 0.15s ease;
}

.comment-input-pill:focus-within {
  background-color: #e4e6eb;
}

.comment-text-field {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--fb-primary-text);
  line-height: 1.4;
}

.comment-text-field::placeholder {
  color: var(--fb-secondary-text);
}

.comment-input-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.comment-tool-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fb-secondary-text);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.comment-tool-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--fb-primary-text);
}

.comment-tool-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.comment-send-btn {
  color: var(--fb-blue);
  display: none; /* Shown when text is typed */
}

/* User added comments list */
.user-comments-list {
  padding: 0 16px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.single-comment-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  animation: fadeInComment 0.25s ease-out;
}

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

.comment-bubble {
  background-color: var(--fb-bg);
  border-radius: 18px;
  padding: 8px 12px;
  max-width: 85%;
}

.comment-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fb-primary-text);
  margin-bottom: 2px;
}

.comment-bubble-text {
  font-size: 14px;
  color: var(--fb-primary-text);
  word-break: break-word;
}

/* -----------------------------------------------------------------------
   12. BELOW-THE-FOLD CONTAINER (BELOW_FEED_CONTENT)
   ----------------------------------------------------------------------- */
.below-feed-content-container {
  width: 100%;
  max-width: var(--fb-post-width);
  margin-top: 20px;
  padding: 0 16px;
}

/* Optional pre-styled CTA button for user if they add it */
.vsl-cta-button {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(180deg, #00c853 0%, #00a844 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 20px;
}

.vsl-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 200, 83, 0.45);
}

/* -----------------------------------------------------------------------
   13. TOAST NOTIFICATION
   ----------------------------------------------------------------------- */
.fb-toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: rgba(36, 37, 38, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.fb-toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* -----------------------------------------------------------------------
   14. LIVE PREVIEW SETTINGS DRAWER (DEV MODE)
   ----------------------------------------------------------------------- */
.dev-drawer-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #242526;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.2s ease;
}

.dev-drawer-toggle:hover {
  transform: rotate(30deg) scale(1.05);
}

.dev-drawer-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.dev-settings-modal {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dev-settings-modal.open {
  right: 0;
}

.dev-settings-header {
  padding: 16px;
  border-bottom: 1px solid var(--fb-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dev-settings-title {
  font-size: 16px;
  font-weight: 700;
}

.dev-close-btn {
  font-size: 20px;
  color: var(--fb-secondary-text);
  padding: 4px;
}

.dev-settings-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dev-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dev-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fb-secondary-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dev-field-input,
.dev-field-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--fb-border-subtle);
  border-radius: 6px;
  font-size: 14px;
  color: var(--fb-primary-text);
  background-color: #fafbfc;
}

.dev-field-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: monospace;
  font-size: 12px;
}

.dev-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.dev-toggle-label {
  font-size: 14px;
  font-weight: 500;
}

/* -----------------------------------------------------------------------
   15. RESPONSIVE BEHAVIOR (Mobile & Tablet)
   ----------------------------------------------------------------------- */
@media (min-width: 600px) {
  .search-box-input {
    display: block;
  }
}

@media (max-width: 720px) {
  .feed-layout-container {
    padding: 0 0 30px 0;
  }

  .fb-post-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
    border-top: 1px solid var(--fb-divider);
    border-bottom: 1px solid var(--fb-divider);
  }

  .post-author-header {
    padding: 10px 12px 6px 12px;
  }

  .post-headline-section {
    padding: 4px 12px 10px 12px;
  }

  .engagement-metrics-row {
    padding: 8px 12px 6px 12px;
    font-size: 13px;
  }

  .engagement-divider,
  .actions-bottom-divider {
    margin: 0 12px;
  }

  .action-button-row {
    padding: 2px 6px;
  }

  .post-action-btn {
    font-size: 13px;
    gap: 6px;
  }

  .action-icon {
    width: 16px;
    height: 16px;
  }

  .comment-input-section {
    padding: 10px 12px;
  }
}

/* -----------------------------------------------------------------------
   16. DESKTOP BLOCKED VIEW ("PAGE NOT FOUND")
   ----------------------------------------------------------------------- */
.desktop-not-found-screen {
  display: none;
}

html.is-desktop-blocked body {
  background-color: var(--fb-bg);
  overflow: hidden;
}

html.is-desktop-blocked .social-top-bar,
html.is-desktop-blocked .feed-layout-container,
html.is-desktop-blocked .dev-drawer-toggle,
html.is-desktop-blocked .dev-settings-modal,
html.is-desktop-blocked .fb-toast-notification {
  display: none !important;
}

html.is-desktop-blocked .desktop-not-found-screen {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  box-sizing: border-box;
  background-color: var(--fb-bg);
}

.not-found-card {
  max-width: 480px;
  width: 100%;
  background-color: var(--fb-card-bg);
  border: 1px solid var(--fb-divider);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 44px 32px;
  text-align: center;
}

.not-found-code {
  font-size: 72px;
  font-weight: 800;
  color: var(--fb-secondary-text);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.not-found-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--fb-primary-text);
  margin-bottom: 8px;
}

.not-found-desc {
  font-size: 15px;
  color: var(--fb-secondary-text);
  line-height: 1.45;
  margin-bottom: 0;
}
