/* ===== BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #7a1200;
  font-family: "Courier New", monospace;
  color: #ff2d4d;
  padding: 40px 20px;
}

/* ===== LAYOUT GENERAL ===== */
.layout {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* ===== SIDEBAR (colonne gauche) ===== */
.sidebar {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Avatar rond */
.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid #b026ff;
  overflow: hidden;
  box-shadow: 0 0 15px #2b2bff;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bouton nom */
.name-tag {
  background: #0a0a0a;
  border: 2px solid #2b2bff;
  border-radius: 12px;
  padding: 8px 30px;
  color: #fff;
  box-shadow: 3px 3px 0 #b026ff;
}

/* ===== FENETRE (window) ===== */
.window {
  width: 100%;
  background: #b026ff;
  border: 3px solid #2b2bff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 4px 4px 0 #2b2bff;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.btn-icon {
  background: #2b2bff;
  color: #fff;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
}

.search {
  flex: 1;
  background: #2b2bff;
  border: none;
  border-radius: 8px;
  color: #fff;
  padding: 5px 12px;
  font-family: "Courier New", monospace;
}
.search::placeholder { color: #d0d0ff; }

.window-body {
  background: #0a0a0a;
  border-radius: 6px;
  padding: 18px;
  line-height: 1.7;
}

.bio { text-align: right; }
.highlight { color: #ff2d4d; margin-top: 14px; }

/* ===== FEED (colonne droite) ===== */
.feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* ===== POST ===== */
.post {
  position: relative;
  background: #b026ff;
  border: 3px solid #2b2bff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 5px 5px 0 #2b2bff;
}

/* Onglets au-dessus du post */
.post-tabs {
  position: absolute;
  top: -18px;
  right: 20px;
  display: flex;
  gap: 6px;
}
.tab {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 8px;
}
.tab.info { background: #2b2bff; color: #fff; }
.tab.date { background: #b026ff; color: #d0d0ff; }
.tab.pinned { background: #0a0a0a; color: #fff; }

/* En-tête du post */
.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.post-avatar {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  border: 2px solid #2b2bff;
  border-radius: 50%;
  font-size: 14px;
}
.post-user {
  flex: 1;
  background: #2b2bff;
  color: #fff;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 13px;
}

/* Corps du post */
.post-body {
  background: #0a0a0a;
  padding: 20px;
  border-radius: 6px;
  line-height: 1.6;
}
.post-title {
  color: #ff2d4d;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-shadow: 1px 0 #2b2bff, -1px 0 #ff5c78;
}