/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fafafa;
  color: #111;
}

/* App container */
.app {
  max-width: 430px;     /* Mobile look */
  margin: 0 auto;
  border: 1px solid #ddd;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
}

.top-bar .logo img {
  height: 35px;
}

.top-icons {
  display: flex;
  gap: 15px;
}

.icon {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* STORIES */
.stories {
  display: flex;
  gap: 12px;
  padding: 10px;
  overflow-x: auto;
  border-bottom: 1px solid #ddd;
}

.stories::-webkit-scrollbar {
  display: none;
}

.story {
  text-align: center;
  flex: 0 0 auto;
}

.story img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e1306c;
  padding: 2px;
}

.story p {
  font-size: 12px;
  margin-top: 4px;
  color: #333;
}

/* Suggested user */
.suggested {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.sug-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sug-left img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.sug-left h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.sug-left h4 span {
  color: #0095f6;
  font-size: 12px;
}

.sug-left p {
  font-size: 12px;
  color: #888;
}

.follow-btn {
  background: none;
  border: none;
  color: #0095f6;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

/* Post */
.post img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom Nav */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #ddd;
  position: sticky;
  bottom: 0;
  background: #fff;
}
